how to send extra-parameter to the event handler while calling the
addEventListener

T.addEventListener(FlexEvent.CREATION_COMPLETE,getTEvents(event,T.id));//
error//event
                                                                                
                                  //
undefined

public function getTEvents(e:FlexEvent,s:string):void
{
                        if(e.currentTarget.btnSelect!=null)
{e.currentTarget.btnSelect.addEventListener( MouseEvent.CLICK,btnSelectClick);}
}
private function btnSelectClick(e:MouseEvent):void
{

}

I'm getting error

I have to send the T.id since there many dynamic T


how to send extra-parameter to the event handler while calling the
addEventListener
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en
-~----------~----~----~----~------~----~------~--~---

  • ... HISSAM
    • ... Satish பேர கேட்டா சும்மா அதுருதில

Reply via email to