Skip to main content
Known Participant
June 15, 2011
Question

A cleaner StageOrientation?

  • June 15, 2011
  • 2 replies
  • 2836 views

Hi,

Is there a way to skip the "smooth" rotating transition when changing orientation on the device?

It currently looks quite bad as the game is very jerky during this transition (I'm using an iPad 1). There is also a new bug in Air 2.7 with fullscreen Landscape mode, and when I use a workaround (setting it to portrait and using setOrientation to make it landscape) I still see a small list doing the rotating transition even though the rest of the screen is blank. Very frustrating.

I would like to see an option for an instant, clean change between orientations, to avoid these issues.

Thanks.

/Andreas

This topic has been closed for replies.

2 replies

Inspiring
June 21, 2011

Hi all,

Colin has linked to a couple of movies on the http://www.bytearray.org/ site and at least the Cache and Rossignol apps both do have a great orientation change (and are, of course Flash or Flex made).

Too sad that I don't know how they archived it, but it is great to see that there is a solution available. Maybe someone knows someone who know one of the developer and could find out how they made it?

Regards,

Josh

Colin Holgate
Inspiring
June 15, 2011

You can turn off auto orient, and look at the accelerometer to know which orientation to use, and then set the orientation yourself. I think that then works instantly, and it makes it easy to disable orientations you don't want.

Inspiring
June 15, 2011

Hey Colin,

have you tested this?


I still don't know any good way to do so, but haven't tested that (I think I tried anything else)...

Regards,

Josh

Colin Holgate
Inspiring
June 15, 2011

I haven't needed to, but I know of people who have used that method to solve the issue on Android, which doesn't have a changing event. Doing your own thing solves a few different issues.