Thanks, Chris.

Au contraire, your posts are very clear and not the least confusing. 

Interesting though that the answer command that you suggested is still 
returning false. 

I'm finding that paying attention to the case sensitivity solved my and .wav 
files work in the IDE, the simulator and my iPad

Thanks to all who responded to my problem. I don't ordinarilly even think about 
case sensitivity!!

Cheers,
Roger


On Jun 21, 2012, at 12:57 PM, use-livecode-requ...@lists.runrev.com wrote:

> Message: 23
> Date: Thu, 21 Jun 2012 13:48:08 -0600
> From: Chris Sheffield <cmsheffi...@me.com>
> To: How to use LiveCode <use-livecode@lists.runrev.com>
> Subject: Re: Playing Sounds in iOS
> Message-ID: <93e8fdec-befe-4cef-bbf5-058025dcd...@me.com>
> Content-Type: text/plain; CHARSET=US-ASCII
> 
> Roger,
> 
> Try this. Open the Standalone Application Settings dialog. Click on Copy 
> Files. Look at your list of files and/or folders. Did you add files 
> individually? Did you add an entire folder of files? Check the paths of these 
> files/folders? Do these paths contain any subfolders relative to your stack 
> file? For example, if you added an entire folder containing sound files, it 
> might be listed as "[some folder]/*". If you added individual files, they 
> might be listed as "[some folder]/mySound.wav". If that's the case, you have 
> to include those folder names in your code when creating the path to the 
> files. Using "the engine folder" will not automatically add those sub folder 
> names. So that's the first thing to check.
> 
> If that all looks good, make a slight mod to the answer command so that it's 
> "answer tSoundFile". This way you can verify the path is what you expect it 
> to be. In the simulator, that path will be fairly long most likely. If that 
> path looks okay, then it may just be that the files are not compatible. Do 
> they play okay on your computer? Verify that it's a supported file type on 
> iOS using the list Jacque provided.
> 
> Hopefully I'm being helpful and not just causing more confusion. Sometimes 
> I'm not very good at explaining things. Let me know if you still have 
> questions. Also, like Devin said, the iOS file system is case sensitive, 
> where the Mac OS file system may or may not be. So make sure file and folder 
> names in your code match case exactly as it is on disk. I've gotten bit by 
> that a few times.
> 
> Chris


_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to