-
superscript/subscript character/text in AS3
Hi,
As shown in the demo I am trying to create a sample to make a character superscript/scbscript but don't know what is required to create this functionality.
http://labs.adobe.com/technologies/textlayout/demos/
Can some provide any sample code for the same.
Thanks for any help.
-
Senior Member
Is your text dynamic or static ?
-
it could be dynamic or input
U from Pune me too.
[EDIT]
The problem is solved. FTE components have to be used for this.
var ca:CharacterFormat = new CharacterFormat();
ca.baselineShift = flashx.textLayout.formats.BaselineShift.SUPERSCRIP T;
Last edited by nitinmukesh; 05-29-2009 at 05:47 AM.
-
Senior Member
Oh great! you solved it. Thanks also for giving the code snippet which will definetly help others!
I am in Pune since last 3 yrs working on Flash
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|