# Mouse Scroll MC

**URL:** https://forum.kirupa.com/t/mouse-scroll-mc/235785
**Category:** flash
**Created:** [August 14, 2007, 7:01pm UTC](https://forum.kirupa.com/t/mouse-scroll-mc/235785 "2007-08-14T19:01:30Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![andrthad](https://avatars.discourse-cdn.com/v4/letter/a/e480ec/32.png) [@andrthad](https://forum.kirupa.com/u/andrthad)
#### Post date: [August 14, 2007, 7:01pm UTC](https://forum.kirupa.com/t/mouse-scroll-mc/235785/1 "2007-08-14T19:01:30Z")

</div>

Hi All,

I have my stage set at 500px x 500px. I have a map mc on stage that is 2500px x 2500px and I am trying to mouse scroll the entire map mc inside the bounds of the 500px x 500px stage. The map mc xy ref coordinate is in the center of the graphic. This is a math problem for me. An example would be [http://www.diesel.com/#/denim/](http://www.diesel.com/#/denim/). Would some please lend a hand at the math and some possible example code. Easing would be a bonus 🙂
