title: gotoAndPlay to a scene from a different AS3 Class
body: <p>I am developing an adobe air AS3 game using the following scenes Structure : <br/>
  - Intro<br/>
  - Game<br/>
  - GameOver<br/>
  I don't have any code written in the timeline, i am constantly creating AS3 Classes. The situation i'm facing is the following <br/>
  The user starts in the "Intro"scene, in which he goes to "Game" Scene. After loosing the game, he goes to "GameOver". The original fla file has a document class named : introClassToUse.as <br/>
  Once the user goes to "GameOver", he has a button to replay the game, as in go back to scene "Intro". I am using the following code for the replayGame.as : <br/></p>
  
  <pre><code>package 
  {
      import flash.display.MovieClip;
      import flash.text.TextField;
      import flash.text.TextFieldAutoSize;
      import flash.events.MouseEvent;
      import flash.display.Screen;
      import flash.system.Capabilities;
      import flash.geom.*;
      import flash.display.Stage;
      import flash.display.*;
      import flash.display.DisplayObject;
      import flash.display.MovieClip;
  
      import baseCode;
      import introClassToUse;
      import flash.events.Event;
      public class replayGame extends flash.display.MovieClip
      {
  
          var replayButToUse:replayBut= new replayBut();
  
          public function replayGame()
          {
              replayButToUse.x = 0.127 * introClassToUse.STAGE.stage.stageWidth;
              replayButToUse.y = 0.91 * introClassToUse.STAGE.stage.stageHeight;
              replayButToUse.addEventListener(MouseEvent.CLICK, gotoIntro);
              introClassToUse.STAGE.stage.addChild(replayButToUse);
          }
  
  
          function gotoIntro(event:MouseEvent):void
          {
  
              replayButToUse.removeEventListener(MouseEvent.CLICK, gotoIntro);
              stop();
  
              gotoAndPlay(1,"Intro");
  
              var reload:introClassToUse = new introClassToUse();
  
  
  
  
          }
  
  
  
  
      }
  
  }
  </code></pre>
  
  <p>This code creates the replay button in "GameOver" Scene. My goal is to navigate back to "Intro" Scene once it's clicked and after navigating to that scene, re-calling the introClassToUse.as and restart the actual game. The problem is, the scene isn't found! ( the error flash cs6 shows). I'm guessing that i don't have the proper understanding of the navigation in case you are navigating from a different AS3 class. I've searched all over the internet, and tried several snippets like : <br/></p>
  
  <pre><code>MovieClip(root).gotoAndPlay(1,"Intro");
  </code></pre>
  
  <p>And several other internet suggestions, i always end up with the same error. How can i fix this situation?</p>