Hi,
i got hotspot over my pano (arrow on virtual floor), then when i click on it, i center my pano around this hotspot and level the vertical to zero before loading another pano,
so if the hotspot was outside the screen centre,
after the click it center itself (at the same time the mouse cursor stay at the clicking position) and after centering, there like a freeze time (4-5-6 secondes...or more) until i place again the mouse cursor over the hotspot (or over a map marker if map plugin is beside),
i've tried to set the actions inside the ondown="" or onup="" instead of onclick="" but with no effects...
here the code hotspot :
<!-- // hotspot picture to load another pano -->
<hotspot name="hotspot_to_pano06"
url="../../images/hotspot.png"
keep="false"
ath="-2" atv="12"
zoom="false" distorted="false"
width="143" height="143"
scale="0.35" scale9grid="" scalechildren="false" rotate="0"
rx="0" ry="0" rz="0" edge="center" ox="" oy=""
crop="" ondowncrop="" onovercrop=""
visible="true" handcursor="true" enabled="true" capture="true" children="false"
zorder="0"
alpha="0.5"
blendmode="normal" smoothing="true"
refreshrate="auto"
onloaded=""
onover="tween(hotspot[hotspot_to_pano06].alpha,0.8);"
onout="tween(hotspot[hotspot_to_pano06].alpha,0.5);"
onclick="looktohotspot(hotspot_to_pano06, 90, smooth(100,50,80));wait(0.1);tween(view.vlookat, 0, 1.0);wait(1.1);action(loadpano06);"
onhover=""
ondown=""
onup=""
details="8"
effect=""
flying="0"
inverserotation="false"
usecontentsize="false">
</hotspot>
Display More
with only : onclick="action(loadpano06);" it works fast a expected;
i've tried too to supress the wait(); in the onclick="" but with no results..
strangely it seems all is normal if the cursor remains over the hotspot when it moving or at the end of his move,
so the issues seems here, but how to fix it ??
Thanks