Communication between Components (fireEvent)???


i have two independent components and want to realize the communication between them with event firing. So when i click a Button in content pane a “ThisButtonClickEvent” is fired.
Now i want another component (i.E. navigation bar) to react to that Event. I didn’t find yet a way to add an appropriate listener to the navigation bar that listens to “ThisButtonClickEvent”.

How can i solve this or organize the communication between independent components?

Thx in advance!

You probably can’t add the listener to the navigation bar since events only travel from a component to its parent(s). Assuming I understood what you were after I would add the listener to the first container that holds both the button and the navigation bar, and call the method controlling the navigation bar from there.