Stopping a buttons actions [UPDATED]
Scott Rossi
scott at tactilemedia.com
Thu Feb 27 17:50:03 EST 2003
Recently, "Scott Rossi" wrote:
>> I have a button which starts a script that takes about two minutes to
>> get through. I am scrolling through pictures with it. My problem is
>> stopping in the middle. How can I stop or pause once the button is hit
>> so I don't have to wait 2 minutes.
>
> Depends on what your script is actually doing. If you're running a
> repeating/looping action, you can simply check a variable/property state at
> the beginning of your loop. You must be using "send in..." to accomplish
> this reliably.
>
> # TO START YOUR SCROLL ACTION, SEND A
> # "DOTHESCROLL" MESSAGE TO WHEREVER
> # YOU PLACE THE FOLLOWING SCRIPT.
<snip>
Forgot to mention that you need to set the uAllowScroll property of the
stack to true before starting the scroll action.
Regards,
Scott Rossi
Creative Director
Tactile Media, Multimedia & Design
-----
E: scott at tactilemedia.com
W: http://www.tactilemedia.com
More information about the use-livecode
mailing list