SWF Object code fot html


/ Published in: Other
Save to your folder(s)



Copy this code and paste it in your HTML
  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. // ]]>

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.