проблемка такая!
как сделать, чтобы слот запоминал "занято" - "свободно"?

Код:
//arrays
var slots:Array = new Array(slot0, slot1);
var unableSlot:Array = new Array(0, 0);
//code
item_mc.onRelease = function () {
for (var i = 0; i < slots.length; i++) {
if (unableSlot[i] == 0) {
if (this.hitTest (slots[i])) {
this._x = slots[i]._x;
this._y = slots[i]._y;
unableSlot[i] = 1;
}
}
}
А то я уже думаю-думаю, нихрена не понимаю уже
подскажите, пожалуйста
