Skip to main content
June 11, 2011
Question

Unwanted Stage Rotation with Adobe CameraUI example on iPad2 - HELP PLEASE!

  • June 11, 2011
  • 1 reply
  • 542 views

Hi all!

I'm working on a puzzle game for the iPad 2.  I'm using the Adoble example that is layout here:

http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/media/CameraUI.html

Everything is working fine execpt for when the navive camera app shuts down, either by "use" for a photo or "cancel" the stage of my app is rotating 90deg counter-clowise WITHOUT firing a StageOrientationEvent.ORIENTATION_CHANGE event.  If I turn the ipad after this strange happening the StageOrientationEvent.ORIENTATION_CHANGE does fire and everything is adjusted normaolly per my "adjustLayout" function that is nomally called when a StageOrientationEvent.ORIENTATION_CHANGE event fires.

Can someone verify this is the case?  I'm currious to find out if this is an adobe or apple bug, and more importantly is there a work around for this?

THANKS!

This topic has been closed for replies.

1 reply

June 15, 2011

I have some more info...

The when the ipad camera app launches it will not adjust for orientation.

The behavior I described does not happen if the ipad2 is held in portatriat mode with the home button on the bottom.

Also I'm currently running air 2.6 and ios 4.3.3.  I'm going to try air 2.7 and ios5 beta soon and see if it makes a difference.

Can someone else verify this and any possible fixes?

Thanks!

June 16, 2011

I installed ios5 beta on my ipad and that has resolved the stage rotation bug.  It has however sparked up a bunch of other bugs.  For eample now my full screen app comes out of full screen mode when returning from the cameraUI.

Is anyone else playing with this?