| Ultrashock Forums > Flash > Flash Professional • Subscript numbers |
Member Blogs | ||
|
|
|
![]() |
![]()
|
|||
![]() |
Search this Thread vbmenu_register("threadsearch"); | Thread Tools vbmenu_register("threadtools"); | Display Modes vbmenu_register("displaymodes"); ![]() |
|
|
|||||||||||||||||||||||||
window.google_render_ad();
![]() |
Ultrashock Member Comments:
46 Blog Entries 27 Creative Assets |
2006-11-07 #2 |
||
did you embed all the needed characters in your dynamic text field ? |
![]() |
| |
2006-11-08 #3 |
||
I tried by embedding ALL characters (I'm just using arial and have tried with courier and times new roman) but flash does not recognise the characters if you embed. The only way I could get the characters to show was by not embedding so it pulls the character from the systems character map. So in short, flash is getting the characters (H₂SO₄) but it also leaves a gap after the 2 and the 4. I've just noticed there's a gap when IE renders (not in flash now) the ASCI codes too - up till now I've only tested the HTML in firefox. Either way, when flash renders the ASCI code it leaves gaps. |
![]() |
| |
2006-11-08 #4 |
||
I forgot to say, try viewing this page in both firefox and IE and you should see the effect I trying to overcome. |
![]() |
2 Blog Entries |
2006-11-08 #5 |
||
Hi have you tried copying them from the system character map? Start > Run - Type "charmap" and press ok You could trying copying them from there and embedding the specific characters from there. I guess this is just like using the ASCI codes, but you never know... |
![]() |
| |
2006-11-09 #6 |
||
I've not found the ideal solution so I'm settling for a comprimise, I'm going to simply change the font size for the 2 and 4 so they are smaller than the rest of the text. Like I said, it's not ideal as strictly it's not written correctly (client talking, not me) but it means no more time is spent trying to resolve this. Maybe the next version of flash will resolve. Cheers! |
![]() |
2 Blog Entries |
2006-11-10 #7 |
||
5^2 Is another alternative obviously but probably not ideal... ![]() |
![]() |
![]() |
2008-07-22 #8 |
||
I want to share with you the way I get may subscript and superscript inin dynamic and input text field in Flash: <sub> & <sup> tags are not supported by Flash but you canuse Subscript & Superscript in dynamic and input text field in Flash: Download & install Subscript & Superscript fonts from http://www.subscriptfont.com or http://www.superscriptfont.com You will need to restart Flash software after installed fonts. Create a dynamic text field with Arial font embeded. Set the HTML property to true. Create a dynamic text field with Subscript font embeded. Create a dynamic text field with Superscript font embeded. Use HTML tag to set text to subscript or superscript like below: Some text<font face="Superscript\">©</font> 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. |
![]() |
window.google_render_ad();
|
|
|







7 comments | 692 views 
46 Blog Entries
27 Creative Assets


but you can
Linear Mode


