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

Timeline seekbar - HTML5 Canvas document

Community Beginner ,
Feb 22, 2017 Feb 22, 2017

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

Views

877

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

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.

Votes

Translate

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

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.

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

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.

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

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.

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

Copy link to clipboard

Copied

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

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

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)

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

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