So as the title says. I have 2 scenes, preoloader and biography.
Scene 1 = preloader
frame 1
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
loadText = new LoadVars();
loadText.load("biography.txt");
loadText.onLoad = function() {
biography.text = this.info;
};