Hi, Just wanted to let you know I just checked in the initial support for JS code optimization using the 'Google Closure Compiler' for the FalconJx compiler.
Usage: call 'mxmlc(.bat)' of FalconJx on the command line using the following four arguments: -js-output-type=GOOG -vanilla-sdk-lib=[PathToVanillaSDK] -closure-lib=[PathToGoogleClosureLibrary] [PathToYourProjectMainASFile] If you use '-js-output-type=GOOG', all output will be redirected to two new directories in the AS project directory: 'js-intermediate' and 'js-release'. The former will contain a plain JS version, with all the needed libraries and support code. The latter will contain a unified, optimized and minified JS file (all used library code is integrated), a simple HTML file, a list of 'compiled' JS files (for reference) and a source map. This source map is not yet properly linked to the JS. More info on how to obtain the two required libraries can be found in the README of the ASJS Publisher. I've only been able to test on a Mac (10.8) and with the VanillaSDK prototype AS project, so your mileage may vary. I'll be out of office for the next week or so; if you need me, feel free to send someone to get me on the pistes of Alpe d'Huez ;-) Have fun! EdB -- Ix Multimedia Software Jan Luykenstraat 27 3521 VB Utrecht T. 06-51952295 I. www.ixsoftware.nl