Is this possible? - Searched all of Fk... Tuts and Movies!

For the life of me… I cannot find if it is possible to make an object rotate toward the direction it is travveling.

Heres my current code, it’s kind of bad… If you look close you can see it’s wrong.

Just cut out the part I want you to see, this is on the rocket.

angle = _rotation;
    xSpeed = speed*Math.cos(angle*Math.PI/180) +_root.landSpeed;
    ySpeed = speed*Math.sin(angle*Math.PI/180);
    //Friction and gravity
    friction = .99;
    gravity = .25;
onClipEvent (enterFrame) {
    xSpeed = xSpeed*friction;
    ySpeed = ySpeed-gravity;
    //Set rotation based upon speed
    if (xSpeed>0 & angle<60) {
        _rotation = -(-ySpeed*4);
    } else {
        _rotation = -(-ySpeed*5);