I had the same problem, the solution was to 'cap' the evnts..
blah.ondragmove=function(evnt){
var obj=evnt.getTarget();
if (!obj.dragging){
obj.dragging=true;
// ..
// do your drag animation hear..
// ..
}
}
What this will do is ensure that the eventlistener doesn't try to
react to more ondragmove events than the client machine can handle.
So instead of your object being redrawn every time your mousepointer
passes a pixel, it will be redrawn every 5 pixels
(an average on slower machines, could be any number)
This in my experience drasticly improved the 'smoothness' of my
dragg animation
----- Original Message -----
From: "Al Byers" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, March 17, 2001 12:45 PM
Subject: [Dynapi-Help] Drag responsiveness
> Are there ways to improve the responsiveness of the drag event? My drag
> event operation is complex, so the cursor gets way ahead of the
> movement. I guess I would like to drop events.
>
> Al Byers
>
>
> _______________________________________________
> Dynapi-Help mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/dynapi-help
_______________________________________________
Dynapi-Help mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dynapi-help