I faced a challenge yesterday when was trying to display the superscript in dynamic textfields. The problem is <sup> tag is not supported by Flash even if you use htmlText. So here is the solution:

1. Download the GG Subscript and GG Superscript fonts from the url underneath :

http://blog.ggshow.com/index.php/downloads/2008/09/21/download_free_truetype_fonts

2. Install the fonts and open your Flash file (restarting Flash is required).

3. Create a dynamic textfield outside the stage and embed all the characters you need (you can also embed the font by creating a font symbol in the library with a linkage)

4. Than your HTML text to be loaded to your dynamic textfield should have the font tag like this:

Pencil<font face=”GG Superscript”>VN</font>

And that’s it!


Subscribe to comments Comment | Trackback |
Post Tags:

Browse Timeline


Add a Comment


XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="">

Spam Protection by WP-SpamFree


© Copyright 2009 Pencil.vn - A Digital Design Blog .Site developed by Huy Nguyen. RSS