Skip to content

Instantly share code, notes, and snippets.

@floq-design
Created May 9, 2012 16:33
Show Gist options
  • Save floq-design/2646328 to your computer and use it in GitHub Desktop.
Save floq-design/2646328 to your computer and use it in GitHub Desktop.
Actionscript2: swfobject with flashvars and wmode params
<script type="text/javascript">
//<![CDATA[
var params = {
wmode: 'transparent'
};
var flashvars = {};
flashvars.brand_id = "<!--{brand_id}-->";
flashvars.gender = "<!--{gender}-->";
swfobject.embedSWF("images/product-explorer.swf", "productExplorerApp", "595", "477", "8.0.0", "images/expressInstall.swf", flashvars, params);
//]]>
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment