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

wordbattle.swf

This is the info page for
Flash #246685

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


Text
The Test of the Textor

1

/

2

1

/

3

1

/

4

1

/

5

MIDAS

0

MIDAS

warnLabel

End game

ActionScript [AS1/AS2]

Frame 1
_global.debugMode = false; infoTitle.text = ""; infoText.text = ""; startButton.label.text = ""; errorTitle._visible = false; errorText._visible = false; warnLabel.text = ""; startButton._visible = false; if (debugMode) { warnLabel.text = "Warning: Debug client"; gameData = (((((((((((((((((("<gamedata timelimit=\"300\" seed=\"1188891958\" characters=\"N R QU L N E E S I A D L D R P O W M S L I G Z I A J R O A I O R T E R A W A R S E I M B QU X R H T H E M G QU I A A L QU I O H I F T T A T A O K D A T G I QU E E E R E C T O R E E D L R L A I G E T R U E G S D T C Y U N D T E I L E H A S A T T D E E P F G S D T C Y U N D T E I L E H A S A T T D E E P F \" scores=\"2 1 7 2 2 1 1 1 1 1 2 2 2 1 3 1 5 3 1 2 1 2 10 1 1 8 1 1 1 1 1 1 1 1 1 1 5 1 1 1 1 1 3 3 7 8 1 4 1 4 1 3 2 7 1 1 1 2 7 1 1 4 1 4 1 1 1 1 1 1 5 2 1 1 2 1 7 1 1 1 1 1 4 1 1 1 1 1 2 2 1 2 1 1 2 1 1 1 2 1 2 1 2 1 4 5 2 2 2 1 1 1 2 1 4 1 1 1 1 1 2 1 1 3 4 2 1 2 1 4 5 2 2 2 1 1 1 2 1 4 1 1 1 1 1 2 1 1 3 4 \" bonuscoords=\"0 0 1 0 2 0 3 0 4 0 0 1 1 1 2 1 3 1 4 1 0 2 1 2 2 2 3 2 4 2 0 3 1 3 2 3 3 3 4 3 0 4 1 4 2 4 3 4 4 4 \"><text id=\"welcome\">\u00E4Welcome to Keyword</text><text id=\"round\">\u00E4Round</text><text id=\"button_play\">\u00E4Play!</text><text id=\"instuctions1\">\u00E4The aim of this game is to...\n\n\n\njhasdasda\nfdadaskjda\n\n\n\n\n\n\n\njdas</text><text id=\"the_game_will_end_in\">\u00E4The game will end in</text>" + "<text id=\"the_game_will_end\">\u00E4The game will end in {0} seconds</text>") + "<text id=\"game_over\">\u00E4Game over!</text>") + "<text id=\"round1_title\">\u00E4Round 1</text>") + "<text id=\"round2_title\">\u00E4Round 2</text>") + "<text id=\"round3_title\">\u00E4Round 3</text>") + "<text id=\"round4_title\">\u00E4Round 4</text>") + "<text id=\"round5_title\">\u00E4Round 5</text>") + "<text id=\"roundx_title\">\u00E4Bonus round</text>") + "<text id=\"did_not_qualify\">\u00E4You did not qualify for the bonus round</text>") + "<text id=\"total_score\">\u00E4Total score</text>") + "<text id=\"score\">\u00E4Score</text>") + "<text id=\"out_of_time\">\u00E4You ran out of time</text>") + "<text id=\"seconds\">\u00E4seconds</text>") + "<text id=\"time_left\">\u00E4Time Left</text>") + "<text id=\"bonus\">\u00E4Bonus</text>") + "<text id=\"best_word\">\u00E4Best word</text>") + "<text id=\"end_round\">\u00E4End Round</text>") + "<text id=\"end_game\">\u00E4End Game</text>") + "</gamedata>"; } var inited = false; onEnterFrame = function () { if ((!inited) && (gameData != undefined)) { infoLabel.text = gameData.toString(); inited = true; startButton._visible = true; board.initGame(); infoTitle.text = _global.textMappings.welcome; var _local2 = _global.textMappings.instuctions1; _local2 = _local2.split("\r\n").join(newline); _local2 = _local2.split("\n\r").join(newline); _local2 = _local2.split("\r").join(newline); _local2 = _local2.split(newline).join(newline); infoText.text = _local2; endGameLabel.text = _global.textMappings.end_game; } if (response != undefined) { board.responseReceived(response); response = undefined; } };
Symbol 50 MovieClip [ReflectoText] Frame 1
#initclip 25 Object.registerClass("ReflectoText", com.midasplayer.wordbattle.ReflectoText); #endinitclip stop();
Symbol 50 MovieClip [ReflectoText] Frame 15
stop();
Symbol 71 MovieClip Frame 1
stop();
Symbol 72 MovieClip Frame 1
stop();
Symbol 72 MovieClip Frame 2
stop();
Symbol 72 MovieClip Frame 3
stop();
Symbol 73 MovieClip [TextNumber] Frame 1
#initclip 15 Object.registerClass("TextNumber", com.midasplayer.wordbattle.TextNumber); #endinitclip
Symbol 74 MovieClip [RoundData] Frame 1
#initclip 16 Object.registerClass("RoundData", com.midasplayer.wordbattle.RoundData); #endinitclip
Symbol 209 MovieClip [Letter] Frame 1
#initclip 17 Object.registerClass("Letter", com.midasplayer.wordbattle.Letter); #endinitclip
Symbol 221 MovieClip Frame 1
stop();
Symbol 221 MovieClip Frame 7
stop();
Symbol 221 MovieClip Frame 35
stop();
Symbol 222 MovieClip [LetterHolder] Frame 1
#initclip 18 Object.registerClass("LetterHolder", com.midasplayer.wordbattle.LetterHolder); #endinitclip
Symbol 231 MovieClip Frame 1
stop();
Symbol 246 MovieClip Frame 1
stop();
Symbol 246 MovieClip Frame 2
stop();
Symbol 246 MovieClip Frame 3
stop();
Symbol 246 MovieClip Frame 4
stop();
Symbol 247 MovieClip [ScorePoof] Frame 1
#initclip 19 Object.registerClass("ScorePoof", com.midasplayer.wordbattle.ScorePoof); #endinitclip stop();
Symbol 302 MovieClip Frame 1
stop();
Symbol 303 MovieClip [OpponentWordLabel] Frame 1
#initclip 20 Object.registerClass("OpponentWordLabel", com.midasplayer.wordbattle.WordLabel); #endinitclip
Symbol 309 MovieClip [NumberFlipper] Frame 1
#initclip 21 Object.registerClass("NumberFlipper", com.midasplayer.wordbattle.NumberFlipper); #endinitclip
Symbol 313 MovieClip [ScorePanel] Frame 1
#initclip 22 Object.registerClass("ScorePanel", com.midasplayer.wordbattle.ScorePanel); #endinitclip
Symbol 320 Button
on (press) { _parent.clearClicked(); }
Symbol 327 MovieClip Frame 1
stop();
Symbol 327 MovieClip Frame 2
stop();
Symbol 327 MovieClip Frame 3
stop();
Symbol 329 MovieClip [WordLabel] Frame 1
#initclip 23 Object.registerClass("WordLabel", com.midasplayer.wordbattle.WordLabel); #endinitclip
Symbol 335 MovieClip Frame 1
stop();
Symbol 335 MovieClip Frame 10
stop();
Symbol 335 MovieClip Frame 20
stop();
Symbol 351 MovieClip Frame 1
stop();
Symbol 359 MovieClip Frame 1
stop();
Symbol 359 MovieClip Frame 7
stop();
Symbol 361 MovieClip Frame 1
stop();
Symbol 361 MovieClip Frame 7
stop();
Symbol 363 MovieClip Frame 1
stop();
Symbol 363 MovieClip Frame 7
stop();
Symbol 364 MovieClip [Board] Frame 1
#initclip 24 Object.registerClass("Board", com.midasplayer.wordbattle.Board); #endinitclip
Symbol 377 Button
on (rollOver) { _root.endGameLabel.textColor = 16777215 /* 0xFFFFFF */; } on (rollOut) { _root.endGameLabel.textColor = 39321; } on (press) { _root.board.endGame(); }
Symbol 379 MovieClip [__Packages.com.midasplayer.wordbattle.TextNumber] Frame 0
class com.midasplayer.wordbattle.TextNumber extends MovieClip { var reflectoText, numberCounter, text; function TextNumber () { super(); } function clear() { reflectoText.gotoAndStop(1); numberCounter._alpha = 0; } function prepareText(newText) { reflectoText.gotoAndStop(1); text = newText; numberCounter._alpha = 0; fade = 0; } function showText() { reflectoText.setText(text); reflectoText.gotoAndPlay(2); targetFade = 80; } function prepareNumber(newTargetNumber) { longNumber = false; numberCounter.gotoAndStop(2); currentNumber = 0; targetNumber = newTargetNumber; } function prepareLongNumber(newTargetNumber) { longNumber = true; numberCounter.gotoAndStop(3); currentNumber = 0; targetNumber = newTargetNumber; } function showNumber() { fade = 100; increaseStartTime = getTimer(); if (longNumber) { if (targetNumber > 0) { increaseEndTime = increaseStartTime + 1200; } else { increaseEndTime = increaseStartTime + 200; } numberCounter.digit0.gotoAndStop(1); numberCounter.digit1.gotoAndStop(1); numberCounter.digit2.gotoAndStop(1); numberCounter.digit3.gotoAndStop(1); numberCounter.digit4.gotoAndStop(1); } else { numberCounter.digit0.gotoAndStop(1); increaseEndTime = increaseStartTime + (targetNumber * 200); } currentNumber = 0; return((increaseEndTime - increaseStartTime) + 500); } function getNumber() { return(currentNumber); } function reallySetNumber(num) { if (num != currentNumber) { currentNumber = num; if (longNumber) { var _local3 = num; var _local2 = 0; while (_local2 < 5) { var _local4 = _local3 % 10; numberCounter["digit" + _local2].gotoAndStop(_local4 + 1); _local3 = Math.floor(_local3 / 10); _local2++; } } else { numberCounter.digit0.gotoAndStop(num + 1); } fade = 100; } } function fadeOut() { increaseStartTime = -1; increaseEndTime = -1; reflectoText.gotoAndPlay(16); targetFade = 0; } function hide() { targetFade = 0; fade = targetFade; } function onEnterFrame() { if (increaseStartTime > 0) { var _local6 = (getTimer() - increaseStartTime) / (increaseEndTime - increaseStartTime); if (_local6 > 1) { increaseStartTime = -1; increaseEndTime = -1; _local6 = 1; } var _local5 = Math.floor(targetNumber * _local6); if (_local5 != currentNumber) { fade = 100; if (longNumber) { var _local3 = _local5; var _local2 = 0; while (_local2 < 5) { var _local4 = _local3 % 10; numberCounter["digit" + _local2].gotoAndStop(_local4 + 1); _local3 = Math.floor(_local3 / 10); _local2++; } } else { numberCounter.digit0.gotoAndStop(_local5 + 1); } currentNumber = _local5; } } numberCounter._alpha = fade; if (fade > targetFade) { fade = fade - 2; } } var currentNumber = 0; var targetNumber = 0; var fade = 0; var increaseStartTime = -1; var increaseEndTime = -1; var longNumber = false; var targetFade = 80; }
Symbol 380 MovieClip [__Packages.com.midasplayer.wordbattle.RoundData] Frame 0
class com.midasplayer.wordbattle.RoundData extends MovieClip { var board, textNumber0, textNumber1, textNumber2, textNumber3, textNumber4; function RoundData () { super(); } function show(approvedWords, duplicateWords, newRoundScore, position, newCallback, finalRound, d0, d1, d2) { board = newCallback; showed = 0; shouldSetShowTime = true; endRoundTime = getTimer() + 15000; roundScore = newRoundScore; textNumber0.prepareText(_global.textMappings.your_approved_words); textNumber1.prepareText(_global.textMappings.duplicate_words); textNumber2.prepareText(_global.textMappings.score_this_round); textNumber3.prepareText(_global.textMappings.your_position); if (finalRound) { textNumber4.prepareText(_global.textMappings.game_ends_in); } else { textNumber4.prepareText(_global.textMappings.next_round_starts_in); } textNumber0.prepareNumber(approvedWords); textNumber1.prepareNumber(duplicateWords); textNumber2.prepareLongNumber(roundScore); textNumber3.prepareNumber(position); textNumber4.prepareNumber(9); } function bricksRevealed() { showTime = getTimer() + 1000; } function onEnterFrame() { if ((shouldSetShowTime && (showTime > 0)) && (getTimer() > showTime)) { if (showed < 9) { var _local5 = Math.floor(showed / 2); if ((showed - (_local5 * 2)) == 0) { this["textNumber" + _local5].showText(); showTime = showTime + 500; } else { if (_local5 == 3) { if (!KILLED) { board.showScoreForPlayer(0); board.showScoreForPlayer(1); board.showScoreForPlayer(2); board.showScoreForPlayer(3); board.increaseTotalScore(roundScore); board.sortScores(); board.changeLeader(); var _local6 = board.getPlayerPos() + 1; textNumber3.prepareNumber(_local6); } } var _local7 = this["textNumber" + _local5].showNumber(); roundAnimationStep(_local5, _local7 + 200); } showed++; if (showed == 9) { board.showLeader(); } } else if (showed < 10) { showTime = showTime + 100; var _local4 = Math.floor((endRoundTime - getTimer()) / 1000); if (_local4 > 9) { _local4 = 9; } if (_local4 < 0) { _local4 = 0; var _local3 = 0; while (_local3 < 5) { this["textNumber" + _local3].fadeOut(); _local3++; } showTime = showTime + 1500; showed++; } else { if (_local4 < 5) { if (textNumber4.getNumber() != _local4) { if (_local4 == 0) { _global.secondCountSlutSound.start(); } else { _global.secondCountSound.start(); } } } textNumber4.reallySetNumber(_local4); } } else { var _local3 = 0; while (_local3 < 5) { this["textNumber" + _local3].hide(); _local3++; } board.roundAnimationDone(); showTime = -1; showed = 0; shouldSetShowTime = false; } } } function roundAnimationStep(step, expectedTime) { if (step == 0) { showAcceptedWords(); } else if (step == 1) { showDuplicateWords(); } else if (step == 2) { _global.scoreCountUpSound.start(); if (!KILLED) { board.scorePanel.showRoundScore(); var _local3 = 0; while (_local3 < 4) { board["opponentLabel" + _local3].scorePanel.showRoundScore(); _local3++; } } showTime = showTime + expectedTime; } else if (step == 3) { showTime = showTime + expectedTime; } else { showTime = showTime + expectedTime; } } function showAcceptedWords() { if (!KILLED) { var _local2 = 0; while (_local2 < 4) { board.revealOpponentWord(_local2); _local2++; } var _local3 = 0; while (_local3 < 3) { board["wordLabel" + _local3].showAccepted(); _local2 = 0; while (_local2 < 4) { board["opponentLabel" + _local2]["wordLabel" + _local3].showAccepted(); _local2++; } _local3++; } } showTime = showTime + 1500; var _local4 = 12; } function showDuplicateWords() { if (!KILLED) { var _local3 = 0; while (_local3 < 3) { board["wordLabel" + _local3].showRealScores(); var _local2 = 0; while (_local2 < 4) { board["opponentLabel" + _local2]["wordLabel" + _local3].showRealScores(); _local2++; } _local3++; } } showTime = showTime + 1500; } var KILLED = false; var showed = 0; var showTime = -1; var endRoundTime = 0; var roundScore = 0; var shouldSetShowTime = false; }
Symbol 381 MovieClip [__Packages.com.midasplayer.wordbattle.Letter] Frame 0
class com.midasplayer.wordbattle.Letter extends MovieClip { var bg, letterClip, scoreClip, bonusClip, letter, score, bonus, idString, yPos, xPos, h, y, _y; function Letter () { super(); letterPositions = letterPositions.split("_A").join(String.fromCharCode(260)); letterPositions = letterPositions.split("_C").join(String.fromCharCode(262)); letterPositions = letterPositions.split("_E").join(String.fromCharCode(280)); letterPositions = letterPositions.split("_L").join(String.fromCharCode(321)); letterPositions = letterPositions.split("_N").join(String.fromCharCode(323)); letterPositions = letterPositions.split("_O").join(String.fromCharCode(211)); letterPositions = letterPositions.split("_S").join(String.fromCharCode(346)); letterPositions = letterPositions.split("_Z").join(String.fromCharCode(377)); letterPositions = letterPositions.split(":Z").join(String.fromCharCode(379)); bg.stop(); bg.gotoAndStop(13); letterClip.stop(); scoreClip.stop(); bonusClip.stop(); mode = 4; col = 0; } function clear() { letterClip.gotoAndStop(0); scoreClip.gotoAndStop(0); bonusClip.gotoAndStop(0); } function setup(charStr, scoreStr, bonusType) { letter = charStr; score = Number(scoreStr); bonus = bonusType; letterClipPos = Math.floor(letterPositions.indexOf(charStr) / 2) + 1; scoreClipPos = score + 2; bonusClipPos = bonus + 1; if (((scoreStr == "") || (scoreStr == undefined)) || (scoreStr == null)) { scoreClipPos = 1; } letterClip.gotoAndStop(letterClipPos); scoreClip.gotoAndStop(scoreClipPos); bonusClip.gotoAndStop(bonusClipPos); mode = 0; var _local2 = "N"; if (bonus == BONUS_2X_LETTER) { _local2 = "2L"; } else if (bonus == BONUS_3X_LETTER) { _local2 = "3L"; } else if (bonus == BONUS_2X_WORD) { _local2 = "2W"; } idString = (((((("" + xPos) + ",") + yPos) + ",") + _local2) + ",") + charStr; occupied = null; mode = 0; if ((bonus == BONUS_2X_LETTER) || (bonus == BONUS_3X_LETTER)) { mode = 1; } if (bonus == BONUS_2X_WORD) { mode = 3; } bg.gotoAndStop(((mode * 3) + 1) + col); if (((charStr == null) || (charStr == undefined)) || (charStr == "")) { mode = 4; col = 0; bg.gotoAndStop(1); bg.gotoAndStop(13); letterClip.gotoAndStop(0); scoreClip.gotoAndStop(0); bonusClip.gotoAndStop(0); } } function copyFrom(letter) { letterClip.gotoAndStop(letter.letterClipPos); scoreClip.gotoAndStop(letter.scoreClipPos); bonusClip.gotoAndStop(letter.bonusClipPos); bg.gotoAndStop(((letter.mode * 3) + 1) + letter.col); } function init(xPos, yPos) { this.xPos = xPos; this.yPos = yPos; h = 0; ha = 0; } function setColor(col) { this.col = col; bg.gotoAndStop(((mode * 3) + 1) + this.col); } function onEnterFrame() { if (_y != Math.floor(y - h)) { _y = Math.floor(y - h); } h = h + ha; if (!pressed) { ha = ha + 0.5; } var _local2 = 0; if (col != 0) { _local2 = -2; } if ((occupied != null) && (occupied.previewMode)) { } if (h >= _local2) { ha = 0; h = _local2; } } function isNear(x, y) { return(Math.max(Math.abs(x - xPos), Math.abs(y - yPos)) == 1); } function getShownLetter() { return(letter); } var occupied = null; var letterPositions = " A B C D E F G H I J K L M N O P Q R S T U V W X Y Z \u00C5 \u00C4 \u00D6 \u00DC QU\u00C6 \u00D8 _A _C _E _L _N _O _S _Z :Z "; static var BONUS_NONE = 0; static var BONUS_2X_LETTER = 1; static var BONUS_3X_LETTER = 2; static var BONUS_2X_WORD = 3; var pressed = false; var ha = 0; var mode = 0; var col = 0; var letterClipPos = 0; var scoreClipPos = 0; var bonusClipPos = 0; }
Symbol 382 MovieClip [__Packages.com.midasplayer.wordbattle.WordLabel] Frame 0
class com.midasplayer.wordbattle.WordLabel extends MovieClip { var id, board, selectionPlate, statusCheckbox, letters, textLabel, bgColor, textBackground, tosetAccepted, tosetShowTime, updateTime, scoreLabel0, scoreLabel1, scoreLabel2, scoreLabel3, scoreLabel4, dupeIndicator, wordPreview, targetText; function WordLabel () { super(); } function init(board, id) { this.id = id; this.board = board; selectionPlate.gotoAndStop(3); statusCheckbox.stop(); statusCheckbox.gotoAndStop(3); letters = new Array(); textLabel.text = ""; bgColor = new Color(textBackground); var thisLabel = this; selectionPlate.onRollOver = function () { thisLabel.previewMode = true; }; selectionPlate.onRollOut = function () { thisLabel.previewMode = false; }; selectionPlate.onPress = function () { thisLabel.board.labelPressed(thisLabel); }; setSelected(false); } function clearClicked() { clearAllLetters(); board.labelPressed(this); } function setAccepted(accepted, showTime) { tosetAccepted = accepted; tosetShowTime = showTime; } function showAccepted() { accepted = tosetAccepted; showTime = getTimer() + tosetShowTime; } function showRealScores() { updateTime = getTimer() + tosetShowTime; } function setSelected(selected) { this.selected = selected; selectionPlate.gotoAndStop((selected ? 1 : (((letters.length > 0) ? 2 : 3)))); if (selected) { bgColor.setTransform({ra:100, rb:0, ga:0, gb:0, ba:0, bb:0, aa:50, ab:0}); } else { bgColor.setTransform({ra:0, rb:0, ga:0, gb:0, ba:0, bb:0, aa:50, ab:0}); } var _local2 = 0; while (_local2 < letters.length) { var _local3 = letters[_local2]; if (selected) { _local3.setColor(1); } else { _local3.setColor(2); } _local2++; } } function canClick(x, y) { if (letters.length == 0) { return(true); } var _local2 = letters[letters.length - 1]; return(_local2.isNear(x, y)); } function addChar(letter) { letters.push(letter); textLabel.text = textLabel.text + letter.getShownLetter(); board.labelChanged(this); selectionPlate.gotoAndStop((selected ? 1 : (((letters.length > 0) ? 2 : 3)))); } function isLastChar(letter) { return((letters.length >= 3) && (letter == letters[letters.length - 1])); } function isEmpty() { return(letters.length == 0); } function clearCheckBox() { } function clearAllLetters() { while (letters.length > 0) { var _local2 = letters.pop(); _local2.setColor(0); _local2.occupied = null; } textLabel.text = ""; board.labelChanged(this); selectionPlate.gotoAndStop((selected ? 1 : (((letters.length > 0) ? 2 : 3)))); } function getWordCode1() { var _local4 = ""; var _local2 = 0; while (_local2 < letters.length) { var _local3 = letters[_local2]; if (_local2 > 0) { _local4 = _local4 + " "; } _local4 = _local4 + _local3.idString; _local2++; } return(_local4); } function getWordPos() { var _local4 = ""; var _local2 = 0; while (_local2 < letters.length) { var _local3 = letters[_local2]; if (_local2 > 0) { _local4 = _local4 + " "; } _local4 = _local4 + ((_local3.xPos + ",") + _local3.yPos); _local2++; } return(_local4); } function getWordCode2() { var _local4 = ""; var _local2 = 0; while (_local2 < letters.length) { var _local3 = letters[_local2]; if (_local2 > 0) { _local4 = _local4 + " "; } _local4 = _local4 + (("" + _local3.idString) + ""); _local2++; } return(_local4); } function calcScore() { score = 0; if (letters.length >= 3) { var _local6 = 1; var _local5 = 0; var _local7 = letters.length; var _local4 = 0; while (_local4 < letters.length) { var _local2 = letters[_local4]; var _local3 = _local2.score; if (_local2.bonus == com.midasplayer.wordbattle.Letter.BONUS_2X_LETTER) { _local3 = _local3 * 2; } else if (_local2.bonus == com.midasplayer.wordbattle.Letter.BONUS_3X_LETTER) { _local3 = _local3 * 3; } else if (_local2.bonus == com.midasplayer.wordbattle.Letter.BONUS_2X_WORD) { _local6 = _local6 * 2; } _local5 = _local5 + _local3; _local4++; } score = (20 * (_local5 + ((_local7 * _local7) / 2))) * _local6; } scoreLabel0.targetValue = Math.floor(score / 1) % 10; scoreLabel1.targetValue = Math.floor(score / 10) % 10; scoreLabel2.targetValue = Math.floor(score / 100) % 10; scoreLabel3.targetValue = Math.floor(score / 1000) % 10; scoreLabel4.targetValue = Math.floor(score / 10000) % 10; } function clearUntil(letter) { if (letters.length == 1) { var _local3 = letters.pop(); _local3.setColor(0); _local3.occupied = null; textLabel.text = ""; board.labelChanged(this); } else { while ((letters.length > 0) && (letters[letters.length - 1] != letter)) { var _local3 = letters.pop(); _local3.setColor(0); _local3.occupied = null; } board.labelChanged(this); } textLabel.text = ""; var _local2 = 0; while (_local2 < letters.length) { textLabel.text = textLabel.text + letters[_local2].getShownLetter(); _local2++; } selectionPlate.gotoAndStop((selected ? 1 : (((letters.length > 0) ? 2 : 3)))); } function setDupe(dupeNum) { dupeIndicator._alpha = 0; dupeIndicator.gotoAndStop(dupeNum); } function onEnterFrame() { if (showTime > 0) { statusCheckbox._alpha = 100; if (getTimer() > showTime) { wordPreview._alpha = 0; textLabel.text = dePolificate(targetText); if (playSounds) { if (accepted == 1) { _global.wordGoodSound.start(); } else if (accepted == 2) { _global.wordBadSound.start(); } else { _global.sharedWordSound.start(); } } statusCheckbox.gotoAndStop(accepted); showTime = 0; clearTime = getTimer() + 10000; scoreLabel0.targetValue = Math.floor(score / 1) % 10; scoreLabel1.targetValue = Math.floor(score / 10) % 10; scoreLabel2.targetValue = Math.floor(score / 100) % 10; scoreLabel3.targetValue = Math.floor(score / 1000) % 10; scoreLabel4.targetValue = Math.floor(score / 10000) % 10; } } if (updateTime > 0) { if (getTimer() > updateTime) { updateTime = 0; score = realScore; clearDupeTime = getTimer() + 8000; if (dupeLevel > 0) { if (dupeLevel > 4) { dupeLevel = 4; } if (shouldShowPoof) { statusCheckbox.scorePoof.show(dupeLevel); } statusCheckbox.gotoAndStop(4 + dupeLevel); } scoreLabel0.targetValue = Math.floor(score / 1) % 10; scoreLabel1.targetValue = Math.floor(score / 10) % 10; scoreLabel2.targetValue = Math.floor(score / 100) % 10; scoreLabel3.targetValue = Math.floor(score / 1000) % 10; scoreLabel4.targetValue = Math.floor(score / 10000) % 10; } } if (clearTime > 0) { var _local3 = Math.round((clearTime - getTimer()) / 10); if (_local3 > 100) { _local3 = 100; } if (_local3 < 0) { _local3 = 0; } statusCheckbox._alpha = _local3; if (getTimer() > clearTime) { statusCheckbox.gotoAndStop(3); clearTime = 0; } } if (clearDupeTime > 0) { var _local3 = Math.round((clearDupeTime - getTimer()) / 10); if (_local3 > 100) { _local3 = 100; } if (_local3 < 0) { _local3 = 0; } dupeIndicator._alpha = _local3; if (getTimer() > clearDupeTime) { dupeIndicator.gotoAndStop(1); clearDupeTime = 0; } } } function dePolificate(str) { return(str); } var selected = false; var previewMode = false; var playSounds = false; var shouldShowPoof = false; var shouldShowWord = false; var accepted = 1; var showTime = 0; var clearTime = 0; var clearDupeTime = 0; var dupeLevel = 0; var score = 0; var realScore = 0; }
Symbol 383 MovieClip [__Packages.com.midasplayer.wordbattle.Board] Frame 0
class com.midasplayer.wordbattle.Board extends MovieClip { var targetRound, playerTotalScore, roundScores, wordLabel0, wordLabel1, wordLabel2, scorePanel, opponentLabel0, opponentLabel1, opponentLabel2, opponentLabel3, attachMovie, tiles, comm, roundCounterText, timeCounterText, roundLabel, timeLeftLabel, scoreLabel, roundData, roundCounter, timeCounter, timeAlert, selectedLabel, lid0, lid1, lid2; function Board () { super(); targetRound = ROUND_COUNT; playerTotalScore = new Array(); playerTotalScore[0] = -2; playerTotalScore[1] = -2; playerTotalScore[2] = -2; playerTotalScore[3] = -2; playerTotalScore[4] = -2; _global.clockSound = new Sound(); _global.clockSound.attachSound("clockAlertSound"); _global.markSound = new Sound(); _global.markSound.attachSound("markSound"); _global.wordGoodSound = new Sound(); _global.wordGoodSound.attachSound("wordGoodSound"); _global.wordBadSound = new Sound(); _global.wordBadSound.attachSound("wordBadSound"); _global.sharedWordSound = new Sound(); _global.sharedWordSound.attachSound("sharedWordSound"); _global.startSound = new Sound(); _global.startSound.attachSound("startSound"); _global.startSound.start(); _global.newRoundSound = new Sound(); _global.newRoundSound.attachSound("newRoundSound"); _global.bonusRoundSound = new Sound(); _global.bonusRoundSound.attachSound("bonusRoundSound"); _global.submitWordSound = new Sound(); _global.submitWordSound.attachSound("submitWordSound"); _global.getGoldSound = new Sound(); _global.getGoldSound.attachSound("getGoldSound"); _global.scoreCountUpSound = new Sound(); _global.scoreCountUpSound.attachSound("scoreCountUpSound"); _global.secondCountSlutSound = new Sound(); _global.secondCountSlutSound.attachSound("secondCountSlutSound"); _global.secondCountSound = new Sound(); _global.secondCountSound.attachSound("secondCountSound"); roundScores = new Array(); var _local7 = 0; while (_local7 < 6) { roundScores[_local7] = 0; _local7++; } var _local5 = 0; while (_local5 < 4) { this["opponentLabel" + _local5].scorePanel.nameLabel.text = "-- nobody --"; var _local6 = 0; while (_local6 < 3) { this["opponentLabel" + _local5]["wordLabel" + _local6].textLabel.text = ""; this["opponentLabel" + _local5]["wordLabel" + _local6].wordPreview._alpha = 100; wordPreview(_local5, _local6, 0); this["opponentLabel" + _local5]["wordLabel" + _local6].statusCheckbox.gotoAndStop(3); _local6++; } _local6 = 0; while (_local6 < 7) { this["opponentLabel" + _local5].scorePanel["scoreLabel" + _local6].targetValue = 0; _local6++; } _local5++; } setTimeCounter(0, 0, 0); _root.resultWindow._visible = false; _root.goTitle._visible = false; _root.goScoreTitle._visible = false; _root.goBonusTitle._visible = false; _root.goRoundList._visible = false; _root.goScoreList._visible = false; _root.goBonusList._visible = false; _root.goInfo._visible = false; wordLabel0.playSounds = true; wordLabel1.playSounds = true; wordLabel2.playSounds = true; } function init() { scorePanel.setPlayerMode(true); opponentLabel0.scorePanel.setPlayerMode(false); opponentLabel1.scorePanel.setPlayerMode(false); opponentLabel2.scorePanel.setPlayerMode(false); opponentLabel3.scorePanel.setPlayerMode(false); increaseTotalScore(0); var _local8 = 0; while (_local8 < 3) { var _local5 = 0; while (_local5 < 10) { var _local3 = attachMovie("Arrow", (("a_" + _local8) + "_") + _local5, (1000 + (_local8 * 10)) + _local5); _local3.stop(); _local3._visible = false; var _local10 = Math.floor(Math.random() * 3) + 1; var _local9 = Math.floor(Math.random() * 3) + 1; _local3._x = ((462 + (56 * _local10)) + 24) - 16; _local3._y = ((20 + (56 * _local9)) + 24) - 16; var _local2 = Math.floor(Math.random() * 8); if (((_local2 == 0) || (_local2 == 1)) || (_local2 == 7)) { _local3._y = _local3._y - 27; } else if (((_local2 == 3) || (_local2 == 4)) || (_local2 == 5)) { _local3._y = _local3._y + 27; } if (((_local2 == 5) || (_local2 == 6)) || (_local2 == 7)) { _local3._x = _local3._x - 27; } else if (((_local2 == 1) || (_local2 == 2)) || (_local2 == 3)) { _local3._x = _local3._x + 27; } _local3.gotoAndStop((_local2 + 1) + (Math.floor(Math.random() * 2) * 8)); _local5++; } _local8++; } wordLabel0.init(this, 0); wordLabel1.init(this, 1); wordLabel2.init(this, 2); wordLabel0.calcScore(); wordLabel1.calcScore(); wordLabel2.calcScore(); calcScore(); roundScore = 0; revealPos = 125; revealed = 125; tiles = new Array(); var _local6 = 0; while (_local6 < 5) { tiles[_local6] = new Array(); var _local4 = 0; while (_local4 < 5) { var _local7 = this[(("l_" + _local6) + "_") + _local4]; _local7.occupied = null; _local7.init(this, _local6, _local4); tiles[_local6][_local4] = _local7.lowerLetter; _local4++; } _local6++; } } function initGame() { comm = new com.midasplayer.wordbattle.Comm(this); roundCounterText.setInstaText(_global.textMappings.round); timeCounterText.setInstaText(_global.textMappings.time_left); roundLabel.text = _global.textMappings.round; timeLeftLabel.text = _global.textMappings.time_left; scoreLabel.text = _global.textMappings.score; startIn = getTimer() + 9000; var _local3 = this; } function startGame() { started = true; openAllLids(); roundScore = 0; revealPos = 0; lastTime = getTimer(); } function nextRound() { if ((roundNum == targetRound) || (outOfTime)) { roundEndTime = -1; roundNum = targetRound; gameOver = true; labelPressed(null); noInput = true; shouldSendWordPreview = false; } else if (!hideMode) { roundEndTime = getTimer() + ROUND_TIME; } } function initArrow(word, letter, x1, y1, x2, y2, mode) { var _local7 = this[(("a_" + word) + "_") + letter]; if (mode == -1) { _local7._visible = false; } else { var _local2 = 0; if ((x2 == (x1 + 0)) && (y2 == (y1 - 1))) { _local2 = 0; } if ((x2 == (x1 + 1)) && (y2 == (y1 - 1))) { _local2 = 1; } if ((x2 == (x1 + 1)) && (y2 == (y1 + 0))) { _local2 = 2; } if ((x2 == (x1 + 1)) && (y2 == (y1 + 1))) { _local2 = 3; } if ((x2 == (x1 + 0)) && (y2 == (y1 + 1))) { _local2 = 4; } if ((x2 == (x1 - 1)) && (y2 == (y1 + 1))) { _local2 = 5; } if ((x2 == (x1 - 1)) && (y2 == (y1 + 0))) { _local2 = 6; } if ((x2 == (x1 - 1)) && (y2 == (y1 - 1))) { _local2 = 7; } _local7._x = (((462 + (56 * x1)) + 24) - 16) + ((x2 - x1) * 28); _local7._y = (((20 + (56 * y1)) + 24) - 16) + ((y2 - y1) * 28); _local7._visible = true; _local7.gotoAndStop((_local2 + 1) + (mode * 8)); } } function submit() { if (!started) { startIn = 0; _global.startSound.stop(); _root.startButton._visible = false; _root.infoTitle._visible = false; _root.infoText._visible = false; startGame(); return(undefined); } if (noInput) { return(undefined); } clockPaused = true; var _local4 = getTimer() - roundStartTime; halfSeconds = Math.floor(_local4 / 500); labelPressed(null); noInput = true; shouldSendWordPreview = false; comm.submitWords(wordLabel0, wordLabel1, wordLabel2); removeWordArrows(wordLabel0); removeWordArrows(wordLabel1); removeWordArrows(wordLabel2); } function lastPlayer() { if (splashesShown < ROUND_COUNT) { crashGame(_global.textMappings.opponent_disconnect); } } function endGame() { if ((!gameOver) && (!gameEnded)) { realTotalScore = 0; totalScore = 0; comm.endGamePressed(); crashGame(_global.textMappings.local_disconnect); } } function crashGame(reason) { if ((!gameOver) && (!gameEnded)) { roundData.KILLED = true; roundData._alpha = 0; wordLabel0.clearAllLetters(); buildWordArrows(wordLabel0); wordLabel1.clearAllLetters(); buildWordArrows(wordLabel1); wordLabel2.clearAllLetters(); buildWordArrows(wordLabel2); _root.errorTitle.text = ""; _root.errorText.text = reason; crashState = 1; gameEnded = true; if (!hasSentGameEnd) { roundNum = ROUND_COUNT; comm.doGameOver(); hasSentGameEnd = true; fscommand ("gameEnd", realTotalScore.toString()); } hideMode = true; bricksReceived(); } } function prepareWords() { } function wordsAcceptedForPlayer(playerNum, s0, s1, s2, t0, t1, t2, d0, d1, d2, pw0, pw1, pw2) { var _local19 = s0 > 0; var _local18 = s1 > 0; var _local17 = s2 > 0; var _local5 = 1; var _local4 = 1; var _local3 = 1; if (d0 > 0) { if (t0 == pw0) { _local5 = 2; } if (t0 == pw1) { _local5 = 3; } if (t0 == pw2) { _local5 = 4; } } if (d1 > 0) { if (t1 == pw0) { _local4 = 2; } if (t1 == pw1) { _local4 = 3; } if (t1 == pw2) { _local4 = 4; } } if (d2 > 0) { if (t2 == pw0) { _local3 = 2; } if (t2 == pw1) { _local3 = 3; } if (t2 == pw2) { _local3 = 4; } } var _local11 = (s0.valueOf() + s1.valueOf()) + s2.valueOf(); this["opponentLabel" + playerNum].scorePanel.setRoundScore(_local11); this["opponentLabel" + playerNum].wordLabel0.setDupe(_local5); this["opponentLabel" + playerNum].wordLabel1.setDupe(_local4); this["opponentLabel" + playerNum].wordLabel2.setDupe(_local3); this["opponentLabel" + playerNum].wordLabel0.dupeLevel = d0; this["opponentLabel" + playerNum].wordLabel1.dupeLevel = d1; this["opponentLabel" + playerNum].wordLabel2.dupeLevel = d2; this["opponentLabel" + playerNum].wordLabel0.setAccepted((_local19 ? (((d0 > 0) ? 4 : 1)) : 2), 0); this["opponentLabel" + playerNum].wordLabel1.setAccepted((_local18 ? (((d1 > 0) ? 4 : 1)) : 2), 500); this["opponentLabel" + playerNum].wordLabel2.setAccepted((_local17 ? (((d2 > 0) ? 4 : 1)) : 2), 1000); this["opponentLabel" + playerNum].wordLabel0.targetText = t0; this["opponentLabel" + playerNum].wordLabel1.targetText = t1; this["opponentLabel" + playerNum].wordLabel2.targetText = t2; this["opponentLabel" + playerNum].wordLabel0.shouldShowWord = true; this["opponentLabel" + playerNum].wordLabel1.shouldShowWord = true; this["opponentLabel" + playerNum].wordLabel2.shouldShowWord = true; increaseTotalScoreForPlayer(playerNum, s0); increaseTotalScoreForPlayer(playerNum, s1); increaseTotalScoreForPlayer(playerNum, s2); } function revealOpponentWord(playerNum) { } function wordPreview(playerNum, word, count) { this["opponentLabel" + playerNum]["wordLabel" + word].wordPreview.gotoAndStop(((playerNum * 10) + count) + 1); } function wordsAccepted(s0, s1, s2, duplicateWords, d0, d1, d2) { var _local9 = s0 > 0; var _local8 = s1 > 0; var _local6 = s2 > 0; shouldSendWordPreview = false; var _local7 = (s0 + s1) + s2; realTotalScore = realTotalScore + _local7; wordLabel0.setDupe(((d0 > 0) ? 2 : 1)); wordLabel1.setDupe(((d1 > 0) ? 3 : 1)); wordLabel2.setDupe(((d2 > 0) ? 4 : 1)); wordLabel0.realScore = s0; wordLabel1.realScore = s1; wordLabel2.realScore = s2; var _local2 = 0; if (_local9) { _local2++; } else { wordLabel0.score = 0; } if (_local8) { _local2++; } else { wordLabel1.score = 0; } if (_local6) { _local2++; } else { wordLabel2.score = 0; } var _local4 = wordLabel0.textLabel.text; wordLabel0.clearAllLetters(); wordLabel0.textLabel.text = _local4; wordLabel0.targetText = _local4; _local4 = wordLabel1.textLabel.text; wordLabel1.clearAllLetters(); wordLabel1.textLabel.text = _local4; wordLabel1.targetText = _local4; _local4 = wordLabel2.textLabel.text; wordLabel2.clearAllLetters(); wordLabel2.textLabel.text = _local4; wordLabel2.targetText = _local4; wordLabel0.setAccepted((_local9 ? (((d0 > 0) ? 4 : 1)) : 2), 0); wordLabel1.setAccepted((_local8 ? (((d1 > 0) ? 4 : 1)) : 2), 500); wordLabel2.setAccepted((_local6 ? (((d2 > 0) ? 4 : 1)) : 2), 1000); wordLabel0.dupeLevel = d0; wordLabel1.dupeLevel = d1; wordLabel2.dupeLevel = d2; wordLabel0.shouldShowPoof = true; wordLabel1.shouldShowPoof = true; wordLabel2.shouldShowPoof = true; calcScore(); roundScore = _local7; roundScores[roundNum] = roundScore; removeWordArrows(wordLabel0); removeWordArrows(wordLabel1); removeWordArrows(wordLabel2); scorePanel.setRoundScore(roundScore); var _local5 = getPlayerPos() + 1; if (roundNum == (ROUND_COUNT - 1)) { if (!hasSentGameEnd) { fscommand ("playData", ("799," + _local5) + "=0"); comm.doGameOver(); hasSentGameEnd = true; fscommand ("gameEnd", realTotalScore.toString()); } } splashesShown++; roundData.show(_local2, duplicateWords, roundScore, _local5, this, roundNum == (ROUND_COUNT - 1), d0 > 0, d1 > 0, d2 > 0); revealPos = 0; roundScore = 0; } function roundOver() { roundNum++; } function bricksReceived() { if (started) { if (hideMode) { closeAllLids(); } else { openAllLids(); } } revealed = -25; } function onEnterFrame() { if (counterAlphaTime > 0) { var _local10 = (getTimer() - counterAlphaTime) / 30; if (_local10 > 100) { _local10 = 100; counterAlphaTime = -1; } roundCounter._alpha = _local10; timeCounter._alpha = _local10; roundCounterText._alpha = 100 - (_local10 * 0.66); timeCounterText._alpha = 100 - (_local10 * 0.66); } comm.tick(); if (((!gameStarted) && (connectedTime >= 0)) && ((getTimer() - connectedTime) > 30000)) { crashGame(_global.textMappings.opponent_noconnect); } var _local8 = 0; while (_local8 < 5) { var _local7 = this["pos" + _local8]._alpha + 5; if (_local7 > 100) { _local7 = 100; } this["pos" + _local8]._alpha = _local7; _local8++; } if (startIn > 0) { var _local15 = Math.floor((startIn - getTimer()) / 1000); if (getTimer() > startIn) { startIn = -1; submit(); } return(undefined); } if (crashStartTime > 0) { if (getTimer() > (crashStartTime + 1500)) { _root.errorTitle._visible = true; _root.errorText._visible = true; } if (getTimer() > (crashStartTime + 6500)) { crashStartTime = -1; comm.shutdownForReal(); fscommand ("gameQuit"); } } if (!inited) { init(); inited = true; } var _local12 = getTimer(); if (roundEndTime > 0) { var _local11 = Math.round(roundEndTime - getTimer()); if (_local11 < 0) { _local11 = 0; roundEndTime = -1; submit(); hideMode = true; bricksReceived(); } var _local9 = Math.floor(_local11 / 1000); if ((_local9 < 5) && (lastRemainingSeconds != _local9)) { lastRemainingSeconds = _local9; if (_local9 == 0) { _global.secondCountSlutSound.start(); } else { _global.secondCountSound.start(); } } var _local13 = Math.floor(_local9 / 60); _local9 = _local9 - (_local13 * 60); setTimeCounter(_local13, Math.floor(_local9 / 10), Math.floor(_local9 % 10)); } if ((lastTime >= 0) && (!gameOver)) { if (!clockPaused) { passedTime = passedTime + (_local12 - lastTime); } lastTime = _local12; if (gameEnded) { passedTime = passedTime + 60000; } } if (revealed < 25) { if (revealed < 0) { _local8 = 0; while ((_local8 < 2) && (revealed < 0)) { var _local6 = revealed + 15; if ((_local6 >= 0) && (_local6 < 25)) { if (_local6 == 0) { _global.newRoundSound.start(); } var _local5 = Math.floor(_local6 * 11) % 5; var _local4 = Math.floor((_local6 * 11) / 5) % 5; if (!hideMode) { this[(("l_" + _local5) + "_") + _local4].brickPopup.gotoAndPlay(2); } else { this[(("l_" + _local5) + "_") + _local4].brickPopup.gotoAndPlay(8); } } revealed++; _local8++; } } else { _local8 = 0; while ((_local8 < 2) && (revealed < 25)) { var _local6 = revealed + 15; if ((_local6 >= 0) && (_local6 < 25)) { var _local5 = Math.floor(_local6 * 11) % 5; var _local4 = Math.floor((_local6 * 11) / 5) % 5; if (!hideMode) { this[(("l_" + _local5) + "_") + _local4].brickPopup.gotoAndPlay(2); } else { this[(("l_" + _local5) + "_") + _local4].brickPopup.gotoAndPlay(8); } } var _local5 = Math.floor(revealPos) % 5; var _local4 = Math.floor(revealPos / 5) % 5; if (!hideMode) { this[(("l_" + _local5) + "_") + _local4].reveal(comm.getChar(_local5, _local4), comm.getScore(_local5, _local4), ((roundNum < targetRound) ? (comm.getBonusAt(_local5, _local4)) : 0)); } else { this[(("l_" + _local5) + "_") + _local4].reveal(undefined, undefined, 0); } revealPos = revealPos + 11; revealed++; _local8++; } } if (revealed == 25) { if (crashState == 1) { crashState = 2; crashStartTime = getTimer(); } if (!hideMode) { wordLabel0.clearAllLetters(); wordLabel1.clearAllLetters(); wordLabel2.clearAllLetters(); buildWordArrows(wordLabel0); buildWordArrows(wordLabel1); buildWordArrows(wordLabel2); } else { roundData.bricksRevealed(); removeWordArrows(wordLabel0); removeWordArrows(wordLabel1); removeWordArrows(wordLabel2); } if (!hideMode) { calcScore(); wordLabel0.calcScore(); wordLabel1.calcScore(); wordLabel2.calcScore(); wordLabel0.clearCheckBox(); wordLabel1.clearCheckBox(); wordLabel2.clearCheckBox(); } if (roundNum < targetRound) { noInput = hideMode; shouldSendWordPreview = !hideMode; } var _local14 = roundNum; nextWord(); nextRound(); if (_local14 < targetRound) { roundStartTime = getTimer(); noInput = hideMode; shouldSendWordPreview = !hideMode; } else if (endTime < 0) { endTime = getTimer(); } clockPaused = false; } } if (gameOver) { timeAlert._visible = false; } } function roundAnimationDone() { scorePanel.setRoundScore(0); scorePanel.showRoundScore(); var _local2 = 0; while (_local2 < 4) { this["opponentLabel" + _local2].scorePanel.setRoundScore(0); this["opponentLabel" + _local2].scorePanel.showRoundScore(); this["opponentLabel" + _local2].wordLabel0.textLabel.text = ""; this["opponentLabel" + _local2].wordLabel1.textLabel.text = ""; this["opponentLabel" + _local2].wordLabel2.textLabel.text = ""; this["opponentLabel" + _local2].wordLabel0.wordPreview._alpha = 100; this["opponentLabel" + _local2].wordLabel1.wordPreview._alpha = 100; this["opponentLabel" + _local2].wordLabel2.wordPreview._alpha = 100; wordPreview(_local2, 0, 0); wordPreview(_local2, 1, 0); wordPreview(_local2, 2, 0); _local2++; } if (roundNum < ROUND_COUNT) { hideMode = false; comm.nextRound(); } else { timeAlert._visible = false; comm.shutdownForReal(); if (!hasSentGameEnd) { hasSentGameEnd = true; fscommand ("gameEnd", realTotalScore.toString()); } fscommand ("gameQuit"); endTime = -1; } } function setTimeCounter(min, sec0, sec1) { timeCounter.digit0.gotoAndStop(min + 1); timeCounter.digit1.gotoAndStop(sec0 + 1); timeCounter.digit2.gotoAndStop(sec1 + 1); } function labelPressed(wordLabel) { if (noInput) { return(undefined); } if (selectedLabel != null) { if (selectedLabel.letters.length < 3) { selectedLabel.clearAllLetters(); } } if ((wordLabel != null) && (wordLabel == selectedLabel)) { selectedLabel = null; nextWord(); return(undefined); } selectedLabel = wordLabel; wordLabel0.setSelected(wordLabel == wordLabel0); wordLabel1.setSelected(wordLabel == wordLabel1); wordLabel2.setSelected(wordLabel == wordLabel2); buildWordArrows(wordLabel0); buildWordArrows(wordLabel1); buildWordArrows(wordLabel2); wordLabel0.calcScore(); wordLabel1.calcScore(); wordLabel2.calcScore(); calcScore(); } function buildWordArrows(word) { var _local2 = 0; while (_local2 < 10) { if (word.letters.length >= (_local2 + 2)) { var _local5 = word.letters[_local2]; var _local4 = word.letters[_local2 + 1]; initArrow(word.id, _local2, _local5.xPos, _local5.yPos, _local4.xPos, _local4.yPos, (word.selected ? 0 : 1)); } else { initArrow(word.id, _local2, -1, -1, -1, -1, -1); } _local2++; } } function removeWordArrows(word) { var _local2 = 0; while (_local2 < 10) { initArrow(word.id, _local2, -1, -1, -1, -1, -1); _local2++; } } function calcScore() { var _local2 = 0; _local2 = _local2 + wordLabel0.score; _local2 = _local2 + wordLabel1.score; _local2 = _local2 + wordLabel2.score; roundScore = _local2; } function increaseTotalScoreForPlayer(playerNum, toAdd) { playerTotalScore[playerNum] = playerTotalScore[playerNum] + toAdd; } function showScoreForPlayer(playerNum) { this["opponentLabel" + playerNum].scorePanel.scoreLabel0.targetValue = Math.floor(playerTotalScore[playerNum] / 1) % 10; this["opponentLabel" + playerNum].scorePanel.scoreLabel1.targetValue = Math.floor(playerTotalScore[playerNum] / 10) % 10; this["opponentLabel" + playerNum].scorePanel.scoreLabel2.targetValue = Math.floor(playerTotalScore[playerNum] / 100) % 10; this["opponentLabel" + playerNum].scorePanel.scoreLabel3.targetValue = Math.floor(playerTotalScore[playerNum] / 1000) % 10; this["opponentLabel" + playerNum].scorePanel.scoreLabel4.targetValue = Math.floor(playerTotalScore[playerNum] / 10000) % 10; this["opponentLabel" + playerNum].scorePanel.scoreLabel5.targetValue = Math.floor(playerTotalScore[playerNum] / 100000) % 10; this["opponentLabel" + playerNum].scorePanel.scoreLabel6.targetValue = Math.floor(playerTotalScore[playerNum] / 1000000) % 10; } function increaseTotalScore(toAdd) { totalScore = totalScore + toAdd; scorePanel.scoreLabel0.targetValue = Math.floor(totalScore / 1) % 10; scorePanel.scoreLabel1.targetValue = Math.floor(totalScore / 10) % 10; scorePanel.scoreLabel2.targetValue = Math.floor(totalScore / 100) % 10; scorePanel.scoreLabel3.targetValue = Math.floor(totalScore / 1000) % 10; scorePanel.scoreLabel4.targetValue = Math.floor(totalScore / 10000) % 10; scorePanel.scoreLabel5.targetValue = Math.floor(totalScore / 100000) % 10; scorePanel.scoreLabel6.targetValue = Math.floor(totalScore / 1000000) % 10; } function letterPressed(letter) { if (noInput) { return(undefined); } if (tiles[letter.xPos][letter.yPos].occupied == null) { if (selectedLabel != null) { if (selectedLabel.canClick(letter.xPos, letter.yPos)) { if (selectedLabel.letters.length < 10) { selectedLabel.addChar(letter); letter.setColor(1); tiles[letter.xPos][letter.yPos].occupied = selectedLabel; _global.markSound.start(); letter.h = -3; letter.ha = 0; letter.pressed = true; letter.setColor(1); buildWordArrows(selectedLabel); selectedLabel.calcScore(); calcScore(); } } else { _global.markSound.start(); letter.h = -3; letter.ha = 0; letter.pressed = true; selectedLabel.clearAllLetters(); letterPressed(letter); buildWordArrows(selectedLabel); selectedLabel.calcScore(); calcScore(); } } } else { var _local4 = tiles[letter.xPos][letter.yPos].occupied; if (_local4 == selectedLabel) { if (_local4.isLastChar(letter)) { _global.submitWordSound.start(); buildWordArrows(_local4); nextWord(); } else { letter.h = -3; letter.ha = 0; letter.pressed = true; _local4.clearUntil(letter); _local4.calcScore(); calcScore(); buildWordArrows(_local4); } } else if ((selectedLabel == null) || (selectedLabel.letters.length == 0)) { labelPressed(_local4); } } } function nextWord() { var _local2 = 0; while (_local2 < 3) { if (this["wordLabel" + _local2].isEmpty()) { labelPressed(this["wordLabel" + _local2]); return(undefined); } _local2++; } labelPressed(null); } function getPlayerPos() { var _local3 = new Array(); var _local7 = new Array(); _local3[0] = realTotalScore; _local7[0] = 2; var _local5 = 0; while (_local5 < 4) { _local3[_local5 + 1] = playerTotalScore[_local5]; _local7[_local5 + 1] = _local5 + 3; _local3[(_local5 + 1) + 4] = -1; _local7[(_local5 + 1) + 4] = 1; _local5++; } var _local8 = new Array(); _local5 = 0; while (_local5 < 5) { var _local6 = -100; var _local4 = -100; var _local2 = 0; while (_local2 < 9) { if (_local3[_local2] > _local6) { _local6 = _local3[_local2]; _local4 = _local2; } _local2++; } _local3[_local4] = -200; _local8[_local5] = _local7[_local4]; if (_local7[_local4] == 2) { return(_local5); } _local5++; } } function sortScores() { var _local5 = new Array(); var _local7 = new Array(); _local5[0] = totalScore; _local7[0] = 2; var _local4 = 0; while (_local4 < 4) { _local5[_local4 + 1] = playerTotalScore[_local4]; _local7[_local4 + 1] = _local4 + 3; _local5[(_local4 + 1) + 4] = -1; _local7[(_local4 + 1) + 4] = 1; _local4++; } var _local8 = new Array(); _local4 = 0; while (_local4 < 5) { var _local6 = -100; var _local3 = -100; var _local2 = 0; while (_local2 < 9) { if (_local5[_local2] > _local6) { _local6 = _local5[_local2]; _local3 = _local2; } _local2++; } if (_local4 == 0) { leader = _local7[_local3]; } _local5[_local3] = -200; _local8[_local4] = _local7[_local3]; this["pos" + _local4]._alpha = 0; this["pos" + _local4].gotoAndStop(_local7[_local3]); _local4++; } } function changeLeader() { if (oldLeader != leader) { if (oldLeader == 2) { scorePanel.setLeader(false); } if (oldLeader > 2) { this["opponentLabel" + (oldLeader - 3)].scorePanel.setLeader(false); } oldLeader = leader; } } function showLeader() { if (leader == 2) { if (!scorePanel.isLeader()) { _global.getGoldSound.start(); } scorePanel.setLeader(true); } if (leader > 2) { this["opponentLabel" + (leader - 3)].scorePanel.setLeader(true); } } function labelChanged(label) { var _local3 = label.id; var _local2 = label.letters.length; if (_local2 > 9) { _local2 = 9; } if (shouldSendWordPreview) { comm.sendWordPreview(_local3, _local2); } } function openAllLids() { roundCounter.gotoAndStop(roundNum + 2); lid0.gotoAndPlay(2); lid1.gotoAndPlay(2); lid2.gotoAndPlay(2); counterAlphaTime = getTimer(); } function closeAllLids() { lid0.gotoAndPlay(8); lid1.gotoAndPlay(8); lid2.gotoAndPlay(8); } var ROUND_TIME = 61000; var ROUND_COUNT = 4; var inited = false; var revealPos = 0; var revealed = 0; var gameStarted = false; var shouldSendWordPreview = false; var connectedTime = -1; var counterAlphaTime = -1; var lastRoundSlider = -1; var clockState = -1; var roundScore = 0; var totalScore = 0; var realTotalScore = 0; var noInput = true; var outOfTime = false; var roundNum = 0; var roundStartTime = 0; var totalTimeBonus = 0; var halfSeconds = 0; var lastTime = -1; var passedTime = 0; var endTime = -1; var splashesShown = 0; var bestWord = "None!"; var bestWordScore = 0; var gameOver = false; var totalFiveLetterWords = 0; var totalSixLetterWords = 0; var timeAlertValue = 0; var roundXFlashTime = 0; var roundXStartTime = -1; var timeAlertFlashTime = -1; var gameEnded = false; var started = false; var startIn = 0; var clockPaused = true; var roundEndTime = -1; var hasSentGameEnd = false; var hideMode = false; var crashStartTime = -1; var crashState = 0; var lastRemainingSeconds = -1; var oldLeader = -1; var leader = -1; }
Symbol 384 MovieClip [__Packages.util.CommCallback] Frame 0
interface util.CommCallback{}
Symbol 385 MovieClip [__Packages.util.Client] Frame 0
class util.Client { var id, name, avatar, isPlayer, isConnected; function Client (id, name, avatar) { this.id = id; this.name = name; this.avatar = avatar; isPlayer = false; isConnected = true; } }
Symbol 386 MovieClip [__Packages.com.midasplayer.wordbattle.Comm] Frame 0
class com.midasplayer.wordbattle.Comm { var connectedPlayers, playerIds, reversePlayerIds, board, bonuses, comm, serverIp, serverPort, slotId, magic, config, chars, scores, localClient; function Comm (board) { connectedPlayers = 0; playerIds = new Array(); reversePlayerIds = new Array(); this.board = board; parseGameData(); var _local2 = 0; while (_local2 < 25) { bonuses[_local2] = com.midasplayer.wordbattle.Letter.BONUS_NONE; _local2++; } comm = new util.Communicator(this); comm.connect(serverIp, serverPort, slotId, magic); } function parseGameData() { var _local8 = new XML(_root.gameData); config = new Object(); _global.textMappings = new Object(); var _local5 = _local8.firstChild.childNodes; var _local4 = 0; while (_local4 < _local5.length) { if (config[_local5[_local4].nodeName] == undefined) { config[_local5[_local4].nodeName] = new Object(); } config[_local5[_local4].nodeName][_local5[_local4].attributes.id] = new String(_local5[_local4].firstChild.nodeValue); if (_local5[_local4].nodeName == "text") { _global.textMappings[_local5[_local4].attributes.id] = new String(_local5[_local4].firstChild.nodeValue); } if (_local5[_local4].nodeName == "multiplayer") { serverIp = new String(_local5[_local4].attributes.hostname); serverPort = new Number(_local5[_local4].attributes.port); slotId = new String(_local5[_local4].attributes.slotid); magic = new String(_local5[_local4].attributes.magic); } _local4++; } chars = new Array(); scores = new Array(); bonuses = new Array(); var _local7 = 0; while (_local7 < 5) { chars[_local7] = new Array(); scores[_local7] = new Array(); var _local6 = 0; while (_local6 < 5) { chars[_local7][_local6] = "?"; scores[_local7][_local6] = "4"; _local6++; } _local7++; } } function getChar(x, y) { return(chars[x][y]); } function getScore(x, y) { return(scores[x][y]); } function getBonusAt(x, y) { return(bonuses[x + (y * 5)]); } function submitWords(word0, word1, word2) { var _local2 = "<words>"; _local2 = _local2 + (("<word id=\"1\">" + word0.getWordPos()) + "</word>"); _local2 = _local2 + (("<word id=\"2\">" + word1.getWordPos()) + "</word>"); _local2 = _local2 + (("<word id=\"3\">" + word2.getWordPos()) + "</word>"); _local2 = _local2 + "</words>"; fscommand ("playData", ("656,1 " + word0.getWordPos()) + "=0"); fscommand ("playData", ("656,2 " + word1.getWordPos()) + "=0"); fscommand ("playData", ("656,3 " + word2.getWordPos()) + "=0"); comm.sendData("JWS " + _local2); } function replace(str, from, to) { return(str.split(from).join(to)); } function disconnected() { } function tick() { comm.tick(); } function connecting() { } function unableToConnect() { board.crashGame(_global.textMappings.unable_to_connect); disconnected(); } function localDisconnect() { fscommand ("playData", ("188," + localClient.id) + "=0"); board.crashGame(_global.textMappings.local_disconnect); disconnected(); } function clientAccepted(client) { board.scorePanel.nameLabel.text = client.name.substr(1, client.name.length - 2); _root.infoLabel.text = _root.infoLabel.text + "\rClient accepted!"; comm.sendData("CIR"); localClient = client; fscommand ("playData", ("111," + client.id) + "=0"); localPlayerNum = client.id; board.connectedTime = getTimer(); } function clientConnected(client) { playerIds[connectedPlayers] = client; reversePlayerIds[client.id] = connectedPlayers; board["opponentLabel" + connectedPlayers].scorePanel.nameLabel.text = client.name.substr(1, client.name.length - 2); board["opponentLabel" + connectedPlayers].activeFade.gotoAndPlay(2); board.playerTotalScore[connectedPlayers] = 0; _root.infoLabel.text = _root.infoLabel.text + ("\rClient connected: " + client.name.substr(1, client.name.length - 2)); fscommand ("playData", ("223," + client.id) + "=0"); connectedPlayers++; board.sortScores(); } function clientDisconnected(playerNum, remainingPlayers) { var _local2 = reversePlayerIds[playerNum]; var _local3 = playerIds[_local2]; board["opponentLabel" + _local2].scorePanel.nameLabel.text = ("[" + _local3.name.substr(1, _local3.name.length - 2)) + "]"; board["opponentLabel" + _local2].activeFade.gotoAndPlay(12); fscommand ("playData", ("244," + playerNum) + "=0"); if (remainingPlayers == 1) { board.lastPlayer(); } } function startGame() { _root.infoLabel.text = _root.infoLabel.text + "\rGamestart!"; fscommand ("playData", "1020=0"); comm.sendData("JGB"); board.gameStarted = true; } function gameCommand(cmdStr) { var _local28 = cmdStr.substr(0, 3); if (_local28 == "JSB") { var _local34 = new XML(cmdStr.substr(4)); var _local22 = cmdStr.substr(4); _local22 = _local22.substr(8); _local22 = _local22.substr(0, _local22.length - 9); fscommand ("playData", ((("819," + roundNum) + " ") + _local22) + "=0"); roundNum++; var _local20 = _local22.split(" "); var _local11 = 0; var _local12 = 0; while (_local12 < 5) { var _local13 = 0; while (_local13 < 5) { var _local4 = _local20[_local11++].split(","); chars[_local13][_local12] = new String(_local4[2]); scores[_local13][_local12] = new Number(_local4[0]); scores[_local13][_local12] = scores[_local13][_local12].valueOf(); var _local2 = new String(_local4[1]); if (_local2 == "N") { bonuses[_local13 + (_local12 * 5)] = com.midasplayer.wordbattle.Letter.BONUS_NONE; } if (_local2 == "2W") { bonuses[_local13 + (_local12 * 5)] = com.midasplayer.wordbattle.Letter.BONUS_2X_WORD; } if (_local2 == "2L") { bonuses[_local13 + (_local12 * 5)] = com.midasplayer.wordbattle.Letter.BONUS_2X_LETTER; } if (_local2 == "3L") { bonuses[_local13 + (_local12 * 5)] = com.midasplayer.wordbattle.Letter.BONUS_3X_LETTER; } _local13++; } _local12++; } board.bricksReceived(); } else if (_local28 == "JWC") { var _local33 = new XML(cmdStr.substr(4)); var _local3 = _local33.firstChild.childNodes; var _local14 = new Array(); _local14[0] = new Array(); _local14[1] = new Array(); _local14[2] = new Array(); _local14[3] = new Array(); _local14[4] = new Array(); var _local15 = new Array(); _local15[0] = new Array(); _local15[1] = new Array(); _local15[2] = new Array(); _local15[3] = new Array(); _local15[4] = new Array(); var _local18 = new Array(); _local18[0] = false; _local18[1] = false; _local18[2] = false; _local18[3] = false; _local18[4] = false; var _local29 = new Array(); _local29[0] = new Array(); _local29[1] = new Array(); _local29[2] = new Array(); _local29[3] = new Array(); _local29[4] = new Array(); var _local23 = 0; var _local11 = 0; while (_local11 < _local3.length) { if (_local3[_local11].nodeName == "word") { var _local7 = _local3[_local11].attributes.playernum.valueOf(); var _local25 = new Number(_local3[_local11].attributes.id); var _local17 = new Number(_local3[_local11].attributes.score); var _local26 = new Number(_local3[_local11].attributes.count); var _local21 = new String(_local3[_local11].attributes.check); var _local16 = new String(_local3[_local11].firstChild.nodeValue); var _local24 = ""; if (_local16.length > 0) { var _local10 = _local16.split(" "); var _local5 = 0; while (_local5 < _local10.length) { var _local6 = _local10[_local5].split(","); var _local9 = new Number(_local6[0]); var _local8 = new Number(_local6[1]); var _local13 = _local9.valueOf(); var _local12 = _local8.valueOf(); _local24 = _local24 + getChar(_local13, _local12); _local5++; } } else { _local26 = 0; } _local29[_local7][_local25 - 1] = _local24; _local14[_local7][_local25 - 1] = _local17; _local15[_local7][_local25 - 1] = _local26.valueOf() - 1; _local18[_local7] = true; if (_local7 == localPlayerNum) { if (_local26.valueOf() > 1) { _local23++; } fscommand ("playData", (((((("788," + _local3[_local11].attributes.id) + " ") + _local3[_local11].attributes.count) + " ") + _local3[_local11].attributes.check) + "=") + _local17); } } _local11++; } board.prepareWords(); _local11 = 0; while (_local11 < 4) { var _local19 = playerIds[_local11].id; if (_local18[_local19]) { board.wordsAcceptedForPlayer(_local11, _local14[_local19][0], _local14[_local19][1], _local14[_local19][2], _local29[_local19][0], _local29[_local19][1], _local29[_local19][2], _local15[_local19][0], _local15[_local19][1], _local15[_local19][2], _local29[localPlayerNum][0], _local29[localPlayerNum][1], _local29[localPlayerNum][2]); } _local11++; } board.wordsAccepted(_local14[localPlayerNum][0], _local14[localPlayerNum][1], _local14[localPlayerNum][2], _local23, _local15[localPlayerNum][0], _local15[localPlayerNum][1], _local15[localPlayerNum][2]); board.roundOver(); } else if (_local28 == "PWC") { var _local29 = cmdStr.substr(4).split(" "); var _local30 = new Number(_local29[0]); var _local25 = _local30.valueOf(); var _local31 = new Number(_local29[1]); var _local24 = _local31.valueOf(); var _local32 = new Number(_local29[2]); var _local26 = _local32.valueOf(); var _local11 = 0; while (_local11 < 4) { var _local19 = playerIds[_local11].id; if (_local19 == _local25) { board.wordPreview(_local11, _local24, _local26); } _local11++; } } } function nextRound() { comm.sendData("JGB"); } function doGameOver() { comm.sendData("CGO"); } function sendWordPreview(word, count) { comm.sendData((((("PWC " + localClient.id) + " ") + word) + " ") + count); } function shutdownForReal() { comm.disconnect(); } function endGamePressed() { fscommand ("playData", "755=0"); } var bonusReport = ""; var roundCount = 0; var bonusPos = 0; var localPlayerNum = -1; var roundNum = 0; }
Symbol 387 MovieClip [__Packages.util.Communicator] Frame 0
class util.Communicator { var callback, connectString, slotId, magic, socket; function Communicator (callback) { this.callback = callback; } function connect(serverIp, serverPort, slotId, magic) { connectString = (serverIp + ":") + serverPort; this.slotId = slotId; this.magic = magic; socket = new XMLSocket(); callback.connecting(); var thisComm = this; socket.onConnect = function (success) { _root.infoLabel.text = _root.infoLabel.text + ("\ronConnect: " + success); if (success) { thisComm.connected(); } else { thisComm.unableToConnect(); } }; socket.onData = function (str) { _root.infoLabel.text = _root.infoLabel.text + ("\ronData: " + str); thisComm.cmdReceived(str); }; socket.onClose = function () { _root.infoLabel.text = _root.infoLabel.text + "\ronClose"; thisComm.localDisconnect(); }; _root.infoLabel.text = _root.infoLabel.text + (((("\r!Connecting to " + serverIp) + ":") + serverPort) + "..."); if (!socket.connect(serverIp, serverPort)) { _root.infoLabel.text = _root.infoLabel.text + "\r!connect: aww :'("; thisComm.unableToConnect(); } else { _root.infoLabel.text = _root.infoLabel.text + "\rconnect: yay =D"; } } function cmdReceived(str) { _root.infoLabel.text = _root.infoLabel.text + ("\rGot CMD: " + str); var _local3 = str.split(" "); if (_local3[0] == "SCA") { var _local7 = new Number(_local3[1]); var _local4 = _local3[2]; var _local5 = 3; while (_local4.charAt(_local4.length - 1) != "\"") { _local4 = _local4 + (" " + _local3[_local5++]); } var _local8 = _local3[_local5]; callback.clientAccepted(new util.Client(_local7, _local4, _local8)); isConnected = true; } else if (_local3[0] == "SAC") { var _local7 = new Number(_local3[1]); var _local4 = _local3[2]; var _local5 = 3; while (_local4.charAt(_local4.length - 1) != "\"") { _local4 = _local4 + (" " + _local3[_local5++]); } var _local8 = _local3[_local5]; callback.clientConnected(new util.Client(_local7, _local4, _local8)); } else if (_local3[0] == "SCD") { var _local7 = new Number(_local3[1]); var _local9 = new Number(_local3[2]); callback.clientDisconnected(_local7, _local9); } else if (_local3[0] == "SSG") { fscommand ("gameStart"); callback.startGame(); } else if (_local3[0] == "STM") { var _local10 = new Number(_local3[1]); } else { callback.gameCommand(str); } } function unableToConnect() { disconnected(); callback.unableToConnect(); } function localDisconnect() { disconnected(); callback.localDisconnect(); } function disconnected() { isConnected = false; } function connected() { sendData((("CCC " + slotId) + " ") + magic); } function sendData(cmd) { socket.send(cmd); } function disconnect() { socket.close(); isConnected = false; } function tick() { if (isConnected) { var _local2 = getTimer(); if ((_local2 - lastPingTime) > 10000) { lastPingTime = _local2; sendData("CTM"); } } } var pingTime = 4; var lastPingTime = -1; var isConnected = false; }
Symbol 388 MovieClip [__Packages.com.midasplayer.wordbattle.LetterHolder] Frame 0
class com.midasplayer.wordbattle.LetterHolder extends MovieClip { var letter, tint1, tint2, tintColor1, tintColor2, board, lowerLetter; function LetterHolder () { super(); letter._visible = false; tint1._visible = false; tint2._visible = false; tintColor1 = new Color(tint1); tintColor1.setTransform({ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:0, ab:0}); tintColor2 = new Color(tint2); tintColor2.setTransform({ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:0, ab:0}); } function init(board, x, y) { this.board = board; lowerLetter.init(x, y); } function reveal(charStr, scoreStr, bonusType) { revealing = true; letter._visible = true; letter.copyFrom(lowerLetter); lowerLetter.setup(charStr, scoreStr, bonusType); tintColor1.setTransform({ra:0, rb:0, ga:0, gb:0, ba:0, bb:0, aa:0, ab:0}); tintColor2.setTransform({ra:0, rb:0, ga:0, gb:0, ba:0, bb:0, aa:100, ab:0}); tint1._visible = true; tint2._visible = true; ya = 1; } function onPress() { board.letterPressed(lowerLetter); } function onRollOver() { if (lowerLetter.occupied != null) { lowerLetter.occupied.previewMode = true; } } function onRollOut() { if (lowerLetter.occupied != null) { lowerLetter.occupied.previewMode = false; } } function onMouseUp() { lowerLetter.pressed = false; } function onDragOut() { lowerLetter.pressed = false; } function onEnterFrame() { if (revealing) { letter.y = letter.y - ya; ya = ya + 1; lowerLetter.y = (48 + letter.y) / 10; tint1._y = letter._y / 6; tint2._y = letter._y + 48; if (letter._y < -48) { revealing = false; letter._visible = false; letter.y = 0; letter.clear(); lowerLetter.y = 0; ya = 0; tint1._visible = false; tint2._visible = false; tintColor1.setTransform({ra:0, rb:0, ga:0, gb:0, ba:0, bb:0, aa:100, ab:0}); tintColor2.setTransform({ra:0, rb:0, ga:0, gb:0, ba:0, bb:0, aa:100, ab:0}); } else { tintColor1.setTransform({ra:0, rb:0, ga:0, gb:0, ba:0, bb:0, aa:((-letter._y) * 50) / 30, ab:0}); tintColor2.setTransform({ra:0, rb:0, ga:0, gb:0, ba:0, bb:0, aa:50 + ((letter._y * 50) / 48), ab:0}); } } } var t = 0; var ya = 0; var revealing = false; }
Symbol 389 MovieClip [__Packages.com.midasplayer.wordbattle.ScorePoof] Frame 0
class com.midasplayer.wordbattle.ScorePoof extends MovieClip { var scoreDivisor, gotoAndPlay; function ScorePoof () { super(); } function show(num) { scoreDivisor.gotoAndStop(num); (gotoAndPlay(2));// not popped } }
Symbol 390 MovieClip [__Packages.com.midasplayer.wordbattle.NumberFlipper] Frame 0
class com.midasplayer.wordbattle.NumberFlipper extends MovieClip { var label; function NumberFlipper () { super(); } function onEnterFrame() { if (curValue != targetValue) { curValue++; if (curValue > 9) { curValue = 0; } label.text = curValue.toString(); } } var curValue = 1; var targetValue = 0; }
Symbol 391 MovieClip [__Packages.com.midasplayer.wordbattle.ScorePanel] Frame 0
class com.midasplayer.wordbattle.ScorePanel extends MovieClip { var roundScoreLabelx, roundScoreLabel4, leaderGlow, roundScoreLabel0, roundScoreLabel1, roundScoreLabel2, roundScoreLabel3, leaderIndicator; function ScorePanel () { super(); } function setPlayerMode(newPlayerMode) { playerMode = newPlayerMode; if (!playerMode) { roundScoreLabelx._alpha = 0; } else { roundScoreLabel4._alpha = 0; } } function onEnterFrame() { if (glowFadeTime > 0) { var _local2 = (getTimer() - glowFadeTime) / 6; if (_local2 > 100) { _local2 = 100; glowFadeTime = -1; } leaderGlow._alpha = 100 - _local2; } } function setRoundScore(newTargetRoundScore) { targetRoundScore = newTargetRoundScore; } function showRoundScore() { var _local2 = targetRoundScore; if (!playerMode) { _local2 = _local2 * 10; } roundScoreLabelx.targetValue = Math.floor(_local2 / 1) % 10; roundScoreLabel0.targetValue = Math.floor(_local2 / 10) % 10; roundScoreLabel1.targetValue = Math.floor(_local2 / 100) % 10; roundScoreLabel2.targetValue = Math.floor(_local2 / 1000) % 10; roundScoreLabel3.targetValue = Math.floor(_local2 / 10000) % 10; roundScoreLabel4.targetValue = Math.floor(_local2 / 100000) % 10; } function isLeader() { return(wasLeader); } function setLeader(leader) { if (leader != wasLeader) { if (leader) { leaderIndicator._alpha = 100; } else { leaderIndicator._alpha = 0; } leaderGlow._alpha = 100; glowFadeTime = getTimer(); wasLeader = leader; } } var wasLeader = false; var glowFadeTime = -1; var playerMode = false; var targetRoundScore = 0; }
Symbol 392 MovieClip [__Packages.com.midasplayer.wordbattle.ReflectoText] Frame 0
class com.midasplayer.wordbattle.ReflectoText extends MovieClip { var mainTextHolder, shadowTextHolder, gotoAndPlay, gotoAndStop; function ReflectoText () { super(); } function onEnterFrame() { if (textChanged) { textChanged = false; mainTextHolder.textLabel.text = text; shadowTextHolder.textLabel.text = text; (gotoAndPlay(2));// not popped } } function setInstaText(newText) { setText(newText); (gotoAndStop(15));// not popped } function fadeInText(newText) { setText(newText); (gotoAndPlay(2));// not popped } function setText(newText) { textChanged = true; text = newText; mainTextHolder.textLabel.text = text; shadowTextHolder.textLabel.text = text; } var text = ""; var textChanged = false; }

Library Items

Symbol 1 Sound [wordBadSound]
Symbol 2 Sound [startSound]
Symbol 3 Sound [sharedWordSound]
Symbol 4 Sound [bonusRoundSound]
Symbol 5 Sound [scoreCountUpSound]
Symbol 6 Sound [secondCountSlutSound]
Symbol 7 Sound [secondCountSound]
Symbol 8 Sound [clockAlertSound]
Symbol 9 Sound [wordGoodSound]
Symbol 10 Sound [newRoundSound]
Symbol 11 Sound [getGoldSound]
Symbol 12 Sound [submitWordSound]
Symbol 13 Sound [markSound]
Symbol 14 BitmapUsed by:15
Symbol 15 GraphicUses:14Used by:46
Symbol 16 BitmapUsed by:17
Symbol 17 GraphicUses:16Used by:46
Symbol 18 BitmapUsed by:19
Symbol 19 GraphicUses:18Used by:46
Symbol 20 BitmapUsed by:21
Symbol 21 GraphicUses:20Used by:46
Symbol 22 BitmapUsed by:23
Symbol 23 GraphicUses:22Used by:46
Symbol 24 BitmapUsed by:25
Symbol 25 GraphicUses:24Used by:46
Symbol 26 BitmapUsed by:27
Symbol 27 GraphicUses:26Used by:46
Symbol 28 BitmapUsed by:29
Symbol 29 GraphicUses:28Used by:46
Symbol 30 BitmapUsed by:31
Symbol 31 GraphicUses:30Used by:46
Symbol 32 BitmapUsed by:33
Symbol 33 GraphicUses:32Used by:46
Symbol 34 BitmapUsed by:35
Symbol 35 GraphicUses:34Used by:46
Symbol 36 BitmapUsed by:37
Symbol 37 GraphicUses:36Used by:46
Symbol 38 BitmapUsed by:39
Symbol 39 GraphicUses:38Used by:46
Symbol 40 BitmapUsed by:41
Symbol 41 GraphicUses:40Used by:46
Symbol 42 BitmapUsed by:43
Symbol 43 GraphicUses:42Used by:46
Symbol 44 BitmapUsed by:45
Symbol 45 GraphicUses:44Used by:46
Symbol 46 MovieClip [Arrow]Uses:15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45
Symbol 47 FontUsed by:48 234 235 236 237 238 239 240 241 242 243 244 245 261 304 308 328
Symbol 48 EditableTextUses:47Used by:49
Symbol 49 MovieClipUses:48Used by:50
Symbol 50 MovieClip [ReflectoText]Uses:49Used by:73 364
Symbol 51 BitmapUsed by:52
Symbol 52 GraphicUses:51Used by:71
Symbol 53 BitmapUsed by:54
Symbol 54 GraphicUses:53Used by:71
Symbol 55 BitmapUsed by:56
Symbol 56 GraphicUses:55Used by:71
Symbol 57 BitmapUsed by:58
Symbol 58 GraphicUses:57Used by:71
Symbol 59 BitmapUsed by:60
Symbol 60 GraphicUses:59Used by:71
Symbol 61 BitmapUsed by:62
Symbol 62 GraphicUses:61Used by:71
Symbol 63 BitmapUsed by:64
Symbol 64 GraphicUses:63Used by:71
Symbol 65 BitmapUsed by:66
Symbol 66 GraphicUses:65Used by:71
Symbol 67 BitmapUsed by:68
Symbol 68 GraphicUses:67Used by:71
Symbol 69 BitmapUsed by:70
Symbol 70 GraphicUses:69Used by:71
Symbol 71 MovieClipUses:52 54 56 58 60 62 64 66 68 70Used by:72 354 364
Symbol 72 MovieClipUses:71Used by:73
Symbol 73 MovieClip [TextNumber]Uses:50 72Used by:74
Symbol 74 MovieClip [RoundData]Uses:73Used by:364
Symbol 75 GraphicUsed by:209
Symbol 76 BitmapUsed by:77
Symbol 77 GraphicUses:76Used by:96
Symbol 78 BitmapUsed by:79
Symbol 79 GraphicUses:78Used by:96
Symbol 80 BitmapUsed by:81
Symbol 81 GraphicUses:80Used by:96
Symbol 82 BitmapUsed by:83
Symbol 83 GraphicUses:82Used by:96
Symbol 84 BitmapUsed by:85
Symbol 85 GraphicUses:84Used by:96
Symbol 86 BitmapUsed by:87
Symbol 87 GraphicUses:86Used by:96
Symbol 88 BitmapUsed by:89
Symbol 89 GraphicUses:88Used by:96
Symbol 90 BitmapUsed by:91
Symbol 91 GraphicUses:90Used by:96
Symbol 92 BitmapUsed by:93
Symbol 93 GraphicUses:92Used by:96
Symbol 94 BitmapUsed by:95
Symbol 95 GraphicUses:94Used by:96 221
Symbol 96 MovieClipUses:77 79 81 83 85 87 89 91 93 95Used by:209
Symbol 97 BitmapUsed by:98
Symbol 98 GraphicUses:97Used by:181
Symbol 99 BitmapUsed by:100
Symbol 100 GraphicUses:99Used by:181
Symbol 101 BitmapUsed by:102
Symbol 102 GraphicUses:101Used by:181
Symbol 103 BitmapUsed by:104
Symbol 104 GraphicUses:103Used by:181
Symbol 105 BitmapUsed by:106
Symbol 106 GraphicUses:105Used by:181
Symbol 107 BitmapUsed by:108
Symbol 108 GraphicUses:107Used by:181
Symbol 109 BitmapUsed by:110
Symbol 110 GraphicUses:109Used by:181
Symbol 111 BitmapUsed by:112
Symbol 112 GraphicUses:111Used by:181
Symbol 113 BitmapUsed by:114
Symbol 114 GraphicUses:113Used by:181
Symbol 115 BitmapUsed by:116
Symbol 116 GraphicUses:115Used by:181
Symbol 117 BitmapUsed by:118
Symbol 118 GraphicUses:117Used by:181
Symbol 119 BitmapUsed by:120
Symbol 120 GraphicUses:119Used by:181
Symbol 121 BitmapUsed by:122
Symbol 122 GraphicUses:121Used by:181
Symbol 123 BitmapUsed by:124
Symbol 124 GraphicUses:123Used by:181
Symbol 125 BitmapUsed by:126
Symbol 126 GraphicUses:125Used by:181
Symbol 127 BitmapUsed by:128
Symbol 128 GraphicUses:127Used by:181
Symbol 129 BitmapUsed by:130
Symbol 130 GraphicUses:129Used by:181
Symbol 131 BitmapUsed by:132
Symbol 132 GraphicUses:131Used by:181
Symbol 133 BitmapUsed by:134
Symbol 134 GraphicUses:133Used by:181
Symbol 135 BitmapUsed by:136
Symbol 136 GraphicUses:135Used by:181
Symbol 137 BitmapUsed by:138
Symbol 138 GraphicUses:137Used by:181
Symbol 139 BitmapUsed by:140
Symbol 140 GraphicUses:139Used by:181
Symbol 141 BitmapUsed by:142
Symbol 142 GraphicUses:141Used by:181
Symbol 143 BitmapUsed by:144
Symbol 144 GraphicUses:143Used by:181
Symbol 145 BitmapUsed by:146
Symbol 146 GraphicUses:145Used by:181
Symbol 147 BitmapUsed by:148
Symbol 148 GraphicUses:147Used by:181
Symbol 149 BitmapUsed by:150
Symbol 150 GraphicUses:149Used by:181
Symbol 151 BitmapUsed by:152
Symbol 152 GraphicUses:151Used by:181
Symbol 153 BitmapUsed by:154
Symbol 154 GraphicUses:153Used by:181
Symbol 155 BitmapUsed by:156
Symbol 156 GraphicUses:155Used by:181
Symbol 157 BitmapUsed by:158
Symbol 158 GraphicUses:157Used by:181
Symbol 159 BitmapUsed by:160
Symbol 160 GraphicUses:159Used by:181
Symbol 161 BitmapUsed by:162
Symbol 162 GraphicUses:161Used by:181
Symbol 163 BitmapUsed by:164
Symbol 164 GraphicUses:163Used by:181
Symbol 165 BitmapUsed by:166
Symbol 166 GraphicUses:165Used by:181
Symbol 167 BitmapUsed by:168
Symbol 168 GraphicUses:167Used by:181
Symbol 169 BitmapUsed by:170
Symbol 170 GraphicUses:169Used by:181
Symbol 171 BitmapUsed by:172
Symbol 172 GraphicUses:171Used by:181
Symbol 173 BitmapUsed by:174
Symbol 174 GraphicUses:173Used by:181
Symbol 175 BitmapUsed by:176
Symbol 176 GraphicUses:175Used by:181
Symbol 177 BitmapUsed by:178
Symbol 178 GraphicUses:177Used by:181
Symbol 179 BitmapUsed by:180
Symbol 180 GraphicUses:179Used by:181
Symbol 181 MovieClipUses:98 100 102 104 106 108 110 112 114 116 118 120 122 124 126 128 130 132 134 136 138 140 142 144 146 148 150 152 154 156 158 160 162 164 166 168 170 172 174 176 178 180Used by:209
Symbol 182 BitmapUsed by:183
Symbol 183 GraphicUses:182Used by:204
Symbol 184 BitmapUsed by:185
Symbol 185 GraphicUses:184Used by:204
Symbol 186 BitmapUsed by:187 206
Symbol 187 GraphicUses:186Used by:204
Symbol 188 BitmapUsed by:189 207
Symbol 189 GraphicUses:188Used by:204
Symbol 190 BitmapUsed by:191
Symbol 191 GraphicUses:190Used by:204
Symbol 192 BitmapUsed by:193
Symbol 193 GraphicUses:192Used by:204
Symbol 194 BitmapUsed by:195
Symbol 195 GraphicUses:194Used by:204
Symbol 196 BitmapUsed by:197
Symbol 197 GraphicUses:196Used by:204
Symbol 198 BitmapUsed by:199
Symbol 199 GraphicUses:198Used by:204
Symbol 200 BitmapUsed by:201
Symbol 201 GraphicUses:200Used by:204
Symbol 202 BitmapUsed by:203
Symbol 203 GraphicUses:202Used by:204
Symbol 204 MovieClipUses:183 185 187 189 191 193 195 197 199 201 203Used by:209
Symbol 205 BitmapUsed by:206 207
Symbol 206 GraphicUses:186 205Used by:208
Symbol 207 GraphicUses:188 205Used by:208
Symbol 208 MovieClipUses:206 207Used by:209
Symbol 209 MovieClip [Letter]Uses:75 96 181 204 208Used by:222
Symbol 210 GraphicUsed by:222
Symbol 211 GraphicUsed by:212
Symbol 212 MovieClipUses:211Used by:222
Symbol 213 BitmapUsed by:214
Symbol 214 GraphicUses:213Used by:221
Symbol 215 BitmapUsed by:216
Symbol 216 GraphicUses:215Used by:221
Symbol 217 BitmapUsed by:218
Symbol 218 GraphicUses:217Used by:221
Symbol 219 BitmapUsed by:220
Symbol 220 GraphicUses:219Used by:221
Symbol 221 MovieClipUses:214 216 218 220 95Used by:222
Symbol 222 MovieClip [LetterHolder]Uses:210 209 212 221Used by:364
Symbol 223 BitmapUsed by:224
Symbol 224 GraphicUses:223Used by:231
Symbol 225 BitmapUsed by:226
Symbol 226 GraphicUses:225Used by:231
Symbol 227 BitmapUsed by:228
Symbol 228 GraphicUses:227Used by:231
Symbol 229 BitmapUsed by:230
Symbol 230 GraphicUses:229Used by:231
Symbol 231 MovieClipUses:224 226 228 230Used by:303 329
Symbol 232 BitmapUsed by:233
Symbol 233 GraphicUses:232Used by:260
Symbol 234 EditableTextUses:47Used by:246
Symbol 235 EditableTextUses:47Used by:246
Symbol 236 EditableTextUses:47Used by:246
Symbol 237 EditableTextUses:47Used by:246
Symbol 238 EditableTextUses:47Used by:246
Symbol 239 EditableTextUses:47Used by:246
Symbol 240 EditableTextUses:47Used by:246
Symbol 241 EditableTextUses:47Used by:246
Symbol 242 EditableTextUses:47Used by:246
Symbol 243 EditableTextUses:47Used by:246
Symbol 244 EditableTextUses:47Used by:246
Symbol 245 EditableTextUses:47Used by:246
Symbol 246 MovieClipUses:234 235 236 237 238 239 240 241 242 243 244 245Used by:247
Symbol 247 MovieClip [ScorePoof]Uses:246Used by:260
Symbol 248 BitmapUsed by:249
Symbol 249 GraphicUses:248Used by:260
Symbol 250 BitmapUsed by:251
Symbol 251 GraphicUses:250Used by:260
Symbol 252 BitmapUsed by:253
Symbol 253 GraphicUses:252Used by:260
Symbol 254 BitmapUsed by:255
Symbol 255 GraphicUses:254Used by:260
Symbol 256 BitmapUsed by:257
Symbol 257 GraphicUses:256Used by:260
Symbol 258 BitmapUsed by:259
Symbol 259 GraphicUses:258Used by:260
Symbol 260 MovieClipUses:233 247 249 251 253 255 257 259Used by:303 329
Symbol 261 EditableTextUses:47Used by:303
Symbol 262 BitmapUsed by:263 264 265 266 267 268 269 270 271
Symbol 263 GraphicUses:262Used by:302
Symbol 264 GraphicUses:262Used by:302
Symbol 265 GraphicUses:262Used by:302
Symbol 266 GraphicUses:262Used by:302
Symbol 267 GraphicUses:262Used by:302
Symbol 268 GraphicUses:262Used by:302
Symbol 269 GraphicUses:262Used by:302
Symbol 270 GraphicUses:262Used by:302
Symbol 271 GraphicUses:262Used by:302
Symbol 272 BitmapUsed by:273 274 275 276 277 278 279 280 281
Symbol 273 GraphicUses:272Used by:302
Symbol 274 GraphicUses:272Used by:302
Symbol 275 GraphicUses:272Used by:302
Symbol 276 GraphicUses:272Used by:302
Symbol 277 GraphicUses:272Used by:302
Symbol 278 GraphicUses:272Used by:302
Symbol 279 GraphicUses:272Used by:302
Symbol 280 GraphicUses:272Used by:302
Symbol 281 GraphicUses:272Used by:302
Symbol 282 BitmapUsed by:283 284 285 286 287 288 289 290 291
Symbol 283 GraphicUses:282Used by:302
Symbol 284 GraphicUses:282Used by:302
Symbol 285 GraphicUses:282Used by:302
Symbol 286 GraphicUses:282Used by:302
Symbol 287 GraphicUses:282Used by:302
Symbol 288 GraphicUses:282Used by:302
Symbol 289 GraphicUses:282Used by:302
Symbol 290 GraphicUses:282Used by:302
Symbol 291 GraphicUses:282Used by:302
Symbol 292 BitmapUsed by:293 294 295 296 297 298 299 300 301
Symbol 293 GraphicUses:292Used by:302
Symbol 294 GraphicUses:292Used by:302
Symbol 295 GraphicUses:292Used by:302
Symbol 296 GraphicUses:292Used by:302
Symbol 297 GraphicUses:292Used by:302
Symbol 298 GraphicUses:292Used by:302
Symbol 299 GraphicUses:292Used by:302
Symbol 300 GraphicUses:292Used by:302
Symbol 301 GraphicUses:292Used by:302
Symbol 302 MovieClipUses:263 264 265 266 267 268 269 270 271 273 274 275 276 277 278 279 280 281 283 284 285 286 287 288 289 290 291 293 294 295 296 297 298 299 300 301Used by:303
Symbol 303 MovieClip [OpponentWordLabel]Uses:231 260 261 302Used by:336
Symbol 304 EditableTextUses:47Used by:313
Symbol 305 BitmapUsed by:306
Symbol 306 GraphicUses:305Used by:307
Symbol 307 MovieClipUses:306Used by:313
Symbol 308 EditableTextUses:47Used by:309
Symbol 309 MovieClip [NumberFlipper]Uses:308Used by:313 329
Symbol 310 BitmapUsed by:311
Symbol 311 GraphicUses:310Used by:312
Symbol 312 MovieClipUses:311Used by:313
Symbol 313 MovieClip [ScorePanel]Uses:304 307 309 312Used by:336 364
Symbol 314 BitmapUsed by:315
Symbol 315 GraphicUses:314Used by:320
Symbol 316 BitmapUsed by:317
Symbol 317 GraphicUses:316Used by:320
Symbol 318 BitmapUsed by:319
Symbol 319 GraphicUses:318Used by:320
Symbol 320 ButtonUses:315 317 319Used by:321
Symbol 321 MovieClipUses:320Used by:329
Symbol 322 BitmapUsed by:323
Symbol 323 GraphicUses:322Used by:327
Symbol 324 BitmapUsed by:325
Symbol 325 GraphicUses:324Used by:326 327
Symbol 326 MovieClipUses:325Used by:327
Symbol 327 MovieClipUses:323 325 326Used by:329
Symbol 328 EditableTextUses:47Used by:329
Symbol 329 MovieClip [WordLabel]Uses:309 260 321 327 231 328Used by:364
Symbol 330 BitmapUsed by:331
Symbol 331 GraphicUses:330Used by:364
Symbol 332 GraphicUsed by:336 364
Symbol 333 BitmapUsed by:334
Symbol 334 GraphicUses:333Used by:335
Symbol 335 MovieClipUses:334Used by:336
Symbol 336 MovieClipUses:313 303 332 335Used by:364
Symbol 337 BitmapUsed by:339 340
Symbol 338 BitmapUsed by:339
Symbol 339 GraphicUses:337 338Used by:364
Symbol 340 GraphicUses:337Used by:351
Symbol 341 BitmapUsed by:342
Symbol 342 GraphicUses:341Used by:351
Symbol 343 BitmapUsed by:344
Symbol 344 GraphicUses:343Used by:351
Symbol 345 BitmapUsed by:346
Symbol 346 GraphicUses:345Used by:351
Symbol 347 BitmapUsed by:348
Symbol 348 GraphicUses:347Used by:351
Symbol 349 BitmapUsed by:350
Symbol 350 GraphicUses:349Used by:351
Symbol 351 MovieClipUses:340 342 344 346 348 350Used by:364
Symbol 352 BitmapUsed by:353
Symbol 353 GraphicUses:352Used by:354
Symbol 354 MovieClipUses:353 71Used by:364
Symbol 355 BitmapUsed by:358 360
Symbol 356 BitmapUsed by:358 362
Symbol 357 BitmapUsed by:358 362
Symbol 358 GraphicUses:355 356 357Used by:359
Symbol 359 MovieClipUses:358Used by:364
Symbol 360 GraphicUses:355Used by:361
Symbol 361 MovieClipUses:360Used by:364
Symbol 362 GraphicUses:356 357Used by:363
Symbol 363 MovieClipUses:362Used by:364
Symbol 364 MovieClip [Board]Uses:331 329 336 313 222 339 351 50 354 71 332 359 361 363 74Used by:Timeline
Symbol 365 FontUsed by:366
Symbol 366 EditableTextUses:365Used by:Timeline
Symbol 367 FontUsed by:368 369 370 371 378
Symbol 368 EditableTextUses:367Used by:Timeline
Symbol 369 EditableTextUses:367Used by:Timeline
Symbol 370 EditableTextUses:367Used by:Timeline
Symbol 371 EditableTextUses:367Used by:Timeline
Symbol 372 BitmapUsed by:373 375
Symbol 373 GraphicUses:372Used by:377
Symbol 374 BitmapUsed by:375
Symbol 375 GraphicUses:374 372Used by:377
Symbol 376 GraphicUsed by:377
Symbol 377 ButtonUses:373 375 376Used by:Timeline
Symbol 378 EditableTextUses:367Used by:Timeline
Symbol 379 MovieClip [__Packages.com.midasplayer.wordbattle.TextNumber]
Symbol 380 MovieClip [__Packages.com.midasplayer.wordbattle.RoundData]
Symbol 381 MovieClip [__Packages.com.midasplayer.wordbattle.Letter]
Symbol 382 MovieClip [__Packages.com.midasplayer.wordbattle.WordLabel]
Symbol 383 MovieClip [__Packages.com.midasplayer.wordbattle.Board]
Symbol 384 MovieClip [__Packages.util.CommCallback]
Symbol 385 MovieClip [__Packages.util.Client]
Symbol 386 MovieClip [__Packages.com.midasplayer.wordbattle.Comm]
Symbol 387 MovieClip [__Packages.util.Communicator]
Symbol 388 MovieClip [__Packages.com.midasplayer.wordbattle.LetterHolder]
Symbol 389 MovieClip [__Packages.com.midasplayer.wordbattle.ScorePoof]
Symbol 390 MovieClip [__Packages.com.midasplayer.wordbattle.NumberFlipper]
Symbol 391 MovieClip [__Packages.com.midasplayer.wordbattle.ScorePanel]
Symbol 392 MovieClip [__Packages.com.midasplayer.wordbattle.ReflectoText]

Instance Names

"board"Frame 1Symbol 364 MovieClip [Board]
"warnLabel"Frame 1Symbol 366 EditableText
"infoTitle"Frame 1Symbol 368 EditableText
"infoText"Frame 1Symbol 369 EditableText
"errorTitle"Frame 1Symbol 370 EditableText
"errorText"Frame 1Symbol 371 EditableText
"endGameButton"Frame 1Symbol 377 Button
"endGameLabel"Frame 1Symbol 378 EditableText
"textLabel"Symbol 49 MovieClip Frame 1Symbol 48 EditableText
"shadowTextHolder"Symbol 50 MovieClip [ReflectoText] Frame 1Symbol 49 MovieClip
"mainTextHolder"Symbol 50 MovieClip [ReflectoText] Frame 1Symbol 49 MovieClip
"digit0"Symbol 72 MovieClip Frame 2Symbol 71 MovieClip
"digit1"Symbol 72 MovieClip Frame 3Symbol 71 MovieClip
"digit2"Symbol 72 MovieClip Frame 3Symbol 71 MovieClip
"digit3"Symbol 72 MovieClip Frame 3Symbol 71 MovieClip
"digit4"Symbol 72 MovieClip Frame 3Symbol 71 MovieClip
"reflectoText"Symbol 73 MovieClip [TextNumber] Frame 1Symbol 50 MovieClip [ReflectoText]
"numberCounter"Symbol 73 MovieClip [TextNumber] Frame 1Symbol 72 MovieClip
"textNumber0"Symbol 74 MovieClip [RoundData] Frame 1Symbol 73 MovieClip [TextNumber]
"textNumber1"Symbol 74 MovieClip [RoundData] Frame 1Symbol 73 MovieClip [TextNumber]
"textNumber2"Symbol 74 MovieClip [RoundData] Frame 1Symbol 73 MovieClip [TextNumber]
"textNumber3"Symbol 74 MovieClip [RoundData] Frame 1Symbol 73 MovieClip [TextNumber]
"textNumber4"Symbol 74 MovieClip [RoundData] Frame 1Symbol 73 MovieClip [TextNumber]
"bg"Symbol 209 MovieClip [Letter] Frame 1Symbol 96 MovieClip
"letterClip"Symbol 209 MovieClip [Letter] Frame 1Symbol 181 MovieClip
"scoreClip"Symbol 209 MovieClip [Letter] Frame 1Symbol 204 MovieClip
"bonusClip"Symbol 209 MovieClip [Letter] Frame 1Symbol 208 MovieClip
"lowerLetter"Symbol 222 MovieClip [LetterHolder] Frame 1Symbol 209 MovieClip [Letter]
"tint2"Symbol 222 MovieClip [LetterHolder] Frame 1Symbol 212 MovieClip
"letter"Symbol 222 MovieClip [LetterHolder] Frame 1Symbol 209 MovieClip [Letter]
"tint1"Symbol 222 MovieClip [LetterHolder] Frame 1Symbol 212 MovieClip
"brickPopup"Symbol 222 MovieClip [LetterHolder] Frame 1Symbol 221 MovieClip
"scoreDivisor"Symbol 247 MovieClip [ScorePoof] Frame 1Symbol 246 MovieClip
"scorePoof"Symbol 260 MovieClip Frame 1Symbol 247 MovieClip [ScorePoof]
"dupeIndicator"Symbol 303 MovieClip [OpponentWordLabel] Frame 1Symbol 231 MovieClip
"statusCheckbox"Symbol 303 MovieClip [OpponentWordLabel] Frame 1Symbol 260 MovieClip
"textLabel"Symbol 303 MovieClip [OpponentWordLabel] Frame 1Symbol 261 EditableText
"wordPreview"Symbol 303 MovieClip [OpponentWordLabel] Frame 1Symbol 302 MovieClip
"label"Symbol 309 MovieClip [NumberFlipper] Frame 1Symbol 308 EditableText
"nameLabel"Symbol 313 MovieClip [ScorePanel] Frame 1Symbol 304 EditableText
"leaderIndicator"Symbol 313 MovieClip [ScorePanel] Frame 1Symbol 307 MovieClip
"scoreLabel0"Symbol 313 MovieClip [ScorePanel] Frame 1Symbol 309 MovieClip [NumberFlipper]
"scoreLabel1"Symbol 313 MovieClip [ScorePanel] Frame 1Symbol 309 MovieClip [NumberFlipper]
"scoreLabel2"Symbol 313 MovieClip [ScorePanel] Frame 1Symbol 309 MovieClip [NumberFlipper]
"scoreLabel3"Symbol 313 MovieClip [ScorePanel] Frame 1Symbol 309 MovieClip [NumberFlipper]
"scoreLabel4"Symbol 313 MovieClip [ScorePanel] Frame 1Symbol 309 MovieClip [NumberFlipper]
"scoreLabel5"Symbol 313 MovieClip [ScorePanel] Frame 1Symbol 309 MovieClip [NumberFlipper]
"scoreLabel6"Symbol 313 MovieClip [ScorePanel] Frame 1Symbol 309 MovieClip [NumberFlipper]
"roundScoreLabel0"Symbol 313 MovieClip [ScorePanel] Frame 1Symbol 309 MovieClip [NumberFlipper]
"roundScoreLabel1"Symbol 313 MovieClip [ScorePanel] Frame 1Symbol 309 MovieClip [NumberFlipper]
"roundScoreLabel2"Symbol 313 MovieClip [ScorePanel] Frame 1Symbol 309 MovieClip [NumberFlipper]
"roundScoreLabel3"Symbol 313 MovieClip [ScorePanel] Frame 1Symbol 309 MovieClip [NumberFlipper]
"roundScoreLabel4"Symbol 313 MovieClip [ScorePanel] Frame 1Symbol 309 MovieClip [NumberFlipper]
"roundScoreLabelx"Symbol 313 MovieClip [ScorePanel] Frame 1Symbol 309 MovieClip [NumberFlipper]
"leaderGlow"Symbol 313 MovieClip [ScorePanel] Frame 1Symbol 312 MovieClip
"scoreLabel0"Symbol 329 MovieClip [WordLabel] Frame 1Symbol 309 MovieClip [NumberFlipper]
"scoreLabel1"Symbol 329 MovieClip [WordLabel] Frame 1Symbol 309 MovieClip [NumberFlipper]
"scoreLabel2"Symbol 329 MovieClip [WordLabel] Frame 1Symbol 309 MovieClip [NumberFlipper]
"scoreLabel3"Symbol 329 MovieClip [WordLabel] Frame 1Symbol 309 MovieClip [NumberFlipper]
"scoreLabel4"Symbol 329 MovieClip [WordLabel] Frame 1Symbol 309 MovieClip [NumberFlipper]
"statusCheckbox"Symbol 329 MovieClip [WordLabel] Frame 1Symbol 260 MovieClip
"clearButton"Symbol 329 MovieClip [WordLabel] Frame 1Symbol 321 MovieClip
"selectionPlate"Symbol 329 MovieClip [WordLabel] Frame 1Symbol 327 MovieClip
"dupeIndicator"Symbol 329 MovieClip [WordLabel] Frame 1Symbol 231 MovieClip
"textLabel"Symbol 329 MovieClip [WordLabel] Frame 1Symbol 328 EditableText
"scorePanel"Symbol 336 MovieClip Frame 1Symbol 313 MovieClip [ScorePanel]
"wordLabel0"Symbol 336 MovieClip Frame 1Symbol 303 MovieClip [OpponentWordLabel]
"wordLabel1"Symbol 336 MovieClip Frame 1Symbol 303 MovieClip [OpponentWordLabel]
"wordLabel2"Symbol 336 MovieClip Frame 1Symbol 303 MovieClip [OpponentWordLabel]
"activeFade"Symbol 336 MovieClip Frame 1Symbol 335 MovieClip
"digit0"Symbol 354 MovieClip Frame 1Symbol 71 MovieClip
"digit1"Symbol 354 MovieClip Frame 1Symbol 71 MovieClip
"digit2"Symbol 354 MovieClip Frame 1Symbol 71 MovieClip
"wordLabel0"Symbol 364 MovieClip [Board] Frame 1Symbol 329 MovieClip [WordLabel]
"wordLabel1"Symbol 364 MovieClip [Board] Frame 1Symbol 329 MovieClip [WordLabel]
"wordLabel2"Symbol 364 MovieClip [Board] Frame 1Symbol 329 MovieClip [WordLabel]
"opponentLabel0"Symbol 364 MovieClip [Board] Frame 1Symbol 336 MovieClip
"opponentLabel1"Symbol 364 MovieClip [Board] Frame 1Symbol 336 MovieClip
"opponentLabel2"Symbol 364 MovieClip [Board] Frame 1Symbol 336 MovieClip
"opponentLabel3"Symbol 364 MovieClip [Board] Frame 1Symbol 336 MovieClip
"scorePanel"Symbol 364 MovieClip [Board] Frame 1Symbol 313 MovieClip [ScorePanel]
"l_0_0"Symbol 364 MovieClip [Board] Frame 1Symbol 222 MovieClip [LetterHolder]
"l_1_0"Symbol 364 MovieClip [Board] Frame 1Symbol 222 MovieClip [LetterHolder]
"l_2_0"Symbol 364 MovieClip [Board] Frame 1Symbol 222 MovieClip [LetterHolder]
"l_3_0"Symbol 364 MovieClip [Board] Frame 1Symbol 222 MovieClip [LetterHolder]
"l_4_0"Symbol 364 MovieClip [Board] Frame 1Symbol 222 MovieClip [LetterHolder]
"l_0_1"Symbol 364 MovieClip [Board] Frame 1Symbol 222 MovieClip [LetterHolder]
"l_1_1"Symbol 364 MovieClip [Board] Frame 1Symbol 222 MovieClip [LetterHolder]
"l_2_1"Symbol 364 MovieClip [Board] Frame 1Symbol 222 MovieClip [LetterHolder]
"l_3_1"Symbol 364 MovieClip [Board] Frame 1Symbol 222 MovieClip [LetterHolder]
"l_4_1"Symbol 364 MovieClip [Board] Frame 1Symbol 222 MovieClip [LetterHolder]
"l_0_2"Symbol 364 MovieClip [Board] Frame 1Symbol 222 MovieClip [LetterHolder]
"l_1_2"Symbol 364 MovieClip [Board] Frame 1Symbol 222 MovieClip [LetterHolder]
"l_2_2"Symbol 364 MovieClip [Board] Frame 1Symbol 222 MovieClip [LetterHolder]
"l_3_2"Symbol 364 MovieClip [Board] Frame 1Symbol 222 MovieClip [LetterHolder]
"l_0_3"Symbol 364 MovieClip [Board] Frame 1Symbol 222 MovieClip [LetterHolder]
"l_1_3"Symbol 364 MovieClip [Board] Frame 1Symbol 222 MovieClip [LetterHolder]
"l_2_3"Symbol 364 MovieClip [Board] Frame 1Symbol 222 MovieClip [LetterHolder]
"l_3_3"Symbol 364 MovieClip [Board] Frame 1Symbol 222 MovieClip [LetterHolder]
"l_4_3"Symbol 364 MovieClip [Board] Frame 1Symbol 222 MovieClip [LetterHolder]
"l_0_4"Symbol 364 MovieClip [Board] Frame 1Symbol 222 MovieClip [LetterHolder]
"l_1_4"Symbol 364 MovieClip [Board] Frame 1Symbol 222 MovieClip [LetterHolder]
"l_2_4"Symbol 364 MovieClip [Board] Frame 1Symbol 222 MovieClip [LetterHolder]
"l_3_4"Symbol 364 MovieClip [Board] Frame 1Symbol 222 MovieClip [LetterHolder]
"l_4_4"Symbol 364 MovieClip [Board] Frame 1Symbol 222 MovieClip [LetterHolder]
"l_4_2"Symbol 364 MovieClip [Board] Frame 1Symbol 222 MovieClip [LetterHolder]
"pos0"Symbol 364 MovieClip [Board] Frame 1Symbol 351 MovieClip
"pos1"Symbol 364 MovieClip [Board] Frame 1Symbol 351 MovieClip
"pos2"Symbol 364 MovieClip [Board] Frame 1Symbol 351 MovieClip
"pos3"Symbol 364 MovieClip [Board] Frame 1Symbol 351 MovieClip
"pos4"Symbol 364 MovieClip [Board] Frame 1Symbol 351 MovieClip
"timeCounterText"Symbol 364 MovieClip [Board] Frame 1Symbol 50 MovieClip [ReflectoText]
"timeCounter"Symbol 364 MovieClip [Board] Frame 1Symbol 354 MovieClip
"roundCounterText"Symbol 364 MovieClip [Board] Frame 1Symbol 50 MovieClip [ReflectoText]
"roundCounter"Symbol 364 MovieClip [Board] Frame 1Symbol 71 MovieClip
"lid0"Symbol 364 MovieClip [Board] Frame 1Symbol 359 MovieClip
"lid1"Symbol 364 MovieClip [Board] Frame 1Symbol 361 MovieClip
"lid2"Symbol 364 MovieClip [Board] Frame 1Symbol 363 MovieClip
"roundData"Symbol 364 MovieClip [Board] Frame 1Symbol 74 MovieClip [RoundData]

Special Tags

ExportAssets (56)Timeline Frame 1Symbol 1 as "wordBadSound"
ExportAssets (56)Timeline Frame 1Symbol 2 as "startSound"
ExportAssets (56)Timeline Frame 1Symbol 3 as "sharedWordSound"
ExportAssets (56)Timeline Frame 1Symbol 4 as "bonusRoundSound"
ExportAssets (56)Timeline Frame 1Symbol 5 as "scoreCountUpSound"
ExportAssets (56)Timeline Frame 1Symbol 6 as "secondCountSlutSound"
ExportAssets (56)Timeline Frame 1Symbol 7 as "secondCountSound"
ExportAssets (56)Timeline Frame 1Symbol 8 as "clockAlertSound"
ExportAssets (56)Timeline Frame 1Symbol 9 as "wordGoodSound"
ExportAssets (56)Timeline Frame 1Symbol 10 as "newRoundSound"
ExportAssets (56)Timeline Frame 1Symbol 11 as "getGoldSound"
ExportAssets (56)Timeline Frame 1Symbol 12 as "submitWordSound"
ExportAssets (56)Timeline Frame 1Symbol 13 as "markSound"
ExportAssets (56)Timeline Frame 1Symbol 46 as "Arrow"
ExportAssets (56)Timeline Frame 1Symbol 50 as "ReflectoText"
ExportAssets (56)Timeline Frame 1Symbol 73 as "TextNumber"
ExportAssets (56)Timeline Frame 1Symbol 73 as "TextNumber"
ExportAssets (56)Timeline Frame 1Symbol 73 as "TextNumber"
ExportAssets (56)Timeline Frame 1Symbol 73 as "TextNumber"
ExportAssets (56)Timeline Frame 1Symbol 73 as "TextNumber"
ExportAssets (56)Timeline Frame 1Symbol 73 as "TextNumber"
ExportAssets (56)Timeline Frame 1Symbol 74 as "RoundData"
ExportAssets (56)Timeline Frame 1Symbol 50 as "ReflectoText"
ExportAssets (56)Timeline Frame 1Symbol 209 as "Letter"
ExportAssets (56)Timeline Frame 1Symbol 209 as "Letter"
ExportAssets (56)Timeline Frame 1Symbol 209 as "Letter"
ExportAssets (56)Timeline Frame 1Symbol 222 as "LetterHolder"
ExportAssets (56)Timeline Frame 1Symbol 247 as "ScorePoof"
ExportAssets (56)Timeline Frame 1Symbol 247 as "ScorePoof"
ExportAssets (56)Timeline Frame 1Symbol 247 as "ScorePoof"
ExportAssets (56)Timeline Frame 1Symbol 247 as "ScorePoof"
ExportAssets (56)Timeline Frame 1Symbol 247 as "ScorePoof"
ExportAssets (56)Timeline Frame 1Symbol 247 as "ScorePoof"
ExportAssets (56)Timeline Frame 1Symbol 247 as "ScorePoof"
ExportAssets (56)Timeline Frame 1Symbol 247 as "ScorePoof"
ExportAssets (56)Timeline Frame 1Symbol 303 as "OpponentWordLabel"
ExportAssets (56)Timeline Frame 1Symbol 309 as "NumberFlipper"
ExportAssets (56)Timeline Frame 1Symbol 309 as "NumberFlipper"
ExportAssets (56)Timeline Frame 1Symbol 309 as "NumberFlipper"
ExportAssets (56)Timeline Frame 1Symbol 309 as "NumberFlipper"
ExportAssets (56)Timeline Frame 1Symbol 309 as "NumberFlipper"
ExportAssets (56)Timeline Frame 1Symbol 309 as "NumberFlipper"
ExportAssets (56)Timeline Frame 1Symbol 309 as "NumberFlipper"
ExportAssets (56)Timeline Frame 1Symbol 309 as "NumberFlipper"
ExportAssets (56)Timeline Frame 1Symbol 309 as "NumberFlipper"
ExportAssets (56)Timeline Frame 1Symbol 309 as "NumberFlipper"
ExportAssets (56)Timeline Frame 1Symbol 309 as "NumberFlipper"
ExportAssets (56)Timeline Frame 1Symbol 309 as "NumberFlipper"
ExportAssets (56)Timeline Frame 1Symbol 309 as "NumberFlipper"
ExportAssets (56)Timeline Frame 1Symbol 313 as "ScorePanel"
ExportAssets (56)Timeline Frame 1Symbol 247 as "ScorePoof"
ExportAssets (56)Timeline Frame 1Symbol 309 as "NumberFlipper"
ExportAssets (56)Timeline Frame 1Symbol 309 as "NumberFlipper"
ExportAssets (56)Timeline Frame 1Symbol 309 as "NumberFlipper"
ExportAssets (56)Timeline Frame 1Symbol 309 as "NumberFlipper"
ExportAssets (56)Timeline Frame 1Symbol 309 as "NumberFlipper"
ExportAssets (56)Timeline Frame 1Symbol 309 as "NumberFlipper"
ExportAssets (56)Timeline Frame 1Symbol 329 as "WordLabel"
ExportAssets (56)Timeline Frame 1Symbol 329 as "WordLabel"
ExportAssets (56)Timeline Frame 1Symbol 329 as "WordLabel"
ExportAssets (56)Timeline Frame 1Symbol 329 as "WordLabel"
ExportAssets (56)Timeline Frame 1Symbol 313 as "ScorePanel"
ExportAssets (56)Timeline Frame 1Symbol 303 as "OpponentWordLabel"
ExportAssets (56)Timeline Frame 1Symbol 303 as "OpponentWordLabel"
ExportAssets (56)Timeline Frame 1Symbol 303 as "OpponentWordLabel"
ExportAssets (56)Timeline Frame 1Symbol 313 as "ScorePanel"
ExportAssets (56)Timeline Frame 1Symbol 222 as "LetterHolder"
ExportAssets (56)Timeline Frame 1Symbol 222 as "LetterHolder"
ExportAssets (56)Timeline Frame 1Symbol 222 as "LetterHolder"
ExportAssets (56)Timeline Frame 1Symbol 222 as "LetterHolder"
ExportAssets (56)Timeline Frame 1Symbol 222 as "LetterHolder"
ExportAssets (56)Timeline Frame 1Symbol 222 as "LetterHolder"
ExportAssets (56)Timeline Frame 1Symbol 222 as "LetterHolder"
ExportAssets (56)Timeline Frame 1Symbol 222 as "LetterHolder"
ExportAssets (56)Timeline Frame 1Symbol 222 as "LetterHolder"
ExportAssets (56)Timeline Frame 1Symbol 222 as "LetterHolder"
ExportAssets (56)Timeline Frame 1Symbol 222 as "LetterHolder"
ExportAssets (56)Timeline Frame 1Symbol 222 as "LetterHolder"
ExportAssets (56)Timeline Frame 1Symbol 222 as "LetterHolder"
ExportAssets (56)Timeline Frame 1Symbol 222 as "LetterHolder"
ExportAssets (56)Timeline Frame 1Symbol 222 as "LetterHolder"
ExportAssets (56)Timeline Frame 1Symbol 222 as "LetterHolder"
ExportAssets (56)Timeline Frame 1Symbol 222 as "LetterHolder"
ExportAssets (56)Timeline Frame 1Symbol 222 as "LetterHolder"
ExportAssets (56)Timeline Frame 1Symbol 222 as "LetterHolder"
ExportAssets (56)Timeline Frame 1Symbol 222 as "LetterHolder"
ExportAssets (56)Timeline Frame 1Symbol 222 as "LetterHolder"
ExportAssets (56)Timeline Frame 1Symbol 222 as "LetterHolder"
ExportAssets (56)Timeline Frame 1Symbol 222 as "LetterHolder"
ExportAssets (56)Timeline Frame 1Symbol 222 as "LetterHolder"
ExportAssets (56)Timeline Frame 1Symbol 222 as "LetterHolder"
ExportAssets (56)Timeline Frame 1Symbol 50 as "ReflectoText"
ExportAssets (56)Timeline Frame 1Symbol 50 as "ReflectoText"
ExportAssets (56)Timeline Frame 1Symbol 74 as "RoundData"
ExportAssets (56)Timeline Frame 1Symbol 364 as "Board"
ExportAssets (56)Timeline Frame 1Symbol 364 as "Board"
ExportAssets (56)Timeline Frame 1Symbol 379 as "__Packages.com.midasplayer.wordbattle.TextNumber"
ExportAssets (56)Timeline Frame 1Symbol 380 as "__Packages.com.midasplayer.wordbattle.RoundData"
ExportAssets (56)Timeline Frame 1Symbol 381 as "__Packages.com.midasplayer.wordbattle.Letter"
ExportAssets (56)Timeline Frame 1Symbol 382 as "__Packages.com.midasplayer.wordbattle.WordLabel"
ExportAssets (56)Timeline Frame 1Symbol 383 as "__Packages.com.midasplayer.wordbattle.Board"
ExportAssets (56)Timeline Frame 1Symbol 384 as "__Packages.util.CommCallback"
ExportAssets (56)Timeline Frame 1Symbol 385 as "__Packages.util.Client"
ExportAssets (56)Timeline Frame 1Symbol 386 as "__Packages.com.midasplayer.wordbattle.Comm"
ExportAssets (56)Timeline Frame 1Symbol 387 as "__Packages.util.Communicator"
ExportAssets (56)Timeline Frame 1Symbol 388 as "__Packages.com.midasplayer.wordbattle.LetterHolder"
ExportAssets (56)Timeline Frame 1Symbol 389 as "__Packages.com.midasplayer.wordbattle.ScorePoof"
ExportAssets (56)Timeline Frame 1Symbol 390 as "__Packages.com.midasplayer.wordbattle.NumberFlipper"
ExportAssets (56)Timeline Frame 1Symbol 391 as "__Packages.com.midasplayer.wordbattle.ScorePanel"
ExportAssets (56)Timeline Frame 1Symbol 392 as "__Packages.com.midasplayer.wordbattle.ReflectoText"




http://swfchan.com/50/246685/info.shtml
Created: 22/4 -2022 00:07:22 Last modified: 22/4 -2022 00:07:22 Server time: 22/12 -2024 23:51:23