1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
<!-- hotspot styles (for Flash and HTML5) -->
<style name="hotspot_ani_black"
url="../hotspots/hotspot_ani_black_64x64x30.png"
crop="0|0|64|64"
framewidth="64" frameheight="64" frame="0" lastframe="29"
onloaded="hotspot_animate();"
altonloaded="if(isphone, mul(scale,2)); onloaded();"
/>
<style name="hotspot_ani_white"
url="../hotspots/hotspot_ani_white_64x64x30.png"
crop="0|0|64|64"
framewidth="64" frameheight="64" frame="0" lastframe="29"
onloaded="hotspot_animate();"
altonloaded="if(isphone, mul(scale,2)); onloaded();"
/>
<action name="hotspot_animate">
inc(frame,1,get(lastframe),0);
mul(ypos,frame,frameheight);
txtadd(crop,'0|',get(ypos),'|',get(framewidth),'|',get(frameheight));
delayedcall(0.03, if(loaded, hotspot_animate() ) );
</action>
|