Make sure the event is set to bubble. Once it has, the event should bubble up 
the chain to the parent where an event listener should catch it.

--- In [email protected], Angelo Anolin <angelo_ano...@...> wrote:
>
> Hi FlexCoders,
> 
> I have created a component consisting of some buttons which I am using in 
> another MXML component.
> 
> How would I trigger from the parent component an event which was done inside 
> the component.  For example, I clicked on a button on the component which I 
> embedded, that should map to an event on the parent containing the component.
> 
> I am looking to reuse the same component in other MXML files as well.
> 
> Thanks. Appreciate your inputs.
> 
> Regards,
> 
> Angelo
>


Reply via email to