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

I can't stop sound on html 5 canvas

Community Beginner ,
Nov 29, 2016 Nov 29, 2016

Copy link to clipboard

Copied

hi

on my animation I ve a sound on all my movie... when I publish the movie the movie is looping but the sound don't stop and several sounds superimposed

Thanks for your answer

Best regards

Views

1.1K

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 , Nov 29, 2016 Nov 29, 2016

Thinking about it, maybe that should be a publishing option: "Stop sounds on loop". There are going to be some number of people who are just making animations and don't want to type a single line of code.

Votes

Translate

Translate
Adobe Employee ,
Nov 29, 2016 Nov 29, 2016

Copy link to clipboard

Copied

You can use the following code to stop all sounds playing at the last frame:

createjs.Sound.stop();

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 ,
Nov 29, 2016 Nov 29, 2016

Copy link to clipboard

Copied

Thinking about it, maybe that should be a publishing option: "Stop sounds on loop". There are going to be some number of people who are just making animations and don't want to type a single line of code.

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 ,
Nov 29, 2016 Nov 29, 2016

Copy link to clipboard

Copied

LATEST

the action " createjs.Sound.stop(); " is ok

Thanks

Yes it's sure it will be nice if I can do animation without code, I ve used flash with actionscript, but I use it with a minimal line of code. I don't want learn coding with animate on html canvas.

Il will be great to have the main simple action on a visual editor for simple " motion designer" it will be a dream !

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