# Load external files in advance

**URL:** https://forum.kirupa.com/t/load-external-files-in-advance/42000
**Category:** Uncategorized
**Created:** [February 4, 2004, 1:56am UTC](https://forum.kirupa.com/t/load-external-files-in-advance/42000 "2004-02-04T01:56:38Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![danda](https://avatars.discourse-cdn.com/v4/letter/d/b19c9b/32.png) [@danda](https://forum.kirupa.com/u/danda)
#### Post date: [February 4, 2004, 1:56am UTC](https://forum.kirupa.com/t/load-external-files-in-advance/42000/1 "2004-02-04T01:56:38Z")

</div>

hi,

i was wondering if their was a way to load external files in advance and to integrate these in the loading progress of the flash file (in the beginning … you know, with a load bar)

i used and changed the photogallery of kirupa, and in the code i integrated a piece that positions every image depending of its size.

i put it in the tag where “if” says that the file has loaded completely and the fade in may start.

… wel, it works, but some times it doesn’t position well. just like the image ain’t loaded well. when you go to the next image and then go back it works.

:red:

if you want to see it, here’s the url  
click on “assemblages”

[http://www.camielvanbreedam.com/beta.html](http://www.camielvanbreedam.com/beta.html)

regards  
stijn

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [February 10, 2004, 11:37am UTC](https://forum.kirupa.com/t/load-external-files-in-advance/42000/2 "2004-02-10T11:37:54Z")

</div>

I had this problem before mostly in IE, in Safari it worked well.  
You can solve this with hardcoding (add in your images array heigth/width)  
or (just came in mind) add this  
[AS]if(this.photo.\_width!=null&&this.photo.\_height!=null){  
//do this[/AS]  
not tested but who knows;)

scotty(-:
