# Load variable from external TXT file

**URL:** <https://forum.kirupa.com/t/load-variable-from-external-txt-file/40790>\
**Category:** flash\
**Created:** [January 21, 2004, 10:55pm UTC](https://forum.kirupa.com/t/load-variable-from-external-txt-file/40790 "2004-01-21T22:55:02Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![sss](https://avatars.discourse-cdn.com/v4/letter/s/57b2e6/32.png) [@sss](https://forum.kirupa.com/u/sss)\
**Post date:** [January 21, 2004, 10:55pm UTC](https://forum.kirupa.com/t/load-variable-from-external-txt-file/40790/1 "2004-01-21T22:55:02Z")

</div>

hi,  
I want to be able to change an url on a trigger with an external .txt file.

like this:

getURL(“url 1 FromTXT file”);  
getURL(“url 2 FromTXT file”);

* * *

In my TXT file:

url1= [http://www.apple.com](http://www.apple.com)  
url2 = [http://www.microsoft.com](http://www.microsoft.com)

* * *

Result  
getURL(“[http://www.apple.com](http://www.apple.com)”);  
getURL(“[http://www.microsoft.com](http://www.microsoft.com)”);

Some one know if I can do that and how?

Thank you  
Stephane
