# Vertical thumbnail grid

**URL:** <https://forum.kirupa.com/t/vertical-thumbnail-grid/164896>\
**Category:** Uncategorized\
**Created:** [October 5, 2005, 8:53pm UTC](https://forum.kirupa.com/t/vertical-thumbnail-grid/164896 "2005-10-05T20:53:28Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![croopi](https://avatars.discourse-cdn.com/v4/letter/c/b782af/32.png) [@croopi](https://forum.kirupa.com/u/croopi)\
**Post date:** [October 5, 2005, 8:53pm UTC](https://forum.kirupa.com/t/vertical-thumbnail-grid/164896/1 "2005-10-05T20:53:28Z")

</div>

Im sure there is a tutorial or reference thread as to how to make this scroller verticle as opposed to horizontal, but i can not find it.

Any reference or pointers would be greatly appreciated.

The snippet below is from a tutroial (adding thumbnails) from [kirupa.com](http://kirupa.com)

function thumbNailScroller() {  
// thumbnail code!  
this.createEmptyMovieClip(“tscroller”, 1000);  
scroll\_speed = 10;  
tscroller.onEnterFrame = function() {  
if ((\_root.\_ymouse\>=thumbnail\_mc.\_y) && (\_root.\_ymouse\<=thumbnail\_mc.\_y+thumbnail\_mc.\_height)) {  
if ((\_root.\_xmouse\>=(hit\_right.\_x-40)) && (thumbnail\_mc.hitTest(hit\_right))) {  
thumbnail\_mc.\_x -= scroll\_speed;  
} else if ((\_root.\_xmouse\<=(hit\_left.\_x+40)) && (thumbnail\_mc.hitTest(hit\_left))) {  
thumbnail\_mc.\_x += scroll\_speed;  
}  
} else {  
delete tscroller.onEnterFrame;  
}  
};  
}  
Thank you.
