PDA

View Full Version : multiple sound-objects causes sound to overdrive


lebushi
08-01-2007, 11:24 AM
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?