Displaying HTML-Formatted Text
package { import flash.display.Sprite; import flash.text.TextField; public class Main extends Sprite { public function Main( ) { var field:TextField = new TextField( ); field.htmlText = "<u>This displays as underlined text.</u>"; field.text = "<u>underlined text</u>"; addChild(field); } } }