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

I can't stop sound on html 5 canvas

Community Beginner ,
Nov 29, 2016 Nov 29, 2016

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

1.3K
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 , 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.

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

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

createjs.Sound.stop();

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 ,
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.

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

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