Highlighted

Mute Toggle for multiple Audio tracks

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

21

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

Mute Toggle for multiple Audio tracks

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

22

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
Jul 16, 2020 0
Adobe Community Professional ,
Jul 17, 2020

Copy link to clipboard

Copied

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
Reply
Loading...
Jul 17, 2020 0