Specifications

CHAPTER 8
140
as3=true|false
Use the ActionScript 3.0 class-based object model for greater performance
and better error reporting. In the class-based object model, most built-in func
-
tions are implemented as fixed methods of classes.
The default value is true. If you set this value to false, you must set the es
option to
true.
This is an advanced option.
benchmark=true|false
Prints detailed compile times to the standard output. The default value is
true.
context-root context-path
Sets the value of the {context.root} token, which is often used in channel
definitions in the flex-services.xml file and other settings in the flex-config.xml
file. The default value is null.
contributor name
Sets metadata in the resulting SWF file. For more information, see “Adding
metadata to SWF files on page 155.
creator name
Sets metadata in the resulting SWF file. For more information, see “Adding
metadata to SWF files on page 155.
date text
Sets metadata in the resulting SWF file. For more information, see “Adding
metadata to SWF files on page 155.
debug=true|false
Generates a debug SWF file. This file includes line numbers and filenames of
all the source files. When a run-time error occurs, the stacktrace shows these
line numbers and filenames. This information is used by the command-line
debugger and the Flex Builder debugger. Enabling the
debug option gener-
ates larger SWF files.
For the mxmlc compiler, the default value is false. For the compc compiler,
the default value is
true.
For Flex Builder, the default value is true. If you export an application by using
the Export Release Build feature, the Flex Builder compiler excludes the
debugging information, which is the equivalent of setting the value of this
option to
false.
When generating SWC files, if debug is set to true, then the library.swf file
inside the SWC file contains debug information. If you are generating a SWC
file for distribution, set this value to
false.
For information about the command-line debugger, see “Using the
Command-Line Debugger” on page 245.
If you set this option to true, Flex also sets the verbose-stacktraces
option to
true
debug-password string
Lets you engage in remote debugging sessions with the Flash IDE.
This is an advanced option.
Option Description