Accessibility

TechNote (Archived)

Using the command line compiler on Mac OS 10

This TechNote describes the steps required to use the Flex command line compiler on Mac OS 10.

Flex ships with the command line compilation tool mxmlc. The command line compiler is used to compile MXML files into SWF files without having to request them from a browser or Macromedia Flash Player.

To use mxmlc, you must have a Java runtime in your system path. The syntax of the mxmlc tool is as follows:

mxmlc [options] filename.mxml

For more detail on using mxmlc see the "Administering Flex" chapter of the Developing Flex Applications documentation.

To use the mxmlc tool with Mac OS 10, edit the mxmlc shell script in the {flex root}/bin directory.

First, change permissions on the mxmlc file as follows:

chmod 777 mxmlc

Next, edit the file starting at line 8 ("Darwin") as follows:

case `uname` in
CYGWIN*)
OS="Windows"
;;
*)
OS=Unix
;;
Darwin)
OS=Unix
esac

After editing the file, change permissions to 755 as follows:

chmod 755 mxmlc


AlertThis content requires Flash

To view this content, JavaScript must be enabled, and you need the latest version of the Adobe Flash Player.

Download the free Flash Player now!

Get Adobe Flash Player

Creative Commons License

Search Support


Document Details

ID:tn_19244
OS:Mac OS (All)
Browser:Chrome
Internet Explorer
Netscape
Opera
Safari
Firefox
Database:DB2
Informix
MySQL
Oracle
SQL Server
Sybase
MS Access

Products Affected:

flex