Frame 1
ifFrameLoaded (16) {
gotoAndPlay (16);
}
Frame 15
gotoAndPlay (1);
Frame 16
setProperty("/p1", _visible , "1");
setProperty("/p2", _visible , "1");
setProperty("/p3", _visible , "1");
setProperty("/p4", _visible , "1");
setProperty("/p5", _visible , "1");
setProperty("/p6", _visible , "1");
setProperty("/p7", _visible , "1");
setProperty("/p8", _visible , "1");
setProperty("/p9", _visible , "1");
setProperty("/p10", _visible , "1");
setProperty("/p11", _visible , "0");
setProperty("/p12", _visible , "1");
setProperty("/p13", _visible , "0");
Frame 17
Loses = GamesPlayed - WinCounter;
GamesPlayed = GamesPlayed + "1";
tellTarget ("/Door1") {
gotoAndPlay (2);
};
tellTarget ("/Door2") {
gotoAndPlay (2);
};
tellTarget ("/Door3") {
gotoAndPlay (2);
};
tellTarget ("/player12") {
gotoAndPlay (2);
};
stop();
Frame 18
WinCounter = WinCounter + "1";
stop();
stop();
Symbol 10 MovieClip Frame 1
stop();
Symbol 16 Button
on (release) {
gotoAndPlay (16);
}
Symbol 43 MovieClip Frame 2
stop();
Symbol 47 Button
on (press) {
startDrag (getProperty(_x, _y));
OrgX = _x;
OrgY = _y;
}
on (release) {
stopDrag();
_y = OrgY;
_x = OrgX;
if ((((_name eq "p1") and (getProperty("/p3", _visible) == "1")) and (getProperty("/p7", _visible) == "0")) and (_droptarget eq "/h7")) {
setProperty("/p1", _visible , "0");
setProperty("/p3", _visible , "0");
setProperty("/p7", _visible , "1");
}
if ((((_name eq "p1") and (getProperty("/p2", _visible) == "1")) and (getProperty("/p5", _visible) == "0")) and (_droptarget eq "/h5")) {
setProperty("/p1", _visible , "0");
setProperty("/p2", _visible , "0");
setProperty("/p5", _visible , "1");
}
if ((((_name eq "p1") and (getProperty("/p4", _visible) == "1")) and (getProperty("/p9", _visible) == "0")) and (_droptarget eq "/h9")) {
setProperty("/p1", _visible , "0");
setProperty("/p4", _visible , "0");
setProperty("/p9", _visible , "1");
}
if ((((_name eq "p2") and (getProperty("/p6", _visible) == "1")) and (getProperty("/p10", _visible) == "0")) and (_droptarget eq "/h10")) {
setProperty("/p2", _visible , "0");
setProperty("/p6", _visible , "0");
setProperty("/p10", _visible , "1");
}
if ((((_name eq "p2") and (getProperty("/p7", _visible) == "1")) and (getProperty("/p12", _visible) == "0")) and (_droptarget eq "/h12")) {
setProperty("/p2", _visible , "0");
setProperty("/p7", _visible , "0");
setProperty("/p12", _visible , "1");
}
if ((((_name eq "p2") and (getProperty("/p3", _visible) == "1")) and (getProperty("/p4", _visible) == "0")) and (_droptarget eq "/h4")) {
setProperty("/p2", _visible , "0");
setProperty("/p3", _visible , "0");
setProperty("/p4", _visible , "1");
}
if ((((_name eq "p3") and (getProperty("/p7", _visible) == "1")) and (getProperty("/p11", _visible) == "0")) and (_droptarget eq "/h11")) {
setProperty("/p3", _visible , "0");
setProperty("/p7", _visible , "0");
setProperty("/p11", _visible , "1");
}
if ((((_name eq "p4") and (getProperty("/p3", _visible) == "1")) and (getProperty("/p2", _visible) == "0")) and (_droptarget eq "/h2")) {
setProperty("/p4", _visible , "0");
setProperty("/p3", _visible , "0");
setProperty("/p2", _visible , "1");
}
if ((((_name eq "p4") and (getProperty("/p7", _visible) == "1")) and (getProperty("/p10", _visible) == "0")) and (_droptarget eq "/h10")) {
setProperty("/p4", _visible , "0");
setProperty("/p7", _visible , "0");
setProperty("/p10", _visible , "1");
}
if ((((_name eq "p4") and (getProperty("/p8", _visible) == "1")) and (getProperty("/p12", _visible) == "0")) and (_droptarget eq "/h12")) {
setProperty("/p4", _visible , "0");
setProperty("/p8", _visible , "0");
setProperty("/p12", _visible , "1");
}
if ((((_name eq "p5") and (getProperty("/p6", _visible) == "1")) and (getProperty("/p7", _visible) == "0")) and (_droptarget eq "/h7")) {
setProperty("/p5", _visible , "0");
setProperty("/p6", _visible , "0");
setProperty("/p7", _visible , "1");
}
if ((((_name eq "p5") and (getProperty("/p2", _visible) == "1")) and (getProperty("/p1", _visible) == "0")) and (_droptarget eq "/h1")) {
setProperty("/p5", _visible , "0");
setProperty("/p2", _visible , "0");
setProperty("/p1", _visible , "1");
}
if ((((_name eq "p5") and (getProperty("/p10", _visible) == "1")) and (getProperty("/p13", _visible) == "0")) and (_droptarget eq "/h13")) {
setProperty("/p5", _visible , "0");
setProperty("/p10", _visible , "0");
setProperty("/p13", _visible , "1");
}
if ((((_name eq "p6") and (getProperty("/p7", _visible) == "1")) and (getProperty("/p8", _visible) == "0")) and (_droptarget eq "/h8")) {
setProperty("/p6", _visible , "0");
setProperty("/p7", _visible , "0");
setProperty("/p8", _visible , "1");
}
if ((((_name eq "p7") and (getProperty("/p6", _visible) == "1")) and (getProperty("/p5", _visible) == "0")) and (_droptarget eq "/h5")) {
setProperty("/p7", _visible , "0");
setProperty("/p6", _visible , "0");
setProperty("/p5", _visible , "1");
}
if ((((_name eq "p7") and (getProperty("/p8", _visible) == "1")) and (getProperty("/p9", _visible) == "0")) and (_droptarget eq "/h9")) {
setProperty("/p7", _visible , "0");
setProperty("/p8", _visible , "0");
setProperty("/p9", _visible , "1");
}
if ((((_name eq "p7") and (getProperty("/p3", _visible) == "1")) and (getProperty("/p1", _visible) == "0")) and (_droptarget eq "/h1")) {
setProperty("/p7", _visible , "0");
setProperty("/p3", _visible , "0");
setProperty("/p1", _visible , "1");
}
if ((((_name eq "p7") and (getProperty("/p11", _visible) == "1")) and (getProperty("/p13", _visible) == "0")) and (_droptarget eq "/h13")) {
setProperty("/p7", _visible , "0");
setProperty("/p11", _visible , "0");
setProperty("/p13", _visible , "1");
}
if ((((_name eq "p8") and (getProperty("/p7", _visible) == "1")) and (getProperty("/p6", _visible) == "0")) and (_droptarget eq "/h6")) {
setProperty("/p8", _visible , "0");
setProperty("/p7", _visible , "0");
setProperty("/p6", _visible , "1");
}
if ((((_name eq "p9") and (getProperty("/p8", _visible) == "1")) and (getProperty("/p7", _visible) == "0")) and (_droptarget eq "/h7")) {
setProperty("/p9", _visible , "0");
setProperty("/p8", _visible , "0");
setProperty("/p7", _visible , "1");
}
if ((((_name eq "p9") and (getProperty("/p4", _visible) == "1")) and (getProperty("/p1", _visible) == "0")) and (_droptarget eq "/h1")) {
setProperty("/p9", _visible , "0");
setProperty("/p4", _visible , "0");
setProperty("/p1", _visible , "1");
}
if ((((_name eq "p9") and (getProperty("/p12", _visible) == "1")) and (getProperty("/p13", _visible) == "0")) and (_droptarget eq "/h13")) {
setProperty("/p9", _visible , "0");
setProperty("/p12", _visible , "0");
setProperty("/p13", _visible , "1");
}
if ((((_name eq "p10") and (getProperty("/p6", _visible) == "1")) and (getProperty("/p2", _visible) == "0")) and (_droptarget eq "/h2")) {
setProperty("/p10", _visible , "0");
setProperty("/p6", _visible , "0");
setProperty("/p2", _visible , "1");
}
if ((((_name eq "p10") and (getProperty("/p11", _visible) == "1")) and (getProperty("/p12", _visible) == "0")) and (_droptarget eq "/h12")) {
setProperty("/p10", _visible , "0");
setProperty("/p11", _visible , "0");
setProperty("/p12", _visible , "1");
}
if ((((_name eq "p10") and (getProperty("/p7", _visible) == "1")) and (getProperty("/p4", _visible) == "0")) and (_droptarget eq "/h4")) {
setProperty("/p10", _visible , "0");
setProperty("/p7", _visible , "0");
setProperty("/p4", _visible , "1");
}
if ((((_name eq "p11") and (getProperty("/p7", _visible) == "1")) and (getProperty("/p3", _visible) == "0")) and (_droptarget eq "/h3")) {
setProperty("/p11", _visible , "0");
setProperty("/p7", _visible , "0");
setProperty("/p3", _visible , "1");
}
if ((((_name eq "p12") and (getProperty("/p11", _visible) == "1")) and (getProperty("/p10", _visible) == "0")) and (_droptarget eq "/h10")) {
setProperty("/p12", _visible , "0");
setProperty("/p11", _visible , "0");
setProperty("/p10", _visible , "1");
}
if ((((_name eq "p12") and (getProperty("/p8", _visible) == "1")) and (getProperty("/p4", _visible) == "0")) and (_droptarget eq "/h4")) {
setProperty("/p12", _visible , "0");
setProperty("/p8", _visible , "0");
setProperty("/p4", _visible , "1");
}
if ((((_name eq "p12") and (getProperty("/p7", _visible) == "1")) and (getProperty("/p2", _visible) == "0")) and (_droptarget eq "/h2")) {
setProperty("/p12", _visible , "0");
setProperty("/p7", _visible , "0");
setProperty("/p2", _visible , "1");
}
if ((((_name eq "p13") and (getProperty("/p11", _visible) == "1")) and (getProperty("/p7", _visible) == "0")) and (_droptarget eq "/h7")) {
setProperty("/p13", _visible , "0");
setProperty("/p11", _visible , "0");
setProperty("/p7", _visible , "1");
}
if ((((_name eq "p13") and (getProperty("/p10", _visible) == "1")) and (getProperty("/p5", _visible) == "0")) and (_droptarget eq "/h5")) {
setProperty("/p13", _visible , "0");
setProperty("/p10", _visible , "0");
setProperty("/p5", _visible , "1");
}
if ((((_name eq "p13") and (getProperty("/p12", _visible) == "1")) and (getProperty("/p9", _visible) == "0")) and (_droptarget eq "/h9")) {
setProperty("/p13", _visible , "0");
setProperty("/p12", _visible , "0");
setProperty("/p9", _visible , "1");
}
count = "0";
loop = "0";
while ("13" >= loop) {
loop = loop + "1";
if (getProperty("/p" add loop, _visible) == "1") {
count = count + "1";
}
}
if (count == "1") {
tellTarget ("/") {
gotoAndStop ("win");
};
}
}
Symbol 54 MovieClip Frame 1
stop();
Symbol 54 MovieClip Frame 36
stop();
Symbol 55 Button
on (press) {
startDrag (getProperty(_x, _y));
OrgX = _x;
OrgY = _y;
}
on (release) {
stopDrag();
_y = OrgY;
_x = OrgX;
if ((((_name eq "p1") and (getProperty("/p3", _visible) == "1")) and (getProperty("/p7", _visible) == "0")) and (_droptarget eq "/h7")) {
setProperty("/p1", _visible , "0");
setProperty("/p3", _visible , "0");
setProperty("/p7", _visible , "1");
}
if ((((_name eq "p1") and (getProperty("/p2", _visible) == "1")) and (getProperty("/p5", _visible) == "0")) and (_droptarget eq "/h5")) {
setProperty("/p1", _visible , "0");
setProperty("/p2", _visible , "0");
setProperty("/p5", _visible , "1");
}
if ((((_name eq "p1") and (getProperty("/p4", _visible) == "1")) and (getProperty("/p9", _visible) == "0")) and (_droptarget eq "/h9")) {
setProperty("/p1", _visible , "0");
setProperty("/p4", _visible , "0");
setProperty("/p9", _visible , "1");
}
if ((((_name eq "p2") and (getProperty("/p6", _visible) == "1")) and (getProperty("/p10", _visible) == "0")) and (_droptarget eq "/h10")) {
setProperty("/p2", _visible , "0");
setProperty("/p6", _visible , "0");
setProperty("/p10", _visible , "1");
}
if ((((_name eq "p2") and (getProperty("/p7", _visible) == "1")) and (getProperty("/p12", _visible) == "0")) and (_droptarget eq "/h12")) {
setProperty("/p2", _visible , "0");
setProperty("/p7", _visible , "0");
setProperty("/p12", _visible , "1");
}
if ((((_name eq "p2") and (getProperty("/p3", _visible) == "1")) and (getProperty("/p4", _visible) == "0")) and (_droptarget eq "/h4")) {
setProperty("/p2", _visible , "0");
setProperty("/p3", _visible , "0");
setProperty("/p4", _visible , "1");
}
if ((((_name eq "p3") and (getProperty("/p7", _visible) == "1")) and (getProperty("/p11", _visible) == "0")) and (_droptarget eq "/h11")) {
setProperty("/p3", _visible , "0");
setProperty("/p7", _visible , "0");
setProperty("/p11", _visible , "1");
}
if ((((_name eq "p4") and (getProperty("/p3", _visible) == "1")) and (getProperty("/p2", _visible) == "0")) and (_droptarget eq "/h2")) {
setProperty("/p4", _visible , "0");
setProperty("/p3", _visible , "0");
setProperty("/p2", _visible , "1");
}
if ((((_name eq "p4") and (getProperty("/p7", _visible) == "1")) and (getProperty("/p10", _visible) == "0")) and (_droptarget eq "/h10")) {
setProperty("/p4", _visible , "0");
setProperty("/p7", _visible , "0");
setProperty("/p10", _visible , "1");
}
if ((((_name eq "p4") and (getProperty("/p8", _visible) == "1")) and (getProperty("/p12", _visible) == "0")) and (_droptarget eq "/h12")) {
setProperty("/p4", _visible , "0");
setProperty("/p8", _visible , "0");
setProperty("/p12", _visible , "1");
}
if ((((_name eq "p5") and (getProperty("/p6", _visible) == "1")) and (getProperty("/p7", _visible) == "0")) and (_droptarget eq "/h7")) {
setProperty("/p5", _visible , "0");
setProperty("/p6", _visible , "0");
setProperty("/p7", _visible , "1");
}
if ((((_name eq "p5") and (getProperty("/p2", _visible) == "1")) and (getProperty("/p1", _visible) == "0")) and (_droptarget eq "/h1")) {
setProperty("/p5", _visible , "0");
setProperty("/p2", _visible , "0");
setProperty("/p1", _visible , "1");
}
if ((((_name eq "p5") and (getProperty("/p10", _visible) == "1")) and (getProperty("/p13", _visible) == "0")) and (_droptarget eq "/h13")) {
setProperty("/p5", _visible , "0");
setProperty("/p10", _visible , "0");
setProperty("/p13", _visible , "1");
}
if ((((_name eq "p6") and (getProperty("/p7", _visible) == "1")) and (getProperty("/p8", _visible) == "0")) and (_droptarget eq "/h8")) {
setProperty("/p6", _visible , "0");
setProperty("/p7", _visible , "0");
setProperty("/p8", _visible , "1");
}
if ((((_name eq "p7") and (getProperty("/p6", _visible) == "1")) and (getProperty("/p5", _visible) == "0")) and (_droptarget eq "/h5")) {
setProperty("/p7", _visible , "0");
setProperty("/p6", _visible , "0");
setProperty("/p5", _visible , "1");
}
if ((((_name eq "p7") and (getProperty("/p8", _visible) == "1")) and (getProperty("/p9", _visible) == "0")) and (_droptarget eq "/h9")) {
setProperty("/p7", _visible , "0");
setProperty("/p8", _visible , "0");
setProperty("/p9", _visible , "1");
}
if ((((_name eq "p7") and (getProperty("/p3", _visible) == "1")) and (getProperty("/p1", _visible) == "0")) and (_droptarget eq "/h1")) {
setProperty("/p7", _visible , "0");
setProperty("/p3", _visible , "0");
setProperty("/p1", _visible , "1");
}
if ((((_name eq "p7") and (getProperty("/p11", _visible) == "1")) and (getProperty("/p13", _visible) == "0")) and (_droptarget eq "/h13")) {
setProperty("/p7", _visible , "0");
setProperty("/p11", _visible , "0");
setProperty("/p13", _visible , "1");
}
if ((((_name eq "p8") and (getProperty("/p7", _visible) == "1")) and (getProperty("/p6", _visible) == "0")) and (_droptarget eq "/h6")) {
setProperty("/p8", _visible , "0");
setProperty("/p7", _visible , "0");
setProperty("/p6", _visible , "1");
}
if ((((_name eq "p9") and (getProperty("/p8", _visible) == "1")) and (getProperty("/p7", _visible) == "0")) and (_droptarget eq "/h7")) {
setProperty("/p9", _visible , "0");
setProperty("/p8", _visible , "0");
setProperty("/p7", _visible , "1");
}
if ((((_name eq "p9") and (getProperty("/p4", _visible) == "1")) and (getProperty("/p1", _visible) == "0")) and (_droptarget eq "/h1")) {
setProperty("/p9", _visible , "0");
setProperty("/p4", _visible , "0");
setProperty("/p1", _visible , "1");
}
if ((((_name eq "p9") and (getProperty("/p12", _visible) == "1")) and (getProperty("/p13", _visible) == "0")) and (_droptarget eq "/h13")) {
setProperty("/p9", _visible , "0");
setProperty("/p12", _visible , "0");
setProperty("/p13", _visible , "1");
}
if ((((_name eq "p10") and (getProperty("/p6", _visible) == "1")) and (getProperty("/p2", _visible) == "0")) and (_droptarget eq "/h2")) {
setProperty("/p10", _visible , "0");
setProperty("/p6", _visible , "0");
setProperty("/p2", _visible , "1");
}
if ((((_name eq "p10") and (getProperty("/p11", _visible) == "1")) and (getProperty("/p12", _visible) == "0")) and (_droptarget eq "/h12")) {
setProperty("/p10", _visible , "0");
setProperty("/p11", _visible , "0");
setProperty("/p12", _visible , "1");
}
if ((((_name eq "p10") and (getProperty("/p7", _visible) == "1")) and (getProperty("/p4", _visible) == "0")) and (_droptarget eq "/h4")) {
setProperty("/p10", _visible , "0");
setProperty("/p7", _visible , "0");
setProperty("/p4", _visible , "1");
}
if ((((_name eq "p11") and (getProperty("/p7", _visible) == "1")) and (getProperty("/p3", _visible) == "0")) and (_droptarget eq "/h3")) {
setProperty("/p11", _visible , "0");
setProperty("/p7", _visible , "0");
setProperty("/p3", _visible , "1");
}
if ((((_name eq "p12") and (getProperty("/p11", _visible) == "1")) and (getProperty("/p10", _visible) == "0")) and (_droptarget eq "/h10")) {
setProperty("/p12", _visible , "0");
setProperty("/p11", _visible , "0");
setProperty("/p10", _visible , "1");
}
if ((((_name eq "p12") and (getProperty("/p8", _visible) == "1")) and (getProperty("/p4", _visible) == "0")) and (_droptarget eq "/h4")) {
setProperty("/p12", _visible , "0");
setProperty("/p8", _visible , "0");
setProperty("/p4", _visible , "1");
}
if ((((_name eq "p12") and (getProperty("/p7", _visible) == "1")) and (getProperty("/p2", _visible) == "0")) and (_droptarget eq "/h2")) {
setProperty("/p12", _visible , "0");
setProperty("/p7", _visible , "0");
setProperty("/p2", _visible , "1");
}
if ((((_name eq "p13") and (getProperty("/p11", _visible) == "1")) and (getProperty("/p7", _visible) == "0")) and (_droptarget eq "/h7")) {
setProperty("/p13", _visible , "0");
setProperty("/p11", _visible , "0");
setProperty("/p7", _visible , "1");
}
if ((((_name eq "p13") and (getProperty("/p10", _visible) == "1")) and (getProperty("/p5", _visible) == "0")) and (_droptarget eq "/h5")) {
setProperty("/p13", _visible , "0");
setProperty("/p10", _visible , "0");
setProperty("/p5", _visible , "1");
}
if ((((_name eq "p13") and (getProperty("/p12", _visible) == "1")) and (getProperty("/p9", _visible) == "0")) and (_droptarget eq "/h9")) {
setProperty("/p13", _visible , "0");
setProperty("/p12", _visible , "0");
setProperty("/p9", _visible , "1");
}
count = "0";
loop = "0";
while ("13" >= loop) {
loop = loop + "1";
if (getProperty("/p" add loop, _visible) == "1") {
count = count + "1";
}
}
if (count == "1") {
tellTarget ("/") {
gotoAndStop ("win");
};
}
}
Symbol 60 MovieClip Frame 1
stop();
Symbol 60 MovieClip Frame 60
stop();