how do i creat an acter that, when clicked on will stop a wav file and prevent any other wavs from playing, wich would usually play otherwise
. like a mute botton
That way I know what channel the music is on and I can stop it when I start a new track or if I need to stop it at any time, I just execute stopSound(musicchannel);
Of course you can set up variables for each sound you make so you know what channel they're playing on.