STORY   LOOP   FURRY   PORN   GAMES
• C •   SERVICES [?] [R] RND   POPULAR
Archived flashes:
229595
/disc/ · /res/     /show/ · /fap/ · /gg/ · /swf/P0001 · P2595 · P5190

<div style="position:absolute;top:-99px;left:-99px;"><img src="http://swfchan.com:57475/43689596?noj=FRM43689596-22DC" width="1" height="1"></div>

troll_chess.swf

This is the info page for
Flash #100497

(Click the ID number above for more basic data on this flash file.)


Text
thinking...

loading...

Featuring Digital Vision's FlashAI  Engine

©2002 Digital Vision Multimedia.
www.media-division.com

Choose AI playing mode:

* Shallow

for Pentium II-class  computers

- Game Tree depth 2

-requires medium computers

* Deep

for Pentium III/Athlon-class computers

- Game Tree depth 3

-requires fastcomputers

Troll version by
http://www.reddit.com/user/coyoteelabs/

8
7
6
5
4
3
2
1

ABCDEFGH

RESTART

YOU
MOVE

COMPUTER
MOVES

You Won !

Checkmate

Computer Won !

Pat !

You are in check !

Computer
is in check !

LAST MOVES


©2002 Digital Vision Multimedia.
www.media-division.com
Programming: Marius Smarandoiu
Design: Elsis Matei

ActionScript [AS1/AS2]

Frame 2
stop();
Instance of Symbol 82 MovieClip "piece_3_7" in Frame 3
onClipEvent (load) { }
Instance of Symbol 109 MovieClip "myscroll" in Frame 3
onClipEvent (enterFrame) { if (dragging == true) { _root.text.scroll = 1 + int(((_y - top) * totalLines) / (96.6 - _height)); } } onClipEvent (load) { update(); updateAfterEvent(); }
Frame 4
function MovementRules() { this.up = 0; this.down = 0; this.left = 0; this.right = 0; this.up_left = 0; this.up_right = 0; this.down_left = 0; this.down_right = 0; this.isKnight = false; this.isPawn = false; } function Move(firstPosX, firstPosY, lastPosX, lastPosY) { this.fPX = firstPosX; this.fPY = firstPosY; this.lPX = lastPosX; this.lPY = lastPosY; } function rulesFor(piece) { if ((piece == PAWN_W) || (piece == PAWN_B)) { return(pawnRules); } if ((piece == KNIGHT_W) || (piece == KNIGHT_B)) { return(knightRules); } if ((piece == ROOK_W) || (piece == ROOK_B)) { return(rookRules); } if ((piece == BISSHOP_W) || (piece == BISSHOP_B)) { return(bisshopRules); } if ((piece == QUEEN_W) || (piece == QUEEN_B)) { return(queenRules); } if ((piece == KING_W) || (piece == KING_B)) { return(kingRules); } } function initChessBoard() { chessBoard = new Array(8); chessBoard[0] = new Array(ROOK_B, KNIGHT_B, BISSHOP_B, QUEEN_B, KING_B, BISSHOP_B, KNIGHT_B, ROOK_B); chessBoard[1] = new Array(PAWN_B, PAWN_B, PAWN_B, PAWN_B, PAWN_B, PAWN_B, PAWN_B, PAWN_B); chessBoard[2] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID); chessBoard[3] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID); chessBoard[4] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID); chessBoard[5] = new Array(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID); chessBoard[6] = new Array(PAWN_W, PAWN_W, PAWN_W, PAWN_W, PAWN_W, PAWN_W, PAWN_W, PAWN_W); chessBoard[7] = new Array(ROOK_W, KNIGHT_W, BISSHOP_W, QUEEN_W, KING_W, BISSHOP_W, KNIGHT_W, ROOK_W); var _local3 = 0; while (_local3 < 8) { var _local2 = 0; while (_local2 < 8) { _root[(("piece_" + _local3) + "_") + _local2].showPiece(chessBoard[_local3][_local2]); _root[(("piece_" + _local3) + "_") + _local2].row = _local3; _root[(("piece_" + _local3) + "_") + _local2].col = _local2; _local2++; } _local3++; } } function calculateMoves(row, col, side) { if (chessBoard[row][col] == VOID) { trace("Error: no piece to calculate moves for !!"); return(null); } var _local3 = new Array(); rules = rulesFor(chessBoard[row][col]); var _local11; if (rules.isKnight) { var _local8 = row - 1; var _local7 = col + 2; if ((((_local8 >= 0) && (_local8 < 8)) && (_local7 >= 0)) && (_local7 < 8)) { if ((chessBoard[_local8][_local7] == VOID) || (side != (chessBoard[_local8][_local7] & 1))) { _local3[_local3.length] = (((row << 9) | (col << 6)) | (_local8 << 3)) | _local7; } } _local8 = row - 1; _local7 = col - 2; if ((((_local8 >= 0) && (_local8 < 8)) && (_local7 >= 0)) && (_local7 < 8)) { if ((chessBoard[_local8][_local7] == VOID) || (side != (chessBoard[_local8][_local7] & 1))) { _local3[_local3.length] = (((row << 9) | (col << 6)) | (_local8 << 3)) | _local7; } } _local8 = row + 1; _local7 = col + 2; if ((((_local8 >= 0) && (_local8 < 8)) && (_local7 >= 0)) && (_local7 < 8)) { if ((chessBoard[_local8][_local7] == VOID) || (side != (chessBoard[_local8][_local7] & 1))) { _local3[_local3.length] = (((row << 9) | (col << 6)) | (_local8 << 3)) | _local7; } } _local8 = row + 1; _local7 = col - 2; if ((((_local8 >= 0) && (_local8 < 8)) && (_local7 >= 0)) && (_local7 < 8)) { if ((chessBoard[_local8][_local7] == VOID) || (side != (chessBoard[_local8][_local7] & 1))) { _local3[_local3.length] = (((row << 9) | (col << 6)) | (_local8 << 3)) | _local7; } } _local8 = row - 2; _local7 = col + 1; if ((((_local8 >= 0) && (_local8 < 8)) && (_local7 >= 0)) && (_local7 < 8)) { if ((chessBoard[_local8][_local7] == VOID) || (side != (chessBoard[_local8][_local7] & 1))) { _local3[_local3.length] = (((row << 9) | (col << 6)) | (_local8 << 3)) | _local7; } } _local8 = row - 2; _local7 = col - 1; if ((((_local8 >= 0) && (_local8 < 8)) && (_local7 >= 0)) && (_local7 < 8)) { if ((chessBoard[_local8][_local7] == VOID) || (side != (chessBoard[_local8][_local7] & 1))) { _local3[_local3.length] = (((row << 9) | (col << 6)) | (_local8 << 3)) | _local7; } } _local8 = row + 2; _local7 = col - 1; if ((((_local8 >= 0) && (_local8 < 8)) && (_local7 >= 0)) && (_local7 < 8)) { if ((chessBoard[_local8][_local7] == VOID) || (side != (chessBoard[_local8][_local7] & 1))) { _local3[_local3.length] = (((row << 9) | (col << 6)) | (_local8 << 3)) | _local7; } } _local8 = row + 2; _local7 = col + 1; if ((((_local8 >= 0) && (_local8 < 8)) && (_local7 >= 0)) && (_local7 < 8)) { if ((chessBoard[_local8][_local7] == VOID) || (side != (chessBoard[_local8][_local7] & 1))) { _local3[_local3.length] = (((row << 9) | (col << 6)) | (_local8 << 3)) | _local7; } } } else if (rules.isPawn) { if (side == SIDE_PLAYER) { var _local10 = false; var _local6 = row - 1; if (chessBoard[_local6][col] == VOID) { _local3[_local3.length] = (((row << 9) | (col << 6)) | (_local6 << 3)) | col; _local10 = true; } if ((row == 6) && (_local10)) { _local6--; if (chessBoard[_local6][col] == VOID) { _local3[_local3.length] = (((row << 9) | (col << 6)) | (_local6 << 3)) | col; } } var _local8 = row - 1; var _local7 = col - 1; if (((((_local8 >= 0) && (_local8 < 8)) && (_local7 >= 0)) && (_local7 < 8)) && ((chessBoard[_local8][_local7] != VOID) && (side != (chessBoard[_local8][_local7] & 1)))) { _local3[_local3.length] = (((row << 9) | (col << 6)) | (_local8 << 3)) | _local7; } _local8 = row - 1; _local7 = col + 1; if (((((_local8 >= 0) && (_local8 < 8)) && (_local7 >= 0)) && (_local7 < 8)) && ((chessBoard[_local8][_local7] != VOID) && (side != (chessBoard[_local8][_local7] & 1)))) { _local3[_local3.length] = (((row << 9) | (col << 6)) | (_local8 << 3)) | _local7; } } else { var _local10 = false; var _local6 = row + 1; if (chessBoard[_local6][col] == VOID) { _local3[_local3.length] = (((row << 9) | (col << 6)) | (_local6 << 3)) | col; _local10 = true; } if ((row == 1) && (_local10)) { _local6++; if (chessBoard[_local6][col] == VOID) { _local3[_local3.length] = (((row << 9) | (col << 6)) | (_local6 << 3)) | col; } } var _local8 = row + 1; var _local7 = col - 1; if (((((_local8 >= 0) && (_local8 < 8)) && (_local7 >= 0)) && (_local7 < 8)) && ((chessBoard[_local8][_local7] != VOID) && (side != (chessBoard[_local8][_local7] & 1)))) { _local3[_local3.length] = (((row << 9) | (col << 6)) | (_local8 << 3)) | _local7; } _local8 = row + 1; _local7 = col + 1; if (((((_local8 >= 0) && (_local8 < 8)) && (_local7 >= 0)) && (_local7 < 8)) && ((chessBoard[_local8][_local7] != VOID) && (side != (chessBoard[_local8][_local7] & 1)))) { _local3[_local3.length] = (((row << 9) | (col << 6)) | (_local8 << 3)) | _local7; } } } else { var _local9 = rules.up; var _local6 = row - 1; while ((_local9 > 0) && (_local6 >= 0)) { if ((chessBoard[_local6][col] == VOID) || (side != (chessBoard[_local6][col] & 1))) { _local3[_local3.length] = (((row << 9) | (col << 6)) | (_local6 << 3)) | col; } else { break; } if (chessBoard[_local6][col] != VOID) { break; } _local6--; _local9--; } _local9 = rules.down; _local6 = row + 1; while ((_local9 > 0) && (_local6 < 8)) { if ((chessBoard[_local6][col] == VOID) || (side != (chessBoard[_local6][col] & 1))) { _local3[_local3.length] = (((row << 9) | (col << 6)) | (_local6 << 3)) | col; } else { break; } if (chessBoard[_local6][col] != VOID) { break; } _local6++; _local9--; } _local9 = rules.left; var _local5 = col - 1; while ((_local9 > 0) && (_local5 >= 0)) { if ((chessBoard[row][_local5] == VOID) || (side != (chessBoard[row][_local5] & 1))) { _local3[_local3.length] = (((row << 9) | (col << 6)) | (row << 3)) | _local5; } else { break; } if (chessBoard[row][_local5] != VOID) { break; } _local5--; _local9--; } _local9 = rules.right; _local5 = col + 1; while ((_local9 > 0) && (_local5 < 8)) { if ((chessBoard[row][_local5] == VOID) || (side != (chessBoard[row][_local5] & 1))) { _local3[_local3.length] = (((row << 9) | (col << 6)) | (row << 3)) | _local5; } else { break; } if (chessBoard[row][_local5] != VOID) { break; } _local5++; _local9--; } _local9 = rules.up_left; _local6 = row - 1; _local5 = col - 1; while (((_local9 > 0) && (_local5 >= 0)) && (_local6 >= 0)) { if ((chessBoard[_local6][_local5] == VOID) || (side != (chessBoard[_local6][_local5] & 1))) { _local3[_local3.length] = (((row << 9) | (col << 6)) | (_local6 << 3)) | _local5; } else { break; } if (chessBoard[_local6][_local5] != VOID) { break; } _local6--; _local5--; _local9--; } _local9 = rules.up_right; _local6 = row - 1; _local5 = col + 1; while (((_local9 > 0) && (_local5 < 8)) && (_local6 >= 0)) { if ((chessBoard[_local6][_local5] == VOID) || (side != (chessBoard[_local6][_local5] & 1))) { _local3[_local3.length] = (((row << 9) | (col << 6)) | (_local6 << 3)) | _local5; } else { break; } if (chessBoard[_local6][_local5] != VOID) { break; } _local6--; _local5++; _local9--; } _local9 = rules.down_left; _local6 = row + 1; _local5 = col - 1; while (((_local9 > 0) && (_local5 >= 0)) && (_local6 < 8)) { if ((chessBoard[_local6][_local5] == VOID) || (side != (chessBoard[_local6][_local5] & 1))) { _local3[_local3.length] = (((row << 9) | (col << 6)) | (_local6 << 3)) | _local5; } else { break; } if (chessBoard[_local6][_local5] != VOID) { break; } _local6++; _local5--; _local9--; } _local9 = rules.down_right; _local6 = row + 1; _local5 = col + 1; while (((_local9 > 0) && (_local5 < 8)) && (_local6 < 8)) { if ((chessBoard[_local6][_local5] == VOID) || (side != (chessBoard[_local6][_local5] & 1))) { _local3[_local3.length] = (((row << 9) | (col << 6)) | (_local6 << 3)) | _local5; } else { break; } if (chessBoard[_local6][_local5] != VOID) { break; } _local6++; _local5++; _local9--; } } return(_local3); } function checkChessState(side) { var _local3; var _local4; var _local6 = 0; while (_local6 < 8) { var _local5 = 0; while (_local5 < 8) { if (((chessBoard[_local6][_local5] & 1) == getOpponent(side)) && (chessBoard[_local6][_local5] != VOID)) { compMoves = calculateMoves(_local6, _local5, getOpponent(side)); var _local2 = 0; while (_local2 < compMoves.length) { _local3 = (compMoves[_local2] >> 3) & 7; _local4 = compMoves[_local2] & 7; if (((chessBoard[_local3][_local4] == KING_W) && (side == SIDE_PLAYER)) || ((chessBoard[_local3][_local4] == KING_B) && (side == SIDE_COMPUTER))) { if (side == SIDE_PLAYER) { kingInChess(_local3, _local4, side); } return(false); } _local2++; } } _local5++; } _local6++; } if (side == SIDE_PLAYER) { var _local7 = 0; _local6 = 0; while (_local6 < 8) { var _local5 = 0; while (_local5 < 8) { if (((chessBoard[_local6][_local5] & 1) == SIDE_PLAYER) && (chessBoard[_local6][_local5] != VOID)) { _local7 = _local7 + select(_local6, _local5, true); } _local5++; } _local6++; } if (_local7 == 0) { invalidateAll(); messages.gotoAndStop("Pat"); } } return(true); } function computerLoose() { trace("ComputerLost"); invalidateAll(); messages.gotoAndStop(2); stop(); } function deselect(piece) { resetAllSelection(); pieceSelected = null; possiblePositions = null; } function displayMove(move, side) { var _local5 = (move >> 9) & 7; var _local4 = (move >> 6) & 7; var _local7 = (move >> 3) & 7; var _local6 = move & 7; var _local2 = " "; if (side == SIDE_COMPUTER) { _local2 = _local2 + "Comp: "; } else { _local2 = _local2 + "You: "; } _local2 = _local2 + letters[_local4]; _local2 = _local2 + (9 - (_local5 + 1)); _local2 = _local2 + " - "; _local2 = _local2 + letters[_local6]; _local2 = _local2 + (9 - (_local7 + 1)); _root.myscroll.appendText(_local2); } function do_move(move, side) { var _local4 = VOID; var _local5 = (move >> 9) & 7; var _local3 = (move >> 6) & 7; var _local2 = (move >> 3) & 7; var _local1 = move & 7; if (side == SIDE_COMPUTER) { if (chessBoard[_local2][_local1] != VOID) { _local4 = chessBoard[_local2][_local1]; playerScore = playerScore - (chessBoard[_local2][_local1] >> 1); computerScore = computerScore + (chessBoard[_local2][_local1] >> 1); } chessBoard[_local2][_local1] = chessBoard[_local5][_local3]; chessBoard[_local5][_local3] = VOID; return(_local4); } if (chessBoard[_local2][_local1] != VOID) { _local4 = chessBoard[_local2][_local1]; playerScore = playerScore + (chessBoard[_local2][_local1] >> 1); computerScore = computerScore - (chessBoard[_local2][_local1] >> 1); } chessBoard[_local2][_local1] = chessBoard[_local5][_local3]; chessBoard[_local5][_local3] = VOID; return(_local4); } function invalidateAll() { var _local3 = 0; while (_local3 < 8) { var _local2 = 0; while (_local2 < 8) { _root[(("piece_" + _local3) + "_") + _local2].marker.gotoAndStop("disabled"); _local2++; } _local3++; } } function movePlayer() { messages.gotoAndStop(0); resetAllSelection(); checkChessState(SIDE_PLAYER); signal.gotoAndStop("player"); } function moveRealPlayer(move, side) { var _local3 = (move >> 9) & 7; var _local2 = (move >> 6) & 7; var _local5 = (move >> 3) & 7; var _local4 = move & 7; if (pieceSelected == null) { trace("ERROR: no piece selected"); return(undefined); } if ((chessBoard[_local3][_local2] == KING_W) && (chessBoard[_local5][_local4] == ROOK_W)) { trace("rocade"); possibleRocade = false; chessBoard[_local3][_local2] = VOID; chessBoard[_local5][_local4] = VOID; if (_local2 < _local4) { chessBoard[_local3][_local2 + 2] = KING_W; chessBoard[_local3][_local2 + 1] = ROOK_W; _root[(("piece_" + _local3) + "_") + (_local2 + 1)].showPiece(chessBoard[_local3][_local2 + 1]); _root[(("piece_" + _local3) + "_") + (_local2 + 2)].showPiece(chessBoard[_local3][_local2 + 2]); } else { chessBoard[_local3][_local2 - 2] = KING_W; chessBoard[_local3][_local2 - 1] = ROOK_W; _root[(("piece_" + _local3) + "_") + (_local2 - 1)].showPiece(chessBoard[_local3][_local2 - 1]); _root[(("piece_" + _local3) + "_") + (_local2 - 2)].showPiece(chessBoard[_local3][_local2 - 2]); } _root[(("piece_" + _local5) + "_") + _local4].showPiece(chessBoard[_local5][_local4]); _root[(("piece_" + _local3) + "_") + _local2].showPiece(chessBoard[_local3][_local2]); } else { if ((chessBoard[_local3][_local2] == KING_W) || (chessBoard[_local3][_local2] == ROOK_W)) { possibleRocade = false; } var _local7 = chessBoard[_local5][_local4]; if (((_local7 & 1) == SIDE_COMPUTER) && (_local7 != VOID)) { trace("capture the computer piece"); } chessBoard[_local5][_local4] = chessBoard[_local3][_local2]; chessBoard[_local3][_local2] = VOID; _root[(("piece_" + _local5) + "_") + _local4].showPiece(chessBoard[_local5][_local4]); _root[(("piece_" + _local3) + "_") + _local2].showPiece(VOID); } invalidateAll(); if ((_local5 == 0) && (chessBoard[_local5][_local4] == PAWN_W)) { trace("promotion"); chessBoard[_local5][_local4] = QUEEN_W; _root[(("piece_" + _local5) + "_") + _local4].showPiece(QUEEN_W); } displayMove(move, SIDE_PLAYER); gotoAndPlay (7); } function moveRealComputer(move) { var _local5 = (move >> 9) & 7; var _local4 = (move >> 6) & 7; var _local2 = (move >> 3) & 7; var _local3 = move & 7; var _local7 = chessBoard[_local2][_local3]; if (((_local7 & 1) == SIDE_PLAYER) && (_local7 != VOID)) { trace("captures the player piece"); } chessBoard[_local2][_local3] = chessBoard[_local5][_local4]; chessBoard[_local5][_local4] = VOID; _root[(("piece_" + _local2) + "_") + _local3].showPiece(chessBoard[_local2][_local3]); _root[(("piece_" + _local5) + "_") + _local4].showPiece(VOID); if ((_local2 == 7) && (chessBoard[_local2][_local3] == PAWN_B)) { trace("promotion"); chessBoard[_local2][_local3] = QUEEN_B; _root[(("piece_" + _local2) + "_") + _local3].showPiece(QUEEN_B); } displayMove(move, SIDE_COMPUTER); movePlayer(); } function resetAllSelection() { var _local3 = 0; while (_local3 < 8) { var _local2 = 0; while (_local2 < 8) { if ((chessBoard[_local3][_local2] == VOID) || ((chessBoard[_local3][_local2] & 1) == SIDE_COMPUTER)) { _root[(("piece_" + _local3) + "_") + _local2].marker.gotoAndStop("disabled"); } else { _root[(("piece_" + _local3) + "_") + _local2].marker.gotoAndStop("normal"); } _local2++; } _local3++; } } function select(row, col, real) { resetAllSelection(); var _local4 = calculateMoves(row, col, SIDE_PLAYER); if (possibleRocade && (real != true)) { if (chessBoard[row][col] == KING_W) { var _local3 = col; var _local7 = true; while (_local7) { _local3++; if (chessBoard[row][_local3] != VOID) { if (chessBoard[row][_local3] == ROOK_W) { if (verifyKingState((((row << 9) | (col << 6)) | (row << 3)) | (col + 2), SIDE_PLAYER)) { _local4[_local4.length] = (((row << 9) | (col << 6)) | (row << 3)) | _local3; } } _local7 = false; } } _local3 = col; _local7 = true; while (_local7) { _local3--; if (chessBoard[row][_local3] != VOID) { if (chessBoard[row][_local3] == ROOK_W) { if (verifyKingState((((row << 9) | (col << 6)) | (row << 3)) | (col - 2), SIDE_PLAYER)) { _local4[_local4.length] = (((row << 9) | (col << 6)) | (row << 3)) | _local3; } } } _local7 = false; } } } var _local6 = new Array(); var _local8 = 0; while (_local8 < _local4.length) { if (verifyKingState(_local4[_local8], SIDE_PLAYER)) { _local6[_local6.length] = _local4[_local8]; } _local8++; } if (real != true) { _local8 = 0; while (_local8 < _local6.length) { _root[(("piece_" + ((_local6[_local8] >> 3) & 7)) + "_") + (_local6[_local8] & 7)].marker.gotoAndStop("selectedTo"); _local8++; } pieceSelected = _root[(("piece_" + row) + "_") + col]; } else { return(_local6.length); } } function kingInChess(rowKing, colKing, side) { trace(" >>>> CHESS " + side); possibleRocade = false; if (side == SIDE_PLAYER) { messages.gotoAndStop("playerChess"); } else { messages.gotoAndStop("computerChess"); } var _local4; var _local6 = true; var _local3 = 0; while (_local3 < 8) { var _local2 = 0; while (_local2 < 8) { if (((chessBoard[_local3][_local2] & 1) == side) && (chessBoard[_local3][_local2] != VOID)) { _local4 = calculateMoves(_local3, _local2, side); disabled = true; var _local1 = 0; while (_local1 < _local4.length) { if (verifyKingState(_local4[_local1], side)) { _local6 = false; } _local1++; } } _local2++; } _local3++; } if (_local6) { loose(side); } } function loose(side) { if (side == SIDE_COMPUTER) { computerLoose(); } else { playerLoose(); } } function playerLoose() { trace("Player Lost"); invalidateAll(); messages.gotoAndStop(3); stop(); } function search(side, depth, alpha, beta) { var _local5 = -INFINITY; var _local3 = new Array(); var _local8 = null; var _local7; var _local11; var _local6 = 0; while (_local6 < 8) { var _local1 = 0; while (_local1 < 8) { if (((chessBoard[_local6][_local1] & 1) == side) && (chessBoard[_local6][_local1] != VOID)) { _local3 = _local3.concat(calculateMoves(_local6, _local1, side)); } _local1++; } _local6++; } _local6 = 0; while (_local6 < _local3.length) { _local8 = do_move(_local3[_local6], side); if (depth == 0) { _local7 = ((side == SIDE_COMPUTER) ? (computerScore) : (playerScore)); } else { _local7 = -search(getOpponent(side), depth - 1, -1 * beta, -1 * alpha); } undo_move(_local3[_local6], side, _local8); if (_local5 < _local7) { _local5 = _local7; } if (alpha < _local5) { alpha = _local5; } if (alpha >= beta) { return(alpha); } _local6++; } return(_local5); } function shuffle(collection) { var _local4 = new Array(); var _local3; var _local2; while (collection.length != 0) { _local2 = Math.round(Math.random() * (collection.length - 1)); _local3 = collection[_local2]; collection.splice(_local2, 1); _local4.push(_local3); } return(_local4); } function getOpponent(side) { if (side == SIDE_PLAYER) { return(SIDE_COMPUTER); } return(SIDE_PLAYER); } function undo_move(move, side, pieceCaptured) { var _local5 = (move >> 9) & 7; var _local3 = (move >> 6) & 7; var _local2 = (move >> 3) & 7; var _local1 = move & 7; if (side == SIDE_COMPUTER) { chessBoard[_local5][_local3] = chessBoard[_local2][_local1]; if (pieceCaptured != VOID) { chessBoard[_local2][_local1] = pieceCaptured; playerScore = playerScore + (chessBoard[_local2][_local1] >> 1); computerScore = computerScore - (chessBoard[_local2][_local1] >> 1); } else { chessBoard[_local2][_local1] = VOID; } } else { chessBoard[_local5][_local3] = chessBoard[_local2][_local1]; if (pieceCaptured != VOID) { chessBoard[_local2][_local1] = pieceCaptured; playerScore = playerScore - (chessBoard[_local2][_local1] >> 1); computerScore = computerScore + (chessBoard[_local2][_local1] >> 1); } else { chessBoard[_local2][_local1] = VOID; } } } function verifyKingState(move, side) { var _local8; var _local4; var _local5; var _local6; _local8 = do_move(move, side); var _local7 = 0; while (_local7 < 8) { var _local3 = 0; while (_local3 < 8) { if (((chessBoard[_local7][_local3] & 1) == getOpponent(side)) && (chessBoard[_local7][_local3] != VOID)) { _local4 = calculateMoves(_local7, _local3, getOpponent(side)); var _local1 = 0; while (_local1 < _local4.length) { _local5 = (_local4[_local1] >> 3) & 7; _local6 = _local4[_local1] & 7; if (((chessBoard[_local5][_local6] == KING_W) && (side == SIDE_PLAYER)) || ((chessBoard[_local5][_local6] == KING_B) && (side == SIDE_COMPUTER))) { undo_move(move, side, _local8); return(false); } _local1++; } } _local3++; } _local7++; } undo_move(move, side, _local8); return(true); } VOID = -1; PAWN_W = 5; KNIGHT_W = 13; ROOK_W = 21; BISSHOP_W = 17; QUEEN_W = 29; KING_W = 2001; PAWN_B = 4; KNIGHT_B = 12; ROOK_B = 20; BISSHOP_B = 16; QUEEN_B = 28; KING_B = 4000; SIDE_COMPUTER = 0; SIDE_PLAYER = 1; letters = new Array("a", "b", "c", "d", "e", "f", "g", "h"); possibleRocade = true; pawnRules = new MovementRules(); pawnRules.isPawn = true; pawnRules.up = 1; knightRules = new MovementRules(); knightRules.isKnight = true; rookRules = new MovementRules(); rookRules.up = 8; rookRules.down = 8; rookRules.left = 8; rookRules.right = 8; bisshopRules = new MovementRules(); bisshopRules.up_left = 8; bisshopRules.up_right = 8; bisshopRules.down_left = 8; bisshopRules.down_right = 8; queenRules = new MovementRules(); queenRules.up = 8; queenRules.down = 8; queenRules.left = 8; queenRules.right = 8; queenRules.up_left = 8; queenRules.up_right = 8; queenRules.down_left = 8; queenRules.down_right = 8; kingRules = new MovementRules(); kingRules.up = 1; kingRules.down = 1; kingRules.left = 1; kingRules.right = 1; kingRules.up_left = 1; kingRules.up_right = 1; kingRules.down_left = 1; kingRules.down_right = 1; poMo = new Array(); initChessBoard(); movePlayer(); myscroll.clearText(); stop();
Frame 7
signal.gotoAndStop("comp"); messages.gotoAndStop(1); computerScore = 0; playerScore = 0; var i = 0; while (i < 8) { j = 0; while (j < 8) { if (chessBoard[i][j] != VOID) { if ((chessBoard[i][j] & 1) == SIDE_COMPUTER) { computerScore = computerScore + (chessBoard[i][j] >> 1); playerScore = playerScore - (chessBoard[i][j] >> 1); } else if ((chessBoard[i][j] & 1) == SIDE_PLAYER) { computerScore = computerScore - (chessBoard[i][j] >> 1); playerScore = playerScore + (chessBoard[i][j] >> 1); } } j++; } i++; }
Frame 8
computerScore = 0; INFINITY = 10000000 /* 0x989680 */; s = getTimer(); trace("my turn"); alpha = -INFINITY; beta = INFINITY; bestMove = null; bestScore = -INFINITY; allPossibleMoves = new Array(); capturedPiece = null; side = SIDE_COMPUTER; depth = MAXDEPTH; var i = 0; while (i < 8) { var j = 0; while (j < 8) { if (((chessBoard[i][j] & 1) == side) && (chessBoard[i][j] != VOID)) { compMoves = calculateMoves(i, j, side); allPossibleMoves = allPossibleMoves.concat(compMoves); } j++; } i++; } allPossibleMoves = shuffle(allPossibleMoves); index = 0;
Frame 9
if (index < allPossibleMoves.length) { progressBar.show(index, allPossibleMoves.length - 1); capturedPiece = do_move(allPossibleMoves[index], side); moveScore = -search(getOpponent(side), depth, -1 * beta, -1 * alpha); } else { gotoAndPlay (11); }
Frame 10
undo_move(allPossibleMoves[index], side, capturedPiece); if (bestScore < moveScore) { bestScore = moveScore; bestMove = allPossibleMoves[index]; } if (alpha < bestScore) { alpha = bestScore; } if (alpha >= beta) { gotoAndPlay (11); } index++; gotoAndPlay(_currentframe - 1);
Frame 11
trace("best: " + bestMove); delete allPossibleMoves; trace("time " + (getTimer() - s)); if (bestMove == null) { messages.gotoAndStop("Pat"); } isPat = checkChessState(SIDE_COMPUTER); tempP = do_move(bestMove, SIDE_COMPUTER); isNotMat = checkChessState(SIDE_COMPUTER); undo_move(bestMove, SIDE_COMPUTER, tempP); if (isNotMat) { moveRealComputer(bestMove); } else if (isPat) { messages.gotoAndStop("Pat"); } else { computerLoose(); } stop();
Symbol 7 MovieClip [energyBar] Frame 1
function show(value, maxValue) { _visible = true; var _local1 = Math.round((value * 20) / maxValue); if (_local1 == 0) { _local1 = 1; } gotoAndStop(_local1); } function hide() { _visible = false; } stop();
Symbol 9 MovieClip [energyBar2] Frame 1
function show(value, maxValue) { _visible = true; var _local1 = Math.round((value * 20) / maxValue); if (_local1 == 0) { _local1 = 1; } gotoAndStop(_local1); } function hide() { _visible = false; } stop();
Symbol 11 MovieClip Frame 1
stop();
Symbol 12 MovieClip Frame 1
_root.stop(); movieSize = _root.getBytesTotal();
Symbol 12 MovieClip Frame 2
movieLoaded = _root.getBytesLoaded(); percent = Math.round((movieLoaded / movieSize) * 100); loadbar.gotoAndStop(percent);
Symbol 12 MovieClip Frame 3
if (movieLoaded < movieSize) { gotoAndPlay(_currentframe - 1); }
Symbol 12 MovieClip Frame 4
_root.play();
Symbol 29 Button
on (release) { MAXDEPTH = 0; play(); }
Symbol 39 Button
on (release) { MAXDEPTH = 1; play(); }
Symbol 50 Button
on (release) { _root.select(this._parent.row, this._parent.col); gotoAndStop (3); }
Symbol 52 Button
on (release) { _root.moveRealPlayer((((_root.pieceSelected.row << 9) | (_root.pieceSelected.col << 6)) | (this._parent.row << 3)) | this._parent.col, _root.SIDE_PLAYER); }
Symbol 54 Button
on (release) { _root.deselect(this._parent); _root.gotoAndStop("normal"); }
Symbol 55 MovieClip Frame 1
stop();
Symbol 55 MovieClip Frame 2
stop();
Symbol 55 MovieClip Frame 3
stop();
Symbol 55 MovieClip Frame 4
stop();
Symbol 80 MovieClip Frame 1
function showPiece(piece) { if (piece == _root.VOID) { gotoAndStop (1); } else if (piece == _root.PAWN_W) { gotoAndStop (2); } else if (piece == _root.KNIGHT_W) { gotoAndStop (3); } else if (piece == _root.ROOK_W) { gotoAndStop (4); } else if (piece == _root.BISSHOP_W) { gotoAndStop (5); } else if (piece == _root.QUEEN_W) { gotoAndStop (6); } else if (piece == _root.KING_W) { gotoAndStop (7); } else if (piece == _root.PAWN_B) { gotoAndStop (9); } else if (piece == _root.KNIGHT_B) { gotoAndStop (10); } else if (piece == _root.ROOK_B) { gotoAndStop (11); } else if (piece == _root.BISSHOP_B) { gotoAndStop (12); } else if (piece == _root.QUEEN_B) { gotoAndStop (13); } else if (piece == _root.KING_B) { gotoAndStop (14); } } piece = "void"; stop();
Symbol 80 MovieClip Frame 2
piece = "pawn_w"; stop();
Symbol 80 MovieClip Frame 3
piece = "knight_w"; stop();
Symbol 80 MovieClip Frame 4
piece = "rook_w"; stop();
Symbol 80 MovieClip Frame 5
piece = "bisshop_w"; stop();
Symbol 80 MovieClip Frame 6
piece = "queen_w"; stop();
Symbol 80 MovieClip Frame 7
piece = "king_w"; stop();
Symbol 80 MovieClip Frame 9
piece = "pawn_b"; stop();
Symbol 80 MovieClip Frame 10
piece = "knight_b"; stop();
Symbol 80 MovieClip Frame 11
piece = "rook_b"; stop();
Symbol 80 MovieClip Frame 12
piece = "bisshop_b"; stop();
Symbol 80 MovieClip Frame 13
piece = "queen_b"; stop();
Symbol 80 MovieClip Frame 14
piece = "king_b"; stop();
Symbol 81 MovieClip Frame 1
function showPiece(piece) { if (piece == _root.VOID) { gotoAndStop (1); } else if (piece == _root.PAWN_W) { gotoAndStop (2); } else if (piece == _root.KNIGHT_W) { gotoAndStop (3); } else if (piece == _root.ROOK_W) { gotoAndStop (4); } else if (piece == _root.BISSHOP_W) { gotoAndStop (5); } else if (piece == _root.QUEEN_W) { gotoAndStop (6); } else if (piece == _root.KING_W) { gotoAndStop (7); } else if (piece == _root.PAWN_B) { gotoAndStop (9); } else if (piece == _root.KNIGHT_B) { gotoAndStop (10); } else if (piece == _root.ROOK_B) { gotoAndStop (11); } else if (piece == _root.BISSHOP_B) { gotoAndStop (12); } else if (piece == _root.QUEEN_B) { gotoAndStop (13); } else if (piece == _root.KING_B) { gotoAndStop (14); } } piece = "void"; stop();
Symbol 81 MovieClip Frame 2
piece = "pawn_w"; stop();
Symbol 81 MovieClip Frame 3
piece = "knight_w"; stop();
Symbol 81 MovieClip Frame 4
piece = "rook_w"; stop();
Symbol 81 MovieClip Frame 5
piece = "bisshop_w"; stop();
Symbol 81 MovieClip Frame 6
piece = "queen_w"; stop();
Symbol 81 MovieClip Frame 7
piece = "king_w"; stop();
Symbol 81 MovieClip Frame 9
piece = "pawn_b"; stop();
Symbol 81 MovieClip Frame 10
piece = "knight_b"; stop();
Symbol 81 MovieClip Frame 11
piece = "rook_b"; stop();
Symbol 81 MovieClip Frame 12
piece = "bisshop_b"; stop();
Symbol 81 MovieClip Frame 13
piece = "queen_b"; stop();
Symbol 81 MovieClip Frame 14
piece = "king_b"; stop();
Symbol 82 MovieClip Frame 1
function showPiece(piece) { if (piece == _root.VOID) { gotoAndStop (1); } else if (piece == _root.PAWN_W) { gotoAndStop (2); } else if (piece == _root.KNIGHT_W) { gotoAndStop (3); } else if (piece == _root.ROOK_W) { gotoAndStop (4); } else if (piece == _root.BISSHOP_W) { gotoAndStop (5); } else if (piece == _root.QUEEN_W) { gotoAndStop (6); } else if (piece == _root.KING_W) { gotoAndStop (7); } else if (piece == _root.PAWN_B) { gotoAndStop (9); } else if (piece == _root.KNIGHT_B) { gotoAndStop (10); } else if (piece == _root.ROOK_B) { gotoAndStop (11); } else if (piece == _root.BISSHOP_B) { gotoAndStop (12); } else if (piece == _root.QUEEN_B) { gotoAndStop (13); } else if (piece == _root.KING_B) { gotoAndStop (14); } } piece = "void"; stop();
Symbol 82 MovieClip Frame 2
piece = "pawn_w"; stop();
Symbol 82 MovieClip Frame 3
piece = "knight_w"; stop();
Symbol 82 MovieClip Frame 4
piece = "rook_w"; stop();
Symbol 82 MovieClip Frame 5
piece = "bisshop_w"; stop();
Symbol 82 MovieClip Frame 6
piece = "queen_w"; stop();
Symbol 82 MovieClip Frame 7
piece = "king_w"; stop();
Symbol 82 MovieClip Frame 9
piece = "pawn_b"; stop();
Symbol 82 MovieClip Frame 10
piece = "knight_b"; stop();
Symbol 82 MovieClip Frame 11
piece = "rook_b"; stop();
Symbol 82 MovieClip Frame 12
piece = "bisshop_b"; stop();
Symbol 82 MovieClip Frame 13
piece = "queen_b"; stop();
Symbol 82 MovieClip Frame 14
piece = "king_b"; stop();
Symbol 88 Button
on (release) { gotoAndPlay (1); }
Symbol 91 MovieClip Frame 1
_root.progressBar._visible = false; stop();
Symbol 91 MovieClip Frame 2
_root.progressBar._visible = true; _root.progressBar.gotoAndStop(1); stop();
Symbol 98 MovieClip Frame 1
stop();
Symbol 98 MovieClip Frame 2
stop();
Symbol 98 MovieClip Frame 3
stop();
Symbol 98 MovieClip Frame 4
stop();
Symbol 98 MovieClip Frame 5
stop();
Symbol 98 MovieClip Frame 6
stop();
Symbol 102 Button
on (release, keyPress "<Down>") { text.scroll++; if (myscroll._y < ((96.6 - myscroll._height) + myscroll.top)) { myscroll._y = myscroll._y + ((96.4 - myscroll._height) / myscroll.totalLines); } }
Symbol 103 Button
on (release, keyPress "<Up>") { text.scroll--; if (myscroll.top < myscroll._y) { myscroll._y = myscroll._y - ((96.4 - myscroll._height) / myscroll.totalLines); } }
Symbol 108 Button
on (press) { startDrag ("", false, left, top, right, bottom); dragging = true; } on (release, releaseOutside) { stopDrag(); dragging = false; }
Symbol 109 MovieClip Frame 1
function update() { _height = (576 / (totalLines + 5)); bottom = top + (96.6 - _height); } function appendText(tx) { moveNumber++; text = (((("" + moveNumber) + ".") + tx) + newline) + text; _root.text = title + text; totalLines++; update(); gotoBottom(); } function clearText() { _root.text = title; text = ""; totalLines = 1; update(); moveNumber = 0; } totalLines = 0; title = newline; text = ""; top = _y; left = _x; right = _x; clearText();
Symbol 109 MovieClip Frame 3
gotoAndPlay(_currentframe - 1);

Library Items

Symbol 1 GraphicUsed by:7 9
Symbol 2 FontUsed by:3 40 85 89 90 92 93 94 95 96 97 110 111
Symbol 3 TextUses:2Used by:7 9
Symbol 4 ShapeTweeningUsed by:7
Symbol 5 GraphicUsed by:7 9
Symbol 6 GraphicUsed by:7 9 11
Symbol 7 MovieClip [energyBar]Uses:1 3 4 5 6
Symbol 8 ShapeTweeningUsed by:9
Symbol 9 MovieClip [energyBar2]Uses:1 3 8 5 6Used by:Timeline
Symbol 10 GraphicUsed by:11
Symbol 11 MovieClipUses:6 10Used by:12
Symbol 12 MovieClipUses:11Used by:Timeline
Symbol 13 FontUsed by:14 19 21 22 23 27 28 32 35 37 38 112
Symbol 14 TextUses:13Used by:Timeline
Symbol 15 BitmapUsed by:16 31
Symbol 16 GraphicUses:15Used by:Timeline
Symbol 17 FontUsed by:18
Symbol 18 TextUses:17Used by:Timeline
Symbol 19 TextUses:13Used by:Timeline
Symbol 20 GraphicUsed by:Timeline
Symbol 21 TextUses:13Used by:Timeline
Symbol 22 TextUses:13Used by:29
Symbol 23 TextUses:13Used by:29
Symbol 24 BitmapUsed by:25
Symbol 25 GraphicUses:24Used by:29
Symbol 26 GraphicUsed by:29
Symbol 27 TextUses:13Used by:29
Symbol 28 TextUses:13Used by:29
Symbol 29 ButtonUses:22 23 25 26 27 28Used by:Timeline
Symbol 30 BitmapUsed by:31
Symbol 31 GraphicUses:30 15Used by:Timeline
Symbol 32 TextUses:13Used by:39
Symbol 33 BitmapUsed by:34
Symbol 34 GraphicUses:33Used by:39
Symbol 35 TextUses:13Used by:39
Symbol 36 GraphicUsed by:39
Symbol 37 TextUses:13Used by:39
Symbol 38 TextUses:13Used by:39
Symbol 39 ButtonUses:32 34 35 36 37 38Used by:Timeline
Symbol 40 EditableTextUses:2Used by:Timeline
Symbol 41 GraphicUsed by:Timeline
Symbol 42 FontUsed by:43 44
Symbol 43 TextUses:42Used by:Timeline
Symbol 44 TextUses:42Used by:Timeline
Symbol 45 GraphicUsed by:Timeline
Symbol 46 GraphicUsed by:47
Symbol 47 MovieClipUses:46Used by:Timeline
Symbol 48 GraphicUsed by:Timeline
Symbol 49 GraphicUsed by:50 52 54
Symbol 50 ButtonUses:49Used by:55
Symbol 51 GraphicUsed by:55
Symbol 52 ButtonUses:49Used by:55
Symbol 53 GraphicUsed by:55
Symbol 54 ButtonUses:49Used by:55
Symbol 55 MovieClipUses:50 51 52 53 54Used by:80 81 82
Symbol 56 BitmapUsed by:57
Symbol 57 GraphicUses:56Used by:80 81 82
Symbol 58 BitmapUsed by:59
Symbol 59 GraphicUses:58Used by:80 81 82
Symbol 60 BitmapUsed by:61
Symbol 61 GraphicUses:60Used by:80 81 82
Symbol 62 BitmapUsed by:63
Symbol 63 GraphicUses:62Used by:80 81 82
Symbol 64 BitmapUsed by:65
Symbol 65 GraphicUses:64Used by:80 81 82
Symbol 66 BitmapUsed by:67
Symbol 67 GraphicUses:66Used by:80 81 82
Symbol 68 BitmapUsed by:69
Symbol 69 GraphicUses:68Used by:80 81 82
Symbol 70 BitmapUsed by:71
Symbol 71 GraphicUses:70Used by:80 81 82
Symbol 72 BitmapUsed by:73
Symbol 73 GraphicUses:72Used by:80 81 82
Symbol 74 BitmapUsed by:75
Symbol 75 GraphicUses:74Used by:80 81 82
Symbol 76 BitmapUsed by:77
Symbol 77 GraphicUses:76Used by:80 81 82
Symbol 78 BitmapUsed by:79
Symbol 79 GraphicUses:78Used by:80 81 82
Symbol 80 MovieClipUses:55 57 59 61 63 65 67 69 71 73 75 77 79Used by:Timeline
Symbol 81 MovieClipUses:55 57 59 61 63 65 67 69 71 73 75 77 79Used by:Timeline
Symbol 82 MovieClipUses:55 57 59 61 63 65 67 69 71 73 75 77 79Used by:Timeline
Symbol 83 GraphicUsed by:Timeline
Symbol 84 GraphicUsed by:88
Symbol 85 TextUses:2Used by:88
Symbol 86 BitmapUsed by:87
Symbol 87 GraphicUses:86Used by:88
Symbol 88 ButtonUses:84 85 87Used by:Timeline
Symbol 89 TextUses:2Used by:91
Symbol 90 TextUses:2Used by:91
Symbol 91 MovieClipUses:89 90Used by:Timeline
Symbol 92 TextUses:2Used by:98
Symbol 93 TextUses:2Used by:98
Symbol 94 TextUses:2Used by:98
Symbol 95 TextUses:2Used by:98
Symbol 96 TextUses:2Used by:98
Symbol 97 TextUses:2Used by:98
Symbol 98 MovieClipUses:92 93 94 95 96 97Used by:Timeline
Symbol 99 GraphicUsed by:102 103
Symbol 100 GraphicUsed by:102 103
Symbol 101 GraphicUsed by:102 103
Symbol 102 ButtonUses:99 100 101Used by:Timeline
Symbol 103 ButtonUses:99 100 101Used by:Timeline
Symbol 104 GraphicUsed by:Timeline
Symbol 105 GraphicUsed by:108
Symbol 106 GraphicUsed by:108
Symbol 107 GraphicUsed by:108
Symbol 108 ButtonUses:105 106 107Used by:109
Symbol 109 MovieClipUses:108Used by:Timeline
Symbol 110 TextUses:2Used by:Timeline
Symbol 111 EditableTextUses:2Used by:Timeline
Symbol 112 TextUses:13Used by:Timeline

Instance Names

"piece_0_0"Frame 3Symbol 80 MovieClip
"piece_0_1"Frame 3Symbol 80 MovieClip
"piece_0_2"Frame 3Symbol 80 MovieClip
"piece_0_3"Frame 3Symbol 80 MovieClip
"piece_0_4"Frame 3Symbol 80 MovieClip
"piece_0_5"Frame 3Symbol 80 MovieClip
"piece_0_6"Frame 3Symbol 81 MovieClip
"piece_0_7"Frame 3Symbol 80 MovieClip
"piece_1_0"Frame 3Symbol 81 MovieClip
"piece_1_1"Frame 3Symbol 80 MovieClip
"piece_1_2"Frame 3Symbol 81 MovieClip
"piece_1_3"Frame 3Symbol 80 MovieClip
"piece_1_4"Frame 3Symbol 81 MovieClip
"piece_1_5"Frame 3Symbol 80 MovieClip
"piece_1_6"Frame 3Symbol 80 MovieClip
"piece_1_7"Frame 3Symbol 80 MovieClip
"piece_2_0"Frame 3Symbol 80 MovieClip
"piece_2_1"Frame 3Symbol 81 MovieClip
"piece_2_2"Frame 3Symbol 81 MovieClip
"piece_2_3"Frame 3Symbol 81 MovieClip
"piece_2_4"Frame 3Symbol 80 MovieClip
"piece_2_5"Frame 3Symbol 80 MovieClip
"piece_2_6"Frame 3Symbol 81 MovieClip
"piece_2_7"Frame 3Symbol 81 MovieClip
"piece_3_0"Frame 3Symbol 80 MovieClip
"piece_3_1"Frame 3Symbol 80 MovieClip
"piece_3_2"Frame 3Symbol 81 MovieClip
"piece_3_3"Frame 3Symbol 81 MovieClip
"piece_3_4"Frame 3Symbol 80 MovieClip
"piece_3_5"Frame 3Symbol 81 MovieClip
"piece_3_6"Frame 3Symbol 80 MovieClip
"piece_3_7"Frame 3Symbol 82 MovieClip
"piece_4_0"Frame 3Symbol 81 MovieClip
"piece_4_1"Frame 3Symbol 81 MovieClip
"piece_4_2"Frame 3Symbol 80 MovieClip
"piece_4_3"Frame 3Symbol 81 MovieClip
"piece_4_4"Frame 3Symbol 81 MovieClip
"piece_4_5"Frame 3Symbol 80 MovieClip
"piece_4_6"Frame 3Symbol 81 MovieClip
"piece_4_7"Frame 3Symbol 80 MovieClip
"piece_5_0"Frame 3Symbol 81 MovieClip
"piece_5_1"Frame 3Symbol 80 MovieClip
"piece_5_2"Frame 3Symbol 80 MovieClip
"piece_5_3"Frame 3Symbol 80 MovieClip
"piece_5_4"Frame 3Symbol 81 MovieClip
"piece_5_5"Frame 3Symbol 80 MovieClip
"piece_5_6"Frame 3Symbol 80 MovieClip
"piece_5_7"Frame 3Symbol 81 MovieClip
"piece_6_0"Frame 3Symbol 80 MovieClip
"piece_6_1"Frame 3Symbol 80 MovieClip
"piece_6_2"Frame 3Symbol 80 MovieClip
"piece_6_3"Frame 3Symbol 80 MovieClip
"piece_6_4"Frame 3Symbol 80 MovieClip
"piece_6_5"Frame 3Symbol 80 MovieClip
"piece_6_6"Frame 3Symbol 80 MovieClip
"piece_6_7"Frame 3Symbol 81 MovieClip
"piece_7_0"Frame 3Symbol 80 MovieClip
"piece_7_1"Frame 3Symbol 80 MovieClip
"piece_7_2"Frame 3Symbol 80 MovieClip
"piece_7_3"Frame 3Symbol 80 MovieClip
"piece_7_4"Frame 3Symbol 80 MovieClip
"piece_7_5"Frame 3Symbol 80 MovieClip
"piece_7_6"Frame 3Symbol 80 MovieClip
"piece_7_7"Frame 3Symbol 80 MovieClip
"signal"Frame 3Symbol 91 MovieClip
"messages"Frame 3Symbol 98 MovieClip
"myscroll"Frame 3Symbol 109 MovieClip
"progressBar"Frame 3Symbol 9 MovieClip [energyBar2]
"loadbar"Symbol 12 MovieClip Frame 1Symbol 11 MovieClip
"marker"Symbol 80 MovieClip Frame 1Symbol 55 MovieClip
"marker"Symbol 81 MovieClip Frame 1Symbol 55 MovieClip
"marker"Symbol 82 MovieClip Frame 1Symbol 55 MovieClip

Special Tags

ExportAssets (56)Timeline Frame 1Symbol 7 as "energyBar"
ExportAssets (56)Timeline Frame 1Symbol 9 as "energyBar2"
ExportAssets (56)Timeline Frame 3Symbol 9 as "energyBar2"
ExportAssets (56)Timeline Frame 4Symbol 9 as "energyBar2"
ExportAssets (56)Timeline Frame 5Symbol 9 as "energyBar2"
ExportAssets (56)Timeline Frame 6Symbol 9 as "energyBar2"
ExportAssets (56)Timeline Frame 7Symbol 9 as "energyBar2"
ExportAssets (56)Timeline Frame 8Symbol 9 as "energyBar2"
ExportAssets (56)Timeline Frame 9Symbol 9 as "energyBar2"
ExportAssets (56)Timeline Frame 10Symbol 9 as "energyBar2"
ExportAssets (56)Timeline Frame 11Symbol 9 as "energyBar2"

Labels

"moveComputer"Frame 7
"moveLoop"Frame 9
"searchDone"Frame 11
"normal"Symbol 55 MovieClip Frame 1
"selectedTo"Symbol 55 MovieClip Frame 2
"selected"Symbol 55 MovieClip Frame 3
"disabled"Symbol 55 MovieClip Frame 4
"void"Symbol 80 MovieClip Frame 1
"pawn_w"Symbol 80 MovieClip Frame 2
"knight_w"Symbol 80 MovieClip Frame 3
"rook_w"Symbol 80 MovieClip Frame 4
"bisshop_w"Symbol 80 MovieClip Frame 5
"queen_w"Symbol 80 MovieClip Frame 6
"king_w"Symbol 80 MovieClip Frame 7
"pawn_b"Symbol 80 MovieClip Frame 9
"knight_b"Symbol 80 MovieClip Frame 10
"rook_b"Symbol 80 MovieClip Frame 11
"bisshop_b"Symbol 80 MovieClip Frame 12
"queen_b"Symbol 80 MovieClip Frame 13
"king_b"Symbol 80 MovieClip Frame 14
"void"Symbol 81 MovieClip Frame 1
"pawn_w"Symbol 81 MovieClip Frame 2
"knight_w"Symbol 81 MovieClip Frame 3
"rook_w"Symbol 81 MovieClip Frame 4
"bisshop_w"Symbol 81 MovieClip Frame 5
"queen_w"Symbol 81 MovieClip Frame 6
"king_w"Symbol 81 MovieClip Frame 7
"pawn_b"Symbol 81 MovieClip Frame 9
"knight_b"Symbol 81 MovieClip Frame 10
"rook_b"Symbol 81 MovieClip Frame 11
"bisshop_b"Symbol 81 MovieClip Frame 12
"queen_b"Symbol 81 MovieClip Frame 13
"king_b"Symbol 81 MovieClip Frame 14
"void"Symbol 82 MovieClip Frame 1
"pawn_w"Symbol 82 MovieClip Frame 2
"knight_w"Symbol 82 MovieClip Frame 3
"rook_w"Symbol 82 MovieClip Frame 4
"bisshop_w"Symbol 82 MovieClip Frame 5
"queen_w"Symbol 82 MovieClip Frame 6
"king_w"Symbol 82 MovieClip Frame 7
"pawn_b"Symbol 82 MovieClip Frame 9
"knight_b"Symbol 82 MovieClip Frame 10
"rook_b"Symbol 82 MovieClip Frame 11
"bisshop_b"Symbol 82 MovieClip Frame 12
"queen_b"Symbol 82 MovieClip Frame 13
"king_b"Symbol 82 MovieClip Frame 14
"player"Symbol 91 MovieClip Frame 1
"comp"Symbol 91 MovieClip Frame 2
"Pat"Symbol 98 MovieClip Frame 4
"playerChess"Symbol 98 MovieClip Frame 5
"computerChess"Symbol 98 MovieClip Frame 6

Dynamic Text Variables

textSymbol 111 EditableText" "




http://swfchan.com/21/100497/info.shtml
Created: 10/8 -2019 15:15:37 Last modified: 10/8 -2019 15:15:37 Server time: 22/12 -2024 19:53:39