# Scrolling background based on mouse position

**URL:** <https://forum.kirupa.com/t/scrolling-background-based-on-mouse-position/172977>\
**Category:** flash\
**Created:** [December 20, 2005, 1:09am UTC](https://forum.kirupa.com/t/scrolling-background-based-on-mouse-position/172977 "2005-12-20T01:09:32Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![dalecutler](https://avatars.discourse-cdn.com/v4/letter/d/ebca7d/32.png) [@dalecutler](https://forum.kirupa.com/u/dalecutler)\
**Post date:** [December 20, 2005, 1:09am UTC](https://forum.kirupa.com/t/scrolling-background-based-on-mouse-position/172977/1 "2005-12-20T01:09:32Z")

</div>

**Scrolling background** Hi all, does anyone know where i can find a script to attach to a movie/background image so that i can make the movie clip pan left or right based on the mouse position (with easing too!)? Example [http://www.saintsandsoldiers.com/](http://www.saintsandsoldiers.com/) make sure you enter the site thats where you will see what i mean. I’ve been wanting to create a page like this for some time using png files and transperency and multiple layers.

Thanks all!
