Mute Toggle for multiple Audio tracks

Explorer ,
Jul 16, 2020 Jul 16, 2020

Copy link to clipboard

Copied

I have 5 videos that play on my timeline.  Each video has a separate audio track on a separate layer. (Forgive me, I'm still used to AS2 and this is how my brain works).  The audios are in the library.  I want 5 buttons to appear on the stage that will toggle each audio on or off.  So perhaps I will have 2 playing, 5 playing 1 playing 0 playing.  Can anyone help with the code for this?  The audios are called  Clip1Audio, Clip2Audio, etc.

 

 

Views

39

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 ,
Jul 17, 2020 Jul 17, 2020

Copy link to clipboard

Copied

LATEST

Depends on the platform. Which are you targeting? If HTML5 Canvas, see the following documentation: https://createjs.com/docs/soundjs/modules/SoundJS.html

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