PDA

View Full Version : movie depth(levels)


chompos
05-23-2001, 05:01 AM
When using the "loadMovie" action to navigate through a series of .swf files, is there a way to set the starting depth (or level) of a movie so that it is replaced by the next one loaded? Please Help! Thanks!

Marx
05-23-2001, 09:15 AM
Hi..
If you want to replace a movie by the next one loaded then load your movies into the same level.
When a movie is loaded into the same level as another movie it automatically replaces that movie, so:

on (release) {
loadMovieNum ("firstMovie.swf", 5);
}

Then if we use:

on (release) {
loadMovieNum ("secondMovie.swf", 5);
}

This removes the movie 'firstMovie' and replaces it with 'secondMovie'.

Hope this helps.