onClipEvent (enterFrame) {
Yspeed = ((_y-newY)/a+Yspeed)/d;
_y -= math.ceil(Yspeed);
}


given that the initial position is a whole pixel...