# htmlText preloader ?!?

**URL:** <https://forum.kirupa.com/t/htmltext-preloader/215570>\
**Category:** flash\
**Created:** [February 8, 2007, 8:33am UTC](https://forum.kirupa.com/t/htmltext-preloader/215570 "2007-02-08T08:33:26Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![nicolb](https://avatars.discourse-cdn.com/v4/letter/n/e480ec/32.png) [@nicolb](https://forum.kirupa.com/u/nicolb)\
**Post date:** [February 8, 2007, 8:33am UTC](https://forum.kirupa.com/t/htmltext-preloader/215570/1 "2007-02-08T08:33:26Z")

</div>

Hello !🙂

I try to build a simple news reader which can display HTML text contained in XML file.  
I don’t have any problem to preload XML file but I noticed that images contained in the HTML text aren’t loaded in the first frame… So, as I don’t know how many images have to be loaded, I don’t know when I can get the final height of my textField to build the scroller…(which is the central point of my problem!)

Does someone have an idea ?  
Is it possible to preload the entire HTML text (I mean text and tags like \<img…/\>) before placing it in the textField ?  
Or is it possible to add a kind of loader to this HTML text which will indicate when the text is fully loaded ?

Thanks a lot.
