im having trouble creating columns for this image grid can anyone help?
function thumbextra(k, xcontained, containedxml) {
xcontained.createEmptyMovieClip("t"+k,xcontained.getNextHighestDepth());
tlistener = new Object();
tlistener.onLoadInit = function(target_mc) {
if (k<col) {
target_mc._x = (target_mc._width+5)*k;
num++;
} else {
damp=2
target_mc._y = (target_mc._height+5)*damp;
if (k<6) {
target_mc._x = (target_mc._width+5)*nun;
nun++;
}
}
target_mc.pictureValue = k;
};
image_mcl = new MovieClipLoader();
image_mcl.addListener(tlistener);
image_mcl.loadClip(containedxml,"_root.titlesss.extrascroll.container.t"+k);
}