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

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

Lemon Smash.swf

This is the info page for
Flash #42169

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


Text
0

60

4

0

insert name

ActionScript [AS1/AS2]

Frame 1
function itemHandler1(obj, item) { getURL ("http://pezzo.newgrounds.com", "_blank"); } function itemHandler2(obj, item) { getURL ("http://coaly.newgrounds.com", "_blank"); } stop(); var myMenu = new ContextMenu(); myMenu.hideBuiltInItems(); myMenu.customItems.push(new ContextMenuItem("Zach Mcgowan - art", itemHandler1)); myMenu.customItems.push(new ContextMenuItem("Stephen Colie - art and code", itemHandler2)); _root.menu = myMenu; onEnterFrame = function () { if (loadBar._currentframe < 100) { loadBar.gotoAndStop(Math.round((getBytesLoaded() / getBytesTotal()) * 100)); } else if (loadBar._currentframe == 100) { loadBar.play(); } else if (loadBar._currentframe == 255) { _root.gotoAndStop(2); } };
Frame 2
stop(); x = 50; transition.swapDepths(2000); lemonMusic = new Sound(transition); lemonMusic.attachSound("music"); lemonMusic.setVolume(x); stopAllSounds(); lemonMusic.start(0, 99); playSound = new Sound(playB); playSound.attachSound("play"); onEnterFrame = function () { lemonMusic.setVolume(x); if (x < 100) { x = x * 1.2; } else { x = 100; } };
Instance of Symbol 65 MovieClip "transition" in Frame 2
onClipEvent (enterFrame) { if (this._currentframe == 20) { if (_root._currentframe == 4) { _root.gotoAndStop(2); _root.loadBar.swapDepths(1); _root.loadBar.removeMovieClip(); } else { _root.nextFrame(); } _root._x = 0; this._x = 325; } }
Frame 3
stop(); transition.swapDepths(2001); spaceUp = true; qkeyup = true; i = 1; grav = 2; timer = 0; score = 0; gameTimer = 1600; gameTime = 60; hit = new Sound(); hit.attachSound("hit"); smash = new Sound(); smash.attachSound("smash"); whistle = new Sound(); whistle.attachSound("whistle"); onEnterFrame = function () { if (gameTimer > 1500) { countDown = Math.ceil((gameTimer - 1500) / 25); gameTimer--; } else if (gameTimer == 1500) { countDown = ""; whistle.start(); gameTimer--; } else if (gameTimer > 0) { gameTimer--; gameTime = Math.ceil(gameTimer / 25); timer--; } else if (gameTimer == 0) { gameTimer--; whistle.start(); transition._x = (-_x) + 325; transition.play(); } if (gameTime > 60) { gameTime = 60; } if (timer < 0) { timer = 30 - ((60 - gameTime) / 2); LemonCreate(); } Quality(); }; Quality = function () { if (Key.isDown(81) && (qkeyup == true)) { if (_root._quality == "HIGH") { _root._quality = "MEDIUM"; } else if (_root._quality == "MEDIUM") { _root._quality = "LOW"; } else { _root._quality = "HIGH"; } qkeyup = false; } if (!Key.isDown(81)) { qkeyup = true; } }; dude.onEnterFrame = function () { if ((gameTimer < 1500) && (gameTimer > 0)) { if (this._currentframe != 3) { Move(12, this); } Hit(this); } else { this.gotoAndStop(1); } }; LemonCreate = function () { cur = this.attachMovie("lemon", "lemon" + i, i++); cur._x = (-_x) + random(650); cur._y = -50; cur.yspd = 0; cur.xspd = (Math.random() * 30) - 15; cur._xscale = (cur._yscale = 15 + (Math.random() * 10)); cur.onEnterFrame = lemonMove; }; lemonMove = function () { if (this._y > 450) { this.removeMovieClip(); } if (dude._currentframe == 3) { if ((this._currentframe == 1) && (this.hitTest(dude.attack.hitBox))) { this._rotation = 0; smash.start(); score++; this.gotoAndStop(2); this.yspd = 0; this.xspd = 0; while (!backGround.ground.hitTest(this._x, this._y + 10, true)) { this._y++; } } } this._x = this._x + this.xspd; this._y = this._y + this.yspd; this._rotation = this._rotation + this.xspd; if (!backGround.ground.hitTest(this._x, this._y + 11, true)) { this.yspd = this.yspd + grav; } if (backGround.ground.hitTest(this._x, this._y + 10, true)) { this.yspd = (-this.yspd) * 0.4; this.xspd = this.xspd * 0.4; } while (backGround.ground.hitTest(this._x, this._y + 10, true)) { if (Math.abs(this.yspd) < 1) { this.yspd = 0; } this._y--; } }; Hit = function (obj) { if (Key.isDown(32) && (spaceUp == true)) { spaceUp = false; obj.gotoAndStop(3); } if (!Key.isDown(32)) { spaceUp = true; } }; Move = function (spd, obj) { while (backGround.ground.hitTest(obj._x, obj._y, true)) { obj._y--; } while (!backGround.ground.hitTest(obj._x, obj._y + 1, true)) { obj._y++; } if (Key.isDown(37)) { obj.gotoAndStop(2); if ((_x + obj._x) < 200) { scoreText._x = scoreText._x - spd; gameText._x = gameText._x - spd; _x = (_x + spd); } obj._x = obj._x - spd; obj._xscale = Math.abs(obj._xscale); } else if (Key.isDown(39)) { obj.gotoAndStop(2); if ((_x + obj._x) > 450) { scoreText._x = scoreText._x + spd; gameText._x = gameText._x + spd; _x = (_x - spd); } obj._x = obj._x + spd; obj._xscale = -Math.abs(obj._xscale); } else { obj.gotoAndStop(1); } if (backGround._x > (-_x)) { backGround._x = backGround._x - 1300; } if (backGround._x < ((-_x) - 1300)) { backGround._x = backGround._x + 1300; } };
Frame 4
submitButton._x = 325; submitted._x = 325; transition.swapDepths(2002); nameVar = "insert name";
Symbol 19 MovieClip Frame 9
_parent.removeMovieClip();
Symbol 20 MovieClip [lemon] Frame 1
stop();
Symbol 35 Button
on (release) { getURL ("http://www.legitgames.com", "_blank"); }
Symbol 43 MovieClip Frame 276
_root.loadBar.swapDepths(1); _root.loadBar.removeMovieClip();
Symbol 51 Button
on (release) { getURL ("http://www.legitgames.com/", "_blank"); }
Symbol 54 Button
on (release) { getURL ("http://armorbot.com/mytable/?id=1630", "_blank"); }
Symbol 59 MovieClip Frame 9
stop();
Symbol 62 Button
on (release) { _root.transition.play(); }
Symbol 65 MovieClip Frame 1
stop();
Symbol 92 MovieClip Frame 1
_root.hit.start();
Symbol 92 MovieClip Frame 7
_parent.gotoAndStop(1);
Symbol 93 MovieClip Frame 1
stop();
Symbol 106 MovieClip Frame 116
stop();
Symbol 110 Button
on (release) { _root.transition.play(); }
Symbol 112 MovieClip Frame 1
stop();
Symbol 119 MovieClip Frame 1
stop();
Symbol 119 MovieClip Frame 9
stop();
Symbol 123 Button
on (release) { if (_root.nameVar != "insert name") { _root.submitButton._x = -100; _root.submitted.play(); ab20_09 = new LoadVars(); ab20_09.z = _root.nameVar; ab20_09.x = _root.score; ab20_09.c = 1630; ab20_09.v = "XCSIXW"; ab20_09.sendAndLoad("http://armorbot.com/s_b", ab20_09, "POST"); } else { _root.nameBlink.play(); } }

Library Items

Symbol 1 Sound [whistle]
Symbol 2 Sound [hit]
Symbol 3 Sound [music]
Symbol 4 Sound [smash]
Symbol 5 Sound [play]Used by:62
Symbol 6 GraphicUsed by:10
Symbol 7 GraphicUsed by:10
Symbol 8 GraphicUsed by:10
Symbol 9 GraphicUsed by:10
Symbol 10 MovieClipUses:6 7 8 9Used by:20
Symbol 11 GraphicUsed by:19
Symbol 12 GraphicUsed by:19
Symbol 13 GraphicUsed by:19
Symbol 14 GraphicUsed by:19
Symbol 15 GraphicUsed by:19
Symbol 16 GraphicUsed by:19
Symbol 17 GraphicUsed by:19
Symbol 18 GraphicUsed by:19
Symbol 19 MovieClipUses:11 12 13 14 15 16 17 18Used by:20
Symbol 20 MovieClip [lemon]Uses:10 19
Symbol 21 GraphicUsed by:43
Symbol 22 ShapeTweeningUsed by:43
Symbol 23 GraphicUsed by:24
Symbol 24 MovieClipUses:23Used by:25
Symbol 25 MovieClipUses:24Used by:43
Symbol 26 ShapeTweeningUsed by:43
Symbol 27 ShapeTweeningUsed by:43
Symbol 28 ShapeTweeningUsed by:43
Symbol 29 ShapeTweeningUsed by:43
Symbol 30 GraphicUsed by:43 48
Symbol 31 ShapeTweeningUsed by:43
Symbol 32 ShapeTweeningUsed by:43
Symbol 33 GraphicUsed by:43
Symbol 34 GraphicUsed by:35 43
Symbol 35 ButtonUses:34Used by:43
Symbol 36 GraphicUsed by:38
Symbol 37 GraphicUsed by:38
Symbol 38 MovieClipUses:36 37Used by:43
Symbol 39 GraphicUsed by:43
Symbol 40 ShapeTweeningUsed by:43
Symbol 41 ShapeTweeningUsed by:43
Symbol 42 GraphicUsed by:43
Symbol 43 MovieClipUses:21 22 25 26 27 28 29 30 31 32 33 34 35 38 39 40 41 42Used by:Timeline
Symbol 44 GraphicUsed by:Timeline
Symbol 45 GraphicUsed by:48
Symbol 46 ShapeTweeningUsed by:48
Symbol 47 GraphicUsed by:48
Symbol 48 MovieClipUses:45 30 46 47Used by:Timeline
Symbol 49 GraphicUsed by:Timeline
Symbol 50 GraphicUsed by:51
Symbol 51 ButtonUses:50Used by:Timeline
Symbol 52 GraphicUsed by:54
Symbol 53 GraphicUsed by:54
Symbol 54 ButtonUses:52 53Used by:Timeline
Symbol 55 GraphicUsed by:58 62
Symbol 56 GraphicUsed by:62
Symbol 57 GraphicUsed by:58
Symbol 58 MovieClipUses:55 57Used by:59
Symbol 59 MovieClipUses:58Used by:62
Symbol 60 GraphicUsed by:62
Symbol 61 SoundUsed by:62
Symbol 62 ButtonUses:55 56 59 60 61 5Used by:Timeline
Symbol 63 GraphicUsed by:64
Symbol 64 MovieClipUses:63Used by:65
Symbol 65 MovieClipUses:64Used by:Timeline
Symbol 66 GraphicUsed by:67
Symbol 67 MovieClipUses:66Used by:70
Symbol 68 GraphicUsed by:69
Symbol 69 MovieClipUses:68Used by:70
Symbol 70 MovieClipUses:67 69Used by:Timeline
Symbol 71 GraphicUsed by:75
Symbol 72 GraphicUsed by:75
Symbol 73 GraphicUsed by:75
Symbol 74 GraphicUsed by:75
Symbol 75 MovieClipUses:71 72 73 74Used by:93
Symbol 76 GraphicUsed by:82
Symbol 77 GraphicUsed by:82
Symbol 78 GraphicUsed by:82
Symbol 79 GraphicUsed by:82
Symbol 80 GraphicUsed by:82
Symbol 81 GraphicUsed by:82
Symbol 82 MovieClipUses:76 77 78 79 80 81Used by:93
Symbol 83 GraphicUsed by:92
Symbol 84 GraphicUsed by:92
Symbol 85 GraphicUsed by:86
Symbol 86 MovieClipUses:85Used by:92
Symbol 87 GraphicUsed by:92
Symbol 88 GraphicUsed by:92
Symbol 89 GraphicUsed by:92
Symbol 90 GraphicUsed by:92
Symbol 91 GraphicUsed by:92
Symbol 92 MovieClipUses:83 84 86 87 88 89 90 91Used by:93
Symbol 93 MovieClipUses:75 82 92Used by:Timeline
Symbol 94 FontUsed by:95 96 97 113 114
Symbol 95 EditableTextUses:94Used by:Timeline
Symbol 96 EditableTextUses:94Used by:Timeline
Symbol 97 EditableTextUses:94Used by:Timeline
Symbol 98 GraphicUsed by:99
Symbol 99 MovieClipUses:98Used by:106
Symbol 100 GraphicUsed by:101
Symbol 101 MovieClipUses:100Used by:106
Symbol 102 GraphicUsed by:103
Symbol 103 MovieClipUses:102Used by:106
Symbol 104 GraphicUsed by:105
Symbol 105 MovieClipUses:104Used by:106
Symbol 106 MovieClipUses:99 101 103 105Used by:Timeline
Symbol 107 GraphicUsed by:Timeline
Symbol 108 GraphicUsed by:110
Symbol 109 GraphicUsed by:110
Symbol 110 ButtonUses:108 109Used by:Timeline
Symbol 111 GraphicUsed by:112
Symbol 112 MovieClipUses:111Used by:Timeline
Symbol 113 EditableTextUses:94Used by:Timeline
Symbol 114 EditableTextUses:94Used by:Timeline
Symbol 115 GraphicUsed by:116
Symbol 116 MovieClipUses:115Used by:119
Symbol 117 GraphicUsed by:118
Symbol 118 MovieClipUses:117Used by:119
Symbol 119 MovieClipUses:116 118Used by:Timeline
Symbol 120 GraphicUsed by:123
Symbol 121 GraphicUsed by:123
Symbol 122 GraphicUsed by:123
Symbol 123 ButtonUses:120 121 122Used by:Timeline

Instance Names

"loadBar"Frame 1Symbol 43 MovieClip
"transition"Frame 2Symbol 65 MovieClip
"backGround"Frame 3Symbol 70 MovieClip
"dude"Frame 3Symbol 93 MovieClip
"scoreText"Frame 3Symbol 95 EditableText
"gameText"Frame 3Symbol 96 EditableText
"countDown"Frame 3Symbol 97 EditableText
"nameBlink"Frame 4Symbol 112 MovieClip
"submitted"Frame 4Symbol 119 MovieClip
"submitButton"Frame 4Symbol 123 Button
"ground"Symbol 70 MovieClip Frame 1Symbol 69 MovieClip
"hitBox"Symbol 92 MovieClip Frame 2Symbol 86 MovieClip
"attack"Symbol 93 MovieClip Frame 3Symbol 92 MovieClip

Special Tags

FileAttributes (69)Timeline Frame 1Access network only, Metadata not present, AS1/AS2.
ExportAssets (56)Timeline Frame 1Symbol 1 as "whistle"
ExportAssets (56)Timeline Frame 1Symbol 2 as "hit"
ExportAssets (56)Timeline Frame 1Symbol 3 as "music"
ExportAssets (56)Timeline Frame 1Symbol 4 as "smash"
ExportAssets (56)Timeline Frame 1Symbol 5 as "play"
ExportAssets (56)Timeline Frame 1Symbol 20 as "lemon"

Dynamic Text Variables

scoreSymbol 95 EditableText"0"
gameTimeSymbol 96 EditableText"60"
countDownSymbol 97 EditableText"4"
scoreSymbol 113 EditableText"0"
nameVarSymbol 114 EditableText"insert name"




http://swfchan.com/9/42169/info.shtml
Created: 10/5 -2019 01:38:38 Last modified: 10/5 -2019 01:38:38 Server time: 21/12 -2024 04:57:06