• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

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

Community Beginner ,
May 11, 2023 May 11, 2023

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

TOPICS
Timeline

Views

346

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , May 11, 2023 May 11, 2023

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

Votes

Translate

Translate
Community Expert ,
May 11, 2023 May 11, 2023

Copy link to clipboard

Copied

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...

 

Regards,

JC

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
May 11, 2023 May 11, 2023

Copy link to clipboard

Copied

This is exactly what I wanted, thank you so much

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
May 12, 2023 May 12, 2023

Copy link to clipboard

Copied

LATEST

You're welcome!

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines