# htmlText anchor tag killing me

**URL:** <https://forum.kirupa.com/t/htmltext-anchor-tag-killing-me/286620>\
**Category:** flash\
**Created:** [April 17, 2009, 7:15pm UTC](https://forum.kirupa.com/t/htmltext-anchor-tag-killing-me/286620 "2009-04-17T19:15:41Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![akrantz](https://avatars.discourse-cdn.com/v4/letter/a/f9ae1b/32.png) [@akrantz](https://forum.kirupa.com/u/akrantz)\
**Post date:** [April 17, 2009, 7:15pm UTC](https://forum.kirupa.com/t/htmltext-anchor-tag-killing-me/286620/1 "2009-04-17T19:15:41Z")

</div>

hey guys,  
been awhile since I have posted for help but this one is killing me. for some reason the href tag in my AS3 code will not execute. It works fine when I publish the .swf but when I embed the swf into an html page and try to click the link in my browser the link no longer works. Any help would be GREATLY appreciated.

Here is my code

```auto

newPortText.portText_txt.htmlText = "<font color='#D59C1A'><b>Link</b></font><a href ='http://www.adobe.com/'>www.adobe.com</a>";

```

Thanks  
-A
