6 Replies Latest reply on Dec 9, 2011 2:26 PM by rexdtripod

    import SWFs into Flex iOS app?

    miquael Level 1

      My mobile iOS app is supposed to load SWF assets from an external server, and now after nearly 2 weeks of development, I just discovered that it does not work with the "standard packaging" method.  This is because, after the ActionScript and MXML is converted thru LLVM for iOS, SWFs are no longer supported!

      Is there any chance at a work around?  In the case of my app, it is only importing static SWFs (not animations). Could something like the ByteArray and/or BitMapData classes be used to convert the SWFs to a static bitmap image?

      http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/utils/ByteArray.h tml

      http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/display/BitmapDat a.html

       

      If ByteArray is implemented to immediately convert imported SWFs within the source FlashBuilder project, then when the app is packaged into native iOS, will it retain that functionality to convert the SWF to bitmap data?