# Help needed regarding textField.HtmlText

**URL:** <https://forum.kirupa.com/t/help-needed-regarding-textfield-htmltext/330557>\
**Category:** flash\
**Created:** [February 8, 2013, 8:52am UTC](https://forum.kirupa.com/t/help-needed-regarding-textfield-htmltext/330557 "2013-02-08T08:52:16Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![chaituse](https://avatars.discourse-cdn.com/v4/letter/c/82dd89/32.png) [@chaituse](https://forum.kirupa.com/u/chaituse)\
**Post date:** [February 8, 2013, 8:52am UTC](https://forum.kirupa.com/t/help-needed-regarding-textfield-htmltext/330557/1 "2013-02-08T08:52:16Z")

</div>

Hi All,  
I have a problem displaying the text with indexing in texField in Flash.  
I have html code as source. I used TextField.htmlText for doing this.  
I have html source code for the follwing text.  
[COLOR=#008080]1. First Line  
2. Second Line  
3. Third Line  
[/COLOR][COLOR=#008080][/COLOR]In flash it is coming as shown below.  
[LIST]  
[_][COLOR=#008080]First Line[/COLOR]  
[_][COLOR=#008080]Second Line[/COLOR]  
[\*][COLOR=#008080]Third Line[/COLOR]  
[/LIST]Instead of numbers it’s showing bullten points. My code for doing this is  
[COLOR=#8b4513]var [/COLOR][[COLOR=#8b4513]url:String[/COLOR]](http://www.kirupa.com/forum/String)[COLOR=#8b4513] = “C:\Users\Krishna\_Polu\Documents\My Received Files\New Text Document.txt”;  
var loadit:URLLoader = new URLLoader();  
loadit.addEventListener(Event.COMPLETE, completeHandler);  
loadit.load(new URLRequest(url));  
var biotext:TextField=new TextField();  
biotext.x= 100;  
biotext.y = 100;  
biotext.autoSize = TextFieldAutoSize.LEFT;  
biotext.multiline = true;  
biotext.border = true;  
function completeHandler(event:Event):void {  
biotext.htmlText = event.target.data as String;  
addChild(biotext);  
}  
[/COLOR]  
I am sure, I am missing something here. Please help me in getting text same as in Html.  
Thanks in advance!
