lebushi
08-01-2007, 12:24 PM
hey guys..
I've built a small game with multiple enemies firing stuff at the same time. And here's the problem.. each shot makes a sound by simply creating a sound-object like this:
var es:explSound_1=new explSound_1();
es.play();
..it can get very crowdy, and multiple sounds of the same type are played at the same time. The sound now overdrives and gets disturbingly loud.
Does anyone know how to prevent this from happening?
I've built a small game with multiple enemies firing stuff at the same time. And here's the problem.. each shot makes a sound by simply creating a sound-object like this:
var es:explSound_1=new explSound_1();
es.play();
..it can get very crowdy, and multiple sounds of the same type are played at the same time. The sound now overdrives and gets disturbingly loud.
Does anyone know how to prevent this from happening?