开发者

Component sizing as3

开发者 https://www.devze.com 2023-03-09 23:07 出处:网络
I have a problem when attempting to size a component in a class a few levels down in my app.The class hierarchy of my app is as follows:

I have a problem when attempting to size a component in a class a few levels down in my app. The class hierarchy of my app is as follows:

ConcretApp.as --> playlistView.as --> PlaylistGateway.as --开发者_开发知识库> PlaylistState.as --> FLVState.as

When sizing an image to a width of 650 and height of 350 in ConcretApp.as (the main parent class) the size is correct and as expected. When I try to size an image in FLVState.as these same dimensions are alot bigger.

Does anyone know why?

I have not sized any of these classes in the hierarchy.

Thanks

Christopher Grigg


I suppose resize() is called twice e.g.

function resize() {
  ...do resize
  super.resize()
}
0

精彩评论

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