import flash.display.Sprite;
public class Main extends Sprite{
public function Main(){
var nPathRadius:Number = 100;
var nDegrees:Number = 0;
var nRadians:Number = nDegrees * (Math.PI / 180);
var nX:Number = nPathRadius * Math.sin(nRadians);
var nY:Number = nPathRadius * Math.cos(nRadians);
trace(nX);
trace(nY);
}
}
}
|