"multiline" has to be placed before "htmlText" or it may cause some problem to the format.

 

e.g.

function LoadText(txt):void{

    var abc:TextField = new TextField();

    abc.multiline = true;
    abc.htmlText = txt;

}