1 Reply Latest reply on Mar 13, 2008 8:14 PM by Blindgator

    sound not working

    Blindgator Level 1
      I have two sounds that I want to play, one when a gun is shot and one when there is an explosion. The gun one seems to be working fine but I cant get the explode one to play at all. Is anything wrong with the script?

      gun = new Sound(gun);
      gun.attachSound("gun");
      gun.setVolume(20);
      ...
      gun.start(0, 1);

      explode = new Sound(explode);
      explode.attachSound("explode");
      explode.setVolume(50);
      ...
      explode.start(0, 1);

      Thanks,
      Brian