Hi guys. This is probably a silly problem but when I create a textfield and use the centering property in the following way, I position it at x=0… but the middle of the text isn’t at zero; seemingly the left border of a large… area of some sort is at x=0.
var verdanaFont = new TextFormat();
verdanaFont.font = 'Verdana';
verdanaFont.size = 20;
selections=new TextField();
with (selections){
embedFonts = true;
defaultTextFormat = verdanaFont;
text='hello';
x=0; //or anything really
y=100;
autoSize = TextFieldAutoSize.CENTER;
}
addChild(selections);
Is there something really silly I’m missing? :S