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

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

Sonic Tic Tac Toe 1.swf

This is the info page for
Flash #76979

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


Text
computer   vs.   player

2    players

Sonic Tic-Tac-Toe

player

ties

computer

player  2  (Sonic)

player  1  (Metal)

ActionScript [AS1/AS2]

Frame 2
stop(); blinkClip = function () { var _local1 = this; _local1.i = _local1.i + 0.125; _local1.i = _local1.i % 1; _local1._visible = Math.round(_local1.i); }; compPlay_btn.onRollOver = function () { dot1_mc.i = 0; dot1_mc.onEnterFrame = blinkClip; }; compPlay_btn.onRollOut = (compPlay_btn.onDragOut = function () { dot1_mc._visible = true; delete dot1_mc.onEnterFrame; }); compPlay_btn.onRelease = function () { twoPlayer = false; play(); }; twoPlay_btn.onRollOver = function () { dot2_mc.i = 0; dot2_mc.onEnterFrame = blinkClip; }; twoPlay_btn.onRollOut = (twoPlay_btn.onDragOut = function () { dot2_mc._visible = true; delete dot2_mc.onEnterFrame; }); twoPlay_btn.onRelease = function () { twoPlayer = true; play(); }; neave_btn.onRollOver = function () { neave_mc.i = 0; neave_mc.onEnterFrame = blinkClip; }; neave_btn.onRollOut = (neave_btn.onDragOut = function () { neave_mc._visible = true; delete neave_mc.onEnterFrame; }); neave_btn.onRelease = function () { getURL ("http://www.neave.com/games/", "_blank"); };
Frame 3
wins = (losses = (ties = 0)); swapTurn = twoPlayer; title_btn.onRollOver = function () { title_mc.i = 0; title_mc.onEnterFrame = blinkClip; }; title_btn.onRollOut = (title_btn.onDragOut = function () { title_mc._visible = true; delete title_mc.onEnterFrame; }); title_btn.onRelease = function () { gotoAndStop (1); }; checkSquare = function () { if ((square == 0) && (a == 0)) { ok = true; a = turn + 1; } if ((square == 1) && (b == 0)) { ok = true; b = turn + 1; } if ((square == 2) && (c == 0)) { ok = true; c = turn + 1; } if ((square == 3) && (d == 0)) { ok = true; d = turn + 1; } if ((square == 4) && (e == 0)) { ok = true; e = turn + 1; } if ((square == 5) && (f == 0)) { ok = true; f = turn + 1; } if ((square == 6) && (g == 0)) { ok = true; g = turn + 1; } if ((square == 7) && (h == 0)) { ok = true; h = turn + 1; } if ((square == 8) && (i == 0)) { ok = true; i = turn + 1; } }; findRow = function (x) { var _local1 = x; if (a == _local1) { if ((b == _local1) && (c == _local1)) { row = _local1; strike = 1; } if ((d == _local1) && (g == _local1)) { row = _local1; strike = 4; } if ((e == _local1) && (i == _local1)) { row = _local1; strike = 7; } } if (((b == _local1) && (e == _local1)) && (h == _local1)) { row = _local1; strike = 5; } if (c == _local1) { if ((f == _local1) && (i == _local1)) { row = _local1; strike = 6; } if ((e == _local1) && (g == _local1)) { row = _local1; strike = 8; } } if (((d == _local1) && (e == _local1)) && (f == _local1)) { row = _local1; strike = 2; } if (((g == _local1) && (h == _local1)) && (i == _local1)) { row = _local1; strike = 3; } }; checkGame = function () { findRow(1); findRow(2); if ((((((((((row == 0) && (a)) && (b)) && (c)) && (d)) && (e)) && (f)) && (g)) && (h)) && (i)) { row = 3; ties++; } if (row == 1) { if (twoPlayer) { losses++; } else { wins++; } } if (row == 2) { if (twoPlayer) { wins++; } else { losses++; } } if (row) { gotoAndPlay ("end"); } }; playerChoice = function (n) { var _local1 = _root; if (row == 0) { if (twoPlayer) { square = n; ok = false; checkSquare(); if (turn == 0) { turn = 1; if (ok) { _local1[("choice" + square) + "_mc"].gotoAndPlay("nought"); } } else { turn = 0; if (ok) { _local1[("choice" + square) + "_mc"].gotoAndPlay("cross"); } } checkGame(); } else { square = n; turn = 0; ok = false; checkSquare(); if (ok) { _local1[("choice" + square) + "_mc"].gotoAndPlay("cross"); } checkGame(); if (ok && (row == 0)) { compChoice(); } } } }; findGap = function (x) { var _local1 = x; if ((!a) && (((((b == _local1) && (c == _local1)) || ((d == _local1) && (g == _local1))) || (e == _local1)) || (i == _local1))) { square = 0; } if ((!b) && (((a == _local1) && (c == _local1)) || ((e == _local1) && (h == _local1)))) { square = 1; } if ((!c) && ((((a == _local1) && (b == _local1)) || ((f == _local1) && (i == _local1))) || ((e == _local1) && (g == _local1)))) { square = 2; } if ((!d) && (((a == _local1) && (g == _local1)) || ((e == _local1) && (f == _local1)))) { square = 3; } if ((!e) && (((((a == _local1) && (i == _local1)) || ((b == _local1) && (h == _local1))) || ((c == _local1) && (g == _local1))) || ((d == _local1) && (f == _local1)))) { square = 4; } if ((!f) && (((e == _local1) && (d == _local1)) || ((c == _local1) && (i == _local1)))) { square = 5; } if ((!g) && ((((a == _local1) && (d == _local1)) || ((c == _local1) && (e == _local1))) || ((h == _local1) && (i == _local1)))) { square = 6; } if ((!h) && (((b == _local1) && (e == _local1)) || ((g == _local1) && (i == _local1)))) { square = 7; } if ((!i) && ((((a == _local1) && (e == _local1)) || ((c == _local1) && (f == _local1))) || ((g == _local1) && (h == _local1)))) { square = 8; } }; compChoice = function () { ok = false; turn = 1; findGap(2); findGap(1); checkSquare(); while (!ok) { square = int(Math.random() * 9); checkSquare(); } _root[("choice" + square) + "_mc"].gotoAndPlay("nought"); checkGame(); };
Frame 5
swapTurn = !swapTurn; a = (b = (c = (d = (e = (f = (g = (h = (i = (x = (row = (strike = (turn = 0)))))))))))); ok = false;
Frame 6
stop(); if (swapTurn) { if (twoPlayer) { if (turn == 0) { turn = 1; } else { turn = 0; } } else { compChoice(); } }
Instance of Symbol 48 MovieClip "Grid" in Frame 15
onClipEvent (load) { _visible = _root.strike; }
Frame 16
if (strike) { sound_mc.gotoAndPlay("end"); } else { sound_mc.gotoAndPlay("tie"); }
Instance of Symbol 48 MovieClip "Grid" in Frame 21
onClipEvent (load) { _visible = _root.strike; }
Frame 24
stop(); gameOver_btn.onPress = function () { gotoAndPlay ("new"); };
Symbol 10 Button
on (release) { _root.play(); }
Symbol 11 MovieClip Frame 1
_root.stop(); PercentLoaded = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100; if (PercentLoaded != 100) { setProperty(bar, _xscale , PercentLoaded); } else { gotoAndStop ("loaded"); }
Symbol 11 MovieClip Frame 2
gotoAndPlay (1);
Symbol 31 MovieClip Frame 1
if (_root.twoPlayer) { gotoAndStop (2); } else { stop(); }
Symbol 34 MovieClip Frame 1
stop();
Symbol 34 MovieClip Frame 3
stop();
Symbol 34 MovieClip Frame 5
stop();
Symbol 47 MovieClip Frame 1
stop(); num = Number(substring(_name, 7, 1)); if (_root.twoPlayer) { this.onRollOver = function () { if (_root.row == 0) { if (_root.turn == 0) { nought_mc._visible = true; cross_mc._visible = false; } else { nought_mc._visible = false; cross_mc._visible = true; } } }; this.onRollOut = (this.onDragOut = function () { nought_mc._visible = (cross_mc._visible = false); }); } this.onPress = function () { _root.playerChoice(num); };
Instance of Symbol 37 MovieClip "cross_mc" in Symbol 47 MovieClip Frame 1
onClipEvent (load) { _visible = false; }
Instance of Symbol 39 MovieClip "nought_mc" in Symbol 47 MovieClip Frame 1
onClipEvent (load) { _visible = false; }
Symbol 47 MovieClip Frame 2
delete this.onPress; if (_root.twoPlayer) { gotoAndPlay ("now"); }
Symbol 47 MovieClip Frame 14
stop();
Symbol 47 MovieClip Frame 15
delete this.onPress;
Symbol 47 MovieClip Frame 19
stop();
Symbol 51 MovieClip Frame 1
gotoAndStop(_root.strike + 2);

Library Items

Symbol 1 GraphicUsed by:2
Symbol 2 MovieClipUses:1Used by:11
Symbol 3 GraphicUsed by:11
Symbol 4 BitmapUsed by:5
Symbol 5 GraphicUses:4Used by:11
Symbol 6 GraphicUsed by:10
Symbol 7 GraphicUsed by:10
Symbol 8 GraphicUsed by:10
Symbol 9 GraphicUsed by:10
Symbol 10 ButtonUses:6 7 8 9Used by:11
Symbol 11 MovieClipUses:2 3 5 10Used by:Timeline
Symbol 12 BitmapUsed by:13
Symbol 13 GraphicUses:12Used by:Timeline
Symbol 14 BitmapUsed by:15
Symbol 15 GraphicUses:14Used by:16 20 47 48 51  Timeline
Symbol 16 ButtonUses:15Used by:Timeline
Symbol 17 FontUsed by:18 19 21 22 23 24 26 27 28 29 30
Symbol 18 EditableTextUses:17Used by:Timeline
Symbol 19 EditableTextUses:17Used by:Timeline
Symbol 20 MovieClipUses:15Used by:Timeline
Symbol 21 EditableTextUses:17Used by:25  Timeline
Symbol 22 EditableTextUses:17Used by:Timeline
Symbol 23 EditableTextUses:17Used by:Timeline
Symbol 24 EditableTextUses:17Used by:Timeline
Symbol 25 MovieClipUses:21Used by:Timeline
Symbol 26 EditableTextUses:17Used by:31
Symbol 27 EditableTextUses:17Used by:31
Symbol 28 EditableTextUses:17Used by:31
Symbol 29 EditableTextUses:17Used by:31
Symbol 30 EditableTextUses:17Used by:31
Symbol 31 MovieClipUses:26 27 28 29 30Used by:Timeline
Symbol 32 SoundUsed by:34
Symbol 33 SoundUsed by:34
Symbol 34 MovieClipUses:32 33Used by:Timeline
Symbol 35 BitmapUsed by:36
Symbol 36 GraphicUses:35Used by:37 47
Symbol 37 MovieClipUses:36Used by:47
Symbol 38 GraphicUsed by:39
Symbol 39 MovieClipUses:38Used by:47
Symbol 40 SoundUsed by:47
Symbol 41 SoundUsed by:47
Symbol 42 BitmapUsed by:43 44 45 46
Symbol 43 GraphicUses:42Used by:47
Symbol 44 GraphicUses:42Used by:47
Symbol 45 GraphicUses:42Used by:47
Symbol 46 GraphicUses:42Used by:47
Symbol 47 MovieClipUses:15 37 39 40 36 41 43 44 45 46Used by:Timeline
Symbol 48 MovieClipUses:15Used by:Timeline
Symbol 49 BitmapUsed by:50
Symbol 50 GraphicUses:49Used by:51
Symbol 51 MovieClipUses:50 15Used by:Timeline

Instance Names

"compPlay_btn"Frame 2Symbol 16 Button
"twoPlay_btn"Frame 2Symbol 16 Button
"dot1_mc"Frame 2Symbol 20 MovieClip
"dot2_mc"Frame 2Symbol 20 MovieClip
"title_mc"Frame 3Symbol 25 MovieClip
"Base"Frame 3Symbol 31 MovieClip
"title_btn"Frame 3Symbol 16 Button
"sound_mc"Frame 3Symbol 34 MovieClip
"choice0_mc"Frame 5Symbol 47 MovieClip
"choice1_mc"Frame 5Symbol 47 MovieClip
"choice2_mc"Frame 5Symbol 47 MovieClip
"choice3_mc"Frame 5Symbol 47 MovieClip
"choice4_mc"Frame 5Symbol 47 MovieClip
"choice5_mc"Frame 5Symbol 47 MovieClip
"choice6_mc"Frame 5Symbol 47 MovieClip
"choice7_mc"Frame 5Symbol 47 MovieClip
"choice8_mc"Frame 5Symbol 47 MovieClip
"Grid"Frame 15Symbol 48 MovieClip
"strike_mc"Frame 16Symbol 51 MovieClip
"strike_mc"Frame 20Symbol 51 MovieClip
"Grid"Frame 21Symbol 48 MovieClip
"gameOver_btn"Frame 24Symbol 16 Button
"strike_mc"Frame 24Symbol 51 MovieClip
"bar"Symbol 11 MovieClip Frame 1Symbol 2 MovieClip
"cross_mc"Symbol 47 MovieClip Frame 1Symbol 37 MovieClip
"nought_mc"Symbol 47 MovieClip Frame 1Symbol 39 MovieClip

Special Tags

Protect (24)Timeline Frame 10 bytes ""

Labels

"new"Frame 4
"end"Frame 7
"loaded"Symbol 11 MovieClip Frame 3
"end"Symbol 34 MovieClip Frame 2
"tie"Symbol 34 MovieClip Frame 4
"nought"Symbol 47 MovieClip Frame 2
"now"Symbol 47 MovieClip Frame 9
"cross"Symbol 47 MovieClip Frame 15

Dynamic Text Variables

lossesSymbol 22 EditableText""
tiesSymbol 23 EditableText""
winsSymbol 24 EditableText""




http://swfchan.com/16/76979/info.shtml
Created: 4/4 -2019 08:42:16 Last modified: 4/4 -2019 08:42:16 Server time: 22/12 -2024 23:57:36