Hi Kashi,
can you please say detailed description for your syntax.
am expecting your reply.

Thanks&Regards,
Gerald A

On Fri, Sep 25, 2009 at 12:32 PM, kashinath pai <[email protected]>wrote:

> Hi Gerald,
>
> It is quite simple
>
> button2.addEventListener(MouseEvent.CLICK,function(e:MouseEvent){show(e)});
>
> This may work
>
> Regards,
> Kashi
>
>
>
> On Fri, Sep 25, 2009 at 11:07 AM, Gerald Anto 
> <[email protected]>wrote:
>
>>
>> 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
>>
>>
> >
>


-- 
Thanks & Regards,
A  Gerald

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to