Примерно так:

Код AS1/AS2:
var speed:Number = 0.2;
onEnterFrame = function() {
moveBall(ball1);
moveBall(ball2);
moveBall(ball3);
}
function moveBall(clip){
clip._x += speed;
var p:Number = (1 / (clip._width * Math.PI)) * speed;
clip._rotation += 360 * p;
}