Groups > Multimedia > Macromedia Open SWF discussion > Re: Unload movie




Unload movie

Unload movie
Thu, 8 May 2008 01:12:16 +0000
It wont really work, so may somebody here could help me.
 Its rather simple. I have a ext.swf loaded in my movie and its playing quit 
well. The Problem is, I cant find a way to come back in my mainmovie and just 
let the next frame be played.

 simply _root.gotoAndStop() would work, but in that case it wont play the 
ext.swf.

 Please help!
Post Reply
Re: Unload movie
Thu, 15 May 2008 00:01:23 +000
In your main movie, if you import your swf via this code,

 loadMovieNum("yourswf.swf",5);

 You can unload it with this code in your main movie,

 unloadMovieNum(5);

 Of course, you will need to trigger the unload code from your main movie, 
whether it be by button or some other coding.


 GAMBRKER
Post Reply
about | contact