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

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

owl.swf

This is the info page for
Flash #211140

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


ActionScript [AS1/AS2]
Combined Code
frame 1 { Stage.showMenu = false; } movieClip 3 { } movieClip 4 { frame 1 { randy = random(200); gotoAndPlay(randy); } frame 200 { gotoAndPlay(2); } } movieClip 7 { } movieClip 9 { frame 1 { stop(); } instance hotspot of movieClip 7 { onClipEvent (load) { strength = 1.2; _global.gamepause = 1; meon = 1; } onClipEvent (enterFrame) { if (this.hitTest(_root.ball.hotspot)) { if (meon == 1) { meon = 0; _root.ball.yspeed /= 3; _root.ball.xspeed /= 3; _parent.play(); } } else { meon = 1; } } } } movieClip 10 { frame 1 { stop(); } instance hotspot of movieClip 7 { onClipEvent (load) { strength = 1.2; _global.gamepause = 1; meon = 1; } onClipEvent (enterFrame) { if (this.hitTest(_root.ball.hotspot)) { if (meon == 1) { meon = 0; _root.ball.yspeed /= 3; _root.ball.xspeed /= 3; _parent.play(); } } else { meon = 1; } } } } movieClip 12 { frame 1 { stop(); } instance hotspot of movieClip 7 { onClipEvent (load) { strength = 1.2; _global.gamepause = 1; meon = 1; } onClipEvent (enterFrame) { if (this.hitTest(_root.ball.hotspot)) { if (meon == 1) { meon = 0; _root.ball.yspeed /= 3; _root.ball.xspeed /= 3; _parent.play(); } } else { meon = 1; } } } } movieClip 13 { frame 1 { stop(); } } // unknown tag 88 length 99 movieClip 20 { } movieClip 23 { instance of movieClip 20 { onClipEvent (load) { } onClipEvent (enterFrame) { if (this.hitTest(_root.ball.hotspot)) { if (_root.ball.ballactive == 1) { _root.ball.ballactive = 0; this.play(); _root.next1.play(); _root.next1.next1in.gotoAndStop('restartlevel'); } } } } instance of movieClip 20 { onClipEvent (load) { } onClipEvent (enterFrame) { if (this.hitTest(_root.ball.hotspot)) { if (_root.ball.ballactive == 1) { _root.ball.ballactive = 0; this.play(); _root.next1.play(); _root.next1.next1in.gotoAndStop('restartlevel'); } } } } } movieClip 26 { } frame 2 { function __com_mochibot__(swfid, mc, lv, trk) { var x; var g; var s; var fv; var sb; var u; var res; var mb; var mbc; var pv; mb = '__mochibot__'; mbc = 'mochibot.com'; g = _global ? _global : _level0._root; if (g[mb + swfid]) { return g[mb + swfid]; } s = System.security; x = mc._root.getSWFVersion; fv = x ? mc.getSWFVersion() : (_global ? 6 : 5); if (!s) { s = {}; } sb = s.sandboxType; if (sb == 'localWithFile') { return null; } x = s.allowDomain; if (x) { s.allowDomain(mbc); } x = s.allowInsecureDomain; if (x) { s.allowInsecureDomain(mbc); } pv = (fv == 5) ? /:$version : System.capabilities.version; u = 'http://' + mbc + '/my/core.swf?mv=8&fv=' + fv + '&v=' + escape(pv) + '&swfid=' + escape(swfid) + '&l=' + lv + '&f=' + mc + (sb ? '&sb=' + sb : '') + (trk ? '&t=1' : ''); lv = fv > 6 ? mc.getNextHighestDepth() : (g[mb + 'level'] ? g[mb + 'level'] + 1 : lv); g[mb + 'level'] = lv; if (fv == 5) { res = '_level' + lv; if (!eval(res)) { loadMovieNum(u, lv); } return res; } res = mc.createEmptyMovieClip(mb + swfid, lv); res.loadMovie(u); return res; } _global.mover = 'game'; _global.savedlevel = 10; _global.savescore = 0; _global.savemoney = 0; _global.retirement = 0; __com_mochibot__('6ebc7c57', this, 10301, true); } frame 3 { bytes_loaded = Math.round(_root.getBytesLoaded()); bytes_total = Math.round(_root.getBytesTotal()); getPercent = bytes_loaded / bytes_total; _root.loadBar.gotoAndStop(Math.round(getPercent * 100)); _root.txtloader.text = Math.round(getPercent * 100) + '%'; if (bytes_loaded == bytes_total) { _root.gotoAndStop('nomenu'); } } frame 4 { gotoAndPlay(3); } button 30 { on (press) { _root.play(); } } frame 29 { lvlscore = 0; myscore = 0; lvlneed = 1; _root.currlevel = 1; } frame 30 { function onEnterFrame() { if (gamepause == 0) { ++timer; ++timer2; ++noisecount; if (timer2 > 30) { timer2 = 0; --energy; energyui.gotoAndStop(energy); } if (fly == 0) { if (mouse < 1) { dir = Math.atan2(_root._ymouse - _root.owl._y, _root._xmouse - _root.owl._x); myDegrees = Math.round(dir * 180 / Math.PI); _root.owl.inside.eye1._rotation = myDegrees; _root.owl.inside.eye2._rotation = myDegrees; } } if (die == 1) { owl._x += xspeed; xspeed /= 1.4; } if (fly == 1) { if (owl.hotspot2.hitTest(_xmouse, _ymouse, false)) { } else { dir = Math.atan2(_root._ymouse - _root.owl._y, _root._xmouse - _root.owl._x); myDegrees = Math.round(dir * 180 / Math.PI); _root.owl._rotation = myDegrees; _root.owl.mouse._rotation = -myDegrees; } if (yspeed > 0) { if (_ymouse < owl._y) { trace(yspeed + ' ' + _ymouse + ' / ' + owl._y); } } if (owl._x > _xmouse) { owl.inside._yscale = -40; } if (owl._x < _xmouse) { owl.inside._yscale = 40; } if (speed > maxspeed) { speed = maxspeed; } if (speed < -maxspeed) { speed = -maxspeed; } xspeed = Math.cos(dir) * speed + xspeed / 30; yspeed = Math.sin(dir) * speed + yspeed / 30; if (yspeed > 0) { speed += yspeed / wind; } else { speed += yspeed / wind2; } yspeed += gravity; owl._x += xspeed; owl._y += yspeed; meshadow._x = owl._x; meshadow.gotoAndStop(Math.round(owl._y / 10)); if (owl._y > 475) { if (die == 0) { die1(); } } } } } function die1() { if (die == 0) { die = 1; fly = 0; owl._y = 475; owl.gotoAndStop('dead'); owl._rotation = 0; menu1.play(); meshadow._x = owl._x; meshadow.gotoAndStop(60); } } function die2() { if (die == 0) { die = 3; fly = 0; owl._x = 100; owl.xspeed = 0; owl.gotoAndStop('dead2'); owl._xscale = -100; owl._rotation = 0; menu1.play(); meshadow._x = owl._x; meshadow.gotoAndStop(60); } } function landit1() { fly = 0; if (mouse == 0) { owl.gotoAndStop('sit'); } else { owl.gotoAndStop('eat'); } owl._rotation = 0; owl.mouse._rotation = 0; _root.sfx.gotoAndPlay('landonstick'); } function onMouseUp() { mousestate = 0; } function onMouseDown() { mousestate = 1; if (gamepause == 0) { if (fly == 1) { if (die == 0) { if (energy > 0) { energy -= flapcost; energyui.gotoAndStop(energy); speed += flapspeed; owl.gotoAndStop('down'); randy = random(3); randy = 1; sfx.gotoAndPlay('flap' + randy); xrand = 10 - random(20); yrand = 10 - random(20); makeitem(1, owl._x + xrand, owl._y + yrand, 4); noisecount = 0; } } } } } function makebody() { _root.makeitem2(3, _root.owl._x, _root.owl._y + 40, 6, mouse.mouse._currentframe); trace(_root.owl.mouse.mouse._currentframe); _root.owl.mouse.gotoAndStop('off'); _root.owl.mouse.gotoAndStop(mouse); } function makeitem(item, xloc, yloc, itemspeed1) { ++_root.spriteCount; if (_root.spriteCount > 50) { _root.spriteCount = 0; } duplicateMovieClip(_root['item' + item], 'sprite' + _root.spriteCount, 10000 + _root.spriteCount); a = _root['sprite' + _root.spriteCount]; a._x = xloc; a._y = yloc; a.gotoAndPlay(random(50)); } function makeitem2(item, xloc, yloc, itemspeed1, frame1) { ++_root.spriteCount; if (_root.spriteCount > 50) { _root.spriteCount = 0; } duplicateMovieClip(_root['item' + item], 'sprite' + _root.spriteCount, 10000 + _root.spriteCount); a = _root['sprite' + _root.spriteCount]; a._x = xloc; a._y = yloc; a.gotoAndStop(mouse); _root.mouse = 0; if (fly == 0) { _root.owl.gotoAndStop('sit'); } } stop(); uiscore.gotoAndStop(1 + lvlscore); yspeed = 0; xspeed = 0; gamepause = 0; fly = 0; speed = 2; wind = 6; wind2 = 24; gravity = 2; gravitycost1 = 7; gravitycost2 = 3; maxspeed = 10; die = 0; timer = 0; mouse = 0; spriteCount = 0; energy = 100; eatget = 10; flapspeed = 8; flapcost = 3; timer2 = 0; noisecount = 120; micehave = 0; level.gotoAndStop(currlevel); leveltop.gotoAndStop(currlevel); owl._x = level.pole1._x; owl._y = level.pole1._y; meshadow._x = owl._x; meshadow.gotoAndStop(Math.round(owl._y / 10)); energyui.gotoAndStop(energy); sprite = new Array(50); spriteCount = 0; } movieClip 34 { } movieClip 37 { } movieClip 38 { frame 1 { stop(); } } movieClip 44 { frame 1 { stop(); } frame 40 { stop(); } frame 56 { stop(); } frame 71 { stop(); } frame 107 { stop(); } frame 122 { stop(); } } movieClip 47 { frame 1 { stop(); } } movieClip 52 { frame 16 { stop(); } } movieClip 53 { frame 1 { stop(); } } movieClip 56 { frame 1 { stop(); } } movieClip 57 { instance hotspot of movieClip 56 { onClipEvent (enterFrame) { if (_root.fly == 1) { if (_root.timer > 30) { if (_root.owl.hotspot.hitTest(_parent.hotspot)) { _root.timer = 0; _root.owl._x = _parent._x; _root.owl._y = _parent._y; _root.landit1(); } } } } } } movieClip 64 { } movieClip 65 { } movieClip 67 { instance hotspot of movieClip 56 { onClipEvent (enterFrame) { flippy = -1; _parent._xscale = 100 * flippy; speed = 3; speedpart1 = 0; speedpart2 = 0; speedpart3 = 0; speedpart4 = 0; } onClipEvent (enterFrame) { if (_root.gamepause == 0) { if (_root.die == 0) { if (_root.owl.hotspot.hitTest(this)) { _root.mouse = 1; _root.owl.mouse.gotoAndStop('on'); _root.owl.mouse.mouse.gotoAndStop(1); _parent._x = -random(960); rando = random(4); if (rando > 2) { _parent._x = -50; flippy = 1; } if (rando < 2) { _parent._x = 750; flippy = -1; } } if (_root.owl._y < 250) { rando = random(60); if (rando == 2) { speedpart1 = 1; } if (rando == 3) { speedpart1 = 3; } if (rando == 4) { speedpart1 = 2; } if (rando == 8) { speedpart1 = 3; } rando = random(30); } if (_root.owl._y + _parent._y > 300 || _root.owl._y + _parent._y < -300) { if (_root.owl._y > 250) { speedpart1 = 2; if (_root.noisecount < 30) { speedpart1 = 3; if (_root.owl._x > _parent._x) { flippy = -1; } if (_root.owl._x < _parent._x) { flippy = 1; } } } if (_root.owl._y > 330) { if (_root.noisecount < 10) { speedpart1 = 8; } if (_root.owl._x > _parent._x) { if (flippy == 1) { flippy = -1; speedpart1 = 6; } } if (_root.owl._x < _parent._x) { if (flippy == -1) { flippy = 1; speedpart1 = 6; } } } if (_root.owl._y > 400) { if (_root.owl._x > _parent._x) { if (flippy == 1) { flippy = -1; speedpart1 = 9; } } if (_root.owl._x < _parent._x) { if (flippy == -1) { flippy = 1; speedpart1 = 9; } } } } if (_root.noisecount < 30) { speedpart2 = 3; } if (_root.noisecount > 30) { speedpart2 = 2; } if (_root.noisecount > 40) { speedpart2 = 1; } if (_root.noisecount > 60) { speedpart2 = 0; } if (_root.yspeed > 5) { speedpart2 = 1; } if (_root.yspeed > 7) { speedpart2 = 2; } if (_root.yspeed > 9) { speedpart2 = 3; } if (_root.yspeed > 12) { speedpart2 = 4; } speed = speedpart1 + speedpart2 + speedpart3 + speedpart4; _parent._x += speed * flippy; _parent._xscale = 100 * flippy; if (_parent._x > 750) { _parent._x = -40; flippy = 1; } if (_parent._x < -50) { _parent._x = 740; flippy = -1; } } else { this._x = -1000; } } } } } movieClip 69 { instance hotspot of movieClip 56 { onClipEvent (enterFrame) { flippy = 1; _parent._xscale = 100 * flippy; speed = 3; speedpart1 = 0; speedpart2 = 0; speedpart3 = 0; speedpart4 = 0; } onClipEvent (enterFrame) { if (_root.gamepause == 0) { if (_root.die == 0) { if (_root.owl.hotspot.hitTest(this)) { _root.mouse = 1; _root.owl.mouse.gotoAndStop('on'); _root.owl.mouse.mouse.gotoAndStop(1); _parent._x = -random(960); rando = random(4); if (rando > 2) { _parent._x = -50; flippy = 1; } if (rando < 2) { _parent._x = 750; flippy = -1; } } if (_root.owl._y < 250) { rando = random(60); if (rando == 2) { speedpart1 = 0; } if (rando == 3) { speedpart1 = 3; } if (rando == 4) { speedpart1 = 2; } if (rando == 8) { speedpart1 = 3; } rando = random(30); } if (_root.owl._y + _parent._y > 300 || _root.owl._y + _parent._y < -300) { if (_root.owl._y > 250) { speedpart1 = 2; if (_root.noisecount < 30) { speedpart1 = 3; if (_root.owl._x > _parent._x) { flippy = -1; } if (_root.owl._x < _parent._x) { flippy = 1; } } } if (_root.owl._y > 330) { if (_root.noisecount < 10) { speedpart1 = 8; } if (_root.owl._x > _parent._x) { if (flippy == 1) { flippy = -1; speedpart1 = 6; } } if (_root.owl._x < _parent._x) { if (flippy == -1) { flippy = 1; speedpart1 = 6; } } } if (_root.owl._y > 400) { if (_root.owl._x > _parent._x) { if (flippy == 1) { flippy = -1; speedpart1 = 9; } } if (_root.owl._x < _parent._x) { if (flippy == -1) { flippy = 1; speedpart1 = 9; } } } } if (_root.noisecount < 30) { speedpart2 = 3; } if (_root.noisecount > 30) { speedpart2 = 2; } if (_root.noisecount > 40) { speedpart2 = 1; } if (_root.noisecount > 60) { speedpart2 = 0; } if (_root.yspeed > 5) { speedpart2 = 1; } if (_root.yspeed > 7) { speedpart2 = 2; } if (_root.yspeed > 9) { speedpart2 = 3; } if (_root.yspeed > 12) { speedpart2 = 4; } speed = speedpart1 + speedpart2 + speedpart3 + speedpart4; _parent._x += speed * flippy; _parent._xscale = 100 * flippy; if (_parent._x > 750) { _parent._x = 40; flippy = 1; } if (_parent._x < 10) { _parent._x = 20; flippy = 1; } } else { this._x = -20; } } } } } button 75 { on (release) { gamename = 'owl'; buttonloc = 'more_restart'; domain_parts = _url.split('://'); real_domain = domain_parts[1].split('/'); linkurl = 'http://joeplay.com/?utm_source=' + real_domain[0] + '&utm_medium=flashgame&utm_content=' + buttonloc + '&utm_campaign=' + gamename; getURL(linkurl, '_blank'); } } movieClip 76 { frame 1 { stop(); } } movieClip 80 { frame 1 { stop(); } } movieClip 82 { } movieClip 83 { frame 1 { stop(); } } movieClip 86 { } movieClip 88 { } movieClip 90 { } movieClip 92 { } movieClip 94 { } movieClip 96 { } movieClip 98 { } movieClip 134 { } button 136 { on (press) { if (_root.timer > 20) { if (_root.die == 0) { ++_root.trys; _root.fly = 1; _root.timer = 0; gotoAndStop('up'); } } } } movieClip 139 { } movieClip 157 { frame 8 { xrand = 10 - random(20); pushdown = 33; _root.makeitem(2, _root.owl._x + xrand, _root.owl._y + pushdown, 4); _parent.mouse.mouse.gotoAndStop(_parent.mouse.mouse._currentframe + 1); } frame 47 { xrand = 10 - random(20); pushdown = 33; _root.makeitem(2, _root.owl._x + xrand, _root.owl._y + pushdown, 4); } frame 51 { xrand = 2 - random(4); pushdown = 0; _root.makeitem(2, _root.owl._x + xrand, _root.owl._y + pushdown, 4); _root.energy += _root.eatget; } frame 64 { ++_root.mouse; if (_root.mouse > 3) { ++_root.lvlscore; _root.uiscore.gotoAndStop(1 + _root.lvlscore); if (_root.lvlscore > _root.lvlneed) { _root.menu1.gotoAndPlay('lvl'); } _root.makebody(); } } } button 158 { on (press) { if (_root.timer > 20) { if (_root.die == 0) { ++_root.trys; _root.fly = 1; _root.timer = 0; gotoAndStop('up'); _root.makebody(); } } } } movieClip 160 { } movieClip 162 { } movieClip 165 { } movieClip 167 { } movieClip 168 { frame 10 { _parent.gotoAndStop('up'); } } movieClip 170 { } movieClip 172 { } movieClip 175 { } movieClip 178 { } movieClip 179 { } movieClip 183 { instance item1 of movieClip 179 { onClipEvent (enterFrame) { this._y += 1; } } frame 267 { stop(); } } movieClip 185 { } movieClip 188 { frame 93 { stop(); } } movieClip 189 { frame 1 { stop(); } instance inside of movieClip 167 { } instance inside of movieClip 168 { } instance inside of movieClip 188 { } } instance item3 of movieClip 80 { onClipEvent (load) { fallspeed = 1; } onClipEvent (enterFrame) { this._y += 1 + fallspeed; fallspeed += 0.3; } } instance item1 of movieClip 179 { onClipEvent (enterFrame) { this._y += 1; } } instance item2 of movieClip 26 { onClipEvent (load) { fallspeed = 1; } onClipEvent (enterFrame) { this._y += 1 + fallspeed; fallspeed += 0.3; } } movieClip 193 { } movieClip 194 { frame 1 { stop(); } } button 198 { on (press) { _root.play(); } } movieClip 199 { } button 202 { on (press) { _root.lvlscore = 0; ++_root.currlevel; _root.play(); } } button 203 { on (release) { gamename = 'owl'; buttonloc = 'more_next'; domain_parts = _url.split('://'); real_domain = domain_parts[1].split('/'); linkurl = 'http://jjwallace.info/?utm_source=' + real_domain[0] + '&utm_medium=flashgame&utm_content=' + buttonloc + '&utm_campaign=' + gamename; getURL(linkurl, '_blank'); } } button 206 { on (release) { gamename = 'owl'; buttonloc = 'download'; domain_parts = _url.split('://'); real_domain = domain_parts[1].split('/'); linkurl = 'http://jjwallace.info/blog/download-games/?utm_source=' + real_domain[0] + '&utm_medium=flashgame&utm_content=' + buttonloc + '&utm_campaign=' + gamename; getURL(linkurl, '_blank'); } } movieClip 207 { } movieClip 208 { frame 1 { stop(); } frame 129 { stop(); } frame 223 { stop(); } } movieClip 209 { frame 1 { stop(); } instance hotspot of movieClip 7 { onClipEvent (load) { strength = 1.2; _global.gamepause = 1; meon = 1; } onClipEvent (enterFrame) { if (this.hitTest(_root.ball.hotspot)) { if (meon == 1) { meon = 0; _root.ball.yspeed /= 3; _root.ball.xspeed /= 3; _parent.play(); } } else { meon = 1; } } } } movieClip 211 { frame 1 { stop(); } instance hotspot of movieClip 56 { onClipEvent (enterFrame) { if (_root.fly == 1) { if (_root.owl.hotspot.hitTest(this)) { _root.die2(); this.gotoAndStop(2); } } } } } button 213 { on (release) { gamename = 'owl'; buttonloc = 'more_restart'; domain_parts = _url.split('://'); real_domain = domain_parts[1].split('/'); linkurl = 'http://jjwallace.info/?utm_source=' + real_domain[0] + '&utm_medium=flashgame&utm_content=' + buttonloc + '&utm_campaign=' + gamename; getURL(linkurl, '_blank'); } } frame 34 { gotoAndStop('game'); }




http://swfchan.com/43/211140/info.shtml
Created: 8/10 -2018 02:11:39 Last modified: 8/10 -2018 02:11:39 Server time: 23/04 -2024 19:51:00