Hi, I've seen tutorials on the internet where people use navigator.landscapeOrientation inside a resize handler, to check the orientation of a device. That doesn't work anymore so how do I check the orientation now?
I need this to work as soon as a view is created, e.g from the creationComplete handler. It also needs to work for iPad and iOS devices. Thanks for your help.
By the way, stage.orientation doesn't work for determining the orientation inside a resize handler. That is why I am having trouble.
Ignore this, using FlexGlobals.topLevelApplication.aspectRatio to find the orientation works fine.