Skip to main content
Inspiring
July 21, 2006
Question

Breaking News ! StopAllSounds();

  • July 21, 2006
  • 1 reply
  • 391 views
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


    This topic is closed to new replies. Start a new post to keep the conversation going.

    1 reply

    Participant
    July 21, 2006
    If you check out AS2 to AS3 migration doc, here its says:

    quote:

    This is no longer a global function, but it is still available as a method of the SoundMixer class, which provides global sound control.

    Then go have a peek at the SoundMixer class and its the StopAll() method that you want.

    Pluap