Skip to main content
Participant
April 13, 2012
Question

Air for Ios doesn't compile actionscript

  • April 13, 2012
  • 1 reply
  • 634 views

Hi guys,

I'm having a big problem... I'm developing a game to be published to web, ios, android. If I export the swf for the web or the apk for android everything is ok but when I try to package the swf using air for ios the swf doesn't contains any actionscript, the compilation is very fast and the swf is smaller, also if I try to debug the fla nothing happen because no code is compiled. This is started in the last two month, before I was able to package also to ios and I was able to create an ipa that I sent to apple store but now I need to modify the app and I can no more compile it. I have browsed the forum and read something about the umcompiled actionscript problem but I didn't load any external swf, I just use urlloader to load an xml and some images. I'm using flash cs5.5. Someone have some suggestion?

This topic has been closed for replies.

1 reply

Inspiring
April 13, 2012

If you are using Flash Professional.. I would just create a new FLA .. copy over your library assets, etc.   Make sure to point to your certificates and provisioning files, etc.. and recompile.

Were you using an old version of AIR previously and have the new AIR SDK installed now ?

I have found that compiling the IPA with ADT from the command line is much better than compiling from the IDE and allows you to use the iOS5.1 SDK instead of iOS4.

Participant
April 13, 2012

Hi Applauz78

Thank you for the reply.

I tried to do what you say, copy etc.. but didn't work. I also tried to reinstall thhe whole cs5.5 so I think the air sdk should be the correct one. Can you please tell me how to compile with ADT without having the swf? I thinked I needed it to use ADT... plesae write me the commando to compile from the fla and as to ipa using ADT

thanks

Inspiring
April 13, 2012

You need the SWF in order to compile the IPA from Command Line.

Have you overlaid your version of AIR since your last successful compile ?

Sounds like maybe there could be an issue there.

I would first overlay with AIR 3.2

Make sure your descriptor file is pointing to AIR 3.2 as well.