尝试在我的应用中将类中的组件调整几层时,我遇到了问题。我的应用程序的类层次结构如下:
ConcretApp.as - > playlistView.as - > PlaylistGateway.as - > PlaylistState.as - > FLVState.as
在ConcretApp.as(主要父类)中将图像的宽度调整为650并将高度调整为350时,大小是正确的并且符合预期。当我尝试在FLVState中调整图像大小时,这些相同的尺寸更大。
有谁知道为什么?
我没有在层次结构中调整任何这些类的大小。
由于
Christopher Grigg
答案 0 :(得分:0)
我想调用resize()两次,例如。
function resize() {
...do resize
super.resize()
}