Specifications

161ADOBE FLEX 3
Building and Deploying Adobe Flex 3 Applications
Passing Strings
When passing Strings, you must add extra quotes to ensure that the compiler parses them correctly.
To define Strings on the command-line, you must surround them with double-quotes, and either escape-quote
them (
"\"Adobe Systems\"" or "\’Adobe Systems\’") or single-quote them ("'Adobe Systems'").
The following example shows both methods of including Strings on the command line:
-define+=NAMES::Company,"’Adobe Systems’" -define+=NAMES::Ticker,"\"ADBE\""
To define Strings in configuration files, you must surround them with single or double quotes; for example:
<define>
<name>NAMES::Company</name>
<value>'Adobe Systems'</value>
</define>
<define>
<name>NAMES::Ticker</name>
<value>"ADBE"</value>
</define>
To pass empty Strings on the command line, use single quotes surrounded by double quotes, as the following
example shows:
-define+=CONFIG::debugging,"’’"
To pass empty Strings in configuration files, use double quotes ("") or single quotes (’’).
Using compc, the component compiler
You use the component compiler to generate a SWC file from component source files and other asset files such as
images and style sheets.
To use the component compiler with Flex SDK, you use the compc command-line utility. In Flex Builder, you use
the compc component compiler by building a new Flex Library Project. Some of the Flex SDK command-line
options have equivalents in the Flex Builder environment. You use the tabs in the Flex Library Build Path dialog
box to add classes, libraries, and other resources to the SWC file.
The following examples show component compiler usage.
About the component compiler options
The component compiler options let you define settings such as the classes, resources, and namespaces to include
in the resulting SWC file.