Font size scale probleme

Posted by srfc35 
Font size scale probleme
September 22, 2009 12:50PM
Hi,

I've got a dynamic text in a clip on the stage, with default text
I would like to display big texte (more than 127px) with animation.
At first frame i've this code for format text :

var format:TextFormat = new TextFormat();
format.size = 127;
      
mc_text.mytext.autoSize = TextFieldAutoSize.LEFT;
mc_text.mytext.setTextFormat(format);
mc_text.mytext.scaleX = 2;
mc_text.mytext.scaleY = 2;

Unfortunely when i had a FlashEff text effect my text display only at 127px
Do you have a solution ?
Thinks in advance
Best regards
Re: Font size scale probleme
September 22, 2009 01:09PM
I've find solution.
I've forgot this code : addChild(mc_text.mytext);
Here wrigth code for people interesting :

var format:TextFormat = new TextFormat();
format.size = 127;
      
mc_text.mytext.autoSize = TextFieldAutoSize.LEFT;
mc_text.mytext.setTextFormat(format);
mc_text.mytext.scaleX = 2;
mc_text.mytext.scaleY = 2;
addChild(mc_text.mytext);
Re: Font size scale probleme
October 06, 2009 06:10AM
Great! keep up the good work.
Sorry, you do not have permission to post/reply in this forum.