Hey there. I am trying to control the volume of a number of sound objects that
have their own individual volume levels. I want to be able to mute them or
allow them to play at the volume that has been set for them. I was thinking
that I could do this by storing the values in arrays and then looping through
these each time the sound is muted/unmuted but I am sure there must be an
easier way.
Any suggestsions v gratefully received :)
Here is what I have so far:
var sound1:Sound = new Sound(this);
sound1.setVolume(60);
var sound2:Sound = new Sound(this);
sound2.setVolume(20);
sound1.loadSound('an.mp3', false);
sound2.loadSound('another.mp3', false);
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com