Page 1 of 1

auto click

Posted: Thu Jun 29, 2006 12:43 am
by tsalexey544
I am making a game and I wanted to ask if it is possible with php to move the mouse on the screen an click somewere on the game.

Re: auto click

Posted: Thu Jun 29, 2006 1:27 am
by aerodromoi
tsalexey544 wrote:I am making a game and I wanted to ask if it is possible with php to move the mouse on the screen an click somewere on the game.
It certainly has to be a client side script (which means: no php) and imho JavaScript doesn't allow for that.
ActionScript does, but most people I know will get **** if their cursor starts running around the screen on its own (unless it's some kind of flash tutorial).

Posted: Thu Jun 29, 2006 2:54 am
by JayBird
Moved to Client Side

Posted: Thu Jun 29, 2006 4:31 am
by Chris Corbyn
No it's not possible and I'm sure if you think about it you can understand why. If you can't control your mosue you can't even do basic things like close the window. Imagine a XXX advertisment where your cursor is forced onto it... you don't want to click it, you may only be 9 years old yet the only way to get your cursor moving again is to click the Ad.