Hello,
I have multiple (simple buttons) that basically is just a play button. When the user clicks the play button, it plays an mp3 specified in flashvars. There are about 10 of them on the same page, used for samples of various mp3s.
It is working just fine, however, I’m having a problem adding another feature to them. When you play more than 1 at a time, they all play together. I’m trying to find a way to get the current one playing to stop when a user clicks play on another one.
How can I accomplish this in AS3? I’ve been looking at LocalConnection, but from what I read, it just has a sender and receiver… in this case I would need to have each button be a sender AND receiver. Any ideas?
Thank you.