Im trying to move 2 MC's with actionscript.

First MC name=test (move from y=28 to y=128)
onClipEvent (load) {
_root.x = 361.5;//change this to where it goes to.
_root.y = 128;//change this to where it goes to.
speed = 10;//change the speed.
}
onClipEvent (enterFrame) {
x = (_root.x-this._x)/speed;
y = (_root.y-this._y)/speed;
this._x += x;
this._y += y;
}

Next MC name=test2 (move from y=327 to y=227) - moving at the same time as first MC

onClipEvent (load) {
_root.x = 361.5;//change this to where it goes to.
_root.y = 227;//change this to where it goes to.
speed = 10;//change the speed.
}
onClipEvent (enterFrame) {
x = (_root.x-this._x)/speed;
y = (_root.y-this._y)/speed;
this._x += x;
this._y += y;
}

This doesnt work - well the first MC is fine but the second one moves way to high