25 July 2010
Adobe Flash Player detection (also known as SWF detection) is available only for publish settings set to Flash Player 4 or later, and for SWF files embedded in the Flash Only or Flash HTTPS templates.
To detect the presence of Flash Player before allowing a browser to view SWF files that use the following templates, create a separate HTML page with its own SWF file to detect Flash Player before redirecting browsers to the HTML page that contains the SWF content.
When you publish your SWF file, Adobe Flash Professional creates a single HTML page in which to embed the SWF file and the Flash Player detection code. If an end user does not have the version of Flash you've specified to view the SWF file, an HTML page appears with a link prompting the user to download the latest version of Flash Player.
To export Flash detection with your project, follow these steps:
To learn more about Flash detection, read the article, Detecting Flash Player versions and embedding SWF files with SWFObject 2. For related tutorials, visit the detection and installation section of the Flash Player Developer Center.