Re: [flexcoders] Getting the label of a clicked button

2008-09-05 Thread Igor Costa
Cordova Here's a attempt private function GetAronLabel(e:Event):String { if(e.currentTarget is Button){ return e.currentTarget.Label; } } Regards Igor Costa www.igorcosta.org On Fri, Sep 5, 2008 at 11:14 PM, C

[flexcoders] Getting the label of a clicked button

2008-09-05 Thread Cordova Aaron
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? }