# Preloading dynamic content

**URL:** <https://forum.kirupa.com/t/preloading-dynamic-content/119932>\
**Category:** Uncategorized\
**Created:** [August 19, 2004, 8:48am UTC](https://forum.kirupa.com/t/preloading-dynamic-content/119932 "2004-08-19T08:48:08Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![runestar](https://avatars.discourse-cdn.com/v4/letter/r/74df32/32.png) [@runestar](https://forum.kirupa.com/u/runestar)\
**Post date:** [August 19, 2004, 8:48am UTC](https://forum.kirupa.com/t/preloading-dynamic-content/119932/1 "2004-08-19T08:48:08Z")

</div>

Hi!

Just wanted to know if it’s possible to put a preloader on textfield/movieclip reading text from a textfile…

I guess it’s not the same as preloading a regular movieclip, text being dynamic and all…

---

<div class="post-metadata">

**Author:** ![koorb](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/koorb/32/424_2.png) [@koorb](https://forum.kirupa.com/u/koorb)\
**Post date:** [August 19, 2004, 11:39am UTC](https://forum.kirupa.com/t/preloading-dynamic-content/119932/2 "2004-08-19T11:39:24Z")

</div>

Don’t have time to go into details, but things like

```auto
onClipEvent(data)

```

which waits till data is loaded

```auto
LoadVars.getBytesLoaded()

```

there are various ways to test if you have all the data you need before displaying it. Hopefully someone will come and help more 🙂

---

<div class="post-metadata">

**Author:** ![runestar](https://avatars.discourse-cdn.com/v4/letter/r/74df32/32.png) [@runestar](https://forum.kirupa.com/u/runestar)\
**Post date:** [August 19, 2004, 1:25pm UTC](https://forum.kirupa.com/t/preloading-dynamic-content/119932/3 "2004-08-19T13:25:20Z")

</div>

hey thanks koorb!

At least it’s a start…but I’m still in need of a bit more help if anyone can perhaps go deeper than koorb in explaining…

---

<div class="post-metadata">

**Author:** ![koorb](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/koorb/32/424_2.png) [@koorb](https://forum.kirupa.com/u/koorb)\
**Post date:** [August 19, 2004, 5:37pm UTC](https://forum.kirupa.com/t/preloading-dynamic-content/119932/4 "2004-08-19T17:37:45Z")

</div>

hey, sorry I was at work earlier so I couldn’t spend long

look here [http://www.actionscripts.org/tutorials/beginner/loadVariables\_and\_loadVars/index3.shtml](http://www.actionscripts.org/tutorials/beginner/loadVariables_and_loadVars/index3.shtml)

basicly the

```auto
myLoadbleData.onLoad = function (success) { ... if ... else ... }

```

part allows you to add the code that will populate a text box with the text of a variable from a file in the “if” (and report an error in the “else”) I hope that helps some more, sorry I’m rushed of my feet much at the moment! 🙂
