On Fri, Sep 25, 2009 at 8:27 PM, manish sankhe <[email protected]>wrote:
> hi
> simply try this one
>
> button2.addEventListener(MouseEvent.CLICK, show);
> this.addEventListener("myDataEvent", passData);
>
>>
>>
>> public function show(e:MouseEvent):void{
>> this.dispatchEvent(new DataEvent("myDataEvent",false,false,"flex");
>> }
>
>
> public function passData(eve:DataEvent):void{
> Alert.show("hiii-----------"+eve.data);
>
> }
>
>
>
>
>
>
Thanks & Regards
Manish J. Sankhe
9717004149
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---