Frame 1
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);
}
Mouse.show();
var partCounter = 0;
actTime = getTimer();
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;
}
stop();
__com_mochibot__("aee7d066", this, 10301, true);
Frame 14
MochiAd.showPreloaderAd({id:"3395cb0ddad60241", res:"600x316"});
stop();
Frame 27
stop();
Mouse.show();
Instance of Symbol 44 MovieClip "nube1" in Frame 27
onClipEvent (enterFrame) {
_x = (_x - 0.3);
}
Instance of Symbol 46 MovieClip in Frame 27
onClipEvent (enterFrame) {
_x = (_x - 0.3);
}
Instance of Symbol 90 MovieClip "topo" in Frame 27
onClipEvent (enterFrame) {
if (this._currentframe == 100) {
play();
}
}
Frame 33
Mouse.hide();
actTime = getTimer();
startTime = getTimer();
var lastScore = 0;
var currentCombo = 1;
var tmpPoints = 0;
var combos = 0;
var puntos = 0;
var multi = 1;
Instance of Symbol 44 MovieClip "nube1" in Frame 34
onClipEvent (enterFrame) {
_x = (_x - 0.3);
}
Instance of Symbol 46 MovieClip in Frame 34
onClipEvent (enterFrame) {
_x = (_x - 0.3);
}
Instance of Symbol 41 MovieClip "mazo" in Frame 34
onClipEvent (enterFrame) {
this._x = _root._xmouse;
this._y = _root._ymouse;
}
onClipEvent (mouseDown) {
_root.tmpPoints = _root.tmpTimer.theTime;
_root.lastScore = _root.tmpPoints;
if (_root.lastScore > 50) {
_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 98 MovieClip "tmpTimer" in Frame 34
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 98 MovieClip in Frame 34
onClipEvent (enterFrame) {
this.myText = _root.tmpPoints;
}
Instance of Symbol 98 MovieClip in Frame 34
onClipEvent (enterFrame) {
this.myText = _root.combos;
}
Instance of Symbol 98 MovieClip in Frame 34
onClipEvent (enterFrame) {
this.myText = "x" + _root.multi;
}
Instance of Symbol 98 MovieClip in Frame 34
onClipEvent (enterFrame) {
this.myText = _root.puntos;
}
Instance of Symbol 98 MovieClip "totalTimer" in Frame 34
onClipEvent (enterFrame) {
this.theTime = getTimer() - _root.startTime;
this.theTime = Math.round(this.theTime / 1000);
this.theTime = 20 - this.theTime;
this.myText = this.theTime;
if (this.myText == -1) {
_root.gotoAndPlay("End");
}
}
Frame 38
var currentClip = (random(17) + 1);
var playClip = eval ("r" + currentClip);
playClip.play();
stop();
Frame 39
if (elnum == 0) {
gotoAndPlay ("Play");
}
Frame 41
gotoAndPlay ("Play");
Frame 43
Mouse.show();
Instance of Symbol 44 MovieClip "nube1" in Frame 43
onClipEvent (enterFrame) {
_x = (_x - 0.3);
}
Instance of Symbol 46 MovieClip in Frame 43
onClipEvent (enterFrame) {
_x = (_x - 0.3);
}
Instance of Symbol 98 MovieClip "tmpTimer" in Frame 53
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 98 MovieClip in Frame 53
onClipEvent (enterFrame) {
this.myText = _root.tmpPoints;
}
Instance of Symbol 98 MovieClip in Frame 53
onClipEvent (enterFrame) {
this.myText = _root.combos;
}
Instance of Symbol 98 MovieClip in Frame 53
onClipEvent (enterFrame) {
this.myText = "x" + _root.multi;
}
Instance of Symbol 98 MovieClip in Frame 53
onClipEvent (enterFrame) {
this.myText = _root.puntos;
}
Frame 65
stop();
Frame 71
function sortByNumber(a, b) {
return(a < b);
}
topscores.push(_root.puntos);
topscores.sort(Array.NUMERIC);
topscores.reverse();
topscores.length = 8;
myLocal_so = SharedObject.getLocal("cerebral_MHunter");
myLocal_so.data.scores = topscores;
myLocal_so.flush();
topscores0 = topscores[0];
topscores1 = topscores[1];
topscores2 = topscores[2];
topscores3 = topscores[3];
topscores4 = topscores[4];
topscores5 = topscores[5];
topscores6 = topscores[6];
topscores7 = topscores[7];
stop();
Symbol 3 MovieClip Frame 1
this.onEnterFrame = function () {
if (_root.multi > 1) {
multiText = "x" + _root.multi;
} else {
multiText = "";
}
};
Symbol 4 MovieClip [mcMulti] Frame 1
stop();
Symbol 10 MovieClip [particlePlayground] Frame 1
#initclip 7
Object.registerClass("particlePlayground", com.lookmum.package.ParticlePlaygroundPackage);
#endinitclip
Symbol 41 MovieClip Frame 1
stop();
Symbol 42 MovieClip Frame 142
_root.play();
stop();
Symbol 138 MovieClip [__Packages.MochiAd] Frame 0
class MochiAd
{
function MochiAd () {
}
static function showPreloaderAd(options) {
var _local29 = {clip:_root, ad_msec:11000, ad_timeout:3000, fadeout_time:250, regpt:"o", method:"showPreloaderAd", color:16747008, background:16777161, outline:13994812};
options = _parseOptions(options, _local29);
var _local15 = options.clip;
var _local25 = options.ad_msec;
delete options.ad_msec;
var _local28 = options.ad_timeout;
delete options.ad_timeout;
var fadeout_time = options.fadeout_time;
delete options.fadeout_time;
if (!load(options)) {
return(null);
}
_local15.stop();
var mc = _local15._mochiad;
mc.onUnload = function () {
this._parent.play();
};
var _local16 = _getRes(options);
var _local5 = _local16[0];
var _local14 = _local16[1];
mc._x = _local5 * 0.5;
mc._y = _local14 * 0.5;
var chk = mc.createEmptyMovieClip("_mochiad_wait", 3);
chk._x = _local5 * -0.5;
chk._y = _local14 * -0.5;
var _local8 = chk.createEmptyMovieClip("_mochiad_bar", 4);
_local8._x = 10;
_local8._y = _local14 - 20;
var _local24 = options.color;
delete options.color;
var _local21 = options.background;
delete options.background;
var _local26 = options.outline;
delete options.outline;
var _local6 = _local8.createEmptyMovieClip("_outline", 1);
_local6.beginFill(_local21);
_local6.moveTo(0, 0);
_local6.lineTo(_local5 - 20, 0);
_local6.lineTo(_local5 - 20, 10);
_local6.lineTo(0, 10);
_local6.lineTo(0, 0);
_local6.endFill();
var _local4 = _local8.createEmptyMovieClip("_inside", 2);
_local4.beginFill(_local24);
_local4.moveTo(0, 0);
_local4.lineTo(_local5 - 20, 0);
_local4.lineTo(_local5 - 20, 10);
_local4.lineTo(0, 10);
_local4.lineTo(0, 0);
_local4.endFill();
_local4._xscale = 0;
var _local7 = _local8.createEmptyMovieClip("_outline", 3);
_local7.lineStyle(0, _local26, 100);
_local7.moveTo(0, 0);
_local7.lineTo(_local5 - 20, 0);
_local7.lineTo(_local5 - 20, 10);
_local7.lineTo(0, 10);
_local7.lineTo(0, 0);
chk.ad_msec = _local25;
chk.ad_timeout = _local28;
chk.started = getTimer();
chk.showing = false;
chk.last_pcnt = 0;
chk.fadeout_time = fadeout_time;
chk.fadeFunction = function () {
var _local2 = 100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time));
if (_local2 > 0) {
this._parent._alpha = _local2;
} else {
var _local3 = this._parent._parent;
MochiAd.unload(_local3);
delete this.onEnterFrame;
}
};
mc.lc.adjustProgress = function (msec) {
var _local2 = this.mc._mochiad_wait;
_local2.server_control = true;
_local2.started = getTimer();
_local2.ad_msec = msec;
};
chk.onEnterFrame = function () {
var _local6 = this._parent._parent;
var _local12 = this._parent._mochiad_ctr;
var _local5 = getTimer() - this.started;
var _local3 = false;
var _local4 = _local6.getBytesTotal();
var _local8 = _local6.getBytesLoaded();
var _local10 = (100 * _local8) / _local4;
var _local11 = (100 * _local5) / chk.ad_msec;
var _local9 = this._mochiad_bar._inside;
var _local2 = Math.min(100, Math.min(_local10 || 0, _local11));
_local2 = Math.max(this.last_pcnt, _local2);
this.last_pcnt = _local2;
_local9._xscale = _local2;
if (!chk.showing) {
var _local7 = _local12.getBytesTotal();
if ((_local7 > 0) || (typeof(_local7) == "undefined")) {
chk.showing = true;
chk.started = getTimer();
} else if (_local5 > chk.ad_timeout) {
_local3 = true;
}
}
if (_local5 > chk.ad_msec) {
_local3 = true;
}
if (((_local4 > 0) && (_local8 >= _local4)) && (_local3)) {
if (this.server_control) {
delete this.onEnterFrame;
} else {
this.fadeout_start = getTimer();
this.onEnterFrame = chk.fadeFunction;
}
}
};
}
static function showTimedAd(options) {
var _local15 = {clip:_root, ad_msec:11000, ad_timeout:2000, fadeout_time:250, regpt:"o", method:"showTimedAd"};
options = _parseOptions(options, _local15);
var _local6 = options.clip;
var _local12 = options.ad_msec;
delete options.ad_msec;
var _local14 = options.ad_timeout;
delete options.ad_timeout;
var fadeout_time = options.fadeout_time;
delete options.fadeout_time;
if (!load(options)) {
return(null);
}
_local6.stop();
var mc = _local6._mochiad;
mc.onUnload = function () {
this._parent.play();
};
var _local7 = _getRes(options);
var _local16 = _local7[0];
var _local13 = _local7[1];
mc._x = _local16 * 0.5;
mc._y = _local13 * 0.5;
var chk = mc.createEmptyMovieClip("_mochiad_wait", 3);
chk.ad_msec = _local12;
chk.ad_timeout = _local14;
chk.started = getTimer();
chk.showing = false;
chk.fadeout_time = fadeout_time;
chk.fadeFunction = function () {
var _local2 = 100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time));
if (_local2 > 0) {
this._parent._alpha = _local2;
} else {
var _local3 = this._parent._parent;
MochiAd.unload(_local3);
delete this.onEnterFrame;
}
};
mc.lc.adjustProgress = function (msec) {
var _local2 = this.mc._mochiad_wait;
_local2.server_control = true;
_local2.started = getTimer();
_local2.ad_msec = msec - 250;
};
chk.onEnterFrame = function () {
var _local5 = this._parent._mochiad_ctr;
var _local4 = getTimer() - this.started;
var _local2 = false;
if (!chk.showing) {
var _local3 = _local5.getBytesTotal();
if ((_local3 > 0) || (typeof(_local3) == "undefined")) {
chk.showing = true;
chk.started = getTimer();
} else if (_local4 > chk.ad_timeout) {
_local2 = true;
}
}
if (_local4 > chk.ad_msec) {
_local2 = true;
}
if (_local2) {
if (this.server_control) {
delete this.onEnterFrame;
} else {
this.fadeout_start = getTimer();
this.onEnterFrame = this.fadeFunction;
}
}
};
}
static function load(options) {
var _local14 = {clip:_root, server:"http://x.mochiads.com/srv/1/", method:"load", depth:10333, id:"_UNKNOWN_"};
options = _parseOptions(options, _local14);
options.swfv = options.clip.getSWFVersion() || 6;
options.mav = "1.3";
var _local7 = options.clip;
if (!_isNetworkAvailable()) {
return(false);
}
if (_local7._mochiad_loaded) {
return(false);
}
var _local13 = options.depth;
delete options.depth;
var _local6 = _local7.createEmptyMovieClip("_mochiad", _local13);
var _local12 = _getRes(options);
options.res = (_local12[0] + "x") + _local12[1];
options.server = options.server + options.id;
delete options.id;
_local7._mochiad_loaded = true;
var _local4 = _local6.createEmptyMovieClip("_mochiad_ctr", 1);
for (var _local8 in options) {
_local4[_local8] = options[_local8];
}
if (_local7._url.indexOf("http") != 0) {
options.no_page = true;
}
var _local11 = _local4.server;
delete _local4.server;
var _local10 = _local11.split("/")[2].split(":")[0];
if (System.security) {
if (System.security.allowDomain) {
System.security.allowDomain("*");
System.security.allowDomain(_local10);
}
if (System.security.allowInsecureDomain) {
System.security.allowInsecureDomain("*");
System.security.allowInsecureDomain(_local10);
}
}
_local6.onEnterFrame = function () {
if (this._mochiad_ctr._url != this._url) {
this.onEnterFrame = function () {
if (!this._mochiad_ctr) {
delete this.onEnterFrame;
MochiAd.unload(this._parent);
}
};
}
};
var _local5 = new LocalConnection();
var _local9 = ["", Math.floor(new Date().getTime()), random(999999)].join("_");
_local5.mc = _local6;
_local5.name = _local9;
_local5.hostname = _local10;
_local5.allowDomain = function (d) {
return(true);
};
_local5.allowInsecureDomain = _local5.allowDomain;
_local5.connect(_local9);
_local6.lc = _local5;
_local4.lc = _local9;
_local4.st = getTimer();
_local4.loadMovie(_local11 + ".swf", "POST");
return(_local6);
}
static function unload(clip) {
if (typeof(clip) == "undefined") {
clip = _root;
}
if (clip.clip && (clip.clip._mochiad)) {
clip = clip.clip;
}
if (!clip._mochiad) {
return(false);
}
clip._mochiad.removeMovieClip();
delete clip._mochiad_loaded;
delete clip._mochiad;
return(true);
}
static function _isNetworkAvailable() {
if (System.security) {
var _local1 = System.security;
if (_local1.sandboxType == "localWithFile") {
return(false);
}
}
return(true);
}
static function _getRes(options) {
var _local3 = options.clip.getBounds();
var _local2 = 0;
var _local1 = 0;
if (typeof(options.res) != "undefined") {
var _local4 = options.res.split("x");
_local2 = parseFloat(_local4[0]);
_local1 = parseFloat(_local4[1]);
} else {
_local2 = _local3.xMax - _local3.xMin;
_local1 = _local3.yMax - _local3.yMin;
}
if ((_local2 == 0) || (_local1 == 0)) {
_local2 = Stage.width;
_local1 = Stage.height;
}
return([_local2, _local1]);
}
static function _parseOptions(options, defaults) {
var _local4 = {};
for (var _local8 in defaults) {
_local4[_local8] = defaults[_local8];
}
if (options) {
for (var _local8 in options) {
_local4[_local8] = options[_local8];
}
}
if (_root.mochiad_options) {
var _local5 = _root.mochiad_options.split("&");
var _local2 = 0;
while (_local2 < _local5.length) {
var _local3 = _local5[_local2].split("=");
_local4[unescape(_local3[0])] = unescape(_local3[1]);
_local2++;
}
}
return(_local4);
}
}
Symbol 14 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 13 MovieClip [__Packages.com.lookmum.vo.Particle] Frame 0
class com.lookmum.vo.Particle
{
function Particle () {
}
}
Symbol 7 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 11 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 12 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);
}
}
Symbol 68 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;
_root["r" + _root.elnum].gotoAndPlay(2);
this.gotoAndPlay(1);
}
Symbol 70 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 ("r" + _root.currentClip);
var playClip = eval ("_root.r" + _root.currentClip);
playClip.gotoAndPlay(2);
this.play();
}
Symbol 71 MovieClip Frame 1
stop();
Symbol 71 MovieClip Frame 2
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++;
}
}
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();
Symbol 71 MovieClip Frame 9
stop();
var hit = true;
_root.actTime = getTimer();
Symbol 71 MovieClip Frame 10
_root.puntos = _root.puntos + (_root.lastScore * _root.multi);
if (_root.combos > 2) {
_root.mcCombos.gotoAndPlay("combo" + (_root.combos - 2));
}
play();
Symbol 78 Button
on (release) {
gotoAndPlay ("Play");
}
Instance of Symbol 81 MovieClip in Symbol 90 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 81 MovieClip in Symbol 90 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 81 MovieClip in Symbol 90 MovieClip Frame 386
onClipEvent (load) {
this.stop();
}
Instance of Symbol 81 MovieClip in Symbol 90 MovieClip Frame 464
onClipEvent (load) {
this.stop();
}
Instance of Symbol 86 MovieClip in Symbol 90 MovieClip Frame 483
onClipEvent (load) {
this.multiText = "x2";
}
Instance of Symbol 81 MovieClip in Symbol 90 MovieClip Frame 502
onClipEvent (load) {
this.stop();
}
Instance of Symbol 88 MovieClip in Symbol 90 MovieClip Frame 516
onClipEvent (load) {
this.multiText = "x2";
}
Symbol 95 Button
on (press) {
_root.multi = 1;
}
Symbol 117 Button
on (release) {
play();
}