-
Ok.
I have an MC on the main timeline which has buttons within it. Click on a button, and it takes you to a certain scene. Pretty damn simple. In fact, it's so simple, IT DOESN'T WORK. I'm using this code:
on (release) {
gotoAndPlay ("workflow", 1);
}
"workflow" is the name of the scene the button is supposed to take you to. But it doesn't work. What the hell. It just sits there. I tried a button up on the main timeline and it works fine. Is there something I'm missing?!
-
(sic)
Scenes in Flash are flawed, and if you have button inside of a movie clip it is hard to navigate scenes on the main timeline.
The easiest solution is to use frame labels to define points on the timeline you want to go to. Go to the scene and frame you want your button to go to, and give it a lable of "myFrame" (no quotes), now on your button add these actions:
on (release) {
_root.gotoAndPlay("myFrame");
}
Note, you do not have to speficy which Scene the label is on.
-
Many thanks. It blows my mind that I've never come across this problem before.
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
|