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?

Thanks,

PMF

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.

PMF

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!

PMF

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

use the html text in scroll area.