Frame 1
_highquality = "1";
fscommand ("showmenu", "false");
fscommand ("fullscreen", "false");
fscommand ("allowscale", "false");
Frame 4
ifFrameLoaded (100) {
gotoAndStop (6);
}
Frame 5
gotoAndPlay (2);
Frame 8
stop();
Frame 10
Waiting = "0";
Clicknum = "0";
Clicknum2 = "0";
Swaps = "0";
loadMovieNum (("http://www3.sympatico.ca/spore/wip/model" add model) add ".swf", "1");
stop();
Frame 14
loadMovieNum ("http://www3.sympatico.ca/spore/wip/music.swf", 2);
Frame 16
if ("3" < Model) {
gotoAndPlay (61);
}
Frame 18
Loop = "54";
while ("0" < Loop) {
Set("Cell" add Loop, Loop);
Loop = Loop - "1";
}
Frame 20
Loop = "1";
while (Loop < "100") {
Swap1 = random("54") + "1";
Temp = eval ("Cell" add Swap1);
Swap2 = random("54") + "1";
Set("Cell" add Swap1, eval ("Cell" add Swap2));
Set("Cell" add Swap2, Temp);
Loop = Loop + "1";
}
Frame 22
Loop = "1";
LoopY = "1";
while (LoopY < "7") {
LoopX = "1";
while (LoopX < "10") {
setProperty("_level1/SQUARE" add eval ("Cell" add Loop), _x , (-"39") + (LoopX * "53"));
setProperty("_level1/SQUARE" add eval ("Cell" add Loop), _y , (-"39") + (LoopY * "53"));
Loop = Loop + "1";
LoopX = LoopX + "1";
}
LoopY = LoopY + "1";
}
setProperty("_level1/PEEK", _x , "526");
setProperty("_level1/PEEK", _y , "386");
Frame 24
Waiting1 = "1";
Waiting2 = "0";
setProperty("_level1:/HIGHLIGHT", _x , -"100");
setProperty("_level1:/HIGHLIGHT", _y , -"100");
Frame 25
gotoAndPlay (24);
Frame 31
Waiting1 = "0";
Waiting2 = "1";
setProperty("_level1:/HIGHLIGHT", _x , "26.5" + getProperty(Clicked1, _x));
setProperty("_level1:/HIGHLIGHT", _y , "26.5" + getProperty(Clicked1, _y));
Frame 32
gotoAndPlay (31);
Frame 39
Waiting1 = "0";
Waiting2 = "0";
Loop = "1";
while (Loop < "55") {
if (eval ("Cell" add Loop) == Clicknum) {
Temp = Loop;
Loop = "55";
}
Loop = Loop + "1";
}
Loop = "1";
while (Loop < "55") {
if (eval ("Cell" add Loop) == Clicknum2) {
Set("Cell" add Temp, Clicknum2);
Set("Cell" add Loop, Clicknum);
Loop = "55";
}
Loop = Loop + "1";
}
Frame 40
Loop = "1";
LoopY = "1";
while (LoopY < "7") {
LoopX = "1";
while (LoopX < "10") {
setProperty("_level1/SQUARE" add eval ("Cell" add Loop), _x , (-"39") + (LoopX * "53"));
setProperty("_level1/SQUARE" add eval ("Cell" add Loop), _y , (-"39") + (LoopY * "53"));
Loop = Loop + "1";
LoopX = LoopX + "1";
}
LoopY = LoopY + "1";
}
Swaps = Swaps + "1";
Frame 41
Loop = "1";
while (Loop < "55") {
if (eval ("Cell" add Loop) <> Loop) {
gotoAndStop (24);
}
Loop = Loop + "1";
}
Frame 46
setProperty("_level1:/HIGHLIGHT", _x , -"100");
setProperty("_level1:/HIGHLIGHT", _y , -"100");
stop();
Frame 48
stop();
Frame 53
unloadMovieNum (1);
unloadMovieNum (2);
gotoAndPlay (6);
Frame 65
Loop = "24";
while ("0" < Loop) {
Set("Cell" add Loop, Loop);
Loop = Loop - "1";
}
Frame 67
Loop = "1";
while (Loop < "100") {
Swap1 = random("24") + "1";
Temp = eval ("Cell" add Swap1);
Swap2 = random("24") + "1";
Set("Cell" add Swap1, eval ("Cell" add Swap2));
Set("Cell" add Swap2, Temp);
Loop = Loop + "1";
}
Frame 69
Loop = "1";
LoopY = "1";
while (LoopY < "5") {
LoopX = "1";
while (LoopX < "7") {
setProperty("_level1/SQUARE" add eval ("Cell" add Loop), _x , (-"63") + (LoopX * "79"));
setProperty("_level1/SQUARE" add eval ("Cell" add Loop), _y , (-"63") + (LoopY * "79"));
Loop = Loop + "1";
LoopX = LoopX + "1";
}
LoopY = LoopY + "1";
}
setProperty("_level1/PEEK", _x , "526");
setProperty("_level1/PEEK", _y , "386");
Frame 74
Waiting1 = "1";
Waiting2 = "0";
setProperty("_level1:/HIGHLIGHT", _x , -"100");
setProperty("_level1:/HIGHLIGHT", _y , -"100");
Frame 75
gotoAndPlay (74);
Frame 81
Waiting1 = "0";
Waiting2 = "1";
setProperty("_level1:/HIGHLIGHT", _x , "40" + getProperty(Clicked1, _x));
setProperty("_level1:/HIGHLIGHT", _y , "40" + getProperty(Clicked1, _y));
Frame 82
gotoAndPlay (81);
Frame 89
Waiting1 = "0";
Waiting2 = "0";
Loop = "1";
while (Loop < "25") {
if (eval ("Cell" add Loop) == Clicknum) {
Temp = Loop;
Loop = "25";
}
Loop = Loop + "1";
}
Loop = "1";
while (Loop < "25") {
if (eval ("Cell" add Loop) == Clicknum2) {
Set("Cell" add Temp, Clicknum2);
Set("Cell" add Loop, Clicknum);
Loop = "25";
}
Loop = Loop + "1";
}
Frame 90
Loop = "1";
LoopY = "1";
while (LoopY < "5") {
LoopX = "1";
while (LoopX < "7") {
setProperty("_level1/SQUARE" add eval ("Cell" add Loop), _x , (-"63") + (LoopX * "79"));
setProperty("_level1/SQUARE" add eval ("Cell" add Loop), _y , (-"63") + (LoopY * "79"));
Loop = Loop + "1";
LoopX = LoopX + "1";
}
LoopY = LoopY + "1";
}
Swaps = Swaps + "1";
Frame 91
Loop = "1";
while (Loop < "25") {
if (eval ("Cell" add Loop) <> Loop) {
gotoAndStop (74);
}
Loop = Loop + "1";
}
Frame 96
setProperty("_level1:/HIGHLIGHT", _x , -"100");
setProperty("_level1:/HIGHLIGHT", _y , -"100");
stop();
Frame 98
stop();
Symbol 23 Button
on (release) {
Model = "3";
gotoAndPlay (10);
}
Symbol 27 Button
on (release) {
Model = "4";
gotoAndPlay (10);
}
Symbol 31 Button
on (release) {
Model = "5";
gotoAndPlay (10);
}
Symbol 35 Button
on (release) {
Model = "2";
gotoAndPlay (10);
}
Symbol 39 Button
on (release) {
Model = "6";
gotoAndPlay (10);
}
Symbol 43 Button
on (release) {
Model = "1";
gotoAndPlay (10);
}
Symbol 46 Button
on (release) {
Model = random("7") + "1";
gotoAndPlay (10);
}
Symbol 61 Button
on (press) {
tellTarget ("_level1/PEEK") {
gotoAndStop (10);
}
}
on (release, releaseOutside) {
tellTarget ("_level1/PEEK") {
gotoAndStop (1);
}
}
Symbol 69 Button
on (release) {
gotoAndPlay (53);
}
Symbol 74 Button
on (release) {
gotoAndPlay (20);
}
Symbol 77 Button
on (release) {
gotoAndPlay (1);
}
Symbol 78 MovieClip Frame 6
tellTarget ("_level2") {
gotoAndPlay("Max");
};
stop();
Symbol 78 MovieClip Frame 27
stopAllSounds();
stop();
Symbol 95 Button
on (release) {
gotoAndPlay (53);
}