password protected stacks

Don Toro don at thinkingpublications.com
Tue Jan 31 16:02:19 EST 2006


I have a hidden button that contains the script for the buttons which is longer than 10 lines. Although creating the button and then setting the script property of the newly created button the script of the hidden button work on an unproted stack even at run time. I did a quick test cloning the buttons and it works on password protected stacks. Thanks.

Donard Toro
Information Manager/Computer Programmer
-------------------------------------------------------------------
Thinking Publications, a division of
McKinley Companies, Inc.
424 Galloway Street, Eau Claire, WI 54703
Phone: 1.800.225.4769 (US) & 1.715.832.2488
Fax: 1.800.828.8885 (US) & 1.715.832.9082
www.ThinkingPublications.com
-------------------------------------------------------------------
COMMUNICATION SOLUTIONS THAT CHANGE LIVES
Specializing in resources for individuals
with speaking, listening, reading, writing, and thinking skill deficits


-----Original Message-----
From: Sarah Reichelt [mailto:sarah.reichelt at gmail.com]
Sent: Tuesday, January 31, 2006 2:39 PM
To: How to use Revolution
Subject: Re: password protected stacks


On 2/1/06, Don Toro <don at thinkingpublications.com> wrote:
> I have a stack that uses the templateButton and the templateField to create a list of buttons and field. The stack runs fine except when I password protect the stack. The error hints to the handler that has the code for creating the buttons and the fields. Is there a problem adding object to a password protected script during runtime? If this is true, is there a work around it?
>

Are you trying to set the scripts of your newly created buttons &
fields? That will fail if the script is more than 10 lines long and
may fail if the stack is password protected.

If that is the problem, I would suggest you set up your own templates,
hide then and then clone them, with their scripts & properties, when
you need new ones.

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



More information about the use-livecode mailing list