Problems playing sounds on ios
Posted: Tue Feb 21, 2012 11:44 pm
Hi there,
I have been away from livecode for some time now, But this used to work for me fine, so i am wondering what on earth i am doing different here.
I have a blank test stack here with just one button, and the sound file on copy files... testing crashes the simulator every time.
I do see the message "Audio file was found!" and then crash...?
I have been away from livecode for some time now, But this used to work for me fine, so i am wondering what on earth i am doing different here.
I have a blank test stack here with just one button, and the sound file on copy files... testing crashes the simulator every time.
I do see the message "Audio file was found!" and then crash...?
Code: Select all
on mouseUp
put specialFolderPath("engine") & "/tm_btn_mech_03.wav" into tAudioPath
if there is a file tAudioPath then
answer "Audio file was found!"
play tAudioPath
else
answer "Audio file not found!"
end if
end mouseUp