Preload dynamic text?

Is it possible to preload dynamic text sumhow from a text file?

:sigh: ( just wondering )

you can using the LoadVars (obejct)

it’s exactly the same than loading a movie or jpg

LoadVars.getBytesLoaded();
LoadVars.getBytesTotal();

:slight_smile:

so where would you place the preloader though?

Im a bit lost, you wouldnt put it on the text file, so where??

:sigh:

I am guessing, although I could be and probably am wrong, that you could load the text into a fla on say keyframe 2, place the preload script on frame 1 with a goto command once the getbytes loaded=getbytestotal etc. Then load that swf with the preloader into your main movie.

I am not sure how to use preloader scripts to target individual text files or jpegs etc.

You might think my method is a little backward. Maybe it is.