# Help fixing my menu

**URL:** <https://forum.kirupa.com/t/help-fixing-my-menu/26924>\
**Category:** flash\
**Created:** [July 28, 2003, 10:22am UTC](https://forum.kirupa.com/t/help-fixing-my-menu/26924 "2003-07-28T10:22:52Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![QualiTy](https://avatars.discourse-cdn.com/v4/letter/q/ee7513/32.png) [@QualiTy](https://forum.kirupa.com/u/QualiTy)\
**Post date:** [July 28, 2003, 10:22am UTC](https://forum.kirupa.com/t/help-fixing-my-menu/26924/1 "2003-07-28T10:22:52Z")

</div>

Check out my menu: [http://home.no.net/pnonline/index2.htm](http://home.no.net/pnonline/index2.htm)

Is there a way for me to make the blue thing follow the mouse on instead of just popping up. like when i drag the mouse from one link to another, it will slide?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 28, 2003, 1:15pm UTC](https://forum.kirupa.com/t/help-fixing-my-menu/26924/2 "2003-07-28T13:15:22Z")

</div>

read this:

[http://www.kirupa.com/developer/mx/easing\_mouseclick.htm](http://www.kirupa.com/developer/mx/easing_mouseclick.htm)

and this:

[http://www.kirupaforum.com/forums/showthread.php?s=&threadid=29693](http://www.kirupaforum.com/forums/showthread.php?s=&threadid=29693)

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 28, 2003, 1:21pm UTC](https://forum.kirupa.com/t/help-fixing-my-menu/26924/3 "2003-07-28T13:21:38Z")

</div>

step by step=

first create an mc out of the blue bg thing with instance name ‘bluething’.

Add this actionscript to the mc.

onClipEvent(load){  
\_root.moveto=\_x  
}  
onClipEvent(enterFrame){  
diff=(\_root.moveto-\_x)/5  
}

now on each of the buttons give the buttons an instance name of whatever you want. On each button add AS- (replace ‘instancename’ with the instance name of the button)

on(rollOver){  
\_root.moveto=\_root.instancename.\_x  
}

That should work. If it doesn’t, just reply back I’ll try and get u an fla.
