Return to Snippet

Revision: 6358
at May 19, 2008 11:26 by mattkenefick


Initial Code
<script src="js/swfobject.js" language="javascript"></script>

<div id="flashContent"></div>

<script type="text/javascript">
    // <![CDATA[
    var so = new SWFObject("flash/intro.swf?<?php echo rand(0,1000); ?>", "intro", "100%", "100%", "8", "#ffffff");
    so.addParam("wmode", "transparent");
    so.addParam("allowScriptAccess","always");
    so.addVariable("location","Manhattan New York");
    so.write("flashContent");
    // ]]>
</script>

Initial URL

                                

Initial Description
Just to include and implement the SWFObject to an HTML body from a generic "/js/" directory with some basic varibles.

[applies to OLD version of SWF Object]

Initial Title
Include / Implement SWFObject

Initial Tags
javascript, flash

Initial Language
JavaScript