PDA

View Full Version : simulate mouse click on stage?


acowbear
12-20-2008, 08:41 PM
Hey does anyone know if there is a way to simulate a mouse click on the stage using action script?

I have buttons that move around, and the action script to simulate a mouse click at a specific point in the flash movie, and if a button happens to be under that spot at that time, it is activated.

tBeck
12-20-2008, 09:28 PM
It's not possible to simulate system mouse clicks with flash. You can however use a virtual mouse which can trigger events in flash. Check out http://www.senocular.com/?id=2.1 for more information.

EDIT:

You *COULD* create a program where you would send a command through sockets to a java-based (doesn't have to be java) application which would trigger an actual system click, but this would take alot of work.

acowbear
12-20-2008, 09:49 PM
ok. Thanks!