I would need a link to your page or at least see the code for the Flash tags to be specific. But, the basic concept is to write the tags to the page using an external script. Let's say you have Flash tags like so:
Code:
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="362" height="287">
<param name="wmode" value="transparent">
<param name="movie" value="some.swf">
<param name="quality" value="high">
<embed src="some.swf" quality="high" width="362" height="287" wmode="transparent" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">
</embed></object>
You make up an external file called - say, flash_swf.js and put this in it:
Code:
document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="362" height="287">\
<param name="wmode" value="transparent">\
<param name="movie" value="some.swf">\
<param name="quality" value="high">\
<embed src="some.swf" quality="high" width="362" height="287" wmode="transparent" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">\
<\/embed><\/object>');
Notice the added \'s at the ends of all but the last line plus the added \'s before the /'s in the close tags. Save it to the same folder as the HTML page. Once you have your Flash tags replicated via script in this manner, you can then replace them on your HTML page with:
Code:
<noscript>
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="362" height="287">
<param name="wmode" value="transparent">
<param name="movie" value="some.swf">
<param name="quality" value="high">
<embed src="some.swf" quality="high" width="362" height="287" wmode="transparent" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">
</embed></object>
</noscript>
<script src="flash_swf.js" type="text/javascript"></script>
That's the general idea but of course, you must use the code from your tags.
Bookmarks