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

Timeline seekbar - HTML5 Canvas document

Community Beginner ,
Feb 22, 2017 Feb 22, 2017

How to make a seek-bar that works with event audio as well as the animation in HTML5 Canvas document

1.2K
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

correct answers 1 Correct answer

LEGEND , Feb 22, 2017 Feb 22, 2017

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.

Translate
Community Expert ,
Feb 22, 2017 Feb 22, 2017

you can't attach your sound to a timeline:  ie, you'll need to use code to play the sound.

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 ,
Feb 22, 2017 Feb 22, 2017

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.

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
New Here ,
Mar 08, 2017 Mar 08, 2017

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.

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 ,
Mar 08, 2017 Mar 08, 2017

Well, of course you can. That's what gotoAndStop()/gotoAndPlay() is for.

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
New Here ,
Mar 08, 2017 Mar 08, 2017

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)

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 Beginner ,
Mar 08, 2017 Mar 08, 2017
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