如果我通过动态文本字段中的 <img> 标记加载图像并抛出 IOError,我还要附加事件侦听器吗?文本字段?我试过这个...
var textField:TextField = new TextField();
textField.htmlText = "here is some text <img src='image.jpg'> and then some more";
textField.addEventListener(IOErrorEvent.IOError, function (e:Event):void { trace("error caught") });
无济于事...
建议?