package{ import flash.display.Sprite; import flash.text.*; public class Main extends Sprite{ public function Main(){ var tArticle:TextField = new TextField(); tArticle.multiline = true; tArticle.wordWrap = true; var sTempHTML:String = "<B>Bold text</B>"; sTempHTML += "<I>Italic text</I>"; tArticle.htmlText = sTempHTML; addChild(tArticle); } }}
Name (required)
email (will not be published) (required)
Website