Dragging Lines in a Field
Scott Raney
raney at metacard.com
Sun Apr 21 13:37:01 EDT 2002
On Sat, 20 Apr 2002 Richard Gaskin <ambassador at FourthWorld.com> wrote:
> Scott Raney wrote:
>
> > On Fri, 19 Apr 2002 Tariel Gogoberidze <PMDA at earthlink.net> wrote:
> >>
> >> So, I modified script a little (see below) and now it seems to be
> >> stable in all versions of MC.
> >> note: I'm sure it can be done in more efficient way, but I cooked it
> >> very quickly and my goal was to just stabilize the script in MC 2.4.2
> >
> > Broken record time:
> >
> > 1) Never use "repeat until the mouse is whatever"
> > 2) Never use idle, mouseStillDown, or mouseWithin messages
> >
> > Think of it like going for a long drive after the oil pressure light
> > in your car's dashboard goes on. You'll learn the lesson the next day
> > when your car starts smoking profusely and burning a quart of oil
> > every 10 miles. Not to mention what your friends and other fellow
> > drivers will think of your automotive skills.
>
> So the alternative handler you're suggesting looks like...?
>
> Advising against what not to do is lesser task. More importantly, what is
> it you recommend they do?
OK, so the loop in the broken record this time is incomplete, though
of course the documentation includes the necessary additional
information if you look up any of those deprecated things: use the
messages (mouseMove, mouseRelease, etc.).
Regards,
Scott
********************************************************
Scott Raney raney at metacard.com http://www.metacard.com
MetaCard: You know, there's an easier way to do that...
More information about the metacard
mailing list