A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: Actionscript Question..Load/UnloadMovie

  1. #1

    Actionscript Question..Load/UnloadMovie

    First Question is about LoadMovie vs. LoadMovieNum
    What is the difference in these 2?

    My second question is about the "unloadmovie" command. What is the point of it? Common sence tells me that whenever i've loaded a movie in level 1, and then want to load another movie, it will unload the previous movie. But, if you load another movie into the same level, it automatically overwrites it. i am just missing something here..someone plz fill me in. Thank you.

  2. #2
    sockpuppet
    Join Date
    Mar 2005
    Posts
    323
    LoadMovieNum loads the movie on a level of the player.

    http://www.kirupa.com/developer/flash5/loadmovie.htm

    LoadMovie loads the movie in a container clip.

    http://www.kirupa.com/developer/mx/loading.htm

    When you load the movie on the same level or in the same container, then you do not need to unload. But sometime you want to unload and not load another movie, so then you use unloadMovie().

    unloadMovieNum(5); will unload on level 5

    container_mc.unloadMovie(); will unload container_mc

  3. #3
    oh yeah i see..thank you!

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