I'm having this weird problem. Everything runs ok in the HTML5/CSS version of the virtual tour, but when I load it in Chrome or Firefox (via the SWF) it only loads one of the scenes (03-sala). When I use
the result is 1, and not 3 like it should.
Here's the simple code I'm using:
Code
<krpano version="1.0.8.14" onstart="start()">
<scene name="01-entrada" onstart="">
<view hlookat="0" vlookat="0" fovtype="MFOV" fov="100" maxpixelzoom="1.4" fovmax="120" />
<preview type="CUBESTRIP" url="01-entrada.tiles/preview.jpg" />
<image>
<cube url="01-entrada.tiles/pano_%s.jpg" />
<tablet>
<cube url="01-entrada.tiles/t-pano_%s.jpg" />
</tablet>
</image>
</scene>
<scene name="02-hall" onstart="">
<view hlookat="0" vlookat="0" fovtype="MFOV" fov="100" maxpixelzoom="1.4" fovmax="120" />
<preview type="CUBESTRIP" url="02-hall.tiles/preview.jpg" />
<image>
<cube url="02-hall.tiles/pano_%s.jpg" />
<tablet>
<cube url="02-hall.tiles/t-pano_%s.jpg" />
</tablet>
</image>
</scene>
<scene name="03-sala" onstart="">
<view hlookat="0" vlookat="0" fovtype="MFOV" fov="100" maxpixelzoom="1.4" fovmax="120" />
<preview type="CUBESTRIP" url="03-sala.tiles/preview.jpg" />
<image>
<cube url="03-sala.tiles/pano_%s.jpg" />
<tablet>
<cube url="03-sala.tiles/t-pano_%s.jpg" />
</tablet>
</image>
</scene>
<!-- ############################ Actions ############################ -->
<action name="start">
if(startscene === null, set(startscene,get(scene[2].name)) );
loadscene(get(startscene), null, MERGE);
trace(scene.count);
</action>
<action name="changescene">
loadscene(%1, null, MERGE);
</action>
<!-- ############################ Default Settings ############################ -->
<progress showload="none" showwait="none"/>
<display movequality="BEST" stillquality="BEST" movequality10="BEST" stillquality10="BEST" />
<control mouseaccelerate="2" mousespeed="10" mousefriction="0.6" mousefovchange="0.3"/>
</krpano>
Alles anzeigen
The tour is being loaded with embedpano like this:
Code
<script>
embedpano({swf:"tour.swf", xml:"tour.xml", target:"panodiv", wmode: 'opaque', useHTML5: 'whenpossible'});
</script>
Maybe a fresh pair of eyes can spot the problem...
I'm using build 2012-01-25.
Thanks,