To find the rotation of an object, given its x/y speed use this code:

var rotation:Number = math.atan2(ySpeed,xSpeed) * 180/Math.PI