-
Scene to Scene not working
This is a fairly simple question for you guys.. im a newbie.. so bare with me.
Ive created a flash documents with several pages. Instead of putting in the action of "get url", Im trying to make my document go from scene to scene. Its not working. Ive created my buttons. I go to the menu tool bar.. go to actions... click on go to.. scene.. frame one.. and pick the scene i want it to go it.
Its not working.. help
gidero
-
put a label on the frames you want to target and this on the button:
_level0.gotoAndStop("yourLabel");
no need for frame numbers and scene names.
gparis
-
okay.. thanks
gidero
-
Okay.. i did what you said.. but its still not working. I changed the label and nothing.. The script im using is below. Is it wrong?
on (release) {
gotoAndPlay ("bio", 1);
}
-
if i look at your example, you didn't do what i said i see a scene name (bio) and a frame number (1). And i see no target.
so, in detailed steps.
go to that frame number 1 on the bio scene. open window>panels>frame and enter the label "bio_first"
(without the quotes) You should see a little flag on the keyframe (if there are no actions in it) and the label name displayed.
No go to your button and copy paste this:
Code:
on (release) {
_level0.gotoAndPlay ("bio_first");
}
gparis
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
|