# Loading External .txt File

**URL:** <https://forum.kirupa.com/t/loading-external-txt-file/244938>\
**Category:** flash\
**Created:** [November 23, 2007, 7:57pm UTC](https://forum.kirupa.com/t/loading-external-txt-file/244938 "2007-11-23T19:57:11Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![wsp](https://avatars.discourse-cdn.com/v4/letter/w/e47774/32.png) [@wsp](https://forum.kirupa.com/u/wsp)\
**Post date:** [November 23, 2007, 7:57pm UTC](https://forum.kirupa.com/t/loading-external-txt-file/244938/1 "2007-11-23T19:57:11Z")

</div>

I have seen a tutorial on this, but it was very un-thorough and it didn’t have it the way I was looking at. Is there any way to load individual variables from a .txt file, like so:

[level 1]  
enemy1=5  
enemy2=10  
enemy3=15

[level 2]  
etc…

It’s done in some other Flash games and in Soldat, and it would make scripting ALOT easier as I can change all of the variables without loading Flash. Thanks very much for your time and any help given. Wsp.
