简体   繁体   中英

Component sizing as3

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 eg

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM