Quantcast
Channel: Adobe Community : All Content - Edge Animate
Viewing all articles
Browse latest Browse all 9897

audio player instance

$
0
0

Hello,

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 ;-)


Viewing all articles
Browse latest Browse all 9897

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>