Welcome Dialog

Welcome to the Community!

We have a brand new look! Take a tour with us and explore the latest updates on Adobe Support Community.


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

809

Likes

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

Adobe Community Professional , 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.

Likes

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();

Likes

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
Adobe Community Professional ,
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.

Likes

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 !

Likes

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