You use the mxmlc and compc command-line compilers to compile your MXML and AS files into SWF and SWC files. You can use the utilities to precompile Flex applications that you want to deploy on another server or to automate compilation in a testing environment.
To use the command-line compilers, you must have a Java run-time environment in your system path.
For Flex SDK, the command-line compilers are located in the flex_install_dir/bin directory. For Flex Builder, the compilers are located in the flex_builder_install_dir/sdks/sdk_version/bin directory.
When using mxmlc and compc on the command line, you can also use a configuration file to store your options rather than list them on the command line. You can store command-line options as XML blocks in a configuration file. For more information, see About configuration files.