1 Reply Latest reply on Jun 19, 2008 6:51 AM by clbeech

    Any way to format text in xml

    vic_flash
      hi guys,

      I have a photogallery done in flash. Its having a external xml file where the descriptions and image location is defined. Is there any way to add font color , font size , and all other font formating options inside the xml file to take effect inside flash movie. I have tried cddata , <b> , <fontface> etc etc... but no result. Please any one help
        • 1. Re: Any way to format text in xml
          clbeech Level 3
          you can write the html format string in the xml node just like normal - however you must apply the string to a textField that has it's html property set to true and you must use field.htmlText to assign the string, as in:

          field.html = true;
          field.htmlText = "<b>bold text</b>";