Skip to main content
Participant
May 11, 2021
Question

Symbol playback speed in HTML5 JavaScript

  • May 11, 2021
  • 2 replies
  • 551 views

Greetings everyone.

I have a small question I would like an answer to please.

In Adobe Animate, I have created a symbols with animations in them, tweens.

I would like to know if there is a way to change the playback speed of these animations with JavaScript.

I found the commands to change the FPS of the canvas, but this isnt quite what Im looking for.

I am looking for a way to control the animation playback speed in my .html wether its faster of slower.

Just the JavaScript command for it would suffice.

Thank you for reading

This topic has been closed for replies.

2 replies

kglad
Community Expert
Community Expert
May 12, 2021

yes, you coud create a div in your html that you read with js. eg,

 

html:

<div id="data" value="4">

 

js:

var value = document.getElementById("data").getAttribute("value");