# External text not loading

**URL:** https://forum.kirupa.com/t/external-text-not-loading/159078
**Category:** Uncategorized
**Created:** [August 14, 2005, 4:46pm UTC](https://forum.kirupa.com/t/external-text-not-loading/159078 "2005-08-14T16:46:21Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![lunatic](https://avatars.discourse-cdn.com/v4/letter/l/73ab20/32.png) [@lunatic](https://forum.kirupa.com/u/lunatic)
#### Post date: [August 14, 2005, 4:46pm UTC](https://forum.kirupa.com/t/external-text-not-loading/159078/1 "2005-08-14T16:46:21Z")

</div>

Hey all,

This is really bugging me. I have a main fla that uses a holder clip to load external swfs. One of those external swfs holds Claudio’s scroller into which I’m loading external text. I had this working just fine for awhile. Then I migrated to MX2004 and now I can’t get the text to load? I get the classic “can’t find file blah blah blah” even though the text file is sitting in the same place as the fla.

This is the code for loading the external text:

```auto

MovieClip.prototype.scrollEase = function() {
	this.onEnterFrame = function() {
		loadText = new LoadVars();
		loadText.load(_global.filename);
		loadText.onLoad = function(success) {
			if (success) {
				trace("success");
				_root.content.holder.main.moretxt.html = true;
				_root.content.holder.main.moretxt.htmlText = this.rgtxt;
			}
		};
		if (Math.abs(dy) == 0 && drag == false) {
			delete this["onEnterFrame"];
		}
		// end if
		r = (this._y-y)/(bar._height-this._height);
		dy = Math.round((top-(top-bottom)*r-main._y)/speed*friction);
		main._y = main._y+dy;
	};
};

```

“main” and “moretxt” are on the external swf; “content” and “holder” are on the main fla.

Any glaring obvious errors? 😛
