Controlling the mouse

is there a way of controlling the mouse using actionscript?

something like

_root.onEnterFrame = function(){
_root.Mouse._x=275
_root.Mouse._y = 200
}

I want it to like overide the normal mouse movement…

remember seeing a game where the mouse moved if you lost… will try to find it and post a link. Cheers

Sam