A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: unloadMovie when done playing.

  1. #1
    Opu Nui
    Join Date
    Jan 2003
    Location
    I'd rather be in Hawaii
    Posts
    79

    unloadMovie when done playing.

    Hello All,

    I have a presentation that loads movies into _root.instructionMC, which is a blank movie clip on the main stage.

    The loaded .swfs (Creatd in DemoBuilder, so adding AS to the end isn't an option) cover the enitre screen.

    How do I tell when the loaded MC is done playing so I can unload it.

    Is there something like the onSoundComplete?

    I looked all through the AS Dictionary, but could not find anything similar for MC's

    Thanks in advance for your help.

  2. #2
    Opu Nui
    Join Date
    Jan 2003
    Location
    I'd rather be in Hawaii
    Posts
    79
    Maybe I wasn't too clear in my previous post.

    For a sound object I can use the "mysound.onSoundComplete" to tell when a sound has finished playing.

    Is there any way to tell when a loaded MC has finished playing?

    Or, is there a way to seperate the audio from an SWF file, so that I can tell when that has stopped playing?

    Thanks in advnace for your help.

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