Button, play, 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. It has to be all in the button actionscript.

I thought this was it:

on (release) {
gotoAndPlay(92);

gotoAndPlay(“Scene 2”, 93);
}

But he immediatly goes to scene 2
How can I do it right???

you said it ALL has to be in the button? Why?

anyway…


on(release){
mc.gotoandplay(2);

if(mc._currentframe>=92){
mc2.gotoandPlay(1);
}