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/34212102?noj=FRM34212102-22DC" width="1" height="1"></div>

Robo Chess.swf

This is the info page for
Flash #22864

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


Text
Loading...

WWW.STARTGAMES.WS      PLAY MORE GAMES

WWW.STARTGAMES.WS      PLAY MORE GAMES

WWW.STARTGAMES.WS    PLAY MORE GAMES

1

2

3

4

5

6

7

8

ABCDEFGH

YOUR MOVE

ROBOT  MOVES

C
h
e
c
k
m
a
t
e
Y
o
u

W
o
n

C
o
m
p
u
t
e
r

W
o
n

P
a
t

Y
o
u
a
r
e
i
n

c
h
e
c
k


C
o
m
p
u
t
e
r
i
n

c
h
e
c
k

New game

New game

RANDOM

ActionScript [AS1/AS2]

Frame 1
if ((getBytesLoaded() / getBytesTotal()) == 1) { gotoAndPlay (2); } else { _root.loaderstatus.text = (String(getBytesLoaded()) + " / ") + String(getBytesTotal()); _root.loaderbar.GotoAndStop(int((getBytesLoaded() / getBytesTotal()) * 100)); gotoAndPlay (1); }
Frame 2
stop();
Frame 3
function MovementRules() { var _local1 = this; _local1.up = 0; _local1.down = 0; _local1.left = 0; _local1.right = 0; _local1.up_left = 0; _local1.up_right = 0; _local1.down_left = 0; _local1.down_right = 0; _local1.isKnight = false; _local1.isPawn = false; } function Move(firstPosX, firstPosY, lastPosX, lastPosY) { var _local1 = this; _local1.fPX = firstPosX; _local1.fPY = firstPosY; _local1.lPX = lastPosX; _local1.lPY = lastPosY; } function rulesFor(piece) { var _local1 = piece; if ((_local1 == PAWN_W) || (_local1 == PAWN_B)) { return(pawnRules); } if ((_local1 == KNIGHT_W) || (_local1 == KNIGHT_B)) { return(knightRules); } if ((_local1 == ROOK_W) || (_local1 == ROOK_B)) { return(rookRules); } if ((_local1 == BISSHOP_W) || (_local1 == BISSHOP_B)) { return(bisshopRules); } if ((_local1 == QUEEN_W) || (_local1 == QUEEN_B)) { return(queenRules); } if ((_local1 == KING_W) || (_local1 == KING_B)) { return(kingRules); } return(undefined); } function loadChessBoard(chessb) { var _local3 = _root; removeAll(); gameHistory.removeAll(); chessBoard = new Array(); var _local2 = 0; while (_local2 < 8) { arr = new Array(); var _local1 = 0; while (_local1 < 8) { arr.push(chessb[_local2][_local1]); _local1++; } chessBoard.push(arr); _local2++; } _local2 = 0; while (_local2 < 8) { var _local1 = 0; while (_local1 < 8) { _local3[(("piece_" + _local2) + "_") + _local1].showPiece(chessBoard[_local2][_local1]); _local3[(("piece_" + _local2) + "_") + _local1].row = _local2; _local3[(("piece_" + _local2) + "_") + _local1].col = _local1; _local1++; } _local2++; } } function removeAll() { var _local3 = _root; var _local2 = 0; while (_local2 < 8) { var _local1 = 0; while (_local1 < 8) { _local3[(("piece_" + _local2) + "_") + _local1].showPiece(VOID); _local3[(("piece_" + _local2) + "_") + _local1].row = _local2; _local3[(("piece_" + _local2) + "_") + _local1].col = _local1; _local1++; } _local2++; } } function getBoardFromEdit() { var _local3 = _root; chessBoard = new Array(); var _local2 = 0; while (_local2 < 8) { arr = new Array(); var _local1 = 0; while (_local1 < 8) { arr.push(_local3[(("piece_" + _local2) + "_") + _local1].piece); _local1++; } chessBoard.push(arr); _local2++; } } function calculateMoves(row, col, side) { var _local1 = col; var _local2 = row; if (chessBoard[_local2][_local1] == VOID) { trace("Error: no piece to calculate moves for !!"); return(null); } var _local3 = new Array(); rules = rulesFor(chessBoard[_local2][_local1]); var poTa; if (rules.isKnight) { var x = (_local2 - 1); var y = (_local1 + 2); if ((((x >= 0) && (x < 8)) && (y >= 0)) && (y < 8)) { if ((chessBoard[x][y] == VOID) || (side != (chessBoard[x][y] & 1))) { _local3.push((((_local2 << 9) | (_local1 << 6)) | (x << 3)) | y); } } x = _local2 - 1; y = _local1 - 2; if ((((x >= 0) && (x < 8)) && (y >= 0)) && (y < 8)) { if ((chessBoard[x][y] == VOID) || (side != (chessBoard[x][y] & 1))) { _local3.push((((_local2 << 9) | (_local1 << 6)) | (x << 3)) | y); } } x = _local2 + 1; y = _local1 + 2; if ((((x >= 0) && (x < 8)) && (y >= 0)) && (y < 8)) { if ((chessBoard[x][y] == VOID) || (side != (chessBoard[x][y] & 1))) { _local3.push((((_local2 << 9) | (_local1 << 6)) | (x << 3)) | y); } } x = _local2 + 1; y = _local1 - 2; if ((((x >= 0) && (x < 8)) && (y >= 0)) && (y < 8)) { if ((chessBoard[x][y] == VOID) || (side != (chessBoard[x][y] & 1))) { _local3.push((((_local2 << 9) | (_local1 << 6)) | (x << 3)) | y); } } x = _local2 - 2; y = _local1 + 1; if ((((x >= 0) && (x < 8)) && (y >= 0)) && (y < 8)) { if ((chessBoard[x][y] == VOID) || (side != (chessBoard[x][y] & 1))) { _local3.push((((_local2 << 9) | (_local1 << 6)) | (x << 3)) | y); } } x = _local2 - 2; y = _local1 - 1; if ((((x >= 0) && (x < 8)) && (y >= 0)) && (y < 8)) { if ((chessBoard[x][y] == VOID) || (side != (chessBoard[x][y] & 1))) { _local3.push((((_local2 << 9) | (_local1 << 6)) | (x << 3)) | y); } } x = _local2 + 2; y = _local1 - 1; if ((((x >= 0) && (x < 8)) && (y >= 0)) && (y < 8)) { if ((chessBoard[x][y] == VOID) || (side != (chessBoard[x][y] & 1))) { _local3.push((((_local2 << 9) | (_local1 << 6)) | (x << 3)) | y); } } x = _local2 + 2; y = _local1 + 1; if ((((x >= 0) && (x < 8)) && (y >= 0)) && (y < 8)) { if ((chessBoard[x][y] == VOID) || (side != (chessBoard[x][y] & 1))) { _local3.push((((_local2 << 9) | (_local1 << 6)) | (x << 3)) | y); } } } else if (rules.isPawn) { if (side == SIDE_PLAYER) { var possibleEmpassant = false; var i = (_local2 - 1); if (chessBoard[i][_local1] == VOID) { _local3.push((((_local2 << 9) | (_local1 << 6)) | (i << 3)) | _local1); possibleEmpassant = true; } if ((_local2 == 6) && (possibleEmpassant)) { i--; if (chessBoard[i][_local1] == VOID) { _local3.push((((_local2 << 9) | (_local1 << 6)) | (i << 3)) | _local1); } } var x = (_local2 - 1); var y = (_local1 - 1); if (((((x >= 0) && (x < 8)) && (y >= 0)) && (y < 8)) && ((chessBoard[x][y] != VOID) && (side != (chessBoard[x][y] & 1)))) { _local3.push((((_local2 << 9) | (_local1 << 6)) | (x << 3)) | y); } var x = (_local2 - 1); var y = (_local1 + 1); if (((((x >= 0) && (x < 8)) && (y >= 0)) && (y < 8)) && ((chessBoard[x][y] != VOID) && (side != (chessBoard[x][y] & 1)))) { _local3.push((((_local2 << 9) | (_local1 << 6)) | (x << 3)) | y); } // unexpected jump } var possibleEmpassant = false; var i = (_local2 + 1); if (chessBoard[i][_local1] == VOID) { _local3.push((((_local2 << 9) | (_local1 << 6)) | (i << 3)) | _local1); possibleEmpassant = true; } if ((_local2 == 1) && (possibleEmpassant)) { i++; if (chessBoard[i][_local1] == VOID) { _local3.push((((_local2 << 9) | (_local1 << 6)) | (i << 3)) | _local1); } } x = _local2 + 1; y = _local1 - 1; if (((((x >= 0) && (x < 8)) && (y >= 0)) && (y < 8)) && ((chessBoard[x][y] != VOID) && (side != (chessBoard[x][y] & 1)))) { _local3.push((((_local2 << 9) | (_local1 << 6)) | (x << 3)) | y); } x = _local2 + 1; y = _local1 + 1; if (((((x >= 0) && (x < 8)) && (y >= 0)) && (y < 8)) && ((chessBoard[x][y] != VOID) && (side != (chessBoard[x][y] & 1)))) { _local3.push((((_local2 << 9) | (_local1 << 6)) | (x << 3)) | y); } } else { var delta = rules.up; var i = (_local2 - 1); while ((delta > 0) && (i >= 0)) { if ((chessBoard[i][_local1] == VOID) || (side != (chessBoard[i][_local1] & 1))) { _local3.push((((_local2 << 9) | (_local1 << 6)) | (i << 3)) | _local1); } else { break; } if (chessBoard[i][_local1] != VOID) { break; } i--; delta--; } var delta = rules.down; var i = (_local2 + 1); while ((delta > 0) && (i < 8)) { if ((chessBoard[i][_local1] == VOID) || (side != (chessBoard[i][_local1] & 1))) { _local3.push((((_local2 << 9) | (_local1 << 6)) | (i << 3)) | _local1); } else { break; } if (chessBoard[i][_local1] != VOID) { break; } i++; delta--; } var delta = rules.left; var j = (_local1 - 1); while ((delta > 0) && (j >= 0)) { if ((chessBoard[_local2][j] == VOID) || (side != (chessBoard[_local2][j] & 1))) { _local3.push((((_local2 << 9) | (_local1 << 6)) | (_local2 << 3)) | j); } else { break; } if (chessBoard[_local2][j] != VOID) { break; } j--; delta--; } var delta = rules.right; var j = (_local1 + 1); while ((delta > 0) && (j < 8)) { if ((chessBoard[_local2][j] == VOID) || (side != (chessBoard[_local2][j] & 1))) { _local3.push((((_local2 << 9) | (_local1 << 6)) | (_local2 << 3)) | j); } else { break; } if (chessBoard[_local2][j] != VOID) { break; } j++; delta--; } var delta = rules.up_left; var i = (_local2 - 1); var j = (_local1 - 1); while (((delta > 0) && (j >= 0)) && (i >= 0)) { if ((chessBoard[i][j] == VOID) || (side != (chessBoard[i][j] & 1))) { _local3.push((((_local2 << 9) | (_local1 << 6)) | (i << 3)) | j); } else { break; } if (chessBoard[i][j] != VOID) { break; } i--; j--; delta--; } var delta = rules.up_right; var i = (_local2 - 1); var j = (_local1 + 1); while (((delta > 0) && (j < 8)) && (i >= 0)) { if ((chessBoard[i][j] == VOID) || (side != (chessBoard[i][j] & 1))) { _local3.push((((_local2 << 9) | (_local1 << 6)) | (i << 3)) | j); } else { break; } if (chessBoard[i][j] != VOID) { break; } i--; j++; delta--; } var delta = rules.down_left; var i = (_local2 + 1); var j = (_local1 - 1); while (((delta > 0) && (j >= 0)) && (i < 8)) { if ((chessBoard[i][j] == VOID) || (side != (chessBoard[i][j] & 1))) { _local3.push((((_local2 << 9) | (_local1 << 6)) | (i << 3)) | j); } else { break; } if (chessBoard[i][j] != VOID) { break; } i++; j--; delta--; } var delta = rules.down_right; var i = (_local2 + 1); var j = (_local1 + 1); while (((delta > 0) && (j < 8)) && (i < 8)) { if ((chessBoard[i][j] == VOID) || (side != (chessBoard[i][j] & 1))) { _local3.push((((_local2 << 9) | (_local1 << 6)) | (i << 3)) | j); } else { break; } if (chessBoard[i][j] != VOID) { break; } i++; j++; delta--; } } return(_local3); } function checkChessState(side) { var _local1 = side; var _local3; var col; var i = 0; while (i < 8) { var j = 0; while (j < 8) { if (((chessBoard[i][j] & 1) == getOpponent(_local1)) && (chessBoard[i][j] != VOID)) { compMoves = calculateMoves(i, j, getOpponent(_local1)); var _local2 = 0; while (_local2 < compMoves.length) { _local3 = (compMoves[_local2] >> 3) & 7; col = compMoves[_local2] & 7; if (((chessBoard[_local3][col] == KING_W) && (_local1 == SIDE_PLAYER)) || ((chessBoard[_local3][col] == KING_B) && (_local1 == SIDE_COMPUTER))) { if (_local1 == SIDE_PLAYER) { kingInChess(_local3, col, _local1); } return(false); } _local2++; } } j++; } i++; } if (_local1 == SIDE_PLAYER) { var totalMoves = 0; var i = 0; while (i < 8) { var j = 0; while (j < 8) { if (((chessBoard[i][j] & 1) == SIDE_PLAYER) && (chessBoard[i][j] != VOID)) { totalMoves = totalMoves + select(i, j, true); } j++; } i++; } if (totalMoves == 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 _local2 = move; var fPX = ((_local2 >> 9) & 7); var _local3 = (_local2 >> 6) & 7; var lPX = ((_local2 >> 3) & 7); var lPY = (_local2 & 7); var _local1 = " "; if (side == SIDE_COMPUTER) { _local1 = _local1 + "Computer: "; } else { _local1 = _local1 + " You: "; } _local1 = _local1 + letters[_local3]; _local1 = _local1 + (9 - (fPX + 1)); _local1 = _local1 + " - "; _local1 = _local1 + letters[lPY]; _local1 = _local1 + (9 - (lPX + 1)); this.gameHistory.addItemAt(0, _local1, data); this.gameHistory.setSelectedIndex(0); } function do_move(move, side) { var pieceCaptured = VOID; var fPX = ((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) { pieceCaptured = chessBoard[_local2][_local1]; playerScore = playerScore - (chessBoard[_local2][_local1] >> 1); computerScore = computerScore + (chessBoard[_local2][_local1] >> 1); } chessBoard[_local2][_local1] = chessBoard[fPX][_local3]; chessBoard[fPX][_local3] = VOID; return(pieceCaptured); } if (chessBoard[_local2][_local1] != VOID) { pieceCaptured = chessBoard[_local2][_local1]; playerScore = playerScore + (chessBoard[_local2][_local1] >> 1); computerScore = computerScore - (chessBoard[_local2][_local1] >> 1); } chessBoard[_local2][_local1] = chessBoard[fPX][_local3]; chessBoard[fPX][_local3] = VOID; return(pieceCaptured); } function invalidateAll() { var _local3 = _root; var _local2 = 0; while (_local2 < 8) { var _local1 = 0; while (_local1 < 8) { _local3[(("piece_" + _local2) + "_") + _local1].marker.gotoAndStop("disabled"); _local1++; } _local2++; } } function movePlayer() { messages.gotoAndStop(0); resetAllSelection(); checkChessState(SIDE_PLAYER); signal.gotoAndStop("player"); } function moveRealPlayer(move, side) { var _local2 = (move >> 9) & 7; var _local1 = (move >> 6) & 7; var lPX = ((move >> 3) & 7); var _local3 = move & 7; if (pieceSelected == null) { trace("ERROR: no piece selected"); return(undefined); } if ((chessBoard[_local2][_local1] == KING_W) && (chessBoard[lPX][_local3] == ROOK_W)) { trace("rocade"); possibleRocade = false; chessBoard[_local2][_local1] = VOID; chessBoard[lPX][_local3] = VOID; if (_local3 > _local1) { chessBoard[_local2][_local1 + 2] = KING_W; chessBoard[_local2][_local1 + 1] = ROOK_W; _root[(("piece_" + _local2) + "_") + (_local1 + 1)].showPiece(chessBoard[_local2][_local1 + 1]); _root[(("piece_" + _local2) + "_") + (_local1 + 2)].showPiece(chessBoard[_local2][_local1 + 2]); } else { chessBoard[_local2][_local1 - 2] = KING_W; chessBoard[_local2][_local1 - 1] = ROOK_W; _root[(("piece_" + _local2) + "_") + (_local1 - 1)].showPiece(chessBoard[_local2][_local1 - 1]); _root[(("piece_" + _local2) + "_") + (_local1 - 2)].showPiece(chessBoard[_local2][_local1 - 2]); } _root[(("piece_" + lPX) + "_") + _local3].showPiece(chessBoard[lPX][_local3]); _root[(("piece_" + _local2) + "_") + _local1].showPiece(chessBoard[_local2][_local1]); } else { if ((chessBoard[_local2][_local1] == KING_W) || (chessBoard[_local2][_local1] == ROOK_W)) { possibleRocade = false; } var target = chessBoard[lPX][_local3]; if (((target & 1) == SIDE_COMPUTER) && (target != VOID)) { trace("capture the computer piece"); } chessBoard[lPX][_local3] = chessBoard[_local2][_local1]; chessBoard[_local2][_local1] = VOID; _root[(("piece_" + lPX) + "_") + _local3].showPiece(chessBoard[lPX][_local3]); _root[(("piece_" + _local2) + "_") + _local1].showPiece(VOID); } invalidateAll(); if ((lPX == 0) && (chessBoard[lPX][_local3] == PAWN_W)) { trace("promotion"); chessBoard[lPX][_local3] = QUEEN_W; _root[(("piece_" + lPX) + "_") + _local3].showPiece(QUEEN_W); } displayMove(move, SIDE_PLAYER); gotoAndPlay (8); return(undefined); } function moveRealComputer(move) { var fPX = ((move >> 9) & 7); var _local3 = (move >> 6) & 7; var _local1 = (move >> 3) & 7; var _local2 = move & 7; var target = chessBoard[_local1][_local2]; if (((target & 1) == SIDE_PLAYER) && (target != VOID)) { trace("captures the player piece"); } chessBoard[_local1][_local2] = chessBoard[fPX][_local3]; chessBoard[fPX][_local3] = VOID; _root[(("piece_" + _local1) + "_") + _local2].showPiece(chessBoard[_local1][_local2]); _root[(("piece_" + fPX) + "_") + _local3].showPiece(VOID); if ((_local1 == 7) && (chessBoard[_local1][_local2] == PAWN_B)) { trace("promotion"); chessBoard[_local1][_local2] = QUEEN_B; _root[(("piece_" + _local1) + "_") + _local2].showPiece(QUEEN_B); } displayMove(move, SIDE_COMPUTER); movePlayer(); } function resetAllSelection() { var _local3 = _root; var _local2 = 0; while (_local2 < 8) { var _local1 = 0; while (_local1 < 8) { if ((chessBoard[_local2][_local1] == VOID) || ((chessBoard[_local2][_local1] & 1) == SIDE_COMPUTER)) { _local3[(("piece_" + _local2) + "_") + _local1].marker.gotoAndStop("disabled"); } else { _local3[(("piece_" + _local2) + "_") + _local1].marker.gotoAndStop("normal"); } _local1++; } _local2++; } } function select(row, col, real) { var _local1 = row; resetAllSelection(); var _local3 = calculateMoves(_local1, col, SIDE_PLAYER); if (possibleRocade && (real != true)) { if (chessBoard[_local1][col] == KING_W) { var _local2 = col; var adv = true; while (adv) { _local2++; if (chessBoard[_local1][_local2] != VOID) { if (chessBoard[_local1][_local2] == ROOK_W) { if (verifyKingState((((_local1 << 9) | (col << 6)) | (_local1 << 3)) | (col + 2), SIDE_PLAYER)) { _local3[_local3.length] = (((_local1 << 9) | (col << 6)) | (_local1 << 3)) | _local2; } } adv = false; } } _local2 = col; adv = true; while (adv) { _local2--; if (chessBoard[_local1][_local2] != VOID) { if (chessBoard[_local1][_local2] == ROOK_W) { if (verifyKingState((((_local1 << 9) | (col << 6)) | (_local1 << 3)) | (col - 2), SIDE_PLAYER)) { _local3[_local3.length] = (((_local1 << 9) | (col << 6)) | (_local1 << 3)) | _local2; } } } adv = false; } } } var validMoves = new Array(); var i = 0; while (i < _local3.length) { if (verifyKingState(_local3[i], SIDE_PLAYER)) { validMoves[validMoves.length] = _local3[i]; } i++; } if (real != true) { var i = 0; while (i < validMoves.length) { _root[(("piece_" + ((validMoves[i] >> 3) & 7)) + "_") + (validMoves[i] & 7)].marker.gotoAndStop("selectedTo"); i++; } pieceSelected = _root[(("piece_" + _local1) + "_") + col]; } else { return(validMoves.length); } return(undefined); } function kingInChess(rowKing, colKing, side) { trace(" >>>> CHESS " + side); possibleRocade = false; if (side == SIDE_PLAYER) { messages.gotoAndStop("playerChess"); } else { messages.gotoAndStop("computerChess"); } var possibleMoves; var isChessMat = true; var _local3 = 0; while (_local3 < 8) { var _local2 = 0; while (_local2 < 8) { if (((chessBoard[_local3][_local2] & 1) == side) && (chessBoard[_local3][_local2] != VOID)) { possibleMoves = calculateMoves(_local3, _local2, side); disabled = true; var _local1 = 0; while (_local1 < possibleMoves.length) { if (verifyKingState(possibleMoves[_local1], side)) { isChessMat = false; } _local1++; } } _local2++; } _local3++; } if (isChessMat) { loose(side); } } function loose(side) { if (side == SIDE_COMPUTER) { computerLoose(); messages.gotoAndStop(2); } else { playerLoose(); } } function playerLoose() { trace("Player Lost"); invalidateAll(); messages.gotoAndStop(3); stop(); } function search(side, depth, alpha, beta) { var _local2 = side; var bestScore = (-INFINITY); var _local3 = new Array(); var capturedPiece = null; var moveScore; var compMoves; var i = 0; while (i < 8) { var _local1 = 0; while (_local1 < 8) { if (((chessBoard[i][_local1] & 1) == _local2) && (chessBoard[i][_local1] != VOID)) { _local3 = _local3.concat(calculateMoves(i, _local1, _local2)); } _local1++; } i++; } var i = 0; while (i < _local3.length) { capturedPiece = do_move(_local3[i], _local2); if (depth == 0) { moveScore = ((_local2 == SIDE_COMPUTER) ? (computerScore) : (playerScore)); } else { moveScore = -search(getOpponent(_local2), depth - 1, -1 * beta, -1 * alpha); } undo_move(_local3[i], _local2, capturedPiece); if (moveScore > bestScore) { bestScore = moveScore; } if (bestScore > alpha) { alpha = bestScore; } if (alpha >= beta) { return(alpha); } i++; } return(bestScore); } function shuffle(collection) { var _local1 = collection; var nCollection = new Array(); var _local3; var _local2; while (_local1.length != 0) { _local2 = Math.round(Math.random() * (_local1.length - 1)); _local3 = _local1[_local2]; _local1.splice(_local2, 1); nCollection.push(_local3); } return(nCollection); } function getOpponent(side) { if (side == SIDE_PLAYER) { return(SIDE_COMPUTER); } return(SIDE_PLAYER); } function undo_move(move, side, pieceCaptured) { var fPX = ((move >> 9) & 7); var _local3 = (move >> 6) & 7; var _local2 = (move >> 3) & 7; var _local1 = move & 7; if (side == SIDE_COMPUTER) { chessBoard[fPX][_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[fPX][_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 _local2 = side; var capturedPiece; var compMoves; var row; var col; capturedPiece = do_move(move, _local2); var i = 0; while (i < 8) { var _local3 = 0; while (_local3 < 8) { if (((chessBoard[i][_local3] & 1) == getOpponent(_local2)) && (chessBoard[i][_local3] != VOID)) { compMoves = calculateMoves(i, _local3, getOpponent(_local2)); var _local1 = 0; while (_local1 < compMoves.length) { row = (compMoves[_local1] >> 3) & 7; col = compMoves[_local1] & 7; if (((chessBoard[row][col] == KING_W) && (_local2 == SIDE_PLAYER)) || ((chessBoard[row][col] == KING_B) && (_local2 == SIDE_COMPUTER))) { undo_move(move, _local2, capturedPiece); return(false); } _local1++; } } _local3++; } i++; } undo_move(move, _local2, capturedPiece); return(true); } function startNewGame() { loadChessBoard(initBoard); movePlayer(); _root.host.mouth.lips.gotoAndPlay("s1"); _root.robot.righthand.gotoAndPlay("s2"); } 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; initBoard = new Array([ROOK_B, KNIGHT_B, BISSHOP_B, QUEEN_B, KING_B, BISSHOP_B, KNIGHT_B, ROOK_B], [PAWN_B, PAWN_B, PAWN_B, PAWN_B, PAWN_B, PAWN_B, PAWN_B, PAWN_B], [VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID], [VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID], [VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID], [VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID], [PAWN_W, PAWN_W, PAWN_W, PAWN_W, PAWN_W, PAWN_W, PAWN_W, PAWN_W], [ROOK_W, KNIGHT_W, BISSHOP_W, QUEEN_W, KING_W, BISSHOP_W, KNIGHT_W, ROOK_W]); 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(); editModeFlag = false;
Frame 4
MAXDEPTH = 1;
Instance of Symbol 121 MovieClip "piece_3_7" in Frame 6
onClipEvent (load) { }
Instance of Symbol 208 MovieClip "host" in Frame 6
onClipEvent (mouseMove) { lastMouseMove = getTimer(); }
Frame 7
startNewGame(); stop();
Frame 9
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 10
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 11
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 (13); }
Frame 12
undo_move(allPossibleMoves[index], side, capturedPiece); if (moveScore > bestScore) { bestScore = moveScore; bestMove = allPossibleMoves[index]; } if (bestScore > alpha) { alpha = bestScore; } if (alpha >= beta) { gotoAndPlay (13); } index++; gotoAndPlay(_currentframe - 1);
Frame 13
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 1 MovieClip [WindowContent] Frame 1
#initclip 1 WindowContent = function () { }; WindowContent.prototype = new MovieClip(); WindowContent.prototype.loadContent = function (_content) { var _local1 = this; _local1._parent.content_id = _content; var _local2 = new Object(); _local2.windowOwner = _local1.windowOwner; _local2.setTitle = function (title) { this._parent._parent.setTitle(title); }; _local2.closeWindow = function () { this._parent._parent.closeWindow(); }; _local2.createNewWindow = function (content, xlocation, ylocation, modal) { this._parent._parent.createNewWindow(content, xlocation, ylocation, modal); }; _local2.getContent = function () { this._parent._parent.getContent(); }; _local2.bringToFront = function () { this._parent._parent.bringToFront(); }; _local2.getEnabled = function () { this._parent._parent.getEnabled(); }; _local2.getTitle = function () { this._parent._parent.getTitle(); }; _local2.hideWindow = function () { this._parent._parent.hideWindow(); }; _local2.removeWindow = function () { this._parent._parent.removeWindow(); }; _local2.sendToBack = function () { this._parent._parent.sendToBack(); }; _local2.setContent = function (content) { this._parent._parent.setContent(content); }; _local2.setDimensions = function (width, height) { this._parent._parent.setDimensions(width, height); }; _local2.setEnabled = function (flag) { var _local1 = this; var _local2 = flag; for (var _local3 in _local1) { _local1[_local3].setEnabled(_local2); } }; _local2.setPosition = function (x, y) { this._parent._parent.setPosition(x, y); }; _local1.attachMovie(_content, "content", 1, _local2); _local1.content._x = 0; _local1.content._y = 0; _local1.content.onEnterFrame = function () { var _local1 = this; _local1.onWindowInit(); _local1.onWindowFocus(); _local1.onEnterFrame = null; }; _local1._parent.callbackRefresh(_local1.content._width, _local1.content._height); }; WindowContent.prototype.removeContent = function () { this.content.removeMovieClip(); }; WindowContent.prototype.getContent = function () { return(this.content); }; WindowContent.prototype.getListener = function () { return(this._parent.listener); }; Object.registerClass("WindowContent", WindowContent); #endinitclip
Symbol 2 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 5 MovieClip Frame 1
stop();
Symbol 6 MovieClip Frame 1
_root.stop(); movieSize = _root.getBytesTotal();
Symbol 6 MovieClip Frame 2
movieLoaded = _root.getBytesLoaded(); percent = Math.round((movieLoaded / movieSize) * 100); loadbar.gotoAndStop(percent);
Symbol 6 MovieClip Frame 3
if (movieLoaded < movieSize) { gotoAndPlay(_currentframe - 1); }
Symbol 6 MovieClip Frame 4
_root.gotoAndStop(2);
Symbol 10 Button
on (release) { getURL ("http://www.startgames.ws", "_blank"); }
Symbol 56 MovieClip Frame 200
_root.play();
Instance of Symbol 60 MovieClip in Symbol 70 MovieClip Frame 1
onClipEvent (enterFrame) { _rotation = (_rotation + 1); }
Symbol 83 Button
on (release) { _root.select(this._parent.row, this._parent.col); gotoAndStop (3); }
Symbol 85 MovieClip Frame 40
stop();
Symbol 87 Button
on (release) { _root.moveRealPlayer((((_root.pieceSelected.row << 9) | (_root.pieceSelected.col << 6)) | (this._parent.row << 3)) | this._parent.col, _root.SIDE_PLAYER); }
Instance of Symbol 89 MovieClip in Symbol 91 MovieClip Frame 1
onClipEvent (enterFrame) { _rotation = (_rotation + 8); }
Symbol 92 Button
on (release) { _root.deselect(this._parent); _root.gotoAndStop("normal"); }
Symbol 95 Button
on (release) { frame = (_parent._currentframe + 1) % 14; if (frame == 0) { frame = 1; } _parent.gotoAndPlay(frame); }
Symbol 96 MovieClip Frame 1
stop();
Symbol 96 MovieClip Frame 2
stop();
Symbol 96 MovieClip Frame 3
stop();
Symbol 96 MovieClip Frame 4
stop();
Symbol 96 MovieClip Frame 5
stop();
Symbol 121 MovieClip Frame 1
function showPiece(piece) { var _local1 = piece; var _local2 = _root; if (_local1 == _local2.VOID) { gotoAndStop (1); } else if (_local1 == _local2.PAWN_W) { gotoAndStop (2); } else if (_local1 == _local2.KNIGHT_W) { gotoAndStop (3); } else if (_local1 == _local2.ROOK_W) { gotoAndStop (4); } else if (_local1 == _local2.BISSHOP_W) { gotoAndStop (5); } else if (_local1 == _local2.QUEEN_W) { gotoAndStop (6); } else if (_local1 == _local2.KING_W) { gotoAndStop (7); } else if (_local1 == _local2.PAWN_B) { gotoAndStop (8); } else if (_local1 == _local2.KNIGHT_B) { gotoAndStop (9); } else if (_local1 == _local2.ROOK_B) { gotoAndStop (10); } else if (_local1 == _local2.BISSHOP_B) { gotoAndStop (11); } else if (_local1 == _local2.QUEEN_B) { gotoAndStop (12); } else if (_local1 == _local2.KING_B) { gotoAndStop (13); } } piece = _root.VOID; stop();
Symbol 121 MovieClip Frame 2
piece = _root.PAWN_W; stop();
Symbol 121 MovieClip Frame 3
piece = _root.KNIGHT_W; stop();
Symbol 121 MovieClip Frame 4
piece = _root.ROOK_W; stop();
Symbol 121 MovieClip Frame 5
piece = _root.BISSHOP_W; stop();
Symbol 121 MovieClip Frame 6
piece = _root.QUEEN_W; stop();
Symbol 121 MovieClip Frame 7
piece = _root.KING_W; stop();
Symbol 121 MovieClip Frame 8
piece = _root.PAWN_B; stop();
Symbol 121 MovieClip Frame 9
piece = _root.KNIGHT_B; stop();
Symbol 121 MovieClip Frame 10
piece = _root.ROOK_B; stop();
Symbol 121 MovieClip Frame 11
piece = _root.BISSHOP_B; stop();
Symbol 121 MovieClip Frame 12
piece = _root.QUEEN_B; stop();
Symbol 121 MovieClip Frame 13
piece = _root.KING_B; stop();
Symbol 123 MovieClip Frame 40
stop();
Symbol 127 MovieClip Frame 40
stop();
Symbol 128 MovieClip Frame 1
stop();
Symbol 128 MovieClip Frame 2
stop();
Symbol 145 MovieClip Frame 1
stop();
Symbol 145 MovieClip Frame 2
stop(); _root.GameWon(); _root.host.mouth.lips.gotoAndPlay("s7");
Symbol 145 MovieClip Frame 3
stop(); _root.GameLost(); _root.host.mouth.lips.gotoAndPlay("s8");
Symbol 145 MovieClip Frame 4
stop(); _root.host.mouth.lips.gotoAndPlay("s2"); _root.robot.righthand.gotoAndPlay("s2");
Symbol 145 MovieClip Frame 5
stop(); _root.host.mouth.lips.gotoAndPlay("s5");
Symbol 145 MovieClip Frame 6
stop(); _root.host.mouth.lips.gotoAndPlay("s3");
Symbol 145 MovieClip Frame 7
stop();
Symbol 171 MovieClip Frame 1
stop();
Symbol 181 MovieClip Frame 1
stop();
Symbol 182 MovieClip Frame 1
stop();
Symbol 200 MovieClip Frame 1
stop();
Symbol 200 MovieClip Frame 66
gotoAndStop (1);
Symbol 200 MovieClip Frame 141
gotoAndStop (1);
Symbol 200 MovieClip Frame 195
gotoAndStop (1);
Symbol 200 MovieClip Frame 268
gotoAndStop (1);
Symbol 200 MovieClip Frame 350
gotoAndStop (1);
Symbol 200 MovieClip Frame 394
gotoAndStop (1);
Symbol 200 MovieClip Frame 427
gotoAndStop (1);
Symbol 200 MovieClip Frame 460
gotoAndStop (1);
Symbol 202 MovieClip Frame 1
last_x = _parent._parent._xmouse; last_y = _parent._parent._ymouse;
Symbol 202 MovieClip Frame 2
function update() { last_x = _parent._parent._parent._xmouse; last_y = _parent._parent._parent._ymouse; } if (this._parent._parent.is_Gazing) { counter = 0; this._parent._parent.getLookCount(); } else if ((Math.abs(last_x - _parent._parent._parent._xmouse) > 5) || (Math.abs(last_y - _parent._parent._parent._ymouse) > 5)) { counter = 0; if (initiated > 3) { if (_parent._parent.MouseMode) { _parent._parent.setMouseFollow(true); } } _parent._parent.mouseMoved(); update(); } else if (((counter++) > 40) && (_parent._parent.MouseMode)) { counter = 0; _parent._parent.recenter(); update(); } if ((breath++) > 2) { breath = 0; _parent._parent.breathe(); } initiated++;
Symbol 202 MovieClip Frame 3
gotoAndPlay(_currentframe - 1);
Symbol 204 MovieClip Frame 1
function sendMessage(_val) { sending_lc.send("vhss_debug", "showMessage", _val); } function R_Group(name, high, low, varName, saveStr, type) { var _local1 = this; _local1.name = name; _local1.high = high; _local1.low = low; _local1.varName = new String("" + varName); _local1.type = type; _local1.saveStr = saveStr; } function AGE_Group(name, high, _hp) { var _local1 = this; var _local2 = name; _local1.hostPath = _hp; _local1.base = R_Group; _local1.isEnabled = true; _local1.base(_local2, high, 1, _local2, _local2); delete _local1.base; _local1.constructor.prototype.__proto__ = R_Group.prototype; _local1.ar = new Array(); } function AL_Group(name) { var _local1 = this; var _local2 = name; _local1.base = R_Group; _local1.base(_local2, 100, 0, "", _local2); delete _local1.base; _local1.name = _local2; _local1.constructor.prototype.__proto__ = R_Group.prototype; _local1.ar = new Array(); } function C_Group(name) { var _local1 = this; _local1.name = name; _local1.saveStr = name; _local1.ar = new Array(); } function initInterface() { this.acsrLoadedNum = 0; R_Group.prototype.getValue = function () { if ((this.type == 1) || (this.type == 3)) { return(eval (this.varName)._xscale); } if (this.type == 2) { return(eval (this.varName)._yscale); } }; R_Group.prototype.setValue = function (value) { if ((this.type == 1) || (this.type == 3)) { eval (this.varName)._xscale = value; } if ((this.type == 2) || (this.type == 3)) { eval (this.varName)._yscale = value; } if (this.name == "head height") { eval (this.varName)._parent.backhair._yscale = value; } if (this.name == "head width") { eval (this.varName)._parent.backhair._xscale = value; } }; this.r_grp = new GroupsList("range", this); this.r_grp.configHandler = function (configObj) { var _local3 = this; var _local1 = 0; while (_local1 < _local3.ar.length) { var _local2 = _local3.ar[_local1].saveStr; var confVal = ((Number(configObj[_local2]) <= 0) ? 101 : (configObj[_local2])); _local3.ar[_local1].setValue(confVal); _local1++; } }; this.r_grp.travelHandler = function (obj) { var _local1 = this; var _local2 = obj; if (_local2.al_grp != null) { grp_name = _local2.al_grp; if (_local1[grp_name] == null) { _local1[grp_name] = new AL_Group(grp_name); _local1.ar.push(_local1[grp_name]); } _local1[grp_name].ar.push(_local2); } if (_local2.age_grp != null) { grp_name = _local2.age_grp; if (_local1[grp_name] == null) { _local1[grp_name] = new AGE_Group(grp_name, _local2._totalframes, _local1.hostPath); _local1.ar.push(_local1[grp_name]); } _local1[grp_name].ar.push(_local2); } }; this.UI_Models.push(this.r_grp); this.r_grp.ar.push(new R_Group("mouth", 150, 50, this.mouth, "mscale", 3)); this.r_grp.ar.push(new R_Group("nose", 150, 50, this.nose, "nscale", 3)); this.r_grp.ar.push(new R_Group("shoulders", 130, 50, this._parent.body, "bscale", 1)); this.r_grp.ar.push(new R_Group("head height", 125, 75, this, "hyscale", 2)); this.r_grp.ar.push(new R_Group("head width", 125, 75, this, "hxscale", 1)); AGE_Group.prototype.getValue = function () { return(this.ar[0]._currentframe); }; AGE_Group.prototype.setValue = function (value) { var _local1 = this; var _local2 = value; if (_local2 == 101) { _local2 = 1; } i = 0; while (i < _local1.ar.length) { _local1.ar[i].gotoAndStop(_local2); i++; } ftr = 0.3; _local1.hostPath.mouth.tt._yscale = _local1.hostPath.ttyo - ((_local2 * ftr) * 3); _local1.hostPath.mouth.lips._yscale = _local1.hostPath.mouthyo - ((_local2 * ftr) * 3); }; AL_Group.prototype.getValue = function () { return(this.ar[0]._alpha); }; AL_Group.prototype.setValue = function (value) { var _local1 = this; var _local2 = value; if (_local2 == 101) { } else { i = 0; while (i < _local1.ar.length) { _local1.ar[i]._alpha = _local2; i++; } } }; this.mouthyo = this.mouth.lips._yscale; this.ttyo = this.mouth.tt._yscale; } function onFrameChnage(obj, dep) { var _local1 = obj; if ((_local1.lastFrame != _local1._currentframe) || (_local1.counter == 2)) { _local1.counter++; if (_local1.counter == 2) { _local1.gotoAndStop(_local1._currentframe); } else { this.a_grp[dep].setEnabled(_local1[dep]); } } _local1.lastFrame = _local1._currentframe; _local1.stop(); } function loadingDone(_lobj) { this.accessorieLoaded(); } function accessorieLoaded() { var _local1 = this; if ((++_local1.acsrLoadedNum) == _local1.acsrNum) { _local1.ConfigHost(_local1.configObj); } } function getHostVolume() { return(this.hostVolume); } function setHostVolume(_hostVolume) { _root.utils.debug = " HOST setHostVolume " + _hostVolume; this.sound.setHostVolume(_hostVolume); } function freeze() { var _local1 = this; _local1.isFrozen = true; _local1.sound.freeze(); _local1.stop(); _local1.engine.mouseListener.stop(); } function resume() { var _local1 = this; _local1.isFrozen = false; _local1.sound.resume(); _local1.moveToTarget(); _local1.engine.mouseListener.play(); } function resumeLook() { var _local1 = this; _local1.lookAt(_local1.last_posx, _local1.last_posy); } function lookAt(posx, posy) { var _local1 = this; if ((!_local1.last_posx) || (!_local1.last_posy)) { } else { _local1.last_posx = posx; _local1.last_posy = posy; var _local2 = new Object(); _local2.x = _local1.browl._x; _local2.y = _local1.browr._y; localToGlobal(_local1.point); _local1.setLookTarget(posx - _local2.x, posy - _local2.y); _local1.newTarget = 1; } } function look() { var _local1 = this; _local1.setLookTarget(_local1.look_x, _local1.look_y); _local1.moveToTarget(); } function initColor() { var _local1 = this; function C_Group(name) { var _local1 = this; _local1.name = name; _local1.saveStr = name; _local1.ar = new Array(); } function mouthColor(name) { super(name); } var _loc1 = _local1; _loc1.c_grp = new GroupsList("color"); _loc1.c_grp.travelHandler = function (obj) { var _local1 = obj; if (_local1.c_grp != null) { this.addGroupMember(_local1, _local1.c_grp); } }; _loc1.c_grp.addGroupMember = function (in_obj, in_name) { var _local1 = this; grp_name = in_name; if (_local1[grp_name] == null) { _local1[grp_name] = new C_Group(grp_name); _local1.ar.push(_local1[grp_name]); } _local1[grp_name].ar.push(in_obj); }; c_grp.configHandler = function (configObj) { var _local1 = 0; while (_local1 < this.ar.length) { var _local2 = this.ar[_local1].name; var tmp_bb = getColorVal(_local2, "b", configObj); var _local3 = getColorVal(_local2, "r", configObj); var tmp_gb = getColorVal(_local2, "g", configObj); if (((tmp_bb == "") || (_local3 == "")) || (tmp_gb == "")) { } else { tmpCT = {bb:tmp_bb, rb:_local3, gb:tmp_gb}; this.ar[_local1].setColor(tmpCT); } _local1++; } }; _loc1.UI_Models.push(_loc1.c_grp); C_Group.prototype.setColor = function (transObj) { var _local1 = transObj; var _local2 = this; i = 0; while (i < _local2.ar.length) { tmpClr = new Color(_local2.ar[i]); tmpClr.setTransform({rb:_local1.rb, gb:_local1.gb, bb:_local1.bb}); i++; } }; C_Group.prototype.getColor = function () { tmpColor = new Color(this.ar[0]); return(tmpColor.getTransform()); }; mouthColor.prototype = new C_Group(); } function A_Group(name) { this.constructor.prototype.__proto__ = R_Group.prototype; this.ar = new Object(); } function initAcc(target) { var _local1 = this; _local1.a_grp = new _local1.GroupsList("accessories"); _local1.a_grp.listener = target; var _local2 = new String(_parent._url); index = _local2.lastIndexOf("/"); if ((_local1.rootURL.lastIndexOf("file") == 0) && (index == 6)) { _local1.rootURL = ""; } else { _local1.rootURL = _local1.rootURL.substring(0, index + 1); } _local1.a_grp.travelHandler = function (obj) { var _local1 = this; var _local2 = obj; if (_local2.a_grp != null) { grp_name = _local2.a_grp; if (_local1[grp_name] == null) { _local1[grp_name] = new A_Group(grp_name); _local1.ar.push(_local1[grp_name]); } else if (_local1[grp_name].high == -1) { _local1[grp_name].high = _local1.map[grp_name].items.length; } _local1[grp_name].ar[_local2.type] = _local2; } }; _local1.UI_Models.push(_local1.a_grp); } function initSpeechAPI() { this.talkListeners = new Array(); addTalkListener(_parent._parent); addTalkListener(_parent._parent._parent); } function talkStarted() { var _local2 = this; _local2.talkingFlag = 1; (((_parent._parent._parent._parent.fv >= 6) && (_parent._parent._parent._parent.is_ie != 1)) ? (getURL (("javascript:VHSS_DoFSCommand('talkStarted', '" + _local2) + "');")) : (fscommand ("talkStarted", _local2))); _local2.moveToTarget(); _local2.OnSpeechEvent(); var _local1 = 0; while (_local1 < _local2.talkListeners.length) { _local2.talkListeners[_local1].talkStarted(_local2); _local1++; } } function wordEnded() { var _local2 = this; var _local1 = 0; while (_local1 < _local2.talkListeners.length) { _local2.talkListeners[_local1].wordEnded(); _local1++; } } function addTalkListener(obj) { var _local2 = this; var _local3 = obj; var _local1 = 0; while (_local1 < _local2.talkListeners.length) { if (_local2.talkListeners[_local1] == _local3) { return; } _local1++; } if (_local2.talkListeners.length <= 0) { _local2.talkListeners = new Array(); } _local2.talkListeners.push(_local3); } function DoneTalking(obj) { var _local2 = this; (((_parent._parent._parent._parent.fv >= 6) && (_parent._parent._parent._parent.is_ie != 1)) ? (getURL (("javascript:VHSS_DoFSCommand('talkEnded', '" + _local2) + "');")) : (fscommand ("talkEnded", _local2))); var _local1 = 0; while (_local1 < _local2.talkListeners.length) { _local2.talkListeners[_local1].talkEnded(); _local1++; } _local2.talkingFlag = 0; _local2.moveDelta = 0.5; _local2._parent._parent.doneTalking(obj); } function speechDownloadStarted(speechMc) { var _local2 = this; var _local3 = speechMc; var _local1 = 0; while (_local1 < _local2.talkListeners.length) { _local2.talkListeners[_local1].speechDownloadStarted(_local3); _local1++; } } function talk() { var _local1 = this; if (_local1._parent.voice.length > 0) { _local1.say(_local1._parent.voice); } } function replaySpeech() { this.talk(); } function stopSpeech() { this.sound.stopSound(); } function doMain() { function GroupsList(type, hostPath) { var _local1 = this; _local1.ar = new Array(); _local1.type = type; _local1.hostPath = hostPath; } var _local1 = this; _local1.neck = _local1._parent.body.neck; _local1.backhair = _local1._parent.backhair; _local1.hairback = _local1._parent.hairback; _local1.g_mouseMode = false; _local1.is_Gazing = 0; _local1.xBound = 300; _local1.yBound = 100; _local1.eyeFactorX = 25; _local1.eyeFactorY = 13; _local1.crack = 0.5; _local1.speed = 8; _local1.breathspeed = 0.5; _local1.breathSign = 1; _local1.count = 10; _local1.checkcount = 1; _local1.eyes_scale = 100; _local1.nose_scale = 100; _local1.mouth_scale = 100; _local1.UI_Models = new Array(); _local1.initColor(); _local1.initAcc(_local1); _local1.initInterface(); _local1.initSpeechAPI(); _local1.em = 0.67; _local1.diff = 1; _local1.faceLX = _local1.facel._x; _local1.faceRX = _local1.facer._x; _local1.faceLY = _local1.facel._y; _local1.faceRY = _local1.facer._y; _local1.maxX = 27; _local1.minX = 20; _local1.maxY = 6; _local1.minY = 0; _local1.eyeLX = _local1.eyel._x; _local1.eyeRX = _local1.eyer._x; _local1.eyebLX = _local1.eyel.ball._x; _local1.eyeLY = _local1.eyel._y; _local1.eyeRY = _local1.eyer._y; _local1.eyebLY = _local1.eyel.ball._y; _local1.eyeX = 0; _local1.eyeY = 0; _local1.eyeTX = 0; _local1.eyeTY = 0; _local1.eyeMaxX = 12; _local1.eyeMaxY = 3; _local1.browLX = _local1.browl._x; _local1.browRX = _local1.browr._x; _local1.noseX = _local1.nose._x; _local1.mouthX = _local1.mouth._x; _local1.browLY = _local1.browl._y; _local1.browRY = _local1.browr._y; _local1.noseY = _local1.nose._y; _local1.mouthY = _local1.mouth._y; _local1.hairLX = _local1.hairl._x; _local1.hairRX = _local1.hair_r._x; _local1.hairLY = _local1.hairl._y; _local1.hairRY = _local1.hair_r._y; _local1.hairBX = _local1.backhair._x; _local1.neckH = _local1.neck._yscale; _local1.hostCounter = 100; _local1.initiated = 0; _local1.gotoAndPlay(_local1._currentframe + 1); } function init() { var _local1 = this; if (_local1._parent.conf_str.length > 0) { _local1.configFromString(_local1._parent.conf_str); } else { var _local2 = new Object(); _local1.ConfigHost(_local2); } } function ConfigFromFile(id, ConfigURL) { if ((Number(id) > 0) && (eval ("host_" + id)._totalframes > 0)) { this.ConfigHost(eval ("host_" + id)); return(undefined); } this.config.loadVariables(unescape(ConfigURL)); } function configFromString(_strin) { _strin = unescape(_strin); var _local3 = _strin.split("&"); var _local1 = 0; while (_local1 < _local3.length) { var _local2 = _local3[_local1].split("="); this.config[_local2[0]] = _local2[1]; _local1++; } this.ConfigHost(this.config); } function ConfigHost(_configObj) { var _local1 = this; _local1.configObj = _configObj; if (_local1.configObj.age == undefined) { _local1.configObj.age = 1; } _local1.a_grp.configHandler(_local1.configObj); _local1.c_grp.configHandler(_local1.configObj); _local1.r_grp.configHandler(_local1.configObj); if (_local1.configObj.voice.length > 0) { _local1.recenter(); _local1.say(_local1.configObj.voice); } _local1._parent._visible = 1; _local1._parent.configDone(); } function travel(obj, level) { for (var p in obj) { if (((typeof(eval ((obj + ".") + p)) == "movieclip") && (p != "sound")) && (p != "engine")) { this.travel(eval ((obj + ".") + p), level + 1); } } if (obj != this) { this.c_grp.travelHandler(obj); this.a_grp.travelHandler(obj); this.r_grp.travelHandler(obj); } } function getColorVal(name, type, configObj) { var _local2 = name; var _local1 = configObj; var _local3 = (Number(_local1[_local2 + type.toUpperCase()]) ? (_local1[_local2 + type.toUpperCase()]) : (_local1[(("c_" + _local2) + "_") + type])); return(_local3); } function say(tt, _tin) { this.sound.singleSound(tt, _tin); this.g_mouseMode = false; } function saySilent(init_time) { this.sound.startBlabbing(init_time); } function setMouthPath(in_path) { this.mouth.acc_mouth = in_path; } function setMouseFollow(mode) { var _local1 = this; if (mode && (_local1.sound.busy)) { return(0); } _local1.g_mouseMode = mode; return(_local1.g_mouseMode); } function FollowCursor(_mode) { this.setMouseMode(_mode); } function getFollowCursor() { return(this.mouseMode); } function setMouseMode(_mode) { this.mouseMode = _mode; this.setMouseFollow(_mode); } function setGaze(_deg, _dur, _rad) { var _local1 = this; _local1.lookDur = parseInt(_dur); if (_rad != null) { _local1.lookRad = _rad; } _local1.lookDeg = parseInt(_deg); _local1.gazeHere(); } function getGaze() { return(this.is_Gazing); } function gazeHere() { var _local1 = this; if (((!_local1.sound.busy) && (Math.floor(_local1.lookDur) > 0)) && (Math.floor(_local1.lookDeg) >= 0)) { var _local2 = ((((parseInt(_local1.lookRad) > 100) || (_local1.lookRad == "")) || (_local1.lookRad == null)) ? (yBound) : (parseInt(_local1.lookRad))); if (_local2 < 0) { _local2 = 0; } var _local3 = ((parseInt(_local1.lookDeg) + 270) % 360) * 0.01745329; var _xpos = (Math.cos(_local3) * (_local2 * 3)); var _ypos = (Math.sin(_local3) * _local2); _local1.setLookTarget(_xpos, _ypos); _local1.lookEnd = getTimer() + (parseInt(_local1.lookDur) * 1000); _local1.is_Gazing = 1; _local1.moveToTarget(); } } function getLookCount() { var _local1 = this; if (_local1.sound.busy) { _local1.is_Gazing = 0; } else if (_local1.is_Gazing && (_local1.lookEnd < getTimer())) { _local1.is_Gazing = 0; } } function recenter() { var _local1 = this; _local1.g_mouseMode = 0; if (!_local1.sound.busy) { _local1.ddx = (_local1.ddy = 0); } _local1.is_recenter = 0; _local1.moveToTarget(); } function setLookTarget(xpos, ypos) { var _local1 = this; _local1.ddx = Math.max(-_local1.xBound, Math.min(_local1.xBound, xpos * 2)); _local1.ddy = Math.max(-_local1.yBound, Math.min(_local1.yBound, ypos * 2)); } function moveToTarget() { this.gotoAndPlay(4); } function mouseMoved() { var _local1 = this; if ((_local1.resting == 1) && (_local1.g_mouseMode == 1)) { _local1.moveToTarget(); } } function thrustRandom() { this.setLookTarget(random(yBound * 2) - yBound, random(yBound * 2) - yBound); this.moveToTarget(); } function smile() { this.mouth.gotoAndStop(12); } function unsmile() { this.mouth.gotoAndStop(1); } function breathe() { var _local1 = this; if (_local1.breath > 5) { _local1.breathSign = (_local1.sound.busy ? -1 : -0.5); } else if (_local1.breath < 0) { _local1.breathSign = (_local1.sound.busy ? 1 : 0.5); } _local1.breath = _local1.breath + (_local1.breathspeed * _local1.breathSign); _local1.neckzoom = 100 + _local1.breath; _local1.neck._yscale = _local1.neckH + _local1.breath; } function loopback() { if (this._currentframe == 6) { this.moveToTarget(); } } function doAnim() { var _local1 = this; _local1.resting = 0; if (_local1.doThrust && (!_local1.is_recenter)) { _local1.thrustRandom(); _local1.doThrust = false; } else if (_local1.g_mouseMode && (!_local1.is_Gazing)) { _local1.mousex = _local1._xmouse; _local1.mousey = _local1.eyer._ymouse; _local1.ddy = ((Math.abs(_local1.mousey) > (_local1.yBound / 2)) ? (((_local1.mousey > 0) ? (_local1.yBound) : (-_local1.yBound))) : (_local1.mousey * 2)); _local1.ddx = ((Math.abs(_local1.mousex) > (_local1.xBound / 2)) ? (((_local1.mousex > 0) ? (_local1.xBound) : (-_local1.xBound))) : (_local1.mousex * 2)); } _local1.ty = _local1.ddy / 10; _local1.tilt = (_local1.ddy * _local1.ddx) / 4000; _local1.tx = _local1.ddx / 5; _local1.ttx = _local1.tx + (_local1.crack * ((random(10) < 3) ? (random(11) - 5) : 0)); _local1.minX = (_local1.ttx - _local1.bx) / _local1.speed; _local1.ty = Math.max(Math.min(_local1.ty, 5), -3); _local1.minY = (_local1.ty - _local1.yb) / _local1.speed; _local1.yb = _local1.yb + _local1.minY; _local1.y = _local1.yb; _local1.ymult = ((_local1.y < 0) ? -0.5 : 0.5); _local1.y = Math.min(Math.abs(_local1.y), _local1.maxY); if ((Math.abs(_local1.minX) < _local1.diff) && (Math.abs(_local1.minY) < (_local1.diff / 4))) { if (_local1.is_Gazing) { _local1.gotoAndStop(9); _local1.resting = 1; } else if (_local1.g_mouseMode) { _local1.gotoAndStop(9); _local1.resting = 1; } else if (_local1.is_recenter) { _local1.is_recenter = 0; _local1.gotoAndStop(9); _local1.resting = 1; } else if (_local1.MouseMode) { _local1.is_recenter = 1; _local1.diff = 1; _local1.ddy = 0; _local1.ddx = 0; } } _local1.bx = _local1.bx + _local1.minX; _local1.xmult = ((_local1.bx < 0) ? -1 : 1); _local1.x = Math.min(Math.abs(_local1.bx), _local1.maxX); _local1.xz = _local1.maxX - (((_local1.maxX - _local1.x) * (_local1.maxX - _local1.x)) / _local1.maxX); if (_local1.xmult >= 0) { _local1.xr = _local1.xz * 0.8; _local1.xl = _local1.xz; } else { _local1.xl = (-_local1.xz) * 0.8; _local1.xr = -_local1.xz; _local1.xz = -_local1.xz; } _local1.facel._x = _local1.xl + _local1.faceLX; _local1.facer._x = _local1.xr + _local1.faceRX; _local1.hairl._x = _local1.xl + _local1.hairLX; _local1.hair_r._x = _local1.xr + _local1.hairRX; _local1.eyel._x = (_local1.xl * _local1.em) + _local1.eyeLX; _local1.eyer._x = (_local1.xr * _local1.em) + _local1.eyeRX; _local1.browl._x = (_local1.xl * _local1.em) + _local1.browLX; _local1.browr._x = (_local1.xr * _local1.em) + _local1.browRX; _local1.nose._x = (_local1.xz * _local1.em) + _local1.noseX; _local1.mouth._x = (_local1.xz * _local1.em) + _local1.mouthX; _local1.backhair._x = _local1.hairbx - (_local1.xl / 5); _local1.sl = 100 + ((_local1.xl * 30) / _local1.maxX); _local1.sr = 100 - ((_local1.xr * 30) / _local1.maxX); _local1.facel._xscale = (_local1.hairl._xscale = _local1.sl); _local1.hair_r._xscale = (_local1.facer._xscale = _local1.sr); _local1.hairback._xscale = (_local1.sl + _local1.sr) / 2; _local1.yz = _local1.y * ((_local1.y / _local1.maxY) - 2); _local1.yl = _local1.yz * _local1.ymult; _local1.moveheady = _local1.yb; _local1.eb = _local1.yl * 0.35; _local1.eyel._y = _local1.eyeLY - (_local1.yl + (_local1.eb * 2)); _local1.eyer._y = _local1.eyeRY - (_local1.yl + (_local1.eb * 2)); _local1.browl._y = _local1.browLY - (_local1.yl + _local1.eb); _local1.browr._y = _local1.browRY - (_local1.yl + _local1.eb); _local1.nose._y = _local1.noseY - (_local1.yl + (_local1.eb * 2)); _local1.mouth._y = _local1.mouthY - (_local1.yl + (_local1.eb * 2)); _local1.jj = 100 - ((_local1.yl * 8) / _local1.maxY); _local1.facel._yscale = _local1.jj; _local1.facer._yscale = _local1.jj; _local1.hairl._yscale = _local1.jj; _local1.hair_r._yscale = _local1.jj; _local1.eyeheight = 100 - Math.abs(_local1.yz); _local1.eyel._yscale = _local1.eyeheight; _local1.eyer._yscale = _local1.eyeheight; _local1._rotation = _local1._rotation + ((_local1.tilt - _local1._rotation) / 4); _local1.backhair._rotation = _local1._rotation / 1.5; _local1.hairback._rotation = _local1._rotation; if ((!_local1.sound.busy) && (!_local1.talkingFlag)) { _local1.eyeTX = _local1.ddx / _local1.eyeFactorX; _local1.eyeTY = _local1.ddy / _local1.eyeFactorY; _local1.eyeX = _local1.eyeX + ((_local1.eyeTX - _local1.eyeX) / 3); _local1.eyeY = _local1.eyeY + ((_local1.eyeTY - _local1.eyeY) / 3); _local1.eyeXl = _local1.eyeX - (_local1.xl / 7); _local1.eyeXr = _local1.eyeX - (_local1.xr / 7); if (_local1.eyeXl < (-_local1.eyeMaxX)) { _local1.eyeXl = -_local1.eyeMaxX; } if (_local1.eyeXl > _local1.eyeMaxX) { _local1.eyeXl = _local1.eyeMaxX; } if (_local1.eyeXr > _local1.eyeMaxX) { _local1.eyeXr = _local1.eyeMaxX; } if (_local1.eyeXr < (-_local1.eyeMaxX)) { _local1.eyeXr = -_local1.eyeMaxX; } _local1.eyeYY = _local1.eyebLY + ((Math.abs(_local1.eyeY - _local1.yl) > _local1.eyeMaxY) ? ((((_local1.eyeY - _local1.yl) > 0) ? (_local1.eyeMaxY) : (-_local1.eyeMaxY))) : (_local1.eyeY - _local1.yl)); _local1.eyel.ball._x = (-_local1.eyeXr) + _local1.eyebLX; _local1.eyer.ball._x = _local1.eyeXl + _local1.eyebLX; _local1.eyer.ball._y = _local1.eyeYY; _local1.eyel.ball._y = _local1.eyeYY; } else { _local1.eyel.ball._x = _local1.xl / 7; _local1.eyer.ball._x = (-_local1.xl) / 7; _local1.eyer.ball._y = (_local1.eyel.ball._y = 0); _local1.eyeTX = 0; _local1.eyeX = 0; _local1.eyeTY = 0; _local1.eyeY = 0; } if (!_local1.initiated) { _local1.initiated = 1; _local1.travel(_local1, 0); _local1.breathe(); _local1.MouseMode = true; _local1.init(); if (_local1._parent.voice.length > 0) { _local1.say(_local1._parent.voice); } if (_local1._parent._parent != _root) { _local1._parent._parent.hostLoaded(_local1); } } } function OnSpeechEvent() { var _local1 = this; if (_local1.sound.puase) { _local1.tbrowframe = 5; } if (_local1.sound.newWord || ((!_local1.doThrust) && (_local1.lastthrust > 10))) { _local1.lastthrust = random(6); _local1.doThrust = true; } _local1.lastthrust++; if (_local1.sound.newWord) { if (random(10) <= 4) { _local1.tbrowframe = 5; } else if (random(10) > 3) { _local1.tbrowframe = 10; } else { _local1.tbrowframe = 1; } } _local1.browframe = _local1.browframe + ((_local1.tbrowframe - _local1.browframe) / 3); if (Math.abs(_local1.tbrowframe - _local1.browframe) < 0.5) { _local1.browframe = _local1.tbrowframe; } _local1.browl.shading.gotoAndStop(int(_local1.browframe)); _local1.browr.shading.gotoAndStop(int(_local1.browframe)); _local1.browl.hair.gotoAndStop(int(_local1.browframe)); _local1.browr.hair.gotoAndStop(int(_local1.browframe)); } function notifyLoadDone(obj) { var _local1 = this; _local1.loadCount++; if (_local1.loadCount == 1) { if (_local1._parent.no_sound_engine == 1) { _local1.gotoAndStop(3); } else { _local1.soundLoaded = 1; _local1.sound.loadMovie(soundEngineV3.swf); } } else if (_local1.loadCount == 2) { if (_local1._parent.no_sound_engine == 1) { _local1.se_listener.soundEngineLoaded(); } else { _local1.gotoAndStop(3); } } } function loadSoundEngine(_cb) { var _local1 = this; _local1.se_listener = _cb; _local1.sound.loadMovie(soundEngineV3.swf); } if (_global.oddcast == undefined) { _global.oddcast = new Object(); } if (_global.oddcast.engine == undefined) { _global.oddcast.engine = new Object(); } _global.sending_lc = new LocalConnection(); sending_lc.send("vhss_debug", "clearMessage"); A_Group.prototype.getValue = function () { return(this.ar[0]._currentframe); }; A_Group.prototype.setValue = function (value, target) { var _local2 = this; var _local1 = value; var _local3 = target; i = 0; while (i < _local2.ar.length) { accH = _local2.ar[i]; if (accH[_local1] == undefined) { _local2.ar[i].acl.duplicateMovieClip(_local1); tmpItem = accH[_local1]; tmpItem.listener = _local3; _local3.counter++; tmpItem.holder.loadMovie(((((_local3.map.baseUrl + _local2.name) + accH.type) + "/") + _local1) + ".swf"); } i++; } }; var tbrowframe = 5; var browframe = 5; eyes = this._parent.eyes; eyes.setNextEye = function () { var _local1 = this; if (_local1.processingFR) { _local1.fr = makeFR(); _local1.dif = fr - Math.round(fr / 3); _local1.br = fr + dif; _local1.processingFR = 0; } else if (_local1.br == null) { _local1.getFR(); return; } if ((!_parent.isFrozen) && (!_parent._parent.isFrozen)) { if (_local1._parent.eyer.sock._currentframe == 3) { _local1._parent.eyer.sock.gotoAndStop(1); _local1._parent.eyel.sock.gotoAndStop(1); } else if ((_local1.eyeCounter++) == _local1.br) { _local1.eyeCounter = random(_local1.dif); _local1._parent.eyer.sock.gotoAndStop(3); _local1._parent.eyel.sock.gotoAndStop(3); } } else { _local1._parent.eyer.sock.gotoAndStop(1); _local1._parent.eyel.sock.gotoAndStop(1); } }; eyes.getFR = function () { this.processingFR = 1; this.ct = getTimer(); }; eyes.makeFR = function () { var _local1 = getTimer(); return(Math.round((this._parent.eyes._totalframes * 1000) / (_local1 - ct))); }; this._parent._parent.configDone = function () { var _local1 = this; _local1._parent.configDone(_local1.host); fscommand ("ConfigDone", 1); }; this._parent._parent.donetalking = function () { this._parent.donetalking(this); }; this._parent._parent.loadSoundEngine = function (_cb) { this.host.loadSoundEngine(_cb); }; this._visible = 0; for (var f in this) { if (typeof(eval (f)) == "function") { _parent[f] = this[f]; } } _parent.notifyLoadDone(this); stop();
Instance of Symbol 203 MovieClip "config" in Symbol 204 MovieClip Frame 1
onClipEvent (data) { _parent._parent.ConfigHost(this); }
Symbol 204 MovieClip Frame 2
_parent.look();
Symbol 204 MovieClip Frame 7
_parent.talk();
Symbol 204 MovieClip Frame 12
_parent.recenter();
Symbol 204 MovieClip Frame 19
_parent.stopSpeech();
Symbol 204 MovieClip Frame 28
_parent.setMouseMode(_parent.mouseMode);
Symbol 205 MovieClip Frame 1
last_x = _parent._parent._xmouse; last_y = _parent._parent._ymouse;
Symbol 205 MovieClip Frame 2
function update() { last_x = _parent._parent._parent._xmouse; last_y = _parent._parent._parent._ymouse; } if (this._parent._parent.is_Gazing) { counter = 0; this._parent._parent.getLookCount(); } else if ((Math.abs(last_x - _parent._parent._parent._xmouse) > 5) || (Math.abs(last_y - _parent._parent._parent._ymouse) > 5)) { counter = 0; if (initiated > 3) { if (_parent._parent.MouseMode) { _parent._parent.setMouseFollow(true); } } _parent._parent.mouseMoved(); update(); } else if (((counter++) > 40) && (_parent._parent.MouseMode)) { counter = 0; _parent._parent.recenter(); update(); } if ((breath++) > 2) { breath = 0; _parent._parent.breathe(); } initiated++;
Symbol 205 MovieClip Frame 3
gotoAndPlay(_currentframe - 1);
Symbol 207 MovieClip Frame 1
function sendMessage(_val) { sending_lc.send("vhss_debug", "showMessage", _val); } function R_Group(name, high, low, varName, saveStr, type) { var _local1 = this; _local1.name = name; _local1.high = high; _local1.low = low; _local1.varName = new String("" + varName); _local1.type = type; _local1.saveStr = saveStr; } function AGE_Group(name, high, _hp) { var _local1 = this; var _local2 = name; _local1.hostPath = _hp; _local1.base = R_Group; _local1.isEnabled = true; _local1.base(_local2, high, 1, _local2, _local2); delete _local1.base; _local1.constructor.prototype.__proto__ = R_Group.prototype; _local1.ar = new Array(); } function AL_Group(name) { var _local1 = this; var _local2 = name; _local1.base = R_Group; _local1.base(_local2, 100, 0, "", _local2); delete _local1.base; _local1.name = _local2; _local1.constructor.prototype.__proto__ = R_Group.prototype; _local1.ar = new Array(); } function C_Group(name) { var _local1 = this; _local1.name = name; _local1.saveStr = name; _local1.ar = new Array(); } function initInterface() { this.acsrLoadedNum = 0; R_Group.prototype.getValue = function () { if ((this.type == 1) || (this.type == 3)) { return(eval (this.varName)._xscale); } if (this.type == 2) { return(eval (this.varName)._yscale); } }; R_Group.prototype.setValue = function (value) { if ((this.type == 1) || (this.type == 3)) { eval (this.varName)._xscale = value; } if ((this.type == 2) || (this.type == 3)) { eval (this.varName)._yscale = value; } if (this.name == "head height") { eval (this.varName)._parent.backhair._yscale = value; } if (this.name == "head width") { eval (this.varName)._parent.backhair._xscale = value; } }; this.r_grp = new GroupsList("range", this); this.r_grp.configHandler = function (configObj) { var _local3 = this; var _local1 = 0; while (_local1 < _local3.ar.length) { var _local2 = _local3.ar[_local1].saveStr; var confVal = ((Number(configObj[_local2]) <= 0) ? 101 : (configObj[_local2])); _local3.ar[_local1].setValue(confVal); _local1++; } }; this.r_grp.travelHandler = function (obj) { var _local1 = this; var _local2 = obj; if (_local2.al_grp != null) { grp_name = _local2.al_grp; if (_local1[grp_name] == null) { _local1[grp_name] = new AL_Group(grp_name); _local1.ar.push(_local1[grp_name]); } _local1[grp_name].ar.push(_local2); } if (_local2.age_grp != null) { grp_name = _local2.age_grp; if (_local1[grp_name] == null) { _local1[grp_name] = new AGE_Group(grp_name, _local2._totalframes, _local1.hostPath); _local1.ar.push(_local1[grp_name]); } _local1[grp_name].ar.push(_local2); } }; this.UI_Models.push(this.r_grp); this.r_grp.ar.push(new R_Group("mouth", 150, 50, this.mouth, "mscale", 3)); this.r_grp.ar.push(new R_Group("nose", 150, 50, this.nose, "nscale", 3)); this.r_grp.ar.push(new R_Group("shoulders", 130, 50, this._parent.body, "bscale", 1)); this.r_grp.ar.push(new R_Group("head height", 125, 75, this, "hyscale", 2)); this.r_grp.ar.push(new R_Group("head width", 125, 75, this, "hxscale", 1)); AGE_Group.prototype.getValue = function () { return(this.ar[0]._currentframe); }; AGE_Group.prototype.setValue = function (value) { var _local1 = this; var _local2 = value; if (_local2 == 101) { _local2 = 1; } i = 0; while (i < _local1.ar.length) { _local1.ar[i].gotoAndStop(_local2); i++; } ftr = 0.3; _local1.hostPath.mouth.tt._yscale = _local1.hostPath.ttyo - ((_local2 * ftr) * 3); _local1.hostPath.mouth.lips._yscale = _local1.hostPath.mouthyo - ((_local2 * ftr) * 3); }; AL_Group.prototype.getValue = function () { return(this.ar[0]._alpha); }; AL_Group.prototype.setValue = function (value) { var _local1 = this; var _local2 = value; if (_local2 == 101) { } else { i = 0; while (i < _local1.ar.length) { _local1.ar[i]._alpha = _local2; i++; } } }; this.mouthyo = this.mouth.lips._yscale; this.ttyo = this.mouth.tt._yscale; } function onFrameChnage(obj, dep) { var _local1 = obj; if ((_local1.lastFrame != _local1._currentframe) || (_local1.counter == 2)) { _local1.counter++; if (_local1.counter == 2) { _local1.gotoAndStop(_local1._currentframe); } else { this.a_grp[dep].setEnabled(_local1[dep]); } } _local1.lastFrame = _local1._currentframe; _local1.stop(); } function loadingDone(_lobj) { this.accessorieLoaded(); } function accessorieLoaded() { var _local1 = this; if ((++_local1.acsrLoadedNum) == _local1.acsrNum) { _local1.ConfigHost(_local1.configObj); } } function getHostVolume() { return(this.hostVolume); } function setHostVolume(_hostVolume) { _root.utils.debug = " HOST setHostVolume " + _hostVolume; this.sound.setHostVolume(_hostVolume); } function freeze() { var _local1 = this; _local1.isFrozen = true; _local1.sound.freeze(); _local1.stop(); _local1.engine.mouseListener.stop(); } function resume() { var _local1 = this; _local1.isFrozen = false; _local1.sound.resume(); _local1.moveToTarget(); _local1.engine.mouseListener.play(); } function resumeLook() { var _local1 = this; _local1.lookAt(_local1.last_posx, _local1.last_posy); } function lookAt(posx, posy) { var _local1 = this; if ((!_local1.last_posx) || (!_local1.last_posy)) { } else { _local1.last_posx = posx; _local1.last_posy = posy; var _local2 = new Object(); _local2.x = _local1.browl._x; _local2.y = _local1.browr._y; localToGlobal(_local1.point); _local1.setLookTarget(posx - _local2.x, posy - _local2.y); _local1.newTarget = 1; } } function look() { var _local1 = this; _local1.setLookTarget(_local1.look_x, _local1.look_y); _local1.moveToTarget(); } function initColor() { var _local1 = this; function C_Group(name) { var _local1 = this; _local1.name = name; _local1.saveStr = name; _local1.ar = new Array(); } function mouthColor(name) { super(name); } var aaa1 = _local1; aaa1.c_grp = new GroupsList("color"); aaa1.c_grp.travelHandler = function (obj) { var _local1 = obj; if (_local1.c_grp != null) { this.addGroupMember(_local1, _local1.c_grp); } }; aaa1.c_grp.addGroupMember = function (in_obj, in_name) { var _local1 = this; grp_name = in_name; if (_local1[grp_name] == null) { _local1[grp_name] = new C_Group(grp_name); _local1.ar.push(_local1[grp_name]); } _local1[grp_name].ar.push(in_obj); }; c_grp.configHandler = function (configObj) { var _local1 = 0; while (_local1 < this.ar.length) { var _local2 = this.ar[_local1].name; var tmp_bb = getColorVal(_local2, "b", configObj); var _local3 = getColorVal(_local2, "r", configObj); var tmp_gb = getColorVal(_local2, "g", configObj); if (((tmp_bb == "") || (_local3 == "")) || (tmp_gb == "")) { } else { tmpCT = {bb:tmp_bb, rb:_local3, gb:tmp_gb}; this.ar[_local1].setColor(tmpCT); } _local1++; } }; aaa1.UI_Models.push(aaa1.c_grp); C_Group.prototype.setColor = function (transObj) { var _local1 = transObj; var _local2 = this; i = 0; while (i < _local2.ar.length) { tmpClr = new Color(_local2.ar[i]); tmpClr.setTransform({rb:_local1.rb, gb:_local1.gb, bb:_local1.bb}); i++; } }; C_Group.prototype.getColor = function () { tmpColor = new Color(this.ar[0]); return(tmpColor.getTransform()); }; mouthColor.prototype = new C_Group(); } function A_Group(name) { this.constructor.prototype.__proto__ = R_Group.prototype; this.ar = new Object(); } function initAcc(target) { var _local1 = this; _local1.a_grp = new _local1.GroupsList("accessories"); _local1.a_grp.listener = target; var _local2 = new String(_parent._url); index = _local2.lastIndexOf("/"); if ((_local1.rootURL.lastIndexOf("file") == 0) && (index == 6)) { _local1.rootURL = ""; } else { _local1.rootURL = _local1.rootURL.substring(0, index + 1); } _local1.a_grp.travelHandler = function (obj) { var _local1 = this; var _local2 = obj; if (_local2.a_grp != null) { grp_name = _local2.a_grp; if (_local1[grp_name] == null) { _local1[grp_name] = new A_Group(grp_name); _local1.ar.push(_local1[grp_name]); } else if (_local1[grp_name].high == -1) { _local1[grp_name].high = _local1.map[grp_name].items.length; } _local1[grp_name].ar[_local2.type] = _local2; } }; _local1.UI_Models.push(_local1.a_grp); } function initSpeechAPI() { this.talkListeners = new Array(); addTalkListener(_parent._parent); addTalkListener(_parent._parent._parent); } function talkStarted() { var _local2 = this; _local2.talkingFlag = 1; (((_parent._parent._parent._parent.fv >= 6) && (_parent._parent._parent._parent.is_ie != 1)) ? (getURL (("javascript:VHSS_DoFSCommand('talkStarted', '" + _local2) + "');")) : (fscommand ("talkStarted", _local2))); _local2.moveToTarget(); _local2.OnSpeechEvent(); var _local1 = 0; while (_local1 < _local2.talkListeners.length) { _local2.talkListeners[_local1].talkStarted(_local2); _local1++; } } function wordEnded() { var _local2 = this; var _local1 = 0; while (_local1 < _local2.talkListeners.length) { _local2.talkListeners[_local1].wordEnded(); _local1++; } } function addTalkListener(obj) { var _local2 = this; var _local3 = obj; var _local1 = 0; while (_local1 < _local2.talkListeners.length) { if (_local2.talkListeners[_local1] == _local3) { return; } _local1++; } if (_local2.talkListeners.length <= 0) { _local2.talkListeners = new Array(); } _local2.talkListeners.push(_local3); } function DoneTalking(obj) { var _local2 = this; (((_parent._parent._parent._parent.fv >= 6) && (_parent._parent._parent._parent.is_ie != 1)) ? (getURL (("javascript:VHSS_DoFSCommand('talkEnded', '" + _local2) + "');")) : (fscommand ("talkEnded", _local2))); var _local1 = 0; while (_local1 < _local2.talkListeners.length) { _local2.talkListeners[_local1].talkEnded(); _local1++; } _local2.talkingFlag = 0; _local2.moveDelta = 0.5; _local2._parent._parent.doneTalking(obj); } function speechDownloadStarted(speechMc) { var _local2 = this; var _local3 = speechMc; var _local1 = 0; while (_local1 < _local2.talkListeners.length) { _local2.talkListeners[_local1].speechDownloadStarted(_local3); _local1++; } } function talk() { var _local1 = this; if (_local1._parent.voice.length > 0) { _local1.say(_local1._parent.voice); } } function replaySpeech() { this.talk(); } function stopSpeech() { this.sound.stopSound(); } function doMain() { function GroupsList(type, hostPath) { var _local1 = this; _local1.ar = new Array(); _local1.type = type; _local1.hostPath = hostPath; } var _local1 = this; _local1.neck = _local1._parent.body.neck; _local1.backhair = _local1._parent.backhair; _local1.hairback = _local1._parent.hairback; _local1.g_mouseMode = false; _local1.is_Gazing = 0; _local1.xBound = 300; _local1.yBound = 100; _local1.eyeFactorX = 25; _local1.eyeFactorY = 13; _local1.crack = 0.5; _local1.speed = 8; _local1.breathspeed = 0.5; _local1.breathSign = 1; _local1.count = 10; _local1.checkcount = 1; _local1.eyes_scale = 100; _local1.nose_scale = 100; _local1.mouth_scale = 100; _local1.UI_Models = new Array(); _local1.initColor(); _local1.initAcc(_local1); _local1.initInterface(); _local1.initSpeechAPI(); _local1.em = 0.67; _local1.diff = 1; _local1.faceLX = _local1.facel._x; _local1.faceRX = _local1.facer._x; _local1.faceLY = _local1.facel._y; _local1.faceRY = _local1.facer._y; _local1.maxX = 27; _local1.minX = 20; _local1.maxY = 6; _local1.minY = 0; _local1.eyeLX = _local1.eyel._x; _local1.eyeRX = _local1.eyer._x; _local1.eyebLX = _local1.eyel.ball._x; _local1.eyeLY = _local1.eyel._y; _local1.eyeRY = _local1.eyer._y; _local1.eyebLY = _local1.eyel.ball._y; _local1.eyeX = 0; _local1.eyeY = 0; _local1.eyeTX = 0; _local1.eyeTY = 0; _local1.eyeMaxX = 12; _local1.eyeMaxY = 3; _local1.browLX = _local1.browl._x; _local1.browRX = _local1.browr._x; _local1.noseX = _local1.nose._x; _local1.mouthX = _local1.mouth._x; _local1.browLY = _local1.browl._y; _local1.browRY = _local1.browr._y; _local1.noseY = _local1.nose._y; _local1.mouthY = _local1.mouth._y; _local1.hairLX = _local1.hairl._x; _local1.hairRX = _local1.hair_r._x; _local1.hairLY = _local1.hairl._y; _local1.hairRY = _local1.hair_r._y; _local1.hairBX = _local1.backhair._x; _local1.neckH = _local1.neck._yscale; _local1.hostCounter = 100; _local1.initiated = 0; _local1.gotoAndPlay(_local1._currentframe + 1); } function init() { var _local1 = this; if (_local1._parent.conf_str.length > 0) { _local1.configFromString(_local1._parent.conf_str); } else { var _local2 = new Object(); _local1.ConfigHost(_local2); } } function ConfigFromFile(id, ConfigURL) { if ((Number(id) > 0) && (eval ("host_" + id)._totalframes > 0)) { this.ConfigHost(eval ("host_" + id)); return(undefined); } this.config.loadVariables(unescape(ConfigURL)); } function configFromString(_strin) { _strin = unescape(_strin); var _local3 = _strin.split("&"); var _local1 = 0; while (_local1 < _local3.length) { var _local2 = _local3[_local1].split("="); this.config[_local2[0]] = _local2[1]; _local1++; } this.ConfigHost(this.config); } function ConfigHost(_configObj) { var _local1 = this; _local1.configObj = _configObj; if (_local1.configObj.age == undefined) { _local1.configObj.age = 1; } _local1.a_grp.configHandler(_local1.configObj); _local1.c_grp.configHandler(_local1.configObj); _local1.r_grp.configHandler(_local1.configObj); if (_local1.configObj.voice.length > 0) { _local1.recenter(); _local1.say(_local1.configObj.voice); } _local1._parent._visible = 1; _local1._parent.configDone(); } function travel(obj, level) { for (var p in obj) { if (((typeof(eval ((obj + ".") + p)) == "movieclip") && (p != "sound")) && (p != "engine")) { this.travel(eval ((obj + ".") + p), level + 1); } } if (obj != this) { this.c_grp.travelHandler(obj); this.a_grp.travelHandler(obj); this.r_grp.travelHandler(obj); } } function getColorVal(name, type, configObj) { var _local2 = name; var _local1 = configObj; var _local3 = (Number(_local1[_local2 + type.toUpperCase()]) ? (_local1[_local2 + type.toUpperCase()]) : (_local1[(("c_" + _local2) + "_") + type])); return(_local3); } function say(tt, _tin) { this.sound.singleSound(tt, _tin); this.g_mouseMode = false; } function saySilent(init_time) { this.sound.startBlabbing(init_time); } function setMouthPath(in_path) { this.mouth.acc_mouth = in_path; } function setMouseFollow(mode) { var _local1 = this; if (mode && (_local1.sound.busy)) { return(0); } _local1.g_mouseMode = mode; return(_local1.g_mouseMode); } function FollowCursor(_mode) { this.setMouseMode(_mode); } function getFollowCursor() { return(this.mouseMode); } function setMouseMode(_mode) { this.mouseMode = _mode; this.setMouseFollow(_mode); } function setGaze(_deg, _dur, _rad) { var _local1 = this; _local1.lookDur = parseInt(_dur); if (_rad != null) { _local1.lookRad = _rad; } _local1.lookDeg = parseInt(_deg); _local1.gazeHere(); } function getGaze() { return(this.is_Gazing); } function gazeHere() { var _local1 = this; if (((!_local1.sound.busy) && (Math.floor(_local1.lookDur) > 0)) && (Math.floor(_local1.lookDeg) >= 0)) { var _local2 = ((((parseInt(_local1.lookRad) > 100) || (_local1.lookRad == "")) || (_local1.lookRad == null)) ? (yBound) : (parseInt(_local1.lookRad))); if (_local2 < 0) { _local2 = 0; } var _local3 = ((parseInt(_local1.lookDeg) + 270) % 360) * 0.01745329; var _xpos = (Math.cos(_local3) * (_local2 * 3)); var _ypos = (Math.sin(_local3) * _local2); _local1.setLookTarget(_xpos, _ypos); _local1.lookEnd = getTimer() + (parseInt(_local1.lookDur) * 1000); _local1.is_Gazing = 1; _local1.moveToTarget(); } } function getLookCount() { var _local1 = this; if (_local1.sound.busy) { _local1.is_Gazing = 0; } else if (_local1.is_Gazing && (_local1.lookEnd < getTimer())) { _local1.is_Gazing = 0; } } function recenter() { var _local1 = this; _local1.g_mouseMode = 0; if (!_local1.sound.busy) { _local1.ddx = (_local1.ddy = 0); } _local1.is_recenter = 0; _local1.moveToTarget(); } function setLookTarget(xpos, ypos) { var _local1 = this; _local1.ddx = Math.max(-_local1.xBound, Math.min(_local1.xBound, xpos * 2)); _local1.ddy = Math.max(-_local1.yBound, Math.min(_local1.yBound, ypos * 2)); } function moveToTarget() { this.gotoAndPlay(4); } function mouseMoved() { var _local1 = this; if ((_local1.resting == 1) && (_local1.g_mouseMode == 1)) { _local1.moveToTarget(); } } function thrustRandom() { this.setLookTarget(random(yBound * 2) - yBound, random(yBound * 2) - yBound); this.moveToTarget(); } function smile() { this.mouth.gotoAndStop(12); } function unsmile() { this.mouth.gotoAndStop(1); } function breathe() { var _local1 = this; if (_local1.breath > 5) { _local1.breathSign = (_local1.sound.busy ? -1 : -0.5); } else if (_local1.breath < 0) { _local1.breathSign = (_local1.sound.busy ? 1 : 0.5); } _local1.breath = _local1.breath + (_local1.breathspeed * _local1.breathSign); _local1.neckzoom = 100 + _local1.breath; _local1.neck._yscale = _local1.neckH + _local1.breath; } function loopback() { if (this._currentframe == 6) { this.moveToTarget(); } } function doAnim() { var _local1 = this; _local1.resting = 0; if (_local1.doThrust && (!_local1.is_recenter)) { _local1.thrustRandom(); _local1.doThrust = false; } else if (_local1.g_mouseMode && (!_local1.is_Gazing)) { _local1.mousex = _local1._xmouse; _local1.mousey = _local1.eyer._ymouse; _local1.ddy = ((Math.abs(_local1.mousey) > (_local1.yBound / 2)) ? (((_local1.mousey > 0) ? (_local1.yBound) : (-_local1.yBound))) : (_local1.mousey * 2)); _local1.ddx = ((Math.abs(_local1.mousex) > (_local1.xBound / 2)) ? (((_local1.mousex > 0) ? (_local1.xBound) : (-_local1.xBound))) : (_local1.mousex * 2)); } _local1.ty = _local1.ddy / 10; _local1.tilt = (_local1.ddy * _local1.ddx) / 4000; _local1.tx = _local1.ddx / 5; _local1.ttx = _local1.tx + (_local1.crack * ((random(10) < 3) ? (random(11) - 5) : 0)); _local1.minX = (_local1.ttx - _local1.bx) / _local1.speed; _local1.ty = Math.max(Math.min(_local1.ty, 5), -3); _local1.minY = (_local1.ty - _local1.yb) / _local1.speed; _local1.yb = _local1.yb + _local1.minY; _local1.y = _local1.yb; _local1.ymult = ((_local1.y < 0) ? -0.5 : 0.5); _local1.y = Math.min(Math.abs(_local1.y), _local1.maxY); if ((Math.abs(_local1.minX) < _local1.diff) && (Math.abs(_local1.minY) < (_local1.diff / 4))) { if (_local1.is_Gazing) { _local1.gotoAndStop(9); _local1.resting = 1; } else if (_local1.g_mouseMode) { _local1.gotoAndStop(9); _local1.resting = 1; } else if (_local1.is_recenter) { _local1.is_recenter = 0; _local1.gotoAndStop(9); _local1.resting = 1; } else if (_local1.MouseMode) { _local1.is_recenter = 1; _local1.diff = 1; _local1.ddy = 0; _local1.ddx = 0; } } _local1.bx = _local1.bx + _local1.minX; _local1.xmult = ((_local1.bx < 0) ? -1 : 1); _local1.x = Math.min(Math.abs(_local1.bx), _local1.maxX); _local1.xz = _local1.maxX - (((_local1.maxX - _local1.x) * (_local1.maxX - _local1.x)) / _local1.maxX); if (_local1.xmult >= 0) { _local1.xr = _local1.xz * 0.8; _local1.xl = _local1.xz; } else { _local1.xl = (-_local1.xz) * 0.8; _local1.xr = -_local1.xz; _local1.xz = -_local1.xz; } _local1.facel._x = _local1.xl + _local1.faceLX; _local1.facer._x = _local1.xr + _local1.faceRX; _local1.hairl._x = _local1.xl + _local1.hairLX; _local1.hair_r._x = _local1.xr + _local1.hairRX; _local1.eyel._x = (_local1.xl * _local1.em) + _local1.eyeLX; _local1.eyer._x = (_local1.xr * _local1.em) + _local1.eyeRX; _local1.browl._x = (_local1.xl * _local1.em) + _local1.browLX; _local1.browr._x = (_local1.xr * _local1.em) + _local1.browRX; _local1.nose._x = (_local1.xz * _local1.em) + _local1.noseX; _local1.mouth._x = (_local1.xz * _local1.em) + _local1.mouthX; _local1.backhair._x = _local1.hairbx - (_local1.xl / 5); _local1.sl = 100 + ((_local1.xl * 30) / _local1.maxX); _local1.sr = 100 - ((_local1.xr * 30) / _local1.maxX); _local1.facel._xscale = (_local1.hairl._xscale = _local1.sl); _local1.hair_r._xscale = (_local1.facer._xscale = _local1.sr); _local1.hairback._xscale = (_local1.sl + _local1.sr) / 2; _local1.yz = _local1.y * ((_local1.y / _local1.maxY) - 2); _local1.yl = _local1.yz * _local1.ymult; _local1.moveheady = _local1.yb; _local1.eb = _local1.yl * 0.35; _local1.eyel._y = _local1.eyeLY - (_local1.yl + (_local1.eb * 2)); _local1.eyer._y = _local1.eyeRY - (_local1.yl + (_local1.eb * 2)); _local1.browl._y = _local1.browLY - (_local1.yl + _local1.eb); _local1.browr._y = _local1.browRY - (_local1.yl + _local1.eb); _local1.nose._y = _local1.noseY - (_local1.yl + (_local1.eb * 2)); _local1.mouth._y = _local1.mouthY - (_local1.yl + (_local1.eb * 2)); _local1.jj = 100 - ((_local1.yl * 8) / _local1.maxY); _local1.facel._yscale = _local1.jj; _local1.facer._yscale = _local1.jj; _local1.hairl._yscale = _local1.jj; _local1.hair_r._yscale = _local1.jj; _local1.eyeheight = 100 - Math.abs(_local1.yz); _local1.eyel._yscale = _local1.eyeheight; _local1.eyer._yscale = _local1.eyeheight; _local1._rotation = _local1._rotation + ((_local1.tilt - _local1._rotation) / 4); _local1.backhair._rotation = _local1._rotation / 1.5; _local1.hairback._rotation = _local1._rotation; if ((!_local1.sound.busy) && (!_local1.talkingFlag)) { _local1.eyeTX = _local1.ddx / _local1.eyeFactorX; _local1.eyeTY = _local1.ddy / _local1.eyeFactorY; _local1.eyeX = _local1.eyeX + ((_local1.eyeTX - _local1.eyeX) / 3); _local1.eyeY = _local1.eyeY + ((_local1.eyeTY - _local1.eyeY) / 3); _local1.eyeXl = _local1.eyeX - (_local1.xl / 7); _local1.eyeXr = _local1.eyeX - (_local1.xr / 7); if (_local1.eyeXl < (-_local1.eyeMaxX)) { _local1.eyeXl = -_local1.eyeMaxX; } if (_local1.eyeXl > _local1.eyeMaxX) { _local1.eyeXl = _local1.eyeMaxX; } if (_local1.eyeXr > _local1.eyeMaxX) { _local1.eyeXr = _local1.eyeMaxX; } if (_local1.eyeXr < (-_local1.eyeMaxX)) { _local1.eyeXr = -_local1.eyeMaxX; } _local1.eyeYY = _local1.eyebLY + ((Math.abs(_local1.eyeY - _local1.yl) > _local1.eyeMaxY) ? ((((_local1.eyeY - _local1.yl) > 0) ? (_local1.eyeMaxY) : (-_local1.eyeMaxY))) : (_local1.eyeY - _local1.yl)); _local1.eyel.ball._x = (-_local1.eyeXr) + _local1.eyebLX; _local1.eyer.ball._x = _local1.eyeXl + _local1.eyebLX; _local1.eyer.ball._y = _local1.eyeYY; _local1.eyel.ball._y = _local1.eyeYY; } else { _local1.eyel.ball._x = _local1.xl / 7; _local1.eyer.ball._x = (-_local1.xl) / 7; _local1.eyer.ball._y = (_local1.eyel.ball._y = 0); _local1.eyeTX = 0; _local1.eyeX = 0; _local1.eyeTY = 0; _local1.eyeY = 0; } if (!_local1.initiated) { _local1.initiated = 1; _local1.travel(_local1, 0); _local1.breathe(); _local1.MouseMode = true; _local1.init(); if (_local1._parent.voice.length > 0) { _local1.say(_local1._parent.voice); } if (_local1._parent._parent != _root) { _local1._parent._parent.hostLoaded(_local1); } } } function OnSpeechEvent() { var _local1 = this; if (_local1.sound.puase) { _local1.tbrowframe = 5; } if (_local1.sound.newWord || ((!_local1.doThrust) && (_local1.lastthrust > 10))) { _local1.lastthrust = random(6); _local1.doThrust = true; } _local1.lastthrust++; if (_local1.sound.newWord) { if (random(10) <= 4) { _local1.tbrowframe = 5; } else if (random(10) > 3) { _local1.tbrowframe = 10; } else { _local1.tbrowframe = 1; } } _local1.browframe = _local1.browframe + ((_local1.tbrowframe - _local1.browframe) / 3); if (Math.abs(_local1.tbrowframe - _local1.browframe) < 0.5) { _local1.browframe = _local1.tbrowframe; } _local1.browl.shading.gotoAndStop(int(_local1.browframe)); _local1.browr.shading.gotoAndStop(int(_local1.browframe)); _local1.browl.hair.gotoAndStop(int(_local1.browframe)); _local1.browr.hair.gotoAndStop(int(_local1.browframe)); } function notifyLoadDone(obj) { var _local1 = this; _local1.loadCount++; if (_local1.loadCount == 1) { if (_local1._parent.no_sound_engine == 1) { _local1.gotoAndStop(3); } else { _local1.soundLoaded = 1; _local1.sound.loadMovie(soundEngineV3.swf); } } else if (_local1.loadCount == 2) { if (_local1._parent.no_sound_engine == 1) { _local1.se_listener.soundEngineLoaded(); } else { _local1.gotoAndStop(3); } } } function loadSoundEngine(_cb) { var _local1 = this; _local1.se_listener = _cb; _local1.sound.loadMovie(soundEngineV3.swf); } if (_global.oddcast == undefined) { _global.oddcast = new Object(); } if (_global.oddcast.engine == undefined) { _global.oddcast.engine = new Object(); } _global.sending_lc = new LocalConnection(); sending_lc.send("vhss_debug", "clearMessage"); A_Group.prototype.getValue = function () { return(this.ar[0]._currentframe); }; A_Group.prototype.setValue = function (value, target) { var _local2 = this; var _local1 = value; var _local3 = target; i = 0; while (i < _local2.ar.length) { accH = _local2.ar[i]; if (accH[_local1] == undefined) { _local2.ar[i].acl.duplicateMovieClip(_local1); tmpItem = accH[_local1]; tmpItem.listener = _local3; _local3.counter++; tmpItem.holder.loadMovie(((((_local3.map.baseUrl + _local2.name) + accH.type) + "/") + _local1) + ".swf"); } i++; } }; var tbrowframe = 5; var browframe = 5; eyes = this._parent.eyes; eyes.setNextEye = function () { var _local1 = this; if (_local1.processingFR) { _local1.fr = makeFR(); _local1.dif = fr - Math.round(fr / 3); _local1.br = fr + dif; _local1.processingFR = 0; } else if (_local1.br == null) { _local1.getFR(); return; } if ((!_parent.isFrozen) && (!_parent._parent.isFrozen)) { if (_local1._parent.eyer.sock._currentframe == 3) { _local1._parent.eyer.sock.gotoAndStop(1); _local1._parent.eyel.sock.gotoAndStop(1); } else if ((_local1.eyeCounter++) == _local1.br) { _local1.eyeCounter = random(_local1.dif); _local1._parent.eyer.sock.gotoAndStop(3); _local1._parent.eyel.sock.gotoAndStop(3); } } else { _local1._parent.eyer.sock.gotoAndStop(1); _local1._parent.eyel.sock.gotoAndStop(1); } }; eyes.getFR = function () { this.processingFR = 1; this.ct = getTimer(); }; eyes.makeFR = function () { var _local1 = getTimer(); return(Math.round((this._parent.eyes._totalframes * 1000) / (_local1 - ct))); }; this._parent._parent.configDone = function () { var _local1 = this; _local1._parent.configDone(_local1.host); fscommand ("ConfigDone", 1); }; this._parent._parent.donetalking = function () { this._parent.donetalking(this); }; this._parent._parent.loadSoundEngine = function (_cb) { this.host.loadSoundEngine(_cb); }; this._visible = 0; for (var f in this) { if (typeof(eval (f)) == "function") { _parent[f] = this[f]; } } _parent.notifyLoadDone(this); stop();
Instance of Symbol 206 MovieClip "config" in Symbol 207 MovieClip Frame 1
onClipEvent (data) { _parent._parent.ConfigHost(this); }
Symbol 207 MovieClip Frame 2
_parent.look();
Symbol 207 MovieClip Frame 7
_parent.talk();
Symbol 207 MovieClip Frame 12
_parent.recenter();
Symbol 207 MovieClip Frame 19
_parent.stopSpeech();
Symbol 207 MovieClip Frame 28
_parent.setMouseMode(_parent.mouseMode);
Instance of Symbol 184 MovieClip "facer" in Symbol 208 MovieClip Frame 1
/* no clip actions */
Symbol 208 MovieClip Frame 3
doMain();
Symbol 208 MovieClip Frame 4
doAnim();
Symbol 208 MovieClip Frame 6
loopback();
Symbol 208 MovieClip Frame 7
loopback();
Symbol 208 MovieClip Frame 9
stop();
Symbol 208 MovieClip Frame 14
gotoAndPlay (4);
Symbol 212 Button
on (release) { _root.gotoAndPlay(1); }
Symbol 214 MovieClip Frame 1
endtime = getTimer() + 22500; _parent.stop();
Symbol 214 MovieClip Frame 3
if (getTimer() < endtime) { gotoAndPlay (2); }
Symbol 214 MovieClip Frame 4
_parent.play();
Symbol 215 MovieClip Frame 1
AAA = random(65) + 1; gotoAndPlay(AAA);
Symbol 215 MovieClip Frame 24
endtime = getTimer() + 4500; _parent.stop();
Symbol 215 MovieClip Frame 25
_root.host.mouth.lips.gotoAndPlay("s4");
Symbol 215 MovieClip Frame 40
_root.host.mouth.lips.gotoAndPlay("s6");
Symbol 215 MovieClip Frame 66
_root.host.mouth.lips.gotoAndPlay("s3");
Symbol 216 Button
on (release) { getURL ("http://www.startgames.ws", "_blank"); }

Library Items

Symbol 1 MovieClip [WindowContent]Used by:Timeline
Symbol 2 MovieClip [energyBar]Used by:Timeline
Symbol 3 GraphicUsed by:5
Symbol 4 GraphicUsed by:5
Symbol 5 MovieClipUses:3 4Used by:6
Symbol 6 MovieClipUses:5Used by:Timeline
Symbol 7 FontUsed by:8
Symbol 8 EditableTextUses:7Used by:Timeline
Symbol 9 GraphicUsed by:10
Symbol 10 ButtonUses:9Used by:Timeline
Symbol 11 GraphicUsed by:Timeline
Symbol 12 GraphicUsed by:13
Symbol 13 MovieClipUses:12Used by:Timeline
Symbol 14 FontUsed by:15 16 18 73 74 75 76 77 78 79 80 81 122 125
Symbol 15 TextUses:14Used by:19 216
Symbol 16 TextUses:14Used by:19 216
Symbol 17 GraphicUsed by:19 216
Symbol 18 TextUses:14Used by:19 216
Symbol 19 ButtonUses:15 16 17 18Used by:Timeline
Symbol 20 GraphicUsed by:24
Symbol 21 GraphicUsed by:22
Symbol 22 MovieClipUses:21Used by:24
Symbol 23 GraphicUsed by:24
Symbol 24 MovieClipUses:20 22 23Used by:Timeline
Symbol 25 FontUsed by:26 209 210 213
Symbol 26 EditableTextUses:25Used by:Timeline
Symbol 27 GraphicUsed by:56
Symbol 28 GraphicUsed by:56
Symbol 29 GraphicUsed by:56
Symbol 30 GraphicUsed by:56
Symbol 31 SoundUsed by:56
Symbol 32 GraphicUsed by:56
Symbol 33 GraphicUsed by:56
Symbol 34 GraphicUsed by:56
Symbol 35 GraphicUsed by:56
Symbol 36 GraphicUsed by:56
Symbol 37 GraphicUsed by:56
Symbol 38 GraphicUsed by:56
Symbol 39 GraphicUsed by:56
Symbol 40 GraphicUsed by:56
Symbol 41 GraphicUsed by:56
Symbol 42 GraphicUsed by:56
Symbol 43 GraphicUsed by:56
Symbol 44 GraphicUsed by:56
Symbol 45 GraphicUsed by:56
Symbol 46 GraphicUsed by:56
Symbol 47 GraphicUsed by:56
Symbol 48 GraphicUsed by:56
Symbol 49 GraphicUsed by:56
Symbol 50 GraphicUsed by:56
Symbol 51 GraphicUsed by:56
Symbol 52 GraphicUsed by:56
Symbol 53 SoundUsed by:56
Symbol 54 GraphicUsed by:56
Symbol 55 GraphicUsed by:56
Symbol 56 MovieClipUses:27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55Used by:Timeline
Symbol 57 GraphicUsed by:70
Symbol 58 GraphicUsed by:70
Symbol 59 GraphicUsed by:60
Symbol 60 MovieClipUses:59Used by:70
Symbol 61 BitmapUsed by:62
Symbol 62 GraphicUses:61Used by:63
Symbol 63 MovieClipUses:62Used by:70
Symbol 64 BitmapUsed by:65
Symbol 65 GraphicUses:64Used by:66
Symbol 66 MovieClipUses:65Used by:70
Symbol 67 BitmapUsed by:68
Symbol 68 GraphicUses:67Used by:69
Symbol 69 MovieClipUses:68Used by:70
Symbol 70 MovieClipUses:57 58 60 63 66 69Used by:Timeline
Symbol 71 GraphicUsed by:72
Symbol 72 MovieClipUses:71Used by:Timeline
Symbol 73 TextUses:14Used by:Timeline
Symbol 74 TextUses:14Used by:Timeline
Symbol 75 TextUses:14Used by:Timeline
Symbol 76 TextUses:14Used by:Timeline
Symbol 77 TextUses:14Used by:Timeline
Symbol 78 TextUses:14Used by:Timeline
Symbol 79 TextUses:14Used by:Timeline
Symbol 80 TextUses:14Used by:Timeline
Symbol 81 TextUses:14Used by:Timeline
Symbol 82 GraphicUsed by:83
Symbol 83 ButtonUses:82Used by:96
Symbol 84 GraphicUsed by:85 123 128
Symbol 85 MovieClipUses:84Used by:96
Symbol 86 GraphicUsed by:87 92
Symbol 87 ButtonUses:86Used by:96
Symbol 88 GraphicUsed by:89
Symbol 89 MovieClipUses:88Used by:91
Symbol 90 GraphicUsed by:91
Symbol 91 MovieClipUses:89 90Used by:96
Symbol 92 ButtonUses:86Used by:96
Symbol 93 GraphicUsed by:96
Symbol 94 GraphicUsed by:95
Symbol 95 ButtonUses:94Used by:96
Symbol 96 MovieClipUses:83 85 87 91 92 93 95Used by:121
Symbol 97 GraphicUsed by:98
Symbol 98 MovieClipUses:97Used by:121
Symbol 99 GraphicUsed by:100
Symbol 100 MovieClipUses:99Used by:121
Symbol 101 GraphicUsed by:102
Symbol 102 MovieClipUses:101Used by:121
Symbol 103 GraphicUsed by:104
Symbol 104 MovieClipUses:103Used by:121
Symbol 105 GraphicUsed by:106
Symbol 106 MovieClipUses:105Used by:121
Symbol 107 GraphicUsed by:108
Symbol 108 ButtonUses:107Used by:121
Symbol 109 GraphicUsed by:110
Symbol 110 MovieClipUses:109Used by:121
Symbol 111 GraphicUsed by:112
Symbol 112 MovieClipUses:111Used by:121
Symbol 113 GraphicUsed by:114
Symbol 114 MovieClipUses:113Used by:121
Symbol 115 GraphicUsed by:116
Symbol 116 MovieClipUses:115Used by:121
Symbol 117 GraphicUsed by:118
Symbol 118 MovieClipUses:117Used by:121
Symbol 119 GraphicUsed by:120
Symbol 120 MovieClipUses:119Used by:121
Symbol 121 MovieClipUses:96 98 100 102 104 106 108 110 112 114 116 118 120Used by:Timeline
Symbol 122 TextUses:14Used by:128
Symbol 123 MovieClipUses:84Used by:128
Symbol 124 GraphicUsed by:128
Symbol 125 TextUses:14Used by:128
Symbol 126 GraphicUsed by:127 215
Symbol 127 MovieClipUses:126Used by:128
Symbol 128 MovieClipUses:122 123 124 125 84 127Used by:Timeline
Symbol 129 FontUsed by:131 132 134 137 140 143
Symbol 130 TextUsed by:132
Symbol 131 TextUses:129Used by:132
Symbol 132 MovieClipUses:129 130 131Used by:145
Symbol 133 TextUsed by:135
Symbol 134 TextUses:129Used by:135
Symbol 135 MovieClipUses:133 134Used by:145
Symbol 136 TextUsed by:138
Symbol 137 TextUses:129Used by:138
Symbol 138 MovieClipUses:136 137Used by:145
Symbol 139 TextUsed by:141
Symbol 140 TextUses:129Used by:141
Symbol 141 MovieClipUses:139 140Used by:145
Symbol 142 TextUsed by:144
Symbol 143 TextUses:129Used by:144
Symbol 144 MovieClipUses:142 143Used by:145
Symbol 145 MovieClipUses:132 135 138 141 144Used by:Timeline
Symbol 146 GraphicUsed by:147
Symbol 147 MovieClipUses:146Used by:Timeline
Symbol 148 GraphicUsed by:149
Symbol 149 MovieClipUses:148Used by:176
Symbol 150 GraphicUsed by:171
Symbol 151 GraphicUsed by:171
Symbol 152 GraphicUsed by:171
Symbol 153 GraphicUsed by:171
Symbol 154 GraphicUsed by:171
Symbol 155 GraphicUsed by:171
Symbol 156 GraphicUsed by:171
Symbol 157 GraphicUsed by:171
Symbol 158 GraphicUsed by:171
Symbol 159 GraphicUsed by:171
Symbol 160 GraphicUsed by:171
Symbol 161 GraphicUsed by:171
Symbol 162 GraphicUsed by:171
Symbol 163 GraphicUsed by:171
Symbol 164 GraphicUsed by:171
Symbol 165 GraphicUsed by:171
Symbol 166 GraphicUsed by:171
Symbol 167 GraphicUsed by:171
Symbol 168 GraphicUsed by:171
Symbol 169 GraphicUsed by:171
Symbol 170 GraphicUsed by:171
Symbol 171 MovieClipUses:150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170Used by:176
Symbol 172 GraphicUsed by:173
Symbol 173 MovieClipUses:172Used by:176
Symbol 174 GraphicUsed by:175
Symbol 175 MovieClipUses:174Used by:176
Symbol 176 MovieClipUses:149 171 173 175Used by:Timeline
Symbol 177 GraphicUsed by:182
Symbol 178 GraphicUsed by:181
Symbol 179 GraphicUsed by:180
Symbol 180 MovieClipUses:179Used by:181
Symbol 181 MovieClipUses:178 180Used by:182
Symbol 182 MovieClipUses:177 181Used by:208
Symbol 183 GraphicUsed by:184
Symbol 184 MovieClipUses:183Used by:208
Symbol 185 GraphicUsed by:186
Symbol 186 MovieClipUses:185Used by:208
Symbol 187 GraphicUsed by:188
Symbol 188 MovieClipUses:187Used by:208
Symbol 189 GraphicUsed by:200
Symbol 190 SoundUsed by:200
Symbol 191 GraphicUsed by:200
Symbol 192 SoundUsed by:200
Symbol 193 SoundUsed by:200
Symbol 194 SoundUsed by:200
Symbol 195 SoundUsed by:200
Symbol 196 SoundUsed by:200
Symbol 197 SoundUsed by:200
Symbol 198 SoundUsed by:200
Symbol 199 SoundUsed by:200
Symbol 200 MovieClipUses:189 190 191 192 193 194 195 196 197 198 199Used by:201
Symbol 201 MovieClipUses:200Used by:208
Symbol 202 MovieClipUsed by:204
Symbol 203 MovieClipUsed by:204
Symbol 204 MovieClipUses:202 203Used by:208
Symbol 205 MovieClipUsed by:207
Symbol 206 MovieClipUsed by:207
Symbol 207 MovieClipUses:205 206Used by:208
Symbol 208 MovieClipUses:182 184 186 188 201 204 207Used by:Timeline
Symbol 209 TextUses:25Used by:212
Symbol 210 TextUses:25Used by:212
Symbol 211 GraphicUsed by:212
Symbol 212 ButtonUses:209 210 211Used by:Timeline
Symbol 213 TextUses:25Used by:215
Symbol 214 MovieClipUsed by:215
Symbol 215 MovieClipUses:126 213 214Used by:Timeline
Symbol 216 ButtonUses:15 16 17 18Used by:Timeline

Instance Names

"loaderbar"Frame 1Symbol 24 MovieClip
"loaderstatus"Frame 1Symbol 26 EditableText
"Andrey"Frame 2Symbol 56 MovieClip
"piece_0_0"Frame 6Symbol 121 MovieClip
"piece_0_1"Frame 6Symbol 121 MovieClip
"piece_0_2"Frame 6Symbol 121 MovieClip
"piece_0_3"Frame 6Symbol 121 MovieClip
"piece_0_4"Frame 6Symbol 121 MovieClip
"piece_0_5"Frame 6Symbol 121 MovieClip
"piece_0_6"Frame 6Symbol 121 MovieClip
"piece_0_7"Frame 6Symbol 121 MovieClip
"piece_1_0"Frame 6Symbol 121 MovieClip
"piece_1_1"Frame 6Symbol 121 MovieClip
"piece_1_2"Frame 6Symbol 121 MovieClip
"piece_1_3"Frame 6Symbol 121 MovieClip
"piece_1_4"Frame 6Symbol 121 MovieClip
"piece_1_5"Frame 6Symbol 121 MovieClip
"piece_1_6"Frame 6Symbol 121 MovieClip
"piece_1_7"Frame 6Symbol 121 MovieClip
"piece_2_0"Frame 6Symbol 121 MovieClip
"piece_2_1"Frame 6Symbol 121 MovieClip
"piece_2_2"Frame 6Symbol 121 MovieClip
"piece_2_3"Frame 6Symbol 121 MovieClip
"piece_2_4"Frame 6Symbol 121 MovieClip
"piece_2_5"Frame 6Symbol 121 MovieClip
"piece_2_6"Frame 6Symbol 121 MovieClip
"piece_2_7"Frame 6Symbol 121 MovieClip
"piece_3_0"Frame 6Symbol 121 MovieClip
"piece_3_1"Frame 6Symbol 121 MovieClip
"piece_3_2"Frame 6Symbol 121 MovieClip
"piece_3_3"Frame 6Symbol 121 MovieClip
"piece_3_4"Frame 6Symbol 121 MovieClip
"piece_3_5"Frame 6Symbol 121 MovieClip
"piece_3_6"Frame 6Symbol 121 MovieClip
"piece_3_7"Frame 6Symbol 121 MovieClip
"piece_4_0"Frame 6Symbol 121 MovieClip
"piece_4_1"Frame 6Symbol 121 MovieClip
"piece_4_2"Frame 6Symbol 121 MovieClip
"piece_4_3"Frame 6Symbol 121 MovieClip
"piece_4_4"Frame 6Symbol 121 MovieClip
"piece_4_5"Frame 6Symbol 121 MovieClip
"piece_4_6"Frame 6Symbol 121 MovieClip
"piece_4_7"Frame 6Symbol 121 MovieClip
"piece_5_0"Frame 6Symbol 121 MovieClip
"piece_5_1"Frame 6Symbol 121 MovieClip
"piece_5_2"Frame 6Symbol 121 MovieClip
"piece_5_3"Frame 6Symbol 121 MovieClip
"piece_5_4"Frame 6Symbol 121 MovieClip
"piece_5_5"Frame 6Symbol 121 MovieClip
"piece_5_6"Frame 6Symbol 121 MovieClip
"piece_5_7"Frame 6Symbol 121 MovieClip
"piece_6_0"Frame 6Symbol 121 MovieClip
"piece_6_1"Frame 6Symbol 121 MovieClip
"piece_6_2"Frame 6Symbol 121 MovieClip
"piece_6_3"Frame 6Symbol 121 MovieClip
"piece_6_4"Frame 6Symbol 121 MovieClip
"piece_6_5"Frame 6Symbol 121 MovieClip
"piece_6_6"Frame 6Symbol 121 MovieClip
"piece_6_7"Frame 6Symbol 121 MovieClip
"piece_7_0"Frame 6Symbol 121 MovieClip
"piece_7_1"Frame 6Symbol 121 MovieClip
"piece_7_2"Frame 6Symbol 121 MovieClip
"piece_7_3"Frame 6Symbol 121 MovieClip
"piece_7_4"Frame 6Symbol 121 MovieClip
"piece_7_5"Frame 6Symbol 121 MovieClip
"piece_7_6"Frame 6Symbol 121 MovieClip
"piece_7_7"Frame 6Symbol 121 MovieClip
"signal"Frame 6Symbol 128 MovieClip
"messages"Frame 6Symbol 145 MovieClip
"robot"Frame 6Symbol 176 MovieClip
"host"Frame 6Symbol 208 MovieClip
"loadbar"Symbol 6 MovieClip Frame 1Symbol 5 MovieClip
"marker"Symbol 121 MovieClip Frame 1Symbol 96 MovieClip
"righthand"Symbol 176 MovieClip Frame 1Symbol 171 MovieClip
"cornea"Symbol 181 MovieClip Frame 1Symbol 180 MovieClip
"ball"Symbol 182 MovieClip Frame 1Symbol 181 MovieClip
"lips"Symbol 201 MovieClip Frame 1Symbol 200 MovieClip
"mouseListener"Symbol 204 MovieClip Frame 1Symbol 202 MovieClip
"config"Symbol 204 MovieClip Frame 1Symbol 203 MovieClip
"mouseListener"Symbol 207 MovieClip Frame 1Symbol 205 MovieClip
"config"Symbol 207 MovieClip Frame 1Symbol 206 MovieClip
"eyel"Symbol 208 MovieClip Frame 1Symbol 182 MovieClip
"eyer"Symbol 208 MovieClip Frame 1Symbol 182 MovieClip
"facer"Symbol 208 MovieClip Frame 1Symbol 184 MovieClip
"facel"Symbol 208 MovieClip Frame 1Symbol 186 MovieClip
"browr"Symbol 208 MovieClip Frame 1Symbol 188 MovieClip
"browl"Symbol 208 MovieClip Frame 1Symbol 188 MovieClip
"mouth"Symbol 208 MovieClip Frame 1Symbol 201 MovieClip
"sound"Symbol 208 MovieClip Frame 1Symbol 204 MovieClip
"engine"Symbol 208 MovieClip Frame 1Symbol 207 MovieClip

Special Tags

Protect (24)Timeline Frame 10 bytes ""
ExportAssets (56)Timeline Frame 1Symbol 1 as "WindowContent"
ExportAssets (56)Timeline Frame 1Symbol 2 as "energyBar"
ExportAssets (56)Timeline Frame 4Symbol 2 as "energyBar"
ExportAssets (56)Timeline Frame 4Symbol 1 as "WindowContent"
ExportAssets (56)Timeline Frame 5Symbol 2 as "energyBar"
ExportAssets (56)Timeline Frame 5Symbol 1 as "WindowContent"

Labels

"startTheGame"Frame 6
"moveComputer"Frame 9
"moveLoop"Frame 11
"searchDone"Frame 13
"normal"Symbol 96 MovieClip Frame 1
"selectedTo"Symbol 96 MovieClip Frame 2
"selected"Symbol 96 MovieClip Frame 3
"disabled"Symbol 96 MovieClip Frame 4
"edit"Symbol 96 MovieClip Frame 5
"void"Symbol 121 MovieClip Frame 1
"pawn_w"Symbol 121 MovieClip Frame 2
"knight_w"Symbol 121 MovieClip Frame 3
"rook_w"Symbol 121 MovieClip Frame 4
"bisshop_w"Symbol 121 MovieClip Frame 5
"queen_w"Symbol 121 MovieClip Frame 6
"king_w"Symbol 121 MovieClip Frame 7
"pawn_b"Symbol 121 MovieClip Frame 8
"knight_b"Symbol 121 MovieClip Frame 9
"rook_b"Symbol 121 MovieClip Frame 10
"bisshop_b"Symbol 121 MovieClip Frame 11
"queen_b"Symbol 121 MovieClip Frame 12
"king_b"Symbol 121 MovieClip Frame 13
"player"Symbol 128 MovieClip Frame 1
"comp"Symbol 128 MovieClip Frame 2
"Pat"Symbol 145 MovieClip Frame 4
"playerChess"Symbol 145 MovieClip Frame 5
"computerChess"Symbol 145 MovieClip Frame 6
"editMode"Symbol 145 MovieClip Frame 7
"s2"Symbol 171 MovieClip Frame 2
"s1"Symbol 200 MovieClip Frame 2
"ok let's start"Symbol 200 MovieClip Frame 16
"s2"Symbol 200 MovieClip Frame 67
"you can do better than that"Symbol 200 MovieClip Frame 82
"s3"Symbol 200 MovieClip Frame 142
"you must be cheating"Symbol 200 MovieClip Frame 162
"s4"Symbol 200 MovieClip Frame 196
"I need better Hardware"Symbol 200 MovieClip Frame 217
"s5"Symbol 200 MovieClip Frame 269
"You are not much for me"Symbol 200 MovieClip Frame 278
"s6"Symbol 200 MovieClip Frame 351
"Nothing to say"Symbol 200 MovieClip Frame 360
"s7"Symbol 200 MovieClip Frame 395
"Oh NO"Symbol 200 MovieClip Frame 403
"s8"Symbol 200 MovieClip Frame 428
"Oh YES"Symbol 200 MovieClip Frame 436
"s9"Symbol 200 MovieClip Frame 461
"Take that"Symbol 200 MovieClip Frame 464
"look"Symbol 204 MovieClip Frame 2
"talk"Symbol 204 MovieClip Frame 7
"recenter"Symbol 204 MovieClip Frame 12
"stopSpeech"Symbol 204 MovieClip Frame 19
"setMouseMode"Symbol 204 MovieClip Frame 28
"look"Symbol 207 MovieClip Frame 2
"talk"Symbol 207 MovieClip Frame 7
"recenter"Symbol 207 MovieClip Frame 12
"stopSpeech"Symbol 207 MovieClip Frame 19
"setMouseMode"Symbol 207 MovieClip Frame 28
"rest"Symbol 208 MovieClip Frame 9
"resume"Symbol 208 MovieClip Frame 14




http://swfchan.com/5/22864/info.shtml
Created: 26/5 -2019 15:20:05 Last modified: 26/5 -2019 15:20:05 Server time: 22/12 -2024 16:28:15