Specifications

139ADOBE FLEX 3
Building and Deploying Adobe Flex 3 Applications
Using mxmlc, the application compiler
You use the application compiler to compile SWF files from your ActionScript and MXML source files.
The application compiler’s options let you define settings such as the library path and whether to include debug
information in the resulting SWF file. Also, you can set application-specific settings such as the frame rate at
which the SWF file should play and its height and width.
To invoke the application compiler with Flex SDK, you use the mxmlc command-line utility. In Flex Builder, you
use the application compiler by building a new Flex Project. Some of the Flex SDK command-line options have
equivalents in the Flex Builder environment. For example, you can use the tabs in the Flex Build Path dialog box
to add classes and libraries to your project.
The following set of examples use the application compiler.
About the application compiler options
The following table describes the application compiler options. You invoke the application compiler with the
mxmlc command-line utility or when building a project in Flex Builder.
Option Description
accessible=true|false
Enables accessibility features when compiling the Flex application or SWC file.
The default value is
false.
For more information on using the Flex accessibility features, see “Creating
Accessible Applications” on page 1139 in Adobe Flex 3 Developer Guide.
actionscript-file-encoding string
Sets the file encoding for ActionScript files.
For more information, see “Setting the file encoding” on page 156.
advanced
Lists advanced help options when used with the help option, as the following
example shows:
mxmlc -help advanced
This is an advanced option.
allow-source-path-overlap=true|false
Checks if a source-path entry is a subdirectory of another source-path
entry. It helps make the package names of MXML components unambiguous.
This is an advanced option.