Unload again!

Hello,

I would like to load a movie .swf by clicking a button located in scene 1
so i use
on (release) {
loadMovieNum(“test.swf”, 0);}

Then I want once this loaded movie in scene 1 is finished to play to automatically switch to scene 2. and do the same again

Do i need to use a timer or time interval to operate the automatic switch? if yes how can i do that? or is there something simpler, I use flash MX.

Thanks

kcabe(-:

You can always (and I believe that’s the easiest method) place the necessary actions at the last frame of the movieclip that has been loaded. That way, when the end of the movie has been reached, the code will be automatically executed without you having to worry about timers etc. :slight_smile:

thanks for reply I thought about that but the movie I am loading in my interface is itself loading a .flv file.

Would you know what sort of code I would need to write in my file the one that load the flv file, how can i tell it to go to scene2 to another swf file onece it has finished?

thanks

kcabe