Tech Blog

Superscript and Subscript in flash - nice hack

Posted At : August 20, 2007 9:39 PM 4 Comments

Superscript and Subscript support in flash (or lack thereof) has been a thorn in my side for the past few years. The reason for this is that we need to display a lot of mathematical formulae for the eAssessment applications that we have been working on.

I was sent a link today: How to use subscript & superscript in dynamic and input text field and just wanted to post it here as a reminder to myself as it looks like a very nice way of solving this problem for at least 90% of our use cases.

Cheers, Mark

4 Comments

savil 4/28/08 7:40 PM

I got my Subscript and Superscript fonts from:
http://www.subscriptfont.com
They work perfect with dynamic fields too...
They are better than GG since it goes lower than the baseline and it's real subscript..

Mark Lynch 4/28/08 10:48 PM

Hi Savil,
Thanks for that - I'll definitely check it out. This has been on my list of things to solve - so thanks for the pointer.

Cheers,
Mark

savil 4/29/08 3:19 AM

Glad I could help..

Ben Bishop 10/17/08 9:33 PM

For Flex, I created a custom component that goes ahead and embeds a super and sub script font for you. You can find more details here:

http://tdotblog.info/?q=node/24

We build a lot of CD-ROMs for medical publishers, so we've run into this issue as well.