Im trying to combine the workaround code for embedding in IE with this
<div id="flashid" style="width:400px; height:300px;">
<script type="text/javascript">
e = canResizeFlash();
document.write('<object data="resize.swf" width="100%" height="100%" type="application/x-shockwave-flash">');
document.write(' <param name="movie" value="drDan0606.swf" />');
document.write(' <param name="FlashVars" value="allowResize='+e+'" />');
document.write(' Flash Movie With Resizing Content');
document.write('</object>');
</script>
Kirupa’s embed fix script:
<script type="text/javascript" src="flashobject.js"></script>
<div id="flashcontent" style="width: 100%px; height: 100%px"></div>
<script type="text/javascript">
var fo = new FlashObject("drDan0606.swf", "animationName", "100%", "100%", "8", "#FFFFFF");
fo.addParam("allowScriptAccess", "sameDomain");
fo.addParam("quality", "high");
fo.addParam("scale", "noscale");
fo.addParam("loop", "false");
fo.write("flashcontent");
</script>
And im not well versed enough in java to combine this into Kirupa’s embed fix script.
The reason i want to do this, is to make IE happy, the site displays correctly in all other browsers except IE for many people. I didn’t do the layouts i just made it into Flash.This is it right now, and it should work correctly on every browser except IE.
Any help is very appreciated.
Thanks.
peace.