Specifications
CHAPTER 16
320
• Do not put the contents of the JavaScript file directly in the HTML page. This causes Internet Explorer to
prompt the user before enabling Flash Player. If the client has “Disable Script Debugging (Internet Explorer)”
unchecked in Internet Explorer’s advanced settings, the browser still prompts the user to load the ActiveX plug-
in before running it.
• If you use both the <object> and the <embed> tags in your custom wrapper, use identical values for each
attribute to ensure consistent playback across browsers. For more information about the
<object> and the
<embed> tags, see “About the object and embed tags” on page 321.
• To add basic player detection logic without deep linking or Express Install support, use the templates in the
/templates/client-side-detection directory. For more information, see
“Editing your wrapper for Express Install”
on page 334.
• To add support for deep linking, follow the instructions in “Deep Linking” on page 1065 in Adobe Flex 3
Developer Guide.
• To add support for Flash Player detection, follow the instructions in “About Express Install” on page 333.
• When using Flex Builder, the default wrapper includes deep linking and Express Install support. You can
disable one or both of these features by using the Compiler Properties dialog box. You can also use this dialog box
to set the minimum required version of the Flash Player.
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










