First play. Then go to other scene

Does somebody know how to put this into action script???

I want to push on a button and then he should play the rest of the scene…when he is finished playing the scene he should go to the desired scene and play there.

I thought this was it, but he immediatly goes to scene 2

on (release) {
gotoAndPlay(92);

gotoAndPlay("Scene 2", 93);

}

How can I do it right???

Your button code should say this…


on (release) {
gotoAndPlay(92);
}

and on the last frame (the frame you want your scene 2 to come up) add this code…


gotoAndPlay("Scene 2", 93);