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.
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.