How to create

If i am calling external jpgs… how to i define how many pictures per column and how many rows there are… and how much space between each external jpg loading? Thanks in advance for your help… This is the scipting i have… code was created by a member on this board (thanks

for (var i = 0; i<=3; i++) {
var t = this.createEmptyMovieClip(“thumbnail”+i, i);
var c = t.createEmptyMovieClip(“picHolder”, 0);
var thumb = “pic”+i+"_t.jpg";
t.picToLoad = “pic”+i+".jpg";
t._x = t.xPos=100 *i;
t._y = t.yPos=100;
t.onPress = function() {