auto click

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
tsalexey544
Forum Commoner
Posts: 41
Joined: Thu Jun 22, 2006 11:19 am

auto click

Post 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.
User avatar
aerodromoi
Forum Contributor
Posts: 230
Joined: Sun May 07, 2006 5:21 am

Re: auto click

Post 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).
User avatar
JayBird
Admin
Posts: 4524
Joined: Wed Aug 13, 2003 7:02 am
Location: York, UK
Contact:

Post by JayBird »

Moved to Client Side
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Post 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.
Post Reply