for (var i:Number = 0; i < 20; i++) { attachMovie("miniStar", "ms"+i, i, {_x:random(Stage.width), _y:random(Stage.height)}); }