PDA

View Full Version : 'Go To' problems


dj fuzzline
08-21-2001, 06:26 PM
Trying to set up a button to go back to the first frame of the movie seems much harder than it should.

I have five scenes in my movie and want a button to go from the last frame to the first.

I've got the following action on the button which sould go to frame 1 of scene 1.

on (release) {
gotoAndPlay ("1", 1);
}

In fact what it does is goes to frame 1 scene 5.

Please point out what I have done wrong.

curmudgeon42
08-21-2001, 06:39 PM
Is "1" the name of your scene, or is it "scene1"?

You might want to try using "scene1" instead, or use the Scene Viewer (Modify > Scene...) to see what its name is. Other than that I think your code should work.

Justin

Jesse
08-22-2001, 02:53 AM
never begin anything with a number in flahs. as much as MM swear it's OK, it still can't handle it. that goes for frame labels, variables and scene names among other things.