// I have a variable set
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....
I am also using flashDevelop to write most of my as3 and i would like to change the volume here. Thanks
}
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....
Code:
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.
}