Posted By

jcprovideo on 01/29/10


Tagged

javascript actionscript


Versions (?)

Who likes this?

2 people have marked this snippet as a favorite

johnloy
wirenaught


Load swfobject from google & embed dynamically


 / Published in: JavaScript
 

Load swfobject from google & embed dynamically

  1. <script type="text/javascript" src="http://www.google.com/jsapi"></script>
  2. <script type="text/javascript">
  3. google.load('swfobject', '2.2');
  4. </script>
  5.  
  6.  
  7. <script type="text/javascript">
  8. var flashvars = {};
  9. var params = {};
  10. var attributes = { id: "chatTall", name: "chatTall" };
  11.  
  12. swfobject.embedSWF("TheURL/chatTall.swf", "flashcontent", "138", "419", "9", false, flashvars, params, attributes, function(e) { chatTall = e.ref;});
  13. </script>

Report this snippet  

You need to login to post a comment.