Accessing the bundles files in the sandbox

Mark Schonewille m.schonewille at economy-x-talk.com
Wed Dec 14 17:39:11 EST 2011


Hi Sergio,

I'm not sure tht "file:" needs to be included in the filename property.

--
Best regards,

Mark Schonewille

Economy-x-Talk Consulting and Software Engineering
Homepage: http://economy-x-talk.com
Twitter: http://twitter.com/xtalkprogrammer
KvK: 50277553

Become our partner in sales http://qery.us/1bq Start selling Color Converter today. 20% commission!

On 14 dec 2011, at 23:33, Sergio Schvarstein wrote:

> Hi,
> 
> I am developing an iOS app which needs to use over one hundred images, which must be bundled inside the app file.
> 
> I've included the files in the Standalone Application Settings > Copy Files tab inside a folder I've called "media", but now I cannot find the way for asigning that filename to an image inside the app.
> 
> I've tried several ways as for example:
> 
> put ("file:" & specialFolderPath("engine") & "/media/img_01.jpg") into theFile
> set the filename of image theImage to theFile
> 
> or
> 
> put ("file:" & specialFolderPath("home") & "/media/img_01.jpg") into theFile
> set the filename of image theImage to theFile
> 
> but I couldn´t find the way to make it work.
> 
> Can somebody tell how this must be done ?
> 
> Thanks.
> 





More information about the use-livecode mailing list