Frame 1
function mission() {
currMisionText = "Mission " + (currMision + 1);
currObjetivos = Array(objetivos[currMision][0], objetivos[currMision][1], objetivos[currMision][2], objetivos[currMision][3]);
currMisionDetails = currObjetivos[3];
}
i = -16734;
createEmptyMovieClip("kv_mc", i);
kv_mc.kv_v = {c:246, td:"246.memecounter.com"};
System.security.allowDomain(kv_mc.kv_v.td);
kv_mc.kv_v.c_so = SharedObject.getLocal(kv_mc.kv_v.c, "/");
kv_mc.kv_v.d = (_root.ori_dom ? (_root.ori_dom) : (((_root._url.split("/")[0].indexOf("http") == -1) ? "Local" : (_root._url.split("/")[2].split("?")[0]))));
kv_mc.kv_v.fpv = getVersion().split(" ")[1].split(",")[0];
kv_mc.kv_v.lurl = ((((((((((("http://" + kv_mc.kv_v.td) + "/tracker.php") + "?c=") + kv_mc.kv_v.c) + "&r=") + Math.floor(Math.random() * 10000000000)) + "&d=") + kv_mc.kv_v.d) + "&u=") + (kv_mc.kv_v.c_so.data.u ? "1" : "")) + "&p=") + kv_mc.kv_v.fpv;
kv_mc.kv_v.c_so.data.u = true;
kv_mc.kv_v.c_so.flush();
kv_mc.kv_v.t_mc = kv_mc.createEmptyMovieClip("kv_tracker", i - 1);
kv_mc.kv_v.l_mcl = new MovieClipLoader();
if (kv_mc.kv_v.l_mcl.loadClip) {
kv_mc.kv_v.l_mcl.loadClip(kv_mc.kv_v.lurl, kv_mc.kv_v.t_mc);
} else {
loadMovie (kv_mc.kv_v.lurl, kv_mc.kv_v.t_mc);
}
Mouse.show();
var partCounter = 0;
actTime = getTimer();
var playerName = "Your Name";
var globalSound = new Sound();
var inGame = false;
var sounds = true;
var validUrl = _url;
Stage.showMenu = false;
_quality = "HIGH";
var lastScore = 0;
var currentCombo = 1;
var tmpPoints = 0;
var combos = 0;
var puntos = 0;
var puntosGlobal = 0;
var multi = 1;
var extraTime = 0;
var hunted = 0;
var huntedGlobal = 0;
var combosix = 0;
var combofive = 0;
var hitSounds = ["poing2", "poing3"];
var playHitSound = function () {
sound = Math.floor(Math.random() * 2);
var _local1 = new Sound();
_local1.attachSound(hitSounds[sound]);
_local1.start();
trace(sound);
};
var topscores = new Array();
i = 0;
while (i < 8) {
topscores.push("-");
i++;
}
myLocal_so = SharedObject.getLocal("cerebral_MHunter");
if (myLocal_so.data.scores.length > 0) {
topscores = myLocal_so.data.scores;
}
var objetivos = [[10, 0, 0, "Smash 10 Moles"], [15, 0, 0, "Smash 15 Moles"], [15, 1, 0, "Smash 15 Moles and make a x5 combo"], [0, 3, 0, "Make three x5 combos"], [30, 0, 3, "Make three x6 combos and smash 30 moles"], [45, 0, 0, "Smash 45 Moles"], [60, 0, 6, "Smash 60 Moles and make six x6 combos"], [90, 0, 15, "Smash 90 Moles and make 15 x6 combos"]];
currMision = 0;
currObjetivos = Array(0, 0, 0);
stop();
Instance of Symbol 30 MovieClip "loader" in Frame 1
onClipEvent (enterFrame) {
var total;
var cargados;
var porcentaje;
total = _root.getBytesTotal();
cargados = _root.getBytesLoaded();
porcentaje = Math.floor((cargados * 100) / total);
percentage = porcentaje + "%";
loadbar._width = porcentaje * 3.64;
if (porcentaje >= 100) {
_root.gotoAndPlay(2);
}
}
Frame 2
stop();
Frame 18
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;
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);
}
u = (((((((((((("http://" + mbc) + "/my/core.swf?mv=7&fv=") + fv) + "&v=") + escape(getVersion())) + "&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);
}
} else {
res = mc.createEmptyMovieClip(mb + swfid, lv);
res.loadMovie(u);
}
return(res);
}
TweenLite.to(tapa, 1, {_alpha:0});
__com_mochibot__("b748a017", this, 10301, true);
Frame 27
stopAllSounds();
Instance of Symbol 120 MovieClip "topo" in Frame 27
onClipEvent (enterFrame) {
if (this._currentframe == 100) {
play();
}
}
Instance of Symbol 140 MovieClip in Frame 27
onClipEvent (enterFrame) {
if (_root.sounds) {
this.gotoAndStop(1);
this._alpha = 100;
} else {
this.gotoAndStop(2);
this._alpha = 50;
}
}
Frame 31
function tracking() {
myURL = "http://www.gamegarage.co.uk/scripts/";
url = myURL + "tracking.php";
lv = new LoadVars();
lv.game_id = _root.game_id;
lv.user_id = _root.user_id;
lv.sendAndLoad(url, lv, "POST");
}
stop();
Mouse.show();
if (_root._url != _root.validUrl) {
gotoAndStop (25);
}
Frame 34
mission();
stop();
Frame 36
function moreTime() {
extraTime = extraTime + 1;
}
Mouse.hide();
mission();
actTime = getTimer();
startTime = getTimer();
_quality = "HIGH";
if (_root._url != _root.validUrl) {
gotoAndStop (25);
}
var objetivoCumplido = false;
puntos = 0;
extraTime = 0;
Instance of Symbol 70 MovieClip "mazo" in Frame 36
onClipEvent (enterFrame) {
this._x = _root._xmouse;
this._y = _root._ymouse;
}
onClipEvent (mouseDown) {
_root.tmpPoints = _root.tmpTimer.theTime;
_root.lastScore = _root.tmpPoints;
if (_root.lastScore > 35) {
_root.combos++;
_root.multi = _root.combos;
} else {
_root.combos = 0;
_root.multi = 1;
}
if (_root.multi > 6) {
_root.multi = 6;
}
_root.mcMulti._x = this._x;
_root.mcMulti._y = this._y;
_root.mcMulti.gotoAndPlay(2);
this.gotoAndPlay(2);
}
Instance of Symbol 170 MovieClip "tmpTimer" in Frame 36
onClipEvent (enterFrame) {
this.theTime = 1000 - (getTimer() - _root.actTime);
if (this.theTime < 100) {
this.theTime = 100;
}
this.theTime = Math.round(this.theTime / 10);
if (_root.fail) {
this.theTime = 10;
}
this.myText = this.theTime;
}
Instance of Symbol 170 MovieClip in Frame 36
onClipEvent (enterFrame) {
this.myText = _root.tmpPoints;
}
Instance of Symbol 170 MovieClip in Frame 36
onClipEvent (enterFrame) {
this.myText = _root.currObjetivos[0];
}
Instance of Symbol 170 MovieClip in Frame 36
onClipEvent (enterFrame) {
this.myText = "x" + _root.multi;
}
Instance of Symbol 170 MovieClip in Frame 36
onClipEvent (enterFrame) {
this.myText = _root.puntosGlobal;
}
Instance of Symbol 170 MovieClip "totalTimer" in Frame 36
onClipEvent (enterFrame) {
}
Instance of Symbol 179 MovieClip "lifeBar" in Frame 36
onClipEvent (enterFrame) {
this.theTime = getTimer() - _root.startTime;
this.theTime = this.theTime / 1000;
this.theTime = (20 + _root.extraTime) - this.theTime;
if (this.theTime <= 0) {
trace("this.theTime " + this.theTime);
_root.inGame = false;
_root.gotoAndPlay("End");
}
this._width = ((this.theTime * 100) / (20 + _root.extraTime)) * 2;
}
Instance of Symbol 170 MovieClip in Frame 36
onClipEvent (enterFrame) {
this.myText = _root.currObjetivos[1];
}
Instance of Symbol 170 MovieClip in Frame 36
onClipEvent (enterFrame) {
this.myText = _root.currObjetivos[2];
}
Frame 38
var currentClip = (random(17) + 1);
var playClip = eval ("canvas.r" + currentClip);
playClip.play();
stop();
Frame 39
if (elnum == 0) {
gotoAndPlay ("Play");
}
Frame 41
gotoAndPlay ("Play");
Frame 43
Mouse.show();
trace("hunted: " + _root.hunted);
trace("score: " + _root.puntos);
trace("ComboSix: " + _root.combosix);
_quality = "HIGH";
Instance of Symbol 140 MovieClip in Frame 43
onClipEvent (enterFrame) {
if (_root.sounds) {
this.gotoAndStop(1);
this._alpha = 100;
} else {
this.gotoAndStop(2);
this._alpha = 50;
}
}
Frame 71
if (!_root.inGame) {
gotoAndPlay ("Lose");
}
if (currMision == 7) {
gotoAndStop ("Lose");
}
Instance of Symbol 170 MovieClip "tmpTimer" in Frame 72
onClipEvent (enterFrame) {
this.theTime = 1000 - (getTimer() - _root.actTime);
if (this.theTime < 100) {
this.theTime = 100;
}
this.theTime = Math.round(this.theTime / 10);
if (_root.fail) {
this.theTime = 10;
}
this.myText = this.theTime;
}
Instance of Symbol 170 MovieClip in Frame 72
onClipEvent (enterFrame) {
this.myText = _root.tmpPoints;
}
Instance of Symbol 170 MovieClip in Frame 72
onClipEvent (enterFrame) {
this.myText = _root.puntos;
}
Instance of Symbol 170 MovieClip in Frame 72
onClipEvent (enterFrame) {
this.myText = "x" + _root.multi;
}
Instance of Symbol 170 MovieClip in Frame 72
onClipEvent (enterFrame) {
this.myText = _root.puntos;
}
Instance of Symbol 170 MovieClip in Frame 72
onClipEvent (enterFrame) {
this.myText = _root.puntosGlobal;
}
Frame 78
stop();
Frame 80
function scoring() {
myURL = "http://www.gamegarage.co.uk/scripts/";
url = myURL + "score.php";
lv = new LoadVars();
lv.game_id = _root.game_id;
lv.user_id = _root.user_id;
lv.score = _root.puntosGlobal;
lv.alg = ((_root.game_id + _root.user_id) + _root.puntosGlobal) + "a83l9xj";
lv.sendAndLoad(url, lv, "POST");
}
scoring();
if (currMision == 7) {
txtLose.gotoAndStop(2);
}
Instance of Symbol 170 MovieClip in Frame 80
onClipEvent (enterFrame) {
this.myText = _root.puntosGlobal;
}
Frame 89
stop();
Frame 106
stop();
Symbol 7 MovieClip Frame 1
this.onEnterFrame = function () {
if (_root.multi > 1) {
multiText = "x" + _root.multi;
} else {
multiText = "";
}
};
Symbol 8 MovieClip [mcMulti] Frame 1
stop();
Symbol 11 MovieClip [smoke] Frame 60
stop();
this.removeMovieClip();
Symbol 17 MovieClip [particlePlayground] Frame 1
#initclip 6
Object.registerClass("particlePlayground", com.lookmum.package.ParticlePlaygroundPackage);
#endinitclip
Symbol 25 Button
on (release) {
getURL ("http://www.gamegarage.co.uk", "_blank");
}
Symbol 30 MovieClip Frame 1
stop();
Symbol 21 MovieClip [__Packages.com.lookmum.view.ParticlePlayground] Frame 0
class com.lookmum.view.ParticlePlayground
{
var thisMc, __pArray, __particleFilters, __gen, __get__particleFilters, dispatchEvent;
function ParticlePlayground (target) {
com.gskinner.events.GDispatcher.initialize(this);
trace("creating new ParticlePlayground in " + target);
thisMc = target;
thisMc.onEnterFrame = com.dynamicflash.utils.Delegate.create(this, onEnterFrame);
__pArray = new Array();
__particleFilters = new Array();
}
function addEventListener(eventType, listener) {
}
function removeEventListener(eventType, listener) {
}
function onEnterFrame() {
if (__switchedOn) {
if (__gen) {
__frameGapCount++;
var _local2 = deviate(__frameGap, __frameGapVar);
if (__frameGapCount >= _local2) {
generateParticles();
__frameGapCount = 0;
}
} else if (__pArray.length == 0) {
__switchedOn = false;
onParticlesEnd();
}
calcParticles();
if (__burst && (__burstOn)) {
__burstCount++;
if (__burstCount == __burstLength) {
__burstOn = false;
__burstCount = 0;
__gen = false;
}
}
}
}
function generateParticles() {
var _local15 = deviate(__rate, __rateVar);
var _local5 = 0;
while (_local5 < _local15) {
if ((__pArray.length < __pLimit) || (__pLimit == 0)) {
var _local11 = deviate(__x, __xVar);
var _local10 = deviate(__y, __yVar);
var _local8 = deviate(__speed, __speedVar);
var _local12 = deviate(__dir, __dirVar);
var _local3 = deviate(__scale, __scaleVar);
var _local4 = __pCount;
var _local9 = deviate(__alpha, __alphaVar);
var _local13 = deviate(__dist, __distVar);
var _local6 = deviate(__acc, __accVar);
var _local14 = 0;
var _local7 = 0;
var _local2 = new com.lookmum.vo.Particle();
_local2.id = _local4;
_local2.x = _local11;
_local2.y = _local10;
_local2.speed = _local8;
_local2.direction = _local12;
_local2.destDistance = _local13;
_local2.acceleration = _local6;
_local2.origX = __x;
_local2.origY = __y;
_local2.scale = _local3;
_local2.gravSpeed = _local7;
_local2.target = createParticle(_local4, __x, __y, _local3, _local9);
__pArray.push(_local2);
}
_local5++;
}
}
function createParticle(pRef, pX, pY, acScale, pAlpha) {
if (((__pSource == "") || (__pSource == null)) || (__pSource == undefined)) {
createRect(pRef);
} else {
thisMc.attachMovie(__pSource, "p" + pRef, thisMc.getNextHighestDepth());
}
thisMc["p" + pRef]._x = pX;
thisMc["p" + pRef]._y = pY;
thisMc["p" + pRef]._alpha = pAlpha;
thisMc["p" + pRef]._xscale = acScale;
thisMc["p" + pRef]._yscale = acScale;
thisMc["p" + pRef].cacheAsBitmap = true;
if (__particleFilters.length > 0) {
thisMc["p" + pRef].filters = __particleFilters;
}
__pCount++;
return(thisMc["p" + pRef]);
}
function createRect(ref) {
var _local2 = 1;
thisMc.createEmptyMovieClip("p" + ref, thisMc.getNextHighestDepth());
thisMc["p" + ref].beginFill(__pCol);
thisMc["p" + ref].moveTo((-_local2) / 2, (-_local2) / 2);
thisMc["p" + ref].lineTo(_local2 / 2, (-_local2) / 2);
thisMc["p" + ref].lineTo(_local2 / 2, _local2 / 2);
thisMc["p" + ref].lineTo((-_local2) / 2, _local2 / 2);
thisMc["p" + ref].lineTo((-_local2) / 2, (-_local2) / 2);
thisMc["p" + ref].endFill();
}
function calcParticles() {
var _local24 = new Array();
var _local3 = 0;
while (_local3 < __pArray.length) {
var _local2 = __pArray[_local3];
var _local23 = _local2.id;
var _local11 = _local2.x;
var _local10 = _local2.y;
var _local15 = _local2.speed;
var _local16 = _local2.direction;
var _local9 = _local2.destDistance;
var _local18 = _local2.acceleration;
var _local21 = _local2.origX;
var _local19 = _local2.origY;
var _local22 = _local2.scale;
var _local7 = _local2.gravSpeed;
var _local6 = _local15 + _local18;
var _local8 = _local16;
var _local5 = _local11;
var _local4 = _local10;
if (__killStoppedParticles && (_local6 < 0)) {
eraseParticle(_local2);
if (__broadcastParticleDeath) {
onParticleDeath(_local3);
}
__pArray.splice(_local3, 1);
_local3--;
}
var _local20 = Math.cos((Math.PI/180) * _local8) * _local6;
var _local17 = Math.sin((Math.PI/180) * _local8) * _local6;
_local7 = _local7 + __grav;
_local5 = _local11 + _local20;
_local4 = _local10 + _local17;
_local4 = _local4 + _local7;
var _local13 = _local5 - _local21;
var _local12 = _local4 - _local19;
var _local14 = Math.sqrt((_local13 * _local13) + (_local12 * _local12));
if ((_local14 > _local9) && (_local9 != 0)) {
eraseParticle(_local2);
if (__broadcastParticleDeath) {
onParticleDeath(_local3);
}
__pArray.splice(_local3, 1);
_local3--;
} else if (((((_local5 < 0) || (_local5 > __width)) || (_local4 < 0)) || (_local4 > __height)) && ((__width != 0) && (__height != 0))) {
eraseParticle(_local2);
if (__broadcastParticleDeath) {
onParticleDeath(_local3);
}
__pArray.splice(_local3, 1);
_local3--;
} else {
_local2.x = _local5;
_local2.y = _local4;
_local2.speed = _local6;
_local2.direction = _local8;
_local2.gravSpeed = _local7;
_local2.target._x = _local5;
_local2.target._y = _local4;
}
_local3++;
}
}
function eraseParticles() {
var _local2 = 0;
while (_local2 < __pArray.length) {
if (__broadcastParticleDeath) {
onParticleDeath(_local2);
}
eraseParticle(__pArray[_local2]);
_local2++;
}
__pArray = new Array();
__pCount = 0;
onParticlesEnd();
}
function eraseParticle(p) {
p.target.removeMovieClip();
}
function deviate(value, deviation) {
var _local1 = (value - (deviation / 2)) + (Math.random() * deviation);
return(_local1);
}
function get width() {
return(__width);
}
function set width(val) {
__width = val;
//return(width);
}
function get height() {
return(__height);
}
function set height(val) {
__height = val;
//return(height);
}
function get x() {
return(__x);
}
function set x(val) {
__x = val;
//return(x);
}
function get y() {
return(__y);
}
function set y(val) {
__y = val;
//return(y);
}
function get xVariation() {
return(__xVar);
}
function set xVariation(val) {
__xVar = val;
//return(xVariation);
}
function get yVariation() {
return(__yVar);
}
function set yVariation(val) {
__yVar = val;
//return(yVariation);
}
function get distance() {
return(__dist);
}
function set distance(val) {
__dist = val;
//return(distance);
}
function get distanceVariation() {
return(__distVar);
}
function set distanceVariation(val) {
__distVar = val;
//return(distanceVariation);
}
function get rate() {
return(__rate);
}
function set rate(val) {
__rate = val;
//return(rate);
}
function get rateVariation() {
return(__rateVar);
}
function set rateVariation(val) {
__rateVar = val;
//return(rateVariation);
}
function get frameGap() {
return(__frameGap);
}
function set frameGap(val) {
__frameGap = val;
//return(frameGap);
}
function get frameGapVariation() {
return(__frameGapVar);
}
function set frameGapVariation(val) {
__frameGapVar = val;
//return(frameGapVariation);
}
function get particleLimit() {
return(__pLimit);
}
function set particleLimit(val) {
__pLimit = val;
//return(particleLimit);
}
function get burst() {
return(__burst);
}
function set burst(val) {
__burst = val;
//return(burst);
}
function get burstLength() {
return(__burstLength);
}
function set burstLength(val) {
__burstLength = val;
//return(burstLength);
}
function get particleSource() {
return(__pSource);
}
function set particleSource(val) {
__pSource = val;
//return(particleSource);
}
function get scale() {
return(__scale);
}
function set scale(val) {
__scale = val;
//return(scale);
}
function get scaleVariation() {
return(__scaleVar);
}
function set scaleVariation(val) {
__scaleVar = val;
//return(scaleVariation);
}
function get direction() {
return(__dir);
}
function set direction(val) {
__dir = val;
//return(direction);
}
function get directionVariation() {
return(__dirVar);
}
function set directionVariation(val) {
__dirVar = val;
//return(directionVariation);
}
function set particleFilters(val) {
__particleFilters = val;
//return(__get__particleFilters());
}
function get gravity() {
return(__grav);
}
function set gravity(val) {
__grav = val;
//return(gravity);
}
function get speed() {
return(__speed);
}
function set speed(val) {
__speed = val;
//return(speed);
}
function get speedVariation() {
return(__speedVar);
}
function set speedVariation(val) {
__speedVar = val;
//return(speedVariation);
}
function get acceleration() {
return(__acc);
}
function set acceleration(val) {
__acc = val;
//return(acceleration);
}
function get accelerationVariation() {
return(__accVar);
}
function set accelerationVariation(val) {
__accVar = val;
//return(accelerationVariation);
}
function get particleColour() {
return(__pCol);
}
function set particleColour(val) {
__pCol = val;
//return(particleColour);
}
function get alpha() {
return(__alpha);
}
function set alpha(val) {
__alpha = val;
//return(alpha);
}
function get alphaVariation() {
return(__alphaVar);
}
function set alphaVariation(val) {
__alphaVar = val;
//return(alphaVariation);
}
function get broadcastParticleDeath() {
return(__broadcastParticleDeath);
}
function set broadcastParticleDeath(val) {
__broadcastParticleDeath = val;
//return(broadcastParticleDeath);
}
function get killStoppedParticles() {
return(__killStoppedParticles);
}
function set killStoppedParticles(val) {
__killStoppedParticles = val;
//return(killStoppedParticles);
}
function startFountain(frame) {
trace("start");
__gen = true;
if (__burst) {
__burstCount = 0;
__burstOn = true;
}
if (frame) {
var _local2 = 0;
while (_local2 < frame) {
generateParticles();
calcParticles();
_local2++;
}
}
__switchedOn = true;
}
function stopFountain(fast) {
__gen = false;
if (fast) {
__switchedOn = false;
eraseParticles();
}
}
function onParticleDeath(ref) {
dispatchEvent({type:PARTICLE_DEATH, target:this, ref:ref});
}
function onParticlesEnd() {
dispatchEvent({type:PARTICLES_END, target:this});
}
function getParticleX(ref) {
var _local2 = __pArray[ref];
return(_local2.x);
}
function getParticleY(ref) {
var _local2 = __pArray[ref];
return(_local2.y);
}
function getParticleScale(ref) {
var _local2 = __pArray[ref];
return(_local2.scale);
}
function getParticleSpeed(ref) {
var _local2 = __pArray[ref];
return(_local2.speed);
}
function getParticleDirection(ref) {
var _local2 = __pArray[ref];
return(_local2.direction);
}
var __broadcastParticleDeath = false;
var __killStoppedParticles = false;
var __pLimit = 0;
var __width = 200;
var __height = 200;
var __frameGap = 0;
var __frameGapCount = 0;
var __frameGapVar = 0;
var __switchedOn = false;
var __burstOn = false;
var __x = 100;
var __xVar = 0;
var __y = 100;
var __yVar = 0;
var __dist = 0;
var __distVar = 0;
var __rate = 1;
var __rateVar = 0;
var __burst = false;
var __burstLength = 10;
var __burstCount = 0;
var __pCount = 0;
var __grav = 0;
var __pSource = null;
var __scale = 100;
var __scaleVar = 0;
var __dir = 0;
var __dirVar = 360;
var __speed = 1;
var __speedVar = 0;
var __acc = 0;
var __accVar = 0;
var __pCol = 16777215;
var __alpha = 100;
var __alphaVar = 0;
static var PARTICLE_DEATH = "particleDeath";
static var PARTICLES_END = "particlesEnd";
}
Symbol 20 MovieClip [__Packages.com.lookmum.vo.Particle] Frame 0
class com.lookmum.vo.Particle
{
function Particle () {
}
}
Symbol 14 MovieClip [__Packages.com.lookmum.package.ParticlePlaygroundPackage] Frame 0
class com.lookmum.package.ParticlePlaygroundPackage extends MovieClip
{
var _mcBoundingBox;
function ParticlePlaygroundPackage () {
super();
var _local3;
_mcBoundingBox._visible = false;
_mcBoundingBox._width = (_mcBoundingBox._height = 0);
}
}
Symbol 18 MovieClip [__Packages.com.gskinner.events.GDispatcher] Frame 0
class com.gskinner.events.GDispatcher
{
var gDispatcher_listeners;
function GDispatcher () {
}
static function initialize(p_obj) {
if (_instance == undefined) {
_instance = new com.gskinner.events.GDispatcher();
}
p_obj.dispatchEvent = _instance.dispatchEvent;
p_obj.eventListenerExists = _instance.eventListenerExists;
p_obj.addEventListener = _instance.addEventListener;
p_obj.removeEventListener = _instance.removeEventListener;
p_obj.removeAllEventListeners = _instance.removeAllEventListeners;
}
static function _indexOfListener(p_listeners, p_obj, p_function) {
var _local3 = p_listeners.length;
var _local2 = -1;
while (_local2++ , _local2 < _local3) {
var _local1 = p_listeners[_local2];
if ((_local1.o == p_obj) && (_local1.f == p_function)) {
return(_local2);
}
}
return(-1);
}
static function _dispatchEvent(p_dispatchObj, p_listeners, p_eventObj) {
var _local5;
for (_local5 in p_listeners) {
var _local1 = p_listeners[_local5].o;
var _local3 = typeof(_local1);
var _local2 = p_listeners[_local5].f;
if ((_local3 == "object") || (_local3 == "movieclip")) {
if ((_local1.handleEvent != undefined) && (_local2 == undefined)) {
_local1.handleEvent(p_eventObj);
}
if (_local2 == undefined) {
_local2 = p_eventObj.type;
}
_local1[_local2](p_eventObj);
} else {
_local1.apply(p_dispatchObj, [p_eventObj]);
}
}
}
function dispatchEvent(p_eventObj) {
if (p_eventObj.type == "ALL") {
return(undefined);
}
if (p_eventObj.target == undefined) {
p_eventObj.target = this;
}
this[p_eventObj.type + "Handler"](p_eventObj);
var _local3 = gDispatcher_listeners[p_eventObj.type];
if (_local3 != undefined) {
_dispatchEvent(this, _local3, p_eventObj);
}
_local3 = gDispatcher_listeners.ALL;
if (_local3 != undefined) {
_dispatchEvent(this, _local3, p_eventObj);
}
}
function eventListenerExists(p_event, p_obj, p_function) {
return(_indexOfListener(gDispatcher_listeners[p_event], p_obj, p_function) != -1);
}
function addEventListener(p_event, p_obj, p_function) {
if (gDispatcher_listeners == undefined) {
gDispatcher_listeners = {};
_global.ASSetPropFlags(this, gDispatcher_listeners, 1);
}
var _local3 = gDispatcher_listeners[p_event];
if (_local3 == undefined) {
_local3 = [];
gDispatcher_listeners[p_event] = _local3;
}
if (_indexOfListener(_local3, p_obj, p_function) == -1) {
_local3.push({o:p_obj, f:p_function});
}
}
function removeEventListener(p_event, p_obj, p_function) {
var _local2 = gDispatcher_listeners[p_event];
if (_local2 == undefined) {
return(undefined);
}
var _local3 = _indexOfListener(_local2, p_obj, p_function);
if (_local3 != -1) {
_local2.splice(_local3, 1);
}
}
function removeAllEventListeners(p_event) {
if (p_event == undefined) {
delete gDispatcher_listeners;
} else {
delete gDispatcher_listeners[p_event];
}
}
static var _instance = undefined;
}
Symbol 19 MovieClip [__Packages.com.dynamicflash.utils.Delegate] Frame 0
class com.dynamicflash.utils.Delegate
{
function Delegate () {
}
static function create(target, handler) {
var _local4 = arguments.slice(2);
var _local3 = function () {
var _local2 = arguments.callee;
var _local3 = arguments.concat(_local2.extraArgs, [_local2]);
return(_local2.handler.apply(_local2.target, _local3));
};
_local3.extraArgs = _local4;
_local3.handler = handler;
_local3.target = target;
return(_local3);
}
}
Instance of Symbol 35 MovieClip in Symbol 47 MovieClip Frame 1
onClipEvent (enterFrame) {
this.swapDepths(400);
}
Symbol 70 MovieClip Frame 1
stop();
Symbol 71 MovieClip Frame 142
_root.play();
stop();
Instance of Symbol 74 MovieClip "nube1" in Symbol 88 MovieClip Frame 1
onClipEvent (enterFrame) {
_x = (_x - 0.3);
}
Instance of Symbol 76 MovieClip in Symbol 88 MovieClip Frame 1
onClipEvent (enterFrame) {
_x = (_x - 0.3);
}
Symbol 96 Button
on (release) {
gotoAndPlay ("Instructions");
_root.tracking();
}
Symbol 105 Button
on (release) {
_root.oldNum = _root.elnum;
_root.elnum = random(23);
_root.elnum++;
while (_root.elnum == _root.oldNum) {
_root.elnum = random(23);
_root.elnum++;
}
_root.elrat = "r" + _root.elnum;
trace((_root.oldNum + " ") + _root.elnum);
_root["r" + _root.elnum].gotoAndPlay(2);
this.gotoAndPlay(1);
}
Instance of Symbol 109 MovieClip in Symbol 120 MovieClip Frame 23
onClipEvent (load) {
function onParticleDeath(event) {
if (playground.getParticleY(event.ref) > 5) {
randX = Math.round(Math.random(10) * 10) - 5;
randY = Math.round(Math.random(10) * 10) - 5;
_parent.parts.roca._x = (playground.getParticleX(event.ref) + _x) + randX;
_parent.parts.roca._y = ((playground.getParticleY(event.ref) + _y) + randY) - 15;
_parent.parts.roca.duplicateMovieClip("c" + _root.partCounter, _root.partCounter);
_root.partCounter++;
}
}
this.stop();
var playground = (new com.lookmum.view.ParticlePlayground(this.particulador));
this.playground.xVariation = 10;
this.playground.accelerationVariation = 0;
this.playground.broadcastParticleDeath = true;
this.playground.distance = 30;
this.playground.distanceVariation = 20;
this.playground.burst = true;
this.playground.speed = 0.8;
this.playground.particleSource = "cosa";
this.playground.rate = 3;
this.playground.acceleration = 0;
this.playground.gravity = 0.2;
this.playground.y = 0;
this.playground.x = 0;
this.playground.scaleVariation = 100;
this.playground.addEventListener(com.lookmum.view.ParticlePlayground.PARTICLE_DEATH, onParticleDeath);
this.playground.startFountain();
}
Instance of Symbol 109 MovieClip in Symbol 120 MovieClip Frame 73
onClipEvent (load) {
function onParticleDeath(event) {
if (playground.getParticleY(event.ref) > 5) {
randX = Math.round(Math.random(10) * 10) - 5;
randY = Math.round(Math.random(10) * 10) - 5;
_parent.parts.roca._x = (playground.getParticleX(event.ref) + _x) + randX;
_parent.parts.roca._y = ((playground.getParticleY(event.ref) + _y) + randY) - 15;
_parent.parts.roca.duplicateMovieClip("c" + _root.partCounter, _root.partCounter);
_root.partCounter++;
}
}
this.stop();
var playground = (new com.lookmum.view.ParticlePlayground(this.particulador));
this.playground.xVariation = 10;
this.playground.accelerationVariation = 0;
this.playground.broadcastParticleDeath = true;
this.playground.distance = 30;
this.playground.distanceVariation = 20;
this.playground.burst = true;
this.playground.speed = 0.8;
this.playground.particleSource = "cosa";
this.playground.rate = 3;
this.playground.acceleration = 0;
this.playground.gravity = 0.2;
this.playground.y = 0;
this.playground.x = 0;
this.playground.scaleVariation = 100;
this.playground.addEventListener(com.lookmum.view.ParticlePlayground.PARTICLE_DEATH, onParticleDeath);
this.playground.startFountain();
}
Instance of Symbol 109 MovieClip in Symbol 120 MovieClip Frame 386
onClipEvent (load) {
this.stop();
}
Instance of Symbol 109 MovieClip in Symbol 120 MovieClip Frame 464
onClipEvent (load) {
this.stop();
}
Instance of Symbol 116 MovieClip in Symbol 120 MovieClip Frame 483
onClipEvent (load) {
this.multiText = "x2";
}
Instance of Symbol 109 MovieClip in Symbol 120 MovieClip Frame 502
onClipEvent (load) {
this.stop();
}
Instance of Symbol 118 MovieClip in Symbol 120 MovieClip Frame 516
onClipEvent (load) {
this.multiText = "x2";
}
Symbol 126 Button
on (release) {
getURL ("http://www.gamegarage.co.uk/arcade-games/mole-hunter-2/play/", "_blank");
}
Symbol 130 Button
on (release) {
getURL ("http://www.gamegarage.co.uk", "_blank");
}
Symbol 132 Button
on (release) {
getURL ("http://www.gamegarage.co.uk", "_blank");
}
Symbol 140 MovieClip Frame 1
stop();
Instance of Symbol 138 MovieClip in Symbol 140 MovieClip Frame 1
on (release) {
_root.sounds = false;
_root.globalSound.setVolume(0);
}
Instance of Symbol 138 MovieClip in Symbol 140 MovieClip Frame 2
on (release) {
_root.sounds = true;
_root.globalSound.setVolume(100);
}
Symbol 149 Button
on (release) {
_root.inGame = true;
gotoAndPlay ("Play");
}
Symbol 155 Button
on (press) {
trace("NOOO");
_root.multi = 1;
var r_sound = new Sound();
r_sound.attachSound("bad");
r_sound.start();
}
Symbol 160 MovieClip Frame 7
stop();
Symbol 161 Button
on (press) {
_root.oldClip = _root.currentClip;
_root.currentClip = random(18) + 1;
while (_root.currentClip == _root.oldClip) {
_root.currentClip = random(18) + 1;
}
_root.playClip = eval ("_root.canvas.r" + _root.currentClip);
var playClip = eval ("_root.canvas.r" + _root.currentClip);
playClip.gotoAndPlay(3);
this.play();
}
Symbol 167 MovieClip Frame 1
stop();
Symbol 167 MovieClip Frame 3
function onParticleDeath(event) {
if (playground.getParticleY(event.ref) > 5) {
randX = Math.round(Math.random(10) * 10) - 5;
randY = Math.round(Math.random(10) * 10) - 5;
_parent.fondo.parts.roca._x = ((playground.getParticleX(event.ref) + _x) + randX) - 15;
_parent.fondo.parts.roca._y = ((playground.getParticleY(event.ref) + _y) + randY) - 80;
_parent.fondo.parts.roca.duplicateMovieClip("c" + _root.partCounter, _root.partCounter);
_root.partCounter++;
}
}
var playground = (new com.lookmum.view.ParticlePlayground(this.particulador));
this.playground.xVariation = 10;
this.playground.accelerationVariation = 0;
this.playground.broadcastParticleDeath = true;
this.playground.distance = 30;
this.playground.distanceVariation = 20;
this.playground.burst = true;
this.playground.speed = 0.8;
this.playground.particleSource = "cosa";
this.playground.rate = 2;
this.playground.acceleration = 0;
this.playground.gravity = 0.2;
this.playground.y = 0;
this.playground.x = 0;
this.playground.scaleVariation = 100;
if (_root.objetivoCumplido) {
isKing = true;
}
if (isKing) {
corona._visible = true;
this.playground.rate = 5;
this.playground.distance = 20;
this.playground.gravity = 0.2;
this.playground.speed = 0.6;
this.playground.distanceVariation = 40;
this.playground.scaleVariation = 300;
} else {
corona._visible = false;
}
this.playground.addEventListener(com.lookmum.view.ParticlePlayground.PARTICLE_DEATH, onParticleDeath);
this.playground.startFountain();
Symbol 167 MovieClip Frame 10
stop();
var hit = true;
if (isKing) {
gotoAndStop (12);
} else {
_root.actTime = getTimer();
}
Symbol 167 MovieClip Frame 11
_root.puntos = _root.puntos + (_root.lastScore * _root.multi);
_root.puntosGlobal = _root.puntosGlobal + (_root.lastScore * _root.multi);
if (_root.currObjetivos[0] > 0) {
_root.currObjetivos[0]--;
}
_root.playHitSound();
if (_root.combos > 2) {
_root.mcCombos.gotoAndPlay("combo" + (_root.combos - 2));
_root.moreTime();
if (_root.combos == 6) {
_root.combosix++;
if (_root.currObjetivos[2] > 0) {
_root.currObjetivos[2]--;
}
}
if (_root.combos == 5) {
_root.combofive++;
if (_root.currObjetivos[1] > 0) {
_root.currObjetivos[1]--;
}
}
}
if (((_root.currObjetivos[0] == 0) && (_root.currObjetivos[1] == 0)) && (_root.currObjetivos[2] == 0)) {
_root.objetivoCumplido = true;
}
_root.hunted++;
_root.huntedGlobal++;
gotoAndStop (2);
Instance of Symbol 163 MovieClip "golpe" in Symbol 167 MovieClip Frame 12
on (press) {
_parent.king._y = _parent.king._y + 15;
_root.playHitSound();
}
Instance of Symbol 166 MovieClip "king" in Symbol 167 MovieClip Frame 12
onClipEvent (load) {
this.muerto = false;
}
onClipEvent (enterFrame) {
if (!this.muerto) {
this._y--;
if (this._y < -35) {
this._y = -35;
}
if (this._y > 10) {
this.muerto = true;
_root.puntos = _root.puntos + 80;
_root.puntosGlobal = _root.puntosGlobal + 80;
if (_root.currMision < 8) {
_root.gotoAndPlay("End");
} else {
_root.gotoAndPlay("Lose");
}
this.gotoAndStop(2);
}
}
}
Instance of Symbol 74 MovieClip "nube1" in Symbol 168 MovieClip Frame 1
onClipEvent (enterFrame) {
_x = (_x - 0.3);
}
Instance of Symbol 76 MovieClip in Symbol 168 MovieClip Frame 1
onClipEvent (enterFrame) {
_x = (_x - 0.3);
}
Symbol 197 Button
on (release) {
_root.currMision++;
gotoAndPlay ("Instructions");
}
Symbol 203 Button
on (release) {
_root.currMision = 0;
_root.puntos = 0;
_root.extraTime = 0;
_root.lastScore = 0;
_root.tmpPoints = 0;
_root.combos = 0;
_root.puntosGlobal = 0;
_root.hunted = 0;
_root.huntedGlobal = 0;
gotoAndPlay ("Intro");
}
Symbol 206 MovieClip Frame 1
stop();
Symbol 206 MovieClip Frame 2
stop();