Update Flash web template

This commit is contained in:
Joshua Granick
2015-10-14 12:31:16 -07:00
parent 0cb8cd1bba
commit 9f436f3ee1

View File

@@ -8,12 +8,14 @@
<script type="text/javascript" src="swfobject.js"></script>
<script type="text/javascript">
swfobject.embedSWF ("::APP_FILE::.swf", "nme-application", "::if (WIN_WIDTH == 0)::800::else::::WIN_WIDTH::::end::", "::if (WIN_HEIGHT == 0)::500::else::::WIN_HEIGHT::::end::", "::SWF_VERSION::", "expressInstall.swf", ::WIN_PARAMETERS::);
swfobject.embedSWF ("::APP_FILE::.swf", "content", "::if (WIN_WIDTH == 0)::800::else::::WIN_WIDTH::::end::", "::if (WIN_HEIGHT == 0)::500::else::::WIN_HEIGHT::::end::", "::SWF_VERSION::", "expressInstall.swf", ::WIN_PARAMETERS::);
</script>
<style>
html, body, #nme-application { width:::if (WIN_WIDTH == 0)::100%::else::::WIN_WIDTH::px::end::; height:::if (WIN_HEIGHT == 0)::100%::else::::WIN_HEIGHT::px::end::; }
body { margin:0; padding:0; overflow:hidden; }
html, body, #content { width: ::if (WIN_WIDTH == 0)::100%::else::::WIN_WIDTH::px::end::; height: ::if (WIN_HEIGHT == 0)::100%::else::::WIN_HEIGHT::px::end::; }
body { margin: 0; padding: 0; overflow: hidden; }
</style>
@@ -21,7 +23,7 @@
<body>
<div id="nme-application" />
<div id="content" />
</body>