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

Symbol playback speed in HTML5 JavaScript

New Here ,
May 11, 2021 May 11, 2021

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

TOPICS
Code
496
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
Community Expert ,
May 12, 2021 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");

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 ,
May 12, 2021 May 12, 2021
LATEST
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