# Spacing thumbnails

**URL:** https://forum.kirupa.com/t/spacing-thumbnails/166261
**Category:** flash
**Created:** [October 18, 2005, 2:05pm UTC](https://forum.kirupa.com/t/spacing-thumbnails/166261 "2005-10-18T14:05:29Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![coop](https://avatars.discourse-cdn.com/v4/letter/c/87869e/32.png) [@coop](https://forum.kirupa.com/u/coop)
#### Post date: [October 18, 2005, 2:05pm UTC](https://forum.kirupa.com/t/spacing-thumbnails/166261/1 "2005-10-18T14:05:29Z")

</div>

Hi all,

Sounds simple, but its driving me mad.  
I’m loading thumbnails, but there different widths and I need them spaced evenly

```auto

imageClip._x = 60*i

```

This is fine if the thumbs are the same width.

fla. [here](http://homepage.ntlworld.com/c.dickinson40/test1.zip)

```auto

var planes_arr = ["images/1", "images/2", "images/3", "images/4", "images/5", "images/6", "images/7", "images/8"];
play_btn.onRelease = function() {
	for (var i = 0; i<planes_arr.length; i++) {
		var imageClip = thumbs_mc.createEmptyMovieClip("thumb"+i+"_mc", i);
		imageClip.loadMovie(planes_arr*+"_th.jpg");
		imageClip._x = 60*i;
	}
};

```
