# Dynamic HTML via XML

**URL:** <https://forum.kirupa.com/t/dynamic-html-via-xml/242894>\
**Category:** flash\
**Created:** [October 31, 2007, 1:54pm UTC](https://forum.kirupa.com/t/dynamic-html-via-xml/242894 "2007-10-31T13:54:14Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![psykoboy](https://avatars.discourse-cdn.com/v4/letter/p/ce7236/32.png) [@psykoboy](https://forum.kirupa.com/u/psykoboy)\
**Post date:** [October 31, 2007, 1:54pm UTC](https://forum.kirupa.com/t/dynamic-html-via-xml/242894/1 "2007-10-31T13:54:14Z")

</div>

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

```auto

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
