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

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

TunnelRush.swf

This is the info page for
Flash #24502

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


Text
Loading

Play
More
Games

100%

Play

made for Newgrounds.com

Tunnel Rush

High :

0000

Music from F-Zero on www.vgmusic.com
Programming - Syruplord  -view site-

Clear High Score

0000

Replay

High :

0000

Score :

0000

ActionScript [AS1/AS2]

Frame 1
switchSound("", 5); stop(); _quality = "MEDIUM";
Frame 2
MySO = SharedObject.getLocal("highscore"); _root.high = MySO.data.thing; function createSound(id) { _root.createEmptyMovieClip(id, _root.soundCount); _root[id][id] = new Sound(); _root[id][id].attachSound(id); _root.soundCount++; } function playSound(name, volume) { _root.currentSong = name; _root[name][name].start(0, 99999); _root[name][name].setVolume(volume); } function switchSound(second, speed) { first = _root.currentSong; _root.music.switched = false; _root.music.onEnterFrame = function () { if (!_root.music.switched) { if (_root[first][first].getVolume() > 0) { _root[first][first].setVolume(_root[first][first].getVolume() - speed); } else { _root.music.switched = true; _root[first][first].stop(first); _root.playSound(second); } } else if (_root[second][second].getVolume() < 100) { _root[second][second].setVolume(_root[second][second].getVolume() + speed); } else { delete _root.music.onEnterFrame; } }; } _root.createEmptyMovieClip("Music", 999); createSound("Song_1"); createSound("Song_2"); switchSound("", 5); stop(); function rotate() { _root.waveMC.removeMovieClip(); _root.distance = _root.distance * 0.5; _root.rotSpeed = _root.rotSpeed * 0.5; _root.rotTime = 0; rotCount++; if (rotCount > (3 + _root.level)) { rotCount = 0; _root.level++; _root.myColor++; if (myColor > 10) { myColor = 1; } } var lvl = (random(_root.level) + 1); if (lvl == 1) { _root.rotSpeed = random(11) - 5; } else if (lvl == 2) { _root.rotSpeed = 5 * (random(3) - 1); _root.rotCount = 50; } else if (lvl == 3) { _root.small = true; _root.distance = random(25) + 25; } else if (lvl == 4) { _root.createEmptyMovieClip("WaveMC", 100); _root.WaveMC.top = false; _root.WaveMC.onEnterFrame = function () { if (!_root.WaveMC.top) { _root.distance = _root.distance - 2; if (_root.distance < -25) { _root.WaveMC.top = true; } } else { _root.distance = _root.distance + 4; if (_root.distance > 100) { _root.WaveMC.top = false; } } }; } else if (lvl == 5) { _root.rotSpeed = random(11) - 5; _root.createEmptyMovieClip("WaveMC", 100); _root.WaveMC.top = false; _root.WaveMC.onEnterFrame = function () { if (!_root.WaveMC.top) { _root.distance = _root.distance - 2; if (_root.distance < -25) { _root.WaveMC.top = true; } } else { _root.distance = _root.distance + 4; if (_root.distance > 100) { _root.WaveMC.top = false; } } }; } else if (lvl >= 6) { _root.rotSpeed = 3 * (random(3) - 1); _root.distance = 80; _root.rotCount = 200; } } function SpawnWall() { if (W == 60) { W = 1; } _root.wallHold.attachMovie("Wall", "Wall" + W, W); _root.wallHold["Wall" + W].myPrev = W - 1; _root.wallHold["Wall" + W].mine = W; _root.wallHold2.attachMovie("Wall", "Wall" + W, W); _root.wallHold2["Wall" + W].big = true; if (_root.wallHold["Wall" + W].myPrev == 0) { _root.wallHold["Wall" + W].myPrev = 59; } W++; }
Frame 3
switchSound("Song_1", 5); stop();
Frame 4
switchSound("Song_2", 2); stop(); _root.Speed = 23; _root.myColor = 1; _root.dead = false; _root.deadTime = 0; _root.time = 0; _root.wallHold._rotation = 0; _root.rotCount = 0; _root.rotSpeed = 0; _root.distance = 0; _root.level = 1; W = 1; Mouse.hide(); onEnterFrame = function () { if (!_root.dead) { _root.time = _root.time + _root.level; spawnWall(); rotTime++; if (rotTime > (random(100) + 50)) { rotate(); } if (_root.rotSpeedC < _root.rotSpeed) { _root.rotSpeedC = _root.rotSpeedC + 0.5; } else if (_root.rotSpeedC > _root.rotSpeed) { _root.rotSpeedC = _root.rotSpeedC - 0.5; } _root.wallHold._rotation = _root.wallHold._rotation + _root.rotSpeedC; _root.wallHold2._rotation = _root.wallHold._rotation; } }; div = 2; WallHold.onEnterFrame = function () { if (!_root.dead) { var i = 0; while (i < div) { var i2 = 1; while (i2 < 60) { wallHold["Wall" + i2]._x = wallHold["Wall" + i2]._x - (_root.Speed / div); wallHold2["Wall" + i2]._x = wallHold2["Wall" + i2]._x - (_root.Speed / div); if (_root.WallHold.hitTest(_root.Hero._x, _root.Hero._y, true)) { _root.dead = true; _root.Hero.play(); Mouse.show(); } i2++; } i++; } } };
Frame 5
if ((_root.time > _root.high) or (_root.high == undefined)) { _root.high = _root.time; MySO.data.thing = _root.high; } switchSound("Song_1", 8); stop(); dead = true;
Symbol 5 MovieClip [Ball_Trail] Frame 1
speed = random(5) + 10; scale = random(2) + 3; _x = _root.Hero._x; _y = _root.Hero._y; _x = (_x + (random(11) - 5)); _y = (_y + (random(11) - 5)); _xscale = 50; _yscale = _xscale; onEnterFrame = function () { if (!_root.dead) { x = Math.sin((_root.WallHold._rotation - 90) * (Math.PI/180)) * speed; y = (Math.cos((_root.WallHold._rotation - 90) * (Math.PI/180)) * speed) * -1; _x = (_x + x); _y = (_y + y); } _xscale = (_xscale - scale); _yscale = _xscale; if (_xscale < 0) { this.removeMovieClip(); } };
Symbol 5 MovieClip [Ball_Trail] Frame 25
stop();
Symbol 17 MovieClip Frame 1
if (_parent.big) { gotoAndStop (11); } else { gotoAndStop(_root.myColor); }
Symbol 18 MovieClip [Wall] Frame 1
if (!big) { _x = 425; _y = ((_root.WallHold["Wall" + myPrev]._y + random(26)) - 12.5); _root.WallHold2["Wall" + mine]._y = _y; if (_y < -150) { _y = -150; } else if (_y > 150) { _y = 150; } piece1._y = piece1._y + (_root.distance / 2); piece2._y = piece2._y - (_root.distance / 2); onEnterFrame = function () { if (!_root.dead) { if (_x < -400) { this.removeMovieClip(); } } }; } else { piece1._y = piece1._y + (_root.distance / 2); piece2._y = piece2._y - (_root.distance / 2); _x = 425; onEnterFrame = function () { if (!_root.dead) { if (_x < -400) { this.removeMovieClip(); } } }; }
Symbol 20 MovieClip [explosion] Frame 1
_xscale = 1; _yscale = _xscale; _x = (_x + (random(26) - 12.5)); _y = (_y + (random(26) - 12.5)); speed = random(30) + 10; onEnterFrame = function () { _xscale = (_xscale + speed); _yscale = _xscale; if (speed > 0) { speed = speed - 1; } time++; if (time > 25) { _alpha = (_alpha - 10); if (_alpha < 0) { this.removeMovieClip(); } } };
Symbol 23 MovieClip [Load_Loading] Frame 1
_xscale = 120; _yscale = _xscale; x = _x; y = _y; onEnterFrame = function () { _x = x; _y = y; _x = (_x + (random(2) - 0.5)); _y = (_y + (random(2) - 0.5)); if (this.top) { this._alpha = this._alpha - 2; } if (!this.top) { this._alpha = this._alpha + 2; } if (this._alpha >= 100) { this.top = true; } if (this._alpha <= 0) { this.top = false; } };
Symbol 33 Button
on (release) { getURL ("http://www.gamesofgondor.com", "_blank"); }
Symbol 35 MovieClip Frame 1
_alpha = 0; x = _x; y = _y; onEnterFrame = function () { a = Math.round(_parent.percent) + " %"; _x = x; _y = y; _x = (_x + (random(2) - 0.5)); _y = (_y + (random(2) - 0.5)); _xscale = 120; _yscale = _xscale; if (this.top) { this._alpha = this._alpha - 2; } if (!this.top) { this._alpha = this._alpha + 2; } if (this._alpha >= 100) { this.top = true; } if (this._alpha <= 0) { this.top = false; } };
Symbol 42 Button
on (release) { _root.play(); }
Symbol 43 MovieClip Frame 1
stop(); onEnterFrame = function () { var total = _root.getBytesTotal(); var current = _root.getBytesLoaded(); percent = (current / total) * 100; if (percent >= 99) { gotoAndStop (2); } };
Symbol 61 MovieClip Frame 1
gotoAndPlay (2);
Symbol 61 MovieClip Frame 177
stop(); _root.play();
Symbol 63 Button
on (release) { play(); }
Symbol 68 Button
on (release) { getURL ("http://www.vgmusic.com", "_blank"); }
Symbol 69 Button
on (release) { getURL ("http://www.freewebs.com/syruplord/home.htm", "_blank"); }
Symbol 71 Button
on (release) { _root.high = 0; MySO.data.thing = _root.high; }
Symbol 73 MovieClip Frame 1
onEnterFrame = function () { _rotation = (_root.wallHold._rotation + 90); };
Symbol 84 MovieClip Frame 1
_name = "Hero"; stop(); onEnterFrame = function () { if (!_root.dead) { _rotation = (_root.WallHold._rotation + 90); _x = _root._xmouse; _y = _root._ymouse; trail(); } }; function trail() { _root.TrailHold.attachMovie("Ball_Trail", "T" + t, t); t++; }
Symbol 84 MovieClip Frame 2
stop(); onEnterFrame = function () { if (Ec < 20) { attachMovie("Explosion", "E" + Ec, Ec); } Ec++; if (Ec > 70) { _root.gotoAndPlay("dead"); } };
Symbol 90 Button
on (release) { gotoAndPlay (4); }

Library Items

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

Instance Names

"TrailHold"Frame 4Symbol 74 MovieClip
"WallHold2"Frame 4Symbol 74 MovieClip
"WallHold"Frame 4Symbol 74 MovieClip
"piece1"Symbol 18 MovieClip [Wall] Frame 1Symbol 17 MovieClip
"piece2"Symbol 18 MovieClip [Wall] Frame 1Symbol 17 MovieClip

Special Tags

ExportAssets (56)Timeline Frame 1Symbol 1 as "Song_1"
ExportAssets (56)Timeline Frame 1Symbol 2 as "Song_2"
ExportAssets (56)Timeline Frame 1Symbol 5 as "Ball_Trail"
ExportAssets (56)Timeline Frame 1Symbol 18 as "Wall"
ExportAssets (56)Timeline Frame 1Symbol 20 as "explosion"
ExportAssets (56)Timeline Frame 1Symbol 23 as "Load_Loading"
ExportAssets (56)Timeline Frame 1Symbol 23 as "Load_Loading"
ExportAssets (56)Timeline Frame 1Symbol 23 as "Load_Loading"

Labels

"menu"Frame 3
"game"Frame 4
"dead"Frame 5
"big"Symbol 17 MovieClip Frame 11

Dynamic Text Variables

aSymbol 34 EditableText"100%"
highSymbol 65 EditableText"0000"
timeSymbol 86 EditableText"0000"
timeSymbol 92 EditableText"0000"
highSymbol 94 EditableText"0000"




http://swfchan.com/5/24502/info.shtml
Created: 24/5 -2019 22:36:08 Last modified: 24/5 -2019 22:36:08 Server time: 13/05 -2024 03:45:40