Copy link to clipboard
Copied
Hi All, I am trying to find a script for Adobe Animate HTML 5 Canvas,
I am developing a touchscreen html application that is fairly basic but I need some kind of listener event that will capture mouseDown and start a timer, once the timer = 0 then return to frame 1, but if mouseDown again this would reset the time. Would like to place this on the timeline so I can control the animation.
The idea it to reset the stage for the following person, below is where I am at (not very far)!
var _this = this;
this.stop();
setTimeout(doPlay,2000);
function doPlay(){
_this.play();
}
Thanks
Hi.
Please let us know if this answer is what you're looking for:
Regards,
JC
Copy link to clipboard
Copied
Hi.
Please let us know if this answer is what you're looking for:
Regards,
JC
Copy link to clipboard
Copied
This is exactly what I wanted, thank you so much
Copy link to clipboard
Copied
You're welcome!