# Link in TextField

**URL:** <https://forum.kirupa.com/t/link-in-textfield/232918>\
**Category:** flash\
**Created:** [July 18, 2007, 6:44pm UTC](https://forum.kirupa.com/t/link-in-textfield/232918 "2007-07-18T18:44:19Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![cesig](https://avatars.discourse-cdn.com/v4/letter/c/278dde/32.png) [@cesig](https://forum.kirupa.com/u/cesig)\
**Post date:** [July 18, 2007, 6:44pm UTC](https://forum.kirupa.com/t/link-in-textfield/232918/1 "2007-07-18T18:44:19Z")

</div>

Hi,  
I’m trying to add a simple link to a TextField so that it’s clickable and will trigger the hand cursor when hovered over. I’ve tried to use a TextFormat.url function in combination with TextEvent.LINK, but that doesn’t do anything for me. In fact, I can’t get TextFormat.url to even be applied to the Text!

If I have this code:

```auto
hyperlinkTF.url = "http://www.google.com";
 __hyperlink = new TextField();
__hyperlink.addEventListener(TextEvent.LINK, handleLinkClick, false, 0, true);
            
__hyperlink.defaultTextFormat = hyperlinkTF;
__hyperlink.htmlText = "Google";
            
trace(__hyperlink.htmlText);

```

…I end up with a non-clickable link that does not trigger the hand cursor. The trace is:

```auto
<P ALIGN="LEFT"><FONT FACE="Times New Roman" SIZE="12" COLOR="#000000" LETTERSPACING="0" KERNING="0">Google</FONT></P>

```

I can’t find ANYTHING documenting this issue.

And yes, I CAN use a CLICK listener, but I don’t get the hand cursor that way. Supposedly the LINK event is supposed to trigger the hand cursor in some circumstances.

Can someone help me?
