embedding tour
First off I'm not a web developer, lolI'm doing some work for a builder who wants to embed the tour onto their website but have the files and everything run off of my sever.
I tried creating a separate html file, extracting script from Tourweaver_xxx document that is created when publishing a tour. And then I filled in the entire URL for any files or scripts that may be called for.
I pasted what I did below. I'm getting the tour window to pop up but nothing is loading.
So questions is - Am I going about this the right way? Or is there a simpler embedding code I could be using?
Thanks for your help!
<script type="text/javascript">
// <![CDATA[
var so = new SWFObject("http://www.ronniebruce.com/realestate/tours/drhorton/brookhaven/twviewer.swf", "sotester", "600", "380", "9.0.0", "#FFFFFF");
so.addParam("allowNetworking", "all");
so.addParam("allowScriptAccess", "always");
so.addParam("allowFullScreen", "true");
so.addParam("scale", "noscale");
//<!-%% Share Mode %%->
so.addVariable("lwImg", "http://www.ronniebruce.com/realestate/tours/drhorton/brookhaven/resources/waiting_brookhaven.gif");
so.addVariable("lwBgColor", "255,232,232,232");
so.addVariable("lwBarBgColor", "255,255,255,255");
so.addVariable("lwBarColor", "255,0,255,0");
so.addVariable("lwBarBounds", "120,304,360,8");
so.addVariable("lwlocation", "0");
so.addVariable("lwShowLoadingPercent", "true");
so.addVariable("lwTextColor", "255,0,0,0");
so.addVariable("iniFile", "http://www.ronniebruce.com/realestate/tours/drhorton/brookhaven/config_brookhaven.bin");
so.addVariable("progressType", "1");
so.addVariable("swfFile", "");
so.addVariable("href", location.href);
so.write("flashcontent");
// ]]>
</script>