Datasheet

FIGURE 1.11
A watermarked charting component
Using MXMLC, the command-line compiler
To compile a Flex application with mxmlc, the command-line compiler, it’s a good idea to add the
location of the Flex 3 SDK bin directory to your system’s path. This allows you to run the compiler
and other tools from any folder without having to include the entire path in each command. Figure
1.12 shows the command-line compiler.
When you install Flex Builder 3 on Microsoft Windows, the installer provides a menu
choice that opens a command window and adds all directories containing Flex 3 com-
ponents to the current path. To use this tool, select All Programs Adobe Adobe Flex 3 SDK
Command Prompt from the Windows Start menu.
To compile an application from the command line, switch to the folder that contains your main
application file. If you want to try this using the exercise files that are available for download with
this book, switch to the
chapter01 directory:
cd /flex3bible/chapter01
TIP
TIP
25
About Flex 3
1
06_287644-ch01.qxp 6/23/08 11:28 PM Page 25