G
G
govras752020-08-04 12:30:17
JavaScript
govras75, 2020-08-04 12:30:17

Adobe Animate (HTML5 Canvas) - how to manage a movie through JavaSript?

I will say right away that I am a layman and just starting to study this topic, although I know FLASH quite well.

I created a movie in Adobe Animate that stops at the first frame, and animation starts at the second frame. Converted it to HTML5 Canvas file.

<div id="animation_container" style="background-color:rgba(255, 255, 255, 0.00); width:1920px; height:1080px">
    <canvas id="canvas" width="1920" height="1080" style="position: absolute; display: block; background-color:rgba(255, 255, 255, 0.00);"></canvas>
    <div id="dom_overlay_container" style="pointer-events:none; overflow:hidden; width:1920px; height:1080px; position: absolute; left: 0px; top: 0px; display: block;">
    </div>
  </div>


I want to start the video from the second frame on clicking a button or other user action in the browser window.
How to do it?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question