title: AS2 check if external file is loaded
body: <p>First, yes I know AS2 is outdated, but I'm self taught and AS2 was easier to learn. Since I started this project I've began moving on to AS3, but I really don't want to try to recode this project into AS3.</p>
  
  <p>So, the question.
  I'm using a shell swf that loads in another swf that's hosted on a different site. I'd like to be able to test if the external swf successfully loaded, and if not then to attempt to load it from a backup host. Is there a way to do that?</p>
  
  <p>Here is the shell's code (works just fine, just want to add an if/else test to it):</p>
  
  <pre><code>    stop();
  
      this.onEnterFrame=function(){
          var mc:MovieClip = this.createEmptyMovieClip("mc", this.getNextHighestDepth());
          var image:MovieClip = mc.createEmptyMovieClip("image", mc.getNextHighestDepth());
          image.loadMovie("[redacted]");
          image._lockroot = true;
          delete this.onEnterFrame;
      }
  </code></pre>
  
  <p>I tried running an image.getBytesTotal() after the image.loadMovie(), but it always kicks back a 0 value.</p>