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

219

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
community guidelines
Adobe Community Professional ,
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");

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

Copy link to clipboard

Copied

LATEST

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