1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
<hotspot name="hotspot_igrac_01" style="style_hotspot" url="hotspots/hotspot_igrac_01.png" zorder="1" onloaded="calc_pos_from_hfov_yaw_pitch_roll(19,94.9474,-0.6264,12.8793);"
onover="
set(hotspot[hotspot_igrac_01].scale,1);
set(hotspot[hotspot_igrac_02].scale,0.5);
set(hotspot[hotspot_igrac_03].scale,0.5);
set(hotspot[hotspot_igrac_04].scale,0.5);
copy(layer[tooltip].html,nk[popis_igraca].podaci[get(name)].ime);set(layer[tooltip].visible, true);tween(layer[tooltip].alpha, 1.0, 0.5);asyncloop(hovering, copy(layer[tooltip].x,mouse.stagex); copy(layer[tooltip].y,mouse.stagey); );"
onout="
set(hotspot[hotspot_igrac_01].scale,0.5);
set(hotspot[hotspot_igrac_02].scale,1);
set(hotspot[hotspot_igrac_03].scale,1);
set(hotspot[hotspot_igrac_04].scale,1);
tween(layer[tooltip].alpha, 0.0, 0.25, default, set(layer[tooltip].visible,false), copy(layer[tooltip].x,mouse.stagex); copy(layer[tooltip].y,mouse.stagey); );" />
<hotspot name="hotspot_igrac_02" style="style_hotspot" url="hotspots/hotspot_igrac_02.png" zorder="1" onloaded="calc_pos_from_hfov_yaw_pitch_roll(19,82.562,2.5783,13.7965);"
onover="
set(hotspot[hotspot_igrac_02].scale,1);
set(hotspot[hotspot_igrac_01].scale,0.5);
set(hotspot[hotspot_igrac_03].scale,0.5);
set(hotspot[hotspot_igrac_04].scale,0.5);
copy(layer[tooltip].html,nk[popis_igraca].podaci[get(name)].ime);set(layer[tooltip].visible, true);tween(layer[tooltip].alpha, 1.0, 0.5);asyncloop(hovering, copy(layer[tooltip].x,mouse.stagex); copy(layer[tooltip].y,mouse.stagey); );"
onout="
set(hotspot[hotspot_igrac_02].scale,0.5);
set(hotspot[hotspot_igrac_01].scale,1);
set(hotspot[hotspot_igrac_03].scale,1);
set(hotspot[hotspot_igrac_04].scale,1);
tween(layer[tooltip].alpha, 0.0, 0.25, default, set(layer[tooltip].visible,false), copy(layer[tooltip].x,mouse.stagex); copy(layer[tooltip].y,mouse.stagey); );" />
|