Is any technical rule for flash player that prevents set "fontSize"
style above about 130? In flash ide i can set font size to very large
sizes but if i have only flex compiler i can't. I try on "native"
TextField too with similar result. Below my test class
package
{
import flash.display.Sprite;
import flash.text.TextField;
import flash.text.TextFormat;
public class FontTest extends Sprite
{
[Embed(source='../../@FONT_FILE@', fontName='@FONT_NAME@',
mimeType='application/x-font')]
public var myFont:Class;
private var tf:TextField
public function FontTest (){
tf=new TextField()
addChild(tf)
tf.width=100
tf.height=500
tf.text="a"
tf.embedFonts=true
var tForm:TextFormat=new TextFormat("@FONT_NAME@",600)
tf.setTextFormat(tForm)
// tf.scaleY=tf.scaleX=3
//scaling works OK
}
}
}
--
Robert Was
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)
<*> To change settings via email:
mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/