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/23348731?noj=FRM23348731-22DC" width="1" height="1"></div>

Sheep Game.swf

This is the info page for
Flash #11346

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


Text
SheepGame Copyright © 2000-2001 David Lewis

This is the free version of SheepGame available from www.sheepgame.co.uk.

Visit www.sheepgame.co.uk to compete against other sheep herders, play on more sheep games and send messages.

visit www.SheepGame.co.uk

play
Full game

play
Mini game

sheep mover

sound track

timer

Play Again?

ActionScript [AS1/AS2]

Frame 1
_root.bar._visible = 0; _root.movieloaded = _root.getBytesLoaded(); _root.movietotal = _root.getBytesTotal(); if (_root.movieloaded == _root.movietotal) { _root.gotoAndPlay("home"); } else { _root.bar._visible = 1; _root.movieresult = (_root.movieloaded * 100) / _root.movietotal; _root.bar.gotoAndStop(int(_root.movieresult)); }
Frame 2
gotoAndPlay (1);
Frame 3
stop(); index = 0; while (index < amountsheep) { removeMovieClip(_root.ArrSheep[index]); index++; } stopAllSounds();
Frame 4
_root.gamemode = "classic"; _root.basespeed = 8; _root.gamemodenoescape = 0; ArrJumps = new Array(); ArrJumps[0] = _root.jump1; ArrJumps[1] = _root.jump2; ArrJumps[2] = _root.jump3; ArrJumps[3] = _root.jump4; _root.timerold = getTimer(); _root.sheepmover.play(); _root.timer.play(); _root.inpen = 0; _root.escaped = 0; _root.amountsheep = 8; _root.pushzone = random(25) + 125; ArrSheep = new Array(); index = 0; while (index < amountsheep) { duplicateMovieClip ("_root.sheep", "sheep" + index, index); ArrSheep[index] = eval ("_root.sheep" + index); _root.ArrSheep[index]._y = random(420) + 30; _root.ArrSheep[index]._x = random(570) + 30; index++; } stop();
Instance of Symbol 80 MovieClip "sheep" in Frame 4
/* no clip actions */
Frame 5
stop(); _root.sheepmover.stop(); _root.timer.stop(); _root.msg = ((("Welldone you " + inpentotal) + " sheep in ") + _root.trialtimerraw) + " seconds";
Symbol 19 Button
on (release) { this.play(); }
Symbol 25 MovieClip Frame 1
stop();
Symbol 42 Button
on (release) { _root.gotoAndPlay("classicgame"); }
Symbol 46 Button
on (release) { getURL ("http://www.sheepgame.co.uk", "_blank"); }
Symbol 49 Button
on (release) { getURL ("http://www.sheepgame.co.uk", "_blank"); }
Symbol 74 Button
on (rollOver) { soundbaa = new Sound(); soundbaa.attachSound("soundbaa"); soundbaa.start(); }
Symbol 79 MovieClip Frame 1
sheepaction = "default"; stop(); soundbubbles.stop();
Symbol 79 MovieClip Frame 2
sheepaction = "water"; stop(); soundbubbles = new Sound(); soundbubbles.attachSound("soundbubbles"); soundbubbles.start(0, 999);
Symbol 79 MovieClip Frame 3
sheepaction = "jump"; play(); soundboing = new Sound(); soundboing.attachSound("soundboing"); soundboing.start();
Symbol 79 MovieClip Frame 18
sheepaction = "default"; gotoAndStop (1);
Symbol 79 MovieClip Frame 19
sheepaction = "mud"; soundsplat = new Sound(); soundsplat.attachSound("soundsplat"); soundsplat.start();
Symbol 80 MovieClip Frame 1
function moveSheep() { this.sheepaction = "default"; if (this.sheep.sheepaction != "jump") { sheepPen(); if (_root.gamemodepen2 == 1) { sheepPen2(); } if (this.sheepaction == "default") { with (this.sheep) { gotoAndStop(1); } this.sheepspeed = random(4) + _root.basespeed; index = 0; while (index < _root.ArrJumps.length) { if (this.hitTest(_root.ArrJumps[index])) { this.sheepspeed = _root.basespeed * 2; this.sheep.gotoAndPlay("jump"); this.sheepaction = "jump"; } index++; } } } if (this._x < 10) { sheepEscape(); } else if (630 < this._x) { sheepEscape(); } else if (this._y < 10) { sheepEscape(); } else if (470 < this._y) { sheepEscape(); } else { ymov = this.sheepspeed * Math.sin((Math.PI/180) * this._rotation); xmov = this.sheepspeed * Math.cos((Math.PI/180) * this._rotation); this._x = this._x + xmov; this._y = this._y + ymov; } } function sheepEscape() { _root.escaped++; this.removeMovieClip(); } function sheepPen() { if (this.hitTest(_root.penhit1)) { this.inpen = 1; } else { this.inpen = 0; } if (this.hitTest(_root.fencehit1)) { this._x = 210; } else if (this.hitTest(_root.fencehit2)) { this._x = 290; } else if (this.hitTest(_root.fencehit3)) { this._x = 330; } else if (this.hitTest(_root.fencehit4)) { this._x = 420; } else if (this.hitTest(_root.fencehit5) or this.hitTest(_root.fencehit6)) { this._y = 300; } else if (this.hitTest(_root.fencehit7)) { this._y = 400; } } function sheepPen2() { if (this.hitTest(_root.pen2hit1)) { this.inpen2 = 1; } else { this.inpen2 = 0; } if (this.hitTest(_root.fence2hit1)) { this._x = 210; } else if (this.hitTest(_root.fence2hit2)) { this._x = 290; } else if (this.hitTest(_root.fence2hit3)) { this._x = 330; } else if (this.hitTest(_root.fence2hit4)) { this._x = 420; } else if (this.hitTest(_root.fence2hit5) or this.hitTest(_root.fence2hit6)) { this._y = 180; } else if (this.hitTest(_root.fence2hit7)) { this._y = 80; } }
Symbol 83 MovieClip Frame 1
function moveSheep() { if ((_root.escaped + _root.inpen) == _root.amountsheep) { _root.gotoAndStop("classicgameend"); } dtr = (Math.PI/180); _root.inpen = 0; index = 0; while (index < _root.amountsheep) { if (((((_root.ArrSheep[index]._y - _root.pushzone) < _root._ymouse) && (_root._ymouse < (_root.ArrSheep[index]._y + _root.pushzone))) && ((_root.ArrSheep[index]._x - _root.pushzone) < _root._xmouse)) && (_root._xmouse < (_root.ArrSheep[index]._x + _root.pushzone))) { dx = _root.ArrSheep[index]._x - _root._xmouse; dy = _root.ArrSheep[index]._y - _root._ymouse; angle = (Math.atan(dy / dx) * 1) / dtr; if (_root._xmouse < _root.ArrSheep[index]._x) { } else { angle = angle - 180; } _root.ArrSheep[index]._rotation = angle; _root.ArrSheep[index].moveSheep(); } _root.inpen = _root.inpen + _root.ArrSheep[index].inpen; index++; } _root.inpentotal = "Caught: " + _root.inpen; _root.escapedtotal = "Escaped: " + _root.escaped; } moveSheep();
Symbol 83 MovieClip Frame 2
moveSheep();
Symbol 87 MovieClip Frame 1
soundbirds = new Sound(); soundbirds.attachSound("soundbirds"); soundbirds2 = new Sound(); soundbirds2.attachSound("soundbirds2"); soundcrickets = new Sound(); soundcrickets.attachSound("soundcrickets");
Symbol 87 MovieClip Frame 2
index = random(25); if (index == 1) { soundbirds.start(); } if (index == 2) { soundbirds2.start(); } if (index == 3) { soundcrickets.start(); }
Symbol 87 MovieClip Frame 25
gotoAndPlay (2);
Symbol 95 MovieClip Frame 1
function lapfinished() { this.laptime = getTimer() - _root.timerold; _root.timer.stop(); if ((_root.bestlap == "none") or (this.laptime < _root.bestlap)) { _root.bestlap = this.laptime; this.bestraw = _root.bestlap.toString(); this.bestlength = this.bestraw.length; this.bestpos1 = this.bestlength - 1; this.bestpos2 = this.bestlength - 3; this.bestpos3 = this.bestlength - 3; this.bestmilli = this.bestraw.substr(this.bestpos1, 2); this.besthund = this.bestraw.substr(this.bestpos2, 2); this.bestrest = this.bestraw.substr(0, this.bestpos3); _root.bestdisplay = (("BEST: " + this.bestrest) + ":") + this.besthund; _root.trialtimer = (("TIME: " + this.bestrest) + ":") + this.besthund; } } function startTimer() { _root.timerold = getTimer(); this.play(); } trialtime = getTimer() - _root.timerold; trialraw = trialtime.toString(); triallength = trialraw.length; trialpos1 = triallength - 1; trialpos2 = triallength - 3; trialpos3 = triallength - 3; trialmilli = trialraw.substr(trialpos1, 2); trialhund = trialraw.substr(trialpos2, 2); trialrest = trialraw.substr(0, trialpos3); _root.trialtimerraw = trialrest; _root.trialtimer = (("TIME: " + trialrest) + ":") + trialhund;
Symbol 101 Button
on (release) { gotoAndStop (3); }
Symbol 105 Button
on (release) { _root.gotoAndStop("classicgame"); }

Library Items

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

Instance Names

"bar"Frame 1Symbol 25 MovieClip
"fencehit1"Frame 4Symbol 53 MovieClip
"fencehit2"Frame 4Symbol 53 MovieClip
"fencehit3"Frame 4Symbol 53 MovieClip
"fencehit4"Frame 4Symbol 53 MovieClip
"fencehit6"Frame 4Symbol 53 MovieClip
"fencehit5"Frame 4Symbol 53 MovieClip
"fencehit7"Frame 4Symbol 53 MovieClip
"penhit1"Frame 4Symbol 55 MovieClip
"jump1"Frame 4Symbol 57 MovieClip
"jump2"Frame 4Symbol 57 MovieClip
"jump3"Frame 4Symbol 57 MovieClip
"jump4"Frame 4Symbol 57 MovieClip
"sheep"Frame 4Symbol 80 MovieClip
"sheepmover"Frame 4Symbol 83 MovieClip
"timer"Frame 4Symbol 95 MovieClip
"sheep"Symbol 80 MovieClip Frame 1Symbol 79 MovieClip

Special Tags

Protect (24)Timeline Frame 10 bytes ""
ExportAssets (56)Timeline Frame 1Symbol 1 as "soundcrickets"
ExportAssets (56)Timeline Frame 1Symbol 2 as "soundboing"
ExportAssets (56)Timeline Frame 1Symbol 3 as "soundbirds2"
ExportAssets (56)Timeline Frame 1Symbol 4 as "soundbirds"
ExportAssets (56)Timeline Frame 1Symbol 5 as "soundbaa"
ExportAssets (56)Timeline Frame 1Symbol 6 as "soundlamb"
ExportAssets (56)Timeline Frame 3Symbol 6 as "soundlamb"
ExportAssets (56)Timeline Frame 3Symbol 6 as "soundlamb"

Labels

"preloadstart"Frame 1
"home"Frame 3
"classicgame"Frame 4
"classicgameend"Frame 5
"default"Symbol 79 MovieClip Frame 1
"water"Symbol 79 MovieClip Frame 2
"jump"Symbol 79 MovieClip Frame 3
"mud"Symbol 79 MovieClip Frame 19

Dynamic Text Variables

inpentotalSymbol 89 EditableText""
inpentotalSymbol 90 EditableText""
escapedtotalSymbol 91 EditableText""
escapedtotalSymbol 92 EditableText""
trialtimerSymbol 96 EditableText""
trialtimerSymbol 97 EditableText""
msgSymbol 102 EditableText""
msgSymbol 103 EditableText""




http://swfchan.com/3/11346/info.shtml
Created: 7/6 -2019 09:56:45 Last modified: 7/6 -2019 09:56:45 Server time: 22/12 -2024 16:00:43