Shall we pass arguments to addEventListener method

0 views
Skip to first unread message

Gerald Anto

unread,
Sep 25, 2009, 1:38:16 AM9/25/09
to flex_delhi_india_group
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
Reply all
Reply to author
Forward
0 new messages