|
-
Professional Air Guitarist
gotoAndPlay
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
-
Registered User
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.
-
Young Senior Member
i tried it out and it works fine. i named scene2 level1 and it works fine without naming the frame.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|