Frame 1
MovieClip.prototype.dragGoback = function (startX, startY, tempo, wobble) {
this.onEnterFrame = function () {
if (!dragging) {
dx = (dx + ((startX - this._x) * tempo)) * wobble;
dy = (dy + ((startY - this._y) * tempo)) * wobble;
this._x = this._x + dx;
this._y = this._y + dy;
}
i = 1;
while (i <= _root.anzahl) {
_root["m" + i]._x = startX - (((startX - this._x) / _root.anzahl) * i);
_root["m" + i]._y = startY - (((startY - this._y) / _root.anzahl) * i);
i++;
}
};
};
dragMe.onMouseDown = function () {
dragging = true;
this.startDrag(true);
};
dragMe.onMouseUp = function () {
dragging = false;
stopDrag();
};
dragMe.dragGoBack(dragMe._x, dragMe._y, 0.1, 0.99);
anzahl = 30;
i = 0;
while (i <= anzahl) {
dragMe.duplicateMovieClip("m" + (anzahl - i), anzahl - i);
_root["m" + (anzahl - i)].dynamask._xscale = 100 + (i * 5);
_root["m" + (anzahl - i)].dynamask._yscale = 100 + (i * 5);
i++;
}
rahmen.swapDepths(anzahl + 1);
_quality = "LOW";