Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

By default, js/bin/mxmlc not only cross-compiles your MXML and ActionScript source files, it also sends the resulting JavaScript to the Google Closure Compiler (GCC) which builds a minified/optimized version in the bin/js-release folder.  By using setting the -debug flag to true, js/bin/mxmlc will skip sending the results to the GCC which can save significant time during development.  Some IDEs set the -debug flag to true by default.  You can tell from the console output whether GCC is running as GCC will add output to the console that looks like:

...

The Google Closure Compiler will not complete the output of a minified/optimized version if it finds circular dependencies in the output files.   The quickest way to get past this is to add the -remove-circulars compiler option.  See this related page for more information about circular dependencies.

...