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

Handle orientation's change when device's auto rotate's feature is disabled

New Here ,
Mar 01, 2013 Mar 01, 2013

Copy link to clipboard

Copied

"StageOrientationEvent.ORIENTATION_CHANGE" event does not fire (dispatch) when the Auto Rotate feature of the device is disabled.

I'm developing a game that only must work on PORTRAIT mode. I speculate many users unchecked this option display settings.

How can I detect screen rotation regardless of device setting. Should I use accelerometer for this purpose or there is a better way?

http://i.stack.imgur.com/ulNQS.jpg

Views

575

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
Guest
Mar 04, 2013 Mar 04, 2013

Copy link to clipboard

Copied

LATEST

Hey DaneWWW,

                          If I understood your question correct the following link might help you with what you need.

http://www.codeproject.com/Questions/403454/Flash-Builder-4-6-Mobile-Orientation

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