Saving substacks: where do I go wrong?

Monte Goulding monte at sweattechnologies.com
Tue Mar 2 03:59:07 EST 2004


> I want to build a standalone application with a separate stack to
> hold and
> save data.
> On the RR website I found some instructions to do this:
> http://runrev.com/revolution/developers/articles/tipoftheweek/1.html
>
> However it does not work.
> I have made test stack with stack "main1" as mainstack and "sub1" as
> substack of "main1".
> Stack "sub1" has two cards. On card 2 I have text in field 1 and a button
> with script "save this stack".
>
> I followed the instructions on the site and built the application.
> However no substack files were placed in the separate folder data.
> And I could not save the substack card. The result was "can't save into
> standalone".
>
> So the question is: where do I go wrong?

I'd suggest creating a separate stackFile for data stack so your development
folder is the same as your standalone. So create two mainStacks. Add them
both to your distribution. Make sure the right one is you application
mainstack then build.

Cheers

Monte



More information about the use-livecode mailing list