Flex Sdk For Mac


When trying to install a version of Flex Flex SDK Installer, the installer errors out trying to download swfobject and fails. Abbreviated log Version 3.1.0 (mac) Using Locale: enUS Fetched the SDK download mirror URL from the CGI. Adobe Flex Builder for Mac. While Flex applications can be built using only the free Flex SDK, developers can use Adobe Flex Builder 3 software to dramatically accelerate development.

You can compile the Adobe® ActionScript® 3.0 and MXML assets of your AIR application with the command-line MXML compiler (amxmlc). (You do not need to compile HTML-based applications. To compile a SWF in Flash Professional, simply publish the movie to a SWF file.)


The basic command-line pattern for using amxmlc is:

Flex Sdk

where [compiler options] specifies the command-line options used to compile your AIR application.

The amxmlc command invokes the standard Flex mxmlc compiler with an additional parameter, +configname=air. This parameter instructs the compiler to use the air-config.xml file instead of the flex-config.xml file. Using amxmlc is otherwise identical to using mxmlc. The mxmlc compiler and the configuration file format are described in Building and Deploying Flex 3 Applications in the Flex 3 documentation library.

The compiler loads the air-config.xml configuration file specifying the AIR and Flex libraries typically required to compile an AIR application. You can also use a local, project-level configuration file to override or add additional options to the global configuration. Typically, the easiest way to create a local configuration file is to edit a copy of the global version. You can load the local file with the -load-config option:

-load-config=project-config.xml Overrides global options.

-load-config+=project-config.xml Adds additional values to those global options that take more than value, such as the -library-path option. Global options that only take a single value are overridden.

If you use a special naming convention for the local configuration file, the amxmlc compiler loads the local file automatically. For example, if the main MXML file is RunningMan.mxml, then name the local configuration file: RunningMan-config.xml. Now, to compile the application, you only have to type:


RunningMan-config.xml is loaded automatically since its filename matches that of the compiled MXML file.

amxmlc examples

The following examples demonstrate use of the amxmlc compiler. (Only the ActionScript and MXML assets of your application must be compiled.)

Compile an AIR MXML file:

Compile and set the output name:

Compile an AIR ActionScript file:


Specify a compiler configuration file:

Add additional options from another configuration file: Mac os x lion for amd vmware.

Add libraries on the command line (in addition to the libraries already in the configuration file):

Flex Sdk For Mac Os

Compile an AIR MXML file without using a configuration file (Win):

Compile an AIR MXML file without using a configuration file (Mac OS X or Linux):

Compile an AIR MXML file to use a runtime-shared library:

Compiling from Java (with the class path set to include mxmlc.jar):

The flexlib option identifies the location of your Flex SDK frameworks directory, enabling the compiler to locate the flex_config.xml file.

Flex Sdk For Mac High Sierra

Compiling from Java (without the class path set):

Flex Sdk For Mac Catalina

To invoke the compiler using Apache Ant (the example uses a Java task to run mxmlc.jar):