[RESOLVED] [CS3][AS2] Mute Button for Sound Effects
Alright so I'm making a mute button at the bottom of my game, and with most of the tutorials the button only mutes the sound that is already going on. It doesn't ever mute future sounds that appear in the actionscript. Is there a way to totally mute all the sounds even ones that appear after you click the button?
Also, what is the best coding for putting in sound effects in a game with using a mute button?
Edit: Maybe if I create a function for each sound effect and have an if statement in that function saying that it can only play if the mute button is not active?