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

China Rules.swf

This is the info page for
Flash #59074

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


ActionScript [AS1/AS2]
Combined Code
frame 1 { function visitSite() { getURL('http://www.rocketfetus.newgrounds.com', '_top'); } var myMenu = new ContextMenu(); myMenu.hideBuiltInItems(); var copyrightText = new ContextMenuItem('RocketFetus', visitSite); myMenu.customItems.push(copyrightText); _root.menu = myMenu; _root._quality = 'Medium'; } frame 1 { stop(); } movieClip 4 { } movieClip 9 { } movieClip 10 { } movieClip 13 { } movieClip 15 { } movieClip 16 { } button 17 { on (release) { getURL('http://www.newgrounds.com', '_blank'); } } movieClip 20 { } button 26 { on (release) { startMovie(); } } movieClip 28 { frame 1 { function timerHandler() { if (!loadingComplete) { var v4 = _root.getBytesLoaded() / _root.getBytesTotal(); bar._xscale = 100 * v4; if (v4 == 1) { loadingComplete = true; if (AUTO_PLAY) { startMovie(); } else { gotoAndStop('loaded'); } return undefined; } } dt = getTimer() - time; time += dt; frameAccum += dt; var v3 = 0; for (;;) { if (!(frameAccum >= FRAME_TIME && v3 < MAX_FRAME_SKIP)) break; advanceFrame(tankLogo, true, true); advanceFrame(loadingText, false, true); advanceFrame(barGfx, false, true); if (loadingComplete) { advanceFrame(this, false, false); } frameAccum -= FRAME_TIME; v3++; } updateAfterEvent(); } function advanceFrame(clip, recurse, loop) { if (!clip) { return undefined; } clip.stop(); if (clip._currentframe == clip._totalframes) { if (loop) { clip.gotoAndStop(1); } } else { clip.nextFrame(); } if (recurse) { for (childName in clip) { if (typeof clip[childName] == 'movieclip') { advanceFrame(clip[childName], recurse, loop); } } } } function startMovie() { clearInterval(intervalId); _root.play(); } _root.stop(); stop(); var FRAME_TIME = 33.33333333333334; var AUTO_PLAY = false; var MAX_FRAME_SKIP = 5; var loadingComplete; var intervalId; var time; var frameAccum; loadingComplete = false; intervalId = setInterval(this, 'timerHandler', FRAME_TIME / 2); frameAccum = 0; time = getTimer(); timerHandler(); } frame 2 { stop(); } } movieClip 30 { } frame 55 { stop(); } movieClip 36 { } movieClip 37 { } movieClip 39 { } movieClip 40 { } movieClip 42 { } movieClip 44 { } movieClip 46 { } movieClip 48 { } movieClip 50 { } movieClip 53 { } movieClip 55 { } movieClip 61 { frame 1 { stop(); onEnterFrame = function () { if (Key.isDown(65)) { play(); } }; } frame 2 { _root.kick1.start(0, 1); ++_root.shotcount; duplicateMovieClip(_root.bomb, 'bomb' + _root.shotcount, _root.shotcount); _root['bomb' + _root.shotcount]._x = _root.TANK._x + 140; _root['bomb' + _root.shotcount]._y = _root.TANK._y - 230; _root['bomb' + _root.shotcount].speed = 8 + Math.random() * 2; _root['bomb' + _root.shotcount].fallspeed = -15; duplicateMovieClip(_root.bullet, 'bullet' + _root.shotcount + 10, _root.shotcount + 10); _root['bullet' + _root.shotcount + 10]._x = _root.TANK._x + 140; _root['bullet' + _root.shotcount + 10]._y = _root.TANK._y - 230; _root['bullet' + _root.shotcount + 10]._rotation = 2 - Math.random() * 4; _root['bullet' + _root.shotcount + 10]._xscale = 100 + Math.random() * 25; _root['bullet' + _root.shotcount + 10]._xscale = _yscale; } } movieClip 62 { } movieClip 66 { } movieClip 67 { } movieClip 70 { } movieClip 74 { } movieClip 77 { } movieClip 78 { } movieClip 80 { } movieClip 81 { } movieClip 82 { } movieClip 83 { } movieClip 85 { } movieClip 86 { } movieClip 87 { } movieClip 88 { } movieClip 89 { } movieClip 90 { } movieClip 91 { instance of movieClip 55 { onClipEvent (enterFrame) { if (_root.guy.hitTest(this) && _root.guy.fallspeed > 0) { _root.guy.swapDepths(999); _root.guy.removeMovieClip(); _parent.GO = true; _root.SHADOW.swapDepths(999); _root.SHADOW.removeMovieClip(); } } } } instance TANK of movieClip 91 { onClipEvent (load) { GO = false; } onClipEvent (enterFrame) { if (GO) { _x = _x + speed; if (Key.isDown(39)) { speed = 10; } else { if (Key.isDown(37)) { speed = -10; } else { speed *= 0.5; } } _y = _y + fallspeed; if (!_root.ground.hitTest(_x, _y + 1, true)) { fallspeed += 3; } else { fallspeed = 0; } while (_root.ground.hitTest(_x, _y, true)) { _y = _y - 1; _y = _y - 1; } while (_root.ground.hitTest(_x - 20, _y - 10, true)) { _x = _x + 1; _x = _x + 1; } if (!this.hitTest(_root.cam)) { _root.FOOLED = true; this.swapDepths(999); this.removeMovieClip(); } } } } movieClip 93 { } movieClip 95 { } movieClip 96 { } movieClip 99 { }




http://swfchan.com/12/59074/info.shtml
Created: 16/4 -2019 22:53:11 Last modified: 16/4 -2019 22:53:11 Server time: 22/12 -2024 12:39:02