| Home | Tutorials | Forums | Articles | Blogs | Movies | Library | Employment | Press | Buy templates |
|
|
#1 |
|
Registered User
Join Date: Mar 2001
Location: Nashville, TN
Posts: 6
|
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
|
|
|
|
|
|
#2 |
|
Administrator
Join Date: Nov 2000
Location: Australia
Posts: 8,612
|
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. |
|
|
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
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 |