Skip to main content
May 18, 2012
Question

Placing movie clips programatically in AIR for iOS

  • May 18, 2012
  • 1 reply
  • 925 views

Hi,

I would like to use AS3 code to place (and manipulate) a MovieClip. I am developing in Flex under AIR, targeting Android and iOS.  According to this post (http://forums.adobe.com/thread/862212, I can use embedded swfs if they meet certain criteria:

"The swf files may not contain any actionscript code, library elements with linkage identifier or MovieClips on stage with instance names."

Is there a mechanism to get a MovieClip object, whcih I can then draw into a BitmapData or add to another sprite as a child, using an embedded SWF that complies with the iOS restrictions?  Is there a specific code pattern that is recommended?

Thank You!

This topic has been closed for replies.

1 reply

Kartik_Mehta
Inspiring
June 6, 2012

Hello,

You can try using swc file.

Regards