# External txt into dynamic text field

**URL:** <https://forum.kirupa.com/t/external-txt-into-dynamic-text-field/34233>\
**Category:** Uncategorized\
**Created:** [October 30, 2003, 4:29am UTC](https://forum.kirupa.com/t/external-txt-into-dynamic-text-field/34233 "2003-10-30T04:29:07Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![outro\_lugar](https://avatars.discourse-cdn.com/v4/letter/o/35a633/32.png) [@outro\_lugar](https://forum.kirupa.com/u/outro_lugar)\
**Post date:** [October 30, 2003, 4:29am UTC](https://forum.kirupa.com/t/external-txt-into-dynamic-text-field/34233/1 "2003-10-30T04:29:07Z")

</div>

This is really a simple thing and I thought I knew how to do it. I have flash file with a dynamic text field in it with a var name myContent. And I have a text.txt file. How do I get the information (it’s just a paragraph of stuff - no variables or any other data, just plain text) in the txt file to appear in the dynamic text field when I run the movie?

---

<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:** [October 30, 2003, 4:39am UTC](https://forum.kirupa.com/t/external-txt-into-dynamic-text-field/34233/2 "2003-10-30T04:39:36Z")

</div>

use LoadVars();

the help file will give you its basic use. If you get stuck, please let us know. We’ll be glad to help.

---

<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:** [October 30, 2003, 5:28am UTC](https://forum.kirupa.com/t/external-txt-into-dynamic-text-field/34233/3 "2003-10-30T05:28:24Z")

</div>

thanks, i think that worked but is there a way to do laod the text from the .txt file as a string instead of URL-encoding?  
(I am planning on loading paragraphs of text, not just one or two words of variables)

---

<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:** [October 30, 2003, 10:03am UTC](https://forum.kirupa.com/t/external-txt-into-dynamic-text-field/34233/4 "2003-10-30T10:03:11Z")

</div>

Hey there,

Kinda a flash newbie but flash does load all the content kept in the text file - if you just format your plain text document the way you want your paragraphs, it loads the text in fine (well it worked for me when I tested it).

If you’re still having problems, have a look at the online documentation (F1) and go through the first tutorial - that’s where I learnt how to do it!

Hope this helps,

– Garatheus –
