Create custom event that extends the MouseEvent and when you dispatch the
event, dispatch this event. that will have user defined variables.

On Sat, Sep 26, 2009 at 6:48 AM, Veena Chezhian
<veenachezhia...@gmail.com>wrote:

> Yes. It is possible. I think you would need to set the event.value property
> to your desired value when you are dispatching the event.
>
>
> On Thu, Sep 24, 2009 at 10:37 PM, Gerald Anto 
> <flex.gerald.a...@gmail.com>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
>>
>>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to flex_india@googlegroups.com
To unsubscribe from this group, send email to 
flex_india+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to