views:

363

answers:

3

Hi,

How do I use superscript text in Flex? I tried sup tag in htmlText, but it doesn't work

Appreciate your help.

+1  A: 

In Flex 3, not really easily possible. In Flex 4, easily possible using FTE/TLF. See http://labs.adobe.com/technologies/textlayout/demos/ and also the "baselineShift" style in spark.components.RichText

TK Kocheran
A: 

You can accomplish this with your own control that uses multiple UITextFields with different font sizes and positions, but I can imagine this being a painful control to get right...it just depends on how badly you need it.

Glenn
A: 

Can't be done in Flex without hacks. Can hardly be done in Flash unless you use certain fonts.

Jasconius