Shall we pass arguments to addEventListener method
button2.addEventListener(MouseEvent.CLICK, show);
public function show(e:MouseEvent):void{
Aert.show("This is example for addEventListener");
}
suppose i want to pass a String argument(named flex) to this method.
is it possible? if so please tell me how to do it.
Thanks&Regards,
Gerald A
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---