-
scrunch text with actionscript
OK, I have a font, that looks better scrunched, because it's a little too tall. So in flash I press Q and scrunch it. How do I do that in actionscript?
it's a textfield. I tried scaleX.. but it seems to scale x and y.
-
Make sure the font is embedded and then trace both scaleX and scaleY to make sure they are scaling independently.
-
How do you embed it in actionscript?
-
var tf:TextFormat= new TextFormat()
tf.font=new Arial().fontName;
textFieldName.embedFonts= true;
textFieldName.defaultTextFormat=tf
but you will have to add a font & export it with a class name (in this case Arial)
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
|