If you are using ActionScript to test the htmlText, use script like below:
my_txt.htmlText = "Some text<font face='Superscript'>TM</font>";
Data can come from a XML file, TEXT file or from flash itself.
The characters that appear in the first column of the following table depend on the browser that you are using, the fonts installed on your computer, and the browser options you have chosen that determine the fonts used to display particular character sets, encodings or languages.
You can find some or all of the characters in this range in the Windows Unicode fonts Aboriginal Sans, Aboriginal Serif, ALPHABETUM Unicode, Andron Scriptor Web, Arev Sans, Arial Unicode MS, BabelStone Phags-pa Book, Bitstream CyberBase, Bitstream CyberBit, Bitstream CyberCJK, Calibri, Cambria, Cambria Math, Candara, Cardo, Caslon, Charis SIL, Chrysanthi Unicode, Code2000, Consolas, Constantia, Corbel, DejaVu Sans, DejaVu Sans Condensed, DejaVu Sans Mono, DejaVu Serif, DejaVu Serif Condensed, Dialekt Uni, Doulos SIL, Everson Mono Unicode, Fixedsys Excelsior, Free Monospaced, Gandhari Unicode, Garava, Gentium, GentiumAlt, GFS Bodoni, GFS Didot, GFS Neohellenic, Gulim Che, HAN NOM A, HAN NOM B, Hindsight Unicode, HY Shin Myeongjo Std Acro, Junicode, Kochi Gothic, Kochi Mincho, Kozuka Mincho Pro Acro, LeedsUni, Linux Libertine OTF, Lucida Grande, Lucida Sans, Lucida Sans Unicode, Marin, MgOldTimes UC Pol, MgOpen Canonica, Minion Pro, Monospace, MS Gothic, MS Mincho, MS PGothic, MS PMincho, MS UI Gothic, Myriad Pro, Palatino Linotype, ParabaikSans, Reader Sans, Roman Unicode, Sazanami Mincho, Segoe UI, SImPL, Sun-ExtA, TITUS Cyberbit Basic, Unicode Symbols, Verajja, Vusillus Old Face, XTashi and Y.OzFontN; in the Macintosh OS 9 Unicode fonts Apple Chancery, Hoefler Text and Skia; and in the Macintosh OS X Unicode fonts AppleGothic, AppleMyungjo, Gentium, GentiumAlt, #GothicMedium, #GungSeo, Hangang, Helvetica, Hiragino Kaku Gothic Pro, Hiragino Maru Gothic Pro, Hiragino Mincho Pro, Junicode, Lucida Grande, MS Gothic, MS Mincho, MS PGothic, MS PMincho, #MyungjoNeue, #PCMyungjo, #PilGi, Seoul, Skia, #TaeGraphic, TektonPro and Zapfino.
This article was previously published under Q211671
SUMMARY
loadTOCNode(1, 'summary');
When you apply the superscript and subscript formats to text by using the predefined key combinations, the font size of the selected text is automatically raised or reduced accordingly. This article shows you how to create easy-to-apply custom superscript and subscript formats.
MORE INFORMATION
loadTOCNode(1, 'moreinformation');
The predefined key combinations for superscript and subscript are as follows:
•
Superscript: CTRL+SHIFT+PLUS SIGN
•
Subscript: CTRL+EQUAL SIGN
Because the predefined key combinations cannot be assigned to a specific point position, use the following process to assign key combinations to different character positions:
1.
On the Tools menu, click Customize.
2.
In the Customize dialog box, click the Commands tab, and then click Keyboard.
3.
In the Customize Keyboard dialog box, under Categories, select Format.
4.
Under Commands, select Raised for superscript position or Lowered for subscript position.
5.
Change the number in the Raised (or Lowered) box to the desired scripting height (for example, 5 pt).
6.
Click in the blank text box under Press new shortcut key, and then enter a key combination by pressing the keys of your choice simultaneously.
7.
Click Assign to assign the key to the selected scripting height command.
NOTE: This procedure will not alter the point size of the text in the way regular superscript or subscript does. Use this procedure in conjunction with the predefined key combinations for superscript and subscript by applying the user-assigned key combinations to change the different character positions, and then apply the predefined key combinations for superscript and subscript in order to reduce the point size of the text.