Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
Locked
0

loading external swf (no code)

New Here ,
Nov 02, 2014 Nov 02, 2014

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 !

TOPICS
Air beta
1.4K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Nov 03, 2014 Nov 03, 2014

Hi,

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

Thanks

Govinda Gupta

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Nov 03, 2014 Nov 03, 2014

thx for your reply. Sent u a private message

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Nov 03, 2014 Nov 03, 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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Nov 03, 2014 Nov 03, 2014

Thanks for the email, we are able to reproduce the issue with the app placed at play store. so in order to investigate the problem we first request you to try it with our latest beta SDK that contains some LoadPromise related fixes and if problem still persist, please share us some sample app/code.

Regards,

Jitender

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Nov 04, 2014 Nov 04, 2014

Issue is not reproducible with shared .swf file on ipa-app-store target. I have package swf with latest AIR SDK available @ labs.adobe.com. Could you please try it with same SDK once.


Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Nov 04, 2014 Nov 04, 2014

i believe we are using the same sdk (302, released 22 october). i'll give it a try anyway (will have to wait 1 week before apple validate it)

Are the debug versions "sandboxed" or whatever ? the weird thing is that its working with this version, but not the appstore one...

one thing i noticed is that with the production version, i can't even see a trace of the file load in my apache logs, where the swf is located, like if the app were not even trying to load it. debug version is fine.

did you check the files and code i sent you ? is everything ok ?(beside the fact it's very dirty code )

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Nov 06, 2014 Nov 06, 2014

Recently sent link is not working. Please send again

-Jitender

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Nov 06, 2014 Nov 06, 2014

Tried again with new swf but things are working fine at our end. Packaging command used is as follows:

adt -package -target ipa-app-store -provisioning-profile <Provisioning-profile> -storetype pkcs12 -keystore <Certificates.p12> -storepass <password> weesoo302.ipa  WeesooMobile3-app.xml  weesoo.swf

Please share the command you are using.

Regards,

Jitender

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Nov 07, 2014 Nov 07, 2014

hello

here is the command generated by flash builder 4.7 (flex 4.13, air 15.0.0.302)

java.exe -jar D:\SDK\Flex4.13_air15beta\lib\adt.jar -package -target ipa-app-store -provisioning-profile C:\Users\Gabriel\Adobe Flash Builder 4.7\WeesooMobile\libs\certificates\IOS\09102014\iConfDistri_09102014.mobileprovision -storetype pkcs12 -keystore C:\Users\Gabriel\Adobe Flash Builder 4.7\WeesooMobile\libs\certificates\IOS\09102014\CertificatsProd_0910214.p12 -storepass <Value cannot be displayed> WeesooMobile3.ipa WeesooMobile3-app.xml assets Default-375w-667h@2x.png Default-568h@2x.png Default-Landscape.png Default-Landscape@2x.png Default-LandscapeLeft@2x.png Default-LandscapeRight@2x.png Default-Portrait.png Default-Portrait@2x.png Default.png Default@2x.png WeesooMobile3.swf

i missed the "proloader" part...is it now mandatory to user proloader if loading external swf assets ? is it a normal behavior that the swf can be loaded with the debug version, and not the shop version ?

thanks for your help. by the way, i'm making a small video to show you the problem,as i'm not 100% sure you understand it in my case

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Nov 07, 2014 Nov 07, 2014

just to make sure we are talking about the same thing, here is a video demonstrating the problem: http://www.weesoo.com/DSC_2079.mp4

thank you again for your help

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Nov 04, 2014 Nov 04, 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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Nov 04, 2014 Nov 04, 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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Nov 10, 2014 Nov 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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Nov 20, 2014 Nov 20, 2014
LATEST

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines