Skip to main content
Inspiring
April 3, 2013
Answered

iPad splash screen/launch behavior broken in landscape mode for AIR 3.6?

  • April 3, 2013
  • 3 replies
  • 1140 views

I just updated to Air 3.6 (under FB 4.6) and I'm now seeing an issue with my app launching in landscape mode when the home button is on the left.

This is on my iPad 2 (running iOS 6.0). However, it doesn't happen on my iPad3 (running iOS5.1).

Launching my app under Air 3.6 on my iPad2 with the home button on the left the following sequence happens :

- The splash screen will appear properly.

- As the splash screen is going away, the app will rotate upside down and remain upside down after finishing launching.

- I must rotate the iPad 180 degrees and then back again to get it to recognize the correct orientation.

I have some other apps that use the same project as a template and share the same launch code. An app that I have that was compiled under Air 3.4 does not exhibit this problem at all on the exact same iPad. The launch sequence works seemlessly.

I have some other apps that were compiled under Air 3.2 on the same iPad that exhibit the following behavior, which isn't as severe :

- The splash screen will appear properly.

- The splash screen for a brief moment flips upside down.

- The splash screen then rights itself and the app launches the right way up as it should.

So it appears that something has changed in the way the AIR 3.6 is handling splash screens and the launching of an app.

I'm not sure if this could be related to the issue that was posted here (although it was indicated for iPod/iPhone) :

http://forums.adobe.com/message/5194883#5194883

This topic has been closed for replies.
Correct answer Zero7Eleven

Hi,

I had the same problem, and adding the compiler Argument for the correct Flashplayer Version fixed this.

Try to add: -swf-version=19

Best regards,

Roman

3 replies

Zero7ElevenCorrect answer
Inspiring
April 3, 2013

Hi,

I had the same problem, and adding the compiler Argument for the correct Flashplayer Version fixed this.

Try to add: -swf-version=19

Best regards,

Roman

Inspiring
April 3, 2013

Thanks Zero7Eleven!

Going into FB->Project Properties->ActionScript Compiler and adding -swf-version=19 to the "Additional compiler agruments" section seems to have fixed the issue for me.

It looks like this compiler agrument was mentioned in the release notes here, which I didn't find ealier :

http://helpx.adobe.com/flash-player/release-note/fp_116_air_36_release_notes.html

Adobe Employee
April 3, 2013

Orientation on iOS changed drastically in AIR 3.5 because of the changes introduced by Apple in iOS 6. The related blog post and details can be found at https://blogs.adobe.com/airodynamics/2012/09/28/orientation-changes-in-air/.

Can you attach a sample project that demonstrates the bug clearly and helps us reproduce the issue at our end. One reason you are not able to see this behavior on iPad 3 is because its running on iOS 5.1.