I am using the scale-mode, alignment and aspect-ratio like this in flash cs6.
stage.scaleMode = StageScaleMode.EXACT_FIT;
stage.align = StageAlign.TOP_LEFT;
Aspect Ratio : landscape
When my app is maximized(after minimize) some times it will display half of the screen only. In some devices user logged out.