Skip to main content
ajustltd
Participant
May 11, 2023 7:12 PM UTC
Answered

Adobe Animate Canvas no interaction from mouse/touch return to frame

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

This topic is closed to new replies. Start a new post to keep the conversation going.
JoãoCésar17023019
JoãoCésar17023019Correct answer
Community Expert
May 11, 2023 7:19 PM UTC

Hi.

 

Please let us know if this answer is what you're looking for:

https://community.adobe.com/t5/animate-discussions/idle-mode-sceensaver-time-out-for-desktop-web-app/m-p/12990425#M354609

 

Regards,

JC

3 replies

JoãoCésar17023019
Community Expert
JoãoCésar17023019Community ExpertCorrect answer
Community Expert
May 11, 2023 7:19 PM UTC

Hi.

 

Please let us know if this answer is what you're looking for:

https://community.adobe.com/t5/animate-discussions/idle-mode-sceensaver-time-out-for-desktop-web-app/m-p/12990425#M354609

 

Regards,

JC

Translate
ajustltd
ajustltdAuthor
Participant
May 11, 2023 9:19 PM UTC

This is exactly what I wanted, thank you so much

Translate
JoãoCésar17023019
Community Expert
Community Expert
May 12, 2023 11:08 AM UTC

You're welcome!

Translate