1 Reply Latest reply on Feb 13, 2011 11:53 PM by Flex harUI

    NavigatorContent eating all my events!?!

    Gregory Lafrance Level 6

      I am converting an application to Flex 4, and am seeing a strange issue when I use NavigatorContent instead of Canvas as the views of a ViewStack.

       

      The container hierarchy of the views is as follows:

       

      ViewStack

         -- Canvas

              -- Panel

                   -- VBox

                        -- LineChart

       

      I add a MouseEvent.MOUSE_DOWN event listener on the VBox, and add a MouseEvent.CLICK to the LineChart.

       

      Everything is fine with the above container hierarchy, but when I use a NavgatorContent instead of a Canvas for the views, the LineChart never gets its event, the NavigatorContent is hogging the events.