Dynamic HTML via XML

Hello,

I have to load a HTML text from a XML file and fill a textfield !
The textfield html is true, but for some reason when it display a <a hred…>link</a>, the textfield goes to a new line.

It tried using


var linkFormat:Object = new Object();
linkFormat.display = "inline";
linkFormat.color = "#3EA8E3";
myStyleSheet.setStyle("a", linkFormat);

The color change but it still goes to a new line.

I load the XML using the ignoreWhitespaces as true.

Somebody can help me ?

Thanks