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

Symbol playback speed in HTML5 JavaScript

New Here ,
May 11, 2021 May 11, 2021

Copy link to clipboard

Copied

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

Views

360

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
community guidelines
Community Expert ,
May 12, 2021 May 12, 2021

Copy link to clipboard

Copied

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");

Votes

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
community guidelines
LEGEND ,
May 12, 2021 May 12, 2021

Copy link to clipboard

Copied

LATEST

Votes

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
community guidelines