# So Close - Check Math Please

**URL:** https://forum.kirupa.com/t/so-close-check-math-please/238535
**Category:** flash
**Created:** [September 12, 2007, 1:52pm UTC](https://forum.kirupa.com/t/so-close-check-math-please/238535 "2007-09-12T13:52:48Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![rahnefan](https://avatars.discourse-cdn.com/v4/letter/r/ea666f/32.png) [@rahnefan](https://forum.kirupa.com/u/rahnefan)
#### Post date: [September 12, 2007, 1:52pm UTC](https://forum.kirupa.com/t/so-close-check-math-please/238535/1 "2007-09-12T13:52:48Z")

</div>

This map scales to 400% while panning to specified locations, and once there it scales back down to 100% wherever you click, but either I’ve fudged the math or should be using a different method, because it’s jerky, and the two functions operate at different speeds.

AS is on gray buttons and “mappy” clip; it’s adapted from a method used here – you’ll recognize it by the names of the vars. I’ve tried adjusting “amount” etc with varying results, even making some specific to certain locations. I took a lot of things out of this to make it easier. Thanks in advance if you can help.
