unLoad all movies?

How do you have a button that when pressed will unload any and all movies that are loaded??

well, you could setup an array with variables to tell if a movie is loaded or not and create a list within flash that will tell flash what movies are loaded so it can unload them when you tell it to. but since you’re asking here i’m assuming you’re not an actionscript guru (don’t worry … i’m not either hehehe) but what i would do is this


just list all the instance names of your MovieClips and if the movie isn’t loaded, flash won’t unload it b/c it’s not there but if it is loaded then it should unload it. i don’t know if that will give you an error or not. but it’s certainly the easiest way of accomplishing what you want without getting into variables.

hope this helps =)