# Preloader and loading dynamic text problems

**URL:** <https://forum.kirupa.com/t/preloader-and-loading-dynamic-text-problems/213256>\
**Category:** Uncategorized\
**Created:** [January 18, 2007, 4:00am UTC](https://forum.kirupa.com/t/preloader-and-loading-dynamic-text-problems/213256 "2007-01-18T04:00:32Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sakura](https://avatars.discourse-cdn.com/v4/letter/s/898d66/32.png) [@Sakura](https://forum.kirupa.com/u/Sakura)\
**Post date:** [January 18, 2007, 4:00am UTC](https://forum.kirupa.com/t/preloader-and-loading-dynamic-text-problems/213256/1 "2007-01-18T04:00:32Z")

</div>

So as the title says. I have 2 scenes, preoloader and biography.  
Scene 1 = preloader  
frame 1

```auto
bytes_loaded = Math.round(_root.getBytesLoaded());
bytes_total = Math.round(_root.getBytesTotal());
getPercent = bytes_loaded / bytes_total;
//_root.loadBar._width = getPercent * 100;
shake.loadText = Math.round(getPercent * 100);
if (bytes_loaded == bytes_total)
{
    _root.gotoAndPlay(3);
} // end if
 
    // frame 2
gotoAndPlay(1);

      //frame 3
gotoAndPlay("biography",1);

```

Then in Scene 2 (biography) I have a MC (bio\_mc) with dynamic text box (instance is biography), loading exter text (duh) from a txt file. The problem is the txt file doesn’t load **because** scene 1 (preloader) has a some conflict. There is no error message. I tried the text without the preloader and it works fine. So as soon as I add the preloader just background loads and no txt

Scene 2 = biography

```auto
loadText = new LoadVars();
loadText.load("biography.txt");
loadText.onLoad = function() {
	biography.text = this.info;
};

```
