title: how to access a variable on main timeline from a class in AS3?
body: <p>I have seen several posts of this same question asked and there is no clear answer.</p>
  
  <p>main timeline:</p>
  
  <pre><code>var mynum:Number = 0;
  </code></pre>
  
  <p>How would I access/alter this variable from the code in an external class file?
  Everything I try returns the "instance does not exist error"</p>