开发者

Global Coordinate Value on Mouse Click in Flex

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 th开发者_如何转开发at 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)


MouseEvent has stageX and stageY properties.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜