Green eagle wrote that this does not validate :
Quote:
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0"
width="750" height="140">
<param name="movie" value="HeaderIndex.swf">
<param name="quality" value="high">
<embed src="HeaderIndex.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash"
width="750" height="140"></embed>
</object>
|
So if you take all of the code here, and remove it to a text file, and name it 'embed.js', where 'embed' is any name you give it - 'yourname.js'.
Then you can put " <script type="text/javascript" src="pathTo/folder/yourname.js"><script/> " in your page where the SWF goes.
I get around to much like this, but I have javascript that doesnt validate, aned it is a QUIRK WITH THE VALIDATOR.