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

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

Party Boat - avoid the missiles for as long as possible.swf

This is the info page for
Flash #90132

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


ActionScript [AS1/AS2]
Combined Code
movieClip 12 missile { #initclip Object.registerClass('missile', missile); #endinitclip } movieClip 14 exhaust { #initclip Object.registerClass('exhaust', exhaust); #endinitclip } movieClip 31 explode { #initclip Object.registerClass('explode', explode); #endinitclip } movieClip 33 spark { #initclip Object.registerClass('spark', spark); #endinitclip } movieClip 35 { } movieClip 36 smoke { #initclip Object.registerClass('smoke', smoke); #endinitclip } movieClip 43 fall { #initclip Object.registerClass('fall', frame); #endinitclip } movieClip 44 smallfall { #initclip Object.registerClass('smallfall', fall); #endinitclip } movieClip 46 flash_screen { #initclip Object.registerClass('flash_screen', flash_screen); #endinitclip } // unknown tag 88 length 84 movieClip 49 bluePop { #initclip Object.registerClass('bluePop', bluePop); #endinitclip } movieClip 51 yellowPop { #initclip Object.registerClass('yellowPop', yellowPop); #endinitclip } movieClip 53 { } movieClip 54 splash { #initclip Object.registerClass('splash', splash); #endinitclip } movieClip 59 laser { #initclip Object.registerClass('laser', laser); #endinitclip } movieClip 61 siteLock { } movieClip 63 sLock { #initclip Object.registerClass('sLock', sLock); #endinitclip } movieClip 65 copter_mask { #initclip Object.registerClass('copter_mask', copter_mask); #endinitclip } movieClip 68 water { #initclip Object.registerClass('water', water); #endinitclip } movieClip 70 tail { #initclip Object.registerClass('tail', tail); #endinitclip } movieClip 74 blade { #initclip Object.registerClass('blade', blade); #endinitclip } movieClip 79 heli { #initclip Object.registerClass('heli', heli); #endinitclip } movieClip 81 arrows { #initclip Object.registerClass('arrows', control_follow); #endinitclip } movieClip 84 { } movieClip 85 light { #initclip Object.registerClass('light', light); #endinitclip } movieClip 87 { } movieClip 88 boat { #initclip Object.registerClass('boat', boat); #endinitclip } movieClip 90 { } movieClip 94 Symbol 5 { #initclip Object.registerClass('Symbol 5', soundbutton); #endinitclip frame 1 { butbg._alpha = 0; stop(); butbg.onPress = function () { if (_global.sounds == 1) { _global.sounds = 0; _root.playmusic.stopSound(); } else { _global.sounds = 1; _root.playmusic.playSound(); } }; } } movieClip 95 partygoer { #initclip Object.registerClass('partygoer', partygoer); #endinitclip } movieClip 97 idlesound { #initclip Object.registerClass('idlesound', idlesound); #endinitclip } movieClip 99 PARTYTIME { } movieClip 101 ploader { #initclip Object.registerClass('ploader', ploader); #endinitclip } frame 1 { _global.sounds = 1; _global.best = 0; _global.playername = 'your name here'; _global.prev = 0; stop(); partybutton.onPress = function () { _global.playername = _root.inputname.text; gotoAndStop(3); }; _root.bestscores.filename = 'scores/score.sco'; _root.bestscores.scoresize = 10; _root.bestscores.action = 'VIEW'; _root.bestscores.viewtype = 'FLASH'; _root.bestscores.loadVariables('http://www.messhof.com/scores.php', 'GET'); _quality = 'LOW'; } movieClip 125 { } movieClip 206 __Packages.exhaust { #initclip if (!_global.exhaust) { var v1 = function () { super(); }; _global.exhaust = v1; _global.exhaust extends MovieClip; var v2 = v1.prototype; v2.onEnterFrame = function () { if (this.timer > 0) { this.timer -= 1; } else { this.removeMovieClip(); } }; v2.timer = 100; ASSetPropFlags(_global.exhaust.prototype, null, 1); } #endinitclip } movieClip 207 __Packages.explode { #initclip if (!_global.explode) { var v1 = function () { super(); }; _global.explode = v1; _global.explode extends MovieClip; var v2 = v1.prototype; v2.makeSpark = function () { var v3 = _root.attachMovie('spark', 'spark' + _root.getNextHighestDepth(), _root.getNextHighestDepth()); v3._x = this._x - 30 + Math.random() * 60; v3._y = this._y - 30 + Math.random() * 60; v3.hspeed = -40 + Math.random() * 80; v3.vspeed = -40 + Math.random() * 80; }; v2.onEnterFrame = function () { if (this.f < 8) { this.f += 0.8; } else { this.removeMovieClip(); } if (Math.round(this.f) == 4 && this.once == 0) { this.once = 1; var v4 = _root.attachMovie('smoke', 'smoke' + _root.getNextHighestDepth(), _root.getNextHighestDepth()); v4._x = this._x; v4._y = this._y; } var v3 = 0; while (v3 < 15) { this.makeSpark(); v3 += 1; } this.gotoAndStop(Math.round(this.f)); }; v2.f = 0; v2.once = 0; ASSetPropFlags(_global.explode.prototype, null, 1); } #endinitclip } movieClip 208 __Packages.spark { #initclip if (!_global.spark) { var v1 = function () { super(); }; _global.spark = v1; _global.spark extends MovieClip; var v2 = v1.prototype; v2.addMomentum = function () { this._x += this.hspeed; this._y += this.vspeed; }; v2.onEnterFrame = function () { if (this.timer > 0) { this.timer -= 1; } else { this.removeMovieClip(); } this.addMomentum(); if (_root.helicopter._y > 590) { this.removeMovieClip(); } }; v2.timer = 10; v2.hspeed = 0; v2.vspeed = 0; ASSetPropFlags(_global.spark.prototype, null, 1); } #endinitclip } movieClip 209 __Packages.smoke { #initclip if (!_global.smoke) { var v1 = function () { super(); }; _global.smoke = v1; _global.smoke extends MovieClip; var v2 = v1.prototype; v2.onEnterFrame = function () { if (this._x > -100) { this._x -= Math.random() * 0.6; } else { this.removeMovieClip(); } if (_root.helicopter._y > 590) { this.removeMovieClip(); } }; ASSetPropFlags(_global.smoke.prototype, null, 1); } #endinitclip } movieClip 210 __Packages.frame { #initclip if (!_global.frame) { var v1 = function () { super(); }; _global.frame = v1; _global.frame extends MovieClip; var v2 = v1.prototype; v2.onEnterFrame = function () { if (this.f < 6) { this.f += 0.2; } else { this.f -= 6; } this.gotoAndStop(Math.round(this.f)); }; v2.f = 0; ASSetPropFlags(_global.frame.prototype, null, 1); } #endinitclip } movieClip 211 __Packages.fall { #initclip if (!_global.fall) { var v1 = function () { super(); }; _global.fall = v1; _global.fall extends MovieClip; var v2 = v1.prototype; v2.onLoad = function () { this.hspeed = _root.helicopter.hspeed / 2; this.vspeed = _root.helicopter.vspeed / 2; this.ystop = 450 + Math.random() * 15; this.rot = (Math.random() - 0.5) * 10; if (_global.sounds == 1) { var v4; v4 = new Sound(this); v4.attachSound('jump'); v4.start(0, 0); } }; v2.kill = function () { this.removeMovieClip(); }; v2.onEnterFrame = function () { if (this.vspeed > 4) { this.vspeed = 4; } else { this.vspeed += 0.05; } if (this._y < this.ystop) { this._y += this.vspeed; this._rotation += this.rot; this._x += this.hspeed; this.hspeed *= 0.99; } else { this._y = this.ystop; this.vspeed = 0; this.hspeed = 0; } if (_root.helicopter._y > 590) { this.kill(); } }; v2.hspeed = 0; v2.vspeed = 0; v2.ystop = 0; v2.rot = 0; v2.f = 0; v2.timer = 600; ASSetPropFlags(_global.fall.prototype, null, 1); } #endinitclip } movieClip 212 __Packages.flash_screen { #initclip if (!_global.flash_screen) { var v1 = function () { super(); }; _global.flash_screen = v1; _global.flash_screen extends MovieClip; var v2 = v1.prototype; v2.onEnterFrame = function () { if (this.once == 0) { this.once = 1; } else { this.removeMovieClip(); } }; v2.once = 0; ASSetPropFlags(_global.flash_screen.prototype, null, 1); } #endinitclip } movieClip 213 __Packages.bluePop { #initclip if (!_global.bluePop) { var v1 = function () { super(); }; _global.bluePop = v1; _global.bluePop extends MovieClip; var v2 = v1.prototype; v2.onLoad = function () { if (_global.sounds == 1) { var v3; v3 = new Sound(this); v3.attachSound('s_combo'); v3.start(0, 0); } }; v2.onEnterFrame = function () { if (this.timer > 0) { this.timer -= 1; } else { this.removeMovieClip(); } if (_root.helicopter._y > 590) { this.removeMovieClip(); } }; v2.timer = 180; ASSetPropFlags(_global.bluePop.prototype, null, 1); } #endinitclip } movieClip 214 __Packages.yellowPop { #initclip if (!_global.yellowPop) { var v1 = function () { super(); }; _global.yellowPop = v1; _global.yellowPop extends MovieClip; var v2 = v1.prototype; v2.onLoad = function () { if (_global.sounds == 1) { var v3; v3 = new Sound(this); v3.attachSound('s_point'); v3.start(0, 0); } }; v2.onEnterFrame = function () { if (this.timer > 0) { this.timer -= 1; } else { this.removeMovieClip(); } if (_root.helicopter._y > 590) { this.removeMovieClip(); } }; v2.timer = 180; ASSetPropFlags(_global.yellowPop.prototype, null, 1); } #endinitclip } movieClip 215 __Packages.splash { #initclip if (!_global.splash) { var v1 = function () { super(); }; _global.splash = v1; _global.splash extends MovieClip; var v2 = v1.prototype; v2.onLoad = function () { if (_global.sounds == 1) { var v3 = new Sound(this); v3.attachSound('s_splash'); v3.start(0, 0); } }; v2.addMomentum = function () { this.vspeed += this.gravity; this._x += this.hspeed; this._y += this.vspeed; }; v2.onEnterFrame = function () { if (this.timer > 0) { this.timer -= 1; } else { this.removeMovieClip(); } this.addMomentum(); if (_root.helicopter._y > 590) { this.removeMovieClip(); } }; v2.timer = 30; v2.hspeed = 0; v2.vspeed = 0; v2.gravity = 0.3; ASSetPropFlags(_global.splash.prototype, null, 1); } #endinitclip } movieClip 216 __Packages.laser { #initclip if (!_global.laser) { var v1 = function () { super(); }; _global.laser = v1; _global.laser extends MovieClip; var v2 = v1.prototype; v2.onLoad = function () { this._rotation += Math.random() * -45 + Math.random() * 70; }; v2.onEnterFrame = function () { this.hspeed = _root.ship.hspeed; this._x += this.hspeed; if (this.timer > 0) { this.timer -= 1; } else { this.removeMovieClip(); } }; v2.timer = 30; ASSetPropFlags(_global.laser.prototype, null, 1); } #endinitclip } movieClip 217 __Packages.sLock { #initclip if (!_global.sLock) { var v1 = function () { super(); }; _global.sLock = v1; _global.sLock extends MovieClip; var v2 = v1.prototype; v2.onLoad = function () { this.sitelock('www.messhof.com'); }; v2.sitelock = function (url_to_lock) { var v4; v4 = this._url.split('://'); var v3; v3 = v4[1].split('/'); if (v3[0] != url_to_lock && v3[0] != 'www.flashgamelicense.com') { _root._alpha = 0; this.getURL('http://messhof.com/?page_id=32', '_blank'); } }; ASSetPropFlags(_global.sLock.prototype, null, 1); } #endinitclip } movieClip 218 __Packages.copter_mask { #initclip if (!_global.copter_mask) { var v1 = function () { super(); }; _global.copter_mask = v1; _global.copter_mask extends MovieClip; var v2 = v1.prototype; v2.onLoad = function () { this._visible = false; }; v2.onEnterFrame = function () { this._x = _global.hx; this._y = _global.hy; }; ASSetPropFlags(_global.copter_mask.prototype, null, 1); } #endinitclip } movieClip 219 __Packages.water { #initclip if (!_global.water) { var v1 = function () { super(); }; _global.water = v1; _global.water extends MovieClip; var v2 = v1.prototype; v2.onLoad = function () { this.p = Math.floor((this._x / 768) * 122); this.gotoAndPlay(this.p); }; v2.p = 0; ASSetPropFlags(_global.water.prototype, null, 1); } #endinitclip } movieClip 220 __Packages.tail { #initclip if (!_global.tail) { var v1 = function () { super(); }; _global.tail = v1; _global.tail extends MovieClip; var v2 = v1.prototype; v2.onEnterFrame = function () { this._rotation += Math.floor(_global.blade_f / 2); }; ASSetPropFlags(_global.tail.prototype, null, 1); } #endinitclip } movieClip 221 __Packages.blade { #initclip if (!_global.blade) { var v1 = function () { super(); }; _global.blade = v1; _global.blade extends MovieClip; var v2 = v1.prototype; v2.onEnterFrame = function () { this.f += _global.blade_f; this.f %= 359; this.gotoAndStop(this.f); }; v2.f = 0; ASSetPropFlags(_global.blade.prototype, null, 1); } #endinitclip } movieClip 222 __Packages.heli { #initclip if (!_global.heli) { var v1 = function () { super(); }; _global.heli = v1; _global.heli extends MovieClip; var v2 = v1.prototype; v2.onLoad = function () { _global.hx = this._x; _global.hy = this._y; _global.blade_f = 0; _global.player = this; _global.score = 0; _root.prevbest_text.best_text.text = _global.best; _root.prevbest_text.prev_text.text = _global.prev; }; v2.createBoat = function () { var v2 = _root.attachMovie('boat', 'boat' + _root.getNextHighestDepth(), _root.getNextHighestDepth()); v2._x = 950; v2._y = 430; }; v2.constrainSpeed = function () { if (this.hspeed > this.maxspeed) { this.hspeed = this.maxspeed; } if (this.hspeed < -this.maxspeed) { this.hspeed = -this.maxspeed; } if (this.vspeed > this.maxspeed) { this.vspeed = this.maxspeed; } if (this.vspeed < -this.maxspeed) { this.vspeed = -this.maxspeed; } }; v2.constrainBoundaries = function () { if (this._x < 0 && this.hspeed < 0) { this._x = 0; this.hspeed *= -0.7; } if (this._x > 768 && this.hspeed > 0) { this._x = 768; this.hspeed *= -0.7; } if (this._y < 0 && this.vspeed < 0) { this._y = 0; this.vspeed *= -0.8; } if (this.hits > 0) { if (this._y > 470 && this.vspeed > 0) { this.vspeed = -0.5; } } }; v2.addMomentum = function () { this.vspeed += this.gravity; this._x += this.hspeed; this._y += this.vspeed; }; v2.checkLoop = function () { if (this.pointdir < 45 || this.pointdir > 315) { if (this.one_loop == 1 && this.hits > 0) { var v3 = _root.attachMovie('bluePop', 'bluePop' + _root.getNextHighestDepth(), _root.getNextHighestDepth()); v3._x = this._x; v3._y = this._y; this.combo += 1; v3.tfield.text = 'x' + this.combo; this.one_loop = 0; } } if (this.pointdir > 133 && this.pointdir < 139) { this.one_loop = 1; } }; v2.decreaseFireTimer = function () { if (this.fire_timer > 0) { this.fire_timer -= 1; } else { this.createBoat(); this.fire_timer = 720; } }; v2.updatePosition = function () { _global.hx = this._x; _global.hy = this._y; }; v2.getDirection = function () { this.direction = Math.atan(Math.abs(this.vspeed) / Math.abs(this.hspeed)); this.direction *= 57.29577951308232; if (this.hspeed < 0 && this.vspeed > 0) { this.direction += 90; } if (this.hspeed < 0 && this.vspeed < 0) { this.direction += 180; } if (this.hspeed > 0 && this.vspeed < 0) { this.direction += 270; } }; v2.angle_and_masking = function () { this._rotation = 360 - this.pointdir; }; v2.throttle_control = function () { var v3 = 3; this.throttle = 54; if (Key.isDown(38)) { this.throttle = 100; } else { if (Key.isDown(40)) { this.throttle = 0; } } _global.blade_f = this.throttle; }; v2.response_and_lift = function () { if (this.onground == 0 && this.hits > 0) { this.scflyish(0.015, 0.005, 0.01, 0); this.motion_add(this.pointdir + 90, (this.throttle / 100) * 0.75 * 400 / 1600); } }; v2.turning = function () { var v2 = 8; if (Key.isDown(37)) { this.spin += this.turnspeed; if (this.spin > v2) { this.spin = v2; } } if (Key.isDown(39)) { this.spin -= this.turnspeed; if (this.spin < -v2) { this.spin = -v2; } } this.pointdir += this.spin; if (this.pointdir > 360) { this.pointdir -= 360; } if (this.pointdir < 0) { this.pointdir += 360; } if (this.spin > 0) { this.spin -= this.turnspeed * 1.1; if (this.spin < 0) { this.spin = 0; } } if (this.spin < 0) { this.spin += this.turnspeed * 1.1; if (this.spin > 0) { this.spin = 0; } } }; v2.motion_add = function (d, s) { d *= 0.0174532925199433; this.hspeed += s * Math.cos(d); this.vspeed -= s * Math.sin(d); }; v2.scworkangle = function (a) { var v1 = a; if (v1 > 180) { v1 -= 360; } if (v1 <= -180) { v1 += 360; } return v1; }; v2.scfindtheta = function () { var v4 = this.scworkangle(this.direction); var v3 = this.scworkangle(this.pointdir); var v2 = v3 - v4; v2 = this.scworkangle(v2); return v2; }; v2.scflyish = function (a, b, c, d) { var v3; v3 = this.scfindtheta(); var v2 = v3 / 57.296; var v7 = this.speed * a * Math.abs(Math.sin(v2)); var v4 = this.speed * b * Math.sin(2 * v2); var v10 = this.speed * b; var v6 = this.speed * d * Math.sin(v2); var v8 = (this.direction + 180) % 360; var v5 = (this.pointdir + 90) % 360; if (this.hspeed < 0) { var v9 = this.direction - 90; } else { var v9 = this.direction + 90; } this.motion_add(v8, v7); this.motion_add(v5, v4); this.motion_add(v9, v10); this.pointdir -= v6; if (this.pointdir < 0) { this.pointdir += 360; } }; v2.dead_check = function () { if (this.hits <= 0) { this.throttle = 0; if (this._y > 600) { this.restart(); } } }; v2.dropDrugs = function () { if (Key.isDown(32) && this.dropclear == 1) { var v3 = _root.attachMovie('drug', 'drug' + _root.getNextHighestDepth(), _root.getNextHighestDepth()); v3._x = this._x; v3._y = this._y; this.dropclear = 0; } else { if (!Key.isDown(32)) { this.dropclear = 1; } } }; v2.restart = function () { _root.blue_block._visible = 1; _global.prev = _global.score * this.combo; if (_global.prev > _global.best) { _global.best = _global.prev; _root.prevbest_text.filename = 'scores/score.sco'; _root.prevbest_text.scoresize = 10; _root.prevbest_text.action = 'INSERT'; _root.prevbest_text.viewtype = 'FLASH'; _root.prevbest_text.winname = _global.playername; _root.prevbest_text.winscore = _global.best; _root.prevbest_text.loadVariables('http://www.messhof.com/scores.php', 'GET'); _root.prevbest_text.best_text.text = _global.best; _root.prevbest_text.prev_text.text = _global.prev; } _root.prevbest_text._visible = 1; this._x = 1; this._y = 245.8; this.throttle = 54; this.hits = 3; this.hspeed = 2; this.vspeed = 0; this.pointdir = 0; _root.ship.go = 0; _root.ship.level = 0; _root.ship.timer = 330 + _root.ship.level * 20; _root.ready_text._visible = 1; _root.prev_text.text = _global.score; _global.score = 0; _root.ship.stopParty(); if (_global.sounds == 1) { _root.playmusic.playSound(); } this.one_loop = 0; this.combo = 1; var v4 = _root.attachMovie('flash_screen', 'flash_screen' + _root.getNextHighestDepth(), _root.getNextHighestDepth()); }; v2.splashWater = function () { if (this._y > 426 && this._y < 500) { if (this.vspeed > 0) { this.vspeed *= 0.9; } if (this.pointdir > 0 && this.pointdir < 180) { this.pointdir -= 5.5; } else { this.pointdir += 5.5; } this.hspeed *= 0.95; var v3 = _root.attachMovie('splash', 'splash' + _root.getNextHighestDepth(), _root.getNextHighestDepth()); v3._x = this._x - 16 + Math.random() * 32; v3._y = this._y; v3.vspeed = -2 - Math.random() * 4; v3.hspeed = -2 + Math.random() * 4; } }; v2.bladeSounds = function () { if (this.low != 30) { this.low += 1; } else { if (this.throttle < 70 && this.throttle > 40) { var v2; v2 = new Sound(this); v2.attachSound('low'); v2.start(0, 0); } } if (this.high != 15) { this.high += 1; } else { if (this.throttle > 80) { v2 = new Sound(this); v2.attachSound('hi'); v2.start(0, 0); } } }; v2.onEnterFrame = function () { this.addMomentum(); this.updatePosition(); this.constrainSpeed(); this.constrainBoundaries(); this.getDirection(); this.angle_and_masking(); this.throttle_control(); if (this.hits > 0) { this.response_and_lift(); this.turning(); } this.dead_check(); this.splashWater(); this.checkLoop(); this.gotoAndStop(4 - this.hits); _root.score_text.text = _global.score; _root.combo_text.text = this.combo; _root.total_text.text = _global.score * this.combo; _root.smallfall.kill(); }; v2.fire_timer = 30; v2.hspeed = 2; v2.vspeed = 0; v2.maxspeed = 5.4; v2.pointdir = 0; v2.direction = heli.prototype.pointdir; v2.speed = 0; v2.gravity = 0.1; v2.throttle = 54; v2.maxthrottle = 100; v2.turnspeed = 5; v2.keys = 0; v2.delay = 6; v2.prop_frame = 12; v2.onground = 0; v2.spin = 0; v2.hits = 3; v2.once = 0; v2.dropclear = 0; v2.combo = 1; v2.low = 0; v2.high = 0; v2.one_loop = 0; v2.up_loop = 0; ASSetPropFlags(_global.heli.prototype, null, 1); } #endinitclip } movieClip 223 __Packages.control_follow { #initclip if (!_global.control_follow) { var v1 = function () { super(); }; _global.control_follow = v1; _global.control_follow extends MovieClip; var v2 = v1.prototype; v2.onLoad = function () {}; v2.onEnterFrame = function () { this._x = _global.hx; this._y = _global.hy; }; ASSetPropFlags(_global.control_follow.prototype, null, 1); } #endinitclip } movieClip 224 __Packages.light { #initclip if (!_global.light) { var v1 = function () { super(); }; _global.light = v1; _global.light extends MovieClip; var v2 = v1.prototype; v2.onEnterFrame = function () { if (this.timer > 0) { this.timer -= 1; } else { if (this.up == 0) { this.up = 1; } else { this.up = 0; } this.timer = 60; } if (this.up == 0) { this._rotation -= 1; } else { this._rotation += 1; } }; v2.timer = 60; v2.up = 1; ASSetPropFlags(_global.light.prototype, null, 1); } #endinitclip } movieClip 225 __Packages.boat { #initclip if (!_global.boat) { var v1 = function () { super(); }; _global.boat = v1; _global.boat extends MovieClip; var v2 = v1.prototype; v2.onLoad = function () { _root.prevbest_text._visible = false; }; v2.createMissile = function () { this.timer = 330 + this.level * 20; var v3 = _root.attachMovie('missile', 'missile' + _root.getNextHighestDepth(), _root.getNextHighestDepth()); v3._x = this._x + 9; v3._y = this._y - 12; v3.level = this.level; }; v2.moveAround = function () { if (this._x < 100) { this.hspeed += 0.1; } if (this._x > 668) { this.hspeed -= 0.1; } this.hspeed += -0.1 + Math.random() * 0.2; if (this.hspeed > this.max_hspeed) { this.hspeed = this.max_hspeed; } if (this.hspeed < -this.max_hspeed) { this.hspeed = -this.max_hspeed; } this._x += this.hspeed; }; v2.stopParty = function () { this.s.stop(); }; v2.action_time = function () { _root.blue_block._visible = 0; _root.con._visible = 0; _root.arrowcon._visible = 0; this.go = 1; this.timer = 0; _root.ready_text._visible = 0; if (_global.sounds == 1) { this.s = new Sound(this); this.s.attachSound('party'); this.s.start(0, 99); this.played = 1; _root.playmusic.stopSound(); } }; v2.onEnterFrame = function () { this.moveAround(); if (this.go == 1) { if (this.timer > 0) { this.timer -= 1; } else { this.createMissile(); this.level += 1; } _root.prevbest_text._visible = false; } else { if (this.played == 1) { _root.prevbest_text._visible = true; } } if (Key.isDown(32) && this.go == 0) { this.action_time(); } if (_root.helicopter.combo > 1 && this.go == 0) { this.action_time(); } }; v2.timer = 180; v2.go = 0; v2.level = 0; v2.max_hspeed = 1; v2.hspeed = -0.2; v2.played = 0; ASSetPropFlags(_global.boat.prototype, null, 1); } #endinitclip } movieClip 226 __Packages.soundbutton { #initclip if (!_global.soundbutton) { var v1 = function () { super(); }; _global.soundbutton = v1; _global.soundbutton extends MovieClip; var v2 = v1.prototype; v2.onEnterFrame = function () { this.gotoAndStop(_global.sounds + 1); }; ASSetPropFlags(_global.soundbutton.prototype, null, 1); } #endinitclip } movieClip 227 __Packages.partygoer { #initclip if (!_global.partygoer) { var v1 = function () { super(); }; _global.partygoer = v1; _global.partygoer extends MovieClip; var v2 = v1.prototype; v2.onLoad = function () {}; v2.onEnterFrame = function () { var v4 = 5; var v3 = 0; if (this.hitTest(_root._xmouse, _root._ymouse, true)) { _root.dname.text = this.my_name; } this.gotoAndStop(v3 + 1); }; v2.my_name = 'nothing'; ASSetPropFlags(_global.partygoer.prototype, null, 1); } #endinitclip } movieClip 228 __Packages.idlesound { #initclip if (!_global.idlesound) { var v1 = function () { super(); }; _global.idlesound = v1; _global.idlesound extends MovieClip; var v2 = v1.prototype; v2.onLoad = function () { this.playSound(); }; v2.playSound = function () { if (_global.sounds == 1) { this.s = new Sound(this); this.s.attachSound('idlemusic'); this.s.start(0, 99); } }; v2.stopSound = function () { this.s.stop(); }; ASSetPropFlags(_global.idlesound.prototype, null, 1); } #endinitclip } movieClip 229 __Packages.ploader { #initclip if (!_global.ploader) { var v1 = function () { super(); }; _global.ploader = v1; _global.ploader extends MovieClip; var v2 = v1.prototype; v2.onLoad = function () { this.total = _root.getBytesTotal(); this.percent = 0; this.loaded = 0; this._visible = false; _root.partybutton.visible = false; this.stop(); }; v2.onEnterFrame = function () { this.loaded = _root.getBytesLoaded(); this.percent = int((this.loaded / this.total) * 100); _root.ptext.text = '' + this.percent + '%'; if (this.loaded == this.total) { _root.ptext._visible = false; _root.partybutton._visible = true; this.stop(); } }; ASSetPropFlags(_global.ploader.prototype, null, 1); } #endinitclip } movieClip 230 __Packages.missile { #initclip if (!_global.missile) { var v1 = function () { super(); }; _global.missile = v1; _global.missile extends MovieClip; var v2 = v1.prototype; v2.onLoad = function () { if (_global.sounds == 1) { var v3; v3 = new Sound(this); v3.attachSound('launch'); v3.start(0, 0); } this.timer = this.max + this.level * 30; this.maxspeed = 2.5 + this.level / 4; this.turnspeed = 0.05 + this.level / 100; }; v2.constrainSpeed = function () { if (this.hspeed > this.maxspeed) { this.hspeed = this.maxspeed; } if (this.hspeed < -this.maxspeed) { this.hspeed = -this.maxspeed; } if (this.vspeed > this.maxspeed) { this.vspeed = this.maxspeed; } if (this.vspeed < -this.maxspeed) { this.vspeed = -this.maxspeed; } }; v2.chaseHelicopter = function () { if (_global.hx < this._x) { this.hspeed -= this.turnspeed; } if (_global.hx > this._x) { this.hspeed += this.turnspeed; } if (_global.hy < this._y) { this.vspeed -= this.turnspeed; } if (_global.hy > this._y) { this.vspeed += this.turnspeed; } }; v2.addMomentum = function () { if (this.timer < this.max + this.level * 30 - 15) { this.chaseHelicopter(); } else { this.vspeed -= this.turnspeed; } this._x += this.hspeed; this._y += this.vspeed; }; v2.explodeMissile = function () { var v5 = _root.attachMovie('explode', 'explode' + _root.getNextHighestDepth(), _root.getNextHighestDepth()); v5._x = this._x; v5._y = this._y; if (_global.sounds == 1) { var v4; v4 = new Sound(this); v4.attachSound('s_explode'); v4.start(0, 0); } v5 = _root.attachMovie('flash_screen', 'flash_screen' + _root.getNextHighestDepth(), _root.getNextHighestDepth()); this.removeMovieClip(); }; v2.getDirection = function () { this.direction = Math.atan2(this.vspeed, this.hspeed); this.direction *= 57.29577951308232; }; v2.setImage = function () { this.getDirection(); this._rotation = this.direction; }; v2.decreaseTimer = function () { if (this.timer > 0) { this.timer -= 1; } else { _global.score += Math.round(this.max + this.level * 30); var v4 = _root.attachMovie('yellowPop', 'yellowPop' + _root.getNextHighestDepth(), _root.getNextHighestDepth()); v4._x = this._x; v4._y = this._y; v4.tfield.text = Math.round(this.max + this.level * 30); this.explodeMissile(); } }; v2.collisionMissile = function () { if (this.hitTest(_root.copmask)) { _root.helicopter.hits -= 1; var v4 = _root.attachMovie('smallfall', 'smallfall' + _root.getNextHighestDepth(), _root.getNextHighestDepth()); v4._x = _global.hx; v4._y = _global.hy; this.explodeMissile(); } }; v2.makeSpark = function () { var v3 = _root.attachMovie('spark', 'spark' + _root.getNextHighestDepth(), _root.getNextHighestDepth()); v3._x = this._x; v3._y = this._y; v3.hspeed = -3 * this.hspeed * (0.5 * (Math.random() - 0.5)); v3.vspeed = -3 * this.vspeed * (0.5 * (Math.random() - 0.5)); }; v2.onEnterFrame = function () { this.addMomentum(); this.constrainSpeed(); this.setImage(); this.decreaseTimer(); this.collisionMissile(); this.makeSpark(); if (_root.helicopter._y > 590) { this.removeMovieClip(); } }; v2.level = 0; v2.hspeed = 0; v2.vspeed = 0; v2.turnspeed = 0.05; v2.max = 300; v2.direction = 90; ASSetPropFlags(_global.missile.prototype, null, 1); } #endinitclip } frame 2 { stop(); clickme.onPress = function () { gotoAndStop(3); }; } movieClip 131 { } movieClip 133 { } frame 3 { stop(); clickme.onPress = function () { gotoAndStop(4); }; } frame 3 { _root.dude.my_name = 'dude'; _root.bro.my_name = 'bro'; _root.hombre.my_name = 'hombre'; } movieClip 135 { } movieClip 141 { } frame 4 { _root.prevbest_text.filename = 'scores/score.sco'; _root.prevbest_text.scoresize = 10; _root.prevbest_text.action = 'VIEW'; _root.prevbest_text.viewtype = 'FLASH'; _root.prevbest_text.winname = _global.playername; _root.prevbest_text.winscore = _global.best; _root.prevbest_text.loadVariables('http://www.messhof.com/scores.php', 'GET'); _root.prevbest_text._visible = 1; } movieClip 144 { } movieClip 148 { } movieClip 177 { } movieClip 183 { } movieClip 185 { } movieClip 186 { frame 1 { stop(); messhof.onRelease = function () { getURL('http://www.messhof.com', '_blank'); }; donate.onRelease = function () { getURL('http://messhof.com/?page_id=91', '_blank'); }; ttoc.onRelease = function () { _root.playmusic.stopSound(); _root.gotoAndStop(5); }; } } movieClip 187 { } frame 5 { t5.onRelease = function () { _root.gotoAndStop(6); }; } movieClip 190 { } frame 6 { t6.onRelease = function () { _root.gotoAndStop(7); }; } movieClip 194 { } frame 7 { t7.onRelease = function () { _root.gotoAndStop(8); }; } movieClip 198 { } // unknown tag 88 length 84 frame 8 { t8.onRelease = function () { getURL('http://messhof.com/?page_id=72', '_blank'); }; backparty.onRelease = function () { _root.gotoAndStop(3); }; } movieClip 203 { } movieClip 205 { }




http://swfchan.com/19/90132/info.shtml
Created: 28/3 -2019 14:55:35 Last modified: 28/3 -2019 14:55:35 Server time: 10/05 -2024 18:58:33