Highlighted

Deprecated method createjs.Ticker.setFPS(24);

Explorer ,
Dec 13, 2019

Copy link to clipboard

Copied

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

Views

157

Likes

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

Deprecated method createjs.Ticker.setFPS(24);

Explorer ,
Dec 13, 2019

Copy link to clipboard

Copied

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

Views

158

Likes

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
Dec 13, 2019 0
ClayUUID LATEST
Adobe Community Professional ,
Dec 16, 2019

Copy link to clipboard

Copied

Ticker.framerate = 24;

 

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

Likes

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
Reply
Loading...
Dec 16, 2019 1