Can there be a custom method in the mxml component file?
Which can be called from the parent mxml project file?
Is this possible at all?
Please advise if yes or how can i achieve this if not. My
exact requirement is that i want to update the mxml component which
is a data grid from the parent mxml file method through some method
If you create a public function in an <mx:Script> block
in your custom component, it can be called by the parent
However, you may want to consider using data binding to do
this instead, as it is more maintainable and easier to read. You
can declare a [Bindable] public field in your custom component.
Then within the component, bind the list's data to the field; and
within the application, bind the component's public field to your