





 
 
 
 
 
 
 
|
Serving Shockwave Flash Content
It is
easy to include Shockwave
Flash multimedia presentations on your web site. Using Flash content
can add high-impact graphics, animation, and interactivity to your web site.
Updating Your Web Server MIME Types
You may need to add the following MIME
types to your ~/www/conf/mime.types
file:
application/x-shockwave-flash swf cab
application/futuresplash spl
NOTE: After you
make changes to the mime.types file, you need to restart
your Apache web server so that the changes are recognized. You can
do this by connecting to your Virtual Server and executing the command
restart_apache.
% restart_apache
|
Embedding Flash Content in a Web Page
In order to embed your filename.swf
Flash content in a web page, include at least the following HTML code:
<OBJECT WIDTH="550" HEIGHT="400">
<PARAM NAME="MOVIE" VALUE="filename.swf">
<EMBED SRC="filename.swf">
</EMBED>
</OBJECT>
The OBJECT
tags are for Microsoft Internet Explorer and the EMBED
tags are for Netscape Navigator/Communicator. Substitute the filename
of your Flash content for filename.swf .
You can adjust and add other parameters as you like.
Documentation
A great Intro
to Flash tutorial is available at the Webmonkey:
A How-to Guide for Web Developers site. Also see the Macromedia
Flash site for examples and instructions. |
|