relative pathnames work on mobile?
Klaus major-k
klaus at major-k.de
Tue Oct 8 17:11:02 EDT 2013
Hi Jaqueline,
Am 08.10.2013 um 22:18 schrieb J. Landman Gay <jacque at hyperactivesw.com>:
> On 10/8/13 1:49 PM, Klaus major-k wrote:
>
>> short question, do not have a real device here in the moment...
>>
>> Suppoesed we have a stack in the folder where a folder "images" resides,
>> we can have filenames of images RELATIVE to the stack:
>> images/subfolder/image.png
>>
>> Works fine, now my question, does this also work on the mobile platform
>> if I add the folder "images" and its subfolders via the "Copy files..." tab in
>> the standalone builder settings?
>>
>> Or do I need to loop through all images and set hte filenames to the absolute path:
>> -> specialfolderpath("engine") & "/images/subfolder/image.png"
>> Know what I mean?
>
> I haven't been working on mobile lately, but the defaultfolder on launch is the engine folder,
> so I would think you can use that normally if you haven't set the defaultfolder to something else.
yes, makes sense, thanks!
> --
> Jacqueline Landman Gay | jacque at hyperactivesw.com
> HyperActive Software | http://www.hyperactivesw.com
Best
Klaus
--
Klaus Major
http://www.major-k.de
klaus at major-k.de
More information about the use-livecode
mailing list