# Photo gallery w/o buttons

**URL:** <https://forum.kirupa.com/t/photo-gallery-w-o-buttons/4845>\
**Category:** Uncategorized\
**Created:** [August 22, 2002, 12:54pm UTC](https://forum.kirupa.com/t/photo-gallery-w-o-buttons/4845 "2002-08-22T12:54:48Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![new2mx](https://avatars.discourse-cdn.com/v4/letter/n/3da27b/32.png) [@new2mx](https://forum.kirupa.com/u/new2mx)\
**Post date:** [August 22, 2002, 12:54pm UTC](https://forum.kirupa.com/t/photo-gallery-w-o-buttons/4845/1 "2002-08-22T12:54:48Z")

</div>

Is it possible to create a photo gallery in which images fade in and out without the use of buttons?

I’ve tried manipulating the code but I haven’t had much luck so far - all tips or suggestions will be greatly appreciated. Thanks…

---

<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:** [August 23, 2002, 11:34am UTC](https://forum.kirupa.com/t/photo-gallery-w-o-buttons/4845/2 "2002-08-23T11:34:59Z")

</div>

Am I missing something here? I have wondered if there is a simple way of doing this that I’ve not thought of. I have all my images dynamically in an XML document so as far as I know I can’t just do the usual alpha tween between frames.

Try as I might though, I just can’t get the photo gallery tutorial to loop through images without using the buttons.

I’d still be grateful for any ideas on this.

Thanks.

---

<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:** [August 23, 2002, 12:05pm UTC](https://forum.kirupa.com/t/photo-gallery-w-o-buttons/4845/3 "2002-08-23T12:05:28Z")

</div>

Why don’t you try to setInterval?

pom :asian:

---

<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:** [August 23, 2002, 12:26pm UTC](https://forum.kirupa.com/t/photo-gallery-w-o-buttons/4845/4 "2002-08-23T12:26:01Z")

</div>

ilyaslamasse,

Thanks loads for your reply. I’ve just checked out setInterval up in Flash Help and it looks like this is the way to go!

The only thing I’m unsure about now is whether this technique still fits in with the photo gallery tutorial, or whether I’d be better off starting from scratch?

---

<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:** [August 23, 2002, 12:44pm UTC](https://forum.kirupa.com/t/photo-gallery-w-o-buttons/4845/5 "2002-08-23T12:44:17Z")

</div>

Either way should work. The good thing is: you have a beautiful code at your disposal. The bad thing is: it’s hard to customize it if you don’t know a bit of AS. AND: I don’t know how setInterval will interact with loadMovie (say you want your photos to fade every 3 seconds, and that they load in 5: normally, you shouldn’t see anything…).

I’ll check that, but you can experiment a little bit on your own with setInterval all the same.

pom 🙂
