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/78677822?noj=FRM78677822-5DC" width="1" height="1"></div>

The Peg Game.swf

This is the info page for
Flash #23968

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


Text
Play Game

Instructions

G

E

p

game

the

Objective:
To end up with the least amount of pegs as possible.

Instructions:
Click a peg that can jump over another to an empty space
to remove the jumped one.
End up with one peg and you are a genius.
End up with two pegs and you are pretty smart.
End up with three pegs and you are just average.
End up with four pegs or more and you are just plain
dumb.

Back to intro

Play game

First, choose the empty hole:

This is not a legal move for this peg.

Sorry!

This hole has no peg.

Game Over!

You are a genius!

You are pretty smart!

You are just average.

You are just plain dumb!

You left

pegs on the board

Intro

Rules

Restart Game

M

E

N

U

Undo

ActionScript [AS1/AS2]

Frame 1
stop();
Frame 2
stop();
Frame 3
stop();
Frame 4
drag = "0"; tellTarget ("/menumove/menu/blink") { gotoAndStop (2); } setProperty("/tempin", _visible , "0"); setProperty(("/" add empty) add "P", _visible , "0");
Symbol 5 Button
on (release) { tellTarget ("/board") { gotoAndStop (1); }; gotoAndStop (3); }
Symbol 6 Button
on (release) { tellTarget ("/board") { gotoAndStop (1); }; gotoAndStop (2); }
Symbol 12 MovieClip Frame 1
stop();
Symbol 12 MovieClip Frame 19
stop();
Symbol 21 MovieClip Frame 79
stop(); tellTarget ("_level0/board") { play(); }
Symbol 26 Button
on (release) { gotoAndStop (1); }
Symbol 28 Button
on (release) { gotoAndStop (3); }
Symbol 33 MovieClip Frame 10
gotoAndPlay (1);
Symbol 35 Button
on (release) { empty = "02"; gotoAndStop (4); }
Symbol 36 Button
on (release) { empty = "03"; gotoAndStop (4); }
Symbol 37 Button
on (release) { empty = "01"; gotoAndStop (4); }
Symbol 38 Button
on (release) { empty = "05"; gotoAndStop (4); }
Symbol 39 Button
on (release) { empty = "06"; gotoAndStop (4); }
Symbol 40 Button
on (release) { empty = "04"; gotoAndStop (4); }
Symbol 41 Button
on (release) { empty = "09"; gotoAndStop (4); }
Symbol 42 Button
on (release) { empty = "08"; gotoAndStop (4); }
Symbol 43 Button
on (release) { empty = "10"; gotoAndStop (4); }
Symbol 44 Button
on (release) { empty = "07"; gotoAndStop (4); }
Symbol 45 Button
on (release) { empty = "13"; gotoAndStop (4); }
Symbol 46 Button
on (release) { empty = "15"; gotoAndStop (4); }
Symbol 47 Button
on (release) { empty = "11"; gotoAndStop (4); }
Symbol 48 Button
on (release) { empty = "14"; gotoAndStop (4); }
Symbol 49 Button
on (release) { empty = "12"; gotoAndStop (4); }
Symbol 52 Button
on (press) { if (drag == "0") { Set("/actions:Xup", getProperty("/02P", _x)); Set("/actions:Yup", getProperty("/02P", _y)); } } on (release) { if (drag == "0") { Set("/actions:current", "02"); call("/actions:pickup"); } else { Set("/actions:currentrelease", "02"); call("/actions:release"); } }
Symbol 53 Button
on (press) { if (drag == "0") { Set("/actions:Xup", getProperty("/03P", _x)); Set("/actions:Yup", getProperty("/03P", _y)); } } on (release) { if (drag == "0") { Set("/actions:current", "03"); call("/actions:pickup"); } else { Set("/actions:currentrelease", "03"); call("/actions:release"); } }
Symbol 54 Button
on (press) { if (drag == "0") { Set("/actions:Xup", getProperty("/01P", _x)); Set("/actions:Yup", getProperty("/01P", _y)); } } on (release) { if (drag == "0") { Set("/actions:current", "01"); call("/actions:pickup"); } else { Set("/actions:currentrelease", "01"); call("/actions:release"); } }
Symbol 55 Button
on (press) { if (drag == "0") { Set("/actions:Xup", getProperty("/05P", _x)); Set("/actions:Yup", getProperty("/05P", _y)); } } on (release) { if (drag == "0") { Set("/actions:current", "05"); call("/actions:pickup"); } else { Set("/actions:currentrelease", "05"); call("/actions:release"); } }
Symbol 56 Button
on (press) { if (drag == "0") { Set("/actions:Xup", getProperty("/06P", _x)); Set("/actions:Yup", getProperty("/06P", _y)); } } on (release) { if (drag == "0") { Set("/actions:current", "06"); call("/actions:pickup"); } else { Set("/actions:currentrelease", "06"); call("/actions:release"); } }
Symbol 57 Button
on (press) { if (drag == "0") { Set("/actions:Xup", getProperty("/04P", _x)); Set("/actions:Yup", getProperty("/04P", _y)); } } on (release) { if (drag == "0") { Set("/actions:current", "04"); call("/actions:pickup"); } else { Set("/actions:currentrelease", "04"); call("/actions:release"); } }
Symbol 58 Button
on (press) { if (drag == "0") { Set("/actions:Xup", getProperty("/09P", _x)); Set("/actions:Yup", getProperty("/09P", _y)); } } on (release) { if (drag == "0") { Set("/actions:current", "09"); call("/actions:pickup"); } else { Set("/actions:currentrelease", "09"); call("/actions:release"); } }
Symbol 59 Button
on (press) { if (drag == "0") { Set("/actions:Xup", getProperty("/08P", _x)); Set("/actions:Yup", getProperty("/08P", _y)); } } on (release) { if (drag == "0") { Set("/actions:current", "08"); call("/actions:pickup"); } else { Set("/actions:currentrelease", "08"); call("/actions:release"); } }
Symbol 60 Button
on (press) { if (drag == "0") { Set("/actions:Xup", getProperty("/10P", _x)); Set("/actions:Yup", getProperty("/10P", _y)); } } on (release) { if (drag == "0") { Set("/actions:current", "10"); call("/actions:pickup"); } else { Set("/actions:currentrelease", "10"); call("/actions:release"); } }
Symbol 61 Button
on (press) { if (drag == "0") { Set("/actions:Xup", getProperty("/07P", _x)); Set("/actions:Yup", getProperty("/07P", _y)); } } on (release) { if (drag == "0") { Set("/actions:current", "07"); call("/actions:pickup"); } else { Set("/actions:currentrelease", "07"); call("/actions:release"); } }
Symbol 62 Button
on (press) { if (drag == "0") { Set("/actions:Xup", getProperty("/13P", _x)); Set("/actions:Yup", getProperty("/13P", _y)); } } on (release) { if (drag == "0") { Set("/actions:current", "13"); call("/actions:pickup"); } else { Set("/actions:currentrelease", "13"); call("/actions:release"); } }
Symbol 63 Button
on (press) { if (drag == "0") { Set("/actions:Xup", getProperty("/15P", _x)); Set("/actions:Yup", getProperty("/15P", _y)); } } on (release) { if (drag == "0") { Set("/actions:current", "15"); call("/actions:pickup"); } else { Set("/actions:currentrelease", "15"); call("/actions:release"); } }
Symbol 64 Button
on (press) { if (drag == "0") { Set("/actions:Xup", getProperty("/11P", _x)); Set("/actions:Yup", getProperty("/11P", _y)); } } on (release) { if (drag == "0") { Set("/actions:current", "11"); call("/actions:pickup"); } else { Set("/actions:currentrelease", "11"); call("/actions:release"); } }
Symbol 65 Button
on (press) { if (drag == "0") { Set("/actions:Xup", getProperty("/14P", _x)); Set("/actions:Yup", getProperty("/14P", _y)); } } on (release) { if (drag == "0") { Set("/actions:current", "14"); call("/actions:pickup"); } else { Set("/actions:currentrelease", "14"); call("/actions:release"); } }
Symbol 66 Button
on (press) { if (drag == "0") { Set("/actions:Xup", getProperty("/12P", _x)); Set("/actions:Yup", getProperty("/12P", _y)); } } on (release) { if (drag == "0") { Set("/actions:current", "12"); call("/actions:pickup"); } else { Set("/actions:currentrelease", "12"); call("/actions:release"); } }
Symbol 69 MovieClip Frame 1
stop();
Symbol 69 MovieClip Frame 2
Set("_level0:possible", "0");
Symbol 69 MovieClip Frame 9
call("_level0/actions:afterpop"); Set("_level0:possible", "1");
Symbol 73 MovieClip Frame 1
stop();
Symbol 75 MovieClip Frame 1
stop();
Symbol 88 MovieClip Frame 1
stop();
Symbol 88 MovieClip Frame 2
if (_level0/actions:pinhead == "1") { tellTarget ("comment") { gotoAndStop (1); }; } else if (_level0/actions:pinhead == "2") { tellTarget ("comment") { gotoAndStop (2); }; } else if (_level0/actions:pinhead == "3") { tellTarget ("comment") { gotoAndStop (3); }; } else { tellTarget ("comment") { gotoAndStop (4); }; }
Symbol 97 Button
on (release) { tellTarget ("_level0") { gotoAndStop ("intro"); } }
Symbol 98 Button
on (release) { tellTarget ("_level0") { gotoAndStop ("rules"); } }
Symbol 99 Button
on (release) { tellTarget ("_level0") { gotoAndStop ("game"); } }
Symbol 100 Button
on (release) { tellTarget ("_level0/menumove") { play(); } }
Symbol 102 Button
on (release) { call("_level0/actions:undo"); }
Symbol 104 MovieClip Frame 1
stop();
Symbol 106 MovieClip Frame 1
stop();
Symbol 106 MovieClip Frame 12
stop();
Symbol 106 MovieClip Frame 24
gotoAndStop (1);
Symbol 107 MovieClip Frame 1
pinhead = "14"; history = ""; count = "0"; move01 = "0402060300000000"; move02 = "0704090500000000"; move03 = "0805100600000000"; move04 = "0102060511071308"; move05 = "1208140900000000"; move06 = "0103040513091510"; move07 = "0204090800000000"; move08 = "0305100900000000"; move09 = "0205070800000000"; move10 = "0306080900000000"; move11 = "0407131200000000"; move12 = "0508141300000000"; move13 = "0609151404081112"; move14 = "0509121300000000"; move15 = "0610131400000000"; stop();
Symbol 107 MovieClip Frame 2
stop(); if (getProperty(("_level0/" add current) add "P", _visible) == "0") { tellTarget ("_level0/nopin") { play(); }; } else { setProperty("_level0/tempin", _x , Xup); setProperty("_level0/tempin", _y , Yup); setProperty("_level0/tempin", _visible , "1"); setProperty(("_level0/" add current) add "P", _visible , "0"); startDrag ("_level0/tempin", true); Set("_level0:drag", "1"); }
Symbol 107 MovieClip Frame 3
stop(); if (current == currentrelease) { setProperty(("_level0/" add current) add "P", _visible , "1"); setProperty("_level0/tempin", _visible , "0"); Set("_level0:drag", "0"); } else { J = "1"; legal = "0"; while ("13" >= J) { if ((substring(eval ("move" add current), J, "2")) == currentrelease) { legal = "1"; currentjump = substring(eval ("move" add current), J + "2", "2"); } J = J + "4"; } J = J - "4"; if (((legal == "0") or (getProperty(("_level0/" add currentrelease) add "P", _visible) == "1")) or (getProperty(("_level0/" add currentjump) add "P", _visible) == "0")) { tellTarget ("_level0/illegal") { play(); }; } else { stopDrag(); setProperty(("_level0/" add currentrelease) add "P", _visible , "1"); setProperty("_level0/tempin", _visible , "0"); tellTarget (("_level0/" add currentjump) add "P") { play(); }; Set("_level0:drag", "0"); pinhead = pinhead - "1"; history = ((history add current) add currentrelease) add currentjump; count = count + "1"; tellTarget ("_level0/menumove/menu/blink") { gotoAndStop (1); }; } }
Symbol 107 MovieClip Frame 4
setProperty(("_level0/" add currentjump) add "P", _visible , "0"); tellTarget (("_level0/" add currentjump) add "P") { gotoAndStop (1); }; call("continue"); if (cont == "0") { tellTarget ("_level0/GameOver") { gotoAndStop (2); }; tellTarget ("_level0/menumove/menu/blink") { gotoAndStop (2); }; }
Symbol 107 MovieClip Frame 5
if (_level0:possible == "1") { setProperty(("_level0/" add (substring(history, ("6" * count) - "5", "2"))) add "P", _visible , "1"); setProperty(("_level0/" add (substring(history, ("6" * count) - "3", "2"))) add "P", _visible , "0"); setProperty(("_level0/" add (substring(history, ("6" * count) - "1", "2"))) add "P", _visible , "1"); pinhead = pinhead + "1"; count = count - "1"; undotemp = substring(history, "1", "6" * count); history = undotemp; if (count == "0") { tellTarget ("_level0/menumove/menu/blink") { gotoAndStop (2); }; } }
Symbol 107 MovieClip Frame 6
k = "1"; cont = "0"; while (("15" >= k) and (cont == "0")) { if (k < "10") { piece = "0" add k; } else { piece = k; } p = "1"; while (("4" >= p) and (cont == "0")) { if (((getProperty(("_level0/" add piece) add "P", _visible) == "1") and (getProperty(("_level0/" add (substring(eval ("move" add piece), ("4" * p) - "3", "2"))) add "P", _visible) == "0")) and (getProperty(("_level0/" add (substring(eval ("move" add piece), ("4" * p) - "1", "2"))) add "P", _visible) == "1")) { cont = "1"; } p = p + "1"; } k = k + "1"; }

Library Items

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

Instance Names

"board"Frame 1Symbol 12 MovieClip
"2dboard"Frame 3Symbol 31 MovieClip
"02P"Frame 4Symbol 69 MovieClip
"03P"Frame 4Symbol 69 MovieClip
"01P"Frame 4Symbol 69 MovieClip
"05P"Frame 4Symbol 69 MovieClip
"06P"Frame 4Symbol 69 MovieClip
"04P"Frame 4Symbol 69 MovieClip
"09P"Frame 4Symbol 69 MovieClip
"08P"Frame 4Symbol 69 MovieClip
"10P"Frame 4Symbol 69 MovieClip
"07P"Frame 4Symbol 69 MovieClip
"13P"Frame 4Symbol 69 MovieClip
"15P"Frame 4Symbol 69 MovieClip
"11P"Frame 4Symbol 69 MovieClip
"14P"Frame 4Symbol 69 MovieClip
"12P"Frame 4Symbol 69 MovieClip
"tempin"Frame 4Symbol 69 MovieClip
"illegal"Frame 4Symbol 73 MovieClip
"nopin"Frame 4Symbol 75 MovieClip
"GameOver"Frame 4Symbol 88 MovieClip
"menumove"Frame 4Symbol 106 MovieClip
"actions"Frame 4Symbol 107 MovieClip
"comment"Symbol 88 MovieClip Frame 2Symbol 84 MovieClip
"blink"Symbol 105 MovieClip Frame 1Symbol 104 MovieClip
"menu"Symbol 106 MovieClip Frame 1Symbol 105 MovieClip

Special Tags

Protect (24)Timeline Frame 10 bytes ""

Labels

"intro"Frame 1
"rules"Frame 2
"game"Frame 3
"pickup"Symbol 107 MovieClip Frame 2
"release"Symbol 107 MovieClip Frame 3
"afterpop"Symbol 107 MovieClip Frame 4
"undo"Symbol 107 MovieClip Frame 5
"continue"Symbol 107 MovieClip Frame 6

Dynamic Text Variables

_level0/actions:pinheadSymbol 85 EditableText""




http://swfchan.com/5/23968/info.shtml
Created: 25/5 -2019 17:31:34 Last modified: 25/5 -2019 17:31:34 Server time: 05/11 -2024 12:28:34