Most people who visit your website will have the Flash Player 8 or Flash Player 9 plug-in installed. In rare circumstances, a visitor might not have the plug-in installed. You can do several different things when a visitor without Flash Player visits your site. When you have a site that uses Flash primarily for functionality, you might want to send that user to a custom page that links to the Adobe site where the user can download the player.
The Check Plugin behavior in Dreamweaver enables you to verify whether visitors to your website have the Flash Player plug-in installed. After the behavior checks for a plug-in, you can route the visitor to different URLs, depending on whether they have the minimum required plug-in. For example, if the visitor doesn't have Flash Player, you can open a page that links the visitor to the Macromedia website to download the latest version:
<body> tag (click in the space before the closing angle bracket) and open the Behaviors panel in Dreamweaver (Window > Behaviors).Note: I provided a noflash.html document for you with the source files, included in the sample files that accompany this tutorial; it's inside the website folder found in both the start and finish folders. Either save this document in the same folder as the gnome.html document you're working on or create your own file in this location. Ideally you would create a custom web page for users without Flash Player.

Figure 4: Make these selections to add Flash Player detection in Dreamweaver using a behavior.
<body id="container" onLoad="MM_checkPlugin('Shockwave Flash','','noflash.html',true);return document.MM_returnValue">
You can find the finished files in the source file directory, inside the finish folder.
You can also add Flash Player detection in Flash authoring if you aren't using Dreamweaver:
Now you have completed your first Flash site and inserted it into a Dreamweaver web page. You have learned how to create a new file, import content, create new assets in Flash, add simple animation and ActionScript, and publish your work for the web. You also learned how to use Dreamweaver to insert the SWF file into an existing web page, probably one that's similar to a simple page you've created in the past.
This introductory step of learning Flash and adding a SWF file to a web page is an important one when you're learning to use Flash. You now have the fundamentals under your belt and understand the essential nature and workflow of creating content with Flash. Hopefully you'll feel better equipped to learn how to create increasingly interactive, entertaining, functional, or instructional content using Flash.
In the final exercise, you added a Flash detection script. Dreamweaver's plug-in behavior works well but there are certain times when you may need to customize the actions a bit more. Also, you might want to test other scenarios, such as connection speed. The following resources might help you out: