Dispatching event from any component by either by using this or simply without this
can not be listen by each and every componet of the application,depends upon where you have write addListner. Check Event life cycle
in the flex. While if you are using the system manager for dispatching the event and
also for listenting the event so in that case you will always listen the event.
You can visit this link for making it simple to use and understand.By this way you can always listen your event
inside any component in your application.
Hope it will help you.
Shardul Singh Bartwal
The systemManager is near the top of the displayobject tree. Your component
is probably a node further down the tree. Based on where the dispatch
starts, other nodes can or can't intercept or listen to the event.
Thanks for the responses .
Shardul , from your response that is
" While if you are using the system manager for dispatching the event and
also for listenting the event so in that case you will always listen the event."
i mean to understand that using systemmanager for dispatching and listening to the events are the safest way which we can rely upon , and the other appraches are not that much safe .
Please correct me if i am wrong , waiting for your replies ,thanks in advance .
systemManager is a default property of all the UIComponent... which is at the top of the application/window which display all the child
if you dispatch an event from systemManage like "systemManage.dispatchEvent(event)" its like broad casting the event to all the UIComponets/childrens of that systemManager.ie. its scope is global
if you dispatch an event from a component like "this.dispatchEvent(event)" then the scope of the event is limited to its parent/container