HELP w/ this actionscript 4 photo gallery

Hey ya’ll,

I’m trying to do this http://www.cambodiaxp.com/tutorial/flash-advance/flash-photo-slide/flash-photo-slider.php

BUT i want my pictures to go vertical slide up and down not across.

i have this AS for horizontal sliding:

final_x=0;
speed =5;
photo_width = 280; //width of each individual photo, you may choose the one that suit photos
photo_mc.onEnterFrame = function() {
photo_mc._x += (final_x - photo_mc._x)/speed;
}
b1.onRelease = function() {
final_x =0;
}
b2.onRelease = function() {
final_x =-photo_width;
}
b3.onRelease = function() {
final_x =-photo_width2;
}
b4.onRelease = function() {
final_x =-photo_width
3;
}
b5.onRelease = function() {
final_x =-photo_width*4;
}

:book:

your help will be very much appreciated!

Thanks!
xTINA