Hello,
Question on disipatching events that I hope someone can clear up...
I have two custom components, A and B created at the Application level.
I want to send a custom event from A to B.
Inside of B creationComplete, I have addEventListener(myEvent,
myBListenerFunc);
Inside of A, on a
When you are adding an event listener the only thing that tells who is to
dispatch the event is who's addEventListener() is called. I mean if you are
calling addEventListener(...) this means that you are listening to 'this'
that will dispatch the event. If a.addEventListener(...) then 'a' will
2 matches
Mail list logo