I have a movie with music and sound effects playing simaltaneously in numereous channels.
Is there a way via music "on", music "off" buttons to enable/disable the sounds in all channels?
I have tried the following code in the "off" buttons actionScript:
on (release) {
stopAllSounds();
}
This seems to work only for the current sounds that is playing. I would like it rather to mute all sounds for the duration of the movie unless of course the music "on" button is selected.
Any suggestions?