
Код:
if (this.hitTest(c)) {
if (!(--Count)) {
trace("win");
}
this._x = c._x+(c._width-this._width)/2;
this._y = c._y+(c._height-this._height)/2;
var my_color:Color = new Color(c);
var myTransform:Object = my_color.getTransform();
myTransform = {ra:80, ba:80, aa:60};
my_color.setTransform(myTransform);
this.onPress=null; //что б нельзя обратно вытащить было
}