Re: [Flashcoders] External text from XML file including superscript and italic

2005-11-16 Thread Gregory_GOusable
Paul, I think it IS possible. Especially if you know what exactly will be in superscript. 1) As for italic, you can just use i tag or font-style CSS attribute. 2) As for TM in superscript - in some fonts trade; symbol is superscript by default. You can always use this font if the string contains

RE: [Flashcoders] External text from XML file including superscript and italic

2005-11-16 Thread Gregory_GOusable
It IS possible. You can define any CUSTOM tag instead of span: //create a style this.createTextField(my_txt, 1, 100, 100, 300, 100); var my_style:TextField.StyleSheet = new TextField.StyleSheet(); my_style.parseCSS(redtext {color:#FF}); my_txt.styleSheet = my_style; my_txt.htmlText = There can

[Flashcoders] External text from XML file including superscript and italic

2005-11-15 Thread Paul Steven
I have a flash page that includes several sections of text that are read in from an XML file. I have worked out how to do this assuming all the text formatting is one style. However I would like some of the text to be in italic and it to include the TM as superscript. Ideally I could just write