Adobe Flex Compiler (mxmlc) Version 3.0 build development Copyright (c) 2004-2006 Adobe Systems, Inc. All rights reserved. -benchmark output performance benchmark -compiler.accessible alias -accessible generate an accessible SWF -compiler.actionscript-file-encoding alias -actionscript-file-encoding specifies actionscript file encoding. If there is no BOM in the AS3 source files, the compiler will use this file encoding. -compiler.allow-source-path-overlap alias -allow-source-path-overlap checks if a source-path entry is a subdirectory of another source-path entry. It helps make the package names of MXML components unambiguous. (advanced) -compiler.as3 alias -as3 use the ActionScript 3 class based object model for greater performance and better error reporting. In the class based object model most built-in functions are implemented as fixed methods of classes. (advanced) -compiler.context-root alias -context-root path to replace {context.root} tokens for service channel endpoints -compiler.debug alias -debug generates a movie that is suitable for debugging -compiler.defaults-css-url alias -defaults-css-url 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. (advanced) -compiler.define alias -define define a global AS3 conditional compilation definition, e.g. --define CONFIG::debugging true (advanced, repeatable) -compiler.es alias -es use the ECMAScript edition 3 prototype based object model to allow dynamic overriding of prototype properties. In the prototype based object model built-in functions are implemented as dynamic properties of prototype objects. (advanced) -compiler.external-library-path [path-element] [...] alias -el list of SWC files or directories to compile against but to omit from linking (repeatable) -compiler.fonts.advanced-anti-aliasing alias -advanced-anti-aliasing enables advanced anti-aliasing for embedded fonts, which provides greater clarity for small fonts. -compiler.fonts.flash-type alias -flash-type enables FlashType for embedded fonts, which provides greater clarity for small fonts. -compiler.fonts.languages.language-range alias -language-range a range to restrict the number of font glyphs embedded into the SWF (advanced, repeatable) -compiler.fonts.local-fonts-snapshot alias -local-fonts-snapshot File containing system font data produced by flex2.tools.FontSnapshot. (advanced) -compiler.fonts.managers [manager-class] [...] alias -managers Compiler font manager classes, in policy resolution order (advanced) -compiler.fonts.max-cached-fonts alias -max-cached-fonts sets the maximum number of fonts to keep in the server cache. The default value is 20. (advanced) -compiler.fonts.max-glyphs-per-face alias -max-glyphs-per-face sets the maximum number of character glyph-outlines to keep in the server cache for each font face. The default value is 1000. -compiler.headless-server alias -headless-server a flag to set when Flex is running on a server without a display (advanced) -compiler.include-libraries [library] [...] alias -include-libraries a list of libraries (SWCs) to completely include in the SWF (repeatable) -compiler.incremental alias -incremental enables incremental compilation -compiler.keep-all-type-selectors alias -keep-all-type-selectors disables the pruning of unused type selectors (advanced) -compiler.keep-as3-metadata [name] [...] alias -keep-as3-metadata keep the specified metadata in the SWF (advanced, repeatable) -compiler.keep-generated-actionscript alias -keep save temporary source files generated during MXML compilation (advanced) -compiler.library-path [path-element] [...] alias -library-path list of SWC files or directories that contain SWC files (repeatable) -compiler.locale [locale-element] [...] alias -locale specifies the locale for internationalization (repeatable) -compiler.mxml.compatibility-version alias -compatibility-version specifies a compatibility version. e.g. -compatibility-version=2.0.1 -compiler.namespaces.namespace alias -namespace Specify a URI to associate with a manifest of components for use as MXML elements (repeatable) -compiler.optimize alias -optimize Enable post-link SWF optimization -compiler.profile alias -profile generate a movie that is suitable for performance and memory profiling -compiler.services alias -services path to Flex Data Services configuration file -compiler.show-actionscript-warnings alias -show-actionscript-warnings runs the AS3 compiler in a mode that detects legal but potentially incorrect code -compiler.show-binding-warnings alias -show-binding-warnings toggle whether warnings generated from data binding code are displayed -compiler.show-deprecation-warnings alias -show-deprecation-warnings toggle whether the use of deprecated APIs generates a warning -compiler.show-unused-type-selector-warnings alias -show-unused-type-selector-warnings toggle whether warnings generated from unused type selectors are displayed -compiler.source-path [path-element] [...] alias -sp list of path elements that form the roots of ActionScript class hierarchies (repeatable) -compiler.strict alias -strict runs the AS3 compiler in strict error checking mode. -compiler.theme [filename] [...] alias -theme list of CSS or SWC files to apply as a theme (repeatable) -compiler.use-resource-bundle-metadata alias -use-resource-bundle-metadata determines whether resources bundles are included in the application. -compiler.verbose-stacktraces alias -verbose-stacktraces save callstack information to the SWF for debugging (advanced) -compiler.warn-array-tostring-changes alias -warn-array-tostring-changes Array.toString() format has changed. (advanced) -compiler.warn-assignment-within-conditional alias -warn-assignment-within-conditional Assignment within conditional. (advanced) -compiler.warn-bad-array-cast alias -warn-bad-array-cast Possibly invalid Array cast operation. (advanced) -compiler.warn-bad-bool-assignment alias -warn-bad-bool-assignment Non-Boolean value used where a Boolean value was expected. (advanced) -compiler.warn-bad-date-cast alias -warn-bad-date-cast Invalid Date cast operation. (advanced) -compiler.warn-bad-es3-type-method alias -warn-bad-es3-type-method Unknown method. (advanced) -compiler.warn-bad-es3-type-prop alias -warn-bad-es3-type-prop Unknown property. (advanced) -compiler.warn-bad-nan-comparison alias -warn-bad-nan-comparison Illogical comparison with NaN. Any comparison operation involving NaN will evaluate to false because NaN != NaN. (advanced) -compiler.warn-bad-null-assignment alias -warn-bad-null-assignment Impossible assignment to null. (advanced) -compiler.warn-bad-null-comparison alias -warn-bad-null-comparison Illogical comparison with null. (advanced) -compiler.warn-bad-undefined-comparison alias -warn-bad-undefined-comparison Illogical comparison with undefined. Only untyped variables (or variables of type *) can be undefined. (advanced) -compiler.warn-boolean-constructor-with-no-args alias -warn-boolean-constructor-with-no-args Boolean() with no arguments returns false in ActionScript 3.0. Boolean() returned undefined in ActionScript 2.0. (advanced) -compiler.warn-changes-in-resolve alias -warn-changes-in-resolve __resolve is no longer supported. (advanced) -compiler.warn-class-is-sealed alias -warn-class-is-sealed Class is sealed. It cannot have members added to it dynamically. (advanced) -compiler.warn-const-not-initialized alias -warn-const-not-initialized Constant not initialized. (advanced) -compiler.warn-constructor-returns-value alias -warn-constructor-returns-value Function used in new expression returns a value. Result will be what the function returns, rather than a new instance of that function. (advanced) -compiler.warn-deprecated-event-handler-error alias -warn-deprecated-event-handler-error EventHandler was not added as a listener. (advanced) -compiler.warn-deprecated-function-error alias -warn-deprecated-function-error Unsupported ActionScript 2.0 function. (advanced) -compiler.warn-deprecated-property-error alias -warn-deprecated-property-error Unsupported ActionScript 2.0 property. (advanced) -compiler.warn-duplicate-argument-names alias -warn-duplicate-argument-names More than one argument by the same name. (advanced) -compiler.warn-duplicate-variable-def alias -warn-duplicate-variable-def Duplicate variable definition (advanced) -compiler.warn-for-var-in-changes alias -warn-for-var-in-changes ActionScript 3.0 iterates over an object's properties within a "for x in target" statement in random order. (advanced) -compiler.warn-import-hides-class alias -warn-import-hides-class Importing a package by the same name as the current class will hide that class identifier in this scope. (advanced) -compiler.warn-instance-of-changes alias -warn-instance-of-changes Use of the instanceof operator. (advanced) -compiler.warn-internal-error alias -warn-internal-error Internal error in compiler. (advanced) -compiler.warn-level-not-supported alias -warn-level-not-supported _level is no longer supported. For more information, see the flash.display package. (advanced) -compiler.warn-missing-namespace-decl alias -warn-missing-namespace-decl Missing namespace declaration (e.g. variable is not defined to be public, private, etc.). (advanced) -compiler.warn-negative-uint-literal alias -warn-negative-uint-literal Negative value will become a large positive value when assigned to a uint data type. (advanced) -compiler.warn-no-constructor alias -warn-no-constructor Missing constructor. (advanced) -compiler.warn-no-explicit-super-call-in-constructor alias -warn-no-explicit-super-call-in-constructor The super() statement was not called within the constructor. (advanced) -compiler.warn-no-type-decl alias -warn-no-type-decl Missing type declaration. (advanced) -compiler.warn-number-from-string-changes alias -warn-number-from-string-changes In ActionScript 3.0, white space is ignored and '' returns 0. Number() returns NaN in ActionScript 2.0 when the parameter is '' or contains white space. (advanced) -compiler.warn-scoping-change-in-this alias -warn-scoping-change-in-this Change in scoping for the this keyword. Class methods extracted from an instance of a class will always resolve this back to that instance. In ActionScript 2.0 this is looked up dynamically based on where the method is invoked from. (advanced) -compiler.warn-slow-text-field-addition alias -warn-slow-text-field-addition Inefficient use of += on a TextField. (advanced) -compiler.warn-unlikely-function-value alias -warn-unlikely-function-value Possible missing parentheses. (advanced) -compiler.warn-xml-class-has-changed alias -warn-xml-class-has-changed Possible usage of the ActionScript 2.0 XML class. (advanced) -debug-password the password to include in debuggable SWFs (advanced) -default-background-color default background color (may be overridden by the application code) (advanced) -default-frame-rate default frame rate to be used in the SWF. (advanced) -default-script-limits default script execution limits (may be overridden by root attributes) (advanced) -default-size default application size (may be overridden by root attributes in the application) (advanced) -dump-config write a file containing all currently set configuration values in a format suitable for use as a flex config file (advanced) -externs [symbol] [...] a list of symbols to omit from linking when building a SWF (advanced, repeatable) -frames.frame [label] [classname] [...] alias -frame A SWF frame label with a sequence of classnames that will be linked onto the frame. (advanced, repeatable) -help [keyword] [...] keywords are 'syntax', 'list', 'advanced', 'aliases', 'details', or a search term -include-resource-bundles [bundle] [...] (repeatable) -includes [symbol] [...] a list of symbols to always link in when building a SWF (advanced, repeatable) -licenses.license alias -license specifies a product and a serial number. (repeatable) -link-report Output a XML-formatted report of all definitions linked into the application. (advanced) -load-config load a file containing configuration options (repeatable) -load-externs an XML file containing ,
, and  symbols to omit from
    linking when building a SWF (advanced, repeatable)
-metadata.contributor 
    alias -contributor
    A contributor's name to store in the SWF metadata (repeatable)
-metadata.creator 
    alias -creator
    A creator's name to store in the SWF metadata (repeatable)
-metadata.date 
    alias -date
    The creation date to store in the SWF metadata
-metadata.description 
    alias -description
    The default description to store in the SWF metadata
-metadata.language 
    alias -language
    The language to store in the SWF metadata (i.e. EN, FR) (repeatable)
-metadata.localized-description  
    alias -localized-description
    A localized RDF/XMP description to store in the SWF metadata
    (repeatable)
-metadata.localized-title  <lang>
    alias -localized-title
    A localized RDF/XMP title to store in the SWF metadata (repeatable)
-metadata.publisher <name>
    alias -publisher
    A publisher's name to store in the SWF metadata (repeatable)
-metadata.title <text>
    alias -title
    The default title to store in the SWF metadata
-output <filename>
    alias -o
    the filename of the SWF movie to create
-raw-metadata <text>
    XML text to store in the SWF metadata (overrides metadata.*
    configuration) (advanced)
-resource-bundle-list <filename>
    prints a list of resource bundles to a file for input to the compc
    compiler to create a resource bundle SWC file.  (advanced)
-runtime-shared-libraries [url] [...]
    alias -rsl
    a list of runtime shared library URLs to be loaded before the
    application starts (repeatable)
-runtime-shared-library-path [path-element] [rsl-url] [policy-file-url] [rsl-url] [policy-file-url]
    alias -rslp
     (repeatable)
-static-link-runtime-shared-libraries
    alias -static-rsls
    statically link the libraries specified by the
    -runtime-shared-libraries-path option.
-target-player <version>
    specifies the version of the player the application is targeting.
    Features requiring a later version will not be compiled into the
    application. The minimum value supported is "9.0.0".
-use-network
    toggle whether the SWF is flagged for access to network resources
-verify-digests
    verifies the libraries loaded at runtime are the correct ones.
    (advanced)
-version
    display the build version of the program
-warnings
    toggle the display of warnings