Вот для одной карточки
я думаю для четырех подправите немного(я стер ваш цикл чтоб с этим не путаться)
код :

Код AS1/AS2:
this["card0"].onRollOut = function() {
t = 0;
a = card0._rotation;
b = 0;
k = 10;
_root.onEnterFrame = function() {
this.over = false;
b = a*(Math.exp(-t/3))*Math.cos(k*t);
card0._rotation = b;
t += 0.05;
if (t>10) {
card0._rotation = 0;
delete this.onEnterFrame;
}
};
};
this["card0"].onRollOver = function() {
this.x = _root._xmouse;
this.over = true;
};
this["card0"].angle = 0;
this["card0"].onEnterFrame = function() {
if (this.hit.hitTest(_root._xmouse, _root._ymouse)) {//this.over==true){
if (this.x != _root._xmouse) {
var tmpa = (this.x-_root._xmouse)/20;
if (tmpa+this.angle>this.angle+0.5) {
this.angle = this.angle+1;
} else if (tmpa+this.angle<this.angle-0.5) {
this.angle = this.angle-1;
} else {
this.angle += tmpa;
}
this._rotation = this.angle;
} else {
if (this.angle != 0) {
if (this.angle>0) {
this.angle -= Math.abs(this.angle/15);
} else if (this.angle<0) {
this.angle += Math.abs(this.angle/15);
}
}
}
} else {
if (this._rotation != 0) {
if (this.angle != 0) {
if (this.angle>0) {
this.angle -= Math.abs(this.angle/15);
} else if (this.angle<0) {
this.angle += Math.abs(this.angle/15);
}
}
}
}
this._rotation = this.angle;
this.x = _root._xmouse;
};