Flash: Align text verticaly
is possible to align text in dynamic text control vertically to the mi开发者_运维技巧ddle? In flash CS3. Thanks
No, you will have to do it programmatically:
var textField:TextField = new TextField();
textField.autoSize = TextFieldAutoSize.LEFT;
// ... some code here ...
var fullHeight:int = 100;
textField.y = (fullHeight - textField.height)*.5;
精彩评论