Hi
Encountered a strange problem as follows, I'm using the following xml to load a scene:
<scene name="pano35" title="Hotel Entrance " onstart="showname(); set (current-scene,pano35);">
<view limitview="range" hlookat="0" hlookatmin="-180" hlookatmax="180" vlookat="0" vlookatmin="-65" vlookatmax="65"
fovtype="MFOV" fovmax="85" maxpixelzoom="2.0" />
<preview url="../images/preview/pano35_preview.jpg" />
<image >
<left url="../images/pc-med-res/%$current-scene%_l.jpg" />
<front url="../images/pc-med-res/%$current-scene%_f.jpg" />
<right url="../images/pc-med-res/%$current-scene%_r.jpg" />
<back url="../images/pc-med-res/%$current-scene%_b.jpg" />
<up url="../images/pc-med-res/%$current-scene%_u.jpg" />
<down url="../images/pc-med-res/%$current-scene%_d.jpg" />
</image>
This works fine with flash, but if I disable flash in browser and use html5 instead (or view on ipad, iphone, android etc) then get:
ERROR: loading of xml/../images/pc-med-res/%$current-scene%_l.jpg failed!
which gets repeated for each pano 'face'. so the variable 'current-scene' is not being translated.
Note if I hard code the file name ie xml/../images/pc-med-res/pano35_l.jpg then it works fine in html5.
Any ideas, fixes much appreciated.
Thanks
Tim