2011-02-14 39 views

回答

0

不,你將不得不以編程方式做到這一點:

var textField:TextField = new TextField(); 
textField.autoSize = TextFieldAutoSize.LEFT; 
// ... some code here ... 

var fullHeight:int = 100; 
textField.y = (fullHeight - textField.height)*.5;