Not ANOTHER createTextField, xml and html thread!

…but yes, friends, I’m afraid so. Here’s my situation:

I’m placing html tags within an xml file that’s loaded into a Flash file.

I’ve got code like this in an xml file:

    <addy><![CDATA[<A HREF="http://www.theclashonline.com/">Official Website</A>]]></addy>

If I have a text field created at authortime, with all the html attributes set to true, the loaded xml renders perfectly fine- the HREF functions properly as a web link, you don’t see the html tags and Ford’s in his flivver.

However, if I create a text field at runtime, with all the html attributes set to true, the loaded xml merrily shows me all my html tags and doesn’t render perfectly fine. Here’s the actionscript for the text field:

//where textItem is a reference to the runtime text field, and dataChild refers to a variable calling values from xml file
textItem.multiline = true;
        textItem.wordWrap = true;
        textItem.autoSize = true;
        textItem.selectable = false;
        textItem.html=true;
        textItem.htmlText = dataChild;

Text loads in fine, but doesn’t show up as proper html. I’ve been beating my head against this all afternoon, and I’m finally giving up and asking for help. :confused:

thanks in advance