ON the first (and only) frame of the main movie I have an empty mc named 'shell', and on another larer I have 4 buttons.
I have the following code on the menu buttons:
Code:
on (release) {
_global.NextMovie = "Corresponding.swf";
_root.Shell.gotoandplay(61);
}
within each of the movies that will be loaded into 'shell' i have the following code on the last frame of the movies:
Code:
stop();
loadmovie(_global.NextMovie, Shell);
Now, when the first page loads, it loads the main.swf.
Then, if i click on the any of the menu buttons, it will work pefectly, it plays the outro to the currently loaded movie (starts at frame 61) and then when it hits the end, it loads the movie that is defined in _global.NextMovie
IF i click back on the main button, it still works, and as long as i keep clicking back and forth between the whatever menu item i clicked on and back to the main button, it works fine, but once I click a third button, it plays the outro, but doesn't load the next movie...
Can anyone tell me what I am doing wrong or another way to do it?