开发者

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;
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜