Skip to main content
Inspiring
April 4, 2017
Question

Adobe Air load external swf with actionscript not working in iOS

  • April 4, 2017
  • 6 replies
  • 4973 views

Dear All,

I'm working on adobe air project for iPad app. I'm loading multiple external swf files which will download from the server in runtime. Downloaded files has actionscript and it doesn't work in the app. I have read some forums and it says that iOS doesn't Allowactionscript Byte Code (ABC) from the downloaded external swf. And that forums seems very old. Still the same status continues or Is there any solution found in latest for that? Please help me.

Thanks in advance,

Guru

This topic has been closed for replies.

6 replies

New Participant
August 16, 2017

Is there anyone to reply for my question?

New Participant
August 14, 2017

Hi Rajaguru

       Your question is helpful for me. But unfortunately I couldn't do it in Android. I need help. When I try to fetch swf from external URL, I'm getting this following error.

SecurityError: Error #3205: Only application-sandbox content can access this feature.

at Mainclass()

Do you know solution for this. Or I need example to do it for Android.

Thanks in Advance.

RajaguruVAuthor
Inspiring
July 27, 2017

You welcome Sasan

RajaguruVAuthor
Inspiring
July 18, 2017

Hi Sasan,

Good Morning. Have a Nice day!

Yes its working in all iOS devices. For Android device, no need to do the steps for strip swf. It will work as in the windows PC. Mac need only when you upload the file to App store. To check in your device, you need to develop your main application in Adobe Air, and need to apply setting in that. It will give you .ipa file. And you can connect your apple device into you PC and can install the package through iTune (If you don't have iTune in your PC, please install). Now you can see the result.

Hope it will help you.

Thanks,

Guru

New Participant
July 20, 2017

Thank you so much RajaguruV , appreciate it

I didn`t know if I can try my AIR app via windows on iOS.

have a nice time

Participating Frequently
May 3, 2017

Hi Raja,

I'm gettting below issue could you help me!

Unknown error.

unexpected failure: externalStrippedSwfs/multiswf/game1.swf (No such file or directory)

java.io.FileNotFoundException: externalStrippedSwfs/multiswf/game1.swf (No such file or directory)

  at java.io.FileOutputStream.open0(Native Method)

  at java.io.FileOutputStream.open(FileOutputStream.java:270)

  at java.io.FileOutputStream.<init>(FileOutputStream.java:213)

  at java.io.FileOutputStream.<init>(FileOutputStream.java:162)

  at com.adobe.ucf.Utils.copyTo(Utils.java:42)

  at com.adobe.air.ipa.IPAOutputStream.copyExternalSwfToFolder(IPAOutputStream.java:1476)

  at com.adobe.air.ipa.IPAOutputStream.finalizeSig(IPAOutputStream.java:1374)

  at com.adobe.air.ApplicationPackager.createPackage(ApplicationPackager.java:103)

  at com.adobe.air.ipa.IPAPackager.createPackage(IPAPackager.java:290)

  at com.adobe.air.ADT.parseArgsAndGo(ADT.java:656)

  at com.adobe.air.ADT.run(ADT.java:450)

  at com.adobe.air.ADT.main(ADT.java:500)

RajaguruVAuthor
Inspiring
May 3, 2017

Hi kumsh,

I'm also getting the similar issues in my system. But its working in some other system without any such issue. Please try it in any other system if you have. Sorry, I don't know exactly what is the issue in my proj too. I don't know java .

Participating Frequently
May 3, 2017

Thank you for your reply i will check it and update

Ned Murphy
Brainiac
April 4, 2017

As far as I know nothing has changed with regards to actionscript in loaded swf files when using portable devices.  The code in them is rendered useless when loaded into another file.  I believe you need to try to target the loaded file and control its inner workings thru the main file that did the loading.

RajaguruVAuthor
Inspiring
April 4, 2017

Thank you for your reply and valuable idea Ned Murphy.

I will try in that way.

RajaguruVAuthor
Inspiring
April 10, 2017

Sure Colin


Hi Colin,

I got the below error when I compile app. What does this mean? Any idea?

Thanks,

Guru