This is the first short entry of what will become a series of helpful tips and tweaks concerning the Flex 2 command line compiler mxmlc. Version 2 of mxmlc comes with a lot more options and switches than mxmlc 1.5 and also offers some neat commands that make tedious workflows easier.
One very nice feature of mxmlc is that it now accepts local configuration files instead of pointing to a flex-config.xml file. This simply means that when compiling MyApplication.mxml, by default mxmlc will look for a file called MyApplication-config.xml that is located right next to the the main mxml file.
Ok, now if you're a lazy person you probably don't even want to create this config file by hand - no problem, mxmlc will do this for you:
mxmlc -dump-config MyApplication-config.xml
This creates a default config file which can be customized for your current project - and the best: it makes you commandline less verbose.
Dirk.