Adobe Flex 3 Help

Adding Express Install to your wrapper

Express Install is included by default in the wrappers generated by Flex Builder.

Disable Express Install in Flex Builder

  1. Open your project in Flex Builder.
  2. Select Project > Properties.
  3. Select Flex Compiler from the tree at the left.
  4. Deselect the Use Express Install option.
  5. Click OK to save your changes.

If you write your own wrapper, however, you must add it manually or use the HTML templates in the /templates directory as a base.

Adding Express Install support involves adding JavaScript and VBScript to your main wrapper file, as well as deploying the AC_OETags.js file. In addition, you must deploy another SWF with your application.

The following files are required by a wrapper with Express Install support:

  • index.template.html (with additional version detection logic)
  • AC_OETags.js
  • playerProductInstall.swf
  • YourApp.swf

The AC_OETags.js file defines functions that the wrapper calls to embed the Flex application's SWF file. It also provides version checking methods. For more information about the AC_OETags.js file, see About the AC_OETags.js file.

In addition to using the AC_OETags.js file, you must also deploy the playerProductInstall.swf file in a location that is accessible by the main application SWF file.

The files required by Express Install are located in the /templates/express-installation and /templates/express-installation-with-history directories.

For more information about adding support for Express Install to your wrapper, see Using Express Install.