Translate

> | > How to get the button id on click event

How to get the button id on click event

Posted on Saturday, April 30, 2011 | No Comments

private function clickEvent(clickEvent:Event):void
{
var buttonName:String = clickEvent.currentTarget.id;
}
In the button call the function(clickEvent(event)) on click event

Leave a Reply

Powered by Blogger.