Skip to main content
Inspiring
September 27, 2012
Answered

Rotate left/right is always grayed out in device simulator

  • September 27, 2012
  • 1 reply
  • 1298 views

If I run my app in Air Debug Launcher (Mobile), the "rotate left" and "rotate right" options in the device menu are always grayed out, regardless of whether the publish settings have auto-orientation enabled. This is making it impossible to test orientation code. Does anyone know a solution?

Addtionally, I have found (via a textfield reporting the current orientation) that my AIR app doesn't throw the "default" or "upside down" orientations on my device (Asus Transformer Infinity). It only throws "rotated left" and "rotated right". Anyone know a solution for that?

Thanks!

This topic has been closed for replies.
Correct answer vabhatia

The rotate buttons are enabled only in "ANY" Aspect Ratio mode and auto orients set to true. For other aspect ratio values, the stage orientation must remains in one of the orientations specified by the aspect ratio and hence should not rotate.

1 reply

vabhatiaCorrect answer
Adobe Employee
September 27, 2012

The rotate buttons are enabled only in "ANY" Aspect Ratio mode and auto orients set to true. For other aspect ratio values, the stage orientation must remains in one of the orientations specified by the aspect ratio and hence should not rotate.

xTLSAuthor
Inspiring
September 27, 2012

D'oh! I forgot "Auto" was even an option. Yep, it was set to Landscape. Thanks!