Please send mail to

How to use AIR GEAR

This product has not been maintained no longer. It will not be provided any update.

 Configuration your environment

Download Air SDK and FlexSDK

AIR GEAR requires Air SDK, FlexSDK and AIR runtime (AIR runtime is optional).

At first, download AIR SDK from Adobe-AIR:Adobe AIR SDK and Flex SDK from Adobe Flex3;Donwloads. Then unzip downloaded zip files.

To test packaged AIR applications, download AIR runtime from Adobe-AdobeAIR and install it.

SDK Setting of AIR GEAR

Install AIR GEAR into your Eclipse. AIR GEAR requires Eclipse 3.3 or higher, JDT and GEF.

  1. Choose Window > Preferences > AIR GEAR from the main menu
  2. Input AIR SDK and Flex SDK path at the preference page

 Create an AIR project

  1. Choose File > New > Other from the main menu
  2. Choose AIR GEAR > AIR project(Flex) or AIR project(HTML) in the wizard dialog

 Editing MXML

You can edit MXML using the graphical(WYSIWYG) editor. The graphical editor supports direct label editing by double clicking.

Choose the component to add to the graphical editor from the palette. Some components are grouped, so choose these component from the dropdown list.

You can edit component attributes in the Properties view. Open the Properties view by Window > Show View > Other > General > Properties.

Editted attributes are marked as green bullet(This means that attributes which has no mark are default value of the Flex component).

The structure of component tree is displayed in the Outline view. Open the Outline view by Window > Show View > Outline.

 Editing ActionScript

The ActionScript editor provides syntax highlighting and code completion. In the current version of AIR GEAR, code completion is very limited (reserved words and top level objects).


When you save MXML or ActionScript, AIR GEAR build the project automatically. Build results are shown in the Console view and a swf file is generated.

If MXML or ActionScript contain errors, AIR GEAR add error markers to these source codes. Error markers are listed to the Problem view.

Build path configuration

You can configure library(swc) settings in the project property page. Choose your project in the Package Explorer and Right Click > Properties > AIR GEAR > Build Path.

Customize build settings

Build settings can be customized in the project property page. Choose your project in the Package Explorer and Right Click > Properties > AIR GEAR > Build Property.

In the default, the project root is specified as the build target folder. Choose the directory and click Setting, the build settings dialog is shown.

You can choose a build method from below:

  • AIRFlex - Build Flex based AIR application using mxmlc. AIR GEAR generates a swf file.
  • ActionScript - Build ActionScript using compc. AIR GEAR generates a swc file.
  • Flex3 - Build Flex3 using mxmlc. AIR GEAR generates a swf file.The generated swf file can be displayed in attached SWFViewer.

Build Path settings are applied to -library-path+= automaticaly.

You can configure details by checking enable build extension. Following variables are available in these settings.

  • ${LIBRARY_PATH} - Libarary path which configured in Build Path settings.
  • ${AS_FILES} - All ActionScript files path in the directory

fcsh console

AIR GEAR uses fcsh to compile AIR application. So the first compilation is heavy, however it's very fast since the second times.

The fcsh process is alive since the first compilation. If you want to stop the fcsh process, click the stop button in the fcsh console.

You can also input any commands in the fcsh console manually

 Run the AIR application

It's possible to run the AIR application on Eclipse. Choose the AIR project in the Package Explorer and Right Click > Run As > AIR Application.

Application Descriptor settings

ApplicationDescriptor which is used to run the AIR application can be specified in the project property page. Choose the AIR project and Right Click > Properties > AIR GEAR. Also it can be specified in Eclipse launch configuration.

 Debug Run the AIR application (since ver1.0.2)

It's possible to debug run the AIR application on Eclipse. Choose the AIR project in the Package Explorer and Right Click > Debug As > AIR Application.

With execution of debugging, at setting of compilation debug option is necessary. When there is no setting of debug option, because the below-mentioned dialog is indicated, please click OK

When BreakPoint is not set, the following dialog is displayed.

BreakPoint is set as an ActionScript file in DebugPerspective, and a resume button is clicked.

When the resume button is not effective, please make TreeNode of AirThread into a selective state.When the resume button is clicked, until it becomes the position of BreakPoint, processing is reopened.

Expressions can be added while stopping in BreakPoint. After the item to be displayed is made a selective state, Expressions is added by Right-click > Watch.

Because the Expression does not reflect it immediately, it is displayed the suspend at the time of the addition. It is reflected at the time of operation on the next time by StepOver.

When I stop, please finish an AIR application screen.

 Export to an AIR package

Choose the AIR project and Right Click > Export... > AIR > AIR Package.

Choose export files and fill the export package name and signature settings.

Click Finish, AIR GEAR generates the AIR package.