# Getting coordinates of Text In TextField

**URL:** <https://forum.kirupa.com/t/getting-coordinates-of-text-in-textfield/232823>\
**Category:** flash\
**Created:** [July 18, 2007, 3:59am UTC](https://forum.kirupa.com/t/getting-coordinates-of-text-in-textfield/232823 "2007-07-18T03:59:10Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mightyRGB](https://avatars.discourse-cdn.com/v4/letter/m/b487fb/32.png) [@mightyRGB](https://forum.kirupa.com/u/mightyRGB)\
**Post date:** [July 18, 2007, 3:59am UTC](https://forum.kirupa.com/t/getting-coordinates-of-text-in-textfield/232823/1 "2007-07-18T03:59:10Z")

</div>

Hi everyone,

I’m working with a simple textfield that loads htmltext from an xml file. After the text loads in the textfield, is there a way to get the coordinates of content contained in a specific xml tag? I want to display an icon across from designated words or phrases, and I was wondering what would be the best way of doing this.

Thanks,  
newbie :puzzled:
