More send in time
Jan Schenkel
janschenkel at yahoo.com
Tue Jul 1 12:43:11 EDT 2003
--- Ken Norris <pixelbird at interisland.net> wrote:
> Hello Scott,
>
> > Date: Tue, 01 Jul 2003 00:25:48 -0700
> > Subject: Re: More send in time
> > From: Scott Rossi <scott at tactilemedia.com>
>
> If this:
>
> >> if the mouse is up then exit endlessScroller
>
> ...polls the mouse state, then why doesn't this:
>
> > set the uAllowScroll of me to true
>
> ...poll the state of "uAllowScroll of me" in the
> same way?
>
> These are the mechanics I don't understand. What,
> exactly, is the
> difference? I ask because without that understanding
> I'm liable to do the
> same type of thing again in a different setting.
>
> TIA,
> Ken N.
>
Hi Ken,
Polling the mouse state requires an expensive system
call ; polling the content of a script local variable
is handled by the engine and very fast.
Jan Schenkel.
=====
"As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld)
__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com
More information about the use-livecode
mailing list