A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: loadMovieNum("photo-gallery.swf", 0);

  1. #1
    Member
    Join Date
    Sep 2003
    Location
    Upstate New York
    Posts
    64

    loadMovieNum("photo-gallery.swf", 0);

    Hi everyone.

    I am trying to add a photo gallery component to a flash frame. It shows up when I issue the command "loadMovieNum("photo-gallery.swf", 0);" , but it will not behave and be located where I want it to be.

    Alternatively I have created a Dynamic Text box, with the name "phototarget" and tried to issue the command "loadMovie("photo-gallery.swf", "phototarget");" but when I do this, Nothing happens.

    ?????
    Who's that talkin all that Jibba Jabba?

  2. #2
    Registered User nunomira's Avatar
    Join Date
    May 2002
    Location
    portugal
    Posts
    7,003
    hi,

    You can't load a movie inside a text field. But you can load a movie inside a movie clip.

    Create an empty movie clip called phototarget, and use loadMovie():
    code:

    phototarget.loadMovie("photo-galery".swf");



    (maybe using an "-" in the name is not a very good practice)

  3. #3
    Member
    Join Date
    Sep 2003
    Location
    Upstate New York
    Posts
    64

    I did end up making this thing work/.

    I tried what you had suggested but it still did not cooperate with me.

    I finally added it to the library and then placed it into the movie, which worked ok. I am unsure of the file size consequences, but it works for now.

    Thanks!
    Who's that talkin all that Jibba Jabba?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center