3 Replies Latest reply on Jul 7, 2009 6:47 AM by kglad

    Error Message: SWF contains multiple copies of a sound item

    heapster123 Level 1

      When I test the movie I get this error. SWF contains multiple copies of a sound item

      This is the action code I am using:

      stop();
      var sndTrack:SoundTrack = new SoundTrack();
      var sndControl:SoundChannel;
      sndControl = sndTrack.play(0,999);

      on_btn.addEventListener(MouseEvent.CLICK, soundOn);
      off_btn.addEventListener(MouseEvent.CLICK, soundOff);
      function soundOn(event:MouseEvent):void
      {
      sndControl = sndTrack.play(0,999);
      }
      function soundOff(event:MouseEvent):void
      {
      sndControl.stop();
      }

       

      Everything I created before I added the code works fine. Everything after, doesn't work when published.

       

      Looking for any help!

       

      Thanks in advance.....