TO INSERT A FLASH (SWF) MOVIE TO A WEB PAGE

If you haven’t already done so, you should make a “movies” folder -- written with lowercase letters -- in your “pub_html” directory. Please remember that the “parentheses” in this document are merely meant to highlight the names: do not use parentheses when naming files.

The “movies” folder is where you should store all movies for a web site: SWF (Shockwave Flash), QuickTime or AVI (audio-video interleave) formats.

In the “movies” folder, place the movie file that you would like to add to your web site. The file must have an appropriate extension placed at the end of the file name; in this case, “.swf” for a Flash movie. For example:

  • elephant_scene.swf

Once you have used Dreamweaver to set up a document for the SWF file (and saved it) and when you have located a place in the Document Window to insert the movie, refer to the main menu and go to Insert > Media > Flash.

A Select File dialogue box will then appear, where you should subsequently find the movie that you want to add to your page. To do this, you should look in:

  • Your network partition / pub_html / movies / elephant.swf

Then, press Choose. A grey placeholder image with a Flash icon should subsequently appear in the Dreamweaver document. By selecting the icon, the Properties Inspector should appear below the document window (if not, go to Window > Properties).

From the Properties Inspector, you can choose several options:

  • Movie dimensions: Enter the file's width beside "W" and height beside "H." You can use these values to change the size of the movie in the page (e.g., change from 640 x 480 to 320 x 240).
  • Loop: Leave this activated.
  • Autoplay: Leave this activated.
  • Quality: High.
  • Align: Left, Middle, Right, etc.

Once you have saved the document, you should open it with a browser to see if the movie plays correctly.