旋转角度

 function rotateArrow(event : Event) : void
{
    var dx:Number=mouseX - arrow.x; 
    var dy:Number=mouseY - arrow.y; 
    var radians:Number=Math.atan2(dy,dx); 
    arrow.rotation=radians * 180 / Math.PI;
}
原文地址:https://www.cnblogs.com/kuailezoe/p/2800248.html