AIR 3.6 iOS - loading external SWF using ABC

With AIR 3.6, is it possible to finally download the EXTERNAL swf file with AS3 code from the Internet and use it on an iOS device?

I see on their webpage they say that the new features include:

Packing and loading multiple SWFs: this feature provides developers with better memory management, allowing them to load the assets they need dynamically at any time from multiple SWFs and not load them to the forefront.

Just to make it clear, does this mean that it only works for swfs packaged with the application, or also with external swfs?

+4
source share
2 answers

This was only announced in AIR 3.7, but not in 3.6.

AIR 3.6 includes the ability to package multiple swfs using an iOS application, but does not allow you to download them from an external server.

AIR 3.7 offers you the ability to download external SWFs from a website.

Application developers will be able to host their secondary SWF files on an external server and download them on demand in accordance with their application using this function. Downloading secondary SWFs that have any ABC code in AOT mode, which worked only for locally packed SWFs earlier, will now work for loading SWF files from the outside, as well

It looks like the bytecode will be contained in your application binary

During packaging, the IPA ADT ADT extracts the Actioscript code from all the child SWFs that are specified in the sample text file, adds it to the final executable file, and moves the split SWF files to the "externalStrippedSwfs" folder created in the current working directory.

Check PDF release examples, for example

http://labsdownload.adobe.com/pub/labs/flashruntimes/shared/air3-7_flashplayer11-7_releasenotes.pdf

+3
source

There seems to be a requirement that an external SWF file be compiled for Flash Player 11.6 with an internal version number> 19.

0
source

Source: https://habr.com/ru/post/1469261/


All Articles