I’m now doing an application which has ONE option. If select this option, the mouse pointer will be auto go to the forward button on a panel in the interface at the end of the MC. So, what should i do?? Hope someone could help me out. Thanks!!
If I am understanding correctly…
There is no way to manipulate where the mouse moves other than the user moving his/her own mouse.
But, this option is needed in my application. So, what is the best way for me to impliment this??
try this- cursor is instance name of a movieClip of a cursor. forwardbutton is the instance of the forward button.
Frame1-
Mouse.hide()
startDrag("cursor",true)
optionbutton.onPress=function(){
stopDrag()
cursor._x=_xmouse
cursor._y=_ymouse
this.onEnterFrame=function(){
cursor._x+=(forwardbutton._x-cursor._x)/5
cursor._y+=(forwardbutton._y-cursor._y)/5
}
}
Jugnus method would work for directing a movie clip there, but it won’t work directing the mouse there… just to note that… hehe.
lostinbeta, if this is not the way to do it, what else can i do?? Or maybe someone could help me?? Thanks.
Kartiks method (or something similar) is pretty much your only option. Using a faux cursor to point the viewer in the right direction is about the best you are getting to controlling the viewers mouse. I don’t think there is any programming language out there that has the ability to actually control the users mouse position, that would definitely be a high security risk.