# Movie clip in margins?

**URL:** https://forum.kirupa.com/t/movie-clip-in-margins/270381
**Category:** flash
**Created:** [September 9, 2008, 12:03pm UTC](https://forum.kirupa.com/t/movie-clip-in-margins/270381 "2008-09-09T12:03:16Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![skullmonkey](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/skullmonkey/32/7362_2.png) [@skullmonkey](https://forum.kirupa.com/u/skullmonkey)
#### Post date: [September 9, 2008, 12:03pm UTC](https://forum.kirupa.com/t/movie-clip-in-margins/270381/1 "2008-09-09T12:03:16Z")

</div>

What is the code that a clip (say ‘ball’) is following the \_xmouse only 50px from the beginning and the end of the flash animation.

ex: if the animation is 500x200 I want the ball to follow the \_xmouse only from 50-450.

something like this - [http://www.kirupa.com/developer/mx/followease.htm](http://www.kirupa.com/developer/mx/followease.htm)  
but only horizontal and with spacing from the ends.

Thanks
