MACROMEDIA DREAMWEAVER 8-EXTENDING DREAMWEAVER Manual page 125

Extending dreamweaver
Table of Contents

Advertisement

In Dreamweaver, open a new basic HTML file (this will be your Command definition file).
Between the opening and closing
reads as follows:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>My Flash Movie</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
Now, save the file as My Flash Movie.htm in the application Configuration/Commands folder
(but do not close the file yet). You save the file at this point so you can embed your Flash
content with a relative path, otherwise Dreamweaver will try to use an absolute path.
Back in the HTML document, between the opening and closing
and closing
tag. Then, within the
form
to add your Flash content to the Command definition file. When prompted, select the SWF
file in the Commands folder, and click OK. Your Command definition file should now look
like the following example (of course, the
depending on your SWF file properties):
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>My Flash Movie</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
<body>
<form>
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/
swflash.cab#version=6,0,29,0" width="200" height="100">
<param name="movie" value="myFlash.swf">
<param name="quality" value="high">
<embed src="myFlash.swf" quality="high" pluginspage="http://
www.macromedia.com/go/getflashplayer" type="application/x-shockwave-
flash" width="200" height="100"></embed>
</object>
</form>
</body>
</html>
tags, enter
title
My Flash Movie
tags, use the Insert > Media > Flash menu option
form
and
width
height
Adding Flash content to Dreamweaver
so the head of your page
tags, add an opening
body
attributes might differ,
125

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the DREAMWEAVER 8-EXTENDING DREAMWEAVER and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Dreamweaver 8

Table of Contents