Skip to main content
December 23, 2008
Question

formatting imported xml

  • December 23, 2008
  • 1 reply
  • 307 views
I am trying to import xml into a movie, but I cannot get it to format the way I want. I am looking for a header to have a specific font and color and then a line of details to be different. Something like this:

Jan 3-5, 2009
This is the date of something important

In my movie, I have a dynamic text field with the instance name of my_txt. I have it formatted, but everything displayed has that format. My AS and XML codes are attached.

So how can I format the individual xml child elements to match my sample above?

This topic has been closed for replies.

1 reply

kglad
Community Expert
Community Expert
December 23, 2008
use two or more textfields with different text formatting, or use one html enabled textfield and use html tags or css to format, or use multiple textformat instances and setTextFormat().