Posted By

Meestercor on 05/22/08


Tagged

javascript textmate flash embed swfObject


Versions (?)

SWF Object code fot html


 / Published in: Other
 

  1. <script src="js/swfobject.js" language="javascript"></script>
  2.  
  3. <div id="flashContent"></div>
  4.  
  5. <script type="text/javascript">
  6. // <![CDATA[
  7. var so = new SWFObject("flash/intro.swf?<?php echo rand(0,1000); ?>", "intro", "100%", "100%", "8", "#ffffff");
  8. so.addParam("wmode", "transparent");
  9. so.addParam("allowScriptAccess","always");
  10. so.addVariable("location","Manhattan New York");
  11. so.write("flashContent");
  12. // ]]>
  13. </script>

Report this snippet  

You need to login to post a comment.