# Preloading Dynamic Text

**URL:** <https://forum.kirupa.com/t/preloading-dynamic-text/47899>\
**Category:** flash\
**Created:** [April 8, 2004, 2:31am UTC](https://forum.kirupa.com/t/preloading-dynamic-text/47899 "2004-04-08T02:31:13Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nicksta](https://avatars.discourse-cdn.com/v4/letter/n/cc9497/32.png) [@Nicksta](https://forum.kirupa.com/u/Nicksta)\
**Post date:** [April 8, 2004, 2:31am UTC](https://forum.kirupa.com/t/preloading-dynamic-text/47899/1 "2004-04-08T02:31:13Z")

</div>

I recently created a site which is up and running. The site works fine and is not to big. It loads external txt files using the following actionscript:

**loadText = new loadVars();  
loadText.load(“anton.txt”);  
// creating the loadVarsText function  
loadText.onLoad = function() {  
anton.text = this.Antontext;  
};**  
Ive noticed a delay in loading the txt files. I would like to add a preloader on the site for each one of these txt files with a small loading animation for them nothing to fancy. Im fairly new to actionscripting and Im using Flash MX 6 any help would be appreciated  
By the way the site address is:  
[**www.team42.za.net**](http://www.team42.za.net)
