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

table-flip.swf

This is the info page for
Flash #207704

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


ActionScript [AS1/AS2]
Combined Code
frame 1 { if (_root.playin != true) { kirupaSound3 = new Sound(this); kirupaSound3.attachSound('basicsound'); kirupaSound3.start(0, 999); kirupaSound2 = new Sound(this); kirupaSound2.attachSound('secondsound'); kirupaSound4 = new Sound(this); kirupaSound4.attachSound('oilsound'); kirupaSound = new Sound(this); kirupaSound.attachSound('fansound'); _root.playin = true; } } frame 1 { stop(); savings = SharedObject.getLocal('savings'); if (savings.data.amt == undefined) { savings.data.amt = 0; } _root.money = savings.data.amt; swagstored = SharedObject.getLocal('swagstored'); if (swagstored.data.amt == undefined) { swagstored.data.amt = 1; } _root.swaglevel = swagstored.data.amt; karmastored = SharedObject.getLocal('karmastored'); if (karmastored.data.amt == undefined) { karmastored.data.amt = 1; } _root.karmalevel = karmastored.data.amt; stamstored = SharedObject.getLocal('stamstored'); if (stamstored.data.amt == undefined) { stamstored.data.amt = 1; } _root.stamlevel = stamstored.data.amt; Stage.showMenu = false; controlstored = SharedObject.getLocal('controlstored'); if (controlstored.data.amt == undefined) { controlstored.data.amt = 1; } _root.controllevel = controlstored.data.amt; powerstored = SharedObject.getLocal('powerstored'); if (powerstored.data.amt == undefined) { powerstored.data.amt = 1; } _root.powerlevel = powerstored.data.amt; agistored = SharedObject.getLocal('agistored'); if (agistored.data.amt == undefined) { agistored.data.amt = 1; } _root.agilevel = agistored.data.amt; datastored = SharedObject.getLocal('datastored'); if (datastored.data.amt == undefined) { datastored.data.amt = 0; } _root.highscore = datastored.data.amt; } movieClip 6 { } // unknown tag 88 length 96 movieClip 11 { } movieClip 14 { frame 1 { stop(); } } movieClip 16 { } // unknown tag 88 length 92 button 29 { on (press) { play(); } } button 48 { on (press) { _root.returnframe = 1; gotoAndStop(4); } } button 55 { on (press) { gotoAndStop(5); } } // unknown tag 88 length 115 movieClip 60 { } // unknown tag 88 length 269 movieClip 63 { frame 1 { stop(); } instance tophat of movieClip 60 { onClipEvent (enterFrame) { if (_root.royalty != true) { this._alpha = 0; } else { this._alpha = 100; } } } } frame 2 { stop(); } movieClip 68 { } movieClip 73 { } movieClip 76 { } movieClip 79 { } movieClip 83 { } movieClip 90 { } movieClip 92 { } movieClip 95 { } instance table of movieClip 16 { onClipEvent (load) { _root.space.bar._xscale = 0; _root.space._alpha = 0; strength = _root.powerlevel; control = _root.controllevel; karma = _root.karmalevel; stamina = _root.stamlevel; swagger = _root.swaglevel; _root.space._xscale += stamina * 20; _root.space._x -= stamina * 15; barinc = 20 - (control * 2 - 1); _root.guy._y = 257; _root.guy._x = -132; _root.guy.gotoAndStop(1); _root.infomessage.gotoAndStop(1); } onClipEvent (enterFrame) { trace(_root.meters); trace(_root.hiscore); if (_root.meters > _root.highscore) { trace('BROOOski'); datastored = SharedObject.getLocal('datastored'); if (datastored.data.amt == undefined) { datastored.data.amt = 0; } datastored.data.amt = _root.meters; _root.highscore = datastored.data.amt; } else { trace('ONOONON'); } if (playable != false) { trace('y:' + this._y); trace('g:' + gravity); _root.meters = Math.floor((this._x - 505) / 10); _root.tablealtitude = Math.floor(this._y * -1 / 10) + 28; _root.fall._x = this._x - 230; _root.ground._x = this._x - 560; _root.fall._x += Math.abs(Math.abs(megrav) - 180) * 253 / 180; _root.fall._xscale = Math.abs(Math.abs(megrav) - 180) * 70 / 180 + 20; _root.fall._x += 130 * ((Math.abs(Math.abs(megrav) - 180) * 70 / 180 + 20) / 100); crazynum = (_root.guy._x - this._x + 12 + 358) * 0.1; if (flip != true) { _root.guy._x -= crazynum; } _root.space._alpha = (Math.abs(-132 - _root.guy._x) / 267.5) * 100; if (Key.isDown(32)) { if (_root.spacepress != true) { if (flymode != true) { _root.space.bar._xscale += barinc; if (_root.space.bar._xscale >= 100) { barinc *= -1; } if (_root.space.bar._xscale <= 0) { barinc *= -1; } if (_root.space.bar._xscale > 100) { _root.space.bar._xscale = 100; } power = (_root.space.bar._xscale / 10) * (1 + strength / 3); gravity = 2; spingrav = 1; } if (gameover == true) { _root.spacepress = true; _root.money += Math.round(_root.meters / 2 + _root.meters * swagger / 2); playable = false; _root.savings.data.amt = _root.money; _root.infomessage._x = -409; _root.distarrow._x = -409; stopAllSounds(); _root.kirupaSound3.start(0, 999); _root.gotoAndStop(3); _root._x = 1; _root._y = 1; } } } else { _root.spacepress = false; if (gravity == 2) { if (flymode != true) { stopAllSounds(); _root.kirupaSound2.start(0, 999); } flymode = true; } } if (flymode == true) { if (_root.space.bar._xscale > 0) { gravity *= 1.1; flip = true; _root.guy.gotoAndStop(2); megrav = Math.round(this._rotation); if (megrav > -90 and megrav < 90) { if (spingrav >= 1) { spingrav = -2; } spingrav *= 1.3; } else { if (spingrav <= 1) { spingrav = 2; } spingrav *= 1.3; } trace(megrav); this._rotation += power * 2 - spingrav * 0.1; this._y -= power * 2 - gravity; this._x += power * 4; _root.score._y -= power * 2 - gravity; megrav = Math.round(this._rotation); _root.score._x = this._x + Math.abs(Math.abs(megrav) - 180) * 253 / 180 - 500; _root._y = -(this._y - 253); _root._x = -(this._x - 505); _root.distarrow._x = this._x; _root.distarrow._y = this._y; _root._x -= Math.abs(Math.abs(megrav) - 180) * 253 / 180; if (this._y > 253) { if (Math.ceil(Math.random() * 60 / (karma + 1)) != 1) { _root.space.bar._xscale = 0; crashed = true; this._rotation = 0; this._y = 280; _root.fall._y = 999; _root.ground._x = this._x - 560; _root.score._xscale = 300; _root.score._yscale = 300; _root.score._x = this._x - 200; _root.score._y = this._y - 100; _root._y = -(this._y - 253); _root._x = -(this._x - 505); _root._x -= Math.abs(Math.abs(megrav) - 180) * 253 / 180; } else { this._y = 252; gravity = 2; kirupaSound.start(); _root.score._y = 9; _root.infomessage._x = this._x - 200; _root.infomessage._y = this._y - 200; _root.fan._y = this._y - 200; _root.fan._x = this._x - 200; } } if (this._y > 100 - gravity * 5) { trace('BROOOOO'); if (Math.ceil(Math.random() * 60 / (karma + 1)) == 1) { gravity = 2; _root.kirupaSound.start(); _root.infomessage._x = this._x - 200; _root.infomessage._y = this._y - 200; _root.fan._y = this._y - 200; _root.fan._x = this._x - 200; } } } } if (crashed == true) { trace('THE END'); if (Math.ceil(Math.random() * 10 / (karma + 1)) == 1) { oilspill = true; _root.kirupaSound4.start(0, 1); _root.infomessage.gotoAndStop(2); _root.infomessage._x = this._x - 200; _root.infomessage._y = this._y - 200; _root.barrel._y = this._y - 50; _root.barrel._x = this._x - 200; } else { gameover = true; _root.over._x = this._x - 475 + Math.abs(Math.abs(megrav) - 180) * 253 / 180; _root.over._y = this._y - 200; } crashed = false; } if (oilspill == true) { _root.score._x += power; this._x += power; _root._x -= power; _root.spill._y = this._y; _root.spill._x = this._x - 610; power *= 0.96; if (power < 1) { gameover = true; _root.over._x = this._x - 475 + Math.abs(Math.abs(megrav) - 180) * 253 / 180; _root.over._y = this._y - 200; } } } } } frame 3 { stop(); this._x = 0; this._y = 0; _root.ground._x = -2; _root.ground._y = 303; removeMovieClip(_root.guy); _root.guy._y = -100; } frame 3 { function buttonPress(nam) { if (_root.processed == true) { trace(nam); newnum = 1; trace(_root[nam + 'level']); newnum = _root[nam + 'cost']; if (newnum > _root.money) { _root.broke._alpha = 100; _root.purchface.gotoAndStop(3); } else { _root.purchface.gotoAndStop(2); _root.purchasehistory = false; _root.money -= newnum; _root.savings.data.amt = _root.money; ++_root[nam + 'level']; _root[nam + 'stored'].data.amt = _root[nam + 'level']; } } } _root.abilitylevel = 1; } button 111 { on (press) { buttonPress('control'); } } button 112 { on (press) { buttonPress('power'); } } button 113 { on (press) { buttonPress('agi'); } } button 114 { on (press) { buttonPress('stam'); } } button 115 { on (press) { buttonPress('karma'); } } button 116 { on (press) { buttonPress('swag'); } } button 118 { on (press) { _root.returnframe = 3; gotoAndStop(4); } } movieClip 125 { frame 1 { stop(); } instance tophat of movieClip 60 { onClipEvent (enterFrame) { if (_root.royalty != true) { this._alpha = 0; } else { this._alpha = 100; } } } } instance purchface of movieClip 125 { onClipEvent (load) { _root.purchasehistory = false; _root.processed = false; } onClipEvent (enterFrame) { if (Key.isDown(32)) { if (_root.spacepress != true) { _root.spacepress = true; _root.gotoAndStop(2); } } else { _root.spacepress = false; } ro = 0; if (_root.purchasehistory != true) { _root.controlbar._xscale = _root.controllevel * 10; _root.powerbar._xscale = _root.powerlevel * 10; _root.agibar._xscale = _root.agilevel * 10; _root.stambar._xscale = _root.stamlevel * 10; _root.karmabar._xscale = _root.karmalevel * 10; _root.swagbar._xscale = _root.swaglevel * 10; purchasehistory = true; nlm = 0; while (nlm < 6) { if (nlm == 0) { costname = 'control'; } if (nlm == 1) { costname = 'power'; } if (nlm == 2) { costname = 'agi'; } if (nlm == 3) { costname = 'stam'; } if (nlm == 4) { costname = 'karma'; } if (nlm == 5) { costname = 'swag'; } trace(_root[costname + 'level']); if (_root[costname + 'level'] == 1) { _root[costname + 'cost'] = 50; } if (_root[costname + 'level'] == 2) { _root[costname + 'cost'] = 150; } if (_root[costname + 'level'] == 3) { _root[costname + 'cost'] = 450; } if (_root[costname + 'level'] == 4) { _root[costname + 'cost'] = 900; } if (_root[costname + 'level'] == 5) { _root[costname + 'cost'] = 1800; } if (_root[costname + 'level'] == 6) { _root[costname + 'cost'] = 3800; } if (_root[costname + 'level'] == 7) { _root[costname + 'cost'] = 8000; } if (_root[costname + 'level'] == 8) { _root[costname + 'cost'] = 15000; } if (_root[costname + 'level'] == 9) { _root[costname + 'cost'] = 25000; } if (_root[costname + 'level'] == 10) { _root[costname + 'cost'] = 'MAX'; _root[costname + 'button']._x = -999; ++ro; } ++nlm; } } if (ro == 6) { _root.royalty = true; } _root.processed = true; } } movieClip 127 { } instance broke of movieClip 127 { onClipEvent (load) { this._alpha = 0; } onClipEvent (enterFrame) { if (this._alpha > 0) { --this._alpha; } } } frame 4 { stop(); } button 131 { on (press) { gotoAndStop(_root.returnframe); } } frame 5 { stop(); } button 134 { on (press) { gotoAndStop(1); } } button 139 { on (press) { getURL('http://www.filmspree.com', '_blank'); } }




http://swfchan.com/42/207704/info.shtml
Created: 23/7 -2019 03:43:23 Last modified: 23/7 -2019 03:43:23 Server time: 22/12 -2024 19:52:45