Skip to main content
Participating Frequently
September 2, 2011
Question

Creating IPA file with Multiple SWF files using ADT

  • September 2, 2011
  • 2 replies
  • 3505 views

Iam successfully able to create ipa files using the ADT package but my next requirement is to create an IPA file with multiple swf files.I think it might be easy if your SWF files are regular the tough part is my swf file has lot of action script in it so the only option is to through the command prompt and using the ADT package of Adobe AIR.So now i have 10 SWF files like this and iam creating ipa file for each swf seperatly but now I want to put all of the swf files into one ipa file.Please let me know if i was not clear in my description

This topic has been closed for replies.

2 replies

relaxatraja
Inspiring
September 5, 2011

Make your AS3 program to load the swfs from your main swf and the external swf should not contain any script, you can attach more files using the space in the ADT command:

C:\AdobeAIRSDK\bin\adt.bat -package -target ipa-test -storetype pkcs12 -keystore [KEYFILE].p12 -storepass [KEY PASSWORD] -provisioning-profile [MOBILE PROVISION FILE].mobileprovision [IPA NAME].ipa [XML FILE NAME].xml [SWF FILE NAME].swf [SWF FILE NAME].swf [SWF FILE NAME].swfIcon_29.png Icon_48.png Icon_57.png Icon_72.png Icon_512.png Default-Landscape.png Default-Portrait.png Default-PortraitUpsideDown.png Default-PortraitLandscapeLeft.png Default-PortraitLandscapeRight.png

relaxatraja
Inspiring
September 5, 2011

Again:

Make your AS3 program to load the swfs from your main swf and the external swf should not contain any script. I done with my project with lot of codes which was controlled from my main program and I included many as files whereever I want for external swfs from my main document.

Community Manager
September 5, 2011

@Relaxatraja: I think he is using Xcelsius to export some reports as swf and then packages the swf as ipa using ADT. It is not a Flash Builder/Flash Pro Project that he can change. These exported swfs have code in them, and hence they don't load with ipa-app-store target.

-Sanika

Inspiring
September 3, 2011

If you want to use loader to load swf files into your main movie it will work however none of the loaded swf actionscript will execute.

The reason this happens is that apple does not allow runtime language interpreters. Everything must be compiled to native code.

There is no reason you cannot use a shockwave class file though (swc).