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 http://www.kirupa.com/forum/newthread.php?do=newthread&f=9#)

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";
c.loadMovie(thumb);
t.picToLoad = “pic”+i+".jpg";
t._x = t.xPos=100 *i;
t._y = t.yPos=100;
t.onPress = function() {
this.startDrag(true);
};

:cool: