Skip to main content
Participating Frequently
September 2, 2011
Question

Creating IPA file with Multiple SWF files using ADT

  • September 2, 2011
  • 2 replies
  • 3567 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

Participating Frequently
September 5, 2011

I think you are trying to explain how to load two swf's one with action

script and loading an other swf file which should be non action script.If

you read my requirement carefully.I have all the same type of swf's and

these swf are automatically created as a form of output for xcelsius dash

board software.Iam capable of creating individialu ipa files from these swf

files.So when I try to combine the same kind of swf files the first error

its giving is the file name which I have used in the xml.in the main file

name for the swf file its not considering the two swf file name in the

initial window.so the adt package in the command line is not understanding

the file name from the xml and the command prompt and giving error this swf

file does not exist.So please consider how to combine two swf files with AS3

into one ipa file.These swf files are not editable,Let me know if you find

any idea to achieve this

Participating Frequently
September 5, 2011

Hi Deepak,

I can't think of a way to achieve this. The initial content can only have one swf. You could write an application which loads your other swfs, but since the other swfs contain code, this will not work in ipa-app-store targets, only in interpreter mode.

Thanks,

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).