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

Deprecated method createjs.Ticker.setFPS(24);

Explorer ,
Dec 13, 2019 Dec 13, 2019

Hello, 

I am attempting to change the frame rate during certain sections of an Adobe Animate HTML5 Canvas project.

 

createjs.Ticker.setFPS(24);

 

In the past, I was able to temporarily change the fps using the above code, however I get an error now that this method is deprecated. Can someone please direct me to infromation/examples about how to change the fps from within a canvas project.  I see this documentation:

 

https://createjs.com/docs/easeljs/classes/Ticker.html#property_interval

 

however I do not completely understand how to apply it.

 

I am trying the following without success:


Ticker.framerate = 24;

Thank you in advance...

TOPICS
Timeline
1.1K
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
LEGEND ,
Dec 16, 2019 Dec 16, 2019
LATEST

Ticker.framerate = 24;

 

Is there some reason you left "createjs." off this?

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