Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / Flash / Flash Remoting / July 2006



Tip: Looking for answers? Try searching our database.

Breaking News ! StopAllSounds();

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Parry - 21 Jul 2006 09:26 GMT
Hi ALL

Its very simple!! Please let me explain it in very less but clear words.

There is one webpage which contains 10 swf files (apparently these are
buttons to play or stop sounds.)

1.swf which plays sound1, 2.swf which plays sound2 etc...

Now the problem is when you hit on any button first it triggers action
"stopAllSounds" so that if anyother sound is being played that will stop
first and the button you are hitting on that will start playing. So at any
particular time only one sound will play at a time.

This used to work before with flash player 8. but flash player 9 doesn't
support this action stopAllSounds() it seems!!

What will happen in the world if stopAllSounds - major action will not
work????

Please help

Parry
pluap - 21 Jul 2006 10:13 GMT
If you check out AS2 to AS3 migration doc,
http://livedocs.macromedia.com/labs/as3preview/langref/ its says:

[Q]This is no longer a global function, but it is still available as a method
of the SoundMixer class, which provides global sound control.[/Q]
Then go have a peek at the SoundMixer class and its the StopAll() method that
you want.

Pluap
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.