Hello.
I want to play multiple audio files consecutively.
The code below plays them almost simultaneously.
Var srcFileA As FolderItem
Var srcFileB As FolderItem
srcFileA = SpecialFolder.Desktop.Child(“a.mp3”)
If srcFileA <> Nil And srcFileA.Exists Then
Var s As Sound
s = srcFileA.OpenAsSound
s.Play
End If
srcFileB = SpecialFolder.Desktop.Child(“b.mp3”)
If srcFileB <> Nil And srcFileB.Exists Then
Var s As Sound
s = srcFileB.OpenAsSound
s.Play
End If
What is the best way to play b.mp3 after a.mp3?
Could you please tell me?