AS motion tween

Hey guys,

I got a question for u.

I have studied the tutorial on springs but i want to make something my own but i just cant figure it out :(.

Here’s the deal:

Lets say i have 2 menu items, 1 on the top and 1 at the bottom. And lets say there is a button to say it may go moving.
When u press the button the menu at the bottom is going to move to the spot where menu at the top is.
But the problem with this is that i want it to deaccelerate when it comes closer at the menu at the top.

I have figured out how to use the mouse follower with deacceleration :
[AS]onClipEvent(enterFrame) {
if (moving) {
Xspeed = _xmouse/20;
Yspeed = _Ymouse/20;

But i cant seem to figure out how to use this code on the menu :frowning:

Do u know how??