sound
i tried putting sound into my game but it will not work. any ideas?
i have something like this.
try{
blastSound= getAudioClip(new URL("fire.au"));
debrisSound= getAudioClip(new URL("debris.au"));
explodeSound = getAudioClip(new URL("explode.au"));
fireSound= getAudioClip(new URL("fire.au"));
passingSound = getAudioClip(new URL("passing.au"));
targetedSound = getAudioClip(new URL("targeted.au"));
}
catch (MalformedURLException e){}
blastSound.play();blastSound.stop();
debrisSound.play();debrisSound.stop();
explodeSound.play(); explodeSound.stop();
fireSound.play();fireSound.stop();
passingSound.play(); passingSound.stop();
targetedSound.play(); targetedSound.stop();
}

