Symbol 17 MovieClip Frame 2
stop();
Symbol 20 Button
on (press) {
if (..:which eq "puzzle") {
targetpath = "../../../puzzle/" add ..:name;
startDrag (targetpath);
}
}
on (release, releaseOutside) {
if (..:which eq "puzzle") {
offset = ../../..:offset;
currentmoviex = getProperty(targetpath, _x);
currentmoviey = getProperty(targetpath, _y);
matchpath = "../../../match/" add name;
matchmoviex = getProperty(matchpath, _x) / "80";
matchmoviey = getProperty(matchpath, _y) / "80";
if (((matchmoviex - offset) < currentmoviex) and (currentmoviex < (matchmoviex + offset))) {
if (((matchmoviey - offset) < currentmoviey) and (currentmoviey < (matchmoviey + offset))) {
setProperty(targetpath, _x , matchmoviex);
setProperty(targetpath, _y , matchmoviey);
Set("../../..:piececount", ../../..:piececount + "1");
gotoAndStop (7);
}
}
stopDrag();
}
if (../../..:piececount >= "16") {
tellTarget ("../../../finishedpic") {
gotoAndPlay(..:puzzlename);
};
}
}
Symbol 21 MovieClip Frame 6
stop();
Symbol 25 MovieClip Frame 4
stop();
Symbol 29 MovieClip Frame 4
stop();
Symbol 33 MovieClip Frame 4
stop();
Symbol 37 MovieClip Frame 5
stop();
Symbol 41 MovieClip Frame 5
stop();
Symbol 45 MovieClip Frame 4
stop();
Symbol 49 MovieClip Frame 5
stop();
Symbol 53 MovieClip Frame 4
stop();
Symbol 57 MovieClip Frame 5
stop();
Symbol 61 MovieClip Frame 5
stop();
Symbol 65 MovieClip Frame 5
stop();
Symbol 69 MovieClip Frame 4
stop();
Symbol 73 MovieClip Frame 4
stop();
Symbol 77 MovieClip Frame 5
stop();
Symbol 81 MovieClip Frame 5
stop();
Symbol 85 MovieClip Frame 4
stop();
Symbol 86 MovieClip Frame 1
if (which eq "match") {
tellTarget ("piecebutton") {
gotoAndStop ("disabled");
};
}
name = _name;
which = ..:parent;
gotoAndStop(name);
Symbol 86 MovieClip Frame 4
call("disable");
Symbol 86 MovieClip Frame 7
call("disable");
Symbol 86 MovieClip Frame 11
call("disable");
Symbol 86 MovieClip Frame 16
call("disable");
Symbol 86 MovieClip Frame 20
call("disable");
Symbol 86 MovieClip Frame 25
call("disable");
Symbol 86 MovieClip Frame 30
call("disable");
Symbol 86 MovieClip Frame 35
call("disable");
Symbol 86 MovieClip Frame 40
call("disable");
Symbol 86 MovieClip Frame 45
call("disable");
Symbol 86 MovieClip Frame 50
call("disable");
Symbol 86 MovieClip Frame 55
call("disable");
Symbol 86 MovieClip Frame 60
call("disable");
Symbol 86 MovieClip Frame 64
call("disable");
Symbol 86 MovieClip Frame 69
call("disable");
Symbol 86 MovieClip Frame 75
call("disable");
Symbol 87 MovieClip Frame 1
parent = _name;
Symbol 101 Button
on (release) {
puzzlename = "two";
tellTarget ("hilight") {
gotoAndStop ("2");
};
tellTarget ("puzzle/sixteen/picture") {
gotoAndStop ("two");
};
tellTarget ("puzzle/one/picture") {
gotoAndStop ("two");
};
tellTarget ("puzzle/two/picture") {
gotoAndStop ("two");
};
tellTarget ("puzzle/three/picture") {
gotoAndStop ("two");
};
tellTarget ("puzzle/four/picture") {
gotoAndStop ("two");
};
tellTarget ("puzzle/five/picture") {
gotoAndStop ("two");
};
tellTarget ("puzzle/six/picture") {
gotoAndStop ("two");
};
tellTarget ("puzzle/seven/picture") {
gotoAndStop ("two");
};
tellTarget ("puzzle/eight/picture") {
gotoAndStop ("two");
};
tellTarget ("puzzle/nine/picture") {
gotoAndStop ("two");
};
tellTarget ("puzzle/ten/picture") {
gotoAndStop ("two");
};
tellTarget ("puzzle/eleven/picture") {
gotoAndStop ("two");
};
tellTarget ("puzzle/twelve/picture") {
gotoAndStop ("two");
};
tellTarget ("puzzle/thirteen/picture") {
gotoAndStop ("two");
};
tellTarget ("puzzle/fourteen/picture") {
gotoAndStop ("two");
};
tellTarget ("puzzle/fifteen/picture") {
gotoAndStop ("two");
};
setProperty("puzzle/one", _x , random(randomness) - offset2);
setProperty("puzzle/one", _y , random(randomness));
setProperty("puzzle/two", _x , random(randomness) - offset2);
setProperty("puzzle/two", _y , random(randomness));
setProperty("puzzle/three", _x , random(randomness) - offset2);
setProperty("puzzle/three", _y , random(randomness));
setProperty("puzzle/four", _x , random(randomness) - offset2);
setProperty("puzzle/four", _y , random(randomness));
setProperty("puzzle/five", _x , random(randomness) - offset2);
setProperty("puzzle/five", _y , random(randomness));
setProperty("puzzle/six", _x , random(randomness) - offset2);
setProperty("puzzle/six", _y , random(randomness));
setProperty("puzzle/seven", _x , random(randomness) - offset2);
setProperty("puzzle/seven", _y , random(randomness));
setProperty("puzzle/eight", _x , random(randomness) - offset2);
setProperty("puzzle/eight", _y , random(randomness));
setProperty("puzzle/nine", _x , random(randomness) - offset2);
setProperty("puzzle/nine", _y , random(randomness));
setProperty("puzzle/ten", _x , random(randomness) - offset2);
setProperty("puzzle/ten", _y , random(randomness));
setProperty("puzzle/eleven", _x , random(randomness) - offset2);
setProperty("puzzle/eleven", _y , random(randomness));
setProperty("puzzle/twelve", _x , random(randomness) - offset2);
setProperty("puzzle/twelve", _y , random(randomness));
setProperty("puzzle/thirteen", _x , random(randomness) - offset2);
setProperty("puzzle/thirteen", _y , random(randomness));
setProperty("puzzle/fourteen", _x , random(randomness) - offset2);
setProperty("puzzle/fourteen", _y , random(randomness));
setProperty("puzzle/fifteen", _x , random(randomness) - offset2);
setProperty("puzzle/fifteen", _y , random(randomness));
setProperty("puzzle/sixteen", _x , random(randomness) - offset2);
setProperty("puzzle/sixteen", _y , random(randomness));
tellTarget ("back") {
gotoAndStop ("two");
};
call("reactivate");
}
Symbol 102 Button
on (release) {
puzzlename = "one";
tellTarget ("hilight") {
gotoAndStop ("1");
};
tellTarget ("puzzle/sixteen/picture") {
gotoAndStop ("one");
};
tellTarget ("puzzle/one/picture") {
gotoAndStop ("one");
};
tellTarget ("puzzle/two/picture") {
gotoAndStop ("one");
};
tellTarget ("puzzle/three/picture") {
gotoAndStop ("one");
};
tellTarget ("puzzle/four/picture") {
gotoAndStop ("one");
};
tellTarget ("puzzle/five/picture") {
gotoAndStop ("one");
};
tellTarget ("puzzle/six/picture") {
gotoAndStop ("one");
};
tellTarget ("puzzle/seven/picture") {
gotoAndStop ("one");
};
tellTarget ("puzzle/eight/picture") {
gotoAndStop ("one");
};
tellTarget ("puzzle/nine/picture") {
gotoAndStop ("one");
};
tellTarget ("puzzle/ten/picture") {
gotoAndStop ("one");
};
tellTarget ("puzzle/eleven/picture") {
gotoAndStop ("one");
};
tellTarget ("puzzle/twelve/picture") {
gotoAndStop ("one");
};
tellTarget ("puzzle/thirteen/picture") {
gotoAndStop ("one");
};
tellTarget ("puzzle/fourteen/picture") {
gotoAndStop ("one");
};
tellTarget ("puzzle/fifteen/picture") {
gotoAndStop ("one");
};
setProperty("puzzle/one", _x , random(randomness) - offset2);
setProperty("puzzle/one", _y , random(randomness));
setProperty("puzzle/two", _x , random(randomness) - offset2);
setProperty("puzzle/two", _y , random(randomness));
setProperty("puzzle/three", _x , random(randomness) - offset2);
setProperty("puzzle/three", _y , random(randomness));
setProperty("puzzle/four", _x , random(randomness) - offset2);
setProperty("puzzle/four", _y , random(randomness));
setProperty("puzzle/five", _x , random(randomness) - offset2);
setProperty("puzzle/five", _y , random(randomness));
setProperty("puzzle/six", _x , random(randomness) - offset2);
setProperty("puzzle/six", _y , random(randomness));
setProperty("puzzle/seven", _x , random(randomness) - offset2);
setProperty("puzzle/seven", _y , random(randomness));
setProperty("puzzle/eight", _x , random(randomness) - offset2);
setProperty("puzzle/eight", _y , random(randomness));
setProperty("puzzle/nine", _x , random(randomness) - offset2);
setProperty("puzzle/nine", _y , random(randomness));
setProperty("puzzle/ten", _x , random(randomness) - offset2);
setProperty("puzzle/ten", _y , random(randomness));
setProperty("puzzle/eleven", _x , random(randomness) - offset2);
setProperty("puzzle/eleven", _y , random(randomness));
setProperty("puzzle/twelve", _x , random(randomness) - offset2);
setProperty("puzzle/twelve", _y , random(randomness));
setProperty("puzzle/thirteen", _x , random(randomness) - offset2);
setProperty("puzzle/thirteen", _y , random(randomness));
setProperty("puzzle/fourteen", _x , random(randomness) - offset2);
setProperty("puzzle/fourteen", _y , random(randomness));
setProperty("puzzle/fifteen", _x , random(randomness) - offset2);
setProperty("puzzle/fifteen", _y , random(randomness));
setProperty("puzzle/sixteen", _x , random(randomness) - offset2);
setProperty("puzzle/sixteen", _y , random(randomness));
upbut = "1";
tellTarget ("back") {
gotoAndStop ("one");
};
call("reactivate");
}
Symbol 103 Button
on (release) {
puzzlename = "four";
tellTarget ("hilight") {
gotoAndStop ("4");
};
tellTarget ("puzzle/sixteen/picture") {
gotoAndStop ("four");
};
tellTarget ("puzzle/one/picture") {
gotoAndStop ("four");
};
tellTarget ("puzzle/two/picture") {
gotoAndStop ("four");
};
tellTarget ("puzzle/three/picture") {
gotoAndStop ("four");
};
tellTarget ("puzzle/four/picture") {
gotoAndStop ("four");
};
tellTarget ("puzzle/five/picture") {
gotoAndStop ("four");
};
tellTarget ("puzzle/six/picture") {
gotoAndStop ("four");
};
tellTarget ("puzzle/seven/picture") {
gotoAndStop ("four");
};
tellTarget ("puzzle/eight/picture") {
gotoAndStop ("four");
};
tellTarget ("puzzle/nine/picture") {
gotoAndStop ("four");
};
tellTarget ("puzzle/ten/picture") {
gotoAndStop ("four");
};
tellTarget ("puzzle/eleven/picture") {
gotoAndStop ("four");
};
tellTarget ("puzzle/twelve/picture") {
gotoAndStop ("four");
};
tellTarget ("puzzle/thirteen/picture") {
gotoAndStop ("four");
};
tellTarget ("puzzle/fourteen/picture") {
gotoAndStop ("four");
};
tellTarget ("puzzle/fifteen/picture") {
gotoAndStop ("four");
};
setProperty("puzzle/one", _x , random(randomness) - offset2);
setProperty("puzzle/one", _y , random(randomness));
setProperty("puzzle/two", _x , random(randomness) - offset2);
setProperty("puzzle/two", _y , random(randomness));
setProperty("puzzle/three", _x , random(randomness) - offset2);
setProperty("puzzle/three", _y , random(randomness));
setProperty("puzzle/four", _x , random(randomness) - offset2);
setProperty("puzzle/four", _y , random(randomness));
setProperty("puzzle/five", _x , random(randomness) - offset2);
setProperty("puzzle/five", _y , random(randomness));
setProperty("puzzle/six", _x , random(randomness) - offset2);
setProperty("puzzle/six", _y , random(randomness));
setProperty("puzzle/seven", _x , random(randomness) - offset2);
setProperty("puzzle/seven", _y , random(randomness));
setProperty("puzzle/eight", _x , random(randomness) - offset2);
setProperty("puzzle/eight", _y , random(randomness));
setProperty("puzzle/nine", _x , random(randomness) - offset2);
setProperty("puzzle/nine", _y , random(randomness));
setProperty("puzzle/ten", _x , random(randomness) - offset2);
setProperty("puzzle/ten", _y , random(randomness));
setProperty("puzzle/eleven", _x , random(randomness) - offset2);
setProperty("puzzle/eleven", _y , random(randomness));
setProperty("puzzle/twelve", _x , random(randomness) - offset2);
setProperty("puzzle/twelve", _y , random(randomness));
setProperty("puzzle/thirteen", _x , random(randomness) - offset2);
setProperty("puzzle/thirteen", _y , random(randomness));
setProperty("puzzle/fourteen", _x , random(randomness) - offset2);
setProperty("puzzle/fourteen", _y , random(randomness));
setProperty("puzzle/fifteen", _x , random(randomness) - offset2);
setProperty("puzzle/fifteen", _y , random(randomness));
setProperty("puzzle/sixteen", _x , random(randomness) - offset2);
setProperty("puzzle/sixteen", _y , random(randomness));
tellTarget ("back") {
gotoAndStop ("four");
};
call("reactivate");
}
Symbol 104 Button
on (release) {
puzzlename = "three";
tellTarget ("hilight") {
gotoAndStop ("3");
};
tellTarget ("puzzle/sixteen/picture") {
gotoAndStop ("three");
};
tellTarget ("puzzle/one/picture") {
gotoAndStop ("three");
};
tellTarget ("puzzle/two/picture") {
gotoAndStop ("three");
};
tellTarget ("puzzle/three/picture") {
gotoAndStop ("three");
};
tellTarget ("puzzle/four/picture") {
gotoAndStop ("three");
};
tellTarget ("puzzle/five/picture") {
gotoAndStop ("three");
};
tellTarget ("puzzle/six/picture") {
gotoAndStop ("three");
};
tellTarget ("puzzle/seven/picture") {
gotoAndStop ("three");
};
tellTarget ("puzzle/eight/picture") {
gotoAndStop ("three");
};
tellTarget ("puzzle/nine/picture") {
gotoAndStop ("three");
};
tellTarget ("puzzle/ten/picture") {
gotoAndStop ("three");
};
tellTarget ("puzzle/eleven/picture") {
gotoAndStop ("three");
};
tellTarget ("puzzle/twelve/picture") {
gotoAndStop ("three");
};
tellTarget ("puzzle/thirteen/picture") {
gotoAndStop ("three");
};
tellTarget ("puzzle/fourteen/picture") {
gotoAndStop ("three");
};
tellTarget ("puzzle/fifteen/picture") {
gotoAndStop ("three");
};
setProperty("puzzle/one", _x , random(randomness) - offset2);
setProperty("puzzle/one", _y , random(randomness));
setProperty("puzzle/two", _x , random(randomness) - offset2);
setProperty("puzzle/two", _y , random(randomness));
setProperty("puzzle/three", _x , random(randomness) - offset2);
setProperty("puzzle/three", _y , random(randomness));
setProperty("puzzle/four", _x , random(randomness) - offset2);
setProperty("puzzle/four", _y , random(randomness));
setProperty("puzzle/five", _x , random(randomness) - offset2);
setProperty("puzzle/five", _y , random(randomness));
setProperty("puzzle/six", _x , random(randomness) - offset2);
setProperty("puzzle/six", _y , random(randomness));
setProperty("puzzle/seven", _x , random(randomness) - offset2);
setProperty("puzzle/seven", _y , random(randomness));
setProperty("puzzle/eight", _x , random(randomness) - offset2);
setProperty("puzzle/eight", _y , random(randomness));
setProperty("puzzle/nine", _x , random(randomness) - offset2);
setProperty("puzzle/nine", _y , random(randomness));
setProperty("puzzle/ten", _x , random(randomness) - offset2);
setProperty("puzzle/ten", _y , random(randomness));
setProperty("puzzle/eleven", _x , random(randomness) - offset2);
setProperty("puzzle/eleven", _y , random(randomness));
setProperty("puzzle/twelve", _x , random(randomness) - offset2);
setProperty("puzzle/twelve", _y , random(randomness));
setProperty("puzzle/thirteen", _x , random(randomness) - offset2);
setProperty("puzzle/thirteen", _y , random(randomness));
setProperty("puzzle/fourteen", _x , random(randomness) - offset2);
setProperty("puzzle/fourteen", _y , random(randomness));
setProperty("puzzle/fifteen", _x , random(randomness) - offset2);
setProperty("puzzle/fifteen", _y , random(randomness));
setProperty("puzzle/sixteen", _x , random(randomness) - offset2);
setProperty("puzzle/sixteen", _y , random(randomness));
tellTarget ("back") {
gotoAndStop ("three");
};
call("reactivate");
}
Symbol 105 Button
on (release) {
puzzlename = "five";
tellTarget ("hilight") {
gotoAndStop ("5");
};
tellTarget ("puzzle/sixteen/picture") {
gotoAndStop ("five");
};
tellTarget ("puzzle/one/picture") {
gotoAndStop ("five");
};
tellTarget ("puzzle/two/picture") {
gotoAndStop ("five");
};
tellTarget ("puzzle/three/picture") {
gotoAndStop ("five");
};
tellTarget ("puzzle/four/picture") {
gotoAndStop ("five");
};
tellTarget ("puzzle/five/picture") {
gotoAndStop ("four");
};
tellTarget ("puzzle/six/picture") {
gotoAndStop ("five");
};
tellTarget ("puzzle/seven/picture") {
gotoAndStop ("five");
};
tellTarget ("puzzle/eight/picture") {
gotoAndStop ("five");
};
tellTarget ("puzzle/nine/picture") {
gotoAndStop ("five");
};
tellTarget ("puzzle/ten/picture") {
gotoAndStop ("five");
};
tellTarget ("puzzle/eleven/picture") {
gotoAndStop ("five");
};
tellTarget ("puzzle/twelve/picture") {
gotoAndStop ("five");
};
tellTarget ("puzzle/thirteen/picture") {
gotoAndStop ("five");
};
tellTarget ("puzzle/fourteen/picture") {
gotoAndStop ("four");
};
tellTarget ("puzzle/fifteen/picture") {
gotoAndStop ("four");
};
setProperty("puzzle/one", _x , random(randomness) - offset2);
setProperty("puzzle/one", _y , random(randomness));
setProperty("puzzle/two", _x , random(randomness) - offset2);
setProperty("puzzle/two", _y , random(randomness));
setProperty("puzzle/three", _x , random(randomness) - offset2);
setProperty("puzzle/three", _y , random(randomness));
setProperty("puzzle/four", _x , random(randomness) - offset2);
setProperty("puzzle/four", _y , random(randomness));
setProperty("puzzle/five", _x , random(randomness) - offset2);
setProperty("puzzle/five", _y , random(randomness));
setProperty("puzzle/six", _x , random(randomness) - offset2);
setProperty("puzzle/six", _y , random(randomness));
setProperty("puzzle/seven", _x , random(randomness) - offset2);
setProperty("puzzle/seven", _y , random(randomness));
setProperty("puzzle/eight", _x , random(randomness) - offset2);
setProperty("puzzle/eight", _y , random(randomness));
setProperty("puzzle/nine", _x , random(randomness) - offset2);
setProperty("puzzle/nine", _y , random(randomness));
setProperty("puzzle/ten", _x , random(randomness) - offset2);
setProperty("puzzle/ten", _y , random(randomness));
setProperty("puzzle/eleven", _x , random(randomness) - offset2);
setProperty("puzzle/eleven", _y , random(randomness));
setProperty("puzzle/twelve", _x , random(randomness) - offset2);
setProperty("puzzle/twelve", _y , random(randomness));
setProperty("puzzle/thirteen", _x , random(randomness) - offset2);
setProperty("puzzle/thirteen", _y , random(randomness));
setProperty("puzzle/fourteen", _x , random(randomness) - offset2);
setProperty("puzzle/fourteen", _y , random(randomness));
setProperty("puzzle/fifteen", _x , random(randomness) - offset2);
setProperty("puzzle/fifteen", _y , random(randomness));
setProperty("puzzle/sixteen", _x , random(randomness) - offset2);
setProperty("puzzle/sixteen", _y , random(randomness));
tellTarget ("back") {
gotoAndStop ("five");
};
call("reactivate");
}
Symbol 106 Button
on (release) {
puzzlename = "seven";
tellTarget ("hilight") {
gotoAndStop ("7");
};
tellTarget ("puzzle/sixteen/picture") {
gotoAndStop ("seven");
};
tellTarget ("puzzle/one/picture") {
gotoAndStop ("seven");
};
tellTarget ("puzzle/two/picture") {
gotoAndStop ("seven");
};
tellTarget ("puzzle/three/picture") {
gotoAndStop ("seven");
};
tellTarget ("puzzle/four/picture") {
gotoAndStop ("seven");
};
tellTarget ("puzzle/five/picture") {
gotoAndStop ("seven");
};
tellTarget ("puzzle/six/picture") {
gotoAndStop ("seven");
};
tellTarget ("puzzle/seven/picture") {
gotoAndStop ("seven");
};
tellTarget ("puzzle/eight/picture") {
gotoAndStop ("seven");
};
tellTarget ("puzzle/nine/picture") {
gotoAndStop ("seven");
};
tellTarget ("puzzle/ten/picture") {
gotoAndStop ("seven");
};
tellTarget ("puzzle/eleven/picture") {
gotoAndStop ("seven");
};
tellTarget ("puzzle/twelve/picture") {
gotoAndStop ("seven");
};
tellTarget ("puzzle/thirteen/picture") {
gotoAndStop ("seven");
};
tellTarget ("puzzle/fourteen/picture") {
gotoAndStop ("seven");
};
tellTarget ("puzzle/fifteen/picture") {
gotoAndStop ("seven");
};
setProperty("puzzle/one", _x , random(randomness) - offset2);
setProperty("puzzle/one", _y , random(randomness));
setProperty("puzzle/two", _x , random(randomness) - offset2);
setProperty("puzzle/two", _y , random(randomness));
setProperty("puzzle/three", _x , random(randomness) - offset2);
setProperty("puzzle/three", _y , random(randomness));
setProperty("puzzle/four", _x , random(randomness) - offset2);
setProperty("puzzle/four", _y , random(randomness));
setProperty("puzzle/five", _x , random(randomness) - offset2);
setProperty("puzzle/five", _y , random(randomness));
setProperty("puzzle/six", _x , random(randomness) - offset2);
setProperty("puzzle/six", _y , random(randomness));
setProperty("puzzle/seven", _x , random(randomness) - offset2);
setProperty("puzzle/seven", _y , random(randomness));
setProperty("puzzle/eight", _x , random(randomness) - offset2);
setProperty("puzzle/eight", _y , random(randomness));
setProperty("puzzle/nine", _x , random(randomness) - offset2);
setProperty("puzzle/nine", _y , random(randomness));
setProperty("puzzle/ten", _x , random(randomness) - offset2);
setProperty("puzzle/ten", _y , random(randomness));
setProperty("puzzle/eleven", _x , random(randomness) - offset2);
setProperty("puzzle/eleven", _y , random(randomness));
setProperty("puzzle/twelve", _x , random(randomness) - offset2);
setProperty("puzzle/twelve", _y , random(randomness));
setProperty("puzzle/thirteen", _x , random(randomness) - offset2);
setProperty("puzzle/thirteen", _y , random(randomness));
setProperty("puzzle/fourteen", _x , random(randomness) - offset2);
setProperty("puzzle/fourteen", _y , random(randomness));
setProperty("puzzle/fifteen", _x , random(randomness) - offset2);
setProperty("puzzle/fifteen", _y , random(randomness));
setProperty("puzzle/sixteen", _x , random(randomness) - offset2);
setProperty("puzzle/sixteen", _y , random(randomness));
tellTarget ("back") {
gotoAndStop ("seven");
};
call("reactivate");
}
Symbol 107 Button
on (release) {
puzzlename = "six";
tellTarget ("hilight") {
gotoAndStop ("6");
};
tellTarget ("puzzle/sixteen/picture") {
gotoAndStop ("six");
};
tellTarget ("puzzle/one/picture") {
gotoAndStop ("six");
};
tellTarget ("puzzle/two/picture") {
gotoAndStop ("six");
};
tellTarget ("puzzle/three/picture") {
gotoAndStop ("six");
};
tellTarget ("puzzle/four/picture") {
gotoAndStop ("one");
};
tellTarget ("puzzle/five/picture") {
gotoAndStop ("six");
};
tellTarget ("puzzle/six/picture") {
gotoAndStop ("six");
};
tellTarget ("puzzle/seven/picture") {
gotoAndStop ("six");
};
tellTarget ("puzzle/eight/picture") {
gotoAndStop ("six");
};
tellTarget ("puzzle/nine/picture") {
gotoAndStop ("six");
};
tellTarget ("puzzle/ten/picture") {
gotoAndStop ("six");
};
tellTarget ("puzzle/eleven/picture") {
gotoAndStop ("six");
};
tellTarget ("puzzle/twelve/picture") {
gotoAndStop ("six");
};
tellTarget ("puzzle/thirteen/picture") {
gotoAndStop ("six");
};
tellTarget ("puzzle/fourteen/picture") {
gotoAndStop ("six");
};
tellTarget ("puzzle/fifteen/picture") {
gotoAndStop ("six");
};
setProperty("puzzle/one", _x , random(randomness) - offset2);
setProperty("puzzle/one", _y , random(randomness));
setProperty("puzzle/two", _x , random(randomness) - offset2);
setProperty("puzzle/two", _y , random(randomness));
setProperty("puzzle/three", _x , random(randomness) - offset2);
setProperty("puzzle/three", _y , random(randomness));
setProperty("puzzle/four", _x , random(randomness) - offset2);
setProperty("puzzle/four", _y , random(randomness));
setProperty("puzzle/five", _x , random(randomness) - offset2);
setProperty("puzzle/five", _y , random(randomness));
setProperty("puzzle/six", _x , random(randomness) - offset2);
setProperty("puzzle/six", _y , random(randomness));
setProperty("puzzle/seven", _x , random(randomness) - offset2);
setProperty("puzzle/seven", _y , random(randomness));
setProperty("puzzle/eight", _x , random(randomness) - offset2);
setProperty("puzzle/eight", _y , random(randomness));
setProperty("puzzle/nine", _x , random(randomness) - offset2);
setProperty("puzzle/nine", _y , random(randomness));
setProperty("puzzle/ten", _x , random(randomness) - offset2);
setProperty("puzzle/ten", _y , random(randomness));
setProperty("puzzle/eleven", _x , random(randomness) - offset2);
setProperty("puzzle/eleven", _y , random(randomness));
setProperty("puzzle/twelve", _x , random(randomness) - offset2);
setProperty("puzzle/twelve", _y , random(randomness));
setProperty("puzzle/thirteen", _x , random(randomness) - offset2);
setProperty("puzzle/thirteen", _y , random(randomness));
setProperty("puzzle/fourteen", _x , random(randomness) - offset2);
setProperty("puzzle/fourteen", _y , random(randomness));
setProperty("puzzle/fifteen", _x , random(randomness) - offset2);
setProperty("puzzle/fifteen", _y , random(randomness));
setProperty("puzzle/sixteen", _x , random(randomness) - offset2);
setProperty("puzzle/sixteen", _y , random(randomness));
tellTarget ("back") {
gotoAndStop ("six");
};
call("reactivate");
}
Symbol 108 Button
on (release) {
puzzlename = "eight";
tellTarget ("hilight") {
gotoAndStop ("8");
};
tellTarget ("puzzle/sixteen/picture") {
gotoAndStop ("eight");
};
tellTarget ("puzzle/one/picture") {
gotoAndStop ("eight");
};
tellTarget ("puzzle/two/picture") {
gotoAndStop ("eight");
};
tellTarget ("puzzle/three/picture") {
gotoAndStop ("eight");
};
tellTarget ("puzzle/four/picture") {
gotoAndStop ("eight");
};
tellTarget ("puzzle/five/picture") {
gotoAndStop ("eight");
};
tellTarget ("puzzle/six/picture") {
gotoAndStop ("eight");
};
tellTarget ("puzzle/seven/picture") {
gotoAndStop ("eight");
};
tellTarget ("puzzle/eight/picture") {
gotoAndStop ("eight");
};
tellTarget ("puzzle/nine/picture") {
gotoAndStop ("eight");
};
tellTarget ("puzzle/ten/picture") {
gotoAndStop ("eight");
};
tellTarget ("puzzle/eleven/picture") {
gotoAndStop ("eight");
};
tellTarget ("puzzle/twelve/picture") {
gotoAndStop ("eight");
};
tellTarget ("puzzle/thirteen/picture") {
gotoAndStop ("eight");
};
tellTarget ("puzzle/fourteen/picture") {
gotoAndStop ("eight");
};
tellTarget ("puzzle/fifteen/picture") {
gotoAndStop ("eight");
};
setProperty("puzzle/one", _x , random(randomness) - offset2);
setProperty("puzzle/one", _y , random(randomness));
setProperty("puzzle/two", _x , random(randomness) - offset2);
setProperty("puzzle/two", _y , random(randomness));
setProperty("puzzle/three", _x , random(randomness) - offset2);
setProperty("puzzle/three", _y , random(randomness));
setProperty("puzzle/four", _x , random(randomness) - offset2);
setProperty("puzzle/four", _y , random(randomness));
setProperty("puzzle/five", _x , random(randomness) - offset2);
setProperty("puzzle/five", _y , random(randomness));
setProperty("puzzle/six", _x , random(randomness) - offset2);
setProperty("puzzle/six", _y , random(randomness));
setProperty("puzzle/seven", _x , random(randomness) - offset2);
setProperty("puzzle/seven", _y , random(randomness));
setProperty("puzzle/eight", _x , random(randomness) - offset2);
setProperty("puzzle/eight", _y , random(randomness));
setProperty("puzzle/nine", _x , random(randomness) - offset2);
setProperty("puzzle/nine", _y , random(randomness));
setProperty("puzzle/ten", _x , random(randomness) - offset2);
setProperty("puzzle/ten", _y , random(randomness));
setProperty("puzzle/eleven", _x , random(randomness) - offset2);
setProperty("puzzle/eleven", _y , random(randomness));
setProperty("puzzle/twelve", _x , random(randomness) - offset2);
setProperty("puzzle/twelve", _y , random(randomness));
setProperty("puzzle/thirteen", _x , random(randomness) - offset2);
setProperty("puzzle/thirteen", _y , random(randomness));
setProperty("puzzle/fourteen", _x , random(randomness) - offset2);
setProperty("puzzle/fourteen", _y , random(randomness));
setProperty("puzzle/fifteen", _x , random(randomness) - offset2);
setProperty("puzzle/fifteen", _y , random(randomness));
setProperty("puzzle/sixteen", _x , random(randomness) - offset2);
setProperty("puzzle/sixteen", _y , random(randomness));
tellTarget ("back") {
gotoAndStop ("eight");
};
call("reactivate");
}
Symbol 112 Button
on (press) {
tellTarget ("mark") {
gotoAndStop (1);
};
offset = "8000";
}
Symbol 113 Button
on (press) {
tellTarget ("mark") {
gotoAndStop (2);
};
offset = "50";
}
Symbol 114 Button
on (press) {
tellTarget ("mark") {
gotoAndStop (3);
};
offset = "10";
}
Symbol 125 MovieClip Frame 9
stop();
Symbol 125 MovieClip Frame 18
stop();
Symbol 125 MovieClip Frame 27
stop();
Symbol 125 MovieClip Frame 36
stop();
Symbol 125 MovieClip Frame 45
stop();
Symbol 125 MovieClip Frame 54
stop();
Symbol 125 MovieClip Frame 63
stop();
Symbol 125 MovieClip Frame 72
stop();
Symbol 144 MovieClip Frame 1
stop();
Symbol 145 Button
on (release) {
getURL ("http://www.northeastmagic.com", "_blank");
}
on (rollOver) {
tellTarget ("logo") {
gotoAndPlay (1);
}
}
Symbol 146 MovieClip Frame 1
fscommand ("allowscale", "false");
fscommand ("showmenu", "false");
puzzlename = "one";
piececount = "0";
upbut = "0";
randomness = "50";
offset = "50";
tellTarget ("finishedpic") {
gotoAndStop ("blank");
};
tellTarget ("mark") {
gotoAndStop (2);
};
tellTarget ("hilight") {
gotoAndStop ("1");
};
offset2 = "200";
setProperty("puzzle/one", _x , random(randomness) - offset2);
setProperty("puzzle/one", _y , random(randomness));
setProperty("puzzle/two", _x , random(randomness) - offset2);
setProperty("puzzle/two", _y , random(randomness));
setProperty("puzzle/three", _x , random(randomness) - offset2);
setProperty("puzzle/three", _y , random(randomness));
setProperty("puzzle/four", _x , random(randomness) - offset2);
setProperty("puzzle/four", _y , random(randomness));
setProperty("puzzle/five", _x , random(randomness) - offset2);
setProperty("puzzle/five", _y , random(randomness));
setProperty("puzzle/six", _x , random(randomness) - offset2);
setProperty("puzzle/six", _y , random(randomness));
setProperty("puzzle/seven", _x , random(randomness) - offset2);
setProperty("puzzle/seven", _y , random(randomness));
setProperty("puzzle/eight", _x , random(randomness) - offset2);
setProperty("puzzle/eight", _y , random(randomness));
setProperty("puzzle/nine", _x , random(randomness) - offset2);
setProperty("puzzle/nine", _y , random(randomness));
setProperty("puzzle/ten", _x , random(randomness) - offset2);
setProperty("puzzle/ten", _y , random(randomness));
setProperty("puzzle/eleven", _x , random(randomness) - offset2);
setProperty("puzzle/eleven", _y , random(randomness));
setProperty("puzzle/twelve", _x , random(randomness) - offset2);
setProperty("puzzle/twelve", _y , random(randomness));
setProperty("puzzle/thirteen", _x , random(randomness) - offset2);
setProperty("puzzle/thirteen", _y , random(randomness));
setProperty("puzzle/fourteen", _x , random(randomness) - offset2);
setProperty("puzzle/fourteen", _y , random(randomness));
setProperty("puzzle/fifteen", _x , random(randomness) - offset2);
setProperty("puzzle/fifteen", _y , random(randomness));
setProperty("puzzle/sixteen", _x , random(randomness) - offset2);
setProperty("puzzle/sixteen", _y , random(randomness));
Symbol 146 MovieClip Frame 3
stop();
Symbol 146 MovieClip Frame 51
piececount = "0";
tellTarget ("finishedpic") {
gotoAndStop ("blank");
};
tellTarget ("puzzle/sixteen/piecebutton") {
gotoAndStop ("active");
};
tellTarget ("puzzle/fifteen/piecebutton") {
gotoAndStop ("active");
};
tellTarget ("puzzle/fourteen/piecebutton") {
gotoAndStop ("active");
};
tellTarget ("puzzle/thirteen/piecebutton") {
gotoAndStop ("active");
};
tellTarget ("puzzle/twelve/piecebutton") {
gotoAndStop ("active");
};
tellTarget ("puzzle/eleven/piecebutton") {
gotoAndStop ("active");
};
tellTarget ("puzzle/ten/piecebutton") {
gotoAndStop ("active");
};
tellTarget ("puzzle/nine/piecebutton") {
gotoAndStop ("active");
};
tellTarget ("puzzle/eight/piecebutton") {
gotoAndStop ("active");
};
tellTarget ("puzzle/seven/piecebutton") {
gotoAndStop ("active");
};
tellTarget ("puzzle/six/piecebutton") {
gotoAndStop ("active");
};
tellTarget ("puzzle/five/piecebutton") {
gotoAndStop ("active");
};
tellTarget ("puzzle/four/piecebutton") {
gotoAndStop ("active");
};
tellTarget ("puzzle/three/piecebutton") {
gotoAndStop ("active");
};
tellTarget ("puzzle/two/piecebutton") {
gotoAndStop ("active");
};
tellTarget ("puzzle/one/piecebutton") {
gotoAndStop ("active");
}