-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
33 lines (26 loc) · 1.09 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<html>
<head>
<title>Dungeon Adventures by Mithrilsoft</title>
<!-- include swfobject library -->
<script type="text/javascript" src="swfobject.js"></script>
</head>
<body>
<script type="text/javascript">
//define your flashVars from the URL GET string
var flashVars = {};
var strHref = window.location.href;
if ( strHref.indexOf("?") > -1 ) {
var strQueryString = strHref.substr(strHref.indexOf("?")+1);
var aQueryString = strQueryString.split("&");
for ( var iParam = 0; iParam < aQueryString.length; iParam++ ) {
var aParam = aQueryString[iParam].split("=");
flashVars[aParam[0]] = aParam[1];
}
}
//create your instance of your SWF
swfobject.embedSWF("dungeonadventures.swf", "flashContent", "760", "600", "9.0.0", "expressInstall.swf", flashVars);
</script>
<!-- this is where your flash content will be placed when created -->
<div id="flashContent"></div>
</body>
</html>