Wednesday, May 16, 2012

Calling The MouseClick Event Programetically UsingAction Script

Let's say you have a button call myButton , you can use below line to call the Mouse Click or "click" event in Action Script


myButton.dispatchEvent(new MouseEvent(MouseEvent.CLICK));

No comments:

Post a Comment