Letting the user decide (Web design careers) Some sites let the

Letting the user decide Some sites let the viewer simply choose between a Flash site and a non-Flash site. The problem with this method is that many users have no idea what Flash is, let alone whether they have the Flash Player. A better method to let users determine whether they have the Flash Player is to place a small Flash animation that is also a button on an initial HTML Web page. Instructions tell them to click the button if they can see the animation, which links them to the main portion of your Flash site. If they cannot see the animation, you can offer an image with a link (or linked text) to the Macromedia Flash Player download site and another link to an alternative HTML site. (See Chapter 8 for instructions on creating a Flash button.) At the very least, you should offer users the opportunity to download the Flash Player. Do this with a link that connects them to the following URL: www.macromedia.com/go/getflashplayer Detecting the Flash Player version A more sophisticated method is to automatically test for a particular version of the Flash Player. Then you might have one site for Flash Player 5 or later, for example, and a second HTML site for viewers that don t have Flash Player 5 or later. You may detect a particular Flash Player version simply by marking the Detect Flash Version check box in the HTML tab in Flash s Publish Settings before you publish your movie. (See Chapter 13 for the scoop on specifying Publish Settings.) This does a great job of detecting a particular Flash Player version but generates a lot of fairly fancy JavaScript code. This works really well if you don t need to customize the code, but the code isn t easy for beginners to customize. Suppose you do enable the Detect Flash Version check box (as we describe in Chapter 13). Then when you publish your Flash file, the resulting HTML code displays Alternate HTML content should be placed here on your Web page if the Flash Player of the specified version can t be found or if the Web browser doesn t have scripting enabled. You can edit the HTML to replace the sentence Alternate HTML content should be placed here with whatever alternative content you want to display to the viewer if the Flash Player version can t be found. 276 Part V: The Movie and the Web
Go visit our java server pages services for a reliable, lowcost webhost to satisfy all your needs.

Leave a Reply