Thanks for providing the detials on the reload option. When I heard about it a while ago I first thought this finally could be "the" solution. Bur then I realized everything had to be available at compile time, from one dedicated server only and could not be dynamically reloaded after the first load. And I think had to be accepted (censored) by Apple at the time of the release of the app. So at least for my needs there are no benefits at all...
Good to have the official table on what's allowed and what not, what I believe confirms my previous statement. my personal summary: if you want to make use of 'real' swf files, i.e. those with ABC, the simplest way is to include it during compile time and forget about any approach to dynamically (re) load swfs. regards Hans > Am 11.06.2014 um 18:20 schrieb OmPrakash Muppirala <[email protected]>: > These articles explain the restrictions on loading swfs in mobile apps. > > Thanks, > Om > > [1] > http://blogs.adobe.com/airodynamics/2012/11/09/packaging-and-loading-multiple-swfs-in-air-apps-on-ios/ > [2] > http://blogs.adobe.com/airodynamics/2013/03/08/external-hosting-of-secondary-swfs-for-air-apps-on-ios/ > On Jun 11, 2014 8:11 AM, "Federico De Maddalena" <[email protected]> > wrote: > >> Hans, Thanks! >> >> -----Messaggio originale----- >> Da: Hans J Nuecke [mailto:[email protected]] >> Inviato: mercoledì 11 giugno 2014 17:08 >> A: [email protected] >> Oggetto: Re: question about loading swf >> >> As far as I know chances are high this will not work because of security >> issues. >> >> What will work are AIR programs you install (!) on the devices. >> Those are either apk files for Android, or ipa file for iOS devices. >> You can transfer an apk file to an Android device directly using USB or >> WLAN, and then install with any of the available apk installers. >> But Apple only allows apps downloaded via their app store; for general >> use. There are options for developers, though. >> >> An application installed that way can load swf files from a server and >> make use of them; like showing it in a display container. >> But those swf files must not contain ANY active content. Even a stop() >> command is treated as active content. Also an "allowDomain()" command will >> trigger a security alert and sandbox violation and result in a blank screen >> (or error message in case of a debug version). >> >> If you expect PDF pages converted with swtools.org into swf files can be >> used, be warned: they will not. >> You had to force pdf2swf to make use of Flash Player version 7; but then >> loose e.g. the option to highlight text. Or build a patched version... >> >> That at least is my actual understanding and what I learned/found out. >> If there are other options, I'd love to hear about it ;-) >> >> Regards >> Hans >> >> >> >> >> Am 11.06.2014 16:15, schrieb Patil, Virat: >>> Only SWF won't be enough to run Supporting libraries would be required >>> >>> -----Original Message----- From: Federico De Maddalena >>> [mailto:[email protected]] Sent: Wednesday, June 11, 2014 >>> 7:39 PM To: [email protected] Subject: question about loading swf >>> >>> Flex Mobile (iOS and Android). Flash Builder 7 with last version of >>> Air and Flash Can I run ActionScript code in a loaded SWF? >>> scenario: I download an SWF from server and save it in application >>> local storage. This SWF contains ActionScript code. Can the component >>> SWFLoader or similar components run this swf correctly? >>> thanks federico This message contains information that may be >>> privileged or confidential and is the property of the Capgemini Group. >>> It is intended only for the person to whom it is addressed. >>> If you are not the intended recipient, you are not authorized to read, >>> print, retain, copy, disseminate, distribute, or use this message or >>> any part thereof. If you receive this message in error, please notify >>> the sender immediately and delete all copies of this message. >> >>
