Page 1 of 1

Problems playing sounds on ios

Posted: Tue Feb 21, 2012 11:44 pm
by doobox
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...?

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

Re: Problems playing sounds on ios

Posted: Wed Feb 22, 2012 12:07 am
by doobox
Oh Oh.. seems this works fine on another machine "my mac book air", but wont work on my main dev machine for some reason.
Me thinks this has to be a permissions issue, though i have not seen any other issues with any other software to date.. puzzled...!

Any thoughts appreciated :-)