You've got a few ways to achieve this, but they all require using a program
such as Fontographer to create a custom version of the desired font that
contains the superscript characters. 

Embed the custom font in your FLA, then use the <FONT> tag around to specify
the different face for the superscript.

var myStyleSheet = new TextField.StyleSheet();
myStyleSheet.setStyle("body", {fontFamily:'Arial'});
myTextField_txt.styleSheet = myStyleSheet;

myTextField_txt.htmlText = "<p class='body'>This is some body-styled text
with <font face='myArialSuperFont'>superscript</font> text in it.</p>.";

The 'myArialSuperFont' would be the custom superscript font embedded in your
FLA.


_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to