Hi Guys,
I would like to load additional local swf files to my ios release build but I am confused a little bit because of the new API changes.
As far as I know at the moment (from Air 3.7 or newer) it is allowed to load local swf files that contains compiled actionscript both from local folder and from a predefined remote host as well.
My assumption based on this article:
I created the text file to include all of my local swf file names and created the following node in the application.xml:
<iPhone>
.
<externalSwfs>assets/SampleSWFInfoFile.txt</externalSwfs>
.
</iPhone>
When I compile the release build (ipa) using command line adt, it converts all of my local swfs into the stripped swfs which is perfect, but even though I include all the swfs in the compiler command, it puts only the SampleSWFInfoFile.txt file into the assets folder in the ipa but not the swf files.
I assume, it thinks I will load these files from an external host, but I would like to include them in the app itself.
I tried to copy the stripped swf files from the externalStrippedSwfs folder and comment the <externalSwfs>assets/SampleSWFInfoFile.txt</externalSwfs> node in the application.xml and compile it and this way it puts the swf files into the ipa, but when I try to install and launch the app it crashes and when I test it using Flash Builder it shows an error message
"VerifyError: Error #1042: Not an ABC file."
Do any of you guys know the solution for this problem?
Thank you for your help in advance!