views:

65

answers:

1

In Flex, I am using the following code:

I am using event.event.localX to get the x-axis but it is with reference to local coordinates. How can I get or pass the value of the HBox's xAxis that is clicked by the user so that I can add it in the xAxis of the local coordinate.

In other words, I need the global coordinate value? (i.e. x-axis & y-axis)

+1  A: 

MouseEvent has stageX and stageY properties...

best of luck, jeremy

jeremy.mooer