title: Catching an unhandled IOErrorEvent in Flash AS3
body: <blockquote>
  <p>Error #2044: Unhandled IOErrorEvent:. text=Error #2036: Load Never
  Completed.</p>
  </blockquote>
  <p>That's what I see every time I try to load an image that doesn't exist using a Loader.  I'm getting a list of URLs and can't validate if they're pointing to anything useful. Whenever it encounters a 404 it gives me that error.</p>
  <p>I have tried to catch the error with every available <code>IOErrorEvent</code> there is (there are 7 of them),but none of them seem to capture the 404.  Is there some other network event that I can be looking for to catch this condition?! I feel like I'm missing something obvious.</p>
  <p>What I'd really like is to be able to catch the event regardless of its description and just deal with it... sort of like</p>
  <pre><code>myLoader.addEventListener(IOErrorEvent.*, dealWithError);
  </code></pre>
  <p>But that's illegal. I even tried catching</p>
  <pre><code>HTTPStatusEvent.HTTP_STATUS
  </code></pre>
  <p>but that never calls back because, I guess, it gets the HTTP status after it deals with the error events, so, as it fails on the &quot;unhandled&quot; error event, it just gets lost.  Are there events that aren't in the IDE that I'm overlooking?</p>
  <p>All help appreciated.</p>