Command-line compilers
The mxmlc and compc compilers are changed for Flex 2. This section describes these changes.
mxmlc
The mxmlc utility compiles SWF files from your MXML and ActionScript files. The mxmlc
options that are no longer available include the following:
batch
■
■
contextroot
■
encoding
genlibdir
■
■
headless
■
loglevel
profile
■
■
file-specs
■
systemclasses
version
■
■
webroot
The names of many mxmlc command-line compiler options were changed to be more
consistent or descriptive. The changes include the following:
Flex 1.x Name
became
aspath
actionscript-classpath
configuration
debugpassword
global-css-url
g
libpath
156
Configuration and Command Line Tools
Flex 2 Name
source-path
config
debug-password
defaults-css-url
debug
library-path
Comment
No longer generates a SWD file. The
resulting SWF file contains the debug
code. Also, there is no longer a
framework_debug.swc file. All the debug
logic is built into the framework.swc file.
As a result, you no longer need to specify
a value for the
debug-library-path
This option was removed.
option.
Need help?
Do you have a question about the FLEX 2-MIGRATING APPLICATIONS TO FLEX 2 and is the answer not in the manual?
Questions and answers