Copy link to clipboard
Copied
How to make a seek-bar that works with event audio as well as the animation in HTML5 Canvas document
Event audio, by definition, cannot be seeked within. All you can do is start it from the beginning, and kill it.
The lack of seekable streaming audio in Canvas documents is a limitation of current web browsers, no fault of Animate.
Copy link to clipboard
Copied
you can't attach your sound to a timeline: ie, you'll need to use code to play the sound.
Copy link to clipboard
Copied
Event audio, by definition, cannot be seeked within. All you can do is start it from the beginning, and kill it.
The lack of seekable streaming audio in Canvas documents is a limitation of current web browsers, no fault of Animate.
Copy link to clipboard
Copied
Thanks. I understood from your reply that we can't control the audio. But is there any way to control the animation using seek bar in HTML canvas in Animate.
Copy link to clipboard
Copied
Well, of course you can. That's what gotoAndStop()/gotoAndPlay() is for.
Copy link to clipboard
Copied
Thanks for you reply. My animation is for 1 minute. Suppose if I dont want see full animation, using the seek bar I want to go at 45 sec . By dragging the dropper in the seek bar animation also need to adjust. (Like in video we are moving fast and back using play bar)
Copy link to clipboard
Copied