Coda Clips

Mouse Click Event AS3

myButton.addEventListener(MouseEvent.CLICK, myFunction, false, 0, true);
public function myFunction(e:MouseEvent):void {
	trace("do Something");
}

Added to by Hernan

Install Clip


Sponsored Links: