var vol = 0.25;
this var changes on demand and works fine.
In my flash game I have some sound effects on movieclips that sound only when the movie clips are being played.
I would like to set all of my sound effects to the same volume in one as3 file.
Although I have my sounds playing in my timeline on as3, is there a way to get all of my sounds together on one as3 file to set them all to my specific volume.
I was thinking something like....
Expand|Select|Wrap|Line Numbers
- var isSoundOn = true;
- if( isSoundOn == true ){
- // get all sounds that i would like to change volume on
- // if in game play and any of the sound effects are ready - play all these sounds with my specific volume setting.
}