/ Published in: JavaScript
A SWFObject embed example with all options.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<script type="text/javascript"> var flashvars = { name1: "hello", name2: "world", name3: "foobar" }; var params = { wmode: "transparent" }; var attributes = { id: "myDynamicContent", name: "myDynamicContent" }; swfobject.embedSWF("myContent.swf", "myContent", "300", "120", "9.0.0","expressInstall.swf", flashvars, params, attributes); </script>