Web Design

(Nancy Kaufman) #1

231


CHAPTER

9


1 In Dreamweaver, open an
existing page or create a
new one.
2 On the Insert panel, click
Media.
3 Click SWF.
The Select SWF dialog box
opens.
4 Select the SWF file you want
to insert.
5 Click OK.

● The movie is inserted into
the page.

● You can click the Play button
on the Properties panel to
preview your movie.

Add a Flash Movie to Your Page in Dreamweaver


O


nce you have published an SWF file, you can embed it into your HTML page. A popular means by
which Flash movies can be added to a page is via the JavaScript SWFObject library. SWFObject allows
you to embed your movie, but also provides Flash Player detection to ensure that users who do not have
the correct version of Player are prompted to download it. It further allows you to add alternate content
to display on your page in case your user does not or cannot install Flash Player. Dreamweaver’s Insert
panel includes an option to insert a Flash movie into your page that uses SWFObject.

Add a Flash Movie to Your Page in Dreamweaver ........


1


4


5


3


2

Free download pdf