Hi
i would like animation start boutton and animation stop boutton
if i click on plugin animation start but if click bstart button , not work
help please
Code
<plugin name="move" style="v1"
onclick="action(hotspot_animate)"
/>
<hotspot name="btstart"
ath="0" atv="0"
url="b1.png"
onclick="action(hotspot_animate)"
/>
<hotspot name="btstop"
ath="10" atv="10"
url="b2.png"
onclick="breakall(hotspot_animate)"
/>
<style name="v1"
url="hotspots/anime.png"
crop="0|0|161|68"
framewidth="161" frameheight="68" frame="0" lastframe="7"
/>
<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.1, hotspot_animate() );
</action>
Display More