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

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

cave-escape.swf

This is the info page for
Flash #25514

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


ActionScript [AS1/AS2]
Frame 1
function umenu1() { _quality = "BEST"; } function umenu2() { _quality = "HIGH"; } function umenu3() { _quality = "MEDIUM"; } function umenu4() { _quality = "LOW"; } function umenu5() { getURL ("http://www.gamesofgondor.com", _blank); } function umenu6() { } function draw_hud() { _root.createTextField("credit", 20, 150, 0, 400, 700); credit.multiline = true; credit.html = true; credit.htmlText = "Ninja-chicken productions <br>www.gamesofgondor.com"; credit.setTextFormat(format); _root.createTextField("scored", 210, 200, 50, 500, 700); scored.text = ((_root.score + " points") + " level ") + _root.level; scored.setTextFormat(format); scored.selectable = false; _root.createTextField("instructions", 40, 0, 0, 300, 700); instructions.text = "Magic"; instructions.setTextFormat(format); credit.selectable = false; instructions.selectable = false; _root.createEmptyMovieClip("HUD", 8); with (HUD) { j = 2000; while (j < 4501) { if ((j == 2000) or (j == 4000)) { dec = 100; } else { dec = 50; } i = dec; while (i < 551) { _root.createEmptyMovieClip(("light" + i) + j, (i + j) - 298346); with (_root[("light" + i) + j]) { lineStyle(2, 459776, 100); beginFill(14410793, 100); moveTo(0, 0); curveTo(-21, -6, -15, -21); curveTo(-4, -39, 0, -48); curveTo(4, -39, 15, -21); curveTo(20, -5, 0, 0); endFill(); lineStyle(2, 459776, 100); beginFill(15659935, 100); moveTo(0, -4); curveTo(-20, -8, 0, -37); curveTo(19, -10, 0, -4); endFill(); lineStyle(2, 459776, 100); beginFill(11152660, 100); moveTo(-14, -7); curveTo(0, -17, 13, -8); lineTo(0, 34); lineTo(-14, -7); endFill(); lineStyle(2, 459776, 100); beginFill(6560268, 100); moveTo(-15, -3); lineTo(15, -3); lineTo(14, 5); lineTo(-16, 6); lineTo(-15, -3); endFill(); lineStyle(2, 459776, 100); beginFill(6560268, 100); moveTo(-8, 19); lineTo(9, 19); lineTo(10, 28); lineTo(-9, 29); lineTo(-8, 19); endFill(); _x = i; _y = j / 10; _xscale = (_yscale = 50); } i = i + 150; } j = j + 1000; } beginFill(6697728, 100); _root.ground_array = [random(25) + 70, random(25) + 70, random(25) + 70, random(25) + 70, random(25) + 50, random(25) + 70, random(25) + 70, random(25) + 70, random(25) + 70, random(25) + 70, random(25) + 70, random(25) + 70]; i = -1; while (i < 15) { lineStyle(5, 0, 100); lineTo((50 * i) + 1, _root.ground_array[i]); i++; } endFill(); } } function make_player() { _root.createEmptyMovieClip("ball", 1); with (ball) { lineStyle(2, 0, 100); beginFill(39168, 100); moveTo(-17, -9); curveTo(0, 8, 20, -9); curveTo(26, -30, 4, -44); curveTo(-18, -38, -17, -9); endFill(); lineStyle(2, 0, 100); beginFill(9249543, 100); moveTo(-18, -3); curveTo(-7, -13, 2, -2); curveTo(-9, 11, -18, -3); endFill(); lineStyle(2, 0, 100); beginFill(9249543, 100); moveTo(3, -3); curveTo(10, -13, 23, -4); curveTo(11, 11, 3, -3); endFill(); lineStyle(2, 0, 100); beginFill(16753057, 100); moveTo(-9, -43); curveTo(3, -20, 11, -43); curveTo(1, -61, -9, -43); endFill(); lineStyle(2, 0, 100); beginFill(39168, 100); moveTo(-8, -44); curveTo(0, -50, 9, -44); lineTo(5, -61); lineTo(-4, -83); lineTo(-8, -44); endFill(); lineStyle(2, 0, 100); beginFill(16758454, 100); moveTo(-24, -23); curveTo(-17, -33, -10, -23); curveTo(-18, -10, -24, -23); endFill(); lineStyle(2, 0, 100); beginFill(16758454, 100); moveTo(18, -21); curveTo(24, -31, 32, -21); curveTo(20, -10, 18, -21); endFill(); lineStyle(2, 0, 100); beginFill(0, 100); moveTo(-9, -44); curveTo(2, -43, 10, -44); curveTo(9, -38, 2, -40); curveTo(-4, -37, -9, -44); endFill(); _xscale = 70; _yscale = 70; _y = 525; _x = 200; } _root.speed = 10; _root.jump_height = 14; _root.grav; _root.r_walk; _root.l_walk; _root.falling; _root.jumping = false; ball.onEnterFrame = function () { if (this._y < 100) { this._y = 100; } if (Key.isDown(39)) { if (this._x < 550) { r_walk = true; var _local3 = 0; while (_local3 <= speed) { var _local2 = 0; while (_local2 <= 10) { if (this._parent.ground.hitTest(_x + _local3, this._y - (5 * _local2), 1)) { r_walk = false; break; } _local2++; } _local3++; } if (r_walk) { this._x = this._x + speed; } } } if (Key.isDown(37)) { if (this._x > 0) { l_walk = true; var _local3 = 0; while (_local3 <= speed) { if (this._parent.ground.hitTest(this._x - _local3, this._y - 50, 1)) { l_walk = false; break; } _local3++; } if (l_walk) { this._x = this._x - speed; } } } if (falling) { this._y = this._y + grav; grav++; } if (Key.isDown(38)) { if (!falling) { if (!jumping) { jumping = true; grav = jump_height; } } } if (jumping) { this._y = this._y - grav; grav--; if (grav == 0) { jumping = false; falling = true; } } var _local3 = -25; while (_local3 < 41) { if (this._parent.ground.hitTest(this._x + _local3, this._y, 1)) { falling = false; } _local3++; } if (!this._parent.ground.hitTest(this._x, this._y + 5, 1)) { if (!jumping) { if (!falling) { if (!this._parent.ground.hitTest(this._x, this._y + 41, 1)) { falling = true; } else { _local3 = 0; while (_local3 < 41) { if (!this._parent.ground.hitTest(this._x, this._y + _local3, 1)) { this._y++; } _local3++; } } } } } if (this._parent.ground.hitTest(this._x, this._y, 1)) { _local3 = 0; while (_local3 < 41) { if (this._parent.ground.hitTest(this._x, this._y - _local3, 1)) { this._y--; } _local3++; } } if (jumping) { _local3 = 5; while (_local3 < 51) { if (this._parent.ground.hitTest(this._x, this._y - _local3, 1)) { this._y++; falling = true; jumping = false; } _local3++; } } }; } function drawd() { if (_root.inc > 0) { var _local3 = new Object(); _local3.x = _root._xmouse; _local3.y = _root._ymouse; this.ground.globalToLocal(_local3); this.ground.lineStyle(10, 0, 0); this.ground.moveTo(_local3.x, _local3.y); this.ground.beginFill(13434675, _root.percent + 10); this.ground.lineTo(_local3.x + 15, _local3.y); this.ground.lineTo(_local3.x + 15, _local3.y + 15); this.ground.lineTo(_local3.x, _local3.y + 15); this.ground.lineTo(_local3.x, _local3.y); this.ground.endFill(); _root.inc--; } } function gated() { _root.createEmptyMovieClip("gate", 69); with (gate) { lineStyle(2, 2496004, 100); beginFill(5254665, 100); moveTo(-80, 20); lineTo(-85, -9); lineTo(-65, -9); lineTo(-42, -51); lineTo(29, -61); lineTo(30, -43); lineTo(61, -27); lineTo(58, 20); lineTo(24, 35); lineTo(6, 69); lineTo(-36, 33); lineTo(-80, 20); endFill(); lineStyle(2, 2496004, 100); beginFill(0, 100); moveTo(-35, -21); curveTo(-33, -41, 5, -40); lineTo(35, -24); lineTo(40, 10); curveTo(18, 39, -21, 30); lineTo(-56, 8); lineTo(-35, -21); endFill(); _xscale = (_yscale = 40); } gate.onEnterFrame = function () { if (this.hitTest(_root.ball._x, _root.ball._y, 1)) { _root.ball._y = 1000; _root.ball._x = 1000; _root.level++; leveladvance(_root.level); } }; } function leveladvance(levelupper) { i = 90; while (i < 121) { _root.createEmptyMovieClip(i, i); i++; } if (!_root.completed) { _root.drawlevel(levelupper); } else { _root.drawlevel(random(50)); } _root.ball._x = 3435; _root.ball._y = 3245; _root.createEmptyMovieClip("upper", 667); _root.createEmptyMovieClip("ball2", 668); with (ball2) { _root.ballactive = true; lineStyle(2, 0, 100); beginFill(39168, 100); moveTo(-17, -9); curveTo(0, 8, 20, -9); curveTo(26, -30, 4, -44); curveTo(-18, -38, -17, -9); endFill(); lineStyle(2, 0, 100); beginFill(9249543, 100); moveTo(-18, -3); curveTo(-7, -13, 2, -2); curveTo(-9, 11, -18, -3); endFill(); lineStyle(2, 0, 100); beginFill(9249543, 100); moveTo(3, -3); curveTo(10, -13, 23, -4); curveTo(11, 11, 3, -3); endFill(); lineStyle(2, 0, 100); beginFill(16753057, 100); moveTo(-9, -43); curveTo(3, -20, 11, -43); curveTo(1, -61, -9, -43); endFill(); lineStyle(2, 0, 100); beginFill(39168, 100); moveTo(-8, -44); curveTo(0, -50, 9, -44); lineTo(5, -61); lineTo(-4, -83); lineTo(-8, -44); endFill(); lineStyle(2, 0, 100); beginFill(16758454, 100); moveTo(-24, -23); curveTo(-17, -33, -10, -23); curveTo(-18, -10, -24, -23); endFill(); lineStyle(2, 0, 100); beginFill(16758454, 100); moveTo(18, -21); curveTo(24, -31, 32, -21); curveTo(20, -10, 18, -21); endFill(); lineStyle(2, 0, 100); beginFill(0, 100); moveTo(-9, -44); curveTo(2, -43, 10, -44); curveTo(9, -38, 2, -40); curveTo(-4, -37, -9, -44); endFill(); _xscale = 70; _yscale = 70; _y = 510; _x = 200; } with (upper) { lineStyle(2, 16777215, 100); beginFill(0, 100); moveTo(31, -49); lineTo(12, -21); lineTo(34, -28); curveTo(31, -11, 51, -11); lineTo(154, -12); curveTo(171, -13, 171, -28); lineTo(170, -108); curveTo(169, -128, 150, -129); lineTo(51, -128); curveTo(33, -129, 33, -110); lineTo(31, -49); endFill(); _x = 200; _y = 520; this.createTextField("levelup", 4000, 240, 400, 120, 800); if (_root.level < 51) { levelup.wordWrap = true; levelup.multiline = true; rand = random(48) + 2; l = 0; while (l < (_root.donearray.length + 1)) { if (_root.funnyarray[rand] == _root.donearray[l]) { rand = random(48) + 2; l = 0; } l++; } _root.levelup.text = _root.funnyarray[rand]; _root.donearray.push(_root.funnyarray[rand]); } else { _root.completed = true; levelup.text = "YOU WIN!"; } format8 = new TextFormat(); format8.color = 16777215 /* 0xFFFFFF */; format8.size = 12; format8.bold = true; format8.bullet = false; format8.font = "Times new roman"; levelup.setTextFormat(format8); levelup.selectable = false; _root.score = _root.score + _root.inc; } upper.onPress = function () { if (!_root.completed) { _root.drawlevel(levelupper); levelup.text = ""; _root.ball._y = 520; _root.ball._x = 200; removeMovieClip(ball2); _root.ballactive = false; this.removeMovieClip(); } else { _root.drawlevel(random(50)); levelup.text = " Well done you have escaped! Thanks for playing."; _root.inc = 100000000 /* 0x5F5E100 */; _root.ball._y = 520; _root.ball._x = 200; removeMovieClip(ball2); _root.ballactive = false; this.removeMovieClip(); } }; } function gore(ib) { _root.ib++; _root.ball._alpha = _root.ball._alpha - 100; if (_root.ball._alpha <= 0) { _root.drawlevel(_root.level); _root.score = _root.score - 10; _root.ball._y = 520; _root.ball._alpha = 100; _root.ball._x = 200; levelup.text = ""; upper.removeMovieClip(); } _root.createEmptyMovieClip(ib, ib + 9991); with (_root[ib]) { lineStyle(2, 4211514, 100); lineStyle(2, 0, 0); beginFill(15532032, 100); moveTo(-7, -62); curveTo(-2, 2, 33, -35); curveTo(78, -61, 59, -9); curveTo(46, 44, 68, 65); curveTo(88, 96, 28, 64); curveTo(12, 20, -24, 53); curveTo(-107, 80, -50, 26); curveTo(-26, 1, -71, -7); curveTo(-118, -15, -91, -32); curveTo(-65, -44, -42, -21); curveTo(-24, -45, -39, -68); curveTo(-20, -100, -7, -62); endFill(); _x = _root.ball._x; _y = _root.ball._y; _root[ib].onEnterFrame = function () { this._xscale = this._xscale + 20; this._yscale = this._yscale + 20; this._x = this._x + (random(10) - 20); this._y = this._y + (random(10) - 20); this._alpha = this._alpha - (random(19) + 1); if (this._alpha < 0) { this.removeMovieClip(); } }; } } function item(itemno, depth, x, y, spec) { if (itemno == 1) { _root.createEmptyMovieClip("item" + depth, depth); with (_root["item" + depth]) { lineStyle(5, 5921370, 100); beginFill(5000268, 100); moveTo(-69, -1); curveTo(-38, 0, -20, -20); curveTo(-18, -60, 0, -68); curveTo(0, -42, 18, -19); curveTo(58, -20, 69, 0); curveTo(41, 0, 19, 19); curveTo(19, 50, 0, 71); curveTo(1, 29, -19, 20); curveTo(-59, 18, -69, -1); endFill(); lineStyle(2, 4079166, 100); beginFill(4473924, 100); moveTo(-49, 6); lineTo(-10, -10); lineTo(-6, -54); lineTo(9, -8); lineTo(50, -6); lineTo(10, 11); lineTo(7, 49); lineTo(-9, 11); lineTo(-49, 6); endFill(); _x = x; _y = y; } _root["item" + depth].onEnterFrame = function () { this._rotation = this._rotation - 10; if (this.hitTest(_root.ball._x - 5, _root.ball._y, 1)) { gore(_root.ib); } if (this.hitTest(_root.ball._x + 5, _root.ball._y, 1)) { gore(_root.ib); } if (this.hitTest(_root.ball._x, _root.ball._y, 1)) { gore(_root.ib); } }; } if (itemno == 2) { _root.createEmptyMovieClip("item" + depth, depth); with (_root["item" + depth]) { beginFill(4473924, 100); lineStyle(2, 2960685, 100); moveTo(0, 0); lineTo(-10, 69); curveTo(-20, 90, -41, 79); lineTo(-18, 108); lineTo(0, 129); lineTo(18, 109); lineTo(39, 80); curveTo(21, 90, 10, 69); lineTo(0, 0); endFill(); _x = x; _y = y; } _root["item" + depth].onEnterFrame = function () { if (this.rot == undefined) { this.rot = 5; } this._rotation = this._rotation + this.rot; if (this._rotation >= 90) { this.rot = -5; } if (this._rotation <= -90) { this.rot = 5; } if (this.hitTest(_root.ball._x, _root.ball._y - 25, 1)) { gore(_root.ib); } }; } if (itemno == 3) { _root.createEmptyMovieClip("item" + depth, depth); with (_root["item" + depth]) { lineStyle(2, 4210495, 100); beginFill(3552822, 100); moveTo(-52, 12); curveTo(-43, -26, -39, -56); curveTo(-37, -2, -27, -2); curveTo(-18, -17, -15, -55); curveTo(-11, -11, 0, -3); lineTo(9, -56); lineTo(19, -1); curveTo(31, -18, 29, -54); curveTo(35, -18, 39, 12); lineTo(-52, 12); endFill(); _x = x; _y = y; } _root["item" + depth].onEnterFrame = function () { if (this.hitTest(_root.ball._x, _root.ball._y, 1)) { gore(_root.ib); } if (this.hitTest(_root.ball._x - 5, _root.ball._y, 1)) { gore(_root.ib); } if (this.hitTest(_root.ball._x + 5, _root.ball._y, 1)) { gore(_root.ib); } }; } if (itemno == 4) { _root.createEmptyMovieClip("item" + depth, depth); with (_root["item" + depth]) { lineStyle(2, 0, 100); beginFill(5120002, 100); moveTo(0, -0.799999999999983); lineTo(59, -0.799999999999983); lineTo(59, 2.20000000000002); lineTo(0, 2.20000000000002); lineTo(0, -0.799999999999983); endFill(); lineStyle(2, 0, 100); beginFill(6710885, 100); moveTo(50, -6); lineTo(53, 0); lineTo(50, 7); lineTo(80, 2); lineTo(50, -6); endFill(); _x = x; _y = y; _xscale = spec * 10; } _root["item" + depth].speedar = spec; _root["item" + depth].onEnterFrame = function () { this._x = this._x + this.speedar; if (this._x > 550) { this._x = 0; } if (this._x < 0) { this._x = 550; } if (this.hitTest(_root.ball)) { gore(_root.ib); } }; } if (itemno == 5) { _root.createEmptyMovieClip("item" + depth, depth); with (_root["item" + depth]) { lineStyle(2, 0, 100); beginFill(3289650, 100); moveTo(-37, 59); lineTo(-35, 109); lineTo(-27, 79); lineTo(-19, 117); lineTo(-11, 85); lineTo(-3, 118); lineTo(4, 85); lineTo(15, 117); lineTo(19, 77); lineTo(27, 108); lineTo(28, 58); lineTo(29, -159); curveTo(-3, -186, -35, -157); lineTo(-37, 59); endFill(); lineStyle(2, 4210752, 0); beginFill(4210752, 100); moveTo(-36, 59); curveTo(-4, 76, 27, 57); lineTo(26, 35); curveTo(-6, 50, -36, 37); lineTo(-36, 59); endFill(); _x = x; _y = y; _yscale = (-spec) * 10; } _root["item" + depth].speedar = spec; _root["item" + depth].onEnterFrame = function () { this._y = this._y - this.speedar; if (this._y > (y - (spec * 40))) { this.speedar = 10; } if (this._y < y) { this.speedar = -10; } if (this.hitTest(_root.ball._x, _root.ball._y, 1)) { gore(_root.ib); } if (this.hitTest(_root.ball._x - 5, _root.ball._y, 1)) { gore(_root.ib); } if (this.hitTest(_root.ball._x + 5, _root.ball._y, 1)) { gore(_root.ib); } }; } } function drawlevel(leveld) { _root.ball._alpha = 100; _root.createTextField("scored", 210, 230, 50, 300, 700); scored.text = ((_root.score + " points") + " level ") + _root.level; scored.setTextFormat(format); scored.selectable = false; _root.ground.removeMovieClip(); _root.createEmptyMovieClip("ground", 2); with (ground) { lineStyle(1, 0, 0); colors = [6684672, 3801857]; alphas = [100, 100]; ratios = [0, 255]; matrix = {matrixType:"box", x:0, y:500, w:550, h:50, r:(Math.PI/2)}; beginGradientFill("linear", colors, alphas, ratios, matrix); moveTo(-10, 510); lineTo(560, 510); lineTo(560, 560); lineTo(-10, 560); lineTo(-10, 510); endFill(); } _root.ball._y = 500; _root.ball._x = 200; _root.speed = 10; _root.jump_height = 14; _root.grav = 0; _root.falling = false; _root.jumping = false; i = 90; while (i < 131) { _root["item" + i].removeMovieClip(); i++; } _root.ball.visible = true; if (leveld == 1) { gate._x = 473; gate._y = 456; _root.inc = 100; } if (leveld == 2) { gate._x = 441; gate._y = 159; _root.inc = 100; } if (leveld == 3) { gate._x = 263; gate._y = 136; _root.inc = 50; item(2, 90, 135, 207, 0); item(2, 91, 401, 208, 0); } if (leveld == 4) { gate._x = 486; gate._y = 345; _root.inc = 100; item(3, 90, 318, 501, 10); item(3, 91, 405, 505, 10); item(3, 92, 503, 504, 10); item(2, 93, 274, 199, 0); } if (leveld == 5) { gate._x = 55; gate._y = 138; _root.inc = 20; item(1, 90, 59, 252, 0); item(1, 91, 121, 254, 0); item(1, 92, 198, 254, 0); item(3, 93, 493, 497, 10); item(3, 94, 407, 498, 10); } if (leveld == 6) { gate._x = 501; gate._y = 118; _root.inc = 15; item(1, 90, 356, 459, 0); item(1, 91, 389, 422, 0); item(1, 92, 437, 394, 0); item(1, 93, 481, 360, 0); item(1, 94, 516, 340, 0); item(1, 95, 518, 399, 0); item(1, 96, 466, 438, 0); item(1, 97, 428, 472, 0); } if (leveld == 7) { gate._x = 507; gate._y = 468; _root.inc = 0; item(5, 90, 510, 236, -10); item(5, 91, 431, 236, -10); item(5, 92, 292, 237, -10); } if (leveld == 8) { gate._x = 493; gate._y = 475; _root.inc = 100; item(4, 90, 385, 173, 10); item(4, 91, 416, 199, 10); item(4, 92, 458, 233, 10); item(4, 93, 506, 266, 10); item(4, 94, 545, 295, 10); item(1, 95, 311, 482, 0); item(1, 96, 311, 441, 0); item(1, 97, 314, 394, 0); item(5, 98, 315, 234, -10); } if (leveld == 9) { gate._x = 4; gate._y = 103; _root.inc = 10; item(2, 90, 110, 96, 0); item(2, 91, 186, 158, 0); item(2, 92, 273, 228, 0); item(2, 93, 352, 294, 0); } if (leveld == 10) { gate._x = 510; gate._y = 469; _root.inc = 150; item(1, 90, 446, 464, 0); item(1, 91, 441, 411, 0); item(1, 92, 440, 366, 0); item(1, 93, 439, 321, 0); } if (leveld == 11) { gate._x = 469; gate._y = 155; _root.inc = 10; item(2, 90, 423, 138, 0); } if (leveld == 12) { gate._x = 498; gate._y = 397; _root.inc = 50; item(5, 90, 508, 231, -10); item(1, 91, 502, 500, 0); item(3, 92, 357, 499, 0); item(5, 93, 348, 230, -10); item(1, 94, 345, 230, 0); } if (leveld == 13) { gate._x = 179; gate._y = 114; _root.inc = 10; item(4, 90, 468, 394, 10); item(4, 91, 392, 357, 10); item(4, 92, 325, 312, 10); item(4, 93, 256, 261, 10); item(1, 94, 121, 428, 0); item(1, 95, 121, 357, 0); item(1, 96, 118, 283, 0); item(1, 97, 282, 272, 0); item(1, 98, 286, 352, 0); item(1, 99, 304, 433, 0); item(2, 100, 119, 66, 0); } if (leveld == 14) { gate._x = 110; gate._y = 135; _root.inc = 120; item(1, 90, 17, 250, 0); item(1, 91, 64, 249, 0); item(1, 92, 114, 249, 0); item(1, 93, 163, 249, 0); item(1, 94, 201, 249, 0); item(1, 95, 243, 249, 0); item(1, 96, 279, 249, 0); item(3, 98, 413, 502, 0); item(3, 99, 486, 502, 0); item(3, 100, 510, 503, 0); item(1, 101, 456, 395, 0); item(4, 103, 283, 144, 10); } if (leveld == 15) { gate._x = 505; gate._y = 461; _root.inc = 1; item(5, 90, 512, 234, -10); item(5, 91, 480, 236, -10); item(5, 92, 432, 238, -10); item(5, 93, 367, 314, -10); item(2, 94, 499, 336, 0); } if (leveld == 16) { gate._x = 485; gate._y = 131; _root.inc = 50; item(3, 90, 500, 499, 0); item(3, 91, 418, 500, 0); item(3, 92, 338, 502, 0); item(3, 93, 108, 503, 0); item(3, 94, 45, 503, 0); item(2, 95, 164, 260, 0); item(2, 96, 261, 259, 0); item(1, 97, 209, 127, 0); } if (leveld == 17) { gate._x = 504; gate._y = 461; _root.inc = 30; item(3, 91, 451, 497, 0); item(2, 92, 508, 292, 0); } if (leveld == 18) { gate._x = 495; gate._y = 112; _root.inc = 20; item(2, 90, 482, 106, 0); item(2, 91, 523, 166, 0); item(1, 92, 136, 394, 0); item(5, 93, 213, 192, -10); item(2, 94, 292, 354, 0); item(1, 95, 83, 447, 0); } if (leveld == 19) { gate._x = 513; gate._y = 105; _root.inc = 100; item(3, 92, 300, 501, 0); item(3, 93, 388, 501, 0); item(3, 94, 478, 501, 0); item(3, 95, 507, 503, 0); item(1, 96, 113, 428, 0); item(1, 97, 113, 368, 0); item(1, 98, 113, 288, 0); item(1, 99, 168, 236, 0); item(1, 100, 221, 189, 0); item(1, 101, 290, 137, 0); item(1, 102, 290, 137, 0); item(1, 103, 427, 277, 0); } if (leveld == 20) { gate._x = 209; gate._y = 117; _root.inc = 20; item(5, 90, 228, -21, -10); item(1, 91, 180, 288, 0); item(1, 94, 313, 356, 0); item(1, 95, 35, 450, 0); item(1, 96, 47, 165, 0); } if (leveld == 21) { gate._x = 510; gate._y = 467; _root.inc = 20; item(3, 90, 304, 500, 0); item(3, 91, 395, 501, 0); item(3, 92, 461, 500, 0); item(1, 93, 294, 352, 0); item(2, 94, 515, 302, 0); } if (leveld == 22) { gate._x = 508; gate._y = 115; _root.inc = 100; item(2, 90, 497, 101, 0); item(3, 91, 504, 500, 0); item(3, 92, 411, 501, 0); item(3, 93, 322, 501, 0); item(1, 94, 296, 351, 0); item(1, 95, 295, 232, 0); item(1, 96, 421, 231, 0); item(1, 97, 361, 301, 0); item(1, 98, 426, 367, 0); } if (leveld == 23) { gate._x = 510; gate._y = 467; _root.inc = 100; item(1, 90, 477, 448, 0); } if (leveld == 24) { gate._x = 177; gate._y = 110; _root.inc = 5; item(4, 93, 241, 157, 10); item(4, 95, 470, 159, 10); } if (leveld == 25) { gate._x = 17; gate._y = 354; _root.inc = 5; item(1, 90, 117, 444, 0); item(1, 91, 119, 377, 0); item(1, 92, 120, 316, 0); item(1, 93, 119, 246, 0); item(1, 94, 120, 210, 0); item(2, 96, 41, 50, 0); item(3, 100, 42, 499, 0); } if (leveld == 26) { gate._x = 502; gate._y = 458; _root.inc = 10; item(1, 90, 117, 449, 0); item(5, 92, 295, 124, -10); item(5, 93, 375, 83, -10); item(5, 94, 456, 30, -10); item(5, 95, 535, 32, -10); item(2, 96, 514, 372, 0); } if (leveld == 27) { gate._x = 511; gate._y = 113; _root.inc = 20; item(4, 90, 487, 144, 10); item(1, 91, 482, 237, 0); } if (leveld == 28) { gate._x = 517; gate._y = 104; _root.inc = 10; item(1, 91, 491, 479, 0); item(1, 92, 489, 340, 0); item(1, 93, 489, 340, 0); item(1, 94, 65, 425, 0); item(1, 95, 65, 425, 0); item(1, 96, 65, 425, 0); item(1, 97, 65, 425, 0); item(1, 98, 65, 288, 0); item(1, 99, 65, 288, 0); item(1, 100, 65, 288, 0); item(1, 101, 65, 288, 0); item(1, 102, 131, 354, 0); item(1, 103, 131, 354, 0); } if (leveld == 29) { gate._x = 517; gate._y = 268; _root.inc = 5; item(4, 90, 0, 378, 10); item(4, 90, 400, 378, 10); item(4, 92, 300, 379, 10); } if (leveld == 30) { gate._x = 521; gate._y = 465; _root.inc = 60; item(5, 90, 338, 379, -10); item(5, 91, 337, 301, -10); item(4, 92, 240, 160, 10); item(4, 93, 83, 163, 10); item(1, 94, 343, 165, 0); item(4, 95, 470, 163, 10); } if (leveld == 31) { gate._x = 517; gate._y = 469; _root.inc = 0; item(5, 90, 350, 41, -10); item(6, 91, 351, 182, 0); item(5, 93, 362, 607, -10); item(1, 94, 440, 476, 0); } if (leveld == 32) { gate._x = 515; gate._y = 281; _root.inc = 30; item(4, 90, 460, 294, 10); item(4, 92, 487, 479, 10); item(5, 93, 385, -22, -10); } if (leveld == 33) { gate._x = 198; gate._y = 105; _root.inc = 5; item(1, 90, 213, 207, 0); item(4, 91, 481, 129, 10); item(4, 92, 482, 140, 10); item(4, 93, 482, 161, 10); item(4, 94, 301, 121, -10); item(4, 95, 300, 135, -10); item(4, 96, 301, 147, -10); item(1, 98, 77, 210, 0); } if (leveld == 34) { gate._x = 214; gate._y = 137; _root.inc = 10; item(4, 90, 470, 370, 10); item(4, 91, 467, 349, 10); item(1, 92, 229, 236, 0); item(3, 93, 53, 496, 0); item(3, 94, 144, 500, 0); item(3, 95, 301, 502, 0); item(2, 96, 219, 298, 0); item(1, 97, 421, 190, 0); item(1, 98, 63, 165, 0); } if (leveld == 35) { gate._x = 244; gate._y = 264; _root.inc = 25; item(1, 90, 221, 315, 0); item(2, 91, 255, 161, 0); item(3, 92, 345, 496, 0); item(3, 93, 389, 499, 0); } if (leveld == 36) { gate._x = 2; gate._y = 100; _root.inc = 50; item(1, 90, 103, 204, 0); item(4, 91, 485, 113, 10); item(4, 92, 486, 133, 10); item(4, 93, 485, 243, 10); item(5, 94, 116, 109, -10); } if (leveld == 37) { gate._x = 2; gate._y = 103; _root.inc = 6; item(3, 90, 503, 498, 0); item(4, 91, 364, 380, 10); item(2, 92, 46, 110, 0); item(3, 93, 44, 497, 0); item(2, 94, 124, 108, 0); } if (leveld == 38) { gate._x = 501; gate._y = 116; _root.inc = 10; item(3, 90, 504, 502, 0); item(3, 91, 416, 501, 0); item(3, 92, 327, 500, 0); item(4, 93, 488, 117, 10); item(4, 94, 226, 117, 10); item(2, 95, 293, 194, 0); item(1, 96, 480, 263, 0); } if (leveld == 39) { gate._x = 185; gate._y = 113; _root.inc = 25; item(1, 90, 107, 407, 0); item(1, 91, 109, 320, 0); item(1, 92, 153, 260, 0); item(1, 93, 238, 260, 0); item(1, 94, 304, 260, 0); item(1, 95, 303, 216, 0); item(1, 96, 326, 476, 0); item(1, 97, 107, 488, 0); item(1, 98, 379, 434, 0); item(1, 99, 457, 411, 0); item(1, 100, 475, 316, 0); item(1, 101, 470, 228, 0); } if (leveld == 40) { gate._x = 7; gate._y = 113; _root.inc = 20; item(1, 90, 115, 469, 0); item(1, 91, 112, 407, 0); item(1, 92, 162, 355, 0); item(1, 93, 219, 349, 0); item(1, 94, 297, 353, 0); item(1, 95, 371, 352, 0); item(1, 96, 418, 354, 0); item(3, 97, 44, 498, 0); item(2, 98, 155, 115, 0); item(5, 99, 392, 84, -10); } if (leveld == 41) { gate._x = 509; gate._y = 111; _root.inc = 50; item(1, 90, 77, 470, 0); item(1, 91, 77, 421, 0); item(1, 92, 108, 368, 0); item(1, 93, 165, 325, 0); item(1, 94, 252, 322, 0); item(1, 95, 335, 320, 0); item(1, 96, 416, 322, 0); item(1, 97, 535, 210, 0); item(1, 98, 485, 201, 0); item(4, 99, 338, 126, 10); item(2, 100, 418, 59, 0); } if (leveld == 42) { gate._x = 467; gate._y = 127; _root.inc = 10; item(2, 90, 441, 110, 0); item(2, 91, 513, 187, 0); item(2, 92, 380, 225, 0); item(2, 93, 288, 107, 0); } if (leveld == 43) { gate._x = 385; gate._y = 459; _root.inc = 50; item(1, 90, 321, 468, 0); item(1, 91, 317, 406, 0); item(1, 92, 319, 349, 0); item(1, 93, 318, 292, 0); item(1, 94, 378, 293, 0); item(1, 95, 425, 297, 0); item(1, 96, 406, 373, 0); item(1, 97, 451, 346, 0); item(2, 98, 253, 105, 0); item(2, 99, 475, 101, 0); item(5, 100, 510, 70, -10); item(1, 101, 115, 319, 0); } if (leveld == 44) { gate._x = 25; gate._y = 465; _root.inc = 40; item(5, 90, 130, 235, -10); item(5, 91, 129, 427, -10); item(5, 92, 132, 4, -10); } if (leveld == 45) { gate._x = 419; gate._y = 346; _root.inc = 1; item(1, 90, 337, 473, 0); item(1, 91, 335, 395, 0); item(1, 92, 453, 252, 0); item(2, 93, 343, 177, 0); } if (leveld == 46) { gate._x = 204; gate._y = 110; _root.inc = 20; item(1, 90, 213, 348, 0); item(1, 91, 109, 226, 0); item(1, 92, 290, 214, 0); item(1, 93, 401, 310, 0); item(1, 94, 469, 422, 0); item(1, 95, 60, 433, 0); item(1, 96, 456, 176, 0); } if (leveld == 47) { gate._x = 10; gate._y = 117; _root.inc = 5; item(1, 90, 63, 233, 0); item(1, 91, 201, 165, 0); item(2, 92, 177, 240, 0); } if (leveld == 48) { gate._x = 488; gate._y = 130; _root.inc = 50; item(5, 90, 512, 89, -10); item(5, 91, 436, 235, -10); item(4, 92, 304, 115, 10); item(4, 93, 117, 114, 10); item(4, 94, 32, 114, 10); item(2, 95, 339, 105, 0); item(3, 96, 500, 494, 0); item(3, 97, 393, 495, 0); item(4, 98, 300, 199, 10); item(4, 99, 255, 314, 10); item(1, 100, 159, 258, 0); } if (leveld == 49) { gate._x = 507; gate._y = 464; _root.inc = 0; item(1, 90, 435, 431, 0); item(1, 91, 428, 237, 0); item(5, 92, 509, 230, -10); item(2, 93, 350, 244, 0); item(4, 94, 181, 300, 10); } if (leveld == 50) { gate._x = 512; gate._y = 107; _root.inc = 1000; item(1, 90, 118, 432, 0); item(1, 91, 133, 385, 0); item(1, 92, 169, 349, 0); item(1, 93, 219, 346, 0); item(1, 94, 254, 346, 0); item(1, 95, 301, 350, 0); item(1, 96, 313, 369, 0); item(1, 97, 342, 429, 0); item(1, 98, 369, 372, 0); item(1, 99, 419, 369, 0); item(5, 100, 518, 150, -10); item(2, 101, 513, 59, 0); item(4, 102, 371, 249, 10); item(4, 103, 261, 249, 10); item(4, 104, 145, 249, 10); item(3, 105, 522, 530, 0); item(5, 106, 335, 233, -10); } } _root.donearray = [n, a]; _root.funnyarray = [n, a, "I wonder if there are any geocaches in here???", "This sort of reminds me of the Shire!", "NOT ANOTHER CAVE!!!", "Beam me up scottie! Dang it! It didnt work im still here", "That Hansel, he's not so hot right now", "Too many caves. I hail to the philosophy of the French and admit Parley", "I played this game. Yada, Yada, Yada, My mountain dew has completely vanished", "I wonder if the WMD are hidden in one of these caves", "Osama, is that you hidden in the corner? No wonder we never found you", "Hurry up you poor excuse for a game master and get me out of these caves", "Tom Fulp is my hero", "Visit GamesofGondor.com", "Jack Bauer is my Hero. He'd find a way to get out of this cave", "Sydney Bristow is mine Affleck, move aside", "Pikachu??? Is that you? Are you trapped in here too?", "Where's a Starbucks when you need one?", "I wonder if T-mobile sidekick will get reception down here?", "Another cave! INCONCEIVABLE!!!", "Why do I keep talking to myself?", "Bilbo, I am your father!", "May the precious be with you", "I need my 2nd breakfast!", "I do not mean to pry, but you don't by any chance happen to have six fingers on your right hand?", "You will listen to every word I have to say", "homophobia is gay", "But solar powered vampires are a bit impractical", "This cave looks familiar", "A guy walks into a bar - ouch!", "I wish I were browsing GamesofGondor.com right now *hint hint*", "The 6 fundemental forces of the universe are: Magnetism, Gravity,Duct Tape and the remote control", "This is getting annoying now", "I wonder if I'll see the 7 dwarves down here", "What time is it?", "Have you ever sighted elvis presley?", "Never laugh at live dragons", "The internet is just a fad... But goldfish swallowing now thats coming back in a big way", "Man I wish candy bars were invented", "What is your favorite isotope? Mine is carbon 14", "I only like movies that involve Ninjas, Jedis, Hobbits or the Marx brothers", "Na na na na na na na na na na na na Batman!", "As I always say, without fear of generalization,NOTHING advertised via e-mail is worth buying", "Quack quack quack. I think im losing it", "Where is frodo when you need him", "did you know that 111x111 = 12321... no?", "Im scared I wanna go home", "Special thanks to: Denvish, inglor, T-H and of course Dan from GamesfGondor.com", "I have a feeling im almost out", "newgrounds.com and gameofgondor.com are both awesome sites!", "Yes im almost out!!!"]; var key = new Object(); key.onKeyDown = function () { if (Key.isDown(83)) { savefile.data.score = _root.score; savefile.data.level = _root.level; savefile.flush(); } if (Key.isDown(76)) { if (!_root.ballactive) { var savefile = SharedObject.getLocal("Ink-API"); if (savefile.data.score == undefined) { _root.score = 0; _root.level = 1; } else { _root.score = savefile.data.score; _root.level = savefile.data.level; } drawlevel(_root.level); } } if (Key.isDown(82)) { if (!_root.ballactive) { _root.drawlevel(_root.level); _root.score = _root.score - 10; _root.ball._y = 520; _root.ball._x = 200; levelup.text = ""; upper.removeMovieClip(); } } }; format = new TextFormat(); format.color = 16777215 /* 0xFFFFFF */; format.size = 20; format.bold = true; format.bullet = false; format.font = "1900.80.5"; _root.createEmptyMovieClip("loadd", 10000001); with (loadd) { createTextField("loadtext", 23187, 0, 0, 100, 30); loadtext.text = "Load"; loadtext.setTextFormat(format); loadtext.selectable = false; lineStyle(1, 0, 0); beginFill(0, 0); moveTo(0, 0); lineTo(100, 0); lineTo(100, 30); lineTo(0, 30); lineTo(0, 0); endFill(); _x = 100; _y = 500; } loadd.onPress = function () { if (!_root.ballactive) { var savefile = SharedObject.getLocal("Ink-API"); if (savefile.data.score == undefined) { _root.score = 0; _root.level = 1; } else { _root.score = savefile.data.score; _root.level = savefile.data.level; } } Key.addListener(key); draw_hud(); gated(); drawlevel(_root.level); start_drawer(); make_player(); _root.createEmptyMovieClip("gamesofgondor", 10000000); with (gamesofgondor) { createTextField("gog", 23187, 0, 0, 350, 100); gog.text = "Play more games"; gog.setTextFormat(format); gog.selectable = false; lineStyle(1, 0, 0); beginFill(0, 0); moveTo(0, 0); lineTo(350, 0); lineTo(350, 100); lineTo(0, 100); lineTo(0, 0); endFill(); _x = 300; _y = 520; } gamesofgondor.onPress = function () { getURL ("http://www.gamesofgondor.com", _blank); }; _root.createEmptyMovieClip("saved", 10000002); with (saved) { createTextField("savetext", 23187, 0, 0, 100, 30); savetext.text = "Save"; savetext.setTextFormat(format); savedtext.selectable = false; lineStyle(1, 0, 0); beginFill(0, 0); moveTo(0, 0); lineTo(300, 0); lineTo(300, 30); lineTo(0, 30); lineTo(0, 0); endFill(); _x = 200; _y = 520; } saved.onPress = function () { savefile.data.score = _root.score; savefile.data.level = _root.level; savefile.flush(); }; _root.createEmptyMovieClip("resetd", 10000005); with (resetd) { createTextField("restext", 231866, 0, 0, 100, 30); restext.text = "Reset"; restext.setTextFormat(format); restext.selectable = false; lineStyle(1, 0, 0); beginFill(0, 0); moveTo(0, 0); lineTo(100, 0); lineTo(100, 30); lineTo(0, 30); lineTo(0, 0); endFill(); _x = 100; _y = 520; } resetd.onPress = function () { if (!_root.ballactive) { _root.drawlevel(_root.level); _root.score = _root.score - 10; _root.ball._y = 520; _root.ball._x = 200; levelup.text = ""; upper.removeMovieClip(); } }; _root.loadd._y = 520; _root.loadd._x = 0; removeMovieClip(_root.start); }; _root.createEmptyMovieClip("gamesofgondor", 10000000); with (gamesofgondor) { createTextField("gog", 23187, 0, 0, 300, 30); gog.text = "Visit gamesofgondor.com"; gog.setTextFormat(format); gog.selectable = false; lineStyle(1, 0, 0); beginFill(0, 0); moveTo(0, 0); lineTo(300, 0); lineTo(300, 30); lineTo(0, 30); lineTo(0, 0); endFill(); _x = 125; _y = 150; } gamesofgondor.onPress = function () { getURL ("http://www.gamesofgondor.com", _blank); }; MENU = new ContextMenu(); MENU.hideBuiltInItems(); Functioned1 = new ContextMenuItem("---Quality---", umenu2); Functioned2 = new ContextMenuItem("HIGH", umenu2); Functioned3 = new ContextMenuItem("MEDIUM", umenu3); Functioned4 = new ContextMenuItem("LOW", umenu4); Functioned5 = new ContextMenuItem("Games of gondor", umenu5); Functioned6 = new ContextMenuItem("A ninja-chicken production", umenu6); MENU.customItems.push(Functioned1); MENU.customItems.push(Functioned2); MENU.customItems.push(Functioned3); MENU.customItems.push(Functioned4); MENU.customItems.push(Functioned5); MENU.customItems.push(Functioned6); Functioned2.separatorBefore = true; Functioned5.separatorBefore = true; Functioned6.separatorBefore = true; _root.menu = MENU; _root.createEmptyMovieClip("grad2", -1233443); with (_root.grad2) { i = 0; while (i < 551) { lineStyle(1, 0, 100); moveTo(random(550), i); lineTo(random(550), i); i = i + 5; } } _root.createEmptyMovieClip("grad", -1234322); with (_root.grad) { colors = [8995841, 6619393]; alphas = [100, 100]; ratios = [0, 255]; matrix = {matrixType:"box", x:0, y:200, w:550, h:550, r:(Math.PI/2)}; beginGradientFill("linear", colors, alphas, ratios, matrix); moveTo(0, 0); lineTo(550, 0); lineTo(550, 550); lineTo(0, 550); lineTo(0, 0); endFill(); } var score = 0; format = new TextFormat(); format.color = 16777215 /* 0xFFFFFF */; format.size = 20; format.bold = true; format.bullet = false; format.font = "1900.80.5"; format2 = new TextFormat(); format2.color = 16777215 /* 0xFFFFFF */; format2.align = "center"; format2.size = 35; format2.bold = true; format2.bullet = false; format2.font = "1900.80.5"; _root.createTextField("instructions", 40, 0, 200, 550, 700); instructions.multiline = true; instructions.wordWrap = true; instructions.text = "Your trapped deep in the Cave of no great significance. All you have is your wand that can make platforms appear. Use your wand to aviod dangers and make a way of escape. Use your mouse to draw ledges. Use the arrows to move the player. Get to the exit safely. Use \" L \" at any time to load a previous game. Press \" S \" at any time to save your current level and score. Press \" R \" at any time to reset the level. Enjoy!"; instructions.setTextFormat(format); instructions.selectable = false; _root.createTextField("tit1", 210, 0, 0, 550, 7000); tit1.html = true; tit1.multiline = true; tit1.htmlText = "Ninja-chicken presents<br><u><b>Cave escape</b></u><br>An API game<br>"; tit1.selectable = false; tit1.setTextFormat(format2); _root.createTextField("play", 20, 150, 430, 400, 700); play.html = true; play.multiline = true; play.htmlText = "Try and escape<br> -<b><u>PLAY</u></b>-"; play.setTextFormat(format2); play.selectable = false; _root.createEmptyMovieClip("start", 19); with (start) { lineStyle(2, 2044859, 0); beginFill(4347872, 0); moveTo(7, -3); curveTo(21, -34, 51, -14); curveTo(83, -33, 110, -3); curveTo(140, -16, 150, 8); curveTo(169, 52, 139, 44); curveTo(114, 71, 89, 49); curveTo(58, 85, 42, 53); curveTo(0, 67, 7, 36); curveTo(-28, 13, 7, -3); endFill(); } start._x = 400; start._y = 500; start.onPress = function () { Key.addListener(key); draw_hud(); gated(); drawlevel(_root.level); start_drawer(); make_player(); _root.createEmptyMovieClip("gamesofgondor", 10000000); with (gamesofgondor) { createTextField("gog", 23187, 0, 0, 350, 100); gog.text = "Play more games"; gog.setTextFormat(format); gog.selectable = false; lineStyle(1, 0, 0); beginFill(0, 0); moveTo(0, 0); lineTo(350, 0); lineTo(350, 100); lineTo(0, 100); lineTo(0, 0); endFill(); _x = 300; _y = 520; } gamesofgondor.onPress = function () { getURL ("http://www.gamesofgondor.com", _blank); }; _root.createEmptyMovieClip("saved", 10000002); with (saved) { createTextField("savetext", 23187, 0, 0, 100, 30); savetext.text = "Save"; savetext.setTextFormat(format); savedtext.selectable = false; lineStyle(1, 0, 0); beginFill(0, 0); moveTo(0, 0); lineTo(100, 0); lineTo(100, 30); lineTo(0, 30); lineTo(0, 0); endFill(); _x = 200; _y = 520; } saved.onPress = function () { savefile.data.score = _root.score; savefile.data.level = _root.level; savefile.flush(); }; _root.createEmptyMovieClip("resetd", 10000005); with (resetd) { createTextField("restext", 231866, 0, 0, 100, 30); restext.text = "Reset"; restext.setTextFormat(format); restext.selectable = false; lineStyle(1, 0, 0); beginFill(0, 0); moveTo(0, 0); lineTo(100, 0); lineTo(100, 30); lineTo(0, 30); lineTo(0, 0); endFill(); _x = 100; _y = 520; } resetd.onPress = function () { if (!_root.ballactive) { _root.drawlevel(_root.level); _root.score = _root.score - 10; _root.ball._y = 520; _root.ball._x = 200; levelup.text = ""; upper.removeMovieClip(); } }; _root.loadd._y = 520; _root.loadd._x = 0; removeMovieClip(this); }; Mouse.hide(); _root.createEmptyMovieClip("cursor", 9999999); _root.createEmptyMovieClip("cursor", 999999910); cursor.onEnterFrame = function () { this._x = _root._xmouse; this._y = _root._ymouse; }; with (cursor) { lineStyle(2, 15335424, 100); beginFill(16733268, 100); moveTo(-2, 0); lineTo(49, 40); curveTo(54, 40, 51, 34); lineTo(-1, -2); curveTo(-4, -3, -2, 0); endFill(); lineStyle(2, 14972424, 100); beginFill(16776960, 100); moveTo(-2, -4); lineTo(0, -16); lineTo(5, -4); lineTo(16, -4); lineTo(6, 3); lineTo(11, 16); lineTo(0, 8); lineTo(-9, 15); lineTo(-6, 2); lineTo(-15, -4); lineTo(-2, -4); endFill(); } cursor.startDrag(true); level = 1; _root.ib = 0; this.ground.createEmptyMovieClip("drawer", 6969); var mouse = new Object(); mouse.onMouseDown = function () { drawd(); drawing = true; }; mouse.onMouseUp = function () { drawing = false; }; mouse.onMouseMove = function () { _root.createTextField("title", 30, 0, 25, 300, 50); if (_root.inc != undefined) { title.text = _root.inc; } title.setTextFormat(format); title.selectable = false; _root.percent = (_root.inc / 100) * 100; if (drawing) { drawd(); } }; Mouse.addListener(mouse); Key.addListener(keyd); var cheat = new Object(); cheat.onKeyDown = function () { }; Key.addListener(cheat); var savefile = SharedObject.getLocal("Ink-API"); _root.oldscore = savefile.data.score; _root.oldlevel = savefile.data.level; if (savefile.data.score == undefined) { _root.oldscore = 0; _root.oldlevel = 0; }




http://swfchan.com/6/25514/info.shtml
Created: 23/5 -2019 16:22:38 Last modified: 23/5 -2019 16:22:38 Server time: 13/05 -2024 21:12:50