Animate circle

I’m trying to animate a circle so that it starts as just a vertical line and ends as a full circle - I want it to fill in as it is going around the perimeter - as if it is going around a clock face…

… does anyone know the best method for doing this?

_thanks all

Try this for circular motion…


var i:Number = 0;
var radius:Number = 200;
var speed:Number  = 0.1;
var orgX = stage.stageWidth/2;
var orgY = stage.stageHeight/2;

function circularMotion(evt:Event):void {
	evt.target.x = radius * Math.cos(i) + orgX;
	evt.target.y = radius * Math.sin(i) + orgY;
	i += speed;
}

obj_mc.addEventListener(Event.ENTER_FRAME, circularMotion);

Thanks zig - the effect I meant is supposed to be like a moon getting bigger until it is full… so it rotates from the centre… I’ve been experimenting with sprites and think I’m onto it…

_thanks again<