Prob with simple Actionscr

Hi everyone!
I’m trying to make a simple actionscript for a button. The function I want is for the button is to play 15 frames in the current scene (2-16), then stop, and then go to another scene (Scene 2) and start to play a frame there (frame 10).

I have included the two actions which I need to function as one:

on (release) {
gotoAndPlay(2);
}

on (release) {
gotoAndStop(“Scene 2”, 10);
}

Any suggestions are appreciated!

Oy