# Dynamic Text

**URL:** <https://forum.kirupa.com/t/dynamic-text/34624>\
**Category:** Uncategorized\
**Created:** [November 4, 2003, 4:57pm UTC](https://forum.kirupa.com/t/dynamic-text/34624 "2003-11-04T16:57:46Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![lvimpeny](https://avatars.discourse-cdn.com/v4/letter/l/cc9497/32.png) [@lvimpeny](https://forum.kirupa.com/u/lvimpeny)\
**Post date:** [November 4, 2003, 4:57pm UTC](https://forum.kirupa.com/t/dynamic-text/34624/1 "2003-11-04T16:57:46Z")

</div>

Really dumb question…how do I create (proper syntax)a hyperlink in a portion of text loaded from a .txt file

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [November 4, 2003, 4:59pm UTC](https://forum.kirupa.com/t/dynamic-text/34624/2 "2003-11-04T16:59:16Z")

</div>

You can use the \<a href\> html tag on your external txt file and of course enable html on your textfield.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [November 4, 2003, 5:53pm UTC](https://forum.kirupa.com/t/dynamic-text/34624/3 "2003-11-04T17:53:14Z")

</div>

I tried all the above & even found an example on this forum  
It shows the tags instead of the link???

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [November 4, 2003, 5:58pm UTC](https://forum.kirupa.com/t/dynamic-text/34624/4 "2003-11-04T17:58:18Z")

</div>

You need to use:

```auto
myTextField.html = true;
myTextField.htmlText = myVar;

```

Where myTextField is the instance name for your textfield and myVar is the variable inside the txt file.
