# TextEvent.LINK doesn't want to work under these circumstances

**URL:** https://forum.kirupa.com/t/textevent-link-doesnt-want-to-work-under-these-circumstances/303882
**Category:** Uncategorized
**Created:** [January 28, 2010, 5:37pm UTC](https://forum.kirupa.com/t/textevent-link-doesnt-want-to-work-under-these-circumstances/303882 "2010-01-28T17:37:42Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Stickeroo](https://avatars.discourse-cdn.com/v4/letter/s/e19adc/32.png) [@Stickeroo](https://forum.kirupa.com/u/Stickeroo)
#### Post date: [January 28, 2010, 5:37pm UTC](https://forum.kirupa.com/t/textevent-link-doesnt-want-to-work-under-these-circumstances/303882/1 "2010-01-28T17:37:42Z")

</div>

This is driving me nuts!

I have a symbol on the stage and under a mask at design time. During the course of events, I add another movieclip to the masked clip already on the stage.

This newly-added clip contains yet another clip which contains, among other things, my textfield.

So the hierarchy looks like this:

Stage \> Masked clip \> Clip \> Clip with textfield

That textfield’s (named ‘tf’) htmlText property has a standard link, something like \<a href=“event:[http://www.url.com](http://www.url.com)”\>Click here\</a\>

After assigning the htmlText, I add the event listener:

```auto

tf.addEventListener(TextEvent.LINK, onTextEvent);

function onTextEvent (evt:TextEvent):void
{[INDENT] trace (evt.text);
[/INDENT]}

```

However, the link itself doesn’t even switch to a hand cursor when the mouse is over it, so forget even hoping the even listener will fire!

If I add the clip directly to the stage, it “works,” but adding it there isn’t an option. As far as I know, I’ve ensured that all clips along the way have mouseChildren set to true: I just can’t think of why it wouldn’t be working as-is. I created a simple test in a new file, and that appeared to work…uggh!

If anyone has any TextEvent input, I’d love to hear it. FYI, I searched before posting this, but nothing I read made much of a difference…Thanks in advance for any help…
