This is a quick tutorial on importing the example AIRControl projects into Flash Builder. The following screenshots were taken from Flash Builder 4.7 for Mac but the steps for Windows and Flash Builder 4.6 for both platforms are nearly identical (I will note the differences).
Download the latest copy of AIRControl from my GitHub repository. As of this writing, 1.1.0 is the latest, but always get the latest version. After downloaded, extract the archive. Note that it should be extracted to a local drive of a natively supported filesystem for your operating system, network attached drives and drive formats that require third-party drivers tend to cause problems when attempting to run the application.
Open Flash Builder and from either the File menu or right-clicking the Package Explorer, choose New > ActionScript Project.
Browse the folder of one of the examples, in this example, we will use “AIRControl_Example_ShowAllInput”. Under the project name, use the same name as the folder name, in this example, “AIRControl_Example_ShowAllInput”. Under Application type, choose Desktop, and click next.
Under the Native Extensions tab, click Add ANE.
Click Browse, and choose the AIRControl.ane file from “native_extension/AIRControl/ane”.
Make sure Update AIR application descriptor is checked and click OK then Finish.
Unless you are using AIR SDK 3.1 (the minimum requirement and default in Flash Builder 4.6), you will notice an error in the Problems panel.
If we read the message in the Problems panel, we will find that we need to update the XML namespace, in this case, to 3.4.
Open the application descriptor file, and correct the version number.
Right-click on the project in the Package Explorer and choose Properties.
Under ActionScript Build Packaging, under the Native Extensions tab, make sure that AIRControl is checked to Package.
Click Run in Flash Builder and the example should come up.
If you have any problems, feel free to leave a comment or contact me directly! Stay tuned for more tutorials for creating a new project using AIRControl from scratch, and developing with FlashDevelop (as soon as I finish learning how to do this with FlashDevelop).