Neballer
12-01-2005, 01:42 AM
So I'm working on a game for a class:
Scene 1 is the first level.
Frame 1 is the intro page. From there you can either start, or view instructions.
When you press start you go to Frame 2.
Frame 2 has a movie clip on it, that flashes "Ready, GO!" On the last frame of this movie clip is this code:
_root.gotoAndPlay(3);
So after the clip plays it goes to Frame 3 where all the action takes place.
After you score a certain amount of points you go to the Second level which is in Scene2.
Everything is exactly the same as Scene 1 aside from the color.
Scene 2, Frame 2 has the same "Ready, GO!" movie clip on it, and almost the same code:
_root.gotoAndPlay("Scene2",3);
This doesn't take it to Scene 2, Frame 3, it just loops Scene 2, Frame 2.
I have tried a lot of different code:
_root.gotoAndStop("Scene2",3);
_parent.gotoAndStop("Scene2",3);
_root.gotoAndStop(3);
_root.gotoAndPlay("Scene2",3);
_parent.gotoAndPlay("Scene2",3);
_root.gotoAndPlay(3);
All of these either loop Scene 2, Frame 2 (the Frame it is currently on), or takes it back to Scene1, Frame3. And Scene 2, Frame 3 does have a stop action on it.
Any help with this would be marvelous.
thanks. :D
Scene 1 is the first level.
Frame 1 is the intro page. From there you can either start, or view instructions.
When you press start you go to Frame 2.
Frame 2 has a movie clip on it, that flashes "Ready, GO!" On the last frame of this movie clip is this code:
_root.gotoAndPlay(3);
So after the clip plays it goes to Frame 3 where all the action takes place.
After you score a certain amount of points you go to the Second level which is in Scene2.
Everything is exactly the same as Scene 1 aside from the color.
Scene 2, Frame 2 has the same "Ready, GO!" movie clip on it, and almost the same code:
_root.gotoAndPlay("Scene2",3);
This doesn't take it to Scene 2, Frame 3, it just loops Scene 2, Frame 2.
I have tried a lot of different code:
_root.gotoAndStop("Scene2",3);
_parent.gotoAndStop("Scene2",3);
_root.gotoAndStop(3);
_root.gotoAndPlay("Scene2",3);
_parent.gotoAndPlay("Scene2",3);
_root.gotoAndPlay(3);
All of these either loop Scene 2, Frame 2 (the Frame it is currently on), or takes it back to Scene1, Frame3. And Scene 2, Frame 3 does have a stop action on it.
Any help with this would be marvelous.
thanks. :D