Skip to content

Instantly share code, notes, and snippets.

@BillKeenan
Created May 31, 2012 18:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save BillKeenan/2845361 to your computer and use it in GitHub Desktop.
Save BillKeenan/2845361 to your computer and use it in GitHub Desktop.
<script type="text/javascript">
var flashvars = {
externalSessionKey:"@ViewData["signedRequest"]",
service:"@ViewData["serviceUrl"]",
build:"@ViewData["swfVersion"]",
facebook:false,
deckId:@ViewData["deckId"],
ad:"@ViewData["adServer"]"
};
var params = {
wmode:"opaque",
allowfullscreen: true
};
var attributes = {};
$(document).ready(function() {
swfobject.embedSWF("@Url.Content("~/swf/DropDeckGame.swf")?vers=@ViewData["swfVersion"]", "FlashDiv", "740", "740", "11.0.0", "swf/expressInstall.swf", flashvars, params, attributes);
});
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment