It gave me a hard time !!
First of all, nextscene doesn’t exist, but nextScene does, and I don’t recommend you to use that.
Secondly, no need to put it every where, because it won’t work any better.
Lastly : how to make it work. In the movie that fades in and out : at the end of it, write
_root.gotoAndPlay("end" );
** end** is a label that you are going to put in the first frame of scene 3.
This is the ONLY way to make this work, which is why I’d give you one piece of advice : try to learn how to load movies, it’s much more powerful.
yeah, nextScene I believe is depreciated. Unless you save the file as Flash 5.0, and set the publish settings on Flash 5.0, it wont work. I just had that problem the other day.
Nope it’s not an MX issue… though I haven’t solved the problem yet. I still think it’s that nextScene issue.
A) in each scene, if you want the main playhead to stop and wait for the animations to complete, you’ll need to add a stop(); action to the main timeline.
B) try this in addition to the above advice. On the last frame of each animation use _root.gotoAndStop(“frameLabel”);
place frame labels on the first frame of scene 2 and 3. Then use that frame label in the above code.
I beleive that this should work for you. I’ve used this method many times in the past.
Oh, in addition, you can delete frame 3, all layers, on scene 1, you’re looping from frame 2 back to frame1, and in frame 1 it tells the play head to goto frame 3 when it is fully loaded. As long as you don’t add any frames to scene 1, frame 3 will always be the first frame of scene 2.
Creating engaging and entertaining content for designers and developers since 1998.