Specifications

CHAPTER 8
142
defaults-css-url string
Defines the location of the default style sheet. Setting this option overrides
the implicit use of the defaults.css style sheet in the framework.swc file.
For more information on the defaults.css file, see “Using Styles and Themes” on
page 589 in Adobe Flex 3 Developer Guide.
This is an advanced option.
define=NAMESPACE::variable,value
Defines a global constant. The value is evaluated at compile time and exists as
a constant within the application. A common use of inline constants is to set
values that are used to include or exclude blocks of code, such as debugging
or instrumentation code. This is known as conditional compilation.
The following example defines the constant debugging in the CONFIG
namespace:
-define=CONFIG::debugging,true
In ActionScript, you can use this value to conditionalize statements; for
example:
CONFIG::debugging {
// Execute debugging code here.
}
To set multiple conditionals on the command-line, use the define option
more than once.
For more information, see “Using conditional compilationon page 158.
description text
Sets metadata in the resulting SWF file. For more information, see “Adding
metadata to SWF files on page 155.
dump-config filename
Outputs the compiler options in the flex-config.xml file to the target path; for
example:
mxmlc -dump-config myapp-config.xml
This is an advanced option.
Option Description