Specifications

337ADOBE FLEX 3
Building and Deploying Adobe Flex 3 Applications
Understanding the Express Install script
The scripts that implement Express Install in your wrapper are contained in the AC_OETags.js and
index.template.html files from the /templates/express-installation directory.
The following steps show the order of execution within the Express Install scripts.
For browsers with scripting
1 Sets global variables that define the required minimum version of the player.
2 Detects browser type (set the values of the isIE, isWin, and isOpera Boolean properties).
3 Sets the value of the hasProductInstall property by calling the DetectFlashVer() method.
4 This method returns true if the current player supports Flash Product Install. This method returns false if
the current player does not support Flash Product Install. Flash Players later than version 6.0.65 meet this
requirement.
5 Sets the value of the hasRequestedVersion property by calling the DetectFlashVer() method.
6 This method returns true if the current player is new enough to display the Flex application. This method
returns
false if the current player must be upgraded to display the Flex application.
7 Sets the value of the MMredirectURL property to specify the location where the browser is redirected after
running Express Install.
8 Sets the value of the document.title and MMdoctitle properties so the unused browser windows can be
closed after running Express Install.
9 Examines the values of the hasProductInstall and hasRequestedVersion properties:
If the current player is version 6.0.65 or later (hasProductInstall=true) but it cannot play the current
Flex application (
hasRequestedVersion=false), run the playerProductInstall.swf file. This upgrades the
player with Express Install.
If the current version of the player meets the requirements for playback (hasRequestedVersion=true),
run the Flex application.
If the current player is earlier than version 6.0.65 (hasProductInstall=false) and the version is not
new enough (
hasRequestedVersion=false), show alternate content or upgrade without Express Install.
For browsers without scripting
1 Shows the link to the Flash Player download page.
2 Shows alternate content or prompts the user to upgrade without using Express Install.