title: How to access AS3 URLLoader return data on IOErrorEvent
body: <p>I'm writing an actionscript library for an api.  I use a URLLoader object to load data from the api.  The problem I'm having is that whenever the api returns an http status in the 400s, actionscript treats this as an io error.  This is all find and good, however, it seems like there is no way to access any data that was returned if this is the case.  Consequently, any helpful xml about the cause of the error that gets returned is lost.  Is there any way around this?  It makes the library kind of a pain, if there can't be any useful information for developers when the api returns an error.  Thanks for any help!</p>