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

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

Merrelus.swf

This is the info page for
Flash #46915

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


Text
0%

<p align="center"><font face="Verdana" size="16" color="#ffffff" letterSpacing="0.000000" kerning="1">______</font></p>

<p align="center"><font face="Verdana" size="16" color="#ffffff" letterSpacing="0.000000" kerning="1">______</font></p>

Introduction
Merrelus is played on a board
by two players who take turns.
The players start with three,
six or nine different colored
stones each.

To start the game, the players place
their stones on any of the available
circles on the board. When all stones
are placed, the game enters the
second part. Players now move their
stones. A stone can be moved from
one circle to another along the lines.
Stones can never be placed or moved
to a slot that is already occupied.

Whenever a player forms a mill
(three stones in a row), he can
take any opponent's stone that
doesn't belong to a mill. If all of
the opponent's stoness are inside
some mill then an exception is
made and the player can take
any stone.

The game is won by bringing the
opponent to a position where they
cannot move, or by reducing them
to only two stones.

Select your color:

White

Black

Select Board:

Producer
Alex Veretennikov
Game Designer
Eugene Lopatkin
Programmer
Vladislav Bochkarev
Artist
Vadim Ledyaev

www.picasogames.com

<p align="left"><font face="Verdana" size="15" color="#ffffff" letterSpacing="0.000000" kerning="1">9</font></p>

<p align="left"><font face="Verdana" size="15" color="#ffffff" letterSpacing="0.000000" kerning="1">9</font></p>

<p align="center"><font face="Verdana" size="16" color="#ffffff" letterSpacing="0.000000" kerning="1">Opponent is thinking...</font></p>

<p align="left"><font face="Verdana" size="22" color="#ffffff" letterSpacing="0.000000" kerning="1">Wins</font></p>

<p align="center"><font face="Verdana" size="16" color="#ffffff" letterSpacing="0.000000" kerning="1">Opponent is thinking...</font></p>

<p align="center"><font face="Verdana" size="16" color="#ffffff" letterSpacing="0.000000" kerning="1">Opponent is thinking...</font></p>

ActionScript [AS1/AS2]

Frame 1
fscommand ("allowscale", "false"); fscommand ("showmenu", "false"); fscommand ("trapallkeys", "true");
Frame 3
stop();
Frame 4
var song_sound = new Sound(); song_sound.attachSound("main_sound"); song_sound.start(); song_sound.setVolume(60); song_sound.onSoundComplete = function () { song_sound.start(); }; stop();
Frame 5
stop();
Instance of Symbol 2 MovieClip in Symbol 3 MovieClip [particle] Frame 1
onClipEvent (load) { xMin = -100; xMax = 100; yMin = -100; yMax = 100; minSize = 10; maxSize = 40; easeFactor = 25; randomX = ((Math.random() * (xMax - xMin)) + xMin) + _parent._x; randomY = ((Math.random() * (yMax - yMin)) + yMin) + _parent._y; randomSize = (Math.random() * (maxSize - minSize)) + minSize; } onClipEvent (enterFrame) { distance = Math.sqrt(Math.pow(_parent._x - randomX, 2) + Math.pow(_parent._y - randomY, 2)); if (Math.abs(_parent._width - maxSize) > 1) { _parent._width = _parent._width + ((randomSize - _parent._width) / 2); _parent._height = _parent._height + ((randomSize - _parent._height) / 2); } if (distance > 3) { _parent._x = _parent._x + ((randomX - _parent._x) / easeFactor); _parent._y = _parent._y + ((randomY - _parent._y) / easeFactor); _parent._alpha = _parent._alpha - (_parent._alpha / easeFactor); } else { _parent.removeMovieClip(this); } }
Symbol 14 MovieClip Frame 1
_root.stop();
Symbol 14 MovieClip Frame 2
All = int(_root.getBytesTotal()); loa = int(_root.getBytesLoaded()); ploaded = (100 * loa) / All; pr._xscale = ploaded; prest = 100 - ploaded; tm = int(rem); totaltxt = Math.floor(All / 1024) + " KB"; prtxt = int(ploaded) + "%"; loadedtxt = Math.floor(loa / 1024) + " KB"; resttxt = All - loa;
Symbol 14 MovieClip Frame 3
if (All == loa) { gotoAndPlay (4); } else { gotoAndPlay (2); }
Symbol 14 MovieClip Frame 15
_parent.play(); stop();
Symbol 18 MovieClip Frame 1
onRelease = function () { getURL ("http://picasogames.com", "_blank"); };
Symbol 18 MovieClip Frame 85
_parent.play(); stop();
Instance of Symbol 24 MovieClip in Symbol 25 MovieClip Frame 1
on (release) { _root.gotoAndStop("main_menu"); } onClipEvent (load) { title = "Skip"; stop(); } on (release, rollOut, dragOut) { gotoAndStop (1); } on (press) { gotoAndStop (3); } on (rollOver) { gotoAndStop (2); }
Symbol 25 MovieClip Frame 161
_root.gotoAndStop("main_menu");
Symbol 31 MovieClip Frame 1
stop();
Instance of Symbol 35 MovieClip in Symbol 36 MovieClip Frame 1
on (press) { startDrag (this, false, 0, 0, 0, 52.5); this.isDragging = true; } onClipEvent (enterFrame) { if (this._y >= 52) { } } on (release, releaseOutside) { stopDrag(); this.isDragging = false; } onClipEvent (load) { maxSize = 20; origSize = 15; this.isDragging = false; } onClipEvent (enterFrame) { if (this.isDragging) { _root.song_sound.setVolume(100 - (this._y * 2)); } if (this.hitTest(_parent._parent._parent._xmouse, _parent._parent._parent._ymouse)) { if (Math.abs(maxSize - this._width) > 1) { this._width = this._width + ((maxSize - this._width) / 2); this._height = this._height + ((maxSize - this._height) / 2); } } else if (Math.abs(origSize - this._width) > 1) { this._width = this._width - ((this._width - origSize) / 2); this._height = this._height - ((this._height - origSize) / 2); } }
Symbol 37 MovieClip Frame 21
stop(); volume_control._alpha = 0; sound_control._alpha = 100;
Instance of Symbol 28 MovieClip in Symbol 37 MovieClip Frame 21
onClipEvent (mouseMove) { if (this.hitTest(_parent._parent._xmouse, _parent._parent._ymouse)) { _parent.play(); } }
Instance of Symbol 31 MovieClip "sound_control" in Symbol 37 MovieClip Frame 21
on (release) { if (isSound) { isSound = false; this.gotoAndStop(2); _parent._parent.song_sound.stop(); } else { isSound = true; this.gotoAndStop(1); _parent._parent.song_sound.start(); } } onClipEvent (load) { var isSound; isSound = true; }
Symbol 37 MovieClip Frame 22
sound_control._alpha = 0;
Symbol 37 MovieClip Frame 40
stop(); volume_control._alpha = 100; sound_control._alpha = 100;
Instance of Symbol 28 MovieClip in Symbol 37 MovieClip Frame 40
onClipEvent (mouseMove) { if (!this.hitTest(_parent._parent._xmouse, _parent._parent._ymouse)) { _parent.play(); } } onClipEvent (load) { if (!this.hitTest(_parent._parent._xmouse, _parent._parent._ymouse)) { _parent.play(); } }
Symbol 37 MovieClip Frame 41
volume_control._alpha = 0; sound_control._alpha = 0;
Symbol 37 MovieClip Frame 60
gotoAndStop ("music");
Instance of Symbol 42 MovieClip in Symbol 43 MovieClip Frame 1
onClipEvent (load) { minSize = 3.5; maxSize = 4.5; randomSize = (Math.random() * (maxSize - minSize)) + minSize; easeFactor = (Math.random() * 25) + 25; _width = randomSize; _height = randomSize; _alpha = ((Math.random() * 74) + 11); max_alpha = _alpha; min_alpha = Math.random() * 10; half_alpha = (max_alpha - min_alpha) / 2; t = 0; w = (Math.random() * 1.5) + 0.5; } onClipEvent (enterFrame) { t = t + 0.1; _alpha = ((Math.sin(w * t) * half_alpha) + (max_alpha - half_alpha)); if (t > 360) { t = 0; } }
Symbol 46 Button
on (release) { _root.gotoAndStop("help_menu"); }
Symbol 49 Button
on (release) { _root.gotoAndStop("credits_menu"); }
Symbol 52 Button
on (release) { _root.gotoAndStop("choose_menu"); }
Instance of Symbol 53 MovieClip in Symbol 56 MovieClip Frame 1
onClipEvent (load) { _alpha = 0; t = 0; onEnterFrame = function () { if (_alpha < 100) { _alpha = (_alpha + 2); } else { onEnterFrame = function () { t = t + 0.1; _alpha = ((Math.sin(t) * 20) + 100); }; } }; }
Instance of Symbol 55 MovieClip in Symbol 56 MovieClip Frame 1
onClipEvent (load) { _alpha = 0; t = 0; onEnterFrame = function () { if (_alpha < 100) { _alpha = (_alpha + 2); } }; }
Symbol 76 MovieClip Frame 1
stop();
Symbol 84 MovieClip Frame 10
stop();
Symbol 92 MovieClip Frame 1
var orig_x = this._x; var orig_y = this._y; stop(); name_txt = this._name;
Instance of Symbol 68 MovieClip in Symbol 92 MovieClip Frame 1
onClipEvent (load) { maxSize = 40; origSize = 20; } onClipEvent (enterFrame) { if (this.hitTest(_parent._parent._xmouse, _parent._parent._ymouse)) { if (_parent._parent.game.pl_can_act) { if ((_parent._parent.game.cur_act == "place") || (_parent._parent.game.cap_selected != "")) { if (Math.abs(maxSize - this._width) > 1) { this._width = this._width + ((maxSize - this._width) / 2); this._height = this._height + ((maxSize - this._height) / 2); } } } } else if (Math.abs(origSize - this._width) > 1) { this._width = this._width - ((this._width - origSize) / 2); this._height = this._height - ((this._height - origSize) / 2); } }
Instance of Symbol 70 MovieClip in Symbol 92 MovieClip Frame 1
onClipEvent (mouseDown) { if (this.hitTest(_parent._parent._xmouse, _parent._parent._ymouse) && (_parent._parent.game.pl_can_act)) { _parent._parent.MakeMove(_parent._name); } }
Instance of Symbol 75 MovieClip in Symbol 92 MovieClip Frame 7
onClipEvent (load) { } onClipEvent (enterFrame) { }
Symbol 92 MovieClip Frame 9
if ((Math.abs(this._x - _parent[toCap]._x) > 3) || (Math.abs(this._y - _parent[toCap]._y) > 3)) { if (this._x >= _parent[toCap]._x) { this._x = this._x - Math.abs((this._x - _parent[toCap]._x) / 10); } else { this._x = this._x + Math.abs((this._x - _parent[toCap]._x) / 10); } if (this._y >= _parent[toCap]._y) { this._y = this._y - Math.abs((this._y - _parent[toCap]._y) / 10); } else { this._y = this._y + Math.abs((this._y - _parent[toCap]._y) / 10); } this.prevFrame(); this.play(); } else { this._x = orig_x; this._y = orig_y; _parent[toCap].gotoAndStop("cap_" + _parent.game.cur_turn); if (_parent.game[_parent.game.cur_turn + "_control"] == "PL") { _parent.MillsCheck(toCap, 1, true); _parent.AllCheck(true, toCap); } else if (_parent.game[_parent.game.cur_turn + "_control"] == "AI") { _parent.MillsCheck(toCap, 1, true); _parent.AI_AllCheck(); game.pl_can_act = true; } this.origCap = ""; this.toCap = ""; game.pl_can_act = true; this.gotoAndStop("cap_blank"); }
Symbol 92 MovieClip Frame 13
if ((Math.abs(this._x - _parent[toCap]._x) > 3) || (Math.abs(this._y - _parent[toCap]._y) > 3)) { if (this._x >= _parent[toCap]._x) { this._x = this._x - Math.abs((this._x - _parent[toCap]._x) / 10); } else { this._x = this._x + Math.abs((this._x - _parent[toCap]._x) / 10); } if (this._y >= _parent[toCap]._y) { this._y = this._y - Math.abs((this._y - _parent[toCap]._y) / 10); } else { this._y = this._y + Math.abs((this._y - _parent[toCap]._y) / 10); } this.prevFrame(); this.play(); } else { this._x = orig_x; this._y = orig_y; _parent[toCap].gotoAndStop("cap_" + _parent.game.cur_turn); if (_parent.game[_parent.game.cur_turn + "_control"] == "PL") { _parent.MillsCheck(toCap, 2, true); _parent.AllCheck(true, toCap); } else if (_parent.game[_parent.game.cur_turn + "_control"] == "AI") { _parent.MillsCheck(toCap, 2, true); _parent.AI_AllCheck(); game.pl_can_act = true; } this.origCap = ""; this.toCap = ""; this.gotoAndStop("cap_blank"); }
Symbol 92 MovieClip Frame 15
_parent.game.pl_can_act = false;
Symbol 92 MovieClip Frame 32
if (_parent.game[_parent.game.cur_turn + "_control"] == "AI") { } if (_parent.game[_parent.game.cur_turn + "_control"] == "PL") { } _parent.game.pl_can_act = true; this.gotoAndStop("cap_white");
Symbol 92 MovieClip Frame 35
_parent.game.pl_can_act = false;
Symbol 92 MovieClip Frame 52
if (_parent.game[_parent.game.cur_turn + "_control"] == "AI") { } if (_parent.game[_parent.game.cur_turn + "_control"] == "PL") { } _parent.game.pl_can_act = true; this.gotoAndStop("cap_black");
Symbol 92 MovieClip Frame 55
_parent.game.pl_can_act = false;
Symbol 92 MovieClip Frame 65
_parent.game.pl_can_act = true; this.gotoAndStop("cap_blank");
Symbol 92 MovieClip Frame 67
_parent.game.pl_can_act = false;
Symbol 92 MovieClip Frame 77
_parent.game.pl_can_act = true; this.gotoAndStop("cap_blank");
Instance of Symbol 68 MovieClip in Symbol 94 MovieClip Frame 1
onClipEvent (load) { maxSize = 40; origSize = 20; } onClipEvent (enterFrame) { if (this.hitTest(_parent._parent._xmouse, _parent._parent._ymouse)) { if (_parent._parent.game.pl_can_act) { if ((_parent._parent.game.cur_act == "place") || (_parent._parent.game.cap_selected != "")) { if (Math.abs(maxSize - this._width) > 1) { this._width = this._width + ((maxSize - this._width) / 2); this._height = this._height + ((maxSize - this._height) / 2); } } } } else if (Math.abs(origSize - this._width) > 1) { this._width = this._width - ((this._width - origSize) / 2); this._height = this._height - ((this._height - origSize) / 2); } }
Instance of Symbol 70 MovieClip in Symbol 94 MovieClip Frame 1
onClipEvent (mouseDown) { if (this.hitTest(_parent._parent._xmouse, _parent._parent._ymouse) && (_parent._parent.game.pl_can_act)) { _parent._parent.MakeMove(_parent._name); } }
Instance of Symbol 68 MovieClip in Symbol 94 MovieClip Frame 1
onClipEvent (load) { maxSize = 40; origSize = 20; } onClipEvent (enterFrame) { if (this.hitTest(_parent._parent._xmouse, _parent._parent._ymouse)) { if (_parent._parent.game.pl_can_act) { if ((_parent._parent.game.cur_act == "place") || (_parent._parent.game.cap_selected != "")) { if (Math.abs(maxSize - this._width) > 1) { this._width = this._width + ((maxSize - this._width) / 2); this._height = this._height + ((maxSize - this._height) / 2); } } } } else if (Math.abs(origSize - this._width) > 1) { this._width = this._width - ((this._width - origSize) / 2); this._height = this._height - ((this._height - origSize) / 2); } }
Instance of Symbol 70 MovieClip in Symbol 94 MovieClip Frame 1
onClipEvent (mouseDown) { if (this.hitTest(_parent._parent._xmouse, _parent._parent._ymouse) && (_parent._parent.game.pl_can_act)) { _parent._parent.MakeMove(_parent._name); } }
Instance of Symbol 68 MovieClip in Symbol 94 MovieClip Frame 1
onClipEvent (load) { maxSize = 40; origSize = 20; } onClipEvent (enterFrame) { if (this.hitTest(_parent._parent._xmouse, _parent._parent._ymouse)) { if (_parent._parent.game.pl_can_act) { if ((_parent._parent.game.cur_act == "place") || (_parent._parent.game.cap_selected != "")) { if (Math.abs(maxSize - this._width) > 1) { this._width = this._width + ((maxSize - this._width) / 2); this._height = this._height + ((maxSize - this._height) / 2); } } } } else if (Math.abs(origSize - this._width) > 1) { this._width = this._width - ((this._width - origSize) / 2); this._height = this._height - ((this._height - origSize) / 2); } }
Instance of Symbol 70 MovieClip in Symbol 94 MovieClip Frame 1
onClipEvent (mouseDown) { if (this.hitTest(_parent._parent._xmouse, _parent._parent._ymouse) && (_parent._parent.game.pl_can_act)) { _parent._parent.MakeMove(_parent._name); } }
Instance of Symbol 68 MovieClip in Symbol 94 MovieClip Frame 1
onClipEvent (load) { maxSize = 40; origSize = 20; } onClipEvent (enterFrame) { if (this.hitTest(_parent._parent._xmouse, _parent._parent._ymouse)) { if (_parent._parent.game.pl_can_act) { if ((_parent._parent.game.cur_act == "place") || (_parent._parent.game.cap_selected != "")) { if (Math.abs(maxSize - this._width) > 1) { this._width = this._width + ((maxSize - this._width) / 2); this._height = this._height + ((maxSize - this._height) / 2); } } } } else if (Math.abs(origSize - this._width) > 1) { this._width = this._width - ((this._width - origSize) / 2); this._height = this._height - ((this._height - origSize) / 2); } }
Instance of Symbol 70 MovieClip in Symbol 94 MovieClip Frame 1
onClipEvent (mouseDown) { if (this.hitTest(_parent._parent._xmouse, _parent._parent._ymouse) && (_parent._parent.game.pl_can_act)) { _parent._parent.MakeMove(_parent._name); } }
Instance of Symbol 68 MovieClip in Symbol 94 MovieClip Frame 1
onClipEvent (load) { maxSize = 40; origSize = 20; } onClipEvent (enterFrame) { if (this.hitTest(_parent._parent._xmouse, _parent._parent._ymouse)) { if (_parent._parent.game.pl_can_act) { if ((_parent._parent.game.cur_act == "place") || (_parent._parent.game.cap_selected != "")) { if (Math.abs(maxSize - this._width) > 1) { this._width = this._width + ((maxSize - this._width) / 2); this._height = this._height + ((maxSize - this._height) / 2); } } } } else if (Math.abs(origSize - this._width) > 1) { this._width = this._width - ((this._width - origSize) / 2); this._height = this._height - ((this._height - origSize) / 2); } }
Instance of Symbol 70 MovieClip in Symbol 94 MovieClip Frame 1
onClipEvent (mouseDown) { if (this.hitTest(_parent._parent._xmouse, _parent._parent._ymouse) && (_parent._parent.game.pl_can_act)) { _parent._parent.MakeMove(_parent._name); } }
Instance of Symbol 68 MovieClip in Symbol 94 MovieClip Frame 1
onClipEvent (load) { maxSize = 40; origSize = 20; } onClipEvent (enterFrame) { if (this.hitTest(_parent._parent._xmouse, _parent._parent._ymouse)) { if (_parent._parent.game.pl_can_act) { if ((_parent._parent.game.cur_act == "place") || (_parent._parent.game.cap_selected != "")) { if (Math.abs(maxSize - this._width) > 1) { this._width = this._width + ((maxSize - this._width) / 2); this._height = this._height + ((maxSize - this._height) / 2); } } } } else if (Math.abs(origSize - this._width) > 1) { this._width = this._width - ((this._width - origSize) / 2); this._height = this._height - ((this._height - origSize) / 2); } }
Instance of Symbol 70 MovieClip in Symbol 94 MovieClip Frame 1
onClipEvent (mouseDown) { if (this.hitTest(_parent._parent._xmouse, _parent._parent._ymouse) && (_parent._parent.game.pl_can_act)) { _parent._parent.MakeMove(_parent._name); } }
Instance of Symbol 68 MovieClip in Symbol 94 MovieClip Frame 1
onClipEvent (load) { maxSize = 40; origSize = 20; } onClipEvent (enterFrame) { if (this.hitTest(_parent._parent._xmouse, _parent._parent._ymouse)) { if (_parent._parent.game.pl_can_act) { if ((_parent._parent.game.cur_act == "place") || (_parent._parent.game.cap_selected != "")) { if (Math.abs(maxSize - this._width) > 1) { this._width = this._width + ((maxSize - this._width) / 2); this._height = this._height + ((maxSize - this._height) / 2); } } } } else if (Math.abs(origSize - this._width) > 1) { this._width = this._width - ((this._width - origSize) / 2); this._height = this._height - ((this._height - origSize) / 2); } }
Instance of Symbol 70 MovieClip in Symbol 94 MovieClip Frame 1
onClipEvent (mouseDown) { if (this.hitTest(_parent._parent._xmouse, _parent._parent._ymouse) && (_parent._parent.game.pl_can_act)) { _parent._parent.MakeMove(_parent._name); } }
Instance of Symbol 68 MovieClip in Symbol 94 MovieClip Frame 1
onClipEvent (load) { maxSize = 40; origSize = 20; } onClipEvent (enterFrame) { if (this.hitTest(_parent._parent._xmouse, _parent._parent._ymouse)) { if (_parent._parent.game.pl_can_act) { if ((_parent._parent.game.cur_act == "place") || (_parent._parent.game.cap_selected != "")) { if (Math.abs(maxSize - this._width) > 1) { this._width = this._width + ((maxSize - this._width) / 2); this._height = this._height + ((maxSize - this._height) / 2); } } } } else if (Math.abs(origSize - this._width) > 1) { this._width = this._width - ((this._width - origSize) / 2); this._height = this._height - ((this._height - origSize) / 2); } }
Instance of Symbol 70 MovieClip in Symbol 94 MovieClip Frame 1
onClipEvent (mouseDown) { if (this.hitTest(_parent._parent._xmouse, _parent._parent._ymouse) && (_parent._parent.game.pl_can_act)) { _parent._parent.MakeMove(_parent._name); } }
Instance of Symbol 68 MovieClip in Symbol 94 MovieClip Frame 1
onClipEvent (load) { maxSize = 40; origSize = 20; } onClipEvent (enterFrame) { if (this.hitTest(_parent._parent._xmouse, _parent._parent._ymouse)) { if (_parent._parent.game.pl_can_act) { if ((_parent._parent.game.cur_act == "place") || (_parent._parent.game.cap_selected != "")) { if (Math.abs(maxSize - this._width) > 1) { this._width = this._width + ((maxSize - this._width) / 2); this._height = this._height + ((maxSize - this._height) / 2); } } } } else if (Math.abs(origSize - this._width) > 1) { this._width = this._width - ((this._width - origSize) / 2); this._height = this._height - ((this._height - origSize) / 2); } }
Instance of Symbol 70 MovieClip in Symbol 94 MovieClip Frame 1
onClipEvent (mouseDown) { if (this.hitTest(_parent._parent._xmouse, _parent._parent._ymouse) && (_parent._parent.game.pl_can_act)) { _parent._parent.MakeMove(_parent._name); } }
Instance of Symbol 68 MovieClip in Symbol 94 MovieClip Frame 1
onClipEvent (load) { maxSize = 40; origSize = 20; } onClipEvent (enterFrame) { if (this.hitTest(_parent._parent._xmouse, _parent._parent._ymouse)) { if (_parent._parent.game.pl_can_act) { if ((_parent._parent.game.cur_act == "place") || (_parent._parent.game.cap_selected != "")) { if (Math.abs(maxSize - this._width) > 1) { this._width = this._width + ((maxSize - this._width) / 2); this._height = this._height + ((maxSize - this._height) / 2); } } } } else if (Math.abs(origSize - this._width) > 1) { this._width = this._width - ((this._width - origSize) / 2); this._height = this._height - ((this._height - origSize) / 2); } }
Instance of Symbol 70 MovieClip in Symbol 94 MovieClip Frame 1
onClipEvent (mouseDown) { if (this.hitTest(_parent._parent._xmouse, _parent._parent._ymouse) && (_parent._parent.game.pl_can_act)) { _parent._parent.MakeMove(_parent._name); } }
Instance of Symbol 68 MovieClip in Symbol 94 MovieClip Frame 1
onClipEvent (load) { maxSize = 40; origSize = 20; } onClipEvent (enterFrame) { if (this.hitTest(_parent._parent._xmouse, _parent._parent._ymouse)) { if (_parent._parent.game.pl_can_act) { if ((_parent._parent.game.cur_act == "place") || (_parent._parent.game.cap_selected != "")) { if (Math.abs(maxSize - this._width) > 1) { this._width = this._width + ((maxSize - this._width) / 2); this._height = this._height + ((maxSize - this._height) / 2); } } } } else if (Math.abs(origSize - this._width) > 1) { this._width = this._width - ((this._width - origSize) / 2); this._height = this._height - ((this._height - origSize) / 2); } }
Instance of Symbol 70 MovieClip in Symbol 94 MovieClip Frame 1
onClipEvent (mouseDown) { if (this.hitTest(_parent._parent._xmouse, _parent._parent._ymouse) && (_parent._parent.game.pl_can_act)) { _parent._parent.MakeMove(_parent._name); } }
Instance of Symbol 68 MovieClip in Symbol 94 MovieClip Frame 1
onClipEvent (load) { maxSize = 40; origSize = 20; } onClipEvent (enterFrame) { if (this.hitTest(_parent._parent._xmouse, _parent._parent._ymouse)) { if (_parent._parent.game.pl_can_act) { if ((_parent._parent.game.cur_act == "place") || (_parent._parent.game.cap_selected != "")) { if (Math.abs(maxSize - this._width) > 1) { this._width = this._width + ((maxSize - this._width) / 2); this._height = this._height + ((maxSize - this._height) / 2); } } } } else if (Math.abs(origSize - this._width) > 1) { this._width = this._width - ((this._width - origSize) / 2); this._height = this._height - ((this._height - origSize) / 2); } }
Instance of Symbol 70 MovieClip in Symbol 94 MovieClip Frame 1
onClipEvent (mouseDown) { if (this.hitTest(_parent._parent._xmouse, _parent._parent._ymouse) && (_parent._parent.game.pl_can_act)) { _parent._parent.MakeMove(_parent._name); } }
Instance of Symbol 68 MovieClip in Symbol 94 MovieClip Frame 1
onClipEvent (load) { maxSize = 40; origSize = 20; } onClipEvent (enterFrame) { if (this.hitTest(_parent._parent._xmouse, _parent._parent._ymouse)) { if (_parent._parent.game.pl_can_act) { if ((_parent._parent.game.cur_act == "place") || (_parent._parent.game.cap_selected != "")) { if (Math.abs(maxSize - this._width) > 1) { this._width = this._width + ((maxSize - this._width) / 2); this._height = this._height + ((maxSize - this._height) / 2); } } } } else if (Math.abs(origSize - this._width) > 1) { this._width = this._width - ((this._width - origSize) / 2); this._height = this._height - ((this._height - origSize) / 2); } }
Instance of Symbol 70 MovieClip in Symbol 94 MovieClip Frame 1
onClipEvent (mouseDown) { if (this.hitTest(_parent._parent._xmouse, _parent._parent._ymouse) && (_parent._parent.game.pl_can_act)) { _parent._parent.MakeMove(_parent._name); } }
Instance of Symbol 68 MovieClip in Symbol 94 MovieClip Frame 1
onClipEvent (load) { maxSize = 40; origSize = 20; } onClipEvent (enterFrame) { if (this.hitTest(_parent._parent._xmouse, _parent._parent._ymouse)) { if (_parent._parent.game.pl_can_act) { if ((_parent._parent.game.cur_act == "place") || (_parent._parent.game.cap_selected != "")) { if (Math.abs(maxSize - this._width) > 1) { this._width = this._width + ((maxSize - this._width) / 2); this._height = this._height + ((maxSize - this._height) / 2); } } } } else if (Math.abs(origSize - this._width) > 1) { this._width = this._width - ((this._width - origSize) / 2); this._height = this._height - ((this._height - origSize) / 2); } }
Instance of Symbol 70 MovieClip in Symbol 94 MovieClip Frame 1
onClipEvent (mouseDown) { if (this.hitTest(_parent._parent._xmouse, _parent._parent._ymouse) && (_parent._parent.game.pl_can_act)) { _parent._parent.MakeMove(_parent._name); } }
Instance of Symbol 68 MovieClip in Symbol 94 MovieClip Frame 1
onClipEvent (load) { maxSize = 40; origSize = 20; } onClipEvent (enterFrame) { if (this.hitTest(_parent._parent._xmouse, _parent._parent._ymouse)) { if (_parent._parent.game.pl_can_act) { if ((_parent._parent.game.cur_act == "place") || (_parent._parent.game.cap_selected != "")) { if (Math.abs(maxSize - this._width) > 1) { this._width = this._width + ((maxSize - this._width) / 2); this._height = this._height + ((maxSize - this._height) / 2); } } } } else if (Math.abs(origSize - this._width) > 1) { this._width = this._width - ((this._width - origSize) / 2); this._height = this._height - ((this._height - origSize) / 2); } }
Instance of Symbol 70 MovieClip in Symbol 94 MovieClip Frame 1
onClipEvent (mouseDown) { if (this.hitTest(_parent._parent._xmouse, _parent._parent._ymouse) && (_parent._parent.game.pl_can_act)) { _parent._parent.MakeMove(_parent._name); } }
Instance of Symbol 68 MovieClip in Symbol 94 MovieClip Frame 1
onClipEvent (load) { maxSize = 40; origSize = 20; } onClipEvent (enterFrame) { if (this.hitTest(_parent._parent._xmouse, _parent._parent._ymouse)) { if (_parent._parent.game.pl_can_act) { if ((_parent._parent.game.cur_act == "place") || (_parent._parent.game.cap_selected != "")) { if (Math.abs(maxSize - this._width) > 1) { this._width = this._width + ((maxSize - this._width) / 2); this._height = this._height + ((maxSize - this._height) / 2); } } } } else if (Math.abs(origSize - this._width) > 1) { this._width = this._width - ((this._width - origSize) / 2); this._height = this._height - ((this._height - origSize) / 2); } }
Instance of Symbol 70 MovieClip in Symbol 94 MovieClip Frame 1
onClipEvent (mouseDown) { if (this.hitTest(_parent._parent._xmouse, _parent._parent._ymouse) && (_parent._parent.game.pl_can_act)) { _parent._parent.MakeMove(_parent._name); } }
Instance of Symbol 92 MovieClip in Symbol 94 MovieClip Frame 34
onClipEvent (load) { gotoAndStop (2); }
Instance of Symbol 92 MovieClip in Symbol 94 MovieClip Frame 49
onClipEvent (load) { gotoAndStop (3); }
Instance of Symbol 75 MovieClip in Symbol 94 MovieClip Frame 130
onClipEvent (load) { } onClipEvent (enterFrame) { }
Instance of Symbol 68 MovieClip in Symbol 96 MovieClip Frame 1
onClipEvent (load) { maxSize = 40; origSize = 20; } onClipEvent (enterFrame) { if (this.hitTest(_parent._parent._xmouse, _parent._parent._ymouse)) { if (_parent._parent.game.pl_can_act) { if ((_parent._parent.game.cur_act == "place") || (_parent._parent.game.cap_selected != "")) { if (Math.abs(maxSize - this._width) > 1) { this._width = this._width + ((maxSize - this._width) / 2); this._height = this._height + ((maxSize - this._height) / 2); } } } } else if (Math.abs(origSize - this._width) > 1) { this._width = this._width - ((this._width - origSize) / 2); this._height = this._height - ((this._height - origSize) / 2); } }
Instance of Symbol 70 MovieClip in Symbol 96 MovieClip Frame 1
onClipEvent (mouseDown) { if (this.hitTest(_parent._parent._xmouse, _parent._parent._ymouse) && (_parent._parent.game.pl_can_act)) { _parent._parent.MakeMove(_parent._name); } }
Instance of Symbol 68 MovieClip in Symbol 96 MovieClip Frame 1
onClipEvent (load) { maxSize = 40; origSize = 20; } onClipEvent (enterFrame) { if (this.hitTest(_parent._parent._xmouse, _parent._parent._ymouse)) { if (_parent._parent.game.pl_can_act) { if ((_parent._parent.game.cur_act == "place") || (_parent._parent.game.cap_selected != "")) { if (Math.abs(maxSize - this._width) > 1) { this._width = this._width + ((maxSize - this._width) / 2); this._height = this._height + ((maxSize - this._height) / 2); } } } } else if (Math.abs(origSize - this._width) > 1) { this._width = this._width - ((this._width - origSize) / 2); this._height = this._height - ((this._height - origSize) / 2); } }
Instance of Symbol 70 MovieClip in Symbol 96 MovieClip Frame 1
onClipEvent (mouseDown) { if (this.hitTest(_parent._parent._xmouse, _parent._parent._ymouse) && (_parent._parent.game.pl_can_act)) { _parent._parent.MakeMove(_parent._name); } }
Instance of Symbol 68 MovieClip in Symbol 96 MovieClip Frame 1
onClipEvent (load) { maxSize = 40; origSize = 20; } onClipEvent (enterFrame) { if (this.hitTest(_parent._parent._xmouse, _parent._parent._ymouse)) { if (_parent._parent.game.pl_can_act) { if ((_parent._parent.game.cur_act == "place") || (_parent._parent.game.cap_selected != "")) { if (Math.abs(maxSize - this._width) > 1) { this._width = this._width + ((maxSize - this._width) / 2); this._height = this._height + ((maxSize - this._height) / 2); } } } } else if (Math.abs(origSize - this._width) > 1) { this._width = this._width - ((this._width - origSize) / 2); this._height = this._height - ((this._height - origSize) / 2); } }
Instance of Symbol 70 MovieClip in Symbol 96 MovieClip Frame 1
onClipEvent (mouseDown) { if (this.hitTest(_parent._parent._xmouse, _parent._parent._ymouse) && (_parent._parent.game.pl_can_act)) { _parent._parent.MakeMove(_parent._name); } }
Instance of Symbol 68 MovieClip in Symbol 96 MovieClip Frame 1
onClipEvent (load) { maxSize = 40; origSize = 20; } onClipEvent (enterFrame) { if (this.hitTest(_parent._parent._xmouse, _parent._parent._ymouse)) { if (_parent._parent.game.pl_can_act) { if ((_parent._parent.game.cur_act == "place") || (_parent._parent.game.cap_selected != "")) { if (Math.abs(maxSize - this._width) > 1) { this._width = this._width + ((maxSize - this._width) / 2); this._height = this._height + ((maxSize - this._height) / 2); } } } } else if (Math.abs(origSize - this._width) > 1) { this._width = this._width - ((this._width - origSize) / 2); this._height = this._height - ((this._height - origSize) / 2); } }
Instance of Symbol 70 MovieClip in Symbol 96 MovieClip Frame 1
onClipEvent (mouseDown) { if (this.hitTest(_parent._parent._xmouse, _parent._parent._ymouse) && (_parent._parent.game.pl_can_act)) { _parent._parent.MakeMove(_parent._name); } }
Instance of Symbol 68 MovieClip in Symbol 96 MovieClip Frame 1
onClipEvent (load) { maxSize = 40; origSize = 20; } onClipEvent (enterFrame) { if (this.hitTest(_parent._parent._xmouse, _parent._parent._ymouse)) { if (_parent._parent.game.pl_can_act) { if ((_parent._parent.game.cur_act == "place") || (_parent._parent.game.cap_selected != "")) { if (Math.abs(maxSize - this._width) > 1) { this._width = this._width + ((maxSize - this._width) / 2); this._height = this._height + ((maxSize - this._height) / 2); } } } } else if (Math.abs(origSize - this._width) > 1) { this._width = this._width - ((this._width - origSize) / 2); this._height = this._height - ((this._height - origSize) / 2); } }
Instance of Symbol 70 MovieClip in Symbol 96 MovieClip Frame 1
onClipEvent (mouseDown) { if (this.hitTest(_parent._parent._xmouse, _parent._parent._ymouse) && (_parent._parent.game.pl_can_act)) { _parent._parent.MakeMove(_parent._name); } }
Instance of Symbol 68 MovieClip in Symbol 96 MovieClip Frame 1
onClipEvent (load) { maxSize = 40; origSize = 20; } onClipEvent (enterFrame) { if (this.hitTest(_parent._parent._xmouse, _parent._parent._ymouse)) { if (_parent._parent.game.pl_can_act) { if ((_parent._parent.game.cur_act == "place") || (_parent._parent.game.cap_selected != "")) { if (Math.abs(maxSize - this._width) > 1) { this._width = this._width + ((maxSize - this._width) / 2); this._height = this._height + ((maxSize - this._height) / 2); } } } } else if (Math.abs(origSize - this._width) > 1) { this._width = this._width - ((this._width - origSize) / 2); this._height = this._height - ((this._height - origSize) / 2); } }
Instance of Symbol 70 MovieClip in Symbol 96 MovieClip Frame 1
onClipEvent (mouseDown) { if (this.hitTest(_parent._parent._xmouse, _parent._parent._ymouse) && (_parent._parent.game.pl_can_act)) { _parent._parent.MakeMove(_parent._name); } }
Instance of Symbol 68 MovieClip in Symbol 96 MovieClip Frame 1
onClipEvent (load) { maxSize = 40; origSize = 20; } onClipEvent (enterFrame) { if (this.hitTest(_parent._parent._xmouse, _parent._parent._ymouse)) { if (_parent._parent.game.pl_can_act) { if ((_parent._parent.game.cur_act == "place") || (_parent._parent.game.cap_selected != "")) { if (Math.abs(maxSize - this._width) > 1) { this._width = this._width + ((maxSize - this._width) / 2); this._height = this._height + ((maxSize - this._height) / 2); } } } } else if (Math.abs(origSize - this._width) > 1) { this._width = this._width - ((this._width - origSize) / 2); this._height = this._height - ((this._height - origSize) / 2); } }
Instance of Symbol 70 MovieClip in Symbol 96 MovieClip Frame 1
onClipEvent (mouseDown) { if (this.hitTest(_parent._parent._xmouse, _parent._parent._ymouse) && (_parent._parent.game.pl_can_act)) { _parent._parent.MakeMove(_parent._name); } }
Instance of Symbol 68 MovieClip in Symbol 96 MovieClip Frame 1
onClipEvent (load) { maxSize = 40; origSize = 20; } onClipEvent (enterFrame) { if (this.hitTest(_parent._parent._xmouse, _parent._parent._ymouse)) { if (_parent._parent.game.pl_can_act) { if ((_parent._parent.game.cur_act == "place") || (_parent._parent.game.cap_selected != "")) { if (Math.abs(maxSize - this._width) > 1) { this._width = this._width + ((maxSize - this._width) / 2); this._height = this._height + ((maxSize - this._height) / 2); } } } } else if (Math.abs(origSize - this._width) > 1) { this._width = this._width - ((this._width - origSize) / 2); this._height = this._height - ((this._height - origSize) / 2); } }
Instance of Symbol 70 MovieClip in Symbol 96 MovieClip Frame 1
onClipEvent (mouseDown) { if (this.hitTest(_parent._parent._xmouse, _parent._parent._ymouse) && (_parent._parent.game.pl_can_act)) { _parent._parent.MakeMove(_parent._name); } }
Instance of Symbol 68 MovieClip in Symbol 96 MovieClip Frame 1
onClipEvent (load) { maxSize = 40; origSize = 20; } onClipEvent (enterFrame) { if (this.hitTest(_parent._parent._xmouse, _parent._parent._ymouse)) { if (_parent._parent.game.pl_can_act) { if ((_parent._parent.game.cur_act == "place") || (_parent._parent.game.cap_selected != "")) { if (Math.abs(maxSize - this._width) > 1) { this._width = this._width + ((maxSize - this._width) / 2); this._height = this._height + ((maxSize - this._height) / 2); } } } } else if (Math.abs(origSize - this._width) > 1) { this._width = this._width - ((this._width - origSize) / 2); this._height = this._height - ((this._height - origSize) / 2); } }
Instance of Symbol 70 MovieClip in Symbol 96 MovieClip Frame 1
onClipEvent (mouseDown) { if (this.hitTest(_parent._parent._xmouse, _parent._parent._ymouse) && (_parent._parent.game.pl_can_act)) { _parent._parent.MakeMove(_parent._name); } }
Instance of Symbol 68 MovieClip in Symbol 96 MovieClip Frame 1
onClipEvent (load) { maxSize = 40; origSize = 20; } onClipEvent (enterFrame) { if (this.hitTest(_parent._parent._xmouse, _parent._parent._ymouse)) { if (_parent._parent.game.pl_can_act) { if ((_parent._parent.game.cur_act == "place") || (_parent._parent.game.cap_selected != "")) { if (Math.abs(maxSize - this._width) > 1) { this._width = this._width + ((maxSize - this._width) / 2); this._height = this._height + ((maxSize - this._height) / 2); } } } } else if (Math.abs(origSize - this._width) > 1) { this._width = this._width - ((this._width - origSize) / 2); this._height = this._height - ((this._height - origSize) / 2); } }
Instance of Symbol 70 MovieClip in Symbol 96 MovieClip Frame 1
onClipEvent (mouseDown) { if (this.hitTest(_parent._parent._xmouse, _parent._parent._ymouse) && (_parent._parent.game.pl_can_act)) { _parent._parent.MakeMove(_parent._name); } }
Instance of Symbol 68 MovieClip in Symbol 96 MovieClip Frame 1
onClipEvent (load) { maxSize = 40; origSize = 20; } onClipEvent (enterFrame) { if (this.hitTest(_parent._parent._xmouse, _parent._parent._ymouse)) { if (_parent._parent.game.pl_can_act) { if ((_parent._parent.game.cur_act == "place") || (_parent._parent.game.cap_selected != "")) { if (Math.abs(maxSize - this._width) > 1) { this._width = this._width + ((maxSize - this._width) / 2); this._height = this._height + ((maxSize - this._height) / 2); } } } } else if (Math.abs(origSize - this._width) > 1) { this._width = this._width - ((this._width - origSize) / 2); this._height = this._height - ((this._height - origSize) / 2); } }
Instance of Symbol 70 MovieClip in Symbol 96 MovieClip Frame 1
onClipEvent (mouseDown) { if (this.hitTest(_parent._parent._xmouse, _parent._parent._ymouse) && (_parent._parent.game.pl_can_act)) { _parent._parent.MakeMove(_parent._name); } }
Instance of Symbol 68 MovieClip in Symbol 96 MovieClip Frame 1
onClipEvent (load) { maxSize = 40; origSize = 20; } onClipEvent (enterFrame) { if (this.hitTest(_parent._parent._xmouse, _parent._parent._ymouse)) { if (_parent._parent.game.pl_can_act) { if ((_parent._parent.game.cur_act == "place") || (_parent._parent.game.cap_selected != "")) { if (Math.abs(maxSize - this._width) > 1) { this._width = this._width + ((maxSize - this._width) / 2); this._height = this._height + ((maxSize - this._height) / 2); } } } } else if (Math.abs(origSize - this._width) > 1) { this._width = this._width - ((this._width - origSize) / 2); this._height = this._height - ((this._height - origSize) / 2); } }
Instance of Symbol 70 MovieClip in Symbol 96 MovieClip Frame 1
onClipEvent (mouseDown) { if (this.hitTest(_parent._parent._xmouse, _parent._parent._ymouse) && (_parent._parent.game.pl_can_act)) { _parent._parent.MakeMove(_parent._name); } }
Instance of Symbol 68 MovieClip in Symbol 96 MovieClip Frame 1
onClipEvent (load) { maxSize = 40; origSize = 20; } onClipEvent (enterFrame) { if (this.hitTest(_parent._parent._xmouse, _parent._parent._ymouse)) { if (_parent._parent.game.pl_can_act) { if ((_parent._parent.game.cur_act == "place") || (_parent._parent.game.cap_selected != "")) { if (Math.abs(maxSize - this._width) > 1) { this._width = this._width + ((maxSize - this._width) / 2); this._height = this._height + ((maxSize - this._height) / 2); } } } } else if (Math.abs(origSize - this._width) > 1) { this._width = this._width - ((this._width - origSize) / 2); this._height = this._height - ((this._height - origSize) / 2); } }
Instance of Symbol 70 MovieClip in Symbol 96 MovieClip Frame 1
onClipEvent (mouseDown) { if (this.hitTest(_parent._parent._xmouse, _parent._parent._ymouse) && (_parent._parent.game.pl_can_act)) { _parent._parent.MakeMove(_parent._name); } }
Instance of Symbol 68 MovieClip in Symbol 96 MovieClip Frame 1
onClipEvent (load) { maxSize = 40; origSize = 20; } onClipEvent (enterFrame) { if (this.hitTest(_parent._parent._xmouse, _parent._parent._ymouse)) { if (_parent._parent.game.pl_can_act) { if ((_parent._parent.game.cur_act == "place") || (_parent._parent.game.cap_selected != "")) { if (Math.abs(maxSize - this._width) > 1) { this._width = this._width + ((maxSize - this._width) / 2); this._height = this._height + ((maxSize - this._height) / 2); } } } } else if (Math.abs(origSize - this._width) > 1) { this._width = this._width - ((this._width - origSize) / 2); this._height = this._height - ((this._height - origSize) / 2); } }
Instance of Symbol 70 MovieClip in Symbol 96 MovieClip Frame 1
onClipEvent (mouseDown) { if (this.hitTest(_parent._parent._xmouse, _parent._parent._ymouse) && (_parent._parent.game.pl_can_act)) { _parent._parent.MakeMove(_parent._name); } }
Instance of Symbol 68 MovieClip in Symbol 96 MovieClip Frame 1
onClipEvent (load) { maxSize = 40; origSize = 20; } onClipEvent (enterFrame) { if (this.hitTest(_parent._parent._xmouse, _parent._parent._ymouse)) { if (_parent._parent.game.pl_can_act) { if ((_parent._parent.game.cur_act == "place") || (_parent._parent.game.cap_selected != "")) { if (Math.abs(maxSize - this._width) > 1) { this._width = this._width + ((maxSize - this._width) / 2); this._height = this._height + ((maxSize - this._height) / 2); } } } } else if (Math.abs(origSize - this._width) > 1) { this._width = this._width - ((this._width - origSize) / 2); this._height = this._height - ((this._height - origSize) / 2); } }
Instance of Symbol 70 MovieClip in Symbol 96 MovieClip Frame 1
onClipEvent (mouseDown) { if (this.hitTest(_parent._parent._xmouse, _parent._parent._ymouse) && (_parent._parent.game.pl_can_act)) { _parent._parent.MakeMove(_parent._name); } }
Instance of Symbol 68 MovieClip in Symbol 96 MovieClip Frame 1
onClipEvent (load) { maxSize = 40; origSize = 20; } onClipEvent (enterFrame) { if (this.hitTest(_parent._parent._xmouse, _parent._parent._ymouse)) { if (_parent._parent.game.pl_can_act) { if ((_parent._parent.game.cur_act == "place") || (_parent._parent.game.cap_selected != "")) { if (Math.abs(maxSize - this._width) > 1) { this._width = this._width + ((maxSize - this._width) / 2); this._height = this._height + ((maxSize - this._height) / 2); } } } } else if (Math.abs(origSize - this._width) > 1) { this._width = this._width - ((this._width - origSize) / 2); this._height = this._height - ((this._height - origSize) / 2); } }
Instance of Symbol 70 MovieClip in Symbol 96 MovieClip Frame 1
onClipEvent (mouseDown) { if (this.hitTest(_parent._parent._xmouse, _parent._parent._ymouse) && (_parent._parent.game.pl_can_act)) { _parent._parent.MakeMove(_parent._name); } }
Symbol 96 MovieClip Frame 135
cap_x = 40; cap_y = 40; rand_particles = 4; var j; j = 0; while (j < rand_particles) { this.attachMovie("particle", (((("particle" + j) + "") + cap_x) + "") + cap_y, this.getNextHighestDepth()); this[(((("particle" + j) + "") + cap_x) + "") + cap_y]._x = cap_x; this[(((("particle" + j) + "") + cap_x) + "") + cap_y]._y = cap_y; j++; }
Instance of Symbol 68 MovieClip in Symbol 98 MovieClip Frame 1
onClipEvent (load) { maxSize = 40; origSize = 20; } onClipEvent (enterFrame) { if (this.hitTest(_parent._parent._xmouse, _parent._parent._ymouse)) { if (_parent._parent.game.pl_can_act) { if ((_parent._parent.game.cur_act == "place") || (_parent._parent.game.cap_selected != "")) { if (Math.abs(maxSize - this._width) > 1) { this._width = this._width + ((maxSize - this._width) / 2); this._height = this._height + ((maxSize - this._height) / 2); } } } } else if (Math.abs(origSize - this._width) > 1) { this._width = this._width - ((this._width - origSize) / 2); this._height = this._height - ((this._height - origSize) / 2); } }
Instance of Symbol 70 MovieClip in Symbol 98 MovieClip Frame 1
onClipEvent (mouseDown) { if (this.hitTest(_parent._parent._xmouse, _parent._parent._ymouse) && (_parent._parent.game.pl_can_act)) { _parent._parent.MakeMove(_parent._name); } }
Instance of Symbol 68 MovieClip in Symbol 98 MovieClip Frame 1
onClipEvent (load) { maxSize = 40; origSize = 20; } onClipEvent (enterFrame) { if (this.hitTest(_parent._parent._xmouse, _parent._parent._ymouse)) { if (_parent._parent.game.pl_can_act) { if ((_parent._parent.game.cur_act == "place") || (_parent._parent.game.cap_selected != "")) { if (Math.abs(maxSize - this._width) > 1) { this._width = this._width + ((maxSize - this._width) / 2); this._height = this._height + ((maxSize - this._height) / 2); } } } } else if (Math.abs(origSize - this._width) > 1) { this._width = this._width - ((this._width - origSize) / 2); this._height = this._height - ((this._height - origSize) / 2); } }
Instance of Symbol 70 MovieClip in Symbol 98 MovieClip Frame 1
onClipEvent (mouseDown) { if (this.hitTest(_parent._parent._xmouse, _parent._parent._ymouse) && (_parent._parent.game.pl_can_act)) { _parent._parent.MakeMove(_parent._name); } }
Instance of Symbol 68 MovieClip in Symbol 98 MovieClip Frame 1
onClipEvent (load) { maxSize = 40; origSize = 20; } onClipEvent (enterFrame) { if (this.hitTest(_parent._parent._xmouse, _parent._parent._ymouse)) { if (_parent._parent.game.pl_can_act) { if ((_parent._parent.game.cur_act == "place") || (_parent._parent.game.cap_selected != "")) { if (Math.abs(maxSize - this._width) > 1) { this._width = this._width + ((maxSize - this._width) / 2); this._height = this._height + ((maxSize - this._height) / 2); } } } } else if (Math.abs(origSize - this._width) > 1) { this._width = this._width - ((this._width - origSize) / 2); this._height = this._height - ((this._height - origSize) / 2); } }
Instance of Symbol 70 MovieClip in Symbol 98 MovieClip Frame 1
onClipEvent (mouseDown) { if (this.hitTest(_parent._parent._xmouse, _parent._parent._ymouse) && (_parent._parent.game.pl_can_act)) { _parent._parent.MakeMove(_parent._name); } }
Instance of Symbol 68 MovieClip in Symbol 98 MovieClip Frame 1
onClipEvent (load) { maxSize = 40; origSize = 20; } onClipEvent (enterFrame) { if (this.hitTest(_parent._parent._xmouse, _parent._parent._ymouse)) { if (_parent._parent.game.pl_can_act) { if ((_parent._parent.game.cur_act == "place") || (_parent._parent.game.cap_selected != "")) { if (Math.abs(maxSize - this._width) > 1) { this._width = this._width + ((maxSize - this._width) / 2); this._height = this._height + ((maxSize - this._height) / 2); } } } } else if (Math.abs(origSize - this._width) > 1) { this._width = this._width - ((this._width - origSize) / 2); this._height = this._height - ((this._height - origSize) / 2); } }
Instance of Symbol 70 MovieClip in Symbol 98 MovieClip Frame 1
onClipEvent (mouseDown) { if (this.hitTest(_parent._parent._xmouse, _parent._parent._ymouse) && (_parent._parent.game.pl_can_act)) { _parent._parent.MakeMove(_parent._name); } }
Instance of Symbol 68 MovieClip in Symbol 98 MovieClip Frame 1
onClipEvent (load) { maxSize = 40; origSize = 20; } onClipEvent (enterFrame) { if (this.hitTest(_parent._parent._xmouse, _parent._parent._ymouse)) { if (_parent._parent.game.pl_can_act) { if ((_parent._parent.game.cur_act == "place") || (_parent._parent.game.cap_selected != "")) { if (Math.abs(maxSize - this._width) > 1) { this._width = this._width + ((maxSize - this._width) / 2); this._height = this._height + ((maxSize - this._height) / 2); } } } } else if (Math.abs(origSize - this._width) > 1) { this._width = this._width - ((this._width - origSize) / 2); this._height = this._height - ((this._height - origSize) / 2); } }
Instance of Symbol 70 MovieClip in Symbol 98 MovieClip Frame 1
onClipEvent (mouseDown) { if (this.hitTest(_parent._parent._xmouse, _parent._parent._ymouse) && (_parent._parent.game.pl_can_act)) { _parent._parent.MakeMove(_parent._name); } }
Instance of Symbol 68 MovieClip in Symbol 98 MovieClip Frame 1
onClipEvent (load) { maxSize = 40; origSize = 20; } onClipEvent (enterFrame) { if (this.hitTest(_parent._parent._xmouse, _parent._parent._ymouse)) { if (_parent._parent.game.pl_can_act) { if ((_parent._parent.game.cur_act == "place") || (_parent._parent.game.cap_selected != "")) { if (Math.abs(maxSize - this._width) > 1) { this._width = this._width + ((maxSize - this._width) / 2); this._height = this._height + ((maxSize - this._height) / 2); } } } } else if (Math.abs(origSize - this._width) > 1) { this._width = this._width - ((this._width - origSize) / 2); this._height = this._height - ((this._height - origSize) / 2); } }
Instance of Symbol 70 MovieClip in Symbol 98 MovieClip Frame 1
onClipEvent (mouseDown) { if (this.hitTest(_parent._parent._xmouse, _parent._parent._ymouse) && (_parent._parent.game.pl_can_act)) { _parent._parent.MakeMove(_parent._name); } }
Instance of Symbol 68 MovieClip in Symbol 98 MovieClip Frame 1
onClipEvent (load) { maxSize = 40; origSize = 20; } onClipEvent (enterFrame) { if (this.hitTest(_parent._parent._xmouse, _parent._parent._ymouse)) { if (_parent._parent.game.pl_can_act) { if ((_parent._parent.game.cur_act == "place") || (_parent._parent.game.cap_selected != "")) { if (Math.abs(maxSize - this._width) > 1) { this._width = this._width + ((maxSize - this._width) / 2); this._height = this._height + ((maxSize - this._height) / 2); } } } } else if (Math.abs(origSize - this._width) > 1) { this._width = this._width - ((this._width - origSize) / 2); this._height = this._height - ((this._height - origSize) / 2); } }
Instance of Symbol 70 MovieClip in Symbol 98 MovieClip Frame 1
onClipEvent (mouseDown) { if (this.hitTest(_parent._parent._xmouse, _parent._parent._ymouse) && (_parent._parent.game.pl_can_act)) { _parent._parent.MakeMove(_parent._name); } }
Instance of Symbol 68 MovieClip in Symbol 98 MovieClip Frame 1
onClipEvent (load) { maxSize = 40; origSize = 20; } onClipEvent (enterFrame) { if (this.hitTest(_parent._parent._xmouse, _parent._parent._ymouse)) { if (_parent._parent.game.pl_can_act) { if ((_parent._parent.game.cur_act == "place") || (_parent._parent.game.cap_selected != "")) { if (Math.abs(maxSize - this._width) > 1) { this._width = this._width + ((maxSize - this._width) / 2); this._height = this._height + ((maxSize - this._height) / 2); } } } } else if (Math.abs(origSize - this._width) > 1) { this._width = this._width - ((this._width - origSize) / 2); this._height = this._height - ((this._height - origSize) / 2); } }
Instance of Symbol 70 MovieClip in Symbol 98 MovieClip Frame 1
onClipEvent (mouseDown) { if (this.hitTest(_parent._parent._xmouse, _parent._parent._ymouse) && (_parent._parent.game.pl_can_act)) { _parent._parent.MakeMove(_parent._name); } }
Instance of Symbol 68 MovieClip in Symbol 98 MovieClip Frame 1
onClipEvent (load) { maxSize = 40; origSize = 20; } onClipEvent (enterFrame) { if (this.hitTest(_parent._parent._xmouse, _parent._parent._ymouse)) { if (_parent._parent.game.pl_can_act) { if ((_parent._parent.game.cur_act == "place") || (_parent._parent.game.cap_selected != "")) { if (Math.abs(maxSize - this._width) > 1) { this._width = this._width + ((maxSize - this._width) / 2); this._height = this._height + ((maxSize - this._height) / 2); } } } } else if (Math.abs(origSize - this._width) > 1) { this._width = this._width - ((this._width - origSize) / 2); this._height = this._height - ((this._height - origSize) / 2); } }
Instance of Symbol 70 MovieClip in Symbol 98 MovieClip Frame 1
onClipEvent (mouseDown) { if (this.hitTest(_parent._parent._xmouse, _parent._parent._ymouse) && (_parent._parent.game.pl_can_act)) { _parent._parent.MakeMove(_parent._name); } }
Instance of Symbol 68 MovieClip in Symbol 98 MovieClip Frame 1
onClipEvent (load) { maxSize = 40; origSize = 20; } onClipEvent (enterFrame) { if (this.hitTest(_parent._parent._xmouse, _parent._parent._ymouse)) { if (_parent._parent.game.pl_can_act) { if ((_parent._parent.game.cur_act == "place") || (_parent._parent.game.cap_selected != "")) { if (Math.abs(maxSize - this._width) > 1) { this._width = this._width + ((maxSize - this._width) / 2); this._height = this._height + ((maxSize - this._height) / 2); } } } } else if (Math.abs(origSize - this._width) > 1) { this._width = this._width - ((this._width - origSize) / 2); this._height = this._height - ((this._height - origSize) / 2); } }
Instance of Symbol 70 MovieClip in Symbol 98 MovieClip Frame 1
onClipEvent (mouseDown) { if (this.hitTest(_parent._parent._xmouse, _parent._parent._ymouse) && (_parent._parent.game.pl_can_act)) { _parent._parent.MakeMove(_parent._name); } }
Instance of Symbol 68 MovieClip in Symbol 98 MovieClip Frame 1
onClipEvent (load) { maxSize = 40; origSize = 20; } onClipEvent (enterFrame) { if (this.hitTest(_parent._parent._xmouse, _parent._parent._ymouse)) { if (_parent._parent.game.pl_can_act) { if ((_parent._parent.game.cur_act == "place") || (_parent._parent.game.cap_selected != "")) { if (Math.abs(maxSize - this._width) > 1) { this._width = this._width + ((maxSize - this._width) / 2); this._height = this._height + ((maxSize - this._height) / 2); } } } } else if (Math.abs(origSize - this._width) > 1) { this._width = this._width - ((this._width - origSize) / 2); this._height = this._height - ((this._height - origSize) / 2); } }
Instance of Symbol 70 MovieClip in Symbol 98 MovieClip Frame 1
onClipEvent (mouseDown) { if (this.hitTest(_parent._parent._xmouse, _parent._parent._ymouse) && (_parent._parent.game.pl_can_act)) { _parent._parent.MakeMove(_parent._name); } }
Instance of Symbol 68 MovieClip in Symbol 98 MovieClip Frame 1
onClipEvent (load) { maxSize = 40; origSize = 20; } onClipEvent (enterFrame) { if (this.hitTest(_parent._parent._xmouse, _parent._parent._ymouse)) { if (_parent._parent.game.pl_can_act) { if ((_parent._parent.game.cur_act == "place") || (_parent._parent.game.cap_selected != "")) { if (Math.abs(maxSize - this._width) > 1) { this._width = this._width + ((maxSize - this._width) / 2); this._height = this._height + ((maxSize - this._height) / 2); } } } } else if (Math.abs(origSize - this._width) > 1) { this._width = this._width - ((this._width - origSize) / 2); this._height = this._height - ((this._height - origSize) / 2); } }
Instance of Symbol 70 MovieClip in Symbol 98 MovieClip Frame 1
onClipEvent (mouseDown) { if (this.hitTest(_parent._parent._xmouse, _parent._parent._ymouse) && (_parent._parent.game.pl_can_act)) { _parent._parent.MakeMove(_parent._name); } }
Instance of Symbol 68 MovieClip in Symbol 98 MovieClip Frame 1
onClipEvent (load) { maxSize = 40; origSize = 20; } onClipEvent (enterFrame) { if (this.hitTest(_parent._parent._xmouse, _parent._parent._ymouse)) { if (_parent._parent.game.pl_can_act) { if ((_parent._parent.game.cur_act == "place") || (_parent._parent.game.cap_selected != "")) { if (Math.abs(maxSize - this._width) > 1) { this._width = this._width + ((maxSize - this._width) / 2); this._height = this._height + ((maxSize - this._height) / 2); } } } } else if (Math.abs(origSize - this._width) > 1) { this._width = this._width - ((this._width - origSize) / 2); this._height = this._height - ((this._height - origSize) / 2); } }
Instance of Symbol 70 MovieClip in Symbol 98 MovieClip Frame 1
onClipEvent (mouseDown) { if (this.hitTest(_parent._parent._xmouse, _parent._parent._ymouse) && (_parent._parent.game.pl_can_act)) { _parent._parent.MakeMove(_parent._name); } }
Instance of Symbol 68 MovieClip in Symbol 98 MovieClip Frame 1
onClipEvent (load) { maxSize = 40; origSize = 20; } onClipEvent (enterFrame) { if (this.hitTest(_parent._parent._xmouse, _parent._parent._ymouse)) { if (_parent._parent.game.pl_can_act) { if ((_parent._parent.game.cur_act == "place") || (_parent._parent.game.cap_selected != "")) { if (Math.abs(maxSize - this._width) > 1) { this._width = this._width + ((maxSize - this._width) / 2); this._height = this._height + ((maxSize - this._height) / 2); } } } } else if (Math.abs(origSize - this._width) > 1) { this._width = this._width - ((this._width - origSize) / 2); this._height = this._height - ((this._height - origSize) / 2); } }
Instance of Symbol 70 MovieClip in Symbol 98 MovieClip Frame 1
onClipEvent (mouseDown) { if (this.hitTest(_parent._parent._xmouse, _parent._parent._ymouse) && (_parent._parent.game.pl_can_act)) { _parent._parent.MakeMove(_parent._name); } }
Instance of Symbol 68 MovieClip in Symbol 98 MovieClip Frame 1
onClipEvent (load) { maxSize = 40; origSize = 20; } onClipEvent (enterFrame) { if (this.hitTest(_parent._parent._xmouse, _parent._parent._ymouse)) { if (_parent._parent.game.pl_can_act) { if ((_parent._parent.game.cur_act == "place") || (_parent._parent.game.cap_selected != "")) { if (Math.abs(maxSize - this._width) > 1) { this._width = this._width + ((maxSize - this._width) / 2); this._height = this._height + ((maxSize - this._height) / 2); } } } } else if (Math.abs(origSize - this._width) > 1) { this._width = this._width - ((this._width - origSize) / 2); this._height = this._height - ((this._height - origSize) / 2); } }
Instance of Symbol 70 MovieClip in Symbol 98 MovieClip Frame 1
onClipEvent (mouseDown) { if (this.hitTest(_parent._parent._xmouse, _parent._parent._ymouse) && (_parent._parent.game.pl_can_act)) { _parent._parent.MakeMove(_parent._name); } }
Instance of Symbol 68 MovieClip in Symbol 98 MovieClip Frame 1
onClipEvent (load) { maxSize = 40; origSize = 20; } onClipEvent (enterFrame) { if (this.hitTest(_parent._parent._xmouse, _parent._parent._ymouse)) { if (_parent._parent.game.pl_can_act) { if ((_parent._parent.game.cur_act == "place") || (_parent._parent.game.cap_selected != "")) { if (Math.abs(maxSize - this._width) > 1) { this._width = this._width + ((maxSize - this._width) / 2); this._height = this._height + ((maxSize - this._height) / 2); } } } } else if (Math.abs(origSize - this._width) > 1) { this._width = this._width - ((this._width - origSize) / 2); this._height = this._height - ((this._height - origSize) / 2); } }
Instance of Symbol 70 MovieClip in Symbol 98 MovieClip Frame 1
onClipEvent (mouseDown) { if (this.hitTest(_parent._parent._xmouse, _parent._parent._ymouse) && (_parent._parent.game.pl_can_act)) { _parent._parent.MakeMove(_parent._name); } }
Symbol 99 MovieClip Frame 1
stop();
Instance of Symbol 24 MovieClip in Symbol 99 MovieClip Frame 1
on (release) { _root.gotoAndStop("main_menu"); } onClipEvent (load) { title = "Menu"; stop(); } on (rollOut, dragOut) { gotoAndStop (1); } on (press) { gotoAndStop (3); } on (rollOver) { gotoAndStop (2); }
Instance of Symbol 59 MovieClip in Symbol 99 MovieClip Frame 1
on (release) { _parent.nextFrame(); } onClipEvent (load) { stop(); } on (release, rollOut, dragOut) { gotoAndStop (1); } on (press) { gotoAndStop (3); } on (rollOver) { gotoAndStop (2); }
Instance of Symbol 59 MovieClip in Symbol 99 MovieClip Frame 2
on (release) { _parent.prevFrame(); } onClipEvent (load) { stop(); } on (release, rollOut, dragOut) { gotoAndStop (1); } on (press) { gotoAndStop (3); } on (rollOver) { gotoAndStop (2); }
Instance of Symbol 59 MovieClip in Symbol 99 MovieClip Frame 2
on (release) { _parent.nextFrame(); } onClipEvent (load) { stop(); } on (release, rollOut, dragOut) { gotoAndStop (1); } on (press) { gotoAndStop (3); } on (rollOver) { gotoAndStop (2); }
Symbol 107 MovieClip Frame 1
stop(); cur_board = 3;
Instance of Symbol 65 MovieClip in Symbol 107 MovieClip Frame 1
on (release) { _parent.gotoAndStop(2); }
Instance of Symbol 103 MovieClip in Symbol 107 MovieClip Frame 1
on (release) { _parent.gotoAndStop(3); }
Instance of Symbol 105 MovieClip in Symbol 107 MovieClip Frame 1
on (release) { _parent.gotoAndStop(1); }
Symbol 107 MovieClip Frame 2
cur_board = 6;
Symbol 107 MovieClip Frame 3
cur_board = 9;
Symbol 112 MovieClip Frame 1
stop();
Symbol 112 MovieClip Frame 3
this.ch = "w_s";
Symbol 112 MovieClip Frame 4
this.ch = "w_s";
Symbol 112 MovieClip Frame 5
this.ch = "w_n";
Symbol 112 MovieClip Frame 6
this.ch = "w_n";
Symbol 114 MovieClip Frame 1
function ApplyOptions() { board = this.board_select.cur_board; if (col_sel == "white") { if (gp_tyle == "PL_AI") { _root.game.white_control = "PL"; _root.game.black_control = "AI"; } else { _root.game.white_control = "PL"; _root.game.black_control = "PL"; } } else if (gp_tyle == "PL_AI") { _root.game.white_control = "AI"; _root.game.black_control = "PL"; } else { _root.game.white_control = "PL"; _root.game.black_control = "PL"; } } _root.game = {}; _root.game.white_control = "PL"; _root.game.black_control = "AI"; board = 6; col_sel = "white"; gp_tyle = "PL_AI"; this.cl_check1.gotoAndStop("white_selected"); this.cl_check2.gotoAndStop("black_deselected");
Instance of Symbol 24 MovieClip in Symbol 114 MovieClip Frame 1
on (release) { _parent.ApplyOptions(); _root.gotoAndStop("board_" + _parent.board); } onClipEvent (load) { title = "Play"; stop(); } on (release, rollOut, dragOut) { gotoAndStop (1); } on (press) { gotoAndStop (3); } on (rollOver) { gotoAndStop (2); }
Instance of Symbol 24 MovieClip in Symbol 114 MovieClip Frame 1
on (release) { _root.gotoAndStop("main_menu"); } onClipEvent (load) { title = "Menu"; stop(); } on (release, rollOut, dragOut) { gotoAndStop (1); } on (press) { gotoAndStop (3); } on (rollOver) { gotoAndStop (2); }
Instance of Symbol 59 MovieClip in Symbol 114 MovieClip Frame 1
on (release) { if (_parent.board_select._currentframe > 1) { _parent.board_select.gotoAndStop(_parent.board_select._currentframe - 1); } else { _parent.board_select.gotoAndStop(_parent.board_select._totalframes); } } onClipEvent (load) { stop(); } on (release, rollOut, dragOut) { gotoAndStop (1); } on (press) { gotoAndStop (3); } on (rollOver) { gotoAndStop (2); }
Instance of Symbol 59 MovieClip in Symbol 114 MovieClip Frame 1
on (release) { if (_parent.board_select._currentframe < _parent.board_select._totalframes) { _parent.board_select.gotoAndStop(_parent.board_select._currentframe + 1); } else { _parent.board_select.gotoAndStop(1); } } onClipEvent (load) { stop(); } on (release, rollOut, dragOut) { gotoAndStop (1); } on (press) { gotoAndStop (3); } on (rollOver) { gotoAndStop (2); }
Instance of Symbol 112 MovieClip "cl_check1" in Symbol 114 MovieClip Frame 1
onClipEvent (mouseDown) { if (this.hitTest(_parent._parent._xmouse, _parent._parent._ymouse)) { if (this.ch == "w_n") { this.gotoAndStop("white_selected"); _parent.cl_check2.gotoAndStop("black_deselected"); _parent.col_sel = "white"; } } } onClipEvent (mouseMove) { if (this.ch == "w_n") { if (this.hitTest(_parent._parent._xmouse, _parent._parent._ymouse)) { this.gotoAndStop("mouse_select_white"); } else { this.gotoAndStop("white_deselected"); } } } onClipEvent (load) { title = "White"; }
Instance of Symbol 112 MovieClip "cl_check2" in Symbol 114 MovieClip Frame 1
onClipEvent (mouseDown) { if (this.hitTest(_parent._parent._xmouse, _parent._parent._ymouse)) { if (this.ch == "w_n") { this.gotoAndStop("black_selected"); _parent.cl_check1.gotoAndStop("white_deselected"); _parent.col_sel = "black"; } } } onClipEvent (mouseMove) { if (this.ch == "w_n") { if (this.hitTest(_parent._parent._xmouse, _parent._parent._ymouse)) { this.gotoAndStop("mouse_select_black"); } else { this.gotoAndStop("black_deselected"); } } } onClipEvent (load) { title = "Black"; }
Instance of Symbol 24 MovieClip in Symbol 121 MovieClip Frame 1
on (release) { _root.gotoAndStop("main_menu"); } onClipEvent (load) { title = "Menu"; stop(); } on (release, rollOut, dragOut) { gotoAndStop (1); } on (press) { gotoAndStop (3); } on (rollOver) { gotoAndStop (2); }
Instance of Symbol 120 MovieClip in Symbol 121 MovieClip Frame 1
on (release) { getURL ("http://www.picasogames.com", "_blank", "GET"); } onClipEvent (load) { stop(); } on (rollOut, dragOut) { gotoAndStop (1); } on (press) { gotoAndStop (3); } on (rollOver) { gotoAndStop (2); }
Symbol 124 MovieClip Frame 1
stop();
Symbol 128 MovieClip Frame 15
stop(); _parent.NextMove();
Symbol 132 MovieClip Frame 1
stop(); function Virtual_ScoreBoard(virt_grid, cap, color, plus) { var _local1 = 0; if (Virtual_MillCheck(cap, virt_grid, color)) { _local1 = _local1 + (1 * plus); } return(_local1); } function Virtual_EmptyCaps(virt_grid, virt_caps_pos) { var _local4 = new Array(); var _local3 = 0; var _local2 = 0; i = 0; while (i < virt_caps_pos.length) { _local3 = Number(virt_caps_pos[i].substr(0, 1)); _local2 = Number(virt_caps_pos[i].substr(1, 1)); if (virt_grid[_local3][_local2] == 0) { _local4.push(virt_caps_pos[i]); } i++; } return(_local4); } function Virtual_ActiveCountCaps(virt_grid, virt_caps_pos) { var _local8 = new Array(); var _local5 = 0; var _local4 = 0; var _local2 = new Array(); var _local3 = new Array(); i = 0; while (i <= _parent.game.board_type) { _local3[i] = new Array(_parent.game.board_type); j = 0; while (j <= _parent.game.board_type) { _local3[i][j] = virt_grid[i][j]; j++; } i++; } i = 0; while (i < virt_caps_pos.length) { _local5 = Number(virt_caps_pos[i].substr(0, 1)); _local4 = Number(virt_caps_pos[i].substr(1, 1)); if ((virt_grid[_local5][_local4] == 1) || (virt_grid[_local5][_local4] == 2)) { j = 0; while (j < _parent.game.caps_mills_bind[(("cap" + _local5) + "") + _local4].length) { _local2 = _parent.game.mills[_parent.game.caps_mills_bind[(("cap" + _local5) + "") + _local4][j]]; trace("Virtual_ActiveCountCaps: tempAr: " + _local2); if (_local3[Number(_local2[0].substr(0, 1))][Number(_local2[0].substr(1, 1))] == 0) { _local3[Number(_local2[0].substr(0, 1))][Number(_local2[0].substr(1, 1))] = 9; } if (_local3[Number(_local2[1].substr(0, 1))][Number(_local2[1].substr(1, 1))] == 0) { _local3[Number(_local2[1].substr(0, 1))][Number(_local2[1].substr(1, 1))] = 9; } if (_local3[Number(_local2[2].substr(0, 1))][Number(_local2[2].substr(1, 1))] == 0) { _local3[Number(_local2[2].substr(0, 1))][Number(_local2[2].substr(1, 1))] = 9; } j++; } } i++; } i = 0; while (i < virt_caps_pos.length) { if (_local3[Number(virt_caps_pos[i].substr(0, 1))][Number(virt_caps_pos[i].substr(1, 1))] == 9) { _local8.push(virt_caps_pos[i]); } i++; } return(_local8); } function Virtual_MillCheck(cap, tmpgrid, color) { var _local3; var _local2 = new Array(); _local3 = 0; while (_local3 < _parent.game.caps_mills_bind["cap" + cap].length) { _local2 = _parent.game.mills[_parent.game.caps_mills_bind["cap" + cap][_local3]]; if (((tmpgrid[Number(_local2[0].substr(0, 1))][Number(_local2[0].substr(1, 1))] == color) && (tmpgrid[Number(_local2[1].substr(0, 1))][Number(_local2[1].substr(1, 1))] == color)) && (tmpgrid[Number(_local2[2].substr(0, 1))][Number(_local2[2].substr(1, 1))] == color)) { return(true); } _local3++; } return(false); } function Virtual_ReturnCaps(virt_grid, color) { var _local5 = _parent.game.caps_pos; var _local2 = new Array(); i = 0; while (i < _parent.game.caps_pos.length) { if (virt_grid[Number(_parent.game.caps_pos[i].substr(0, 1))][Number(_parent.game.caps_pos[i].substr(1, 1))] == color) { _local2.push(_parent.game.caps_pos[i]); } i++; } return(_local2); } function Virtual_FindTempMoves(virt_grid, color) { var _local1; var _local2 = new Array(); var _local3 = new Array(); _local2 = Virtual_ReturnCaps(virt_grid, color); _local1 = 0; while (_local1 < _local2.length) { if (Virtual_CanMoveCheck(virt_grid, "cap" + _local2[_local1])) { _local3.push("cap" + _local2[_local1]); } _local1++; } return(_local3); } function Virtual_CanMoveCheck(virt_grid, cap) { var _local2; _local2 = 0; while (_local2 < _parent.game.caps_bind[cap].length) { if (virt_grid[Number(_parent.game.caps_bind[cap][_local2].substr(3, 1))][Number(_parent.game.caps_bind[cap][_local2].substr(4, 1))] == 0) { return(true); } _local2++; } return(false); } function Show_Matrix(virt_grid) { var _local4; var _local3; var _local2; trace("-----"); _local4 = 0; while (_local4 <= _parent.game.board_type) { _local2 = ""; _local3 = 0; while (_local3 <= _parent.game.board_type) { if (virt_grid[_local3][_local4] == 8) { _local2 = _local2 + " "; } else { _local2 = ((_local2 + " ") + virt_grid[_local3][_local4]) + " "; } _local3++; } trace(_local2); _local4++; } trace("------"); } function Virtual_Place_SubScore(virt_grid_1, virt_pos_moves_2, ycolor, ecolor) { var _local3 = new Array(); var _local1 = new Array(); var _local11 = new Array(); var _local6 = 0; var _local7; var _local4; var _local2; var _local12; _local7 = 0; while (_local7 < virt_pos_moves_2.length) { virt_grid_1[Number(virt_pos_moves_2[_local7].substr(0, 1))][Number(virt_pos_moves_2[_local7].substr(1, 5))] = ecolor; _local6 = _local6 + Virtual_ScoreBoard(virt_grid_1, virt_pos_moves_2[_local7], ecolor, -1000); _local3.length = 0; _local3 = _local3.concat(virt_pos_moves_2.slice(0, _local7), virt_pos_moves_2.slice(_local7 + 1, virt_pos_moves_2.length)); _local4 = 0; while (_local4 < _local3.length) { virt_grid_1[Number(_local3[_local4].substr(0, 1))][Number(_local3[_local4].substr(1, 2))] = ycolor; _local6 = _local6 + Virtual_ScoreBoard(virt_grid_1, _local3[_local4], ycolor, 1); _local1.length = 0; _local1 = _local1.concat(_local3.slice(0, _local4), _local3.slice(_local4 + 1, _local3.length)); _local2 = 0; while (_local2 < _local1.length) { virt_grid_1[Number(_local1[_local2].substr(0, 1))][Number(_local1[_local2].substr(1, 1))] = ecolor; _local6 = _local6 + Virtual_ScoreBoard(virt_grid_1, _local1[_local2], ecolor, -1); virt_grid_1[Number(_local1[_local2].substr(0, 1))][Number(_local1[_local2].substr(1, 1))] = 0; _local2++; } virt_grid_1[Number(_local3[_local4].substr(0, 1))][Number(_local3[_local4].substr(1, 1))] = 0; _local4++; } virt_grid_1[Number(virt_pos_moves_2[_local7].substr(0, 1))][Number(virt_pos_moves_2[_local7].substr(1, 1))] = 0; _local7++; } return(_local6); } function AI_PlaceCap(nm) { nm = "cap" + nm; var _local5 = Number(nm.substr(3, 1)); var _local4 = Number(nm.substr(4, 1)); _parent[nm].gotoAndStop("cap_" + _parent.game.cur_turn); _parent.game.grid[_local5][_local4] = _parent.YColor_n(); _parent.game[_parent.game.cur_turn + "_instock"]--; _parent.game[_parent.game.cur_turn + "_infield"]++; trace("AI_PlaceCap: chosen place: " + nm); _parent.MillsCheck(nm, _parent.YColor_n(), true); _parent.Capstxt(); _parent.AI_AllCheck(); this.gotoAndStop(1); } function Virtual_FindBestPlace(score_board) { trace("Virtual_FindBestPlace: score_board array:" + score_board); var _local3 = -999999; i = 0; while (i < score_board.length) { if (score_board[i][0] > _local3) { _local3 = score_board[i][0]; } i++; } var _local4 = new Array(); i = 0; while (i < score_board.length) { if (score_board[i][0] == _local3) { _local4.push(score_board[i][1]); } i++; } if (_local4.length > 1) { return(_local4[_parent.calcRand(0, _local4.length - 1)]); } return(_local4[0]); } function Virtual_FindBestMove(score_board, pos_moves) { var _local3; var _local2; trace("Virt_FindBestMove: score_board array:" + score_board); var _local5 = -99999; _local3 = 0; while (_local3 < score_board.length) { _local2 = 0; while (_local2 < score_board[_local3].length) { if ((score_board[_local3][_local2] != "bd") && (score_board[_local3][_local2] > _local5)) { _local5 = score_board[_local3][_local2]; } _local2++; } _local3++; } var _local7 = new Array(); var _local8 = new Array(); _local3 = 0; while (_local3 < score_board.length) { _local2 = 0; while (_local2 < score_board[_local3].length) { if ((score_board[_local3][_local2] != "bd") && (score_board[_local3][_local2] == _local5)) { _local7.push(pos_moves[_local3]); _local8.push(_parent.game.caps_bind[pos_moves[_local3]][_local2]); } _local2++; } _local3++; } trace("Virt_FindBestMove: from: " + _local7); trace("Virt_FindBestMove: to: " + _local8); var _local9 = new Array(2); var _local10; if (_local7.length > 1) { _local10 = _parent.calcRand(0, _local7.length - 1); _local9[0] = _local7[_local10]; _local9[1] = _local8[_local10]; } else { _local9[0] = _local7[0]; _local9[1] = _local8[0]; } return(_local9); } function AI_MoveCap(final_move_caps) { var _local5; var _local4; var _local7; var _local6; trace("AI_MoveCap: final_move_cap: " + final_move_caps); _local5 = Number(final_move_caps[0].substr(3, 1)); _local4 = Number(final_move_caps[0].substr(4, 1)); _local7 = Number(final_move_caps[1].substr(3, 1)); _local6 = Number(final_move_caps[1].substr(4, 1)); _parent.game.grid[_local5][_local4] = 0; _parent.game.grid[_local7][_local6] = _parent.YColor_n(); if (_parent[final_move_caps[0]].getDepth() < _parent[final_move_caps[1]].getDepth()) { _parent[final_move_caps[0]].swapDepths(_parent[final_move_caps[1]]); } _parent.ActivateMoving(final_move_caps[0], final_move_caps[1]); this.gotoAndStop(1); } function Virtual_Move_SubScore_1(virt_grid, pos_moves, ycolor, ecolor) { var _local7 = new Array(); var _local6 = 0; var _local3; var _local10; var _local9; var _local8; i = 0; while (i < pos_moves.length) { _local3 = 0; while (_local3 < _parent.game.caps_bind[pos_moves[i]].length) { if (virt_grid[Number(_parent.game.caps_bind[pos_moves[i]][_local3].substr(3, 1))][Number(_parent.game.caps_bind[pos_moves[i]][_local3].substr(4, 1))] == 0) { virt_grid[Number(pos_moves[i].substr(3, 1))][Number(pos_moves[i].substr(4, 1))] = 0; virt_grid[Number(_parent.game.caps_bind[pos_moves[i]][_local3].substr(3, 1))][Number(_parent.game.caps_bind[pos_moves[i]][_local3].substr(4, 1))] = ecolor; _local6 = _local6 + Virtual_ScoreBoard(virt_grid, _parent.game.caps_bind[pos_moves[i]][_local3].substr(3, 1) + _parent.game.caps_bind[pos_moves[i]][_local3].substr(4, 1), ecolor, -1); virt_grid[Number(pos_moves[i].substr(3, 1))][Number(pos_moves[i].substr(4, 1))] = ecolor; virt_grid[Number(_parent.game.caps_bind[pos_moves[i]][_local3].substr(3, 1))][Number(_parent.game.caps_bind[pos_moves[i]][_local3].substr(4, 1))] = 0; } _local3++; } i++; } return(_local6); } function Virtual_Move_SubScore_2(virt_grid, pos_moves, ycolor, ecolor) { var _local6 = 0; var _local3; var _local9; var _local8; var _local7; i = 0; while (i < pos_moves.length) { _local3 = 0; while (_local3 < _parent.game.caps_bind[pos_moves[i]].length) { if (virt_grid[Number(_parent.game.caps_bind[pos_moves[i]][_local3].substr(3, 1))][Number(_parent.game.caps_bind[pos_moves[i]][_local3].substr(4, 1))] == 0) { virt_grid[Number(pos_moves[i].substr(3, 1))][Number(pos_moves[i].substr(4, 1))] = 0; virt_grid[Number(_parent.game.caps_bind[pos_moves[i]][_local3].substr(3, 1))][Number(_parent.game.caps_bind[pos_moves[i]][_local3].substr(4, 1))] = ycolor; _local6 = _local6 + Virtual_ScoreBoard(virt_grid, _parent.game.caps_bind[pos_moves[i]][_local3].substr(3, 1) + _parent.game.caps_bind[pos_moves[i]][_local3].substr(4, 1), ycolor, 1); virt_grid[Number(pos_moves[i].substr(3, 1))][Number(pos_moves[i].substr(4, 1))] = ycolor; virt_grid[Number(_parent.game.caps_bind[pos_moves[i]][_local3].substr(3, 1))][Number(_parent.game.caps_bind[pos_moves[i]][_local3].substr(4, 1))] = 0; } _local3++; } i++; } return(_local6); } function Virtual_Move_SubScore_3(virt_grid, pos_moves, ycolor, ecolor) { var _local7 = new Array(); var _local6 = 0; var _local3; var _local10; var _local9; var _local8; i = 0; while (i < pos_moves.length) { _local3 = 0; while (_local3 < game.caps_bind[pos_moves[i]].length) { if (virt_grid[Number(_parent.game.caps_bind[pos_moves[i]][_local3].substr(3, 1))][Number(_parent.game.caps_bind[pos_moves[i]][_local3].substr(4, 1))] == 0) { virt_grid[Number(pos_moves[i].substr(3, 1))][Number(pos_moves[i].substr(4, 1))] = 0; virt_grid[Number(_parent.game.caps_bind[pos_moves[i]][_local3].substr(3, 1))][Number(_parent.game.caps_bind[pos_moves[i]][_local3].substr(4, 1))] = ecolor; _local6 = _local6 + Virtual_ScoreBoard(virt_grid, _parent.game.caps_bind[pos_moves[i]][_local3].substr(3, 1) + _parent.game.caps_bind[pos_moves[i]][_local3].substr(4, 1), ecolor, -1); virt_grid[Number(pos_moves[i].substr(3, 1))][Number(pos_moves[i].substr(4, 1))] = ecolor; virt_grid[Number(_parent.game.caps_bind[pos_moves[i]][_local3].substr(3, 1))][Number(_parent.game.caps_bind[pos_moves[i]][_local3].substr(4, 1))] = 0; } _local3++; } i++; } return(_local6); }
Symbol 132 MovieClip Frame 2
this.lamp_light._alpha = 0; _parent.tip_txt = "Opponent is thinking...";
Symbol 132 MovieClip Frame 3
this.lamp_light._alpha = 0; gotoAndPlay ("AI_Think_Pace_VirtStep");
Symbol 132 MovieClip Frame 11
var i = 0; var j = 0; var cur_act = _parent.game.cur_act; var virt_grid = new Array(); var virt_caps_pos = new Array(); var ycolor = _parent.CurColor_n(); var result_move; i = 0; while (i <= _parent.game.board_type) { virt_grid[i] = new Array(_parent.game.board_type); j = 0; while (j <= _parent.game.board_type) { virt_grid[i][j] = _parent.game.grid[i][j]; j++; } i++; } i = 0; while (i < _parent.game.caps_pos.length) { virt_caps_pos[i] = _parent.game.caps_pos[i]; i++; }
Symbol 132 MovieClip Frame 12
var virt_grid_1 = new Array(); var virt_pos_moves = new Array(); var virt_pos_moves_2 = new Array(); var score_board = new Array(); var i = 0; var j = 0; var ecolor; var time = getTimer(); if (ycolor == 1) { ecolor = 2; } else { ecolor = 1; } i = 0; while (i <= _parent.game.board_type) { virt_grid_1[i] = new Array(_parent.game.board_type); j = 0; while (j <= _parent.game.board_type) { virt_grid_1[i][j] = virt_grid[i][j]; j++; } i++; } virt_pos_moves = Virtual_ActiveCountCaps(virt_grid_1, virt_caps_pos); trace("Test Pos Moves: " + virt_pos_moves); if (virt_pos_moves.length < 1) { virt_pos_moves.push(_parent.game.caps_pos[_parent.calcRand(0, _parent.game.caps_pos.length - 1)]); } var i_1acc = 0; var i_1fin = virt_pos_moves.length;
Symbol 132 MovieClip Frame 27
if (i_1acc < i_1fin) { virt_grid_1[Number(virt_pos_moves[i_1acc].substr(0, 1))][Number(virt_pos_moves[i_1acc].substr(1, 1))] = ycolor; score_board[i_1acc] = new Array(Virtual_ScoreBoard(virt_grid_1, virt_pos_moves[i_1acc], ycolor, 100), virt_pos_moves[i_1acc]); virt_pos_moves_2.length = 0; virt_pos_moves_2 = virt_pos_moves_2.concat(virt_pos_moves.slice(0, i_1acc), virt_pos_moves.slice(i_1acc + 1, virt_pos_moves.length)); score_board[i_1acc][0] = score_board[i_1acc][0] + Virtual_Place_SubScore(virt_grid_1, virt_pos_moves_2, ycolor, ecolor); virt_grid_1[Number(virt_pos_moves[i_1acc].substr(0, 1))][Number(virt_pos_moves[i_1acc].substr(1, 1))] = 0; i_1acc++; this.lamp_light._alpha = (100 * i_1acc) / i_1fin; gotoAndPlay ("Virt_Place_Back"); } else { stop(); trace("Timer: " + ((getTimer() - time) / 1000)); AI_PlaceCap(Virtual_FindBestPlace(score_board)); }
Symbol 132 MovieClip Frame 46
this.lamp_light._alpha = 0; gotoAndPlay ("AI_Think_Move_VirtStep");
Symbol 132 MovieClip Frame 56
var i; var j; var k; var m; var tx; var ty; var pos_moves_orig = _parent.ReturnCaps(_parent.YColor_n()); var pos_moves = new Array(); var final_move_caps = new Array(); trace("AI_MoveCap: posCaps: " + pos_moves_orig); i = 0; while (i < pos_moves_orig.length) { if (_parent.AI_CanMoveCheck("cap" + pos_moves_orig[i])) { pos_moves.push("cap" + pos_moves_orig[i]); } i++; } trace("AI_MoveCap: restPosCaps: " + pos_moves); var score_board = new Array(); var ecolor; var ycolor = _parent.CurColor_n(); if (ycolor == 1) { ecolor = 2; } else { ecolor = 1; } var virt_grid = new Array(); var virt_grid_orig = new Array(); var virt_pos_moves_2 = new Array(); i = 0; while (i <= _parent.game.board_type) { virt_grid[i] = new Array(_parent.game.board_type); virt_grid_orig[i] = new Array(_parent.game.board_type); j = 0; while (j <= _parent.game.board_type) { virt_grid[i][j] = _parent.game.grid[i][j]; virt_grid_orig[i][j] = _parent.game.grid[i][j]; j++; } i++; } trace("Virt_FindBestMove: pos_moves:" + pos_moves); var i_1acc = 0; var i_1fin = pos_moves.length; this.test_txt = "";
Symbol 132 MovieClip Frame 76
trace((("i_1acc: " + i_1acc) + " i_1fin: ") + i_1fin); if (i_1acc < i_1fin) { score_board[i_1acc] = new Array(_parent.game.caps_bind[pos_moves[i_1acc]].length); j = 0; while (j < _parent.game.caps_bind[pos_moves[i_1acc]].length) { if (virt_grid[Number(_parent.game.caps_bind[pos_moves[i_1acc]][j].substr(3, 1))][Number(_parent.game.caps_bind[pos_moves[i_1acc]][j].substr(4, 1))] == 0) { trace((("Virtual_FBM: " + pos_moves[i_1acc]) + "->") + _parent.game.caps_bind[pos_moves[i_1acc]][j]); trace((("Virtual_FBM:" + pos_moves[i_1acc]) + "-> grid:") + virt_grid[Number(_parent.game.caps_bind[pos_moves[i_1acc]][j].substr(3, 1))][Number(_parent.game.caps_bind[pos_moves[i_1acc]][j].substr(4, 1))]); virt_grid[Number(pos_moves[i_1acc].substr(3, 1))][Number(pos_moves[i_1acc].substr(4, 1))] = 0; virt_grid[Number(_parent.game.caps_bind[pos_moves[i_1acc]][j].substr(3, 1))][Number(_parent.game.caps_bind[pos_moves[i_1acc]][j].substr(4, 1))] = ycolor; score_board[i_1acc][j] = Virtual_ScoreBoard(virt_grid, _parent.game.caps_bind[pos_moves[i_1acc]][j].substr(3, 1) + _parent.game.caps_bind[pos_moves[i_1acc]][j].substr(4, 1), ycolor, 100); virt_pos_moves_2 = Virtual_FindTempMoves(virt_grid, ecolor); score_board[i_1acc][j] = score_board[i_1acc][j] + Virtual_Move_SubScore_1(virt_grid, virt_pos_moves_2, ycolor, ecolor); virt_grid[Number(pos_moves[i_1acc].substr(3, 1))][Number(pos_moves[i_1acc].substr(4, 1))] = ycolor; virt_grid[Number(_parent.game.caps_bind[pos_moves[i_1acc]][j].substr(3, 1))][Number(_parent.game.caps_bind[pos_moves[i_1acc]][j].substr(4, 1))] = 0; if (virt_grid.toString() != virt_grid_orig.toString()) { trace("Virtual_FBM: \u043D\u0435\u0441\u043E\u0432\u043F\u0430\u0434\u0430\u044E\u0442!"); k = 0; while (k <= _parent.game.board_type) { m = 0; while (m <= _parent.game.board_type) { virt_grid[k][m] = virt_grid_orig[k][m]; m++; } k++; } trace("Virtual_FBM: \u0442\u0435\u043F\u0435\u0440\u044C \u0441\u043E\u0432\u043F\u0430\u0434\u0430\u044E\u0442"); } } else { score_board[i_1acc][j] = "bd"; } j++; } i_1acc++; this.lamp_light._alpha = (100 * i_1acc) / i_1fin; gotoAndPlay ("Virt_Move_Back"); } else { stop(); AI_MoveCap(Virtual_FindBestMove(score_board, pos_moves)); }
Symbol 135 MovieClip Frame 1
if (_parent.game.white_control == "PL") { if (_parent.game.winner == 1) { trace("1-1"); win_txt = "You win"; } else { win_txt = "Opponent wins"; trace("1-2"); } } if (_parent.game.black_control == "PL") { if (_parent.game.winner == 2) { trace("2-1"); win_txt = "You win"; } else { win_txt = "Opponent wins"; trace("2-2"); } } winner_color.gotoAndStop(1 + _parent.game.winner);
Symbol 136 MovieClip Frame 1
function AIControl() { var _local2 = "cap00"; switch (game.cur_act) { case "place" : this.AI_Think.gotoAndStop("AI_Think_Place"); break; case "move" : this.AI_Think.gotoAndStop("AI_Think_Move"); break; case "remove" : AI_RemoveCap(); break; case "pass" : } } function AI_RemoveCap() { var _local2 = ReturnCaps(EColor_n()); var _local3 = new Array(); trace("AI_RemoveCap: posCaps: " + _local2); var _local5 = false; var _local4 = 0; var _local1 = 0; _local1 = 0; while (_local1 < _local2.length) { if (CanRemove("cap" + _local2[_local1])) { _local3.push(_local2[_local1]); } _local1++; } trace("AI_RemoveCap: rest_pos_moves" + _local3); if (_local3.length >= 1) { if (_local3.length == 1) { RemoveCap("cap" + _local3[0]); AI_AllCheck(); } else { trace("AI_RemoveCap: \u041F\u044B\u0442\u0430\u0435\u043C\u0441\u044F \u0443\u0434\u0430\u043B\u0438\u0442\u044C"); RemoveCap("cap" + _local2[calcRand(0, _local3.length - 1)]); AI_AllCheck(); } } else { trace("AI_RemoveCap: \u043D\u0435 \u043C\u043E\u0436\u0435\u043C \u043D\u0438\u0447\u0435\u0433\u043E \u0443\u0434\u0430\u043B\u0438\u0442\u044C - \u0431\u0430\u0433\u0430!"); } } function CanRemove(nm) { var _local2 = Number(nm.substr(3, 1)); var _local1 = Number(nm.substr(4, 1)); if ((game.grid[_local2][_local1] == EColor_n()) && (CapNotInMill(nm))) { return(true); } if ((game.grid[_local2][_local1] == EColor_n()) && (game[EColor() + "_infield"] <= (MillsCheck(nm, EColor_n(), false) * 3))) { return(true); } return(false); } function RandomPlace() { var _local4 = game.caps_pos; var _local3 = new Array(); i = 0; while (i < game.caps_pos.length) { var _local2 = Number(game.caps_pos[i].substr(0, 1)); var _local1 = Number(game.caps_pos[i].substr(1, 1)); if (game.grid[_local2][_local1] == 0) { _local3.push(game.caps_pos[i]); } i++; } return(_local3[calcRand(0, _local3.length - 1)]); } function ReturnCaps(color) { var _local5 = game.caps_pos; var _local3 = new Array(); var _local2 = 0; var _local1 = 0; i = 0; while (i < game.caps_pos.length) { _local2 = Number(game.caps_pos[i].substr(0, 1)); _local1 = Number(game.caps_pos[i].substr(1, 1)); if (game.grid[_local2][_local1] == color) { _local3.push(game.caps_pos[i]); } i++; } return(_local3); } function AI_AllCheck() { trace("\u041F\u0415\u0420\u0415\u0428\u041B\u0418 \u0412 \u0410\u041B\u041B \u0427\u0415\u041A!"); trace("AI_AllCheck: mills: " + game[game.cur_turn + "_mills"]); if (game[game.cur_turn + "_mills"] > 0) { game.cur_act = "remove"; trace("--->AI - need to remove enemy caps"); AIControl(); } else { this.Move_delay.gotoAndPlay(1); } } function AI_MillsCount(color) { var _local2; var _local7 = 0; var _local1 = new Array(); _local2 = 0; while (_local2 < game.mills.length) { _local1 = game.mills[_local2]; var _local5 = _local1[0]; var _local4 = _local1[1]; var _local3 = _local1[2]; if (((game.grid[Number(_local5.substr(0, 1))][Number(_local5.substr(1, 1))] == color) && (game.grid[Number(_local4.substr(0, 1))][Number(_local4.substr(1, 1))] == color)) && (game.grid[Number(_local3.substr(0, 1))][Number(_local3.substr(1, 1))] == color)) { _local7++; } _local2++; } return(_local7); } function AI_CanMoveCheck(cap) { var _local1; var _local4; var _local3; _local1 = 0; while (_local1 < game.caps_bind[cap].length) { _local4 = Number(game.caps_bind[cap][_local1].substr(3, 1)); _local3 = Number(game.caps_bind[cap][_local1].substr(4, 1)); if (game.grid[_local4][_local3] == 0) { return(true); } _local1++; } return(false); } function MakeMove(nm) { var _local1 = false; switch (game.cur_act) { case "place" : _local1 = PlaceCap(nm); if (_local1) { MillsCheck(nm, YColor_n(), true); } break; case "move" : _local1 = MoveCap(nm); break; case "remove" : _local1 = RemoveCap(nm); break; case "win_loose" : } if (game.cur_act != "move") { AllCheck(_local1, nm); } Capstxt(); } function PlaceCap(nm) { var _local3 = Number(nm.substr(3, 1)); var _local2 = Number(nm.substr(4, 1)); if ((game.grid[_local3][_local2] == 0) && (game[game.cur_turn + "_instock"] > 0)) { this[nm].gotoAndStop("cap_" + game.cur_turn); game.grid[_local3][_local2] = YColor_n(); game.pl_can_act = false; game[game.cur_turn + "_instock"]--; game[game.cur_turn + "_infield"]++; return(true); } return(false); } function RemoveCap(nm) { var _local4 = Number(nm.substr(3, 1)); var _local3 = Number(nm.substr(4, 1)); if ((game.grid[_local4][_local3] == EColor_n()) && (CapNotInMill(nm))) { ActivateRemove(nm, this[nm]._x, this[nm]._y); game.grid[_local4][_local3] = 0; game[EColor() + "_infield"]--; game[game.cur_turn + "_mills"]--; return(true); } if ((game.grid[_local4][_local3] == EColor_n()) && (game[EColor() + "_infield"] <= (MillsCheck(nm, EColor_n(), false) * 3))) { ActivateRemove(nm, this[nm]._x, this[nm]._y); game.grid[_local4][_local3] = 0; game[EColor() + "_infield"]--; game[game.cur_turn + "_mills"]--; return(true); } return(false); } function CapNotInMill(nm) { var _local5; var _local4 = new Array(); _local5 = 0; while (_local5 < game.mills.length) { _local4 = game.mills[_local5]; var _local3 = _local4[0]; var _local2 = _local4[1]; var _local1 = _local4[2]; if (((game.grid[Number(_local3.substr(0, 1))][Number(_local3.substr(1, 1))] == EColor_n()) && (game.grid[Number(_local2.substr(0, 1))][Number(_local2.substr(1, 1))] == EColor_n())) && (game.grid[Number(_local1.substr(0, 1))][Number(_local1.substr(1, 1))] == EColor_n())) { if (((nm == ("cap" + _local3)) || (nm == ("cap" + _local2))) || (nm == ("cap" + _local1))) { return(false); } } _local5++; } return(true); } function MillsCheck(nm, color, make_count) { var _local5; if (make_count) { game[game.cur_turn + "_mills"] = 0; } var _local8 = 0; var _local4 = new Array(); var _local3 = ""; var _local2 = ""; var _local1 = ""; _local5 = 0; while (_local5 < game.mills.length) { _local4 = game.mills[_local5]; _local3 = _local4[0]; _local2 = _local4[1]; _local1 = _local4[2]; if (((game.grid[Number(_local3.substr(0, 1))][Number(_local3.substr(1, 1))] == color) && (game.grid[Number(_local2.substr(0, 1))][Number(_local2.substr(1, 1))] == color)) && (game.grid[Number(_local1.substr(0, 1))][Number(_local1.substr(1, 1))] == color)) { _local8++; trace(((((((((nm + " ") + "cap") + _local3) + " ") + "cap") + _local2) + " ") + "cap") + _local1); if (((nm == ("cap" + _local3)) || (nm == ("cap" + _local2))) || (nm == ("cap" + _local1))) { if (make_count) { ActivateMill("cap" + _local3, "cap" + _local2, "cap" + _local1); game[game.cur_turn + "_mills"]++; } } } _local5++; } return(_local8); } function MoveCap(nm) { var _local7 = Number(nm.substr(3, 1)); var _local6 = Number(nm.substr(4, 1)); if (game.cap_selected == "") { if (game.grid[_local7][_local6] == YColor_n()) { game.cap_selected = nm; this[nm].eff_select.gotoAndStop(2); return(false); } } else { if (game.grid[_local7][_local6] == YColor_n()) { this[game.cap_selected].eff_select.gotoAndStop(1); this[nm].eff_select.gotoAndStop(2); game.cap_selected = nm; return(false); } if (game.grid[_local7][_local6] == EColor_n()) { this[game.cap_selected].eff_select.gotoAndStop(1); game.cap_selected = ""; return(false); } var _local3; var _local5; var _local4; _local3 = 0; while (_local3 < game.caps_bind[game.cap_selected].length) { if (game.caps_bind[game.cap_selected][_local3] == nm) { _local5 = Number(game.cap_selected.substr(3, 1)); _local4 = Number(game.cap_selected.substr(4, 1)); game.grid[_local7][_local6] = YColor_n(); game.grid[_local5][_local4] = 0; this[game.cap_selected].eff_select.gotoAndStop(1); if (this[game.cap_selected].getDepth() < this[nm].getDepth()) { this[game.cap_selected].swapDepths(this[nm]); } ActivateMoving(game.cap_selected, nm); game.cap_selected = ""; game.pl_can_act = false; return(true); } _local3++; } } } function NextMove() { this.AI_Think.gotoAndStop(1); game.white_mills = 0; game.black_mills = 0; game.cap_selected = ""; game.cur_turn = EColor(); if (game[game.cur_turn + "_instock"] > 0) { game.cur_act = "place"; } if (game[game.cur_turn + "_instock"] == 0) { game.cur_act = "move"; } if (game[game.cur_turn + "_control"] == "AI") { trace("---->AI enabled - AI turn<----"); game.pl_can_act = false; if (!GameOverCheck()) { tip_txt = CurPlayer_tip(); AIControl(); } } else if (game[game.cur_turn + "_control"] == "PL") { trace("--->AI disabled - PL turn<----"); if (!GameOverCheck()) { trace("NEXT MOVE: game.cur_act:" + game.cur_act); tip_txt = CurPlayer_tip(); game.pl_can_act = true; } } } function AllCheck(no_errors, nm) { trace((("AllCheck: " + no_errors) + " ") + nm); if (no_errors) { if (game[game.cur_turn + "_mills"] > 0) { game.cur_act = "remove"; tip_txt = CurPlayer_tip(); } else { this.AI_Think.gotoAndStop(2); this.Move_delay.gotoAndPlay(1); } } } function GameOverCheck() { if ((game[game.cur_turn + "_instock"] == 0) && (game[game.cur_turn + "_infield"] <= 2)) { game.winner = EColor_n(); ActivateGameOver(YColor_n()); this.gotoAndStop(3); return(true); } if (((game[game.cur_turn + "_instock"] == 0) && (game[game.cur_turn + "_infield"] > 0)) && (!CanMoveCheck(CurColor_n()))) { game.winner = EColor_n(); ActivateGameOver(YColor_n()); this.gotoAndStop(3); return(true); } return(false); } function CanMoveCheck(color) { var _local1; var _local2; var _local5; var _local4; var _local3 = new Array(); _local1 = 0; while (_local1 < game.caps_pos.length) { _local5 = Number(game.caps_pos[_local1].substr(0, 1)); _local4 = Number(game.caps_pos[_local1].substr(1, 1)); if (game.grid[_local5][_local4] == color) { _local3.push(game.caps_pos[_local1]); } _local1++; } _local1 = 0; while (_local1 < _local3.length) { _local2 = 0; while (_local2 < game.caps_bind["cap" + _local3[_local1]].length) { _local5 = Number(game.caps_bind["cap" + _local3[_local1]][_local2].substr(3, 1)); _local4 = Number(game.caps_bind["cap" + _local3[_local1]][_local2].substr(4, 1)); if (game.grid[_local5][_local4] == 0) { return(true); } _local2++; } _local1++; } return(false); } function ActivateMoving(cap, tocap) { trace((("ActivateMoving: " + cap) + " to ") + tocap); this[cap].origCap = cap; this[cap].toCap = tocap; this[cap].gotoAndPlay(("cap_" + YColor()) + "_move"); } function ActivateMill(cap1, cap2, cap3) { trace((((("ActivateMill: " + cap1) + " ") + cap2) + " ") + cap3); game.pl_can_act = false; this[cap1].gotoAndPlay(("cap_" + YColor()) + "_millflash"); this[cap2].gotoAndPlay(("cap_" + YColor()) + "_millflash"); this[cap3].gotoAndPlay(("cap_" + YColor()) + "_millflash"); } function ActivateRemove(cap, cap_x, cap_y) { trace((((("ActivateRemove: " + cap) + " x: ") + cap_x) + " y: ") + cap_y); var _local5; _local5 = calcRand(3, 5); var _local2; _local2 = 0; while (_local2 < _local5) { this.attachMovie("particle", (((("particle" + _local2) + "") + cap_x) + "") + cap_y, this.getNextHighestDepth()); this[(((("particle" + _local2) + "") + cap_x) + "") + cap_y]._x = cap_x; this[(((("particle" + _local2) + "") + cap_x) + "") + cap_y]._y = cap_y; _local2++; } this[cap].gotoAndPlay(("cap_" + YColor()) + "_removeflash"); } function ActivateGameOver(caps) { var _local4 = ReturnCaps(caps); var _local2; var _local3; var _local5; _local2 = 0; while (_local2 < _local4.length) { _local5 = calcRand(3, 5); _local3 = 0; while (_local3 < _local5) { this.attachMovie("particle", (("particle" + _local2) + "_") + _local3, this.getNextHighestDepth()); this[(("particle" + _local2) + "_") + _local3]._x = this["cap" + _local4[_local2]]._x; this[(("particle" + _local2) + "_") + _local3]._y = this["cap" + _local4[_local2]]._y; this["cap" + _local4[_local2]].gotoAndStop("cap_blank"); _local3++; } _local2++; } } function ActivateNewGame() { var _local3; var _local2; var _local4; var _local5; _local3 = 0; while (_local3 <= game.board_type) { _local2 = 0; while (_local2 <= game.board_type) { if ((game.grid[_local3][_local2] == 1) || (game.grid[_local3][_local2] == 2)) { game.grid[_local3][_local2] == 0; _local5 = calcRand(3, 5); _local4 = 0; while (_local4 < _local5) { this.attachMovie("particle", (((("particle" + _local3) + "_") + _local2) + "_") + _local4, this.getNextHighestDepth()); this[(((("particle" + _local3) + "_") + _local2) + "_") + _local4]._x = this[(("cap" + _local3) + "") + _local2]._x; this[(((("particle" + _local3) + "_") + _local2) + "_") + _local4]._y = this[(("cap" + _local3) + "") + _local2]._y; this[(("cap" + _local3) + "") + _local2].gotoAndStop("cap_blank"); _local4++; } } _local2++; } _local3++; } AI_Think.gotoAndStop(1); this.gotoAndPlay(4); } function CreateMatrix() { game.grid = new Array(game.board_type); var _local2; var _local3; _local2 = 0; while (_local2 <= game.board_type) { game.grid[_local2] = new Array(game.board_type); _local3 = 0; while (_local3 <= game.board_type) { game.grid[_local2][_local3] = 8; _local3++; } _local2++; } game.grid[0][0] = 0; game.grid[2][0] = 0; game.grid[4][0] = 0; game.grid[1][1] = 0; game.grid[2][1] = 0; game.grid[3][1] = 0; game.grid[0][2] = 0; game.grid[1][2] = 0; game.grid[3][2] = 0; game.grid[4][2] = 0; game.grid[1][3] = 0; game.grid[2][3] = 0; game.grid[3][3] = 0; game.grid[0][4] = 0; game.grid[2][4] = 0; game.grid[4][4] = 0; game.caps_pos = new Array(); _local2 = 0; while (_local2 <= game.board_type) { _local3 = 0; while (_local3 <= game.board_type) { if (game.grid[_local2][_local3] == 0) { game.caps_pos.push((_local2 + "") + _local3); } _local3++; } _local2++; } game.mills = new Array(); game.mills[0] = new Array("00", "20", "40"); game.mills[1] = new Array("04", "24", "44"); game.mills[2] = new Array("40", "42", "44"); game.mills[3] = new Array("00", "02", "04"); game.mills[4] = new Array("11", "21", "31"); game.mills[5] = new Array("13", "23", "33"); game.mills[6] = new Array("11", "12", "13"); game.mills[7] = new Array("31", "32", "33"); game.mills_center = new Array(); game.mills_center[0] = "00"; game.mills_center[1] = "40"; game.mills_center[2] = "04"; game.mills_center[3] = "44"; game.caps_bind = {}; _local2 = 0; while (_local2 < game.caps_pos.length) { game.caps_bind["cap" + game.caps_pos[_local2]] = new Array(); var _local8 = game.caps_pos[_local2]; var _local5 = Number(_local8.substr(0, 1)); var _local4 = Number(_local8.substr(1, 1)); var _local1; _local1 = 1; while (_local1 < 7) { if ((_local5 + _local1) > 6) { break; } if ((((_local5 + _local1) == (game.board_type / 2)) && (_local4 == (game.board_type / 2))) && (_local5 == ((game.board_type / 2) - 1))) { break; } if (game.grid[_local5 + _local1][_local4] == 0) { game.caps_bind["cap" + game.caps_pos[_local2]].push((("cap" + (_local5 + _local1)) + "") + _local4); break; } _local1++; } _local1 = 1; while (_local1 < 7) { if ((_local5 - _local1) < 0) { break; } if ((((_local5 - _local1) == (game.board_type / 2)) && (_local4 == (game.board_type / 2))) && (_local5 == ((game.board_type / 2) + 1))) { break; } if (game.grid[_local5 - _local1][_local4] == 0) { game.caps_bind["cap" + game.caps_pos[_local2]].push((("cap" + (_local5 - _local1)) + "") + _local4); break; } _local1++; } _local1 = 1; while (_local1 < 7) { if ((_local4 - _local1) < 0) { break; } if ((((_local4 - _local1) == (game.board_type / 2)) && (_local4 == ((game.board_type / 2) + 1))) && (_local5 == (game.board_type / 2))) { break; } if (game.grid[_local5][_local4 - _local1] == 0) { game.caps_bind["cap" + game.caps_pos[_local2]].push((("cap" + _local5) + "") + (_local4 - _local1)); break; } _local1++; } _local1 = 1; while (_local1 < 7) { if ((_local4 + _local1) > 6) { break; } if ((((_local4 + _local1) == (game.board_type / 2)) && (_local4 == ((game.board_type / 2) - 1))) && (_local5 == (game.board_type / 2))) { break; } if (game.grid[_local5][_local4 + _local1] == 0) { game.caps_bind["cap" + game.caps_pos[_local2]].push((("cap" + _local5) + "") + (_local4 + _local1)); break; } _local1++; } _local2++; } game.caps_mills_bind = {}; var _local7; var _local6; _local2 = 0; while (_local2 < game.caps_pos.length) { game.caps_mills_bind["cap" + game.caps_pos[_local2]] = new Array(); _local7 = game.caps_pos[_local2]; _local3 = 0; while (_local3 < game.mills.length) { _local6 = true; if (((_local7 == game.mills[_local3][0]) || (_local7 == game.mills[_local3][1])) || (_local7 == game.mills[_local3][2])) { k = 0; while (k < game.caps_mills_bind["cap" + game.caps_pos[_local2]].length) { if (game.caps_mills_bind["cap" + game.caps_pos[_local2]][k] == _local3) { _local6 = false; break; } k++; } if (_local6) { game.caps_mills_bind["cap" + game.caps_pos[_local2]].push(_local3); } } _local3++; } _local2++; } } function calcRand(min, max) { return(Math.floor(Math.random() * ((max + 1) - min)) + min); } function EColor_n() { if (game.cur_turn == "white") { return(2); } if (game.cur_turn == "black") { return(1); } } function YColor_n() { if (game.cur_turn == "white") { return(1); } if (game.cur_turn == "black") { return(2); } } function EColor() { if (game.cur_turn == "white") { return("black"); } if (game.cur_turn == "black") { return("white"); } } function YColor() { if (game.cur_turn == "white") { return("white"); } if (game.cur_turn == "black") { return("black"); } } function CurColor_n() { if (game.cur_turn == "white") { return(1); } if (game.cur_turn == "black") { return(2); } } function CurPlayer_tip() { if (game.cur_turn == "white") { if (game.white_control == "AI") { return("Opponent is thinking..."); } if (game.white_control == "PL") { switch (game.cur_act) { case "place" : return("Place a stone"); case "move" : return("Move a stone"); case "remove" : return("Remove opponent's stone"); } } } if (game.cur_turn == "black") { if (game.black_control == "AI") { return("Opponent is thinking..."); } if (game.black_control == "PL") { switch (game.cur_act) { case "place" : return("Place a stone"); case "move" : return("Move a stone"); case "remove" : return("Remove opponent's stone"); } } } } function Capstxt() { if ((game.white_instock == 0) && (game.black_instock == 0)) { this.cap_info.gotoAndStop(2); } else { this.cap_info.white_instock_txt = game.white_instock; this.cap_info.black_instock_txt = game.black_instock; this.cap_info.gotoAndStop(1); } } game = {}; game.board_type = 4; game.black_instock = 6; game.white_instock = 6; game.black_infield = 0; game.white_infield = 0; game.white_mills = 0; game.black_mills = 0; game.diag_move = false; game.caps_move = false; game.white_control = _root.game.white_control; game.black_control = _root.game.black_control; game.cur_act = "place"; game.cur_turn = "white"; game.pl_can_act = true; game.cap_selected = ""; game.winner = 0; CreateMatrix(); Capstxt(); this.Move_delay.stop(); tip_txt = CurPlayer_tip(); if (game.white_control == "AI") { AIControl(); }
Instance of Symbol 24 MovieClip in Symbol 136 MovieClip Frame 1
on (release) { _root.gotoAndStop("main_menu"); } onClipEvent (load) { title = "Menu"; stop(); } on (release, rollOut, dragOut) { gotoAndStop (1); } on (press) { gotoAndStop (3); } on (rollOver) { gotoAndStop (2); }
Instance of Symbol 24 MovieClip in Symbol 136 MovieClip Frame 1
on (release) { _parent.ActivateNewGame(); _parent.gotoAndStop(1); } onClipEvent (load) { title = "Replay"; stop(); } on (release, rollOut, dragOut) { gotoAndStop (1); } on (press) { gotoAndStop (3); } on (rollOver) { gotoAndStop (2); }
Instance of Symbol 128 MovieClip "Move_delay" in Symbol 136 MovieClip Frame 1
/* no clip actions */
Symbol 136 MovieClip Frame 2
stop();
Symbol 136 MovieClip Frame 3
cap_info._alpha = 0;
Symbol 138 MovieClip Frame 1
function AIControl() { var _local2 = "cap00"; switch (game.cur_act) { case "place" : this.AI_Think.gotoAndStop("AI_Think_Place"); break; case "move" : this.AI_Think.gotoAndStop("AI_Think_Move"); break; case "remove" : AI_RemoveCap(); break; case "pass" : } } function AI_RemoveCap() { var _local2 = ReturnCaps(EColor_n()); var _local3 = new Array(); trace("AI_RemoveCap: posCaps: " + _local2); var _local5 = false; var _local4 = 0; var _local1 = 0; _local1 = 0; while (_local1 < _local2.length) { if (CanRemove("cap" + _local2[_local1])) { _local3.push(_local2[_local1]); } _local1++; } trace("AI_RemoveCap: rest_pos_moves" + _local3); if (_local3.length >= 1) { if (_local3.length == 1) { RemoveCap("cap" + _local3[0]); AI_AllCheck(); } else { trace("AI_RemoveCap: \u041F\u044B\u0442\u0430\u0435\u043C\u0441\u044F \u0443\u0434\u0430\u043B\u0438\u0442\u044C"); RemoveCap("cap" + _local2[calcRand(0, _local3.length - 1)]); AI_AllCheck(); } } else { trace("AI_RemoveCap: \u043D\u0435 \u043C\u043E\u0436\u0435\u043C \u043D\u0438\u0447\u0435\u0433\u043E \u0443\u0434\u0430\u043B\u0438\u0442\u044C - \u0431\u0430\u0433\u0430!"); } } function CanRemove(nm) { var _local2 = Number(nm.substr(3, 1)); var _local1 = Number(nm.substr(4, 1)); if ((game.grid[_local2][_local1] == EColor_n()) && (CapNotInMill(nm))) { return(true); } if ((game.grid[_local2][_local1] == EColor_n()) && (game[EColor() + "_infield"] <= (MillsCheck(nm, EColor_n(), false) * 3))) { return(true); } return(false); } function RandomPlace() { var _local4 = game.caps_pos; var _local3 = new Array(); i = 0; while (i < game.caps_pos.length) { var _local2 = Number(game.caps_pos[i].substr(0, 1)); var _local1 = Number(game.caps_pos[i].substr(1, 1)); if (game.grid[_local2][_local1] == 0) { _local3.push(game.caps_pos[i]); } i++; } return(_local3[calcRand(0, _local3.length - 1)]); } function ReturnCaps(color) { var _local5 = game.caps_pos; var _local3 = new Array(); var _local2 = 0; var _local1 = 0; i = 0; while (i < game.caps_pos.length) { _local2 = Number(game.caps_pos[i].substr(0, 1)); _local1 = Number(game.caps_pos[i].substr(1, 1)); if (game.grid[_local2][_local1] == color) { _local3.push(game.caps_pos[i]); } i++; } return(_local3); } function AI_AllCheck() { trace("\u041F\u0415\u0420\u0415\u0428\u041B\u0418 \u0412 \u0410\u041B\u041B \u0427\u0415\u041A!"); trace("AI_AllCheck: mills: " + game[game.cur_turn + "_mills"]); if (game[game.cur_turn + "_mills"] > 0) { game.cur_act = "remove"; trace("--->AI - need to remove enemy caps"); AIControl(); } else { this.Move_delay.gotoAndPlay(1); } } function AI_MillsCount(color) { var _local2; var _local7 = 0; var _local1 = new Array(); _local2 = 0; while (_local2 < game.mills.length) { _local1 = game.mills[_local2]; var _local5 = _local1[0]; var _local4 = _local1[1]; var _local3 = _local1[2]; if (((game.grid[Number(_local5.substr(0, 1))][Number(_local5.substr(1, 1))] == color) && (game.grid[Number(_local4.substr(0, 1))][Number(_local4.substr(1, 1))] == color)) && (game.grid[Number(_local3.substr(0, 1))][Number(_local3.substr(1, 1))] == color)) { _local7++; } _local2++; } return(_local7); } function AI_CanMoveCheck(cap) { var _local1; var _local4; var _local3; _local1 = 0; while (_local1 < game.caps_bind[cap].length) { _local4 = Number(game.caps_bind[cap][_local1].substr(3, 1)); _local3 = Number(game.caps_bind[cap][_local1].substr(4, 1)); if (game.grid[_local4][_local3] == 0) { return(true); } _local1++; } return(false); } function MakeMove(nm) { var _local1 = false; switch (game.cur_act) { case "place" : _local1 = PlaceCap(nm); if (_local1) { MillsCheck(nm, YColor_n(), true); } break; case "move" : _local1 = MoveCap(nm); break; case "remove" : _local1 = RemoveCap(nm); break; case "win_loose" : } if (game.cur_act != "move") { AllCheck(_local1, nm); } Capstxt(); } function PlaceCap(nm) { var _local3 = Number(nm.substr(3, 1)); var _local2 = Number(nm.substr(4, 1)); if ((game.grid[_local3][_local2] == 0) && (game[game.cur_turn + "_instock"] > 0)) { this[nm].gotoAndStop("cap_" + game.cur_turn); game.grid[_local3][_local2] = YColor_n(); game.pl_can_act = false; game[game.cur_turn + "_instock"]--; game[game.cur_turn + "_infield"]++; return(true); } return(false); } function RemoveCap(nm) { var _local4 = Number(nm.substr(3, 1)); var _local3 = Number(nm.substr(4, 1)); if ((game.grid[_local4][_local3] == EColor_n()) && (CapNotInMill(nm))) { ActivateRemove(nm, this[nm]._x, this[nm]._y); game.grid[_local4][_local3] = 0; game[EColor() + "_infield"]--; game[game.cur_turn + "_mills"]--; return(true); } if ((game.grid[_local4][_local3] == EColor_n()) && (game[EColor() + "_infield"] <= (MillsCheck(nm, EColor_n(), false) * 3))) { ActivateRemove(nm, this[nm]._x, this[nm]._y); game.grid[_local4][_local3] = 0; game[EColor() + "_infield"]--; game[game.cur_turn + "_mills"]--; return(true); } return(false); } function CapNotInMill(nm) { var _local5; var _local4 = new Array(); _local5 = 0; while (_local5 < game.mills.length) { _local4 = game.mills[_local5]; var _local3 = _local4[0]; var _local2 = _local4[1]; var _local1 = _local4[2]; if (((game.grid[Number(_local3.substr(0, 1))][Number(_local3.substr(1, 1))] == EColor_n()) && (game.grid[Number(_local2.substr(0, 1))][Number(_local2.substr(1, 1))] == EColor_n())) && (game.grid[Number(_local1.substr(0, 1))][Number(_local1.substr(1, 1))] == EColor_n())) { if (((nm == ("cap" + _local3)) || (nm == ("cap" + _local2))) || (nm == ("cap" + _local1))) { return(false); } } _local5++; } return(true); } function MillsCheck(nm, color, make_count) { var _local5; if (make_count) { game[game.cur_turn + "_mills"] = 0; } var _local8 = 0; var _local4 = new Array(); var _local3 = ""; var _local2 = ""; var _local1 = ""; _local5 = 0; while (_local5 < game.mills.length) { _local4 = game.mills[_local5]; _local3 = _local4[0]; _local2 = _local4[1]; _local1 = _local4[2]; if (((game.grid[Number(_local3.substr(0, 1))][Number(_local3.substr(1, 1))] == color) && (game.grid[Number(_local2.substr(0, 1))][Number(_local2.substr(1, 1))] == color)) && (game.grid[Number(_local1.substr(0, 1))][Number(_local1.substr(1, 1))] == color)) { _local8++; trace(((((((((nm + " ") + "cap") + _local3) + " ") + "cap") + _local2) + " ") + "cap") + _local1); if (((nm == ("cap" + _local3)) || (nm == ("cap" + _local2))) || (nm == ("cap" + _local1))) { if (make_count) { ActivateMill("cap" + _local3, "cap" + _local2, "cap" + _local1); game[game.cur_turn + "_mills"]++; } } } _local5++; } return(_local8); } function MoveCap(nm) { var _local7 = Number(nm.substr(3, 1)); var _local6 = Number(nm.substr(4, 1)); if (game.cap_selected == "") { if (game.grid[_local7][_local6] == YColor_n()) { game.cap_selected = nm; this[nm].eff_select.gotoAndStop(2); return(false); } } else { if (game.grid[_local7][_local6] == YColor_n()) { this[game.cap_selected].eff_select.gotoAndStop(1); this[nm].eff_select.gotoAndStop(2); game.cap_selected = nm; return(false); } if (game.grid[_local7][_local6] == EColor_n()) { this[game.cap_selected].eff_select.gotoAndStop(1); game.cap_selected = ""; return(false); } var _local3; var _local5; var _local4; _local3 = 0; while (_local3 < game.caps_bind[game.cap_selected].length) { if (game.caps_bind[game.cap_selected][_local3] == nm) { _local5 = Number(game.cap_selected.substr(3, 1)); _local4 = Number(game.cap_selected.substr(4, 1)); game.grid[_local7][_local6] = YColor_n(); game.grid[_local5][_local4] = 0; this[game.cap_selected].eff_select.gotoAndStop(1); if (this[game.cap_selected].getDepth() < this[nm].getDepth()) { this[game.cap_selected].swapDepths(this[nm]); } ActivateMoving(game.cap_selected, nm); game.cap_selected = ""; game.pl_can_act = false; return(true); } _local3++; } } } function NextMove() { this.AI_Think.gotoAndStop(1); game.white_mills = 0; game.black_mills = 0; game.cap_selected = ""; game.cur_turn = EColor(); if (game[game.cur_turn + "_instock"] > 0) { game.cur_act = "place"; } if (game[game.cur_turn + "_instock"] == 0) { game.cur_act = "move"; } if (game[game.cur_turn + "_control"] == "AI") { trace("---->AI enabled - AI turn<----"); game.pl_can_act = false; if (!GameOverCheck()) { tip_txt = CurPlayer_tip(); AIControl(); } } else if (game[game.cur_turn + "_control"] == "PL") { trace("--->AI disabled - PL turn<----"); if (!GameOverCheck()) { trace("NEXT MOVE: game.cur_act:" + game.cur_act); tip_txt = CurPlayer_tip(); game.pl_can_act = true; } } } function AllCheck(no_errors, nm) { trace((("AllCheck: " + no_errors) + " ") + nm); if (no_errors) { if (game[game.cur_turn + "_mills"] > 0) { game.cur_act = "remove"; tip_txt = CurPlayer_tip(); } else { this.AI_Think.gotoAndStop(2); this.Move_delay.gotoAndPlay(1); } } } function GameOverCheck() { if ((game[game.cur_turn + "_instock"] == 0) && (game[game.cur_turn + "_infield"] <= 2)) { game.winner = EColor_n(); ActivateGameOver(YColor_n()); this.gotoAndStop(3); return(true); } if (((game[game.cur_turn + "_instock"] == 0) && (game[game.cur_turn + "_infield"] > 0)) && (!CanMoveCheck(CurColor_n()))) { game.winner = EColor_n(); ActivateGameOver(YColor_n()); this.gotoAndStop(3); return(true); } return(false); } function CanMoveCheck(color) { var _local1; var _local2; var _local5; var _local4; var _local3 = new Array(); _local1 = 0; while (_local1 < game.caps_pos.length) { _local5 = Number(game.caps_pos[_local1].substr(0, 1)); _local4 = Number(game.caps_pos[_local1].substr(1, 1)); if (game.grid[_local5][_local4] == color) { _local3.push(game.caps_pos[_local1]); } _local1++; } _local1 = 0; while (_local1 < _local3.length) { _local2 = 0; while (_local2 < game.caps_bind["cap" + _local3[_local1]].length) { _local5 = Number(game.caps_bind["cap" + _local3[_local1]][_local2].substr(3, 1)); _local4 = Number(game.caps_bind["cap" + _local3[_local1]][_local2].substr(4, 1)); if (game.grid[_local5][_local4] == 0) { return(true); } _local2++; } _local1++; } return(false); } function ActivateMoving(cap, tocap) { trace((("ActivateMoving: " + cap) + " to ") + tocap); this[cap].origCap = cap; this[cap].toCap = tocap; this[cap].gotoAndPlay(("cap_" + YColor()) + "_move"); } function ActivateMill(cap1, cap2, cap3) { trace((((("ActivateMill: " + cap1) + " ") + cap2) + " ") + cap3); game.pl_can_act = false; this[cap1].gotoAndPlay(("cap_" + YColor()) + "_millflash"); this[cap2].gotoAndPlay(("cap_" + YColor()) + "_millflash"); this[cap3].gotoAndPlay(("cap_" + YColor()) + "_millflash"); } function ActivateRemove(cap, cap_x, cap_y) { trace((((("ActivateRemove: " + cap) + " x: ") + cap_x) + " y: ") + cap_y); var _local5; _local5 = calcRand(3, 5); var _local2; _local2 = 0; while (_local2 < _local5) { this.attachMovie("particle", (((("particle" + _local2) + "") + cap_x) + "") + cap_y, this.getNextHighestDepth()); this[(((("particle" + _local2) + "") + cap_x) + "") + cap_y]._x = cap_x; this[(((("particle" + _local2) + "") + cap_x) + "") + cap_y]._y = cap_y; _local2++; } this[cap].gotoAndPlay(("cap_" + YColor()) + "_removeflash"); } function ActivateGameOver(caps) { var _local4 = ReturnCaps(caps); var _local2; var _local3; var _local5; _local2 = 0; while (_local2 < _local4.length) { _local5 = calcRand(3, 5); _local3 = 0; while (_local3 < _local5) { this.attachMovie("particle", (("particle" + _local2) + "_") + _local3, this.getNextHighestDepth()); this[(("particle" + _local2) + "_") + _local3]._x = this["cap" + _local4[_local2]]._x; this[(("particle" + _local2) + "_") + _local3]._y = this["cap" + _local4[_local2]]._y; this["cap" + _local4[_local2]].gotoAndStop("cap_blank"); _local3++; } _local2++; } } function ActivateNewGame() { var _local3; var _local2; var _local4; var _local5; _local3 = 0; while (_local3 <= game.board_type) { _local2 = 0; while (_local2 <= game.board_type) { if ((game.grid[_local3][_local2] == 1) || (game.grid[_local3][_local2] == 2)) { game.grid[_local3][_local2] == 0; _local5 = calcRand(3, 5); _local4 = 0; while (_local4 < _local5) { this.attachMovie("particle", (((("particle" + _local3) + "_") + _local2) + "_") + _local4, this.getNextHighestDepth()); this[(((("particle" + _local3) + "_") + _local2) + "_") + _local4]._x = this[(("cap" + _local3) + "") + _local2]._x; this[(((("particle" + _local3) + "_") + _local2) + "_") + _local4]._y = this[(("cap" + _local3) + "") + _local2]._y; this[(("cap" + _local3) + "") + _local2].gotoAndStop("cap_blank"); _local4++; } } _local2++; } _local3++; } AI_Think.gotoAndStop(1); this.gotoAndPlay(4); } function CreateMatrix() { game.grid = new Array(game.board_type); var _local2; var _local3; _local2 = 0; while (_local2 <= game.board_type) { game.grid[_local2] = new Array(game.board_type); _local3 = 0; while (_local3 <= game.board_type) { game.grid[_local2][_local3] = 8; _local3++; } _local2++; } game.grid[0][0] = 0; game.grid[3][0] = 0; game.grid[6][0] = 0; game.grid[1][1] = 0; game.grid[3][1] = 0; game.grid[5][1] = 0; game.grid[2][2] = 0; game.grid[3][2] = 0; game.grid[4][2] = 0; game.grid[0][3] = 0; game.grid[1][3] = 0; game.grid[2][3] = 0; game.grid[4][3] = 0; game.grid[5][3] = 0; game.grid[6][3] = 0; game.grid[2][4] = 0; game.grid[3][4] = 0; game.grid[4][4] = 0; game.grid[1][5] = 0; game.grid[3][5] = 0; game.grid[5][5] = 0; game.grid[0][6] = 0; game.grid[3][6] = 0; game.grid[6][6] = 0; game.caps_pos = new Array(); _local2 = 0; while (_local2 <= game.board_type) { _local3 = 0; while (_local3 <= game.board_type) { if (game.grid[_local2][_local3] == 0) { game.caps_pos.push((_local2 + "") + _local3); } _local3++; } _local2++; } game.mills = new Array(); game.mills[0] = new Array("00", "30", "60"); game.mills[1] = new Array("11", "31", "51"); game.mills[2] = new Array("22", "32", "42"); game.mills[3] = new Array("03", "13", "23"); game.mills[4] = new Array("43", "53", "63"); game.mills[5] = new Array("24", "34", "44"); game.mills[6] = new Array("15", "35", "55"); game.mills[7] = new Array("06", "36", "66"); game.mills[8] = new Array("00", "03", "06"); game.mills[9] = new Array("11", "13", "15"); game.mills[10] = new Array("22", "23", "24"); game.mills[11] = new Array("30", "31", "32"); game.mills[12] = new Array("34", "35", "36"); game.mills[13] = new Array("42", "43", "44"); game.mills[14] = new Array("51", "53", "55"); game.mills[15] = new Array("60", "63", "66"); game.mills_center = new Array(); game.mills_center[1] = "13"; game.mills_center[2] = "31"; game.mills_center[3] = "53"; game.mills_center[4] = "35"; game.caps_bind = {}; _local2 = 0; while (_local2 < game.caps_pos.length) { game.caps_bind["cap" + game.caps_pos[_local2]] = new Array(); var _local8 = game.caps_pos[_local2]; var _local5 = Number(_local8.substr(0, 1)); var _local4 = Number(_local8.substr(1, 1)); var _local1; _local1 = 1; while (_local1 < 7) { if ((_local5 + _local1) > 6) { break; } if ((((_local5 + _local1) == (game.board_type / 2)) && (_local4 == (game.board_type / 2))) && (_local5 == ((game.board_type / 2) - 1))) { break; } if (game.grid[_local5 + _local1][_local4] == 0) { game.caps_bind["cap" + game.caps_pos[_local2]].push((("cap" + (_local5 + _local1)) + "") + _local4); break; } _local1++; } _local1 = 1; while (_local1 < 7) { if ((_local5 - _local1) < 0) { break; } if ((((_local5 - _local1) == (game.board_type / 2)) && (_local4 == (game.board_type / 2))) && (_local5 == ((game.board_type / 2) + 1))) { break; } if (game.grid[_local5 - _local1][_local4] == 0) { game.caps_bind["cap" + game.caps_pos[_local2]].push((("cap" + (_local5 - _local1)) + "") + _local4); break; } _local1++; } _local1 = 1; while (_local1 < 7) { if ((_local4 - _local1) < 0) { break; } if ((((_local4 - _local1) == (game.board_type / 2)) && (_local4 == ((game.board_type / 2) + 1))) && (_local5 == (game.board_type / 2))) { break; } if (game.grid[_local5][_local4 - _local1] == 0) { game.caps_bind["cap" + game.caps_pos[_local2]].push((("cap" + _local5) + "") + (_local4 - _local1)); break; } _local1++; } _local1 = 1; while (_local1 < 7) { if ((_local4 + _local1) > 6) { break; } if ((((_local4 + _local1) == (game.board_type / 2)) && (_local4 == ((game.board_type / 2) - 1))) && (_local5 == (game.board_type / 2))) { break; } if (game.grid[_local5][_local4 + _local1] == 0) { game.caps_bind["cap" + game.caps_pos[_local2]].push((("cap" + _local5) + "") + (_local4 + _local1)); break; } _local1++; } _local2++; } game.caps_mills_bind = {}; var _local7; var _local6; _local2 = 0; while (_local2 < game.caps_pos.length) { game.caps_mills_bind["cap" + game.caps_pos[_local2]] = new Array(); _local7 = game.caps_pos[_local2]; _local3 = 0; while (_local3 < game.mills.length) { _local6 = true; if (((_local7 == game.mills[_local3][0]) || (_local7 == game.mills[_local3][1])) || (_local7 == game.mills[_local3][2])) { k = 0; while (k < game.caps_mills_bind["cap" + game.caps_pos[_local2]].length) { if (game.caps_mills_bind["cap" + game.caps_pos[_local2]][k] == _local3) { _local6 = false; break; } k++; } if (_local6) { game.caps_mills_bind["cap" + game.caps_pos[_local2]].push(_local3); } } _local3++; } _local2++; } } function calcRand(min, max) { return(Math.floor(Math.random() * ((max + 1) - min)) + min); } function EColor_n() { if (game.cur_turn == "white") { return(2); } if (game.cur_turn == "black") { return(1); } } function YColor_n() { if (game.cur_turn == "white") { return(1); } if (game.cur_turn == "black") { return(2); } } function EColor() { if (game.cur_turn == "white") { return("black"); } if (game.cur_turn == "black") { return("white"); } } function YColor() { if (game.cur_turn == "white") { return("white"); } if (game.cur_turn == "black") { return("black"); } } function CurColor_n() { if (game.cur_turn == "white") { return(1); } if (game.cur_turn == "black") { return(2); } } function CurPlayer_tip() { if (game.cur_turn == "white") { if (game.white_control == "AI") { return("Opponent is thinking..."); } if (game.white_control == "PL") { switch (game.cur_act) { case "place" : return("Place a stone"); case "move" : return("Move a stone"); case "remove" : return("Remove opponent's stone"); } } } if (game.cur_turn == "black") { if (game.black_control == "AI") { return("Opponent is thinking..."); } if (game.black_control == "PL") { switch (game.cur_act) { case "place" : return("Place a stone"); case "move" : return("Move a stone"); case "remove" : return("Remove opponent's stone"); } } } } function Capstxt() { if ((game.white_instock == 0) && (game.black_instock == 0)) { this.cap_info.gotoAndStop(2); } else { this.cap_info.white_instock_txt = game.white_instock; this.cap_info.black_instock_txt = game.black_instock; this.cap_info.gotoAndStop(1); } } game = {}; game.board_type = 6; game.black_instock = 9; game.white_instock = 9; game.black_infield = 0; game.white_infield = 0; game.white_mills = 0; game.black_mills = 0; game.diag_move = false; game.caps_move = false; game.white_control = _root.game.white_control; game.black_control = _root.game.black_control; game.cur_act = "place"; game.cur_turn = "white"; game.pl_can_act = true; game.cap_selected = ""; game.winner = 0; CreateMatrix(); Capstxt(); this.Move_delay.stop(); tip_txt = CurPlayer_tip(); if (game.white_control == "AI") { AIControl(); }
Instance of Symbol 128 MovieClip "Move_delay" in Symbol 138 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 24 MovieClip in Symbol 138 MovieClip Frame 1
on (release) { _root.gotoAndStop("main_menu"); } onClipEvent (load) { title = "Menu"; stop(); } on (release, rollOut, dragOut) { gotoAndStop (1); } on (press) { gotoAndStop (3); } on (rollOver) { gotoAndStop (2); }
Instance of Symbol 24 MovieClip in Symbol 138 MovieClip Frame 1
on (release) { _parent.ActivateNewGame(); _parent.gotoAndStop(1); } onClipEvent (load) { title = "Replay"; stop(); } on (release, rollOut, dragOut) { gotoAndStop (1); } on (press) { gotoAndStop (3); } on (rollOver) { gotoAndStop (2); }
Symbol 138 MovieClip Frame 2
stop();
Symbol 138 MovieClip Frame 3
cap_info._alpha = 0;
Symbol 140 MovieClip Frame 1
function AIControl() { var _local2 = "cap00"; switch (game.cur_act) { case "place" : this.AI_Think.gotoAndStop("AI_Think_Place"); break; case "move" : this.AI_Think.gotoAndStop("AI_Think_Move"); break; case "remove" : AI_RemoveCap(); break; case "pass" : } } function AI_RemoveCap() { var _local2 = ReturnCaps(EColor_n()); var _local3 = new Array(); trace("AI_RemoveCap: posCaps: " + _local2); var _local5 = false; var _local4 = 0; var _local1 = 0; _local1 = 0; while (_local1 < _local2.length) { if (CanRemove("cap" + _local2[_local1])) { _local3.push(_local2[_local1]); } _local1++; } trace("AI_RemoveCap: rest_pos_moves" + _local3); if (_local3.length >= 1) { if (_local3.length == 1) { RemoveCap("cap" + _local3[0]); AI_AllCheck(); } else { trace("AI_RemoveCap: \u041F\u044B\u0442\u0430\u0435\u043C\u0441\u044F \u0443\u0434\u0430\u043B\u0438\u0442\u044C"); RemoveCap("cap" + _local2[calcRand(0, _local3.length - 1)]); AI_AllCheck(); } } else { trace("AI_RemoveCap: \u043D\u0435 \u043C\u043E\u0436\u0435\u043C \u043D\u0438\u0447\u0435\u0433\u043E \u0443\u0434\u0430\u043B\u0438\u0442\u044C - \u0431\u0430\u0433\u0430!"); } } function CanRemove(nm) { var _local2 = Number(nm.substr(3, 1)); var _local1 = Number(nm.substr(4, 1)); if ((game.grid[_local2][_local1] == EColor_n()) && (CapNotInMill(nm))) { return(true); } if ((game.grid[_local2][_local1] == EColor_n()) && (game[EColor() + "_infield"] <= (MillsCheck(nm, EColor_n(), false) * 3))) { return(true); } return(false); } function RandomPlace() { var _local4 = game.caps_pos; var _local3 = new Array(); i = 0; while (i < game.caps_pos.length) { var _local2 = Number(game.caps_pos[i].substr(0, 1)); var _local1 = Number(game.caps_pos[i].substr(1, 1)); if (game.grid[_local2][_local1] == 0) { _local3.push(game.caps_pos[i]); } i++; } return(_local3[calcRand(0, _local3.length - 1)]); } function ReturnCaps(color) { var _local5 = game.caps_pos; var _local3 = new Array(); var _local2 = 0; var _local1 = 0; i = 0; while (i < game.caps_pos.length) { _local2 = Number(game.caps_pos[i].substr(0, 1)); _local1 = Number(game.caps_pos[i].substr(1, 1)); if (game.grid[_local2][_local1] == color) { _local3.push(game.caps_pos[i]); } i++; } return(_local3); } function AI_AllCheck() { trace("\u041F\u0415\u0420\u0415\u0428\u041B\u0418 \u0412 \u0410\u041B\u041B \u0427\u0415\u041A!"); trace("AI_AllCheck: mills: " + game[game.cur_turn + "_mills"]); if (game[game.cur_turn + "_mills"] > 0) { game.cur_act = "remove"; trace("--->AI - need to remove enemy caps"); AIControl(); } else { this.Move_delay.gotoAndPlay(1); } } function AI_MillsCount(color) { var _local2; var _local7 = 0; var _local1 = new Array(); _local2 = 0; while (_local2 < game.mills.length) { _local1 = game.mills[_local2]; var _local5 = _local1[0]; var _local4 = _local1[1]; var _local3 = _local1[2]; if (((game.grid[Number(_local5.substr(0, 1))][Number(_local5.substr(1, 1))] == color) && (game.grid[Number(_local4.substr(0, 1))][Number(_local4.substr(1, 1))] == color)) && (game.grid[Number(_local3.substr(0, 1))][Number(_local3.substr(1, 1))] == color)) { _local7++; } _local2++; } return(_local7); } function AI_CanMoveCheck(cap) { var _local1; var _local4; var _local3; _local1 = 0; while (_local1 < game.caps_bind[cap].length) { _local4 = Number(game.caps_bind[cap][_local1].substr(3, 1)); _local3 = Number(game.caps_bind[cap][_local1].substr(4, 1)); if (game.grid[_local4][_local3] == 0) { return(true); } _local1++; } return(false); } function MakeMove(nm) { var _local1 = false; switch (game.cur_act) { case "place" : _local1 = PlaceCap(nm); if (_local1) { MillsCheck(nm, YColor_n(), true); } break; case "move" : _local1 = MoveCap(nm); break; case "remove" : _local1 = RemoveCap(nm); break; case "win_loose" : } if (game.cur_act != "move") { AllCheck(_local1, nm); } Capstxt(); } function PlaceCap(nm) { var _local3 = Number(nm.substr(3, 1)); var _local2 = Number(nm.substr(4, 1)); if ((game.grid[_local3][_local2] == 0) && (game[game.cur_turn + "_instock"] > 0)) { this[nm].gotoAndStop("cap_" + game.cur_turn); game.grid[_local3][_local2] = YColor_n(); game.pl_can_act = false; game[game.cur_turn + "_instock"]--; game[game.cur_turn + "_infield"]++; return(true); } return(false); } function RemoveCap(nm) { var _local4 = Number(nm.substr(3, 1)); var _local3 = Number(nm.substr(4, 1)); if ((game.grid[_local4][_local3] == EColor_n()) && (CapNotInMill(nm))) { ActivateRemove(nm, this[nm]._x, this[nm]._y); game.grid[_local4][_local3] = 0; game[EColor() + "_infield"]--; game[game.cur_turn + "_mills"]--; return(true); } if ((game.grid[_local4][_local3] == EColor_n()) && (game[EColor() + "_infield"] <= (MillsCheck(nm, EColor_n(), false) * 3))) { ActivateRemove(nm, this[nm]._x, this[nm]._y); game.grid[_local4][_local3] = 0; game[EColor() + "_infield"]--; game[game.cur_turn + "_mills"]--; return(true); } return(false); } function CapNotInMill(nm) { var _local5; var _local4 = new Array(); _local5 = 0; while (_local5 < game.mills.length) { _local4 = game.mills[_local5]; var _local3 = _local4[0]; var _local2 = _local4[1]; var _local1 = _local4[2]; if (((game.grid[Number(_local3.substr(0, 1))][Number(_local3.substr(1, 1))] == EColor_n()) && (game.grid[Number(_local2.substr(0, 1))][Number(_local2.substr(1, 1))] == EColor_n())) && (game.grid[Number(_local1.substr(0, 1))][Number(_local1.substr(1, 1))] == EColor_n())) { if (((nm == ("cap" + _local3)) || (nm == ("cap" + _local2))) || (nm == ("cap" + _local1))) { return(false); } } _local5++; } return(true); } function MillsCheck(nm, color, make_count) { var _local5; if (make_count) { game[game.cur_turn + "_mills"] = 0; } var _local8 = 0; var _local4 = new Array(); var _local3 = ""; var _local2 = ""; var _local1 = ""; _local5 = 0; while (_local5 < game.mills.length) { _local4 = game.mills[_local5]; _local3 = _local4[0]; _local2 = _local4[1]; _local1 = _local4[2]; if (((game.grid[Number(_local3.substr(0, 1))][Number(_local3.substr(1, 1))] == color) && (game.grid[Number(_local2.substr(0, 1))][Number(_local2.substr(1, 1))] == color)) && (game.grid[Number(_local1.substr(0, 1))][Number(_local1.substr(1, 1))] == color)) { _local8++; trace(((((((((nm + " ") + "cap") + _local3) + " ") + "cap") + _local2) + " ") + "cap") + _local1); if (((nm == ("cap" + _local3)) || (nm == ("cap" + _local2))) || (nm == ("cap" + _local1))) { if (make_count) { ActivateMill("cap" + _local3, "cap" + _local2, "cap" + _local1); game[game.cur_turn + "_mills"]++; } } } _local5++; } return(_local8); } function MoveCap(nm) { var _local7 = Number(nm.substr(3, 1)); var _local6 = Number(nm.substr(4, 1)); if (game.cap_selected == "") { if (game.grid[_local7][_local6] == YColor_n()) { game.cap_selected = nm; this[nm].eff_select.gotoAndStop(2); return(false); } } else { if (game.grid[_local7][_local6] == YColor_n()) { this[game.cap_selected].eff_select.gotoAndStop(1); this[nm].eff_select.gotoAndStop(2); game.cap_selected = nm; return(false); } if (game.grid[_local7][_local6] == EColor_n()) { this[game.cap_selected].eff_select.gotoAndStop(1); game.cap_selected = ""; return(false); } var _local3; var _local5; var _local4; _local3 = 0; while (_local3 < game.caps_bind[game.cap_selected].length) { if (game.caps_bind[game.cap_selected][_local3] == nm) { _local5 = Number(game.cap_selected.substr(3, 1)); _local4 = Number(game.cap_selected.substr(4, 1)); game.grid[_local7][_local6] = YColor_n(); game.grid[_local5][_local4] = 0; this[game.cap_selected].eff_select.gotoAndStop(1); if (this[game.cap_selected].getDepth() < this[nm].getDepth()) { this[game.cap_selected].swapDepths(this[nm]); } ActivateMoving(game.cap_selected, nm); game.cap_selected = ""; game.pl_can_act = false; return(true); } _local3++; } } } function NextMove() { this.AI_Think.gotoAndStop(1); game.white_mills = 0; game.black_mills = 0; game.cap_selected = ""; game.cur_turn = EColor(); if (game[game.cur_turn + "_instock"] > 0) { game.cur_act = "place"; } if (game[game.cur_turn + "_instock"] == 0) { game.cur_act = "move"; } if (game[game.cur_turn + "_control"] == "AI") { trace("---->AI enabled - AI turn<----"); game.pl_can_act = false; if (!GameOverCheck()) { tip_txt = CurPlayer_tip(); AIControl(); } } else if (game[game.cur_turn + "_control"] == "PL") { trace("--->AI disabled - PL turn<----"); if (!GameOverCheck()) { trace("NEXT MOVE: game.cur_act:" + game.cur_act); tip_txt = CurPlayer_tip(); game.pl_can_act = true; } } } function AllCheck(no_errors, nm) { trace((("AllCheck: " + no_errors) + " ") + nm); if (no_errors) { if (game[game.cur_turn + "_mills"] > 0) { game.cur_act = "remove"; tip_txt = CurPlayer_tip(); } else { this.AI_Think.gotoAndStop(2); this.Move_delay.gotoAndPlay(1); } } } function GameOverCheck() { if ((game[game.cur_turn + "_instock"] == 0) && (game[game.cur_turn + "_infield"] <= 2)) { game.winner = EColor_n(); ActivateGameOver(YColor_n()); this.gotoAndStop(3); return(true); } if (((game[game.cur_turn + "_instock"] == 0) && (game[game.cur_turn + "_infield"] > 0)) && (!CanMoveCheck(CurColor_n()))) { game.winner = EColor_n(); ActivateGameOver(YColor_n()); this.gotoAndStop(3); return(true); } return(false); } function CanMoveCheck(color) { var _local1; var _local2; var _local5; var _local4; var _local3 = new Array(); _local1 = 0; while (_local1 < game.caps_pos.length) { _local5 = Number(game.caps_pos[_local1].substr(0, 1)); _local4 = Number(game.caps_pos[_local1].substr(1, 1)); if (game.grid[_local5][_local4] == color) { _local3.push(game.caps_pos[_local1]); } _local1++; } _local1 = 0; while (_local1 < _local3.length) { _local2 = 0; while (_local2 < game.caps_bind["cap" + _local3[_local1]].length) { _local5 = Number(game.caps_bind["cap" + _local3[_local1]][_local2].substr(3, 1)); _local4 = Number(game.caps_bind["cap" + _local3[_local1]][_local2].substr(4, 1)); if (game.grid[_local5][_local4] == 0) { return(true); } _local2++; } _local1++; } return(false); } function ActivateMoving(cap, tocap) { trace((("ActivateMoving: " + cap) + " to ") + tocap); this[cap].origCap = cap; this[cap].toCap = tocap; this[cap].gotoAndPlay(("cap_" + YColor()) + "_move"); } function ActivateMill(cap1, cap2, cap3) { trace((((("ActivateMill: " + cap1) + " ") + cap2) + " ") + cap3); game.pl_can_act = false; this[cap1].gotoAndPlay(("cap_" + YColor()) + "_millflash"); this[cap2].gotoAndPlay(("cap_" + YColor()) + "_millflash"); this[cap3].gotoAndPlay(("cap_" + YColor()) + "_millflash"); } function ActivateRemove(cap, cap_x, cap_y) { trace((((("ActivateRemove: " + cap) + " x: ") + cap_x) + " y: ") + cap_y); var _local5; _local5 = calcRand(3, 5); var _local2; _local2 = 0; while (_local2 < _local5) { this.attachMovie("particle", (((("particle" + _local2) + "") + cap_x) + "") + cap_y, this.getNextHighestDepth()); this[(((("particle" + _local2) + "") + cap_x) + "") + cap_y]._x = cap_x; this[(((("particle" + _local2) + "") + cap_x) + "") + cap_y]._y = cap_y; _local2++; } this[cap].gotoAndPlay(("cap_" + YColor()) + "_removeflash"); } function ActivateGameOver(caps) { var _local4 = ReturnCaps(caps); var _local2; var _local3; var _local5; _local2 = 0; while (_local2 < _local4.length) { _local5 = calcRand(3, 5); _local3 = 0; while (_local3 < _local5) { this.attachMovie("particle", (("particle" + _local2) + "_") + _local3, this.getNextHighestDepth()); this[(("particle" + _local2) + "_") + _local3]._x = this["cap" + _local4[_local2]]._x; this[(("particle" + _local2) + "_") + _local3]._y = this["cap" + _local4[_local2]]._y; this["cap" + _local4[_local2]].gotoAndStop("cap_blank"); _local3++; } _local2++; } } function ActivateNewGame() { var _local3; var _local2; var _local4; var _local5; _local3 = 0; while (_local3 <= game.board_type) { _local2 = 0; while (_local2 <= game.board_type) { if ((game.grid[_local3][_local2] == 1) || (game.grid[_local3][_local2] == 2)) { game.grid[_local3][_local2] == 0; _local5 = calcRand(3, 5); _local4 = 0; while (_local4 < _local5) { this.attachMovie("particle", (((("particle" + _local3) + "_") + _local2) + "_") + _local4, this.getNextHighestDepth()); this[(((("particle" + _local3) + "_") + _local2) + "_") + _local4]._x = this[(("cap" + _local3) + "") + _local2]._x; this[(((("particle" + _local3) + "_") + _local2) + "_") + _local4]._y = this[(("cap" + _local3) + "") + _local2]._y; this[(("cap" + _local3) + "") + _local2].gotoAndStop("cap_blank"); _local4++; } } _local2++; } _local3++; } AI_Think.gotoAndStop(1); this.gotoAndPlay(4); } function CreateMatrix() { game.grid = new Array(game.board_type); var _local2; var _local3; _local2 = 0; while (_local2 <= game.board_type) { game.grid[_local2] = new Array(game.board_type); _local3 = 0; while (_local3 <= game.board_type) { game.grid[_local2][_local3] = 8; _local3++; } _local2++; } game.grid[0][0] = 0; game.grid[0][1] = 0; game.grid[0][2] = 0; game.grid[1][0] = 0; game.grid[1][1] = 0; game.grid[1][2] = 0; game.grid[2][0] = 0; game.grid[2][1] = 0; game.grid[2][2] = 0; game.caps_pos = new Array(); _local2 = 0; while (_local2 <= game.board_type) { _local3 = 0; while (_local3 <= game.board_type) { if (game.grid[_local2][_local3] == 0) { game.caps_pos.push((_local2 + "") + _local3); } _local3++; } _local2++; } game.mills = new Array(); game.mills[0] = new Array("00", "01", "02"); game.mills[1] = new Array("10", "11", "12"); game.mills[2] = new Array("20", "21", "22"); game.mills[3] = new Array("00", "10", "20"); game.mills[4] = new Array("01", "11", "21"); game.mills[5] = new Array("02", "12", "22"); game.mills_center = new Array(); game.mills_center[0] = "00"; game.mills_center[1] = "20"; game.mills_center[2] = "02"; game.mills_center[3] = "22"; game.caps_bind = {}; _local2 = 0; while (_local2 < game.caps_pos.length) { game.caps_bind["cap" + game.caps_pos[_local2]] = new Array(); var _local8 = game.caps_pos[_local2]; var _local5 = Number(_local8.substr(0, 1)); var _local4 = Number(_local8.substr(1, 1)); var _local1; _local1 = 1; while (_local1 < 7) { if ((_local5 + _local1) > 6) { break; } if (game.grid[_local5 + _local1][_local4] == 0) { game.caps_bind["cap" + game.caps_pos[_local2]].push((("cap" + (_local5 + _local1)) + "") + _local4); break; } _local1++; } _local1 = 1; while (_local1 < 7) { if ((_local5 - _local1) < 0) { break; } if (game.grid[_local5 - _local1][_local4] == 0) { game.caps_bind["cap" + game.caps_pos[_local2]].push((("cap" + (_local5 - _local1)) + "") + _local4); break; } _local1++; } _local1 = 1; while (_local1 < 7) { if ((_local4 - _local1) < 0) { break; } if (game.grid[_local5][_local4 - _local1] == 0) { game.caps_bind["cap" + game.caps_pos[_local2]].push((("cap" + _local5) + "") + (_local4 - _local1)); break; } _local1++; } _local1 = 1; while (_local1 < 7) { if ((_local4 + _local1) > 6) { break; } if (game.grid[_local5][_local4 + _local1] == 0) { game.caps_bind["cap" + game.caps_pos[_local2]].push((("cap" + _local5) + "") + (_local4 + _local1)); break; } _local1++; } _local2++; } game.caps_mills_bind = {}; var _local7; var _local6; _local2 = 0; while (_local2 < game.caps_pos.length) { game.caps_mills_bind["cap" + game.caps_pos[_local2]] = new Array(); _local7 = game.caps_pos[_local2]; _local3 = 0; while (_local3 < game.mills.length) { _local6 = true; if (((_local7 == game.mills[_local3][0]) || (_local7 == game.mills[_local3][1])) || (_local7 == game.mills[_local3][2])) { k = 0; while (k < game.caps_mills_bind["cap" + game.caps_pos[_local2]].length) { if (game.caps_mills_bind["cap" + game.caps_pos[_local2]][k] == _local3) { _local6 = false; break; } k++; } if (_local6) { game.caps_mills_bind["cap" + game.caps_pos[_local2]].push(_local3); } } _local3++; } _local2++; } } function calcRand(min, max) { return(Math.floor(Math.random() * ((max + 1) - min)) + min); } function EColor_n() { if (game.cur_turn == "white") { return(2); } if (game.cur_turn == "black") { return(1); } } function YColor_n() { if (game.cur_turn == "white") { return(1); } if (game.cur_turn == "black") { return(2); } } function EColor() { if (game.cur_turn == "white") { return("black"); } if (game.cur_turn == "black") { return("white"); } } function YColor() { if (game.cur_turn == "white") { return("white"); } if (game.cur_turn == "black") { return("black"); } } function CurColor_n() { if (game.cur_turn == "white") { return(1); } if (game.cur_turn == "black") { return(2); } } function CurPlayer_tip() { if (game.cur_turn == "white") { if (game.white_control == "AI") { return("Opponent is thinking..."); } if (game.white_control == "PL") { switch (game.cur_act) { case "place" : return("Place a stone"); case "move" : return("Move a stone"); case "remove" : return("Remove opponent's stone"); } } } if (game.cur_turn == "black") { if (game.black_control == "AI") { return("Opponent is thinking..."); } if (game.black_control == "PL") { switch (game.cur_act) { case "place" : return("Place a stone"); case "move" : return("Move a stone"); case "remove" : return("Remove opponent's stone"); } } } } function Capstxt() { if ((game.white_instock == 0) && (game.black_instock == 0)) { this.cap_info.gotoAndStop(2); } else { this.cap_info.white_instock_txt = game.white_instock; this.cap_info.black_instock_txt = game.black_instock; this.cap_info.gotoAndStop(1); } } game = {}; game.board_type = 2; game.black_instock = 3; game.white_instock = 3; game.black_infield = 0; game.white_infield = 0; game.white_mills = 0; game.black_mills = 0; game.diag_move = false; game.caps_move = false; game.white_control = _root.game.white_control; game.black_control = _root.game.black_control; game.cur_act = "place"; game.cur_turn = "white"; game.pl_can_act = true; game.cap_selected = ""; game.winner = 0; CreateMatrix(); Capstxt(); this.Move_delay.stop(); tip_txt = CurPlayer_tip(); if (game.white_control == "AI") { AIControl(); }
Instance of Symbol 128 MovieClip "Move_delay" in Symbol 140 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 24 MovieClip in Symbol 140 MovieClip Frame 1
on (release) { _root.gotoAndStop("main_menu"); } onClipEvent (load) { title = "Menu"; stop(); } on (release, rollOut, dragOut) { gotoAndStop (1); } on (press) { gotoAndStop (3); } on (rollOver) { gotoAndStop (2); }
Instance of Symbol 24 MovieClip in Symbol 140 MovieClip Frame 1
on (release) { _parent.ActivateNewGame(); _parent.gotoAndStop(1); } onClipEvent (load) { title = "Replay"; stop(); } on (release, rollOut, dragOut) { gotoAndStop (1); } on (press) { gotoAndStop (3); } on (rollOver) { gotoAndStop (2); }
Symbol 140 MovieClip Frame 2
stop();

Library Items

Symbol 1 GraphicUsed by:2
Symbol 2 MovieClipUses:1Used by:3
Symbol 3 MovieClip [particle]Uses:2
Symbol 4 GraphicUsed by:Timeline
Symbol 5 GraphicUsed by:6
Symbol 6 MovieClipUses:5Used by:7
Symbol 7 MovieClipUses:6Used by:8
Symbol 8 MovieClipUses:7Used by:14
Symbol 9 GraphicUsed by:14
Symbol 10 GraphicUsed by:11
Symbol 11 MovieClipUses:10Used by:14
Symbol 12 FontUsed by:13 21 22 122 123 133 137 139
Symbol 13 EditableTextUses:12Used by:14
Symbol 14 MovieClipUses:8 9 11 13Used by:Timeline
Symbol 15 GraphicUsed by:Timeline
Symbol 16 BitmapUsed by:17
Symbol 17 GraphicUses:16Used by:18
Symbol 18 MovieClipUses:17Used by:Timeline
Symbol 19 VideoUsed by:25
Symbol 20 FontUsed by:21 22 62 63 95 97 108 110 111 113 115 118 122 123 133 134 137 139
Symbol 21 EditableTextUses:12 20Used by:24
Symbol 22 EditableTextUses:12 20Used by:24
Symbol 23 GraphicUsed by:24
Symbol 24 MovieClipUses:21 22 23Used by:25 99 114 121 136 138 140
Symbol 25 MovieClipUses:19 24Used by:Timeline
Symbol 26 VideoUsed by:37
Symbol 27 GraphicUsed by:28 46 49 52 59
Symbol 28 MovieClipUses:27Used by:37
Symbol 29 GraphicUsed by:31
Symbol 30 GraphicUsed by:31
Symbol 31 MovieClipUses:29 30Used by:37
Symbol 32 GraphicUsed by:33
Symbol 33 MovieClipUses:32Used by:36
Symbol 34 GraphicUsed by:35 67 128
Symbol 35 MovieClipUses:34Used by:36
Symbol 36 MovieClipUses:33 35Used by:37
Symbol 37 MovieClipUses:26 28 31 36Used by:Timeline
Symbol 38 Sound [main_sound]Used by:Timeline
Symbol 39 BitmapUsed by:40
Symbol 40 GraphicUses:39Used by:Timeline
Symbol 41 GraphicUsed by:42
Symbol 42 MovieClipUses:41Used by:43
Symbol 43 MovieClipUses:42Used by:Timeline
Symbol 44 GraphicUsed by:45 46
Symbol 45 MovieClipUses:44Used by:46
Symbol 46 ButtonUses:27 45 44Used by:53
Symbol 47 GraphicUsed by:48 49
Symbol 48 MovieClipUses:47Used by:49
Symbol 49 ButtonUses:27 48 47Used by:53
Symbol 50 GraphicUsed by:51 52
Symbol 51 MovieClipUses:50Used by:52
Symbol 52 ButtonUses:27 51 50Used by:53
Symbol 53 MovieClipUses:46 49 52Used by:56
Symbol 54 GraphicUsed by:55
Symbol 55 MovieClipUses:54Used by:56
Symbol 56 MovieClipUses:53 55Used by:Timeline
Symbol 57 GraphicUsed by:58
Symbol 58 MovieClipUses:57Used by:59
Symbol 59 MovieClipUses:27 58Used by:99 114
Symbol 60 GraphicUsed by:61
Symbol 61 MovieClipUses:60Used by:99 114 121 136 138 140
Symbol 62 TextUses:20Used by:99
Symbol 63 TextUses:20Used by:99
Symbol 64 GraphicUsed by:65
Symbol 65 MovieClipUses:64Used by:94 96 98 107 136
Symbol 66 GraphicUsed by:68 76 92
Symbol 67 MovieClipUses:34Used by:68 92
Symbol 68 MovieClipUses:66 67Used by:92 94 96 98
Symbol 69 GraphicUsed by:70
Symbol 70 MovieClipUses:69Used by:92 94 96 98
Symbol 71 GraphicUsed by:94 96
Symbol 72 GraphicUsed by:94 96
Symbol 73 BitmapUsed by:74
Symbol 74 GraphicUses:73Used by:75 96 98
Symbol 75 MovieClipUses:74Used by:76 92 94 96 112 124
Symbol 76 MovieClipUses:66 75Used by:92
Symbol 77 ShapeTweeningUsed by:84
Symbol 78 GraphicUsed by:84
Symbol 79 ShapeTweeningUsed by:84
Symbol 80 GraphicUsed by:84
Symbol 81 GraphicUsed by:84
Symbol 82 GraphicUsed by:84
Symbol 83 GraphicUsed by:84
Symbol 84 MovieClipUses:77 78 79 80 81 82 83Used by:92
Symbol 85 SoundUsed by:92
Symbol 86 BitmapUsed by:87
Symbol 87 GraphicUses:86Used by:88
Symbol 88 MovieClipUses:87Used by:92 94 96 98 112 124
Symbol 89 SoundUsed by:92
Symbol 90 SoundUsed by:92 94
Symbol 91 SoundUsed by:92
Symbol 92 MovieClipUses:68 70 76 75 84 85 88 89 66 67 90 91Used by:94 135 136 138 140
Symbol 93 GraphicUsed by:94 96
Symbol 94 MovieClipUses:65 68 70 71 72 92 93 75 90 88Used by:99
Symbol 95 TextUses:20Used by:99
Symbol 96 MovieClipUses:65 68 70 88 74 71 72 75 93Used by:99
Symbol 97 TextUses:20Used by:99
Symbol 98 MovieClipUses:65 68 70 74 88Used by:99
Symbol 99 MovieClipUses:24 59 61 62 63 94 95 96 97 98Used by:Timeline
Symbol 100 Font
Symbol 101 TextUsed by:Timeline
Symbol 102 GraphicUsed by:103
Symbol 103 MovieClipUses:102Used by:107 138
Symbol 104 GraphicUsed by:105
Symbol 105 MovieClipUses:104Used by:107 140
Symbol 106 GraphicUsed by:107
Symbol 107 MovieClipUses:65 103 105 106Used by:114
Symbol 108 TextUses:20Used by:114
Symbol 109 GraphicUsed by:112
Symbol 110 TextUses:20Used by:112
Symbol 111 TextUses:20Used by:112
Symbol 112 MovieClipUses:75 109 110 88 111Used by:114
Symbol 113 TextUses:20Used by:114
Symbol 114 MovieClipUses:24 59 61 107 108 112 113Used by:Timeline
Symbol 115 TextUses:20Used by:121
Symbol 116 BitmapUsed by:117
Symbol 117 GraphicUses:116Used by:119 120
Symbol 118 TextUses:20Used by:120
Symbol 119 MovieClipUses:117Used by:120
Symbol 120 MovieClipUses:117 118 119Used by:121
Symbol 121 MovieClipUses:24 115 61 120Used by:Timeline
Symbol 122 EditableTextUses:12 20Used by:124
Symbol 123 EditableTextUses:12 20Used by:124
Symbol 124 MovieClipUses:122 123 88 75Used by:136 138 140
Symbol 125 GraphicUsed by:128
Symbol 126 ShapeTweeningUsed by:128
Symbol 127 GraphicUsed by:128
Symbol 128 MovieClipUses:125 126 127 34Used by:136 138 140
Symbol 129 GraphicUsed by:132
Symbol 130 GraphicUsed by:131
Symbol 131 MovieClipUses:130Used by:132
Symbol 132 MovieClipUses:129 131Used by:136 138 140
Symbol 133 EditableTextUses:12 20Used by:136
Symbol 134 EditableTextUses:20Used by:135
Symbol 135 MovieClipUses:92 134Used by:136 138 140
Symbol 136 MovieClipUses:65 92 124 24 61 128 132 133 135Used by:Timeline
Symbol 137 EditableTextUses:12 20Used by:138
Symbol 138 MovieClipUses:103 92 124 128 132 24 61 137 135Used by:Timeline
Symbol 139 EditableTextUses:12 20Used by:140
Symbol 140 MovieClipUses:105 92 124 128 132 24 61 139 135Used by:Timeline

Instance Names

"preloader"Frame 1Symbol 14 MovieClip
"ms"Symbol 8 MovieClip Frame 1Symbol 7 MovieClip
"m"Symbol 8 MovieClip Frame 1Symbol 7 MovieClip
"pr"Symbol 14 MovieClip Frame 1Symbol 11 MovieClip
"line"Symbol 36 MovieClip Frame 1Symbol 33 MovieClip
"sound_control"Symbol 37 MovieClip Frame 21Symbol 31 MovieClip
"volume_control"Symbol 37 MovieClip Frame 21Symbol 36 MovieClip
"eff_select"Symbol 92 MovieClip Frame 2Symbol 76 MovieClip
"board_select"Symbol 114 MovieClip Frame 1Symbol 107 MovieClip
"cl_check1"Symbol 114 MovieClip Frame 1Symbol 112 MovieClip
"cl_check2"Symbol 114 MovieClip Frame 1Symbol 112 MovieClip
"lamp_light"Symbol 132 MovieClip Frame 2Symbol 131 MovieClip
"winner_color"Symbol 135 MovieClip Frame 1Symbol 92 MovieClip
"cap00"Symbol 136 MovieClip Frame 1Symbol 92 MovieClip
"cap20"Symbol 136 MovieClip Frame 1Symbol 92 MovieClip
"cap40"Symbol 136 MovieClip Frame 1Symbol 92 MovieClip
"cap11"Symbol 136 MovieClip Frame 1Symbol 92 MovieClip
"cap21"Symbol 136 MovieClip Frame 1Symbol 92 MovieClip
"cap31"Symbol 136 MovieClip Frame 1Symbol 92 MovieClip
"cap02"Symbol 136 MovieClip Frame 1Symbol 92 MovieClip
"cap12"Symbol 136 MovieClip Frame 1Symbol 92 MovieClip
"cap32"Symbol 136 MovieClip Frame 1Symbol 92 MovieClip
"cap42"Symbol 136 MovieClip Frame 1Symbol 92 MovieClip
"cap23"Symbol 136 MovieClip Frame 1Symbol 92 MovieClip
"cap04"Symbol 136 MovieClip Frame 1Symbol 92 MovieClip
"cap24"Symbol 136 MovieClip Frame 1Symbol 92 MovieClip
"cap44"Symbol 136 MovieClip Frame 1Symbol 92 MovieClip
"cap13"Symbol 136 MovieClip Frame 1Symbol 92 MovieClip
"cap33"Symbol 136 MovieClip Frame 1Symbol 92 MovieClip
"cap_info"Symbol 136 MovieClip Frame 1Symbol 124 MovieClip
"Move_delay"Symbol 136 MovieClip Frame 1Symbol 128 MovieClip
"AI_Think"Symbol 136 MovieClip Frame 1Symbol 132 MovieClip
"cap00"Symbol 138 MovieClip Frame 1Symbol 92 MovieClip
"cap30"Symbol 138 MovieClip Frame 1Symbol 92 MovieClip
"cap60"Symbol 138 MovieClip Frame 1Symbol 92 MovieClip
"cap11"Symbol 138 MovieClip Frame 1Symbol 92 MovieClip
"cap31"Symbol 138 MovieClip Frame 1Symbol 92 MovieClip
"cap51"Symbol 138 MovieClip Frame 1Symbol 92 MovieClip
"cap22"Symbol 138 MovieClip Frame 1Symbol 92 MovieClip
"cap32"Symbol 138 MovieClip Frame 1Symbol 92 MovieClip
"cap42"Symbol 138 MovieClip Frame 1Symbol 92 MovieClip
"cap03"Symbol 138 MovieClip Frame 1Symbol 92 MovieClip
"cap13"Symbol 138 MovieClip Frame 1Symbol 92 MovieClip
"cap23"Symbol 138 MovieClip Frame 1Symbol 92 MovieClip
"cap43"Symbol 138 MovieClip Frame 1Symbol 92 MovieClip
"cap53"Symbol 138 MovieClip Frame 1Symbol 92 MovieClip
"cap63"Symbol 138 MovieClip Frame 1Symbol 92 MovieClip
"cap34"Symbol 138 MovieClip Frame 1Symbol 92 MovieClip
"cap15"Symbol 138 MovieClip Frame 1Symbol 92 MovieClip
"cap35"Symbol 138 MovieClip Frame 1Symbol 92 MovieClip
"cap55"Symbol 138 MovieClip Frame 1Symbol 92 MovieClip
"cap06"Symbol 138 MovieClip Frame 1Symbol 92 MovieClip
"cap36"Symbol 138 MovieClip Frame 1Symbol 92 MovieClip
"cap66"Symbol 138 MovieClip Frame 1Symbol 92 MovieClip
"cap24"Symbol 138 MovieClip Frame 1Symbol 92 MovieClip
"cap44"Symbol 138 MovieClip Frame 1Symbol 92 MovieClip
"cap_info"Symbol 138 MovieClip Frame 1Symbol 124 MovieClip
"Move_delay"Symbol 138 MovieClip Frame 1Symbol 128 MovieClip
"AI_Think"Symbol 138 MovieClip Frame 1Symbol 132 MovieClip
"cap00"Symbol 140 MovieClip Frame 1Symbol 92 MovieClip
"cap10"Symbol 140 MovieClip Frame 1Symbol 92 MovieClip
"cap20"Symbol 140 MovieClip Frame 1Symbol 92 MovieClip
"cap01"Symbol 140 MovieClip Frame 1Symbol 92 MovieClip
"cap21"Symbol 140 MovieClip Frame 1Symbol 92 MovieClip
"cap12"Symbol 140 MovieClip Frame 1Symbol 92 MovieClip
"cap02"Symbol 140 MovieClip Frame 1Symbol 92 MovieClip
"cap22"Symbol 140 MovieClip Frame 1Symbol 92 MovieClip
"cap11"Symbol 140 MovieClip Frame 1Symbol 92 MovieClip
"cap_info"Symbol 140 MovieClip Frame 1Symbol 124 MovieClip
"Move_delay"Symbol 140 MovieClip Frame 1Symbol 128 MovieClip
"AI_Think"Symbol 140 MovieClip Frame 1Symbol 132 MovieClip

Special Tags

FileAttributes (69)Timeline Frame 1Access network only, Metadata not present, AS1/AS2.
ScriptLimits (65)Timeline Frame 1MaxRecursionDepth: 256, ScriptTimeout: 30 seconds
ExportAssets (56)Timeline Frame 1Symbol 3 as "particle"
ExportAssets (56)Timeline Frame 4Symbol 38 as "main_sound"

Labels

"video_clip"Frame 4
"main_menu"Frame 5
"help_menu"Frame 6
"choose_menu"Frame 7
"credits_menu"Frame 8
"options_menu"Frame 9
"board_6"Frame 10
"board_9"Frame 11
"board_3"Frame 12
"music"Symbol 37 MovieClip Frame 21
"cap_blank"Symbol 92 MovieClip Frame 1
"cap_white"Symbol 92 MovieClip Frame 2
"cap_black"Symbol 92 MovieClip Frame 3
"poss_move"Symbol 92 MovieClip Frame 4
"cap_white_move"Symbol 92 MovieClip Frame 7
"cap_black_move"Symbol 92 MovieClip Frame 11
"cap_white_millflash"Symbol 92 MovieClip Frame 15
"cap_black_millflash"Symbol 92 MovieClip Frame 35
"cap_white_removeflash"Symbol 92 MovieClip Frame 55
"cap_black_removeflash"Symbol 92 MovieClip Frame 67
"mouse_select_white"Symbol 112 MovieClip Frame 1
"mouse_select_black"Symbol 112 MovieClip Frame 2
"white_selected"Symbol 112 MovieClip Frame 3
"black_selected"Symbol 112 MovieClip Frame 4
"white_deselected"Symbol 112 MovieClip Frame 5
"black_deselected"Symbol 112 MovieClip Frame 6
"AI_Think_Place"Symbol 132 MovieClip Frame 3
"AI_Think_Pace_VirtStep"Symbol 132 MovieClip Frame 11
"Virt_Place_Back"Symbol 132 MovieClip Frame 25
"AI_Think_Move"Symbol 132 MovieClip Frame 46
"AI_Think_Move_VirtStep"Symbol 132 MovieClip Frame 56
"Virt_Move_Back"Symbol 132 MovieClip Frame 71

Dynamic Text Variables

prtxtSymbol 13 EditableText"  0%"
titleSymbol 21 EditableText"<p align="center"><font face="Verdana" size="16" color="#ffffff" letterSpacing="0.000000" kerning="1">______</font></p>"
titleSymbol 22 EditableText"<p align="center"><font face="Verdana" size="16" color="#ffffff" letterSpacing="0.000000" kerning="1">______</font></p>"
white_instock_txtSymbol 122 EditableText"<p align="left"><font face="Verdana" size="15" color="#ffffff" letterSpacing="0.000000" kerning="1">9</font></p>"
black_instock_txtSymbol 123 EditableText"<p align="left"><font face="Verdana" size="15" color="#ffffff" letterSpacing="0.000000" kerning="1">9</font></p>"
tip_txtSymbol 133 EditableText"<p align="center"><font face="Verdana" size="16" color="#ffffff" letterSpacing="0.000000" kerning="1">Opponent is thinking...</font></p>"
win_txtSymbol 134 EditableText"<p align="left"><font face="Verdana" size="22" color="#ffffff" letterSpacing="0.000000" kerning="1">Wins</font></p>"
tip_txtSymbol 137 EditableText"<p align="center"><font face="Verdana" size="16" color="#ffffff" letterSpacing="0.000000" kerning="1">Opponent is thinking...</font></p>"
tip_txtSymbol 139 EditableText"<p align="center"><font face="Verdana" size="16" color="#ffffff" letterSpacing="0.000000" kerning="1">Opponent is thinking...</font></p>"




http://swfchan.com/10/46915/info.shtml
Created: 2/5 -2019 20:45:58 Last modified: 2/5 -2019 20:45:58 Server time: 05/11 -2024 09:28:55