Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

Share this Page URL
Help

Getting started > Using the web-tier compiler - Pg. 334

344 CHAPTER 18 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. View the filter on IIS 1 2 3 From the Administrative Tools section of the control panel, open the Internet Information Services manager. Right-click the Default Web Site and select Properties. The Default Web Site Properties dialog box appears. Select the ISAPI Filters tab. The tab should list the Flex module. 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 1 2 3 4 5 6 7 From the Administrative Tools section of the control panel, open the Internet Information Services manager. Right-click the web site and select Properties. The Web Site Properties dialog box appears. Select the ISAPI Filters tab. Click the Add button. The Filter Properties dialog box appears. In the Filter Name text box, enter a name for the filter. In the Executable text box, browse to the location of the DLL that was installed on the Default Web Site. Click OK and then click OK again to add the new filter to your 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 uninstal- lation, answering Yes to the prompt erases those changes. Using the web-tier compiler 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.