1 Reply Latest reply on Nov 18, 2006 10:01 AM by Gunar L.

    Direction of propagating events

    B.O.H.R.
      I/ve got folowing structure of components: MainWindow includes MinorCanvas includes SamlpeElement <- these are components,

      In which direction event dispathed in MinorCanvas will be propagated ? will reach MainWindow ? or SampleElement ? or both ?
        • 1. Re: Direction of propagating events
          Gunar L.
          Events are always dispatched bottom up. For example if you click the SampleElement, the event should first be recognized by the SampleElement, after that by the MinorCanvas and in the end by the MainWindow.
          You can test it by adding an eventlistener to all the components and trace in the listener function the currentTarget of the event