PDA

Click to See Complete Forum and Search --> : HELP _root goes to? in Scene2


Neballer
12-01-2005, 02: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

jlknauff
12-01-2005, 11:18 PM
When do you need this finished by?

Neballer
12-02-2005, 12:50 AM
Thanks for repling jlknauff, but I've just got back from class and I fixed it.

cheers.

Mynock
12-02-2005, 12:58 AM
Baby Root?
http://www.restless-youth.com/media04/goonies30.jpg

Neballer
12-02-2005, 02:15 AM
Aahhh!

EC
12-02-2005, 02:33 AM
I love that movie.