I have a one main movie with multiple scenes. This is a demo showcasing a new intranet we are unleashing. My NEXT button actions are inconsistent. From intro to first scene, it works fine. From there on, it doesn't work and clicking NEXT repeats the current scene. Here is what I'm doing: - On last frame of scene, I have a stop(); script - On last frame with NEXT button, selected, I have the following script: on (press) { gotoAndPlay("screenXX", 1); } The value for "XX" is the next chronological scene, so if I'm in scene03, the NEXT button should go to scene04, and so on. I'm happy to post the movie somewhere if necessary (2MB filesize). I'm at a lost... KEN
don't use scenes to navigate and don't use the gotoAndPlay() function. both are problematic. label your frames and use the gotoAndPlay() method: on(press){ _root.gotoAndPlay("screenXX_frame1"); // label this frame }
yes, you missed. on frame 1 of screen02, label that frame screen02_frame01. got it? on frame 1 of screen12 (if you want to use that frame for navigation), label that frame screen12_frame1. then code your buttons as you showed in your previous message.
Thanks KGLAD! Putting that in doesn't work though. Do I need to give the label type a value (name, comment, anchor)? HEre's what I did: Series of scenes are like this: innerShell, screen02, screen03......screen12 - on frame 1 of "screen02" of an arbitrary label, I give it a frame name value of "frame01" - on next button of "innerShell" I apply this script: on(press){ _root.gotoAndPlay("screen02_frame01"); // label this frame } Maybe I missed something...? K
Don't see what you're looking for? Try a search.
|