no... it doesn't listen to the component.. it listens for an event. X
broadcasts the event that Y is listening for..

On Mon, Oct 12, 2009 at 10:32 AM, quantum_ohm <[email protected]>wrote:

>
>
> I've tried this... doesn't work since the addEventListener has to listen to
> X.mxml so X.addEventListener
> :-(
>
>
> --- In [email protected] <flexcoders%40yahoogroups.com>, Clint
> Tredway <grum...@...> wrote:
> >
> > inside an init function or similar just add something like this:
> > this.addEventListener(EVENT,function)
> >
> > then in your X component just dispatch a custom event that the Y
> component
> > is listening for
> >
> > "When you choose hope, anything is possible."
> > -Christopher Reeve
> >
>
>  
>



-- 
“When you choose hope, anything is possible.”
-Christopher Reeve

Reply via email to