Yes,
Also include those folders in the copy files pane of the standalone settings
and your golden. TheEngine ("/images/pic.png") will work in the IDE and mobile.
The Fonts will be loaded automatically on mobile. Check out bug 12431 on otf
fonts and bug 14844 about the copyfiles pane. Two gotchas.
Ralph DiMola
IT Director
Evergreen Information Services
[email protected]
<div>-------- Original message --------</div><div>From: Brahmanathaswami
<[email protected]> </div><div>Date:08/09/2015 20:51 (GMT-05:00)
</div><div>To: How to use LiveCode <[email protected]>
</div><div>Subject: Re: Local Path for Mobile </div><div>
</div>Thanks Ralph
So you mean like this... I think it is obvious but just to be sure
on my HD
~/livecode/BigMobileProject/
big-project.livecode/
/images
/fonts
/data
the three folders here are "relative" to the stack path..
I will test this.. thanks!
Swasti Astu, Be Well!
Brahmanathaswami
Kauai's Hindu Monastery
www.HimalayanAcademy.com
Ralph DiMola wrote:
> This assumes that all the assets to be included in the copy files pane in
> the standalone setting are relative to the stack path.
>
> function TheEngine
> local tStackPath
> switch
> case the environment = "Mobile"
> return the engine folder
> break
> default
> put the long name of this stack into tStackPath
> delete char 1 to 7 in tStackPath
> set the itemdelimiter to slash
> return item 1 to-2 of tStackPath
> end switch
>
> end TheEngine
>
> Ralph DiMola
> IT Director
> Evergreen Information Services
> [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