Now: Tutorial for Web and Software Design > Web Design > HTMLCSS > Web Design Content
> Flash Player Detection [Bookmark it]
Flash Player Detection

Note: This tutorial is done by Macromedia Dreamweaver MX.

1. Open a new page and save it as detection.html. Create one more page and save it as found.html. Create one more page and save it as notfound.html.

By now you should have 3 pages.

  •  detection.html - page to detect flash player
  •  found.html - if flash player found it will redirect to this page
  •  notfound.html - if not found it will redirect to this page

Close found.html and notfound.html we don't need them. We will work in your detection.html

While detection.html is open, go to Window and choose Behaviors

image 1

2. When Behaviors Window opens click on the + and choose Check Plugin

image 2

3. From the drop down menu Choose Flash, in the if found field enter found.html and for Otherwise field enter notfound.html as shown below.

image 3

Click OK.

4. Now Save your detection.html and hit F12 to preview. And you should see the result. If your PC has flash player it should go to found.html and if not found it will be redirected to notfound.html. You can enter some text for your found and notfound pages to distinguish them from each other. (Or just check the URL to see to which page it was redirected.)

image 4

That's it!

Note: Make sure that you have chosen onLoad action for the Events, so that once the page loads it will trigger the script.

image 5


[Bookmark][Print] [Close][To Top]
  • Prev Article-Web Design:

  • Next Article-Web Design:
  • Related Materias
    An Overview of the New Cac
    Storing Data from Dynamic 
    Multi-User Login With Data
    ASP 101s Year in Review - 
    ASP 101s Year in Review - 
    Server-Side Printing to a 
    ASP.NET 2.0 Compilation Mo
    Using Template Files to Si
    Building a Better Button H
    ASP.NET Webcast Series
    Topics
    Photoshop Tutorial
     

    Special Effect

      3D Effect
      Photoshop Articles
    Programming Tutorial
     

    C/C++ Tutorial

      Visual Basic
      C# Tutorial
    Database Tutorial
     

    MySQL Tutorial

      MS SQL Tutorial
      Oracle Tutorial
    Graphic Design Tutorial
     

    Coreldraw Tutorial

      Illustrator Tutorial
      3D Graphics Articles
    Webmaster Articles
     

    Domain Service

      Web Hosting
      Site Promotion
    Java Tutorial&Articles
     

    Java Servlets

      JavaEE Tutorial
     

    JavaBeans Tutorial

    XML Tutorial&Articles
     

    XML Style Tutorial

      AJAX Tutorial
      XML Mobile
    Flash Tutorial&Articles
     

    Flash Video

      Action Script
      Flash Articles
    OS Tutorial&Articles
     

    Linux Tutorial

      Symbian Tutorial
      MacOS Tutorial