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

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

Raccoon Rush.swf

This is the info page for
Flash #30186

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


Text
Loading

ALLFUNNYSTUFF.COM

Play

Play

Play

Help

Help

Help

Level 1

Life
25

Back

Back

Back

More Games at AllFunnyStuff.com

More Games at AllFunnyStuff.com

Small Jump   :   Up Arrow

Pause Game  :   Key P

You can pass under

Power Jump  :   Space

ActionScript [AS1/AS2]

Frame 60
if ((!_totalframes) || (_framesloaded != _totalframes)) { gotoAndPlay (1); }
Frame 61
function SetStatus(s) { if (s == undefined) { s = ""; } _root.txtStatus = String(s); } function SetLife(l) { _root.txtLife = "Life\n" + String(l); } function SetLevel(lv, ttlv) { _root.txtLevel = (("Level " + String(lv)) + "/") + String(ttlv); } function NewGame() { _root.gotoAndStop("play"); _root.MainGame.removeMovieClip(); MainGame = _root.createEmptyMovieClip("MainGame", _root.getNextHighestDepth()); MainGame._y = 325; map = MainGame.attachMovie("class_map", "map", MainGame.getNextHighestDepth()); character = MainGame.attachMovie("class_character", "character", MainGame.getNextHighestDepth() + 1); map.setSize(size[0], size[1]); map.setMap(LevelMap); character.setSize(size[0], size[1]); character.setLife(Life); character.setMap(map); character.setOptionLevel(LevelOption); character.Start(); _root.setStatus(""); MainGame.onKeyUp = function () { if (Key.getCode() == 80) { if (this.pause == undefined) { this.pause = false; } this.pause = !this.pause; _root.SetStatus(); if (this.pause) { _root.SetStatus("Pause"); } this.character.Pause(this.pause); } }; Key.addListener(MainGame); } stop(); var map1 = [[], [], [], [], [], [], [], [], [], [], [1, 0.2, 1], [], [], [], [], [], [], [], [], [], []]; var map2 = [[], [], [], [], [], [], [], [], [], [], [3, 0.3, 2, 10], [], [], [], [], [], [], [], [], [], []]; var map3 = [[], [], [], [], [], [], [], [], [], [], [5, 1, 2, 12], [], [], [], [], [], [], [], [], [], []]; var map4 = [[], [], [], [], [], [], [1, 0.2, 1], [], [], [], [1, 0.2, 1], [], [], [], [1, 0.2, 1], [], [], [], [], [], []]; var map5 = [[], [], [], [], [], [3, 0.3, 2, 10], [], [], [], [], [3, 0.3, 2, 10], [], [], [], [], [3, 0.3, 2, 10], [], [], [], [], []]; var map6 = [[], [], [], [1, 0.2, 1], [], [], [1, 1, 2, 5], [], [], [1, 0.2, 1], [], [], [1, 1, 2, 5], [], [], [1, 0.2, 1], [], [], [], [], []]; var map7 = [[], [], [], [1, 0.2, 1], [], [], [], [3, 0.3, 2, 10], [], [], [], [1, 0.2, 1], [3, 0.3, 2, 10], [], [], [], [], [1, 0.2, 1], [], [], []]; var map8 = [[], [], [], [1, 0.2, 1], [], [], [], [1, 3, 3, 10], [1, 3, 3, 10], [3, 0.3, 2, 10], [1, 0.4, 1], [1, 0.2, 1], [], [], [], [3, 0.3, 2, 10], [1, 0.2, 1], [1, 0.2, 1], [], [], []]; var map9 = [[], [], [], [1, 0.2, 1], [], [], [], [], [3, 0.3, 2, 10], [], [], [1, 1, 2, 5], [], [], [], [3, 0.3, 2, 10], [1, 0.2, 1], [1, 0.2, 1], [], [], []]; var map10 = [[], [], [], [], [5, 1, 2, 12], [1, 1, 1.3, 0], [], [], [3, 0, 1, 10], [], [1, 3, 3, 10], [], [], [2, 1, 1.5, 10], [1, 0.3, 2, 0, -10], [], [2, 1, 2.5, 10], [], [], [], []]; var map11 = [[], [], [], [1, 0.2, 1], [1, 0.2, 1], [1, 0.2, 1], [], [], [3, 0.3, 2, 10], [3, 0.3, 2, 10], [], [], [1, 1, 2, 5], [], [], [3, 0.3, 2, 10], [], [], [1, 1, 2, 5], [], []]; var map12 = [[], [], [], [1, 1, 2, 5], [1, 0.2, 1], [1, 0.2, 1], [3, 0.3, 2, 10], [], [], [2, 2, 2, 5], [], [], [1, 0.2, 1], [1, 0.2, 1], [1, 0.2, 1], [], [1, 0.2, 1], [1, 0.2, 1], [1, 0.2, 1], [1, 0.2, 1], []]; var map13 = [[], [], [5, 1, 2, 12], [5, 1, 2, 12], [5, 1, 2, 12], [1, 1, 2, 5], [], [1, 1, 1.5, 5], [3, 0.3, 2, 3], [1, 0.2, 1], [], [], [1, 0.2, 1], [], [], [3, 0.3, 2, 10], [], [], [5, 1, 2, 12], [5, 1, 2, 12], [5, 1, 2, 12]]; var map14 = [[1, 1, 2, 5], [1, 1, 2, 5], [1, 1, 2, 5], [1, 1, 2, 5], [], [3, 0.2, 1.8, 3], [], [], [], [1, 0.2, 1], [1, 0.2, 1], [3, 0.3, 2, 3], [1, 0.2, 1], [], [3, 1.5, 2, 10], [], [1, 0.2, 1], [3, 0.3, 2, 3], [1, 0.2, 1], [], []]; var map15 = [[1, 1, 2, 5], [], [], [1, 0.2, 1], [], [1, 1, 2, 5], [], [], [1, 1, 2.5, 5], [3, 0.3, 2, 3], [1, 0.2, 1], [], [], [], [3, 1.5, 2, 10], [], [1, 0.2, 1], [1, 0.2, 1], [1, 0.3, 1], [], [1, 1, 2, 5]]; var LevelMap = [map1, map2, map3, map4, map5, map6, map7, map8, map9, map10, map11, map12, map13, map14, map15]; var level1 = {x_speed:7, x_sjump:7, y_sjump:15, x_pjump:7.5, y_pjump:20, gravity:2}; var LevelOption = [level1]; var Life = 10; var size = [30, 30]; MovieClip.prototype.Blur = function (x, y) { var _local2 = new flash.filters.BlurFilter(x, y, 3); this.filters = new Array(_local2); };
Frame 62
stop();
Frame 63
stop();
Symbol 4 MovieClip Frame 13
gotoAndPlay (1);
Symbol 10 MovieClip Frame 1
d = 50 + random(50);
Symbol 10 MovieClip Frame 2
d = d - 1;
Symbol 10 MovieClip Frame 3
if (d > 0) { gotoAndPlay(_currentframe - 1); }
Symbol 10 MovieClip Frame 20
d = 20 + random(40);
Symbol 10 MovieClip Frame 21
d = d - 1;
Symbol 10 MovieClip Frame 22
if (d > 0) { gotoAndPlay(_currentframe - 1); }
Symbol 10 MovieClip Frame 40
gotoAndPlay (1);
Symbol 19 MovieClip Frame 2
death = false;
Symbol 19 MovieClip Frame 14
gotoAndPlay ("run");
Symbol 19 MovieClip Frame 22
death = false;
Symbol 19 MovieClip Frame 30
this.gotoAndPlay("jump");
Symbol 19 MovieClip Frame 37
death = false;
Symbol 19 MovieClip Frame 45
death = true; stop();
Symbol 19 MovieClip Frame 52
death = false;
Symbol 19 MovieClip Frame 53
stop();
Symbol 19 MovieClip Frame 62
gotoAndPlay ("lastdeath");
Symbol 20 MovieClip [class_character] Frame 1
#initclip 2 function class_character() { this.def_x_speed = 3; this.def_x_sjump = 20; this.def_y_sjump = 20; this.def_x_pjump = 20; this.def_y_pjump = 40; this.def_gravity = 2; this.def_width = 30; this.def_height = 30; this.def_totalLife = 25; this.setSize(this.width, this.height); this.setLife(this.life); this.setMap(this.map); this.setOptionLevel(this.levelopt); this.ResetPostion(); } class_character.prototype = new MovieClip(); class_character.prototype.setSpeed = function (sp) { this.x_speed = ((sp == undefined) ? (((this.x_speed == undefined) ? (this.def_x_speed) : (this.x_speed))) : (Number(sp))); this.vx = this.x_speed; }; class_character.prototype.setSmallJump = function (xj, yj) { this.x_sjump = ((xj == undefined) ? (((this.x_sjump == undefined) ? (this.def_x_sjump) : (this.x_sjump))) : (Number(xj))); this.y_sjump = ((yj == undefined) ? (((this.y_sjump == undefined) ? (this.def_y_sjump) : (this.y_sjump))) : (Number(yj))); }; class_character.prototype.setPowerJump = function (xj, yj) { this.x_pjump = ((xj == undefined) ? (((this.x_pjump == undefined) ? (this.def_x_pjump) : (this.x_pjump))) : (Number(xj))); this.y_pjump = ((yj == undefined) ? (((this.y_pjump == undefined) ? (this.def_y_pjump) : (this.y_pjump))) : (Number(yj))); }; class_character.prototype.setGravity = function (g) { this.gravity = ((g == undefined) ? (((this.gravity == undefined) ? (this.def_gravity) : (this.gravity))) : (Number(g))); }; class_character.prototype.setOptionLevel = function (opt) { this.levelopt = opt; this.setLevel(this.level); }; class_character.prototype.setLevel = function (lv) { this.level = ((lv == undefined) ? 0 : (Number(lv))); _root.SetLevel(this.level + 1, this.totalLevel); this.CurOption = this.levelopt[this.level]; this.setSpeed(this.CurOption.x_speed); this.setSmallJump(this.CurOption.x_sjump, this.CurOption.y_sjump); this.setPowerJump(this.CurOption.x_pjump, this.CurOption.y_pjump); this.setGravity(this.CurOption.gravity); }; class_character.prototype.setMap = function (map) { this.map = map; this.totalLevel = map.totalLevel; }; class_character.prototype.setSize = function (w, h) { this.width = ((w == undefined) ? (this.def_width) : (Number(w))); this.height = ((h == undefined) ? (this.def_height) : (Number(h))); }; class_character.prototype.setLife = function (lf) { this.totalLife = ((lf == undefined) ? (this.def_totalLife) : (Number(lf))); this.life = this.totalLife; _root.SetLife(this.life); }; class_character.prototype.Run = function () { this.KeyAble(true); this.onEnterFrame = function () { this._x = this._x + this.vx; this._y = this._y + this.vy; this.CheckPostion(); }; }; class_character.prototype.Stop = function () { this.KeyAble(false); delete this.onEnterFrame; }; class_character.prototype.Pause = function (p) { if (p) { this.Stop(); } else if (!this.death) { this.Run(); } }; class_character.prototype.Die = function () { this.life--; _root.SetLife(this.life); if (this.life > 0) { this.character.gotoAndPlay("death"); this.Stop(); this.death = true; this.timerDeath = setInterval(this.CheckTimeDeath, 100, this); } else { this.character.gotoAndPlay("lastdeath"); _root.SetStatus("You lose!"); this.Stop(); } }; class_character.prototype.KeyAble = function (key) { if (key) { Key.addListener(this); this.onKeyDown = function () { if (Key.isDown(38)) { this.vx = this.x_sjump; this.vy = -this.y_sjump; this.character.gotoAndPlay("jump"); this.KeyAble(false); } if (Key.isDown(32)) { this.vx = this.x_pjump; this.vy = -this.y_pjump; this.character.gotoAndPlay("jump"); this.KeyAble(false); } }; } else { Key.removeListener(this); } }; class_character.prototype.ResetPostion = function (lvup) { this._x = 0; if (!lvup) { this._y = 0; this.vx = this.x_speed; this.vy = 0; } }; class_character.prototype.CheckPostion = function () { if (this._y > 0) { this._y = 0; this.vx = this.x_speed; this.vy = 0; this._rotation = 0; this.character.gotoAndPlay("run"); this.KeyAble(true); } else if (this._y < 0) { this.vy = this.vy + this.gravity; } if ((this.map.alltree.hitTest(this._x + this._parent._x, (this._y + this._parent._y) - ((3 * this.height) / 4), 1) or this.map.alltree.hitTest(this._x + this._parent._x, (this._y + this._parent._y) - ((2 * this.height) / 4), 1)) or this.map.alltree.hitTest(this._x + this._parent._x, (this._y + this._parent._y) - ((1 * this.height) / 4), 1)) { this.Die(); } if (this._x >= 600) { this.FinishLevel(); } }; class_character.prototype.CheckTimeDeath = function (mc) { if (mc.character.death) { if (mc._parent.pause) { mc.character.gotoAndPlay("death"); } else { mc.character.gotoAndPlay("run"); mc.ResetPostion(false); mc.Run(); mc.death = false; clearInterval(mc.timerDeath); } } }; class_character.prototype.FinishLevel = function () { this.level++; if (this.level < this.totalLevel) { this.ResetPostion(true); this.setLevel(this.level); this.map.setLevel(this.level); } else { _root.SetStatus("Congratulations, You Finished!!!"); } }; class_character.prototype.Start = function () { this.setLife(this.totalLife); this.setLevel(0); this.map.drawMap(0); this.Run(); _root.SetStatus(); }; Object.registerClass("class_character", class_character); #endinitclip
Symbol 25 MovieClip [class_map] Frame 1
#initclip 1 function class_map() { this.def_width = 30; this.def_height = 30; this.setMap(this.maplevel); this.setSize(this.width, this.height); } class_map.prototype = new MovieClip(); class_map.prototype.setMap = function (map) { this.def_width = 30; this.def_height = 30; this.maplevel = map; this.totalLevel = map.length; }; class_map.prototype.setLevel = function (lv) { this.level = ((lv == undefined) ? 0 : (Number(lv))); this.drawMap(this.level); }; class_map.prototype.setSize = function (w, h) { this.width = ((w == undefined) ? (this.def_width) : (Number(w))); this.height = ((h == undefined) ? (_root.def_height) : (Number(h))); }; class_map.prototype.drawMap = function (lv) { this.allroot.removeMovieClip(); this.alltree.removeMovieClip(); allroot = this.createEmptyMovieClip("allroot", this.getNextHighestDepth()); alltree = this.createEmptyMovieClip("alltree", this.getNextHighestDepth() + 1); allroot.Blur(2, 2); alltree.Blur(2, 2); highest_depth = allroot.getNextHighestDepth(); var _local4 = 0; while (_local4 < this.maplevel[lv].length) { map = this.maplevel[lv][_local4]; quantity = ((map[0] == undefined) ? 0 : (Number(map[0]))); root = ((map[1] == undefined) ? 0 : (Number(map[1]))); tree = ((map[2] == undefined) ? 0 : (Number(map[2]))); space = ((map[3] == undefined) ? 0 : (Number(map[3]))); moving = ((map[4] == undefined) ? 0 : (Number(map[4]))); listDepth = new Array(); listDepth.length = quantity; var _local2 = 0; while (_local2 < quantity) { do { d = int(Math.random() * quantity); if (listDepth[d] == undefined) { break; } } while (true); listDepth[d] = 1; var _local5 = ((this.width * _local4) + (((d - (quantity / 2)) - 0.5) * space)) + moving; m_root = null; if (root) { var m_root = allroot.attachMovie("m_root", ("root" + _local4) + _local2, highest_depth + _local2); m_root._x = _local5; m_root._xscale = 100 + ((Math.random * root) * 20); m_root._height = (1 + (Math.random() * 0.2)) * this.height; m_root._height = m_root._height * root; } if (tree) { var _local3 = alltree.attachMovie("m_tree", ("tree" + _local4) + _local2, highest_depth + _local2); _local3._x = _local5; _local3._y = ((m_root._height == undefined) ? 0 : (-m_root._height)); _local3._width = (1 + (tree * (Math.random() * 0.3))) * this.width; _local3._height = (1 + (Math.random() * 0.3)) * this.height; _local3._height = _local3._height * tree; } _local2++; } highest_depth = highest_depth + quantity; _local4++; } }; Object.registerClass("class_map", class_map); #endinitclip mc_tree._visible = false; mc_root._visible = false;
Symbol 32 MovieClip Frame 1
_root.stop(); PercentLoaded = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100; if (PercentLoaded != 100) { bar._xscale = PercentLoaded; } else { gotoAndStop ("loaded"); }
Symbol 32 MovieClip Frame 2
gotoAndPlay (1);
Symbol 32 MovieClip Frame 3
_root.play();
Symbol 38 Button
on (release) { getURL ("http://www.allfunnystuff.com", "_blank"); }
Symbol 48 Button
on (release) { NewGame(); }
Symbol 52 Button
on (release) { gotoAndStop ("intro"); stopAllSounds(); }
Symbol 57 Button
on (release) { getURL ("http://www.allfunnystuff.com", "_blank"); }
Symbol 68 Button
on (release) { _root.gotoAndPlay("main"); _root.MainGame.removeMovieClip(); stopAllSounds(); }
Symbol 72 Button
on (release) { nextFrame(); }
Symbol 74 Button
on (release) { prevFrame(); }
Symbol 75 MovieClip Frame 1
stop();
Symbol 75 MovieClip Frame 2
stopAllSounds();
Symbol 80 Button
on (release) { getURL ("http://www.allfunnystuff.com", "_blank"); }
Symbol 83 Button
on (release) { _root.gotoAndPlay("main"); _root.MainGame.removeMovieClip(); }

Library Items

Symbol 1 Sound [coolsound]
Symbol 2 GraphicUsed by:19
Symbol 3 GraphicUsed by:4
Symbol 4 MovieClipUses:3Used by:19
Symbol 5 GraphicUsed by:19
Symbol 6 GraphicUsed by:19
Symbol 7 GraphicUsed by:12
Symbol 8 GraphicUsed by:12
Symbol 9 GraphicUsed by:10
Symbol 10 MovieClipUses:9Used by:12
Symbol 11 GraphicUsed by:12
Symbol 12 MovieClipUses:7 8 10 11Used by:19
Symbol 13 GraphicUsed by:19
Symbol 14 GraphicUsed by:19
Symbol 15 SoundUsed by:19
Symbol 16 GraphicUsed by:19
Symbol 17 GraphicUsed by:19
Symbol 18 GraphicUsed by:19
Symbol 19 MovieClipUses:2 4 5 6 12 13 14 15 16 17 18Used by:20  Timeline
Symbol 20 MovieClip [class_character]Uses:19
Symbol 21 GraphicUsed by:22
Symbol 22 MovieClip [m_root]Uses:21Used by:25  Timeline
Symbol 23 GraphicUsed by:24
Symbol 24 MovieClip [m_tree]Uses:23Used by:25  Timeline
Symbol 25 MovieClip [class_map]Uses:22 24
Symbol 26 GraphicUsed by:Timeline
Symbol 27 GraphicUsed by:28
Symbol 28 MovieClipUses:27Used by:32
Symbol 29 GraphicUsed by:32
Symbol 30 FontUsed by:31 41
Symbol 31 TextUses:30Used by:32
Symbol 32 MovieClipUses:28 29 31Used by:Timeline
Symbol 33 GraphicUsed by:34
Symbol 34 MovieClipUses:33Used by:Timeline
Symbol 35 BitmapUsed by:36 39
Symbol 36 GraphicUses:35Used by:Timeline
Symbol 37 GraphicUsed by:38
Symbol 38 ButtonUses:37Used by:Timeline
Symbol 39 GraphicUses:35Used by:Timeline
Symbol 40 SoundUsed by:Timeline
Symbol 41 TextUses:30Used by:Timeline
Symbol 42 ShapeTweeningUsed by:Timeline
Symbol 43 GraphicUsed by:48 52 68 83  Timeline
Symbol 44 FontUsed by:45 46 47 49 50 51 62 64 65 66 67 69 82 85 88 90
Symbol 45 TextUses:44Used by:48
Symbol 46 TextUses:44Used by:48
Symbol 47 TextUses:44Used by:48
Symbol 48 ButtonUses:43 45 46 47Used by:Timeline
Symbol 49 TextUses:44Used by:52
Symbol 50 TextUses:44Used by:52
Symbol 51 TextUses:44Used by:52
Symbol 52 ButtonUses:43 49 50 51Used by:Timeline
Symbol 53 BitmapUsed by:54
Symbol 54 GraphicUses:53Used by:Timeline
Symbol 55 BitmapUsed by:56
Symbol 56 GraphicUses:55Used by:57
Symbol 57 ButtonUses:56Used by:Timeline
Symbol 58 GraphicUsed by:Timeline
Symbol 59 GraphicUsed by:60
Symbol 60 MovieClipUses:59Used by:Timeline
Symbol 61 GraphicUsed by:Timeline
Symbol 62 EditableTextUses:44Used by:Timeline
Symbol 63 GraphicUsed by:Timeline
Symbol 64 EditableTextUses:44Used by:Timeline
Symbol 65 TextUses:44Used by:68 83
Symbol 66 TextUses:44Used by:68 83
Symbol 67 TextUses:44Used by:68 83
Symbol 68 ButtonUses:43 65 66 67Used by:Timeline
Symbol 69 EditableTextUses:44Used by:Timeline
Symbol 70 GraphicUsed by:75
Symbol 71 GraphicUsed by:72 74
Symbol 72 ButtonUses:71Used by:75
Symbol 73 SoundUsed by:75
Symbol 74 ButtonUses:71Used by:75
Symbol 75 MovieClipUses:70 72 73 74Used by:Timeline
Symbol 76 FontUsed by:77 78
Symbol 77 TextUses:76Used by:80
Symbol 78 TextUses:76Used by:80
Symbol 79 GraphicUsed by:80
Symbol 80 ButtonUses:77 78 79Used by:Timeline
Symbol 81 GraphicUsed by:Timeline
Symbol 82 TextUses:44Used by:Timeline
Symbol 83 ButtonUses:43 65 66 67Used by:Timeline
Symbol 84 GraphicUsed by:Timeline
Symbol 85 TextUses:44Used by:Timeline
Symbol 86 GraphicUsed by:Timeline
Symbol 87 GraphicUsed by:Timeline
Symbol 88 TextUses:44Used by:Timeline
Symbol 89 GraphicUsed by:Timeline
Symbol 90 TextUses:44Used by:Timeline

Instance Names

"character"Symbol 20 MovieClip [class_character] Frame 1Symbol 19 MovieClip
"mc_root"Symbol 25 MovieClip [class_map] Frame 1Symbol 22 MovieClip [m_root]
"mc_tree"Symbol 25 MovieClip [class_map] Frame 1Symbol 24 MovieClip [m_tree]
"bar"Symbol 32 MovieClip Frame 1Symbol 28 MovieClip

Special Tags

FileAttributes (69)Timeline Frame 1Access local files only, Metadata not present, AS1/AS2.
Protect (24)Timeline Frame 131 bytes "..$1$5y$NBQOteLOGWDW2P4HRLlBZ.."
ExportAssets (56)Timeline Frame 1Symbol 1 as "coolsound"
ExportAssets (56)Timeline Frame 1Symbol 20 as "class_character"
ExportAssets (56)Timeline Frame 1Symbol 22 as "m_root"
ExportAssets (56)Timeline Frame 1Symbol 24 as "m_tree"
ExportAssets (56)Timeline Frame 1Symbol 25 as "class_map"

Labels

"main"Frame 61
"play"Frame 62
"intro"Frame 63
"stop"Symbol 19 MovieClip Frame 1
"run"Symbol 19 MovieClip Frame 2
"jump"Symbol 19 MovieClip Frame 22
"death"Symbol 19 MovieClip Frame 37
"lastdeathxxx"Symbol 19 MovieClip Frame 52
"lastdeath"Symbol 19 MovieClip Frame 58
"loaded"Symbol 32 MovieClip Frame 3

Dynamic Text Variables

txtLevelSymbol 62 EditableText"Level 1"
txtLifeSymbol 64 EditableText"Life 25"
txtStatusSymbol 69 EditableText""




http://swfchan.com/7/30186/info.shtml
Created: 19/5 -2019 12:28:28 Last modified: 19/5 -2019 12:28:28 Server time: 10/05 -2024 10:15:39