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

Scooby Doo Graveyard Scare.swf

This is the info page for
Flash #24436

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


Text
Use the arrow keys to move the
Shaggy left and right. Try to avoid the
Tomb Stones  and make it to the end.

PLAY

0

Actions

GAME OVER

0

YOU MADE IT!

0

ActionScript [AS1/AS2]

Frame 1
loadMovieNum ("loop1.swf", 1); stop();
Frame 2
function initGame() { firstRock = 1; lastRock = 0; spills = 0; totalRocks = 50; timeSinceLastRock = 0; riverSpeed = 0; attachMovie("kayaking fox", "fox", 999999); fox._x = 275; fox._y = 300; fox._xscale = 75; fox._yscale = 75; } function moveFox() { if (4 < fox._currentFrame) { dx = 0; } else if (Key.isDown(Key.RIGHT)) { dx = riverSpeed; fox.gotoAndStop("left"); } else if (Key.isDown(Key.LEFT)) { dx = -riverSpeed; fox.gotoAndStop("right"); } else { dx = 0; fox.gotoAndStop("still"); } fox._x = fox._x + dx; if (fox._x < 150) { fox._x = 150; } if (400 < fox._x) { fox._x = 400; } if (riverSpeed < 20) { riverSpeed = riverSpeed + 0.5; } } function newRock() { if (5 < timeSinceLastRock) { if (lastRock < totalRocks) { if (Math.random() < 0.1) { lastRock++; attachMovie("rocks", "rock" + lastRock, lastRock); _root["rock" + lastRock]._x = (Math.random() * 250) + 150; _root["rock" + lastRock]._y = 0; f = int(Math.Random() * _root["rock" + lastRock]._totalFrames) + 1; _root["rock" + lastRock].gotoAndStop(f); timeSinceLastRock = 0; _root["rock" + i].hit = false; } } } timeSinceLastRock++; } function moveRocks() { i = firstRock; while (lastRock >= i) { x = _root["rock" + i]._x; y = _root["rock" + i]._y + riverSpeed; if (400 < y) { removeRock(i); } else if (((_root["rock" + i].hit == false) and (Math.abs(y - fox._y) < 60)) and (Math.abs(x - fox._x) < 25)) { spills = spills + 1; _root["rock" + i].hit = true; fox.gotoAndPlay("spill"); riverSpeed = 0; if (5 < spills) { removeAll(); gotoAndPlay (3); } } _root["rock" + i]._y = y; i++; } } function removeRock(n) { _root["rock" + n].removeMovieClip(); firstRock = n + 1; if (n == totalRocks) { removeAll(); gotoAndPlay (4); } } function removeAll() { i = firstRock; while (lastRock >= i) { _root["rock" + i].removeMovieClip(); i++; } fox.removeMovieClip(); } stop();
Instance of Symbol 35 MovieClip in Frame 2
onClipEvent (load) { _root.initGame(); } onClipEvent (enterFrame) { _root.moveFox(); _root.newRock(); _root.moveRocks(); }
Frame 3
stop();
Frame 4
stop();
Symbol 12 MovieClip [kayaking fox] Frame 1
stop();
Symbol 26 Button
on (press) { gotoAndPlay (1); }

Library Items

Symbol 1 GraphicUsed by:12
Symbol 2 GraphicUsed by:12
Symbol 3 GraphicUsed by:9
Symbol 4 GraphicUsed by:9
Symbol 5 GraphicUsed by:9
Symbol 6 GraphicUsed by:9
Symbol 7 GraphicUsed by:9
Symbol 8 GraphicUsed by:9
Symbol 9 MovieClipUses:3 4 5 6 7 8Used by:12
Symbol 10 GraphicUsed by:12
Symbol 11 SoundUsed by:12
Symbol 12 MovieClip [kayaking fox]Uses:1 2 9 10 11
Symbol 13 GraphicUsed by:16  Timeline
Symbol 14 BitmapUsed by:15
Symbol 15 GraphicUses:14Used by:16  Timeline
Symbol 16 MovieClip [rocks]Uses:13 15
Symbol 17 GraphicUsed by:Timeline
Symbol 18 GraphicUsed by:Timeline
Symbol 19 GraphicUsed by:Timeline
Symbol 20 GraphicUsed by:Timeline
Symbol 21 GraphicUsed by:Timeline
Symbol 22 FontUsed by:23 25 36 37 38 39
Symbol 23 TextUses:22Used by:Timeline
Symbol 24 GraphicUsed by:26
Symbol 25 TextUses:22Used by:26
Symbol 26 ButtonUses:24 25Used by:Timeline
Symbol 27 GraphicUsed by:Timeline
Symbol 28 GraphicUsed by:29
Symbol 29 MovieClipUses:28Used by:Timeline
Symbol 30 GraphicUsed by:Timeline
Symbol 31 FontUsed by:32
Symbol 32 EditableTextUses:31Used by:Timeline
Symbol 33 FontUsed by:34
Symbol 34 TextUses:33Used by:35
Symbol 35 MovieClipUses:34Used by:Timeline
Symbol 36 TextUses:22Used by:Timeline
Symbol 37 EditableTextUses:22Used by:Timeline
Symbol 38 TextUses:22Used by:Timeline
Symbol 39 EditableTextUses:22Used by:Timeline

Special Tags

Protect (24)Timeline Frame 10 bytes ""
ExportAssets (56)Timeline Frame 1Symbol 12 as "kayaking fox"
ExportAssets (56)Timeline Frame 1Symbol 16 as "rocks"

Labels

"start"Frame 1
"lose"Frame 3
"win"Frame 4
"still"Symbol 12 MovieClip [kayaking fox] Frame 1
"right"Symbol 12 MovieClip [kayaking fox] Frame 2
"left"Symbol 12 MovieClip [kayaking fox] Frame 3
"spill"Symbol 12 MovieClip [kayaking fox] Frame 4

Dynamic Text Variables

spillsSymbol 32 EditableText"0"
scoreSymbol 37 EditableText"0"
scoreSymbol 39 EditableText"0"




http://swfchan.com/5/24436/info.shtml
Created: 25/5 -2019 01:05:07 Last modified: 25/5 -2019 01:05:07 Server time: 22/12 -2024 09:57:43