1 person found this helpful
I don't know whether you can pass multiple mxml files as arguments to mxmlc or not, but you can refactor your build.xml file in ant to do just that.
Take a look here: http://bit.ly/1rzLIN
Hope this helps
Thanks for the link
While it's not what I am looking for, but it does seems to work, to certain extent
This helps parameterize the file argument, but does nothing to the output argument
Does mxmlc allow me to specify an output directory only, and then placed the generated .swf into this location, with the corresponding sub folders for each compiled mxml?
I read the doc, and tried, and argument for output is filename, and not directory...
I don't think flex ant tasks can compile a whole directory like you want. It is just a .jar file so you could write some other Java to run against a whole directory.
Flex SDK Developer
Adobe Systems Inc.