# Help With Creating Links And Images!

**URL:** <https://forum.kirupa.com/t/help-with-creating-links-and-images/22960>\
**Category:** Uncategorized\
**Created:** [June 11, 2003, 3:34am UTC](https://forum.kirupa.com/t/help-with-creating-links-and-images/22960 "2003-06-11T03:34:26Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![jp182](https://avatars.discourse-cdn.com/v4/letter/j/a183cd/32.png) [@jp182](https://forum.kirupa.com/u/jp182)\
**Post date:** [June 11, 2003, 3:34am UTC](https://forum.kirupa.com/t/help-with-creating-links-and-images/22960/1 "2003-06-11T03:34:26Z")

</div>

Hey I put together a “photo gallery” using the tutorial I found at kirupa:

[http://www.kirupa.com/developer/mx/photogallery.htm](http://www.kirupa.com/developer/mx/photogallery.htm)

and i was just wondering what kind of function would I need to make each one of the images clickable AND go to separate url’s. I figured out that I would NEED a function and a separate array that would link up the URL’s to the Images but I don’t know how to really make the images clickable in the first place.

ANY help would be unimaginably helpful.

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:** [June 11, 2003, 12:38pm UTC](https://forum.kirupa.com/t/help-with-creating-links-and-images/22960/2 "2003-06-11T12:38:05Z")

</div>

This is for Flash MX

Should I just start over and use another method to create the same photo gallery effect??

---

<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:** [June 11, 2003, 4:36pm UTC](https://forum.kirupa.com/t/help-with-creating-links-and-images/22960/3 "2003-06-11T16:36:51Z")

</div>

This is already Flash MX 😛

You would have to modify a bit the loadMeter prototype:

```auto
MovieClip.prototype.loadMeter = function() {
	var i, l, t;
	l = this.photo.getBytesLoaded();
	t = this.photo.getBytesTotal();
	if (t>0 && t == l) {
// We're done loading the pic
		this.onEnterFrame = fadeIn;
this.onPress = function (){
// do something
}
	} else {
		trace(l/t);
	}
};

```

You can figure out the rest (the separate array is a good idea :))

pom :phil:

---

<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:** [June 12, 2003, 3:42am UTC](https://forum.kirupa.com/t/help-with-creating-links-and-images/22960/4 "2003-06-12T03:42:49Z")

</div>

thanks 🙂  
i feel like a complete newb…wait i am a newb 😉

---

<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:** [June 12, 2003, 12:20pm UTC](https://forum.kirupa.com/t/help-with-creating-links-and-images/22960/5 "2003-06-12T12:20:23Z")

</div>

Now can you figure this one out is the question ;):

[http://www.kirupaforum.com/forums/showthread.php?s=&threadid=25726](http://www.kirupaforum.com/forums/showthread.php?s=&threadid=25726)
