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