Flash: Align text verticaly
Question
is possible to align text in dynamic text control vertically to the middle? In flash CS3. Thanks
Solution
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;
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow