# Help: Loading external .txt file

**URL:** https://forum.kirupa.com/t/help-loading-external-txt-file/231309
**Category:** flash
**Created:** [July 3, 2007, 4:23pm UTC](https://forum.kirupa.com/t/help-loading-external-txt-file/231309 "2007-07-03T16:23:11Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![mixeeplikstick](https://avatars.discourse-cdn.com/v4/letter/m/7ea924/32.png) [@mixeeplikstick](https://forum.kirupa.com/u/mixeeplikstick)
#### Post date: [July 3, 2007, 4:23pm UTC](https://forum.kirupa.com/t/help-loading-external-txt-file/231309/1 "2007-07-03T16:23:11Z")

</div>

im trying to create a loadVariableNum() event in my flash movie. but i had this little problem that obviously i can’t work it out.

i am segregating the files needed for the movie to function properly…

SCENARIO: a folder named as “Directory” is my main folder where all my .txt files and subfolders(that contains my flash movies) are located.

PROBLEM: i want a flash movie in the subfolder named “Movies” to dynamically post or display a specific text with a specific variable in to my dynamic text box inside the flash movie by using the code below:

```auto

loadVariablesNum("txtFile.txt",1,"POST");

```

but my flash movie won’t display the text content of “txtFile.txt”, instead it flags error messages:

> 

Error opening URL “file:///C|/Documents%20and%20Settings/mixeeplikstick.DEV%2DEN/Desktop/My%20Work/Directory/Movies/txtFile.txt”

* * *

i know there is something missing on my code…  
help please! :jail:
