title: How does Flash Player load the main SWF file?
body: <p><strong>UPDATE:</strong></p>
  
  <p>It seems that everyone didn't read my question thoroughly, all answers suggest me preloading or using external assets. So anyone willing to answer, please take notice to <strong>bold questions</strong> in this post. Thanks!</p>
  
  <hr>
  
  <p>I'm developing a simple Flash application which has only one SWF file. I want the SWF movie to start playing asap so I don't build a preloader for it. What happen if my actionscript code refers to resources which haven't been loaded yet?</p>
  
  <p>For example, the code cause the playhead to jump from frame <code>1</code> to frame <code>20</code> when the movie has just been loaded up to frame <code>10</code>. <strong>In that case, flash player will?</strong></p>
  
  <ul>
  <li>Block the script execution, stop playing, continue loading from frame <code>11</code> to <code>20</code> (without executing script), jump to frame <code>20</code> and invoke script at that frame when it's loaded?</li>
  <li>Block the script execution, stop playing, ignore loading frame <code>11</code> to <code>19</code>, load frame <code>20</code>, jump to frame <code>20</code> and invoke script at that frame?</li>
  <li>Ignore jumping to frame <code>20</code>, continue executing next statements after the go to frame <code>20</code> statement?</li>
  <li>Or anything else?</li>
  </ul>
  
  <p><strong>If flash player doesn't ignore jumping to frame <code>20</code>, any <code>event</code> is triggered when frame <code>20</code> is loaded completely?</strong></p>
  
  <p><strong>Note:</strong> Answers for the first question should focus on my example, cover all circumstances (such as attach movie from library...) is better, but not necessary.</p>
  
  <p>Thanks!</p>