Skip to main content
Known Participant
November 3, 2014
Question

loading external swf (no code)

  • November 3, 2014
  • 4 replies
  • 1531 views

Hello

i have a strange issue since update of my app for ios 8: my app is loading external swf (doesnt containing code, its just pdf converted to swf using swftools)

while its working ok when debugging on device, these external swf don't show up since the app have been accepted on itunes. And i dont have any error message

what i don't understand is why it's working good with the debug version and not the production version. they are supposed to be exactly the same, and i don't see why it would be a crossdomain or applicationdomain issue. Did somebody experienced the same problem ?

the thing is its a bit hard to debug, as the prod version isnt firing any message, and the debug version is just fine...:/

thanks !

This topic has been closed for replies.

4 replies

GaboleAuthor
Known Participant
November 21, 2014

hello

it is finally working with the latest air sdk (16) thank you adobe

althought it'sworking, i have the message "uncopiled actionscript" now firing in my app. didn't have this message previsously,with the same loaded files. any way to get rid of it ? weird anyway as the file is correctly loaded, and working as expected

thank you !

ps: we also need windowsphone support for air, please

Participating Frequently
November 10, 2014

I had already reported this issue on Monday, July 28, 2014. But that was simply ignored apparently. I had also attached a simple Flash Builder project to reproduce this issue.

Bug#3795521 - Improved Packaging Engine - Loading external SWF -> "Uncompiled ActionScript"

Maybe it helps if this bug entry gets some upvotes.

gmarkowski
Participating Frequently
November 4, 2014

Are you sure the SWF doesn't contain any code? As far as I know, swfs converted using SWFTools may have AS3 code in it. You can check it using great and free SWF Decompiler JPEXS (JPEXS Free Flash Decompiler - Opensource SWF decompiler and editor). If you see folder "scripts" then this SWF has code in it. I use it a lot to check if any swfs I want to load in iOS doesn't have AS3.

GaboleAuthor
Known Participant
November 4, 2014

hello thank you for your reply

there are just "stop()" on each frame. i also tryed with documents converted without the "insertstop" command so there is no code. Same result. there is nothing new in apple refusing as3 in external swf, but these documents have been working for years in ios. So unless they became stricter, they should continue working. For example pptx converted with ispring (means containing lot of as3) have never been working, contrairly to those converted with swftools. Hope i made myslef clear

Adobe Employee
November 3, 2014

Hi,

Could you please share a sample app, so that we can investigate the issue?

Thanks

Govinda Gupta

GaboleAuthor
Known Participant
November 3, 2014

thx for your reply. Sent u a private message

Adobe Employee
November 3, 2014

Thanks,

We fixed a similar bug recently so I would request you to try latest beta AIRSDK on labs.

Also please share a sample app SWF and xml privately.

- Govind