Tried stage.stageWidth
and stageHeight
on applicationComplete
, but for some reason the actual numbers returned do not seem to be accurate - the image always appears off-centered (stageWidth/2 - imageWidth/2).
How do you determine the mobile device's actual screen size, to center an object?