set the filename of image theImage to specialFolderPath("engine") &
"/media/img_01.jpg"
> From: [email protected]
> Subject: Accessing the bundles files in the sandbox
> Date: Wed, 14 Dec 2011 23:33:38 +0100
> To: [email protected]
>
> 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
> [email protected]
>
> ______________________________
>
>
>
>
> _______________________________________________
> use-livecode mailing list
> [email protected]
> Please visit this url to subscribe, unsubscribe and manage your subscription
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
_______________________________________________
use-livecode mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode