Hi all.
The code embedding the swf file using AC_RunActiveContent.js looks as below:
<script type="text/javascript" >
AC_FL_RunContent('codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0','width','800','height','580','align','middle','src','FlashWebsite','quality','high','bgcolor','#ffffff','name','FlashWebsite','allowscriptaccess','sameDomain','pluginspage','http://www.macromedia.com/go/getflashplayer','movie','FlashWebsite' );
</script>
1. I would like to run this off a .js file so that this could be CSP compatible & would replace the above code.
2. I also need to pass two php variables as FlashVars in the above code. For eg like this
FlashVars = "var1=$var1&var2=$var2"
So I would need to pass these two variables from php into the .js file that i wish to create in 1.
i would be much obliged for any help on this.
Thanks all !!