# Gallery movement from center?

**URL:** <https://forum.kirupa.com/t/gallery-movement-from-center/226738>\
**Category:** flash\
**Created:** [May 23, 2007, 3:28pm UTC](https://forum.kirupa.com/t/gallery-movement-from-center/226738 "2007-05-23T15:28:18Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mrhat557](https://avatars.discourse-cdn.com/v4/letter/m/d9b06d/32.png) [@mrhat557](https://forum.kirupa.com/u/mrhat557)\
**Post date:** [May 23, 2007, 3:28pm UTC](https://forum.kirupa.com/t/gallery-movement-from-center/226738/1 "2007-05-23T15:28:18Z")

</div>

Hello,

First of all, I apologize if this has been answered somewhere previously, but I have spent many hours searching the forums and feel somewhat confident that this has not been answered yet.

I was hoping I might be able to get some help from anyone who has modified the XML photo gallery tutorial that uses thumbnails – [http://www.kirupa.com/developer/mx2004/thumbnails.htm](http://www.kirupa.com/forum/../developer/mx2004/thumbnails.htm)

The tutorial demonstrates the thumbnails beginning to scroll when you reach the right hittest button.

What I am trying to do is have the thumbnails scroll in either direction horizontally in relation to the center of thumbnail scroller, like this example demonstrates- [http://www.flashloaded.com/flashcomp…/example1.html](http://www.flashloaded.com/flashcomponents/thumbnailer/example1.html)

I know that the hit\_left and hit\_right buttons are what is being referenced to trigger the scrolling, so I’m assuming that the solution lies somewhere in the [COLOR=Black]if[/COLOR] statements inside the thumbNailScroller function.

Thanks so much for your help!
