How to set property stackFiles using URL

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
ale870
Posts: 250
Joined: Tue Apr 22, 2008 9:17 am
Contact:

How to set property stackFiles using URL

Post by ale870 » Wed Nov 25, 2009 11:17 am

Hello,

I wanted to use stackFiles property to assign needed stacks to my main application. My problem is I cannot find a way to setup such property not using a normal filename, but using an URL address (my stacks are located in a remote server).
Can you help me please?

Thank you!
Runtime Revolution Widgets, tutorials, tips & tricks and more!
http://runrevwidgets.com/wiki

BvG
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 1239
Joined: Sat Apr 08, 2006 1:10 pm
Contact:

Re: How to set property stackFiles using URL

Post by BvG » Wed Nov 25, 2009 1:03 pm

the stackfiles property only works with filepaths, not with urls. you need to make sure yourself that stacks from a remote server are loaded:

Code: Select all

put "aStack.rev" into nameOfStack
go invisible url ("http://yourserver.com/stacks/" & nameOfStack)
Various teststacks and stuff:
http://bjoernke.com

Chat with other RunRev developers:
chat.freenode.net:6666 #livecode

ale870
Posts: 250
Joined: Tue Apr 22, 2008 9:17 am
Contact:

Re: How to set property stackFiles using URL

Post by ale870 » Wed Nov 25, 2009 2:00 pm

Thank you, I will use this workaround :-)
Runtime Revolution Widgets, tutorials, tips & tricks and more!
http://runrevwidgets.com/wiki

Post Reply