
Код:
i = 1
a = "mc"
ang = 1 + Math.random()*10-10/2;
Speed = 8;
onEnterFrame = function(){
this[a+i]._x+=Speed*Math.cos(ang);
this[a+i]._y+=Speed*Math.sin(ang);}
onMouseUp = function(){
i++
this.attachMovie("ss", a+i, this.getNextHighestDepth(), {_x:_xmouse, _y:_ymouse });
trace ([a+i])
}