While working in Flash AS3, if you get the following error:
Error #2044: Unhandled IOErrorEvent:. text=Error #2035: URL Not Found. </pre> <img class="alignright size-full wp-image-1413" title="flash-as3" src="https://www.parorrey.com/wp-content/uploads/2011/08/flash-as3.png" alt="" width="200" height="200" />It's due to your swf/image/xml file incorrect URL and unhandled event shows the error. This error can be caught by adding eventListener to your loader object. [actionscript3] //assuming you have loader var yourLoader:Loader = new Loader(); yourLoader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, ioErrorHandler); function ioErrorHandler(event:IOErrorEvent):void { trace("ioErrorHandler: " + event); }
Hope that helps.
Cheers!