# Load text in external swf from main.swf

**URL:** https://forum.kirupa.com/t/load-text-in-external-swf-from-main-swf/144254
**Category:** Uncategorized
**Created:** [April 12, 2005, 9:37pm UTC](https://forum.kirupa.com/t/load-text-in-external-swf-from-main-swf/144254 "2005-04-12T21:37:57Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Toddler](https://avatars.discourse-cdn.com/v4/letter/t/77aa72/32.png) [@Toddler](https://forum.kirupa.com/u/Toddler)
#### Post date: [April 12, 2005, 9:37pm UTC](https://forum.kirupa.com/t/load-text-in-external-swf-from-main-swf/144254/1 "2005-04-12T21:37:57Z")

</div>

Hi  
I’m trying to load a external txt into a swf which is loaded in main.swf .  
In the text.swf standalone the text appears, but once loaded into main.swf the text doesn’t work anymore.

text.fla includes a MC which is used to load the txt for scrolling

```php
onClipEvent (enterFrame) {
	if (down == &quot;1&quot;) {
		this.textField.scroll += 1;
	}
}
onClipEvent (enterFrame) {
	if (up == &quot;1&quot;) {
		this.textField.scroll -= 1;
	}
}

```

the buttons used to load external txt use this

```auto
on (press) {
	loadVariables(&quot;/texts/general.txt&quot;, &quot;_root.text_box&quot;);
}

```

I think the problem is with “\_root.text\_box” in any way, just don’t know how.

any help is apreciated

the MC is called textBox
