August 25, 2008: Fixed URL
You can download the compiler module from the following location:
http://opensource.adobe.com/wiki/display/flexsdk/Downloads
The compiler module comes in the following versions:
The Windows and Macintosh installers include the Flex SDK and the required JRE. The Linux installer requires that you install the following separately:
All of these versions require one of the following web servers:
To install the compiler module, run the appropriate installer. The installer prompts you for the locations of various assets, including:
Linux users must use manual installation. The manual installation download does not include the SDK or JRE. For more information, see the readme file that is included in the download.
The compiler module installation sets the JAVA_HOME environment variable, if it is not already set. If it is set, then the compiler module verifies that the JRE version to which that variable points is supported by the module.
To verify that the web-tier compiler installation was successful, see Using the web-tier compiler.
The installer modifies your web server's configuration. On Apache, the installer adds the following to the end of your httpd.conf file:
LoadModule flex_module modules/mod_flex.dll AddHandler flex .mxml
Do not modify the Flex settings in this file. For more information about the httpd.conf file, see the Apache documentation.
You can use ISAPI Filters tab to disable the Flex filter without uninstalling it.
On IIS, the installer installs an ISAPI filter on the Default Web Site. You can add the filter to any web site running on IIS.
Install the ISAPI filter on web sites other than the Default Web Site
Uninstalling the web-tier compiler
Run the uninstall executable in the module_install_dir/uninstall directory.
On Apache, the uninstaller utility attempts to restore the httpd.conf file by using a backup. If any changes were made to the httpd.conf file between the time of the compiler module installation and the time of the uninstallation, answering Yes to the prompt erases those changes.
After installing the web-tier compiler and restarting your web server, you can request an MXML file from your web server and receive a compiled SWF file in return.
http://localhost/Main.mxml
The module returns a generated wrapper that embeds the SWF file.
Map the project's workspace to a virtual path in your web server
Alias /flex "C:/Documents and Settings/knizia/workspace/MyBasicProject"
Alternatively, you can define your Adobe® Flex® Builder™ project directly under the web root.
http://localhost/flex/MyBasicProject.mxml http://localhost/flex/MyBasicProject.mxml
Flex Builder appends ?debug=true to the URL when it launches the browser. This query string parameter triggers a compilation with the debug compiler options enabled.