-
Hello!
I have a problem using buttons in a movieclip. There are a few buttons in a mc, when I click on one of them i want to jump to Scene2. But I cannot use the dropdown menu to select the Scene?!
How can I go to another Scene with a Button in a Movieclip?Anyone can help me??
Tom
skiracer9999@aol.com
-
Unfortunately you can't change Scenes from within a MC directly using the pull-down menu. One way is to move the main timeline to a frame that will change scenes for you.
Button:
On (Press)
Set Variable: "/:sceneChange" = 2
End On
On (Release)
Begin Tell Target ("/")
Go to and Play (2)
End Tell Target
End On
In frame 2 of the main timeline, place the following:
If (sceneChange = 2)
Go to and Play (Scene 2, 1)
End If
This will allow you to control Scene changes from withing embedded MCs.
Cheers,
Markus B
-
Senior Member
Use lables
Hi
Hey its possible by using frame lables.
Inside your mc on your button use following script.
On (Release)
Begin Tell Target ("/")
Go to and Stop ("mm")
End Tell Target
End On
(here mm is a lable on main timeline in another scene.)
-
Thank you for your help!
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
|