# Loading text from an external file

**URL:** <https://forum.kirupa.com/t/loading-text-from-an-external-file/28543>\
**Category:** flash\
**Created:** [August 14, 2003, 8:11pm UTC](https://forum.kirupa.com/t/loading-text-from-an-external-file/28543 "2003-08-14T20:11:41Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![TheMuadib](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/themuadib/32/302_2.png) [@TheMuadib](https://forum.kirupa.com/u/TheMuadib)\
**Post date:** [August 14, 2003, 8:11pm UTC](https://forum.kirupa.com/t/loading-text-from-an-external-file/28543/1 "2003-08-14T20:11:41Z")

</div>

Well, I’m creating a site were I load text from external .txt files using the method explained in the Kirupa Tutorials, and I setted the text box to render the text as html…

The first problem wich I corrected, was that as the site was in portuguese, some characters didn’t appear in the swf prior to loading, this I corrected by changing the save format from ANSI, to Unicode (and that wrapped one)😛

The second problem has proven to be a little more difficult, as I said I setted the text box to render html, so I formated the .txt files with BR, B and I tags and it works fine, but I wanted to render urls and the A HREF doesn’t seem to work…☹

Does anyone know how I can include functioning links using this method? Maybe using some actionscript code…Ⓜ :sure:

---

<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:** [August 14, 2003, 8:30pm UTC](https://forum.kirupa.com/t/loading-text-from-an-external-file/28543/2 "2003-08-14T20:30:22Z")

</div>

myTextHTML.htmltext="\< a href=‘[http://www.kirupa.com](http://www.kirupa.com)’ \>Kirupa\< /a \>"; should do it. If it doesnt I don’t know

---

<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:** [August 14, 2003, 8:45pm UTC](https://forum.kirupa.com/t/loading-text-from-an-external-file/28543/3 "2003-08-14T20:45:22Z")

</div>

No it doesn’t seem to work, thx anyway…:-\

---

<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:** [August 14, 2003, 8:47pm UTC](https://forum.kirupa.com/t/loading-text-from-an-external-file/28543/4 "2003-08-14T20:47:48Z")

</div>

have a fla?
