Jumping between scenes.......NOT?

Could somebody please help a beginner…

I have put this script on the buttons i´ve used to jump between scenes:

on (release) {gotoAndPlay( “scene1”, “1” );

}

but one of the buttons doesnt go to the frame i reffer to, it goes to the first frame instead of number 2 that i want it to go to

on (release) {gotoAndPlay( “scene2”, “2” );

}

is ther a action that prevents it from going to frame 2, i have a stop script in frame 1 and frame 2 in the second scene but that souldnt be a problem or is it???