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

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

Launch.swf

This is the info page for
Flash #86476

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


Text
high

long

score:

Replay

Replay

0

0

ActionScript [AS1/AS2]

Frame 2
function 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 9
gotoAndPlay (1);
Symbol 66 Button
on (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 2
gotoAndPlay (1);

Library Items

Symbol 1 GraphicUsed by:4
Symbol 2 GraphicUsed by:3
Symbol 3 MovieClip [highorlongslider]Uses:2Used by:4
Symbol 4 MovieClip [highorlong]Uses:1 3Used by:11
Symbol 5 FontUsed by:6 7 51 52 53 55 73 74
Symbol 6 EditableTextUses:5Used by:11
Symbol 7 EditableTextUses:5Used by:11
Symbol 8 GraphicUsed by:9
Symbol 9 MovieClipUses:8Used by:11
Symbol 10 GraphicUsed by:11
Symbol 11 MovieClip [launchbutton]Uses:4 6 7 9 10
Symbol 12 GraphicUsed by:22
Symbol 13 GraphicUsed by:14
Symbol 14 MovieClip [catapultarm]Uses:13Used by:22
Symbol 15 GraphicUsed by:16
Symbol 16 MovieClip [catapultwheel]Uses:15Used by:22
Symbol 17 GraphicUsed by:21
Symbol 18 GraphicUsed by:21
Symbol 19 GraphicUsed by:21
Symbol 20 GraphicUsed by:21
Symbol 21 MovieClipUses:17 18 19 20Used by:22
Symbol 22 MovieClip [catapult]Uses:12 14 16 21
Symbol 23 GraphicUsed by:24
Symbol 24 MovieClip [projectile]Uses:23 SS1
Symbol 25 GraphicUsed by:44
Symbol 26 ShapeTweeningUsed by:40
Symbol 27 GraphicUsed by:40
Symbol 28 GraphicUsed by:40
Symbol 29 GraphicUsed by:40
Symbol 30 ShapeTweeningUsed by:40
Symbol 31 GraphicUsed by:40
Symbol 32 GraphicUsed by:40
Symbol 33 ShapeTweeningUsed by:40
Symbol 34 GraphicUsed by:40
Symbol 35 GraphicUsed by:40
Symbol 36 ShapeTweeningUsed by:40
Symbol 37 GraphicUsed by:40
Symbol 38 GraphicUsed by:40
Symbol 39 GraphicUsed by:40
Symbol 40 MovieClipUses:26 27 28 29 30 31 32 33 34 35 36 37 38 39Used by:44
Symbol 41 ShapeTweeningUsed by:44
Symbol 42 ShapeTweeningUsed by:44
Symbol 43 GraphicUsed by:44
Symbol 44 MovieClip [fan]Uses:25 40 41 42 43
Symbol 45 GraphicUsed by:48
Symbol 46 GraphicUsed by:48
Symbol 47 GraphicUsed by:48
Symbol 48 MovieClipUses:45 46 47Used by:49
Symbol 49 MovieClip [trampoline]Uses:48
Symbol 50 GraphicUsed by:57
Symbol 51 TextUses:5Used by:57
Symbol 52 EditableTextUses:5Used by:57
Symbol 53 TextUses:5Used by:56
Symbol 54 GraphicUsed by:56
Symbol 55 TextUses:5Used by:56
Symbol 56 ButtonUses:53 54 55Used by:57
Symbol 57 MovieClip [losescreen]Uses:50 51 52 56
Symbol 58 GraphicUsed by:59
Symbol 59 MovieClip [floor]Uses:58Used by:Timeline
Symbol 60 GraphicUsed by:Timeline
Symbol 61 GraphicUsed by:62
Symbol 62 MovieClipUses:61Used by:Timeline
Symbol 63 GraphicUsed by:64
Symbol 64 MovieClipUses:63Used by:67
Symbol 65 GraphicUsed by:66
Symbol 66 ButtonUses:65Used by:67
Symbol 67 MovieClipUses:64 66Used by:69
Symbol 68 GraphicUsed by:69
Symbol 69 MovieClipUses:67 68Used by:Timeline
Symbol 70 GraphicUsed by:71
Symbol 71 MovieClipUses:70Used by:Timeline
Symbol 72 GraphicUsed by:Timeline
Symbol 73 EditableTextUses:5Used by:Timeline
Symbol 74 EditableTextUses:5Used by:Timeline
Symbol 75 SoundUsed by:Timeline
Streaming Sound 1Used by:Symbol 24 MovieClip [projectile]

Instance Names

"floor"Frame 2Symbol 59 MovieClip [floor]
"highorlongslider"Symbol 4 MovieClip [highorlong] Frame 1Symbol 3 MovieClip [highorlongslider]
"highorlong"Symbol 11 MovieClip [launchbutton] Frame 1Symbol 4 MovieClip [highorlong]
"arm"Symbol 22 MovieClip [catapult] Frame 1Symbol 14 MovieClip [catapultarm]
"backwheel"Symbol 22 MovieClip [catapult] Frame 1Symbol 16 MovieClip [catapultwheel]
"frontwheel"Symbol 22 MovieClip [catapult] Frame 1Symbol 16 MovieClip [catapultwheel]
"score"Symbol 57 MovieClip [losescreen] Frame 1Symbol 52 EditableText
"replay"Symbol 57 MovieClip [losescreen] Frame 1Symbol 56 Button
"bar"Symbol 67 MovieClip Frame 1Symbol 64 MovieClip

Special Tags

FileAttributes (69)Timeline Frame 1Access local files only, Metadata not present, AS1/AS2.
Protect (24)Timeline Frame 10 bytes ""
ExportAssets (56)Timeline Frame 1Symbol 3 as "highorlongslider"
ExportAssets (56)Timeline Frame 1Symbol 4 as "highorlong"
ExportAssets (56)Timeline Frame 1Symbol 11 as "launchbutton"
ExportAssets (56)Timeline Frame 1Symbol 14 as "catapultarm"
ExportAssets (56)Timeline Frame 1Symbol 16 as "catapultwheel"
ExportAssets (56)Timeline Frame 1Symbol 22 as "catapult"
ExportAssets (56)Timeline Frame 1Symbol 24 as "projectile"
ExportAssets (56)Timeline Frame 1Symbol 44 as "fan"
ExportAssets (56)Timeline Frame 1Symbol 49 as "trampoline"
ExportAssets (56)Timeline Frame 1Symbol 57 as "losescreen"
ExportAssets (56)Timeline Frame 1Symbol 59 as "floor"

Labels

"loaded"Symbol 67 MovieClip Frame 3

Dynamic Text Variables

distSymbol 73 EditableText"0"
bestdistSymbol 74 EditableText"0"




http://swfchan.com/18/86476/info.shtml
Created: 30/3 -2019 10:51:56 Last modified: 30/3 -2019 10:51:56 Server time: 19/04 -2024 03:50:36