# Preload dynamic text?

**URL:** <https://forum.kirupa.com/t/preload-dynamic-text/14835>\
**Category:** Uncategorized\
**Created:** [March 3, 2003, 2:32pm UTC](https://forum.kirupa.com/t/preload-dynamic-text/14835 "2003-03-03T14:32:13Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dave](https://avatars.discourse-cdn.com/v4/letter/d/ee7513/32.png) [@Dave](https://forum.kirupa.com/u/Dave)\
**Post date:** [March 3, 2003, 2:32pm UTC](https://forum.kirupa.com/t/preload-dynamic-text/14835/1 "2003-03-03T14:32:13Z")

</div>

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

:sigh: ( just wondering )

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [March 3, 2003, 2:59pm UTC](https://forum.kirupa.com/t/preload-dynamic-text/14835/2 "2003-03-03T14:59:54Z")

</div>

you can using the **LoadVars (obejct)**

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

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

🙂

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [March 4, 2003, 11:36am UTC](https://forum.kirupa.com/t/preload-dynamic-text/14835/3 "2003-03-04T11:36:55Z")

</div>

so where would you place the preloader though?

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

:sigh:

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [March 4, 2003, 1:49pm UTC](https://forum.kirupa.com/t/preload-dynamic-text/14835/4 "2003-03-04T13:49:00Z")

</div>

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.
