Combined Code
frame 1 {
krone_drag.dX = 0;
krone_drag.dY = 0;
gurtel_drag.dX = 0;
gurtel_drag.dY = 0;
pants_drag.dX = 0;
pants_drag.dY = 0;
cap_drag.dX = 0;
cap_drag.dY = 0;
top_drag.dX = 0;
top_drag.dY = 0;
pants_m_drag.dX = 0;
pants_m_drag.dY = 0;
cap_m_drag.dX = 0;
cap_m_drag.dY = 0;
top_m_drag.dX = 0;
top_m_drag.dY = 0;
for (var i in _root) {
if (i.indexOf('_drag') > -1) {
_root[i].onPress = function () {
this.startDrag();
};
_root[i].onMouseUp = function () {
this.stopDrag();
var v4 = this.dX - this._x;
var v3 = this.dY - this._y;
var v2 = v4 * v4 + v3 * v3;
v2 = Math.sqrt(v2);
if (v2 < 50) {
this._x = this.dX;
this._y = this.dY;
}
};
}
}
delete top_m_drag.onPress;
delete top_m_drag.onMouseUp;
top_drag.onPress = function () {
top_m_drag.onMouseMove = function () {
this._x = top_drag._x;
this._y = top_drag._y;
};
this._alpha = 100;
bauch_unv._alpha = 0;
this.startDrag();
};
top_drag.onMouseUp = function () {
delete top_m_drag.onMouseMove;
this.stopDrag();
var v4 = this.dX - this._x;
var v3 = this.dY - this._y;
var v2 = v4 * v4 + v3 * v3;
v2 = Math.sqrt(v2);
if (v2 < 50) {
this._x = this.dX;
this._y = this.dY;
this._alpha = 0;
bauch_unv._alpha = 100;
}
top_m_drag._x = this._x;
top_m_drag._y = this._y;
};
delete pants_m_drag.onPress;
delete pants_m_drag.onMouseUp;
pants_drag.onPress = function () {
pants_m_drag.onMouseMove = function () {
this._x = pants_drag._x;
this._y = pants_drag._y;
};
this._alpha = 100;
this.startDrag();
};
pants_drag.onMouseUp = function () {
delete pants_m_drag.onMouseMove;
this.stopDrag();
var v4 = this.dX - this._x;
var v3 = this.dY - this._y;
var v2 = v4 * v4 + v3 * v3;
v2 = Math.sqrt(v2);
if (v2 < 50) {
this._x = this.dX;
this._y = this.dY;
this._alpha = 0;
}
pants_m_drag._x = this._x;
pants_m_drag._y = this._y;
};
delete cap_m_drag.onPress;
delete cap_m_drag.onMouseUp;
cap_drag.onPress = function () {
cap_m_drag.onMouseMove = function () {
this._x = cap_drag._x;
this._y = cap_drag._y;
};
this._alpha = 100;
this.startDrag();
};
cap_drag.onMouseUp = function () {
delete cap_m_drag.onMouseMove;
this.stopDrag();
var v4 = this.dX - this._x;
var v3 = this.dY - this._y;
var v2 = v4 * v4 + v3 * v3;
v2 = Math.sqrt(v2);
if (v2 < 50) {
this._x = this.dX;
this._y = this.dY;
this._alpha = 0;
}
cap_m_drag._x = this._x;
cap_m_drag._y = this._y;
};
}
// unknown tag 88 length 115
movieClip 5 {
}
instance of movieClip 5 {
onClipEvent (release) {
getURL('http://roocoo.deviantart.com/#853488995', '_blank');
}
}
movieClip 9 {
}
movieClip 11 {
}
movieClip 15 {
}
movieClip 19 {
}
movieClip 23 {
}
movieClip 27 {
}
movieClip 31 {
}
movieClip 35 {
}
movieClip 39 {
}
movieClip 43 {
}