Skip to main content
July 9, 2009
Question

How to get the element at x / y position

  • July 9, 2009
  • 1 reply
  • 748 views

How can I get the element , char or char postion in a textFlow at a given x/y position (for example a MouseEvent)?

This topic has been closed for replies.

1 reply

Adobe Employee
July 9, 2009

Check out this post:

http://forums.adobe.com/message/1987580#1987580

Once you have the absolute position in the TextFlow use textFlow.findLeaf to get the element.

Richard