-
a button for going to another scene
i added a button to the first scene with action:
on(release){
gotoAndPlay("Scene 2", 1);
}
but it doesn't work! anyone can help?
-
FK's Geezer Mod
Go to scene 2. In frame 1, add this frame label name, scn2fr1. Use a separate layer if you want to keep it neat. Now, on the button;
on(release){
_root.gotoAndPlay("scn2fr1");
}
That's some kind of record, 4 1/2 years registered and only 3 posts.
-
thank you!!!
you are a genius. why did the old way didn't work?
-
FK's Geezer Mod
It seldom does, or ever did. The only reason I can think of is because a scene is not really an object with a true instance name, so it doesn't target right.
-
anyway
thanks a lot.
BTW, i posted at least 7 times.
-
FK's Geezer Mod
Well, the Coffee Lounge doesn't count.
-
HAHA
i wrote a _root function for that purpose, it recibes the name of the scene to go and use the gotoAndPlay() function, it works beacause its a _root function and it isnt inside a button
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
|