UPDATE:
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 bold questions in this post. Thanks!
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?
For example, the code cause the playhead to jump from frame 1 to frame 20 when the movie has just been loaded up to frame 10. In that case, flash player will?
- Block the script execution, stop playing, continue loading from frame
11to20(without executing script), jump to frame20and invoke script at that frame when it's loaded? - Block the script execution, stop playing, ignore loading frame
11to19, load frame20, jump to frame20and invoke script at that frame? - Ignore jumping to frame
20, continue executing next statements after the go to frame20statement? - Or anything else?
If flash player doesn't ignore jumping to frame 20, any event is triggered when frame 20 is loaded completely?
Note: Answers for the first question should focus on my example, cover all circumstances (such as attach movie from library...) is better, but not necessary.
Thanks!