# Mouse Follow Boundary Help \[AS2.0\]

**URL:** <https://forum.kirupa.com/t/mouse-follow-boundary-help-as2-0/274922>\
**Category:** flash\
**Created:** [November 6, 2008, 4:35pm UTC](https://forum.kirupa.com/t/mouse-follow-boundary-help-as2-0/274922 "2008-11-06T16:35:04Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![f1tech](https://avatars.discourse-cdn.com/v4/letter/f/85f322/32.png) [@f1tech](https://forum.kirupa.com/u/f1tech)\
**Post date:** [November 6, 2008, 4:35pm UTC](https://forum.kirupa.com/t/mouse-follow-boundary-help-as2-0/274922/1 "2008-11-06T16:35:04Z")

</div>

Hi All,  
I’m new to this forum and to Flash. I’ve been given a site editing project which I’ve managed to struggle through until now :-/

I’ve uploaded a picture to help me describe what I need to accomplish. Please keep in mind that I know little about Flash and less about Action Script so if I appear to be :stare: don’t mind me. So here goes…

[![](http://img516.imageshack.us/img516/2392/flashhelpiz3.th.jpg)[URL=http://g.imageshack.us/thpix.php] ![](http://img516.imageshack.us/images/thpix.gif)](http://img516.imageshack.us/my.php?image=flashhelpiz3.jpg)

So I have a menu button along the left most side of my stage and I would like it to follow the mouse _vertically only_ and _only between the red line boundary._

Additionally when the button is clicked I would like the menu to stop and the secondary menu to to fade into sight, although I believe I can figure that part out with enough patience. The menu follow boundary is my main issue.

Any and all help would be greatly appreciated!

Cheers!
