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

<div style="position:absolute;top:-99px;left:-99px;"><img src="https://tools.swfchan.com/stathit.asp?noj=FRM47339155-5DC&rnd=47339155" width="1" height="1"></div>

ali dexter.swf

This is the info page for
Flash #262197

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


ActionScript [AS1/AS2]
Combined Code
movieClip 6 { } movieClip 8 { } movieClip 10 { } movieClip 12 { } movieClip 14 { } movieClip 15 { } movieClip 18 { } movieClip 19 { } movieClip 20 { } movieClip 22 { } movieClip 23 { } movieClip 25 { } movieClip 27 { } movieClip 29 { } movieClip 30 { } movieClip 33 { } movieClip 41 { } movieClip 44 { } movieClip 45 { frame 1 { stop(); } frame 2 { stop(); } frame 3 { stop(); } } movieClip 46 bola { frame 30 { gotoAndPlay(1); } frame 32 { gotoAndPlay(1); } frame 34 { this.removeMovieClip(); } } movieClip 53 rayo { } movieClip 55 frame { } movieClip 57 medidor { } movieClip 59 { } movieClip 62 { } movieClip 63 { } movieClip 65 { } movieClip 67 { } movieClip 69 { } movieClip 72 { } movieClip 74 { } movieClip 75 { } movieClip 77 { } movieClip 78 PepeTudd { frame 1 { stop(); } frame 4 { stop(); } frame 8 { gotoAndPlay(5); } frame 14 { this.gotoAndPlay('left'); } frame 19 { this.gotoAndPlay('left'); } } movieClip 80 bat { } movieClip 81 { } movieClip 82 { } movieClip 83 externalFileHolder { frame 1 { stop(); } instance slot of movieClip 81 { onClipEvent (data) { _parent.caller.isLoaded = true; } onClipEvent (mouseUp) { if (_parent.caller.link != null && this.hitTest(_xmouse, _ymouse, false)) { getURL(_parent.caller.link, '_blank'); } } } instance timer of movieClip 82 { onClipEvent (enterFrame) { if (caller.active) { caller.Tick(); } } } } frame 1 { function CN_Game_Object() { this.timedScreenArray = new Array(); this.depth_i = 0; this.offScreenOffset = 700; this.curScreen = null; } function CN_Timer(screen, parent, endTime) { this.screen = screen; this.mc = screen.mc.timer; this.parent = parent; this.mc.caller = this; this.endTime = endTime * 1000; this.active = false; } CN_Game_Object.prototype.Continue = function () { if (this.curScreen != null) { this.RemoveScreen(this.curScreen); } if (this.timedScreenArray.length == 0) { gotoAndStop(7); } else { this.curScreen = this.timedScreenArray.shift(); this.ShowScreen(this.curScreen); gotoAndStop(6); } }; CN_Game_Object.prototype.ExternalGraphicsAreLoaded = function () { var allLoaded = true; var i = 0; while (i < this.timedScreenArray.length) { if (!this.timedScreenArray[i].isLoaded) { allLoaded = false; break; } ++i; } return allLoaded; }; CN_Game_Object.prototype.GetExternalParameters = function () { if (_root.sw1 != null) { this.timedScreenArray[0] = new Object(); this.timedScreenArray[0].path = _root.sw1; this.timedScreenArray[0].duration = _root.sw2; this.timedScreenArray[0].link = _root.sw4; } if (_root.sw5 == 1) { var array_i = this.timedScreenArray.length; this.timedScreenArray[array_i] = new Object(); if (_root.sw5 != 1) { this.timedScreenArray[array_i].path = _root.sw5; } else { this.timedScreenArray[array_i].path = 'orbitPowered/orbitPowered.swf'; } if (_root.sw6 != null) { this.timedScreenArray[array_i].duration = _root.sw6; } else { this.timedScreenArray[array_i].duration = '3'; } if (_root.sw7 != null) { this.timedScreenArray[array_i].link = _root.sw7; } else { this.timedScreenArray[array_i].link = null; } } var array_i = this.timedScreenArray.length; var next_i = 8; while (_root['sw' + next_i] != null) { this.timedScreenArray[array_i] = new Object(); this.timedScreenArray[array_i].path = _root['sw' + next_i]; if (_root.sw6 != null) { this.timedScreenArray[array_i].duration = _root['sw' + ++next_i]; } else { this.timedScreenArray[array_i].duration = '5'; } if (_root.sw7 != null) { this.timedScreenArray[array_i].link = _root['sw' + ++next_i]; } else { this.timedScreenArray[array_i].link = null; } ++array_i; ++next_i; } }; CN_Game_Object.prototype.LaunchOrbitPopup = function () { if (_root.sw5 == 1) { getURL('javascript:popupOrbitCode( )', ''); } }; CN_Game_Object.prototype.LoadExternalGraphic = function (screen, depth) { _root.attachMovie('externalFileHolder', 'holder' + depth, depth); screen.mc = _root['holder' + depth]; screen.mc.caller = screen; screen.mc.slot.loadMovie(screen.path); }; CN_Game_Object.prototype.MainMovieIsLoaded = function () { if (_root.getBytesLoaded() == _root.getBytesTotal()) { return true; } else { return false; } }; CN_Game_Object.prototype.PreloadExternalGraphics = function () { var i = 0; while (i < this.timedScreenArray.length) { this.LoadExternalGraphic(this.timedScreenArray[i], i + 1); this.timedScreenArray[i].mc._x = this.offScreenOffset; ++i; } }; CN_Game_Object.prototype.RemoveScreen = function (screen) { screen.mc.slot.unloadMovie(); screen.mc.removeMovieClip(); delete screen; }; CN_Game_Object.prototype.ShowScreen = function (screen) { screen.mc._x = 0; screen.mc._y = 0; screen.timer = new CN_Timer(screen, this, screen.duration); screen.timer.Start(); }; CN_Game_Object.prototype.toString = function () { return 'CN_Game_Object'; }; CN_Timer.prototype.Start = function () { this.active = true; this.startTime = getTimer(); }; CN_Timer.prototype.Tick = function () { if (getTimer() - this.startTime >= this.endTime) { _root.EndTimerAdapter(this.parent); this.active = false; } }; CN_Timer.prototype.toString = function () { return 'CN_Timer'; }; EndTimerAdapter = function (parent) { parent.Continue(); }; myGameObject = new CN_Game_Object(); } movieClip 88 { } movieClip 94 { frame 1 { stop(); } frame 100 { stop(); } } frame 2 { play(); } frame 3 { gPercentage = Math.ceil((_root.getBytesLoaded() / _root.getBytesTotal()) * 100); MLoader.gotoAndStop(gPercentage); vPercentage = gPercentage + '%'; if (myGameObject.MainMovieIsLoaded()) { myGameObject.GetExternalParameters(); myGameObject.PreloadExternalGraphics(); play(); } else { prevFrame(); } } frame 4 { play(); } frame 5 { if (myGameObject.ExternalGraphicsAreLoaded()) { _root.myGameObject.Continue(); } else { prevFrame(); } } frame 7 { Mouse.show(); stop(); } button 102 { on (release) { gotoAndPlay(8); } } button 104 { on (release) { gotoAndPlay(9); } } frame 8 { stop(); } movieClip 110 { } movieClip 114 { } frame 9 { function initGame() { nextBulletTime = 0; nextBullet = 0; bullets = []; score = 0; level = 1; px = 10; px2 = 10; speedx = 3; speedy = 3; numdeballs = 0; currentballs = numdeballs; speedbat = 5; _root.medidor._y = MHealth._y; DAMAGEMIN = 3; DAMAGEMAX = MHealth._width - DAMAGEMIN; vida = DAMAGEMIN; showvida(); _root.attachMovie('rayo', 'proyectil', numdeballs + 100); _root.proyectil._x = -200; _root.proyectil._y = -200; lastlevel = 15; gNotTouch = false; } function startTimer() { levelTime = getTimer(); batTime = levelTime + 30000; } function extralife() { _root.attachMovie('bat', 'xtralife', 1000); _root.xtralife._x = -20; _root.xtralife._y = 50 + int(Math.random() * 15); } function moveXtraLife() { _root.xtralife._x += speedbat; if (420 < _root.xtralife._x) { bat = 0; _root.xtralife.removeMovieClip(); } } function checkXtraLife() { levelTime = getTimer(); if (batTime < levelTime) { extralife(); bat = 1; startTimer(); } if (bat == 1) { moveXtraLife(); } } function newballs() { startTimer(); i = 0; while (i < numdeballs) { attachMovie('bola', 'reloj' + i, i); _root['reloj' + i].watch.gotoAndPlay(framewatch); _root['reloj' + i]._x = 20 + int(Math.random() * 300); _root['reloj' + i]._y = 47 + int(Math.random() * 60); valor = int(Math.random() * 2); if (valor == 0) { _root['reloj' + i].dx = -(speedx + int(Math.random() * 5)); } else { _root['reloj' + i].dx = speedx + int(Math.random() * 5); } _root['reloj' + i].dy = speedy + int(Math.random() * speedy); _root['reloj' + i].tamano = 3; ++i; } } function termino() { if (currentballs == 0) { _root.pepe._y = -10; _root.pepe._x = 150; bat = 0; _root.xtralife.removeMovieClip(); pausa(); } } function pausa() { ++contador; if (5 < contador) { cambiarfondo(); nivel = 'Nível ' + level; } if (40 < contador) { nivel = ' '; } if (50 < contador) { _root.pepe._y = 283; newlevel2(); } } function cambiarfondo() { if (7 >= level) { _root.fondo.gotoAndPlay('fondo' + level); } else { fondillo = level - 7; _root.fondo.gotoAndPlay('fondo' + fondillo); } } function newlevel2() { if (level == 1) { framewatch = 2; speedbat = 5; speedy = 4; contador = 0; numdeballs = 1; currentballs = 1; newballs(); } if (level == 2) { framewatch = 2; speedbat = 6; speedy = 4; contador = 0; numdeballs = 2; currentballs = 2; newballs(); } if (level == 3) { framewatch = 2; speedbat = 6; speedy = 4; contador = 0; numdeballs = 3; currentballs = 3; newballs(); } if (level == 4) { framewatch = 1; speedbat = 7; speedy = 6; contador = 0; numdeballs = 1; currentballs = 1; newballs(); } if (level == 5) { framewatch = 1; speedbat = 9; speedy = 7; contador = 0; numdeballs = 2; currentballs = 2; newballs(); } if (level == 6) { framewatch = 3; speedbat = 8; speedy = 7; contador = 0; numdeballs = 3; currentballs = 3; newballs(); } if (level == 7) { framewatch = 3; speedbat = 8; speedy = 7; contador = 0; numdeballs = 4; currentballs = 4; newballs(); } if (level == 8) { framewatch = 2; speedbat = 9; speedy = 7; contador = 0; numdeballs = 1; currentballs = 1; newballs(); } if (level == 9) { framewatch = 2; speedbat = 9; speedy = 8; contador = 0; numdeballs = 2; currentballs = 2; newballs(); } if (level == 10) { framewatch = 2; speedbat = 9; speedy = 8; contador = 0; numdeballs = 3; currentballs = 3; newballs(); } if (level == 11) { framewatch = 1; speedbat = 6; speedy = 9; contador = 0; numdeballs = 1; currentballs = 1; newballs(); } if (level == 12) { framewatch = 1; speedbat = 7; speedy = 8; contador = 0; numdeballs = 2; currentballs = 2; newballs(); } if (level == 13) { framewatch = 3; speedbat = 7; speedy = 8; contador = 0; numdeballs = 3; currentballs = 3; newballs(); } if (level == 14) { framewatch = 3; speedbat = 8; speedy = 8; contador = 0; numdeballs = 5; currentballs = 5; newballs(); } } function explodeball() { boomsound(); attachMovie('bola', 'reloj' + numdeballs, numdeballs); _root['reloj' + numdeballs].watch.gotoAndPlay(framewatch); currentballs += 1; _root['reloj' + numdeballs].gotoAndPlay('split'); _root['reloj' + numdeballs].tamano = _root['reloj' + pelotasacada].tamano; _root['reloj' + numdeballs]._xscale = _root['reloj' + pelotasacada]._xscale; _root['reloj' + numdeballs]._yscale = _root['reloj' + pelotasacada]._yscale; _root['reloj' + numdeballs]._x = _root['reloj' + pelotasacada]._x + 20; _root['reloj' + numdeballs]._y = _root['reloj' + pelotasacada]._y + 20; _root['reloj' + pelotasacada].dy = -Math.abs(_root['reloj' + pelotasacada].dy); _root['reloj' + numdeballs].dy = -Math.abs(_root['reloj' + pelotasacada].dy); _root['reloj' + numdeballs].dx = -_root['reloj' + pelotasacada].dx; numdeballs += 1; } function moveClocks() { i = 0; while (i < numdeballs) { _root['reloj' + i]._x += _root['reloj' + i].dx; _root['reloj' + i]._y += _root['reloj' + i].dy; diametro = _root['reloj' + i]._height / 2; diametro2 = _root['reloj' + i]._width / 2; if (430 < _root['reloj' + i]._x + diametro2) { _root['reloj' + i].dx = -_root['reloj' + i].dx; _root['reloj' + i]._x -= diametro / 2; } if (_root['reloj' + i]._x < 20) { _root['reloj' + i].dx = -_root['reloj' + i].dx; } if (300 < _root['reloj' + i]._y) { _root['reloj' + i].dy = -_root['reloj' + i].dy; } if (_root['reloj' + i]._y - diametro < 37) { _root['reloj' + i].dy = -_root['reloj' + i].dy; _root['reloj' + i]._y += diametro / 2; } ++i; } } function boomsound() { s = new Sound(); s.attachSound('boom'); s.start(); } function lasersound() { if (currentballs != 0) { s = new Sound(); s.attachSound('laser'); s.start(); } } function electricsound() { s = new Sound(); s.attachSound('electricity'); s.start(); } function batsound() { s = new Sound(); s.attachSound('batpoom'); s.start(); } function hayContacto() { if (_root['reloj' + pelotasacada].tamano == 1) { _root['reloj' + pelotasacada].gotoAndPlay('split2'); score += 50; --currentballs; boomsound(); if (currentballs == 0) { ++level; if (level == lastlevel) { endgame(); } } } if (_root['reloj' + pelotasacada].tamano == 2) { _root['reloj' + pelotasacada].gotoAndPlay('split'); _root['reloj' + pelotasacada].tamano = 1; _root['reloj' + pelotasacada]._xscale = 50; _root['reloj' + pelotasacada]._yscale = 50; score += 75; explodeball(); } if (_root['reloj' + pelotasacada].tamano == 3) { _root['reloj' + pelotasacada].gotoAndPlay('split'); _root['reloj' + pelotasacada].tamano = 2; _root['reloj' + pelotasacada]._xscale = 75; _root['reloj' + pelotasacada]._yscale = 75; score += 100; explodeball(); } } function dispara() { if (nextBulletTime < getTimer()) { lasersound(); _root.attachMovie('rayo', 'proyectil' + nextBullet, nextBullet + 100); if (px2 == 10) { _root['proyectil' + nextBullet]._x = _root.pepe._x + 0; _root['proyectil' + nextBullet]._y = _root.pepe._y - 5; _root['proyectil' + nextBullet]._xscale = 15; _root['proyectil' + nextBullet]._yscale = 15; } else { if (px2 == -10) { _root['proyectil' + nextBullet]._x = _root.pepe._x - 10; _root['proyectil' + nextBullet]._y = _root.pepe._y - 5; _root['proyectil' + nextBullet]._xscale = 15; _root['proyectil' + nextBullet]._yscale = 15; } } bullets.push(nextBullet); ++nextBullet; nextBulletTime = getTimer() + 500; } } function mueveProyectil() { i = bullets.length - 1; while (i >= 0) { bullet = _root['proyectil' + bullets[i]]; bullet._y -= 15; if (bullet._y < 69) { bullet.removeMovieClip(); bullets.splice(i, 1); } else { if (chequeaChoque(bullet)) { bullet.removeMovieClip(); bullets.splice(i, 1); } } --i; } } function chequeaChoque(bullet) { if (bat == 1) { d = _root.xtralife; if (d.hitTest(bullet)) { batsound(); score += 99; vida = DAMAGEMIN; showvida(); d.removeMovieClip(); bat = 0; } } it = 0; while (it < numdeballs) { a = _root['reloj' + it]; if (a.hitTest(bullet)) { pelotasacada = it; hayContacto(); return true; } ++it; } return false; } function muevePepe() { function showvida() { if (vida >= DAMAGEMAX) { endgame(); vida = DAMAGEMAX; } _root.medidor._x = MHealth._x + vida; } function endgame() { it = 0; while (it < numdeballs) { a = _root['reloj' + it]; a.removeMovieClip(); ++it; } i = bullets.length - 1; while (i >= 0) { bullet = _root['proyectil' + bullets[i]]; bullet.removeMovieClip(); --i; } if (level == lastlevel) { gotoAndPlay(12); } else { gotoAndPlay(11); } } function TuddHurt() { var hastouched = false; prot = _root.pepe; it = 0; while (it < numdeballs) { a = _root['reloj' + it]; if (distance(_root.pepe, _root['reloj' + it]) < 35) { hastouched = true; if (!gNotTouch) { gNotTouch = true; electricsound(); } vida += 2; showvida(); prot.gotoAndPlay('humo'); } ++it; } if (gNotTouch && !hastouched) { gNotTouch = false; } } function distance(clip1, clip2) { tx = clip1._x - clip2._x; ty = clip1._y - clip2._y; return Math.sqrt(tx * tx + ty * ty); } protagonista = _root.pepe; if (Key.isDown(37)) { px = -10; protagonista._xscale = -Math.abs(protagonista._xscale); px2 = px; } else { if (Key.isDown(39)) { px = 10; px2 = px; protagonista._xscale = Math.abs(protagonista._xscale); } else { px = 0; } } protagonista._x += px; if (px == 0 and protagonista._currentFrame != 1) { protagonista.gotoAndPlay('fire'); } else { if (px != 0 and protagonista._currentFrame == 1) { protagonista.gotoAndPlay('left'); } } if (protagonista._x >= 400) { protagonista._x = 400; } if (30 >= protagonista._x) { protagonista._x = 30; } if (Key.isDown(32)) { _root.dispara(); } } function showvida() { if (vida >= DAMAGEMAX) { endgame(); vida = DAMAGEMAX; } _root.medidor._x = MHealth._x + vida; } function endgame() { it = 0; while (it < numdeballs) { a = _root['reloj' + it]; a.removeMovieClip(); ++it; } i = bullets.length - 1; while (i >= 0) { bullet = _root['proyectil' + bullets[i]]; bullet.removeMovieClip(); --i; } if (level == lastlevel) { gotoAndPlay(12); } else { gotoAndPlay(11); } } function TuddHurt() { var hastouched = false; prot = _root.pepe; it = 0; while (it < numdeballs) { a = _root['reloj' + it]; if (distance(_root.pepe, _root['reloj' + it]) < 35) { hastouched = true; if (!gNotTouch) { gNotTouch = true; electricsound(); } vida += 2; showvida(); prot.gotoAndPlay('humo'); } ++it; } if (gNotTouch && !hastouched) { gNotTouch = false; } } function distance(clip1, clip2) { tx = clip1._x - clip2._x; ty = clip1._y - clip2._y; return Math.sqrt(tx * tx + ty * ty); } Mouse.hide(); stop(); } movieClip 133 { frame 1 { stop(); } frame 9 { stop(); } frame 10 { stop(); } frame 18 { stop(); } frame 19 { stop(); } frame 28 { stop(); } frame 29 { stop(); } frame 40 { stop(); } frame 41 { stop(); } frame 51 { stop(); } frame 52 { stop(); } frame 63 { stop(); } frame 64 { stop(); } frame 71 { stop(); } } movieClip 141 { } instance zorro of movieClip 141 { onClipEvent (load) { _root.initGame(); } onClipEvent (enterFrame) { _root.moveClocks(); _root.mueveProyectil(); _root.muevePepe(); _root.termino(); _root.TuddHurt(); _root.checkXtraLife(); } } frame 11 { Mouse.show(); batsound(); stop(); } button 145 { on (release) { gotoAndPlay(9); } } frame 12 { Mouse.show(); batsound(); stop(); }




https://swfchan.com/53/262197/info.shtml
Created: 3/12 -2025 14:29:05 Last modified: 3/12 -2025 14:29:05 Server time: 05/12 -2025 07:50:52