4 Replies Latest reply on Apr 5, 2007 10:29 AM by kglad

    Sound only one sound at a time please!

    staceyp_2004
      if one sound is playing and another sound btn is clicked, then just play that one and stop current sound. any clues? here is part of the code with var already declared.

      P2_mp3 = new Sound (btn_five);
      P2_mp3.attachSound("P2_mp3");
      btn_five.onRelease = function() {
      P2_mp3.start();
      };

      topleaders3_aif = new Sound (btn_six);
      topleaders3_aif.attachSound("topleaders3_aif");
      btn_six.onRelease = function() {
      topleaders3_aif.start();
      };