PDA

Click to See Complete Forum and Search --> : Sound On/Off Button...



Barry_d
06-16-2000, 03:42 AM
Hi,

Can anyone please tell me how to create a Sound On/Off Button which really mutes and un-mutes all the sounds and effects in a scene...

Thanks!!

-- Barry

daflash
06-16-2000, 06:18 AM
what do you mean by really mutes because every sound on/off button I have seen mutes the sounds so I am not clear what you mean by really mutes and if you just want a sound on/off button I believe you can find a fla for that in the movies section.

http://board.flashkit.com/board/

Barry_d
06-16-2000, 07:16 AM
Ok, this is the problem...:

I have a scene with some backgroundmusic, but there
are also some effects playing on events in the scene...
So if you stop all sounds, the bgmusic will stop, but
if a effects-sound is played at an event áfter the
'stop all sounds'-button is pressed, the effect-sound
will still be played....

So my question is: "Is there a way in Flash to set the
main-volume to zero, and turn it back on?" So that even
after an effect-sound plays after pressing the mute-button
it will still be muted....

Thanks a lot!!!

-- Barry --

jydnas
06-16-2000, 06:04 PM
There is no main volume for all sounds.

xtian
06-20-2000, 06:45 PM
I hope I understood you right, but it sounds like maybe you need to load your "background" music as a Movie Clip, and then control it with a Tell Target action.

Hope this helps
Xtian
http://xtian.homepage.dk