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 03-06-2001, 12:32 AM   #1
addison
Registered User
 
Join Date: Mar 2001
Location: Nashville, TN
Posts: 6
Default

i have two buttons within a movie clip. button one fades in and on release goes to button two. button two fades in and on release goes to button one, etc. i would like button one to also turn off the music contained in another movie clip and button two to turn it back on. what shall i do and thank you for your time. addison
addison is offline   Reply With Quote
Old 03-06-2001, 01:52 AM   #2
Jesse
Administrator
 
Jesse's Avatar
 
Join Date: Nov 2000
Location: Australia
Posts: 8,612
Default

If the movie clip just contains music you can just tell it to stop playing and restart when you want the music to come back on.

_root.mcName.stop()

and

_root.mcName.play()

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
loading root mp3s onRelease with single code for multiple buttons Seanx ActionScript 2.0 1 09-06-2006 04:49 AM
Multiple actions with Buttons? kejman Components 23 01-31-2005 10:00 PM
Multiple buttons with rollovers / visable state ? filmdp ActionScript 1.0 (and below) 4 08-29-2004 05:32 PM
Buttons with multiple actions!!!!! J-H Simple Stuff (Newbies) 8 10-28-2003 04:21 PM
Buttons performing multiple actions barry_sheen Simple Stuff (Newbies) 7 01-18-2002 05:10 PM


All times are GMT. The time now is 06:15 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.