When a button is clicked is there a way to determine the label of the button?
I have tried something like this but its a no-go so far.
public function sendToken(e:MouseEvent)
{
var clickedButtonLabel:String = e.SelectedItem.label?
}
mx:Button x=143 y=26 label=A width=35 fillAlphas=[1.0, 1.0,
Cordova
Here's a attempt
mx:Button/
mx:Script
private function GetAronLabel(e:Event):String {
if(e.currentTarget is Button){
return e.currentTarget.Label;
}
}
/mx:Script
Regards
Igor Costa
www.igorcosta.org
On
2 matches
Mail list logo