title: TypeError: Error #1006 in flash AS3 while trying to access main timeline from inside movie clip
body: <p>I have placed a movie clip on the main timeline, with instance name <code>sq_mc</code>. Inside of it, there is <code>sq_motion_tween_mc</code>. <code>sq_motion_tween_mc</code> is empty, and I have converted it to movie clip, because it was required to apply motion tweening. </p>
  
  <pre><code>[1]------------------|[2]----------|
  sq_mc                | ...
     |                 |
   sq_motion_tween_mc  |
  </code></pre>
  
  <p>There is a <code>stop();</code> action on both the 1st and 2nd keyframe of the main timeline.</p>
  
  <p>I want to jump to the 2nd frame on the main timeline after playing last frame of <code>sq_mc</code>. 
  Here's the code I have on the last frame of <code>sq_mc</code>:</p>
  
  <pre><code>sq_motion_tween_mc.sq_mc(parent).gotoAndPlay(2);
  </code></pre>
  
  <p>And I get this error message:</p>
  
  <blockquote>
    <p>TypeError: Error #1006: sq_mc is not a function.  at
    Untitled_fla::square_1/frame24()</p>
  </blockquote>
  
  <p>Note: <code>Square</code> is the name of the movie clip symbol for <code>sq_mc</code>.</p>