<!-- 黑色动画热点样式 -->
<style name="hotspot_ani_black"
url="hotspot_ani_black_64x64x20.png"
crop="0|0|64|64"
framewidth="64" frameheight="64" frame="0" lastframe="19"
onloaded="hotspot_animate();"
/>
<!-- 白色动画热点样式 -->
<style name="hotspot_ani_white"
url="hotspot_ani_white_64x64x20.png"
crop="0|0|64|64"
framewidth="64" frameheight="64" frame="0" lastframe="19"
onloaded="hotspot_animate();"
/>
<!-- 热点动作 -->
<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>
hotspot 标签内添加 style="hotspot_ani_white"
参考学习网站: