Hi Vandana,

this error is due to different parameter types. In
handleItemDoubleClickEvent, you are setting parameter type as
ListEvent and in treeChanged function you are calling
handleItemDoubleClickEvent with a parameter type of MouseEvent.

If you need to call handleItemDoubleClickEvent then set default value
of the parameter as null or parameter type * i.e.,
handleItemDoubleClickEvent(event:*);

Or
private function handleItemDoubleClickEvent(event:ListEvent =
null):void {
       // something
             }

In this case you don't need to send any parameter when you are calling
from treeChanged.

regards,
Sumant

On Oct 5, 9:08 pm, vandana flex <[email protected]> wrote:
>  private function handleItemDoubleClickEvent(event:ListEvent):void {
>        // something
>              }
>
>   private function treeChanged(event:MouseEvent):void {
>        // something
> handleItemDoubleClickEvent(event)
>       }
>
> i want to use handleItemDoubleClickEvent() in treeChanged(), but it is
> throwing error...
> How to do that?
>
> Any Help.......????
>
> Regards
> Vandana
--~--~---------~--~----~------------~-------~--~----~
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