title: Sound won't stop when I go back to a previous Stage with code
body: <p>i have 4 scenes and i put my script for music in scene 2 and then i jump to scene 3 but when i go back to scene 2 and press pause or stop, my music wont do that, but when i play, the music play and i get 2 music start :(, can anybody help the script ?</p>
  
  <p>regards im newbie,</p>
  
  <pre><code>stop();
  
  import flash.events.MouseEvent;
  import flash.media.SoundChannel;
  
  //declaring all variables 
  var isPlaying:Boolean = false;// boolean type of  variables can be true or false only
  var myMusic = new soothing();// saving music in a varaible 
  var myChannel:SoundChannel = new SoundChannel();// sound channel Class  to stop
  var lastPosition:Number = 0;
  
  play_btn.addEventListener(MouseEvent.CLICK, onPlayClick);
  pause_btn.addEventListener(MouseEvent.CLICK, onPauseClick);
  stop_btn.addEventListener(MouseEvent.CLICK, onStopClick);
  
  function onPlayClick(event:MouseEvent):void
  {
    if (isPlaying == false)
    {
      isPlaying = true;
      myChannel = myMusic.play(lastPosition);
  }
  
  myChannel.addEventListener(Event.SOUND_COMPLETE, completeHANDLER);
  function completeHANDLER(event:Event):void
  {
      lastPosition = 0;
      isPlaying = false;
  }
  }
  
  function onPauseClick(event:MouseEvent):void
  {
      isPlaying = false;
      lastPosition = myChannel.position;
      myChannel.stop();
  }
  
  function onStopClick(event:MouseEvent):void
  {
      if (isPlaying == true)
      {
          isPlaying = false;
          lastPosition = 0;
          myChannel.stop();
      }
  }
  
  homebtn.addEventListener(MouseEvent.CLICK, qnextScene);
  
  function qnextScene(event:MouseEvent):void
  {
      gotoAndStop(1, "Scene 2");
  }
  gallerybtn.addEventListener(MouseEvent.CLICK, nxtScene);
  
  function nxtScene(event:MouseEvent):void
  {
      gotoAndStop(1, "Scene 3");
  }
  mebtn.addEventListener(MouseEvent.CLICK, nextsScene);
  
  function nextsScene(event:MouseEvent):void
  {
      gotoAndStop(1, "Scene 4");
  }
  </code></pre>