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

Lemon Smash.swf

This is the info page for
Flash #25917

(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 == 200) { _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 61 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 41 MovieClip Frame 221
_root.loadBar.swapDepths(1); _root.loadBar.removeMovieClip();
Symbol 52 MovieClip Frame 9
stop();
Symbol 55 Button
on (release) { _root.transition.play(); }
Symbol 58 Button
on (release) { getURL ("http://armorbot.com/mytable/?id=1630", "_blank"); }
Symbol 61 MovieClip Frame 1
stop();
Symbol 88 MovieClip Frame 1
_root.hit.start();
Symbol 88 MovieClip Frame 7
_parent.gotoAndStop(1);
Symbol 89 MovieClip Frame 1
stop();
Symbol 102 MovieClip Frame 116
stop();
Symbol 106 Button
on (release) { _root.transition.play(); }
Symbol 108 MovieClip Frame 1
stop();
Symbol 115 MovieClip Frame 1
stop();
Symbol 115 MovieClip Frame 9
stop();
Symbol 119 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:55
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:41
Symbol 22 ShapeTweeningUsed by:41
Symbol 23 GraphicUsed by:24
Symbol 24 MovieClipUses:23Used by:25
Symbol 25 MovieClipUses:24Used by:41
Symbol 26 ShapeTweeningUsed by:41
Symbol 27 ShapeTweeningUsed by:41
Symbol 28 ShapeTweeningUsed by:41
Symbol 29 ShapeTweeningUsed by:41
Symbol 30 GraphicUsed by:41 46
Symbol 31 ShapeTweeningUsed by:41
Symbol 32 ShapeTweeningUsed by:41
Symbol 33 GraphicUsed by:41
Symbol 34 GraphicUsed by:36
Symbol 35 GraphicUsed by:36
Symbol 36 MovieClipUses:34 35Used by:41
Symbol 37 GraphicUsed by:41
Symbol 38 ShapeTweeningUsed by:41
Symbol 39 ShapeTweeningUsed by:41
Symbol 40 GraphicUsed by:41
Symbol 41 MovieClipUses:21 22 25 26 27 28 29 30 31 32 33 36 37 38 39 40Used by:Timeline
Symbol 42 GraphicUsed by:Timeline
Symbol 43 GraphicUsed by:46
Symbol 44 ShapeTweeningUsed by:46
Symbol 45 GraphicUsed by:46
Symbol 46 MovieClipUses:43 30 44 45Used by:Timeline
Symbol 47 GraphicUsed by:Timeline
Symbol 48 GraphicUsed by:51 55
Symbol 49 GraphicUsed by:55
Symbol 50 GraphicUsed by:51
Symbol 51 MovieClipUses:48 50Used by:52
Symbol 52 MovieClipUses:51Used by:55
Symbol 53 GraphicUsed by:55
Symbol 54 SoundUsed by:55
Symbol 55 ButtonUses:48 49 52 53 54 5Used by:Timeline
Symbol 56 GraphicUsed by:58
Symbol 57 GraphicUsed by:58
Symbol 58 ButtonUses:56 57Used by:Timeline
Symbol 59 GraphicUsed by:60
Symbol 60 MovieClipUses:59Used by:61
Symbol 61 MovieClipUses:60Used by:Timeline
Symbol 62 GraphicUsed by:63
Symbol 63 MovieClipUses:62Used by:66
Symbol 64 GraphicUsed by:65
Symbol 65 MovieClipUses:64Used by:66
Symbol 66 MovieClipUses:63 65Used by:Timeline
Symbol 67 GraphicUsed by:71
Symbol 68 GraphicUsed by:71
Symbol 69 GraphicUsed by:71
Symbol 70 GraphicUsed by:71
Symbol 71 MovieClipUses:67 68 69 70Used by:89
Symbol 72 GraphicUsed by:78
Symbol 73 GraphicUsed by:78
Symbol 74 GraphicUsed by:78
Symbol 75 GraphicUsed by:78
Symbol 76 GraphicUsed by:78
Symbol 77 GraphicUsed by:78
Symbol 78 MovieClipUses:72 73 74 75 76 77Used by:89
Symbol 79 GraphicUsed by:88
Symbol 80 GraphicUsed by:88
Symbol 81 GraphicUsed by:82
Symbol 82 MovieClipUses:81Used by:88
Symbol 83 GraphicUsed by:88
Symbol 84 GraphicUsed by:88
Symbol 85 GraphicUsed by:88
Symbol 86 GraphicUsed by:88
Symbol 87 GraphicUsed by:88
Symbol 88 MovieClipUses:79 80 82 83 84 85 86 87Used by:89
Symbol 89 MovieClipUses:71 78 88Used by:Timeline
Symbol 90 FontUsed by:91 92 93 109 110
Symbol 91 EditableTextUses:90Used by:Timeline
Symbol 92 EditableTextUses:90Used by:Timeline
Symbol 93 EditableTextUses:90Used by:Timeline
Symbol 94 GraphicUsed by:95
Symbol 95 MovieClipUses:94Used by:102
Symbol 96 GraphicUsed by:97
Symbol 97 MovieClipUses:96Used by:102
Symbol 98 GraphicUsed by:99
Symbol 99 MovieClipUses:98Used by:102
Symbol 100 GraphicUsed by:101
Symbol 101 MovieClipUses:100Used by:102
Symbol 102 MovieClipUses:95 97 99 101Used by:Timeline
Symbol 103 GraphicUsed by:Timeline
Symbol 104 GraphicUsed by:106
Symbol 105 GraphicUsed by:106
Symbol 106 ButtonUses:104 105Used by:Timeline
Symbol 107 GraphicUsed by:108
Symbol 108 MovieClipUses:107Used by:Timeline
Symbol 109 EditableTextUses:90Used by:Timeline
Symbol 110 EditableTextUses:90Used by:Timeline
Symbol 111 GraphicUsed by:112
Symbol 112 MovieClipUses:111Used by:115
Symbol 113 GraphicUsed by:114
Symbol 114 MovieClipUses:113Used by:115
Symbol 115 MovieClipUses:112 114Used by:Timeline
Symbol 116 GraphicUsed by:119
Symbol 117 GraphicUsed by:119
Symbol 118 GraphicUsed by:119
Symbol 119 ButtonUses:116 117 118Used by:Timeline

Instance Names

"loadBar"Frame 1Symbol 41 MovieClip
"transition"Frame 2Symbol 61 MovieClip
"backGround"Frame 3Symbol 66 MovieClip
"dude"Frame 3Symbol 89 MovieClip
"scoreText"Frame 3Symbol 91 EditableText
"gameText"Frame 3Symbol 92 EditableText
"countDown"Frame 3Symbol 93 EditableText
"nameBlink"Frame 4Symbol 108 MovieClip
"submitted"Frame 4Symbol 115 MovieClip
"submitButton"Frame 4Symbol 119 Button
"ground"Symbol 66 MovieClip Frame 1Symbol 65 MovieClip
"hitBox"Symbol 88 MovieClip Frame 2Symbol 82 MovieClip
"attack"Symbol 89 MovieClip Frame 3Symbol 88 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 91 EditableText"0"
gameTimeSymbol 92 EditableText"60"
countDownSymbol 93 EditableText"4"
scoreSymbol 109 EditableText"0"
nameVarSymbol 110 EditableText"insert name"




http://swfchan.com/6/25917/info.shtml
Created: 23/5 -2019 06:33:05 Last modified: 23/5 -2019 06:33:05 Server time: 22/12 -2024 14:54:15