Frame 1
MovieClip.prototype.dragGoback = function (startX, startY, tempo, wobble) {
var _local1 = _root;
var _local2 = this;
_local2.onEnterFrame = function () {
var _local1 = _root;
var _local2 = this;
if (!dragging) {
dx = (dx + ((startX - _local2._x) * tempo)) * wobble;
dy = (dy + ((startY - _local2._y) * tempo)) * wobble;
_local2._x = _local2._x + dx;
_local2._y = _local2._y + dy;
}
i = 1;
while (i <= _local1.anzahl) {
_local1["m" + i]._x = startX - (((startX - _local2._x) / _local1.anzahl) * i);
_local1["m" + i]._y = startY - (((startY - _local2._y) / _local1.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";