# Please Help! (Unload Text)

**URL:** <https://forum.kirupa.com/t/please-help-unload-text/144508>\
**Category:** Uncategorized\
**Created:** [April 14, 2005, 8:24pm UTC](https://forum.kirupa.com/t/please-help-unload-text/144508 "2005-04-14T20:24:39Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![scooterdie](https://avatars.discourse-cdn.com/v4/letter/s/a88e4f/32.png) [@scooterdie](https://forum.kirupa.com/u/scooterdie)\
**Post date:** [April 14, 2005, 8:24pm UTC](https://forum.kirupa.com/t/please-help-unload-text/144508/1 "2005-04-14T20:24:39Z")

</div>

Hello,

I am using Kirupa’s guide [http://www.kirupa.com/developer/mx/externaldata.htm](http://www.kirupa.com/developer/mx/externaldata.htm)

I have successfully created all the external content and it is being loaded perfectly! Here is where I am having difficulty. In my main timeline I have five buttons. Audio - Video - Security- Networking - Misc. each button when clicked refers to a movieclip called **linksMC**. here is the exact code on the buttons

```auto
on (release){
	linksMC.gotoAndPlay("audioLinks");
}
on (release){
 	linksMC.gotoAndPlay("videoLinks");
 } etc etc

```

So that works just fine, it goes to the specific area in **linksMC** , each section “audioLinks, videoLinks, etc” has the following code.

```auto
stop();
loadText = new LoadVars();
loadText.load("text/audioMain.txt");
loadText.onLoad = function() {
	btn01.text = this.btn01;
	btn02.text = this.btn02;
	btn03.text = this.btn03;
	btn04.text = this.btn04;
	btn05.text = this.btn05;
}; 

```

Once again, it loads the text fine, the problem is when I click the “Audio” link all the buttons are the correct ones, but when I click the “video” button , all the text is still being loaded from audioMain.txt (even though each button goes to a differen’t frame) I was thinking maybe each time a button is hit it will unload the text before loading the new text? Any ideas? I will try to put a sample FLA together. Thank you!
