Highlighted

Start stop audio button using html5

New Here ,
May 29, 2020

Copy link to clipboard

Copied

Hey up i'm trying to create a start / stop play button for an audio file within adobe AN, i can do it using action script 3, but not using html5 as it only plays audio as events, any suggestions.

Views

222

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

Start stop audio button using html5

New Here ,
May 29, 2020

Copy link to clipboard

Copied

Hey up i'm trying to create a start / stop play button for an audio file within adobe AN, i can do it using action script 3, but not using html5 as it only plays audio as events, any suggestions.

Views

223

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
May 29, 2020 0
Adobe Community Professional ,
May 29, 2020

Copy link to clipboard

Copied

create an instance name when instantiating your sound (eg:

 

var soundInstance = createjs.Sound.play("soundID");

 

then you can use soundInstance to stop or pause play:

 

soundInstance.stop();

 

or 

 

soundInstance.pause();

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
Reply
Loading...
May 29, 2020 0
New Here ,
May 31, 2020

Copy link to clipboard

Copied

Thanks Dude 🙂  

 

another question, are you able to import an image sequence ?

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
Reply
Loading...
May 31, 2020 0