Cursor 'effect'

Hi. I’ve been trying to somehow make this effect, and I’ve come up with smt like this:
http://bohner.asdf.pl/misc/mouse_move.html

Basicly you position your mouse, click, and after realesing there are three scripted moves. On the last one, the cursor returns to the new mouse _x, _y pos (if you have moved it durring the moves).

It still has some bugs, and it probably could be done better. Any suggestions on how to make it better welcome.

I don’t take credit for the move.MC prototype.

Source:
http://bohner.asdf.pl/misc/mouse_move.rar