Frame 1
setProperty("/p1", _visible , "1");
setProperty("/p2", _visible , "1");
setProperty("/p3", _visible , "1");
setProperty("/p4", _visible , "1");
setProperty("/p5", _visible , "1");
setProperty("/p6", _visible , "1");
setProperty("/p7", _visible , "1");
setProperty("/p8", _visible , "1");
setProperty("/p9", _visible , "1");
setProperty("/p10", _visible , "1");
setProperty("/p11", _visible , "0");
setProperty("/p12", _visible , "1");
setProperty("/p13", _visible , "0");
Frame 2
stop();
Frame 3
stop();
Symbol 4 MovieClip Frame 1
stop();
Symbol 13 Button
on (release) {
gotoAndPlay (1);
}
Symbol 16 Button
on (press) {
startDrag (getProperty(_x, _y));
OrgX = _x;
OrgY = _y;
}
on (release) {
stopDrag();
_y = OrgY;
_x = OrgX;
if ((((_name eq "p1") and (getProperty("/p3", _visible) == "1")) and (getProperty("/p7", _visible) == "0")) and (_droptarget eq "/h7")) {
setProperty("/p1", _visible , "0");
setProperty("/p3", _visible , "0");
setProperty("/p7", _visible , "1");
}
if ((((_name eq "p1") and (getProperty("/p2", _visible) == "1")) and (getProperty("/p5", _visible) == "0")) and (_droptarget eq "/h5")) {
setProperty("/p1", _visible , "0");
setProperty("/p2", _visible , "0");
setProperty("/p5", _visible , "1");
}
if ((((_name eq "p1") and (getProperty("/p4", _visible) == "1")) and (getProperty("/p9", _visible) == "0")) and (_droptarget eq "/h9")) {
setProperty("/p1", _visible , "0");
setProperty("/p4", _visible , "0");
setProperty("/p9", _visible , "1");
}
if ((((_name eq "p2") and (getProperty("/p6", _visible) == "1")) and (getProperty("/p10", _visible) == "0")) and (_droptarget eq "/h10")) {
setProperty("/p2", _visible , "0");
setProperty("/p6", _visible , "0");
setProperty("/p10", _visible , "1");
}
if ((((_name eq "p2") and (getProperty("/p7", _visible) == "1")) and (getProperty("/p12", _visible) == "0")) and (_droptarget eq "/h12")) {
setProperty("/p2", _visible , "0");
setProperty("/p7", _visible , "0");
setProperty("/p12", _visible , "1");
}
if ((((_name eq "p2") and (getProperty("/p3", _visible) == "1")) and (getProperty("/p4", _visible) == "0")) and (_droptarget eq "/h4")) {
setProperty("/p2", _visible , "0");
setProperty("/p3", _visible , "0");
setProperty("/p4", _visible , "1");
}
if ((((_name eq "p3") and (getProperty("/p7", _visible) == "1")) and (getProperty("/p11", _visible) == "0")) and (_droptarget eq "/h11")) {
setProperty("/p3", _visible , "0");
setProperty("/p7", _visible , "0");
setProperty("/p11", _visible , "1");
}
if ((((_name eq "p4") and (getProperty("/p3", _visible) == "1")) and (getProperty("/p2", _visible) == "0")) and (_droptarget eq "/h2")) {
setProperty("/p4", _visible , "0");
setProperty("/p3", _visible , "0");
setProperty("/p2", _visible , "1");
}
if ((((_name eq "p4") and (getProperty("/p7", _visible) == "1")) and (getProperty("/p10", _visible) == "0")) and (_droptarget eq "/h10")) {
setProperty("/p4", _visible , "0");
setProperty("/p7", _visible , "0");
setProperty("/p10", _visible , "1");
}
if ((((_name eq "p4") and (getProperty("/p8", _visible) == "1")) and (getProperty("/p12", _visible) == "0")) and (_droptarget eq "/h12")) {
setProperty("/p4", _visible , "0");
setProperty("/p8", _visible , "0");
setProperty("/p12", _visible , "1");
}
if ((((_name eq "p5") and (getProperty("/p6", _visible) == "1")) and (getProperty("/p7", _visible) == "0")) and (_droptarget eq "/h7")) {
setProperty("/p5", _visible , "0");
setProperty("/p6", _visible , "0");
setProperty("/p7", _visible , "1");
}
if ((((_name eq "p5") and (getProperty("/p2", _visible) == "1")) and (getProperty("/p1", _visible) == "0")) and (_droptarget eq "/h1")) {
setProperty("/p5", _visible , "0");
setProperty("/p2", _visible , "0");
setProperty("/p1", _visible , "1");
}
if ((((_name eq "p5") and (getProperty("/p10", _visible) == "1")) and (getProperty("/p13", _visible) == "0")) and (_droptarget eq "/h13")) {
setProperty("/p5", _visible , "0");
setProperty("/p10", _visible , "0");
setProperty("/p13", _visible , "1");
}
if ((((_name eq "p6") and (getProperty("/p7", _visible) == "1")) and (getProperty("/p8", _visible) == "0")) and (_droptarget eq "/h8")) {
setProperty("/p6", _visible , "0");
setProperty("/p7", _visible , "0");
setProperty("/p8", _visible , "1");
}
if ((((_name eq "p7") and (getProperty("/p6", _visible) == "1")) and (getProperty("/p5", _visible) == "0")) and (_droptarget eq "/h5")) {
setProperty("/p7", _visible , "0");
setProperty("/p6", _visible , "0");
setProperty("/p5", _visible , "1");
}
if ((((_name eq "p7") and (getProperty("/p8", _visible) == "1")) and (getProperty("/p9", _visible) == "0")) and (_droptarget eq "/h9")) {
setProperty("/p7", _visible , "0");
setProperty("/p8", _visible , "0");
setProperty("/p9", _visible , "1");
}
if ((((_name eq "p7") and (getProperty("/p3", _visible) == "1")) and (getProperty("/p1", _visible) == "0")) and (_droptarget eq "/h1")) {
setProperty("/p7", _visible , "0");
setProperty("/p3", _visible , "0");
setProperty("/p1", _visible , "1");
}
if ((((_name eq "p7") and (getProperty("/p11", _visible) == "1")) and (getProperty("/p13", _visible) == "0")) and (_droptarget eq "/h13")) {
setProperty("/p7", _visible , "0");
setProperty("/p11", _visible , "0");
setProperty("/p13", _visible , "1");
}
if ((((_name eq "p8") and (getProperty("/p7", _visible) == "1")) and (getProperty("/p6", _visible) == "0")) and (_droptarget eq "/h6")) {
setProperty("/p8", _visible , "0");
setProperty("/p7", _visible , "0");
setProperty("/p6", _visible , "1");
}
if ((((_name eq "p9") and (getProperty("/p8", _visible) == "1")) and (getProperty("/p7", _visible) == "0")) and (_droptarget eq "/h7")) {
setProperty("/p9", _visible , "0");
setProperty("/p8", _visible , "0");
setProperty("/p7", _visible , "1");
}
if ((((_name eq "p9") and (getProperty("/p4", _visible) == "1")) and (getProperty("/p1", _visible) == "0")) and (_droptarget eq "/h1")) {
setProperty("/p9", _visible , "0");
setProperty("/p4", _visible , "0");
setProperty("/p1", _visible , "1");
}
if ((((_name eq "p9") and (getProperty("/p12", _visible) == "1")) and (getProperty("/p13", _visible) == "0")) and (_droptarget eq "/h13")) {
setProperty("/p9", _visible , "0");
setProperty("/p12", _visible , "0");
setProperty("/p13", _visible , "1");
}
if ((((_name eq "p10") and (getProperty("/p6", _visible) == "1")) and (getProperty("/p2", _visible) == "0")) and (_droptarget eq "/h2")) {
setProperty("/p10", _visible , "0");
setProperty("/p6", _visible , "0");
setProperty("/p2", _visible , "1");
}
if ((((_name eq "p10") and (getProperty("/p11", _visible) == "1")) and (getProperty("/p12", _visible) == "0")) and (_droptarget eq "/h12")) {
setProperty("/p10", _visible , "0");
setProperty("/p11", _visible , "0");
setProperty("/p12", _visible , "1");
}
if ((((_name eq "p10") and (getProperty("/p7", _visible) == "1")) and (getProperty("/p4", _visible) == "0")) and (_droptarget eq "/h4")) {
setProperty("/p10", _visible , "0");
setProperty("/p7", _visible , "0");
setProperty("/p4", _visible , "1");
}
if ((((_name eq "p11") and (getProperty("/p7", _visible) == "1")) and (getProperty("/p3", _visible) == "0")) and (_droptarget eq "/h3")) {
setProperty("/p11", _visible , "0");
setProperty("/p7", _visible , "0");
setProperty("/p3", _visible , "1");
}
if ((((_name eq "p12") and (getProperty("/p11", _visible) == "1")) and (getProperty("/p10", _visible) == "0")) and (_droptarget eq "/h10")) {
setProperty("/p12", _visible , "0");
setProperty("/p11", _visible , "0");
setProperty("/p10", _visible , "1");
}
if ((((_name eq "p12") and (getProperty("/p8", _visible) == "1")) and (getProperty("/p4", _visible) == "0")) and (_droptarget eq "/h4")) {
setProperty("/p12", _visible , "0");
setProperty("/p8", _visible , "0");
setProperty("/p4", _visible , "1");
}
if ((((_name eq "p12") and (getProperty("/p7", _visible) == "1")) and (getProperty("/p2", _visible) == "0")) and (_droptarget eq "/h2")) {
setProperty("/p12", _visible , "0");
setProperty("/p7", _visible , "0");
setProperty("/p2", _visible , "1");
}
if ((((_name eq "p13") and (getProperty("/p11", _visible) == "1")) and (getProperty("/p7", _visible) == "0")) and (_droptarget eq "/h7")) {
setProperty("/p13", _visible , "0");
setProperty("/p11", _visible , "0");
setProperty("/p7", _visible , "1");
}
if ((((_name eq "p13") and (getProperty("/p10", _visible) == "1")) and (getProperty("/p5", _visible) == "0")) and (_droptarget eq "/h5")) {
setProperty("/p13", _visible , "0");
setProperty("/p10", _visible , "0");
setProperty("/p5", _visible , "1");
}
if ((((_name eq "p13") and (getProperty("/p12", _visible) == "1")) and (getProperty("/p9", _visible) == "0")) and (_droptarget eq "/h9")) {
setProperty("/p13", _visible , "0");
setProperty("/p12", _visible , "0");
setProperty("/p9", _visible , "1");
}
count = "0";
loop = "0";
while ("13" >= loop) {
loop = loop + "1";
if (getProperty("/p" add loop, _visible) == "1") {
count = count + "1";
}
}
if (count == "1") {
tellTarget ("/") {
gotoAndStop ("win");
};
}
}