# Thumbnails on multi lines?

**URL:** https://forum.kirupa.com/t/thumbnails-on-multi-lines/245765
**Category:** Uncategorized
**Created:** [December 3, 2007, 8:10pm UTC](https://forum.kirupa.com/t/thumbnails-on-multi-lines/245765 "2007-12-03T20:10:01Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![duckhill101](https://avatars.discourse-cdn.com/v4/letter/d/bb73d2/32.png) [@duckhill101](https://forum.kirupa.com/u/duckhill101)
#### Post date: [December 3, 2007, 8:10pm UTC](https://forum.kirupa.com/t/thumbnails-on-multi-lines/245765/1 "2007-12-03T20:10:01Z")

</div>

Thumbnails on multi lines ?

Hi all,

I did know how to do this so it’s driving me mad I can’t remember.

I’m loading nine thumbnails into a movieclip (there could be more) but I want them to displayed in a grid so three rows of three

```auto

space = 80;
images_arr = ["images/01_th.jpg", "images/02_th.jpg", "images/03_th.jpg", "images/04_th.jpg", "images/05_th.jpg", "images/06_th.jpg", "images/06_th.jpg", "images/07_th.jpg", "images/08_th.jpg", "images/09_th.jpg"];
one_btn.onRelease = function() {
	for (var i = 0; i<=images_arr.length; i++) {
		img = holder_mc.createEmptyMovieClip("clip"+i, i+1)
		img.loadMovie(images_arr*)
		img._x = space*i;
	}
};

```

I know I need to change the \_y porperty as it loops but I can’t for the life of me see how to do it.

I’m sure the method I’ve forgot used the modulo assignment operator (%), but any help would be greatly appericated
