0 Replies Latest reply on Dec 11, 2014 2:45 AM by smenegassi

    audio player instance

    smenegassi Level 1


      Does anybody have a cue for this matter ?

      I have 2 buttons, 3 audio files and 1 audio player (made by myself).


      The buttons take me to two different Symbols.


      In the first Symbol I have the audio player and 1 audio file. With a “switch statement" I make it play the right audio file.


      For the second Symbol, I have the same audio player + a instance of the audio player and I want to play TWO differents audio files. The “switch statement" is not enough anymore.

      How can I make the instance of the audio player recognise the play button that was clicked so it plays the right music ?

      With  getSymbolElement ?

      Thanks again and forever ;-)