Frame 1
ifFrameLoaded (3) {
gotoAndPlay (3);
}
Frame 2
gotoAndPlay (1);
Frame 3
stop();
Instance of Symbol 29 MovieClip "LoadCircle" in Frame 3
onClipEvent (load) {
Set("/:TestMode", false);
Set("/:Total", int(_root.getBytesTotal() / 1024));
Time1 = int(getTimer() / 1000);
Kbps1 = 0;
}
onClipEvent (enterFrame) {
Set("/:Loaded", int(_root.getBytesLoaded() / 1024));
Set("/:Percent", int(/:Loaded / (/:Total / 100)));
if (99 < /:Percent) {
Set("/:Percent", 99);
}
if ((_root.getBytesLoaded() >= _root.getBytesTotal()) and (!/:TestMode)) {
_root.gotoAndPlay(_root._currentframe + 1);
} else {
_parent.LoadCircle.gotoAndStop(/:Percent);
Set("/:SecondsLeft", int((/:Total - /:Loaded) / /:Speed));
Time2 = int(getTimer() / 1000);
if ((Time2 - Time1) >= 3) {
Time1 = Time2;
Set("/:Speed", ((_root.getBytesLoaded() - Kbps) / 1024) / 3);
Set("/:Speed", String(/:Speed));
if (/:Speed.indexOf(".") >= 0) {
Set("/:Speed", /:Speed.split("."));
Set("/:Speed", (/:Speed[0] add ".") add (substring(/:Speed[1], 1, 2)));
}
Kbps = _root.getBytesLoaded();
}
}
}
Instance of Symbol 74 MovieClip "LoadText" in Frame 3
onClipEvent (load) {
texts = new Array();
texts[0] = "PROFESSIONAL ONLINE GAMES";
texts[1] = "ONLINE APPLICATIONS";
texts[2] = "QUALITY FLASH SOURCES";
texts[3] = "CUSTOMIZED FLASH GAMES";
texts[4] = "...AND MORE AT:";
texts[5] = "WWW.X-PRESSIVE.COM";
time = int(getTimer() / 1000);
text = texts[0];
}
onClipEvent (enterFrame) {
if (2 < (int(getTimer() / 1000) - time)) {
time = int(getTimer() / 1000);
i = ((i < (texts.length - 1)) ? (i + 1) : 0);
text = texts[i];
}
}
Frame 4
stop();
score = 0;
gameMusic = 1;
if (!set) {
set = 1;
gameGrid = 1;
gameImage = 1;
gameMusic = 1;
gameTime = 260;
}
Instance of Symbol 113 MovieClip "Options" in Frame 4
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 123 MovieClip "Credits" in Frame 4
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 279 MovieClip "Controller" in Frame 4
onClipEvent (load) {
_parent.Fader.fadeIn();
}
Frame 5
image = 1;
i = 1;
while (10 >= i) {
eval ("Image" + i).gotoAndStop(i);
i++;
}
stop();
Instance of Symbol 279 MovieClip "Controller" in Frame 5
onClipEvent (load) {
_parent.Fader.fadeIn();
}
Frame 6
function mixTiles() {
Tile._visible = 0;
TileSound.attachSound("Mix");
TileSound.start();
row = 1;
while (numRows >= row) {
col = 1;
while (numCols >= col) {
number = ((row - 1) * numCols) + col;
duplicateMovieClip (Tile, "Tile_" + number, depth);
depth++;
clip = eval ("Tile_" + number);
clip.myNumber = number;
clip.myCol = col;
clip.myRow = row;
clip.myDepth = depth;
clip.myNumber = number;
clip.gotoAndStop(number);
k = int(Math.random() * 30) + 1;
while (eval ("SPos_" + k).isset) {
k = int(Math.random() * 30) + 1;
}
clip._x = eval ("SPos_" + k)._x;
clip._y = eval ("SPos_" + k)._y;
eval ("SPos_" + k).isset = 1;
clip.myRotation = int(Math.random() * 3);
clip._rotation = clip.myRotation * 90;
col++;
}
row++;
}
}
function addScore(clip) {
score = score + 100;
i = 1;
while (15 >= i) {
duplicateMovieClip (Flash, "Flash" + i, (topDepth * 2) + i);
eval ("Flash" + i)._x = clip._x;
eval ("Flash" + i)._y = clip._y;
eval ("Flash" + i)._xscale = (eval ("Flash" + i)._yscale = (Math.random() * 80) + 20);
eval ("Flash" + i)._rotation = int(Math.random() * 360);
i++;
}
Points._x = clip._x;
Points._y = clip._y;
Points.gotoAndPlay(2);
tilesDone++;
if (tilesDone >= 30) {
[gameOver()];
}
}
function gameOver() {
removeMovieClip(Menu);
row = 1;
while (numRows >= row) {
col = 1;
while (numCols >= col) {
number = ((row - 1) * numCols) + col;
removeMovieClip(eval ("Tile_" + number));
col++;
}
row++;
}
stopAllSounds();
if (time < 1) {
gotoAndPlay (7);
} else {
gotoAndPlay (9);
}
}
("c" < (b >= undefined)) || (1());
time = gameTime;
tWidth = 53.4;
tHeight = 48;
numCols = 6;
numRows = 5;
depth = 100;
topDepth = 10000;
tilesDone = 0;
i = 1;
while (30 >= i) {
eval ("SPos_" + i).isset = 0;
i++;
}
TileSound = new Sound();
Grid._visible = gameGrid;
GhostImage._visible = gameImage;
mixTiles();
Menu.swapDepths(15000);
stop();
Instance of Symbol 332 MovieClip "GhostImage" in Frame 6
onClipEvent (load) {
this.gotoAndStop(_parent.image);
}
Instance of Symbol 337 MovieClip "Tile" in Frame 6
onClipEvent (mouseMove) {
if (dragging) {
_x = _root._xmouse;
_y = _root._ymouse;
updateAfterEvent(mouseMove);
}
}
Instance of Symbol 339 MovieClip "Points" in Frame 6
onClipEvent (load) {
this.swapDepths(_root.topDepth + 1);
}
Instance of Symbol 378 MovieClip "GameTimer" in Frame 6
onClipEvent (load) {
time = int(getTimer() / 1000);
HurrySound = new Sound();
HurrySound.attachSound("Hilite");
}
onClipEvent (enterFrame) {
if ((int(getTimer() / 1000) - time) >= 1) {
time = int(getTimer() / 1000);
_parent.time--;
if (_parent.time < 11) {
HurrySound.start();
}
if (_parent.time < 0) {
_parent.gameOver();
}
}
}
Frame 7
stop();
Instance of Symbol 279 MovieClip "Controller" in Frame 7
onClipEvent (load) {
_parent.Fader.fadeIn();
}
Frame 8
gotoAndPlay (4);
Frame 9
stop();
Instance of Symbol 405 MovieClip "Counter" in Frame 9
onClipEvent (load) {
time = int(getTimer() / 100);
HurrySound = new Sound(this);
HurrySound.attachSound("Ok");
}
onClipEvent (enterFrame) {
if ((int(getTimer() / 100) - time) >= 2) {
if (0 < _parent.time) {
time = int(getTimer() / 100);
_parent.time--;
_parent.score = _parent.score + 100;
HurrySound.stop();
HurrySound.start();
}
}
}
Frame 10
gotoAndPlay (5);
Symbol 18 MovieClip Frame 1
stop();
Symbol 21 MovieClip Frame 1
stop();
Symbol 24 MovieClip Frame 1
stop();
Symbol 27 MovieClip Frame 1
stop();
Symbol 29 MovieClip Frame 1
stop();
Instance of Symbol 18 MovieClip "TL" in Symbol 29 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay (2);
}
Instance of Symbol 18 MovieClip "TL" in Symbol 29 MovieClip Frame 25
onClipEvent (load) {
gotoAndPlay (2);
}
Instance of Symbol 21 MovieClip "BL" in Symbol 29 MovieClip Frame 25
onClipEvent (load) {
gotoAndPlay (3);
}
Instance of Symbol 21 MovieClip "BL" in Symbol 29 MovieClip Frame 50
onClipEvent (load) {
gotoAndPlay (3);
}
Instance of Symbol 24 MovieClip "BR" in Symbol 29 MovieClip Frame 50
onClipEvent (load) {
gotoAndPlay (4);
}
Instance of Symbol 24 MovieClip "BR" in Symbol 29 MovieClip Frame 75
onClipEvent (load) {
gotoAndPlay (4);
}
Instance of Symbol 27 MovieClip "TR" in Symbol 29 MovieClip Frame 75
onClipEvent (load) {
gotoAndPlay (5);
}
Instance of Symbol 27 MovieClip "TR" in Symbol 29 MovieClip Frame 100
onClipEvent (load) {
gotoAndPlay (5);
}
Symbol 36 Button
on (press) {
gotoAndStop (2);
}
Symbol 53 Button
on (press) {
gotoAndStop (1);
}
Symbol 54 MovieClip Frame 1
stop();
Symbol 55 Button
on (press) {
getURL ("http://www.x-pressive.com/", "_blank");
}
Symbol 64 Button
on (press) {
getURL ("http://www.x-pressive.com", "_blank");
}
Symbol 74 MovieClip Frame 1
stop();
Symbol 81 MovieClip Frame 1
stop();
Symbol 85 Button
on (release) {
Fader.fadeOut();
}
Symbol 89 Button
on (press) {
Options._visible = (Options._visible ? 0 : 1);
}
Symbol 92 Button
on (press) {
Credits._visible = (Credits._visible ? 0 : 1);
}
Symbol 98 MovieClip Frame 1
if (int(Math.random() * 100) == 5) {
gotoAndPlay (3);
}
Symbol 98 MovieClip Frame 2
gotoAndPlay (1);
Symbol 102 Button
on (press) {
_root.gameGrid = 0;
_root.gameImage = 0;
_root.gameTime = 120;
_visible = 0;
}
Symbol 105 Button
on (press) {
_root.gameGrid = 1;
_root.gameImage = 0;
_root.gameTime = 170;
_visible = 0;
}
Symbol 108 Button
on (press) {
_root.gameGrid = 1;
_root.gameImage = 1;
_root.gameTime = 260;
_visible = 0;
}
Symbol 115 Button
on (press) {
_visible = 0;
}
Symbol 118 Button
on (press) {
getURL ("http://www.x-pressive.com", "_blank");
}
Symbol 155 MovieClip Frame 1
stop();
Symbol 276 MovieClip Frame 1
stop();
Symbol 276 MovieClip Frame 31
stop();
Symbol 276 MovieClip Frame 61
stop();
Symbol 276 MovieClip Frame 91
stop();
Symbol 277 MovieClip Frame 1
stop();
Instance of Symbol 155 MovieClip "Shadow" in Symbol 277 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(_parent.myNumber);
}
Instance of Symbol 155 MovieClip "Tile" in Symbol 277 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(_parent.myNumber);
}
Instance of Symbol 276 MovieClip "Bevel" in Symbol 277 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(_parent.myNumber);
}
Symbol 278 MovieClip Frame 1
function createTiles() {
TileSound = new Sound();
TileSound.attachSound("Wrong");
startX = new Array(tWidth / 2, 320 + (tWidth / 2), tWidth / 2, 320 + (tWidth / 2));
startY = new Array(tHeight / 2, tHeight / 2, 240 + (tHeight / 2), 240 + (tHeight / 2));
number = 1;
frame = 1;
i = 0;
while (3 >= i) {
frame = 1;
row = 1;
while (numRows >= row) {
col = 1;
while (numCols >= col) {
duplicateMovieClip (Tile, "Tile_" + number, depth);
clip = eval ("Tile_" + number);
clip.myNumber = frame;
clip._x = startX[i] + ((col - 1) * tWidth);
clip._y = startY[i] + ((row - 1) * tHeight);
clip._visible = 1;
depth++;
frame++;
number++;
col++;
}
row++;
}
i++;
}
}
function fadeIn() {
count = 0;
i = 1;
while (120 >= i) {
eval ("Tile_" + i)._visible = 1;
i++;
}
this.gotoAndPlay(2);
}
function fadeOut() {
count = 0;
i = 1;
while (120 >= i) {
eval ("Tile_" + i)._visible = 0;
i++;
}
this.gotoAndPlay(4);
}
("c" < (b >= undefined)) || (1());
tWidth = 53.4;
tHeight = 48;
numCols = 6;
numRows = 5;
depth = 100;
count = 0;
if (!done) {
createTiles();
done = 1;
}
Tile._visible = 0;
stop();
Symbol 278 MovieClip Frame 2
TileSound.start();
number = int(Math.random() * 120) + 1;
while (!eval ("Tile_" + number)._visible) {
number = int(Math.random() * 120) + 1;
}
eval ("Tile_" + number)._visible = 0;
count++;
if (count == 120) {
gotoAndStop (1);
}
Symbol 278 MovieClip Frame 3
TileSound.start();
number = int(Math.random() * 120) + 1;
while (!eval ("Tile_" + number)._visible) {
number = int(Math.random() * 120) + 1;
}
eval ("Tile_" + number)._visible = 0;
count++;
if (count == 120) {
gotoAndStop (1);
} else {
gotoAndPlay (2);
}
Symbol 278 MovieClip Frame 4
TileSound.start();
number = int(Math.random() * 120) + 1;
while (eval ("Tile_" + number)._visible) {
number = int(Math.random() * 120) + 1;
}
eval ("Tile_" + number)._visible = 1;
count++;
if (count == 120) {
gotoAndStop (1);
}
Symbol 278 MovieClip Frame 5
TileSound.start();
number = int(Math.random() * 120) + 1;
while (eval ("Tile_" + number)._visible) {
number = int(Math.random() * 120) + 1;
}
eval ("Tile_" + number)._visible = 1;
count++;
if (count == 120) {
stopAllSounds();
_parent.play();
} else {
gotoAndPlay (4);
}
Symbol 281 Button
on (keyPress "+") {
if (image < 10) {
image++;
Mask.go();
}
}
Symbol 282 Button
on (keyPress "-") {
if (1 < image) {
image--;
Mask.go();
}
}
Symbol 288 Button
on (press) {
if (image < 10) {
image++;
Mask.go();
}
}
Symbol 289 Button
on (press) {
if (1 < image) {
image--;
Mask.go();
}
}
Symbol 311 MovieClip Frame 1
stop();
Symbol 312 MovieClip Frame 1
stop();
Symbol 313 MovieClip Frame 1
stop();
Instance of Symbol 155 MovieClip "Shadow" in Symbol 313 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(_parent.myNumber);
}
Instance of Symbol 312 MovieClip "Image" in Symbol 313 MovieClip Frame 1
onClipEvent (load) {
_x = (_x - ((_parent.myCol - 1) * _parent._parent.tWidth));
_y = (_y - ((_parent.myRow - 1) * _parent._parent.tHeight));
}
Instance of Symbol 276 MovieClip "Bevel" in Symbol 313 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(_parent.myNumber);
}
Instance of Symbol 312 MovieClip "Image" in Symbol 313 MovieClip Frame 2
onClipEvent (load) {
_x = (_x - ((_parent.myCol - 1) * _parent._parent.tWidth));
_y = (_y - ((_parent.myRow - 1) * _parent._parent.tHeight));
}
Instance of Symbol 312 MovieClip "Image" in Symbol 313 MovieClip Frame 3
onClipEvent (load) {
_x = (_x - ((_parent.myCol - 1) * _parent._parent.tWidth));
_y = (_y - ((_parent.myRow - 1) * _parent._parent.tHeight));
}
Instance of Symbol 312 MovieClip "Image" in Symbol 313 MovieClip Frame 4
onClipEvent (load) {
_x = (_x - ((_parent.myCol - 1) * _parent._parent.tWidth));
_y = (_y - ((_parent.myRow - 1) * _parent._parent.tHeight));
}
Instance of Symbol 312 MovieClip "Image" in Symbol 313 MovieClip Frame 5
onClipEvent (load) {
_x = (_x - ((_parent.myCol - 1) * _parent._parent.tWidth));
_y = (_y - ((_parent.myRow - 1) * _parent._parent.tHeight));
}
Instance of Symbol 312 MovieClip "Image" in Symbol 313 MovieClip Frame 6
onClipEvent (load) {
_x = (_x - ((_parent.myCol - 1) * _parent._parent.tWidth));
_y = (_y - ((_parent.myRow - 1) * _parent._parent.tHeight));
}
Instance of Symbol 312 MovieClip "Image" in Symbol 313 MovieClip Frame 7
onClipEvent (load) {
_x = (_x - ((_parent.myCol - 1) * _parent._parent.tWidth));
_y = (_y - ((_parent.myRow - 1) * _parent._parent.tHeight));
}
Instance of Symbol 312 MovieClip "Image" in Symbol 313 MovieClip Frame 8
onClipEvent (load) {
_x = (_x - ((_parent.myCol - 1) * _parent._parent.tWidth));
_y = (_y - ((_parent.myRow - 1) * _parent._parent.tHeight));
}
Instance of Symbol 312 MovieClip "Image" in Symbol 313 MovieClip Frame 9
onClipEvent (load) {
_x = (_x - ((_parent.myCol - 1) * _parent._parent.tWidth));
_y = (_y - ((_parent.myRow - 1) * _parent._parent.tHeight));
}
Instance of Symbol 312 MovieClip "Image" in Symbol 313 MovieClip Frame 10
onClipEvent (load) {
_x = (_x - ((_parent.myCol - 1) * _parent._parent.tWidth));
_y = (_y - ((_parent.myRow - 1) * _parent._parent.tHeight));
}
Instance of Symbol 312 MovieClip "Image" in Symbol 313 MovieClip Frame 11
onClipEvent (load) {
_x = (_x - ((_parent.myCol - 1) * _parent._parent.tWidth));
_y = (_y - ((_parent.myRow - 1) * _parent._parent.tHeight));
}
Instance of Symbol 312 MovieClip "Image" in Symbol 313 MovieClip Frame 12
onClipEvent (load) {
_x = (_x - ((_parent.myCol - 1) * _parent._parent.tWidth));
_y = (_y - ((_parent.myRow - 1) * _parent._parent.tHeight));
}
Instance of Symbol 312 MovieClip "Image" in Symbol 313 MovieClip Frame 13
onClipEvent (load) {
_x = (_x - ((_parent.myCol - 1) * _parent._parent.tWidth));
_y = (_y - ((_parent.myRow - 1) * _parent._parent.tHeight));
}
Instance of Symbol 312 MovieClip "Image" in Symbol 313 MovieClip Frame 14
onClipEvent (load) {
_x = (_x - ((_parent.myCol - 1) * _parent._parent.tWidth));
_y = (_y - ((_parent.myRow - 1) * _parent._parent.tHeight));
}
Instance of Symbol 312 MovieClip "Image" in Symbol 313 MovieClip Frame 15
onClipEvent (load) {
_x = (_x - ((_parent.myCol - 1) * _parent._parent.tWidth));
_y = (_y - ((_parent.myRow - 1) * _parent._parent.tHeight));
}
Instance of Symbol 312 MovieClip "Image" in Symbol 313 MovieClip Frame 16
onClipEvent (load) {
_x = (_x - ((_parent.myCol - 1) * _parent._parent.tWidth));
_y = (_y - ((_parent.myRow - 1) * _parent._parent.tHeight));
}
Instance of Symbol 312 MovieClip "Image" in Symbol 313 MovieClip Frame 17
onClipEvent (load) {
_x = (_x - ((_parent.myCol - 1) * _parent._parent.tWidth));
_y = (_y - ((_parent.myRow - 1) * _parent._parent.tHeight));
}
Instance of Symbol 312 MovieClip "Image" in Symbol 313 MovieClip Frame 18
onClipEvent (load) {
_x = (_x - ((_parent.myCol - 1) * _parent._parent.tWidth));
_y = (_y - ((_parent.myRow - 1) * _parent._parent.tHeight));
}
Instance of Symbol 312 MovieClip "Image" in Symbol 313 MovieClip Frame 19
onClipEvent (load) {
_x = (_x - ((_parent.myCol - 1) * _parent._parent.tWidth));
_y = (_y - ((_parent.myRow - 1) * _parent._parent.tHeight));
}
Instance of Symbol 312 MovieClip "Image" in Symbol 313 MovieClip Frame 20
onClipEvent (load) {
_x = (_x - ((_parent.myCol - 1) * _parent._parent.tWidth));
_y = (_y - ((_parent.myRow - 1) * _parent._parent.tHeight));
}
Instance of Symbol 312 MovieClip "Image" in Symbol 313 MovieClip Frame 21
onClipEvent (load) {
_x = (_x - ((_parent.myCol - 1) * _parent._parent.tWidth));
_y = (_y - ((_parent.myRow - 1) * _parent._parent.tHeight));
}
Instance of Symbol 312 MovieClip "Image" in Symbol 313 MovieClip Frame 22
onClipEvent (load) {
_x = (_x - ((_parent.myCol - 1) * _parent._parent.tWidth));
_y = (_y - ((_parent.myRow - 1) * _parent._parent.tHeight));
}
Instance of Symbol 312 MovieClip "Image" in Symbol 313 MovieClip Frame 23
onClipEvent (load) {
_x = (_x - ((_parent.myCol - 1) * _parent._parent.tWidth));
_y = (_y - ((_parent.myRow - 1) * _parent._parent.tHeight));
}
Instance of Symbol 312 MovieClip "Image" in Symbol 313 MovieClip Frame 24
onClipEvent (load) {
_x = (_x - ((_parent.myCol - 1) * _parent._parent.tWidth));
_y = (_y - ((_parent.myRow - 1) * _parent._parent.tHeight));
}
Instance of Symbol 312 MovieClip "Image" in Symbol 313 MovieClip Frame 25
onClipEvent (load) {
_x = (_x - ((_parent.myCol - 1) * _parent._parent.tWidth));
_y = (_y - ((_parent.myRow - 1) * _parent._parent.tHeight));
}
Instance of Symbol 312 MovieClip "Image" in Symbol 313 MovieClip Frame 26
onClipEvent (load) {
_x = (_x - ((_parent.myCol - 1) * _parent._parent.tWidth));
_y = (_y - ((_parent.myRow - 1) * _parent._parent.tHeight));
}
Instance of Symbol 312 MovieClip "Image" in Symbol 313 MovieClip Frame 27
onClipEvent (load) {
_x = (_x - ((_parent.myCol - 1) * _parent._parent.tWidth));
_y = (_y - ((_parent.myRow - 1) * _parent._parent.tHeight));
}
Instance of Symbol 312 MovieClip "Image" in Symbol 313 MovieClip Frame 28
onClipEvent (load) {
_x = (_x - ((_parent.myCol - 1) * _parent._parent.tWidth));
_y = (_y - ((_parent.myRow - 1) * _parent._parent.tHeight));
}
Instance of Symbol 312 MovieClip "Image" in Symbol 313 MovieClip Frame 29
onClipEvent (load) {
_x = (_x - ((_parent.myCol - 1) * _parent._parent.tWidth));
_y = (_y - ((_parent.myRow - 1) * _parent._parent.tHeight));
}
Instance of Symbol 312 MovieClip "Image" in Symbol 313 MovieClip Frame 30
onClipEvent (load) {
_x = (_x - ((_parent.myCol - 1) * _parent._parent.tWidth));
_y = (_y - ((_parent.myRow - 1) * _parent._parent.tHeight));
}
Symbol 314 MovieClip Frame 1
function createTiles() {
row = 1;
while (numRows >= row) {
col = 1;
while (numCols >= col) {
number = ((row - 1) * numCols) + col;
duplicateMovieClip (Tile, "Tile_" + number, depth);
depth++;
clip = eval ("Tile_" + number);
clip.myNumber = number;
clip.myCol = col;
clip.myRow = row;
clip.gotoAndStop(number);
clip._x = Tile._x + ((col - 1) * tWidth);
clip._y = Tile._y + ((row - 1) * tHeight);
clip._visible = 0;
col++;
}
row++;
}
}
function go() {
count = 0;
_visible = 1;
_alpha = 100;
i = 1;
while (30 >= i) {
eval ("Tile_" + i).Image.gotoAndStop(_parent.image);
eval ("Tile_" + i)._visible = 0;
i++;
}
this.play();
}
Tile._visible = 0;
tWidth = 53.4;
tHeight = 48;
numCols = 6;
numRows = 5;
depth = 100;
count = 0;
_visible = 0;
if (!done) {
createTiles();
done = 1;
}
stop();
Symbol 314 MovieClip Frame 2
number = int(Math.random() * 30) + 1;
while (eval ("Tile_" + number)._visible) {
number = int(Math.random() * 30) + 1;
}
eval ("Tile_" + number)._visible = 1;
count++;
Symbol 314 MovieClip Frame 3
if (count == 30) {
_parent.Preview.gotoAndStop(_parent.image);
_parent.Preview._visible = 1;
a = 100;
gotoAndPlay (4);
} else {
gotoAndPlay (2);
}
Symbol 314 MovieClip Frame 4
a = a - 10;
if (a < 1) {
gotoAndStop (1);
} else {
_alpha = a;
}
Symbol 314 MovieClip Frame 5
a = a - 10;
if (a < 1) {
gotoAndStop (1);
} else {
_alpha = a;
gotoAndPlay (4);
}
Symbol 315 MovieClip Frame 1
stop();
Symbol 317 Button
on (press) {
i = 1;
while (eval ((("_parent." + myName) + "_") + i)) {
eval ((("_parent." + myName) + "_") + i).gotoAndStop(1);
i++;
}
_parent.image = myNumber;
_parent.Mask.go();
nextFrame();
}
Symbol 319 MovieClip Frame 1
myName = _name.split("_")[0];
myNumber = _name.split("_")[1];
stop();
Instance of Symbol 315 MovieClip "Image" in Symbol 319 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(_parent.myNumber);
}
Symbol 320 MovieClip Frame 1
myName = _name.split("_")[0];
myNumber = _name.split("_")[1];
stop();
Instance of Symbol 315 MovieClip "Image" in Symbol 320 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(_parent.myNumber);
}
Symbol 321 Button
on (press) {
stopAllSounds();
Preview.gotoAndStop(image);
Preview._visible = 1;
Mask._visible = 0;
Grid.play();
}
Symbol 329 MovieClip Frame 1
stop();
Symbol 329 MovieClip Frame 20
_parent.play();
Symbol 330 MovieClip Frame 1
_visible = 0;
stop();
Symbol 332 MovieClip Frame 1
stop();
Symbol 333 MovieClip Frame 1
stop();
Symbol 334 MovieClip Frame 1
stop();
Symbol 335 MovieClip Frame 1
stop();
Symbol 335 MovieClip Frame 31
stop();
Symbol 335 MovieClip Frame 61
stop();
Symbol 335 MovieClip Frame 91
stop();
Symbol 336 Button
on (press) {
("c" < (b >= undefined)) || (1());
if (!done) {
_root.TileSound.attachSound("Move");
_root.TileSound.start();
lastX = _x;
lastY = _y;
Shadow.adjust(10);
dragging = 1;
this.swapDepths(_root.topDepth);
}
}
on (release, releaseOutside) {
if (!done) {
if ((lastX == _x) and (lastY == _y)) {
myRotation = ((myRotation < 3) ? (myRotation + 1) : 0);
_rotation = (myRotation * 90);
Bevel.gotoAndStop(myNumber + (myRotation * 30));
}
Shadow.adjust(2);
this.swapDepths(myDepth);
dragging = 0;
goal = eval ("_root.Pos_" + myNumber);
if ((((((goal._x - 17) < _x) and (_x < (goal._x + 17))) and ((goal._y - 17) < _y)) and (_y < (goal._y + 17))) and (myRotation == 0)) {
_x = goal._x;
_y = goal._y;
_root.TileSound.attachSound("Ok");
_root.TileSound.start();
_root.addScore(this);
Shadow._visible = 0;
done = 1;
} else {
_root.TileSound.attachSound("Wrong");
_root.TileSound.start();
_x = lastX;
_y = lastY;
}
}
}
Symbol 337 MovieClip Frame 1
stop();
Instance of Symbol 333 MovieClip "Shadow" in Symbol 337 MovieClip Frame 1
onClipEvent (load) {
function adjust(offset) {
if (_parent._rotation == 0) {
_x = (myX + offset);
_y = (myY + offset);
} else if (_parent._rotation == 90) {
_x = (myX + offset);
_y = (myY - offset);
} else if (_parent._rotation == 180) {
_x = (myX - offset);
_y = (myY - offset);
} else {
_x = (myX - offset);
_y = (myY + offset);
}
}
this.gotoAndStop(_parent.myNumber);
myX = _x;
myY = _y;
adjust(2);
}
Instance of Symbol 334 MovieClip "Image" in Symbol 337 MovieClip Frame 1
onClipEvent (load) {
_x = (_x - ((_parent.myCol - 1) * _root.tWidth));
_y = (_y - ((_parent.myRow - 1) * _root.tHeight));
gotoAndStop(_root.image);
}
Instance of Symbol 335 MovieClip "Bevel" in Symbol 337 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(_parent.myNumber + (_parent.myRotation * 30));
}
Instance of Symbol 334 MovieClip "Image" in Symbol 337 MovieClip Frame 2
onClipEvent (load) {
_x = (_x - ((_parent.myCol - 1) * _root.tWidth));
_y = (_y - ((_parent.myRow - 1) * _root.tHeight));
gotoAndStop(_root.image);
}
Instance of Symbol 334 MovieClip "Image" in Symbol 337 MovieClip Frame 3
onClipEvent (load) {
_x = (_x - ((_parent.myCol - 1) * _root.tWidth));
_y = (_y - ((_parent.myRow - 1) * _root.tHeight));
gotoAndStop(_root.image);
}
Instance of Symbol 334 MovieClip "Image" in Symbol 337 MovieClip Frame 4
onClipEvent (load) {
_x = (_x - ((_parent.myCol - 1) * _root.tWidth));
_y = (_y - ((_parent.myRow - 1) * _root.tHeight));
gotoAndStop(_root.image);
}
Instance of Symbol 334 MovieClip "Image" in Symbol 337 MovieClip Frame 5
onClipEvent (load) {
_x = (_x - ((_parent.myCol - 1) * _root.tWidth));
_y = (_y - ((_parent.myRow - 1) * _root.tHeight));
gotoAndStop(_root.image);
}
Instance of Symbol 334 MovieClip "Image" in Symbol 337 MovieClip Frame 6
onClipEvent (load) {
_x = (_x - ((_parent.myCol - 1) * _root.tWidth));
_y = (_y - ((_parent.myRow - 1) * _root.tHeight));
gotoAndStop(_root.image);
}
Instance of Symbol 334 MovieClip "Image" in Symbol 337 MovieClip Frame 7
onClipEvent (load) {
_x = (_x - ((_parent.myCol - 1) * _root.tWidth));
_y = (_y - ((_parent.myRow - 1) * _root.tHeight));
gotoAndStop(_root.image);
}
Instance of Symbol 334 MovieClip "Image" in Symbol 337 MovieClip Frame 8
onClipEvent (load) {
_x = (_x - ((_parent.myCol - 1) * _root.tWidth));
_y = (_y - ((_parent.myRow - 1) * _root.tHeight));
gotoAndStop(_root.image);
}
Instance of Symbol 334 MovieClip "Image" in Symbol 337 MovieClip Frame 9
onClipEvent (load) {
_x = (_x - ((_parent.myCol - 1) * _root.tWidth));
_y = (_y - ((_parent.myRow - 1) * _root.tHeight));
gotoAndStop(_root.image);
}
Instance of Symbol 334 MovieClip "Image" in Symbol 337 MovieClip Frame 10
onClipEvent (load) {
_x = (_x - ((_parent.myCol - 1) * _root.tWidth));
_y = (_y - ((_parent.myRow - 1) * _root.tHeight));
gotoAndStop(_root.image);
}
Instance of Symbol 334 MovieClip "Image" in Symbol 337 MovieClip Frame 11
onClipEvent (load) {
_x = (_x - ((_parent.myCol - 1) * _root.tWidth));
_y = (_y - ((_parent.myRow - 1) * _root.tHeight));
gotoAndStop(_root.image);
}
Instance of Symbol 334 MovieClip "Image" in Symbol 337 MovieClip Frame 12
onClipEvent (load) {
_x = (_x - ((_parent.myCol - 1) * _root.tWidth));
_y = (_y - ((_parent.myRow - 1) * _root.tHeight));
gotoAndStop(_root.image);
}
Instance of Symbol 334 MovieClip "Image" in Symbol 337 MovieClip Frame 13
onClipEvent (load) {
_x = (_x - ((_parent.myCol - 1) * _root.tWidth));
_y = (_y - ((_parent.myRow - 1) * _root.tHeight));
gotoAndStop(_root.image);
}
Instance of Symbol 334 MovieClip "Image" in Symbol 337 MovieClip Frame 14
onClipEvent (load) {
_x = (_x - ((_parent.myCol - 1) * _root.tWidth));
_y = (_y - ((_parent.myRow - 1) * _root.tHeight));
gotoAndStop(_root.image);
}
Instance of Symbol 334 MovieClip "Image" in Symbol 337 MovieClip Frame 15
onClipEvent (load) {
_x = (_x - ((_parent.myCol - 1) * _root.tWidth));
_y = (_y - ((_parent.myRow - 1) * _root.tHeight));
gotoAndStop(_root.image);
}
Instance of Symbol 334 MovieClip "Image" in Symbol 337 MovieClip Frame 16
onClipEvent (load) {
_x = (_x - ((_parent.myCol - 1) * _root.tWidth));
_y = (_y - ((_parent.myRow - 1) * _root.tHeight));
gotoAndStop(_root.image);
}
Instance of Symbol 334 MovieClip "Image" in Symbol 337 MovieClip Frame 17
onClipEvent (load) {
_x = (_x - ((_parent.myCol - 1) * _root.tWidth));
_y = (_y - ((_parent.myRow - 1) * _root.tHeight));
gotoAndStop(_root.image);
}
Instance of Symbol 334 MovieClip "Image" in Symbol 337 MovieClip Frame 18
onClipEvent (load) {
_x = (_x - ((_parent.myCol - 1) * _root.tWidth));
_y = (_y - ((_parent.myRow - 1) * _root.tHeight));
gotoAndStop(_root.image);
}
Instance of Symbol 334 MovieClip "Image" in Symbol 337 MovieClip Frame 19
onClipEvent (load) {
_x = (_x - ((_parent.myCol - 1) * _root.tWidth));
_y = (_y - ((_parent.myRow - 1) * _root.tHeight));
gotoAndStop(_root.image);
}
Instance of Symbol 334 MovieClip "Image" in Symbol 337 MovieClip Frame 20
onClipEvent (load) {
_x = (_x - ((_parent.myCol - 1) * _root.tWidth));
_y = (_y - ((_parent.myRow - 1) * _root.tHeight));
gotoAndStop(_root.image);
}
Instance of Symbol 334 MovieClip "Image" in Symbol 337 MovieClip Frame 21
onClipEvent (load) {
_x = (_x - ((_parent.myCol - 1) * _root.tWidth));
_y = (_y - ((_parent.myRow - 1) * _root.tHeight));
gotoAndStop(_root.image);
}
Instance of Symbol 334 MovieClip "Image" in Symbol 337 MovieClip Frame 22
onClipEvent (load) {
_x = (_x - ((_parent.myCol - 1) * _root.tWidth));
_y = (_y - ((_parent.myRow - 1) * _root.tHeight));
gotoAndStop(_root.image);
}
Instance of Symbol 334 MovieClip "Image" in Symbol 337 MovieClip Frame 23
onClipEvent (load) {
_x = (_x - ((_parent.myCol - 1) * _root.tWidth));
_y = (_y - ((_parent.myRow - 1) * _root.tHeight));
gotoAndStop(_root.image);
}
Instance of Symbol 334 MovieClip "Image" in Symbol 337 MovieClip Frame 24
onClipEvent (load) {
_x = (_x - ((_parent.myCol - 1) * _root.tWidth));
_y = (_y - ((_parent.myRow - 1) * _root.tHeight));
gotoAndStop(_root.image);
}
Instance of Symbol 334 MovieClip "Image" in Symbol 337 MovieClip Frame 25
onClipEvent (load) {
_x = (_x - ((_parent.myCol - 1) * _root.tWidth));
_y = (_y - ((_parent.myRow - 1) * _root.tHeight));
gotoAndStop(_root.image);
}
Instance of Symbol 334 MovieClip "Image" in Symbol 337 MovieClip Frame 26
onClipEvent (load) {
_x = (_x - ((_parent.myCol - 1) * _root.tWidth));
_y = (_y - ((_parent.myRow - 1) * _root.tHeight));
gotoAndStop(_root.image);
}
Instance of Symbol 334 MovieClip "Image" in Symbol 337 MovieClip Frame 27
onClipEvent (load) {
_x = (_x - ((_parent.myCol - 1) * _root.tWidth));
_y = (_y - ((_parent.myRow - 1) * _root.tHeight));
gotoAndStop(_root.image);
}
Instance of Symbol 334 MovieClip "Image" in Symbol 337 MovieClip Frame 28
onClipEvent (load) {
_x = (_x - ((_parent.myCol - 1) * _root.tWidth));
_y = (_y - ((_parent.myRow - 1) * _root.tHeight));
gotoAndStop(_root.image);
}
Instance of Symbol 334 MovieClip "Image" in Symbol 337 MovieClip Frame 29
onClipEvent (load) {
_x = (_x - ((_parent.myCol - 1) * _root.tWidth));
_y = (_y - ((_parent.myRow - 1) * _root.tHeight));
gotoAndStop(_root.image);
}
Instance of Symbol 334 MovieClip "Image" in Symbol 337 MovieClip Frame 30
onClipEvent (load) {
_x = (_x - ((_parent.myCol - 1) * _root.tWidth));
_y = (_y - ((_parent.myRow - 1) * _root.tHeight));
gotoAndStop(_root.image);
}
Symbol 339 MovieClip Frame 1
_visible = 0;
stop();
Symbol 339 MovieClip Frame 2
_visible = 1;
Symbol 340 MovieClip Frame 1
if (_name eq "Flash") {
stop();
}
Symbol 340 MovieClip Frame 20
removeMovieClip(this);
Symbol 341 Button
on (rollOver) {
LED.gotoAndStop(2);
MenuSound.start(0, 999);
play();
}
Symbol 346 Button
on (press) {
_root.Music.gotoAndPlay(2);
LED1.gotoAndStop(2);
LED2.gotoAndStop(1);
}
Symbol 347 Button
on (press) {
LED1.gotoAndStop(1);
LED2.gotoAndStop(2);
}
on (release) {
stopAllSounds();
}
Symbol 348 Button
on (press) {
_root.Grid._visible = 1;
LED3.gotoAndStop(2);
LED4.gotoAndStop(1);
}
Symbol 349 Button
on (press) {
_root.Grid._visible = 0;
LED3.gotoAndStop(1);
LED4.gotoAndStop(2);
}
Symbol 350 Button
on (press) {
_root.GhostImage._visible = 1;
LED5.gotoAndStop(2);
LED6.gotoAndStop(1);
}
Symbol 351 Button
on (press) {
_root.GhostImage._visible = 0;
LED5.gotoAndStop(1);
LED6.gotoAndStop(2);
}
Symbol 361 Button
on (press) {
_root.time = 0;
_root.gameOver();
}
Symbol 363 MovieClip Frame 1
stop();
Symbol 364 MovieClip Frame 1
stop();
Symbol 365 MovieClip Frame 1
stop();
Symbol 366 MovieClip Frame 1
stop();
Symbol 367 MovieClip Frame 1
stop();
Symbol 368 MovieClip Frame 1
stop();
Symbol 371 MovieClip Frame 1
if (!MenuSound) {
MenuSound = new Sound(this);
MenuSound.attachSound("MachineRun");
} else {
MenuSound.stop();
}
x = _x;
stop();
Instance of Symbol 363 MovieClip "LED1" in Symbol 371 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(2);
}
Instance of Symbol 365 MovieClip "LED3" in Symbol 371 MovieClip Frame 1
onClipEvent (load) {
if (_root.gameGrid) {
this.gotoAndStop(2);
}
}
Instance of Symbol 366 MovieClip "LED4" in Symbol 371 MovieClip Frame 1
onClipEvent (load) {
if (!_root.gameGrid) {
this.gotoAndStop(2);
}
}
Instance of Symbol 367 MovieClip "LED5" in Symbol 371 MovieClip Frame 1
onClipEvent (load) {
if (_root.gameImage) {
this.gotoAndStop(2);
}
}
Instance of Symbol 368 MovieClip "LED6" in Symbol 371 MovieClip Frame 1
onClipEvent (load) {
if (!_root.gameImage) {
this.gotoAndStop(2);
}
}
Instance of Symbol 370 MovieClip "AutoClose" in Symbol 371 MovieClip Frame 1
onClipEvent (mouseMove) {
if (_parent._currentframe == 4) {
if (!_parent.hitTest(_root._xmouse, _root._ymouse)) {
_parent.LED.gotoAndStop(1);
_parent.MenuSound.stop();
_parent.MenuSound.start(0, 999);
_parent.play();
}
}
}
Symbol 371 MovieClip Frame 3
if ((x - 130) < _x) {
_x = (_x - 10);
gotoAndPlay(_currentframe - 1);
}
Symbol 371 MovieClip Frame 4
MenuSound.stop();
stop();
Symbol 371 MovieClip Frame 6
if (_x < x) {
_x = (_x + 10);
gotoAndPlay(_currentframe - 1);
}
Symbol 373 MovieClip Frame 1
if (!_root.gameMusic) {
[this.gotoAndStop(3)];
}
Symbol 373 MovieClip Frame 3
stop();
Symbol 398 Button
on (release) {
while (0 < time) {
time--;
score = score + 100;
}
Fader.fadeOut();
}
Symbol 411 MovieClip Frame 1
function randomize() {
this.speed = (Math.random() * 3) + 1;
this.rotSpeed = (Math.random() * 3) - (Math.random() * 3);
Tile._xscale = (Tile._yscale = (Shadow._xscale = (Shadow._yscale = (Math.random() * 20) + 15)));
_x = (Math.random() * 480);
_y = (390 + _width);
}
randomize();
Symbol 411 MovieClip Frame 2
_y = (_y - speed);
Tile._rotation = (Shadow._rotation = Shadow._rotation - rotSpeed);
if (_y < (-_width)) {
randomize();
}
Symbol 411 MovieClip Frame 3
_y = (_y - speed);
_rotation = (_rotation - rotSpeed);
if (_y < (-_width)) {
randomize();
}
gotoAndPlay(_currentframe - 1);