title: How do you move to another scene in actionscript 3 using buttons
body: <p>I'm trying to use a button to skip from one scene to the first frame from the next scene in Flash CS6, however I keep getting the </p>
  
  <blockquote>
    <p>error 2108: the scene was not found.</p>
  </blockquote>
  
  <pre><code>stop();
  
  btnNext.addEventListener(MouseEvent.CLICK, fl_ClickToGoToNextScene);
  
  function fl_ClickToGoToNextScene(event:MouseEvent):void {
  
       gotoAndPlay(1, 'scene2');
  }
  </code></pre>
  
  <p>This is my code and ''scene2'' is spelled right, how can I correct this?</p>