I seemed not to be able to render my break tag within my string. I have spent countless times redeclareing my break tag such as <br />, putting my break tags in between my break tags. Such as this <br> some text </br> and double break with** <br><br>**. And also setting my textfield property to multline to true and rendering my textfield property to htmlText but no luck. So if you guys have any idea, whats going on in my code check it out!.
var textHtml:String = "<BR>The shooting deaths of Byrd and Melanie Billings, parents of 17, have been making headlines since news broke earlier this month. Here are the latest details about the case, including the safe containing cash and the couple's donation to one of the suspects:</BR>The victims: Byrd and Melanie Billings were well known in the small panhandle town of Beulah, west of Pensacola, Fla. They were wealthy -- he owned several businesses. She was 43, he was 66. They were killed on July 9."; var container:Sprite = new Sprite(); container.x = stage.stageWidth/2; container.y = 100; addChild(container); var txtFormat:TextFormat = new TextFormat(); txtFormat.size = 10; txtFormat.font = "Helvetica"; txtFormat.color = 0x000000; var txt:TextField = new TextField(); txt.htmlText = textHtml; txt.border = true; txt.antiAliasType = AntiAliasType.ADVANCED; txt.autoSize = TextFieldAutoSize.LEFT; txt.wordWrap = true; txt.multiline = true; txt.type = TextFieldType.DYNAMIC; txt.setTextFormat(txtFormat); container.addChild(txt);