PDA

View Full Version : Control mouse movement with code



yellowjacket
March 15th, 2003, 11:40 AM
Is there a way to control mouse movement with actionscript.

Based upon an event I want to programmatically move the mouse to a specific location.

Thanks,

yj

Jubba
March 15th, 2003, 11:45 AM
no. you can't use AS to move the mouse pointer.

yellowjacket
March 15th, 2003, 11:57 AM
Thanks,

What about issuing a mouseup? Here's the problem.
In the game I'm making people click on an object and drag it.
When their turn expires I want to force them to release the object.

Any suggestions?

YJ

mlk
March 15th, 2003, 02:00 PM
you'd probably need to use the getTimer() function and then stopDrag()....