Answers Search Help
Boston University home page
 
    Basics
 
 
 
 
 
 
 
    Interface
 
 
 
 
 
    Concepts
 
 
 
    Animation
 
 
 
 
 
    Buttons
 
 
 
    Publishing
 
 
    Also See
   
   

Adding Your Movie To A Web Page

After publishing your movie as described in the Settings section, you're ready to add it to your Web site. You may want to simply use the HTML file that was generated in the publishing process. If that's the case, you can follow the steps for uploading a file to your web site to upload both the .swf (Flash) file and the HTML page.

However, if you want to incorporate the Flash movie onto an existing or alternate page of your site, you'll need to copy the the code that was generated by the Flash publisher and paste it wherever you want to movie to appear.

To do this, browse to the location on your hard drive where you saved the .html file output from the Flash publisher.

Select View | Source from the browser's menu.

In the Source page, select and copy all the code between the <object></object> tag.

Using an HTML or text editor, open the Web page you want to add the movie to and paste the code in place. It will look similar to this:

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase= "http://download.macromedia.com/pub/shockwave/
cabs/flash/swflash.cab#version=6,0,0,0"
width="444" height="588" id="flower2" align="">

<param name=movie value="../movies/flower2.swf">
<param name=loop value=false>
<param name=quality value=high>
<param name=bgcolor value=#FFFFFF>

<embed src="../movies/flower2.swf" loop=false
quality=high bgcolor=#ffffff width="444"
height="588" name="flower2" align=""
type="application/x-shockwave-flash"
pluginspage="http://www.macromedia.com/go/getflashplayer">
</embed>

</object>

Check the paths in the <param name=movie ... and <embed src= ... tags. These must match the actual location (which can be relative or absolute) of the Flash movie within your site.

Save the Web page, and follow the steps for uploading a file to your web site to upload both the .swf (Flash) file and the HTML page.

WebCentral Using Publishing Learning Training Consulting WebCentral
Answers Search Help
NIS  |  OIT  |  Boston University  |   October 24, 2002