# Dynamic image scroller

**URL:** https://forum.kirupa.com/t/dynamic-image-scroller/300776
**Category:** Uncategorized
**Created:** [November 27, 2009, 5:16am UTC](https://forum.kirupa.com/t/dynamic-image-scroller/300776 "2009-11-27T05:16:08Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![vazash](https://avatars.discourse-cdn.com/v4/letter/v/edb3f5/32.png) [@vazash](https://forum.kirupa.com/u/vazash)
#### Post date: [November 27, 2009, 5:16am UTC](https://forum.kirupa.com/t/dynamic-image-scroller/300776/1 "2009-11-27T05:16:08Z")

</div>

Hi guys,

Its been a while since I was here…

I have been trying to figure out how to create this movieclip  
I have a bunch of images which is laid out horizontally (x axis).  
The functionality is very simple, when I click on the movieclip it will allow me to drag it from right to left and vice versa. This part is simple enough. I face a problem when it comes to the end and the beginning of the movieclip. How do I make it undraggable when it reaches the end of the movie clip and vice versa when I drag it back to the beginning.

An example of what im looking to do is [http://graphictherapy.com/index2.html](http://graphictherapy.com/index2.html)  
This is pretty much the same effect that I want to use.

Thanks,  
vazash
