Simulate mouse click


/ Published in: ActionScript 3
Save to your folder(s)

Code to signal that a button/mc has been clicked.


Copy this code and paste it in your HTML
  1. mc.getChildByName("name").dispatchEvent(new Event(MouseEvent.CLICK));

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.