WHAT'S WITH THE SUB/SUPERSCRIPT CHARS??WEDNESDAY, OCTOBER 8 2003 @ 02:06 PMI'm amazed I haven't dealt with this issue before. I just never had a real need for support of sub/superscripts character Flash's dynamic textfields, until yesterday. I spent hours last night poking around forums and mailing lists archives trying to figure out a solution, but there is none. How is that possible? Why has Flash been dragging this issue for so many years?
Fortunately for me, I had a problem similar in nature, years ago. Creativity is a child of desperation. In that opportunity, I created a separate type face to store special characters I needed for the project. Surprisingly, that's the only documented solution I have been able to find. Now, I have somebody working on character sets to store sub/superscript characters for 2 different type faces.... I just hope they will have it between 2 hours. Come on Flash Team, show some love... Archived under: Flash. | Permalink | google | del.icio.us | digg ![]() JOHNOCTOBER 8 2003 @ 04:41 PMThis doesn't work for all text, but this solved my problem showing a basic formula in a html formatted textField.
my_txt.text = unescape("E = MC%B2"); // OR my_txt.text = unescape("E = MC u00B2"); // URL encoded %B2 // UTF encoded u00B2 http://www.macromedia.com/support/flash/ts/documents/url_encoding.htm I had links a real complete URL encoded and UTF character reference chart..but I can't seem to find it. OSCAR TRELLESOCTOBER 8 2003 @ 05:15 PMThank you John, I've been to that page already, but as you point out it won't work with all text. As a matter of fact, it will only work if the character actually exists in the font set.
What I have in hands is an XML file containing chunks of text from a presentation transcript. The problem is that it includes tons of references made with numerals, which need to be superscript. So, we need at least superscript characters from 0 to 9, and even punctuation signs (for multiple references). I already got my workaround (the custom-made font faces) in production, and the product will be ready for delivery on time. I just wish we used a more efficient solution. At least we have the font sets for future use. AJOCTOBER 9 2003 @ 01:01 AMThe issue has bugged me from a long time since my work involves lot of content to be placed in swf.
I have logged this in the wish list at macromedia. lets c if it works in the 2004 version. MIKEDECEMBER 8 2004 @ 12:32 AMHi Oscar... anyway you could post the fonts you made to help me out, as I am faced with the same task - to find a workaround for the lack of superscript and subscript chars... peace
OSCAR TRELLESDECEMBER 9 2004 @ 09:04 AMI'm afraid I don't have them at hand. This is a project I did onsite for a client, and the font is nowhere to be found in my local files. I will check again later today, just in case. However, if I remember correctly, that typeface was just a variation of Arial, just smaller and moved into sub/superscript position. It wouldn't be too hard to replicate with any font editor.
POZYCJONOWANIEFEBRUARY 22 2007 @ 09:53 PMgood to know it
SASMARCH 9 2007 @ 11:55 AMsad
NICKENINOJULY 5 2007 @ 02:40 PMI think you dont want to share it because of the time/money you spent on it. Maybe you even take it from oddhammer.com
|
LANGUAGESARTICLES
BOOK REVIEWSSYNDICATIONFLASH
FLASH (ESPA�OL)ADOBE
AGGREGATORS
USER GROUPS |
|


