Accessing the bundles files in the sandbox
John Dixon
dixonja at hotmail.co.uk
Wed Dec 14 17:39:14 EST 2011
set the filename of image theImage to specialFolderPath("engine") & "/media/img_01.jpg"
> From: sschvarstein at gmail.com
> Subject: Accessing the bundles files in the sandbox
> Date: Wed, 14 Dec 2011 23:33:38 +0100
> To: use-livecode at lists.runrev.com
>
> 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.
>
>
> ______________________________
> Sergio Schvarstein
> sschvarstein at gmail.com
>
> ______________________________
>
>
>
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
More information about the use-livecode
mailing list