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

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

Koala Checkers.swf

This is the info page for
Flash #28804

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


Text
Koala Checkers

Koala Checkers

Play

Play

loading:

wait...

Add this game to your site

Download Games

More Online Games

Jump Again

You Can Jump Again

You Can Jump Again

Don't Jump

RESET

RESET

Play Again?

oh no,
you lost!

oh no,
you lost!

FreeWorldGroup - Checkers

Play Again?

YOU WIN!!

YOU WIN!!

null

null

ActionScript [AS1/AS2]

Frame 1
P = int((100 * _framesloaded) / _totalframes); numBytes = this.getBytesLoaded(); total = this.getBytesTotal(); findPercent = (numBytes / total) * 100; x = Math.round(findPercent); loading = x + " %";
Frame 2
if (99 < Number(P)) { gotoAndStop(nextFrame); } else { gotoAndPlay (1); }
Frame 3
stop();
Frame 5
function redDOne() { _root.vTurn = "WhitesTurn"; _root.PrintBox = "let me think..."; tellTarget (_root.cpuMove1) { gotoAndPlay (2); }; setProperty(eval ("_root." + _root.DiscName3), _alpha , "100"); tellTarget (_root.flashred) { gotoAndStop (1); }; _root.DiscName3 = ""; setProperty(_root.RedAlert, _visible , 0); _root.vTakeOppPiece = 0; _root.RedJumpAgain = 0; _root.TestRedMulti = "nul"; } function DiscChange(y_pos, x_pos) { x_move = (y_pos / 5) + 52; y_move = ((y_pos / 9) + 40) + ((y_pos / 5.5) - 6); DiscName2 = eval ("_level0." + _root.DiscName); setProperty(DiscName2, _yscale , y_move); setProperty(DiscName2, _y , y_pos); setProperty(DiscName2, _xscale , x_move); setProperty(DiscName2, _x , x_pos); setProperty(DiscName2, _rotation , (x_pos - 375) / 55); } function FindDropTargetNumber(vDropTarget) { function fTakeOppPiece(vOppNun) { vPlaceInArray = vJoinArray.indexOf(vOppNun) / 3; _root.vTakeOppPiece = vInvColor + vPlaceInArray; return("yes"); } vDrop_x = "drop" + _root.DiscName; var y = vDrop_x.substring(7, vDrop_x.length); var VDiscColor = _root.DiscName.substring(0, 3); vNumber = math.floor(y); OLdDropTargetNumber = "" + eval ("_root.Drop" + vDiscColor)[vNumber]; var TempTarget = String(vDropTarget); NewDropTargetNumber = TempTarget.substring(8, 10); OLdDropTargetRow = int(OLdDropTargetNumber.charAt(0)); OldDropTargetCol = int(OLdDropTargetNumber.charAt(1)); NewDropTargetRow = int(NewDropTargetNumber.charAt(0)); NewDropTargetCol = int(NewDropTargetNumber.charAt(1)); var vKingorNot = eval ("_root.King" + vDiscColor)[vNumber]; if (eval ("_root.King" + vDiscColor)[vNumber] == "king") { tellTarget (DiscName2) { gotoAndStop (4); }; } if (((vKingorNot == "right") || (vKingorNot == "king")) && (TestRedMulti == "nul")) { if ((NewDropTargetCol == (OLdDropTargetCol + 1)) || (OLdDropTargetNumber == NewDropTargetNumber)) { if (((NewDropTargetRow == (OLdDropTargetRow + 1)) || (NewDropTargetRow == (OLdDropTargetRow - 1))) || (OLdDropTargetNumber == NewDropTargetNumber)) { return("yes"); } } } if (((vKingorNot == "left") || (vKingorNot == "king")) && (TestRedMulti == "nul")) { if ((NewDropTargetCol == (OLdDropTargetCol - 1)) || (OLdDropTargetNumber == NewDropTargetNumber)) { if (((NewDropTargetRow == (OLdDropTargetRow - 1)) || (NewDropTargetRow == (OLdDropTargetRow + 1))) || (OLdDropTargetNumber == NewDropTargetNumber)) { return("yes"); } } } var x = ((NewDropTargetRow - OLdDropTargetRow) / 2); var y = ((NewDropTargetCol - OLdDropTargetCol) / 2); vOppNun = ((OLdDropTargetRow + x) + "") + (OLdDropTargetCol + y); if (vDiscColor == "red") { _root.vInvColor = "whi"; vJoinArray = _root.Dropwhi.join(); } if (vDiscColor == "whi") { vInvColor = "red"; vJoinArray = _root.Dropred.join(); } if (vJoinArray.indexOf(vOppNun) != -1) { if ((vKingorNot == "king") || (vKingorNot == "right")) { if (((NewDropTargetRow == (OLdDropTargetRow - 2)) || (NewDropTargetRow == (OLdDropTargetRow + 2))) && (NewDropTargetCol == (OLdDropTargetCol + 2))) { return(fTakeOppPiece(vOppNun)); } } if (vKingorNot == "king") { if (((NewDropTargetRow == (OLdDropTargetRow - 2)) || (NewDropTargetRow == (OLdDropTargetRow + 2))) && (NewDropTargetCol == (OLdDropTargetCol - 2))) { return(fTakeOppPiece(vOppNun)); } } } } function fTakeOppPiece(vOppNun) { vPlaceInArray = vJoinArray.indexOf(vOppNun) / 3; _root.vTakeOppPiece = vInvColor + vPlaceInArray; return("yes"); } function FindMultiJump() { vDrop_x = "drop" + _root.DiscName; var y = vDrop_x.substring(7, vDrop_x.length); var VDiscColor = _root.DiscName.substring(0, 3); vNumber = math.floor(y); CurrentRedPosition = "" + _root.Dropred[vNumber]; whiArrayStr = _root.dropwhi.toString(); RedArrayStr = _root.dropred.toString(); if (_root.Kingred[vNumber] == "king") { Jump_NW1 = int(CurrentRedPosition.charAt(0)) - 2; Jump_NW2 = int(CurrentRedPosition.charAt(1)) - 2; Jump_SW1 = int(CurrentRedPosition.charAt(0)) + 2; Jump_SW2 = int(CurrentRedPosition.charAt(1)) - 2; Jump2_NW1 = int(CurrentRedPosition.charAt(0)) - 1; Jump2_NW2 = int(CurrentRedPosition.charAt(1)) - 1; Jump2_SW1 = int(CurrentRedPosition.charAt(0)) + 1; Jump2_SW2 = int(CurrentRedPosition.charAt(1)) - 1; NewJump_NW = (Jump_NW1 + "") + Jump_NW2; NewJump_SW = (Jump_SW1 + "") + Jump_SW2; NewOpp_NW = (Jump2_NW1 + "") + Jump2_NW2; NewOpp_SW = (Jump2_SW1 + "") + Jump2_SW2; if ((0 < Jump_NW1) && (0 < Jump_NW2)) { if (((-1 < whiArrayStr.indexOf(NewOpp_NW)) && (whiArrayStr.indexOf(NewJump_NW) == -1)) && (redArrayStr.indexOf(NewJump_NW) == -1)) { trace("MultiJUmp NW Active"); return("NWjump"); } } if ((Jump_SW1 < 9) && (0 < Jump_SW2)) { if (((-1 < whiArrayStr.indexOf(NewOpp_SW)) && (whiArrayStr.indexOf(NewJump_SW) == -1)) && (redArrayStr.indexOf(NewJump_SW) == -1)) { trace("MultiJUmp SW Active"); return("SWjump"); } } } Jump_NE1 = int(CurrentRedPosition.charAt(0)) - 2; Jump_NE2 = int(CurrentRedPosition.charAt(1)) + 2; Jump_SE1 = int(CurrentRedPosition.charAt(0)) + 2; Jump_SE2 = int(CurrentRedPosition.charAt(1)) + 2; Jump2_NE1 = int(CurrentRedPosition.charAt(0)) - 1; Jump2_NE2 = int(CurrentRedPosition.charAt(1)) + 1; Jump2_SE1 = int(CurrentRedPosition.charAt(0)) + 1; Jump2_SE2 = int(CurrentRedPosition.charAt(1)) + 1; NewJump_NE = (Jump_NE1 + "") + Jump_NE2; NewJump_SE = (Jump_SE1 + "") + Jump_SE2; NewOpp_NE = (Jump2_NE1 + "") + Jump2_NE2; NewOpp_SE = (Jump2_SE1 + "") + Jump2_SE2; if ((0 < Jump_NE1) && (Jump_NE2 < 9)) { if (((-1 < whiArrayStr.indexOf(NewOpp_NE)) && (whiArrayStr.indexOf(NewJump_NE) == -1)) && (redArrayStr.indexOf(NewJump_NE) == -1)) { return("NEjump"); } } if ((Jump_SE1 < 9) && (Jump_SE2 < 9)) { if (((-1 < whiArrayStr.indexOf(NewOpp_SE)) && (whiArrayStr.indexOf(NewJump_SE) == -1)) && (redArrayStr.indexOf(NewJump_SE) == -1)) { return("SEjump"); } } return("nul"); } _root.vTakeOppPiece = 0; redtally = 12; whitally = 12; setProperty(_root.RedAlert, _visible , 0); setProperty(_root.youwin, _visible , 0); setProperty(_root.youlose, _visible , 0); setProperty(_root.JumpQuestion, _visible , 0); _root.RedJumpAgain = 0; _root.TestRedMulti = "nul"; DiscName = ""; DiscName2 = ""; _root.vTurn = "RedsTurn"; _root.jumpWait = 1;
Instance of Symbol 78 MovieClip "red0" in Frame 5
onClipEvent (load) { stop(); } onClipEvent (mouseUp) { if (_root.DiscName == this._name) { var x = eval (_droptarget); _root.FindDropTargetNumber(x); if ((_root.vDiscSnap == 1) && (_root.NewDropTargetNumber != "")) { _y = eval (_droptarget)._y; _x = eval (_droptarget)._x; _root.Dropred[_root.vNumber] = _root.NewDropTargetNumber; } else { _root.DiscChange(_root.old_y, _root.old_x); } _root.animateme = false; stopDrag(); gotoAndStop(_currentframe - 1); if (_root.vTakeOppPiece != 0) { _root.jumpWait = 0; tellTarget (_root.jumpQuestion) { _root.DiscName = ""; setProperty("_root.jumpQuestion", _visible , "1"); gotoAndPlay (2); }; } } setProperty(_root.ring, _visible , 0); }
Instance of Symbol 96 MovieClip "jumpQuestion" in Frame 5
onClipEvent (load) { }
Frame 6
var i = 1; while (i < 13) { dup = "red" + i; duplicateMovieClip ("red0", dup, i + 13); setProperty(dup, _y , red0._y + (50 * i)); dup = "whi" + i; duplicateMovieClip ("whi0", dup, i); setProperty(dup, _y , whi0._y + (50 * i)); i++; } setProperty("_root.red0", _visible , "0"); setProperty("_root.whi0", _visible , "0"); _root.Dropred = new Array("00", 11, 31, 51, 71, 22, 42, 62, 82, 13, 33, 53, 73); _root.Kingred = new Array("0", "right", "right", "right", "right", "right", "right", "right", "right", "right", "right", "right", "right"); var i = 1; while (i < 13) { _root.DiscName = "red" + i; var x = _root.Dropred[i]; y_pos = eval ("_root." + x)._y; x_pos = eval ("_root." + x)._x; _root.DiscChange(y_pos, x_pos); i++; } _root.Dropwhi = new Array("00", 28, 48, 68, 88, 17, 37, 57, 77, 26, 46, 66, 86); _root.Kingwhi = new Array("0", "left", "left", "left", "left", "left", "left", "left", "left", "left", "left", "left", "left"); var i = 1; while (i < 13) { trace(i); _root.DiscName = "whi" + i; var x = _root.Dropwhi[i]; y_pos = eval ("_root." + x)._y; x_pos = eval ("_root." + x)._x; _root.DiscChange(y_pos, x_pos); if (i == 3) { myRandom = Math.random(); if (0.5 < myRandom) { _root.printbox = "Green goes first (that's you)"; _root.vTurn = "RedsTurn"; } else { _root.printbox = ""; _root.vTurn = "WhitesTurn"; tellTarget (_root.cpuMove1) { gotoAndPlay (2); }; } } i++; } var x = _root.Kingwhi.join(); var y = _root.Kingred.join(); var z = _root.Dropwhi.join(); var zz = _root.Dropred.join(); trace((z + " | ") + x); trace((zz + " | ") + y);
Frame 7
stop();
Symbol 10 Button
on (release) { tellTarget ("_root") { gotoAndPlay (5); }; }
Symbol 12 MovieClip Frame 1
stop();
Symbol 22 Button
on (press) { getURL ("http://www.freeworldgroup.com/koalafiles.htm", "_blank"); }
Symbol 25 Button
on (press) { getURL ("http://www.freeworldgroup.com/game3.htm", "_blank"); }
Symbol 27 Button
on (press) { getURL ("http://www.freeworldgroup.com/game.html", "_blank"); }
Symbol 39 MovieClip Frame 40
tellTarget (_root.play) { gotoAndStop (2); }; stop();
Symbol 46 Button
on (release) { setProperty(eval ("_root." + _root.DiscName3), _alpha , 100); _root.vTurn = "WhitesTurn"; _root.DiscName3 = ""; setProperty(_root.RedAlert, _visible , 0); tellTarget (_root.flashred) { gotoAndPlay (65536); }; _root.PrintBox = "White may Move"; tellTarget (_root.cpuMove1) { gotoAndPlay (2); }; _root.RedJumpAgain = 0; _root.TestRedMulti = "nul"; tellTarget (_root.jumpQuestion) { gotoAndStop (1); setProperty("_root.jumpQuestion", _visible , "0"); }; }
Symbol 47 Button
on (release) { setProperty("_root.RedAlert", _visible , "0"); }
Symbol 56 Button
on (release) { loadMovieNum ("freeworld_checkers.swf", 0); }
Symbol 62 Button
on (release) { loadMovieNum ("checkers.swf", 0); }
Symbol 63 Button
on (release) { loadMovieNum ("freeworld_checkers.swf", 0); }
Symbol 65 MovieClip Frame 1
stop();
Symbol 65 MovieClip Frame 4
var vThisobject = eval ("_root." + this._name); vThisobject.swapDepths(35);
Symbol 65 MovieClip Frame 7
var i = 1; while (i < 13) { tellTarget (eval ("_root.whi" + i)) { gotoAndPlay (4); }; i++; }
Symbol 65 MovieClip Frame 10
var i = 1; while (i < 13) { tellTarget (eval ("_root.whi" + i)) { gotoAndPlay (1); }; i++; } gotoAndPlay (4);
Symbol 66 MovieClip Frame 1
stop();
Symbol 66 MovieClip Frame 2
if (_root.ring._currentFrame == "2") { s = new Sound(); s.attachSound("MJsound"); s.start(); }
Symbol 66 MovieClip Frame 12
setProperty(eval ("_root." + _root.DiscName3), _alpha , 70);
Symbol 66 MovieClip Frame 18
setProperty(eval ("_root." + _root.DiscName3), _alpha , 100); gotoAndPlay (3);
Symbol 67 MovieClip Frame 1
stop();
Symbol 67 MovieClip Frame 2
y_pos = _root._ymouse; x_pos = _root._xmouse; _root.DiscChange(y_pos, x_pos); x_move = (y_pos / 5) + 52; y_move = ((y_pos / 9) + 40) + ((y_pos / 5.5) - 6); setProperty(_level0.ring, _yscale , _root.y_move); setProperty(_level0.ring, _y , y_pos); setProperty(_level0.ring, _xscale , _root.x_move); setProperty(_level0.ring, _x , x_pos); setProperty(_level0.ring, _rotation , (x_pos - 375) / 50); setProperty(_root.ring, _visible , true); vObject = eval ("_root." + _root.DiscName); var x = eval (vObject._droptarget); var movetemp = _root.FindDropTargetNumber(x); DTLength = ("" + vObject._droptarget).length; if (((movetemp == "yes") && (eval (vObject._droptarget) != _level0.ring)) && (DTLength == 3)) { _root.vDiscSnap = 1; tellTarget (_root.ring) { gotoAndStop (2); }; if (_root.NewDropTargetCol == 8) { tellTarget (vObject) { gotoAndStop (4); }; } } else { _root.vTakeOppPiece = 0; _root.vDiscSnap = 0; tellTarget (_root.ring) { gotoAndStop (1); }; if ((vObject._currentFrame == 4) && (_root.Kingred[_root.vNumber] == "right")) { tellTarget (vObject) { gotoAndStop (2); }; } }
Symbol 67 MovieClip Frame 3
trace("pass"); if (_root.animateme == false) { if (((_root.Dropred[_root.vNumber] != _root.OldDropTargetNumber) && (_root.vDiscSnap == 1)) && (_root.DiscName.indexOf("red") == 0)) { if ((_root.Kingred[_root.vNumber] == "right") && (_root.NewDropTargetCol == "8")) { v = new Sound(); v.attachSound("kingSound"); v.start(); _root.Kingred[_root.vNumber] = "king"; } } _root.TestRedMulti = _root.FindMultiJump(); if (((((_root.TestRedMulti == "NWjump") || (_root.TestRedMulti == "SWjump")) || (_root.TestRedMulti == "NEjump")) || (_root.TestRedMulti == "SEjump")) && (_root.RedJumpAgain == 1)) { _root.vTurn = "nul"; _root.DiscName3 = _root.DiscName; setProperty(_root.RedAlert, _visible , 1); tellTarget (_root.flashred) { gotoAndPlay (2); }; } else if (((_root.Dropred[_root.vNumber] != _root.OldDropTargetNumber) && (_root.vDiscSnap == 1)) && (_root.DiscName.indexOf("red") == 0)) { if (_root.jumpWait == 1) { _root.redDone(); } else { gotoAndStop (1); } } stop(); } else if (_root.animateme == true) { gotoAndPlay (2); }
Symbol 68 MovieClip Frame 1
PassCount = 1; MultiJump = "nul"; stop();
Symbol 68 MovieClip Frame 13
function getDirection(DiscName, vColor) { arrayTemp = eval ("_root.drop" + vColor); CurDropTargetNumber = "" + arrayTemp[DiscName]; CurDropTargetRow = int(CurDropTargetNumber.charAt(0)); CurDropTargetCol = int(CurDropTargetNumber.charAt(1)); x1 = CurDropTargetRow; x2 = CurDropTargetCol; NewSpot_NW = ((x1 - 1) + "") + (x2 - 1); NewSpot_SW = ((x1 + 1) + "") + (x2 - 1); NewSpot_NE = ((x1 - 1) + "") + (x2 + 1); NewSpot_SE = ((x1 + 1) + "") + (x2 + 1); math.floor(NewSpot_NW); math.floor(NewSpot_SW); math.floor(NewSpot_NE); math.floor(NewSpot_SE); } function TestMove(vColor) { function RanDir(RanNum) { if (RanNum == 0) { DirTemp = "NW"; } if (RanNum == 1) { DirTemp = "SW"; } if (RanNum == 2) { DirTemp = "NE"; } if (RanNum == 3) { DirTemp = "SE"; } } function GoJump(DiscNumber, Dir, Dist1, Dist2) { _root.DiscName = "whi" + DiscNumber; getDirection(DiscNumber, "whi"); new_y = eval ((("_root." + (x1 + (Dist1 * 2))) + (x2 + (Dist2 * 2))) + "._y"); new_x = eval ((("_root." + (x1 + (Dist1 * 2))) + (x2 + (Dist2 * 2))) + "._x"); setProperty(eval ("_root." + _root.DiscName), _y , new_y); setProperty(eval ("_root." + _root.DiscName), _x , new_x); _root.DiscChange(new_y, new_x); _root.Dropwhi[DiscNumber] = ((x1 + (Dist1 * 2)) + "") + (x2 + (Dist2 * 2)); RedDiscPos = ((x1 + Dist1) + "") + (x2 + Dist2); MultiJump = DiscNumber; ExecuteMove(RedDiscPos); } if (_root.dropwhi(i) != 0) { WhiteCanMove_NW = new Array(); WhiteCanMove_SW = new Array(); WhiteCanMove_NE = new Array(); WhiteCanMove_SE = new Array(); WhiteCanJump_NW = new Array(); WhiteCanJump_SW = new Array(); WhiteCanJump_NE = new Array(); WhiteCanJump_SE = new Array(); whiArrayStr = _root.dropwhi.toString(); redArrayStr = _root.dropred.toString(); var i = 1; while (i < 13) { if (_root.Dropwhi[i] != 0) { getDirection(i, "whi"); var testx = TestMove2(i, "NW", -1, -1); if (testx == "NWjump") { pushed = WhiteCanJump_NW.push(i); var ww = WhiteCanJump_NW.join(); trace("jumpNW " + ww); } else if (testx != "deadmove_NW") { pushed = WhiteCanMove_NW.push(i); var xx = WhiteCanMove_NW.join(); trace("MoveNW " + xx); } } i++; } var i = 1; while (i < 13) { if (_root.Dropwhi[i] != 0) { getDirection(i, "whi"); var testx = TestMove2(i, "SW", 1, -1); if (testx == "SWjump") { pushed = WhiteCanJump_SW.push(i); var ww = WhiteCanJump_SW.join(); } else if (testx != "deadmove_SW") { pushed = WhiteCanMove_SW.push(i); var xx = WhiteCanMove_SW.join(); } } i++; } var i = 1; while (i < 13) { if ((_root.Kingwhi[i] == "King") && (_root.Dropwhi[i] != 0)) { getDirection(i, "whi"); var testx = TestMove2(i, "NE", -1, 1); if (testx == "NEjump") { pushed = WhiteCanJump_NE.push(i); var ww = WhiteCanJump_NE.join(); } else if (testx != "deadmove_NE") { pushed = WhiteCanMove_NE.push(i); var xx = WhiteCanMove_NE.join(); } } i++; } var i = 1; while (i < 13) { if ((_root.Kingwhi[i] == "King") && (_root.Dropwhi[i] != 0)) { getDirection(i, "whi"); var testx = TestMove2(i, "SE", 1, 1); if (testx == "SEjump") { pushed = WhiteCanJump_SE.push(i); var ww = WhiteCanJump_SE.join(); } else if (testx != "deadmove_SE") { pushed = WhiteCanMove_SE.push(i); var xx = WhiteCanMove_SE.join(); } } i++; } WCJ_NW = WhiteCanJump_NW.join(); WCJ_SW = WhiteCanJump_SW.join(); WCJ_NE = WhiteCanJump_NE.join(); WCJ_SE = WhiteCanJump_SE.join(); if ((((0 < WhiteCanJump_NW.length) || (0 < WhiteCanJump_SW.length)) || (0 < WhiteCanJump_sE.length)) || (0 < WhiteCanJump_NE.length)) { var RanNum = random(4); RanDir(RanNum); while (eval (("WhiteCanJump_" + DirTemp) + ".length") == 0) { var RanNum = random(4); RanDir(RanNum); trace("jump path1"); } if (WCJ_NW.indexOf(MultiJump) != -1) { RanNum = 0; } else if (WCJ_SW.indexOf(MultiJump) != -1) { RanNum = 1; } else if (WCJ_NE.indexOf(MultiJump) != -1) { RanNum = 2; } else if (WCJ_SE.indexOf(MultiJump) != -1) { RanNum = 3; } else if (0 < MultiJump) { MultiJump = 0; trace("MultiJump2- " + MultiJump); RanNum = ""; } trace("DirTemp= " + DirTemp); trace("RanNum= " + RanNum); if (RanNum == 0) { if (MultiJump == "nul") { RanNum2 = random(WhiteCanJump_NW.length); DiscNumber = WhiteCanJump_NW[RanNum2]; GoJump(DiscNumber, "NW", -1, -1); trace("path1a"); } else if (0 < MultiJump) { GoJump(MultiJump, "NW", -1, -1); } } if (RanNum == 1) { if (MultiJump == "nul") { RanNum2 = random(WhiteCanJump_SW.length); DiscNumber = WhiteCanJump_SW[RanNum2]; GoJump(DiscNumber, "SW", 1, -1); trace("path1b"); } else if (0 < MultiJump) { GoJump(MultiJump, "SW", 1, -1); } } if (RanNum == 2) { if (MultiJump == "nul") { RanNum2 = random(WhiteCanJump_NE.length); DiscNumber = WhiteCanJump_NE[RanNum2]; GoJump(DiscNumber, "NE", -1, 1); trace("path1c"); } else if (0 < MultiJump) { GoJump(MultiJump, "NE", -1, 1); } } if (RanNum == 3) { if (MultiJump == "nul") { RanNum2 = random(WhiteCanJump_SE.length); DiscNumber = WhiteCanJump_SE[RanNum2]; GoJump(DiscNumber, "SE", 1, 1); } else if (0 < MultiJump) { GoJump(MultiJump, "SE", 1, 1); } } trace("WCJ.length= " + WhiteCanJump_SE.length); trace("RanNum2= " + RanNum2); } else if ((((WhiteCanMove_NW.length != 0) || (WhiteCanMove_SW.length != 0)) || (WhiteCanMove_NE.length != 0)) || (WhiteCanMove_SE.length != 0)) { if ((MultiJump < 1) || (MultiJump == "nul")) { var RanNum = random(4); RanDir(RanNum); while (eval (("WhiteCanMove_" + DirTemp) + ".length") == 0) { var RanNum = random(4); RanDir(RanNum); } if (RanNum == 0) { RanNum2 = random(WhiteCanMove_NW.length); DiscNumber = WhiteCanMove_NW[RanNum2]; _root.DiscName = vColor + DiscNumber; getDirection(DiscNumber, "whi"); new_y = eval (("_root." + NewSpot_NW) + "._y"); new_x = eval (("_root." + NewSpot_NW) + "._x"); setProperty(eval ("_root." + _root.DiscName), _y , new_y); setProperty(eval ("_root." + _root.DiscName), _x , new_x); _root.DiscChange(new_y, new_x); _root.Dropwhi[DiscNumber] = NewSpot_NW; MultiJump = "nul"; RanNum = ""; } if (RanNum == 1) { RanNum2 = random(WhiteCanMove_SW.length); DiscNumber = WhiteCanMove_SW[RanNum2]; _root.DiscName = vColor + DiscNumber; getDirection(DiscNumber, "whi"); new_y = eval (("_root." + NewSpot_SW) + "._y"); new_x = eval (("_root." + NewSpot_SW) + "._x"); setProperty(eval ("_root." + _root.DiscName), _y , new_y); setProperty(eval ("_root." + _root.DiscName), _x , new_x); _root.DiscChange(new_y, new_x); _root.Dropwhi[DiscNumber] = NewSpot_SW; MultiJump = "nul"; RanNum = ""; } if (RanNum == 2) { RanNum2 = random(WhiteCanMove_NE.length); DiscNumber = WhiteCanMove_NE[RanNum2]; _root.DiscName = vColor + DiscNumber; getDirection(DiscNumber, "whi"); new_y = eval (("_root." + NewSpot_NE) + "._y"); new_x = eval (("_root." + NewSpot_NE) + "._x"); setProperty(eval ("_root." + _root.DiscName), _y , new_y); setProperty(eval ("_root." + _root.DiscName), _x , new_x); _root.DiscChange(new_y, new_x); _root.Dropwhi[DiscNumber] = NewSpot_NE; MultiJump = "nul"; RanNum = ""; } if (RanNum == 3) { RanNum2 = random(WhiteCanMove_SE.length); DiscNumber = WhiteCanMove_SE[RanNum2]; _root.DiscName = vColor + DiscNumber; getDirection(DiscNumber, "whi"); new_y = eval (("_root." + NewSpot_SE) + "._y"); new_x = eval (("_root." + NewSpot_SE) + "._x"); setProperty(eval ("_root." + _root.DiscName), _y , new_y); setProperty(eval ("_root." + _root.DiscName), _x , new_x); _root.DiscChange(new_y, new_x); _root.Dropwhi[DiscNumber] = NewSpot_SE; MultiJump = "nul"; RanNum = ""; } } else { MultiJump = 0; RanNum = ""; } } else { trace("1+++++RED WINS!++++++++"); _root.PrintBox = ""; setProperty(_root.youwin, _visible , 1); tellTarget ("_root.youwin") { gotoAndPlay (2); }; gotoAndStop (11); _root.vTurn = "RedsTurn"; gotoAndStop (1); } trace("MultiJump = " + MultiJump); if (_root.whitally == 0) { trace("2+++++RED WINS!++++++++"); _root.PrintBox = ""; setProperty(_root.youwin, _visible , 1); tellTarget ("_root.youwin") { gotoAndPlay (2); }; gotoAndStop (11); } else if (0 < MultiJump) { gotoAndPlay (2); } else { _root.vTurn = "RedsTurn"; _root.PrintBox = "Your Turn to Move"; var x = _root.Kingwhi.join(); var y = _root.Kingred.join(); trace((whiArrayStr + " | ") + x); trace((redArrayStr + " | ") + y); gotoAndStop (1); } } } function RanDir(RanNum) { if (RanNum == 0) { DirTemp = "NW"; } if (RanNum == 1) { DirTemp = "SW"; } if (RanNum == 2) { DirTemp = "NE"; } if (RanNum == 3) { DirTemp = "SE"; } } function GoJump(DiscNumber, Dir, Dist1, Dist2) { _root.DiscName = "whi" + DiscNumber; getDirection(DiscNumber, "whi"); new_y = eval ((("_root." + (x1 + (Dist1 * 2))) + (x2 + (Dist2 * 2))) + "._y"); new_x = eval ((("_root." + (x1 + (Dist1 * 2))) + (x2 + (Dist2 * 2))) + "._x"); setProperty(eval ("_root." + _root.DiscName), _y , new_y); setProperty(eval ("_root." + _root.DiscName), _x , new_x); _root.DiscChange(new_y, new_x); _root.Dropwhi[DiscNumber] = ((x1 + (Dist1 * 2)) + "") + (x2 + (Dist2 * 2)); RedDiscPos = ((x1 + Dist1) + "") + (x2 + Dist2); MultiJump = DiscNumber; ExecuteMove(RedDiscPos); } function ExecuteMove(RedDiscPos) { RedArrayPos = Math.round(redArrayStr.indexOf(RedDiscPos) / 3); _root.dropred[RedArrayPos] = "00"; setProperty("_root.red" + RedArrayPos, _visible , "0"); _root.redtally = _root.redtally - 1; } function TestMove2(DiscName, Dir, Dist1, Dist2) { var x = 1; while (x < 13) { if (_root.dropred[x] == eval ("NewSpot_" + Dir)) { var move_r = int(x1 + int(Dist1)); var move_c = int(x2 + int(Dist2)); var moveTo = ((move_r + "") + move_c); var jump_r = int(x1 + int(Dist1 + Dist1)); var jump_c = int(x2 + int(Dist2 + Dist2)); if ((((((((jump_r < 9) && (0 < jump_r)) && (jump_c < 9)) && (0 < jump_c)) && (move_r < 9)) && (0 < move_r)) && (move_c < 9)) && (0 < move_c)) { var jumpTo = ((jump_r + "") + jump_c); if (_root.doRedNow == "red") { if ((((redArrayStr.indexOf(jumpTo) == -1) && (whiArrayStr.indexOf(jumpTo) == -1)) && (-1 < whiArrayStr.indexOf(moveTo))) && (redArrayStr.indexOf(moveTo) == -1)) { return(Dir + "jump"); } } else if ((((redArrayStr.indexOf(jumpTo) == -1) && (whiArrayStr.indexOf(jumpTo) == -1)) && (whiArrayStr.indexOf(moveTo) == -1)) && (-1 < redArrayStr.indexOf(moveTo))) { return(Dir + "jump"); } } } if ((_root.dropwhi[x] == eval ("NewSpot_" + Dir)) || (_root.dropred[x] == eval ("NewSpot_" + Dir))) { return("deadmove_" + Dir); } x++; } if ((((8 < int(x1 + Dist1)) || (int(x1 + Dist1) < 1)) || (8 < int(x2 + Dist2))) || (int(x2 + Dist2) < 1)) { return("deadmove_" + Dir); } return(""); } trace("red tally= " + _root.redtally); RedisDead = 0; OneGoLeft = 1; if (_root.redtally < 4) { _root.doRedNow = "red"; RedisDead = 1; losingNumbers = new Array(); var i = 1; while (i < 13) { if (_root.dropred[i] != 0) { pushed = losingNumbers.push(i); } i++; } var fred = losingNumbers.join(); trace("-----whos left= " + fred); var x = 0; while (x < losingNumbers.length) { var redloser_NW = 0; var redloser_SW = 0; var redloser_NE = 0; var redloser_SE = 0; DiscNumber2 = losingNumbers[x]; getDirection(losingNumbers[x], "red"); if (_root.Kingred[DiscNumber2] == "king") { var redloser_NW = TestMove2(losingNumbers[x], "NW", -1, -1); var redloser_SW = TestMove2(losingNumbers[x], "SW", 1, -1); } else { var redloser_NW = "notking"; var redloser_SW = "notking"; } var redloser_NE = TestMove2(losingNumbers[x], "NE", -1, 1); var redloser_SE = TestMove2(losingNumbers[x], "SE", 1, 1); var xxx = losingNumbers[x]; if ((((redloser_NW == "") || (redloser_SW == "")) || (redloser_NE == "")) || (redloser_SE == "")) { RedisDead = 0; } x++; } _root.doRedNow = ""; } if (RedisDead == 0) { TestMove("whi"); var i = 1; while (i < 13) { getDirection(i, "whi"); i++; } } else { _root.PrintBox = "White Wins!"; setProperty(_root.youlose, _visible , 1); tellTarget ("_root.youlose") { gotoAndPlay (2); }; } var i = 1; while (i < 13) { fred = _root.dropwhi[i]; if ((fred.charAt(1) == 1) && (_root.Kingwhi[i] == "left")) { tellTarget ("_root.whi" + i) { gotoAndStop (3); }; _root.Kingwhi[i] = "King"; f = new Sound(); f.attachSound("kingSound"); f.start(); } i++; }
Symbol 68 MovieClip Frame 14
stop();
Symbol 73 MovieClip Frame 1
stop();
Symbol 73 MovieClip Frame 2
stop();
Symbol 73 MovieClip Frame 3
stop();
Symbol 73 MovieClip Frame 4
stop();
Symbol 75 Button
on (press) { if ((_root.vTurn == "RedsTurn") || (_root.DiscName3 == this._name)) { var vThisobject = eval ("_root." + this._name); vThisobject.swapDepths(35); startDrag (""); _root.animateme = true; tellTarget ("_level0.moveLoop") { _root.DiscName = this._name; gotoAndPlay (2); }; _root.old_y = getProperty(eval ("_level0." + _root.DiscName), _y); _root.old_x = getProperty(eval ("_level0." + _root.DiscName), _x); _root.vDiscSnap = 0; gotoAndStop(_currentframe + 1); } }
Symbol 77 Button
on (press) { if ((_root.vTurn == "RedsTurn") || (_root.DiscName3 == this._name)) { var vThisobject = eval ("_root." + this._name); vThisobject.swapDepths(0); startDrag (""); _root.animateme = true; tellTarget ("_level0.moveLoop") { _root.DiscName = this._name; gotoAndPlay (2); }; _root.old_y = getProperty(eval ("_level0." + _root.DiscName), _y); _root.old_x = getProperty(eval ("_level0." + _root.DiscName), _x); _root.vDiscSnap = 0; gotoAndStop(_currentframe + 1); } }
Symbol 78 MovieClip Frame 1
stop();
Symbol 78 MovieClip Frame 2
stop();
Symbol 78 MovieClip Frame 3
stop();
Symbol 78 MovieClip Frame 4
stop();
Symbol 78 MovieClip Frame 5
stop();
Symbol 83 MovieClip Frame 1
stop();
Symbol 83 MovieClip Frame 2
stop();
Symbol 93 MovieClip Frame 1
stop();
Symbol 93 MovieClip Frame 4
var vThisobject = eval ("_root." + this._name); vThisobject.swapDepths(35); _root.PrintBox = "Oh no! I lost!";
Symbol 93 MovieClip Frame 7
var i = 1; while (i < 13) { tellTarget (eval ("_root.red" + i)) { gotoAndPlay (4); }; i++; }
Symbol 93 MovieClip Frame 10
var i = 1; while (i < 13) { tellTarget (eval ("_root.red" + i)) { gotoAndPlay (1); }; i++; } gotoAndPlay (4);
Symbol 96 MovieClip Frame 1
stop();
Symbol 96 MovieClip Frame 2
setProperty("_root.RedAlert", _visible , "0"); gotoAndStop ("correct");
Symbol 96 MovieClip Frame 3
stop();
Symbol 96 MovieClip Frame 5
play();
Symbol 96 MovieClip Frame 11
var i = 1; while (i < 13) { if (eval (("_root.red" + i) + "._currentframe") == 5) { tellTarget ("_root.red" + i) { gotoAndStop (1); }; } else if (eval (("_root.red" + i) + "._currentframe") == 6) { tellTarget ("_root.red" + i) { gotoAndStop (3); }; } i++; } setProperty("_root.jumpQuestion", _visible , "0"); _root.dropwhi[_root.vPlaceInArray] = "00"; setProperty("_root." + _root.vTakeOppPiece, _visible , "0"); _root.vTakeOppPiece = 0; _root.whitally = _root.whitally - 1; _root.RedJumpAgain = 1; _root.jumpWait = 1; temp = "" + _root.DiscName2; var y = int(temp.substring(11, temp.length)); _root.DiscName = "red" + y; trace("_root.DiscName= " + _root.DiscName); _root.TestRedMulti = _root.FindMultiJump(); trace("_root.TestRedMulti= " + _root.TestRedMulti); if (((((_root.TestRedMulti == "NWjump") || (_root.TestRedMulti == "SWjump")) || (_root.TestRedMulti == "NEjump")) || (_root.TestRedMulti == "SEjump")) && (_root.RedJumpAgain == 1)) { _root.vTurn = "nul"; _root.DiscName3 = _root.DiscName; setProperty(_root.RedAlert, _visible , 1); tellTarget (_root.flashred) { gotoAndPlay (2); }; } else { _root.redDone(); } if (((_root.Kingred[y] == "right") && (_root.NewDropTargetCol == "8")) && ((_root.OldDropTargetCol == "7") || (_root.OldDropTargetCol == "6"))) { v = new Sound(); v.attachSound("kingSound"); v.start(); _root.Kingred[y] = "king"; } gotoAndStop (1);

Library Items

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

Instance Names

"play"Frame 1Symbol 12 MovieClip
"fwg_logo"Frame 3Symbol 39 MovieClip
"RedAlert"Frame 5Symbol 49 MovieClip
"youlose"Frame 5Symbol 65 MovieClip
"flashred"Frame 5Symbol 66 MovieClip
"moveLoop"Frame 5Symbol 67 MovieClip
"cpuMove1"Frame 5Symbol 68 MovieClip
"whi0"Frame 5Symbol 73 MovieClip
"red0"Frame 5Symbol 78 MovieClip
"ring"Frame 5Symbol 83 MovieClip
"youwin"Frame 5Symbol 93 MovieClip
"jumpQuestion"Frame 5Symbol 96 MovieClip
"51"Frame 5Symbol 98 MovieClip
"82"Frame 5Symbol 98 MovieClip
"88"Frame 5Symbol 98 MovieClip
"86"Frame 5Symbol 98 MovieClip
"77"Frame 5Symbol 98 MovieClip
"75"Frame 5Symbol 98 MovieClip
"73"Frame 5Symbol 98 MovieClip
"71"Frame 5Symbol 98 MovieClip
"62"Frame 5Symbol 98 MovieClip
"68"Frame 5Symbol 98 MovieClip
"66"Frame 5Symbol 98 MovieClip
"57"Frame 5Symbol 98 MovieClip
"55"Frame 5Symbol 98 MovieClip
"48"Frame 5Symbol 98 MovieClip
"46"Frame 5Symbol 98 MovieClip
"37"Frame 5Symbol 98 MovieClip
"17"Frame 5Symbol 98 MovieClip
"28"Frame 5Symbol 98 MovieClip
"44"Frame 5Symbol 98 MovieClip
"42"Frame 5Symbol 98 MovieClip
"35"Frame 5Symbol 98 MovieClip
"15"Frame 5Symbol 98 MovieClip
"26"Frame 5Symbol 98 MovieClip
"31"Frame 5Symbol 98 MovieClip
"33"Frame 5Symbol 98 MovieClip
"24"Frame 5Symbol 98 MovieClip
"22"Frame 5Symbol 98 MovieClip
"11"Frame 5Symbol 98 MovieClip
"64"Frame 5Symbol 98 MovieClip
"84"Frame 5Symbol 98 MovieClip
"53"Frame 5Symbol 98 MovieClip
"13"Frame 5Symbol 98 MovieClip

Special Tags

ExportAssets (56)Timeline Frame 1Symbol 1 as "MJsound"
ExportAssets (56)Timeline Frame 1Symbol 2 as "kingSound"

Labels

"correct"Symbol 96 MovieClip Frame 5

Dynamic Text Variables

loadingSymbol 16 EditableText"wait..."
printboxSymbol 80 EditableText"FreeWorldGroup - Checkers"
redtallySymbol 101 EditableText"null"
whitallySymbol 102 EditableText"null"




http://swfchan.com/6/28804/info.shtml
Created: 20/5 -2019 06:06:57 Last modified: 20/5 -2019 06:06:57 Server time: 14/11 -2024 17:53:55