sorry for cross post but general flash seemed the wrong place
OK I am loading in some html formatted text via xml. The text
is contained within the <![CDATA[MY_TEXT_HERE]]> tags, I am
encoding the xml using utf-8 and I have the html attribute set to
true for my text field along with using the myTextField.htmlText
property to set the contents of the text field.
Despite all the above the html will not render it just shows
up as if the text field is not an html one. If I set the content of
the text field with dummy text via actions script (i.e.
myTextField.htmlText = "<b>Here is some bold</b>" it
works fine however when the content is loaded in via the xml it
Is it possible to get html text to render properly when
imported via xml?!
Maybe it's how you're encoding it? You want to put plain old
your cdata tag.
This is a cdata from a recent project of mine:
<![CDATA[Your organization's Supplier Diversity goals and
available on the Supplier Diversity Programs internal website
at <u><a href
http://someurl.com/results.asp</a></u>. Supplier Diversity results are available by corporation,
& regional business unit.]]>