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>

Ratsuk.swf

This is the info page for
Flash #13733

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


Text
Loading:

Play

Using knight's moves from chess, you
must beat the computer. You can move
only once in each square. Less moves -
better score. If you can't move, you lose.


made by: TÕNU ver. 0.1

99

Your name

Add to top ten

New game

You win!

88

Moves:

New game

You lose!

Top ten

New game

ActionScript [AS1/AS2]

Frame 1
laetud = int(("100" / _totalframes) * _framesloaded); setProperty("/laadur/pulk", _x , (-"200") + (laetud * "2")); laetud_protsent = laetud add " % "; ifFrameLoaded (_totalframes) { gotoAndPlay (3); } fscommand ("fullscreen", "false"); fscommand ("allowscale", "false"); fscommand ("showmenu", "false");
Frame 2
gotoAndPlay (1);
Frame 5
movie_width = "300"; movie_height = "320"; ruut_height = "30"; ruut_width = "30"; skoor = "0"; stop();
Frame 10
setProperty("/taust/ruut", _visible , "0"); n = "1"; while (n < "9") { m = "1"; while (m < "9") { duplicateMovieClip ("/taust/ruut", ("ruut" add m) add n, ("100" * m) + n); setProperty(("/taust/ruut" add m) add n, _x , ((m * ruut_width) - (movie_width / "2")) + "15"); setProperty(("/taust/ruut" add m) add n, _y , ((n * ruut_height) - (movie_height / "2")) + "15"); m = m + "1"; } n = n + "1"; } n = random("7") + "1"; m = random("7") + "1"; tellTarget (("/taust/ruut" add n) add m) { gotoAndStop (2); }; tellTarget ("/taust") { vana_x = ../:n; vana_y = ../:m; }; startDrag ("/valik", true, "45", "35", "255", "245"); stop();
Frame 32
game_title = "ratsuk"; score_keeper = "http://tonypa.virtualave.net/skoor/score_keeper1.pl"; my_score = skoor;
Frame 35
if (sk_done ne "") { sk_done = ""; gotoAndStop(_currentframe + "2"); } else if (error ne "") { view_scores = error; stop(); } else { view_scores = "Loen edetabelit..."; play(); }
Frame 36
prevFrame();
Frame 37
view_scores = ""; num = "1"; while ("10" >= num) { spacer1 = substring("___", "0", length("___") - length(num)); spacer2 = substring("_____________", "0", length("_____________") - length(eval ("name_" add num))); spacer3 = substring("____________", "0", length("____________") - length(eval ("score_" add num))); view_scores = (((((view_scores add num) add spacer1) add eval ("name_" add num)) add spacer2) add spacer3) add eval ("score_" add num); if (num <> "10") { view_scores = view_scores add "\r"; } num = num + "1"; } stop();
Symbol 10 Button
on (keyPress "<Left>") { niisama = "1"; } on (keyPress "<Right>") { niisama = "1"; } on (keyPress "<Enter>") { niisama = "1"; }
Symbol 11 Button
on (release) { gotoAndStop (10); }
Symbol 29 Button
on (release) { Set("/taust:check", "1"); }
Symbol 30 MovieClip Frame 1
sisu = -"1"; stop();
Symbol 30 MovieClip Frame 2
sisu = "0"; stop();
Symbol 30 MovieClip Frame 3
sisu = "2"; stop();
Symbol 30 MovieClip Frame 4
sisu = "3"; stop();
Symbol 35 MovieClip Frame 1
setProperty("punn", _x , getProperty("_level0/valik", _x) - "150");
Symbol 37 MovieClip Frame 1
tellTarget ("ruut11") { gotoAndStop (1); }
Symbol 37 MovieClip Frame 2
valik_x = int((getProperty("../valik", _x) - "30") / "30") + "1"; valik_y = int((getProperty("../valik", _y) - "20") / "30") + "1"; if (((((((((valik_x == (vana_x + "1")) and (valik_y == (vana_y + "2"))) or ((valik_x == (vana_x + "1")) and (valik_y == (vana_y - "2")))) or ((valik_x == (vana_x - "1")) and (valik_y == (vana_y + "2")))) or ((valik_x == (vana_x - "1")) and (valik_y == (vana_y - "2")))) or ((valik_x == (vana_x + "2")) and (valik_y == (vana_y + "1")))) or ((valik_x == (vana_x + "2")) and (valik_y == (vana_y - "1")))) or ((valik_x == (vana_x - "2")) and (valik_y == (vana_y + "1")))) or ((valik_x == (vana_x - "2")) and (valik_y == (vana_y - "1")))) { tellTarget (("ruut" add valik_x) add valik_y) { if (sisu == (-"1")) { gotoAndPlay("5"); } }; } tellTarget (("ruut" add vana_x) add vana_y) { gotoAndStop("3"); }
Symbol 37 MovieClip Frame 3
if (check == "1") { gotoAndPlay (20); } else { gotoAndPlay (2); }
Symbol 37 MovieClip Frame 20
check = "0"; tellTarget (("ruut" add vana_x) add vana_y) { gotoAndStop("2"); }; vana_x = valik_x; vana_y = valik_y; Set("../:skoor", ../:skoor + "1"); tellTarget (("ruut" add valik_x) add valik_y) { gotoAndStop("3"); }
Symbol 37 MovieClip Frame 29
number = "8"; counter = "1"; while (number >= counter) { Set("var" add counter, counter); counter = counter + "1"; } counter = number; while ("1" < counter) { random_number = random(counter) + "1"; Set("random" add counter, eval ("var" add random_number)); Set("var" add random_number, eval ("var" add counter)); counter = counter - "1"; } random1 = var1;
Symbol 37 MovieClip Frame 30
leitud = "0"; tellTarget (("ruut" add vana_x) add vana_y) { gotoAndStop("2"); }; Set("../:skoor", ../:skoor + "1"); call("uus" add random1); if (leitud == "0") { call("uus" add random2); } if (leitud == "0") { call("uus" add random3); } if (leitud == "0") { call("uus" add random4); } if (leitud == "0") { call("uus" add random5); } if (leitud == "0") { call("uus" add random6); } if (leitud == "0") { call("uus" add random7); } if (leitud == "0") { call("uus" add random8); }
Symbol 37 MovieClip Frame 35
if (leitud == "0") { tellTarget ("../") { gotoAndStop ("end"); }; } if ((((((((eval ((("ruut" add (vana_x - "2")) add (vana_y - "1")) add ":sisu") == "0") and (eval ((("ruut" add (vana_x - "2")) add (vana_y + "1")) add ":sisu") == "0")) and (eval ((("ruut" add (vana_x + "2")) add (vana_y - "1")) add ":sisu") == "0")) and (eval ((("ruut" add (vana_x + "2")) add (vana_y + "1")) add ":sisu") == "0")) and (eval ((("ruut" add (vana_x - "1")) add (vana_y - "2")) add ":sisu") == "0")) and (eval ((("ruut" add (vana_x - "1")) add (vana_y + "2")) add ":sisu") == "0")) and (eval ((("ruut" add (vana_x + "1")) add (vana_y - "2")) add ":sisu") == "0")) and (eval ((("ruut" add (vana_x + "1")) add (vana_y + "2")) add ":sisu") == "0")) { tellTarget ("../") { gotoAndStop ("end1"); }; } gotoAndPlay (2);
Symbol 37 MovieClip Frame 40
if ((eval ((("ruut" add (vana_x + "1")) add (vana_y + "2")) add ":sisu") == (-"1")) and (leitud == "0")) { tellTarget (("ruut" add (vana_x + "1")) add (vana_y + "2")) { gotoAndStop("3"); }; vana_x = vana_x + "1"; vana_y = vana_y + "2"; leitud = "1"; }
Symbol 37 MovieClip Frame 41
if ((eval ((("ruut" add (vana_x + "1")) add (vana_y - "2")) add ":sisu") == (-"1")) and (leitud == "0")) { tellTarget (("ruut" add (vana_x + "1")) add (vana_y - "2")) { gotoAndStop("3"); }; vana_x = vana_x + "1"; vana_y = vana_y - "2"; leitud = "1"; }
Symbol 37 MovieClip Frame 42
if ((eval ((("ruut" add (vana_x - "1")) add (vana_y + "2")) add ":sisu") == (-"1")) and (leitud == "0")) { tellTarget (("ruut" add (vana_x - "1")) add (vana_y + "2")) { gotoAndStop("3"); }; vana_x = vana_x - "1"; vana_y = vana_y + "2"; leitud = "1"; }
Symbol 37 MovieClip Frame 43
if ((eval ((("ruut" add (vana_x - "1")) add (vana_y - "2")) add ":sisu") == (-"1")) and (leitud == "0")) { tellTarget (("ruut" add (vana_x - "1")) add (vana_y - "2")) { gotoAndStop("3"); }; vana_x = vana_x - "1"; vana_y = vana_y - "2"; leitud = "1"; }
Symbol 37 MovieClip Frame 44
if ((eval ((("ruut" add (vana_x + "2")) add (vana_y + "1")) add ":sisu") == (-"1")) and (leitud == "0")) { tellTarget (("ruut" add (vana_x + "2")) add (vana_y + "1")) { gotoAndStop("3"); }; vana_x = vana_x + "2"; vana_y = vana_y + "1"; leitud = "1"; }
Symbol 37 MovieClip Frame 45
if ((eval ((("ruut" add (vana_x + "2")) add (vana_y - "1")) add ":sisu") == (-"1")) and (leitud == "0")) { tellTarget (("ruut" add (vana_x + "2")) add (vana_y - "1")) { gotoAndStop("3"); }; vana_x = vana_x + "2"; vana_y = vana_y - "1"; leitud = "1"; }
Symbol 37 MovieClip Frame 46
if ((eval ((("ruut" add (vana_x - "2")) add (vana_y + "1")) add ":sisu") == (-"1")) and (leitud == "0")) { tellTarget (("ruut" add (vana_x - "2")) add (vana_y + "1")) { gotoAndStop("3"); }; vana_x = vana_x - "2"; vana_y = vana_y + "1"; leitud = "1"; }
Symbol 37 MovieClip Frame 47
if ((eval ((("ruut" add (vana_x - "2")) add (vana_y - "1")) add ":sisu") == (-"1")) and (leitud == "0")) { tellTarget (("ruut" add (vana_x - "2")) add (vana_y - "1")) { gotoAndStop("3"); }; vana_x = vana_x - "2"; vana_y = vana_y - "1"; leitud = "1"; }
Symbol 37 MovieClip Frame 55
leitud = "0"; tellTarget (("ruut" add vana_x) add vana_y) { gotoAndStop("2"); }; Set("../:skoor", ../:skoor + "1"); if ((eval ((("ruut" add (vana_x + "1")) add (vana_y + "2")) add ":sisu") == (-"1")) and (leitud == "0")) { tellTarget (("ruut" add (vana_x + "1")) add (vana_y + "2")) { gotoAndStop("3"); }; vana_x = vana_x + "1"; vana_y = vana_y + "2"; leitud = "1"; } if ((eval ((("ruut" add (vana_x + "1")) add (vana_y - "2")) add ":sisu") == (-"1")) and (leitud == "0")) { tellTarget (("ruut" add (vana_x + "1")) add (vana_y - "2")) { gotoAndStop("3"); }; vana_x = vana_x + "1"; vana_y = vana_y - "2"; leitud = "1"; } if ((eval ((("ruut" add (vana_x - "1")) add (vana_y + "2")) add ":sisu") == (-"1")) and (leitud == "0")) { tellTarget (("ruut" add (vana_x - "1")) add (vana_y + "2")) { gotoAndStop("3"); }; vana_x = vana_x - "1"; vana_y = vana_y + "2"; leitud = "1"; } if ((eval ((("ruut" add (vana_x - "1")) add (vana_y - "2")) add ":sisu") == (-"1")) and (leitud == "0")) { tellTarget (("ruut" add (vana_x - "1")) add (vana_y - "2")) { gotoAndStop("3"); }; vana_x = vana_x - "1"; vana_y = vana_y - "2"; leitud = "1"; } if ((eval ((("ruut" add (vana_x + "2")) add (vana_y + "1")) add ":sisu") == (-"1")) and (leitud == "0")) { tellTarget (("ruut" add (vana_x + "2")) add (vana_y + "1")) { gotoAndStop("3"); }; vana_x = vana_x + "2"; vana_y = vana_y + "1"; leitud = "1"; } if ((eval ((("ruut" add (vana_x + "2")) add (vana_y - "1")) add ":sisu") == (-"1")) and (leitud == "0")) { tellTarget (("ruut" add (vana_x + "2")) add (vana_y - "1")) { gotoAndStop("3"); }; vana_x = vana_x + "2"; vana_y = vana_y - "1"; leitud = "1"; } if ((eval ((("ruut" add (vana_x - "2")) add (vana_y + "1")) add ":sisu") == (-"1")) and (leitud == "0")) { tellTarget (("ruut" add (vana_x - "2")) add (vana_y + "1")) { gotoAndStop("3"); }; vana_x = vana_x - "2"; vana_y = vana_y + "1"; leitud = "1"; } if ((eval ((("ruut" add (vana_x - "2")) add (vana_y - "1")) add ":sisu") == (-"1")) and (leitud == "0")) { tellTarget (("ruut" add (vana_x - "2")) add (vana_y - "1")) { gotoAndStop("3"); }; vana_x = vana_x - "2"; vana_y = vana_y - "1"; leitud = "1"; }
Symbol 40 Button
on (release) { loadVariablesNum (score_keeper, "0", "POST"); gotoAndPlay (35); }
Symbol 42 Button
on (release) { gotoAndPlay (1); }

Library Items

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

Instance Names

"laadur"Frame 1Symbol 7 MovieClip
"taust"Frame 10Symbol 37 MovieClip
"valik"Frame 10Symbol 30 MovieClip
"pulk"Symbol 7 MovieClip Frame 1Symbol 3 MovieClip
"punn"Symbol 35 MovieClip Frame 1Symbol 34 MovieClip
"ruut"Symbol 37 MovieClip Frame 1Symbol 30 MovieClip
"vidin"Symbol 37 MovieClip Frame 1Symbol 35 MovieClip

Special Tags

Protect (24)Timeline Frame 10 bytes ""

Labels

"go"Frame 10
"end"Frame 32
"end1"Frame 33
"tabel"Frame 35
"valge"Symbol 30 MovieClip Frame 2
"must"Symbol 30 MovieClip Frame 3
"hall"Symbol 30 MovieClip Frame 4
"go"Symbol 37 MovieClip Frame 2
"check"Symbol 37 MovieClip Frame 20
"uus1"Symbol 37 MovieClip Frame 40
"uus2"Symbol 37 MovieClip Frame 41
"uus3"Symbol 37 MovieClip Frame 42
"uus4"Symbol 37 MovieClip Frame 43
"uus5"Symbol 37 MovieClip Frame 44
"uus6"Symbol 37 MovieClip Frame 45
"uus7"Symbol 37 MovieClip Frame 46
"uus8"Symbol 37 MovieClip Frame 47

Dynamic Text Variables

/:laetud_protsentSymbol 5 EditableText""
/:skoorSymbol 33 EditableText"99"
my_nameSymbol 38 EditableText""
skoorSymbol 45 EditableText"88"
view_scoresSymbol 50 EditableText""




http://swfchan.com/3/13733/info.shtml
Created: 4/6 -2019 09:42:57 Last modified: 4/6 -2019 09:42:57 Server time: 05/11 -2024 09:24:06