Quantcast
Channel: Adobe Community : Popular Discussions - Using Flash Builder
Viewing all articles
Browse latest Browse all 70427

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

$
0
0

"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


Viewing all articles
Browse latest Browse all 70427

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>