Button in a TextArea?

Hi all,

Is it possible to put a button or interactive text that can listen for mouse events in a scrollable text area?



use htmlText

Thanks for the reply - please forgive me if this is a silly question, but does using htmlText just allow for a link to be clickable? I don’t know how you can attach an eventListener to the link & make flash react to the click rather than the html page.


there is a listtener for that, search in the help of flash for “TextEvent.LINK” there you will find a example that should help you out. Mainly the it goes like this:

myTextField.addEventListener(TextEvent.LINK, linkHandler);

Just what the doctor ordered - thankyou very much!


welcome :slight_smile:
glad to know that you found a way out :wink:

use the html text in scroll area.