/ Published in: HTML
Flash sucks, embedding it sucks more, find out how to make it not suck.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<script type="text/javascript"> function writeFlash(file) { document.write('<object type="application/x-shockwave-flash" data="'+file+'">') document.write('<param name="movie" value="'+file+'">') document.write('<param name="loop" value="false">') document.write('<param name="wmode" value="transparent">') document.write('</object>') } </script> <script type="text/javascript"> writeFlash("/yourfile.swf"); </script>
URL: http://www.nealgrosskopf.com/tech/thread.asp?pid=9