title: Stop the main timeline from within a Class function
body: <p>I need to stop the movie at the first frame using a function from a class, I know I can use stop(); or this.stop(); but how do I stop the main timeline from within a class function?</p>
  
  <pre><code>package {
  
    public class myApplication {
  
      public function myApplication(stageRoot:Stage) {
         stop(); // this doesn't work
         this.stop(); // this doesn't work either
      }
  
    }
  
  }
  </code></pre>