You certainly can use events to do this however a direct way would be to give the component in the application and id name and assuming the function is accessible i.e. public you can call it directly in actionscript.
for example if you have the component on the stage with say id="myComponent" and that component has a public function called "myFunction" then in actionscript you could just do
Perhaps not the most elegant way, but if you are just needing a simple and direct way that will certainly do it. The other way would indeed be to set up a custom event and dispatch it.
Hope this helps,
Thanks! This component is a skin Class, it is like
Do you mean I need to put it inside my application? OR create an instance in my application and use the id of that instance to call it?
It is a MXML component, can I create an instance? It is not a class
Declare the method as public and then create an object of the component and then you can access the method