STORY LOOP FURRY PORN GAMES C SERVICES [?] [R] RND POPULAR | Archived flashes: 228023 |
/disc/ · /res/ — /show/ · /fap/ · /gg/ · /swf/ | P0001 · P2560 · P5119 |
This is the info page for Flash #86476 |
high |
long |
score: |
Replay |
Replay |
0 |
0 |
ActionScript [AS1/AS2]
Frame 2function newGame() { var _local1 = 0; while (_local1 < objectArray.length) { removeMovieClip(objectArray[_local1].toString()); _local1++; } objectArray = []; if (projectile) { removeMovieClip("projectile"); } createCatapult(); } function createCatapult() { if (catapult) { removeMovieClip("catapult"); } this.attachMovie("catapult", "catapult", this.getNextHighestDepth(), {_x:-60, _y:250}); objectArray.push("catapult"); catapult.onEnterFrame = function () { catapult._x = catapult._x + 2; catapult.frontwheel._rotation = catapult.frontwheel._rotation + 5; catapult.backwheel._rotation = catapult.backwheel._rotation + 5; if (catapult._x > 130) { loadCatapult(); } }; } function loadCatapult() { delete catapult.onEnterFrame; catapult.onEnterFrame = function () { catapult.arm._rotation = catapult.arm._rotation - 2; if (catapult.arm._rotation <= -90) { displayLaunchButton(); delete catapult.onEnterFrame; } }; } function displayLaunchButton() { this.attachMovie("launchbutton", "launchbutton", this.getNextHighestDepth(), {_x:80, _y:240}); launchbutton.onPress = function () { releaseCatapult(); }; } function releaseCatapult() { distance = 0; delete catapult.onEnterFrame; catapult.onEnterFrame = function () { catapult.arm._rotation = catapult.arm._rotation + 15; if (catapult.arm._rotation >= 0) { delete catapult.onEnterFrame; fireProjectile(); } }; } function fireProjectile() { this.attachMovie("projectile", "projectile", this.getNextHighestDepth(), {_x:catapult._x, _y:catapult._y}); projectile.dx = launchbutton.highorlong.highorlongslider._y / 5; projectile.dy = 20 - (launchbutton.highorlong.highorlongslider._y / 5); launchbutton.removeMovieClip(); onEnterFrame = function () { distance = distance + projectile.dx; dist = Math.floor(distance); if (dist > bestdist) { bestdist = dist; } projectile._rotation = projectile._rotation + 2; projectile._x = projectile._x + projectile.dx; projectile.dy = projectile.dy - 0.2; projectile._y = projectile._y - projectile.dy; if (projectile._x >= (Stage.width / 2)) { shiftObjects((Stage.width / 2) - projectile._x); projectile._x = Stage.width / 2; } if (projectile._y > (Stage.height - 20)) { projectile._y = Stage.height - 20; projectile.dy = projectile.dy * -0.7; projectile.dx = projectile.dx * 0.7; } switch (Math.floor(Math.random() * 100)) { case 0 : trampcount = 0; var i = 0; while (i < objectArray.length) { if (objectArray[i].indexOf("trampoline") != -1) { trampcount++; } i++; } if (trampcount < 3) { addObject("trampoline"); } break; case 1 : fancount = 0; var i = 0; while (i < objectArray.length) { if (objectArray[i].indexOf("fan") != -1) { fancount++; } i++; } if (fancount >= 3) { break; } addObject("fan"); } var i = 0; while (i < objectArray.length) { if ((eval (objectArray[i].toString())._x + eval (objectArray[i].toString())._width) < 0) { removeMovieClip(objectArray[i].toString()); objectArray.splice(i, 1); } else if (objectArray[i].indexOf("trampoline") != -1) { if (projectile.hitTest(eval (objectArray[i].toString()))) { projectile.dy = Math.abs(projectile.dy * 1.1); } } else if (objectArray[i].indexOf("fan") != -1) { if (projectile.hitTest(eval (objectArray[i].toString()))) { projectile.dx = projectile.dx * 1.1; } } i++; } if ((Math.abs(projectile.dy) < 0.1) && (projectile.dx < 0.1)) { delete onEnterFrame; loseGame(); } }; } function addObject(inputObject) { objectArray.push(inputObject + (++objectcount)); this.attachMovie(inputObject, inputObject + objectcount, this.getNextHighestDepth(), {_x:Stage.width + 15, _y:Stage.height}); projectile.swapDepths(this.getNextHighestDepth()); } function shiftObjects(shiftdistance) { var i = 0; while (i < objectArray.length) { eval (objectArray[i])._x = eval (objectArray[i])._x + shiftdistance; i++; } floor._x = (floor._x + shiftdistance) % (floor._width / 2); } function loseGame() { this.attachMovie("losescreen", "losescreen", this.getNextHighestDepth(), {_x:Stage.width / 2, _y:Stage.height / 2}); losescreen.score.text = Math.floor(distance); losescreen.replay.onPress = function () { newGame(); removeMovieClip(losescreen); }; } var objectArray = new Array(); var objectcount = 0; var distance = 0; newGame(); stop();Symbol 40 MovieClip Frame 9gotoAndPlay (1);Symbol 66 Buttonon (release) { _root.play(); }Symbol 67 MovieClip Frame 1_root.stop(); PercentLoaded = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100; if (PercentLoaded != 100) { bar._xscale = PercentLoaded; } else { gotoAndStop ("loaded"); }Symbol 67 MovieClip Frame 2gotoAndPlay (1);
Library Items
Symbol 1 Graphic | Used by:4 | |
Symbol 2 Graphic | Used by:3 | |
Symbol 3 MovieClip [highorlongslider] | Uses:2 | Used by:4 |
Symbol 4 MovieClip [highorlong] | Uses:1 3 | Used by:11 |
Symbol 5 Font | Used by:6 7 51 52 53 55 73 74 | |
Symbol 6 EditableText | Uses:5 | Used by:11 |
Symbol 7 EditableText | Uses:5 | Used by:11 |
Symbol 8 Graphic | Used by:9 | |
Symbol 9 MovieClip | Uses:8 | Used by:11 |
Symbol 10 Graphic | Used by:11 | |
Symbol 11 MovieClip [launchbutton] | Uses:4 6 7 9 10 | |
Symbol 12 Graphic | Used by:22 | |
Symbol 13 Graphic | Used by:14 | |
Symbol 14 MovieClip [catapultarm] | Uses:13 | Used by:22 |
Symbol 15 Graphic | Used by:16 | |
Symbol 16 MovieClip [catapultwheel] | Uses:15 | Used by:22 |
Symbol 17 Graphic | Used by:21 | |
Symbol 18 Graphic | Used by:21 | |
Symbol 19 Graphic | Used by:21 | |
Symbol 20 Graphic | Used by:21 | |
Symbol 21 MovieClip | Uses:17 18 19 20 | Used by:22 |
Symbol 22 MovieClip [catapult] | Uses:12 14 16 21 | |
Symbol 23 Graphic | Used by:24 | |
Symbol 24 MovieClip [projectile] | Uses:23 SS1 | |
Symbol 25 Graphic | Used by:44 | |
Symbol 26 ShapeTweening | Used by:40 | |
Symbol 27 Graphic | Used by:40 | |
Symbol 28 Graphic | Used by:40 | |
Symbol 29 Graphic | Used by:40 | |
Symbol 30 ShapeTweening | Used by:40 | |
Symbol 31 Graphic | Used by:40 | |
Symbol 32 Graphic | Used by:40 | |
Symbol 33 ShapeTweening | Used by:40 | |
Symbol 34 Graphic | Used by:40 | |
Symbol 35 Graphic | Used by:40 | |
Symbol 36 ShapeTweening | Used by:40 | |
Symbol 37 Graphic | Used by:40 | |
Symbol 38 Graphic | Used by:40 | |
Symbol 39 Graphic | Used by:40 | |
Symbol 40 MovieClip | Uses:26 27 28 29 30 31 32 33 34 35 36 37 38 39 | Used by:44 |
Symbol 41 ShapeTweening | Used by:44 | |
Symbol 42 ShapeTweening | Used by:44 | |
Symbol 43 Graphic | Used by:44 | |
Symbol 44 MovieClip [fan] | Uses:25 40 41 42 43 | |
Symbol 45 Graphic | Used by:48 | |
Symbol 46 Graphic | Used by:48 | |
Symbol 47 Graphic | Used by:48 | |
Symbol 48 MovieClip | Uses:45 46 47 | Used by:49 |
Symbol 49 MovieClip [trampoline] | Uses:48 | |
Symbol 50 Graphic | Used by:57 | |
Symbol 51 Text | Uses:5 | Used by:57 |
Symbol 52 EditableText | Uses:5 | Used by:57 |
Symbol 53 Text | Uses:5 | Used by:56 |
Symbol 54 Graphic | Used by:56 | |
Symbol 55 Text | Uses:5 | Used by:56 |
Symbol 56 Button | Uses:53 54 55 | Used by:57 |
Symbol 57 MovieClip [losescreen] | Uses:50 51 52 56 | |
Symbol 58 Graphic | Used by:59 | |
Symbol 59 MovieClip [floor] | Uses:58 | Used by:Timeline |
Symbol 60 Graphic | Used by:Timeline | |
Symbol 61 Graphic | Used by:62 | |
Symbol 62 MovieClip | Uses:61 | Used by:Timeline |
Symbol 63 Graphic | Used by:64 | |
Symbol 64 MovieClip | Uses:63 | Used by:67 |
Symbol 65 Graphic | Used by:66 | |
Symbol 66 Button | Uses:65 | Used by:67 |
Symbol 67 MovieClip | Uses:64 66 | Used by:69 |
Symbol 68 Graphic | Used by:69 | |
Symbol 69 MovieClip | Uses:67 68 | Used by:Timeline |
Symbol 70 Graphic | Used by:71 | |
Symbol 71 MovieClip | Uses:70 | Used by:Timeline |
Symbol 72 Graphic | Used by:Timeline | |
Symbol 73 EditableText | Uses:5 | Used by:Timeline |
Symbol 74 EditableText | Uses:5 | Used by:Timeline |
Symbol 75 Sound | Used by:Timeline | |
Streaming Sound 1 | Used by:Symbol 24 MovieClip [projectile] |
Instance Names
"floor" | Frame 2 | Symbol 59 MovieClip [floor] |
"highorlongslider" | Symbol 4 MovieClip [highorlong] Frame 1 | Symbol 3 MovieClip [highorlongslider] |
"highorlong" | Symbol 11 MovieClip [launchbutton] Frame 1 | Symbol 4 MovieClip [highorlong] |
"arm" | Symbol 22 MovieClip [catapult] Frame 1 | Symbol 14 MovieClip [catapultarm] |
"backwheel" | Symbol 22 MovieClip [catapult] Frame 1 | Symbol 16 MovieClip [catapultwheel] |
"frontwheel" | Symbol 22 MovieClip [catapult] Frame 1 | Symbol 16 MovieClip [catapultwheel] |
"score" | Symbol 57 MovieClip [losescreen] Frame 1 | Symbol 52 EditableText |
"replay" | Symbol 57 MovieClip [losescreen] Frame 1 | Symbol 56 Button |
"bar" | Symbol 67 MovieClip Frame 1 | Symbol 64 MovieClip |
Special Tags
FileAttributes (69) | Timeline Frame 1 | Access local files only, Metadata not present, AS1/AS2. |
Protect (24) | Timeline Frame 1 | 0 bytes "" |
ExportAssets (56) | Timeline Frame 1 | Symbol 3 as "highorlongslider" |
ExportAssets (56) | Timeline Frame 1 | Symbol 4 as "highorlong" |
ExportAssets (56) | Timeline Frame 1 | Symbol 11 as "launchbutton" |
ExportAssets (56) | Timeline Frame 1 | Symbol 14 as "catapultarm" |
ExportAssets (56) | Timeline Frame 1 | Symbol 16 as "catapultwheel" |
ExportAssets (56) | Timeline Frame 1 | Symbol 22 as "catapult" |
ExportAssets (56) | Timeline Frame 1 | Symbol 24 as "projectile" |
ExportAssets (56) | Timeline Frame 1 | Symbol 44 as "fan" |
ExportAssets (56) | Timeline Frame 1 | Symbol 49 as "trampoline" |
ExportAssets (56) | Timeline Frame 1 | Symbol 57 as "losescreen" |
ExportAssets (56) | Timeline Frame 1 | Symbol 59 as "floor" |
Labels
"loaded" | Symbol 67 MovieClip Frame 3 |
Dynamic Text Variables
dist | Symbol 73 EditableText | "0" |
bestdist | Symbol 74 EditableText | "0" |
|