PDA

View Full Version : quit in levels


kjda
05-27-2003, 09:48 PM
Hello

i want to know how can i make a movie to close
i have a external movie loaded in a level (but it has to be the external movie that closes the movie, cause of the levels i need it to be on the top), so i need to know what action should i give it for it to close.

thanks!

RVK
05-27-2003, 10:03 PM
If I understand you correctly, it's a pretty simple procedure.

Say you have MC1.swf on level 0 and then you have a button:


button1.onRelease = function() {
loadMovieNum("MC2.swf", 1);
}


Then you could put this ANYwhere to unload it:


unloadMovieNum(1);


Hope this helps!

-R

stealthelephant
05-27-2003, 11:31 PM
when u unload the root movie clip everything stops, movie layers on the top dont exist any more......

farafiro
05-28-2003, 11:59 AM
stealthelephant
who talked about unloading the root??

stealthelephant
05-28-2003, 05:37 PM
i thought he did, didn't he?

but it has to be the external movie that closes the movie