# Detect when user rolls over certain text in html field?

**URL:** https://forum.kirupa.com/t/detect-when-user-rolls-over-certain-text-in-html-field/253503
**Category:** flash
**Created:** [March 2, 2008, 4:58am UTC](https://forum.kirupa.com/t/detect-when-user-rolls-over-certain-text-in-html-field/253503 "2008-03-02T04:58:50Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![slindberg](https://avatars.discourse-cdn.com/v4/letter/s/d07c76/32.png) [@slindberg](https://forum.kirupa.com/u/slindberg)
#### Post date: [March 2, 2008, 4:58am UTC](https://forum.kirupa.com/t/detect-when-user-rolls-over-certain-text-in-html-field/253503/1 "2008-03-02T04:58:50Z")

</div>

I’d like to do a term/hint rollover kind of functionality. I have text from XML displaying in an HTML-formatted field, but I’m not sure how to flag a particular word for this. When creating a hyperlink in flash HTML fields, you can of course detect a lick of that link, but can you do anything about when a user rolls over it?

If that’s not possible, what work-arounds might there be to simulate this effect?

I wonder about drawing an invisible clip over the word to which I can add a rollover listener. Doing this would require I know the coords that define a box around the word in the text field - is that possible?
