Setup the FLEX/AIR command line environment on Windows
- Download the Free and Open Source FLEX SDK from Adobe.
- Unzip the SDK to a folder such as C:\Program Files\FLEX 3 SDK\
- Modify the Path environment variable to include the bin directory of SDK, i.e. C:\Program Files\FLEX 3 SDK\bin.
- The environment variable can be set by going to the System Properties (via Advanced SystemsvSettings on Vista) and selecting the Advanced tab. You can then press the Environment Variables button and modify the Path variable’s value in the System variables list. Easy to find, isn’t it?
- Start a command window by running cmd, and verify the value by executing set Path at the command line prompt to see the values.
- While that is downloading, review the FLEX developer’s guide and FAQ
- Download the sample code for Text Editor
- In a command window, change to the TextEditor directory and compile the AIR application by running amxmlc TextEditor.mxmlc which will produce TextEditor.swf.
- amxmlc TextEditor.mxmlc
Run adl TextEditor.xml in the window to launch the application.
- adl TextEditor.xml

