Flash CS3  |  Go to CS4 Help

Configure publish settings for Flash Player detection

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

Note: Flash Player 5 and later are installed on 98% of Internet-connected computers, making Flash Player detection a reasonable method to ensure that end users have the correct version of Flash installed to view your content.

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

The following HTML templates do not support Flash Player detection because the JavaScript in these templates conflicts with the JavaScript used to detect the Flash Player:

  • Flash for PocketPC 2003

  • Flash with AICC Tracking

  • Flash with FSCommand

  • Flash with Named Anchors

  • Flash with SCORM Tracking

Note: Image Map and Quicktime HTML Templates do not support Player detection because they do not embed the Flash Player.
  1. Select File > Publish Settings, and click HTML.
  2. Select either the Flash Only or Flash HTTPS template from the Template pop‑up menu. These templates support the single-page HTML detection kit. Either of these templates enables the Detect Flash Version check box and the version number text fields.
  3. Select the Detect Flash Version check box. Your SWF file is embedded in a web page that includes Flash Player detection code. If the detection code finds an acceptable version of Flash Player installed on the end user’s computer, the SWF file plays as designed.
  4. (Optional) To specify precise revisions of Flash Player, use the Major Revision and Minor Revision text fields. For example, specify Flash Player version 7.0.2 if it provides a feature specific to displaying your SWF file.

    When you publish your SWF file, Flash 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 to download the latest version of Flash Player.

Comments

Comments are no longer accepted for Flash CS3. Flash CS4 is the current version. To discuss Flash CS3, please use the Adobe forum.

 

Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/flash/9.0/UsingFlash/WSd60f23110762d6b883b18f10cb1fe1af6-7bc9.html