Embeded Swf not playing correctly PLEASE HELP!

This is strange. I have a base swf that loads in external
swfs and this all works fine.

When I embed into an html page using the insert flash button in dreamweaver it still works fine but if I use the code below to insert the file
the animation doesn’t play it just stops at the end of the pre-loader. I’m using this code to prevent the issue in internet explorer where you have to click the animation once to initialise.

Why is this does anyone know? Like I say when viewed in flash its fine and when embeded using the insert flash button it is but not with this code:-

I’m using this code to embed the swf into the html page

 <script type="text/javascript" src="flashobject.js"></script> 
 
<div id="flashcontent" style="width: 740px; height: 460px"></div> 
 
<script type="text/javascript"> 
var fo = new FlashObject("metal_beds_base.swf", "animationName", "740", "460", "8", "#FFFFFF"); 
fo.addParam("allowScriptAccess", "sameDomain"); 
fo.addParam("quality", "high"); 
fo.addParam("scale", "noscale"); 
fo.addParam("loop", "false"); 
fo.write("flashcontent"); 
</script> 

You can see my page here
http://www.jaybe.co.uk/the_site/BedProductPage.htm

If anyone can help me I will very grateful I’ve sent ages getting this setup.

Thanks

Ricky55

My base fla is here
http://www.jaybe.co.uk/the_site/metal_beds_base.fla