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
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