2 Replies Latest reply on Aug 24, 2015 12:07 PM by BNomad

    Audio won't trigger with action

    BNomad Level 1

      I have multiple symbols, each with its own audio, on a stage.  When I put an action at the end of one symbol to show and play the next symbol the audio in the next symbol does not play.  Even when I include sym.getComposition().getStage().getSymbol("symbol").$("audio")[0].play(); nothing happens.  I don't know what else to do.  Please help!

        • 1. Re: Audio won't trigger with action
          resdesign Adobe Community Professional & MVP

          You need to stop the first symbol audio and start the new symbol video. I would do it in code.

          example in compositionReady

           

          var music = sym.getsymbol('symbolName').$("music")[0];

          play the first symbol

          sym.getSymbol('symbolName').play(0);

          music.play();

           

          In this symbol on the last frame add code

          sym.getComposition().getStage().music.stop();

          sym.getComposition().getStage().getSymbol('nameofnewsymbol').$("music2")[0].play();

           

          etc...

          • 2. Re: Audio won't trigger with action
            BNomad Level 1

            Thanks for the help.  It's weird, but when I was previewing it in the Browser it wasn't working, but when I published it and then played it everything worked like it should.