Frame 1
stop();
Frame 2
skum = 0;
celo = 0;
scorey = 0;
nnum = 0;
win = 0;
rope = 0;
upp = 0;
ner = 0;
toy = 0;
this.nd.gotoAndStop(7);
Instance of Symbol 19 MovieClip "rope2" in Frame 2
onClipEvent (load) {
load_x = _x;
load_y = _y;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
startDrag (this);
}
}
onClipEvent (mouseUp) {
stopDrag();
if (!this.hitTest(_root.kub1)) {
if (!this.hitTest(_root.kub2)) {
} else if (_root.ner == 1) {
_root.rope = 2;
this.gotoAndStop(1);
_root.diagru32.gotoAndStop(12);
this._parent.haha.gotoAndStop(17);
this._parent.btns.gotoAndStop(1);
_root.skum = 0;
this._parent.bygg.text = _root.skum;
_root.scorey = 0;
this._parent.nims.text = _root.scorey;
_root.toy = 1;
_root.rope = 3;
} else {
_x = load_x;
_y = load_y;
}
_x = load_x;
_y = load_y;
} else if (_root.ner == 2) {
this.gotoAndStop(1);
_root.diagru32.gotoAndStop(11);
this._parent.haha.gotoAndStop(17);
this._parent.btns.gotoAndStop(1);
_root.skum = 0;
this._parent.bygg.text = _root.skum;
_root.scorey = 0;
this._parent.nims.text = _root.scorey;
_root.toy = 1;
_root.rope = 3;
} else {
_x = load_x;
_y = load_y;
}
}
Instance of Symbol 22 MovieClip "toy1" in Frame 2
onClipEvent (load) {
load_x = _x;
load_y = _y;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
startDrag (this);
}
}
onClipEvent (mouseUp) {
stopDrag();
if (!this.hitTest(_root.face)) {
_x = load_x;
_y = load_y;
}
if (this.hitTest(_root.face)) {
this._parent.haha.gotoAndStop(18);
this.gotoAndStop(1);
this._parent.diagru32.gotoAndStop(15);
this._parent.fin1.gotoAndStop(2);
}
}
Frame 3
stop();
Instance of Symbol 19 MovieClip "rope1" in Frame 3
onClipEvent (load) {
load_x = _x;
load_y = _y;
}
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
startDrag (this);
}
}
onClipEvent (mouseUp) {
stopDrag();
if (!this.hitTest(_root.kub1)) {
if (!this.hitTest(_root.kub2)) {
_x = load_x;
_y = load_y;
}
if (this.hitTest(_root.kub2)) {
_root.rope = 2;
_root.ner = 2;
this.gotoAndStop(1);
_root.diagru32.gotoAndStop(12);
this._parent.haha.gotoAndStop(16);
this._parent.btns.gotoAndStop(1);
_root.skum = 0;
this._parent.bygg.text = _root.skum;
_root.scorey = 0;
this._parent.nims.text = _root.scorey;
}
_x = load_x;
_y = load_y;
}
if (this.hitTest(_root.kub1)) {
this.gotoAndStop(1);
_root.rope = 2;
_root.ner = 1;
_root.diagru32.gotoAndStop(11);
this._parent.haha.gotoAndStop(15);
this._parent.btns.gotoAndStop(1);
_root.skum = 0;
this._parent.bygg.text = _root.skum;
_root.scorey = 0;
this._parent.nims.text = _root.scorey;
}
}
Instance of Symbol 124 MovieClip "d11" in Frame 3
on (release) {
_root.celo = 1;
_root.d11.gotoAndStop(2);
_root.d22.gotoAndStop(1);
_root.d33.gotoAndStop(1);
_root.d44.gotoAndStop(1);
_root.d55.gotoAndStop(1);
_root.d66.gotoAndStop(1);
}
Instance of Symbol 127 MovieClip "d22" in Frame 3
on (release) {
_root.celo = 2;
_root.d11.gotoAndStop(1);
_root.d22.gotoAndStop(2);
_root.d33.gotoAndStop(1);
_root.d44.gotoAndStop(1);
_root.d55.gotoAndStop(1);
_root.d66.gotoAndStop(1);
}
Instance of Symbol 130 MovieClip "d33" in Frame 3
on (release) {
_root.celo = 3;
_root.d11.gotoAndStop(1);
_root.d22.gotoAndStop(1);
_root.d33.gotoAndStop(2);
_root.d44.gotoAndStop(1);
_root.d55.gotoAndStop(1);
_root.d66.gotoAndStop(1);
}
Instance of Symbol 133 MovieClip "d44" in Frame 3
on (release) {
_root.celo = 4;
_root.d11.gotoAndStop(1);
_root.d22.gotoAndStop(1);
_root.d33.gotoAndStop(1);
_root.d44.gotoAndStop(2);
_root.d55.gotoAndStop(1);
_root.d66.gotoAndStop(1);
}
Instance of Symbol 136 MovieClip "d55" in Frame 3
on (release) {
_root.celo = 5;
_root.d11.gotoAndStop(1);
_root.d22.gotoAndStop(1);
_root.d33.gotoAndStop(1);
_root.d44.gotoAndStop(1);
_root.d55.gotoAndStop(2);
_root.d66.gotoAndStop(1);
}
Instance of Symbol 139 MovieClip "d66" in Frame 3
on (release) {
_root.celo = 6;
_root.d11.gotoAndStop(1);
_root.d22.gotoAndStop(1);
_root.d33.gotoAndStop(1);
_root.d44.gotoAndStop(1);
_root.d55.gotoAndStop(1);
_root.d66.gotoAndStop(2);
}
Frame 8
stop();
Frame 16
stop();
Symbol 10 Button
on (release) {
gotoAndPlay (2);
}
Symbol 15 MovieClip Frame 25
this._parent._parent.btns.gotoAndStop(1);
this._parent.gotoAndStop(1);
Symbol 16 MovieClip Frame 1
stop();
Symbol 19 MovieClip Frame 1
stop();
Symbol 22 MovieClip Frame 1
stop();
Symbol 27 MovieClip Frame 1
stop();
Symbol 42 MovieClip Frame 1
stop();
Symbol 45 MovieClip Frame 1
stop();
Symbol 55 MovieClip Frame 1
stop();
Symbol 66 Button
on (release) {
if (_root.win >= 1) {
_root.win = _root.win - 1;
this._parent.pasive.gotoAndStop(2);
this.gotoAndStop(2);
this._parent.diagru32.gotoAndStop(4);
this._parent.btns.gotoAndStop(1);
_root.skum = 0;
this._parent.bygg.text = _root.skum;
_root.scorey = 0;
this._parent.nims.text = _root.scorey;
}
}
Symbol 69 Button
on (release) {
if (_root.win >= 1) {
_root.win = _root.win - 1;
this._parent.pasive.gotoAndStop(3);
this.gotoAndStop(3);
this._parent.diagru32.gotoAndStop(2);
this._parent.btns.gotoAndStop(1);
_root.skum = 0;
this._parent.bygg.text = _root.skum;
_root.scorey = 0;
this._parent.nims.text = _root.scorey;
}
}
Symbol 74 Button
on (release) {
if (_root.win >= 1) {
_root.win = _root.win - 1;
this._parent.pasive.gotoAndStop(4);
this.gotoAndStop(4);
this._parent.diagru32.gotoAndStop(2);
this._parent.btns.gotoAndStop(1);
_root.skum = 0;
this._parent.bygg.text = _root.skum;
_root.scorey = 0;
this._parent.nims.text = _root.scorey;
}
}
Symbol 77 Button
on (release) {
if (_root.win >= 1) {
_root.win = _root.win - 1;
this.gotoAndStop(4);
this._parent.pasive.gotoAndStop(4);
this._parent.diagru32.gotoAndStop(4);
this._parent.btns.gotoAndStop(1);
_root.skum = 0;
this._parent.bygg.text = _root.skum;
_root.scorey = 0;
this._parent.nims.text = _root.scorey;
}
}
Symbol 78 Button
on (release) {
if (_root.win >= 1) {
_root.win = _root.win - 1;
this.gotoAndStop(5);
this._parent.diagru32.gotoAndStop(5);
this._parent.btns.gotoAndStop(1);
_root.skum = 0;
this._parent.bygg.text = _root.skum;
_root.scorey = 0;
this._parent.nims.text = _root.scorey;
}
}
Symbol 79 Button
on (release) {
if (_root.win >= 1) {
_root.win = _root.win - 1;
this.gotoAndStop(10);
this._parent.diagru32.gotoAndStop(6);
this._parent.btns.gotoAndStop(1);
_root.skum = 0;
this._parent.bygg.text = _root.skum;
_root.scorey = 0;
this._parent.nims.text = _root.scorey;
}
}
Symbol 80 Button
on (release) {
if (_root.win >= 1) {
_root.win = _root.win - 1;
this.gotoAndStop(6);
this._parent.diagru32.gotoAndStop(7);
this._parent.btns.gotoAndStop(1);
_root.skum = 0;
this._parent.bygg.text = _root.skum;
_root.scorey = 0;
this._parent.nims.text = _root.scorey;
}
}
Symbol 81 Button
on (release) {
if (_root.win >= 1) {
_root.win = _root.win - 1;
this.gotoAndStop(11);
this._parent.diagru32.gotoAndStop(6);
this._parent.btns.gotoAndStop(1);
_root.skum = 0;
this._parent.bygg.text = _root.skum;
_root.scorey = 0;
this._parent.nims.text = _root.scorey;
}
}
Symbol 86 Button
on (release) {
if (_root.win >= 1) {
_root.win = _root.win - 1;
this.gotoAndStop(7);
this._parent.diagru32.gotoAndStop(8);
this._parent.btns.gotoAndStop(1);
_root.skum = 0;
this._parent.bygg.text = _root.skum;
_root.scorey = 0;
this._parent.nims.text = _root.scorey;
}
}
Symbol 87 Button
on (release) {
if (_root.win >= 1) {
_root.win = _root.win - 1;
this.gotoAndStop(12);
this._parent.diagru32.gotoAndStop(6);
this._parent.btns.gotoAndStop(1);
_root.skum = 0;
this._parent.bygg.text = _root.skum;
_root.scorey = 0;
this._parent.nims.text = _root.scorey;
}
}
Symbol 88 Button
on (release) {
if (_root.win >= 1) {
_root.win = _root.win - 1;
_root.rope = 1;
this.gotoAndStop(13);
this._parent.diagru32.gotoAndStop(9);
this._parent.btns.gotoAndStop(1);
_root.skum = 0;
this._parent.bygg.text = _root.skum;
_root.scorey = 0;
this._parent.nims.text = _root.scorey;
}
}
Symbol 95 Button
on (release) {
if (_root.win >= 1) {
_root.win = _root.win - 1;
this.gotoAndStop(11);
this._parent.diagru32.gotoAndStop(5);
this._parent.btns.gotoAndStop(1);
_root.skum = 0;
this._parent.bygg.text = _root.skum;
_root.scorey = 0;
this._parent.nims.text = _root.scorey;
}
}
Symbol 96 Button
on (release) {
if (_root.win >= 1) {
_root.win = _root.win - 1;
this.gotoAndStop(12);
this._parent.diagru32.gotoAndStop(7);
this._parent.btns.gotoAndStop(1);
_root.skum = 0;
this._parent.bygg.text = _root.skum;
_root.scorey = 0;
this._parent.nims.text = _root.scorey;
}
}
Symbol 97 Button
on (release) {
if (_root.win >= 1) {
_root.win = _root.win - 1;
_root.rope = 1;
this.gotoAndStop(13);
this._parent.diagru32.gotoAndStop(9);
this._parent.btns.gotoAndStop(1);
_root.skum = 0;
this._parent.bygg.text = _root.skum;
_root.scorey = 0;
this._parent.nims.text = _root.scorey;
}
}
Symbol 106 MovieClip Frame 1
stop();
Symbol 113 Button
on (release) {
if (_root.skum >= 3) {
_root.win = _root.win + 1;
this.gotoAndStop(5);
} else {
_root.nnum = random(6) + 1;
_root.nd.gotoAndStop(_root.nnum);
_root.btns.gotoAndStop(2);
this._parent.diagru32.gotoAndStop(1);
}
}
Symbol 116 Button
on (release) {
firstName_txt = 4;
num = random(6) + 1;
_root.diced.gotoAndStop(num);
if (_root.skum == 3) {
_root.win = _root.win + 1;
this.gotoAndStop(5);
}
if (_root.nnum == _root.celo) {
this.gotoAndStop(5);
this._parent.event2.gotoAndStop(2);
} else {
if (num == _root.celo) {
_root.skum = _root.skum + 1;
this._parent.bygg.text = _root.skum;
}
if (num == _root.nnum) {
_root.scorey = _root.scorey + 1;
this._parent.nims.text = _root.scorey;
}
}
if (_root.scorey == 3) {
_root.diagru32.gotoAndStop(14);
_root.skum = 1;
this._parent.bygg.text = _root.skum;
_root.scorey = 0;
this._parent.nims.text = _root.scorey;
_root.btns.gotoAndStop(1);
}
if (_root.skum == 3) {
this._parent.diagru32.gotoAndStop(3);
_root.diagru32.gotoAndStop(3);
if (_root.toy == 1) {
_root.toy1.gotoAndStop(2);
_root.diagru32.gotoAndStop(13);
}
if (_root.rope == 1) {
this._parent.rope1.gotoAndStop(2);
_root.diagru32.gotoAndStop(10);
}
if (_root.rope == 2) {
this._parent.rope2.gotoAndStop(2);
_root.diagru32.gotoAndStop(10);
}
_root.win = _root.win + 1;
_root.btns.gotoAndStop(5);
} else {
this.gotoAndStop(1);
}
}
Symbol 117 MovieClip Frame 1
stop();
Symbol 124 MovieClip Frame 1
stop();
Symbol 127 MovieClip Frame 1
stop();
Symbol 130 MovieClip Frame 1
stop();
Symbol 133 MovieClip Frame 1
stop();
Symbol 136 MovieClip Frame 1
stop();
Symbol 139 MovieClip Frame 1
stop();
Symbol 147 MovieClip Frame 1
stop();
Symbol 151 Button
on (release) {
gotoAndPlay (3);
}