- July 30, 2009
- |
- No Comments
Note to self (mxmlc compiler arguments).
Here they are. All the mxmlc compiler arguments.
| -benchmark | output performance benchmark |
| -compiler.accessible | alias -accessible
generate an accessible SWF |
| -compiler.actionscript-file-encoding <string> | alias -actionscript-file-encoding
specifies actionscript file encoding. If there is no BOM in the AS3 |
| -compiler.allow-source-path-overlap | alias -allow-source-path-overlap
(advanced) |
| -compiler.as3 | alias -as3
uses the AS3 compatibility mode. default is true. Either -as3 or -es3 |
| -compiler.context-root <context-path> | alias -context-root
path to replace {context.root} tokens for service channel endpoints |
| -compiler.debug | alias -debug |
| -compiler.defaults-css-url <string> | alias -defaults-css-url
(advanced) |
| -compiler.doc | alias -doc
(advanced) |
| -compiler.es3 | alias -es3
uses the ES3 compatibility mode. default is false. |
| -compiler.external-library-path [path-element] [...] | alias -el
list of SWC files or directories to compile against but to omit from |
| -compiler.fonts.languages.language-range <lang> <range> | alias -language-range
a range to restrict the number of font glyphs embedded into the SWF |
| -compiler.fonts.managers [manager-class] [...] | alias -managers
Compiler font manager classes, in policy resolution order (advanced) |
| -compiler.fonts.max-cached-fonts <string> | alias -max-cached-fonts
(advanced) |
| -compiler.fonts.max-glyphs-per-face <string> | alias -max-glyphs-per-face
(advanced) |
| -compiler.fonts.system-search-path [path-element] [...] | alias -system-search-path
(advanced, repeatable) |
| -compiler.headless-server | alias -headless-server
a flag to set when Flex is running on a server without a display |
| -compiler.include-libraries [library] [...] | alias -include-libraries
a list of libraries (SWCs) to completely include in the SWF |
| -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-generated-actionscript | alias -keep
save temporary source files generated during MXML compilation |
| -compiler.library-path [path-element] [...] | alias -l
list of SWC files or directories that contain SWC files (repeatable) |
| -compiler.locale <string> | alias -locale
specifies the locale for internationalization |
| -compiler.namespaces.namespace <uri> <manifest> | alias -namespace
Specify a URI to associate with a manifest of components for use as |
| -compiler.optimize | alias -optimize
Enable post-link SWF optimization |
| -compiler.profile | alias -profile
generate a movie that is suitable for performance profiling |
| -compiler.services <filename> | alias -services
path to Flex Data Services configuration file |
| -compiler.show-binding-warnings | alias -show-binding-warnings
toggle whether warnings generated from data binding code are displayed |
| -compiler.show-coach-warnings | alias -show-coach-warnings
runs the AS3 compiler in a mode that detects legal but potentially incorrect code |
| -compiler.show-dependency-warnings | alias -show-dependency-warnings
show warnings when dependencies cannot be determined at compile time (advanced) |
| -compiler.show-deprecation-warnings | alias -show-deprecation-warnings
toggle whether the use of deprecated APIs generates a warning |
| -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. strict must be ‘false’ when es3 is ‘true’. |
| -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 |
| -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
(advanced) |
| -compiler.warn-assigning-undefined-to-non-object-type | alias -warn-assigning-undefined-to-non-object-type
(advanced) |
| -compiler.warn-bad-type-cast | alias -warn-bad-type-cast
(advanced) |
| -compiler.warn-bad-undefined-comparision | alias -warn-bad-undefined-comparision
(advanced) |
| -compiler.warn-boolean-constructor-with-no-args | alias -warn-boolean-constructor-with-no-args
(advanced) |
| -compiler.warn-class-is-sealed | alias -warn-class-is-sealed
(advanced) |
| -compiler.warn-constructor-returns-value | alias -warn-constructor-returns-value
(advanced) |
| -compiler.warn-deprecated-event-handler-error | alias -warn-deprecated-event-handler-error
(advanced) |
| -compiler.warn-deprecated-function-error | alias -warn-deprecated-function-error
(advanced) |
| -compiler.warn-deprecated-property-error | alias -warn-deprecated-property-error
(advanced) |
| -compiler.warn-duplicate-func-def | alias -warn-duplicate-func-def
(advanced) |
| -compiler.warn-for-var-in-changes | alias -warn-for-var-in-changes
(advanced) |
| -compiler.warn-function-parameter-declared-as-void | alias -warn-function-parameter-declared-as-void
(advanced) |
| -compiler.warn-math-expressions-treat-null-like-zero | alias -warn-math-expressions-treat-null-like-zero
(advanced) |
| -compiler.warn-missing-namespace-decl | alias -warn-missing-namespace-decl
(advanced) |
| -compiler.warn-no-constructor | alias -warn-no-constructor
(advanced) |
| -compiler.warn-no-explicit-super-call-in-constructor | alias -warn-no-explicit-super-call-in-constructor
(advanced) |
| -compiler.warn-no-type-decl | alias -warn-no-type-decl
(advanced) |
| -compiler.warn-scoping-change-in-this | alias -warn-scoping-change-in-this
(advanced) |
| -compiler.warn-super-only-works-for-class-objects | alias -warn-super-only-works-for-class-objects
(advanced) |
| -compiler.warn-undefined-function | alias -warn-undefined-function
(advanced) |
| -compiler.warn-undefined-reference | alias -warn-undefined-reference
(advanced) |
| -compiler.warn-var-hidden-by-function | alias -warn-var-hidden-by-function
(advanced) |
| -compiler.warn-wrong-arg-type | alias -warn-wrong-arg-type
(advanced) |
| -compiler.warn-wrong-number-of-args | alias -warn-wrong-number-of-args
(advanced) |
| -compiler.warn-xml-class-has-changed | alias -warn-xml-class-has-changed
(advanced) |
| -debug-password <string> | the password to include in debuggable SWFs (advanced) |
| -default-background-color <int> | default background color (may be overridden by the application code)
(advanced) |
| -default-frame-rate <int> | default frame rate to be used in the SWF. (advanced) |
| -default-script-limits <max-recursion-depth> <max-execution-time> | default script execution limits (may be overridden by root
attributes) (advanced) |
| -default-size <width> <height> | default application size (may be overridden by root attributes in the
application) (advanced) |
| -dump-config <filename> | 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) |
| -file-specs [path-element] [...] | a list of source files to compile, the last file specified will be
used as the target application (repeatable, default variable) |
| -frames.frame [label] [classname] [...] | alias -frame
A SWF frame label with a sequence of classnames that will be linked |
| -help [keyword] [...] | keywords are ‘syntax’, ‘list’, ‘advanced’, ‘aliases’, ‘details’, or a search term |
| -includes [symbol] [...] | a list of symbols to always link in when building a SWF (advanced, repeatable) |
| -lazy-init | Enable/Disable ABC bytecode lazy initialization (advanced) |
| -licenses.license <product> <serial-number> | alias -license
(repeatable) |
| -link-report <filename> | Output a XML-formatted report of all definitions linked into the
application. (advanced) |
| -load-config <filename> | load a file containing configuration options (repeatable) |
| -load-externs <filename> | an XML file containing <def>, <pre>, and <ext> symbols to omit from linking when building a SWF (advanced, repeatable) |
| -metadata.contributor <name> | alias -contributor
A contributor’s name to store in the SWF metadata (repeatable) |
| -metadata.creator <name> | alias -creator
A creator’s name to store in the SWF metadata (repeatable) |
| -metadata.date <text> | alias -date
The creation date to store in the SWF metadata |
| -metadata.description <text> | alias -description
The default description to store in the SWF metadata |
| -metadata.language <code> | alias -language
The language to store in the SWF metadata (i.e. EN, FR) (repeatable) |
| -metadata.localized-description <text> <lang> | alias -localized-description
A localized RDF/XMP description to store in the SWF metadata (repeatable) |
| -metadata.localized-title <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> | (advanced) |
| -runtime-shared-libraries [url] [...] | alias -rsl
a list of runtime shared library URLs to be loaded before the |
| -use-network | toggle whether the SWF is flagged for access to network resources |
| -version | display the build version of the program |
| -warnings | toggle the display of warnings |

Comments