Kundan, your question is bit confusing As far my understanding you want to call mxml function from command.
I would suggest that we can have callback method refrence that wil get call thru command. On Thu, Mar 19, 2009 at 8:51 AM, GAGAN anand <[email protected]> wrote: > Hi Kundan > > In mxml if you are dispatching the cairngorm event then pass the method > as a parameter in the event that you want to execute and hold the reference > in that event class. > > Then In command class, get the method reference through the instance of the > event class and execute. > > Hope this helps. > > Regards > Gagan Deep > > 2009/3/19 kundan singh <[email protected]> > > Hi friends, >> >> supoose I have an mxml in which there is a method and a commnd . >> is there any way that can directly acess the method from command . >> >> I don`t want to use bind method(in which i have taken a variable in model >> and making setter method to call the function); >> >> bcz bind property make unnecessary call. >> >> thanks and regards, >> Singh >> >> >> --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

