# Help with preloading HTML formatted external text files

**URL:** https://forum.kirupa.com/t/help-with-preloading-html-formatted-external-text-files/201646
**Category:** Uncategorized
**Created:** [September 23, 2006, 2:44pm UTC](https://forum.kirupa.com/t/help-with-preloading-html-formatted-external-text-files/201646 "2006-09-23T14:44:12Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![michelfeldman](https://avatars.discourse-cdn.com/v4/letter/m/7ba0ec/32.png) [@michelfeldman](https://forum.kirupa.com/u/michelfeldman)
#### Post date: [September 23, 2006, 2:44pm UTC](https://forum.kirupa.com/t/help-with-preloading-html-formatted-external-text-files/201646/1 "2006-09-23T14:44:12Z")

</div>

I’m making a dynamic web site all in flash, and I need all the content to be dynamic, so it’s all being loaded from external text files with HTML formatted text.

The problem is: I want to make a preloader that caches the files before we enter the site, and what it does currently, is it caches the _text part_ of the files, but not the _pictures_.

for example:

```auto
<b>hello world</b><img src="photo.jpg">

```

would just cache the hello world part and not the photo. and let’s say the photo is 2 MBs, we miss the point right… :}

does anyone have an idea of how to cache the photos \*\*inside \*\*the html formatted text?
