# Loading external files into Flash 8

**URL:** <https://forum.kirupa.com/t/loading-external-files-into-flash-8/184939>\
**Category:** Uncategorized\
**Created:** [April 9, 2006, 1:37pm UTC](https://forum.kirupa.com/t/loading-external-files-into-flash-8/184939 "2006-04-09T13:37:35Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![toxicmage](https://avatars.discourse-cdn.com/v4/letter/t/9f8e36/32.png) [@toxicmage](https://forum.kirupa.com/u/toxicmage)\
**Post date:** [April 9, 2006, 1:37pm UTC](https://forum.kirupa.com/t/loading-external-files-into-flash-8/184939/1 "2006-04-09T13:37:35Z")

</div>

Well i have used many tutorials on this…and not one will work :’(

This is the code i have been using

loadText.load(“textfile”);  
//creating the loadVarsText function  
loadText.onLoad = function() {  
dynamictextboxname.text = this.the=whatever text in notpad;  
};

I have no idea how to load my external text in, i have it all set up. Its all being saved into the same folders etc. But still nothing. Any help? ☹

---

<div class="post-metadata">

**Author:** ![999](https://avatars.discourse-cdn.com/v4/letter/9/c5a1d2/32.png) [@999](https://forum.kirupa.com/u/999)\
**Post date:** [April 9, 2006, 5:36pm UTC](https://forum.kirupa.com/t/loading-external-files-into-flash-8/184939/2 "2006-04-09T17:36:41Z")

</div>

```auto
loadText = new LoadVars();
loadText.load("textfile.txt");
loadText.onLoad = function() {
dynamictextboxname.text = this.the;
dynamictextboxname2.text = this.other;
};

```

textfile.txt:

```auto
the=the text in notepad&other=the other text in notepad

```
