Specifications

CHAPTER 16
314
For more information about Express Install, see Adding Express Install to your wrapper on page 320. For more
information about deep linking, see Adding deep linking to your wrapper” on page 321.
About the AC_OETags.js file
The AC_OETags.js file provides the HTML templates with version-checking and embedding functionality. All of
the HTML templates included with Flex SDK embed the AC_OETags.js file using a line like the following:
<script src="AC_OETags.js" language="javascript"></script>
The logic in the AC_OETags.js file writes the <object> and <embed> tags out so that the browser embeds the
SWF file. To accomplish this, most of the HTML templates call the
AC_FL_RunContent() JavaScript method.
This method uses a subset of the properties of the
<object> and <embed> tags to embed the Flex application. The
properties of these tags are similar to the parameters of this method. For example, the
src parameter of the
AC_FL_RunContent() method is equivalent to the src attribute of the <embed> tag. For more information, see
About the object and embed tags” on page 321.
The AC_OETags.js file also defines methods, such as
GetSwfVer() and DetectFlashVer(), which are used by
the version detection functionality. For more information on these methods, see “Editing your wrapper for
Express Install” on page 334.
${version_major}
The required major version number of Flash Player. For example, 9.
This token only appears in the wrappers with Flash Player version detection code. For more informa-
tion, see Using Express Install” on page 333.
${version_minor}
The required minor version number of Flash Player. For example, 0.
This token only appears in the wrappers with Flash Player version detection code. For more informa-
tion, see Using Express Install” on page 333.
${version_revision}
The required revision version number of Flash Player. For example, 162.
This token only appears in the wrappers with Flash Player version detection code. For more informa-
tion, see Using Express Install” on page 333.
${width}
The width of the application, in pixels.
This token is the value of the
height property that is described in About the object and embed
tags” on page 321.
Token Descripti on