Have a look at an example shockwave-flash movie ashwarp.swf
This link will open up the shockwave-flash player application in a new browser window.
Many Web users can now use Macromedia Flash Player to seamlessly view content created with Macromedia Flash.
Macromedia Flash is used to design and deliver low-bandwidth animations, presentations, and Web sites. It offers scripting capabilities and server-side connectivity for creating engaging applications, Web interfaces, and training courses. Once you've created your content, 96% of the online audience will be able to view it with the Macromedia Flash Player.
Alternatively the Flash file (well actually the player) can be embeded into your web page like so...
Macromedia Shockwave is a plug-in that plays embedded Director and Flash movies. Shockwave has been downloaded by more than 300 million people. With Shockwave you can choose to auto-update, which means that while you are browsing the plug-in will periodically check the Macromedia server to see if there are any new versions of itself. If so, it will upgrade itself in the background.
The HTML code
<!-- START HTML FOR shockwave-flash PLAYER IN IE -->
<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="
http://active.macromedia.com/flash2/cabs/swflash.cab#version=4,0,0,0"
ID=ashwarp WIDTH=300 HEIGHT=300>
<PARAM NAME=movie VALUE="ashwarp.swf">
<PARAM NAME=quality VALUE=high>
<PARAM NAME=bgcolor VALUE=#FFFFFF>
</OBJECT>
<!-- END HTML FOR shockwave-flash PLAYER IN IE -->
The HTML tag ( ELEMENT ) used to acheive this is the OBJECT tag.
The OBJECT tag is only recognised in Browsers based on Internet Explorer.
If you wanted to ensure the the player was embeded in pages viewed by Netscape, you would need the following code.
<!-- START HTML FOR shockwave-flash PLAYER IN NETSCAPE -->
<EMBED src="ashwarp.swf" quality=high bgcolor=#FFFFFF WIDTH=300
HEIGHT=300 TYPE="application/x-shockwave-flash"
PLUGINSPAGE="
http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash
">
</EMBED>
<!-- END HTML FOR shockwave-flash PLAYER IN NETSCAPE -->
The EMBED tag is the equivalent of IE's OBJECT tag for use in Netscape
type browsers.
Finally, if you wanted to ensure that the player would be embedded into most popular browsers, you would use the following HTML code...
<!-- START GENERIC ALL BROWSER FRIENDLY HTML FOR shockwave-flash
PLAYER -->
<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="
http://active.macromedia.com/flash2/cabs/swflash.cab#version=4,0,0,0"
ID=ashwarp WIDTH=300 HEIGHT=300>
<PARAM NAME=movie VALUE="ashwarp.swf">
<PARAM NAME=quality VALUE=high>
<PARAM NAME=bgcolor VALUE=#FFFFFF>
<EMBED src="ashwarp.swf" quality=high bgcolor=#FFFFFF WIDTH=300
HEIGHT=300 TYPE="application/x-shockwave-flash"
PLUGINSPAGE="
http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash
">
</EMBED>
</OBJECT>
<!-- END GENERIC ALL BROWSER FRIENDLY HTML FOR shockwave-flash
PLAYER -->
To try this code for yourself put it into the BODY of one of your HTML documents and then save the movie to your own folder which contains your HTML file.