Matt S. wrote:
 
> can anyone recommend a way to have pixel-accurate mouse tracking? If I
> move my mouse slowly it pretty much grabs them all, but any fast
> movements result in huge gaps in the _xmouse tracking, so instead of
> being 1,2,3,4,5,6,7,8,9,10,11,12 etc, it'll be
> 1,4,6,9,12,15,16,23,30,35, etc. I need it it to be as accurate as
> possible. Can this be done?

Nope. I can't even get that in my C++ programs, and C++ runs up to 100 times
faster than Flash, maybe more.

It's not really a Flash or C++ problem, anyway--it's a Windows problem.
Windows sends a MOUSE_MOVE message whenever it can, but there is no way it
can keep up if you zip across 2,000 pixels in 1/10 second.

You'll see the same thing in any paint program, or, for that matter, on
those electronic signature pads at the store. Ok, the signature pads
probably use left-over 6502s, but even a fast processor can't keep up when
you zip across the screen.

You might try some sort of interpolation algorithm if you need every pixel,
like in a drawing program.

Cordially,

Kerry Thompson


_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to