Groups | Blog | Home
all groups > macromedia flash flash remoting > july 2006 >

macromedia flash flash remoting : Breaking News ! StopAllSounds();


Parry
7/21/2006 12:00:00 AM
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
7/21/2006 12:00:00 AM
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
AddThis Social Bookmark Button