Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Adobe AIR Development

Posts: 154
Registered: ‎02-01-2009
My Device: Torch, PlayBook and Dev Alpha
My Carrier: SFR

AirSDK & Native Extension with Flash Develop



I try to do the sample :


but with Flash Develop instead of Flash Builder.


I have built with NDK a library with its wrapper for AirSDK integration.

This part is OK.


Now I want to build the ActionScript library using this "C/C++" library with Flash Develop.


But I don't know how to do it Smiley Sad


From Flash Develop, I have built the swf file ; but not the swc file !


The next step is to get the file library.swf that is inside the NativeAS3.swc file, which is in the bin folder of your project. The SWC file is actually a zip file, but with different extension. You can use any Zip utility to uncompress its contents. You might have to rename the file, but it depends on the utility you’re using.


After un-compressing the file, you should see the files library.swf and catalog.xml.   Copy and paste them into the package folder in your Flash Builder NativeAS3 project.


So how can I do this step ?






Posts: 1,269
Registered: ‎12-29-2010
My Device: PlayBook, Z10 LE, Dev Alpha C

Re: AirSDK & Native Extension with Flash Develop

[ Edited ]

I haven't done this in FlashDevelop, nor have I used the plugin described in the below post, but it's

something I'll want to do at some point.  I found and bookmarked these links for later reference.

If you have any luck with this open source FD plugin mentioned, please make a note of it here in this thread.







note that you can always use commandline tools to export a swc - see the compc command in the

bin dir of your AIR SDK and check out the help output from e.g. 


compc -help -list


and here is some compc documentation from Adobe: