I am going to go over really quickly how to properly embed. It fairly simple, but keep along.
The reason for this is mainly because the embed and object tags aren't made for all browsers. So here is what you are going to do:
1. Download the attached zip file and extract it to your desktop. Inside find the folder named "swo" and upload the entire thing as-is to your server. anywhere is fine, just inside the root is perfect, so it can be accessed at : http://www.yoursite.com/swo/
2. Open your html page and copy and paste the following code where you want your Flash movie to appear on the page:
Code:
<div id="flashcontent">
<strong>You need to upgrade your Flash Player</strong>
This is replaced by the Flash content.
Place your alternate content here and users without the Flash plugin or with
Javascript turned off will see this. Content here allows you to leave out <code>noscript</code>
tags. Include a link to <a href="swfobject.html?detectflash=false">bypass the detection</a> if you wish.
</div>
<script type="text/javascript">
var so = new SWFObject("yourMovie.swf", "yourMovie", "550", "400", "8.0.0", "#323935");
so.addParam("quality", "best");
so.addParam("wmode", "transparent");
so.write("flashcontent");
</script>
3. add the following line to your <head> section:
Code:
<script type="text/javascript" src="/swo/swfobject.js"></script>
4. alter the code to suit your needs. You will need to change the following:
a. From step 2 above, your flash movie name, size, location etc needs to be put in it's place. Replace the info above with the info of your movie.
b. ensure the location of the swfobject.js is correct.
5. Once all files are uploaded and referenced in the code correctly, your movie should appear just fine. If not, double check the locations of all the files.
This is SWFObject 1.5 there is a 2.0 version but it has a lot more power and variables. This is the bare minimum of what you need. Once you have it working, and you want to play around with it, check out this page for all of the SWFO1.5 variables and how to use them.
Once you have that check out the 2.0 version found here and you will be on your way.
Bookmarks