# Loading external text

**URL:** <https://forum.kirupa.com/t/loading-external-text/273752>\
**Category:** Uncategorized\
**Created:** [October 20, 2008, 12:11pm UTC](https://forum.kirupa.com/t/loading-external-text/273752 "2008-10-20T12:11:26Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![lefonk](https://avatars.discourse-cdn.com/v4/letter/l/13edae/32.png) [@lefonk](https://forum.kirupa.com/u/lefonk)\
**Post date:** [October 20, 2008, 12:11pm UTC](https://forum.kirupa.com/t/loading-external-text/273752/1 "2008-10-20T12:11:26Z")

</div>

Hi all.  
I got a question.  
I have correct .txt file, which contains 2 vars (Nederlands and Engels.

[SIZE=“2”]this.loadVariables(“introtext.txt”);  
this.onEnterFrame = function() {  
this.introText.text = this.Nederlands;

};  
//not working part  
this.btnUk.onPress = function() {  
this.onData = function() {  
this.introText.text = this.Engels;  
};  
};[/SIZE]

So as you can can see, i want a btn which one will replace the ‘Nederlands’ var text with the ‘Engels’ var text. But that doesn’t work!  
thanks in advance.
