Skip to main content
January 19, 2013
Question

ios app for iPhone 5. Loops through main timeline with AIR 3.5

  • January 19, 2013
  • 6 replies
  • 1059 views

I am making a game for iOS with a resolutuion of 1136x640 for the iPhone 5.

I used AIR 3.4 to publish the .ipa. I submitted the binary to apple with application loader and after it finshed I got this message:

Invalid Launch Image - Your app contains a launch image with a size modifier that is only supported for apps built with the iOS 6.0 SDK or later.

I read I could use AIR 3.5 or change the adt.jar file for 3.4 but doing both of these things causes a problem with the way my app runs.

If I do either of these things, this is what happens:

when I come to test the ipa on my iPhone the app just loops through the main timeline like crazy. If I switch back to AIR 3.4, it's all fine and the game works normally.

What is causing this problem?

Also if my stage is set to 1136x640, how do I get it to only display appropriately for the 960x640 devices?

I am doing the following to achieve this:

this.stage.scaleMode = StageScaleMode.NO_SCALE;

this.stage.align = StageAlign.TOP_LEFT;

and just having my content of the left side of the stage. On the iPhone 5 you see an extra 176 pixels on the right. Is there a better way? Could this be causing the problem with AIR 3.5?

Thank you.

This topic has been closed for replies.

6 replies

Colin Holgate
Inspiring
January 19, 2013

Looping through the timeline just means there is a script error. Can't think what would be different in AIR 3.5 versus 3.4, but if you do a debug build test it should show what the error is.

January 20, 2013

testing the .swf on my PC (running Windows 7), there are no problems for both both AIR 3.4 and 3.5

publishing a .ipa with AIR 3.4, there are no problems on my iOS devices

publishing a .ipa with device debugging with the network interface, there are no problems with both AIR 3.4 and 3.5 on my iOS devices

publishing a .ipa for quick device testing, there are no problems with AIR 3.4

publishing a .ipa for quick device testing and for deployment (apple app store) with AIR 3.5, I get the looping through the timeline error.

I'm not sure how to solve this error because when I try and publish a .ipa with device debugging it works fine and the .swf works fine on my PC.

Is a debug build test publishing the ipa for device debugging or something else?

Colin Holgate
Inspiring
January 20, 2013

I wonder if something changed with the loading of external swfs that have code? In AIR 3.4 it may have ignored the code, and in 3.5 it throws an error. You could test if it's that by trying AIR 3.6, which is able to have swfs with code.