Error #2035: URL Not Found – a fix to the problem

Ok, so the Adobe docs say:

var loader:URLLoader = new URLLoader();
loader.addEventListener(IOErrorEvent.IO_ERROR, ioErrorHandler);

But thanks to the FlashKit forums:

var pictLdr:Loader = new Loader();
pictLdr.contentLoaderInfo.addEventListener(Event.COMPLETE, imgLoaded);
I realize these are two different classes, but the docs on this type of thing are just so poor. Nevermind the horror that you can’t catch AN IO ERROR in a try catch block.

Hopefully this saves someone else some grief as well.

Leave A Comment