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

Endless Flight.swf

This is the info page for
Flash #29929

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


Text
LOADING . . .

ActionScript [AS1/AS2]

Frame 1
stop(); _root.highscore = 0;
Frame 2
MovieClip.prototype.val = function (n) { return(((n > 0) ? 1 : (((n < 0) ? -1 : 0)))); }; ar = new Array(); _root.score = 0; a = 50; i = 0; while (i <= 550) { a = a + ((random(3) - 1) * 20); ar[i / 20] = Math.abs(a); i = i + 20; } l = ar.length; _root.onEnterFrame = function () { if (_currentframe == 2) { _root.createEmptyMovieClip("t", 2); _root.createEmptyMovieClip("t2", -2); _root.createEmptyMovieClip("b", 1); _root.createEmptyMovieClip("b2", -10); t.lineStyle(2, "0x000000"); t2.lineStyle(0, "0x000000", 0); b.lineStyle(2, "0x000000"); b2.lineStyle(0, "0x000000", 0); t.beginFill("0x00DF00"); t2.beginFill("0x00DF00", 0); b.beginFill("0x00DF00"); b2.beginFill("0x000000", 0); _root.bgt.setMask(t); _root.bgb.setMask(b); t.moveTo(0, 0); t2.moveTo(0, 0); b.moveTo(0, 400); b2.moveTo(0, 400); i = 0; while (i < l) { t.curveTo((i * 20) + 5, ar[i] - 3, i * 20, ar[i] + (((i + _root.score) % 25) ? 10 : 75)); t2.curveTo((i * 20) + 5, ar[i] - 3, i * 20, ar[i] + (((i + _root.score) % 25) ? 10 : 75)); b.curveTo((i * 20) + 5, ar[i] + Math.max(150, 300 - (_root.score / 10)), i * 20, (ar[i] + Math.max(150, 300 - (_root.score / 10))) - ((((i + _root.score) + 12) % 25) ? 5 : 25)); b2.curveTo((i * 20) + 5, ar[i] + Math.max(150, 300 - (_root.score / 10)), i * 20, (ar[i] + Math.max(150, 300 - (_root.score / 10))) - ((((i + _root.score) + 12) % 25) ? 5 : 25)); i++; } ar = ar.slice(1, l); ar.push(Math.min(200, Math.abs(ar[l - 2] + (val(random(int(3 + (_root.score / 250))) - int((3 + (_root.score / 250)) / 2)) * 20)))); t.lineTo(550, 0); t2.lineTo(550, 0); b.lineTo(550, 400); b2.lineTo(550, 400); t.lineTo(0, 0); t2.lineTo(0, 0); b.lineTo(0, 400); b2.lineTo(0, 400); t.endFill(); t2.endFill(); b.endFill(); b2.endFill(); i = _root.obsticle._height / -2; while (i <= (_root.obsticle._height / 2)) { if (_root.b2.hitTest(_root.dragon._x + i, _root.dragon._y + 10, true) || (_root.t2.hitTest(_root.dragon._x + i, _root.dragon._y - 10, true))) { _root.play(); } i++; } _root.score++; _root.sc = "score: " + _root.score; ((_root.score > _root.highscore) ? ((_root.highscore = _root.score)) : null); if (!(score % 100)) { _root.obsticle._x = 560; _root.obsticle._y = ar[l - 1] + (Math.max(75, 300 - (_root.score / 20)) / 2); } } };
Instance of Symbol 42 MovieClip "dragon" in Frame 2
onClipEvent (load) { y = (mouse = 0); } onClipEvent (mouseDown) { mouse = true; } onClipEvent (mouseUp) { mouse = false; } onClipEvent (enterFrame) { (mouse ? (this.play()) : null); y = Math.min(Math.max(-9, y), 9); _y = (_y - ((y = y + ((mouse * 2) - 1)))); _rotation = (180 - y); i = -23; while (i <= 23) { if (this.hitTest(_root.obsticle._x, _root.obsticle._y - i, true)) { _root.play(); } i++; } }
Instance of Symbol 45 MovieClip "obsticle" in Frame 2
onClipEvent (enterFrame) { _height = (55 - int(score / 40)); _x = (_x - 20); }
Frame 3
stop(); _root.t2.clear(); _root.b2.clear(); _root.t.clear(); _root.b.clear(); stopAllSounds(); i = 0; onEnterFrame = function () { i++; _root.hs = (((int(i / 24) % 2) && (_root.highscore == _root.score)) ? "New HighScore!" : ((("score: " + _root.score) + " highScore: ") + _root.highscore)); };
Symbol 13 MovieClip Frame 1
with (_parent) { onMouseDown = function () { if (this.hitTest(_root._xmouse, _root._ymouse, true)) { this.useHandCursor = true; getURL("http://www.gamesofgondor.com/", "_blank"); } }; }
Symbol 19 Button
on (release) { _root.nextFrame(); }
Symbol 23 Button
on (press) { _quality = "low"; }
Symbol 24 Button
on (press) { _quality = "medium"; }
Symbol 25 Button
on (press) { _quality = "high"; }
Symbol 26 MovieClip Frame 1
Stage.showMenu = false; stop();
Instance of Symbol 13 MovieClip in Symbol 26 MovieClip Frame 1
onClipEvent (load) { w = _width; } onClipEvent (enterFrame) { _width = ((_root.getBytesLoaded() / _root.getBytesTotal()) * w); _parent.mid._width = (_width / w) * 269.6; _parent.right._x = _parent.mid._x + _parent.mid._width; (int(_root.getBytesLoaded() / _root.getBytesTotal()) ? (_parent.nextFrame()) : null); }
Symbol 26 MovieClip Frame 2
Stage.showMenu = true;
Instance of Symbol 13 MovieClip in Symbol 26 MovieClip Frame 2
onClipEvent (load) { w = _width; } onClipEvent (enterFrame) { _width = ((_root.getBytesLoaded() / _root.getBytesTotal()) * w); _parent.mid._width = (_width / w) * 269.6; _parent.right._x = _parent.mid._x + _parent.mid._width; (int(_root.getBytesLoaded() / _root.getBytesTotal()) ? (_parent.nextFrame()) : null); }
Symbol 42 MovieClip Frame 1
stop();
Symbol 49 Button
on (release) { getURL ("http://www.purevolume.com/adamberry", "_blank"); }
Symbol 50 Button
on (release) { _root.prevFrame(); }
Symbol 56 Button
on (release) { getURL ("http://www.burstfilms.com/bbs/index.php?", "_blank"); }

Library Items

Symbol 1 BitmapUsed by:2 29
Symbol 2 GraphicUses:1Used by:Timeline
Symbol 3 GraphicUsed by:26
Symbol 4 FontUsed by:5 43 57
Symbol 5 TextUses:4Used by:26
Symbol 6 GraphicUsed by:7
Symbol 7 MovieClipUses:6Used by:26
Symbol 8 GraphicUsed by:9
Symbol 9 MovieClipUses:8Used by:26
Symbol 10 GraphicUsed by:26
Symbol 11 BitmapUsed by:12
Symbol 12 GraphicUses:11Used by:13
Symbol 13 MovieClipUses:12Used by:26  Timeline
Symbol 14 GraphicUsed by:26
Symbol 15 GraphicUsed by:19
Symbol 16 GraphicUsed by:19
Symbol 17 GraphicUsed by:19
Symbol 18 GraphicUsed by:19
Symbol 19 ButtonUses:15 16 17 18Used by:26
Symbol 20 GraphicUsed by:26
Symbol 21 GraphicUsed by:26
Symbol 22 GraphicUsed by:23 24 25
Symbol 23 ButtonUses:22Used by:26  Timeline
Symbol 24 ButtonUses:22Used by:26  Timeline
Symbol 25 ButtonUses:22Used by:26  Timeline
Symbol 26 MovieClipUses:3 5 7 9 10 13 14 19 20 21 23 24 25Used by:Timeline
Symbol 27 GraphicUsed by:Timeline
Symbol 28 GraphicUsed by:Timeline
Symbol 29 GraphicUses:1Used by:30
Symbol 30 MovieClipUses:29Used by:Timeline
Symbol 31 BitmapUsed by:32
Symbol 32 GraphicUses:31Used by:33
Symbol 33 MovieClipUses:32Used by:Timeline
Symbol 34 GraphicUsed by:42
Symbol 35 GraphicUsed by:42
Symbol 36 GraphicUsed by:42
Symbol 37 GraphicUsed by:42
Symbol 38 GraphicUsed by:42
Symbol 39 GraphicUsed by:42
Symbol 40 GraphicUsed by:42
Symbol 41 GraphicUsed by:42
Symbol 42 MovieClipUses:34 35 36 37 38 39 40 41Used by:Timeline
Symbol 43 EditableTextUses:4Used by:Timeline
Symbol 44 GraphicUsed by:45
Symbol 45 MovieClipUses:44Used by:Timeline
Symbol 46 GraphicUsed by:Timeline
Symbol 47 SoundUsed by:Timeline
Symbol 48 GraphicUsed by:49 50
Symbol 49 ButtonUses:48Used by:Timeline
Symbol 50 ButtonUses:48Used by:Timeline
Symbol 51 GraphicUsed by:Timeline
Symbol 52 GraphicUsed by:56
Symbol 53 GraphicUsed by:56
Symbol 54 GraphicUsed by:56
Symbol 55 GraphicUsed by:56
Symbol 56 ButtonUses:52 53 54 55Used by:Timeline
Symbol 57 EditableTextUses:4Used by:Timeline
Symbol 58 GraphicUsed by:Timeline

Instance Names

"bgt"Frame 2Symbol 33 MovieClip
"bgb"Frame 2Symbol 33 MovieClip
"dragon"Frame 2Symbol 42 MovieClip
"obsticle"Frame 2Symbol 45 MovieClip
"mid"Symbol 26 MovieClip Frame 1Symbol 7 MovieClip
"right"Symbol 26 MovieClip Frame 1Symbol 9 MovieClip

Dynamic Text Variables

scSymbol 43 EditableText""
hsSymbol 57 EditableText""




http://swfchan.com/6/29929/info.shtml
Created: 19/5 -2019 15:41:13 Last modified: 19/5 -2019 15:41:13 Server time: 22/12 -2024 06:39:42