I have assigned a button inside of a movie clip on the stage this action:
on (release) {
gotoAndPlay("level1", 1);
}
level1 is the scene name and i want to play frame 1. Am i missinbg something? Please post if further detail is need.
-thanks
Printable View
I have assigned a button inside of a movie clip on the stage this action:
on (release) {
gotoAndPlay("level1", 1);
}
level1 is the scene name and i want to play frame 1. Am i missinbg something? Please post if further detail is need.
-thanks
There might be a conflict with that Scene name. I know in other flash items, like instance names and linkages, your not supposed to use any flash keywords in the name. Level1 could be considered a keyword. maybe the player is getting confused. Still, try adding a frame label to that frame 1, and target the label instead. Like:
on (release) {
gotoAndPlay("level1", "beginHere");
}
Make the label name first, before you type the code to use it.
i tried it out and it works fine. i named scene2 level1 and it works fine without naming the frame.