Flash embedded in html file help?

  • Thread starter Thread starter Alex C
  • Start date Start date
A

Alex C

Guest
I'm trying to get a .swf file to work in my index.html page, code in dreamweaver for the file is below, followed by the address for the html file exported from flash on publish and the javascript file:

<td colspan="9"><script type="text/javascript">
AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','name','banner','width','900','height','260','id','banner','src','http://alex-cook.co.uk/Homepage/banner','scale','exactfit','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','homepage/banner.swf','http://alex-cook.co.uk/Homepage/banner.swf' ); //end AC code
</script>
<noscript>
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" name="banner" width="900" height="260" id="banner">
<param name="Homepage/banner.swf" value="http://alex-cook.co.uk/Homepage/banner.swf" />
<param name="SCALE" value="exactfit" /><param name="SRC" value="http://alex-cook.co.uk/Homepage/banner.swf" />
<embed src="http://alex-cook.co.uk/Homepage/banner.swf" width="900" height="260" scale="exactfit" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" name="banner"></embed>


- http://alex-cook.co.uk/Homepage/AC_RunActiveContent.html.js
- http://alex-cook.co.uk/Homepage/banner.html

Any help is much appreciated, spent an hour already
 
I really recommend abandoning that method provided by Dreamweaver and use the method found here:

http://blog.deconcept.com/swfobject/

The advantages are endless.
 
Back
Top