View Full Version : Using Buttons Within MC
Prophet79
01-23-2001, 03:40 AM
I am really hoping that this is a simple question. I have a series of buttons that I placed in a MC. The MC is placed on the Main Stage. I want the buttons to take the user to different scenes within the movie, but right now I can't get the buttons to do anything. Please help. Thanks
pip
Jesse
01-23-2001, 05:35 AM
You need to use targets in your goto command or else they will effect the MC itself. So instead of putting:
gotoAndPlay ("SceneName", 5);
put
_root.gotoAndPlay ("SceneName", 5);
This tells your main timeline to goto wherever you specify.
If you're using Flash 4, then do
Tell Tagret ( "_level0")
Goto and Play (SceneName, 5)
End Tell Target
etc
Cheers
Jesse
|
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.