Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Load a Movie and return when finish 1

Status
Not open for further replies.

ecucurella

Programmer
Feb 17, 2003
34
ES
Hi,
I need to load a swf movie when i release a button.
So:
on (release) {
loadMovie("\\video\\intro.swf",_root);
}

But when this movie finish I want to come back where I was before loading the movie.
How can i do this?
Thanks,
 
hm.. just an idea.

how about loading the new movie into some level (say 1) and giving it some rectangle as a background so that you can't see the main movie while the one in the level is running. then when finished let the loaded movie give the command to itself to unload:
unloadMovieNum(1);

haven't tried this but i guess it works.
(at least i once tried this rectangle-background-stuff, i know this works)

have a nice day regards

Firegambler
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top