I have 2 buttons in the same app (screen)
buttonA – plays a big.mp3 file
buttonB – plays small.mp3 file
When I press buttonA I hear the mp3 fine, but if a user
press the buttonB right away, then I have the 2 mp3 files overlapping
that sounds bad.
I have the same buttons showing text
textA
textB
I use this
local function spanishListener () audio.play (audio1s) tx1.isVisible = true tx1e.isVisible = false end
So if the textA is visible I just change it for = true or = false
so I don’t see the 2 texts at the same time.
How do I solve the problem of the 2 audio files.?
is there something like audio.isPlaying = true or false
or how do I solve this problem?
Thanks for all your help
