Forum Moderators: open
This happened after a web designer updated the page. It did not do this before the update. How can this be fixed?
The workaround is you have to write the object tag code using a javascript document.write from a .js file.
As an example, create a .js file with your flash code:
document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://active.macromedia.com/flash2/cabs/swflash.cab#version=4,0,0,0" id=file width=220 height=257>');
document.write('<param name=movie value="file.swf">');
document.write('<param name=quality value=high>');
document.write('<param name=loop value=false>');
document.write('<embed src="file.swf" loop=false quality=high width=220 height=257 type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?p1_prod_version=shockwaveflash">');
document.write('</embed>');
document.write('</object>');
Then where you want your flash to appear in your HTML do,
<script type="text/javascript" src="file.js"></script>
Good luck.
dc