-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating

Flex 3 with Java

Going forward, we will be using many small examples to explain Flex concepts, so it is important that you understand how to compile and execute Flex applications in Flex Builder. The compiling process generates common .swf
file or binary file from your source files including MXML, ActionScript, SWC files (Flex component library files), and assets and resources. The Flash Player uses the binary (.swf
) file to execute the application. This process is similar to the way Java files are compiled into .class
files known as bytecode.
To understand how the .swf
files are executed, let's look at the following diagram:
The two Flex compilers—mxmlc and compc—can be configured and launched from either Flex Builder or the command line. By default, Flex Builder will compile your application whenever you change and save any Flex source code files. To disable this default behavior, you can click on the Project menu and deselect the Build Automatically menu item.
If...
Change the font size
Change margin width
Change background colour