Hi,
I’m building a simple racing game, and I have used attachSound to place sounds on the various control buttons. I am using the Space Bar as the accelerator, but when I play the game and push the Space Bar the sound plays back with a weird echo???
Any ideas on how I can solve this?
if (Key.isDown(Key.SPACE) && this[“speed”+who]<_root.maxSpeed) {
this[“speed”+who] += _root.acceleration;
kirupaSound.stop(“car_idle2”);
kirupaSound = new Sound(this);
kirupaSound.attachSound(“shifting”);
kirupaSound.start();
kirupaSound.setVolume(20);
}else if(!Key.isDown(Key.SPACE)) {
kirupaSound.stop(“shifting”);
kirupaSound2 = new Sound(this);
kirupaSound2.attachSound(“car_idle2”);
kirupaSound2.start(0,9999);
kirupaSound2.start();
kirupaSound2.setVolume(5);
}