Hi
I would be really grateful if someone could help me with this as I am banging my head against a brick wall!
I have recently downloaded the newest version of krpano (1.0.8.11) with a view to updating one of my sites with the newest version.
The only page I have done so far is http://scarborough360.co.uk/scarborough-pa…park-night.html
The problem that I have is that I get a security error when I view http://www.scarborough360.co.uk/scarborough-pa…park-night.html instead (notice the www.)
I have tried using a crossdomain.xml file but I just can't get it to work.
crossdomain.xml
XML
<?xml version="1.0" encoding="UTF-8"?>
<cross-domain-policy>
<allow-access-from domain="*" />
</cross-domain-policy>
pano.xml
Code
<krpano version="1.0.8" onstart="action(hidepr);" logkey="false" showerrors="false">
<action name="hidepr" >
set(progress.showload,none);
set(progress.showwait,none);
</action>
<security>
<crossdomainxml url="http://www.scarborough360.co.uk/panoramas/skate01/crossdomain.xml" />
</security>
<view hlookat ="0"
vlookat ="0"
camroll ="0"
fov ="1"
fovmin ="100"
fovmax ="100"
maxpixelzoom ="1"
limitview ="range"
hlookatmin ="NaN"
hlookatmax ="NaN"
vlookatmin ="NaN"
vlookatmax ="70.000000"
/>
<control usercontrol ="all"
mousetype ="moveto"
movetocursor ="arrow"
cursorsize ="10.0"
mouseaccelerate="0.60"
mousespeed ="1.00"
mousefriction ="0.80"
headswing ="0.00"
keybaccelerate ="0.50"
keybspeed ="10.00"
keybfriction ="0.90"
keybinvert ="false"
mousefovchange ="0"
keybfovchange ="0.75"
fovspeed ="3.00"
fovfriction ="0.90"
keycodesleft ="37"
keycodesright ="39"
keycodesup ="38"
keycodesdown ="40"
keycodesin ="107"
keycodesout ="109"
/>
<autorotate enabled="true" waittime="1.0" accel="0.8" speed="5" horizon="0" tofov="NaN" />
<display details="22" movequality="HIGHSHARP" stillquality="HIGHSHARP" />
<preview type="CUBESTRIP" url="tiles/preview.jpg" />
<image type="CUBE" multires="true" tilesize="470">
<level tiledimagewidth="940" tiledimageheight="940">
<left url="tiles/l1_l_%0v_%0h.jpg" />
<front url="tiles/l1_f_%0v_%0h.jpg" />
<right url="tiles/l1_r_%0v_%0h.jpg" />
<back url="tiles/l1_b_%0v_%0h.jpg" />
<up url="tiles/l1_u_%0v_%0h.jpg" />
<down url="tiles/l1_d_%0v_%0h.jpg" />
</level>
</image>
</krpano>
Display More
html code
Code
<div id="krpanoDIV">
<noscript>
<table width="100%" height="550"><tr valign="middle"><td><center>ERROR:<br /><br />Javascript not activated<br /><br /></center></td></tr></table>
</noscript>
</div>
<script type="text/javascript" src="panoramas/skate01/swfkrpano.js"></script>
<script type="text/javascript">
var swf = createswf("/panoramas/skate01/krpano.swf", "krpanoSWFObject", "100%", "550", "#000000");
swf.addVariable("xml","/panoramas/skate01/pano.xml");
swf.embed("krpanoDIV");
</script>
Display More
Any help would really be appreciated.
Thank you