On iOS, you can listen for the orientaionChanging event and cancel the change if the orientation is changing to one with a portrait aspect ratio. (FWIW, this doesn't work on Android since the orientationChanging event isn't supported by the OS.)
I have found a good artical here:
I'd like to resurrect this thread if I may. I found this article and have used the event.preventDefault() function, and the problem I'm having is that the tab navigation is resizing itself to portrait width when the device is rotated, despite the content and application not rotating.
I've tried putting a listener on the stage of the tabbedNavigator and duplicating the preventDefault in there, and I've tried stopping the stage's event.RESIZE event, and I've tried overriding the measure() function in the application and forcing the values.
Nothing works! What the heck!
Any help would be appreciated.
I have same problem us flex 4.6
tab navigation is resizing but I want to prevent resize the width, when the device is rotated.( I have already use event.preventDefault() to prevent rotate left and right)
Take a look at http://stackoverflow.com/questions/8900849/properly-preventing-orienta tion-change-in-flex-mobile-app - I had exact same problem and was able to find solution that was working for me.
Europe, Middle East and Africa