Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Adobe AIR Development

Posts: 17
Registered: ‎03-22-2011
My Device: BlacBerry Tablet OS
My Carrier: Developer
Accepted Solution

get mouse position on screen

How to use local X ,local Y properties of mouse click event.....

Any example pls ....

Posts: 216
Registered: ‎02-18-2010
My Device: 9350,8520
My Carrier: no

Re: get mouse position on screen

use mouseX and mouseY to get the position of the mouse.

Posts: 6,541
Registered: ‎10-27-2010
My Device: HTC One, PlayBook, LE Z10, DE Q10
My Carrier: Verizon

Re: get mouse position on screen

localX and localY are from MouseEvent which is the local x,y of the control that produced the event.