So I created a movie with 6 thumbnails on the left side which, when clicked, scroll the full-sized images on the right to show the respective image. However, with the current code, the large images scroll vertically. I want them to scroll horizontally (and then I can move my thumbs to the bottom so as not to be in the way). I'm pasting the code I used below, can someone help me with what changes I would need to make to the code to switch from vertical to horizontal scrolling? Thanks!!

this.createEmptyMovieClip("images", 100);
this.attachMovie("mask","mask", 101);
mask._x = images._x = 550;
mask._y = target = 311.8;
images._y = -1000;
images.setMask(mask);
speed = 7;

for (var i=1; i<7; 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;
};