
Код:
var Count=10;
for(var i=0;i<Count;i++){
_root["mc"+i].onRelease = function() {
this.stopDrag();
if (this.hitTest(c1)) {
if(!--Count){
_root.gotoAndPlay("win");
}
this._x=c1._x+(c1._width-this._width)/2;
this._y=c1._y+(c1._height-this._height)/2;
}
}
};
10 объектов mc0, mc1 ... mc9 всех покласть с с1 и будет счастье!