【发布时间】:2016-04-21 10:16:48
【问题描述】:
我正在尝试通过使用旋转该组件后获取 UIComponent 的宽度和高度
var width:Number = component.getLayoutBoundsWidth();
var height:Number = component.getLayoutBoundsHeight();
但它返回的宽度和高度与 UIComponent 旋转之前相同。
有人知道如何在旋转后获取 UIComponent 的更新高度和宽度,或者如何解决这个问题?
【问题讨论】:
标签: actionscript-3 flex4