Skip to main content
Jul 9, 2009 2:45 AM UTC
Question

How to get the element at x / y position

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 is closed to new replies. Start a new post to keep the conversation going.

1 reply

Inspiring
Jul 9, 2009 3:16 AM UTC

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

Translate