1 Reply Latest reply on Apr 23, 2008 3:01 PM by sandisi

    stopping audio and starting another audio when button clicked

    eapre
      Hello,
      I have a multiple slide document, and I want sound to stop when they click the "Next" button, and another audio clip to start. Here is what I have so far:

      //audio
      x = new Sound();
      x.attachSound("Slide1");
      x.start(0, 0);
      musicplay = true;
      forward_btn.onRelease = function() {
      gotoAndStop("2");
      numbering eq numbering++;
      };

      So I just want it to play audio clip "Slide2" when they click forward_btn, and I want "Slide1" to stop.

      Thanks!