|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| ||||||||||||||||||||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
How can I turn one Flash Audio player off when another one starts playing
Hey I am pretty new to Flash. I know you can do this but I can't figure it out. I have a itunes like player that I created for a friend and I am doing some testing with it. I am running into an issue however, where when I play one song and then click on another, they both play simultaneously. This is super annoying and not good for end users. Any ideas on how I can check if another Flash Audio object is playing and shutting that down first? I am using the Wordpress Audio Player 2.0 as a stand alone flash player. Any insight would be very helpful! Thanks
|
|
#2
|
|||
|
|||
|
As2?
Quote:
if its in AS2 ur using to make the sounds play, you could make it so a button or whatevr u press has a script that: 1.plays the new sound, and 2.uses a code called "sropAllSounds", which, when used, stops every sound that you had playing through AS at the time. |
|
#3
|
|||
|
|||
|
Hmmm...
Could you possibly send me the .fla file?
It's much easier for me to help with coding when i can see all of it together. |
|
#4
|
|||
|
|||
|
ya whats your e-mail ill make a file that has working script and send it.
|
|
#5
|
|||
|
|||
|
It's EricNalley@inbox.com
|
![]() |
| Viewing: Dev Articles Community Forums > Web Design > Flash Development > How can I turn one Flash Audio player off when another one starts playing |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|