# LoadVariables from .txt where the .txt file is called as a variable

**URL:** https://forum.kirupa.com/t/loadvariables-from-txt-where-the-txt-file-is-called-as-a-variable/296572
**Category:** flash
**Created:** [September 16, 2009, 8:38pm UTC](https://forum.kirupa.com/t/loadvariables-from-txt-where-the-txt-file-is-called-as-a-variable/296572 "2009-09-16T20:38:13Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![jonahholliday](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/jonahholliday/32/2097_2.png) [@jonahholliday](https://forum.kirupa.com/u/jonahholliday)
#### Post date: [September 16, 2009, 8:38pm UTC](https://forum.kirupa.com/t/loadvariables-from-txt-where-the-txt-file-is-called-as-a-variable/296572/1 "2009-09-16T20:38:13Z")

</div>

I want to load different .txt files into my flash movie, based on the url.

ex: [http://mysite.com?txtfile=textfile1](http://mysite.com?txtfile=textfile1)

flash would use: loadVariables(“textfile1.txt”);

Hope this explains it… Please help.
