Skip to main content
SSSSSSBenay
Known Participant
December 13, 2019
Question

Deprecated method createjs.Ticker.setFPS(24);

  • December 13, 2019
  • 1 reply
  • 1205 views

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

This topic has been closed for replies.

1 reply

Legend
December 16, 2019

Ticker.framerate = 24;

 

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