How do I keep my mobile AIR application on landscape mode?
问题 I can't seem to find any way to force it to go landscape mode all the time. When I go to MyApp-app.xml and edit the <aspectRatio></aspectRatio> tags to landscape , only the main view is landscaped. If I navigate to the second view, it turns back to portrait . Any help? 回答1: You can set it on Properties of the Document. Go to File>Publish Settings> Click on Configuration Player ("Air for Android", "Air for iOS", "Flash Player 11", etc). Now, mark the "Auto Orietation". Like this: Now, save,