Revision: 55811
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at February 23, 2012 03:22 by rickygri
Initial Code
<!-- load swfobject to load flash --> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/swfobject/2.2/swfobject.js"></script> <script type="text/javascript"> var swfs = [ { url: 'tbd_msn_hpto_fullpage.swf', id: 'tbd_msn_hpto_fullpage', width: 100, height: 100, flashvars: {}, params: { wmode: 'transparent' }, attributes: {} } ]; for (var i = 0; i < swfs.length; i++) { var swf = swfs[i]; swfobject.embedSWF( swf.url, swf.id, swf.width, swf.height, "9.0.0", false, swf.flashvars, swf.params, swf.attributes ); }; </script>
Initial URL
Initial Description
Shows how to use an array to embed swf objects with swfobject.js. This allows for multiple embeds (synced ad's etc.)
Initial Title
Embed flash with swfobject.js using arrays
Initial Tags
javascript
Initial Language
JavaScript