hi all i've been browsing the web to help with an interactive photogallery, anyway i've set it up and done the code but the thumbnails i've set dont seem to be registering as buttons :\ if you could take a look through my code and see where im going wrong i would be really greatful!


Code:
this.createEmptyMovieClip("images", 100);
this.attachMovie("mask", "mask", 101);
mask._x = images._x =305;
mask._y = target = 96;
images.setMask(mask);
images._y = -1000;
speed = 5;
for (var i = 0; i<8; i++) {
	var img = images.attachMovie("image"+i, "image"+i, i);
	img._y = img._height*i;
	var thumb = this["thumb"+i];
	thumb._alpha = 60;
	thumb.pos = target+(i*-img._height);
	thumb.onPress = function() {
		target = this.pos;
	};
	thumb.onRollOver = function() {
		this._alpha = 100;
	};
	thumb.onRollOut = function() {
		this._alpha = 60;
	};
}
this.onEnterFrame = function() {
	images._y += (target-images._y)/speed;
};