Horos
I'm sure you've all been wondering whats been happening in my meaningless existence for the past few weeks. Well here you go. I've been developing a speech impediment, spending a shit load of money, drinking too much, ignoring projects I need to be working on, driving, ignoring tension, and trying to figure out why this
returns this
function createThmbs(type) {
if (gallery[z].classification == type && zvar thmb:MovieClip = _root.attachMovie("thmb", "thmb"+z, z);
var myMCL = new MovieClipLoader();
myMCL.onLoadInit = function(image_mc) {
if (image_mc._widthscalefactor = thmbsize/image_mc._width;
} else {
scalefactor = thmbsize/image_mc._height;
}
image_mc._width = image_mc._width*scalefactor;
image_mc._height = image_mc._height*scalefactor;
image_mc._x += (thmbsize-image_mc._width)*.5;
image_mc._y += (thmbsize-image_mc._height)*.5;
z += 1;
createThmbs(type);
trace("thmb"+z+" created");
};
myMCL.onLoadProgress = function(image_mc, loadedBytes, totalBytes) {
var percent:Number = loadedBytes/totalBytes*100;
thmb.loader._xscale = percent/7;
if (percent == 100) {
unloadMovie(thmb.loader);
}
};
var imgfile:String = gallery[z].imgfile;
myMCL.loadClip("images/"+imgfile, thmb.imgholder);
thmb._x = newx;
thmb._y = newy;
if (thmb._xnewx += thmbsize+thmbpadding;
} else {
newx = workbtn._x;
newy += thmbsize+thmbpadding;
}
} else if (zz += 1;
unloadMovie("thmb"+z);
createThmbs(type);
trace("different type");
} else {
newx = workbtn._x;
newy = workbtn._y+workbtn._height+thmbpadding;
z = 0;
trace("z("+z+") > "+gallery.length);
}
}
returns this
different type
thmb2 created
thmb3 created
z(0) > 6
different type
different type
thmb0 created
when type = "illustration"
any programmers out there should fix this for me. or teach me to write code. because this is retarded. Chris is coming to Bozeman tonight. More on that later.



