3 Replies Latest reply on Apr 29, 2009 11:22 AM by inghamc

    Bug? Bad LegendMouseEvent .stageX, .stageY values for itemClick of !first LegendItem

    inghamc
      Under Flex SDK 3.2, I've set up a itemClick callback on a Legend, which passes me a LegendMouseEvent.

      I want to display a Popup at the mouse click coordinates to allow the user to change attributes of the chart line corresponding to the clicked LegendItem.

      Although I'm seeing that the LegendMouseEvent's .item, .localX and .localY fields are correct, the .stageX and .stageY values always fall within the bounding box of the first LegendItem (i.e. Legend.getChildAt(0)).

      I can work around this, but it seems like a misbehaviour of the SDK - has anyone else run into this problem?