Ross Sheppard High School
Web Page Design and Construction Student Learning Guide
Adding a Flash Movie to a Web Page
When you have finished this project, you will be able to:
add a Flash movie to a Web Page
Create a new folder called Flash Web on your personal drive space. Save
everything to do with this project in that folder.
Start a new project in Flash.
So far, you have learned how to create Flash movies and view them. You have even viewed them from a Web page,
although you may not have realized it at the time.
When you publish a Flash movie, it creates and HTML file, which is the format that Web browsers use. You should
recall that, when you saved Web pages in Visual Page, they were saved as HTML or HTM files.
In this project, you will learn how to add the code for a Flash movie to a Web page.
Note: you can create a new Web page and add a Flash movie to it, or you can use the HTML
file that Flash created and add Web page content. Either method will work. However, if you have a Web page with
a movie already coded, then you will have to copy the code into that Web page if you wish to use more than one
movie on a Web page.
Using Flash, create two simple movies.
Note: the Flash SWF files must be in the same directory as the Web
page that will use the movie. It is best if all related items are kept in the same directory.
Using Visual Page, create a Web page with some content of your choice on it.
Next, you must copy the code from the Flash pages to the Visual Page file.
Open your Web page in Visual Page.
Open your first movie in a browser.
On the movie page in the browser, right click the mouse anywhere outside of the
movie area, then select View Code:
The code for the page will appear in Notepad:
Highlight and copy everything from <OBJECT> to </OBJECT>.
Switch to Visual Page.
Click on View on the Menu Bar then select source. The HTML code for your page
will appear on the screen.
Place the cursor in the position that you want the movie to appear.
Click Edit on the Menu Bar then Paste. The code for the movie will be inserted.
To return to your page, click View on the Menu Bar then Page.
Save and view your movie in a browser.
Add the second movie to your Web page.
Ask your teacher to look at this Web page.
Create another Web page that demonstrates your skill and ability in Visual Page
and Flash.