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()
}
精彩评论