# Preloading

**URL:** <https://forum.kirupa.com/t/preloading/258935>\
**Category:** Uncategorized\
**Created:** [April 29, 2008, 5:46pm UTC](https://forum.kirupa.com/t/preloading/258935 "2008-04-29T17:46:34Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Zodiac](https://avatars.discourse-cdn.com/v4/letter/z/439d5e/32.png) [@Zodiac](https://forum.kirupa.com/u/Zodiac)\
**Post date:** [April 29, 2008, 5:46pm UTC](https://forum.kirupa.com/t/preloading/258935/1 "2008-04-29T17:46:34Z")

</div>

hi there…  
I need some tips how to preload this:

I’ve made buttons which loads external txt files into textBox (HTML render);  
Those txt files contains text and pictures, like \<img src="…"\> (HTML tags);  
Also, there are some links like \<a href="asfunction:…\>

I’ve made preloader and it displays bytes total for txt files only.  
Is it possible to make preloader which will calculate the size of a txt file,  
and the size of image from image tags inside that txt file?

//thx…
