Frame 1
bytes_loaded = Math.round(this.getBytesLoaded());
bytes_total = Math.round(this.getBytesTotal());
getPercent = bytes_loaded / bytes_total;
this.loadBar._width = getPercent * 100;
this.loadText = Math.round(getPercent * 100) + "%";
if (bytes_loaded == bytes_total) {
this.gotoAndStop(3);
}
Frame 2
this.gotoAndPlay(1);
Frame 27
stop();
Frame 28
stop();
Frame 29
my_sound = new Sound();
my_sound.attachSound("song");
play();
setProperty("/p1", _visible , "0");
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 , "1");
setProperty("/p12", _visible , "1");
setProperty("/p13", _visible , "1");
setProperty("/p14", _visible , "1");
setProperty("/p15", _visible , "1");
Frame 30
Loses = GamesPlayed - WinCounter;
GamesPlayed = GamesPlayed + 1;
stop();
Frame 31
WinCounter = WinCounter + 1;
stop();
stop();
Frame 39
my_sound = new Sound();
my_sound.attachSound("song");
play();
setProperty("/p1", _visible , "1");
setProperty("/p2", _visible , "0");
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 , "1");
setProperty("/p12", _visible , "1");
setProperty("/p13", _visible , "1");
setProperty("/p14", _visible , "1");
setProperty("/p15", _visible , "1");
Frame 40
Loses = GamesPlayed - WinCounter;
GamesPlayed = GamesPlayed + 1;
stop();
Frame 41
WinCounter = WinCounter + 1;
stop();
stop();
Frame 49
my_sound = new Sound();
my_sound.attachSound("song");
play();
setProperty("/p1", _visible , "1");
setProperty("/p2", _visible , "1");
setProperty("/p3", _visible , "0");
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 , "1");
setProperty("/p12", _visible , "1");
setProperty("/p13", _visible , "1");
setProperty("/p14", _visible , "1");
setProperty("/p15", _visible , "1");
Frame 50
Loses = GamesPlayed - WinCounter;
GamesPlayed = GamesPlayed + 1;
stop();
Frame 51
WinCounter = WinCounter + 1;
stop();
stop();
Frame 59
my_sound = new Sound();
my_sound.attachSound("song");
play();
setProperty("/p1", _visible , "1");
setProperty("/p2", _visible , "1");
setProperty("/p3", _visible , "1");
setProperty("/p4", _visible , "0");
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 , "1");
setProperty("/p12", _visible , "1");
setProperty("/p13", _visible , "1");
setProperty("/p14", _visible , "1");
setProperty("/p15", _visible , "1");
Frame 60
Loses = GamesPlayed - WinCounter;
GamesPlayed = GamesPlayed + 1;
stop();
Frame 61
WinCounter = WinCounter + 1;
stop();
stop();
Frame 69
my_sound = new Sound();
my_sound.attachSound("song");
play();
setProperty("/p1", _visible , "1");
setProperty("/p2", _visible , "1");
setProperty("/p3", _visible , "1");
setProperty("/p4", _visible , "1");
setProperty("/p5", _visible , "0");
setProperty("/p6", _visible , "1");
setProperty("/p7", _visible , "1");
setProperty("/p8", _visible , "1");
setProperty("/p9", _visible , "1");
setProperty("/p10", _visible , "1");
setProperty("/p11", _visible , "1");
setProperty("/p12", _visible , "1");
setProperty("/p13", _visible , "1");
setProperty("/p14", _visible , "1");
setProperty("/p15", _visible , "1");
Frame 70
Loses = GamesPlayed - WinCounter;
GamesPlayed = GamesPlayed + 1;
stop();
Frame 71
WinCounter = WinCounter + 1;
stop();
stop();
Frame 79
my_sound = new Sound();
my_sound.attachSound("song");
play();
setProperty("/p1", _visible , "1");
setProperty("/p2", _visible , "1");
setProperty("/p3", _visible , "1");
setProperty("/p4", _visible , "1");
setProperty("/p5", _visible , "1");
setProperty("/p6", _visible , "0");
setProperty("/p7", _visible , "1");
setProperty("/p8", _visible , "1");
setProperty("/p9", _visible , "1");
setProperty("/p10", _visible , "1");
setProperty("/p11", _visible , "1");
setProperty("/p12", _visible , "1");
setProperty("/p13", _visible , "1");
setProperty("/p14", _visible , "1");
setProperty("/p15", _visible , "1");
Frame 80
Loses = GamesPlayed - WinCounter;
GamesPlayed = GamesPlayed + 1;
stop();
Frame 81
WinCounter = WinCounter + 1;
stop();
stop();
Frame 89
my_sound = new Sound();
my_sound.attachSound("song");
play();
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 , "0");
setProperty("/p8", _visible , "1");
setProperty("/p9", _visible , "1");
setProperty("/p10", _visible , "1");
setProperty("/p11", _visible , "1");
setProperty("/p12", _visible , "1");
setProperty("/p13", _visible , "1");
setProperty("/p14", _visible , "1");
setProperty("/p15", _visible , "1");
Frame 90
Loses = GamesPlayed - WinCounter;
GamesPlayed = GamesPlayed + 1;
stop();
Frame 91
WinCounter = WinCounter + 1;
stop();
stop();
Frame 99
my_sound = new Sound();
my_sound.attachSound("song");
play();
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 , "0");
setProperty("/p9", _visible , "1");
setProperty("/p10", _visible , "1");
setProperty("/p11", _visible , "1");
setProperty("/p12", _visible , "1");
setProperty("/p13", _visible , "1");
setProperty("/p14", _visible , "1");
setProperty("/p15", _visible , "1");
Frame 100
Loses = GamesPlayed - WinCounter;
GamesPlayed = GamesPlayed + 1;
stop();
Frame 101
WinCounter = WinCounter + 1;
stop();
stop();
Frame 109
my_sound = new Sound();
my_sound.attachSound("song");
play();
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 , "0");
setProperty("/p10", _visible , "1");
setProperty("/p11", _visible , "1");
setProperty("/p12", _visible , "1");
setProperty("/p13", _visible , "1");
setProperty("/p14", _visible , "1");
setProperty("/p15", _visible , "1");
Frame 110
Loses = GamesPlayed - WinCounter;
GamesPlayed = GamesPlayed + 1;
stop();
Frame 111
WinCounter = WinCounter + 1;
stop();
stop();
Frame 119
my_sound = new Sound();
my_sound.attachSound("song");
play();
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 , "0");
setProperty("/p11", _visible , "1");
setProperty("/p12", _visible , "1");
setProperty("/p13", _visible , "1");
setProperty("/p14", _visible , "1");
setProperty("/p15", _visible , "1");
Frame 120
Loses = GamesPlayed - WinCounter;
GamesPlayed = GamesPlayed + 1;
stop();
Frame 121
WinCounter = WinCounter + 1;
stop();
stop();
Frame 129
my_sound = new Sound();
my_sound.attachSound("song");
play();
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 , "1");
setProperty("/p14", _visible , "1");
setProperty("/p15", _visible , "1");
Frame 130
Loses = GamesPlayed - WinCounter;
GamesPlayed = GamesPlayed + 1;
stop();
Frame 131
WinCounter = WinCounter + 1;
stop();
stop();
Frame 139
my_sound = new Sound();
my_sound.attachSound("song");
play();
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 , "1");
setProperty("/p12", _visible , "0");
setProperty("/p13", _visible , "1");
setProperty("/p14", _visible , "1");
setProperty("/p15", _visible , "1");
Frame 140
Loses = GamesPlayed - WinCounter;
GamesPlayed = GamesPlayed + 1;
stop();
Frame 141
WinCounter = WinCounter + 1;
stop();
stop();
Frame 149
my_sound = new Sound();
my_sound.attachSound("song");
play();
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 , "1");
setProperty("/p12", _visible , "1");
setProperty("/p13", _visible , "0");
setProperty("/p14", _visible , "1");
setProperty("/p15", _visible , "1");
Frame 150
Loses = GamesPlayed - WinCounter;
GamesPlayed = GamesPlayed + 1;
stop();
Frame 151
WinCounter = WinCounter + 1;
stop();
stop();
Frame 159
my_sound = new Sound();
my_sound.attachSound("song");
play();
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 , "1");
setProperty("/p12", _visible , "1");
setProperty("/p13", _visible , "1");
setProperty("/p14", _visible , "0");
setProperty("/p15", _visible , "1");
Frame 160
Loses = GamesPlayed - WinCounter;
GamesPlayed = GamesPlayed + 1;
stop();
Frame 161
WinCounter = WinCounter + 1;
stop();
stop();
Frame 169
my_sound = new Sound();
my_sound.attachSound("song");
play();
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 , "1");
setProperty("/p12", _visible , "1");
setProperty("/p13", _visible , "1");
setProperty("/p14", _visible , "1");
setProperty("/p15", _visible , "0");
Frame 170
Loses = GamesPlayed - WinCounter;
GamesPlayed = GamesPlayed + 1;
stop();
Frame 171
WinCounter = WinCounter + 1;
stop();
stop();
Symbol 16 Button
on (release) {
gotoAndPlay (4);
}
Symbol 32 Button
on (release) {
gotoAndStop (28);
}
Symbol 34 Button
on (release) {
gotoAndPlay (169);
}
Symbol 35 Button
on (release) {
gotoAndPlay (159);
}
Symbol 36 Button
on (release) {
gotoAndPlay (149);
}
Symbol 37 Button
on (release) {
gotoAndPlay (139);
}
Symbol 38 Button
on (release) {
gotoAndPlay (129);
}
Symbol 39 Button
on (release) {
gotoAndPlay (119);
}
Symbol 40 Button
on (release) {
gotoAndPlay (109);
}
Symbol 41 Button
on (release) {
gotoAndPlay (99);
}
Symbol 42 Button
on (release) {
gotoAndPlay (89);
}
Symbol 43 Button
on (release) {
gotoAndPlay (79);
}
Symbol 44 Button
on (release) {
gotoAndPlay (69);
}
Symbol 45 Button
on (release) {
gotoAndPlay (59);
}
Symbol 46 Button
on (release) {
gotoAndPlay (49);
}
Symbol 47 Button
on (release) {
gotoAndPlay (39);
}
Symbol 48 Button
on (release) {
gotoAndPlay (29);
}
Symbol 51 Button
on (release) {
gotoAndPlay (4);
}
Symbol 68 MovieClip Frame 1
stop();
Symbol 84 Button
on (release) {
_root.my_sound.stop();
}
Symbol 87 Button
on (release) {
_root.my_sound.start(0, 1000);
}
Symbol 107 MovieClip Frame 1
stop();
Symbol 111 Button
on (press) {
startDrag (getProperty(_x, _y));
OrgX = _x;
OrgY = _y;
}
on (release) {
stopDrag();
_y = OrgY;
_x = OrgX;
if ((((_name eq "p1") and (Number(getProperty("/p2", _visible)) == 1)) and (Number(getProperty("/p4", _visible)) == 0)) and (_droptarget eq "/h4")) {
setProperty("/p1", _visible , "0");
setProperty("/p2", _visible , "0");
setProperty("/p4", _visible , "1");
}
if ((((_name eq "p1") and (Number(getProperty("/p3", _visible)) == 1)) and (Number(getProperty("/p6", _visible)) == 0)) and (_droptarget eq "/h6")) {
setProperty("/p1", _visible , "0");
setProperty("/p3", _visible , "0");
setProperty("/p6", _visible , "1");
}
if ((((_name eq "p2") and (Number(getProperty("/p4", _visible)) == 1)) and (Number(getProperty("/p7", _visible)) == 0)) and (_droptarget eq "/h7")) {
setProperty("/p2", _visible , "0");
setProperty("/p4", _visible , "0");
setProperty("/p7", _visible , "1");
}
if ((((_name eq "p2") and (Number(getProperty("/p5", _visible)) == 1)) and (Number(getProperty("/p9", _visible)) == 0)) and (_droptarget eq "/h9")) {
setProperty("/p2", _visible , "0");
setProperty("/p5", _visible , "0");
setProperty("/p9", _visible , "1");
}
if ((((_name eq "p3") and (Number(getProperty("/p5", _visible)) == 1)) and (Number(getProperty("/p8", _visible)) == 0)) and (_droptarget eq "/h8")) {
setProperty("/p3", _visible , "0");
setProperty("/p5", _visible , "0");
setProperty("/p8", _visible , "1");
}
if ((((_name eq "p3") and (Number(getProperty("/p6", _visible)) == 1)) and (Number(getProperty("/p10", _visible)) == 0)) and (_droptarget eq "/h10")) {
setProperty("/p3", _visible , "0");
setProperty("/p6", _visible , "0");
setProperty("/p10", _visible , "1");
}
if ((((_name eq "p4") and (Number(getProperty("/p2", _visible)) == 1)) and (Number(getProperty("/p1", _visible)) == 0)) and (_droptarget eq "/h1")) {
setProperty("/p4", _visible , "0");
setProperty("/p2", _visible , "0");
setProperty("/p1", _visible , "1");
}
if ((((_name eq "p4") and (Number(getProperty("/p5", _visible)) == 1)) and (Number(getProperty("/p6", _visible)) == 0)) and (_droptarget eq "/h6")) {
setProperty("/p4", _visible , "0");
setProperty("/p5", _visible , "0");
setProperty("/p6", _visible , "1");
}
if ((((_name eq "p4") and (Number(getProperty("/p7", _visible)) == 1)) and (Number(getProperty("/p11", _visible)) == 0)) and (_droptarget eq "/h11")) {
setProperty("/p4", _visible , "0");
setProperty("/p7", _visible , "0");
setProperty("/p11", _visible , "1");
}
if ((((_name eq "p4") and (Number(getProperty("/p8", _visible)) == 1)) and (Number(getProperty("/p13", _visible)) == 0)) and (_droptarget eq "/h13")) {
setProperty("/p4", _visible , "0");
setProperty("/p8", _visible , "0");
setProperty("/p13", _visible , "1");
}
if ((((_name eq "p5") and (Number(getProperty("/p8", _visible)) == 1)) and (Number(getProperty("/p12", _visible)) == 0)) and (_droptarget eq "/h12")) {
setProperty("/p5", _visible , "0");
setProperty("/p8", _visible , "0");
setProperty("/p12", _visible , "1");
}
if ((((_name eq "p5") and (Number(getProperty("/p9", _visible)) == 1)) and (Number(getProperty("/p14", _visible)) == 0)) and (_droptarget eq "/h14")) {
setProperty("/p5", _visible , "0");
setProperty("/p9", _visible , "0");
setProperty("/p14", _visible , "1");
}
if ((((_name eq "p6") and (Number(getProperty("/p3", _visible)) == 1)) and (Number(getProperty("/p1", _visible)) == 0)) and (_droptarget eq "/h1")) {
setProperty("/p6", _visible , "0");
setProperty("/p3", _visible , "0");
setProperty("/p1", _visible , "1");
}
if ((((_name eq "p6") and (Number(getProperty("/p5", _visible)) == 1)) and (Number(getProperty("/p4", _visible)) == 0)) and (_droptarget eq "/h4")) {
setProperty("/p6", _visible , "0");
setProperty("/p5", _visible , "0");
setProperty("/p4", _visible , "1");
}
if ((((_name eq "p6") and (Number(getProperty("/p9", _visible)) == 1)) and (Number(getProperty("/p13", _visible)) == 0)) and (_droptarget eq "/h13")) {
setProperty("/p6", _visible , "0");
setProperty("/p9", _visible , "0");
setProperty("/p13", _visible , "1");
}
if ((((_name eq "p6") and (Number(getProperty("/p10", _visible)) == 1)) and (Number(getProperty("/p15", _visible)) == 0)) and (_droptarget eq "/h15")) {
setProperty("/p6", _visible , "0");
setProperty("/p10", _visible , "0");
setProperty("/p15", _visible , "1");
}
if ((((_name eq "p7") and (Number(getProperty("/p4", _visible)) == 1)) and (Number(getProperty("/p2", _visible)) == 0)) and (_droptarget eq "/h2")) {
setProperty("/p7", _visible , "0");
setProperty("/p4", _visible , "0");
setProperty("/p2", _visible , "1");
}
if ((((_name eq "p7") and (Number(getProperty("/p8", _visible)) == 1)) and (Number(getProperty("/p9", _visible)) == 0)) and (_droptarget eq "/h9")) {
setProperty("/p7", _visible , "0");
setProperty("/p8", _visible , "0");
setProperty("/p9", _visible , "1");
}
if ((((_name eq "p8") and (Number(getProperty("/p5", _visible)) == 1)) and (Number(getProperty("/p3", _visible)) == 0)) and (_droptarget eq "/h3")) {
setProperty("/p8", _visible , "0");
setProperty("/p5", _visible , "0");
setProperty("/p3", _visible , "1");
}
if ((((_name eq "p8") and (Number(getProperty("/p9", _visible)) == 1)) and (Number(getProperty("/p10", _visible)) == 0)) and (_droptarget eq "/h10")) {
setProperty("/p8", _visible , "0");
setProperty("/p9", _visible , "0");
setProperty("/p10", _visible , "1");
}
if ((((_name eq "p9") and (Number(getProperty("/p5", _visible)) == 1)) and (Number(getProperty("/p2", _visible)) == 0)) and (_droptarget eq "/h2")) {
setProperty("/p9", _visible , "0");
setProperty("/p5", _visible , "0");
setProperty("/p2", _visible , "1");
}
if ((((_name eq "p9") and (Number(getProperty("/p8", _visible)) == 1)) and (Number(getProperty("/p7", _visible)) == 0)) and (_droptarget eq "/h7")) {
setProperty("/p9", _visible , "0");
setProperty("/p8", _visible , "0");
setProperty("/p7", _visible , "1");
}
if ((((_name eq "p10") and (Number(getProperty("/p6", _visible)) == 1)) and (Number(getProperty("/p3", _visible)) == 0)) and (_droptarget eq "/h3")) {
setProperty("/p10", _visible , "0");
setProperty("/p6", _visible , "0");
setProperty("/p3", _visible , "1");
}
if ((((_name eq "p10") and (Number(getProperty("/p9", _visible)) == 1)) and (Number(getProperty("/p8", _visible)) == 0)) and (_droptarget eq "/h8")) {
setProperty("/p10", _visible , "0");
setProperty("/p9", _visible , "0");
setProperty("/p8", _visible , "1");
}
if ((((_name eq "p11") and (Number(getProperty("/p7", _visible)) == 1)) and (Number(getProperty("/p4", _visible)) == 0)) and (_droptarget eq "/h4")) {
setProperty("/p11", _visible , "0");
setProperty("/p7", _visible , "0");
setProperty("/p4", _visible , "1");
}
if ((((_name eq "p11") and (Number(getProperty("/p12", _visible)) == 1)) and (Number(getProperty("/p13", _visible)) == 0)) and (_droptarget eq "/h13")) {
setProperty("/p11", _visible , "0");
setProperty("/p12", _visible , "0");
setProperty("/p13", _visible , "1");
}
if ((((_name eq "p12") and (Number(getProperty("/p8", _visible)) == 1)) and (Number(getProperty("/p5", _visible)) == 0)) and (_droptarget eq "/h5")) {
setProperty("/p12", _visible , "0");
setProperty("/p8", _visible , "0");
setProperty("/p5", _visible , "1");
}
if ((((_name eq "p12") and (Number(getProperty("/p13", _visible)) == 1)) and (Number(getProperty("/p14", _visible)) == 0)) and (_droptarget eq "/h14")) {
setProperty("/p12", _visible , "0");
setProperty("/p13", _visible , "0");
setProperty("/p14", _visible , "1");
}
if ((((_name eq "p13") and (Number(getProperty("/p12", _visible)) == 1)) and (Number(getProperty("/p11", _visible)) == 0)) and (_droptarget eq "/h11")) {
setProperty("/p13", _visible , "0");
setProperty("/p12", _visible , "0");
setProperty("/p11", _visible , "1");
}
if ((((_name eq "p13") and (Number(getProperty("/p8", _visible)) == 1)) and (Number(getProperty("/p4", _visible)) == 0)) and (_droptarget eq "/h4")) {
setProperty("/p13", _visible , "0");
setProperty("/p8", _visible , "0");
setProperty("/p4", _visible , "1");
}
if ((((_name eq "p13") and (Number(getProperty("/p9", _visible)) == 1)) and (Number(getProperty("/p6", _visible)) == 0)) and (_droptarget eq "/h6")) {
setProperty("/p13", _visible , "0");
setProperty("/p9", _visible , "0");
setProperty("/p6", _visible , "1");
}
if ((((_name eq "p13") and (Number(getProperty("/p14", _visible)) == 1)) and (Number(getProperty("/p15", _visible)) == 0)) and (_droptarget eq "/h15")) {
setProperty("/p13", _visible , "0");
setProperty("/p14", _visible , "0");
setProperty("/p15", _visible , "1");
}
if ((((_name eq "p14") and (Number(getProperty("/p13", _visible)) == 1)) and (Number(getProperty("/p12", _visible)) == 0)) and (_droptarget eq "/h12")) {
setProperty("/p14", _visible , "0");
setProperty("/p13", _visible , "0");
setProperty("/p12", _visible , "1");
}
if ((((_name eq "p14") and (Number(getProperty("/p9", _visible)) == 1)) and (Number(getProperty("/p5", _visible)) == 0)) and (_droptarget eq "/h5")) {
setProperty("/p14", _visible , "0");
setProperty("/p9", _visible , "0");
setProperty("/p5", _visible , "1");
}
if ((((_name eq "p15") and (Number(getProperty("/p14", _visible)) == 1)) and (Number(getProperty("/p13", _visible)) == 0)) and (_droptarget eq "/h13")) {
setProperty("/p15", _visible , "0");
setProperty("/p14", _visible , "0");
setProperty("/p13", _visible , "1");
}
if ((((_name eq "p15") and (Number(getProperty("/p10", _visible)) == 1)) and (Number(getProperty("/p6", _visible)) == 0)) and (_droptarget eq "/h6")) {
setProperty("/p15", _visible , "0");
setProperty("/p10", _visible , "0");
setProperty("/p6", _visible , "1");
}
count = 0;
loop = 0;
while (Number(loop) <= 15) {
loop = Number(loop) + 1;
if (getProperty("/p" add loop, _visible) == 1) {
count = Number(count) + 1;
}
}
if (Number(count) == 1) {
tellTarget ("/") {
gotoAndStop ("win1");
};
}
}
Symbol 114 Button
on (release) {
gotoAndPlay (29);
}
Symbol 118 Button
on (release) {
gotoAndStop (28);
}
Symbol 133 Button
on (press) {
startDrag (getProperty(_x, _y));
OrgX = _x;
OrgY = _y;
}
on (release) {
stopDrag();
_y = OrgY;
_x = OrgX;
if ((((_name eq "p1") and (Number(getProperty("/p2", _visible)) == 1)) and (Number(getProperty("/p4", _visible)) == 0)) and (_droptarget eq "/h4")) {
setProperty("/p1", _visible , "0");
setProperty("/p2", _visible , "0");
setProperty("/p4", _visible , "1");
}
if ((((_name eq "p1") and (Number(getProperty("/p3", _visible)) == 1)) and (Number(getProperty("/p6", _visible)) == 0)) and (_droptarget eq "/h6")) {
setProperty("/p1", _visible , "0");
setProperty("/p3", _visible , "0");
setProperty("/p6", _visible , "1");
}
if ((((_name eq "p2") and (Number(getProperty("/p4", _visible)) == 1)) and (Number(getProperty("/p7", _visible)) == 0)) and (_droptarget eq "/h7")) {
setProperty("/p2", _visible , "0");
setProperty("/p4", _visible , "0");
setProperty("/p7", _visible , "1");
}
if ((((_name eq "p2") and (Number(getProperty("/p5", _visible)) == 1)) and (Number(getProperty("/p9", _visible)) == 0)) and (_droptarget eq "/h9")) {
setProperty("/p2", _visible , "0");
setProperty("/p5", _visible , "0");
setProperty("/p9", _visible , "1");
}
if ((((_name eq "p3") and (Number(getProperty("/p5", _visible)) == 1)) and (Number(getProperty("/p8", _visible)) == 0)) and (_droptarget eq "/h8")) {
setProperty("/p3", _visible , "0");
setProperty("/p5", _visible , "0");
setProperty("/p8", _visible , "1");
}
if ((((_name eq "p3") and (Number(getProperty("/p6", _visible)) == 1)) and (Number(getProperty("/p10", _visible)) == 0)) and (_droptarget eq "/h10")) {
setProperty("/p3", _visible , "0");
setProperty("/p6", _visible , "0");
setProperty("/p10", _visible , "1");
}
if ((((_name eq "p4") and (Number(getProperty("/p2", _visible)) == 1)) and (Number(getProperty("/p1", _visible)) == 0)) and (_droptarget eq "/h1")) {
setProperty("/p4", _visible , "0");
setProperty("/p2", _visible , "0");
setProperty("/p1", _visible , "1");
}
if ((((_name eq "p4") and (Number(getProperty("/p5", _visible)) == 1)) and (Number(getProperty("/p6", _visible)) == 0)) and (_droptarget eq "/h6")) {
setProperty("/p4", _visible , "0");
setProperty("/p5", _visible , "0");
setProperty("/p6", _visible , "1");
}
if ((((_name eq "p4") and (Number(getProperty("/p7", _visible)) == 1)) and (Number(getProperty("/p11", _visible)) == 0)) and (_droptarget eq "/h11")) {
setProperty("/p4", _visible , "0");
setProperty("/p7", _visible , "0");
setProperty("/p11", _visible , "1");
}
if ((((_name eq "p4") and (Number(getProperty("/p8", _visible)) == 1)) and (Number(getProperty("/p13", _visible)) == 0)) and (_droptarget eq "/h13")) {
setProperty("/p4", _visible , "0");
setProperty("/p8", _visible , "0");
setProperty("/p13", _visible , "1");
}
if ((((_name eq "p5") and (Number(getProperty("/p8", _visible)) == 1)) and (Number(getProperty("/p12", _visible)) == 0)) and (_droptarget eq "/h12")) {
setProperty("/p5", _visible , "0");
setProperty("/p8", _visible , "0");
setProperty("/p12", _visible , "1");
}
if ((((_name eq "p5") and (Number(getProperty("/p9", _visible)) == 1)) and (Number(getProperty("/p14", _visible)) == 0)) and (_droptarget eq "/h14")) {
setProperty("/p5", _visible , "0");
setProperty("/p9", _visible , "0");
setProperty("/p14", _visible , "1");
}
if ((((_name eq "p6") and (Number(getProperty("/p3", _visible)) == 1)) and (Number(getProperty("/p1", _visible)) == 0)) and (_droptarget eq "/h1")) {
setProperty("/p6", _visible , "0");
setProperty("/p3", _visible , "0");
setProperty("/p1", _visible , "1");
}
if ((((_name eq "p6") and (Number(getProperty("/p5", _visible)) == 1)) and (Number(getProperty("/p4", _visible)) == 0)) and (_droptarget eq "/h4")) {
setProperty("/p6", _visible , "0");
setProperty("/p5", _visible , "0");
setProperty("/p4", _visible , "1");
}
if ((((_name eq "p6") and (Number(getProperty("/p9", _visible)) == 1)) and (Number(getProperty("/p13", _visible)) == 0)) and (_droptarget eq "/h13")) {
setProperty("/p6", _visible , "0");
setProperty("/p9", _visible , "0");
setProperty("/p13", _visible , "1");
}
if ((((_name eq "p6") and (Number(getProperty("/p10", _visible)) == 1)) and (Number(getProperty("/p15", _visible)) == 0)) and (_droptarget eq "/h15")) {
setProperty("/p6", _visible , "0");
setProperty("/p10", _visible , "0");
setProperty("/p15", _visible , "1");
}
if ((((_name eq "p7") and (Number(getProperty("/p4", _visible)) == 1)) and (Number(getProperty("/p2", _visible)) == 0)) and (_droptarget eq "/h2")) {
setProperty("/p7", _visible , "0");
setProperty("/p4", _visible , "0");
setProperty("/p2", _visible , "1");
}
if ((((_name eq "p7") and (Number(getProperty("/p8", _visible)) == 1)) and (Number(getProperty("/p9", _visible)) == 0)) and (_droptarget eq "/h9")) {
setProperty("/p7", _visible , "0");
setProperty("/p8", _visible , "0");
setProperty("/p9", _visible , "1");
}
if ((((_name eq "p8") and (Number(getProperty("/p5", _visible)) == 1)) and (Number(getProperty("/p3", _visible)) == 0)) and (_droptarget eq "/h3")) {
setProperty("/p8", _visible , "0");
setProperty("/p5", _visible , "0");
setProperty("/p3", _visible , "1");
}
if ((((_name eq "p8") and (Number(getProperty("/p9", _visible)) == 1)) and (Number(getProperty("/p10", _visible)) == 0)) and (_droptarget eq "/h10")) {
setProperty("/p8", _visible , "0");
setProperty("/p9", _visible , "0");
setProperty("/p10", _visible , "1");
}
if ((((_name eq "p9") and (Number(getProperty("/p5", _visible)) == 1)) and (Number(getProperty("/p2", _visible)) == 0)) and (_droptarget eq "/h2")) {
setProperty("/p9", _visible , "0");
setProperty("/p5", _visible , "0");
setProperty("/p2", _visible , "1");
}
if ((((_name eq "p9") and (Number(getProperty("/p8", _visible)) == 1)) and (Number(getProperty("/p7", _visible)) == 0)) and (_droptarget eq "/h7")) {
setProperty("/p9", _visible , "0");
setProperty("/p8", _visible , "0");
setProperty("/p7", _visible , "1");
}
if ((((_name eq "p10") and (Number(getProperty("/p6", _visible)) == 1)) and (Number(getProperty("/p3", _visible)) == 0)) and (_droptarget eq "/h3")) {
setProperty("/p10", _visible , "0");
setProperty("/p6", _visible , "0");
setProperty("/p3", _visible , "1");
}
if ((((_name eq "p10") and (Number(getProperty("/p9", _visible)) == 1)) and (Number(getProperty("/p8", _visible)) == 0)) and (_droptarget eq "/h8")) {
setProperty("/p10", _visible , "0");
setProperty("/p9", _visible , "0");
setProperty("/p8", _visible , "1");
}
if ((((_name eq "p11") and (Number(getProperty("/p7", _visible)) == 1)) and (Number(getProperty("/p4", _visible)) == 0)) and (_droptarget eq "/h4")) {
setProperty("/p11", _visible , "0");
setProperty("/p7", _visible , "0");
setProperty("/p4", _visible , "1");
}
if ((((_name eq "p11") and (Number(getProperty("/p12", _visible)) == 1)) and (Number(getProperty("/p13", _visible)) == 0)) and (_droptarget eq "/h13")) {
setProperty("/p11", _visible , "0");
setProperty("/p12", _visible , "0");
setProperty("/p13", _visible , "1");
}
if ((((_name eq "p12") and (Number(getProperty("/p8", _visible)) == 1)) and (Number(getProperty("/p5", _visible)) == 0)) and (_droptarget eq "/h5")) {
setProperty("/p12", _visible , "0");
setProperty("/p8", _visible , "0");
setProperty("/p5", _visible , "1");
}
if ((((_name eq "p12") and (Number(getProperty("/p13", _visible)) == 1)) and (Number(getProperty("/p14", _visible)) == 0)) and (_droptarget eq "/h14")) {
setProperty("/p12", _visible , "0");
setProperty("/p13", _visible , "0");
setProperty("/p14", _visible , "1");
}
if ((((_name eq "p13") and (Number(getProperty("/p12", _visible)) == 1)) and (Number(getProperty("/p11", _visible)) == 0)) and (_droptarget eq "/h11")) {
setProperty("/p13", _visible , "0");
setProperty("/p12", _visible , "0");
setProperty("/p11", _visible , "1");
}
if ((((_name eq "p13") and (Number(getProperty("/p8", _visible)) == 1)) and (Number(getProperty("/p4", _visible)) == 0)) and (_droptarget eq "/h4")) {
setProperty("/p13", _visible , "0");
setProperty("/p8", _visible , "0");
setProperty("/p4", _visible , "1");
}
if ((((_name eq "p13") and (Number(getProperty("/p9", _visible)) == 1)) and (Number(getProperty("/p6", _visible)) == 0)) and (_droptarget eq "/h6")) {
setProperty("/p13", _visible , "0");
setProperty("/p9", _visible , "0");
setProperty("/p6", _visible , "1");
}
if ((((_name eq "p13") and (Number(getProperty("/p14", _visible)) == 1)) and (Number(getProperty("/p15", _visible)) == 0)) and (_droptarget eq "/h15")) {
setProperty("/p13", _visible , "0");
setProperty("/p14", _visible , "0");
setProperty("/p15", _visible , "1");
}
if ((((_name eq "p14") and (Number(getProperty("/p13", _visible)) == 1)) and (Number(getProperty("/p12", _visible)) == 0)) and (_droptarget eq "/h12")) {
setProperty("/p14", _visible , "0");
setProperty("/p13", _visible , "0");
setProperty("/p12", _visible , "1");
}
if ((((_name eq "p14") and (Number(getProperty("/p9", _visible)) == 1)) and (Number(getProperty("/p5", _visible)) == 0)) and (_droptarget eq "/h5")) {
setProperty("/p14", _visible , "0");
setProperty("/p9", _visible , "0");
setProperty("/p5", _visible , "1");
}
if ((((_name eq "p15") and (Number(getProperty("/p14", _visible)) == 1)) and (Number(getProperty("/p13", _visible)) == 0)) and (_droptarget eq "/h13")) {
setProperty("/p15", _visible , "0");
setProperty("/p14", _visible , "0");
setProperty("/p13", _visible , "1");
}
if ((((_name eq "p15") and (Number(getProperty("/p10", _visible)) == 1)) and (Number(getProperty("/p6", _visible)) == 0)) and (_droptarget eq "/h6")) {
setProperty("/p15", _visible , "0");
setProperty("/p10", _visible , "0");
setProperty("/p6", _visible , "1");
}
count = 0;
loop = 0;
while (Number(loop) <= 15) {
loop = Number(loop) + 1;
if (getProperty("/p" add loop, _visible) == 1) {
count = Number(count) + 1;
}
}
if (Number(count) == 1) {
tellTarget ("/") {
gotoAndStop ("win2");
};
}
}
Symbol 135 Button
on (release) {
gotoAndPlay (39);
}
Symbol 146 Button
on (press) {
startDrag (getProperty(_x, _y));
OrgX = _x;
OrgY = _y;
}
on (release) {
stopDrag();
_y = OrgY;
_x = OrgX;
if ((((_name eq "p1") and (Number(getProperty("/p2", _visible)) == 1)) and (Number(getProperty("/p4", _visible)) == 0)) and (_droptarget eq "/h4")) {
setProperty("/p1", _visible , "0");
setProperty("/p2", _visible , "0");
setProperty("/p4", _visible , "1");
}
if ((((_name eq "p1") and (Number(getProperty("/p3", _visible)) == 1)) and (Number(getProperty("/p6", _visible)) == 0)) and (_droptarget eq "/h6")) {
setProperty("/p1", _visible , "0");
setProperty("/p3", _visible , "0");
setProperty("/p6", _visible , "1");
}
if ((((_name eq "p2") and (Number(getProperty("/p4", _visible)) == 1)) and (Number(getProperty("/p7", _visible)) == 0)) and (_droptarget eq "/h7")) {
setProperty("/p2", _visible , "0");
setProperty("/p4", _visible , "0");
setProperty("/p7", _visible , "1");
}
if ((((_name eq "p2") and (Number(getProperty("/p5", _visible)) == 1)) and (Number(getProperty("/p9", _visible)) == 0)) and (_droptarget eq "/h9")) {
setProperty("/p2", _visible , "0");
setProperty("/p5", _visible , "0");
setProperty("/p9", _visible , "1");
}
if ((((_name eq "p3") and (Number(getProperty("/p5", _visible)) == 1)) and (Number(getProperty("/p8", _visible)) == 0)) and (_droptarget eq "/h8")) {
setProperty("/p3", _visible , "0");
setProperty("/p5", _visible , "0");
setProperty("/p8", _visible , "1");
}
if ((((_name eq "p3") and (Number(getProperty("/p6", _visible)) == 1)) and (Number(getProperty("/p10", _visible)) == 0)) and (_droptarget eq "/h10")) {
setProperty("/p3", _visible , "0");
setProperty("/p6", _visible , "0");
setProperty("/p10", _visible , "1");
}
if ((((_name eq "p4") and (Number(getProperty("/p2", _visible)) == 1)) and (Number(getProperty("/p1", _visible)) == 0)) and (_droptarget eq "/h1")) {
setProperty("/p4", _visible , "0");
setProperty("/p2", _visible , "0");
setProperty("/p1", _visible , "1");
}
if ((((_name eq "p4") and (Number(getProperty("/p5", _visible)) == 1)) and (Number(getProperty("/p6", _visible)) == 0)) and (_droptarget eq "/h6")) {
setProperty("/p4", _visible , "0");
setProperty("/p5", _visible , "0");
setProperty("/p6", _visible , "1");
}
if ((((_name eq "p4") and (Number(getProperty("/p7", _visible)) == 1)) and (Number(getProperty("/p11", _visible)) == 0)) and (_droptarget eq "/h11")) {
setProperty("/p4", _visible , "0");
setProperty("/p7", _visible , "0");
setProperty("/p11", _visible , "1");
}
if ((((_name eq "p4") and (Number(getProperty("/p8", _visible)) == 1)) and (Number(getProperty("/p13", _visible)) == 0)) and (_droptarget eq "/h13")) {
setProperty("/p4", _visible , "0");
setProperty("/p8", _visible , "0");
setProperty("/p13", _visible , "1");
}
if ((((_name eq "p5") and (Number(getProperty("/p8", _visible)) == 1)) and (Number(getProperty("/p12", _visible)) == 0)) and (_droptarget eq "/h12")) {
setProperty("/p5", _visible , "0");
setProperty("/p8", _visible , "0");
setProperty("/p12", _visible , "1");
}
if ((((_name eq "p5") and (Number(getProperty("/p9", _visible)) == 1)) and (Number(getProperty("/p14", _visible)) == 0)) and (_droptarget eq "/h14")) {
setProperty("/p5", _visible , "0");
setProperty("/p9", _visible , "0");
setProperty("/p14", _visible , "1");
}
if ((((_name eq "p6") and (Number(getProperty("/p3", _visible)) == 1)) and (Number(getProperty("/p1", _visible)) == 0)) and (_droptarget eq "/h1")) {
setProperty("/p6", _visible , "0");
setProperty("/p3", _visible , "0");
setProperty("/p1", _visible , "1");
}
if ((((_name eq "p6") and (Number(getProperty("/p5", _visible)) == 1)) and (Number(getProperty("/p4", _visible)) == 0)) and (_droptarget eq "/h4")) {
setProperty("/p6", _visible , "0");
setProperty("/p5", _visible , "0");
setProperty("/p4", _visible , "1");
}
if ((((_name eq "p6") and (Number(getProperty("/p9", _visible)) == 1)) and (Number(getProperty("/p13", _visible)) == 0)) and (_droptarget eq "/h13")) {
setProperty("/p6", _visible , "0");
setProperty("/p9", _visible , "0");
setProperty("/p13", _visible , "1");
}
if ((((_name eq "p6") and (Number(getProperty("/p10", _visible)) == 1)) and (Number(getProperty("/p15", _visible)) == 0)) and (_droptarget eq "/h15")) {
setProperty("/p6", _visible , "0");
setProperty("/p10", _visible , "0");
setProperty("/p15", _visible , "1");
}
if ((((_name eq "p7") and (Number(getProperty("/p4", _visible)) == 1)) and (Number(getProperty("/p2", _visible)) == 0)) and (_droptarget eq "/h2")) {
setProperty("/p7", _visible , "0");
setProperty("/p4", _visible , "0");
setProperty("/p2", _visible , "1");
}
if ((((_name eq "p7") and (Number(getProperty("/p8", _visible)) == 1)) and (Number(getProperty("/p9", _visible)) == 0)) and (_droptarget eq "/h9")) {
setProperty("/p7", _visible , "0");
setProperty("/p8", _visible , "0");
setProperty("/p9", _visible , "1");
}
if ((((_name eq "p8") and (Number(getProperty("/p5", _visible)) == 1)) and (Number(getProperty("/p3", _visible)) == 0)) and (_droptarget eq "/h3")) {
setProperty("/p8", _visible , "0");
setProperty("/p5", _visible , "0");
setProperty("/p3", _visible , "1");
}
if ((((_name eq "p8") and (Number(getProperty("/p9", _visible)) == 1)) and (Number(getProperty("/p10", _visible)) == 0)) and (_droptarget eq "/h10")) {
setProperty("/p8", _visible , "0");
setProperty("/p9", _visible , "0");
setProperty("/p10", _visible , "1");
}
if ((((_name eq "p9") and (Number(getProperty("/p5", _visible)) == 1)) and (Number(getProperty("/p2", _visible)) == 0)) and (_droptarget eq "/h2")) {
setProperty("/p9", _visible , "0");
setProperty("/p5", _visible , "0");
setProperty("/p2", _visible , "1");
}
if ((((_name eq "p9") and (Number(getProperty("/p8", _visible)) == 1)) and (Number(getProperty("/p7", _visible)) == 0)) and (_droptarget eq "/h7")) {
setProperty("/p9", _visible , "0");
setProperty("/p8", _visible , "0");
setProperty("/p7", _visible , "1");
}
if ((((_name eq "p10") and (Number(getProperty("/p6", _visible)) == 1)) and (Number(getProperty("/p3", _visible)) == 0)) and (_droptarget eq "/h3")) {
setProperty("/p10", _visible , "0");
setProperty("/p6", _visible , "0");
setProperty("/p3", _visible , "1");
}
if ((((_name eq "p10") and (Number(getProperty("/p9", _visible)) == 1)) and (Number(getProperty("/p8", _visible)) == 0)) and (_droptarget eq "/h8")) {
setProperty("/p10", _visible , "0");
setProperty("/p9", _visible , "0");
setProperty("/p8", _visible , "1");
}
if ((((_name eq "p11") and (Number(getProperty("/p7", _visible)) == 1)) and (Number(getProperty("/p4", _visible)) == 0)) and (_droptarget eq "/h4")) {
setProperty("/p11", _visible , "0");
setProperty("/p7", _visible , "0");
setProperty("/p4", _visible , "1");
}
if ((((_name eq "p11") and (Number(getProperty("/p12", _visible)) == 1)) and (Number(getProperty("/p13", _visible)) == 0)) and (_droptarget eq "/h13")) {
setProperty("/p11", _visible , "0");
setProperty("/p12", _visible , "0");
setProperty("/p13", _visible , "1");
}
if ((((_name eq "p12") and (Number(getProperty("/p8", _visible)) == 1)) and (Number(getProperty("/p5", _visible)) == 0)) and (_droptarget eq "/h5")) {
setProperty("/p12", _visible , "0");
setProperty("/p8", _visible , "0");
setProperty("/p5", _visible , "1");
}
if ((((_name eq "p12") and (Number(getProperty("/p13", _visible)) == 1)) and (Number(getProperty("/p14", _visible)) == 0)) and (_droptarget eq "/h14")) {
setProperty("/p12", _visible , "0");
setProperty("/p13", _visible , "0");
setProperty("/p14", _visible , "1");
}
if ((((_name eq "p13") and (Number(getProperty("/p12", _visible)) == 1)) and (Number(getProperty("/p11", _visible)) == 0)) and (_droptarget eq "/h11")) {
setProperty("/p13", _visible , "0");
setProperty("/p12", _visible , "0");
setProperty("/p11", _visible , "1");
}
if ((((_name eq "p13") and (Number(getProperty("/p8", _visible)) == 1)) and (Number(getProperty("/p4", _visible)) == 0)) and (_droptarget eq "/h4")) {
setProperty("/p13", _visible , "0");
setProperty("/p8", _visible , "0");
setProperty("/p4", _visible , "1");
}
if ((((_name eq "p13") and (Number(getProperty("/p9", _visible)) == 1)) and (Number(getProperty("/p6", _visible)) == 0)) and (_droptarget eq "/h6")) {
setProperty("/p13", _visible , "0");
setProperty("/p9", _visible , "0");
setProperty("/p6", _visible , "1");
}
if ((((_name eq "p13") and (Number(getProperty("/p14", _visible)) == 1)) and (Number(getProperty("/p15", _visible)) == 0)) and (_droptarget eq "/h15")) {
setProperty("/p13", _visible , "0");
setProperty("/p14", _visible , "0");
setProperty("/p15", _visible , "1");
}
if ((((_name eq "p14") and (Number(getProperty("/p13", _visible)) == 1)) and (Number(getProperty("/p12", _visible)) == 0)) and (_droptarget eq "/h12")) {
setProperty("/p14", _visible , "0");
setProperty("/p13", _visible , "0");
setProperty("/p12", _visible , "1");
}
if ((((_name eq "p14") and (Number(getProperty("/p9", _visible)) == 1)) and (Number(getProperty("/p5", _visible)) == 0)) and (_droptarget eq "/h5")) {
setProperty("/p14", _visible , "0");
setProperty("/p9", _visible , "0");
setProperty("/p5", _visible , "1");
}
if ((((_name eq "p15") and (Number(getProperty("/p14", _visible)) == 1)) and (Number(getProperty("/p13", _visible)) == 0)) and (_droptarget eq "/h13")) {
setProperty("/p15", _visible , "0");
setProperty("/p14", _visible , "0");
setProperty("/p13", _visible , "1");
}
if ((((_name eq "p15") and (Number(getProperty("/p10", _visible)) == 1)) and (Number(getProperty("/p6", _visible)) == 0)) and (_droptarget eq "/h6")) {
setProperty("/p15", _visible , "0");
setProperty("/p10", _visible , "0");
setProperty("/p6", _visible , "1");
}
count = 0;
loop = 0;
while (Number(loop) <= 15) {
loop = Number(loop) + 1;
if (getProperty("/p" add loop, _visible) == 1) {
count = Number(count) + 1;
}
}
if (Number(count) == 1) {
tellTarget ("/") {
gotoAndStop ("win3");
};
}
}
Symbol 148 Button
on (release) {
gotoAndPlay (49);
}
Symbol 158 Button
on (press) {
startDrag (getProperty(_x, _y));
OrgX = _x;
OrgY = _y;
}
on (release) {
stopDrag();
_y = OrgY;
_x = OrgX;
if ((((_name eq "p1") and (Number(getProperty("/p2", _visible)) == 1)) and (Number(getProperty("/p4", _visible)) == 0)) and (_droptarget eq "/h4")) {
setProperty("/p1", _visible , "0");
setProperty("/p2", _visible , "0");
setProperty("/p4", _visible , "1");
}
if ((((_name eq "p1") and (Number(getProperty("/p3", _visible)) == 1)) and (Number(getProperty("/p6", _visible)) == 0)) and (_droptarget eq "/h6")) {
setProperty("/p1", _visible , "0");
setProperty("/p3", _visible , "0");
setProperty("/p6", _visible , "1");
}
if ((((_name eq "p2") and (Number(getProperty("/p4", _visible)) == 1)) and (Number(getProperty("/p7", _visible)) == 0)) and (_droptarget eq "/h7")) {
setProperty("/p2", _visible , "0");
setProperty("/p4", _visible , "0");
setProperty("/p7", _visible , "1");
}
if ((((_name eq "p2") and (Number(getProperty("/p5", _visible)) == 1)) and (Number(getProperty("/p9", _visible)) == 0)) and (_droptarget eq "/h9")) {
setProperty("/p2", _visible , "0");
setProperty("/p5", _visible , "0");
setProperty("/p9", _visible , "1");
}
if ((((_name eq "p3") and (Number(getProperty("/p5", _visible)) == 1)) and (Number(getProperty("/p8", _visible)) == 0)) and (_droptarget eq "/h8")) {
setProperty("/p3", _visible , "0");
setProperty("/p5", _visible , "0");
setProperty("/p8", _visible , "1");
}
if ((((_name eq "p3") and (Number(getProperty("/p6", _visible)) == 1)) and (Number(getProperty("/p10", _visible)) == 0)) and (_droptarget eq "/h10")) {
setProperty("/p3", _visible , "0");
setProperty("/p6", _visible , "0");
setProperty("/p10", _visible , "1");
}
if ((((_name eq "p4") and (Number(getProperty("/p2", _visible)) == 1)) and (Number(getProperty("/p1", _visible)) == 0)) and (_droptarget eq "/h1")) {
setProperty("/p4", _visible , "0");
setProperty("/p2", _visible , "0");
setProperty("/p1", _visible , "1");
}
if ((((_name eq "p4") and (Number(getProperty("/p5", _visible)) == 1)) and (Number(getProperty("/p6", _visible)) == 0)) and (_droptarget eq "/h6")) {
setProperty("/p4", _visible , "0");
setProperty("/p5", _visible , "0");
setProperty("/p6", _visible , "1");
}
if ((((_name eq "p4") and (Number(getProperty("/p7", _visible)) == 1)) and (Number(getProperty("/p11", _visible)) == 0)) and (_droptarget eq "/h11")) {
setProperty("/p4", _visible , "0");
setProperty("/p7", _visible , "0");
setProperty("/p11", _visible , "1");
}
if ((((_name eq "p4") and (Number(getProperty("/p8", _visible)) == 1)) and (Number(getProperty("/p13", _visible)) == 0)) and (_droptarget eq "/h13")) {
setProperty("/p4", _visible , "0");
setProperty("/p8", _visible , "0");
setProperty("/p13", _visible , "1");
}
if ((((_name eq "p5") and (Number(getProperty("/p8", _visible)) == 1)) and (Number(getProperty("/p12", _visible)) == 0)) and (_droptarget eq "/h12")) {
setProperty("/p5", _visible , "0");
setProperty("/p8", _visible , "0");
setProperty("/p12", _visible , "1");
}
if ((((_name eq "p5") and (Number(getProperty("/p9", _visible)) == 1)) and (Number(getProperty("/p14", _visible)) == 0)) and (_droptarget eq "/h14")) {
setProperty("/p5", _visible , "0");
setProperty("/p9", _visible , "0");
setProperty("/p14", _visible , "1");
}
if ((((_name eq "p6") and (Number(getProperty("/p3", _visible)) == 1)) and (Number(getProperty("/p1", _visible)) == 0)) and (_droptarget eq "/h1")) {
setProperty("/p6", _visible , "0");
setProperty("/p3", _visible , "0");
setProperty("/p1", _visible , "1");
}
if ((((_name eq "p6") and (Number(getProperty("/p5", _visible)) == 1)) and (Number(getProperty("/p4", _visible)) == 0)) and (_droptarget eq "/h4")) {
setProperty("/p6", _visible , "0");
setProperty("/p5", _visible , "0");
setProperty("/p4", _visible , "1");
}
if ((((_name eq "p6") and (Number(getProperty("/p9", _visible)) == 1)) and (Number(getProperty("/p13", _visible)) == 0)) and (_droptarget eq "/h13")) {
setProperty("/p6", _visible , "0");
setProperty("/p9", _visible , "0");
setProperty("/p13", _visible , "1");
}
if ((((_name eq "p6") and (Number(getProperty("/p10", _visible)) == 1)) and (Number(getProperty("/p15", _visible)) == 0)) and (_droptarget eq "/h15")) {
setProperty("/p6", _visible , "0");
setProperty("/p10", _visible , "0");
setProperty("/p15", _visible , "1");
}
if ((((_name eq "p7") and (Number(getProperty("/p4", _visible)) == 1)) and (Number(getProperty("/p2", _visible)) == 0)) and (_droptarget eq "/h2")) {
setProperty("/p7", _visible , "0");
setProperty("/p4", _visible , "0");
setProperty("/p2", _visible , "1");
}
if ((((_name eq "p7") and (Number(getProperty("/p8", _visible)) == 1)) and (Number(getProperty("/p9", _visible)) == 0)) and (_droptarget eq "/h9")) {
setProperty("/p7", _visible , "0");
setProperty("/p8", _visible , "0");
setProperty("/p9", _visible , "1");
}
if ((((_name eq "p8") and (Number(getProperty("/p5", _visible)) == 1)) and (Number(getProperty("/p3", _visible)) == 0)) and (_droptarget eq "/h3")) {
setProperty("/p8", _visible , "0");
setProperty("/p5", _visible , "0");
setProperty("/p3", _visible , "1");
}
if ((((_name eq "p8") and (Number(getProperty("/p9", _visible)) == 1)) and (Number(getProperty("/p10", _visible)) == 0)) and (_droptarget eq "/h10")) {
setProperty("/p8", _visible , "0");
setProperty("/p9", _visible , "0");
setProperty("/p10", _visible , "1");
}
if ((((_name eq "p9") and (Number(getProperty("/p5", _visible)) == 1)) and (Number(getProperty("/p2", _visible)) == 0)) and (_droptarget eq "/h2")) {
setProperty("/p9", _visible , "0");
setProperty("/p5", _visible , "0");
setProperty("/p2", _visible , "1");
}
if ((((_name eq "p9") and (Number(getProperty("/p8", _visible)) == 1)) and (Number(getProperty("/p7", _visible)) == 0)) and (_droptarget eq "/h7")) {
setProperty("/p9", _visible , "0");
setProperty("/p8", _visible , "0");
setProperty("/p7", _visible , "1");
}
if ((((_name eq "p10") and (Number(getProperty("/p6", _visible)) == 1)) and (Number(getProperty("/p3", _visible)) == 0)) and (_droptarget eq "/h3")) {
setProperty("/p10", _visible , "0");
setProperty("/p6", _visible , "0");
setProperty("/p3", _visible , "1");
}
if ((((_name eq "p10") and (Number(getProperty("/p9", _visible)) == 1)) and (Number(getProperty("/p8", _visible)) == 0)) and (_droptarget eq "/h8")) {
setProperty("/p10", _visible , "0");
setProperty("/p9", _visible , "0");
setProperty("/p8", _visible , "1");
}
if ((((_name eq "p11") and (Number(getProperty("/p7", _visible)) == 1)) and (Number(getProperty("/p4", _visible)) == 0)) and (_droptarget eq "/h4")) {
setProperty("/p11", _visible , "0");
setProperty("/p7", _visible , "0");
setProperty("/p4", _visible , "1");
}
if ((((_name eq "p11") and (Number(getProperty("/p12", _visible)) == 1)) and (Number(getProperty("/p13", _visible)) == 0)) and (_droptarget eq "/h13")) {
setProperty("/p11", _visible , "0");
setProperty("/p12", _visible , "0");
setProperty("/p13", _visible , "1");
}
if ((((_name eq "p12") and (Number(getProperty("/p8", _visible)) == 1)) and (Number(getProperty("/p5", _visible)) == 0)) and (_droptarget eq "/h5")) {
setProperty("/p12", _visible , "0");
setProperty("/p8", _visible , "0");
setProperty("/p5", _visible , "1");
}
if ((((_name eq "p12") and (Number(getProperty("/p13", _visible)) == 1)) and (Number(getProperty("/p14", _visible)) == 0)) and (_droptarget eq "/h14")) {
setProperty("/p12", _visible , "0");
setProperty("/p13", _visible , "0");
setProperty("/p14", _visible , "1");
}
if ((((_name eq "p13") and (Number(getProperty("/p12", _visible)) == 1)) and (Number(getProperty("/p11", _visible)) == 0)) and (_droptarget eq "/h11")) {
setProperty("/p13", _visible , "0");
setProperty("/p12", _visible , "0");
setProperty("/p11", _visible , "1");
}
if ((((_name eq "p13") and (Number(getProperty("/p8", _visible)) == 1)) and (Number(getProperty("/p4", _visible)) == 0)) and (_droptarget eq "/h4")) {
setProperty("/p13", _visible , "0");
setProperty("/p8", _visible , "0");
setProperty("/p4", _visible , "1");
}
if ((((_name eq "p13") and (Number(getProperty("/p9", _visible)) == 1)) and (Number(getProperty("/p6", _visible)) == 0)) and (_droptarget eq "/h6")) {
setProperty("/p13", _visible , "0");
setProperty("/p9", _visible , "0");
setProperty("/p6", _visible , "1");
}
if ((((_name eq "p13") and (Number(getProperty("/p14", _visible)) == 1)) and (Number(getProperty("/p15", _visible)) == 0)) and (_droptarget eq "/h15")) {
setProperty("/p13", _visible , "0");
setProperty("/p14", _visible , "0");
setProperty("/p15", _visible , "1");
}
if ((((_name eq "p14") and (Number(getProperty("/p13", _visible)) == 1)) and (Number(getProperty("/p12", _visible)) == 0)) and (_droptarget eq "/h12")) {
setProperty("/p14", _visible , "0");
setProperty("/p13", _visible , "0");
setProperty("/p12", _visible , "1");
}
if ((((_name eq "p14") and (Number(getProperty("/p9", _visible)) == 1)) and (Number(getProperty("/p5", _visible)) == 0)) and (_droptarget eq "/h5")) {
setProperty("/p14", _visible , "0");
setProperty("/p9", _visible , "0");
setProperty("/p5", _visible , "1");
}
if ((((_name eq "p15") and (Number(getProperty("/p14", _visible)) == 1)) and (Number(getProperty("/p13", _visible)) == 0)) and (_droptarget eq "/h13")) {
setProperty("/p15", _visible , "0");
setProperty("/p14", _visible , "0");
setProperty("/p13", _visible , "1");
}
if ((((_name eq "p15") and (Number(getProperty("/p10", _visible)) == 1)) and (Number(getProperty("/p6", _visible)) == 0)) and (_droptarget eq "/h6")) {
setProperty("/p15", _visible , "0");
setProperty("/p10", _visible , "0");
setProperty("/p6", _visible , "1");
}
count = 0;
loop = 0;
while (Number(loop) <= 15) {
loop = Number(loop) + 1;
if (getProperty("/p" add loop, _visible) == 1) {
count = Number(count) + 1;
}
}
if (Number(count) == 1) {
tellTarget ("/") {
gotoAndStop ("win4");
};
}
}
Symbol 160 Button
on (release) {
gotoAndPlay (59);
}
Symbol 170 Button
on (press) {
startDrag (getProperty(_x, _y));
OrgX = _x;
OrgY = _y;
}
on (release) {
stopDrag();
_y = OrgY;
_x = OrgX;
if ((((_name eq "p1") and (Number(getProperty("/p2", _visible)) == 1)) and (Number(getProperty("/p4", _visible)) == 0)) and (_droptarget eq "/h4")) {
setProperty("/p1", _visible , "0");
setProperty("/p2", _visible , "0");
setProperty("/p4", _visible , "1");
}
if ((((_name eq "p1") and (Number(getProperty("/p3", _visible)) == 1)) and (Number(getProperty("/p6", _visible)) == 0)) and (_droptarget eq "/h6")) {
setProperty("/p1", _visible , "0");
setProperty("/p3", _visible , "0");
setProperty("/p6", _visible , "1");
}
if ((((_name eq "p2") and (Number(getProperty("/p4", _visible)) == 1)) and (Number(getProperty("/p7", _visible)) == 0)) and (_droptarget eq "/h7")) {
setProperty("/p2", _visible , "0");
setProperty("/p4", _visible , "0");
setProperty("/p7", _visible , "1");
}
if ((((_name eq "p2") and (Number(getProperty("/p5", _visible)) == 1)) and (Number(getProperty("/p9", _visible)) == 0)) and (_droptarget eq "/h9")) {
setProperty("/p2", _visible , "0");
setProperty("/p5", _visible , "0");
setProperty("/p9", _visible , "1");
}
if ((((_name eq "p3") and (Number(getProperty("/p5", _visible)) == 1)) and (Number(getProperty("/p8", _visible)) == 0)) and (_droptarget eq "/h8")) {
setProperty("/p3", _visible , "0");
setProperty("/p5", _visible , "0");
setProperty("/p8", _visible , "1");
}
if ((((_name eq "p3") and (Number(getProperty("/p6", _visible)) == 1)) and (Number(getProperty("/p10", _visible)) == 0)) and (_droptarget eq "/h10")) {
setProperty("/p3", _visible , "0");
setProperty("/p6", _visible , "0");
setProperty("/p10", _visible , "1");
}
if ((((_name eq "p4") and (Number(getProperty("/p2", _visible)) == 1)) and (Number(getProperty("/p1", _visible)) == 0)) and (_droptarget eq "/h1")) {
setProperty("/p4", _visible , "0");
setProperty("/p2", _visible , "0");
setProperty("/p1", _visible , "1");
}
if ((((_name eq "p4") and (Number(getProperty("/p5", _visible)) == 1)) and (Number(getProperty("/p6", _visible)) == 0)) and (_droptarget eq "/h6")) {
setProperty("/p4", _visible , "0");
setProperty("/p5", _visible , "0");
setProperty("/p6", _visible , "1");
}
if ((((_name eq "p4") and (Number(getProperty("/p7", _visible)) == 1)) and (Number(getProperty("/p11", _visible)) == 0)) and (_droptarget eq "/h11")) {
setProperty("/p4", _visible , "0");
setProperty("/p7", _visible , "0");
setProperty("/p11", _visible , "1");
}
if ((((_name eq "p4") and (Number(getProperty("/p8", _visible)) == 1)) and (Number(getProperty("/p13", _visible)) == 0)) and (_droptarget eq "/h13")) {
setProperty("/p4", _visible , "0");
setProperty("/p8", _visible , "0");
setProperty("/p13", _visible , "1");
}
if ((((_name eq "p5") and (Number(getProperty("/p8", _visible)) == 1)) and (Number(getProperty("/p12", _visible)) == 0)) and (_droptarget eq "/h12")) {
setProperty("/p5", _visible , "0");
setProperty("/p8", _visible , "0");
setProperty("/p12", _visible , "1");
}
if ((((_name eq "p5") and (Number(getProperty("/p9", _visible)) == 1)) and (Number(getProperty("/p14", _visible)) == 0)) and (_droptarget eq "/h14")) {
setProperty("/p5", _visible , "0");
setProperty("/p9", _visible , "0");
setProperty("/p14", _visible , "1");
}
if ((((_name eq "p6") and (Number(getProperty("/p3", _visible)) == 1)) and (Number(getProperty("/p1", _visible)) == 0)) and (_droptarget eq "/h1")) {
setProperty("/p6", _visible , "0");
setProperty("/p3", _visible , "0");
setProperty("/p1", _visible , "1");
}
if ((((_name eq "p6") and (Number(getProperty("/p5", _visible)) == 1)) and (Number(getProperty("/p4", _visible)) == 0)) and (_droptarget eq "/h4")) {
setProperty("/p6", _visible , "0");
setProperty("/p5", _visible , "0");
setProperty("/p4", _visible , "1");
}
if ((((_name eq "p6") and (Number(getProperty("/p9", _visible)) == 1)) and (Number(getProperty("/p13", _visible)) == 0)) and (_droptarget eq "/h13")) {
setProperty("/p6", _visible , "0");
setProperty("/p9", _visible , "0");
setProperty("/p13", _visible , "1");
}
if ((((_name eq "p6") and (Number(getProperty("/p10", _visible)) == 1)) and (Number(getProperty("/p15", _visible)) == 0)) and (_droptarget eq "/h15")) {
setProperty("/p6", _visible , "0");
setProperty("/p10", _visible , "0");
setProperty("/p15", _visible , "1");
}
if ((((_name eq "p7") and (Number(getProperty("/p4", _visible)) == 1)) and (Number(getProperty("/p2", _visible)) == 0)) and (_droptarget eq "/h2")) {
setProperty("/p7", _visible , "0");
setProperty("/p4", _visible , "0");
setProperty("/p2", _visible , "1");
}
if ((((_name eq "p7") and (Number(getProperty("/p8", _visible)) == 1)) and (Number(getProperty("/p9", _visible)) == 0)) and (_droptarget eq "/h9")) {
setProperty("/p7", _visible , "0");
setProperty("/p8", _visible , "0");
setProperty("/p9", _visible , "1");
}
if ((((_name eq "p8") and (Number(getProperty("/p5", _visible)) == 1)) and (Number(getProperty("/p3", _visible)) == 0)) and (_droptarget eq "/h3")) {
setProperty("/p8", _visible , "0");
setProperty("/p5", _visible , "0");
setProperty("/p3", _visible , "1");
}
if ((((_name eq "p8") and (Number(getProperty("/p9", _visible)) == 1)) and (Number(getProperty("/p10", _visible)) == 0)) and (_droptarget eq "/h10")) {
setProperty("/p8", _visible , "0");
setProperty("/p9", _visible , "0");
setProperty("/p10", _visible , "1");
}
if ((((_name eq "p9") and (Number(getProperty("/p5", _visible)) == 1)) and (Number(getProperty("/p2", _visible)) == 0)) and (_droptarget eq "/h2")) {
setProperty("/p9", _visible , "0");
setProperty("/p5", _visible , "0");
setProperty("/p2", _visible , "1");
}
if ((((_name eq "p9") and (Number(getProperty("/p8", _visible)) == 1)) and (Number(getProperty("/p7", _visible)) == 0)) and (_droptarget eq "/h7")) {
setProperty("/p9", _visible , "0");
setProperty("/p8", _visible , "0");
setProperty("/p7", _visible , "1");
}
if ((((_name eq "p10") and (Number(getProperty("/p6", _visible)) == 1)) and (Number(getProperty("/p3", _visible)) == 0)) and (_droptarget eq "/h3")) {
setProperty("/p10", _visible , "0");
setProperty("/p6", _visible , "0");
setProperty("/p3", _visible , "1");
}
if ((((_name eq "p10") and (Number(getProperty("/p9", _visible)) == 1)) and (Number(getProperty("/p8", _visible)) == 0)) and (_droptarget eq "/h8")) {
setProperty("/p10", _visible , "0");
setProperty("/p9", _visible , "0");
setProperty("/p8", _visible , "1");
}
if ((((_name eq "p11") and (Number(getProperty("/p7", _visible)) == 1)) and (Number(getProperty("/p4", _visible)) == 0)) and (_droptarget eq "/h4")) {
setProperty("/p11", _visible , "0");
setProperty("/p7", _visible , "0");
setProperty("/p4", _visible , "1");
}
if ((((_name eq "p11") and (Number(getProperty("/p12", _visible)) == 1)) and (Number(getProperty("/p13", _visible)) == 0)) and (_droptarget eq "/h13")) {
setProperty("/p11", _visible , "0");
setProperty("/p12", _visible , "0");
setProperty("/p13", _visible , "1");
}
if ((((_name eq "p12") and (Number(getProperty("/p8", _visible)) == 1)) and (Number(getProperty("/p5", _visible)) == 0)) and (_droptarget eq "/h5")) {
setProperty("/p12", _visible , "0");
setProperty("/p8", _visible , "0");
setProperty("/p5", _visible , "1");
}
if ((((_name eq "p12") and (Number(getProperty("/p13", _visible)) == 1)) and (Number(getProperty("/p14", _visible)) == 0)) and (_droptarget eq "/h14")) {
setProperty("/p12", _visible , "0");
setProperty("/p13", _visible , "0");
setProperty("/p14", _visible , "1");
}
if ((((_name eq "p13") and (Number(getProperty("/p12", _visible)) == 1)) and (Number(getProperty("/p11", _visible)) == 0)) and (_droptarget eq "/h11")) {
setProperty("/p13", _visible , "0");
setProperty("/p12", _visible , "0");
setProperty("/p11", _visible , "1");
}
if ((((_name eq "p13") and (Number(getProperty("/p8", _visible)) == 1)) and (Number(getProperty("/p4", _visible)) == 0)) and (_droptarget eq "/h4")) {
setProperty("/p13", _visible , "0");
setProperty("/p8", _visible , "0");
setProperty("/p4", _visible , "1");
}
if ((((_name eq "p13") and (Number(getProperty("/p9", _visible)) == 1)) and (Number(getProperty("/p6", _visible)) == 0)) and (_droptarget eq "/h6")) {
setProperty("/p13", _visible , "0");
setProperty("/p9", _visible , "0");
setProperty("/p6", _visible , "1");
}
if ((((_name eq "p13") and (Number(getProperty("/p14", _visible)) == 1)) and (Number(getProperty("/p15", _visible)) == 0)) and (_droptarget eq "/h15")) {
setProperty("/p13", _visible , "0");
setProperty("/p14", _visible , "0");
setProperty("/p15", _visible , "1");
}
if ((((_name eq "p14") and (Number(getProperty("/p13", _visible)) == 1)) and (Number(getProperty("/p12", _visible)) == 0)) and (_droptarget eq "/h12")) {
setProperty("/p14", _visible , "0");
setProperty("/p13", _visible , "0");
setProperty("/p12", _visible , "1");
}
if ((((_name eq "p14") and (Number(getProperty("/p9", _visible)) == 1)) and (Number(getProperty("/p5", _visible)) == 0)) and (_droptarget eq "/h5")) {
setProperty("/p14", _visible , "0");
setProperty("/p9", _visible , "0");
setProperty("/p5", _visible , "1");
}
if ((((_name eq "p15") and (Number(getProperty("/p14", _visible)) == 1)) and (Number(getProperty("/p13", _visible)) == 0)) and (_droptarget eq "/h13")) {
setProperty("/p15", _visible , "0");
setProperty("/p14", _visible , "0");
setProperty("/p13", _visible , "1");
}
if ((((_name eq "p15") and (Number(getProperty("/p10", _visible)) == 1)) and (Number(getProperty("/p6", _visible)) == 0)) and (_droptarget eq "/h6")) {
setProperty("/p15", _visible , "0");
setProperty("/p10", _visible , "0");
setProperty("/p6", _visible , "1");
}
count = 0;
loop = 0;
while (Number(loop) <= 15) {
loop = Number(loop) + 1;
if (getProperty("/p" add loop, _visible) == 1) {
count = Number(count) + 1;
}
}
if (Number(count) == 1) {
tellTarget ("/") {
gotoAndStop ("win5");
};
}
}
Symbol 172 Button
on (release) {
gotoAndPlay (69);
}
Symbol 182 Button
on (press) {
startDrag (getProperty(_x, _y));
OrgX = _x;
OrgY = _y;
}
on (release) {
stopDrag();
_y = OrgY;
_x = OrgX;
if ((((_name eq "p1") and (Number(getProperty("/p2", _visible)) == 1)) and (Number(getProperty("/p4", _visible)) == 0)) and (_droptarget eq "/h4")) {
setProperty("/p1", _visible , "0");
setProperty("/p2", _visible , "0");
setProperty("/p4", _visible , "1");
}
if ((((_name eq "p1") and (Number(getProperty("/p3", _visible)) == 1)) and (Number(getProperty("/p6", _visible)) == 0)) and (_droptarget eq "/h6")) {
setProperty("/p1", _visible , "0");
setProperty("/p3", _visible , "0");
setProperty("/p6", _visible , "1");
}
if ((((_name eq "p2") and (Number(getProperty("/p4", _visible)) == 1)) and (Number(getProperty("/p7", _visible)) == 0)) and (_droptarget eq "/h7")) {
setProperty("/p2", _visible , "0");
setProperty("/p4", _visible , "0");
setProperty("/p7", _visible , "1");
}
if ((((_name eq "p2") and (Number(getProperty("/p5", _visible)) == 1)) and (Number(getProperty("/p9", _visible)) == 0)) and (_droptarget eq "/h9")) {
setProperty("/p2", _visible , "0");
setProperty("/p5", _visible , "0");
setProperty("/p9", _visible , "1");
}
if ((((_name eq "p3") and (Number(getProperty("/p5", _visible)) == 1)) and (Number(getProperty("/p8", _visible)) == 0)) and (_droptarget eq "/h8")) {
setProperty("/p3", _visible , "0");
setProperty("/p5", _visible , "0");
setProperty("/p8", _visible , "1");
}
if ((((_name eq "p3") and (Number(getProperty("/p6", _visible)) == 1)) and (Number(getProperty("/p10", _visible)) == 0)) and (_droptarget eq "/h10")) {
setProperty("/p3", _visible , "0");
setProperty("/p6", _visible , "0");
setProperty("/p10", _visible , "1");
}
if ((((_name eq "p4") and (Number(getProperty("/p2", _visible)) == 1)) and (Number(getProperty("/p1", _visible)) == 0)) and (_droptarget eq "/h1")) {
setProperty("/p4", _visible , "0");
setProperty("/p2", _visible , "0");
setProperty("/p1", _visible , "1");
}
if ((((_name eq "p4") and (Number(getProperty("/p5", _visible)) == 1)) and (Number(getProperty("/p6", _visible)) == 0)) and (_droptarget eq "/h6")) {
setProperty("/p4", _visible , "0");
setProperty("/p5", _visible , "0");
setProperty("/p6", _visible , "1");
}
if ((((_name eq "p4") and (Number(getProperty("/p7", _visible)) == 1)) and (Number(getProperty("/p11", _visible)) == 0)) and (_droptarget eq "/h11")) {
setProperty("/p4", _visible , "0");
setProperty("/p7", _visible , "0");
setProperty("/p11", _visible , "1");
}
if ((((_name eq "p4") and (Number(getProperty("/p8", _visible)) == 1)) and (Number(getProperty("/p13", _visible)) == 0)) and (_droptarget eq "/h13")) {
setProperty("/p4", _visible , "0");
setProperty("/p8", _visible , "0");
setProperty("/p13", _visible , "1");
}
if ((((_name eq "p5") and (Number(getProperty("/p8", _visible)) == 1)) and (Number(getProperty("/p12", _visible)) == 0)) and (_droptarget eq "/h12")) {
setProperty("/p5", _visible , "0");
setProperty("/p8", _visible , "0");
setProperty("/p12", _visible , "1");
}
if ((((_name eq "p5") and (Number(getProperty("/p9", _visible)) == 1)) and (Number(getProperty("/p14", _visible)) == 0)) and (_droptarget eq "/h14")) {
setProperty("/p5", _visible , "0");
setProperty("/p9", _visible , "0");
setProperty("/p14", _visible , "1");
}
if ((((_name eq "p6") and (Number(getProperty("/p3", _visible)) == 1)) and (Number(getProperty("/p1", _visible)) == 0)) and (_droptarget eq "/h1")) {
setProperty("/p6", _visible , "0");
setProperty("/p3", _visible , "0");
setProperty("/p1", _visible , "1");
}
if ((((_name eq "p6") and (Number(getProperty("/p5", _visible)) == 1)) and (Number(getProperty("/p4", _visible)) == 0)) and (_droptarget eq "/h4")) {
setProperty("/p6", _visible , "0");
setProperty("/p5", _visible , "0");
setProperty("/p4", _visible , "1");
}
if ((((_name eq "p6") and (Number(getProperty("/p9", _visible)) == 1)) and (Number(getProperty("/p13", _visible)) == 0)) and (_droptarget eq "/h13")) {
setProperty("/p6", _visible , "0");
setProperty("/p9", _visible , "0");
setProperty("/p13", _visible , "1");
}
if ((((_name eq "p6") and (Number(getProperty("/p10", _visible)) == 1)) and (Number(getProperty("/p15", _visible)) == 0)) and (_droptarget eq "/h15")) {
setProperty("/p6", _visible , "0");
setProperty("/p10", _visible , "0");
setProperty("/p15", _visible , "1");
}
if ((((_name eq "p7") and (Number(getProperty("/p4", _visible)) == 1)) and (Number(getProperty("/p2", _visible)) == 0)) and (_droptarget eq "/h2")) {
setProperty("/p7", _visible , "0");
setProperty("/p4", _visible , "0");
setProperty("/p2", _visible , "1");
}
if ((((_name eq "p7") and (Number(getProperty("/p8", _visible)) == 1)) and (Number(getProperty("/p9", _visible)) == 0)) and (_droptarget eq "/h9")) {
setProperty("/p7", _visible , "0");
setProperty("/p8", _visible , "0");
setProperty("/p9", _visible , "1");
}
if ((((_name eq "p8") and (Number(getProperty("/p5", _visible)) == 1)) and (Number(getProperty("/p3", _visible)) == 0)) and (_droptarget eq "/h3")) {
setProperty("/p8", _visible , "0");
setProperty("/p5", _visible , "0");
setProperty("/p3", _visible , "1");
}
if ((((_name eq "p8") and (Number(getProperty("/p9", _visible)) == 1)) and (Number(getProperty("/p10", _visible)) == 0)) and (_droptarget eq "/h10")) {
setProperty("/p8", _visible , "0");
setProperty("/p9", _visible , "0");
setProperty("/p10", _visible , "1");
}
if ((((_name eq "p9") and (Number(getProperty("/p5", _visible)) == 1)) and (Number(getProperty("/p2", _visible)) == 0)) and (_droptarget eq "/h2")) {
setProperty("/p9", _visible , "0");
setProperty("/p5", _visible , "0");
setProperty("/p2", _visible , "1");
}
if ((((_name eq "p9") and (Number(getProperty("/p8", _visible)) == 1)) and (Number(getProperty("/p7", _visible)) == 0)) and (_droptarget eq "/h7")) {
setProperty("/p9", _visible , "0");
setProperty("/p8", _visible , "0");
setProperty("/p7", _visible , "1");
}
if ((((_name eq "p10") and (Number(getProperty("/p6", _visible)) == 1)) and (Number(getProperty("/p3", _visible)) == 0)) and (_droptarget eq "/h3")) {
setProperty("/p10", _visible , "0");
setProperty("/p6", _visible , "0");
setProperty("/p3", _visible , "1");
}
if ((((_name eq "p10") and (Number(getProperty("/p9", _visible)) == 1)) and (Number(getProperty("/p8", _visible)) == 0)) and (_droptarget eq "/h8")) {
setProperty("/p10", _visible , "0");
setProperty("/p9", _visible , "0");
setProperty("/p8", _visible , "1");
}
if ((((_name eq "p11") and (Number(getProperty("/p7", _visible)) == 1)) and (Number(getProperty("/p4", _visible)) == 0)) and (_droptarget eq "/h4")) {
setProperty("/p11", _visible , "0");
setProperty("/p7", _visible , "0");
setProperty("/p4", _visible , "1");
}
if ((((_name eq "p11") and (Number(getProperty("/p12", _visible)) == 1)) and (Number(getProperty("/p13", _visible)) == 0)) and (_droptarget eq "/h13")) {
setProperty("/p11", _visible , "0");
setProperty("/p12", _visible , "0");
setProperty("/p13", _visible , "1");
}
if ((((_name eq "p12") and (Number(getProperty("/p8", _visible)) == 1)) and (Number(getProperty("/p5", _visible)) == 0)) and (_droptarget eq "/h5")) {
setProperty("/p12", _visible , "0");
setProperty("/p8", _visible , "0");
setProperty("/p5", _visible , "1");
}
if ((((_name eq "p12") and (Number(getProperty("/p13", _visible)) == 1)) and (Number(getProperty("/p14", _visible)) == 0)) and (_droptarget eq "/h14")) {
setProperty("/p12", _visible , "0");
setProperty("/p13", _visible , "0");
setProperty("/p14", _visible , "1");
}
if ((((_name eq "p13") and (Number(getProperty("/p12", _visible)) == 1)) and (Number(getProperty("/p11", _visible)) == 0)) and (_droptarget eq "/h11")) {
setProperty("/p13", _visible , "0");
setProperty("/p12", _visible , "0");
setProperty("/p11", _visible , "1");
}
if ((((_name eq "p13") and (Number(getProperty("/p8", _visible)) == 1)) and (Number(getProperty("/p4", _visible)) == 0)) and (_droptarget eq "/h4")) {
setProperty("/p13", _visible , "0");
setProperty("/p8", _visible , "0");
setProperty("/p4", _visible , "1");
}
if ((((_name eq "p13") and (Number(getProperty("/p9", _visible)) == 1)) and (Number(getProperty("/p6", _visible)) == 0)) and (_droptarget eq "/h6")) {
setProperty("/p13", _visible , "0");
setProperty("/p9", _visible , "0");
setProperty("/p6", _visible , "1");
}
if ((((_name eq "p13") and (Number(getProperty("/p14", _visible)) == 1)) and (Number(getProperty("/p15", _visible)) == 0)) and (_droptarget eq "/h15")) {
setProperty("/p13", _visible , "0");
setProperty("/p14", _visible , "0");
setProperty("/p15", _visible , "1");
}
if ((((_name eq "p14") and (Number(getProperty("/p13", _visible)) == 1)) and (Number(getProperty("/p12", _visible)) == 0)) and (_droptarget eq "/h12")) {
setProperty("/p14", _visible , "0");
setProperty("/p13", _visible , "0");
setProperty("/p12", _visible , "1");
}
if ((((_name eq "p14") and (Number(getProperty("/p9", _visible)) == 1)) and (Number(getProperty("/p5", _visible)) == 0)) and (_droptarget eq "/h5")) {
setProperty("/p14", _visible , "0");
setProperty("/p9", _visible , "0");
setProperty("/p5", _visible , "1");
}
if ((((_name eq "p15") and (Number(getProperty("/p14", _visible)) == 1)) and (Number(getProperty("/p13", _visible)) == 0)) and (_droptarget eq "/h13")) {
setProperty("/p15", _visible , "0");
setProperty("/p14", _visible , "0");
setProperty("/p13", _visible , "1");
}
if ((((_name eq "p15") and (Number(getProperty("/p10", _visible)) == 1)) and (Number(getProperty("/p6", _visible)) == 0)) and (_droptarget eq "/h6")) {
setProperty("/p15", _visible , "0");
setProperty("/p10", _visible , "0");
setProperty("/p6", _visible , "1");
}
count = 0;
loop = 0;
while (Number(loop) <= 15) {
loop = Number(loop) + 1;
if (getProperty("/p" add loop, _visible) == 1) {
count = Number(count) + 1;
}
}
if (Number(count) == 1) {
tellTarget ("/") {
gotoAndStop ("win6");
};
}
}
Symbol 184 Button
on (release) {
gotoAndPlay (79);
}
Symbol 194 Button
on (press) {
startDrag (getProperty(_x, _y));
OrgX = _x;
OrgY = _y;
}
on (release) {
stopDrag();
_y = OrgY;
_x = OrgX;
if ((((_name eq "p1") and (Number(getProperty("/p2", _visible)) == 1)) and (Number(getProperty("/p4", _visible)) == 0)) and (_droptarget eq "/h4")) {
setProperty("/p1", _visible , "0");
setProperty("/p2", _visible , "0");
setProperty("/p4", _visible , "1");
}
if ((((_name eq "p1") and (Number(getProperty("/p3", _visible)) == 1)) and (Number(getProperty("/p6", _visible)) == 0)) and (_droptarget eq "/h6")) {
setProperty("/p1", _visible , "0");
setProperty("/p3", _visible , "0");
setProperty("/p6", _visible , "1");
}
if ((((_name eq "p2") and (Number(getProperty("/p4", _visible)) == 1)) and (Number(getProperty("/p7", _visible)) == 0)) and (_droptarget eq "/h7")) {
setProperty("/p2", _visible , "0");
setProperty("/p4", _visible , "0");
setProperty("/p7", _visible , "1");
}
if ((((_name eq "p2") and (Number(getProperty("/p5", _visible)) == 1)) and (Number(getProperty("/p9", _visible)) == 0)) and (_droptarget eq "/h9")) {
setProperty("/p2", _visible , "0");
setProperty("/p5", _visible , "0");
setProperty("/p9", _visible , "1");
}
if ((((_name eq "p3") and (Number(getProperty("/p5", _visible)) == 1)) and (Number(getProperty("/p8", _visible)) == 0)) and (_droptarget eq "/h8")) {
setProperty("/p3", _visible , "0");
setProperty("/p5", _visible , "0");
setProperty("/p8", _visible , "1");
}
if ((((_name eq "p3") and (Number(getProperty("/p6", _visible)) == 1)) and (Number(getProperty("/p10", _visible)) == 0)) and (_droptarget eq "/h10")) {
setProperty("/p3", _visible , "0");
setProperty("/p6", _visible , "0");
setProperty("/p10", _visible , "1");
}
if ((((_name eq "p4") and (Number(getProperty("/p2", _visible)) == 1)) and (Number(getProperty("/p1", _visible)) == 0)) and (_droptarget eq "/h1")) {
setProperty("/p4", _visible , "0");
setProperty("/p2", _visible , "0");
setProperty("/p1", _visible , "1");
}
if ((((_name eq "p4") and (Number(getProperty("/p5", _visible)) == 1)) and (Number(getProperty("/p6", _visible)) == 0)) and (_droptarget eq "/h6")) {
setProperty("/p4", _visible , "0");
setProperty("/p5", _visible , "0");
setProperty("/p6", _visible , "1");
}
if ((((_name eq "p4") and (Number(getProperty("/p7", _visible)) == 1)) and (Number(getProperty("/p11", _visible)) == 0)) and (_droptarget eq "/h11")) {
setProperty("/p4", _visible , "0");
setProperty("/p7", _visible , "0");
setProperty("/p11", _visible , "1");
}
if ((((_name eq "p4") and (Number(getProperty("/p8", _visible)) == 1)) and (Number(getProperty("/p13", _visible)) == 0)) and (_droptarget eq "/h13")) {
setProperty("/p4", _visible , "0");
setProperty("/p8", _visible , "0");
setProperty("/p13", _visible , "1");
}
if ((((_name eq "p5") and (Number(getProperty("/p8", _visible)) == 1)) and (Number(getProperty("/p12", _visible)) == 0)) and (_droptarget eq "/h12")) {
setProperty("/p5", _visible , "0");
setProperty("/p8", _visible , "0");
setProperty("/p12", _visible , "1");
}
if ((((_name eq "p5") and (Number(getProperty("/p9", _visible)) == 1)) and (Number(getProperty("/p14", _visible)) == 0)) and (_droptarget eq "/h14")) {
setProperty("/p5", _visible , "0");
setProperty("/p9", _visible , "0");
setProperty("/p14", _visible , "1");
}
if ((((_name eq "p6") and (Number(getProperty("/p3", _visible)) == 1)) and (Number(getProperty("/p1", _visible)) == 0)) and (_droptarget eq "/h1")) {
setProperty("/p6", _visible , "0");
setProperty("/p3", _visible , "0");
setProperty("/p1", _visible , "1");
}
if ((((_name eq "p6") and (Number(getProperty("/p5", _visible)) == 1)) and (Number(getProperty("/p4", _visible)) == 0)) and (_droptarget eq "/h4")) {
setProperty("/p6", _visible , "0");
setProperty("/p5", _visible , "0");
setProperty("/p4", _visible , "1");
}
if ((((_name eq "p6") and (Number(getProperty("/p9", _visible)) == 1)) and (Number(getProperty("/p13", _visible)) == 0)) and (_droptarget eq "/h13")) {
setProperty("/p6", _visible , "0");
setProperty("/p9", _visible , "0");
setProperty("/p13", _visible , "1");
}
if ((((_name eq "p6") and (Number(getProperty("/p10", _visible)) == 1)) and (Number(getProperty("/p15", _visible)) == 0)) and (_droptarget eq "/h15")) {
setProperty("/p6", _visible , "0");
setProperty("/p10", _visible , "0");
setProperty("/p15", _visible , "1");
}
if ((((_name eq "p7") and (Number(getProperty("/p4", _visible)) == 1)) and (Number(getProperty("/p2", _visible)) == 0)) and (_droptarget eq "/h2")) {
setProperty("/p7", _visible , "0");
setProperty("/p4", _visible , "0");
setProperty("/p2", _visible , "1");
}
if ((((_name eq "p7") and (Number(getProperty("/p8", _visible)) == 1)) and (Number(getProperty("/p9", _visible)) == 0)) and (_droptarget eq "/h9")) {
setProperty("/p7", _visible , "0");
setProperty("/p8", _visible , "0");
setProperty("/p9", _visible , "1");
}
if ((((_name eq "p8") and (Number(getProperty("/p5", _visible)) == 1)) and (Number(getProperty("/p3", _visible)) == 0)) and (_droptarget eq "/h3")) {
setProperty("/p8", _visible , "0");
setProperty("/p5", _visible , "0");
setProperty("/p3", _visible , "1");
}
if ((((_name eq "p8") and (Number(getProperty("/p9", _visible)) == 1)) and (Number(getProperty("/p10", _visible)) == 0)) and (_droptarget eq "/h10")) {
setProperty("/p8", _visible , "0");
setProperty("/p9", _visible , "0");
setProperty("/p10", _visible , "1");
}
if ((((_name eq "p9") and (Number(getProperty("/p5", _visible)) == 1)) and (Number(getProperty("/p2", _visible)) == 0)) and (_droptarget eq "/h2")) {
setProperty("/p9", _visible , "0");
setProperty("/p5", _visible , "0");
setProperty("/p2", _visible , "1");
}
if ((((_name eq "p9") and (Number(getProperty("/p8", _visible)) == 1)) and (Number(getProperty("/p7", _visible)) == 0)) and (_droptarget eq "/h7")) {
setProperty("/p9", _visible , "0");
setProperty("/p8", _visible , "0");
setProperty("/p7", _visible , "1");
}
if ((((_name eq "p10") and (Number(getProperty("/p6", _visible)) == 1)) and (Number(getProperty("/p3", _visible)) == 0)) and (_droptarget eq "/h3")) {
setProperty("/p10", _visible , "0");
setProperty("/p6", _visible , "0");
setProperty("/p3", _visible , "1");
}
if ((((_name eq "p10") and (Number(getProperty("/p9", _visible)) == 1)) and (Number(getProperty("/p8", _visible)) == 0)) and (_droptarget eq "/h8")) {
setProperty("/p10", _visible , "0");
setProperty("/p9", _visible , "0");
setProperty("/p8", _visible , "1");
}
if ((((_name eq "p11") and (Number(getProperty("/p7", _visible)) == 1)) and (Number(getProperty("/p4", _visible)) == 0)) and (_droptarget eq "/h4")) {
setProperty("/p11", _visible , "0");
setProperty("/p7", _visible , "0");
setProperty("/p4", _visible , "1");
}
if ((((_name eq "p11") and (Number(getProperty("/p12", _visible)) == 1)) and (Number(getProperty("/p13", _visible)) == 0)) and (_droptarget eq "/h13")) {
setProperty("/p11", _visible , "0");
setProperty("/p12", _visible , "0");
setProperty("/p13", _visible , "1");
}
if ((((_name eq "p12") and (Number(getProperty("/p8", _visible)) == 1)) and (Number(getProperty("/p5", _visible)) == 0)) and (_droptarget eq "/h5")) {
setProperty("/p12", _visible , "0");
setProperty("/p8", _visible , "0");
setProperty("/p5", _visible , "1");
}
if ((((_name eq "p12") and (Number(getProperty("/p13", _visible)) == 1)) and (Number(getProperty("/p14", _visible)) == 0)) and (_droptarget eq "/h14")) {
setProperty("/p12", _visible , "0");
setProperty("/p13", _visible , "0");
setProperty("/p14", _visible , "1");
}
if ((((_name eq "p13") and (Number(getProperty("/p12", _visible)) == 1)) and (Number(getProperty("/p11", _visible)) == 0)) and (_droptarget eq "/h11")) {
setProperty("/p13", _visible , "0");
setProperty("/p12", _visible , "0");
setProperty("/p11", _visible , "1");
}
if ((((_name eq "p13") and (Number(getProperty("/p8", _visible)) == 1)) and (Number(getProperty("/p4", _visible)) == 0)) and (_droptarget eq "/h4")) {
setProperty("/p13", _visible , "0");
setProperty("/p8", _visible , "0");
setProperty("/p4", _visible , "1");
}
if ((((_name eq "p13") and (Number(getProperty("/p9", _visible)) == 1)) and (Number(getProperty("/p6", _visible)) == 0)) and (_droptarget eq "/h6")) {
setProperty("/p13", _visible , "0");
setProperty("/p9", _visible , "0");
setProperty("/p6", _visible , "1");
}
if ((((_name eq "p13") and (Number(getProperty("/p14", _visible)) == 1)) and (Number(getProperty("/p15", _visible)) == 0)) and (_droptarget eq "/h15")) {
setProperty("/p13", _visible , "0");
setProperty("/p14", _visible , "0");
setProperty("/p15", _visible , "1");
}
if ((((_name eq "p14") and (Number(getProperty("/p13", _visible)) == 1)) and (Number(getProperty("/p12", _visible)) == 0)) and (_droptarget eq "/h12")) {
setProperty("/p14", _visible , "0");
setProperty("/p13", _visible , "0");
setProperty("/p12", _visible , "1");
}
if ((((_name eq "p14") and (Number(getProperty("/p9", _visible)) == 1)) and (Number(getProperty("/p5", _visible)) == 0)) and (_droptarget eq "/h5")) {
setProperty("/p14", _visible , "0");
setProperty("/p9", _visible , "0");
setProperty("/p5", _visible , "1");
}
if ((((_name eq "p15") and (Number(getProperty("/p14", _visible)) == 1)) and (Number(getProperty("/p13", _visible)) == 0)) and (_droptarget eq "/h13")) {
setProperty("/p15", _visible , "0");
setProperty("/p14", _visible , "0");
setProperty("/p13", _visible , "1");
}
if ((((_name eq "p15") and (Number(getProperty("/p10", _visible)) == 1)) and (Number(getProperty("/p6", _visible)) == 0)) and (_droptarget eq "/h6")) {
setProperty("/p15", _visible , "0");
setProperty("/p10", _visible , "0");
setProperty("/p6", _visible , "1");
}
count = 0;
loop = 0;
while (Number(loop) <= 15) {
loop = Number(loop) + 1;
if (getProperty("/p" add loop, _visible) == 1) {
count = Number(count) + 1;
}
}
if (Number(count) == 1) {
tellTarget ("/") {
gotoAndStop ("win7");
};
}
}
Symbol 196 Button
on (release) {
gotoAndPlay (89);
}
Symbol 206 Button
on (press) {
startDrag (getProperty(_x, _y));
OrgX = _x;
OrgY = _y;
}
on (release) {
stopDrag();
_y = OrgY;
_x = OrgX;
if ((((_name eq "p1") and (Number(getProperty("/p2", _visible)) == 1)) and (Number(getProperty("/p4", _visible)) == 0)) and (_droptarget eq "/h4")) {
setProperty("/p1", _visible , "0");
setProperty("/p2", _visible , "0");
setProperty("/p4", _visible , "1");
}
if ((((_name eq "p1") and (Number(getProperty("/p3", _visible)) == 1)) and (Number(getProperty("/p6", _visible)) == 0)) and (_droptarget eq "/h6")) {
setProperty("/p1", _visible , "0");
setProperty("/p3", _visible , "0");
setProperty("/p6", _visible , "1");
}
if ((((_name eq "p2") and (Number(getProperty("/p4", _visible)) == 1)) and (Number(getProperty("/p7", _visible)) == 0)) and (_droptarget eq "/h7")) {
setProperty("/p2", _visible , "0");
setProperty("/p4", _visible , "0");
setProperty("/p7", _visible , "1");
}
if ((((_name eq "p2") and (Number(getProperty("/p5", _visible)) == 1)) and (Number(getProperty("/p9", _visible)) == 0)) and (_droptarget eq "/h9")) {
setProperty("/p2", _visible , "0");
setProperty("/p5", _visible , "0");
setProperty("/p9", _visible , "1");
}
if ((((_name eq "p3") and (Number(getProperty("/p5", _visible)) == 1)) and (Number(getProperty("/p8", _visible)) == 0)) and (_droptarget eq "/h8")) {
setProperty("/p3", _visible , "0");
setProperty("/p5", _visible , "0");
setProperty("/p8", _visible , "1");
}
if ((((_name eq "p3") and (Number(getProperty("/p6", _visible)) == 1)) and (Number(getProperty("/p10", _visible)) == 0)) and (_droptarget eq "/h10")) {
setProperty("/p3", _visible , "0");
setProperty("/p6", _visible , "0");
setProperty("/p10", _visible , "1");
}
if ((((_name eq "p4") and (Number(getProperty("/p2", _visible)) == 1)) and (Number(getProperty("/p1", _visible)) == 0)) and (_droptarget eq "/h1")) {
setProperty("/p4", _visible , "0");
setProperty("/p2", _visible , "0");
setProperty("/p1", _visible , "1");
}
if ((((_name eq "p4") and (Number(getProperty("/p5", _visible)) == 1)) and (Number(getProperty("/p6", _visible)) == 0)) and (_droptarget eq "/h6")) {
setProperty("/p4", _visible , "0");
setProperty("/p5", _visible , "0");
setProperty("/p6", _visible , "1");
}
if ((((_name eq "p4") and (Number(getProperty("/p7", _visible)) == 1)) and (Number(getProperty("/p11", _visible)) == 0)) and (_droptarget eq "/h11")) {
setProperty("/p4", _visible , "0");
setProperty("/p7", _visible , "0");
setProperty("/p11", _visible , "1");
}
if ((((_name eq "p4") and (Number(getProperty("/p8", _visible)) == 1)) and (Number(getProperty("/p13", _visible)) == 0)) and (_droptarget eq "/h13")) {
setProperty("/p4", _visible , "0");
setProperty("/p8", _visible , "0");
setProperty("/p13", _visible , "1");
}
if ((((_name eq "p5") and (Number(getProperty("/p8", _visible)) == 1)) and (Number(getProperty("/p12", _visible)) == 0)) and (_droptarget eq "/h12")) {
setProperty("/p5", _visible , "0");
setProperty("/p8", _visible , "0");
setProperty("/p12", _visible , "1");
}
if ((((_name eq "p5") and (Number(getProperty("/p9", _visible)) == 1)) and (Number(getProperty("/p14", _visible)) == 0)) and (_droptarget eq "/h14")) {
setProperty("/p5", _visible , "0");
setProperty("/p9", _visible , "0");
setProperty("/p14", _visible , "1");
}
if ((((_name eq "p6") and (Number(getProperty("/p3", _visible)) == 1)) and (Number(getProperty("/p1", _visible)) == 0)) and (_droptarget eq "/h1")) {
setProperty("/p6", _visible , "0");
setProperty("/p3", _visible , "0");
setProperty("/p1", _visible , "1");
}
if ((((_name eq "p6") and (Number(getProperty("/p5", _visible)) == 1)) and (Number(getProperty("/p4", _visible)) == 0)) and (_droptarget eq "/h4")) {
setProperty("/p6", _visible , "0");
setProperty("/p5", _visible , "0");
setProperty("/p4", _visible , "1");
}
if ((((_name eq "p6") and (Number(getProperty("/p9", _visible)) == 1)) and (Number(getProperty("/p13", _visible)) == 0)) and (_droptarget eq "/h13")) {
setProperty("/p6", _visible , "0");
setProperty("/p9", _visible , "0");
setProperty("/p13", _visible , "1");
}
if ((((_name eq "p6") and (Number(getProperty("/p10", _visible)) == 1)) and (Number(getProperty("/p15", _visible)) == 0)) and (_droptarget eq "/h15")) {
setProperty("/p6", _visible , "0");
setProperty("/p10", _visible , "0");
setProperty("/p15", _visible , "1");
}
if ((((_name eq "p7") and (Number(getProperty("/p4", _visible)) == 1)) and (Number(getProperty("/p2", _visible)) == 0)) and (_droptarget eq "/h2")) {
setProperty("/p7", _visible , "0");
setProperty("/p4", _visible , "0");
setProperty("/p2", _visible , "1");
}
if ((((_name eq "p7") and (Number(getProperty("/p8", _visible)) == 1)) and (Number(getProperty("/p9", _visible)) == 0)) and (_droptarget eq "/h9")) {
setProperty("/p7", _visible , "0");
setProperty("/p8", _visible , "0");
setProperty("/p9", _visible , "1");
}
if ((((_name eq "p8") and (Number(getProperty("/p5", _visible)) == 1)) and (Number(getProperty("/p3", _visible)) == 0)) and (_droptarget eq "/h3")) {
setProperty("/p8", _visible , "0");
setProperty("/p5", _visible , "0");
setProperty("/p3", _visible , "1");
}
if ((((_name eq "p8") and (Number(getProperty("/p9", _visible)) == 1)) and (Number(getProperty("/p10", _visible)) == 0)) and (_droptarget eq "/h10")) {
setProperty("/p8", _visible , "0");
setProperty("/p9", _visible , "0");
setProperty("/p10", _visible , "1");
}
if ((((_name eq "p9") and (Number(getProperty("/p5", _visible)) == 1)) and (Number(getProperty("/p2", _visible)) == 0)) and (_droptarget eq "/h2")) {
setProperty("/p9", _visible , "0");
setProperty("/p5", _visible , "0");
setProperty("/p2", _visible , "1");
}
if ((((_name eq "p9") and (Number(getProperty("/p8", _visible)) == 1)) and (Number(getProperty("/p7", _visible)) == 0)) and (_droptarget eq "/h7")) {
setProperty("/p9", _visible , "0");
setProperty("/p8", _visible , "0");
setProperty("/p7", _visible , "1");
}
if ((((_name eq "p10") and (Number(getProperty("/p6", _visible)) == 1)) and (Number(getProperty("/p3", _visible)) == 0)) and (_droptarget eq "/h3")) {
setProperty("/p10", _visible , "0");
setProperty("/p6", _visible , "0");
setProperty("/p3", _visible , "1");
}
if ((((_name eq "p10") and (Number(getProperty("/p9", _visible)) == 1)) and (Number(getProperty("/p8", _visible)) == 0)) and (_droptarget eq "/h8")) {
setProperty("/p10", _visible , "0");
setProperty("/p9", _visible , "0");
setProperty("/p8", _visible , "1");
}
if ((((_name eq "p11") and (Number(getProperty("/p7", _visible)) == 1)) and (Number(getProperty("/p4", _visible)) == 0)) and (_droptarget eq "/h4")) {
setProperty("/p11", _visible , "0");
setProperty("/p7", _visible , "0");
setProperty("/p4", _visible , "1");
}
if ((((_name eq "p11") and (Number(getProperty("/p12", _visible)) == 1)) and (Number(getProperty("/p13", _visible)) == 0)) and (_droptarget eq "/h13")) {
setProperty("/p11", _visible , "0");
setProperty("/p12", _visible , "0");
setProperty("/p13", _visible , "1");
}
if ((((_name eq "p12") and (Number(getProperty("/p8", _visible)) == 1)) and (Number(getProperty("/p5", _visible)) == 0)) and (_droptarget eq "/h5")) {
setProperty("/p12", _visible , "0");
setProperty("/p8", _visible , "0");
setProperty("/p5", _visible , "1");
}
if ((((_name eq "p12") and (Number(getProperty("/p13", _visible)) == 1)) and (Number(getProperty("/p14", _visible)) == 0)) and (_droptarget eq "/h14")) {
setProperty("/p12", _visible , "0");
setProperty("/p13", _visible , "0");
setProperty("/p14", _visible , "1");
}
if ((((_name eq "p13") and (Number(getProperty("/p12", _visible)) == 1)) and (Number(getProperty("/p11", _visible)) == 0)) and (_droptarget eq "/h11")) {
setProperty("/p13", _visible , "0");
setProperty("/p12", _visible , "0");
setProperty("/p11", _visible , "1");
}
if ((((_name eq "p13") and (Number(getProperty("/p8", _visible)) == 1)) and (Number(getProperty("/p4", _visible)) == 0)) and (_droptarget eq "/h4")) {
setProperty("/p13", _visible , "0");
setProperty("/p8", _visible , "0");
setProperty("/p4", _visible , "1");
}
if ((((_name eq "p13") and (Number(getProperty("/p9", _visible)) == 1)) and (Number(getProperty("/p6", _visible)) == 0)) and (_droptarget eq "/h6")) {
setProperty("/p13", _visible , "0");
setProperty("/p9", _visible , "0");
setProperty("/p6", _visible , "1");
}
if ((((_name eq "p13") and (Number(getProperty("/p14", _visible)) == 1)) and (Number(getProperty("/p15", _visible)) == 0)) and (_droptarget eq "/h15")) {
setProperty("/p13", _visible , "0");
setProperty("/p14", _visible , "0");
setProperty("/p15", _visible , "1");
}
if ((((_name eq "p14") and (Number(getProperty("/p13", _visible)) == 1)) and (Number(getProperty("/p12", _visible)) == 0)) and (_droptarget eq "/h12")) {
setProperty("/p14", _visible , "0");
setProperty("/p13", _visible , "0");
setProperty("/p12", _visible , "1");
}
if ((((_name eq "p14") and (Number(getProperty("/p9", _visible)) == 1)) and (Number(getProperty("/p5", _visible)) == 0)) and (_droptarget eq "/h5")) {
setProperty("/p14", _visible , "0");
setProperty("/p9", _visible , "0");
setProperty("/p5", _visible , "1");
}
if ((((_name eq "p15") and (Number(getProperty("/p14", _visible)) == 1)) and (Number(getProperty("/p13", _visible)) == 0)) and (_droptarget eq "/h13")) {
setProperty("/p15", _visible , "0");
setProperty("/p14", _visible , "0");
setProperty("/p13", _visible , "1");
}
if ((((_name eq "p15") and (Number(getProperty("/p10", _visible)) == 1)) and (Number(getProperty("/p6", _visible)) == 0)) and (_droptarget eq "/h6")) {
setProperty("/p15", _visible , "0");
setProperty("/p10", _visible , "0");
setProperty("/p6", _visible , "1");
}
count = 0;
loop = 0;
while (Number(loop) <= 15) {
loop = Number(loop) + 1;
if (getProperty("/p" add loop, _visible) == 1) {
count = Number(count) + 1;
}
}
if (Number(count) == 1) {
tellTarget ("/") {
gotoAndStop ("win8");
};
}
}
Symbol 208 Button
on (release) {
gotoAndPlay (99);
}
Symbol 218 Button
on (press) {
startDrag (getProperty(_x, _y));
OrgX = _x;
OrgY = _y;
}
on (release) {
stopDrag();
_y = OrgY;
_x = OrgX;
if ((((_name eq "p1") and (Number(getProperty("/p2", _visible)) == 1)) and (Number(getProperty("/p4", _visible)) == 0)) and (_droptarget eq "/h4")) {
setProperty("/p1", _visible , "0");
setProperty("/p2", _visible , "0");
setProperty("/p4", _visible , "1");
}
if ((((_name eq "p1") and (Number(getProperty("/p3", _visible)) == 1)) and (Number(getProperty("/p6", _visible)) == 0)) and (_droptarget eq "/h6")) {
setProperty("/p1", _visible , "0");
setProperty("/p3", _visible , "0");
setProperty("/p6", _visible , "1");
}
if ((((_name eq "p2") and (Number(getProperty("/p4", _visible)) == 1)) and (Number(getProperty("/p7", _visible)) == 0)) and (_droptarget eq "/h7")) {
setProperty("/p2", _visible , "0");
setProperty("/p4", _visible , "0");
setProperty("/p7", _visible , "1");
}
if ((((_name eq "p2") and (Number(getProperty("/p5", _visible)) == 1)) and (Number(getProperty("/p9", _visible)) == 0)) and (_droptarget eq "/h9")) {
setProperty("/p2", _visible , "0");
setProperty("/p5", _visible , "0");
setProperty("/p9", _visible , "1");
}
if ((((_name eq "p3") and (Number(getProperty("/p5", _visible)) == 1)) and (Number(getProperty("/p8", _visible)) == 0)) and (_droptarget eq "/h8")) {
setProperty("/p3", _visible , "0");
setProperty("/p5", _visible , "0");
setProperty("/p8", _visible , "1");
}
if ((((_name eq "p3") and (Number(getProperty("/p6", _visible)) == 1)) and (Number(getProperty("/p10", _visible)) == 0)) and (_droptarget eq "/h10")) {
setProperty("/p3", _visible , "0");
setProperty("/p6", _visible , "0");
setProperty("/p10", _visible , "1");
}
if ((((_name eq "p4") and (Number(getProperty("/p2", _visible)) == 1)) and (Number(getProperty("/p1", _visible)) == 0)) and (_droptarget eq "/h1")) {
setProperty("/p4", _visible , "0");
setProperty("/p2", _visible , "0");
setProperty("/p1", _visible , "1");
}
if ((((_name eq "p4") and (Number(getProperty("/p5", _visible)) == 1)) and (Number(getProperty("/p6", _visible)) == 0)) and (_droptarget eq "/h6")) {
setProperty("/p4", _visible , "0");
setProperty("/p5", _visible , "0");
setProperty("/p6", _visible , "1");
}
if ((((_name eq "p4") and (Number(getProperty("/p7", _visible)) == 1)) and (Number(getProperty("/p11", _visible)) == 0)) and (_droptarget eq "/h11")) {
setProperty("/p4", _visible , "0");
setProperty("/p7", _visible , "0");
setProperty("/p11", _visible , "1");
}
if ((((_name eq "p4") and (Number(getProperty("/p8", _visible)) == 1)) and (Number(getProperty("/p13", _visible)) == 0)) and (_droptarget eq "/h13")) {
setProperty("/p4", _visible , "0");
setProperty("/p8", _visible , "0");
setProperty("/p13", _visible , "1");
}
if ((((_name eq "p5") and (Number(getProperty("/p8", _visible)) == 1)) and (Number(getProperty("/p12", _visible)) == 0)) and (_droptarget eq "/h12")) {
setProperty("/p5", _visible , "0");
setProperty("/p8", _visible , "0");
setProperty("/p12", _visible , "1");
}
if ((((_name eq "p5") and (Number(getProperty("/p9", _visible)) == 1)) and (Number(getProperty("/p14", _visible)) == 0)) and (_droptarget eq "/h14")) {
setProperty("/p5", _visible , "0");
setProperty("/p9", _visible , "0");
setProperty("/p14", _visible , "1");
}
if ((((_name eq "p6") and (Number(getProperty("/p3", _visible)) == 1)) and (Number(getProperty("/p1", _visible)) == 0)) and (_droptarget eq "/h1")) {
setProperty("/p6", _visible , "0");
setProperty("/p3", _visible , "0");
setProperty("/p1", _visible , "1");
}
if ((((_name eq "p6") and (Number(getProperty("/p5", _visible)) == 1)) and (Number(getProperty("/p4", _visible)) == 0)) and (_droptarget eq "/h4")) {
setProperty("/p6", _visible , "0");
setProperty("/p5", _visible , "0");
setProperty("/p4", _visible , "1");
}
if ((((_name eq "p6") and (Number(getProperty("/p9", _visible)) == 1)) and (Number(getProperty("/p13", _visible)) == 0)) and (_droptarget eq "/h13")) {
setProperty("/p6", _visible , "0");
setProperty("/p9", _visible , "0");
setProperty("/p13", _visible , "1");
}
if ((((_name eq "p6") and (Number(getProperty("/p10", _visible)) == 1)) and (Number(getProperty("/p15", _visible)) == 0)) and (_droptarget eq "/h15")) {
setProperty("/p6", _visible , "0");
setProperty("/p10", _visible , "0");
setProperty("/p15", _visible , "1");
}
if ((((_name eq "p7") and (Number(getProperty("/p4", _visible)) == 1)) and (Number(getProperty("/p2", _visible)) == 0)) and (_droptarget eq "/h2")) {
setProperty("/p7", _visible , "0");
setProperty("/p4", _visible , "0");
setProperty("/p2", _visible , "1");
}
if ((((_name eq "p7") and (Number(getProperty("/p8", _visible)) == 1)) and (Number(getProperty("/p9", _visible)) == 0)) and (_droptarget eq "/h9")) {
setProperty("/p7", _visible , "0");
setProperty("/p8", _visible , "0");
setProperty("/p9", _visible , "1");
}
if ((((_name eq "p8") and (Number(getProperty("/p5", _visible)) == 1)) and (Number(getProperty("/p3", _visible)) == 0)) and (_droptarget eq "/h3")) {
setProperty("/p8", _visible , "0");
setProperty("/p5", _visible , "0");
setProperty("/p3", _visible , "1");
}
if ((((_name eq "p8") and (Number(getProperty("/p9", _visible)) == 1)) and (Number(getProperty("/p10", _visible)) == 0)) and (_droptarget eq "/h10")) {
setProperty("/p8", _visible , "0");
setProperty("/p9", _visible , "0");
setProperty("/p10", _visible , "1");
}
if ((((_name eq "p9") and (Number(getProperty("/p5", _visible)) == 1)) and (Number(getProperty("/p2", _visible)) == 0)) and (_droptarget eq "/h2")) {
setProperty("/p9", _visible , "0");
setProperty("/p5", _visible , "0");
setProperty("/p2", _visible , "1");
}
if ((((_name eq "p9") and (Number(getProperty("/p8", _visible)) == 1)) and (Number(getProperty("/p7", _visible)) == 0)) and (_droptarget eq "/h7")) {
setProperty("/p9", _visible , "0");
setProperty("/p8", _visible , "0");
setProperty("/p7", _visible , "1");
}
if ((((_name eq "p10") and (Number(getProperty("/p6", _visible)) == 1)) and (Number(getProperty("/p3", _visible)) == 0)) and (_droptarget eq "/h3")) {
setProperty("/p10", _visible , "0");
setProperty("/p6", _visible , "0");
setProperty("/p3", _visible , "1");
}
if ((((_name eq "p10") and (Number(getProperty("/p9", _visible)) == 1)) and (Number(getProperty("/p8", _visible)) == 0)) and (_droptarget eq "/h8")) {
setProperty("/p10", _visible , "0");
setProperty("/p9", _visible , "0");
setProperty("/p8", _visible , "1");
}
if ((((_name eq "p11") and (Number(getProperty("/p7", _visible)) == 1)) and (Number(getProperty("/p4", _visible)) == 0)) and (_droptarget eq "/h4")) {
setProperty("/p11", _visible , "0");
setProperty("/p7", _visible , "0");
setProperty("/p4", _visible , "1");
}
if ((((_name eq "p11") and (Number(getProperty("/p12", _visible)) == 1)) and (Number(getProperty("/p13", _visible)) == 0)) and (_droptarget eq "/h13")) {
setProperty("/p11", _visible , "0");
setProperty("/p12", _visible , "0");
setProperty("/p13", _visible , "1");
}
if ((((_name eq "p12") and (Number(getProperty("/p8", _visible)) == 1)) and (Number(getProperty("/p5", _visible)) == 0)) and (_droptarget eq "/h5")) {
setProperty("/p12", _visible , "0");
setProperty("/p8", _visible , "0");
setProperty("/p5", _visible , "1");
}
if ((((_name eq "p12") and (Number(getProperty("/p13", _visible)) == 1)) and (Number(getProperty("/p14", _visible)) == 0)) and (_droptarget eq "/h14")) {
setProperty("/p12", _visible , "0");
setProperty("/p13", _visible , "0");
setProperty("/p14", _visible , "1");
}
if ((((_name eq "p13") and (Number(getProperty("/p12", _visible)) == 1)) and (Number(getProperty("/p11", _visible)) == 0)) and (_droptarget eq "/h11")) {
setProperty("/p13", _visible , "0");
setProperty("/p12", _visible , "0");
setProperty("/p11", _visible , "1");
}
if ((((_name eq "p13") and (Number(getProperty("/p8", _visible)) == 1)) and (Number(getProperty("/p4", _visible)) == 0)) and (_droptarget eq "/h4")) {
setProperty("/p13", _visible , "0");
setProperty("/p8", _visible , "0");
setProperty("/p4", _visible , "1");
}
if ((((_name eq "p13") and (Number(getProperty("/p9", _visible)) == 1)) and (Number(getProperty("/p6", _visible)) == 0)) and (_droptarget eq "/h6")) {
setProperty("/p13", _visible , "0");
setProperty("/p9", _visible , "0");
setProperty("/p6", _visible , "1");
}
if ((((_name eq "p13") and (Number(getProperty("/p14", _visible)) == 1)) and (Number(getProperty("/p15", _visible)) == 0)) and (_droptarget eq "/h15")) {
setProperty("/p13", _visible , "0");
setProperty("/p14", _visible , "0");
setProperty("/p15", _visible , "1");
}
if ((((_name eq "p14") and (Number(getProperty("/p13", _visible)) == 1)) and (Number(getProperty("/p12", _visible)) == 0)) and (_droptarget eq "/h12")) {
setProperty("/p14", _visible , "0");
setProperty("/p13", _visible , "0");
setProperty("/p12", _visible , "1");
}
if ((((_name eq "p14") and (Number(getProperty("/p9", _visible)) == 1)) and (Number(getProperty("/p5", _visible)) == 0)) and (_droptarget eq "/h5")) {
setProperty("/p14", _visible , "0");
setProperty("/p9", _visible , "0");
setProperty("/p5", _visible , "1");
}
if ((((_name eq "p15") and (Number(getProperty("/p14", _visible)) == 1)) and (Number(getProperty("/p13", _visible)) == 0)) and (_droptarget eq "/h13")) {
setProperty("/p15", _visible , "0");
setProperty("/p14", _visible , "0");
setProperty("/p13", _visible , "1");
}
if ((((_name eq "p15") and (Number(getProperty("/p10", _visible)) == 1)) and (Number(getProperty("/p6", _visible)) == 0)) and (_droptarget eq "/h6")) {
setProperty("/p15", _visible , "0");
setProperty("/p10", _visible , "0");
setProperty("/p6", _visible , "1");
}
count = 0;
loop = 0;
while (Number(loop) <= 15) {
loop = Number(loop) + 1;
if (getProperty("/p" add loop, _visible) == 1) {
count = Number(count) + 1;
}
}
if (Number(count) == 1) {
tellTarget ("/") {
gotoAndStop ("win9");
};
}
}
Symbol 220 Button
on (release) {
gotoAndPlay (109);
}
Symbol 230 Button
on (press) {
startDrag (getProperty(_x, _y));
OrgX = _x;
OrgY = _y;
}
on (release) {
stopDrag();
_y = OrgY;
_x = OrgX;
if ((((_name eq "p1") and (Number(getProperty("/p2", _visible)) == 1)) and (Number(getProperty("/p4", _visible)) == 0)) and (_droptarget eq "/h4")) {
setProperty("/p1", _visible , "0");
setProperty("/p2", _visible , "0");
setProperty("/p4", _visible , "1");
}
if ((((_name eq "p1") and (Number(getProperty("/p3", _visible)) == 1)) and (Number(getProperty("/p6", _visible)) == 0)) and (_droptarget eq "/h6")) {
setProperty("/p1", _visible , "0");
setProperty("/p3", _visible , "0");
setProperty("/p6", _visible , "1");
}
if ((((_name eq "p2") and (Number(getProperty("/p4", _visible)) == 1)) and (Number(getProperty("/p7", _visible)) == 0)) and (_droptarget eq "/h7")) {
setProperty("/p2", _visible , "0");
setProperty("/p4", _visible , "0");
setProperty("/p7", _visible , "1");
}
if ((((_name eq "p2") and (Number(getProperty("/p5", _visible)) == 1)) and (Number(getProperty("/p9", _visible)) == 0)) and (_droptarget eq "/h9")) {
setProperty("/p2", _visible , "0");
setProperty("/p5", _visible , "0");
setProperty("/p9", _visible , "1");
}
if ((((_name eq "p3") and (Number(getProperty("/p5", _visible)) == 1)) and (Number(getProperty("/p8", _visible)) == 0)) and (_droptarget eq "/h8")) {
setProperty("/p3", _visible , "0");
setProperty("/p5", _visible , "0");
setProperty("/p8", _visible , "1");
}
if ((((_name eq "p3") and (Number(getProperty("/p6", _visible)) == 1)) and (Number(getProperty("/p10", _visible)) == 0)) and (_droptarget eq "/h10")) {
setProperty("/p3", _visible , "0");
setProperty("/p6", _visible , "0");
setProperty("/p10", _visible , "1");
}
if ((((_name eq "p4") and (Number(getProperty("/p2", _visible)) == 1)) and (Number(getProperty("/p1", _visible)) == 0)) and (_droptarget eq "/h1")) {
setProperty("/p4", _visible , "0");
setProperty("/p2", _visible , "0");
setProperty("/p1", _visible , "1");
}
if ((((_name eq "p4") and (Number(getProperty("/p5", _visible)) == 1)) and (Number(getProperty("/p6", _visible)) == 0)) and (_droptarget eq "/h6")) {
setProperty("/p4", _visible , "0");
setProperty("/p5", _visible , "0");
setProperty("/p6", _visible , "1");
}
if ((((_name eq "p4") and (Number(getProperty("/p7", _visible)) == 1)) and (Number(getProperty("/p11", _visible)) == 0)) and (_droptarget eq "/h11")) {
setProperty("/p4", _visible , "0");
setProperty("/p7", _visible , "0");
setProperty("/p11", _visible , "1");
}
if ((((_name eq "p4") and (Number(getProperty("/p8", _visible)) == 1)) and (Number(getProperty("/p13", _visible)) == 0)) and (_droptarget eq "/h13")) {
setProperty("/p4", _visible , "0");
setProperty("/p8", _visible , "0");
setProperty("/p13", _visible , "1");
}
if ((((_name eq "p5") and (Number(getProperty("/p8", _visible)) == 1)) and (Number(getProperty("/p12", _visible)) == 0)) and (_droptarget eq "/h12")) {
setProperty("/p5", _visible , "0");
setProperty("/p8", _visible , "0");
setProperty("/p12", _visible , "1");
}
if ((((_name eq "p5") and (Number(getProperty("/p9", _visible)) == 1)) and (Number(getProperty("/p14", _visible)) == 0)) and (_droptarget eq "/h14")) {
setProperty("/p5", _visible , "0");
setProperty("/p9", _visible , "0");
setProperty("/p14", _visible , "1");
}
if ((((_name eq "p6") and (Number(getProperty("/p3", _visible)) == 1)) and (Number(getProperty("/p1", _visible)) == 0)) and (_droptarget eq "/h1")) {
setProperty("/p6", _visible , "0");
setProperty("/p3", _visible , "0");
setProperty("/p1", _visible , "1");
}
if ((((_name eq "p6") and (Number(getProperty("/p5", _visible)) == 1)) and (Number(getProperty("/p4", _visible)) == 0)) and (_droptarget eq "/h4")) {
setProperty("/p6", _visible , "0");
setProperty("/p5", _visible , "0");
setProperty("/p4", _visible , "1");
}
if ((((_name eq "p6") and (Number(getProperty("/p9", _visible)) == 1)) and (Number(getProperty("/p13", _visible)) == 0)) and (_droptarget eq "/h13")) {
setProperty("/p6", _visible , "0");
setProperty("/p9", _visible , "0");
setProperty("/p13", _visible , "1");
}
if ((((_name eq "p6") and (Number(getProperty("/p10", _visible)) == 1)) and (Number(getProperty("/p15", _visible)) == 0)) and (_droptarget eq "/h15")) {
setProperty("/p6", _visible , "0");
setProperty("/p10", _visible , "0");
setProperty("/p15", _visible , "1");
}
if ((((_name eq "p7") and (Number(getProperty("/p4", _visible)) == 1)) and (Number(getProperty("/p2", _visible)) == 0)) and (_droptarget eq "/h2")) {
setProperty("/p7", _visible , "0");
setProperty("/p4", _visible , "0");
setProperty("/p2", _visible , "1");
}
if ((((_name eq "p7") and (Number(getProperty("/p8", _visible)) == 1)) and (Number(getProperty("/p9", _visible)) == 0)) and (_droptarget eq "/h9")) {
setProperty("/p7", _visible , "0");
setProperty("/p8", _visible , "0");
setProperty("/p9", _visible , "1");
}
if ((((_name eq "p8") and (Number(getProperty("/p5", _visible)) == 1)) and (Number(getProperty("/p3", _visible)) == 0)) and (_droptarget eq "/h3")) {
setProperty("/p8", _visible , "0");
setProperty("/p5", _visible , "0");
setProperty("/p3", _visible , "1");
}
if ((((_name eq "p8") and (Number(getProperty("/p9", _visible)) == 1)) and (Number(getProperty("/p10", _visible)) == 0)) and (_droptarget eq "/h10")) {
setProperty("/p8", _visible , "0");
setProperty("/p9", _visible , "0");
setProperty("/p10", _visible , "1");
}
if ((((_name eq "p9") and (Number(getProperty("/p5", _visible)) == 1)) and (Number(getProperty("/p2", _visible)) == 0)) and (_droptarget eq "/h2")) {
setProperty("/p9", _visible , "0");
setProperty("/p5", _visible , "0");
setProperty("/p2", _visible , "1");
}
if ((((_name eq "p9") and (Number(getProperty("/p8", _visible)) == 1)) and (Number(getProperty("/p7", _visible)) == 0)) and (_droptarget eq "/h7")) {
setProperty("/p9", _visible , "0");
setProperty("/p8", _visible , "0");
setProperty("/p7", _visible , "1");
}
if ((((_name eq "p10") and (Number(getProperty("/p6", _visible)) == 1)) and (Number(getProperty("/p3", _visible)) == 0)) and (_droptarget eq "/h3")) {
setProperty("/p10", _visible , "0");
setProperty("/p6", _visible , "0");
setProperty("/p3", _visible , "1");
}
if ((((_name eq "p10") and (Number(getProperty("/p9", _visible)) == 1)) and (Number(getProperty("/p8", _visible)) == 0)) and (_droptarget eq "/h8")) {
setProperty("/p10", _visible , "0");
setProperty("/p9", _visible , "0");
setProperty("/p8", _visible , "1");
}
if ((((_name eq "p11") and (Number(getProperty("/p7", _visible)) == 1)) and (Number(getProperty("/p4", _visible)) == 0)) and (_droptarget eq "/h4")) {
setProperty("/p11", _visible , "0");
setProperty("/p7", _visible , "0");
setProperty("/p4", _visible , "1");
}
if ((((_name eq "p11") and (Number(getProperty("/p12", _visible)) == 1)) and (Number(getProperty("/p13", _visible)) == 0)) and (_droptarget eq "/h13")) {
setProperty("/p11", _visible , "0");
setProperty("/p12", _visible , "0");
setProperty("/p13", _visible , "1");
}
if ((((_name eq "p12") and (Number(getProperty("/p8", _visible)) == 1)) and (Number(getProperty("/p5", _visible)) == 0)) and (_droptarget eq "/h5")) {
setProperty("/p12", _visible , "0");
setProperty("/p8", _visible , "0");
setProperty("/p5", _visible , "1");
}
if ((((_name eq "p12") and (Number(getProperty("/p13", _visible)) == 1)) and (Number(getProperty("/p14", _visible)) == 0)) and (_droptarget eq "/h14")) {
setProperty("/p12", _visible , "0");
setProperty("/p13", _visible , "0");
setProperty("/p14", _visible , "1");
}
if ((((_name eq "p13") and (Number(getProperty("/p12", _visible)) == 1)) and (Number(getProperty("/p11", _visible)) == 0)) and (_droptarget eq "/h11")) {
setProperty("/p13", _visible , "0");
setProperty("/p12", _visible , "0");
setProperty("/p11", _visible , "1");
}
if ((((_name eq "p13") and (Number(getProperty("/p8", _visible)) == 1)) and (Number(getProperty("/p4", _visible)) == 0)) and (_droptarget eq "/h4")) {
setProperty("/p13", _visible , "0");
setProperty("/p8", _visible , "0");
setProperty("/p4", _visible , "1");
}
if ((((_name eq "p13") and (Number(getProperty("/p9", _visible)) == 1)) and (Number(getProperty("/p6", _visible)) == 0)) and (_droptarget eq "/h6")) {
setProperty("/p13", _visible , "0");
setProperty("/p9", _visible , "0");
setProperty("/p6", _visible , "1");
}
if ((((_name eq "p13") and (Number(getProperty("/p14", _visible)) == 1)) and (Number(getProperty("/p15", _visible)) == 0)) and (_droptarget eq "/h15")) {
setProperty("/p13", _visible , "0");
setProperty("/p14", _visible , "0");
setProperty("/p15", _visible , "1");
}
if ((((_name eq "p14") and (Number(getProperty("/p13", _visible)) == 1)) and (Number(getProperty("/p12", _visible)) == 0)) and (_droptarget eq "/h12")) {
setProperty("/p14", _visible , "0");
setProperty("/p13", _visible , "0");
setProperty("/p12", _visible , "1");
}
if ((((_name eq "p14") and (Number(getProperty("/p9", _visible)) == 1)) and (Number(getProperty("/p5", _visible)) == 0)) and (_droptarget eq "/h5")) {
setProperty("/p14", _visible , "0");
setProperty("/p9", _visible , "0");
setProperty("/p5", _visible , "1");
}
if ((((_name eq "p15") and (Number(getProperty("/p14", _visible)) == 1)) and (Number(getProperty("/p13", _visible)) == 0)) and (_droptarget eq "/h13")) {
setProperty("/p15", _visible , "0");
setProperty("/p14", _visible , "0");
setProperty("/p13", _visible , "1");
}
if ((((_name eq "p15") and (Number(getProperty("/p10", _visible)) == 1)) and (Number(getProperty("/p6", _visible)) == 0)) and (_droptarget eq "/h6")) {
setProperty("/p15", _visible , "0");
setProperty("/p10", _visible , "0");
setProperty("/p6", _visible , "1");
}
count = 0;
loop = 0;
while (Number(loop) <= 15) {
loop = Number(loop) + 1;
if (getProperty("/p" add loop, _visible) == 1) {
count = Number(count) + 1;
}
}
if (Number(count) == 1) {
tellTarget ("/") {
gotoAndStop ("win10");
};
}
}
Symbol 232 Button
on (release) {
gotoAndPlay (119);
}
Symbol 242 Button
on (press) {
startDrag (getProperty(_x, _y));
OrgX = _x;
OrgY = _y;
}
on (release) {
stopDrag();
_y = OrgY;
_x = OrgX;
if ((((_name eq "p1") and (Number(getProperty("/p2", _visible)) == 1)) and (Number(getProperty("/p4", _visible)) == 0)) and (_droptarget eq "/h4")) {
setProperty("/p1", _visible , "0");
setProperty("/p2", _visible , "0");
setProperty("/p4", _visible , "1");
}
if ((((_name eq "p1") and (Number(getProperty("/p3", _visible)) == 1)) and (Number(getProperty("/p6", _visible)) == 0)) and (_droptarget eq "/h6")) {
setProperty("/p1", _visible , "0");
setProperty("/p3", _visible , "0");
setProperty("/p6", _visible , "1");
}
if ((((_name eq "p2") and (Number(getProperty("/p4", _visible)) == 1)) and (Number(getProperty("/p7", _visible)) == 0)) and (_droptarget eq "/h7")) {
setProperty("/p2", _visible , "0");
setProperty("/p4", _visible , "0");
setProperty("/p7", _visible , "1");
}
if ((((_name eq "p2") and (Number(getProperty("/p5", _visible)) == 1)) and (Number(getProperty("/p9", _visible)) == 0)) and (_droptarget eq "/h9")) {
setProperty("/p2", _visible , "0");
setProperty("/p5", _visible , "0");
setProperty("/p9", _visible , "1");
}
if ((((_name eq "p3") and (Number(getProperty("/p5", _visible)) == 1)) and (Number(getProperty("/p8", _visible)) == 0)) and (_droptarget eq "/h8")) {
setProperty("/p3", _visible , "0");
setProperty("/p5", _visible , "0");
setProperty("/p8", _visible , "1");
}
if ((((_name eq "p3") and (Number(getProperty("/p6", _visible)) == 1)) and (Number(getProperty("/p10", _visible)) == 0)) and (_droptarget eq "/h10")) {
setProperty("/p3", _visible , "0");
setProperty("/p6", _visible , "0");
setProperty("/p10", _visible , "1");
}
if ((((_name eq "p4") and (Number(getProperty("/p2", _visible)) == 1)) and (Number(getProperty("/p1", _visible)) == 0)) and (_droptarget eq "/h1")) {
setProperty("/p4", _visible , "0");
setProperty("/p2", _visible , "0");
setProperty("/p1", _visible , "1");
}
if ((((_name eq "p4") and (Number(getProperty("/p5", _visible)) == 1)) and (Number(getProperty("/p6", _visible)) == 0)) and (_droptarget eq "/h6")) {
setProperty("/p4", _visible , "0");
setProperty("/p5", _visible , "0");
setProperty("/p6", _visible , "1");
}
if ((((_name eq "p4") and (Number(getProperty("/p7", _visible)) == 1)) and (Number(getProperty("/p11", _visible)) == 0)) and (_droptarget eq "/h11")) {
setProperty("/p4", _visible , "0");
setProperty("/p7", _visible , "0");
setProperty("/p11", _visible , "1");
}
if ((((_name eq "p4") and (Number(getProperty("/p8", _visible)) == 1)) and (Number(getProperty("/p13", _visible)) == 0)) and (_droptarget eq "/h13")) {
setProperty("/p4", _visible , "0");
setProperty("/p8", _visible , "0");
setProperty("/p13", _visible , "1");
}
if ((((_name eq "p5") and (Number(getProperty("/p8", _visible)) == 1)) and (Number(getProperty("/p12", _visible)) == 0)) and (_droptarget eq "/h12")) {
setProperty("/p5", _visible , "0");
setProperty("/p8", _visible , "0");
setProperty("/p12", _visible , "1");
}
if ((((_name eq "p5") and (Number(getProperty("/p9", _visible)) == 1)) and (Number(getProperty("/p14", _visible)) == 0)) and (_droptarget eq "/h14")) {
setProperty("/p5", _visible , "0");
setProperty("/p9", _visible , "0");
setProperty("/p14", _visible , "1");
}
if ((((_name eq "p6") and (Number(getProperty("/p3", _visible)) == 1)) and (Number(getProperty("/p1", _visible)) == 0)) and (_droptarget eq "/h1")) {
setProperty("/p6", _visible , "0");
setProperty("/p3", _visible , "0");
setProperty("/p1", _visible , "1");
}
if ((((_name eq "p6") and (Number(getProperty("/p5", _visible)) == 1)) and (Number(getProperty("/p4", _visible)) == 0)) and (_droptarget eq "/h4")) {
setProperty("/p6", _visible , "0");
setProperty("/p5", _visible , "0");
setProperty("/p4", _visible , "1");
}
if ((((_name eq "p6") and (Number(getProperty("/p9", _visible)) == 1)) and (Number(getProperty("/p13", _visible)) == 0)) and (_droptarget eq "/h13")) {
setProperty("/p6", _visible , "0");
setProperty("/p9", _visible , "0");
setProperty("/p13", _visible , "1");
}
if ((((_name eq "p6") and (Number(getProperty("/p10", _visible)) == 1)) and (Number(getProperty("/p15", _visible)) == 0)) and (_droptarget eq "/h15")) {
setProperty("/p6", _visible , "0");
setProperty("/p10", _visible , "0");
setProperty("/p15", _visible , "1");
}
if ((((_name eq "p7") and (Number(getProperty("/p4", _visible)) == 1)) and (Number(getProperty("/p2", _visible)) == 0)) and (_droptarget eq "/h2")) {
setProperty("/p7", _visible , "0");
setProperty("/p4", _visible , "0");
setProperty("/p2", _visible , "1");
}
if ((((_name eq "p7") and (Number(getProperty("/p8", _visible)) == 1)) and (Number(getProperty("/p9", _visible)) == 0)) and (_droptarget eq "/h9")) {
setProperty("/p7", _visible , "0");
setProperty("/p8", _visible , "0");
setProperty("/p9", _visible , "1");
}
if ((((_name eq "p8") and (Number(getProperty("/p5", _visible)) == 1)) and (Number(getProperty("/p3", _visible)) == 0)) and (_droptarget eq "/h3")) {
setProperty("/p8", _visible , "0");
setProperty("/p5", _visible , "0");
setProperty("/p3", _visible , "1");
}
if ((((_name eq "p8") and (Number(getProperty("/p9", _visible)) == 1)) and (Number(getProperty("/p10", _visible)) == 0)) and (_droptarget eq "/h10")) {
setProperty("/p8", _visible , "0");
setProperty("/p9", _visible , "0");
setProperty("/p10", _visible , "1");
}
if ((((_name eq "p9") and (Number(getProperty("/p5", _visible)) == 1)) and (Number(getProperty("/p2", _visible)) == 0)) and (_droptarget eq "/h2")) {
setProperty("/p9", _visible , "0");
setProperty("/p5", _visible , "0");
setProperty("/p2", _visible , "1");
}
if ((((_name eq "p9") and (Number(getProperty("/p8", _visible)) == 1)) and (Number(getProperty("/p7", _visible)) == 0)) and (_droptarget eq "/h7")) {
setProperty("/p9", _visible , "0");
setProperty("/p8", _visible , "0");
setProperty("/p7", _visible , "1");
}
if ((((_name eq "p10") and (Number(getProperty("/p6", _visible)) == 1)) and (Number(getProperty("/p3", _visible)) == 0)) and (_droptarget eq "/h3")) {
setProperty("/p10", _visible , "0");
setProperty("/p6", _visible , "0");
setProperty("/p3", _visible , "1");
}
if ((((_name eq "p10") and (Number(getProperty("/p9", _visible)) == 1)) and (Number(getProperty("/p8", _visible)) == 0)) and (_droptarget eq "/h8")) {
setProperty("/p10", _visible , "0");
setProperty("/p9", _visible , "0");
setProperty("/p8", _visible , "1");
}
if ((((_name eq "p11") and (Number(getProperty("/p7", _visible)) == 1)) and (Number(getProperty("/p4", _visible)) == 0)) and (_droptarget eq "/h4")) {
setProperty("/p11", _visible , "0");
setProperty("/p7", _visible , "0");
setProperty("/p4", _visible , "1");
}
if ((((_name eq "p11") and (Number(getProperty("/p12", _visible)) == 1)) and (Number(getProperty("/p13", _visible)) == 0)) and (_droptarget eq "/h13")) {
setProperty("/p11", _visible , "0");
setProperty("/p12", _visible , "0");
setProperty("/p13", _visible , "1");
}
if ((((_name eq "p12") and (Number(getProperty("/p8", _visible)) == 1)) and (Number(getProperty("/p5", _visible)) == 0)) and (_droptarget eq "/h5")) {
setProperty("/p12", _visible , "0");
setProperty("/p8", _visible , "0");
setProperty("/p5", _visible , "1");
}
if ((((_name eq "p12") and (Number(getProperty("/p13", _visible)) == 1)) and (Number(getProperty("/p14", _visible)) == 0)) and (_droptarget eq "/h14")) {
setProperty("/p12", _visible , "0");
setProperty("/p13", _visible , "0");
setProperty("/p14", _visible , "1");
}
if ((((_name eq "p13") and (Number(getProperty("/p12", _visible)) == 1)) and (Number(getProperty("/p11", _visible)) == 0)) and (_droptarget eq "/h11")) {
setProperty("/p13", _visible , "0");
setProperty("/p12", _visible , "0");
setProperty("/p11", _visible , "1");
}
if ((((_name eq "p13") and (Number(getProperty("/p8", _visible)) == 1)) and (Number(getProperty("/p4", _visible)) == 0)) and (_droptarget eq "/h4")) {
setProperty("/p13", _visible , "0");
setProperty("/p8", _visible , "0");
setProperty("/p4", _visible , "1");
}
if ((((_name eq "p13") and (Number(getProperty("/p9", _visible)) == 1)) and (Number(getProperty("/p6", _visible)) == 0)) and (_droptarget eq "/h6")) {
setProperty("/p13", _visible , "0");
setProperty("/p9", _visible , "0");
setProperty("/p6", _visible , "1");
}
if ((((_name eq "p13") and (Number(getProperty("/p14", _visible)) == 1)) and (Number(getProperty("/p15", _visible)) == 0)) and (_droptarget eq "/h15")) {
setProperty("/p13", _visible , "0");
setProperty("/p14", _visible , "0");
setProperty("/p15", _visible , "1");
}
if ((((_name eq "p14") and (Number(getProperty("/p13", _visible)) == 1)) and (Number(getProperty("/p12", _visible)) == 0)) and (_droptarget eq "/h12")) {
setProperty("/p14", _visible , "0");
setProperty("/p13", _visible , "0");
setProperty("/p12", _visible , "1");
}
if ((((_name eq "p14") and (Number(getProperty("/p9", _visible)) == 1)) and (Number(getProperty("/p5", _visible)) == 0)) and (_droptarget eq "/h5")) {
setProperty("/p14", _visible , "0");
setProperty("/p9", _visible , "0");
setProperty("/p5", _visible , "1");
}
if ((((_name eq "p15") and (Number(getProperty("/p14", _visible)) == 1)) and (Number(getProperty("/p13", _visible)) == 0)) and (_droptarget eq "/h13")) {
setProperty("/p15", _visible , "0");
setProperty("/p14", _visible , "0");
setProperty("/p13", _visible , "1");
}
if ((((_name eq "p15") and (Number(getProperty("/p10", _visible)) == 1)) and (Number(getProperty("/p6", _visible)) == 0)) and (_droptarget eq "/h6")) {
setProperty("/p15", _visible , "0");
setProperty("/p10", _visible , "0");
setProperty("/p6", _visible , "1");
}
count = 0;
loop = 0;
while (Number(loop) <= 15) {
loop = Number(loop) + 1;
if (getProperty("/p" add loop, _visible) == 1) {
count = Number(count) + 1;
}
}
if (Number(count) == 1) {
tellTarget ("/") {
gotoAndStop ("win11");
};
}
}
Symbol 244 Button
on (release) {
gotoAndPlay (129);
}
Symbol 254 Button
on (press) {
startDrag (getProperty(_x, _y));
OrgX = _x;
OrgY = _y;
}
on (release) {
stopDrag();
_y = OrgY;
_x = OrgX;
if ((((_name eq "p1") and (Number(getProperty("/p2", _visible)) == 1)) and (Number(getProperty("/p4", _visible)) == 0)) and (_droptarget eq "/h4")) {
setProperty("/p1", _visible , "0");
setProperty("/p2", _visible , "0");
setProperty("/p4", _visible , "1");
}
if ((((_name eq "p1") and (Number(getProperty("/p3", _visible)) == 1)) and (Number(getProperty("/p6", _visible)) == 0)) and (_droptarget eq "/h6")) {
setProperty("/p1", _visible , "0");
setProperty("/p3", _visible , "0");
setProperty("/p6", _visible , "1");
}
if ((((_name eq "p2") and (Number(getProperty("/p4", _visible)) == 1)) and (Number(getProperty("/p7", _visible)) == 0)) and (_droptarget eq "/h7")) {
setProperty("/p2", _visible , "0");
setProperty("/p4", _visible , "0");
setProperty("/p7", _visible , "1");
}
if ((((_name eq "p2") and (Number(getProperty("/p5", _visible)) == 1)) and (Number(getProperty("/p9", _visible)) == 0)) and (_droptarget eq "/h9")) {
setProperty("/p2", _visible , "0");
setProperty("/p5", _visible , "0");
setProperty("/p9", _visible , "1");
}
if ((((_name eq "p3") and (Number(getProperty("/p5", _visible)) == 1)) and (Number(getProperty("/p8", _visible)) == 0)) and (_droptarget eq "/h8")) {
setProperty("/p3", _visible , "0");
setProperty("/p5", _visible , "0");
setProperty("/p8", _visible , "1");
}
if ((((_name eq "p3") and (Number(getProperty("/p6", _visible)) == 1)) and (Number(getProperty("/p10", _visible)) == 0)) and (_droptarget eq "/h10")) {
setProperty("/p3", _visible , "0");
setProperty("/p6", _visible , "0");
setProperty("/p10", _visible , "1");
}
if ((((_name eq "p4") and (Number(getProperty("/p2", _visible)) == 1)) and (Number(getProperty("/p1", _visible)) == 0)) and (_droptarget eq "/h1")) {
setProperty("/p4", _visible , "0");
setProperty("/p2", _visible , "0");
setProperty("/p1", _visible , "1");
}
if ((((_name eq "p4") and (Number(getProperty("/p5", _visible)) == 1)) and (Number(getProperty("/p6", _visible)) == 0)) and (_droptarget eq "/h6")) {
setProperty("/p4", _visible , "0");
setProperty("/p5", _visible , "0");
setProperty("/p6", _visible , "1");
}
if ((((_name eq "p4") and (Number(getProperty("/p7", _visible)) == 1)) and (Number(getProperty("/p11", _visible)) == 0)) and (_droptarget eq "/h11")) {
setProperty("/p4", _visible , "0");
setProperty("/p7", _visible , "0");
setProperty("/p11", _visible , "1");
}
if ((((_name eq "p4") and (Number(getProperty("/p8", _visible)) == 1)) and (Number(getProperty("/p13", _visible)) == 0)) and (_droptarget eq "/h13")) {
setProperty("/p4", _visible , "0");
setProperty("/p8", _visible , "0");
setProperty("/p13", _visible , "1");
}
if ((((_name eq "p5") and (Number(getProperty("/p8", _visible)) == 1)) and (Number(getProperty("/p12", _visible)) == 0)) and (_droptarget eq "/h12")) {
setProperty("/p5", _visible , "0");
setProperty("/p8", _visible , "0");
setProperty("/p12", _visible , "1");
}
if ((((_name eq "p5") and (Number(getProperty("/p9", _visible)) == 1)) and (Number(getProperty("/p14", _visible)) == 0)) and (_droptarget eq "/h14")) {
setProperty("/p5", _visible , "0");
setProperty("/p9", _visible , "0");
setProperty("/p14", _visible , "1");
}
if ((((_name eq "p6") and (Number(getProperty("/p3", _visible)) == 1)) and (Number(getProperty("/p1", _visible)) == 0)) and (_droptarget eq "/h1")) {
setProperty("/p6", _visible , "0");
setProperty("/p3", _visible , "0");
setProperty("/p1", _visible , "1");
}
if ((((_name eq "p6") and (Number(getProperty("/p5", _visible)) == 1)) and (Number(getProperty("/p4", _visible)) == 0)) and (_droptarget eq "/h4")) {
setProperty("/p6", _visible , "0");
setProperty("/p5", _visible , "0");
setProperty("/p4", _visible , "1");
}
if ((((_name eq "p6") and (Number(getProperty("/p9", _visible)) == 1)) and (Number(getProperty("/p13", _visible)) == 0)) and (_droptarget eq "/h13")) {
setProperty("/p6", _visible , "0");
setProperty("/p9", _visible , "0");
setProperty("/p13", _visible , "1");
}
if ((((_name eq "p6") and (Number(getProperty("/p10", _visible)) == 1)) and (Number(getProperty("/p15", _visible)) == 0)) and (_droptarget eq "/h15")) {
setProperty("/p6", _visible , "0");
setProperty("/p10", _visible , "0");
setProperty("/p15", _visible , "1");
}
if ((((_name eq "p7") and (Number(getProperty("/p4", _visible)) == 1)) and (Number(getProperty("/p2", _visible)) == 0)) and (_droptarget eq "/h2")) {
setProperty("/p7", _visible , "0");
setProperty("/p4", _visible , "0");
setProperty("/p2", _visible , "1");
}
if ((((_name eq "p7") and (Number(getProperty("/p8", _visible)) == 1)) and (Number(getProperty("/p9", _visible)) == 0)) and (_droptarget eq "/h9")) {
setProperty("/p7", _visible , "0");
setProperty("/p8", _visible , "0");
setProperty("/p9", _visible , "1");
}
if ((((_name eq "p8") and (Number(getProperty("/p5", _visible)) == 1)) and (Number(getProperty("/p3", _visible)) == 0)) and (_droptarget eq "/h3")) {
setProperty("/p8", _visible , "0");
setProperty("/p5", _visible , "0");
setProperty("/p3", _visible , "1");
}
if ((((_name eq "p8") and (Number(getProperty("/p9", _visible)) == 1)) and (Number(getProperty("/p10", _visible)) == 0)) and (_droptarget eq "/h10")) {
setProperty("/p8", _visible , "0");
setProperty("/p9", _visible , "0");
setProperty("/p10", _visible , "1");
}
if ((((_name eq "p9") and (Number(getProperty("/p5", _visible)) == 1)) and (Number(getProperty("/p2", _visible)) == 0)) and (_droptarget eq "/h2")) {
setProperty("/p9", _visible , "0");
setProperty("/p5", _visible , "0");
setProperty("/p2", _visible , "1");
}
if ((((_name eq "p9") and (Number(getProperty("/p8", _visible)) == 1)) and (Number(getProperty("/p7", _visible)) == 0)) and (_droptarget eq "/h7")) {
setProperty("/p9", _visible , "0");
setProperty("/p8", _visible , "0");
setProperty("/p7", _visible , "1");
}
if ((((_name eq "p10") and (Number(getProperty("/p6", _visible)) == 1)) and (Number(getProperty("/p3", _visible)) == 0)) and (_droptarget eq "/h3")) {
setProperty("/p10", _visible , "0");
setProperty("/p6", _visible , "0");
setProperty("/p3", _visible , "1");
}
if ((((_name eq "p10") and (Number(getProperty("/p9", _visible)) == 1)) and (Number(getProperty("/p8", _visible)) == 0)) and (_droptarget eq "/h8")) {
setProperty("/p10", _visible , "0");
setProperty("/p9", _visible , "0");
setProperty("/p8", _visible , "1");
}
if ((((_name eq "p11") and (Number(getProperty("/p7", _visible)) == 1)) and (Number(getProperty("/p4", _visible)) == 0)) and (_droptarget eq "/h4")) {
setProperty("/p11", _visible , "0");
setProperty("/p7", _visible , "0");
setProperty("/p4", _visible , "1");
}
if ((((_name eq "p11") and (Number(getProperty("/p12", _visible)) == 1)) and (Number(getProperty("/p13", _visible)) == 0)) and (_droptarget eq "/h13")) {
setProperty("/p11", _visible , "0");
setProperty("/p12", _visible , "0");
setProperty("/p13", _visible , "1");
}
if ((((_name eq "p12") and (Number(getProperty("/p8", _visible)) == 1)) and (Number(getProperty("/p5", _visible)) == 0)) and (_droptarget eq "/h5")) {
setProperty("/p12", _visible , "0");
setProperty("/p8", _visible , "0");
setProperty("/p5", _visible , "1");
}
if ((((_name eq "p12") and (Number(getProperty("/p13", _visible)) == 1)) and (Number(getProperty("/p14", _visible)) == 0)) and (_droptarget eq "/h14")) {
setProperty("/p12", _visible , "0");
setProperty("/p13", _visible , "0");
setProperty("/p14", _visible , "1");
}
if ((((_name eq "p13") and (Number(getProperty("/p12", _visible)) == 1)) and (Number(getProperty("/p11", _visible)) == 0)) and (_droptarget eq "/h11")) {
setProperty("/p13", _visible , "0");
setProperty("/p12", _visible , "0");
setProperty("/p11", _visible , "1");
}
if ((((_name eq "p13") and (Number(getProperty("/p8", _visible)) == 1)) and (Number(getProperty("/p4", _visible)) == 0)) and (_droptarget eq "/h4")) {
setProperty("/p13", _visible , "0");
setProperty("/p8", _visible , "0");
setProperty("/p4", _visible , "1");
}
if ((((_name eq "p13") and (Number(getProperty("/p9", _visible)) == 1)) and (Number(getProperty("/p6", _visible)) == 0)) and (_droptarget eq "/h6")) {
setProperty("/p13", _visible , "0");
setProperty("/p9", _visible , "0");
setProperty("/p6", _visible , "1");
}
if ((((_name eq "p13") and (Number(getProperty("/p14", _visible)) == 1)) and (Number(getProperty("/p15", _visible)) == 0)) and (_droptarget eq "/h15")) {
setProperty("/p13", _visible , "0");
setProperty("/p14", _visible , "0");
setProperty("/p15", _visible , "1");
}
if ((((_name eq "p14") and (Number(getProperty("/p13", _visible)) == 1)) and (Number(getProperty("/p12", _visible)) == 0)) and (_droptarget eq "/h12")) {
setProperty("/p14", _visible , "0");
setProperty("/p13", _visible , "0");
setProperty("/p12", _visible , "1");
}
if ((((_name eq "p14") and (Number(getProperty("/p9", _visible)) == 1)) and (Number(getProperty("/p5", _visible)) == 0)) and (_droptarget eq "/h5")) {
setProperty("/p14", _visible , "0");
setProperty("/p9", _visible , "0");
setProperty("/p5", _visible , "1");
}
if ((((_name eq "p15") and (Number(getProperty("/p14", _visible)) == 1)) and (Number(getProperty("/p13", _visible)) == 0)) and (_droptarget eq "/h13")) {
setProperty("/p15", _visible , "0");
setProperty("/p14", _visible , "0");
setProperty("/p13", _visible , "1");
}
if ((((_name eq "p15") and (Number(getProperty("/p10", _visible)) == 1)) and (Number(getProperty("/p6", _visible)) == 0)) and (_droptarget eq "/h6")) {
setProperty("/p15", _visible , "0");
setProperty("/p10", _visible , "0");
setProperty("/p6", _visible , "1");
}
count = 0;
loop = 0;
while (Number(loop) <= 15) {
loop = Number(loop) + 1;
if (getProperty("/p" add loop, _visible) == 1) {
count = Number(count) + 1;
}
}
if (Number(count) == 1) {
tellTarget ("/") {
gotoAndStop ("win12");
};
}
}
Symbol 256 Button
on (release) {
gotoAndPlay (139);
}
Symbol 266 Button
on (press) {
startDrag (getProperty(_x, _y));
OrgX = _x;
OrgY = _y;
}
on (release) {
stopDrag();
_y = OrgY;
_x = OrgX;
if ((((_name eq "p1") and (Number(getProperty("/p2", _visible)) == 1)) and (Number(getProperty("/p4", _visible)) == 0)) and (_droptarget eq "/h4")) {
setProperty("/p1", _visible , "0");
setProperty("/p2", _visible , "0");
setProperty("/p4", _visible , "1");
}
if ((((_name eq "p1") and (Number(getProperty("/p3", _visible)) == 1)) and (Number(getProperty("/p6", _visible)) == 0)) and (_droptarget eq "/h6")) {
setProperty("/p1", _visible , "0");
setProperty("/p3", _visible , "0");
setProperty("/p6", _visible , "1");
}
if ((((_name eq "p2") and (Number(getProperty("/p4", _visible)) == 1)) and (Number(getProperty("/p7", _visible)) == 0)) and (_droptarget eq "/h7")) {
setProperty("/p2", _visible , "0");
setProperty("/p4", _visible , "0");
setProperty("/p7", _visible , "1");
}
if ((((_name eq "p2") and (Number(getProperty("/p5", _visible)) == 1)) and (Number(getProperty("/p9", _visible)) == 0)) and (_droptarget eq "/h9")) {
setProperty("/p2", _visible , "0");
setProperty("/p5", _visible , "0");
setProperty("/p9", _visible , "1");
}
if ((((_name eq "p3") and (Number(getProperty("/p5", _visible)) == 1)) and (Number(getProperty("/p8", _visible)) == 0)) and (_droptarget eq "/h8")) {
setProperty("/p3", _visible , "0");
setProperty("/p5", _visible , "0");
setProperty("/p8", _visible , "1");
}
if ((((_name eq "p3") and (Number(getProperty("/p6", _visible)) == 1)) and (Number(getProperty("/p10", _visible)) == 0)) and (_droptarget eq "/h10")) {
setProperty("/p3", _visible , "0");
setProperty("/p6", _visible , "0");
setProperty("/p10", _visible , "1");
}
if ((((_name eq "p4") and (Number(getProperty("/p2", _visible)) == 1)) and (Number(getProperty("/p1", _visible)) == 0)) and (_droptarget eq "/h1")) {
setProperty("/p4", _visible , "0");
setProperty("/p2", _visible , "0");
setProperty("/p1", _visible , "1");
}
if ((((_name eq "p4") and (Number(getProperty("/p5", _visible)) == 1)) and (Number(getProperty("/p6", _visible)) == 0)) and (_droptarget eq "/h6")) {
setProperty("/p4", _visible , "0");
setProperty("/p5", _visible , "0");
setProperty("/p6", _visible , "1");
}
if ((((_name eq "p4") and (Number(getProperty("/p7", _visible)) == 1)) and (Number(getProperty("/p11", _visible)) == 0)) and (_droptarget eq "/h11")) {
setProperty("/p4", _visible , "0");
setProperty("/p7", _visible , "0");
setProperty("/p11", _visible , "1");
}
if ((((_name eq "p4") and (Number(getProperty("/p8", _visible)) == 1)) and (Number(getProperty("/p13", _visible)) == 0)) and (_droptarget eq "/h13")) {
setProperty("/p4", _visible , "0");
setProperty("/p8", _visible , "0");
setProperty("/p13", _visible , "1");
}
if ((((_name eq "p5") and (Number(getProperty("/p8", _visible)) == 1)) and (Number(getProperty("/p12", _visible)) == 0)) and (_droptarget eq "/h12")) {
setProperty("/p5", _visible , "0");
setProperty("/p8", _visible , "0");
setProperty("/p12", _visible , "1");
}
if ((((_name eq "p5") and (Number(getProperty("/p9", _visible)) == 1)) and (Number(getProperty("/p14", _visible)) == 0)) and (_droptarget eq "/h14")) {
setProperty("/p5", _visible , "0");
setProperty("/p9", _visible , "0");
setProperty("/p14", _visible , "1");
}
if ((((_name eq "p6") and (Number(getProperty("/p3", _visible)) == 1)) and (Number(getProperty("/p1", _visible)) == 0)) and (_droptarget eq "/h1")) {
setProperty("/p6", _visible , "0");
setProperty("/p3", _visible , "0");
setProperty("/p1", _visible , "1");
}
if ((((_name eq "p6") and (Number(getProperty("/p5", _visible)) == 1)) and (Number(getProperty("/p4", _visible)) == 0)) and (_droptarget eq "/h4")) {
setProperty("/p6", _visible , "0");
setProperty("/p5", _visible , "0");
setProperty("/p4", _visible , "1");
}
if ((((_name eq "p6") and (Number(getProperty("/p9", _visible)) == 1)) and (Number(getProperty("/p13", _visible)) == 0)) and (_droptarget eq "/h13")) {
setProperty("/p6", _visible , "0");
setProperty("/p9", _visible , "0");
setProperty("/p13", _visible , "1");
}
if ((((_name eq "p6") and (Number(getProperty("/p10", _visible)) == 1)) and (Number(getProperty("/p15", _visible)) == 0)) and (_droptarget eq "/h15")) {
setProperty("/p6", _visible , "0");
setProperty("/p10", _visible , "0");
setProperty("/p15", _visible , "1");
}
if ((((_name eq "p7") and (Number(getProperty("/p4", _visible)) == 1)) and (Number(getProperty("/p2", _visible)) == 0)) and (_droptarget eq "/h2")) {
setProperty("/p7", _visible , "0");
setProperty("/p4", _visible , "0");
setProperty("/p2", _visible , "1");
}
if ((((_name eq "p7") and (Number(getProperty("/p8", _visible)) == 1)) and (Number(getProperty("/p9", _visible)) == 0)) and (_droptarget eq "/h9")) {
setProperty("/p7", _visible , "0");
setProperty("/p8", _visible , "0");
setProperty("/p9", _visible , "1");
}
if ((((_name eq "p8") and (Number(getProperty("/p5", _visible)) == 1)) and (Number(getProperty("/p3", _visible)) == 0)) and (_droptarget eq "/h3")) {
setProperty("/p8", _visible , "0");
setProperty("/p5", _visible , "0");
setProperty("/p3", _visible , "1");
}
if ((((_name eq "p8") and (Number(getProperty("/p9", _visible)) == 1)) and (Number(getProperty("/p10", _visible)) == 0)) and (_droptarget eq "/h10")) {
setProperty("/p8", _visible , "0");
setProperty("/p9", _visible , "0");
setProperty("/p10", _visible , "1");
}
if ((((_name eq "p9") and (Number(getProperty("/p5", _visible)) == 1)) and (Number(getProperty("/p2", _visible)) == 0)) and (_droptarget eq "/h2")) {
setProperty("/p9", _visible , "0");
setProperty("/p5", _visible , "0");
setProperty("/p2", _visible , "1");
}
if ((((_name eq "p9") and (Number(getProperty("/p8", _visible)) == 1)) and (Number(getProperty("/p7", _visible)) == 0)) and (_droptarget eq "/h7")) {
setProperty("/p9", _visible , "0");
setProperty("/p8", _visible , "0");
setProperty("/p7", _visible , "1");
}
if ((((_name eq "p10") and (Number(getProperty("/p6", _visible)) == 1)) and (Number(getProperty("/p3", _visible)) == 0)) and (_droptarget eq "/h3")) {
setProperty("/p10", _visible , "0");
setProperty("/p6", _visible , "0");
setProperty("/p3", _visible , "1");
}
if ((((_name eq "p10") and (Number(getProperty("/p9", _visible)) == 1)) and (Number(getProperty("/p8", _visible)) == 0)) and (_droptarget eq "/h8")) {
setProperty("/p10", _visible , "0");
setProperty("/p9", _visible , "0");
setProperty("/p8", _visible , "1");
}
if ((((_name eq "p11") and (Number(getProperty("/p7", _visible)) == 1)) and (Number(getProperty("/p4", _visible)) == 0)) and (_droptarget eq "/h4")) {
setProperty("/p11", _visible , "0");
setProperty("/p7", _visible , "0");
setProperty("/p4", _visible , "1");
}
if ((((_name eq "p11") and (Number(getProperty("/p12", _visible)) == 1)) and (Number(getProperty("/p13", _visible)) == 0)) and (_droptarget eq "/h13")) {
setProperty("/p11", _visible , "0");
setProperty("/p12", _visible , "0");
setProperty("/p13", _visible , "1");
}
if ((((_name eq "p12") and (Number(getProperty("/p8", _visible)) == 1)) and (Number(getProperty("/p5", _visible)) == 0)) and (_droptarget eq "/h5")) {
setProperty("/p12", _visible , "0");
setProperty("/p8", _visible , "0");
setProperty("/p5", _visible , "1");
}
if ((((_name eq "p12") and (Number(getProperty("/p13", _visible)) == 1)) and (Number(getProperty("/p14", _visible)) == 0)) and (_droptarget eq "/h14")) {
setProperty("/p12", _visible , "0");
setProperty("/p13", _visible , "0");
setProperty("/p14", _visible , "1");
}
if ((((_name eq "p13") and (Number(getProperty("/p12", _visible)) == 1)) and (Number(getProperty("/p11", _visible)) == 0)) and (_droptarget eq "/h11")) {
setProperty("/p13", _visible , "0");
setProperty("/p12", _visible , "0");
setProperty("/p11", _visible , "1");
}
if ((((_name eq "p13") and (Number(getProperty("/p8", _visible)) == 1)) and (Number(getProperty("/p4", _visible)) == 0)) and (_droptarget eq "/h4")) {
setProperty("/p13", _visible , "0");
setProperty("/p8", _visible , "0");
setProperty("/p4", _visible , "1");
}
if ((((_name eq "p13") and (Number(getProperty("/p9", _visible)) == 1)) and (Number(getProperty("/p6", _visible)) == 0)) and (_droptarget eq "/h6")) {
setProperty("/p13", _visible , "0");
setProperty("/p9", _visible , "0");
setProperty("/p6", _visible , "1");
}
if ((((_name eq "p13") and (Number(getProperty("/p14", _visible)) == 1)) and (Number(getProperty("/p15", _visible)) == 0)) and (_droptarget eq "/h15")) {
setProperty("/p13", _visible , "0");
setProperty("/p14", _visible , "0");
setProperty("/p15", _visible , "1");
}
if ((((_name eq "p14") and (Number(getProperty("/p13", _visible)) == 1)) and (Number(getProperty("/p12", _visible)) == 0)) and (_droptarget eq "/h12")) {
setProperty("/p14", _visible , "0");
setProperty("/p13", _visible , "0");
setProperty("/p12", _visible , "1");
}
if ((((_name eq "p14") and (Number(getProperty("/p9", _visible)) == 1)) and (Number(getProperty("/p5", _visible)) == 0)) and (_droptarget eq "/h5")) {
setProperty("/p14", _visible , "0");
setProperty("/p9", _visible , "0");
setProperty("/p5", _visible , "1");
}
if ((((_name eq "p15") and (Number(getProperty("/p14", _visible)) == 1)) and (Number(getProperty("/p13", _visible)) == 0)) and (_droptarget eq "/h13")) {
setProperty("/p15", _visible , "0");
setProperty("/p14", _visible , "0");
setProperty("/p13", _visible , "1");
}
if ((((_name eq "p15") and (Number(getProperty("/p10", _visible)) == 1)) and (Number(getProperty("/p6", _visible)) == 0)) and (_droptarget eq "/h6")) {
setProperty("/p15", _visible , "0");
setProperty("/p10", _visible , "0");
setProperty("/p6", _visible , "1");
}
count = 0;
loop = 0;
while (Number(loop) <= 15) {
loop = Number(loop) + 1;
if (getProperty("/p" add loop, _visible) == 1) {
count = Number(count) + 1;
}
}
if (Number(count) == 1) {
tellTarget ("/") {
gotoAndStop ("win13");
};
}
}
Symbol 268 Button
on (release) {
gotoAndPlay (149);
}
Symbol 278 Button
on (press) {
startDrag (getProperty(_x, _y));
OrgX = _x;
OrgY = _y;
}
on (release) {
stopDrag();
_y = OrgY;
_x = OrgX;
if ((((_name eq "p1") and (Number(getProperty("/p2", _visible)) == 1)) and (Number(getProperty("/p4", _visible)) == 0)) and (_droptarget eq "/h4")) {
setProperty("/p1", _visible , "0");
setProperty("/p2", _visible , "0");
setProperty("/p4", _visible , "1");
}
if ((((_name eq "p1") and (Number(getProperty("/p3", _visible)) == 1)) and (Number(getProperty("/p6", _visible)) == 0)) and (_droptarget eq "/h6")) {
setProperty("/p1", _visible , "0");
setProperty("/p3", _visible , "0");
setProperty("/p6", _visible , "1");
}
if ((((_name eq "p2") and (Number(getProperty("/p4", _visible)) == 1)) and (Number(getProperty("/p7", _visible)) == 0)) and (_droptarget eq "/h7")) {
setProperty("/p2", _visible , "0");
setProperty("/p4", _visible , "0");
setProperty("/p7", _visible , "1");
}
if ((((_name eq "p2") and (Number(getProperty("/p5", _visible)) == 1)) and (Number(getProperty("/p9", _visible)) == 0)) and (_droptarget eq "/h9")) {
setProperty("/p2", _visible , "0");
setProperty("/p5", _visible , "0");
setProperty("/p9", _visible , "1");
}
if ((((_name eq "p3") and (Number(getProperty("/p5", _visible)) == 1)) and (Number(getProperty("/p8", _visible)) == 0)) and (_droptarget eq "/h8")) {
setProperty("/p3", _visible , "0");
setProperty("/p5", _visible , "0");
setProperty("/p8", _visible , "1");
}
if ((((_name eq "p3") and (Number(getProperty("/p6", _visible)) == 1)) and (Number(getProperty("/p10", _visible)) == 0)) and (_droptarget eq "/h10")) {
setProperty("/p3", _visible , "0");
setProperty("/p6", _visible , "0");
setProperty("/p10", _visible , "1");
}
if ((((_name eq "p4") and (Number(getProperty("/p2", _visible)) == 1)) and (Number(getProperty("/p1", _visible)) == 0)) and (_droptarget eq "/h1")) {
setProperty("/p4", _visible , "0");
setProperty("/p2", _visible , "0");
setProperty("/p1", _visible , "1");
}
if ((((_name eq "p4") and (Number(getProperty("/p5", _visible)) == 1)) and (Number(getProperty("/p6", _visible)) == 0)) and (_droptarget eq "/h6")) {
setProperty("/p4", _visible , "0");
setProperty("/p5", _visible , "0");
setProperty("/p6", _visible , "1");
}
if ((((_name eq "p4") and (Number(getProperty("/p7", _visible)) == 1)) and (Number(getProperty("/p11", _visible)) == 0)) and (_droptarget eq "/h11")) {
setProperty("/p4", _visible , "0");
setProperty("/p7", _visible , "0");
setProperty("/p11", _visible , "1");
}
if ((((_name eq "p4") and (Number(getProperty("/p8", _visible)) == 1)) and (Number(getProperty("/p13", _visible)) == 0)) and (_droptarget eq "/h13")) {
setProperty("/p4", _visible , "0");
setProperty("/p8", _visible , "0");
setProperty("/p13", _visible , "1");
}
if ((((_name eq "p5") and (Number(getProperty("/p8", _visible)) == 1)) and (Number(getProperty("/p12", _visible)) == 0)) and (_droptarget eq "/h12")) {
setProperty("/p5", _visible , "0");
setProperty("/p8", _visible , "0");
setProperty("/p12", _visible , "1");
}
if ((((_name eq "p5") and (Number(getProperty("/p9", _visible)) == 1)) and (Number(getProperty("/p14", _visible)) == 0)) and (_droptarget eq "/h14")) {
setProperty("/p5", _visible , "0");
setProperty("/p9", _visible , "0");
setProperty("/p14", _visible , "1");
}
if ((((_name eq "p6") and (Number(getProperty("/p3", _visible)) == 1)) and (Number(getProperty("/p1", _visible)) == 0)) and (_droptarget eq "/h1")) {
setProperty("/p6", _visible , "0");
setProperty("/p3", _visible , "0");
setProperty("/p1", _visible , "1");
}
if ((((_name eq "p6") and (Number(getProperty("/p5", _visible)) == 1)) and (Number(getProperty("/p4", _visible)) == 0)) and (_droptarget eq "/h4")) {
setProperty("/p6", _visible , "0");
setProperty("/p5", _visible , "0");
setProperty("/p4", _visible , "1");
}
if ((((_name eq "p6") and (Number(getProperty("/p9", _visible)) == 1)) and (Number(getProperty("/p13", _visible)) == 0)) and (_droptarget eq "/h13")) {
setProperty("/p6", _visible , "0");
setProperty("/p9", _visible , "0");
setProperty("/p13", _visible , "1");
}
if ((((_name eq "p6") and (Number(getProperty("/p10", _visible)) == 1)) and (Number(getProperty("/p15", _visible)) == 0)) and (_droptarget eq "/h15")) {
setProperty("/p6", _visible , "0");
setProperty("/p10", _visible , "0");
setProperty("/p15", _visible , "1");
}
if ((((_name eq "p7") and (Number(getProperty("/p4", _visible)) == 1)) and (Number(getProperty("/p2", _visible)) == 0)) and (_droptarget eq "/h2")) {
setProperty("/p7", _visible , "0");
setProperty("/p4", _visible , "0");
setProperty("/p2", _visible , "1");
}
if ((((_name eq "p7") and (Number(getProperty("/p8", _visible)) == 1)) and (Number(getProperty("/p9", _visible)) == 0)) and (_droptarget eq "/h9")) {
setProperty("/p7", _visible , "0");
setProperty("/p8", _visible , "0");
setProperty("/p9", _visible , "1");
}
if ((((_name eq "p8") and (Number(getProperty("/p5", _visible)) == 1)) and (Number(getProperty("/p3", _visible)) == 0)) and (_droptarget eq "/h3")) {
setProperty("/p8", _visible , "0");
setProperty("/p5", _visible , "0");
setProperty("/p3", _visible , "1");
}
if ((((_name eq "p8") and (Number(getProperty("/p9", _visible)) == 1)) and (Number(getProperty("/p10", _visible)) == 0)) and (_droptarget eq "/h10")) {
setProperty("/p8", _visible , "0");
setProperty("/p9", _visible , "0");
setProperty("/p10", _visible , "1");
}
if ((((_name eq "p9") and (Number(getProperty("/p5", _visible)) == 1)) and (Number(getProperty("/p2", _visible)) == 0)) and (_droptarget eq "/h2")) {
setProperty("/p9", _visible , "0");
setProperty("/p5", _visible , "0");
setProperty("/p2", _visible , "1");
}
if ((((_name eq "p9") and (Number(getProperty("/p8", _visible)) == 1)) and (Number(getProperty("/p7", _visible)) == 0)) and (_droptarget eq "/h7")) {
setProperty("/p9", _visible , "0");
setProperty("/p8", _visible , "0");
setProperty("/p7", _visible , "1");
}
if ((((_name eq "p10") and (Number(getProperty("/p6", _visible)) == 1)) and (Number(getProperty("/p3", _visible)) == 0)) and (_droptarget eq "/h3")) {
setProperty("/p10", _visible , "0");
setProperty("/p6", _visible , "0");
setProperty("/p3", _visible , "1");
}
if ((((_name eq "p10") and (Number(getProperty("/p9", _visible)) == 1)) and (Number(getProperty("/p8", _visible)) == 0)) and (_droptarget eq "/h8")) {
setProperty("/p10", _visible , "0");
setProperty("/p9", _visible , "0");
setProperty("/p8", _visible , "1");
}
if ((((_name eq "p11") and (Number(getProperty("/p7", _visible)) == 1)) and (Number(getProperty("/p4", _visible)) == 0)) and (_droptarget eq "/h4")) {
setProperty("/p11", _visible , "0");
setProperty("/p7", _visible , "0");
setProperty("/p4", _visible , "1");
}
if ((((_name eq "p11") and (Number(getProperty("/p12", _visible)) == 1)) and (Number(getProperty("/p13", _visible)) == 0)) and (_droptarget eq "/h13")) {
setProperty("/p11", _visible , "0");
setProperty("/p12", _visible , "0");
setProperty("/p13", _visible , "1");
}
if ((((_name eq "p12") and (Number(getProperty("/p8", _visible)) == 1)) and (Number(getProperty("/p5", _visible)) == 0)) and (_droptarget eq "/h5")) {
setProperty("/p12", _visible , "0");
setProperty("/p8", _visible , "0");
setProperty("/p5", _visible , "1");
}
if ((((_name eq "p12") and (Number(getProperty("/p13", _visible)) == 1)) and (Number(getProperty("/p14", _visible)) == 0)) and (_droptarget eq "/h14")) {
setProperty("/p12", _visible , "0");
setProperty("/p13", _visible , "0");
setProperty("/p14", _visible , "1");
}
if ((((_name eq "p13") and (Number(getProperty("/p12", _visible)) == 1)) and (Number(getProperty("/p11", _visible)) == 0)) and (_droptarget eq "/h11")) {
setProperty("/p13", _visible , "0");
setProperty("/p12", _visible , "0");
setProperty("/p11", _visible , "1");
}
if ((((_name eq "p13") and (Number(getProperty("/p8", _visible)) == 1)) and (Number(getProperty("/p4", _visible)) == 0)) and (_droptarget eq "/h4")) {
setProperty("/p13", _visible , "0");
setProperty("/p8", _visible , "0");
setProperty("/p4", _visible , "1");
}
if ((((_name eq "p13") and (Number(getProperty("/p9", _visible)) == 1)) and (Number(getProperty("/p6", _visible)) == 0)) and (_droptarget eq "/h6")) {
setProperty("/p13", _visible , "0");
setProperty("/p9", _visible , "0");
setProperty("/p6", _visible , "1");
}
if ((((_name eq "p13") and (Number(getProperty("/p14", _visible)) == 1)) and (Number(getProperty("/p15", _visible)) == 0)) and (_droptarget eq "/h15")) {
setProperty("/p13", _visible , "0");
setProperty("/p14", _visible , "0");
setProperty("/p15", _visible , "1");
}
if ((((_name eq "p14") and (Number(getProperty("/p13", _visible)) == 1)) and (Number(getProperty("/p12", _visible)) == 0)) and (_droptarget eq "/h12")) {
setProperty("/p14", _visible , "0");
setProperty("/p13", _visible , "0");
setProperty("/p12", _visible , "1");
}
if ((((_name eq "p14") and (Number(getProperty("/p9", _visible)) == 1)) and (Number(getProperty("/p5", _visible)) == 0)) and (_droptarget eq "/h5")) {
setProperty("/p14", _visible , "0");
setProperty("/p9", _visible , "0");
setProperty("/p5", _visible , "1");
}
if ((((_name eq "p15") and (Number(getProperty("/p14", _visible)) == 1)) and (Number(getProperty("/p13", _visible)) == 0)) and (_droptarget eq "/h13")) {
setProperty("/p15", _visible , "0");
setProperty("/p14", _visible , "0");
setProperty("/p13", _visible , "1");
}
if ((((_name eq "p15") and (Number(getProperty("/p10", _visible)) == 1)) and (Number(getProperty("/p6", _visible)) == 0)) and (_droptarget eq "/h6")) {
setProperty("/p15", _visible , "0");
setProperty("/p10", _visible , "0");
setProperty("/p6", _visible , "1");
}
count = 0;
loop = 0;
while (Number(loop) <= 15) {
loop = Number(loop) + 1;
if (getProperty("/p" add loop, _visible) == 1) {
count = Number(count) + 1;
}
}
if (Number(count) == 1) {
tellTarget ("/") {
gotoAndStop ("win14");
};
}
}
Symbol 280 Button
on (release) {
gotoAndPlay (159);
}
Symbol 290 Button
on (press) {
startDrag (getProperty(_x, _y));
OrgX = _x;
OrgY = _y;
}
on (release) {
stopDrag();
_y = OrgY;
_x = OrgX;
if ((((_name eq "p1") and (Number(getProperty("/p2", _visible)) == 1)) and (Number(getProperty("/p4", _visible)) == 0)) and (_droptarget eq "/h4")) {
setProperty("/p1", _visible , "0");
setProperty("/p2", _visible , "0");
setProperty("/p4", _visible , "1");
}
if ((((_name eq "p1") and (Number(getProperty("/p3", _visible)) == 1)) and (Number(getProperty("/p6", _visible)) == 0)) and (_droptarget eq "/h6")) {
setProperty("/p1", _visible , "0");
setProperty("/p3", _visible , "0");
setProperty("/p6", _visible , "1");
}
if ((((_name eq "p2") and (Number(getProperty("/p4", _visible)) == 1)) and (Number(getProperty("/p7", _visible)) == 0)) and (_droptarget eq "/h7")) {
setProperty("/p2", _visible , "0");
setProperty("/p4", _visible , "0");
setProperty("/p7", _visible , "1");
}
if ((((_name eq "p2") and (Number(getProperty("/p5", _visible)) == 1)) and (Number(getProperty("/p9", _visible)) == 0)) and (_droptarget eq "/h9")) {
setProperty("/p2", _visible , "0");
setProperty("/p5", _visible , "0");
setProperty("/p9", _visible , "1");
}
if ((((_name eq "p3") and (Number(getProperty("/p5", _visible)) == 1)) and (Number(getProperty("/p8", _visible)) == 0)) and (_droptarget eq "/h8")) {
setProperty("/p3", _visible , "0");
setProperty("/p5", _visible , "0");
setProperty("/p8", _visible , "1");
}
if ((((_name eq "p3") and (Number(getProperty("/p6", _visible)) == 1)) and (Number(getProperty("/p10", _visible)) == 0)) and (_droptarget eq "/h10")) {
setProperty("/p3", _visible , "0");
setProperty("/p6", _visible , "0");
setProperty("/p10", _visible , "1");
}
if ((((_name eq "p4") and (Number(getProperty("/p2", _visible)) == 1)) and (Number(getProperty("/p1", _visible)) == 0)) and (_droptarget eq "/h1")) {
setProperty("/p4", _visible , "0");
setProperty("/p2", _visible , "0");
setProperty("/p1", _visible , "1");
}
if ((((_name eq "p4") and (Number(getProperty("/p5", _visible)) == 1)) and (Number(getProperty("/p6", _visible)) == 0)) and (_droptarget eq "/h6")) {
setProperty("/p4", _visible , "0");
setProperty("/p5", _visible , "0");
setProperty("/p6", _visible , "1");
}
if ((((_name eq "p4") and (Number(getProperty("/p7", _visible)) == 1)) and (Number(getProperty("/p11", _visible)) == 0)) and (_droptarget eq "/h11")) {
setProperty("/p4", _visible , "0");
setProperty("/p7", _visible , "0");
setProperty("/p11", _visible , "1");
}
if ((((_name eq "p4") and (Number(getProperty("/p8", _visible)) == 1)) and (Number(getProperty("/p13", _visible)) == 0)) and (_droptarget eq "/h13")) {
setProperty("/p4", _visible , "0");
setProperty("/p8", _visible , "0");
setProperty("/p13", _visible , "1");
}
if ((((_name eq "p5") and (Number(getProperty("/p8", _visible)) == 1)) and (Number(getProperty("/p12", _visible)) == 0)) and (_droptarget eq "/h12")) {
setProperty("/p5", _visible , "0");
setProperty("/p8", _visible , "0");
setProperty("/p12", _visible , "1");
}
if ((((_name eq "p5") and (Number(getProperty("/p9", _visible)) == 1)) and (Number(getProperty("/p14", _visible)) == 0)) and (_droptarget eq "/h14")) {
setProperty("/p5", _visible , "0");
setProperty("/p9", _visible , "0");
setProperty("/p14", _visible , "1");
}
if ((((_name eq "p6") and (Number(getProperty("/p3", _visible)) == 1)) and (Number(getProperty("/p1", _visible)) == 0)) and (_droptarget eq "/h1")) {
setProperty("/p6", _visible , "0");
setProperty("/p3", _visible , "0");
setProperty("/p1", _visible , "1");
}
if ((((_name eq "p6") and (Number(getProperty("/p5", _visible)) == 1)) and (Number(getProperty("/p4", _visible)) == 0)) and (_droptarget eq "/h4")) {
setProperty("/p6", _visible , "0");
setProperty("/p5", _visible , "0");
setProperty("/p4", _visible , "1");
}
if ((((_name eq "p6") and (Number(getProperty("/p9", _visible)) == 1)) and (Number(getProperty("/p13", _visible)) == 0)) and (_droptarget eq "/h13")) {
setProperty("/p6", _visible , "0");
setProperty("/p9", _visible , "0");
setProperty("/p13", _visible , "1");
}
if ((((_name eq "p6") and (Number(getProperty("/p10", _visible)) == 1)) and (Number(getProperty("/p15", _visible)) == 0)) and (_droptarget eq "/h15")) {
setProperty("/p6", _visible , "0");
setProperty("/p10", _visible , "0");
setProperty("/p15", _visible , "1");
}
if ((((_name eq "p7") and (Number(getProperty("/p4", _visible)) == 1)) and (Number(getProperty("/p2", _visible)) == 0)) and (_droptarget eq "/h2")) {
setProperty("/p7", _visible , "0");
setProperty("/p4", _visible , "0");
setProperty("/p2", _visible , "1");
}
if ((((_name eq "p7") and (Number(getProperty("/p8", _visible)) == 1)) and (Number(getProperty("/p9", _visible)) == 0)) and (_droptarget eq "/h9")) {
setProperty("/p7", _visible , "0");
setProperty("/p8", _visible , "0");
setProperty("/p9", _visible , "1");
}
if ((((_name eq "p8") and (Number(getProperty("/p5", _visible)) == 1)) and (Number(getProperty("/p3", _visible)) == 0)) and (_droptarget eq "/h3")) {
setProperty("/p8", _visible , "0");
setProperty("/p5", _visible , "0");
setProperty("/p3", _visible , "1");
}
if ((((_name eq "p8") and (Number(getProperty("/p9", _visible)) == 1)) and (Number(getProperty("/p10", _visible)) == 0)) and (_droptarget eq "/h10")) {
setProperty("/p8", _visible , "0");
setProperty("/p9", _visible , "0");
setProperty("/p10", _visible , "1");
}
if ((((_name eq "p9") and (Number(getProperty("/p5", _visible)) == 1)) and (Number(getProperty("/p2", _visible)) == 0)) and (_droptarget eq "/h2")) {
setProperty("/p9", _visible , "0");
setProperty("/p5", _visible , "0");
setProperty("/p2", _visible , "1");
}
if ((((_name eq "p9") and (Number(getProperty("/p8", _visible)) == 1)) and (Number(getProperty("/p7", _visible)) == 0)) and (_droptarget eq "/h7")) {
setProperty("/p9", _visible , "0");
setProperty("/p8", _visible , "0");
setProperty("/p7", _visible , "1");
}
if ((((_name eq "p10") and (Number(getProperty("/p6", _visible)) == 1)) and (Number(getProperty("/p3", _visible)) == 0)) and (_droptarget eq "/h3")) {
setProperty("/p10", _visible , "0");
setProperty("/p6", _visible , "0");
setProperty("/p3", _visible , "1");
}
if ((((_name eq "p10") and (Number(getProperty("/p9", _visible)) == 1)) and (Number(getProperty("/p8", _visible)) == 0)) and (_droptarget eq "/h8")) {
setProperty("/p10", _visible , "0");
setProperty("/p9", _visible , "0");
setProperty("/p8", _visible , "1");
}
if ((((_name eq "p11") and (Number(getProperty("/p7", _visible)) == 1)) and (Number(getProperty("/p4", _visible)) == 0)) and (_droptarget eq "/h4")) {
setProperty("/p11", _visible , "0");
setProperty("/p7", _visible , "0");
setProperty("/p4", _visible , "1");
}
if ((((_name eq "p11") and (Number(getProperty("/p12", _visible)) == 1)) and (Number(getProperty("/p13", _visible)) == 0)) and (_droptarget eq "/h13")) {
setProperty("/p11", _visible , "0");
setProperty("/p12", _visible , "0");
setProperty("/p13", _visible , "1");
}
if ((((_name eq "p12") and (Number(getProperty("/p8", _visible)) == 1)) and (Number(getProperty("/p5", _visible)) == 0)) and (_droptarget eq "/h5")) {
setProperty("/p12", _visible , "0");
setProperty("/p8", _visible , "0");
setProperty("/p5", _visible , "1");
}
if ((((_name eq "p12") and (Number(getProperty("/p13", _visible)) == 1)) and (Number(getProperty("/p14", _visible)) == 0)) and (_droptarget eq "/h14")) {
setProperty("/p12", _visible , "0");
setProperty("/p13", _visible , "0");
setProperty("/p14", _visible , "1");
}
if ((((_name eq "p13") and (Number(getProperty("/p12", _visible)) == 1)) and (Number(getProperty("/p11", _visible)) == 0)) and (_droptarget eq "/h11")) {
setProperty("/p13", _visible , "0");
setProperty("/p12", _visible , "0");
setProperty("/p11", _visible , "1");
}
if ((((_name eq "p13") and (Number(getProperty("/p8", _visible)) == 1)) and (Number(getProperty("/p4", _visible)) == 0)) and (_droptarget eq "/h4")) {
setProperty("/p13", _visible , "0");
setProperty("/p8", _visible , "0");
setProperty("/p4", _visible , "1");
}
if ((((_name eq "p13") and (Number(getProperty("/p9", _visible)) == 1)) and (Number(getProperty("/p6", _visible)) == 0)) and (_droptarget eq "/h6")) {
setProperty("/p13", _visible , "0");
setProperty("/p9", _visible , "0");
setProperty("/p6", _visible , "1");
}
if ((((_name eq "p13") and (Number(getProperty("/p14", _visible)) == 1)) and (Number(getProperty("/p15", _visible)) == 0)) and (_droptarget eq "/h15")) {
setProperty("/p13", _visible , "0");
setProperty("/p14", _visible , "0");
setProperty("/p15", _visible , "1");
}
if ((((_name eq "p14") and (Number(getProperty("/p13", _visible)) == 1)) and (Number(getProperty("/p12", _visible)) == 0)) and (_droptarget eq "/h12")) {
setProperty("/p14", _visible , "0");
setProperty("/p13", _visible , "0");
setProperty("/p12", _visible , "1");
}
if ((((_name eq "p14") and (Number(getProperty("/p9", _visible)) == 1)) and (Number(getProperty("/p5", _visible)) == 0)) and (_droptarget eq "/h5")) {
setProperty("/p14", _visible , "0");
setProperty("/p9", _visible , "0");
setProperty("/p5", _visible , "1");
}
if ((((_name eq "p15") and (Number(getProperty("/p14", _visible)) == 1)) and (Number(getProperty("/p13", _visible)) == 0)) and (_droptarget eq "/h13")) {
setProperty("/p15", _visible , "0");
setProperty("/p14", _visible , "0");
setProperty("/p13", _visible , "1");
}
if ((((_name eq "p15") and (Number(getProperty("/p10", _visible)) == 1)) and (Number(getProperty("/p6", _visible)) == 0)) and (_droptarget eq "/h6")) {
setProperty("/p15", _visible , "0");
setProperty("/p10", _visible , "0");
setProperty("/p6", _visible , "1");
}
count = 0;
loop = 0;
while (Number(loop) <= 15) {
loop = Number(loop) + 1;
if (getProperty("/p" add loop, _visible) == 1) {
count = Number(count) + 1;
}
}
if (Number(count) == 1) {
tellTarget ("/") {
gotoAndStop ("win15");
};
}
}
Symbol 292 Button
on (release) {
gotoAndPlay (169);
}