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, 1.0, 
1.0]" click="sendToken(event)" id="button_a"/>



      

Reply via email to