Playing Sounds in iOS

Roger Guay irog at mac.com
Wed Jun 20 09:46:04 EDT 2012


Hi all,

I'm trying to play a sound in iOS.

My code: 			if the environment is "mobile" then mobilePlaySoundOnChannel  "mySnd.wav", "current", "now"
    				else play "mySnd.wav"

I've imported mySnd.wav to the stack and I've copied it to the "Non-stack files in the application" of the Standalone Application Settings.

it works in the IDE but not in the simulator nor my iPad. 

Any help please?

Thanks!
Roger 






More information about the use-livecode mailing list