Scrolling a Card?
Ken Norris
pixelbird at interisland.net
Sun Feb 22 18:43:16 EST 2004
Hi Frank,
> Date: Sun, 22 Feb 2004 00:02:42 +0000
> From: Frank Leahy <frank at backtalk.com>
> Subject: Re: Scrolling a Card?
> Here's code I use to scroll an image in the direction that the mouse is
> moving.
----------
Thanks, I'm looking it over.
Hmmm...couple of things:
1) I might try to convert it to a mouseMove because polling mouse events
(repeat while the mouse is down...) hogs the processor.
2) It doesn't appear to have bounds. What happens if you try to drag the
image past the hScroll or vScroll limits of the scrollbars? Does the engine
stop it automatically? Does it throw an error?
Ken N.
More information about the use-livecode
mailing list