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