How can I reference only a portion of a TextArea's htmlText block?

Posted by Charles Shoults on Stack Overflow See other posts from Stack Overflow or by Charles Shoults
Published on 2010-01-06T19:25:20Z Indexed on 2010/04/22 8:03 UTC
Read the original article Hit count: 191

I have a number of very poor-quality pdf documents that look like 80's photocopies, which I'm rebuilding in Flash (Flex Builder 3 MXML application), representing paragraphs of text in TextAreas so that selected portions can be bold or italic, or whatever I need. I need a way to apply toolTips or event listeners to individual words within the block of text to link those words to a glossary. I'm perfectly happy to create a definition panel that is populated and made visible with a mouseOver, but don't know how to do it to just a portion of the text.

Is there a good / clean / easy way to do this?

© Stack Overflow or respective owner

Related posts about actionscript-3

Related posts about flexbuilder