# Photo Gallery + preloader

**URL:** <https://forum.kirupa.com/t/photo-gallery-preloader/56998>\
**Category:** flash\
**Created:** [July 9, 2004, 12:46pm UTC](https://forum.kirupa.com/t/photo-gallery-preloader/56998 "2004-07-09T12:46:40Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![lena](https://avatars.discourse-cdn.com/v4/letter/l/c68b51/32.png) [@lena](https://forum.kirupa.com/u/lena)\
**Post date:** [July 9, 2004, 12:46pm UTC](https://forum.kirupa.com/t/photo-gallery-preloader/56998/1 "2004-07-09T12:46:40Z")

</div>

Hi,

first of all i would like to thank to \*\*sbeener for his “photo gallery” \*\*tutorial. I found it very useful. Now I have question for \*\*sbeener: \*\*is it posibble to put preloader for each photo, so if photos are little bit biger, user can see how much to load (in bytes or progress bar). I’m working on my photo gallery and I have bigger photos (50-100K). u can see demo at: [www.studioconex.hr/lena](http://www.studioconex.hr/lena).

thnx.

@.

---

<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:** [July 9, 2004, 2:59pm UTC](https://forum.kirupa.com/t/photo-gallery-preloader/56998/2 "2004-07-09T14:59:28Z")

</div>

u load photo as external file or within the same fla? if u load it from external, why not build a preloader for the photo? if not, u might have to wait for someone else to tell u those code stuff, i just could not get my head on actionscript.

---

<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:** [July 9, 2004, 6:16pm UTC](https://forum.kirupa.com/t/photo-gallery-preloader/56998/3 "2004-07-09T18:16:12Z")

</div>

Welcome to kirupa forum=)

Yes it’s possible, have a look here  
[http://www.kirupaforum.com/forums/showthread.php?t=61794](http://www.kirupaforum.com/forums/showthread.php?t=61794)

scotty(-:

---

<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:** [July 9, 2004, 11:04pm UTC](https://forum.kirupa.com/t/photo-gallery-preloader/56998/4 "2004-07-09T23:04:02Z")

</div>

hi, thnx for the post. it was very useful. as u can c at: [www.studiopoint.hr/test](http://www.studiopoint.hr/test) i implement your fla, but i would like also that first picture have preloader in %. how cn it be done? i dont really understand preloader layer, what is about?  
thnx.

@:

---

<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:** [July 10, 2004, 8:15am UTC](https://forum.kirupa.com/t/photo-gallery-preloader/56998/5 "2004-07-10T08:15:03Z")

</div>

Look in the code for this line:

```auto
 loadMovie(this.pathToPics+this.pArray[0], this.photo);

```

and remove it. (this one is loading the first picture outside all your prototypes)  
Now add (at the bottom of your code):

```auto
changePhoto(0)

```

Now you’re calling your prototypes **and** the preloader;)

scotty(-:

---

<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:** [July 10, 2004, 9:04am UTC](https://forum.kirupa.com/t/photo-gallery-preloader/56998/6 "2004-07-10T09:04:26Z")

</div>

thnx Scotty. works perfect. u’re the fastest guru i ever know :).

if u like check on [www.studiopoint.hr/test](http://www.studiopoint.hr/test)

thnx man

@:

---

<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:** [July 10, 2004, 9:11am UTC](https://forum.kirupa.com/t/photo-gallery-preloader/56998/7 "2004-07-10T09:11:46Z")

</div>

no problem:thumb:

I don’t see the preloader, but I’m on DSL and the photos are there right away.  
I like the photos:)

scotty(-:
