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

Simple animations slow down browser with violation 'setTimeout' handler

New Here ,
Aug 04, 2017 Aug 04, 2017

Lately, my animations have been generating a violation when testing and publishing an HTML5 canvas.  It happens on simple animations and more "complicated" animations.

One of my simpler ones starts with a button that has a "gotoAndPlay" to another frame with a movieclip, play the movieclip and stop.  When I test the animation, my browser slows down my computer and the violation is something like this:  "[Violation] 'setTimeout' handler took 79ms createjs-2015.11.26.min.js:12".  It will give this violations thousands of times until I close the browser window. 

Does anyone know what is causing this?  It's been happening to my animations for the last month or two.  I updated Animate CC today and it's still happening.

2.6K
Translate
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 , Aug 05, 2017 Aug 05, 2017

no one likely knows.

you should start removing things from your project until you isolate and pinpoint the problem.  you can then upload it somewhere, post a link and some one can check it.

Translate
Community Expert ,
Aug 05, 2017 Aug 05, 2017

no one likely knows.

you should start removing things from your project until you isolate and pinpoint the problem.  you can then upload it somewhere, post a link and some one can check it.

Translate
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
Explorer ,
Oct 24, 2017 Oct 24, 2017
LATEST

One solution I found to avoid this in my case was to disable the sprite sheet in the publish settings

Translate
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