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
rdim...@evergreeninfo.net











<div>-------- Original message --------</div><div>From: Brahmanathaswami 
<bra...@hindu.org> </div><div>Date:08/09/2015  20:51  (GMT-05:00) 
</div><div>To: How to use LiveCode <use-livecode@lists.runrev.com> 
</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
> rdim...@evergreeninfo.net


_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to