Home Tutorials Forums Articles Blogs Movies Library Employment Press Buy templates

Go Back   ActionScript.org Forums > ActionScript Forums Group > Simple Stuff (Newbies)

Reply
 
Thread Tools Rate Thread Display Modes
Old 01-23-2001, 03:40 AM   #1
Prophet79
Registered User
 
Join Date: Jan 2001
Posts: 7
Send a message via AIM to Prophet79
Default

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
Prophet79 is offline   Reply With Quote
Old 01-23-2001, 05:35 AM   #2
Jesse
Administrator
 
Jesse's Avatar
 
Join Date: Nov 2000
Location: Australia
Posts: 8,612
Default

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.
Jesse is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

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


All times are GMT. The time now is 09:33 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2009 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.