Hi,
Hope someone can help me work out where to put a listener to catch errors when attempting to load an image in htmlText (as opposed to a Loader)
An example would be:
var t:TextField=new TextField();
t.htmlText="image <img src = 'filename.jpg' >";
addChild(t);//Error #2044: Unhandled IOErrorEvent:. text=Error #2035: URL Not Found.
Please note that
t.addEventListener(IOErrorEvent.IO_ERROR,errorHandler); // This does nothing
//t.uncaughtErrorEvents.addEventListener(UncaughtErrorEvent.UNCAUGHT_ERROR,errorHandler) // this is not allowed
Thanks for taking the time,
S.