Calling a function on text hover
Posted on 2005-04-18
I would like to know if there is any way to call a function in Flash when the user hovers over a particular character/s in a text box.
For example in the text "Roll over THIS to blah blah...", when the user rolls over the text "THIS", I need to call a function i've defined.
My main problems are -
1. How do I catch a hover on a text box?
2. How do I know over which characters the hover has occured?
The text box content is dynamically being read from an XML file, with tags indicating the characters that serve as the "hit-area" for the roll over
Thanks! : )