# Sbeener-image gallery

**URL:** https://forum.kirupa.com/t/sbeener-image-gallery/243
**Category:** Uncategorized
**Created:** [July 10, 2002, 10:36pm UTC](https://forum.kirupa.com/t/sbeener-image-gallery/243 "2002-07-10T22:36:49Z")
**Posts on this page:** 10
**Page:** 1

<div class="post-metadata">

### Author: ![vts31](https://avatars.discourse-cdn.com/v4/letter/v/8491ac/32.png) [@vts31](https://forum.kirupa.com/u/vts31)
#### Post date: [July 10, 2002, 10:36pm UTC](https://forum.kirupa.com/t/sbeener-image-gallery/243/1 "2002-07-10T22:36:49Z")

</div>

how could i use the script you made for the slideshow…into a thumbnail gallery so i could have say:

folderA-thumbnail images  
FolderB-bigger version

the thumbnail images would load as it did on the tutorial but the images would also have to be buttons…so that when pressed a geturl action could be executed.

thanx for the help my friend.

-Edwin

---

<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, 2002, 10:40pm UTC](https://forum.kirupa.com/t/sbeener-image-gallery/243/2 "2002-07-10T22:40:09Z")

</div>

That sounds like a nice advancement to the tutorial, thumbnails that are buttons (or movie clips) that load a larger image, because lets admit, no one wants to view a slide show with all big images! Well not me, but I liked your tutorial and I have learned from it, thanks bro!

---

<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 13, 2002, 5:11am UTC](https://forum.kirupa.com/t/sbeener-image-gallery/243/3 "2002-07-13T05:11:13Z")

</div>

i would really love to see this happen.

---

<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 13, 2002, 11:05am UTC](https://forum.kirupa.com/t/sbeener-image-gallery/243/4 "2002-07-13T11:05:40Z")

</div>

I rekon this could only be achieved by using a db… I have a project that may require this… so i will let you nkow how i get on…and i’m sure i will be asking for tons of help…😉

ZH…

---

<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 13, 2002, 2:13pm UTC](https://forum.kirupa.com/t/sbeener-image-gallery/243/5 "2002-07-13T14:13:24Z")

</div>

Dynamic event handlers, my man… That’s the key. Now, you can take a movie clip and tell him

```auto
you.onPress = function () {
      // do something like gotoAndPlay, loadMovie...
}

```

The only problem then is to know what you want to do on press. But since you’re working with arrays, there shouldn’t be too much trouble.

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: [July 14, 2002, 8:55pm UTC](https://forum.kirupa.com/t/sbeener-image-gallery/243/6 "2002-07-14T20:55:49Z")

</div>

i would friggin love a tutorial on this 🙂 _wink wink_

---

<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 15, 2002, 6:31am UTC](https://forum.kirupa.com/t/sbeener-image-gallery/243/7 "2002-07-15T06:31:50Z")

</div>

I’ll try and make something for you, my man. But after lunch. :-\

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: [July 15, 2002, 10:08am UTC](https://forum.kirupa.com/t/sbeener-image-gallery/243/8 "2002-07-15T10:08:50Z")

</div>

Man, hard thing to understand everything in Supra’s code… Beautiful, but prototypes all around are disconcerting.  
I think you have to change the loadMeter prototype a bit

```auto
MovieClip.prototype.loadMeter = function() {
	var i, l, t;
	l = this.photo.getBytesLoaded();
	t = this.photo.getBytesTotal();
	if (t>0 && t == l) {
		this.onEnterFrame = fadeIn;
		this.photo.onPress = function () {
			trace ("youhou ! ") ;
		}
	} else {
		trace(l/t);
	}
};

```

This will trace Youhou ! But you can add an empty clip on the stage, ans assuming that all the pictures are named image0\_big.jpg and so on, you could replace the trace action with

```auto
this.bigPhoto.loadMovie(this.pathToPics+this.pArray[this.pIndex]+"_big.jpg") ;

```

The pictures in the array should be named without the extension jpg by the way.

The other problem that I can’t seem to tackle is that the first picture to be loaded doesn’t have the onPress action. Help !

I hope it helps.

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: [July 16, 2002, 5:03pm UTC](https://forum.kirupa.com/t/sbeener-image-gallery/243/9 "2002-07-16T17:03:09Z")

</div>

this is really cool! 🙂

---

<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 17, 2002, 9:53pm UTC](https://forum.kirupa.com/t/sbeener-image-gallery/243/10 "2002-07-17T21:53:55Z")

</div>

need to get that first image to load…unless i can have the be empty…humm
