Hi guys… may you always be happiness!
I mounted the sound file on a button and when I pressed it, the sound played fine.
however, when the sound has not reached the end/finished, I press the button again and the sound plays again without stopping the first sound action,
So, the app plays the same double sounds, can anyone help solve this problem?
At the very least, I need a workaround like this:
A >
-
When the button is pressed for the first time then the sound will be played.
-
And if the button is pressed for the second time then the sound will be played from the beginning.
B>
-
When the button is pressed for the first time then the sound will be played.
-
And if the button is pressed a second time, it will not have any effect until the sound is completely finished.
-
If the sound has finished playing then the button works back to No. 1