Return to Snippet

Revision: 5850
at April 7, 2008 19:30 by neal_grosskopf


Initial Code
<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>

Initial URL
http://www.nealgrosskopf.com/tech/thread.asp?pid=9

Initial Description
Flash sucks, embedding it sucks more, find out how to make it not suck.

Initial Title
Embedding Flash Without Click To Activate Using Valid HTML

Initial Tags
javascript, html, flash

Initial Language
HTML