Scene

I’ve made a simple menu with 4 buttons.I have 4 different scenes.I want to use the buttons to play those scenes.
As action on each button i’ve used:

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

ofcourse each time a different scene name.
Now when I play it, no matter what button I click, it always plays scene2.

What am I doing wrong??!!!

The code is almost correct. When calling out to goto a scene, use frame labels instead of frame numbers.

create a new layer
open your frame panel
select the first frame of scene2, and type “something” into the text box in the panel.

then in your goto statement add it with quotes where the number would be like this

on(release){
gotoAndPlay(“something”);
}