-
Help!!! Here's the situation: I have different music tracks for each button. I want to make it so that when I hit the button, the music track will start. And when I hit another button, the current music track will stop and start a different track. What is the correct way of doing this?
Thanks for your help!
-
Make movie clips with just the audio(music)
in them.
MC 1 song 1
MC 2 song 2
MC 3 song 3
MC 4 song 4
Give each MC (movie clip) an instance name
like track 1,
track 2
track 3
track 4
Now make 4 buttons.
actions are
On (release)
tell target (track 1)
Go to and Play frame 1
On End
Do that for all the buttons so that each button controls it own MC that contains the loop(song you want it to play.
Now you will also need to Tell target
In each button to stop all sounds.
ex.
Button 1 plays MC track 1
But when button 2 is pressed
Button 2 has to Tell Target MC track 2 to play
and stop all other MC tracks.
Im sure you can figure it out from here.
Take care....
regards...
Jeff A. aka jydnas Sounds and Music Moderator
-
O and one more thing
make sure you drag the MC's out of the library on to the scene.
-
Thanks a lot! I really appreciate the help. You are awesome man!
-
Check out my Flashdisc player man.
www.flash-design.as
Best regards GmF , Turn your volume up !
------------------
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|