Flash MX 2004.
text.renderAsHTML
Property; a Boolean value. If the value is true, Flash draws the text as HTML and interprets embedded HTML tags.
This property works only with dynamic or input text; it generates a warning if used with other text types.
The following example sets the renderAsHTML property to true:
fl.getDocumentDOM().selection[0].renderAsHTML = true;