airnativeextensions
  •  Extensions
    • All Extensions
    • Packages
    • Frameworks
    • Adobe AIR
    • Unity
    • Categories
    • Device Hardware
    • Free
    • Media
    • Native Services
    • Native UI Components
    • Open Source
    • SDKs
  • News
  • Showcase
  • Support
    • Documentation
    • Developer docs
    • Tutorials
    • FAQs
    • Contact
    • Contact Us
  • Login

I need a SWC file, how do I get it?

Frequently Asked Question

I need a SWC file, how do I get it?

In most cases you shouldn't need to use a SWC file, the ANE should contain all the information for the platform packaging. However there are some cases in which you need to have a SWC as a placeholder, for example, when developing in Flash CS5.5.

We have started including a SWC in the github repository however if you have access to an ANE file you can extract the SWC using the following method.

The SWC you will use is actually contained in the ANE. In order to acquire the SWC you'll need to perform a few steps to the ANE. The ANE is just a zip package, so firstly unzip the file.

  • You may need to rename the ANE to have a zip extension

unzip com.distriqt.EXTENSION.ane

You should then have the following:

META-INF
catalog.xml
library.swf
mimetype

The SWC you'll need is in the default library:

META-INF/ANE/default/distriqt.extension.EXTENSION.default.swc

This SWC is the default implementation of the extension. It generally contains no functionality and just placeholder functions for the ANE.

airnativeextensions.com copyright © 2017

distriqt

terms & conditions privacy license