Opening a Stack from the Server
This lesson shows you how to open a stack from a server using a desktop based standalone. This technique means you can download data to your application temporarily, administer updates to all your users via the server stack, or connect to other users by using a common stack from the server. It can also be used to reduce the standalone size and for a variety of other purposes.
From this launch stack, we call the Main Application from the server using this code
on mouseUp go stack url "http://path/to/your/server/MainApplication.livecode" end mouseUp
This is the Main stack which is uploaded to the server. Here we can also get the image from the server using on openCard:
on openCard set the filename of image "city" to "http://path/to/your/server/edinburgh_004p.jpeg" end openCard
Please Note: This should be uploaded as a normal LiveCode stack and not as a standalone.
As you can see we have uploaded the raw LiveCode file.