
CHAPTER 9
184
Working with compiler options
The compc and mxmlc compilers share a very similar set of options. As a result, the behavior of the mxmlc and
compc Ant tasks are similar as well. T
You can specify options for the
mxmlc and compc Flex tasks in a number of ways:
• Task att ributes
• Single argument options
• Multiple argument options
• Nested elements
• Implicit FileSets
Task attributes
The simplest method of specifying options for the Flex Ant tasks is to specify the name and value of command-
line options as a task attribute. In the following example, the
file and keep-generated-actionscript options
are specified as attributes of the ...