PDA

View Full Version : It isn't going to the next scene...



SetroGamer
December 8th, 2003, 08:45 PM
I have:

on (press) {
_root.yerkit = "yerkit1";
nextScene();
}

It changes the yerkit part, but it won't go to the next scene. I also tried this:

on (press) {
_root.yerkit = "yerkit1";
gotoAndStop("Scene 2", 1);
}

but neither works! Help me please! :(

lostinbeta
December 8th, 2003, 11:09 PM
They only work if the buttons you are using are on the main timeline to begin with.

What I recommend doing is giving the first frame in each scene a frame label (via the properties panel) and then target it using _root.gotoAndStop("frameLabel");