# Image panning control

**URL:** <https://forum.kirupa.com/t/image-panning-control/259536>\
**Category:** flash\
**Created:** [May 6, 2008, 3:00pm UTC](https://forum.kirupa.com/t/image-panning-control/259536 "2008-05-06T15:00:30Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![izfact](https://avatars.discourse-cdn.com/v4/letter/i/74df32/32.png) [@izfact](https://forum.kirupa.com/u/izfact)\
**Post date:** [May 6, 2008, 3:00pm UTC](https://forum.kirupa.com/t/image-panning-control/259536/1 "2008-05-06T15:00:30Z")

</div>

Hi, I readed the interactive image pan tutorial and thought it was great and I have a favor to ask.

I have this project and I want the background image to pan when the mouse moves, the problem is that I have a menu and I want the buttons to go to different places on the image when I click on them and then the pan stops when the image reachs it´s destination.

I also have a button that I want to use to restart the Image panning.

Here´s an example of what I try to do: [[COLOR=#810081]http://sendyourstyle.com/index.html[/COLOR]](http://sendyourstyle.com/index.html) but without the zoom effect.

If someone knows how to do this with Action Script, please let me know. Thanks in advance.

Izfact.
