dear spacerywirtualne
thanks for help
i have changed the code for setting alpha insteade visibility like this...
<action name="hideallhotspots">
for( set(i, 0), i LT hotspot.count, inc(i),
set( hotspot[get(i)].alpha, 0.1););
</action>
<action name="shoeallhotspots">
for( set(i, 0), i LT hotspot.count, inc(i),
if(hotspot[get(i)].tag != 'client_logo', tween( hotspot[get(i)].alpha,1,2,easyInOutQuint);););
</action>
and now something strange happens.
the code works for all hotspots, except for the hotspot immediately following the hotspot_"sponsorlogo hotspot". this one doesnot tween alpha to 1
<hotspot name="Stationensponsor" tag="client_logo"
title="Stationensponsor"
url="%HTMLPATH%/a.files/infos/logos/sta_la.jpg"
visible="false"
alpha="0"
ath="00" atv="-10"
distorted="true"
rx="-10.0" ry="0.0" rz="0.0"
width="310" height="prop"
scale="1"
zorder="9999"
onloaded="delayedcall(3,action_stationensponsor())"
onclick="tween(scale,1,1);tween(alpha,1,1);delayedcall(2,tween(scale,0.2,3,easeinoutquart);tween(alpha,0.3,1))"/>
<hotspot name="spot1" tag="sepp" alpha="1.0" style="skin_hotspotstyle" ath="6.9" atv="32.3" linkedscene="scene_002_1" />
<hotspot name="Die Georgskapelle" title="Die Georgskapelle"
style="skin_hotspotstyle_infoicon"
ath="11.244" atv="1.543"
keep="false"
bild="false"
url_bild=""
close="false"
weiter="false"
fotos="false"
movie="true"
onclickC=""
onclickW=""
onclickF=""
onclickM="if(webvr.isenabled, loadscene(scene_002_1, null, MERGE,BLEND(2)); removehotspot(get(hotspot_name)); removehotspot(sat_movie),
loadscene(scene_002_1, null, MERGE,BLEND(2)); tween(view.hlookat,0, 3.0, easeInOutQuint); tween(view.vlookat,0, 3.0, easeInOutQuint);tween(view.fov,123, 3.0, easeOutQuad);wait(3.0);)"
onclick= "action(infowindow_oncklick001)"/>
<hotspot name="Burg Hasegg" title="Burg Hasegg"
style="skin_hotspotstyle_target"
ath="180" atv="11"
scale="1"
keep="false"
visible="true"
alpha="1.0"
enabled="true"
onclick= "next_tour_burg()"/>
if i change the order of the hotspots, it is always the next hotspot to hotspot_sponsorlogo,
which does not appear??????
I tried to give it another tag designation , but without success.