Trapping TextField.htmlText parsing errors?

When the .htmlText property of TextField contains IMG tags that 404, the following error is generated:

Error #2044: Unhandled IOErrorEvent:. text=Error #2035: URL Not Found.

Paste this code into a new FLA to replicate:



import flash.text.*;

var _tf = new TextField();
addChild(_tf);

_tf.width = 400;
_tf.wordWrap = true;
_tf.multiline = true;
_tf.autoSize = TextFieldAutoSize.LEFT;
_tf.htmlText = "<img src='404/404.jpg'/>";


This error is generated any time the image can’t be located, regardless of whether or not the url is relative or absolute.

Where does this error event originate, and how can I “handle” it? What is its dispatcher?