>  Term: Flash detection
Flash detection

Flash Player detection (also known as SWF detection) is available only for publish settings set to Adobe 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, 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 prompting the user to download the latest version of Flash Player.

To export Flash detection with your project, follow these steps:

  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 cheque box and the version number text fields.
  3. Select the Detect Flash Version cheque 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 expected in their browser.
  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 that is necessary to play your SWF file.
0 0

작성자

  • Harry8L
  • (London, United Kingdom)

  •  (V.I.P) 574128 포인트
  • 100% positive feedback
© 2024 CSOFT International, Ltd.