I have made a preloader for my content, where my content is .txt files that are loaded into a movieclip that fades in with alpha.
But if I upload my files the content in the .txt files do not fade in smoothly, the just appear.
So I am assuming that these .txt files are not preloaded, since I use the code below for my preloader which does not contain preloading external files.
[COLOR=RoyalBlue]midframe=35
bytes_loaded = Math.round(this.getBytesLoaded());
bytes_total = Math.round(this.getBytesTotal());
getPercent = bytes_loaded/bytes_total;
this.loadBar._width = getPercent100;
this.loadText = Math.round(getPercent100)+"%";
if (bytes_loaded == bytes_total) {
this.gotoAndPlay(5);
}[/COLOR]
So I was wondering, is there anyway I can add something to the preloader code. Something like [COLOR=RoyalBlue]“if myText.txt are loaded, go to and play frame 5”[/COLOR]
I know this is the problem, since once I press Page1 button it preloads the content on that page and the dynamic text just appears, but if i press Page1 button again, it fades in as I want, which is because it has been loaded once.
I hope there is some easy way to solve this.