Copy link to clipboard
Copied
1. I am experiencing the problem I have previously read from other users with their orientation failing to lock in the landscape aspect ratio on android phone tested on Google Nexus and . I have been expriencing this problem with no successful solution.
The solutions I have been finding are related to Flash CS5 and nothing for Flash Builder using Adobe Air.
My Meta settings are as follows in the app.xml file:
<autoOrients>false</autoOrients>
<aspectRatio>landscape</aspectRatio>
<visible>true</visible>
My landscape setting works fine tested on android tablet acer iconia A500 and the Blackberry Placybook.
I want to ensure the same gameplay experience on android phones.
Thank you for any helpful input.
Copy link to clipboard
Copied
Solved my own problem!
Had this: GameIFace.IGameController().stage.setOrientation(StageOrientation.DEFAULT);
Changed it to this: GameIFace.IGameController().stage.setAspectRatio(StageAspectRatio.LANDSCAPE);