Klaus,
following your suggestion, I tried TWEENing for the blinking of the borders of a Polygon HotSpot .
Looks fine.
BUT
when having more than one similiar hotspot in one pano, they blink SEQUENTIALLY instead in PARALLEL or maybe a little OVERLAPED.
Anybody any ideas?
Code Example
<action name="polygonhotspot_blink">
set (hotspot[%1].borderalpha , get(startalpha) );
set (hotspot[%1].borderwidth , get(startline) );
delayedcall(1,
tween(hotspot[%1].borderalpha , 0.95 , 1 );
tween(hotspot[%1].borderwidth , 3.8 , 1 );
wait(1); );
delayedcall(1,
tween(hotspot[%1].borderalpha , get(startalpha), 1 );
tween(hotspot[%1].borderwidth , get(startline) , 1 );
wait(1); );
delayedcall(0.5,polygonhotspot_blink( %1 ) );
</action>
<style name="blink_polygonhotspot"
startalpha="0.05"
startline="0.2"
frame="0"
lastframe="19"
onloaded="polygonhotspot_blink( get(name) );"
/>
<hotspot name="little_square" style="blink_polygonhotspot"
ath="73.15" atv="-5.42">
<point ath="00.00" atv="-10.52" />
<point ath="03.67" atv="-10.52" />
<point ath="03.67" atv="-06.90" />
<point ath="00.00" atv="-06.90" />
</hotspot>
best regards
Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »JPG_master« (9. Februar 2015, 20:20) aus folgendem Grund: Format destroyed