Hi In your componenet write getInstance method.
in your main application you can call ComponenetName.getInstance().methodName (make sure method is public in your child component). On Wed, Nov 10, 2010 at 1:56 AM, cholid ridwan <[email protected]> wrote: > how to call a function in component from main application mxml? > thanks > > -- > 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]<flex_india%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/flex_india?hl=en. > -- 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.

