Accessibility
 
Home > Products > Dreamweaver > Support > Working with Fireworks
Dreamweaver Icon Macromedia Dreamweaver Support Center - Working with Fireworks
Using Dreamweaver behaviors to check for plug-ins

When you use Flash or Shockwave in your Web page, you need to be aware that not everyone will have the plug-in necessary to view the movies. It is also important to make sure the file size of the movie is small enough that it will download quickly.

Dreamweaver includes a Check plug-in behavior that makes it easy for you to re-direct users depending on whether they have the plug-in needed to view your page. It is considered good practice to have a second Web page that does not include Flash, so that users can access your Web page whether or not they have the plug-in. If you choose not to do that, you should at least make sure the user is able to download the plug-in quickly and easily.

The Check plug-in behavior adds this functionality to your Web page.

To add the Check plug-in behavior to your page:

1 Choose Window > HTML Source, then place the insertion point by the body tag in the HTML code.
Attaching this behavior to the body tag allows the behavior to run before the page loads.
2 Open the Behaviors window (choose Window > Behaviors), then click the plus (+) button and choose Check plug-in from the Actions pop-up menu.
3 In the Check plug-in dialog box, select a plug-in from the pop-up menu, or click Enter and type the exact name of the plug-in.
4 Leave If Found, Go To URL blank. Use this only if you want to send users who have the plug-in to another page.
5 In the Otherwise, Go To URL field, specify the URL for users who don't have the plug-in. This should either be a Web page that does not include the plug-in, or the Macromedia download page for the plug-in.
6 Click OK.
To Table of Contents Back to Previous document