Archive for December, 2007

HTML Special characters in Flex

12/01/2007

I struggled to put special characters like copyright and registered trademark in a <mx:Label> control. I was reading the data from XML file where the content is published as HTML text. I gave up using <mx:Label> and started using <mx:Text> and I was able to display copyright(©) once I had replaced © with #0169;. Similarly I used #0064; for @ sign in email address. I finally found Peter Dehaan’s blog post very handy to resolve these issues.

I am still struggling to do the following though in <mx:Text> control.

  • test 1
    • test 2

Also I am not able to put an ordered list too.

  1. test 1
  2. test 2