Resizing Browser window for Flash Tour
Hi Guys,
I have created some tours and the config files are as follows: What I need to do is edit this file so as to only open a Browser Window, just large enough, to display the tour. I do not want a large white space surrounding the tour when running.
Hope you can help
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Virtual Tour By 360virtual-tours.net</title>
<style type="text/css">
/* hide from ie on mac */
html {
height: 100%;
overflow: hidden;
}
#flashcontent {
height: 50%;
}
/* end hide */
body {
height: 100%;
margin: 0;
padding: 0;
background-color: #FFFFFF;
}
</style>
</head>
<body leftMargin="0" topMargin="0" rightMargin="0" bottomMargin="0">
<script type="text/javascript" src="swfobject.js"></script>
<div id="flashcontent">
To view virtual tour properly, Flash Player 9.0.28 or later version is needed.
Please download the latest version of <a title="http://www.adobe.com/go/getflashplayer" target="_blank">Flash Player</a> and install
it on your computer.
</div>
<script type="text/javascript">
// <![CDATA[
var so = new SWFObject("twviewer.swf", "sotester", "750", "450", "9.0.28", "#FFFFFF");
so.useExpressInstall('expressinstall.swf');
so.addParam("allowNetworking", "all");
so.addParam("allowScriptAccess", "always");
so.addParam("allowFullScreen", "true");
so.addParam("scale", "noscale");
so.addVariable("lwImg", "VenueCymru_360Catseyes.gif");
so.addVariable("lwBgColor", "255,0,0,0");
so.addVariable("lwBarBgColor", "255,232,232,232");
so.addVariable("lwBarColor", "255,117,117,117");
so.addVariable("lwBarBounds", "150,360,450,8");
so.addVariable("iniFile", "config_VenueCymru.xml");
so.write("flashcontent");
// ]]>
</script>
</body>
</html>
Thanks RS360VT
R Scutt
360virtual-tours.net