Frame 1
if (_framesloaded < _totalframes) {
this.gotoAndPlay(1);
} else {
this.gotoAndPlay(2);
}
Instance of Symbol 3 MovieClip "setup" in Frame 5
onClipEvent (load) {
_visible = false;
costumeMaxNum = (topDepth = 49);
cos_vi = false;
i = 0;
while (i < (costumeMaxNum + 1)) {
_parent.layerZero.duplicateMovieClip("layerLevel" + i, i);
i++;
}
setpartsMax = 2;
setpartsStatus = new Array(0, 0);
costume0 = new Array(0, 0, 1, 1, true, 50, 100, [0, 0]);
costume1 = new Array(0, 0, 1, 1, false, 50, 100, [0, 0]);
costume2 = new Array(0, 0, 1, 1, false, 50, 100, [0, 0]);
costume3 = new Array(0, 0, 1, 1, true, 50, 50, [1, 0]);
costume4 = new Array(0, 0, 1, 1, false, 50, 50, [0, 0]);
costume5 = new Array(0, 0, 1, 1, false, 50, 50, [1, 0]);
costume6 = new Array(0, 0, 1, 1, false, 50, 50, [1, 0]);
costume7 = new Array(0, 0, 1, 1, false, 50, 50, [1, 0]);
costume8 = new Array(0, 0, 1, 1, false, 50, 50, [1, 0]);
costume9 = new Array(0, 0, 1, 1, false, 50, 50, [0, 0]);
costume10 = new Array(0, 0, 2, 1, true, 50, 50, [0, 0]);
costume11 = new Array(0, 0, 2, 2, true, 50, 50, [0, 0]);
costume12 = new Array(0, 0, 2, 1, false, 50, 50, [0, 0]);
costume13 = new Array(0, 0, 2, 2, false, 50, 50, [0, 0]);
costume14 = new Array(0, 0, 1, 1, false, 50, 50, [0, 0]);
costume15 = new Array(0, 0, 2, 1, false, 50, 50, [0, 0]);
costume16 = new Array(0, 0, 2, 2, false, 50, 50, [0, 0]);
costume17 = new Array(0, 0, 1, 1, true, 50, 50, [0, 0]);
costume18 = new Array(0, 0, 2, 1, false, 50, 50, [0, 0]);
costume19 = new Array(0, 0, 2, 2, false, 50, 50, [0, 0]);
costume20 = new Array(0, 0, 2, 1, false, 50, 50, [0, 0]);
costume21 = new Array(0, 0, 2, 2, false, 50, 50, [0, 0]);
costume22 = new Array(0, 0, 1, 1, false, 50, 50, [0, 0]);
costume23 = new Array(0, 0, 1, 1, false, 50, 50, [0, 0]);
costume24 = new Array(0, 0, 1, 1, false, 50, 50, [0, 0]);
costume25 = new Array(0, 0, 1, 1, true, 50, 50, [0, 0]);
costume26 = new Array(0, 0, 2, 1, false, 50, 50, [0, 0]);
costume27 = new Array(0, 0, 2, 2, false, 50, 50, [0, 0]);
costume28 = new Array(0, 0, 2, 1, false, 50, 50, [0, 0]);
costume29 = new Array(0, 0, 2, 2, false, 50, 50, [0, 0]);
costume30 = new Array(0, 0, 1, 1, false, 50, 50, [0, 0]);
costume31 = new Array(0, 0, 1, 1, false, 50, 50, [0, 0]);
costume32 = new Array(0, 0, 1, 1, false, 50, 50, [0, 0]);
costume33 = new Array(0, 0, 1, 1, false, 50, 50, [1, 1]);
costume34 = new Array(0, 0, 1, 1, false, 50, 50, [1, 0]);
costume35 = new Array(0, 0, 1, 1, false, 50, 50, [0, 1]);
costume36 = new Array(0, 0, 1, 1, false, 50, 50, [1, 0]);
costume37 = new Array(0, 0, 1, 1, false, 50, 50, [0, 1]);
costume38 = new Array(0, 0, 1, 1, false, 50, 50, [1, 1]);
costume39 = new Array(0, 0, 1, 1, false, 50, 50, [1, 1]);
costume40 = new Array(0, 0, 1, 1, false, 50, 50, [1, 0]);
costume41 = new Array(0, 0, 1, 1, false, 50, 50, [0, 1]);
costume42 = new Array(0, 0, 1, 1, false, 50, 50, [1, 0]);
costume43 = new Array(0, 0, 1, 1, false, 50, 50, [0, 1]);
costume44 = new Array(0, 0, 1, 1, false, 50, 50, [1, 0]);
costume45 = new Array(0, 0, 1, 1, false, 50, 50, [0, 1]);
costume46 = new Array(0, 0, 2, 1, false, 50, 50, [1, 1]);
costume47 = new Array(0, 0, 2, 2, false, 50, 50, [1, 1]);
costume48 = new Array(0, 0, 1, 1, false, 50, 50, [0, 0]);
i = 0;
while (i < costumeMaxNum) {
this["costume" + i][0] = _parent["costume" + i]._x;
this["costume" + i][1] = _parent["costume" + i]._y;
i++;
}
}
Instance of Symbol 5 MovieClip "layerZero" in Frame 5
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 39 MovieClip "setparts1" in Frame 5
onClipEvent (load) {
cosNum = this._name.split("costume").join("");
costume = new Array();
i = 0;
while (i < 8) {
costume[i] = _parent.setup["costume" + cosNum][i];
i++;
}
cos_x = costume[0];
cos_y = costume[1];
partsMax = costume[2];
partsNum = costume[3];
putOn = costume[4];
flop = costume[5];
fifty = costume[6];
setparts = costume[7];
cosIni = (cosNum - partsNum) + 1;
cosFrm = 1 + partsNum;
cosFrmFst = ((!putOn) ? 1 : (cosFrm));
this.gotoAndStop(cosFrmFst);
this._visible = ((!((!putOn) && (partsNum > 1))) ? true : false);
cos_vi = _parent.setup.cos_vi;
this._visible = ((!((!putOn) && (!cos_vi))) ? (this._visible) : false);
if (partsNum > 1) {
putOn = true;
}
_x = ((!putOn) ? (_x) : (cos_x));
_y = ((!putOn) ? (_y) : (cos_y));
poDepth = this.getDepth();
topDepth = _parent.setup.topDepth;
i = 0;
while (i < _parent.setup.setpartsMax) {
_parent.setup.setpartsStatus[i] = _parent.setup.setpartsStatus[i] + ((!((putOn && (setparts[i])) && (partsNum == 1))) ? 0 : 1);
_parent["setparts" + i]._visible = ((!_parent.setup.setpartsStatus[i]) ? true : false);
i++;
}
m = 2.5;
e = 0.4;
vs = 0;
minimum = (putOn + 1) % 2;
sizeUp = false;
t1 = true;
t2 = false;
}
on (press) {
this.gotoAndStop(1);
if (putOn) {
i = 0;
while (i < _parent.setup.setpartsMax) {
_parent.setup.setpartsStatus[i] = _parent.setup.setpartsStatus[i] - ((!(setparts[i] && (partsNum == 1))) ? 0 : 1);
_parent["setparts" + i]._visible = ((!_parent.setup.setpartsStatus[i]) ? true : false);
i++;
}
if (partsMax > 1) {
i = 0;
while (i < partsMax) {
if (i != (partsNum - 1)) {
_parent["costume" + (cosIni + i)]._visible = false;
}
i++;
}
}
}
this.startDrag();
this.swapDepths(_parent["layerLevel" + topDepth]);
if (!putOn) {
_parent["layerLevel" + topDepth].swapDepths(poDepth);
}
minimum = false;
sizeUp = true;
t2 = getTimer();
putOn = false;
}
on (release, releaseOutside) {
this.stopDrag();
i = 0;
while (i < topDepth) {
if ((_parent["layerLevel" + i].getDepth() >= 0) && (_parent["layerLevel" + (i + 1)].getDepth() < 0)) {
_parent["layerLevel" + i].swapDepths(i + 1);
_parent["layerLevel" + i].swapDepths(_parent["layerLevel" + (i + 1)]);
}
i++;
}
flopRange = Math.sqrt(Math.pow(cos_x - _x, 2) + Math.pow(cos_y - _y, 2));
if (flopRange < flop) {
_x = cos_x;
_y = cos_y;
putOn = true;
this.swapDepths(poDepth);
this.gotoAndStop(cosFrm);
if (partsMax > 1) {
i = 0;
while (i < partsMax) {
if (i != (partsNum - 1)) {
prtcosFrm = _parent["costume" + (cosIni + i)].cosFrm;
_parent["costume" + (cosIni + i)].gotoAndStop(prtcosFrm);
_parent["costume" + (cosIni + i)]._x = this._x;
_parent["costume" + (cosIni + i)]._y = this._y;
_parent["costume" + (cosIni + i)]._visible = true;
_parent["costume" + (cosIni + i)].putOn = true;
}
i++;
}
}
i = 0;
while (i < _parent.setup.setpartsMax) {
_parent.setup.setpartsStatus[i] = _parent.setup.setpartsStatus[i] + ((!(setparts[i] && (partsNum == 1))) ? 0 : 1);
_parent["setparts" + i]._visible = ((!_parent.setup.setpartsStatus[i]) ? true : false);
i++;
}
}
t1 = (t2 = getTimer());
}
onClipEvent (enterFrame) {
if (fifty < 100) {
if (((!putOn) && (t1 == t2)) && ((getTimer() - t2) > 3000)) {
sizeUp = true;
minimum = true;
t2 = getTimer();
}
if (sizeUp) {
ss = 100 - (minimum * fifty);
cs = _xscale;
vs = Math.round(((e * vs) + ((ss - cs) / m)) * 1000) / 1000;
_xscale = (Math.round(_xscale) + vs);
_yscale = (Math.round(_yscale) + vs);
if ((vs == 0) && (_xscale == ss)) {
sizeUp = false;
}
}
}
}
Instance of Symbol 41 MovieClip "setparts0" in Frame 5
onClipEvent (load) {
cosNum = this._name.split("costume").join("");
costume = new Array();
i = 0;
while (i < 8) {
costume[i] = _parent.setup["costume" + cosNum][i];
i++;
}
cos_x = costume[0];
cos_y = costume[1];
partsMax = costume[2];
partsNum = costume[3];
putOn = costume[4];
flop = costume[5];
fifty = costume[6];
setparts = costume[7];
cosIni = (cosNum - partsNum) + 1;
cosFrm = 1 + partsNum;
cosFrmFst = ((!putOn) ? 1 : (cosFrm));
this.gotoAndStop(cosFrmFst);
this._visible = ((!((!putOn) && (partsNum > 1))) ? true : false);
cos_vi = _parent.setup.cos_vi;
this._visible = ((!((!putOn) && (!cos_vi))) ? (this._visible) : false);
if (partsNum > 1) {
putOn = true;
}
_x = ((!putOn) ? (_x) : (cos_x));
_y = ((!putOn) ? (_y) : (cos_y));
poDepth = this.getDepth();
topDepth = _parent.setup.topDepth;
i = 0;
while (i < _parent.setup.setpartsMax) {
_parent.setup.setpartsStatus[i] = _parent.setup.setpartsStatus[i] + ((!((putOn && (setparts[i])) && (partsNum == 1))) ? 0 : 1);
_parent["setparts" + i]._visible = ((!_parent.setup.setpartsStatus[i]) ? true : false);
i++;
}
m = 2.5;
e = 0.4;
vs = 0;
minimum = (putOn + 1) % 2;
sizeUp = false;
t1 = true;
t2 = false;
}
on (press) {
this.gotoAndStop(1);
if (putOn) {
i = 0;
while (i < _parent.setup.setpartsMax) {
_parent.setup.setpartsStatus[i] = _parent.setup.setpartsStatus[i] - ((!(setparts[i] && (partsNum == 1))) ? 0 : 1);
_parent["setparts" + i]._visible = ((!_parent.setup.setpartsStatus[i]) ? true : false);
i++;
}
if (partsMax > 1) {
i = 0;
while (i < partsMax) {
if (i != (partsNum - 1)) {
_parent["costume" + (cosIni + i)]._visible = false;
}
i++;
}
}
}
this.startDrag();
this.swapDepths(_parent["layerLevel" + topDepth]);
if (!putOn) {
_parent["layerLevel" + topDepth].swapDepths(poDepth);
}
minimum = false;
sizeUp = true;
t2 = getTimer();
putOn = false;
}
on (release, releaseOutside) {
this.stopDrag();
i = 0;
while (i < topDepth) {
if ((_parent["layerLevel" + i].getDepth() >= 0) && (_parent["layerLevel" + (i + 1)].getDepth() < 0)) {
_parent["layerLevel" + i].swapDepths(i + 1);
_parent["layerLevel" + i].swapDepths(_parent["layerLevel" + (i + 1)]);
}
i++;
}
flopRange = Math.sqrt(Math.pow(cos_x - _x, 2) + Math.pow(cos_y - _y, 2));
if (flopRange < flop) {
_x = cos_x;
_y = cos_y;
putOn = true;
this.swapDepths(poDepth);
this.gotoAndStop(cosFrm);
if (partsMax > 1) {
i = 0;
while (i < partsMax) {
if (i != (partsNum - 1)) {
prtcosFrm = _parent["costume" + (cosIni + i)].cosFrm;
_parent["costume" + (cosIni + i)].gotoAndStop(prtcosFrm);
_parent["costume" + (cosIni + i)]._x = this._x;
_parent["costume" + (cosIni + i)]._y = this._y;
_parent["costume" + (cosIni + i)]._visible = true;
_parent["costume" + (cosIni + i)].putOn = true;
}
i++;
}
}
i = 0;
while (i < _parent.setup.setpartsMax) {
_parent.setup.setpartsStatus[i] = _parent.setup.setpartsStatus[i] + ((!(setparts[i] && (partsNum == 1))) ? 0 : 1);
_parent["setparts" + i]._visible = ((!_parent.setup.setpartsStatus[i]) ? true : false);
i++;
}
}
t1 = (t2 = getTimer());
}
onClipEvent (enterFrame) {
if (fifty < 100) {
if (((!putOn) && (t1 == t2)) && ((getTimer() - t2) > 3000)) {
sizeUp = true;
minimum = true;
t2 = getTimer();
}
if (sizeUp) {
ss = 100 - (minimum * fifty);
cs = _xscale;
vs = Math.round(((e * vs) + ((ss - cs) / m)) * 1000) / 1000;
_xscale = (Math.round(_xscale) + vs);
_yscale = (Math.round(_yscale) + vs);
if ((vs == 0) && (_xscale == ss)) {
sizeUp = false;
}
}
}
}
Instance of Symbol 87 MovieClip in Frame 5
onClipEvent (load) {
a = 0;
ac = 0;
action = new Array(3, 5, 10);
total = action.length;
}
Instance of Symbol 116 MovieClip in Frame 5
onClipEvent (load) {
a = 0;
at1 = 0;
at2 = getTimer();
action = new Array(3000, 3500, 8000);
total = action.length;
}
Instance of Symbol 143 MovieClip "clear_btn" in Frame 10
onClipEvent (load) {
this.hitArea = _parent.clear_hit;
_parent.clear_hit._visible = false;
costumeMaxNum = _parent.setup.costumeMaxNum;
setpartsMax = _parent.setup.setpartsMax;
}
on (rollOver) {
this.gotoAndStop("over");
}
on (rollOut) {
this.gotoAndStop("home");
}
on (press) {
this.gotoAndStop("down");
}
on (release) {
this.gotoAndStop("over");
this._parent.cheez.gotoAndPlay("clear");
if (_parent.in_btn_1.cos_vi > 0) {
_parent.in_btn_1.cos_vi = _parent.in_btn_1.cos_vi + 1;
_parent.in_btn_1.cos_vi = _parent.in_btn_1.cos_vi % 2;
_parent.in_btn_2.gotoAndPlay("in");
}
i = 0;
while (i < costumeMaxNum) {
_parent["costume" + i].removeMovieClip();
i++;
}
i = 0;
while (i < setpartsMax) {
_parent.setup.setpartsStatus[i] = 0;
_parent["setparts" + i]._visible = true;
i++;
}
i = 0;
while (i < (costumeMaxNum + 1)) {
_parent["layerLevel" + i].removeMovieClip();
_parent.layerZero.duplicateMovieClip("layerLevel" + i, i);
i++;
}
_root.gotoAndPlay("start");
}
on (releaseOutside) {
this.gotoAndStop("home");
}
Instance of Symbol 149 MovieClip "in_btn_1" in Frame 10
onClipEvent (load) {
this.hitArea = _parent.in_hit;
_parent.in_hit._visible = false;
cos_vi = _parent.setup.cos_vi;
in_out = ((!cos_vi) ? "pre_out" : "pre_in");
_parent.in_btn_2.gotoAndStop(in_out);
costumeMaxNum = this._parent.setup.costumeMaxNum;
}
on (rollOver) {
this.gotoAndStop("over");
in_out = ((cos_vi <= 0) ? "pre_out" : "pre_in");
this._parent.in_btn_2.gotoAndStop(in_out);
this._parent.cheez.gotoAndPlay(in_out);
}
on (rollOut) {
this.gotoAndStop("home");
in_out = "home";
if (!_parent.cheez.cheezing) {
this._parent.in_btn_2.gotoAndStop(in_out);
this._parent.cheez.gotoAndStop(in_out);
}
}
on (press) {
this.gotoAndStop("down");
}
on (release) {
this.gotoAndStop("over");
in_out = ((cos_vi <= 0) ? "out" : "in");
cos_vi++;
cos_vi = cos_vi % 2;
this._parent.in_btn_2.gotoAndPlay(in_out);
this._parent.cheez.gotoAndPlay(in_out);
i = 0;
while (i < costumeMaxNum) {
putOn = this._parent["costume" + i].putOn;
if (!putOn) {
this._parent["costume" + i]._visible = cos_vi;
}
i++;
}
}
on (releaseOutside) {
this.gotoAndStop("home");
in_out = "home";
this._parent.in_btn_2.gotoAndStop(in_out);
this._parent.cheez.gotoAndStop(in_out);
}
Instance of Symbol 7 MovieClip "costume48" in Frame 15
onClipEvent (load) {
cosNum = this._name.split("costume").join("");
costume = new Array();
i = 0;
while (i < 8) {
costume[i] = _parent.setup["costume" + cosNum][i];
i++;
}
cos_x = costume[0];
cos_y = costume[1];
partsMax = costume[2];
partsNum = costume[3];
putOn = costume[4];
flop = costume[5];
fifty = costume[6];
setparts = costume[7];
cosIni = (cosNum - partsNum) + 1;
cosFrm = 1 + partsNum;
cosFrmFst = ((!putOn) ? 1 : (cosFrm));
this.gotoAndStop(cosFrmFst);
this._visible = ((!((!putOn) && (partsNum > 1))) ? true : false);
cos_vi = _parent.setup.cos_vi;
this._visible = ((!((!putOn) && (!cos_vi))) ? (this._visible) : false);
if (partsNum > 1) {
putOn = true;
}
_x = ((!putOn) ? (_x) : (cos_x));
_y = ((!putOn) ? (_y) : (cos_y));
poDepth = this.getDepth();
topDepth = _parent.setup.topDepth;
i = 0;
while (i < _parent.setup.setpartsMax) {
_parent.setup.setpartsStatus[i] = _parent.setup.setpartsStatus[i] + ((!((putOn && (setparts[i])) && (partsNum == 1))) ? 0 : 1);
_parent["setparts" + i]._visible = ((!_parent.setup.setpartsStatus[i]) ? true : false);
i++;
}
m = 2.5;
e = 0.4;
vs = 0;
minimum = (putOn + 1) % 2;
sizeUp = false;
t1 = true;
t2 = false;
}
on (press) {
this.gotoAndStop(1);
if (putOn) {
i = 0;
while (i < _parent.setup.setpartsMax) {
_parent.setup.setpartsStatus[i] = _parent.setup.setpartsStatus[i] - ((!(setparts[i] && (partsNum == 1))) ? 0 : 1);
_parent["setparts" + i]._visible = ((!_parent.setup.setpartsStatus[i]) ? true : false);
i++;
}
if (partsMax > 1) {
i = 0;
while (i < partsMax) {
if (i != (partsNum - 1)) {
_parent["costume" + (cosIni + i)]._visible = false;
}
i++;
}
}
}
this.startDrag();
this.swapDepths(_parent["layerLevel" + topDepth]);
if (!putOn) {
_parent["layerLevel" + topDepth].swapDepths(poDepth);
}
minimum = false;
sizeUp = true;
t2 = getTimer();
putOn = false;
}
on (release, releaseOutside) {
this.stopDrag();
i = 0;
while (i < topDepth) {
if ((_parent["layerLevel" + i].getDepth() >= 0) && (_parent["layerLevel" + (i + 1)].getDepth() < 0)) {
_parent["layerLevel" + i].swapDepths(i + 1);
_parent["layerLevel" + i].swapDepths(_parent["layerLevel" + (i + 1)]);
}
i++;
}
flopRange = Math.sqrt(Math.pow(cos_x - _x, 2) + Math.pow(cos_y - _y, 2));
if (flopRange < flop) {
_x = cos_x;
_y = cos_y;
putOn = true;
this.swapDepths(poDepth);
this.gotoAndStop(cosFrm);
if (partsMax > 1) {
i = 0;
while (i < partsMax) {
if (i != (partsNum - 1)) {
prtcosFrm = _parent["costume" + (cosIni + i)].cosFrm;
_parent["costume" + (cosIni + i)].gotoAndStop(prtcosFrm);
_parent["costume" + (cosIni + i)]._x = this._x;
_parent["costume" + (cosIni + i)]._y = this._y;
_parent["costume" + (cosIni + i)]._visible = true;
_parent["costume" + (cosIni + i)].putOn = true;
}
i++;
}
}
i = 0;
while (i < _parent.setup.setpartsMax) {
_parent.setup.setpartsStatus[i] = _parent.setup.setpartsStatus[i] + ((!(setparts[i] && (partsNum == 1))) ? 0 : 1);
_parent["setparts" + i]._visible = ((!_parent.setup.setpartsStatus[i]) ? true : false);
i++;
}
}
t1 = (t2 = getTimer());
}
onClipEvent (enterFrame) {
if (fifty < 100) {
if (((!putOn) && (t1 == t2)) && ((getTimer() - t2) > 3000)) {
sizeUp = true;
minimum = true;
t2 = getTimer();
}
if (sizeUp) {
ss = 100 - (minimum * fifty);
cs = _xscale;
vs = Math.round(((e * vs) + ((ss - cs) / m)) * 1000) / 1000;
_xscale = (Math.round(_xscale) + vs);
_yscale = (Math.round(_yscale) + vs);
if ((vs == 0) && (_xscale == ss)) {
sizeUp = false;
}
}
}
}
Instance of Symbol 12 MovieClip "costume29" in Frame 15
onClipEvent (load) {
cosNum = this._name.split("costume").join("");
costume = new Array();
i = 0;
while (i < 8) {
costume[i] = _parent.setup["costume" + cosNum][i];
i++;
}
cos_x = costume[0];
cos_y = costume[1];
partsMax = costume[2];
partsNum = costume[3];
putOn = costume[4];
flop = costume[5];
fifty = costume[6];
setparts = costume[7];
cosIni = (cosNum - partsNum) + 1;
cosFrm = 1 + partsNum;
cosFrmFst = ((!putOn) ? 1 : (cosFrm));
this.gotoAndStop(cosFrmFst);
this._visible = ((!((!putOn) && (partsNum > 1))) ? true : false);
cos_vi = _parent.setup.cos_vi;
this._visible = ((!((!putOn) && (!cos_vi))) ? (this._visible) : false);
if (partsNum > 1) {
putOn = true;
}
_x = ((!putOn) ? (_x) : (cos_x));
_y = ((!putOn) ? (_y) : (cos_y));
poDepth = this.getDepth();
topDepth = _parent.setup.topDepth;
i = 0;
while (i < _parent.setup.setpartsMax) {
_parent.setup.setpartsStatus[i] = _parent.setup.setpartsStatus[i] + ((!((putOn && (setparts[i])) && (partsNum == 1))) ? 0 : 1);
_parent["setparts" + i]._visible = ((!_parent.setup.setpartsStatus[i]) ? true : false);
i++;
}
m = 2.5;
e = 0.4;
vs = 0;
minimum = (putOn + 1) % 2;
sizeUp = false;
t1 = true;
t2 = false;
}
on (press) {
this.gotoAndStop(1);
if (putOn) {
i = 0;
while (i < _parent.setup.setpartsMax) {
_parent.setup.setpartsStatus[i] = _parent.setup.setpartsStatus[i] - ((!(setparts[i] && (partsNum == 1))) ? 0 : 1);
_parent["setparts" + i]._visible = ((!_parent.setup.setpartsStatus[i]) ? true : false);
i++;
}
if (partsMax > 1) {
i = 0;
while (i < partsMax) {
if (i != (partsNum - 1)) {
_parent["costume" + (cosIni + i)]._visible = false;
}
i++;
}
}
}
this.startDrag();
this.swapDepths(_parent["layerLevel" + topDepth]);
if (!putOn) {
_parent["layerLevel" + topDepth].swapDepths(poDepth);
}
minimum = false;
sizeUp = true;
t2 = getTimer();
putOn = false;
}
on (release, releaseOutside) {
this.stopDrag();
i = 0;
while (i < topDepth) {
if ((_parent["layerLevel" + i].getDepth() >= 0) && (_parent["layerLevel" + (i + 1)].getDepth() < 0)) {
_parent["layerLevel" + i].swapDepths(i + 1);
_parent["layerLevel" + i].swapDepths(_parent["layerLevel" + (i + 1)]);
}
i++;
}
flopRange = Math.sqrt(Math.pow(cos_x - _x, 2) + Math.pow(cos_y - _y, 2));
if (flopRange < flop) {
_x = cos_x;
_y = cos_y;
putOn = true;
this.swapDepths(poDepth);
this.gotoAndStop(cosFrm);
if (partsMax > 1) {
i = 0;
while (i < partsMax) {
if (i != (partsNum - 1)) {
prtcosFrm = _parent["costume" + (cosIni + i)].cosFrm;
_parent["costume" + (cosIni + i)].gotoAndStop(prtcosFrm);
_parent["costume" + (cosIni + i)]._x = this._x;
_parent["costume" + (cosIni + i)]._y = this._y;
_parent["costume" + (cosIni + i)]._visible = true;
_parent["costume" + (cosIni + i)].putOn = true;
}
i++;
}
}
i = 0;
while (i < _parent.setup.setpartsMax) {
_parent.setup.setpartsStatus[i] = _parent.setup.setpartsStatus[i] + ((!(setparts[i] && (partsNum == 1))) ? 0 : 1);
_parent["setparts" + i]._visible = ((!_parent.setup.setpartsStatus[i]) ? true : false);
i++;
}
}
t1 = (t2 = getTimer());
}
onClipEvent (enterFrame) {
if (fifty < 100) {
if (((!putOn) && (t1 == t2)) && ((getTimer() - t2) > 3000)) {
sizeUp = true;
minimum = true;
t2 = getTimer();
}
if (sizeUp) {
ss = 100 - (minimum * fifty);
cs = _xscale;
vs = Math.round(((e * vs) + ((ss - cs) / m)) * 1000) / 1000;
_xscale = (Math.round(_xscale) + vs);
_yscale = (Math.round(_yscale) + vs);
if ((vs == 0) && (_xscale == ss)) {
sizeUp = false;
}
}
}
}
Instance of Symbol 16 MovieClip "costume21" in Frame 15
onClipEvent (load) {
cosNum = this._name.split("costume").join("");
costume = new Array();
i = 0;
while (i < 8) {
costume[i] = _parent.setup["costume" + cosNum][i];
i++;
}
cos_x = costume[0];
cos_y = costume[1];
partsMax = costume[2];
partsNum = costume[3];
putOn = costume[4];
flop = costume[5];
fifty = costume[6];
setparts = costume[7];
cosIni = (cosNum - partsNum) + 1;
cosFrm = 1 + partsNum;
cosFrmFst = ((!putOn) ? 1 : (cosFrm));
this.gotoAndStop(cosFrmFst);
this._visible = ((!((!putOn) && (partsNum > 1))) ? true : false);
cos_vi = _parent.setup.cos_vi;
this._visible = ((!((!putOn) && (!cos_vi))) ? (this._visible) : false);
if (partsNum > 1) {
putOn = true;
}
_x = ((!putOn) ? (_x) : (cos_x));
_y = ((!putOn) ? (_y) : (cos_y));
poDepth = this.getDepth();
topDepth = _parent.setup.topDepth;
i = 0;
while (i < _parent.setup.setpartsMax) {
_parent.setup.setpartsStatus[i] = _parent.setup.setpartsStatus[i] + ((!((putOn && (setparts[i])) && (partsNum == 1))) ? 0 : 1);
_parent["setparts" + i]._visible = ((!_parent.setup.setpartsStatus[i]) ? true : false);
i++;
}
m = 2.5;
e = 0.4;
vs = 0;
minimum = (putOn + 1) % 2;
sizeUp = false;
t1 = true;
t2 = false;
}
on (press) {
this.gotoAndStop(1);
if (putOn) {
i = 0;
while (i < _parent.setup.setpartsMax) {
_parent.setup.setpartsStatus[i] = _parent.setup.setpartsStatus[i] - ((!(setparts[i] && (partsNum == 1))) ? 0 : 1);
_parent["setparts" + i]._visible = ((!_parent.setup.setpartsStatus[i]) ? true : false);
i++;
}
if (partsMax > 1) {
i = 0;
while (i < partsMax) {
if (i != (partsNum - 1)) {
_parent["costume" + (cosIni + i)]._visible = false;
}
i++;
}
}
}
this.startDrag();
this.swapDepths(_parent["layerLevel" + topDepth]);
if (!putOn) {
_parent["layerLevel" + topDepth].swapDepths(poDepth);
}
minimum = false;
sizeUp = true;
t2 = getTimer();
putOn = false;
}
on (release, releaseOutside) {
this.stopDrag();
i = 0;
while (i < topDepth) {
if ((_parent["layerLevel" + i].getDepth() >= 0) && (_parent["layerLevel" + (i + 1)].getDepth() < 0)) {
_parent["layerLevel" + i].swapDepths(i + 1);
_parent["layerLevel" + i].swapDepths(_parent["layerLevel" + (i + 1)]);
}
i++;
}
flopRange = Math.sqrt(Math.pow(cos_x - _x, 2) + Math.pow(cos_y - _y, 2));
if (flopRange < flop) {
_x = cos_x;
_y = cos_y;
putOn = true;
this.swapDepths(poDepth);
this.gotoAndStop(cosFrm);
if (partsMax > 1) {
i = 0;
while (i < partsMax) {
if (i != (partsNum - 1)) {
prtcosFrm = _parent["costume" + (cosIni + i)].cosFrm;
_parent["costume" + (cosIni + i)].gotoAndStop(prtcosFrm);
_parent["costume" + (cosIni + i)]._x = this._x;
_parent["costume" + (cosIni + i)]._y = this._y;
_parent["costume" + (cosIni + i)]._visible = true;
_parent["costume" + (cosIni + i)].putOn = true;
}
i++;
}
}
i = 0;
while (i < _parent.setup.setpartsMax) {
_parent.setup.setpartsStatus[i] = _parent.setup.setpartsStatus[i] + ((!(setparts[i] && (partsNum == 1))) ? 0 : 1);
_parent["setparts" + i]._visible = ((!_parent.setup.setpartsStatus[i]) ? true : false);
i++;
}
}
t1 = (t2 = getTimer());
}
onClipEvent (enterFrame) {
if (fifty < 100) {
if (((!putOn) && (t1 == t2)) && ((getTimer() - t2) > 3000)) {
sizeUp = true;
minimum = true;
t2 = getTimer();
}
if (sizeUp) {
ss = 100 - (minimum * fifty);
cs = _xscale;
vs = Math.round(((e * vs) + ((ss - cs) / m)) * 1000) / 1000;
_xscale = (Math.round(_xscale) + vs);
_yscale = (Math.round(_yscale) + vs);
if ((vs == 0) && (_xscale == ss)) {
sizeUp = false;
}
}
}
}
Instance of Symbol 20 MovieClip "costume27" in Frame 15
onClipEvent (load) {
cosNum = this._name.split("costume").join("");
costume = new Array();
i = 0;
while (i < 8) {
costume[i] = _parent.setup["costume" + cosNum][i];
i++;
}
cos_x = costume[0];
cos_y = costume[1];
partsMax = costume[2];
partsNum = costume[3];
putOn = costume[4];
flop = costume[5];
fifty = costume[6];
setparts = costume[7];
cosIni = (cosNum - partsNum) + 1;
cosFrm = 1 + partsNum;
cosFrmFst = ((!putOn) ? 1 : (cosFrm));
this.gotoAndStop(cosFrmFst);
this._visible = ((!((!putOn) && (partsNum > 1))) ? true : false);
cos_vi = _parent.setup.cos_vi;
this._visible = ((!((!putOn) && (!cos_vi))) ? (this._visible) : false);
if (partsNum > 1) {
putOn = true;
}
_x = ((!putOn) ? (_x) : (cos_x));
_y = ((!putOn) ? (_y) : (cos_y));
poDepth = this.getDepth();
topDepth = _parent.setup.topDepth;
i = 0;
while (i < _parent.setup.setpartsMax) {
_parent.setup.setpartsStatus[i] = _parent.setup.setpartsStatus[i] + ((!((putOn && (setparts[i])) && (partsNum == 1))) ? 0 : 1);
_parent["setparts" + i]._visible = ((!_parent.setup.setpartsStatus[i]) ? true : false);
i++;
}
m = 2.5;
e = 0.4;
vs = 0;
minimum = (putOn + 1) % 2;
sizeUp = false;
t1 = true;
t2 = false;
}
on (press) {
this.gotoAndStop(1);
if (putOn) {
i = 0;
while (i < _parent.setup.setpartsMax) {
_parent.setup.setpartsStatus[i] = _parent.setup.setpartsStatus[i] - ((!(setparts[i] && (partsNum == 1))) ? 0 : 1);
_parent["setparts" + i]._visible = ((!_parent.setup.setpartsStatus[i]) ? true : false);
i++;
}
if (partsMax > 1) {
i = 0;
while (i < partsMax) {
if (i != (partsNum - 1)) {
_parent["costume" + (cosIni + i)]._visible = false;
}
i++;
}
}
}
this.startDrag();
this.swapDepths(_parent["layerLevel" + topDepth]);
if (!putOn) {
_parent["layerLevel" + topDepth].swapDepths(poDepth);
}
minimum = false;
sizeUp = true;
t2 = getTimer();
putOn = false;
}
on (release, releaseOutside) {
this.stopDrag();
i = 0;
while (i < topDepth) {
if ((_parent["layerLevel" + i].getDepth() >= 0) && (_parent["layerLevel" + (i + 1)].getDepth() < 0)) {
_parent["layerLevel" + i].swapDepths(i + 1);
_parent["layerLevel" + i].swapDepths(_parent["layerLevel" + (i + 1)]);
}
i++;
}
flopRange = Math.sqrt(Math.pow(cos_x - _x, 2) + Math.pow(cos_y - _y, 2));
if (flopRange < flop) {
_x = cos_x;
_y = cos_y;
putOn = true;
this.swapDepths(poDepth);
this.gotoAndStop(cosFrm);
if (partsMax > 1) {
i = 0;
while (i < partsMax) {
if (i != (partsNum - 1)) {
prtcosFrm = _parent["costume" + (cosIni + i)].cosFrm;
_parent["costume" + (cosIni + i)].gotoAndStop(prtcosFrm);
_parent["costume" + (cosIni + i)]._x = this._x;
_parent["costume" + (cosIni + i)]._y = this._y;
_parent["costume" + (cosIni + i)]._visible = true;
_parent["costume" + (cosIni + i)].putOn = true;
}
i++;
}
}
i = 0;
while (i < _parent.setup.setpartsMax) {
_parent.setup.setpartsStatus[i] = _parent.setup.setpartsStatus[i] + ((!(setparts[i] && (partsNum == 1))) ? 0 : 1);
_parent["setparts" + i]._visible = ((!_parent.setup.setpartsStatus[i]) ? true : false);
i++;
}
}
t1 = (t2 = getTimer());
}
onClipEvent (enterFrame) {
if (fifty < 100) {
if (((!putOn) && (t1 == t2)) && ((getTimer() - t2) > 3000)) {
sizeUp = true;
minimum = true;
t2 = getTimer();
}
if (sizeUp) {
ss = 100 - (minimum * fifty);
cs = _xscale;
vs = Math.round(((e * vs) + ((ss - cs) / m)) * 1000) / 1000;
_xscale = (Math.round(_xscale) + vs);
_yscale = (Math.round(_yscale) + vs);
if ((vs == 0) && (_xscale == ss)) {
sizeUp = false;
}
}
}
}
Instance of Symbol 24 MovieClip "costume19" in Frame 15
onClipEvent (load) {
cosNum = this._name.split("costume").join("");
costume = new Array();
i = 0;
while (i < 8) {
costume[i] = _parent.setup["costume" + cosNum][i];
i++;
}
cos_x = costume[0];
cos_y = costume[1];
partsMax = costume[2];
partsNum = costume[3];
putOn = costume[4];
flop = costume[5];
fifty = costume[6];
setparts = costume[7];
cosIni = (cosNum - partsNum) + 1;
cosFrm = 1 + partsNum;
cosFrmFst = ((!putOn) ? 1 : (cosFrm));
this.gotoAndStop(cosFrmFst);
this._visible = ((!((!putOn) && (partsNum > 1))) ? true : false);
cos_vi = _parent.setup.cos_vi;
this._visible = ((!((!putOn) && (!cos_vi))) ? (this._visible) : false);
if (partsNum > 1) {
putOn = true;
}
_x = ((!putOn) ? (_x) : (cos_x));
_y = ((!putOn) ? (_y) : (cos_y));
poDepth = this.getDepth();
topDepth = _parent.setup.topDepth;
i = 0;
while (i < _parent.setup.setpartsMax) {
_parent.setup.setpartsStatus[i] = _parent.setup.setpartsStatus[i] + ((!((putOn && (setparts[i])) && (partsNum == 1))) ? 0 : 1);
_parent["setparts" + i]._visible = ((!_parent.setup.setpartsStatus[i]) ? true : false);
i++;
}
m = 2.5;
e = 0.4;
vs = 0;
minimum = (putOn + 1) % 2;
sizeUp = false;
t1 = true;
t2 = false;
}
on (press) {
this.gotoAndStop(1);
if (putOn) {
i = 0;
while (i < _parent.setup.setpartsMax) {
_parent.setup.setpartsStatus[i] = _parent.setup.setpartsStatus[i] - ((!(setparts[i] && (partsNum == 1))) ? 0 : 1);
_parent["setparts" + i]._visible = ((!_parent.setup.setpartsStatus[i]) ? true : false);
i++;
}
if (partsMax > 1) {
i = 0;
while (i < partsMax) {
if (i != (partsNum - 1)) {
_parent["costume" + (cosIni + i)]._visible = false;
}
i++;
}
}
}
this.startDrag();
this.swapDepths(_parent["layerLevel" + topDepth]);
if (!putOn) {
_parent["layerLevel" + topDepth].swapDepths(poDepth);
}
minimum = false;
sizeUp = true;
t2 = getTimer();
putOn = false;
}
on (release, releaseOutside) {
this.stopDrag();
i = 0;
while (i < topDepth) {
if ((_parent["layerLevel" + i].getDepth() >= 0) && (_parent["layerLevel" + (i + 1)].getDepth() < 0)) {
_parent["layerLevel" + i].swapDepths(i + 1);
_parent["layerLevel" + i].swapDepths(_parent["layerLevel" + (i + 1)]);
}
i++;
}
flopRange = Math.sqrt(Math.pow(cos_x - _x, 2) + Math.pow(cos_y - _y, 2));
if (flopRange < flop) {
_x = cos_x;
_y = cos_y;
putOn = true;
this.swapDepths(poDepth);
this.gotoAndStop(cosFrm);
if (partsMax > 1) {
i = 0;
while (i < partsMax) {
if (i != (partsNum - 1)) {
prtcosFrm = _parent["costume" + (cosIni + i)].cosFrm;
_parent["costume" + (cosIni + i)].gotoAndStop(prtcosFrm);
_parent["costume" + (cosIni + i)]._x = this._x;
_parent["costume" + (cosIni + i)]._y = this._y;
_parent["costume" + (cosIni + i)]._visible = true;
_parent["costume" + (cosIni + i)].putOn = true;
}
i++;
}
}
i = 0;
while (i < _parent.setup.setpartsMax) {
_parent.setup.setpartsStatus[i] = _parent.setup.setpartsStatus[i] + ((!(setparts[i] && (partsNum == 1))) ? 0 : 1);
_parent["setparts" + i]._visible = ((!_parent.setup.setpartsStatus[i]) ? true : false);
i++;
}
}
t1 = (t2 = getTimer());
}
onClipEvent (enterFrame) {
if (fifty < 100) {
if (((!putOn) && (t1 == t2)) && ((getTimer() - t2) > 3000)) {
sizeUp = true;
minimum = true;
t2 = getTimer();
}
if (sizeUp) {
ss = 100 - (minimum * fifty);
cs = _xscale;
vs = Math.round(((e * vs) + ((ss - cs) / m)) * 1000) / 1000;
_xscale = (Math.round(_xscale) + vs);
_yscale = (Math.round(_yscale) + vs);
if ((vs == 0) && (_xscale == ss)) {
sizeUp = false;
}
}
}
}
Instance of Symbol 28 MovieClip "costume47" in Frame 15
onClipEvent (load) {
cosNum = this._name.split("costume").join("");
costume = new Array();
i = 0;
while (i < 8) {
costume[i] = _parent.setup["costume" + cosNum][i];
i++;
}
cos_x = costume[0];
cos_y = costume[1];
partsMax = costume[2];
partsNum = costume[3];
putOn = costume[4];
flop = costume[5];
fifty = costume[6];
setparts = costume[7];
cosIni = (cosNum - partsNum) + 1;
cosFrm = 1 + partsNum;
cosFrmFst = ((!putOn) ? 1 : (cosFrm));
this.gotoAndStop(cosFrmFst);
this._visible = ((!((!putOn) && (partsNum > 1))) ? true : false);
cos_vi = _parent.setup.cos_vi;
this._visible = ((!((!putOn) && (!cos_vi))) ? (this._visible) : false);
if (partsNum > 1) {
putOn = true;
}
_x = ((!putOn) ? (_x) : (cos_x));
_y = ((!putOn) ? (_y) : (cos_y));
poDepth = this.getDepth();
topDepth = _parent.setup.topDepth;
i = 0;
while (i < _parent.setup.setpartsMax) {
_parent.setup.setpartsStatus[i] = _parent.setup.setpartsStatus[i] + ((!((putOn && (setparts[i])) && (partsNum == 1))) ? 0 : 1);
_parent["setparts" + i]._visible = ((!_parent.setup.setpartsStatus[i]) ? true : false);
i++;
}
m = 2.5;
e = 0.4;
vs = 0;
minimum = (putOn + 1) % 2;
sizeUp = false;
t1 = true;
t2 = false;
}
on (press) {
this.gotoAndStop(1);
if (putOn) {
i = 0;
while (i < _parent.setup.setpartsMax) {
_parent.setup.setpartsStatus[i] = _parent.setup.setpartsStatus[i] - ((!(setparts[i] && (partsNum == 1))) ? 0 : 1);
_parent["setparts" + i]._visible = ((!_parent.setup.setpartsStatus[i]) ? true : false);
i++;
}
if (partsMax > 1) {
i = 0;
while (i < partsMax) {
if (i != (partsNum - 1)) {
_parent["costume" + (cosIni + i)]._visible = false;
}
i++;
}
}
}
this.startDrag();
this.swapDepths(_parent["layerLevel" + topDepth]);
if (!putOn) {
_parent["layerLevel" + topDepth].swapDepths(poDepth);
}
minimum = false;
sizeUp = true;
t2 = getTimer();
putOn = false;
}
on (release, releaseOutside) {
this.stopDrag();
i = 0;
while (i < topDepth) {
if ((_parent["layerLevel" + i].getDepth() >= 0) && (_parent["layerLevel" + (i + 1)].getDepth() < 0)) {
_parent["layerLevel" + i].swapDepths(i + 1);
_parent["layerLevel" + i].swapDepths(_parent["layerLevel" + (i + 1)]);
}
i++;
}
flopRange = Math.sqrt(Math.pow(cos_x - _x, 2) + Math.pow(cos_y - _y, 2));
if (flopRange < flop) {
_x = cos_x;
_y = cos_y;
putOn = true;
this.swapDepths(poDepth);
this.gotoAndStop(cosFrm);
if (partsMax > 1) {
i = 0;
while (i < partsMax) {
if (i != (partsNum - 1)) {
prtcosFrm = _parent["costume" + (cosIni + i)].cosFrm;
_parent["costume" + (cosIni + i)].gotoAndStop(prtcosFrm);
_parent["costume" + (cosIni + i)]._x = this._x;
_parent["costume" + (cosIni + i)]._y = this._y;
_parent["costume" + (cosIni + i)]._visible = true;
_parent["costume" + (cosIni + i)].putOn = true;
}
i++;
}
}
i = 0;
while (i < _parent.setup.setpartsMax) {
_parent.setup.setpartsStatus[i] = _parent.setup.setpartsStatus[i] + ((!(setparts[i] && (partsNum == 1))) ? 0 : 1);
_parent["setparts" + i]._visible = ((!_parent.setup.setpartsStatus[i]) ? true : false);
i++;
}
}
t1 = (t2 = getTimer());
}
onClipEvent (enterFrame) {
if (fifty < 100) {
if (((!putOn) && (t1 == t2)) && ((getTimer() - t2) > 3000)) {
sizeUp = true;
minimum = true;
t2 = getTimer();
}
if (sizeUp) {
ss = 100 - (minimum * fifty);
cs = _xscale;
vs = Math.round(((e * vs) + ((ss - cs) / m)) * 1000) / 1000;
_xscale = (Math.round(_xscale) + vs);
_yscale = (Math.round(_yscale) + vs);
if ((vs == 0) && (_xscale == ss)) {
sizeUp = false;
}
}
}
}
Instance of Symbol 32 MovieClip "costume13" in Frame 15
onClipEvent (load) {
cosNum = this._name.split("costume").join("");
costume = new Array();
i = 0;
while (i < 8) {
costume[i] = _parent.setup["costume" + cosNum][i];
i++;
}
cos_x = costume[0];
cos_y = costume[1];
partsMax = costume[2];
partsNum = costume[3];
putOn = costume[4];
flop = costume[5];
fifty = costume[6];
setparts = costume[7];
cosIni = (cosNum - partsNum) + 1;
cosFrm = 1 + partsNum;
cosFrmFst = ((!putOn) ? 1 : (cosFrm));
this.gotoAndStop(cosFrmFst);
this._visible = ((!((!putOn) && (partsNum > 1))) ? true : false);
cos_vi = _parent.setup.cos_vi;
this._visible = ((!((!putOn) && (!cos_vi))) ? (this._visible) : false);
if (partsNum > 1) {
putOn = true;
}
_x = ((!putOn) ? (_x) : (cos_x));
_y = ((!putOn) ? (_y) : (cos_y));
poDepth = this.getDepth();
topDepth = _parent.setup.topDepth;
i = 0;
while (i < _parent.setup.setpartsMax) {
_parent.setup.setpartsStatus[i] = _parent.setup.setpartsStatus[i] + ((!((putOn && (setparts[i])) && (partsNum == 1))) ? 0 : 1);
_parent["setparts" + i]._visible = ((!_parent.setup.setpartsStatus[i]) ? true : false);
i++;
}
m = 2.5;
e = 0.4;
vs = 0;
minimum = (putOn + 1) % 2;
sizeUp = false;
t1 = true;
t2 = false;
}
on (press) {
this.gotoAndStop(1);
if (putOn) {
i = 0;
while (i < _parent.setup.setpartsMax) {
_parent.setup.setpartsStatus[i] = _parent.setup.setpartsStatus[i] - ((!(setparts[i] && (partsNum == 1))) ? 0 : 1);
_parent["setparts" + i]._visible = ((!_parent.setup.setpartsStatus[i]) ? true : false);
i++;
}
if (partsMax > 1) {
i = 0;
while (i < partsMax) {
if (i != (partsNum - 1)) {
_parent["costume" + (cosIni + i)]._visible = false;
}
i++;
}
}
}
this.startDrag();
this.swapDepths(_parent["layerLevel" + topDepth]);
if (!putOn) {
_parent["layerLevel" + topDepth].swapDepths(poDepth);
}
minimum = false;
sizeUp = true;
t2 = getTimer();
putOn = false;
}
on (release, releaseOutside) {
this.stopDrag();
i = 0;
while (i < topDepth) {
if ((_parent["layerLevel" + i].getDepth() >= 0) && (_parent["layerLevel" + (i + 1)].getDepth() < 0)) {
_parent["layerLevel" + i].swapDepths(i + 1);
_parent["layerLevel" + i].swapDepths(_parent["layerLevel" + (i + 1)]);
}
i++;
}
flopRange = Math.sqrt(Math.pow(cos_x - _x, 2) + Math.pow(cos_y - _y, 2));
if (flopRange < flop) {
_x = cos_x;
_y = cos_y;
putOn = true;
this.swapDepths(poDepth);
this.gotoAndStop(cosFrm);
if (partsMax > 1) {
i = 0;
while (i < partsMax) {
if (i != (partsNum - 1)) {
prtcosFrm = _parent["costume" + (cosIni + i)].cosFrm;
_parent["costume" + (cosIni + i)].gotoAndStop(prtcosFrm);
_parent["costume" + (cosIni + i)]._x = this._x;
_parent["costume" + (cosIni + i)]._y = this._y;
_parent["costume" + (cosIni + i)]._visible = true;
_parent["costume" + (cosIni + i)].putOn = true;
}
i++;
}
}
i = 0;
while (i < _parent.setup.setpartsMax) {
_parent.setup.setpartsStatus[i] = _parent.setup.setpartsStatus[i] + ((!(setparts[i] && (partsNum == 1))) ? 0 : 1);
_parent["setparts" + i]._visible = ((!_parent.setup.setpartsStatus[i]) ? true : false);
i++;
}
}
t1 = (t2 = getTimer());
}
onClipEvent (enterFrame) {
if (fifty < 100) {
if (((!putOn) && (t1 == t2)) && ((getTimer() - t2) > 3000)) {
sizeUp = true;
minimum = true;
t2 = getTimer();
}
if (sizeUp) {
ss = 100 - (minimum * fifty);
cs = _xscale;
vs = Math.round(((e * vs) + ((ss - cs) / m)) * 1000) / 1000;
_xscale = (Math.round(_xscale) + vs);
_yscale = (Math.round(_yscale) + vs);
if ((vs == 0) && (_xscale == ss)) {
sizeUp = false;
}
}
}
}
Instance of Symbol 36 MovieClip "costume11" in Frame 15
onClipEvent (load) {
cosNum = this._name.split("costume").join("");
costume = new Array();
i = 0;
while (i < 8) {
costume[i] = _parent.setup["costume" + cosNum][i];
i++;
}
cos_x = costume[0];
cos_y = costume[1];
partsMax = costume[2];
partsNum = costume[3];
putOn = costume[4];
flop = costume[5];
fifty = costume[6];
setparts = costume[7];
cosIni = (cosNum - partsNum) + 1;
cosFrm = 1 + partsNum;
cosFrmFst = ((!putOn) ? 1 : (cosFrm));
this.gotoAndStop(cosFrmFst);
this._visible = ((!((!putOn) && (partsNum > 1))) ? true : false);
cos_vi = _parent.setup.cos_vi;
this._visible = ((!((!putOn) && (!cos_vi))) ? (this._visible) : false);
if (partsNum > 1) {
putOn = true;
}
_x = ((!putOn) ? (_x) : (cos_x));
_y = ((!putOn) ? (_y) : (cos_y));
poDepth = this.getDepth();
topDepth = _parent.setup.topDepth;
i = 0;
while (i < _parent.setup.setpartsMax) {
_parent.setup.setpartsStatus[i] = _parent.setup.setpartsStatus[i] + ((!((putOn && (setparts[i])) && (partsNum == 1))) ? 0 : 1);
_parent["setparts" + i]._visible = ((!_parent.setup.setpartsStatus[i]) ? true : false);
i++;
}
m = 2.5;
e = 0.4;
vs = 0;
minimum = (putOn + 1) % 2;
sizeUp = false;
t1 = true;
t2 = false;
}
on (press) {
this.gotoAndStop(1);
if (putOn) {
i = 0;
while (i < _parent.setup.setpartsMax) {
_parent.setup.setpartsStatus[i] = _parent.setup.setpartsStatus[i] - ((!(setparts[i] && (partsNum == 1))) ? 0 : 1);
_parent["setparts" + i]._visible = ((!_parent.setup.setpartsStatus[i]) ? true : false);
i++;
}
if (partsMax > 1) {
i = 0;
while (i < partsMax) {
if (i != (partsNum - 1)) {
_parent["costume" + (cosIni + i)]._visible = false;
}
i++;
}
}
}
this.startDrag();
this.swapDepths(_parent["layerLevel" + topDepth]);
if (!putOn) {
_parent["layerLevel" + topDepth].swapDepths(poDepth);
}
minimum = false;
sizeUp = true;
t2 = getTimer();
putOn = false;
}
on (release, releaseOutside) {
this.stopDrag();
i = 0;
while (i < topDepth) {
if ((_parent["layerLevel" + i].getDepth() >= 0) && (_parent["layerLevel" + (i + 1)].getDepth() < 0)) {
_parent["layerLevel" + i].swapDepths(i + 1);
_parent["layerLevel" + i].swapDepths(_parent["layerLevel" + (i + 1)]);
}
i++;
}
flopRange = Math.sqrt(Math.pow(cos_x - _x, 2) + Math.pow(cos_y - _y, 2));
if (flopRange < flop) {
_x = cos_x;
_y = cos_y;
putOn = true;
this.swapDepths(poDepth);
this.gotoAndStop(cosFrm);
if (partsMax > 1) {
i = 0;
while (i < partsMax) {
if (i != (partsNum - 1)) {
prtcosFrm = _parent["costume" + (cosIni + i)].cosFrm;
_parent["costume" + (cosIni + i)].gotoAndStop(prtcosFrm);
_parent["costume" + (cosIni + i)]._x = this._x;
_parent["costume" + (cosIni + i)]._y = this._y;
_parent["costume" + (cosIni + i)]._visible = true;
_parent["costume" + (cosIni + i)].putOn = true;
}
i++;
}
}
i = 0;
while (i < _parent.setup.setpartsMax) {
_parent.setup.setpartsStatus[i] = _parent.setup.setpartsStatus[i] + ((!(setparts[i] && (partsNum == 1))) ? 0 : 1);
_parent["setparts" + i]._visible = ((!_parent.setup.setpartsStatus[i]) ? true : false);
i++;
}
}
t1 = (t2 = getTimer());
}
onClipEvent (enterFrame) {
if (fifty < 100) {
if (((!putOn) && (t1 == t2)) && ((getTimer() - t2) > 3000)) {
sizeUp = true;
minimum = true;
t2 = getTimer();
}
if (sizeUp) {
ss = 100 - (minimum * fifty);
cs = _xscale;
vs = Math.round(((e * vs) + ((ss - cs) / m)) * 1000) / 1000;
_xscale = (Math.round(_xscale) + vs);
_yscale = (Math.round(_yscale) + vs);
if ((vs == 0) && (_xscale == ss)) {
sizeUp = false;
}
}
}
}
Instance of Symbol 28 MovieClip "costume46" in Frame 15
onClipEvent (load) {
cosNum = this._name.split("costume").join("");
costume = new Array();
i = 0;
while (i < 8) {
costume[i] = _parent.setup["costume" + cosNum][i];
i++;
}
cos_x = costume[0];
cos_y = costume[1];
partsMax = costume[2];
partsNum = costume[3];
putOn = costume[4];
flop = costume[5];
fifty = costume[6];
setparts = costume[7];
cosIni = (cosNum - partsNum) + 1;
cosFrm = 1 + partsNum;
cosFrmFst = ((!putOn) ? 1 : (cosFrm));
this.gotoAndStop(cosFrmFst);
this._visible = ((!((!putOn) && (partsNum > 1))) ? true : false);
cos_vi = _parent.setup.cos_vi;
this._visible = ((!((!putOn) && (!cos_vi))) ? (this._visible) : false);
if (partsNum > 1) {
putOn = true;
}
_x = ((!putOn) ? (_x) : (cos_x));
_y = ((!putOn) ? (_y) : (cos_y));
poDepth = this.getDepth();
topDepth = _parent.setup.topDepth;
i = 0;
while (i < _parent.setup.setpartsMax) {
_parent.setup.setpartsStatus[i] = _parent.setup.setpartsStatus[i] + ((!((putOn && (setparts[i])) && (partsNum == 1))) ? 0 : 1);
_parent["setparts" + i]._visible = ((!_parent.setup.setpartsStatus[i]) ? true : false);
i++;
}
m = 2.5;
e = 0.4;
vs = 0;
minimum = (putOn + 1) % 2;
sizeUp = false;
t1 = true;
t2 = false;
}
on (press) {
this.gotoAndStop(1);
if (putOn) {
i = 0;
while (i < _parent.setup.setpartsMax) {
_parent.setup.setpartsStatus[i] = _parent.setup.setpartsStatus[i] - ((!(setparts[i] && (partsNum == 1))) ? 0 : 1);
_parent["setparts" + i]._visible = ((!_parent.setup.setpartsStatus[i]) ? true : false);
i++;
}
if (partsMax > 1) {
i = 0;
while (i < partsMax) {
if (i != (partsNum - 1)) {
_parent["costume" + (cosIni + i)]._visible = false;
}
i++;
}
}
}
this.startDrag();
this.swapDepths(_parent["layerLevel" + topDepth]);
if (!putOn) {
_parent["layerLevel" + topDepth].swapDepths(poDepth);
}
minimum = false;
sizeUp = true;
t2 = getTimer();
putOn = false;
}
on (release, releaseOutside) {
this.stopDrag();
i = 0;
while (i < topDepth) {
if ((_parent["layerLevel" + i].getDepth() >= 0) && (_parent["layerLevel" + (i + 1)].getDepth() < 0)) {
_parent["layerLevel" + i].swapDepths(i + 1);
_parent["layerLevel" + i].swapDepths(_parent["layerLevel" + (i + 1)]);
}
i++;
}
flopRange = Math.sqrt(Math.pow(cos_x - _x, 2) + Math.pow(cos_y - _y, 2));
if (flopRange < flop) {
_x = cos_x;
_y = cos_y;
putOn = true;
this.swapDepths(poDepth);
this.gotoAndStop(cosFrm);
if (partsMax > 1) {
i = 0;
while (i < partsMax) {
if (i != (partsNum - 1)) {
prtcosFrm = _parent["costume" + (cosIni + i)].cosFrm;
_parent["costume" + (cosIni + i)].gotoAndStop(prtcosFrm);
_parent["costume" + (cosIni + i)]._x = this._x;
_parent["costume" + (cosIni + i)]._y = this._y;
_parent["costume" + (cosIni + i)]._visible = true;
_parent["costume" + (cosIni + i)].putOn = true;
}
i++;
}
}
i = 0;
while (i < _parent.setup.setpartsMax) {
_parent.setup.setpartsStatus[i] = _parent.setup.setpartsStatus[i] + ((!(setparts[i] && (partsNum == 1))) ? 0 : 1);
_parent["setparts" + i]._visible = ((!_parent.setup.setpartsStatus[i]) ? true : false);
i++;
}
}
t1 = (t2 = getTimer());
}
onClipEvent (enterFrame) {
if (fifty < 100) {
if (((!putOn) && (t1 == t2)) && ((getTimer() - t2) > 3000)) {
sizeUp = true;
minimum = true;
t2 = getTimer();
}
if (sizeUp) {
ss = 100 - (minimum * fifty);
cs = _xscale;
vs = Math.round(((e * vs) + ((ss - cs) / m)) * 1000) / 1000;
_xscale = (Math.round(_xscale) + vs);
_yscale = (Math.round(_yscale) + vs);
if ((vs == 0) && (_xscale == ss)) {
sizeUp = false;
}
}
}
}
Instance of Symbol 43 MovieClip "costume41" in Frame 15
onClipEvent (load) {
cosNum = this._name.split("costume").join("");
costume = new Array();
i = 0;
while (i < 8) {
costume[i] = _parent.setup["costume" + cosNum][i];
i++;
}
cos_x = costume[0];
cos_y = costume[1];
partsMax = costume[2];
partsNum = costume[3];
putOn = costume[4];
flop = costume[5];
fifty = costume[6];
setparts = costume[7];
cosIni = (cosNum - partsNum) + 1;
cosFrm = 1 + partsNum;
cosFrmFst = ((!putOn) ? 1 : (cosFrm));
this.gotoAndStop(cosFrmFst);
this._visible = ((!((!putOn) && (partsNum > 1))) ? true : false);
cos_vi = _parent.setup.cos_vi;
this._visible = ((!((!putOn) && (!cos_vi))) ? (this._visible) : false);
if (partsNum > 1) {
putOn = true;
}
_x = ((!putOn) ? (_x) : (cos_x));
_y = ((!putOn) ? (_y) : (cos_y));
poDepth = this.getDepth();
topDepth = _parent.setup.topDepth;
i = 0;
while (i < _parent.setup.setpartsMax) {
_parent.setup.setpartsStatus[i] = _parent.setup.setpartsStatus[i] + ((!((putOn && (setparts[i])) && (partsNum == 1))) ? 0 : 1);
_parent["setparts" + i]._visible = ((!_parent.setup.setpartsStatus[i]) ? true : false);
i++;
}
m = 2.5;
e = 0.4;
vs = 0;
minimum = (putOn + 1) % 2;
sizeUp = false;
t1 = true;
t2 = false;
}
on (press) {
this.gotoAndStop(1);
if (putOn) {
i = 0;
while (i < _parent.setup.setpartsMax) {
_parent.setup.setpartsStatus[i] = _parent.setup.setpartsStatus[i] - ((!(setparts[i] && (partsNum == 1))) ? 0 : 1);
_parent["setparts" + i]._visible = ((!_parent.setup.setpartsStatus[i]) ? true : false);
i++;
}
if (partsMax > 1) {
i = 0;
while (i < partsMax) {
if (i != (partsNum - 1)) {
_parent["costume" + (cosIni + i)]._visible = false;
}
i++;
}
}
}
this.startDrag();
this.swapDepths(_parent["layerLevel" + topDepth]);
if (!putOn) {
_parent["layerLevel" + topDepth].swapDepths(poDepth);
}
minimum = false;
sizeUp = true;
t2 = getTimer();
putOn = false;
}
on (release, releaseOutside) {
this.stopDrag();
i = 0;
while (i < topDepth) {
if ((_parent["layerLevel" + i].getDepth() >= 0) && (_parent["layerLevel" + (i + 1)].getDepth() < 0)) {
_parent["layerLevel" + i].swapDepths(i + 1);
_parent["layerLevel" + i].swapDepths(_parent["layerLevel" + (i + 1)]);
}
i++;
}
flopRange = Math.sqrt(Math.pow(cos_x - _x, 2) + Math.pow(cos_y - _y, 2));
if (flopRange < flop) {
_x = cos_x;
_y = cos_y;
putOn = true;
this.swapDepths(poDepth);
this.gotoAndStop(cosFrm);
if (partsMax > 1) {
i = 0;
while (i < partsMax) {
if (i != (partsNum - 1)) {
prtcosFrm = _parent["costume" + (cosIni + i)].cosFrm;
_parent["costume" + (cosIni + i)].gotoAndStop(prtcosFrm);
_parent["costume" + (cosIni + i)]._x = this._x;
_parent["costume" + (cosIni + i)]._y = this._y;
_parent["costume" + (cosIni + i)]._visible = true;
_parent["costume" + (cosIni + i)].putOn = true;
}
i++;
}
}
i = 0;
while (i < _parent.setup.setpartsMax) {
_parent.setup.setpartsStatus[i] = _parent.setup.setpartsStatus[i] + ((!(setparts[i] && (partsNum == 1))) ? 0 : 1);
_parent["setparts" + i]._visible = ((!_parent.setup.setpartsStatus[i]) ? true : false);
i++;
}
}
t1 = (t2 = getTimer());
}
onClipEvent (enterFrame) {
if (fifty < 100) {
if (((!putOn) && (t1 == t2)) && ((getTimer() - t2) > 3000)) {
sizeUp = true;
minimum = true;
t2 = getTimer();
}
if (sizeUp) {
ss = 100 - (minimum * fifty);
cs = _xscale;
vs = Math.round(((e * vs) + ((ss - cs) / m)) * 1000) / 1000;
_xscale = (Math.round(_xscale) + vs);
_yscale = (Math.round(_yscale) + vs);
if ((vs == 0) && (_xscale == ss)) {
sizeUp = false;
}
}
}
}
Instance of Symbol 45 MovieClip "costume40" in Frame 15
onClipEvent (load) {
cosNum = this._name.split("costume").join("");
costume = new Array();
i = 0;
while (i < 8) {
costume[i] = _parent.setup["costume" + cosNum][i];
i++;
}
cos_x = costume[0];
cos_y = costume[1];
partsMax = costume[2];
partsNum = costume[3];
putOn = costume[4];
flop = costume[5];
fifty = costume[6];
setparts = costume[7];
cosIni = (cosNum - partsNum) + 1;
cosFrm = 1 + partsNum;
cosFrmFst = ((!putOn) ? 1 : (cosFrm));
this.gotoAndStop(cosFrmFst);
this._visible = ((!((!putOn) && (partsNum > 1))) ? true : false);
cos_vi = _parent.setup.cos_vi;
this._visible = ((!((!putOn) && (!cos_vi))) ? (this._visible) : false);
if (partsNum > 1) {
putOn = true;
}
_x = ((!putOn) ? (_x) : (cos_x));
_y = ((!putOn) ? (_y) : (cos_y));
poDepth = this.getDepth();
topDepth = _parent.setup.topDepth;
i = 0;
while (i < _parent.setup.setpartsMax) {
_parent.setup.setpartsStatus[i] = _parent.setup.setpartsStatus[i] + ((!((putOn && (setparts[i])) && (partsNum == 1))) ? 0 : 1);
_parent["setparts" + i]._visible = ((!_parent.setup.setpartsStatus[i]) ? true : false);
i++;
}
m = 2.5;
e = 0.4;
vs = 0;
minimum = (putOn + 1) % 2;
sizeUp = false;
t1 = true;
t2 = false;
}
on (press) {
this.gotoAndStop(1);
if (putOn) {
i = 0;
while (i < _parent.setup.setpartsMax) {
_parent.setup.setpartsStatus[i] = _parent.setup.setpartsStatus[i] - ((!(setparts[i] && (partsNum == 1))) ? 0 : 1);
_parent["setparts" + i]._visible = ((!_parent.setup.setpartsStatus[i]) ? true : false);
i++;
}
if (partsMax > 1) {
i = 0;
while (i < partsMax) {
if (i != (partsNum - 1)) {
_parent["costume" + (cosIni + i)]._visible = false;
}
i++;
}
}
}
this.startDrag();
this.swapDepths(_parent["layerLevel" + topDepth]);
if (!putOn) {
_parent["layerLevel" + topDepth].swapDepths(poDepth);
}
minimum = false;
sizeUp = true;
t2 = getTimer();
putOn = false;
}
on (release, releaseOutside) {
this.stopDrag();
i = 0;
while (i < topDepth) {
if ((_parent["layerLevel" + i].getDepth() >= 0) && (_parent["layerLevel" + (i + 1)].getDepth() < 0)) {
_parent["layerLevel" + i].swapDepths(i + 1);
_parent["layerLevel" + i].swapDepths(_parent["layerLevel" + (i + 1)]);
}
i++;
}
flopRange = Math.sqrt(Math.pow(cos_x - _x, 2) + Math.pow(cos_y - _y, 2));
if (flopRange < flop) {
_x = cos_x;
_y = cos_y;
putOn = true;
this.swapDepths(poDepth);
this.gotoAndStop(cosFrm);
if (partsMax > 1) {
i = 0;
while (i < partsMax) {
if (i != (partsNum - 1)) {
prtcosFrm = _parent["costume" + (cosIni + i)].cosFrm;
_parent["costume" + (cosIni + i)].gotoAndStop(prtcosFrm);
_parent["costume" + (cosIni + i)]._x = this._x;
_parent["costume" + (cosIni + i)]._y = this._y;
_parent["costume" + (cosIni + i)]._visible = true;
_parent["costume" + (cosIni + i)].putOn = true;
}
i++;
}
}
i = 0;
while (i < _parent.setup.setpartsMax) {
_parent.setup.setpartsStatus[i] = _parent.setup.setpartsStatus[i] + ((!(setparts[i] && (partsNum == 1))) ? 0 : 1);
_parent["setparts" + i]._visible = ((!_parent.setup.setpartsStatus[i]) ? true : false);
i++;
}
}
t1 = (t2 = getTimer());
}
onClipEvent (enterFrame) {
if (fifty < 100) {
if (((!putOn) && (t1 == t2)) && ((getTimer() - t2) > 3000)) {
sizeUp = true;
minimum = true;
t2 = getTimer();
}
if (sizeUp) {
ss = 100 - (minimum * fifty);
cs = _xscale;
vs = Math.round(((e * vs) + ((ss - cs) / m)) * 1000) / 1000;
_xscale = (Math.round(_xscale) + vs);
_yscale = (Math.round(_yscale) + vs);
if ((vs == 0) && (_xscale == ss)) {
sizeUp = false;
}
}
}
}
Instance of Symbol 47 MovieClip "costume43" in Frame 15
onClipEvent (load) {
cosNum = this._name.split("costume").join("");
costume = new Array();
i = 0;
while (i < 8) {
costume[i] = _parent.setup["costume" + cosNum][i];
i++;
}
cos_x = costume[0];
cos_y = costume[1];
partsMax = costume[2];
partsNum = costume[3];
putOn = costume[4];
flop = costume[5];
fifty = costume[6];
setparts = costume[7];
cosIni = (cosNum - partsNum) + 1;
cosFrm = 1 + partsNum;
cosFrmFst = ((!putOn) ? 1 : (cosFrm));
this.gotoAndStop(cosFrmFst);
this._visible = ((!((!putOn) && (partsNum > 1))) ? true : false);
cos_vi = _parent.setup.cos_vi;
this._visible = ((!((!putOn) && (!cos_vi))) ? (this._visible) : false);
if (partsNum > 1) {
putOn = true;
}
_x = ((!putOn) ? (_x) : (cos_x));
_y = ((!putOn) ? (_y) : (cos_y));
poDepth = this.getDepth();
topDepth = _parent.setup.topDepth;
i = 0;
while (i < _parent.setup.setpartsMax) {
_parent.setup.setpartsStatus[i] = _parent.setup.setpartsStatus[i] + ((!((putOn && (setparts[i])) && (partsNum == 1))) ? 0 : 1);
_parent["setparts" + i]._visible = ((!_parent.setup.setpartsStatus[i]) ? true : false);
i++;
}
m = 2.5;
e = 0.4;
vs = 0;
minimum = (putOn + 1) % 2;
sizeUp = false;
t1 = true;
t2 = false;
}
on (press) {
this.gotoAndStop(1);
if (putOn) {
i = 0;
while (i < _parent.setup.setpartsMax) {
_parent.setup.setpartsStatus[i] = _parent.setup.setpartsStatus[i] - ((!(setparts[i] && (partsNum == 1))) ? 0 : 1);
_parent["setparts" + i]._visible = ((!_parent.setup.setpartsStatus[i]) ? true : false);
i++;
}
if (partsMax > 1) {
i = 0;
while (i < partsMax) {
if (i != (partsNum - 1)) {
_parent["costume" + (cosIni + i)]._visible = false;
}
i++;
}
}
}
this.startDrag();
this.swapDepths(_parent["layerLevel" + topDepth]);
if (!putOn) {
_parent["layerLevel" + topDepth].swapDepths(poDepth);
}
minimum = false;
sizeUp = true;
t2 = getTimer();
putOn = false;
}
on (release, releaseOutside) {
this.stopDrag();
i = 0;
while (i < topDepth) {
if ((_parent["layerLevel" + i].getDepth() >= 0) && (_parent["layerLevel" + (i + 1)].getDepth() < 0)) {
_parent["layerLevel" + i].swapDepths(i + 1);
_parent["layerLevel" + i].swapDepths(_parent["layerLevel" + (i + 1)]);
}
i++;
}
flopRange = Math.sqrt(Math.pow(cos_x - _x, 2) + Math.pow(cos_y - _y, 2));
if (flopRange < flop) {
_x = cos_x;
_y = cos_y;
putOn = true;
this.swapDepths(poDepth);
this.gotoAndStop(cosFrm);
if (partsMax > 1) {
i = 0;
while (i < partsMax) {
if (i != (partsNum - 1)) {
prtcosFrm = _parent["costume" + (cosIni + i)].cosFrm;
_parent["costume" + (cosIni + i)].gotoAndStop(prtcosFrm);
_parent["costume" + (cosIni + i)]._x = this._x;
_parent["costume" + (cosIni + i)]._y = this._y;
_parent["costume" + (cosIni + i)]._visible = true;
_parent["costume" + (cosIni + i)].putOn = true;
}
i++;
}
}
i = 0;
while (i < _parent.setup.setpartsMax) {
_parent.setup.setpartsStatus[i] = _parent.setup.setpartsStatus[i] + ((!(setparts[i] && (partsNum == 1))) ? 0 : 1);
_parent["setparts" + i]._visible = ((!_parent.setup.setpartsStatus[i]) ? true : false);
i++;
}
}
t1 = (t2 = getTimer());
}
onClipEvent (enterFrame) {
if (fifty < 100) {
if (((!putOn) && (t1 == t2)) && ((getTimer() - t2) > 3000)) {
sizeUp = true;
minimum = true;
t2 = getTimer();
}
if (sizeUp) {
ss = 100 - (minimum * fifty);
cs = _xscale;
vs = Math.round(((e * vs) + ((ss - cs) / m)) * 1000) / 1000;
_xscale = (Math.round(_xscale) + vs);
_yscale = (Math.round(_yscale) + vs);
if ((vs == 0) && (_xscale == ss)) {
sizeUp = false;
}
}
}
}
Instance of Symbol 49 MovieClip "costume42" in Frame 15
onClipEvent (load) {
cosNum = this._name.split("costume").join("");
costume = new Array();
i = 0;
while (i < 8) {
costume[i] = _parent.setup["costume" + cosNum][i];
i++;
}
cos_x = costume[0];
cos_y = costume[1];
partsMax = costume[2];
partsNum = costume[3];
putOn = costume[4];
flop = costume[5];
fifty = costume[6];
setparts = costume[7];
cosIni = (cosNum - partsNum) + 1;
cosFrm = 1 + partsNum;
cosFrmFst = ((!putOn) ? 1 : (cosFrm));
this.gotoAndStop(cosFrmFst);
this._visible = ((!((!putOn) && (partsNum > 1))) ? true : false);
cos_vi = _parent.setup.cos_vi;
this._visible = ((!((!putOn) && (!cos_vi))) ? (this._visible) : false);
if (partsNum > 1) {
putOn = true;
}
_x = ((!putOn) ? (_x) : (cos_x));
_y = ((!putOn) ? (_y) : (cos_y));
poDepth = this.getDepth();
topDepth = _parent.setup.topDepth;
i = 0;
while (i < _parent.setup.setpartsMax) {
_parent.setup.setpartsStatus[i] = _parent.setup.setpartsStatus[i] + ((!((putOn && (setparts[i])) && (partsNum == 1))) ? 0 : 1);
_parent["setparts" + i]._visible = ((!_parent.setup.setpartsStatus[i]) ? true : false);
i++;
}
m = 2.5;
e = 0.4;
vs = 0;
minimum = (putOn + 1) % 2;
sizeUp = false;
t1 = true;
t2 = false;
}
on (press) {
this.gotoAndStop(1);
if (putOn) {
i = 0;
while (i < _parent.setup.setpartsMax) {
_parent.setup.setpartsStatus[i] = _parent.setup.setpartsStatus[i] - ((!(setparts[i] && (partsNum == 1))) ? 0 : 1);
_parent["setparts" + i]._visible = ((!_parent.setup.setpartsStatus[i]) ? true : false);
i++;
}
if (partsMax > 1) {
i = 0;
while (i < partsMax) {
if (i != (partsNum - 1)) {
_parent["costume" + (cosIni + i)]._visible = false;
}
i++;
}
}
}
this.startDrag();
this.swapDepths(_parent["layerLevel" + topDepth]);
if (!putOn) {
_parent["layerLevel" + topDepth].swapDepths(poDepth);
}
minimum = false;
sizeUp = true;
t2 = getTimer();
putOn = false;
}
on (release, releaseOutside) {
this.stopDrag();
i = 0;
while (i < topDepth) {
if ((_parent["layerLevel" + i].getDepth() >= 0) && (_parent["layerLevel" + (i + 1)].getDepth() < 0)) {
_parent["layerLevel" + i].swapDepths(i + 1);
_parent["layerLevel" + i].swapDepths(_parent["layerLevel" + (i + 1)]);
}
i++;
}
flopRange = Math.sqrt(Math.pow(cos_x - _x, 2) + Math.pow(cos_y - _y, 2));
if (flopRange < flop) {
_x = cos_x;
_y = cos_y;
putOn = true;
this.swapDepths(poDepth);
this.gotoAndStop(cosFrm);
if (partsMax > 1) {
i = 0;
while (i < partsMax) {
if (i != (partsNum - 1)) {
prtcosFrm = _parent["costume" + (cosIni + i)].cosFrm;
_parent["costume" + (cosIni + i)].gotoAndStop(prtcosFrm);
_parent["costume" + (cosIni + i)]._x = this._x;
_parent["costume" + (cosIni + i)]._y = this._y;
_parent["costume" + (cosIni + i)]._visible = true;
_parent["costume" + (cosIni + i)].putOn = true;
}
i++;
}
}
i = 0;
while (i < _parent.setup.setpartsMax) {
_parent.setup.setpartsStatus[i] = _parent.setup.setpartsStatus[i] + ((!(setparts[i] && (partsNum == 1))) ? 0 : 1);
_parent["setparts" + i]._visible = ((!_parent.setup.setpartsStatus[i]) ? true : false);
i++;
}
}
t1 = (t2 = getTimer());
}
onClipEvent (enterFrame) {
if (fifty < 100) {
if (((!putOn) && (t1 == t2)) && ((getTimer() - t2) > 3000)) {
sizeUp = true;
minimum = true;
t2 = getTimer();
}
if (sizeUp) {
ss = 100 - (minimum * fifty);
cs = _xscale;
vs = Math.round(((e * vs) + ((ss - cs) / m)) * 1000) / 1000;
_xscale = (Math.round(_xscale) + vs);
_yscale = (Math.round(_yscale) + vs);
if ((vs == 0) && (_xscale == ss)) {
sizeUp = false;
}
}
}
}
Instance of Symbol 51 MovieClip "costume39" in Frame 15
onClipEvent (load) {
cosNum = this._name.split("costume").join("");
costume = new Array();
i = 0;
while (i < 8) {
costume[i] = _parent.setup["costume" + cosNum][i];
i++;
}
cos_x = costume[0];
cos_y = costume[1];
partsMax = costume[2];
partsNum = costume[3];
putOn = costume[4];
flop = costume[5];
fifty = costume[6];
setparts = costume[7];
cosIni = (cosNum - partsNum) + 1;
cosFrm = 1 + partsNum;
cosFrmFst = ((!putOn) ? 1 : (cosFrm));
this.gotoAndStop(cosFrmFst);
this._visible = ((!((!putOn) && (partsNum > 1))) ? true : false);
cos_vi = _parent.setup.cos_vi;
this._visible = ((!((!putOn) && (!cos_vi))) ? (this._visible) : false);
if (partsNum > 1) {
putOn = true;
}
_x = ((!putOn) ? (_x) : (cos_x));
_y = ((!putOn) ? (_y) : (cos_y));
poDepth = this.getDepth();
topDepth = _parent.setup.topDepth;
i = 0;
while (i < _parent.setup.setpartsMax) {
_parent.setup.setpartsStatus[i] = _parent.setup.setpartsStatus[i] + ((!((putOn && (setparts[i])) && (partsNum == 1))) ? 0 : 1);
_parent["setparts" + i]._visible = ((!_parent.setup.setpartsStatus[i]) ? true : false);
i++;
}
m = 2.5;
e = 0.4;
vs = 0;
minimum = (putOn + 1) % 2;
sizeUp = false;
t1 = true;
t2 = false;
}
on (press) {
this.gotoAndStop(1);
if (putOn) {
i = 0;
while (i < _parent.setup.setpartsMax) {
_parent.setup.setpartsStatus[i] = _parent.setup.setpartsStatus[i] - ((!(setparts[i] && (partsNum == 1))) ? 0 : 1);
_parent["setparts" + i]._visible = ((!_parent.setup.setpartsStatus[i]) ? true : false);
i++;
}
if (partsMax > 1) {
i = 0;
while (i < partsMax) {
if (i != (partsNum - 1)) {
_parent["costume" + (cosIni + i)]._visible = false;
}
i++;
}
}
}
this.startDrag();
this.swapDepths(_parent["layerLevel" + topDepth]);
if (!putOn) {
_parent["layerLevel" + topDepth].swapDepths(poDepth);
}
minimum = false;
sizeUp = true;
t2 = getTimer();
putOn = false;
}
on (release, releaseOutside) {
this.stopDrag();
i = 0;
while (i < topDepth) {
if ((_parent["layerLevel" + i].getDepth() >= 0) && (_parent["layerLevel" + (i + 1)].getDepth() < 0)) {
_parent["layerLevel" + i].swapDepths(i + 1);
_parent["layerLevel" + i].swapDepths(_parent["layerLevel" + (i + 1)]);
}
i++;
}
flopRange = Math.sqrt(Math.pow(cos_x - _x, 2) + Math.pow(cos_y - _y, 2));
if (flopRange < flop) {
_x = cos_x;
_y = cos_y;
putOn = true;
this.swapDepths(poDepth);
this.gotoAndStop(cosFrm);
if (partsMax > 1) {
i = 0;
while (i < partsMax) {
if (i != (partsNum - 1)) {
prtcosFrm = _parent["costume" + (cosIni + i)].cosFrm;
_parent["costume" + (cosIni + i)].gotoAndStop(prtcosFrm);
_parent["costume" + (cosIni + i)]._x = this._x;
_parent["costume" + (cosIni + i)]._y = this._y;
_parent["costume" + (cosIni + i)]._visible = true;
_parent["costume" + (cosIni + i)].putOn = true;
}
i++;
}
}
i = 0;
while (i < _parent.setup.setpartsMax) {
_parent.setup.setpartsStatus[i] = _parent.setup.setpartsStatus[i] + ((!(setparts[i] && (partsNum == 1))) ? 0 : 1);
_parent["setparts" + i]._visible = ((!_parent.setup.setpartsStatus[i]) ? true : false);
i++;
}
}
t1 = (t2 = getTimer());
}
onClipEvent (enterFrame) {
if (fifty < 100) {
if (((!putOn) && (t1 == t2)) && ((getTimer() - t2) > 3000)) {
sizeUp = true;
minimum = true;
t2 = getTimer();
}
if (sizeUp) {
ss = 100 - (minimum * fifty);
cs = _xscale;
vs = Math.round(((e * vs) + ((ss - cs) / m)) * 1000) / 1000;
_xscale = (Math.round(_xscale) + vs);
_yscale = (Math.round(_yscale) + vs);
if ((vs == 0) && (_xscale == ss)) {
sizeUp = false;
}
}
}
}
Instance of Symbol 53 MovieClip "costume38" in Frame 15
onClipEvent (load) {
cosNum = this._name.split("costume").join("");
costume = new Array();
i = 0;
while (i < 8) {
costume[i] = _parent.setup["costume" + cosNum][i];
i++;
}
cos_x = costume[0];
cos_y = costume[1];
partsMax = costume[2];
partsNum = costume[3];
putOn = costume[4];
flop = costume[5];
fifty = costume[6];
setparts = costume[7];
cosIni = (cosNum - partsNum) + 1;
cosFrm = 1 + partsNum;
cosFrmFst = ((!putOn) ? 1 : (cosFrm));
this.gotoAndStop(cosFrmFst);
this._visible = ((!((!putOn) && (partsNum > 1))) ? true : false);
cos_vi = _parent.setup.cos_vi;
this._visible = ((!((!putOn) && (!cos_vi))) ? (this._visible) : false);
if (partsNum > 1) {
putOn = true;
}
_x = ((!putOn) ? (_x) : (cos_x));
_y = ((!putOn) ? (_y) : (cos_y));
poDepth = this.getDepth();
topDepth = _parent.setup.topDepth;
i = 0;
while (i < _parent.setup.setpartsMax) {
_parent.setup.setpartsStatus[i] = _parent.setup.setpartsStatus[i] + ((!((putOn && (setparts[i])) && (partsNum == 1))) ? 0 : 1);
_parent["setparts" + i]._visible = ((!_parent.setup.setpartsStatus[i]) ? true : false);
i++;
}
m = 2.5;
e = 0.4;
vs = 0;
minimum = (putOn + 1) % 2;
sizeUp = false;
t1 = true;
t2 = false;
}
on (press) {
this.gotoAndStop(1);
if (putOn) {
i = 0;
while (i < _parent.setup.setpartsMax) {
_parent.setup.setpartsStatus[i] = _parent.setup.setpartsStatus[i] - ((!(setparts[i] && (partsNum == 1))) ? 0 : 1);
_parent["setparts" + i]._visible = ((!_parent.setup.setpartsStatus[i]) ? true : false);
i++;
}
if (partsMax > 1) {
i = 0;
while (i < partsMax) {
if (i != (partsNum - 1)) {
_parent["costume" + (cosIni + i)]._visible = false;
}
i++;
}
}
}
this.startDrag();
this.swapDepths(_parent["layerLevel" + topDepth]);
if (!putOn) {
_parent["layerLevel" + topDepth].swapDepths(poDepth);
}
minimum = false;
sizeUp = true;
t2 = getTimer();
putOn = false;
}
on (release, releaseOutside) {
this.stopDrag();
i = 0;
while (i < topDepth) {
if ((_parent["layerLevel" + i].getDepth() >= 0) && (_parent["layerLevel" + (i + 1)].getDepth() < 0)) {
_parent["layerLevel" + i].swapDepths(i + 1);
_parent["layerLevel" + i].swapDepths(_parent["layerLevel" + (i + 1)]);
}
i++;
}
flopRange = Math.sqrt(Math.pow(cos_x - _x, 2) + Math.pow(cos_y - _y, 2));
if (flopRange < flop) {
_x = cos_x;
_y = cos_y;
putOn = true;
this.swapDepths(poDepth);
this.gotoAndStop(cosFrm);
if (partsMax > 1) {
i = 0;
while (i < partsMax) {
if (i != (partsNum - 1)) {
prtcosFrm = _parent["costume" + (cosIni + i)].cosFrm;
_parent["costume" + (cosIni + i)].gotoAndStop(prtcosFrm);
_parent["costume" + (cosIni + i)]._x = this._x;
_parent["costume" + (cosIni + i)]._y = this._y;
_parent["costume" + (cosIni + i)]._visible = true;
_parent["costume" + (cosIni + i)].putOn = true;
}
i++;
}
}
i = 0;
while (i < _parent.setup.setpartsMax) {
_parent.setup.setpartsStatus[i] = _parent.setup.setpartsStatus[i] + ((!(setparts[i] && (partsNum == 1))) ? 0 : 1);
_parent["setparts" + i]._visible = ((!_parent.setup.setpartsStatus[i]) ? true : false);
i++;
}
}
t1 = (t2 = getTimer());
}
onClipEvent (enterFrame) {
if (fifty < 100) {
if (((!putOn) && (t1 == t2)) && ((getTimer() - t2) > 3000)) {
sizeUp = true;
minimum = true;
t2 = getTimer();
}
if (sizeUp) {
ss = 100 - (minimum * fifty);
cs = _xscale;
vs = Math.round(((e * vs) + ((ss - cs) / m)) * 1000) / 1000;
_xscale = (Math.round(_xscale) + vs);
_yscale = (Math.round(_yscale) + vs);
if ((vs == 0) && (_xscale == ss)) {
sizeUp = false;
}
}
}
}
Instance of Symbol 55 MovieClip "costume37" in Frame 15
onClipEvent (load) {
cosNum = this._name.split("costume").join("");
costume = new Array();
i = 0;
while (i < 8) {
costume[i] = _parent.setup["costume" + cosNum][i];
i++;
}
cos_x = costume[0];
cos_y = costume[1];
partsMax = costume[2];
partsNum = costume[3];
putOn = costume[4];
flop = costume[5];
fifty = costume[6];
setparts = costume[7];
cosIni = (cosNum - partsNum) + 1;
cosFrm = 1 + partsNum;
cosFrmFst = ((!putOn) ? 1 : (cosFrm));
this.gotoAndStop(cosFrmFst);
this._visible = ((!((!putOn) && (partsNum > 1))) ? true : false);
cos_vi = _parent.setup.cos_vi;
this._visible = ((!((!putOn) && (!cos_vi))) ? (this._visible) : false);
if (partsNum > 1) {
putOn = true;
}
_x = ((!putOn) ? (_x) : (cos_x));
_y = ((!putOn) ? (_y) : (cos_y));
poDepth = this.getDepth();
topDepth = _parent.setup.topDepth;
i = 0;
while (i < _parent.setup.setpartsMax) {
_parent.setup.setpartsStatus[i] = _parent.setup.setpartsStatus[i] + ((!((putOn && (setparts[i])) && (partsNum == 1))) ? 0 : 1);
_parent["setparts" + i]._visible = ((!_parent.setup.setpartsStatus[i]) ? true : false);
i++;
}
m = 2.5;
e = 0.4;
vs = 0;
minimum = (putOn + 1) % 2;
sizeUp = false;
t1 = true;
t2 = false;
}
on (press) {
this.gotoAndStop(1);
if (putOn) {
i = 0;
while (i < _parent.setup.setpartsMax) {
_parent.setup.setpartsStatus[i] = _parent.setup.setpartsStatus[i] - ((!(setparts[i] && (partsNum == 1))) ? 0 : 1);
_parent["setparts" + i]._visible = ((!_parent.setup.setpartsStatus[i]) ? true : false);
i++;
}
if (partsMax > 1) {
i = 0;
while (i < partsMax) {
if (i != (partsNum - 1)) {
_parent["costume" + (cosIni + i)]._visible = false;
}
i++;
}
}
}
this.startDrag();
this.swapDepths(_parent["layerLevel" + topDepth]);
if (!putOn) {
_parent["layerLevel" + topDepth].swapDepths(poDepth);
}
minimum = false;
sizeUp = true;
t2 = getTimer();
putOn = false;
}
on (release, releaseOutside) {
this.stopDrag();
i = 0;
while (i < topDepth) {
if ((_parent["layerLevel" + i].getDepth() >= 0) && (_parent["layerLevel" + (i + 1)].getDepth() < 0)) {
_parent["layerLevel" + i].swapDepths(i + 1);
_parent["layerLevel" + i].swapDepths(_parent["layerLevel" + (i + 1)]);
}
i++;
}
flopRange = Math.sqrt(Math.pow(cos_x - _x, 2) + Math.pow(cos_y - _y, 2));
if (flopRange < flop) {
_x = cos_x;
_y = cos_y;
putOn = true;
this.swapDepths(poDepth);
this.gotoAndStop(cosFrm);
if (partsMax > 1) {
i = 0;
while (i < partsMax) {
if (i != (partsNum - 1)) {
prtcosFrm = _parent["costume" + (cosIni + i)].cosFrm;
_parent["costume" + (cosIni + i)].gotoAndStop(prtcosFrm);
_parent["costume" + (cosIni + i)]._x = this._x;
_parent["costume" + (cosIni + i)]._y = this._y;
_parent["costume" + (cosIni + i)]._visible = true;
_parent["costume" + (cosIni + i)].putOn = true;
}
i++;
}
}
i = 0;
while (i < _parent.setup.setpartsMax) {
_parent.setup.setpartsStatus[i] = _parent.setup.setpartsStatus[i] + ((!(setparts[i] && (partsNum == 1))) ? 0 : 1);
_parent["setparts" + i]._visible = ((!_parent.setup.setpartsStatus[i]) ? true : false);
i++;
}
}
t1 = (t2 = getTimer());
}
onClipEvent (enterFrame) {
if (fifty < 100) {
if (((!putOn) && (t1 == t2)) && ((getTimer() - t2) > 3000)) {
sizeUp = true;
minimum = true;
t2 = getTimer();
}
if (sizeUp) {
ss = 100 - (minimum * fifty);
cs = _xscale;
vs = Math.round(((e * vs) + ((ss - cs) / m)) * 1000) / 1000;
_xscale = (Math.round(_xscale) + vs);
_yscale = (Math.round(_yscale) + vs);
if ((vs == 0) && (_xscale == ss)) {
sizeUp = false;
}
}
}
}
Instance of Symbol 57 MovieClip "costume36" in Frame 15
onClipEvent (load) {
cosNum = this._name.split("costume").join("");
costume = new Array();
i = 0;
while (i < 8) {
costume[i] = _parent.setup["costume" + cosNum][i];
i++;
}
cos_x = costume[0];
cos_y = costume[1];
partsMax = costume[2];
partsNum = costume[3];
putOn = costume[4];
flop = costume[5];
fifty = costume[6];
setparts = costume[7];
cosIni = (cosNum - partsNum) + 1;
cosFrm = 1 + partsNum;
cosFrmFst = ((!putOn) ? 1 : (cosFrm));
this.gotoAndStop(cosFrmFst);
this._visible = ((!((!putOn) && (partsNum > 1))) ? true : false);
cos_vi = _parent.setup.cos_vi;
this._visible = ((!((!putOn) && (!cos_vi))) ? (this._visible) : false);
if (partsNum > 1) {
putOn = true;
}
_x = ((!putOn) ? (_x) : (cos_x));
_y = ((!putOn) ? (_y) : (cos_y));
poDepth = this.getDepth();
topDepth = _parent.setup.topDepth;
i = 0;
while (i < _parent.setup.setpartsMax) {
_parent.setup.setpartsStatus[i] = _parent.setup.setpartsStatus[i] + ((!((putOn && (setparts[i])) && (partsNum == 1))) ? 0 : 1);
_parent["setparts" + i]._visible = ((!_parent.setup.setpartsStatus[i]) ? true : false);
i++;
}
m = 2.5;
e = 0.4;
vs = 0;
minimum = (putOn + 1) % 2;
sizeUp = false;
t1 = true;
t2 = false;
}
on (press) {
this.gotoAndStop(1);
if (putOn) {
i = 0;
while (i < _parent.setup.setpartsMax) {
_parent.setup.setpartsStatus[i] = _parent.setup.setpartsStatus[i] - ((!(setparts[i] && (partsNum == 1))) ? 0 : 1);
_parent["setparts" + i]._visible = ((!_parent.setup.setpartsStatus[i]) ? true : false);
i++;
}
if (partsMax > 1) {
i = 0;
while (i < partsMax) {
if (i != (partsNum - 1)) {
_parent["costume" + (cosIni + i)]._visible = false;
}
i++;
}
}
}
this.startDrag();
this.swapDepths(_parent["layerLevel" + topDepth]);
if (!putOn) {
_parent["layerLevel" + topDepth].swapDepths(poDepth);
}
minimum = false;
sizeUp = true;
t2 = getTimer();
putOn = false;
}
on (release, releaseOutside) {
this.stopDrag();
i = 0;
while (i < topDepth) {
if ((_parent["layerLevel" + i].getDepth() >= 0) && (_parent["layerLevel" + (i + 1)].getDepth() < 0)) {
_parent["layerLevel" + i].swapDepths(i + 1);
_parent["layerLevel" + i].swapDepths(_parent["layerLevel" + (i + 1)]);
}
i++;
}
flopRange = Math.sqrt(Math.pow(cos_x - _x, 2) + Math.pow(cos_y - _y, 2));
if (flopRange < flop) {
_x = cos_x;
_y = cos_y;
putOn = true;
this.swapDepths(poDepth);
this.gotoAndStop(cosFrm);
if (partsMax > 1) {
i = 0;
while (i < partsMax) {
if (i != (partsNum - 1)) {
prtcosFrm = _parent["costume" + (cosIni + i)].cosFrm;
_parent["costume" + (cosIni + i)].gotoAndStop(prtcosFrm);
_parent["costume" + (cosIni + i)]._x = this._x;
_parent["costume" + (cosIni + i)]._y = this._y;
_parent["costume" + (cosIni + i)]._visible = true;
_parent["costume" + (cosIni + i)].putOn = true;
}
i++;
}
}
i = 0;
while (i < _parent.setup.setpartsMax) {
_parent.setup.setpartsStatus[i] = _parent.setup.setpartsStatus[i] + ((!(setparts[i] && (partsNum == 1))) ? 0 : 1);
_parent["setparts" + i]._visible = ((!_parent.setup.setpartsStatus[i]) ? true : false);
i++;
}
}
t1 = (t2 = getTimer());
}
onClipEvent (enterFrame) {
if (fifty < 100) {
if (((!putOn) && (t1 == t2)) && ((getTimer() - t2) > 3000)) {
sizeUp = true;
minimum = true;
t2 = getTimer();
}
if (sizeUp) {
ss = 100 - (minimum * fifty);
cs = _xscale;
vs = Math.round(((e * vs) + ((ss - cs) / m)) * 1000) / 1000;
_xscale = (Math.round(_xscale) + vs);
_yscale = (Math.round(_yscale) + vs);
if ((vs == 0) && (_xscale == ss)) {
sizeUp = false;
}
}
}
}
Instance of Symbol 59 MovieClip "costume35" in Frame 15
onClipEvent (load) {
cosNum = this._name.split("costume").join("");
costume = new Array();
i = 0;
while (i < 8) {
costume[i] = _parent.setup["costume" + cosNum][i];
i++;
}
cos_x = costume[0];
cos_y = costume[1];
partsMax = costume[2];
partsNum = costume[3];
putOn = costume[4];
flop = costume[5];
fifty = costume[6];
setparts = costume[7];
cosIni = (cosNum - partsNum) + 1;
cosFrm = 1 + partsNum;
cosFrmFst = ((!putOn) ? 1 : (cosFrm));
this.gotoAndStop(cosFrmFst);
this._visible = ((!((!putOn) && (partsNum > 1))) ? true : false);
cos_vi = _parent.setup.cos_vi;
this._visible = ((!((!putOn) && (!cos_vi))) ? (this._visible) : false);
if (partsNum > 1) {
putOn = true;
}
_x = ((!putOn) ? (_x) : (cos_x));
_y = ((!putOn) ? (_y) : (cos_y));
poDepth = this.getDepth();
topDepth = _parent.setup.topDepth;
i = 0;
while (i < _parent.setup.setpartsMax) {
_parent.setup.setpartsStatus[i] = _parent.setup.setpartsStatus[i] + ((!((putOn && (setparts[i])) && (partsNum == 1))) ? 0 : 1);
_parent["setparts" + i]._visible = ((!_parent.setup.setpartsStatus[i]) ? true : false);
i++;
}
m = 2.5;
e = 0.4;
vs = 0;
minimum = (putOn + 1) % 2;
sizeUp = false;
t1 = true;
t2 = false;
}
on (press) {
this.gotoAndStop(1);
if (putOn) {
i = 0;
while (i < _parent.setup.setpartsMax) {
_parent.setup.setpartsStatus[i] = _parent.setup.setpartsStatus[i] - ((!(setparts[i] && (partsNum == 1))) ? 0 : 1);
_parent["setparts" + i]._visible = ((!_parent.setup.setpartsStatus[i]) ? true : false);
i++;
}
if (partsMax > 1) {
i = 0;
while (i < partsMax) {
if (i != (partsNum - 1)) {
_parent["costume" + (cosIni + i)]._visible = false;
}
i++;
}
}
}
this.startDrag();
this.swapDepths(_parent["layerLevel" + topDepth]);
if (!putOn) {
_parent["layerLevel" + topDepth].swapDepths(poDepth);
}
minimum = false;
sizeUp = true;
t2 = getTimer();
putOn = false;
}
on (release, releaseOutside) {
this.stopDrag();
i = 0;
while (i < topDepth) {
if ((_parent["layerLevel" + i].getDepth() >= 0) && (_parent["layerLevel" + (i + 1)].getDepth() < 0)) {
_parent["layerLevel" + i].swapDepths(i + 1);
_parent["layerLevel" + i].swapDepths(_parent["layerLevel" + (i + 1)]);
}
i++;
}
flopRange = Math.sqrt(Math.pow(cos_x - _x, 2) + Math.pow(cos_y - _y, 2));
if (flopRange < flop) {
_x = cos_x;
_y = cos_y;
putOn = true;
this.swapDepths(poDepth);
this.gotoAndStop(cosFrm);
if (partsMax > 1) {
i = 0;
while (i < partsMax) {
if (i != (partsNum - 1)) {
prtcosFrm = _parent["costume" + (cosIni + i)].cosFrm;
_parent["costume" + (cosIni + i)].gotoAndStop(prtcosFrm);
_parent["costume" + (cosIni + i)]._x = this._x;
_parent["costume" + (cosIni + i)]._y = this._y;
_parent["costume" + (cosIni + i)]._visible = true;
_parent["costume" + (cosIni + i)].putOn = true;
}
i++;
}
}
i = 0;
while (i < _parent.setup.setpartsMax) {
_parent.setup.setpartsStatus[i] = _parent.setup.setpartsStatus[i] + ((!(setparts[i] && (partsNum == 1))) ? 0 : 1);
_parent["setparts" + i]._visible = ((!_parent.setup.setpartsStatus[i]) ? true : false);
i++;
}
}
t1 = (t2 = getTimer());
}
onClipEvent (enterFrame) {
if (fifty < 100) {
if (((!putOn) && (t1 == t2)) && ((getTimer() - t2) > 3000)) {
sizeUp = true;
minimum = true;
t2 = getTimer();
}
if (sizeUp) {
ss = 100 - (minimum * fifty);
cs = _xscale;
vs = Math.round(((e * vs) + ((ss - cs) / m)) * 1000) / 1000;
_xscale = (Math.round(_xscale) + vs);
_yscale = (Math.round(_yscale) + vs);
if ((vs == 0) && (_xscale == ss)) {
sizeUp = false;
}
}
}
}
Instance of Symbol 61 MovieClip "costume34" in Frame 15
onClipEvent (load) {
cosNum = this._name.split("costume").join("");
costume = new Array();
i = 0;
while (i < 8) {
costume[i] = _parent.setup["costume" + cosNum][i];
i++;
}
cos_x = costume[0];
cos_y = costume[1];
partsMax = costume[2];
partsNum = costume[3];
putOn = costume[4];
flop = costume[5];
fifty = costume[6];
setparts = costume[7];
cosIni = (cosNum - partsNum) + 1;
cosFrm = 1 + partsNum;
cosFrmFst = ((!putOn) ? 1 : (cosFrm));
this.gotoAndStop(cosFrmFst);
this._visible = ((!((!putOn) && (partsNum > 1))) ? true : false);
cos_vi = _parent.setup.cos_vi;
this._visible = ((!((!putOn) && (!cos_vi))) ? (this._visible) : false);
if (partsNum > 1) {
putOn = true;
}
_x = ((!putOn) ? (_x) : (cos_x));
_y = ((!putOn) ? (_y) : (cos_y));
poDepth = this.getDepth();
topDepth = _parent.setup.topDepth;
i = 0;
while (i < _parent.setup.setpartsMax) {
_parent.setup.setpartsStatus[i] = _parent.setup.setpartsStatus[i] + ((!((putOn && (setparts[i])) && (partsNum == 1))) ? 0 : 1);
_parent["setparts" + i]._visible = ((!_parent.setup.setpartsStatus[i]) ? true : false);
i++;
}
m = 2.5;
e = 0.4;
vs = 0;
minimum = (putOn + 1) % 2;
sizeUp = false;
t1 = true;
t2 = false;
}
on (press) {
this.gotoAndStop(1);
if (putOn) {
i = 0;
while (i < _parent.setup.setpartsMax) {
_parent.setup.setpartsStatus[i] = _parent.setup.setpartsStatus[i] - ((!(setparts[i] && (partsNum == 1))) ? 0 : 1);
_parent["setparts" + i]._visible = ((!_parent.setup.setpartsStatus[i]) ? true : false);
i++;
}
if (partsMax > 1) {
i = 0;
while (i < partsMax) {
if (i != (partsNum - 1)) {
_parent["costume" + (cosIni + i)]._visible = false;
}
i++;
}
}
}
this.startDrag();
this.swapDepths(_parent["layerLevel" + topDepth]);
if (!putOn) {
_parent["layerLevel" + topDepth].swapDepths(poDepth);
}
minimum = false;
sizeUp = true;
t2 = getTimer();
putOn = false;
}
on (release, releaseOutside) {
this.stopDrag();
i = 0;
while (i < topDepth) {
if ((_parent["layerLevel" + i].getDepth() >= 0) && (_parent["layerLevel" + (i + 1)].getDepth() < 0)) {
_parent["layerLevel" + i].swapDepths(i + 1);
_parent["layerLevel" + i].swapDepths(_parent["layerLevel" + (i + 1)]);
}
i++;
}
flopRange = Math.sqrt(Math.pow(cos_x - _x, 2) + Math.pow(cos_y - _y, 2));
if (flopRange < flop) {
_x = cos_x;
_y = cos_y;
putOn = true;
this.swapDepths(poDepth);
this.gotoAndStop(cosFrm);
if (partsMax > 1) {
i = 0;
while (i < partsMax) {
if (i != (partsNum - 1)) {
prtcosFrm = _parent["costume" + (cosIni + i)].cosFrm;
_parent["costume" + (cosIni + i)].gotoAndStop(prtcosFrm);
_parent["costume" + (cosIni + i)]._x = this._x;
_parent["costume" + (cosIni + i)]._y = this._y;
_parent["costume" + (cosIni + i)]._visible = true;
_parent["costume" + (cosIni + i)].putOn = true;
}
i++;
}
}
i = 0;
while (i < _parent.setup.setpartsMax) {
_parent.setup.setpartsStatus[i] = _parent.setup.setpartsStatus[i] + ((!(setparts[i] && (partsNum == 1))) ? 0 : 1);
_parent["setparts" + i]._visible = ((!_parent.setup.setpartsStatus[i]) ? true : false);
i++;
}
}
t1 = (t2 = getTimer());
}
onClipEvent (enterFrame) {
if (fifty < 100) {
if (((!putOn) && (t1 == t2)) && ((getTimer() - t2) > 3000)) {
sizeUp = true;
minimum = true;
t2 = getTimer();
}
if (sizeUp) {
ss = 100 - (minimum * fifty);
cs = _xscale;
vs = Math.round(((e * vs) + ((ss - cs) / m)) * 1000) / 1000;
_xscale = (Math.round(_xscale) + vs);
_yscale = (Math.round(_yscale) + vs);
if ((vs == 0) && (_xscale == ss)) {
sizeUp = false;
}
}
}
}
Instance of Symbol 63 MovieClip "costume45" in Frame 15
onClipEvent (load) {
cosNum = this._name.split("costume").join("");
costume = new Array();
i = 0;
while (i < 8) {
costume[i] = _parent.setup["costume" + cosNum][i];
i++;
}
cos_x = costume[0];
cos_y = costume[1];
partsMax = costume[2];
partsNum = costume[3];
putOn = costume[4];
flop = costume[5];
fifty = costume[6];
setparts = costume[7];
cosIni = (cosNum - partsNum) + 1;
cosFrm = 1 + partsNum;
cosFrmFst = ((!putOn) ? 1 : (cosFrm));
this.gotoAndStop(cosFrmFst);
this._visible = ((!((!putOn) && (partsNum > 1))) ? true : false);
cos_vi = _parent.setup.cos_vi;
this._visible = ((!((!putOn) && (!cos_vi))) ? (this._visible) : false);
if (partsNum > 1) {
putOn = true;
}
_x = ((!putOn) ? (_x) : (cos_x));
_y = ((!putOn) ? (_y) : (cos_y));
poDepth = this.getDepth();
topDepth = _parent.setup.topDepth;
i = 0;
while (i < _parent.setup.setpartsMax) {
_parent.setup.setpartsStatus[i] = _parent.setup.setpartsStatus[i] + ((!((putOn && (setparts[i])) && (partsNum == 1))) ? 0 : 1);
_parent["setparts" + i]._visible = ((!_parent.setup.setpartsStatus[i]) ? true : false);
i++;
}
m = 2.5;
e = 0.4;
vs = 0;
minimum = (putOn + 1) % 2;
sizeUp = false;
t1 = true;
t2 = false;
}
on (press) {
this.gotoAndStop(1);
if (putOn) {
i = 0;
while (i < _parent.setup.setpartsMax) {
_parent.setup.setpartsStatus[i] = _parent.setup.setpartsStatus[i] - ((!(setparts[i] && (partsNum == 1))) ? 0 : 1);
_parent["setparts" + i]._visible = ((!_parent.setup.setpartsStatus[i]) ? true : false);
i++;
}
if (partsMax > 1) {
i = 0;
while (i < partsMax) {
if (i != (partsNum - 1)) {
_parent["costume" + (cosIni + i)]._visible = false;
}
i++;
}
}
}
this.startDrag();
this.swapDepths(_parent["layerLevel" + topDepth]);
if (!putOn) {
_parent["layerLevel" + topDepth].swapDepths(poDepth);
}
minimum = false;
sizeUp = true;
t2 = getTimer();
putOn = false;
}
on (release, releaseOutside) {
this.stopDrag();
i = 0;
while (i < topDepth) {
if ((_parent["layerLevel" + i].getDepth() >= 0) && (_parent["layerLevel" + (i + 1)].getDepth() < 0)) {
_parent["layerLevel" + i].swapDepths(i + 1);
_parent["layerLevel" + i].swapDepths(_parent["layerLevel" + (i + 1)]);
}
i++;
}
flopRange = Math.sqrt(Math.pow(cos_x - _x, 2) + Math.pow(cos_y - _y, 2));
if (flopRange < flop) {
_x = cos_x;
_y = cos_y;
putOn = true;
this.swapDepths(poDepth);
this.gotoAndStop(cosFrm);
if (partsMax > 1) {
i = 0;
while (i < partsMax) {
if (i != (partsNum - 1)) {
prtcosFrm = _parent["costume" + (cosIni + i)].cosFrm;
_parent["costume" + (cosIni + i)].gotoAndStop(prtcosFrm);
_parent["costume" + (cosIni + i)]._x = this._x;
_parent["costume" + (cosIni + i)]._y = this._y;
_parent["costume" + (cosIni + i)]._visible = true;
_parent["costume" + (cosIni + i)].putOn = true;
}
i++;
}
}
i = 0;
while (i < _parent.setup.setpartsMax) {
_parent.setup.setpartsStatus[i] = _parent.setup.setpartsStatus[i] + ((!(setparts[i] && (partsNum == 1))) ? 0 : 1);
_parent["setparts" + i]._visible = ((!_parent.setup.setpartsStatus[i]) ? true : false);
i++;
}
}
t1 = (t2 = getTimer());
}
onClipEvent (enterFrame) {
if (fifty < 100) {
if (((!putOn) && (t1 == t2)) && ((getTimer() - t2) > 3000)) {
sizeUp = true;
minimum = true;
t2 = getTimer();
}
if (sizeUp) {
ss = 100 - (minimum * fifty);
cs = _xscale;
vs = Math.round(((e * vs) + ((ss - cs) / m)) * 1000) / 1000;
_xscale = (Math.round(_xscale) + vs);
_yscale = (Math.round(_yscale) + vs);
if ((vs == 0) && (_xscale == ss)) {
sizeUp = false;
}
}
}
}
Instance of Symbol 65 MovieClip "costume44" in Frame 15
onClipEvent (load) {
cosNum = this._name.split("costume").join("");
costume = new Array();
i = 0;
while (i < 8) {
costume[i] = _parent.setup["costume" + cosNum][i];
i++;
}
cos_x = costume[0];
cos_y = costume[1];
partsMax = costume[2];
partsNum = costume[3];
putOn = costume[4];
flop = costume[5];
fifty = costume[6];
setparts = costume[7];
cosIni = (cosNum - partsNum) + 1;
cosFrm = 1 + partsNum;
cosFrmFst = ((!putOn) ? 1 : (cosFrm));
this.gotoAndStop(cosFrmFst);
this._visible = ((!((!putOn) && (partsNum > 1))) ? true : false);
cos_vi = _parent.setup.cos_vi;
this._visible = ((!((!putOn) && (!cos_vi))) ? (this._visible) : false);
if (partsNum > 1) {
putOn = true;
}
_x = ((!putOn) ? (_x) : (cos_x));
_y = ((!putOn) ? (_y) : (cos_y));
poDepth = this.getDepth();
topDepth = _parent.setup.topDepth;
i = 0;
while (i < _parent.setup.setpartsMax) {
_parent.setup.setpartsStatus[i] = _parent.setup.setpartsStatus[i] + ((!((putOn && (setparts[i])) && (partsNum == 1))) ? 0 : 1);
_parent["setparts" + i]._visible = ((!_parent.setup.setpartsStatus[i]) ? true : false);
i++;
}
m = 2.5;
e = 0.4;
vs = 0;
minimum = (putOn + 1) % 2;
sizeUp = false;
t1 = true;
t2 = false;
}
on (press) {
this.gotoAndStop(1);
if (putOn) {
i = 0;
while (i < _parent.setup.setpartsMax) {
_parent.setup.setpartsStatus[i] = _parent.setup.setpartsStatus[i] - ((!(setparts[i] && (partsNum == 1))) ? 0 : 1);
_parent["setparts" + i]._visible = ((!_parent.setup.setpartsStatus[i]) ? true : false);
i++;
}
if (partsMax > 1) {
i = 0;
while (i < partsMax) {
if (i != (partsNum - 1)) {
_parent["costume" + (cosIni + i)]._visible = false;
}
i++;
}
}
}
this.startDrag();
this.swapDepths(_parent["layerLevel" + topDepth]);
if (!putOn) {
_parent["layerLevel" + topDepth].swapDepths(poDepth);
}
minimum = false;
sizeUp = true;
t2 = getTimer();
putOn = false;
}
on (release, releaseOutside) {
this.stopDrag();
i = 0;
while (i < topDepth) {
if ((_parent["layerLevel" + i].getDepth() >= 0) && (_parent["layerLevel" + (i + 1)].getDepth() < 0)) {
_parent["layerLevel" + i].swapDepths(i + 1);
_parent["layerLevel" + i].swapDepths(_parent["layerLevel" + (i + 1)]);
}
i++;
}
flopRange = Math.sqrt(Math.pow(cos_x - _x, 2) + Math.pow(cos_y - _y, 2));
if (flopRange < flop) {
_x = cos_x;
_y = cos_y;
putOn = true;
this.swapDepths(poDepth);
this.gotoAndStop(cosFrm);
if (partsMax > 1) {
i = 0;
while (i < partsMax) {
if (i != (partsNum - 1)) {
prtcosFrm = _parent["costume" + (cosIni + i)].cosFrm;
_parent["costume" + (cosIni + i)].gotoAndStop(prtcosFrm);
_parent["costume" + (cosIni + i)]._x = this._x;
_parent["costume" + (cosIni + i)]._y = this._y;
_parent["costume" + (cosIni + i)]._visible = true;
_parent["costume" + (cosIni + i)].putOn = true;
}
i++;
}
}
i = 0;
while (i < _parent.setup.setpartsMax) {
_parent.setup.setpartsStatus[i] = _parent.setup.setpartsStatus[i] + ((!(setparts[i] && (partsNum == 1))) ? 0 : 1);
_parent["setparts" + i]._visible = ((!_parent.setup.setpartsStatus[i]) ? true : false);
i++;
}
}
t1 = (t2 = getTimer());
}
onClipEvent (enterFrame) {
if (fifty < 100) {
if (((!putOn) && (t1 == t2)) && ((getTimer() - t2) > 3000)) {
sizeUp = true;
minimum = true;
t2 = getTimer();
}
if (sizeUp) {
ss = 100 - (minimum * fifty);
cs = _xscale;
vs = Math.round(((e * vs) + ((ss - cs) / m)) * 1000) / 1000;
_xscale = (Math.round(_xscale) + vs);
_yscale = (Math.round(_yscale) + vs);
if ((vs == 0) && (_xscale == ss)) {
sizeUp = false;
}
}
}
}
Instance of Symbol 69 MovieClip "costume33" in Frame 15
onClipEvent (load) {
cosNum = this._name.split("costume").join("");
costume = new Array();
i = 0;
while (i < 8) {
costume[i] = _parent.setup["costume" + cosNum][i];
i++;
}
cos_x = costume[0];
cos_y = costume[1];
partsMax = costume[2];
partsNum = costume[3];
putOn = costume[4];
flop = costume[5];
fifty = costume[6];
setparts = costume[7];
cosIni = (cosNum - partsNum) + 1;
cosFrm = 1 + partsNum;
cosFrmFst = ((!putOn) ? 1 : (cosFrm));
this.gotoAndStop(cosFrmFst);
this._visible = ((!((!putOn) && (partsNum > 1))) ? true : false);
cos_vi = _parent.setup.cos_vi;
this._visible = ((!((!putOn) && (!cos_vi))) ? (this._visible) : false);
if (partsNum > 1) {
putOn = true;
}
_x = ((!putOn) ? (_x) : (cos_x));
_y = ((!putOn) ? (_y) : (cos_y));
poDepth = this.getDepth();
topDepth = _parent.setup.topDepth;
i = 0;
while (i < _parent.setup.setpartsMax) {
_parent.setup.setpartsStatus[i] = _parent.setup.setpartsStatus[i] + ((!((putOn && (setparts[i])) && (partsNum == 1))) ? 0 : 1);
_parent["setparts" + i]._visible = ((!_parent.setup.setpartsStatus[i]) ? true : false);
i++;
}
m = 2.5;
e = 0.4;
vs = 0;
minimum = (putOn + 1) % 2;
sizeUp = false;
t1 = true;
t2 = false;
}
on (press) {
this.gotoAndStop(1);
if (putOn) {
i = 0;
while (i < _parent.setup.setpartsMax) {
_parent.setup.setpartsStatus[i] = _parent.setup.setpartsStatus[i] - ((!(setparts[i] && (partsNum == 1))) ? 0 : 1);
_parent["setparts" + i]._visible = ((!_parent.setup.setpartsStatus[i]) ? true : false);
i++;
}
if (partsMax > 1) {
i = 0;
while (i < partsMax) {
if (i != (partsNum - 1)) {
_parent["costume" + (cosIni + i)]._visible = false;
}
i++;
}
}
}
this.startDrag();
this.swapDepths(_parent["layerLevel" + topDepth]);
if (!putOn) {
_parent["layerLevel" + topDepth].swapDepths(poDepth);
}
minimum = false;
sizeUp = true;
t2 = getTimer();
putOn = false;
}
on (release, releaseOutside) {
this.stopDrag();
i = 0;
while (i < topDepth) {
if ((_parent["layerLevel" + i].getDepth() >= 0) && (_parent["layerLevel" + (i + 1)].getDepth() < 0)) {
_parent["layerLevel" + i].swapDepths(i + 1);
_parent["layerLevel" + i].swapDepths(_parent["layerLevel" + (i + 1)]);
}
i++;
}
flopRange = Math.sqrt(Math.pow(cos_x - _x, 2) + Math.pow(cos_y - _y, 2));
if (flopRange < flop) {
_x = cos_x;
_y = cos_y;
putOn = true;
this.swapDepths(poDepth);
this.gotoAndStop(cosFrm);
if (partsMax > 1) {
i = 0;
while (i < partsMax) {
if (i != (partsNum - 1)) {
prtcosFrm = _parent["costume" + (cosIni + i)].cosFrm;
_parent["costume" + (cosIni + i)].gotoAndStop(prtcosFrm);
_parent["costume" + (cosIni + i)]._x = this._x;
_parent["costume" + (cosIni + i)]._y = this._y;
_parent["costume" + (cosIni + i)]._visible = true;
_parent["costume" + (cosIni + i)].putOn = true;
}
i++;
}
}
i = 0;
while (i < _parent.setup.setpartsMax) {
_parent.setup.setpartsStatus[i] = _parent.setup.setpartsStatus[i] + ((!(setparts[i] && (partsNum == 1))) ? 0 : 1);
_parent["setparts" + i]._visible = ((!_parent.setup.setpartsStatus[i]) ? true : false);
i++;
}
}
t1 = (t2 = getTimer());
}
onClipEvent (enterFrame) {
if (fifty < 100) {
if (((!putOn) && (t1 == t2)) && ((getTimer() - t2) > 3000)) {
sizeUp = true;
minimum = true;
t2 = getTimer();
}
if (sizeUp) {
ss = 100 - (minimum * fifty);
cs = _xscale;
vs = Math.round(((e * vs) + ((ss - cs) / m)) * 1000) / 1000;
_xscale = (Math.round(_xscale) + vs);
_yscale = (Math.round(_yscale) + vs);
if ((vs == 0) && (_xscale == ss)) {
sizeUp = false;
}
}
}
}
Instance of Symbol 71 MovieClip "costume32" in Frame 15
onClipEvent (load) {
cosNum = this._name.split("costume").join("");
costume = new Array();
i = 0;
while (i < 8) {
costume[i] = _parent.setup["costume" + cosNum][i];
i++;
}
cos_x = costume[0];
cos_y = costume[1];
partsMax = costume[2];
partsNum = costume[3];
putOn = costume[4];
flop = costume[5];
fifty = costume[6];
setparts = costume[7];
cosIni = (cosNum - partsNum) + 1;
cosFrm = 1 + partsNum;
cosFrmFst = ((!putOn) ? 1 : (cosFrm));
this.gotoAndStop(cosFrmFst);
this._visible = ((!((!putOn) && (partsNum > 1))) ? true : false);
cos_vi = _parent.setup.cos_vi;
this._visible = ((!((!putOn) && (!cos_vi))) ? (this._visible) : false);
if (partsNum > 1) {
putOn = true;
}
_x = ((!putOn) ? (_x) : (cos_x));
_y = ((!putOn) ? (_y) : (cos_y));
poDepth = this.getDepth();
topDepth = _parent.setup.topDepth;
i = 0;
while (i < _parent.setup.setpartsMax) {
_parent.setup.setpartsStatus[i] = _parent.setup.setpartsStatus[i] + ((!((putOn && (setparts[i])) && (partsNum == 1))) ? 0 : 1);
_parent["setparts" + i]._visible = ((!_parent.setup.setpartsStatus[i]) ? true : false);
i++;
}
m = 2.5;
e = 0.4;
vs = 0;
minimum = (putOn + 1) % 2;
sizeUp = false;
t1 = true;
t2 = false;
}
on (press) {
this.gotoAndStop(1);
if (putOn) {
i = 0;
while (i < _parent.setup.setpartsMax) {
_parent.setup.setpartsStatus[i] = _parent.setup.setpartsStatus[i] - ((!(setparts[i] && (partsNum == 1))) ? 0 : 1);
_parent["setparts" + i]._visible = ((!_parent.setup.setpartsStatus[i]) ? true : false);
i++;
}
if (partsMax > 1) {
i = 0;
while (i < partsMax) {
if (i != (partsNum - 1)) {
_parent["costume" + (cosIni + i)]._visible = false;
}
i++;
}
}
}
this.startDrag();
this.swapDepths(_parent["layerLevel" + topDepth]);
if (!putOn) {
_parent["layerLevel" + topDepth].swapDepths(poDepth);
}
minimum = false;
sizeUp = true;
t2 = getTimer();
putOn = false;
}
on (release, releaseOutside) {
this.stopDrag();
i = 0;
while (i < topDepth) {
if ((_parent["layerLevel" + i].getDepth() >= 0) && (_parent["layerLevel" + (i + 1)].getDepth() < 0)) {
_parent["layerLevel" + i].swapDepths(i + 1);
_parent["layerLevel" + i].swapDepths(_parent["layerLevel" + (i + 1)]);
}
i++;
}
flopRange = Math.sqrt(Math.pow(cos_x - _x, 2) + Math.pow(cos_y - _y, 2));
if (flopRange < flop) {
_x = cos_x;
_y = cos_y;
putOn = true;
this.swapDepths(poDepth);
this.gotoAndStop(cosFrm);
if (partsMax > 1) {
i = 0;
while (i < partsMax) {
if (i != (partsNum - 1)) {
prtcosFrm = _parent["costume" + (cosIni + i)].cosFrm;
_parent["costume" + (cosIni + i)].gotoAndStop(prtcosFrm);
_parent["costume" + (cosIni + i)]._x = this._x;
_parent["costume" + (cosIni + i)]._y = this._y;
_parent["costume" + (cosIni + i)]._visible = true;
_parent["costume" + (cosIni + i)].putOn = true;
}
i++;
}
}
i = 0;
while (i < _parent.setup.setpartsMax) {
_parent.setup.setpartsStatus[i] = _parent.setup.setpartsStatus[i] + ((!(setparts[i] && (partsNum == 1))) ? 0 : 1);
_parent["setparts" + i]._visible = ((!_parent.setup.setpartsStatus[i]) ? true : false);
i++;
}
}
t1 = (t2 = getTimer());
}
onClipEvent (enterFrame) {
if (fifty < 100) {
if (((!putOn) && (t1 == t2)) && ((getTimer() - t2) > 3000)) {
sizeUp = true;
minimum = true;
t2 = getTimer();
}
if (sizeUp) {
ss = 100 - (minimum * fifty);
cs = _xscale;
vs = Math.round(((e * vs) + ((ss - cs) / m)) * 1000) / 1000;
_xscale = (Math.round(_xscale) + vs);
_yscale = (Math.round(_yscale) + vs);
if ((vs == 0) && (_xscale == ss)) {
sizeUp = false;
}
}
}
}
Instance of Symbol 73 MovieClip "costume31" in Frame 15
onClipEvent (load) {
cosNum = this._name.split("costume").join("");
costume = new Array();
i = 0;
while (i < 8) {
costume[i] = _parent.setup["costume" + cosNum][i];
i++;
}
cos_x = costume[0];
cos_y = costume[1];
partsMax = costume[2];
partsNum = costume[3];
putOn = costume[4];
flop = costume[5];
fifty = costume[6];
setparts = costume[7];
cosIni = (cosNum - partsNum) + 1;
cosFrm = 1 + partsNum;
cosFrmFst = ((!putOn) ? 1 : (cosFrm));
this.gotoAndStop(cosFrmFst);
this._visible = ((!((!putOn) && (partsNum > 1))) ? true : false);
cos_vi = _parent.setup.cos_vi;
this._visible = ((!((!putOn) && (!cos_vi))) ? (this._visible) : false);
if (partsNum > 1) {
putOn = true;
}
_x = ((!putOn) ? (_x) : (cos_x));
_y = ((!putOn) ? (_y) : (cos_y));
poDepth = this.getDepth();
topDepth = _parent.setup.topDepth;
i = 0;
while (i < _parent.setup.setpartsMax) {
_parent.setup.setpartsStatus[i] = _parent.setup.setpartsStatus[i] + ((!((putOn && (setparts[i])) && (partsNum == 1))) ? 0 : 1);
_parent["setparts" + i]._visible = ((!_parent.setup.setpartsStatus[i]) ? true : false);
i++;
}
m = 2.5;
e = 0.4;
vs = 0;
minimum = (putOn + 1) % 2;
sizeUp = false;
t1 = true;
t2 = false;
}
on (press) {
this.gotoAndStop(1);
if (putOn) {
i = 0;
while (i < _parent.setup.setpartsMax) {
_parent.setup.setpartsStatus[i] = _parent.setup.setpartsStatus[i] - ((!(setparts[i] && (partsNum == 1))) ? 0 : 1);
_parent["setparts" + i]._visible = ((!_parent.setup.setpartsStatus[i]) ? true : false);
i++;
}
if (partsMax > 1) {
i = 0;
while (i < partsMax) {
if (i != (partsNum - 1)) {
_parent["costume" + (cosIni + i)]._visible = false;
}
i++;
}
}
}
this.startDrag();
this.swapDepths(_parent["layerLevel" + topDepth]);
if (!putOn) {
_parent["layerLevel" + topDepth].swapDepths(poDepth);
}
minimum = false;
sizeUp = true;
t2 = getTimer();
putOn = false;
}
on (release, releaseOutside) {
this.stopDrag();
i = 0;
while (i < topDepth) {
if ((_parent["layerLevel" + i].getDepth() >= 0) && (_parent["layerLevel" + (i + 1)].getDepth() < 0)) {
_parent["layerLevel" + i].swapDepths(i + 1);
_parent["layerLevel" + i].swapDepths(_parent["layerLevel" + (i + 1)]);
}
i++;
}
flopRange = Math.sqrt(Math.pow(cos_x - _x, 2) + Math.pow(cos_y - _y, 2));
if (flopRange < flop) {
_x = cos_x;
_y = cos_y;
putOn = true;
this.swapDepths(poDepth);
this.gotoAndStop(cosFrm);
if (partsMax > 1) {
i = 0;
while (i < partsMax) {
if (i != (partsNum - 1)) {
prtcosFrm = _parent["costume" + (cosIni + i)].cosFrm;
_parent["costume" + (cosIni + i)].gotoAndStop(prtcosFrm);
_parent["costume" + (cosIni + i)]._x = this._x;
_parent["costume" + (cosIni + i)]._y = this._y;
_parent["costume" + (cosIni + i)]._visible = true;
_parent["costume" + (cosIni + i)].putOn = true;
}
i++;
}
}
i = 0;
while (i < _parent.setup.setpartsMax) {
_parent.setup.setpartsStatus[i] = _parent.setup.setpartsStatus[i] + ((!(setparts[i] && (partsNum == 1))) ? 0 : 1);
_parent["setparts" + i]._visible = ((!_parent.setup.setpartsStatus[i]) ? true : false);
i++;
}
}
t1 = (t2 = getTimer());
}
onClipEvent (enterFrame) {
if (fifty < 100) {
if (((!putOn) && (t1 == t2)) && ((getTimer() - t2) > 3000)) {
sizeUp = true;
minimum = true;
t2 = getTimer();
}
if (sizeUp) {
ss = 100 - (minimum * fifty);
cs = _xscale;
vs = Math.round(((e * vs) + ((ss - cs) / m)) * 1000) / 1000;
_xscale = (Math.round(_xscale) + vs);
_yscale = (Math.round(_yscale) + vs);
if ((vs == 0) && (_xscale == ss)) {
sizeUp = false;
}
}
}
}
Instance of Symbol 75 MovieClip "costume30" in Frame 15
onClipEvent (load) {
cosNum = this._name.split("costume").join("");
costume = new Array();
i = 0;
while (i < 8) {
costume[i] = _parent.setup["costume" + cosNum][i];
i++;
}
cos_x = costume[0];
cos_y = costume[1];
partsMax = costume[2];
partsNum = costume[3];
putOn = costume[4];
flop = costume[5];
fifty = costume[6];
setparts = costume[7];
cosIni = (cosNum - partsNum) + 1;
cosFrm = 1 + partsNum;
cosFrmFst = ((!putOn) ? 1 : (cosFrm));
this.gotoAndStop(cosFrmFst);
this._visible = ((!((!putOn) && (partsNum > 1))) ? true : false);
cos_vi = _parent.setup.cos_vi;
this._visible = ((!((!putOn) && (!cos_vi))) ? (this._visible) : false);
if (partsNum > 1) {
putOn = true;
}
_x = ((!putOn) ? (_x) : (cos_x));
_y = ((!putOn) ? (_y) : (cos_y));
poDepth = this.getDepth();
topDepth = _parent.setup.topDepth;
i = 0;
while (i < _parent.setup.setpartsMax) {
_parent.setup.setpartsStatus[i] = _parent.setup.setpartsStatus[i] + ((!((putOn && (setparts[i])) && (partsNum == 1))) ? 0 : 1);
_parent["setparts" + i]._visible = ((!_parent.setup.setpartsStatus[i]) ? true : false);
i++;
}
m = 2.5;
e = 0.4;
vs = 0;
minimum = (putOn + 1) % 2;
sizeUp = false;
t1 = true;
t2 = false;
}
on (press) {
this.gotoAndStop(1);
if (putOn) {
i = 0;
while (i < _parent.setup.setpartsMax) {
_parent.setup.setpartsStatus[i] = _parent.setup.setpartsStatus[i] - ((!(setparts[i] && (partsNum == 1))) ? 0 : 1);
_parent["setparts" + i]._visible = ((!_parent.setup.setpartsStatus[i]) ? true : false);
i++;
}
if (partsMax > 1) {
i = 0;
while (i < partsMax) {
if (i != (partsNum - 1)) {
_parent["costume" + (cosIni + i)]._visible = false;
}
i++;
}
}
}
this.startDrag();
this.swapDepths(_parent["layerLevel" + topDepth]);
if (!putOn) {
_parent["layerLevel" + topDepth].swapDepths(poDepth);
}
minimum = false;
sizeUp = true;
t2 = getTimer();
putOn = false;
}
on (release, releaseOutside) {
this.stopDrag();
i = 0;
while (i < topDepth) {
if ((_parent["layerLevel" + i].getDepth() >= 0) && (_parent["layerLevel" + (i + 1)].getDepth() < 0)) {
_parent["layerLevel" + i].swapDepths(i + 1);
_parent["layerLevel" + i].swapDepths(_parent["layerLevel" + (i + 1)]);
}
i++;
}
flopRange = Math.sqrt(Math.pow(cos_x - _x, 2) + Math.pow(cos_y - _y, 2));
if (flopRange < flop) {
_x = cos_x;
_y = cos_y;
putOn = true;
this.swapDepths(poDepth);
this.gotoAndStop(cosFrm);
if (partsMax > 1) {
i = 0;
while (i < partsMax) {
if (i != (partsNum - 1)) {
prtcosFrm = _parent["costume" + (cosIni + i)].cosFrm;
_parent["costume" + (cosIni + i)].gotoAndStop(prtcosFrm);
_parent["costume" + (cosIni + i)]._x = this._x;
_parent["costume" + (cosIni + i)]._y = this._y;
_parent["costume" + (cosIni + i)]._visible = true;
_parent["costume" + (cosIni + i)].putOn = true;
}
i++;
}
}
i = 0;
while (i < _parent.setup.setpartsMax) {
_parent.setup.setpartsStatus[i] = _parent.setup.setpartsStatus[i] + ((!(setparts[i] && (partsNum == 1))) ? 0 : 1);
_parent["setparts" + i]._visible = ((!_parent.setup.setpartsStatus[i]) ? true : false);
i++;
}
}
t1 = (t2 = getTimer());
}
onClipEvent (enterFrame) {
if (fifty < 100) {
if (((!putOn) && (t1 == t2)) && ((getTimer() - t2) > 3000)) {
sizeUp = true;
minimum = true;
t2 = getTimer();
}
if (sizeUp) {
ss = 100 - (minimum * fifty);
cs = _xscale;
vs = Math.round(((e * vs) + ((ss - cs) / m)) * 1000) / 1000;
_xscale = (Math.round(_xscale) + vs);
_yscale = (Math.round(_yscale) + vs);
if ((vs == 0) && (_xscale == ss)) {
sizeUp = false;
}
}
}
}
Instance of Symbol 12 MovieClip "costume28" in Frame 15
onClipEvent (load) {
cosNum = this._name.split("costume").join("");
costume = new Array();
i = 0;
while (i < 8) {
costume[i] = _parent.setup["costume" + cosNum][i];
i++;
}
cos_x = costume[0];
cos_y = costume[1];
partsMax = costume[2];
partsNum = costume[3];
putOn = costume[4];
flop = costume[5];
fifty = costume[6];
setparts = costume[7];
cosIni = (cosNum - partsNum) + 1;
cosFrm = 1 + partsNum;
cosFrmFst = ((!putOn) ? 1 : (cosFrm));
this.gotoAndStop(cosFrmFst);
this._visible = ((!((!putOn) && (partsNum > 1))) ? true : false);
cos_vi = _parent.setup.cos_vi;
this._visible = ((!((!putOn) && (!cos_vi))) ? (this._visible) : false);
if (partsNum > 1) {
putOn = true;
}
_x = ((!putOn) ? (_x) : (cos_x));
_y = ((!putOn) ? (_y) : (cos_y));
poDepth = this.getDepth();
topDepth = _parent.setup.topDepth;
i = 0;
while (i < _parent.setup.setpartsMax) {
_parent.setup.setpartsStatus[i] = _parent.setup.setpartsStatus[i] + ((!((putOn && (setparts[i])) && (partsNum == 1))) ? 0 : 1);
_parent["setparts" + i]._visible = ((!_parent.setup.setpartsStatus[i]) ? true : false);
i++;
}
m = 2.5;
e = 0.4;
vs = 0;
minimum = (putOn + 1) % 2;
sizeUp = false;
t1 = true;
t2 = false;
}
on (press) {
this.gotoAndStop(1);
if (putOn) {
i = 0;
while (i < _parent.setup.setpartsMax) {
_parent.setup.setpartsStatus[i] = _parent.setup.setpartsStatus[i] - ((!(setparts[i] && (partsNum == 1))) ? 0 : 1);
_parent["setparts" + i]._visible = ((!_parent.setup.setpartsStatus[i]) ? true : false);
i++;
}
if (partsMax > 1) {
i = 0;
while (i < partsMax) {
if (i != (partsNum - 1)) {
_parent["costume" + (cosIni + i)]._visible = false;
}
i++;
}
}
}
this.startDrag();
this.swapDepths(_parent["layerLevel" + topDepth]);
if (!putOn) {
_parent["layerLevel" + topDepth].swapDepths(poDepth);
}
minimum = false;
sizeUp = true;
t2 = getTimer();
putOn = false;
}
on (release, releaseOutside) {
this.stopDrag();
i = 0;
while (i < topDepth) {
if ((_parent["layerLevel" + i].getDepth() >= 0) && (_parent["layerLevel" + (i + 1)].getDepth() < 0)) {
_parent["layerLevel" + i].swapDepths(i + 1);
_parent["layerLevel" + i].swapDepths(_parent["layerLevel" + (i + 1)]);
}
i++;
}
flopRange = Math.sqrt(Math.pow(cos_x - _x, 2) + Math.pow(cos_y - _y, 2));
if (flopRange < flop) {
_x = cos_x;
_y = cos_y;
putOn = true;
this.swapDepths(poDepth);
this.gotoAndStop(cosFrm);
if (partsMax > 1) {
i = 0;
while (i < partsMax) {
if (i != (partsNum - 1)) {
prtcosFrm = _parent["costume" + (cosIni + i)].cosFrm;
_parent["costume" + (cosIni + i)].gotoAndStop(prtcosFrm);
_parent["costume" + (cosIni + i)]._x = this._x;
_parent["costume" + (cosIni + i)]._y = this._y;
_parent["costume" + (cosIni + i)]._visible = true;
_parent["costume" + (cosIni + i)].putOn = true;
}
i++;
}
}
i = 0;
while (i < _parent.setup.setpartsMax) {
_parent.setup.setpartsStatus[i] = _parent.setup.setpartsStatus[i] + ((!(setparts[i] && (partsNum == 1))) ? 0 : 1);
_parent["setparts" + i]._visible = ((!_parent.setup.setpartsStatus[i]) ? true : false);
i++;
}
}
t1 = (t2 = getTimer());
}
onClipEvent (enterFrame) {
if (fifty < 100) {
if (((!putOn) && (t1 == t2)) && ((getTimer() - t2) > 3000)) {
sizeUp = true;
minimum = true;
t2 = getTimer();
}
if (sizeUp) {
ss = 100 - (minimum * fifty);
cs = _xscale;
vs = Math.round(((e * vs) + ((ss - cs) / m)) * 1000) / 1000;
_xscale = (Math.round(_xscale) + vs);
_yscale = (Math.round(_yscale) + vs);
if ((vs == 0) && (_xscale == ss)) {
sizeUp = false;
}
}
}
}
Instance of Symbol 20 MovieClip "costume26" in Frame 15
onClipEvent (load) {
cosNum = this._name.split("costume").join("");
costume = new Array();
i = 0;
while (i < 8) {
costume[i] = _parent.setup["costume" + cosNum][i];
i++;
}
cos_x = costume[0];
cos_y = costume[1];
partsMax = costume[2];
partsNum = costume[3];
putOn = costume[4];
flop = costume[5];
fifty = costume[6];
setparts = costume[7];
cosIni = (cosNum - partsNum) + 1;
cosFrm = 1 + partsNum;
cosFrmFst = ((!putOn) ? 1 : (cosFrm));
this.gotoAndStop(cosFrmFst);
this._visible = ((!((!putOn) && (partsNum > 1))) ? true : false);
cos_vi = _parent.setup.cos_vi;
this._visible = ((!((!putOn) && (!cos_vi))) ? (this._visible) : false);
if (partsNum > 1) {
putOn = true;
}
_x = ((!putOn) ? (_x) : (cos_x));
_y = ((!putOn) ? (_y) : (cos_y));
poDepth = this.getDepth();
topDepth = _parent.setup.topDepth;
i = 0;
while (i < _parent.setup.setpartsMax) {
_parent.setup.setpartsStatus[i] = _parent.setup.setpartsStatus[i] + ((!((putOn && (setparts[i])) && (partsNum == 1))) ? 0 : 1);
_parent["setparts" + i]._visible = ((!_parent.setup.setpartsStatus[i]) ? true : false);
i++;
}
m = 2.5;
e = 0.4;
vs = 0;
minimum = (putOn + 1) % 2;
sizeUp = false;
t1 = true;
t2 = false;
}
on (press) {
this.gotoAndStop(1);
if (putOn) {
i = 0;
while (i < _parent.setup.setpartsMax) {
_parent.setup.setpartsStatus[i] = _parent.setup.setpartsStatus[i] - ((!(setparts[i] && (partsNum == 1))) ? 0 : 1);
_parent["setparts" + i]._visible = ((!_parent.setup.setpartsStatus[i]) ? true : false);
i++;
}
if (partsMax > 1) {
i = 0;
while (i < partsMax) {
if (i != (partsNum - 1)) {
_parent["costume" + (cosIni + i)]._visible = false;
}
i++;
}
}
}
this.startDrag();
this.swapDepths(_parent["layerLevel" + topDepth]);
if (!putOn) {
_parent["layerLevel" + topDepth].swapDepths(poDepth);
}
minimum = false;
sizeUp = true;
t2 = getTimer();
putOn = false;
}
on (release, releaseOutside) {
this.stopDrag();
i = 0;
while (i < topDepth) {
if ((_parent["layerLevel" + i].getDepth() >= 0) && (_parent["layerLevel" + (i + 1)].getDepth() < 0)) {
_parent["layerLevel" + i].swapDepths(i + 1);
_parent["layerLevel" + i].swapDepths(_parent["layerLevel" + (i + 1)]);
}
i++;
}
flopRange = Math.sqrt(Math.pow(cos_x - _x, 2) + Math.pow(cos_y - _y, 2));
if (flopRange < flop) {
_x = cos_x;
_y = cos_y;
putOn = true;
this.swapDepths(poDepth);
this.gotoAndStop(cosFrm);
if (partsMax > 1) {
i = 0;
while (i < partsMax) {
if (i != (partsNum - 1)) {
prtcosFrm = _parent["costume" + (cosIni + i)].cosFrm;
_parent["costume" + (cosIni + i)].gotoAndStop(prtcosFrm);
_parent["costume" + (cosIni + i)]._x = this._x;
_parent["costume" + (cosIni + i)]._y = this._y;
_parent["costume" + (cosIni + i)]._visible = true;
_parent["costume" + (cosIni + i)].putOn = true;
}
i++;
}
}
i = 0;
while (i < _parent.setup.setpartsMax) {
_parent.setup.setpartsStatus[i] = _parent.setup.setpartsStatus[i] + ((!(setparts[i] && (partsNum == 1))) ? 0 : 1);
_parent["setparts" + i]._visible = ((!_parent.setup.setpartsStatus[i]) ? true : false);
i++;
}
}
t1 = (t2 = getTimer());
}
onClipEvent (enterFrame) {
if (fifty < 100) {
if (((!putOn) && (t1 == t2)) && ((getTimer() - t2) > 3000)) {
sizeUp = true;
minimum = true;
t2 = getTimer();
}
if (sizeUp) {
ss = 100 - (minimum * fifty);
cs = _xscale;
vs = Math.round(((e * vs) + ((ss - cs) / m)) * 1000) / 1000;
_xscale = (Math.round(_xscale) + vs);
_yscale = (Math.round(_yscale) + vs);
if ((vs == 0) && (_xscale == ss)) {
sizeUp = false;
}
}
}
}
Instance of Symbol 77 MovieClip "costume25" in Frame 15
onClipEvent (load) {
cosNum = this._name.split("costume").join("");
costume = new Array();
i = 0;
while (i < 8) {
costume[i] = _parent.setup["costume" + cosNum][i];
i++;
}
cos_x = costume[0];
cos_y = costume[1];
partsMax = costume[2];
partsNum = costume[3];
putOn = costume[4];
flop = costume[5];
fifty = costume[6];
setparts = costume[7];
cosIni = (cosNum - partsNum) + 1;
cosFrm = 1 + partsNum;
cosFrmFst = ((!putOn) ? 1 : (cosFrm));
this.gotoAndStop(cosFrmFst);
this._visible = ((!((!putOn) && (partsNum > 1))) ? true : false);
cos_vi = _parent.setup.cos_vi;
this._visible = ((!((!putOn) && (!cos_vi))) ? (this._visible) : false);
if (partsNum > 1) {
putOn = true;
}
_x = ((!putOn) ? (_x) : (cos_x));
_y = ((!putOn) ? (_y) : (cos_y));
poDepth = this.getDepth();
topDepth = _parent.setup.topDepth;
i = 0;
while (i < _parent.setup.setpartsMax) {
_parent.setup.setpartsStatus[i] = _parent.setup.setpartsStatus[i] + ((!((putOn && (setparts[i])) && (partsNum == 1))) ? 0 : 1);
_parent["setparts" + i]._visible = ((!_parent.setup.setpartsStatus[i]) ? true : false);
i++;
}
m = 2.5;
e = 0.4;
vs = 0;
minimum = (putOn + 1) % 2;
sizeUp = false;
t1 = true;
t2 = false;
}
on (press) {
this.gotoAndStop(1);
if (putOn) {
i = 0;
while (i < _parent.setup.setpartsMax) {
_parent.setup.setpartsStatus[i] = _parent.setup.setpartsStatus[i] - ((!(setparts[i] && (partsNum == 1))) ? 0 : 1);
_parent["setparts" + i]._visible = ((!_parent.setup.setpartsStatus[i]) ? true : false);
i++;
}
if (partsMax > 1) {
i = 0;
while (i < partsMax) {
if (i != (partsNum - 1)) {
_parent["costume" + (cosIni + i)]._visible = false;
}
i++;
}
}
}
this.startDrag();
this.swapDepths(_parent["layerLevel" + topDepth]);
if (!putOn) {
_parent["layerLevel" + topDepth].swapDepths(poDepth);
}
minimum = false;
sizeUp = true;
t2 = getTimer();
putOn = false;
}
on (release, releaseOutside) {
this.stopDrag();
i = 0;
while (i < topDepth) {
if ((_parent["layerLevel" + i].getDepth() >= 0) && (_parent["layerLevel" + (i + 1)].getDepth() < 0)) {
_parent["layerLevel" + i].swapDepths(i + 1);
_parent["layerLevel" + i].swapDepths(_parent["layerLevel" + (i + 1)]);
}
i++;
}
flopRange = Math.sqrt(Math.pow(cos_x - _x, 2) + Math.pow(cos_y - _y, 2));
if (flopRange < flop) {
_x = cos_x;
_y = cos_y;
putOn = true;
this.swapDepths(poDepth);
this.gotoAndStop(cosFrm);
if (partsMax > 1) {
i = 0;
while (i < partsMax) {
if (i != (partsNum - 1)) {
prtcosFrm = _parent["costume" + (cosIni + i)].cosFrm;
_parent["costume" + (cosIni + i)].gotoAndStop(prtcosFrm);
_parent["costume" + (cosIni + i)]._x = this._x;
_parent["costume" + (cosIni + i)]._y = this._y;
_parent["costume" + (cosIni + i)]._visible = true;
_parent["costume" + (cosIni + i)].putOn = true;
}
i++;
}
}
i = 0;
while (i < _parent.setup.setpartsMax) {
_parent.setup.setpartsStatus[i] = _parent.setup.setpartsStatus[i] + ((!(setparts[i] && (partsNum == 1))) ? 0 : 1);
_parent["setparts" + i]._visible = ((!_parent.setup.setpartsStatus[i]) ? true : false);
i++;
}
}
t1 = (t2 = getTimer());
}
onClipEvent (enterFrame) {
if (fifty < 100) {
if (((!putOn) && (t1 == t2)) && ((getTimer() - t2) > 3000)) {
sizeUp = true;
minimum = true;
t2 = getTimer();
}
if (sizeUp) {
ss = 100 - (minimum * fifty);
cs = _xscale;
vs = Math.round(((e * vs) + ((ss - cs) / m)) * 1000) / 1000;
_xscale = (Math.round(_xscale) + vs);
_yscale = (Math.round(_yscale) + vs);
if ((vs == 0) && (_xscale == ss)) {
sizeUp = false;
}
}
}
}
Instance of Symbol 81 MovieClip "costume16" in Frame 15
onClipEvent (load) {
cosNum = this._name.split("costume").join("");
costume = new Array();
i = 0;
while (i < 8) {
costume[i] = _parent.setup["costume" + cosNum][i];
i++;
}
cos_x = costume[0];
cos_y = costume[1];
partsMax = costume[2];
partsNum = costume[3];
putOn = costume[4];
flop = costume[5];
fifty = costume[6];
setparts = costume[7];
cosIni = (cosNum - partsNum) + 1;
cosFrm = 1 + partsNum;
cosFrmFst = ((!putOn) ? 1 : (cosFrm));
this.gotoAndStop(cosFrmFst);
this._visible = ((!((!putOn) && (partsNum > 1))) ? true : false);
cos_vi = _parent.setup.cos_vi;
this._visible = ((!((!putOn) && (!cos_vi))) ? (this._visible) : false);
if (partsNum > 1) {
putOn = true;
}
_x = ((!putOn) ? (_x) : (cos_x));
_y = ((!putOn) ? (_y) : (cos_y));
poDepth = this.getDepth();
topDepth = _parent.setup.topDepth;
i = 0;
while (i < _parent.setup.setpartsMax) {
_parent.setup.setpartsStatus[i] = _parent.setup.setpartsStatus[i] + ((!((putOn && (setparts[i])) && (partsNum == 1))) ? 0 : 1);
_parent["setparts" + i]._visible = ((!_parent.setup.setpartsStatus[i]) ? true : false);
i++;
}
m = 2.5;
e = 0.4;
vs = 0;
minimum = (putOn + 1) % 2;
sizeUp = false;
t1 = true;
t2 = false;
}
on (press) {
this.gotoAndStop(1);
if (putOn) {
i = 0;
while (i < _parent.setup.setpartsMax) {
_parent.setup.setpartsStatus[i] = _parent.setup.setpartsStatus[i] - ((!(setparts[i] && (partsNum == 1))) ? 0 : 1);
_parent["setparts" + i]._visible = ((!_parent.setup.setpartsStatus[i]) ? true : false);
i++;
}
if (partsMax > 1) {
i = 0;
while (i < partsMax) {
if (i != (partsNum - 1)) {
_parent["costume" + (cosIni + i)]._visible = false;
}
i++;
}
}
}
this.startDrag();
this.swapDepths(_parent["layerLevel" + topDepth]);
if (!putOn) {
_parent["layerLevel" + topDepth].swapDepths(poDepth);
}
minimum = false;
sizeUp = true;
t2 = getTimer();
putOn = false;
}
on (release, releaseOutside) {
this.stopDrag();
i = 0;
while (i < topDepth) {
if ((_parent["layerLevel" + i].getDepth() >= 0) && (_parent["layerLevel" + (i + 1)].getDepth() < 0)) {
_parent["layerLevel" + i].swapDepths(i + 1);
_parent["layerLevel" + i].swapDepths(_parent["layerLevel" + (i + 1)]);
}
i++;
}
flopRange = Math.sqrt(Math.pow(cos_x - _x, 2) + Math.pow(cos_y - _y, 2));
if (flopRange < flop) {
_x = cos_x;
_y = cos_y;
putOn = true;
this.swapDepths(poDepth);
this.gotoAndStop(cosFrm);
if (partsMax > 1) {
i = 0;
while (i < partsMax) {
if (i != (partsNum - 1)) {
prtcosFrm = _parent["costume" + (cosIni + i)].cosFrm;
_parent["costume" + (cosIni + i)].gotoAndStop(prtcosFrm);
_parent["costume" + (cosIni + i)]._x = this._x;
_parent["costume" + (cosIni + i)]._y = this._y;
_parent["costume" + (cosIni + i)]._visible = true;
_parent["costume" + (cosIni + i)].putOn = true;
}
i++;
}
}
i = 0;
while (i < _parent.setup.setpartsMax) {
_parent.setup.setpartsStatus[i] = _parent.setup.setpartsStatus[i] + ((!(setparts[i] && (partsNum == 1))) ? 0 : 1);
_parent["setparts" + i]._visible = ((!_parent.setup.setpartsStatus[i]) ? true : false);
i++;
}
}
t1 = (t2 = getTimer());
}
onClipEvent (enterFrame) {
if (fifty < 100) {
if (((!putOn) && (t1 == t2)) && ((getTimer() - t2) > 3000)) {
sizeUp = true;
minimum = true;
t2 = getTimer();
}
if (sizeUp) {
ss = 100 - (minimum * fifty);
cs = _xscale;
vs = Math.round(((e * vs) + ((ss - cs) / m)) * 1000) / 1000;
_xscale = (Math.round(_xscale) + vs);
_yscale = (Math.round(_yscale) + vs);
if ((vs == 0) && (_xscale == ss)) {
sizeUp = false;
}
}
}
}
Instance of Symbol 89 MovieClip "costume24" in Frame 15
onClipEvent (load) {
cosNum = this._name.split("costume").join("");
costume = new Array();
i = 0;
while (i < 8) {
costume[i] = _parent.setup["costume" + cosNum][i];
i++;
}
cos_x = costume[0];
cos_y = costume[1];
partsMax = costume[2];
partsNum = costume[3];
putOn = costume[4];
flop = costume[5];
fifty = costume[6];
setparts = costume[7];
cosIni = (cosNum - partsNum) + 1;
cosFrm = 1 + partsNum;
cosFrmFst = ((!putOn) ? 1 : (cosFrm));
this.gotoAndStop(cosFrmFst);
this._visible = ((!((!putOn) && (partsNum > 1))) ? true : false);
cos_vi = _parent.setup.cos_vi;
this._visible = ((!((!putOn) && (!cos_vi))) ? (this._visible) : false);
if (partsNum > 1) {
putOn = true;
}
_x = ((!putOn) ? (_x) : (cos_x));
_y = ((!putOn) ? (_y) : (cos_y));
poDepth = this.getDepth();
topDepth = _parent.setup.topDepth;
i = 0;
while (i < _parent.setup.setpartsMax) {
_parent.setup.setpartsStatus[i] = _parent.setup.setpartsStatus[i] + ((!((putOn && (setparts[i])) && (partsNum == 1))) ? 0 : 1);
_parent["setparts" + i]._visible = ((!_parent.setup.setpartsStatus[i]) ? true : false);
i++;
}
m = 2.5;
e = 0.4;
vs = 0;
minimum = (putOn + 1) % 2;
sizeUp = false;
t1 = true;
t2 = false;
}
on (press) {
this.gotoAndStop(1);
if (putOn) {
i = 0;
while (i < _parent.setup.setpartsMax) {
_parent.setup.setpartsStatus[i] = _parent.setup.setpartsStatus[i] - ((!(setparts[i] && (partsNum == 1))) ? 0 : 1);
_parent["setparts" + i]._visible = ((!_parent.setup.setpartsStatus[i]) ? true : false);
i++;
}
if (partsMax > 1) {
i = 0;
while (i < partsMax) {
if (i != (partsNum - 1)) {
_parent["costume" + (cosIni + i)]._visible = false;
}
i++;
}
}
}
this.startDrag();
this.swapDepths(_parent["layerLevel" + topDepth]);
if (!putOn) {
_parent["layerLevel" + topDepth].swapDepths(poDepth);
}
minimum = false;
sizeUp = true;
t2 = getTimer();
putOn = false;
}
on (release, releaseOutside) {
this.stopDrag();
i = 0;
while (i < topDepth) {
if ((_parent["layerLevel" + i].getDepth() >= 0) && (_parent["layerLevel" + (i + 1)].getDepth() < 0)) {
_parent["layerLevel" + i].swapDepths(i + 1);
_parent["layerLevel" + i].swapDepths(_parent["layerLevel" + (i + 1)]);
}
i++;
}
flopRange = Math.sqrt(Math.pow(cos_x - _x, 2) + Math.pow(cos_y - _y, 2));
if (flopRange < flop) {
_x = cos_x;
_y = cos_y;
putOn = true;
this.swapDepths(poDepth);
this.gotoAndStop(cosFrm);
if (partsMax > 1) {
i = 0;
while (i < partsMax) {
if (i != (partsNum - 1)) {
prtcosFrm = _parent["costume" + (cosIni + i)].cosFrm;
_parent["costume" + (cosIni + i)].gotoAndStop(prtcosFrm);
_parent["costume" + (cosIni + i)]._x = this._x;
_parent["costume" + (cosIni + i)]._y = this._y;
_parent["costume" + (cosIni + i)]._visible = true;
_parent["costume" + (cosIni + i)].putOn = true;
}
i++;
}
}
i = 0;
while (i < _parent.setup.setpartsMax) {
_parent.setup.setpartsStatus[i] = _parent.setup.setpartsStatus[i] + ((!(setparts[i] && (partsNum == 1))) ? 0 : 1);
_parent["setparts" + i]._visible = ((!_parent.setup.setpartsStatus[i]) ? true : false);
i++;
}
}
t1 = (t2 = getTimer());
}
onClipEvent (enterFrame) {
if (fifty < 100) {
if (((!putOn) && (t1 == t2)) && ((getTimer() - t2) > 3000)) {
sizeUp = true;
minimum = true;
t2 = getTimer();
}
if (sizeUp) {
ss = 100 - (minimum * fifty);
cs = _xscale;
vs = Math.round(((e * vs) + ((ss - cs) / m)) * 1000) / 1000;
_xscale = (Math.round(_xscale) + vs);
_yscale = (Math.round(_yscale) + vs);
if ((vs == 0) && (_xscale == ss)) {
sizeUp = false;
}
}
}
}
Instance of Symbol 91 MovieClip "costume23" in Frame 15
onClipEvent (load) {
cosNum = this._name.split("costume").join("");
costume = new Array();
i = 0;
while (i < 8) {
costume[i] = _parent.setup["costume" + cosNum][i];
i++;
}
cos_x = costume[0];
cos_y = costume[1];
partsMax = costume[2];
partsNum = costume[3];
putOn = costume[4];
flop = costume[5];
fifty = costume[6];
setparts = costume[7];
cosIni = (cosNum - partsNum) + 1;
cosFrm = 1 + partsNum;
cosFrmFst = ((!putOn) ? 1 : (cosFrm));
this.gotoAndStop(cosFrmFst);
this._visible = ((!((!putOn) && (partsNum > 1))) ? true : false);
cos_vi = _parent.setup.cos_vi;
this._visible = ((!((!putOn) && (!cos_vi))) ? (this._visible) : false);
if (partsNum > 1) {
putOn = true;
}
_x = ((!putOn) ? (_x) : (cos_x));
_y = ((!putOn) ? (_y) : (cos_y));
poDepth = this.getDepth();
topDepth = _parent.setup.topDepth;
i = 0;
while (i < _parent.setup.setpartsMax) {
_parent.setup.setpartsStatus[i] = _parent.setup.setpartsStatus[i] + ((!((putOn && (setparts[i])) && (partsNum == 1))) ? 0 : 1);
_parent["setparts" + i]._visible = ((!_parent.setup.setpartsStatus[i]) ? true : false);
i++;
}
m = 2.5;
e = 0.4;
vs = 0;
minimum = (putOn + 1) % 2;
sizeUp = false;
t1 = true;
t2 = false;
}
on (press) {
this.gotoAndStop(1);
if (putOn) {
i = 0;
while (i < _parent.setup.setpartsMax) {
_parent.setup.setpartsStatus[i] = _parent.setup.setpartsStatus[i] - ((!(setparts[i] && (partsNum == 1))) ? 0 : 1);
_parent["setparts" + i]._visible = ((!_parent.setup.setpartsStatus[i]) ? true : false);
i++;
}
if (partsMax > 1) {
i = 0;
while (i < partsMax) {
if (i != (partsNum - 1)) {
_parent["costume" + (cosIni + i)]._visible = false;
}
i++;
}
}
}
this.startDrag();
this.swapDepths(_parent["layerLevel" + topDepth]);
if (!putOn) {
_parent["layerLevel" + topDepth].swapDepths(poDepth);
}
minimum = false;
sizeUp = true;
t2 = getTimer();
putOn = false;
}
on (release, releaseOutside) {
this.stopDrag();
i = 0;
while (i < topDepth) {
if ((_parent["layerLevel" + i].getDepth() >= 0) && (_parent["layerLevel" + (i + 1)].getDepth() < 0)) {
_parent["layerLevel" + i].swapDepths(i + 1);
_parent["layerLevel" + i].swapDepths(_parent["layerLevel" + (i + 1)]);
}
i++;
}
flopRange = Math.sqrt(Math.pow(cos_x - _x, 2) + Math.pow(cos_y - _y, 2));
if (flopRange < flop) {
_x = cos_x;
_y = cos_y;
putOn = true;
this.swapDepths(poDepth);
this.gotoAndStop(cosFrm);
if (partsMax > 1) {
i = 0;
while (i < partsMax) {
if (i != (partsNum - 1)) {
prtcosFrm = _parent["costume" + (cosIni + i)].cosFrm;
_parent["costume" + (cosIni + i)].gotoAndStop(prtcosFrm);
_parent["costume" + (cosIni + i)]._x = this._x;
_parent["costume" + (cosIni + i)]._y = this._y;
_parent["costume" + (cosIni + i)]._visible = true;
_parent["costume" + (cosIni + i)].putOn = true;
}
i++;
}
}
i = 0;
while (i < _parent.setup.setpartsMax) {
_parent.setup.setpartsStatus[i] = _parent.setup.setpartsStatus[i] + ((!(setparts[i] && (partsNum == 1))) ? 0 : 1);
_parent["setparts" + i]._visible = ((!_parent.setup.setpartsStatus[i]) ? true : false);
i++;
}
}
t1 = (t2 = getTimer());
}
onClipEvent (enterFrame) {
if (fifty < 100) {
if (((!putOn) && (t1 == t2)) && ((getTimer() - t2) > 3000)) {
sizeUp = true;
minimum = true;
t2 = getTimer();
}
if (sizeUp) {
ss = 100 - (minimum * fifty);
cs = _xscale;
vs = Math.round(((e * vs) + ((ss - cs) / m)) * 1000) / 1000;
_xscale = (Math.round(_xscale) + vs);
_yscale = (Math.round(_yscale) + vs);
if ((vs == 0) && (_xscale == ss)) {
sizeUp = false;
}
}
}
}
Instance of Symbol 93 MovieClip "costume22" in Frame 15
onClipEvent (load) {
cosNum = this._name.split("costume").join("");
costume = new Array();
i = 0;
while (i < 8) {
costume[i] = _parent.setup["costume" + cosNum][i];
i++;
}
cos_x = costume[0];
cos_y = costume[1];
partsMax = costume[2];
partsNum = costume[3];
putOn = costume[4];
flop = costume[5];
fifty = costume[6];
setparts = costume[7];
cosIni = (cosNum - partsNum) + 1;
cosFrm = 1 + partsNum;
cosFrmFst = ((!putOn) ? 1 : (cosFrm));
this.gotoAndStop(cosFrmFst);
this._visible = ((!((!putOn) && (partsNum > 1))) ? true : false);
cos_vi = _parent.setup.cos_vi;
this._visible = ((!((!putOn) && (!cos_vi))) ? (this._visible) : false);
if (partsNum > 1) {
putOn = true;
}
_x = ((!putOn) ? (_x) : (cos_x));
_y = ((!putOn) ? (_y) : (cos_y));
poDepth = this.getDepth();
topDepth = _parent.setup.topDepth;
i = 0;
while (i < _parent.setup.setpartsMax) {
_parent.setup.setpartsStatus[i] = _parent.setup.setpartsStatus[i] + ((!((putOn && (setparts[i])) && (partsNum == 1))) ? 0 : 1);
_parent["setparts" + i]._visible = ((!_parent.setup.setpartsStatus[i]) ? true : false);
i++;
}
m = 2.5;
e = 0.4;
vs = 0;
minimum = (putOn + 1) % 2;
sizeUp = false;
t1 = true;
t2 = false;
}
on (press) {
this.gotoAndStop(1);
if (putOn) {
i = 0;
while (i < _parent.setup.setpartsMax) {
_parent.setup.setpartsStatus[i] = _parent.setup.setpartsStatus[i] - ((!(setparts[i] && (partsNum == 1))) ? 0 : 1);
_parent["setparts" + i]._visible = ((!_parent.setup.setpartsStatus[i]) ? true : false);
i++;
}
if (partsMax > 1) {
i = 0;
while (i < partsMax) {
if (i != (partsNum - 1)) {
_parent["costume" + (cosIni + i)]._visible = false;
}
i++;
}
}
}
this.startDrag();
this.swapDepths(_parent["layerLevel" + topDepth]);
if (!putOn) {
_parent["layerLevel" + topDepth].swapDepths(poDepth);
}
minimum = false;
sizeUp = true;
t2 = getTimer();
putOn = false;
}
on (release, releaseOutside) {
this.stopDrag();
i = 0;
while (i < topDepth) {
if ((_parent["layerLevel" + i].getDepth() >= 0) && (_parent["layerLevel" + (i + 1)].getDepth() < 0)) {
_parent["layerLevel" + i].swapDepths(i + 1);
_parent["layerLevel" + i].swapDepths(_parent["layerLevel" + (i + 1)]);
}
i++;
}
flopRange = Math.sqrt(Math.pow(cos_x - _x, 2) + Math.pow(cos_y - _y, 2));
if (flopRange < flop) {
_x = cos_x;
_y = cos_y;
putOn = true;
this.swapDepths(poDepth);
this.gotoAndStop(cosFrm);
if (partsMax > 1) {
i = 0;
while (i < partsMax) {
if (i != (partsNum - 1)) {
prtcosFrm = _parent["costume" + (cosIni + i)].cosFrm;
_parent["costume" + (cosIni + i)].gotoAndStop(prtcosFrm);
_parent["costume" + (cosIni + i)]._x = this._x;
_parent["costume" + (cosIni + i)]._y = this._y;
_parent["costume" + (cosIni + i)]._visible = true;
_parent["costume" + (cosIni + i)].putOn = true;
}
i++;
}
}
i = 0;
while (i < _parent.setup.setpartsMax) {
_parent.setup.setpartsStatus[i] = _parent.setup.setpartsStatus[i] + ((!(setparts[i] && (partsNum == 1))) ? 0 : 1);
_parent["setparts" + i]._visible = ((!_parent.setup.setpartsStatus[i]) ? true : false);
i++;
}
}
t1 = (t2 = getTimer());
}
onClipEvent (enterFrame) {
if (fifty < 100) {
if (((!putOn) && (t1 == t2)) && ((getTimer() - t2) > 3000)) {
sizeUp = true;
minimum = true;
t2 = getTimer();
}
if (sizeUp) {
ss = 100 - (minimum * fifty);
cs = _xscale;
vs = Math.round(((e * vs) + ((ss - cs) / m)) * 1000) / 1000;
_xscale = (Math.round(_xscale) + vs);
_yscale = (Math.round(_yscale) + vs);
if ((vs == 0) && (_xscale == ss)) {
sizeUp = false;
}
}
}
}
Instance of Symbol 16 MovieClip "costume20" in Frame 15
onClipEvent (load) {
cosNum = this._name.split("costume").join("");
costume = new Array();
i = 0;
while (i < 8) {
costume[i] = _parent.setup["costume" + cosNum][i];
i++;
}
cos_x = costume[0];
cos_y = costume[1];
partsMax = costume[2];
partsNum = costume[3];
putOn = costume[4];
flop = costume[5];
fifty = costume[6];
setparts = costume[7];
cosIni = (cosNum - partsNum) + 1;
cosFrm = 1 + partsNum;
cosFrmFst = ((!putOn) ? 1 : (cosFrm));
this.gotoAndStop(cosFrmFst);
this._visible = ((!((!putOn) && (partsNum > 1))) ? true : false);
cos_vi = _parent.setup.cos_vi;
this._visible = ((!((!putOn) && (!cos_vi))) ? (this._visible) : false);
if (partsNum > 1) {
putOn = true;
}
_x = ((!putOn) ? (_x) : (cos_x));
_y = ((!putOn) ? (_y) : (cos_y));
poDepth = this.getDepth();
topDepth = _parent.setup.topDepth;
i = 0;
while (i < _parent.setup.setpartsMax) {
_parent.setup.setpartsStatus[i] = _parent.setup.setpartsStatus[i] + ((!((putOn && (setparts[i])) && (partsNum == 1))) ? 0 : 1);
_parent["setparts" + i]._visible = ((!_parent.setup.setpartsStatus[i]) ? true : false);
i++;
}
m = 2.5;
e = 0.4;
vs = 0;
minimum = (putOn + 1) % 2;
sizeUp = false;
t1 = true;
t2 = false;
}
on (press) {
this.gotoAndStop(1);
if (putOn) {
i = 0;
while (i < _parent.setup.setpartsMax) {
_parent.setup.setpartsStatus[i] = _parent.setup.setpartsStatus[i] - ((!(setparts[i] && (partsNum == 1))) ? 0 : 1);
_parent["setparts" + i]._visible = ((!_parent.setup.setpartsStatus[i]) ? true : false);
i++;
}
if (partsMax > 1) {
i = 0;
while (i < partsMax) {
if (i != (partsNum - 1)) {
_parent["costume" + (cosIni + i)]._visible = false;
}
i++;
}
}
}
this.startDrag();
this.swapDepths(_parent["layerLevel" + topDepth]);
if (!putOn) {
_parent["layerLevel" + topDepth].swapDepths(poDepth);
}
minimum = false;
sizeUp = true;
t2 = getTimer();
putOn = false;
}
on (release, releaseOutside) {
this.stopDrag();
i = 0;
while (i < topDepth) {
if ((_parent["layerLevel" + i].getDepth() >= 0) && (_parent["layerLevel" + (i + 1)].getDepth() < 0)) {
_parent["layerLevel" + i].swapDepths(i + 1);
_parent["layerLevel" + i].swapDepths(_parent["layerLevel" + (i + 1)]);
}
i++;
}
flopRange = Math.sqrt(Math.pow(cos_x - _x, 2) + Math.pow(cos_y - _y, 2));
if (flopRange < flop) {
_x = cos_x;
_y = cos_y;
putOn = true;
this.swapDepths(poDepth);
this.gotoAndStop(cosFrm);
if (partsMax > 1) {
i = 0;
while (i < partsMax) {
if (i != (partsNum - 1)) {
prtcosFrm = _parent["costume" + (cosIni + i)].cosFrm;
_parent["costume" + (cosIni + i)].gotoAndStop(prtcosFrm);
_parent["costume" + (cosIni + i)]._x = this._x;
_parent["costume" + (cosIni + i)]._y = this._y;
_parent["costume" + (cosIni + i)]._visible = true;
_parent["costume" + (cosIni + i)].putOn = true;
}
i++;
}
}
i = 0;
while (i < _parent.setup.setpartsMax) {
_parent.setup.setpartsStatus[i] = _parent.setup.setpartsStatus[i] + ((!(setparts[i] && (partsNum == 1))) ? 0 : 1);
_parent["setparts" + i]._visible = ((!_parent.setup.setpartsStatus[i]) ? true : false);
i++;
}
}
t1 = (t2 = getTimer());
}
onClipEvent (enterFrame) {
if (fifty < 100) {
if (((!putOn) && (t1 == t2)) && ((getTimer() - t2) > 3000)) {
sizeUp = true;
minimum = true;
t2 = getTimer();
}
if (sizeUp) {
ss = 100 - (minimum * fifty);
cs = _xscale;
vs = Math.round(((e * vs) + ((ss - cs) / m)) * 1000) / 1000;
_xscale = (Math.round(_xscale) + vs);
_yscale = (Math.round(_yscale) + vs);
if ((vs == 0) && (_xscale == ss)) {
sizeUp = false;
}
}
}
}
Instance of Symbol 24 MovieClip "costume18" in Frame 15
onClipEvent (load) {
cosNum = this._name.split("costume").join("");
costume = new Array();
i = 0;
while (i < 8) {
costume[i] = _parent.setup["costume" + cosNum][i];
i++;
}
cos_x = costume[0];
cos_y = costume[1];
partsMax = costume[2];
partsNum = costume[3];
putOn = costume[4];
flop = costume[5];
fifty = costume[6];
setparts = costume[7];
cosIni = (cosNum - partsNum) + 1;
cosFrm = 1 + partsNum;
cosFrmFst = ((!putOn) ? 1 : (cosFrm));
this.gotoAndStop(cosFrmFst);
this._visible = ((!((!putOn) && (partsNum > 1))) ? true : false);
cos_vi = _parent.setup.cos_vi;
this._visible = ((!((!putOn) && (!cos_vi))) ? (this._visible) : false);
if (partsNum > 1) {
putOn = true;
}
_x = ((!putOn) ? (_x) : (cos_x));
_y = ((!putOn) ? (_y) : (cos_y));
poDepth = this.getDepth();
topDepth = _parent.setup.topDepth;
i = 0;
while (i < _parent.setup.setpartsMax) {
_parent.setup.setpartsStatus[i] = _parent.setup.setpartsStatus[i] + ((!((putOn && (setparts[i])) && (partsNum == 1))) ? 0 : 1);
_parent["setparts" + i]._visible = ((!_parent.setup.setpartsStatus[i]) ? true : false);
i++;
}
m = 2.5;
e = 0.4;
vs = 0;
minimum = (putOn + 1) % 2;
sizeUp = false;
t1 = true;
t2 = false;
}
on (press) {
this.gotoAndStop(1);
if (putOn) {
i = 0;
while (i < _parent.setup.setpartsMax) {
_parent.setup.setpartsStatus[i] = _parent.setup.setpartsStatus[i] - ((!(setparts[i] && (partsNum == 1))) ? 0 : 1);
_parent["setparts" + i]._visible = ((!_parent.setup.setpartsStatus[i]) ? true : false);
i++;
}
if (partsMax > 1) {
i = 0;
while (i < partsMax) {
if (i != (partsNum - 1)) {
_parent["costume" + (cosIni + i)]._visible = false;
}
i++;
}
}
}
this.startDrag();
this.swapDepths(_parent["layerLevel" + topDepth]);
if (!putOn) {
_parent["layerLevel" + topDepth].swapDepths(poDepth);
}
minimum = false;
sizeUp = true;
t2 = getTimer();
putOn = false;
}
on (release, releaseOutside) {
this.stopDrag();
i = 0;
while (i < topDepth) {
if ((_parent["layerLevel" + i].getDepth() >= 0) && (_parent["layerLevel" + (i + 1)].getDepth() < 0)) {
_parent["layerLevel" + i].swapDepths(i + 1);
_parent["layerLevel" + i].swapDepths(_parent["layerLevel" + (i + 1)]);
}
i++;
}
flopRange = Math.sqrt(Math.pow(cos_x - _x, 2) + Math.pow(cos_y - _y, 2));
if (flopRange < flop) {
_x = cos_x;
_y = cos_y;
putOn = true;
this.swapDepths(poDepth);
this.gotoAndStop(cosFrm);
if (partsMax > 1) {
i = 0;
while (i < partsMax) {
if (i != (partsNum - 1)) {
prtcosFrm = _parent["costume" + (cosIni + i)].cosFrm;
_parent["costume" + (cosIni + i)].gotoAndStop(prtcosFrm);
_parent["costume" + (cosIni + i)]._x = this._x;
_parent["costume" + (cosIni + i)]._y = this._y;
_parent["costume" + (cosIni + i)]._visible = true;
_parent["costume" + (cosIni + i)].putOn = true;
}
i++;
}
}
i = 0;
while (i < _parent.setup.setpartsMax) {
_parent.setup.setpartsStatus[i] = _parent.setup.setpartsStatus[i] + ((!(setparts[i] && (partsNum == 1))) ? 0 : 1);
_parent["setparts" + i]._visible = ((!_parent.setup.setpartsStatus[i]) ? true : false);
i++;
}
}
t1 = (t2 = getTimer());
}
onClipEvent (enterFrame) {
if (fifty < 100) {
if (((!putOn) && (t1 == t2)) && ((getTimer() - t2) > 3000)) {
sizeUp = true;
minimum = true;
t2 = getTimer();
}
if (sizeUp) {
ss = 100 - (minimum * fifty);
cs = _xscale;
vs = Math.round(((e * vs) + ((ss - cs) / m)) * 1000) / 1000;
_xscale = (Math.round(_xscale) + vs);
_yscale = (Math.round(_yscale) + vs);
if ((vs == 0) && (_xscale == ss)) {
sizeUp = false;
}
}
}
}
Instance of Symbol 95 MovieClip "costume17" in Frame 15
onClipEvent (load) {
cosNum = this._name.split("costume").join("");
costume = new Array();
i = 0;
while (i < 8) {
costume[i] = _parent.setup["costume" + cosNum][i];
i++;
}
cos_x = costume[0];
cos_y = costume[1];
partsMax = costume[2];
partsNum = costume[3];
putOn = costume[4];
flop = costume[5];
fifty = costume[6];
setparts = costume[7];
cosIni = (cosNum - partsNum) + 1;
cosFrm = 1 + partsNum;
cosFrmFst = ((!putOn) ? 1 : (cosFrm));
this.gotoAndStop(cosFrmFst);
this._visible = ((!((!putOn) && (partsNum > 1))) ? true : false);
cos_vi = _parent.setup.cos_vi;
this._visible = ((!((!putOn) && (!cos_vi))) ? (this._visible) : false);
if (partsNum > 1) {
putOn = true;
}
_x = ((!putOn) ? (_x) : (cos_x));
_y = ((!putOn) ? (_y) : (cos_y));
poDepth = this.getDepth();
topDepth = _parent.setup.topDepth;
i = 0;
while (i < _parent.setup.setpartsMax) {
_parent.setup.setpartsStatus[i] = _parent.setup.setpartsStatus[i] + ((!((putOn && (setparts[i])) && (partsNum == 1))) ? 0 : 1);
_parent["setparts" + i]._visible = ((!_parent.setup.setpartsStatus[i]) ? true : false);
i++;
}
m = 2.5;
e = 0.4;
vs = 0;
minimum = (putOn + 1) % 2;
sizeUp = false;
t1 = true;
t2 = false;
}
on (press) {
this.gotoAndStop(1);
if (putOn) {
i = 0;
while (i < _parent.setup.setpartsMax) {
_parent.setup.setpartsStatus[i] = _parent.setup.setpartsStatus[i] - ((!(setparts[i] && (partsNum == 1))) ? 0 : 1);
_parent["setparts" + i]._visible = ((!_parent.setup.setpartsStatus[i]) ? true : false);
i++;
}
if (partsMax > 1) {
i = 0;
while (i < partsMax) {
if (i != (partsNum - 1)) {
_parent["costume" + (cosIni + i)]._visible = false;
}
i++;
}
}
}
this.startDrag();
this.swapDepths(_parent["layerLevel" + topDepth]);
if (!putOn) {
_parent["layerLevel" + topDepth].swapDepths(poDepth);
}
minimum = false;
sizeUp = true;
t2 = getTimer();
putOn = false;
}
on (release, releaseOutside) {
this.stopDrag();
i = 0;
while (i < topDepth) {
if ((_parent["layerLevel" + i].getDepth() >= 0) && (_parent["layerLevel" + (i + 1)].getDepth() < 0)) {
_parent["layerLevel" + i].swapDepths(i + 1);
_parent["layerLevel" + i].swapDepths(_parent["layerLevel" + (i + 1)]);
}
i++;
}
flopRange = Math.sqrt(Math.pow(cos_x - _x, 2) + Math.pow(cos_y - _y, 2));
if (flopRange < flop) {
_x = cos_x;
_y = cos_y;
putOn = true;
this.swapDepths(poDepth);
this.gotoAndStop(cosFrm);
if (partsMax > 1) {
i = 0;
while (i < partsMax) {
if (i != (partsNum - 1)) {
prtcosFrm = _parent["costume" + (cosIni + i)].cosFrm;
_parent["costume" + (cosIni + i)].gotoAndStop(prtcosFrm);
_parent["costume" + (cosIni + i)]._x = this._x;
_parent["costume" + (cosIni + i)]._y = this._y;
_parent["costume" + (cosIni + i)]._visible = true;
_parent["costume" + (cosIni + i)].putOn = true;
}
i++;
}
}
i = 0;
while (i < _parent.setup.setpartsMax) {
_parent.setup.setpartsStatus[i] = _parent.setup.setpartsStatus[i] + ((!(setparts[i] && (partsNum == 1))) ? 0 : 1);
_parent["setparts" + i]._visible = ((!_parent.setup.setpartsStatus[i]) ? true : false);
i++;
}
}
t1 = (t2 = getTimer());
}
onClipEvent (enterFrame) {
if (fifty < 100) {
if (((!putOn) && (t1 == t2)) && ((getTimer() - t2) > 3000)) {
sizeUp = true;
minimum = true;
t2 = getTimer();
}
if (sizeUp) {
ss = 100 - (minimum * fifty);
cs = _xscale;
vs = Math.round(((e * vs) + ((ss - cs) / m)) * 1000) / 1000;
_xscale = (Math.round(_xscale) + vs);
_yscale = (Math.round(_yscale) + vs);
if ((vs == 0) && (_xscale == ss)) {
sizeUp = false;
}
}
}
}
Instance of Symbol 81 MovieClip "costume15" in Frame 15
onClipEvent (load) {
cosNum = this._name.split("costume").join("");
costume = new Array();
i = 0;
while (i < 8) {
costume[i] = _parent.setup["costume" + cosNum][i];
i++;
}
cos_x = costume[0];
cos_y = costume[1];
partsMax = costume[2];
partsNum = costume[3];
putOn = costume[4];
flop = costume[5];
fifty = costume[6];
setparts = costume[7];
cosIni = (cosNum - partsNum) + 1;
cosFrm = 1 + partsNum;
cosFrmFst = ((!putOn) ? 1 : (cosFrm));
this.gotoAndStop(cosFrmFst);
this._visible = ((!((!putOn) && (partsNum > 1))) ? true : false);
cos_vi = _parent.setup.cos_vi;
this._visible = ((!((!putOn) && (!cos_vi))) ? (this._visible) : false);
if (partsNum > 1) {
putOn = true;
}
_x = ((!putOn) ? (_x) : (cos_x));
_y = ((!putOn) ? (_y) : (cos_y));
poDepth = this.getDepth();
topDepth = _parent.setup.topDepth;
i = 0;
while (i < _parent.setup.setpartsMax) {
_parent.setup.setpartsStatus[i] = _parent.setup.setpartsStatus[i] + ((!((putOn && (setparts[i])) && (partsNum == 1))) ? 0 : 1);
_parent["setparts" + i]._visible = ((!_parent.setup.setpartsStatus[i]) ? true : false);
i++;
}
m = 2.5;
e = 0.4;
vs = 0;
minimum = (putOn + 1) % 2;
sizeUp = false;
t1 = true;
t2 = false;
}
on (press) {
this.gotoAndStop(1);
if (putOn) {
i = 0;
while (i < _parent.setup.setpartsMax) {
_parent.setup.setpartsStatus[i] = _parent.setup.setpartsStatus[i] - ((!(setparts[i] && (partsNum == 1))) ? 0 : 1);
_parent["setparts" + i]._visible = ((!_parent.setup.setpartsStatus[i]) ? true : false);
i++;
}
if (partsMax > 1) {
i = 0;
while (i < partsMax) {
if (i != (partsNum - 1)) {
_parent["costume" + (cosIni + i)]._visible = false;
}
i++;
}
}
}
this.startDrag();
this.swapDepths(_parent["layerLevel" + topDepth]);
if (!putOn) {
_parent["layerLevel" + topDepth].swapDepths(poDepth);
}
minimum = false;
sizeUp = true;
t2 = getTimer();
putOn = false;
}
on (release, releaseOutside) {
this.stopDrag();
i = 0;
while (i < topDepth) {
if ((_parent["layerLevel" + i].getDepth() >= 0) && (_parent["layerLevel" + (i + 1)].getDepth() < 0)) {
_parent["layerLevel" + i].swapDepths(i + 1);
_parent["layerLevel" + i].swapDepths(_parent["layerLevel" + (i + 1)]);
}
i++;
}
flopRange = Math.sqrt(Math.pow(cos_x - _x, 2) + Math.pow(cos_y - _y, 2));
if (flopRange < flop) {
_x = cos_x;
_y = cos_y;
putOn = true;
this.swapDepths(poDepth);
this.gotoAndStop(cosFrm);
if (partsMax > 1) {
i = 0;
while (i < partsMax) {
if (i != (partsNum - 1)) {
prtcosFrm = _parent["costume" + (cosIni + i)].cosFrm;
_parent["costume" + (cosIni + i)].gotoAndStop(prtcosFrm);
_parent["costume" + (cosIni + i)]._x = this._x;
_parent["costume" + (cosIni + i)]._y = this._y;
_parent["costume" + (cosIni + i)]._visible = true;
_parent["costume" + (cosIni + i)].putOn = true;
}
i++;
}
}
i = 0;
while (i < _parent.setup.setpartsMax) {
_parent.setup.setpartsStatus[i] = _parent.setup.setpartsStatus[i] + ((!(setparts[i] && (partsNum == 1))) ? 0 : 1);
_parent["setparts" + i]._visible = ((!_parent.setup.setpartsStatus[i]) ? true : false);
i++;
}
}
t1 = (t2 = getTimer());
}
onClipEvent (enterFrame) {
if (fifty < 100) {
if (((!putOn) && (t1 == t2)) && ((getTimer() - t2) > 3000)) {
sizeUp = true;
minimum = true;
t2 = getTimer();
}
if (sizeUp) {
ss = 100 - (minimum * fifty);
cs = _xscale;
vs = Math.round(((e * vs) + ((ss - cs) / m)) * 1000) / 1000;
_xscale = (Math.round(_xscale) + vs);
_yscale = (Math.round(_yscale) + vs);
if ((vs == 0) && (_xscale == ss)) {
sizeUp = false;
}
}
}
}
Instance of Symbol 97 MovieClip "costume14" in Frame 15
onClipEvent (load) {
cosNum = this._name.split("costume").join("");
costume = new Array();
i = 0;
while (i < 8) {
costume[i] = _parent.setup["costume" + cosNum][i];
i++;
}
cos_x = costume[0];
cos_y = costume[1];
partsMax = costume[2];
partsNum = costume[3];
putOn = costume[4];
flop = costume[5];
fifty = costume[6];
setparts = costume[7];
cosIni = (cosNum - partsNum) + 1;
cosFrm = 1 + partsNum;
cosFrmFst = ((!putOn) ? 1 : (cosFrm));
this.gotoAndStop(cosFrmFst);
this._visible = ((!((!putOn) && (partsNum > 1))) ? true : false);
cos_vi = _parent.setup.cos_vi;
this._visible = ((!((!putOn) && (!cos_vi))) ? (this._visible) : false);
if (partsNum > 1) {
putOn = true;
}
_x = ((!putOn) ? (_x) : (cos_x));
_y = ((!putOn) ? (_y) : (cos_y));
poDepth = this.getDepth();
topDepth = _parent.setup.topDepth;
i = 0;
while (i < _parent.setup.setpartsMax) {
_parent.setup.setpartsStatus[i] = _parent.setup.setpartsStatus[i] + ((!((putOn && (setparts[i])) && (partsNum == 1))) ? 0 : 1);
_parent["setparts" + i]._visible = ((!_parent.setup.setpartsStatus[i]) ? true : false);
i++;
}
m = 2.5;
e = 0.4;
vs = 0;
minimum = (putOn + 1) % 2;
sizeUp = false;
t1 = true;
t2 = false;
}
on (press) {
this.gotoAndStop(1);
if (putOn) {
i = 0;
while (i < _parent.setup.setpartsMax) {
_parent.setup.setpartsStatus[i] = _parent.setup.setpartsStatus[i] - ((!(setparts[i] && (partsNum == 1))) ? 0 : 1);
_parent["setparts" + i]._visible = ((!_parent.setup.setpartsStatus[i]) ? true : false);
i++;
}
if (partsMax > 1) {
i = 0;
while (i < partsMax) {
if (i != (partsNum - 1)) {
_parent["costume" + (cosIni + i)]._visible = false;
}
i++;
}
}
}
this.startDrag();
this.swapDepths(_parent["layerLevel" + topDepth]);
if (!putOn) {
_parent["layerLevel" + topDepth].swapDepths(poDepth);
}
minimum = false;
sizeUp = true;
t2 = getTimer();
putOn = false;
}
on (release, releaseOutside) {
this.stopDrag();
i = 0;
while (i < topDepth) {
if ((_parent["layerLevel" + i].getDepth() >= 0) && (_parent["layerLevel" + (i + 1)].getDepth() < 0)) {
_parent["layerLevel" + i].swapDepths(i + 1);
_parent["layerLevel" + i].swapDepths(_parent["layerLevel" + (i + 1)]);
}
i++;
}
flopRange = Math.sqrt(Math.pow(cos_x - _x, 2) + Math.pow(cos_y - _y, 2));
if (flopRange < flop) {
_x = cos_x;
_y = cos_y;
putOn = true;
this.swapDepths(poDepth);
this.gotoAndStop(cosFrm);
if (partsMax > 1) {
i = 0;
while (i < partsMax) {
if (i != (partsNum - 1)) {
prtcosFrm = _parent["costume" + (cosIni + i)].cosFrm;
_parent["costume" + (cosIni + i)].gotoAndStop(prtcosFrm);
_parent["costume" + (cosIni + i)]._x = this._x;
_parent["costume" + (cosIni + i)]._y = this._y;
_parent["costume" + (cosIni + i)]._visible = true;
_parent["costume" + (cosIni + i)].putOn = true;
}
i++;
}
}
i = 0;
while (i < _parent.setup.setpartsMax) {
_parent.setup.setpartsStatus[i] = _parent.setup.setpartsStatus[i] + ((!(setparts[i] && (partsNum == 1))) ? 0 : 1);
_parent["setparts" + i]._visible = ((!_parent.setup.setpartsStatus[i]) ? true : false);
i++;
}
}
t1 = (t2 = getTimer());
}
onClipEvent (enterFrame) {
if (fifty < 100) {
if (((!putOn) && (t1 == t2)) && ((getTimer() - t2) > 3000)) {
sizeUp = true;
minimum = true;
t2 = getTimer();
}
if (sizeUp) {
ss = 100 - (minimum * fifty);
cs = _xscale;
vs = Math.round(((e * vs) + ((ss - cs) / m)) * 1000) / 1000;
_xscale = (Math.round(_xscale) + vs);
_yscale = (Math.round(_yscale) + vs);
if ((vs == 0) && (_xscale == ss)) {
sizeUp = false;
}
}
}
}
Instance of Symbol 32 MovieClip "costume12" in Frame 15
onClipEvent (load) {
cosNum = this._name.split("costume").join("");
costume = new Array();
i = 0;
while (i < 8) {
costume[i] = _parent.setup["costume" + cosNum][i];
i++;
}
cos_x = costume[0];
cos_y = costume[1];
partsMax = costume[2];
partsNum = costume[3];
putOn = costume[4];
flop = costume[5];
fifty = costume[6];
setparts = costume[7];
cosIni = (cosNum - partsNum) + 1;
cosFrm = 1 + partsNum;
cosFrmFst = ((!putOn) ? 1 : (cosFrm));
this.gotoAndStop(cosFrmFst);
this._visible = ((!((!putOn) && (partsNum > 1))) ? true : false);
cos_vi = _parent.setup.cos_vi;
this._visible = ((!((!putOn) && (!cos_vi))) ? (this._visible) : false);
if (partsNum > 1) {
putOn = true;
}
_x = ((!putOn) ? (_x) : (cos_x));
_y = ((!putOn) ? (_y) : (cos_y));
poDepth = this.getDepth();
topDepth = _parent.setup.topDepth;
i = 0;
while (i < _parent.setup.setpartsMax) {
_parent.setup.setpartsStatus[i] = _parent.setup.setpartsStatus[i] + ((!((putOn && (setparts[i])) && (partsNum == 1))) ? 0 : 1);
_parent["setparts" + i]._visible = ((!_parent.setup.setpartsStatus[i]) ? true : false);
i++;
}
m = 2.5;
e = 0.4;
vs = 0;
minimum = (putOn + 1) % 2;
sizeUp = false;
t1 = true;
t2 = false;
}
on (press) {
this.gotoAndStop(1);
if (putOn) {
i = 0;
while (i < _parent.setup.setpartsMax) {
_parent.setup.setpartsStatus[i] = _parent.setup.setpartsStatus[i] - ((!(setparts[i] && (partsNum == 1))) ? 0 : 1);
_parent["setparts" + i]._visible = ((!_parent.setup.setpartsStatus[i]) ? true : false);
i++;
}
if (partsMax > 1) {
i = 0;
while (i < partsMax) {
if (i != (partsNum - 1)) {
_parent["costume" + (cosIni + i)]._visible = false;
}
i++;
}
}
}
this.startDrag();
this.swapDepths(_parent["layerLevel" + topDepth]);
if (!putOn) {
_parent["layerLevel" + topDepth].swapDepths(poDepth);
}
minimum = false;
sizeUp = true;
t2 = getTimer();
putOn = false;
}
on (release, releaseOutside) {
this.stopDrag();
i = 0;
while (i < topDepth) {
if ((_parent["layerLevel" + i].getDepth() >= 0) && (_parent["layerLevel" + (i + 1)].getDepth() < 0)) {
_parent["layerLevel" + i].swapDepths(i + 1);
_parent["layerLevel" + i].swapDepths(_parent["layerLevel" + (i + 1)]);
}
i++;
}
flopRange = Math.sqrt(Math.pow(cos_x - _x, 2) + Math.pow(cos_y - _y, 2));
if (flopRange < flop) {
_x = cos_x;
_y = cos_y;
putOn = true;
this.swapDepths(poDepth);
this.gotoAndStop(cosFrm);
if (partsMax > 1) {
i = 0;
while (i < partsMax) {
if (i != (partsNum - 1)) {
prtcosFrm = _parent["costume" + (cosIni + i)].cosFrm;
_parent["costume" + (cosIni + i)].gotoAndStop(prtcosFrm);
_parent["costume" + (cosIni + i)]._x = this._x;
_parent["costume" + (cosIni + i)]._y = this._y;
_parent["costume" + (cosIni + i)]._visible = true;
_parent["costume" + (cosIni + i)].putOn = true;
}
i++;
}
}
i = 0;
while (i < _parent.setup.setpartsMax) {
_parent.setup.setpartsStatus[i] = _parent.setup.setpartsStatus[i] + ((!(setparts[i] && (partsNum == 1))) ? 0 : 1);
_parent["setparts" + i]._visible = ((!_parent.setup.setpartsStatus[i]) ? true : false);
i++;
}
}
t1 = (t2 = getTimer());
}
onClipEvent (enterFrame) {
if (fifty < 100) {
if (((!putOn) && (t1 == t2)) && ((getTimer() - t2) > 3000)) {
sizeUp = true;
minimum = true;
t2 = getTimer();
}
if (sizeUp) {
ss = 100 - (minimum * fifty);
cs = _xscale;
vs = Math.round(((e * vs) + ((ss - cs) / m)) * 1000) / 1000;
_xscale = (Math.round(_xscale) + vs);
_yscale = (Math.round(_yscale) + vs);
if ((vs == 0) && (_xscale == ss)) {
sizeUp = false;
}
}
}
}
Instance of Symbol 36 MovieClip "costume10" in Frame 15
onClipEvent (load) {
cosNum = this._name.split("costume").join("");
costume = new Array();
i = 0;
while (i < 8) {
costume[i] = _parent.setup["costume" + cosNum][i];
i++;
}
cos_x = costume[0];
cos_y = costume[1];
partsMax = costume[2];
partsNum = costume[3];
putOn = costume[4];
flop = costume[5];
fifty = costume[6];
setparts = costume[7];
cosIni = (cosNum - partsNum) + 1;
cosFrm = 1 + partsNum;
cosFrmFst = ((!putOn) ? 1 : (cosFrm));
this.gotoAndStop(cosFrmFst);
this._visible = ((!((!putOn) && (partsNum > 1))) ? true : false);
cos_vi = _parent.setup.cos_vi;
this._visible = ((!((!putOn) && (!cos_vi))) ? (this._visible) : false);
if (partsNum > 1) {
putOn = true;
}
_x = ((!putOn) ? (_x) : (cos_x));
_y = ((!putOn) ? (_y) : (cos_y));
poDepth = this.getDepth();
topDepth = _parent.setup.topDepth;
i = 0;
while (i < _parent.setup.setpartsMax) {
_parent.setup.setpartsStatus[i] = _parent.setup.setpartsStatus[i] + ((!((putOn && (setparts[i])) && (partsNum == 1))) ? 0 : 1);
_parent["setparts" + i]._visible = ((!_parent.setup.setpartsStatus[i]) ? true : false);
i++;
}
m = 2.5;
e = 0.4;
vs = 0;
minimum = (putOn + 1) % 2;
sizeUp = false;
t1 = true;
t2 = false;
}
on (press) {
this.gotoAndStop(1);
if (putOn) {
i = 0;
while (i < _parent.setup.setpartsMax) {
_parent.setup.setpartsStatus[i] = _parent.setup.setpartsStatus[i] - ((!(setparts[i] && (partsNum == 1))) ? 0 : 1);
_parent["setparts" + i]._visible = ((!_parent.setup.setpartsStatus[i]) ? true : false);
i++;
}
if (partsMax > 1) {
i = 0;
while (i < partsMax) {
if (i != (partsNum - 1)) {
_parent["costume" + (cosIni + i)]._visible = false;
}
i++;
}
}
}
this.startDrag();
this.swapDepths(_parent["layerLevel" + topDepth]);
if (!putOn) {
_parent["layerLevel" + topDepth].swapDepths(poDepth);
}
minimum = false;
sizeUp = true;
t2 = getTimer();
putOn = false;
}
on (release, releaseOutside) {
this.stopDrag();
i = 0;
while (i < topDepth) {
if ((_parent["layerLevel" + i].getDepth() >= 0) && (_parent["layerLevel" + (i + 1)].getDepth() < 0)) {
_parent["layerLevel" + i].swapDepths(i + 1);
_parent["layerLevel" + i].swapDepths(_parent["layerLevel" + (i + 1)]);
}
i++;
}
flopRange = Math.sqrt(Math.pow(cos_x - _x, 2) + Math.pow(cos_y - _y, 2));
if (flopRange < flop) {
_x = cos_x;
_y = cos_y;
putOn = true;
this.swapDepths(poDepth);
this.gotoAndStop(cosFrm);
if (partsMax > 1) {
i = 0;
while (i < partsMax) {
if (i != (partsNum - 1)) {
prtcosFrm = _parent["costume" + (cosIni + i)].cosFrm;
_parent["costume" + (cosIni + i)].gotoAndStop(prtcosFrm);
_parent["costume" + (cosIni + i)]._x = this._x;
_parent["costume" + (cosIni + i)]._y = this._y;
_parent["costume" + (cosIni + i)]._visible = true;
_parent["costume" + (cosIni + i)].putOn = true;
}
i++;
}
}
i = 0;
while (i < _parent.setup.setpartsMax) {
_parent.setup.setpartsStatus[i] = _parent.setup.setpartsStatus[i] + ((!(setparts[i] && (partsNum == 1))) ? 0 : 1);
_parent["setparts" + i]._visible = ((!_parent.setup.setpartsStatus[i]) ? true : false);
i++;
}
}
t1 = (t2 = getTimer());
}
onClipEvent (enterFrame) {
if (fifty < 100) {
if (((!putOn) && (t1 == t2)) && ((getTimer() - t2) > 3000)) {
sizeUp = true;
minimum = true;
t2 = getTimer();
}
if (sizeUp) {
ss = 100 - (minimum * fifty);
cs = _xscale;
vs = Math.round(((e * vs) + ((ss - cs) / m)) * 1000) / 1000;
_xscale = (Math.round(_xscale) + vs);
_yscale = (Math.round(_yscale) + vs);
if ((vs == 0) && (_xscale == ss)) {
sizeUp = false;
}
}
}
}
Instance of Symbol 99 MovieClip "costume8" in Frame 15
onClipEvent (load) {
cosNum = this._name.split("costume").join("");
costume = new Array();
i = 0;
while (i < 8) {
costume[i] = _parent.setup["costume" + cosNum][i];
i++;
}
cos_x = costume[0];
cos_y = costume[1];
partsMax = costume[2];
partsNum = costume[3];
putOn = costume[4];
flop = costume[5];
fifty = costume[6];
setparts = costume[7];
cosIni = (cosNum - partsNum) + 1;
cosFrm = 1 + partsNum;
cosFrmFst = ((!putOn) ? 1 : (cosFrm));
this.gotoAndStop(cosFrmFst);
this._visible = ((!((!putOn) && (partsNum > 1))) ? true : false);
cos_vi = _parent.setup.cos_vi;
this._visible = ((!((!putOn) && (!cos_vi))) ? (this._visible) : false);
if (partsNum > 1) {
putOn = true;
}
_x = ((!putOn) ? (_x) : (cos_x));
_y = ((!putOn) ? (_y) : (cos_y));
poDepth = this.getDepth();
topDepth = _parent.setup.topDepth;
i = 0;
while (i < _parent.setup.setpartsMax) {
_parent.setup.setpartsStatus[i] = _parent.setup.setpartsStatus[i] + ((!((putOn && (setparts[i])) && (partsNum == 1))) ? 0 : 1);
_parent["setparts" + i]._visible = ((!_parent.setup.setpartsStatus[i]) ? true : false);
i++;
}
m = 2.5;
e = 0.4;
vs = 0;
minimum = (putOn + 1) % 2;
sizeUp = false;
t1 = true;
t2 = false;
}
on (press) {
this.gotoAndStop(1);
if (putOn) {
i = 0;
while (i < _parent.setup.setpartsMax) {
_parent.setup.setpartsStatus[i] = _parent.setup.setpartsStatus[i] - ((!(setparts[i] && (partsNum == 1))) ? 0 : 1);
_parent["setparts" + i]._visible = ((!_parent.setup.setpartsStatus[i]) ? true : false);
i++;
}
if (partsMax > 1) {
i = 0;
while (i < partsMax) {
if (i != (partsNum - 1)) {
_parent["costume" + (cosIni + i)]._visible = false;
}
i++;
}
}
}
this.startDrag();
this.swapDepths(_parent["layerLevel" + topDepth]);
if (!putOn) {
_parent["layerLevel" + topDepth].swapDepths(poDepth);
}
minimum = false;
sizeUp = true;
t2 = getTimer();
putOn = false;
}
on (release, releaseOutside) {
this.stopDrag();
i = 0;
while (i < topDepth) {
if ((_parent["layerLevel" + i].getDepth() >= 0) && (_parent["layerLevel" + (i + 1)].getDepth() < 0)) {
_parent["layerLevel" + i].swapDepths(i + 1);
_parent["layerLevel" + i].swapDepths(_parent["layerLevel" + (i + 1)]);
}
i++;
}
flopRange = Math.sqrt(Math.pow(cos_x - _x, 2) + Math.pow(cos_y - _y, 2));
if (flopRange < flop) {
_x = cos_x;
_y = cos_y;
putOn = true;
this.swapDepths(poDepth);
this.gotoAndStop(cosFrm);
if (partsMax > 1) {
i = 0;
while (i < partsMax) {
if (i != (partsNum - 1)) {
prtcosFrm = _parent["costume" + (cosIni + i)].cosFrm;
_parent["costume" + (cosIni + i)].gotoAndStop(prtcosFrm);
_parent["costume" + (cosIni + i)]._x = this._x;
_parent["costume" + (cosIni + i)]._y = this._y;
_parent["costume" + (cosIni + i)]._visible = true;
_parent["costume" + (cosIni + i)].putOn = true;
}
i++;
}
}
i = 0;
while (i < _parent.setup.setpartsMax) {
_parent.setup.setpartsStatus[i] = _parent.setup.setpartsStatus[i] + ((!(setparts[i] && (partsNum == 1))) ? 0 : 1);
_parent["setparts" + i]._visible = ((!_parent.setup.setpartsStatus[i]) ? true : false);
i++;
}
}
t1 = (t2 = getTimer());
}
onClipEvent (enterFrame) {
if (fifty < 100) {
if (((!putOn) && (t1 == t2)) && ((getTimer() - t2) > 3000)) {
sizeUp = true;
minimum = true;
t2 = getTimer();
}
if (sizeUp) {
ss = 100 - (minimum * fifty);
cs = _xscale;
vs = Math.round(((e * vs) + ((ss - cs) / m)) * 1000) / 1000;
_xscale = (Math.round(_xscale) + vs);
_yscale = (Math.round(_yscale) + vs);
if ((vs == 0) && (_xscale == ss)) {
sizeUp = false;
}
}
}
}
Instance of Symbol 101 MovieClip "costume7" in Frame 15
onClipEvent (load) {
cosNum = this._name.split("costume").join("");
costume = new Array();
i = 0;
while (i < 8) {
costume[i] = _parent.setup["costume" + cosNum][i];
i++;
}
cos_x = costume[0];
cos_y = costume[1];
partsMax = costume[2];
partsNum = costume[3];
putOn = costume[4];
flop = costume[5];
fifty = costume[6];
setparts = costume[7];
cosIni = (cosNum - partsNum) + 1;
cosFrm = 1 + partsNum;
cosFrmFst = ((!putOn) ? 1 : (cosFrm));
this.gotoAndStop(cosFrmFst);
this._visible = ((!((!putOn) && (partsNum > 1))) ? true : false);
cos_vi = _parent.setup.cos_vi;
this._visible = ((!((!putOn) && (!cos_vi))) ? (this._visible) : false);
if (partsNum > 1) {
putOn = true;
}
_x = ((!putOn) ? (_x) : (cos_x));
_y = ((!putOn) ? (_y) : (cos_y));
poDepth = this.getDepth();
topDepth = _parent.setup.topDepth;
i = 0;
while (i < _parent.setup.setpartsMax) {
_parent.setup.setpartsStatus[i] = _parent.setup.setpartsStatus[i] + ((!((putOn && (setparts[i])) && (partsNum == 1))) ? 0 : 1);
_parent["setparts" + i]._visible = ((!_parent.setup.setpartsStatus[i]) ? true : false);
i++;
}
m = 2.5;
e = 0.4;
vs = 0;
minimum = (putOn + 1) % 2;
sizeUp = false;
t1 = true;
t2 = false;
}
on (press) {
this.gotoAndStop(1);
if (putOn) {
i = 0;
while (i < _parent.setup.setpartsMax) {
_parent.setup.setpartsStatus[i] = _parent.setup.setpartsStatus[i] - ((!(setparts[i] && (partsNum == 1))) ? 0 : 1);
_parent["setparts" + i]._visible = ((!_parent.setup.setpartsStatus[i]) ? true : false);
i++;
}
if (partsMax > 1) {
i = 0;
while (i < partsMax) {
if (i != (partsNum - 1)) {
_parent["costume" + (cosIni + i)]._visible = false;
}
i++;
}
}
}
this.startDrag();
this.swapDepths(_parent["layerLevel" + topDepth]);
if (!putOn) {
_parent["layerLevel" + topDepth].swapDepths(poDepth);
}
minimum = false;
sizeUp = true;
t2 = getTimer();
putOn = false;
}
on (release, releaseOutside) {
this.stopDrag();
i = 0;
while (i < topDepth) {
if ((_parent["layerLevel" + i].getDepth() >= 0) && (_parent["layerLevel" + (i + 1)].getDepth() < 0)) {
_parent["layerLevel" + i].swapDepths(i + 1);
_parent["layerLevel" + i].swapDepths(_parent["layerLevel" + (i + 1)]);
}
i++;
}
flopRange = Math.sqrt(Math.pow(cos_x - _x, 2) + Math.pow(cos_y - _y, 2));
if (flopRange < flop) {
_x = cos_x;
_y = cos_y;
putOn = true;
this.swapDepths(poDepth);
this.gotoAndStop(cosFrm);
if (partsMax > 1) {
i = 0;
while (i < partsMax) {
if (i != (partsNum - 1)) {
prtcosFrm = _parent["costume" + (cosIni + i)].cosFrm;
_parent["costume" + (cosIni + i)].gotoAndStop(prtcosFrm);
_parent["costume" + (cosIni + i)]._x = this._x;
_parent["costume" + (cosIni + i)]._y = this._y;
_parent["costume" + (cosIni + i)]._visible = true;
_parent["costume" + (cosIni + i)].putOn = true;
}
i++;
}
}
i = 0;
while (i < _parent.setup.setpartsMax) {
_parent.setup.setpartsStatus[i] = _parent.setup.setpartsStatus[i] + ((!(setparts[i] && (partsNum == 1))) ? 0 : 1);
_parent["setparts" + i]._visible = ((!_parent.setup.setpartsStatus[i]) ? true : false);
i++;
}
}
t1 = (t2 = getTimer());
}
onClipEvent (enterFrame) {
if (fifty < 100) {
if (((!putOn) && (t1 == t2)) && ((getTimer() - t2) > 3000)) {
sizeUp = true;
minimum = true;
t2 = getTimer();
}
if (sizeUp) {
ss = 100 - (minimum * fifty);
cs = _xscale;
vs = Math.round(((e * vs) + ((ss - cs) / m)) * 1000) / 1000;
_xscale = (Math.round(_xscale) + vs);
_yscale = (Math.round(_yscale) + vs);
if ((vs == 0) && (_xscale == ss)) {
sizeUp = false;
}
}
}
}
Instance of Symbol 103 MovieClip "costume5" in Frame 15
onClipEvent (load) {
cosNum = this._name.split("costume").join("");
costume = new Array();
i = 0;
while (i < 8) {
costume[i] = _parent.setup["costume" + cosNum][i];
i++;
}
cos_x = costume[0];
cos_y = costume[1];
partsMax = costume[2];
partsNum = costume[3];
putOn = costume[4];
flop = costume[5];
fifty = costume[6];
setparts = costume[7];
cosIni = (cosNum - partsNum) + 1;
cosFrm = 1 + partsNum;
cosFrmFst = ((!putOn) ? 1 : (cosFrm));
this.gotoAndStop(cosFrmFst);
this._visible = ((!((!putOn) && (partsNum > 1))) ? true : false);
cos_vi = _parent.setup.cos_vi;
this._visible = ((!((!putOn) && (!cos_vi))) ? (this._visible) : false);
if (partsNum > 1) {
putOn = true;
}
_x = ((!putOn) ? (_x) : (cos_x));
_y = ((!putOn) ? (_y) : (cos_y));
poDepth = this.getDepth();
topDepth = _parent.setup.topDepth;
i = 0;
while (i < _parent.setup.setpartsMax) {
_parent.setup.setpartsStatus[i] = _parent.setup.setpartsStatus[i] + ((!((putOn && (setparts[i])) && (partsNum == 1))) ? 0 : 1);
_parent["setparts" + i]._visible = ((!_parent.setup.setpartsStatus[i]) ? true : false);
i++;
}
m = 2.5;
e = 0.4;
vs = 0;
minimum = (putOn + 1) % 2;
sizeUp = false;
t1 = true;
t2 = false;
}
on (press) {
this.gotoAndStop(1);
if (putOn) {
i = 0;
while (i < _parent.setup.setpartsMax) {
_parent.setup.setpartsStatus[i] = _parent.setup.setpartsStatus[i] - ((!(setparts[i] && (partsNum == 1))) ? 0 : 1);
_parent["setparts" + i]._visible = ((!_parent.setup.setpartsStatus[i]) ? true : false);
i++;
}
if (partsMax > 1) {
i = 0;
while (i < partsMax) {
if (i != (partsNum - 1)) {
_parent["costume" + (cosIni + i)]._visible = false;
}
i++;
}
}
}
this.startDrag();
this.swapDepths(_parent["layerLevel" + topDepth]);
if (!putOn) {
_parent["layerLevel" + topDepth].swapDepths(poDepth);
}
minimum = false;
sizeUp = true;
t2 = getTimer();
putOn = false;
}
on (release, releaseOutside) {
this.stopDrag();
i = 0;
while (i < topDepth) {
if ((_parent["layerLevel" + i].getDepth() >= 0) && (_parent["layerLevel" + (i + 1)].getDepth() < 0)) {
_parent["layerLevel" + i].swapDepths(i + 1);
_parent["layerLevel" + i].swapDepths(_parent["layerLevel" + (i + 1)]);
}
i++;
}
flopRange = Math.sqrt(Math.pow(cos_x - _x, 2) + Math.pow(cos_y - _y, 2));
if (flopRange < flop) {
_x = cos_x;
_y = cos_y;
putOn = true;
this.swapDepths(poDepth);
this.gotoAndStop(cosFrm);
if (partsMax > 1) {
i = 0;
while (i < partsMax) {
if (i != (partsNum - 1)) {
prtcosFrm = _parent["costume" + (cosIni + i)].cosFrm;
_parent["costume" + (cosIni + i)].gotoAndStop(prtcosFrm);
_parent["costume" + (cosIni + i)]._x = this._x;
_parent["costume" + (cosIni + i)]._y = this._y;
_parent["costume" + (cosIni + i)]._visible = true;
_parent["costume" + (cosIni + i)].putOn = true;
}
i++;
}
}
i = 0;
while (i < _parent.setup.setpartsMax) {
_parent.setup.setpartsStatus[i] = _parent.setup.setpartsStatus[i] + ((!(setparts[i] && (partsNum == 1))) ? 0 : 1);
_parent["setparts" + i]._visible = ((!_parent.setup.setpartsStatus[i]) ? true : false);
i++;
}
}
t1 = (t2 = getTimer());
}
onClipEvent (enterFrame) {
if (fifty < 100) {
if (((!putOn) && (t1 == t2)) && ((getTimer() - t2) > 3000)) {
sizeUp = true;
minimum = true;
t2 = getTimer();
}
if (sizeUp) {
ss = 100 - (minimum * fifty);
cs = _xscale;
vs = Math.round(((e * vs) + ((ss - cs) / m)) * 1000) / 1000;
_xscale = (Math.round(_xscale) + vs);
_yscale = (Math.round(_yscale) + vs);
if ((vs == 0) && (_xscale == ss)) {
sizeUp = false;
}
}
}
}
Instance of Symbol 105 MovieClip "costume6" in Frame 15
onClipEvent (load) {
cosNum = this._name.split("costume").join("");
costume = new Array();
i = 0;
while (i < 8) {
costume[i] = _parent.setup["costume" + cosNum][i];
i++;
}
cos_x = costume[0];
cos_y = costume[1];
partsMax = costume[2];
partsNum = costume[3];
putOn = costume[4];
flop = costume[5];
fifty = costume[6];
setparts = costume[7];
cosIni = (cosNum - partsNum) + 1;
cosFrm = 1 + partsNum;
cosFrmFst = ((!putOn) ? 1 : (cosFrm));
this.gotoAndStop(cosFrmFst);
this._visible = ((!((!putOn) && (partsNum > 1))) ? true : false);
cos_vi = _parent.setup.cos_vi;
this._visible = ((!((!putOn) && (!cos_vi))) ? (this._visible) : false);
if (partsNum > 1) {
putOn = true;
}
_x = ((!putOn) ? (_x) : (cos_x));
_y = ((!putOn) ? (_y) : (cos_y));
poDepth = this.getDepth();
topDepth = _parent.setup.topDepth;
i = 0;
while (i < _parent.setup.setpartsMax) {
_parent.setup.setpartsStatus[i] = _parent.setup.setpartsStatus[i] + ((!((putOn && (setparts[i])) && (partsNum == 1))) ? 0 : 1);
_parent["setparts" + i]._visible = ((!_parent.setup.setpartsStatus[i]) ? true : false);
i++;
}
m = 2.5;
e = 0.4;
vs = 0;
minimum = (putOn + 1) % 2;
sizeUp = false;
t1 = true;
t2 = false;
}
on (press) {
this.gotoAndStop(1);
if (putOn) {
i = 0;
while (i < _parent.setup.setpartsMax) {
_parent.setup.setpartsStatus[i] = _parent.setup.setpartsStatus[i] - ((!(setparts[i] && (partsNum == 1))) ? 0 : 1);
_parent["setparts" + i]._visible = ((!_parent.setup.setpartsStatus[i]) ? true : false);
i++;
}
if (partsMax > 1) {
i = 0;
while (i < partsMax) {
if (i != (partsNum - 1)) {
_parent["costume" + (cosIni + i)]._visible = false;
}
i++;
}
}
}
this.startDrag();
this.swapDepths(_parent["layerLevel" + topDepth]);
if (!putOn) {
_parent["layerLevel" + topDepth].swapDepths(poDepth);
}
minimum = false;
sizeUp = true;
t2 = getTimer();
putOn = false;
}
on (release, releaseOutside) {
this.stopDrag();
i = 0;
while (i < topDepth) {
if ((_parent["layerLevel" + i].getDepth() >= 0) && (_parent["layerLevel" + (i + 1)].getDepth() < 0)) {
_parent["layerLevel" + i].swapDepths(i + 1);
_parent["layerLevel" + i].swapDepths(_parent["layerLevel" + (i + 1)]);
}
i++;
}
flopRange = Math.sqrt(Math.pow(cos_x - _x, 2) + Math.pow(cos_y - _y, 2));
if (flopRange < flop) {
_x = cos_x;
_y = cos_y;
putOn = true;
this.swapDepths(poDepth);
this.gotoAndStop(cosFrm);
if (partsMax > 1) {
i = 0;
while (i < partsMax) {
if (i != (partsNum - 1)) {
prtcosFrm = _parent["costume" + (cosIni + i)].cosFrm;
_parent["costume" + (cosIni + i)].gotoAndStop(prtcosFrm);
_parent["costume" + (cosIni + i)]._x = this._x;
_parent["costume" + (cosIni + i)]._y = this._y;
_parent["costume" + (cosIni + i)]._visible = true;
_parent["costume" + (cosIni + i)].putOn = true;
}
i++;
}
}
i = 0;
while (i < _parent.setup.setpartsMax) {
_parent.setup.setpartsStatus[i] = _parent.setup.setpartsStatus[i] + ((!(setparts[i] && (partsNum == 1))) ? 0 : 1);
_parent["setparts" + i]._visible = ((!_parent.setup.setpartsStatus[i]) ? true : false);
i++;
}
}
t1 = (t2 = getTimer());
}
onClipEvent (enterFrame) {
if (fifty < 100) {
if (((!putOn) && (t1 == t2)) && ((getTimer() - t2) > 3000)) {
sizeUp = true;
minimum = true;
t2 = getTimer();
}
if (sizeUp) {
ss = 100 - (minimum * fifty);
cs = _xscale;
vs = Math.round(((e * vs) + ((ss - cs) / m)) * 1000) / 1000;
_xscale = (Math.round(_xscale) + vs);
_yscale = (Math.round(_yscale) + vs);
if ((vs == 0) && (_xscale == ss)) {
sizeUp = false;
}
}
}
}
Instance of Symbol 107 MovieClip "costume4" in Frame 15
onClipEvent (load) {
cosNum = this._name.split("costume").join("");
costume = new Array();
i = 0;
while (i < 8) {
costume[i] = _parent.setup["costume" + cosNum][i];
i++;
}
cos_x = costume[0];
cos_y = costume[1];
partsMax = costume[2];
partsNum = costume[3];
putOn = costume[4];
flop = costume[5];
fifty = costume[6];
setparts = costume[7];
cosIni = (cosNum - partsNum) + 1;
cosFrm = 1 + partsNum;
cosFrmFst = ((!putOn) ? 1 : (cosFrm));
this.gotoAndStop(cosFrmFst);
this._visible = ((!((!putOn) && (partsNum > 1))) ? true : false);
cos_vi = _parent.setup.cos_vi;
this._visible = ((!((!putOn) && (!cos_vi))) ? (this._visible) : false);
if (partsNum > 1) {
putOn = true;
}
_x = ((!putOn) ? (_x) : (cos_x));
_y = ((!putOn) ? (_y) : (cos_y));
poDepth = this.getDepth();
topDepth = _parent.setup.topDepth;
i = 0;
while (i < _parent.setup.setpartsMax) {
_parent.setup.setpartsStatus[i] = _parent.setup.setpartsStatus[i] + ((!((putOn && (setparts[i])) && (partsNum == 1))) ? 0 : 1);
_parent["setparts" + i]._visible = ((!_parent.setup.setpartsStatus[i]) ? true : false);
i++;
}
m = 2.5;
e = 0.4;
vs = 0;
minimum = (putOn + 1) % 2;
sizeUp = false;
t1 = true;
t2 = false;
}
on (press) {
this.gotoAndStop(1);
if (putOn) {
i = 0;
while (i < _parent.setup.setpartsMax) {
_parent.setup.setpartsStatus[i] = _parent.setup.setpartsStatus[i] - ((!(setparts[i] && (partsNum == 1))) ? 0 : 1);
_parent["setparts" + i]._visible = ((!_parent.setup.setpartsStatus[i]) ? true : false);
i++;
}
if (partsMax > 1) {
i = 0;
while (i < partsMax) {
if (i != (partsNum - 1)) {
_parent["costume" + (cosIni + i)]._visible = false;
}
i++;
}
}
}
this.startDrag();
this.swapDepths(_parent["layerLevel" + topDepth]);
if (!putOn) {
_parent["layerLevel" + topDepth].swapDepths(poDepth);
}
minimum = false;
sizeUp = true;
t2 = getTimer();
putOn = false;
}
on (release, releaseOutside) {
this.stopDrag();
i = 0;
while (i < topDepth) {
if ((_parent["layerLevel" + i].getDepth() >= 0) && (_parent["layerLevel" + (i + 1)].getDepth() < 0)) {
_parent["layerLevel" + i].swapDepths(i + 1);
_parent["layerLevel" + i].swapDepths(_parent["layerLevel" + (i + 1)]);
}
i++;
}
flopRange = Math.sqrt(Math.pow(cos_x - _x, 2) + Math.pow(cos_y - _y, 2));
if (flopRange < flop) {
_x = cos_x;
_y = cos_y;
putOn = true;
this.swapDepths(poDepth);
this.gotoAndStop(cosFrm);
if (partsMax > 1) {
i = 0;
while (i < partsMax) {
if (i != (partsNum - 1)) {
prtcosFrm = _parent["costume" + (cosIni + i)].cosFrm;
_parent["costume" + (cosIni + i)].gotoAndStop(prtcosFrm);
_parent["costume" + (cosIni + i)]._x = this._x;
_parent["costume" + (cosIni + i)]._y = this._y;
_parent["costume" + (cosIni + i)]._visible = true;
_parent["costume" + (cosIni + i)].putOn = true;
}
i++;
}
}
i = 0;
while (i < _parent.setup.setpartsMax) {
_parent.setup.setpartsStatus[i] = _parent.setup.setpartsStatus[i] + ((!(setparts[i] && (partsNum == 1))) ? 0 : 1);
_parent["setparts" + i]._visible = ((!_parent.setup.setpartsStatus[i]) ? true : false);
i++;
}
}
t1 = (t2 = getTimer());
}
onClipEvent (enterFrame) {
if (fifty < 100) {
if (((!putOn) && (t1 == t2)) && ((getTimer() - t2) > 3000)) {
sizeUp = true;
minimum = true;
t2 = getTimer();
}
if (sizeUp) {
ss = 100 - (minimum * fifty);
cs = _xscale;
vs = Math.round(((e * vs) + ((ss - cs) / m)) * 1000) / 1000;
_xscale = (Math.round(_xscale) + vs);
_yscale = (Math.round(_yscale) + vs);
if ((vs == 0) && (_xscale == ss)) {
sizeUp = false;
}
}
}
}
Instance of Symbol 109 MovieClip "costume9" in Frame 15
onClipEvent (load) {
cosNum = this._name.split("costume").join("");
costume = new Array();
i = 0;
while (i < 8) {
costume[i] = _parent.setup["costume" + cosNum][i];
i++;
}
cos_x = costume[0];
cos_y = costume[1];
partsMax = costume[2];
partsNum = costume[3];
putOn = costume[4];
flop = costume[5];
fifty = costume[6];
setparts = costume[7];
cosIni = (cosNum - partsNum) + 1;
cosFrm = 1 + partsNum;
cosFrmFst = ((!putOn) ? 1 : (cosFrm));
this.gotoAndStop(cosFrmFst);
this._visible = ((!((!putOn) && (partsNum > 1))) ? true : false);
cos_vi = _parent.setup.cos_vi;
this._visible = ((!((!putOn) && (!cos_vi))) ? (this._visible) : false);
if (partsNum > 1) {
putOn = true;
}
_x = ((!putOn) ? (_x) : (cos_x));
_y = ((!putOn) ? (_y) : (cos_y));
poDepth = this.getDepth();
topDepth = _parent.setup.topDepth;
i = 0;
while (i < _parent.setup.setpartsMax) {
_parent.setup.setpartsStatus[i] = _parent.setup.setpartsStatus[i] + ((!((putOn && (setparts[i])) && (partsNum == 1))) ? 0 : 1);
_parent["setparts" + i]._visible = ((!_parent.setup.setpartsStatus[i]) ? true : false);
i++;
}
m = 2.5;
e = 0.4;
vs = 0;
minimum = (putOn + 1) % 2;
sizeUp = false;
t1 = true;
t2 = false;
}
on (press) {
this.gotoAndStop(1);
if (putOn) {
i = 0;
while (i < _parent.setup.setpartsMax) {
_parent.setup.setpartsStatus[i] = _parent.setup.setpartsStatus[i] - ((!(setparts[i] && (partsNum == 1))) ? 0 : 1);
_parent["setparts" + i]._visible = ((!_parent.setup.setpartsStatus[i]) ? true : false);
i++;
}
if (partsMax > 1) {
i = 0;
while (i < partsMax) {
if (i != (partsNum - 1)) {
_parent["costume" + (cosIni + i)]._visible = false;
}
i++;
}
}
}
this.startDrag();
this.swapDepths(_parent["layerLevel" + topDepth]);
if (!putOn) {
_parent["layerLevel" + topDepth].swapDepths(poDepth);
}
minimum = false;
sizeUp = true;
t2 = getTimer();
putOn = false;
}
on (release, releaseOutside) {
this.stopDrag();
i = 0;
while (i < topDepth) {
if ((_parent["layerLevel" + i].getDepth() >= 0) && (_parent["layerLevel" + (i + 1)].getDepth() < 0)) {
_parent["layerLevel" + i].swapDepths(i + 1);
_parent["layerLevel" + i].swapDepths(_parent["layerLevel" + (i + 1)]);
}
i++;
}
flopRange = Math.sqrt(Math.pow(cos_x - _x, 2) + Math.pow(cos_y - _y, 2));
if (flopRange < flop) {
_x = cos_x;
_y = cos_y;
putOn = true;
this.swapDepths(poDepth);
this.gotoAndStop(cosFrm);
if (partsMax > 1) {
i = 0;
while (i < partsMax) {
if (i != (partsNum - 1)) {
prtcosFrm = _parent["costume" + (cosIni + i)].cosFrm;
_parent["costume" + (cosIni + i)].gotoAndStop(prtcosFrm);
_parent["costume" + (cosIni + i)]._x = this._x;
_parent["costume" + (cosIni + i)]._y = this._y;
_parent["costume" + (cosIni + i)]._visible = true;
_parent["costume" + (cosIni + i)].putOn = true;
}
i++;
}
}
i = 0;
while (i < _parent.setup.setpartsMax) {
_parent.setup.setpartsStatus[i] = _parent.setup.setpartsStatus[i] + ((!(setparts[i] && (partsNum == 1))) ? 0 : 1);
_parent["setparts" + i]._visible = ((!_parent.setup.setpartsStatus[i]) ? true : false);
i++;
}
}
t1 = (t2 = getTimer());
}
onClipEvent (enterFrame) {
if (fifty < 100) {
if (((!putOn) && (t1 == t2)) && ((getTimer() - t2) > 3000)) {
sizeUp = true;
minimum = true;
t2 = getTimer();
}
if (sizeUp) {
ss = 100 - (minimum * fifty);
cs = _xscale;
vs = Math.round(((e * vs) + ((ss - cs) / m)) * 1000) / 1000;
_xscale = (Math.round(_xscale) + vs);
_yscale = (Math.round(_yscale) + vs);
if ((vs == 0) && (_xscale == ss)) {
sizeUp = false;
}
}
}
}
Instance of Symbol 111 MovieClip "costume3" in Frame 15
onClipEvent (load) {
cosNum = this._name.split("costume").join("");
costume = new Array();
i = 0;
while (i < 8) {
costume[i] = _parent.setup["costume" + cosNum][i];
i++;
}
cos_x = costume[0];
cos_y = costume[1];
partsMax = costume[2];
partsNum = costume[3];
putOn = costume[4];
flop = costume[5];
fifty = costume[6];
setparts = costume[7];
cosIni = (cosNum - partsNum) + 1;
cosFrm = 1 + partsNum;
cosFrmFst = ((!putOn) ? 1 : (cosFrm));
this.gotoAndStop(cosFrmFst);
this._visible = ((!((!putOn) && (partsNum > 1))) ? true : false);
cos_vi = _parent.setup.cos_vi;
this._visible = ((!((!putOn) && (!cos_vi))) ? (this._visible) : false);
if (partsNum > 1) {
putOn = true;
}
_x = ((!putOn) ? (_x) : (cos_x));
_y = ((!putOn) ? (_y) : (cos_y));
poDepth = this.getDepth();
topDepth = _parent.setup.topDepth;
i = 0;
while (i < _parent.setup.setpartsMax) {
_parent.setup.setpartsStatus[i] = _parent.setup.setpartsStatus[i] + ((!((putOn && (setparts[i])) && (partsNum == 1))) ? 0 : 1);
_parent["setparts" + i]._visible = ((!_parent.setup.setpartsStatus[i]) ? true : false);
i++;
}
m = 2.5;
e = 0.4;
vs = 0;
minimum = (putOn + 1) % 2;
sizeUp = false;
t1 = true;
t2 = false;
}
on (press) {
this.gotoAndStop(1);
if (putOn) {
i = 0;
while (i < _parent.setup.setpartsMax) {
_parent.setup.setpartsStatus[i] = _parent.setup.setpartsStatus[i] - ((!(setparts[i] && (partsNum == 1))) ? 0 : 1);
_parent["setparts" + i]._visible = ((!_parent.setup.setpartsStatus[i]) ? true : false);
i++;
}
if (partsMax > 1) {
i = 0;
while (i < partsMax) {
if (i != (partsNum - 1)) {
_parent["costume" + (cosIni + i)]._visible = false;
}
i++;
}
}
}
this.startDrag();
this.swapDepths(_parent["layerLevel" + topDepth]);
if (!putOn) {
_parent["layerLevel" + topDepth].swapDepths(poDepth);
}
minimum = false;
sizeUp = true;
t2 = getTimer();
putOn = false;
}
on (release, releaseOutside) {
this.stopDrag();
i = 0;
while (i < topDepth) {
if ((_parent["layerLevel" + i].getDepth() >= 0) && (_parent["layerLevel" + (i + 1)].getDepth() < 0)) {
_parent["layerLevel" + i].swapDepths(i + 1);
_parent["layerLevel" + i].swapDepths(_parent["layerLevel" + (i + 1)]);
}
i++;
}
flopRange = Math.sqrt(Math.pow(cos_x - _x, 2) + Math.pow(cos_y - _y, 2));
if (flopRange < flop) {
_x = cos_x;
_y = cos_y;
putOn = true;
this.swapDepths(poDepth);
this.gotoAndStop(cosFrm);
if (partsMax > 1) {
i = 0;
while (i < partsMax) {
if (i != (partsNum - 1)) {
prtcosFrm = _parent["costume" + (cosIni + i)].cosFrm;
_parent["costume" + (cosIni + i)].gotoAndStop(prtcosFrm);
_parent["costume" + (cosIni + i)]._x = this._x;
_parent["costume" + (cosIni + i)]._y = this._y;
_parent["costume" + (cosIni + i)]._visible = true;
_parent["costume" + (cosIni + i)].putOn = true;
}
i++;
}
}
i = 0;
while (i < _parent.setup.setpartsMax) {
_parent.setup.setpartsStatus[i] = _parent.setup.setpartsStatus[i] + ((!(setparts[i] && (partsNum == 1))) ? 0 : 1);
_parent["setparts" + i]._visible = ((!_parent.setup.setpartsStatus[i]) ? true : false);
i++;
}
}
t1 = (t2 = getTimer());
}
onClipEvent (enterFrame) {
if (fifty < 100) {
if (((!putOn) && (t1 == t2)) && ((getTimer() - t2) > 3000)) {
sizeUp = true;
minimum = true;
t2 = getTimer();
}
if (sizeUp) {
ss = 100 - (minimum * fifty);
cs = _xscale;
vs = Math.round(((e * vs) + ((ss - cs) / m)) * 1000) / 1000;
_xscale = (Math.round(_xscale) + vs);
_yscale = (Math.round(_yscale) + vs);
if ((vs == 0) && (_xscale == ss)) {
sizeUp = false;
}
}
}
}
Instance of Symbol 118 MovieClip "costume2" in Frame 15
onClipEvent (load) {
cosNum = this._name.split("costume").join("");
costume = new Array();
i = 0;
while (i < 8) {
costume[i] = _parent.setup["costume" + cosNum][i];
i++;
}
cos_x = costume[0];
cos_y = costume[1];
partsMax = costume[2];
partsNum = costume[3];
putOn = costume[4];
flop = costume[5];
fifty = costume[6];
setparts = costume[7];
cosIni = (cosNum - partsNum) + 1;
cosFrm = 1 + partsNum;
cosFrmFst = ((!putOn) ? 1 : (cosFrm));
this.gotoAndStop(cosFrmFst);
this._visible = ((!((!putOn) && (partsNum > 1))) ? true : false);
cos_vi = _parent.setup.cos_vi;
this._visible = ((!((!putOn) && (!cos_vi))) ? (this._visible) : false);
if (partsNum > 1) {
putOn = true;
}
_x = ((!putOn) ? (_x) : (cos_x));
_y = ((!putOn) ? (_y) : (cos_y));
poDepth = this.getDepth();
topDepth = _parent.setup.topDepth;
i = 0;
while (i < _parent.setup.setpartsMax) {
_parent.setup.setpartsStatus[i] = _parent.setup.setpartsStatus[i] + ((!((putOn && (setparts[i])) && (partsNum == 1))) ? 0 : 1);
_parent["setparts" + i]._visible = ((!_parent.setup.setpartsStatus[i]) ? true : false);
i++;
}
m = 2.5;
e = 0.4;
vs = 0;
minimum = (putOn + 1) % 2;
sizeUp = false;
t1 = true;
t2 = false;
}
on (press) {
this.gotoAndStop(1);
if (putOn) {
i = 0;
while (i < _parent.setup.setpartsMax) {
_parent.setup.setpartsStatus[i] = _parent.setup.setpartsStatus[i] - ((!(setparts[i] && (partsNum == 1))) ? 0 : 1);
_parent["setparts" + i]._visible = ((!_parent.setup.setpartsStatus[i]) ? true : false);
i++;
}
if (partsMax > 1) {
i = 0;
while (i < partsMax) {
if (i != (partsNum - 1)) {
_parent["costume" + (cosIni + i)]._visible = false;
}
i++;
}
}
}
this.startDrag();
this.swapDepths(_parent["layerLevel" + topDepth]);
if (!putOn) {
_parent["layerLevel" + topDepth].swapDepths(poDepth);
}
minimum = false;
sizeUp = true;
t2 = getTimer();
putOn = false;
}
on (release, releaseOutside) {
this.stopDrag();
i = 0;
while (i < topDepth) {
if ((_parent["layerLevel" + i].getDepth() >= 0) && (_parent["layerLevel" + (i + 1)].getDepth() < 0)) {
_parent["layerLevel" + i].swapDepths(i + 1);
_parent["layerLevel" + i].swapDepths(_parent["layerLevel" + (i + 1)]);
}
i++;
}
flopRange = Math.sqrt(Math.pow(cos_x - _x, 2) + Math.pow(cos_y - _y, 2));
if (flopRange < flop) {
_x = cos_x;
_y = cos_y;
putOn = true;
this.swapDepths(poDepth);
this.gotoAndStop(cosFrm);
if (partsMax > 1) {
i = 0;
while (i < partsMax) {
if (i != (partsNum - 1)) {
prtcosFrm = _parent["costume" + (cosIni + i)].cosFrm;
_parent["costume" + (cosIni + i)].gotoAndStop(prtcosFrm);
_parent["costume" + (cosIni + i)]._x = this._x;
_parent["costume" + (cosIni + i)]._y = this._y;
_parent["costume" + (cosIni + i)]._visible = true;
_parent["costume" + (cosIni + i)].putOn = true;
}
i++;
}
}
i = 0;
while (i < _parent.setup.setpartsMax) {
_parent.setup.setpartsStatus[i] = _parent.setup.setpartsStatus[i] + ((!(setparts[i] && (partsNum == 1))) ? 0 : 1);
_parent["setparts" + i]._visible = ((!_parent.setup.setpartsStatus[i]) ? true : false);
i++;
}
}
t1 = (t2 = getTimer());
}
onClipEvent (enterFrame) {
if (fifty < 100) {
if (((!putOn) && (t1 == t2)) && ((getTimer() - t2) > 3000)) {
sizeUp = true;
minimum = true;
t2 = getTimer();
}
if (sizeUp) {
ss = 100 - (minimum * fifty);
cs = _xscale;
vs = Math.round(((e * vs) + ((ss - cs) / m)) * 1000) / 1000;
_xscale = (Math.round(_xscale) + vs);
_yscale = (Math.round(_yscale) + vs);
if ((vs == 0) && (_xscale == ss)) {
sizeUp = false;
}
}
}
}
Instance of Symbol 120 MovieClip "costume1" in Frame 15
onClipEvent (load) {
cosNum = this._name.split("costume").join("");
costume = new Array();
i = 0;
while (i < 8) {
costume[i] = _parent.setup["costume" + cosNum][i];
i++;
}
cos_x = costume[0];
cos_y = costume[1];
partsMax = costume[2];
partsNum = costume[3];
putOn = costume[4];
flop = costume[5];
fifty = costume[6];
setparts = costume[7];
cosIni = (cosNum - partsNum) + 1;
cosFrm = 1 + partsNum;
cosFrmFst = ((!putOn) ? 1 : (cosFrm));
this.gotoAndStop(cosFrmFst);
this._visible = ((!((!putOn) && (partsNum > 1))) ? true : false);
cos_vi = _parent.setup.cos_vi;
this._visible = ((!((!putOn) && (!cos_vi))) ? (this._visible) : false);
if (partsNum > 1) {
putOn = true;
}
_x = ((!putOn) ? (_x) : (cos_x));
_y = ((!putOn) ? (_y) : (cos_y));
poDepth = this.getDepth();
topDepth = _parent.setup.topDepth;
i = 0;
while (i < _parent.setup.setpartsMax) {
_parent.setup.setpartsStatus[i] = _parent.setup.setpartsStatus[i] + ((!((putOn && (setparts[i])) && (partsNum == 1))) ? 0 : 1);
_parent["setparts" + i]._visible = ((!_parent.setup.setpartsStatus[i]) ? true : false);
i++;
}
m = 2.5;
e = 0.4;
vs = 0;
minimum = (putOn + 1) % 2;
sizeUp = false;
t1 = true;
t2 = false;
}
on (press) {
this.gotoAndStop(1);
if (putOn) {
i = 0;
while (i < _parent.setup.setpartsMax) {
_parent.setup.setpartsStatus[i] = _parent.setup.setpartsStatus[i] - ((!(setparts[i] && (partsNum == 1))) ? 0 : 1);
_parent["setparts" + i]._visible = ((!_parent.setup.setpartsStatus[i]) ? true : false);
i++;
}
if (partsMax > 1) {
i = 0;
while (i < partsMax) {
if (i != (partsNum - 1)) {
_parent["costume" + (cosIni + i)]._visible = false;
}
i++;
}
}
}
this.startDrag();
this.swapDepths(_parent["layerLevel" + topDepth]);
if (!putOn) {
_parent["layerLevel" + topDepth].swapDepths(poDepth);
}
minimum = false;
sizeUp = true;
t2 = getTimer();
putOn = false;
}
on (release, releaseOutside) {
this.stopDrag();
i = 0;
while (i < topDepth) {
if ((_parent["layerLevel" + i].getDepth() >= 0) && (_parent["layerLevel" + (i + 1)].getDepth() < 0)) {
_parent["layerLevel" + i].swapDepths(i + 1);
_parent["layerLevel" + i].swapDepths(_parent["layerLevel" + (i + 1)]);
}
i++;
}
flopRange = Math.sqrt(Math.pow(cos_x - _x, 2) + Math.pow(cos_y - _y, 2));
if (flopRange < flop) {
_x = cos_x;
_y = cos_y;
putOn = true;
this.swapDepths(poDepth);
this.gotoAndStop(cosFrm);
if (partsMax > 1) {
i = 0;
while (i < partsMax) {
if (i != (partsNum - 1)) {
prtcosFrm = _parent["costume" + (cosIni + i)].cosFrm;
_parent["costume" + (cosIni + i)].gotoAndStop(prtcosFrm);
_parent["costume" + (cosIni + i)]._x = this._x;
_parent["costume" + (cosIni + i)]._y = this._y;
_parent["costume" + (cosIni + i)]._visible = true;
_parent["costume" + (cosIni + i)].putOn = true;
}
i++;
}
}
i = 0;
while (i < _parent.setup.setpartsMax) {
_parent.setup.setpartsStatus[i] = _parent.setup.setpartsStatus[i] + ((!(setparts[i] && (partsNum == 1))) ? 0 : 1);
_parent["setparts" + i]._visible = ((!_parent.setup.setpartsStatus[i]) ? true : false);
i++;
}
}
t1 = (t2 = getTimer());
}
onClipEvent (enterFrame) {
if (fifty < 100) {
if (((!putOn) && (t1 == t2)) && ((getTimer() - t2) > 3000)) {
sizeUp = true;
minimum = true;
t2 = getTimer();
}
if (sizeUp) {
ss = 100 - (minimum * fifty);
cs = _xscale;
vs = Math.round(((e * vs) + ((ss - cs) / m)) * 1000) / 1000;
_xscale = (Math.round(_xscale) + vs);
_yscale = (Math.round(_yscale) + vs);
if ((vs == 0) && (_xscale == ss)) {
sizeUp = false;
}
}
}
}
Instance of Symbol 122 MovieClip "costume0" in Frame 15
onClipEvent (load) {
cosNum = this._name.split("costume").join("");
costume = new Array();
i = 0;
while (i < 8) {
costume[i] = _parent.setup["costume" + cosNum][i];
i++;
}
cos_x = costume[0];
cos_y = costume[1];
partsMax = costume[2];
partsNum = costume[3];
putOn = costume[4];
flop = costume[5];
fifty = costume[6];
setparts = costume[7];
cosIni = (cosNum - partsNum) + 1;
cosFrm = 1 + partsNum;
cosFrmFst = ((!putOn) ? 1 : (cosFrm));
this.gotoAndStop(cosFrmFst);
this._visible = ((!((!putOn) && (partsNum > 1))) ? true : false);
cos_vi = _parent.setup.cos_vi;
this._visible = ((!((!putOn) && (!cos_vi))) ? (this._visible) : false);
if (partsNum > 1) {
putOn = true;
}
_x = ((!putOn) ? (_x) : (cos_x));
_y = ((!putOn) ? (_y) : (cos_y));
poDepth = this.getDepth();
topDepth = _parent.setup.topDepth;
i = 0;
while (i < _parent.setup.setpartsMax) {
_parent.setup.setpartsStatus[i] = _parent.setup.setpartsStatus[i] + ((!((putOn && (setparts[i])) && (partsNum == 1))) ? 0 : 1);
_parent["setparts" + i]._visible = ((!_parent.setup.setpartsStatus[i]) ? true : false);
i++;
}
m = 2.5;
e = 0.4;
vs = 0;
minimum = (putOn + 1) % 2;
sizeUp = false;
t1 = true;
t2 = false;
}
on (press) {
this.gotoAndStop(1);
if (putOn) {
i = 0;
while (i < _parent.setup.setpartsMax) {
_parent.setup.setpartsStatus[i] = _parent.setup.setpartsStatus[i] - ((!(setparts[i] && (partsNum == 1))) ? 0 : 1);
_parent["setparts" + i]._visible = ((!_parent.setup.setpartsStatus[i]) ? true : false);
i++;
}
if (partsMax > 1) {
i = 0;
while (i < partsMax) {
if (i != (partsNum - 1)) {
_parent["costume" + (cosIni + i)]._visible = false;
}
i++;
}
}
}
this.startDrag();
this.swapDepths(_parent["layerLevel" + topDepth]);
if (!putOn) {
_parent["layerLevel" + topDepth].swapDepths(poDepth);
}
minimum = false;
sizeUp = true;
t2 = getTimer();
putOn = false;
}
on (release, releaseOutside) {
this.stopDrag();
i = 0;
while (i < topDepth) {
if ((_parent["layerLevel" + i].getDepth() >= 0) && (_parent["layerLevel" + (i + 1)].getDepth() < 0)) {
_parent["layerLevel" + i].swapDepths(i + 1);
_parent["layerLevel" + i].swapDepths(_parent["layerLevel" + (i + 1)]);
}
i++;
}
flopRange = Math.sqrt(Math.pow(cos_x - _x, 2) + Math.pow(cos_y - _y, 2));
if (flopRange < flop) {
_x = cos_x;
_y = cos_y;
putOn = true;
this.swapDepths(poDepth);
this.gotoAndStop(cosFrm);
if (partsMax > 1) {
i = 0;
while (i < partsMax) {
if (i != (partsNum - 1)) {
prtcosFrm = _parent["costume" + (cosIni + i)].cosFrm;
_parent["costume" + (cosIni + i)].gotoAndStop(prtcosFrm);
_parent["costume" + (cosIni + i)]._x = this._x;
_parent["costume" + (cosIni + i)]._y = this._y;
_parent["costume" + (cosIni + i)]._visible = true;
_parent["costume" + (cosIni + i)].putOn = true;
}
i++;
}
}
i = 0;
while (i < _parent.setup.setpartsMax) {
_parent.setup.setpartsStatus[i] = _parent.setup.setpartsStatus[i] + ((!(setparts[i] && (partsNum == 1))) ? 0 : 1);
_parent["setparts" + i]._visible = ((!_parent.setup.setpartsStatus[i]) ? true : false);
i++;
}
}
t1 = (t2 = getTimer());
}
onClipEvent (enterFrame) {
if (fifty < 100) {
if (((!putOn) && (t1 == t2)) && ((getTimer() - t2) > 3000)) {
sizeUp = true;
minimum = true;
t2 = getTimer();
}
if (sizeUp) {
ss = 100 - (minimum * fifty);
cs = _xscale;
vs = Math.round(((e * vs) + ((ss - cs) / m)) * 1000) / 1000;
_xscale = (Math.round(_xscale) + vs);
_yscale = (Math.round(_yscale) + vs);
if ((vs == 0) && (_xscale == ss)) {
sizeUp = false;
}
}
}
}
Frame 20
this.stop();
Symbol 7 MovieClip Frame 1
this.stop();
Symbol 12 MovieClip Frame 1
this.stop();
Symbol 16 MovieClip Frame 1
this.stop();
Symbol 20 MovieClip Frame 1
this.stop();
Symbol 24 MovieClip Frame 1
this.stop();
Symbol 28 MovieClip Frame 1
this.stop();
Symbol 32 MovieClip Frame 1
this.stop();
Symbol 36 MovieClip Frame 1
this.stop();
Symbol 43 MovieClip Frame 1
this.stop();
Symbol 45 MovieClip Frame 1
this.stop();
Symbol 47 MovieClip Frame 1
this.stop();
Symbol 49 MovieClip Frame 1
this.stop();
Symbol 51 MovieClip Frame 1
this.stop();
Symbol 53 MovieClip Frame 1
this.stop();
Symbol 55 MovieClip Frame 1
this.stop();
Symbol 57 MovieClip Frame 1
this.stop();
Symbol 59 MovieClip Frame 1
this.stop();
Symbol 61 MovieClip Frame 1
this.stop();
Symbol 63 MovieClip Frame 1
this.stop();
Symbol 65 MovieClip Frame 1
this.stop();
Symbol 69 MovieClip Frame 1
this.stop();
Symbol 71 MovieClip Frame 1
this.stop();
Symbol 73 MovieClip Frame 1
this.stop();
Symbol 75 MovieClip Frame 1
this.stop();
Symbol 77 MovieClip Frame 1
this.stop();
Symbol 81 MovieClip Frame 1
this.stop();
Symbol 87 MovieClip Frame 39
this.stop();
a = a % total;
ac++;
if (ac == action[a]) {
a++;
this.gotoAndPlay(_currentframe + 1);
} else {
this.gotoAndPlay(1);
}
ac = ac % action[total - 1];
Symbol 87 MovieClip Frame 89
this.gotoAndPlay(1);
Symbol 89 MovieClip Frame 1
this.stop();
Symbol 91 MovieClip Frame 1
this.stop();
Symbol 93 MovieClip Frame 1
this.stop();
Symbol 95 MovieClip Frame 1
this.stop();
Symbol 97 MovieClip Frame 1
this.stop();
Symbol 99 MovieClip Frame 1
this.stop();
Symbol 101 MovieClip Frame 1
this.stop();
Symbol 103 MovieClip Frame 1
this.stop();
Symbol 105 MovieClip Frame 1
this.stop();
Symbol 107 MovieClip Frame 1
this.stop();
Symbol 109 MovieClip Frame 1
this.stop();
Symbol 111 MovieClip Frame 1
this.stop();
Symbol 116 MovieClip Frame 1
this.stop();
this.onEnterFrame = function () {
a = a % total;
if ((at2 - at1) > action[a]) {
a++;
at1 = ((a >= total) ? (getTimer()) : (at1));
this.gotoAndPlay(2);
} else {
at2 = getTimer();
}
};
Symbol 118 MovieClip Frame 1
this.stop();
Symbol 120 MovieClip Frame 1
this.stop();
Symbol 122 MovieClip Frame 1
this.stop();
Symbol 137 MovieClip Frame 1
this.stop();
Symbol 137 MovieClip Frame 10
this.play();
cheezing = true;
Symbol 137 MovieClip Frame 19
this.gotoAndStop("home");
cheezing = false;
Symbol 137 MovieClip Frame 20
this.play();
cheezing = true;
Symbol 137 MovieClip Frame 24
cheezing = false;
if (_parent.in_btn_1.in_out != "home") {
this.stop();
} else {
this.gotoAndStop("home");
}
Symbol 137 MovieClip Frame 30
this.play();
cheezing = true;
Symbol 137 MovieClip Frame 34
cheezing = false;
if (_parent.in_btn_1.in_out != "home") {
cos_vi = _parent.in_btn_1.cos_vi;
in_out = ((cos_vi <= 0) ? "pre_out" : "pre_in");
this.gotoAndPlay(in_out);
} else {
this.gotoAndStop("home");
}
Symbol 137 MovieClip Frame 40
this.play();
cheezing = true;
Symbol 137 MovieClip Frame 44
cheezing = false;
if (_parent.in_btn_1.in_out != "home") {
this.stop();
} else {
this.gotoAndStop("home");
}
Symbol 137 MovieClip Frame 50
this.play();
cheezing = true;
Symbol 137 MovieClip Frame 55
cheezing = false;
if (_parent.in_btn_1.in_out != "home") {
cos_vi = _parent.in_btn_1.cos_vi;
in_out = ((cos_vi <= 0) ? "pre_out" : "pre_in");
this.gotoAndPlay(in_out);
} else {
this.gotoAndStop("home");
}
Symbol 143 MovieClip Frame 1
this.stop();
Symbol 143 MovieClip Frame 10
this.stop();
Symbol 143 MovieClip Frame 20
this.stop();
Symbol 149 MovieClip Frame 1
this.stop();
Symbol 149 MovieClip Frame 10
this.stop();
Symbol 149 MovieClip Frame 20
this.stop();
Symbol 153 MovieClip Frame 1
this.stop();
Symbol 153 MovieClip Frame 10
this.play();
Symbol 153 MovieClip Frame 20
this.stop();
Symbol 153 MovieClip Frame 30
this.play();
Symbol 153 MovieClip Frame 39
gotoAndStop(this.pre_in);