I have created a play function to play a song when a user presses a button, but now I am trying to figure out how to prevent the user from pressing the play button multiple times and the clip playing over the other one with every play press.
W
Wolfgang Damm
said
over 10 years ago
Hi,
AR.Sound offers the onFinishedPlaying trigger. This should allow you to set a flag to guard against multiple sounds playing at the same time.
Alex