Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Mute Toggle for multiple Audio tracks

Explorer ,
Jul 16, 2020 Jul 16, 2020

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.

 

 

208
Translate
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 Expert ,
Jul 17, 2020 Jul 17, 2020
LATEST

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

Translate
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