| Home | Tutorials | Forums | Articles | Blogs | Movies | Library | Employment | Press | Buy templates |
|
|
#1 |
|
Registered User
|
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 |
|
|
|
|
|
#2 |
|
Administrator
Join Date: Nov 2000
Location: Australia
Posts: 8,612
|
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
__________________
Cheers Jesse Stratford ActionScript.org Cofounder Email: presented in this way to stop spam-bots: My email is composed of my first name (jesse) followed by my last name (stratford) followed by @ followed by actionscript.org Please don't email or PM me Flash questions, that's what the Forums are for! ![]() Please don't rely on me reading my PMs either. Email me about important stuff. |
|
|
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| LoadMovie and turn off buttons below | billingsgate | Other Flash General Questions | 2 | 07-01-2005 04:58 PM |
| Buttons Triggered mx.Transitions Scripts | jeffrey | ActionScript 2.0 | 1 | 06-12-2005 11:13 AM |
| Playing the over state of buttons without rollover | drumkeyjw | ActionScript 2.0 | 0 | 04-20-2005 05:01 PM |
| Buttons under buttons under buttons... | Mortimer Jazz | ActionScript 2.0 | 2 | 07-14-2004 01:27 PM |
| I want to deactivate Main stage buttons while movie clip runs | kunafish | Simple Stuff (Newbies) | 3 | 07-30-2002 12:34 AM |