• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
Locked
0

Orientation problem on Android Phones

Explorer ,
Jun 02, 2012 Jun 02, 2012

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.

Views

807

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jun 12, 2012 Jun 12, 2012

Copy link to clipboard

Copied

LATEST

Solved my own problem!

Had this: GameIFace.IGameController().stage.setOrientation(StageOrientation.DEFAULT);

Changed it to this: GameIFace.IGameController().stage.setAspectRatio(StageAspectRatio.LANDSCAPE);

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines