Написал так:

Код:
_root.onEnterFrame = function() {
function newRandom(min:Number, max:Number):Number {
return Math.ceil(min+Math.random()*(max-min));
}
randX = newRandom(0, 200)+18;
randY = 10;
d = this.getNextHighestDepth();
var new_mc:MovieClip = attachMovie("movie", "mc"+d, d);
new_mc.onEnterFrame = function(){
this._y +=randY;
this._x = randX;
}
};
тоже самое...