# Preloader for variables?

**URL:** <https://forum.kirupa.com/t/preloader-for-variables/200257>\
**Category:** Uncategorized\
**Created:** [September 10, 2006, 7:19pm UTC](https://forum.kirupa.com/t/preloader-for-variables/200257 "2006-09-10T19:19:26Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![pbrollwitme](https://avatars.discourse-cdn.com/v4/letter/p/439d5e/32.png) [@pbrollwitme](https://forum.kirupa.com/u/pbrollwitme)\
**Post date:** [September 10, 2006, 7:19pm UTC](https://forum.kirupa.com/t/preloader-for-variables/200257/1 "2006-09-10T19:19:26Z")

</div>

Hi,

Can anyone point me to a good tutorial to create a preloader for variables? For example, I am using the loadVariables function and I want to create a preloader for the information it is gathering. I would assume it would be something like:

data = new loadVariables();  
data.loadVariables(‘variable.php’,‘data’,‘GET’);  
percenttotal = data.getBytesTotal;  
percentloaded = data.getBytesLoaded;  
etc, etc,.

But i’m not 100% sure.

Thanks!  
Mat
