Breadcrumb {international nav OR 10x10 spacer gif}
Insert Flash HTML

Next you'll insert The Wildlife Project Flash movie. To insert the movie into the index.cfm page, you need to insert the Macromedia Flash HTML you generated when you exported the tiger movie from Macromedia Flash.

If you are comfortable working with HTML code, you can copy the code from the tiger.html file and paste it into your Dreamweaver document. However, the easiest way to insert Macromedia Flash HTML into a Dreamweaver document is to use the Insert Flash HTML for Dreamweaver MX extension. This extension inserts the necessary HTML and JavaScript code for Flash plug-in detection into the correct places in the web page, and places all the necessary Macromedia Flash content in the right places in the site directory structure. The extension is free for download at the Macromedia Exchange for Dreamweaver. When you install the extension, the Insert Flash HTML button appears on the Media tab of the Insert bar.

Note: You will need to register with the Macromedia Exchange for Dreamweaver before you can download extensions. Registration is free.

Once you've downloaded and installed the Insert Flash HTML extension, you are ready to insert Macromedia Flash HTML into your Dreamweaver document.

1 With the index.cfm page open in the Document window, select the Macromedia Flash movie placeholder text and delete it.
2 On the Media tab of the Insert bar, click the Insert Flash HTML button.

The Insert Flash HTML dialog box appears.
3 Click the Browse button and browse to the tiger.html file in the flash folder of your Dreamweaver site.
4 Select the tiger.html file and click Open.

5 Click OK in the Insert Flash HTML dialog box.
Dreamweaver inserts the Macromedia Flash HTML into the layout table on your page.

You'll notice that a Macromedia Flash movie placeholder appears in the Document window, rather than a scene from the movie itself. This is because the HTML code is "pointing" to the SWF file tiger.swf. When a user loads the index.cfm page, the browser will play the SWF. Additionally, Dreamweaver places a copy of the tiger.swf file in the main directory of the website. This is the SWF file that the user's browser will access when the page loads.
To Table of Contents Back to Previous document Forward to next document