Posted By

bcalloway on 11/21/08


Tagged

javascript flash


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

jpcamara


swfobject


 / Published in: JavaScript
 

URL: Javascript to produce flash in a div using swfobject2.0

  1. <script language="javascript" type="text/javascript">
  2. // Flash vars
  3. var flashvars = {
  4. xml_path: "ticker.xml"
  5. };
  6. var params = {
  7. menu: "false",
  8. wmode: "transparent"
  9. };
  10. var attributes = {};
  11.  
  12. // Add the flash
  13. swfobject.embedSWF("swf/header.swf", "flash-header", "1000", "317","9.0.0", "", flashvars, params, attributes);
  14. </script>

Report this snippet  

You need to login to post a comment.