Skip to main content
Participant
January 27, 2009
Question

formatting XML text

  • January 27, 2009
  • 4 replies
  • 252 views
Hi. I've been trying to figure out XML in flash and found a (old) tutorial that worked for me. i want to format the text using html tags. I have found other tutorials on this claiming it's easy using CDATA, but i can't get it to work with mine. It either shows the text with the tags, or NULL when i add it wrong. I understand i need to add bold fonts, etc, but i'm adding the code wrong.

If this IS simple (or even possible), will someone help and show where it needs to be placed in the code? Any help at all is appreciated.

Thanks.
This topic has been closed for replies.

4 replies

jmmotionAuthor
Participant
January 30, 2009
Thanks for your help, that answered all of my questions.
Inspiring
January 28, 2009
Clicking the html button is not the same as setting the htmltext property.

--
Dave -
www.offroadfire.com
Head Developer
http://www.blurredistinction.com
Adobe Community Expert
http://www.adobe.com/communities/experts/


jmmotionAuthor
Participant
January 27, 2009
thanks. I tried clicking the html button for the text in flash. nothing.
i just need bold, links.. simple formatting. is there anything i need to add to the AS or xml?
Inspiring
January 27, 2009
You do use CDATA tags if you want to put HTML inline in your XML. When you
do that though, you need to set the htmltext property of the field, not the
text property. And not all HTML will work - tables for instance.

--
Dave -
www.offroadfire.com
Head Developer
http://www.blurredistinction.com
Adobe Community Expert
http://www.adobe.com/communities/experts/