Breaking News ! StopAllSounds();

Ask a Question related to Macromedia Flash Ad Development, Design and Development.

  1. #1

    Default Breaking News ! StopAllSounds();

    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


    Parry Guest

  2. Similar Questions and Discussions

    1. flash 9 & stopAllSounds()
      stopAllSounds() works still ok in Flash9 within one .swf as usual. BUT BUT BUT it has messed up here: Objective: There are n number of...
    2. Please help !! stopAllSounds();
      Hi all, i'll come straight to the point ! you have 5 buttons.swf and 1 HTML page. If you put these all 5 buttons into a HTML page and click...
    3. flash9 n stopAllSounds()
      stopAllSounds() works still ok in Flash9 within one .swf as usual. BUT BUT BUT it has messed up here: Objective: There are n number of...
    4. stopAllSounds
      Hi there, I imported a video into flash mx and made a stopAllSounds button to control the mute function. Is there any tips on resuming the audio...
    5. The good news and the bad news about the Commands
      Hi everyone, Today I found out that not only to use the MX Fireworks commands you will have to download the new Extension Manager 1.6 but once...
  3. #2

    Default Breaking News ! StopAllSounds();

    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


    Parry Guest

  4. #3

    Default Re: Breaking News ! StopAllSounds();

    If you check out AS2 to AS3 migration doc,
    [url]http://livedocs.macromedia.com/labs/as3preview/langref/[/url] 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

    pluap Guest

  5. #4

    Default Re: Breaking News ! StopAllSounds();

    If you check out AS2 to AS3 migration doc,
    [url]http://livedocs.macromedia.com/labs/as3preview/langref/[/url] 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

    pluap Guest

  6. #5

    Default multiple post - already answered - Re: Breaking News ! StopAllSounds();

    This has been answered several times now.

    The old behavior was a nasty bug and undocumented behavior. You designed
    you site around using the undocumented bug and now it fails. Now the bug is
    fixed, you'll need to redesign how you do things. I think there is a lesson
    there for everyone !!
    --
    Jeckyl


    Jeckyl Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139