Hi,
When i zoomin, the fovmax and fovmin are respected... but when i click on the flying hotspot and close it ...that settings are gone
tried a lot like put
set(view.fovmax,150);
set(view.fovmin,30); at the end of the flyback etc etc.... or at the beginning of action(moveto1)...can't get it right..
Code
<hotspot name="spot"
url="../../buttons/uitnodiging.png"
keep="true"
ath="35.037050720913236" atv="52.077146131980776"
zoom="false" distorted="true"
width="250" height="300"
scale="0.3" scale9grid="" scalechildren="false" rotate="0"
rx="-46.5" ry="-30.5" rz="-53.19192577865032"
edge="center" ox="" oy=""
crop="" ondowncrop="" onovercrop=""
visible="true" enabled="true" handcursor="true" capture="true" children="true"
zorder="0"
alpha="1.00" blendmode="normal" smoothing="true"
refreshrate="auto"
onloaded=""
onover=""
onhover=""
onout=""
ondown=""
onup=""
onclick="if(flying == 0.0, flyout(), flyback() );"
backup_rx="-22.5"
backup_ry="-26.25"
backup_rz="-50.1"
backup_scale="0.3"
flying="0"
/>
<!--
flyout/flyback actions
(for more stylish in/out moves play with different tweentypes and times)
-->
<action name="flyout">
<!--
save/backup the current rotation values!
NOTE - it is important that the backup_* variables are predefined!
this allows to save the variables at <hotspot> scope,
if the variables where not predefined, they were saved globally
and this would be a problem when more hotspots are using them!
-->
copy(backup_rx,rx);
copy(backup_ry,ry);
copy(backup_rz,rz);
copy(backup_scale,scale);
<!-- tween the rotations values to 0 for a flat screen view -->
tween(rx, 0);
tween(ry, 0);
tween(rz, 0);
tween(scale, 1.5);
<!--
tween 'flying' to 1.0,
this makes the hotspot independent from the panorama rotation and scaling
-->
tween(flying, 1.0);
</action>
<action name="flyback">
<!-- tween back to the stored backup values -->
tween(rx, get(backup_rx));
tween(ry, get(backup_ry));
tween(rz, get(backup_rz));
tween(scale, get(backup_scale));
<!-- tween 'flying' also back to 0.0 -->
tween(flying, 0.0);
action(moveto1);
</action>
Alles anzeigen
Anybody??
Thanx
Tuur