all groups > flash (macromedia) > october 2004 >
You're in the

flash (macromedia)

group:

Another Sound Question


Another Sound Question RoyMunson2004
10/13/2004 10:29:04 PM
flash (macromedia):
I have a button in my fla that switches the background music on and off, that
works ok,
but I would also like this button to switch off all sound fx as well (most my
buttons have a click
sound on rollover)

I tried the stopAllSounds script, but it still leaves the sound on the
buttons,

Is there away I can have a button that switches all audio in the fla off in
one click ?

Any help would be appreciated - cheers
Re: Another Sound Question lumeeguvnor
10/13/2004 11:27:29 PM
bit of a long winded way and there are probably much smarter ways to do it but
- you could globally flag each sound in the buttons and then when your btn that
is supposed to switch off sound is switched you could also have it set all
global flag's to false(or which ever way)
if(flagSound1) {
sound1.start(0,1)
}
Re: Another Sound Question Aspirin99
10/14/2004 12:19:50 AM
AddThis Social Bookmark Button