I’m having an issue with the setVolume() function.
My problem is that when I set volume of a specified sound object the entire flash file is affected, meaning that all sounds are affected (The ones created by AS). Not just the single sound I specified.
Here’s the line, which “mutes” the sound:
music_main.setVolume(0);
The ‘music_main’ object is created through these lines:
music_main = new Sound();
music_main.attachSound("MAIN_THEME");
Now my problem is what I stated above. All Sound Objects created are affected by the setVolume() function. I only want to change the ‘music_main’ object.
Any ideas?
Thanks in Advance…