Specifications
149ADOBE FLEX 3
Building and Deploying Adobe Flex 3 Applications
optimize=true|false
Enables the ActionScript optimizer. This optimizer reduces file size and
increases performance by optimizing the SWF file’s bytecode.
The default value is true.
output filename
Specifies the output path and filename for the resulting file. If you omit this
option, the compiler saves the SWF file to the directory where the target file is
located.
The default SWF filename matches the target filename, but with a SWF file
extension.
If you use a relative path to define the filename, it is always relative to the
current working directory, not the target MXML application root.
The compiler creates extra directories based on the specified filename if those
directories are not present.
When using this option with the component compiler, the output is a SWC file
rather than a SWF file, unless you set the
directory option to true. In that
case, the output is a directory with the contents of the SWC file. The name of
the directory is that value of the
ouput option.
publisher name
Sets metadata in the resulting SWF file. For more information, see “Adding
metadata to SWF files” on page 155.
raw-metadata XML_string
Defines the metadata for the resulting SWF file. The value of this option over-
rides any metadata.* compiler options (such as contributor, creator,
date, and description).
This is an advanced option.
resource-bundle-list filename
Prints a list of resource bundles that are used by the current application to a
file named with the
filename argument. You then use this list as input that
you specify with the
include-resource-bundles option to create a
resource module.
For more information, see “Localizing Flex Applications” on page 1101 in
Adobe Flex 3 Developer Guide.
runtime-shared-libraries rsl-url [...]
Specifies a list of runtime shared libraries (RSLs) to use for this application. RSLs
are dynamically-linked at run time. The compiler externalizes the contents of
the application that you are compiling that overlap with the RSL.
You specify the location of the SWF file relative to the deployment location of
the application. For example, if you store a file named library.swf file in the
web_root/libraries directory on the web server, and the application in the web
root, you specify libraries/library.swf.
For more information about RSLs, see “Using Runtime Shared Libraries” on
page 195.
Option Description










