User:Deepak bishukarma bika

flash action script 2.0 circular roatation

create a movie clip and paste this code on movieClip onClipEvent(load) { cx = Stage.width/4; cy = Stage.height/4;

rad = -300;

speed = 1; speedScale = (.001*1*Math.PI)/speed; }

onClipEvent(enterFrame) { var angle = getTimer*speedScale; this._x = cx + Math.sin(angle)*rad; this._y = cy + Math.cos(angle)*rad; }