Hi,
I'm just working methodically through examples. Currently working on the action "hotspot_animate".
I've managed to figure out all the steps in this action except for the inclusion of an if action within the delayedcall.
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>
I've amended the delayed call to read as follows :-
delayedcall(0.03, hotspot_animate() );
This appears to work just fine on all devices. I can't see any reason why there should be an if function with conditions on the load status of the spot, the action is only called when loaded.
Does it have something to do with transitioning to new scenes? I mean will the animation of an unloaded spot continue in the background slowing things down if this condition is not applied?
Thanks
Y.S