Frame 1
stop();
Frame 34
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);
}
System.useCodepage = true;
this.onEnterFrame = function () {
var _local2 = Math.floor((this.getBytesLoaded() / this.getBytesTotal()) * 100);
percent = _local2 + "%";
if (_local2 >= 99) {
this.gotoAndPlay(_currentframe + 1);
this.onEnterFrame = null;
}
};
__com_mochibot__("ff1e6cf9", this, 10301, true);
stop();
stopAllSounds();
Instance of Symbol 59 MovieClip in Frame 34
onClipEvent (load) {
_global.snd_ctrl = this;
this.sndRef = new Sound(this._parent);
this._visible = false;
this.onRelease = function () {
this.triggerMute();
};
this.getVolume = function () {
return(this.lastVol);
};
this.setVolume = function (vol) {
this.lastVol = vol;
if (!this.mute) {
this.sndRef.setVolume(vol);
}
};
this.triggerMute = function () {
this.setMute((this.mute ? false : true));
};
this.setMute = function (isMute) {
this.mute = isMute;
if (isMute) {
this.lastVol = this.sndRef.getVolume();
this.sndRef.setVolume(0);
} else {
this.sndRef.setVolume(this.lastVol);
}
};
this.setSoundBackground = function (sndName) {
var _local3;
var _local2;
if (this.sndBck == undefined) {
_local3 = this.createEmptyMovieClip("sndBck", 0);
_local2 = new Sound(_local3);
_local2.onSoundComplete = function () {
this.start();
};
_local3.sndDat = _local2;
} else {
_local3 = this.sndBck;
_local2 = this.sndBck.sndDat;
}
if (sndName == undefined) {
_local2.stop();
} else if (_local3.sndName != sndName) {
_local2.stop();
_local2.attachSound(sndName);
_local2.start();
}
_local3.sndName = sndName;
};
this.playSound = function (sndName) {
var _local3;
var _local2;
if (this.sndTmp == undefined) {
_local3 = this.createEmptyMovieClip("sndTmp", 1);
_local2 = new Sound(_local3);
_local3.sndDat = _local2;
} else {
_local3 = this.sndTmp;
_local2 = this.sndTmp.sndDat;
}
_local2.attachSound(sndName);
_local2.start();
};
this.setVolume(70);
}
Frame 47
Frame 57
stopAllSounds();
Frame 173
stop();
next_btn.onRelease = function () {
gotoAndPlay ("howto");
};
Frame 213
stop();
Frame 242
stop();
Frame 243
stopAllSounds();
Instance of Symbol 123 MovieClip in Frame 243
onClipEvent (enterFrame) {
var lc = this._parent.playground.oval;
if (step == undefined) {
step = lc.life;
} else if (lc.life != step) {
this.play();
step = lc.life;
}
}
Frame 285
playground.listener = new Object();
playground.listener.main = this;
playground.listener.onFinish = function () {
trace(this + " onFinish");
var _local3 = this.main.playground;
_global.myscore = _local3.mainCtrl.score;
_local3.teller.removeListener(_local3.listener);
gotoAndPlay ("record");
};
playground.teller = new Object();
AsBroadcaster.initialize(playground.teller);
playground.teller.addListener(playground.listener);
stop();
Frame 286
playground.gotoAndPlay("catched");
stop();
Frame 287
stopAllSounds();
Frame 322
stop();
score.text = _global.myscore;
name.onKillFocus = function (newFocus) {
if (this.text == "") {
name.text = "Name";
}
};
name.onSetFocus = function (oldFocus) {
name.text = "";
};
email.onKillFocus = function (newFocus) {
if (this.text == "") {
email.text = "E-mail";
}
};
email.onSetFocus = function (oldFocus) {
email.text = "";
};
Frame 346
stop();
var my_str = result_lv.list;
var my_array = my_str.split(",");
dep = 10;
name_array = new Array();
score_array = new Array();
trace(my_array.length);
var i = 0;
while (i < (my_array.length - 1)) {
name_list.text = my_array[i];
if ((i % 2) == 0) {
n = Math.floor(i / 2);
name_array[n] = my_array[i];
score_array[n] = my_array[i + 1];
if (n < 9) {
ta = (("0" + (n + 1)) + " ") + name_array[n];
} else {
ta = ((n + 1) + " ") + name_array[n];
}
sa = score_array[n];
list_mc.attachMovie("score", "list" + n, dep + n);
list_mc["list" + n].name_list.text = ta;
list_mc["list" + n].score_list.text = sa;
list_mc["list" + n]._y = list_mc["list" + (n - 1)]._y + 15;
}
i++;
}
Frame 382
stop();
hit.timeout = getTimer() + 6000;
hit.onEnterFrame = function () {
if (getTimer() >= this.timeout) {
this._parent.gotoAndPlay("ending2");
}
};
Instance of Symbol 102 MovieClip "hit" in Frame 382
/* no clip actions */
Frame 412
stop();
hit.timeout = getTimer() + 5000;
hit.onEnterFrame = function () {
if (getTimer() >= this.timeout) {
this._parent.nextFrame();
}
};
Instance of Symbol 102 MovieClip "hit" in Frame 412
/* no clip actions */
Frame 420
stop();
Instance of Symbol 7 MovieClip [point] "hit" in Symbol 8 MovieClip [help_barrier] Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 7 MovieClip [point] "hit" in Symbol 18 MovieClip [sperm_white] Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 7 MovieClip [point] "hit" in Symbol 19 MovieClip [sperm_red] Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 7 MovieClip [point] "hit" in Symbol 22 MovieClip [icon_pill] Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 7 MovieClip [point] "hit" in Symbol 25 MovieClip [icon_flood] Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 7 MovieClip [point] "hit" in Symbol 28 MovieClip [icon_barrier] Frame 1
onClipEvent (load) {
this._visible = false;
}
Symbol 49 MovieClip Frame 113
_parent.gotoAndPlay(2);
stop();
Symbol 54 MovieClip Frame 1
stop();
Symbol 83 MovieClip Frame 33
stop();
this._parent.desc_mc.gotoAndPlay(2);
Symbol 97 MovieClip Frame 40
stop();
Symbol 103 MovieClip Frame 1
stop();
this.onRelease = function () {
getURL ("http://www.wecreategame.com/blog/", "_blank");
};
Symbol 108 Button
on (release) {
gotoAndPlay ("intro");
}
Symbol 111 Button
on (release) {
gotoAndPlay ("howto2");
}
Symbol 116 MovieClip Frame 40
stop();
Symbol 117 Button
on (release) {
gotoAndPlay ("howto");
}
Symbol 118 Button
on (release) {
gotoAndPlay ("play");
}
Symbol 123 MovieClip Frame 1
stop();
Symbol 123 MovieClip Frame 8
stop();
Symbol 123 MovieClip Frame 15
stop();
Symbol 123 MovieClip Frame 22
stop();
Symbol 123 MovieClip Frame 30
stop();
Symbol 130 MovieClip Frame 20
stop();
Symbol 133 MovieClip Frame 2
stop();
Instance of Symbol 7 MovieClip [point] "hit" in Symbol 133 MovieClip Frame 2
onClipEvent (load) {
this._visible = false;
}
Symbol 137 MovieClip Frame 16
this.removeMovieClip();
Symbol 139 MovieClip Frame 1
teller.broadcastMessage("onStart");
function randomNumber(from, to) {
return(from + Math.floor(Math.random() * ((to - from) + 1)));
}
function angle(vec) {
var _local1 = Math.atan2(vec.y, vec.x);
var _local2 = (_local1 * 180) / Math.PI;
return(_local2);
}
function angleBetweenPoint(p1, p2) {
var _local4 = p1.clone();
var _local1 = p2.clone();
var _local2 = Math.atan2(_local1.y, _local1.x);
var _local3 = (_local2 * 180) / Math.PI;
return(_local3);
}
Symbol 139 MovieClip Frame 2
function goto(actor, tx, ty) {
if (actor.posCtrl == undefined) {
actor.createEmptyMovieClip("posCtrl", 1);
}
var _local1 = actor.posCtrl;
if (_local1 != undefined) {
var _local3 = new flash.geom.Point(tx, ty);
actor._parent.globalToLocal(_local3);
_local1.point0 = new flash.geom.Point(actor._x, actor._y);
_local1.point1 = _local3;
_local1.direction = _local1.point1.subtract(_local1.point0);
if (!actor.solid) {
actor._rotation = angle(_local1.direction);
}
if (actor.speed == undefined) {
actor.speed = 1;
}
_local1.time = 0;
_local1.duration = Math.ceil(_local1.direction.length / actor.speed);
}
}
function getStorageName(species) {
switch (species) {
case "sperm" :
return("stg_sperm");
case "icon" :
return("stg_icon");
}
}
function getLayer(species) {
switch (species) {
case "sperm" :
return(11);
case "icon" :
return(10);
}
}
function createOnGround(species, type) {
var _local1 = getStorageName(species);
if (_local1 == undefined) {
return(undefined);
}
if (monitor[_local1] == undefined) {
monitor[_local1] = monitor.createEmptyMovieClip(_local1, getLayer(species));
}
_local1 = monitor[_local1];
var _local3 = (_local1.no + 1) || 1;
var _local2 = _local1.attachMovie((species + "_") + type, species + _local3, _local3);
if (_local2 != undefined) {
_local1.no = _local3;
_local2.no = _local3;
_local2.species = species;
_local2.type = type;
var _local5 = "list_" + species;
if (monitor[_local5] == undefined) {
monitor[_local5] = new Object();
}
monitor[_local5][_local3] = _local2;
}
return(_local2);
}
function rebirth(rx, ry, type) {
var _local1 = createOnGround("sperm", type || "white");
if (_local1 != undefined) {
_local1._x = rx;
_local1._y = ry;
var _local3 = _local1.createEmptyMovieClip("aiCtrl", 2);
var _local2;
switch (type) {
case "red" :
_local1.speed = 2;
_local2 = "homing";
break;
default :
_local1.speed = 1;
_local2 = "heading";
}
_local3.type = _local2;
}
return(_local1);
}
function placeHelp(rx, ry, type) {
var _local1 = createOnGround("icon", type || "barrier");
if (_local1 != undefined) {
_local1._x = rx;
_local1._y = ry;
}
return(_local1);
}
function startHelp(actor, type, x, y) {
if (actor.list_helper == undefined) {
actor.list_helper = new Object();
}
var _local4;
switch (type) {
case "barrier" :
_local4 = actor.attachMovie("help_barrier", "barrier", 101);
if (_local4 != undefined) {
actor.list_helper.barrier = _local4;
_local4.gotoAndStop(1);
_local4.birth = getTimer();
_local4.death = _local4.birth + 5000;
_local4.step = Math.ceil((_local4.death - _local4.birth) / _local4._totalframes);
_local4.update = function () {
var _local2 = Math.ceil((getTimer() - this.birth) / this.step);
this.gotoAndStop(_local2);
};
}
break;
case "pill" :
_local4 = actor.attachMovie("help_speed", "pill", 102);
if (_local4 != undefined) {
actor.list_helper.pill = _local4;
_local4.birth = getTimer();
_local4.death = _local4.birth + 5000;
var _local6 = (_local4.activate = actor);
_local6.old_speed = _local6.speed;
_local6.speed = _local6.speed + _local6.stepspeed;
for (var _local9 in _local6.shadow) {
var _local3 = _local6.shadow[_local9];
_local3.speed = _local3.speed + _local3.stepspeed;
_local3._visible = true;
}
_local4.doDeath = function () {
var _local3 = this.activate;
_local3.speed = this.old_speed;
for (var _local4 in _local3.shadow) {
var _local2 = _local3.shadow[_local4];
_local2._x = (_local2._y = -100);
_local2.speed = this.old_speed;
}
};
}
break;
case "flood" :
_global.snd_ctrl.playSound("snd_kill_all");
var _local7 = monitor.list_sperm;
for (var _local10 in _local7) {
var _local5 = _local7[_local10];
_local5.death = 0;
}
}
return(_local4);
}
function hideActor(actor, time) {
var _local1 = actor.duplicateMovieClip("dth_" + actor._name, actor.getDepth());
if (_local1 != undefined) {
_local1.birth = getTimer();
_local1.death = _local1.birth + time;
if (monitor.list_hide == undefined) {
monitor.list_hide = new Object();
}
monitor.list_hide[_local1._name] = _local1;
_local1.onEnterFrame = function () {
};
}
return(_local1);
}
function clearContainer(species) {
}
min_speed = 1;
Symbol 139 MovieClip Frame 4
Mouse.removeListener(ml);
ml = new Object();
ml.target = this;
ml.onMouseDown = function () {
var _local12 = this.target;
var _local10 = new flash.geom.Point(_local12._xmouse, _local12._ymouse);
if (point.lp == undefined) {
point.lp = 0;
}
var _local13 = point.duplicateMovieClip("point" + point.lp, 100 + (point.lp++));
_local13._x = _local10.x;
_local13._y = _local10.y;
_local12.localToGlobal(_local10);
var _local14 = ground.area.hitTest(_local10.x, _local10.y, true);
if (!_local14) {
var _local7 = new flash.geom.Point();
_local7.r = Math.round((oval._width + oval._height) / 4);
oval.localToGlobal(_local7);
var _local6 = 100;
var _local11 = _local10.subtract(_local7);
var _local4 = Math.ceil(_local11.length);
var _local9;
while (!_local9) {
_local4 = _local4 - _local6;
if (_local4 < 0) {
_local4 = 0;
}
var _local5 = _local11.clone();
_local5.normalize(_local4);
_local5.offset(_local7.x, _local7.y);
var _local8 = ground.area.hitTest(_local5.x, _local5.y, true);
if (_local8) {
if (_local6 == 1) {
_local9 = true;
_root.d = (_root.d + 1) || 1;
} else if (_local6 > 1) {
_local4 = _local4 + _local6;
_local6 = _local6 / 10;
}
} else if (_local4 == 0) {
break;
}
}
if (_local9) {
_local11.normalize(_local4);
_local10.x = _local7.x + _local11.x;
_local10.y = _local7.y + _local11.y;
} else {
_local10.x = _local7.x;
_local10.y = _local7.y;
}
}
goto(oval, _local10.x, _local10.y);
if (oval.pill != undefined) {
_global.snd_ctrl.playSound("snd_hispeed");
}
};
Mouse.addListener(ml);
_global.snd_ctrl.setSoundBackground("sbg_survive");
Symbol 139 MovieClip Frame 5
oval.species = "oval";
oval.solid = true;
oval.speed = 1;
oval.stepspeed = 1;
oval.expo = 5;
oval.life = 3;
Symbol 139 MovieClip Frame 6
function transformPoint(p, src, des) {
if (src == undefined) {
src = this;
}
src.localToGlobal(p);
if (des == undefined) {
src = this;
}
des.globalToLocal(p);
}
spermBirth.birthStep = 3;
spermBirth.update = function () {
if (this.nBirth == undefined) {
this.nBirth = getTimer() + 1000;
this.fixAmount = 4;
} else if (getTimer() > this.nBirth) {
this.nBirth = getTimer() + 7000;
var _local12;
if (this.fixAmount != undefined) {
_local12 = this.fixAmount;
if (this.fixAmount < 20) {
this.fixAmount = this.fixAmount + 1;
}
} else {
_local12 = 2 + (2 * randomNumber(1, 4 - this.birthStep));
}
while ((_local12--) > 0) {
var _local8 = this._parent["src" + randomNumber(1, 8)];
var _local2 = {x:0, y:0};
transformPoint(_local2, _local8, monitor);
var _local6 = randomNumber(1, 5);
_local6 = ((_local6 == 1) ? "red" : "white");
var _local4 = rebirth(_local2.x, _local2.y, _local6);
_local4.birth = getTimer();
_local4.death = _local4.birth + (randomNumber(10, 15) * 1000);
_local4.doDeath = function () {
var _local3 = this.sp_act._currentframe;
var _local2 = hideActor(this, 1500);
_local2.sp_act.gotoAndStop(_local3);
_local2.update = function () {
this._alpha = this._alpha - 10;
};
};
var _local5 = {x:0, y:0};
ground.localToGlobal(_local5);
var _local3 = new flash.geom.Point(_local5.x - _local2.x, _local5.y - _local2.y);
_local3.normalize(_local3.length * 0.3);
_local3.offset(randomNumber(-50, 50), randomNumber(-50, 50));
_local3.offset(_local2.x, _local2.y);
goto(_local4, _local3.x, _local3.y);
}
}
};
helper.update = function () {
if (this.nHelp == undefined) {
this.nHelp = getTimer() + 5000;
} else if (getTimer() > this.nHelp) {
this.nHelp = getTimer() + (randomNumber(8, 12) * 1000);
var _local3 = randomNumber(1, 10);
if (_local3 <= 3) {
} else {
if (_local3 <= 5) {
_local3 = "barrier";
} else if (_local3 <= 9) {
_local3 = "pill";
} else {
_local3 = "flood";
}
var _local6 = this._parent["src" + randomNumber(1, 8)];
var _local4 = {x:0, y:0};
transformPoint(_local4, _local6, ground);
var _local2 = new flash.geom.Point(-_local4.x, -_local4.y);
_local2.normalize(_local2.length * 0.4);
_local2.offset(randomNumber(-50, 50), randomNumber(-50, 50));
_local2.offset(_local4.x, _local4.y);
transformPoint(_local2, ground, monitor);
var _local5 = placeHelp(_local2.x, _local2.y, _local3);
_local5.birth = getTimer();
_local5.death = _local5.birth + 5000;
}
}
};
ground.update = function () {
var _local5;
_local5 = monitor.list_sperm;
if (_local5 != undefined) {
for (var _local10 in _local5) {
var _local4 = _local5[_local10];
var _local3 = {x:_local4._x, y:_local4._y};
monitor.localToGlobal(_local3);
if (!this.hit.hitTest(_local3.x, _local3.y, true)) {
_local4.death = 0;
} else if (oval.barrier.hit.hitTest(_local3.x, _local3.y, true)) {
_local4.death = 0;
} else if ((oval.hurt <= 0) && (oval.hit.hitTest(_local3.x, _local3.y, true))) {
_global.snd_ctrl.playSound("snd_hurt");
layer["oval" + oval.life]._visible = false;
oval.life = oval.life - 1;
oval.hurt = getTimer() + 3000;
if (oval.life < 0) {
gotoAndPlay ("catched");
delete this.update;
} else {
_local4.death = 0;
}
}
}
}
_local5 = monitor.list_icon;
if (_local5 != undefined) {
var _local6 = new flash.geom.Point();
_local6.r = Math.round((oval.hit._width + oval.hit._height) / 4);
oval.hit.localToGlobal(_local6);
for (var _local10 in _local5) {
var _local4 = _local5[_local10];
var _local3 = new flash.geom.Point();
_local3.r = Math.round((_local4.hit._width + _local4.hit._height) / 4);
_local4.hit.localToGlobal(_local3);
if (flash.geom.Point.distance(_local6, _local3) <= (_local6.r + _local3.r)) {
_global.snd_ctrl.playSound("snd_take_medicine");
var _local9 = startHelp(oval, _local4.type, _local3.x, _local3.y);
delete _local5[_local10];
_local4.removeMovieClip();
}
}
}
};
deathCtrl.update = function () {
var _local3;
var _local5 = getTimer();
var _local4 = [monitor.list_sperm, monitor.list_icon, monitor.list_hide, oval.list_helper];
while (_local4.length > 0) {
var _local2 = _local4.pop();
if (_local2 != undefined) {
for (var _local6 in _local2) {
var _local1 = _local2[_local6];
if (_local5 >= _local1.death) {
if (!_local3) {
_local3 = true;
}
_local1.doDeath();
delete _local2[_local6];
_local1.removeMovieClip();
}
}
}
}
};
Symbol 139 MovieClip Frame 7
function easeOut(t, p0, dir, d, expo) {
var _local1 = new flash.geom.Point();
var _local2 = Math.pow((t / d) - 1, expo || 1) + 1;
_local1.x = p0.x + (dir.x * _local2);
_local1.y = p0.y + (dir.y * _local2);
return(_local1);
}
function easeIn(t, p0, dir, d, expo) {
var _local1 = new flash.geom.Point();
var _local2 = Math.pow(t / d, expo || 1);
_local1.x = p0.x + (dir.x * _local2);
_local1.y = p0.y + (dir.y * _local2);
return(_local1);
}
mainCtrl.doPosition = function (actor) {
if (actor.posCtrl != undefined) {
var _local1 = actor.posCtrl;
var _local4 = _local1.point1;
var _local3;
_local1.time = _local1.time + 1;
switch (actor.species) {
case "oval" :
case "shadow" :
_local3 = easeOut(_local1.time, _local1.point0, _local1.direction, _local1.duration, actor.expo);
break;
case "sperm" :
default :
_local3 = easeIn(_local1.time, _local1.point0, _local1.direction, _local1.duration, actor.expo);
}
actor._x = _local3.x;
actor._y = _local3.y;
if (_local3.equals(_local4)) {
actor.posCtrl.removeMovieClip();
delete actor.posCtrl;
}
}
return(actor.posCtrl != undefined);
};
mainCtrl.doPath = function (actor, moving) {
if (actor.aiCtrl != undefined) {
switch (actor.aiCtrl.type) {
case "homing" :
var _local2 = new flash.geom.Point();
oval.localToGlobal(_local2);
goto(actor, _local2.x, _local2.y);
break;
case "heading" :
if (moving) {
break;
}
var _local3 = randomNumber(5, 20);
_local2 = new flash.geom.Point(_local3, 0);
actor._rotation = actor._rotation + randomNumber(-45, 45);
actor.localToGlobal(_local2);
goto(actor, _local2.x, _local2.y);
}
}
return(actor.aiCtrl != undefined);
};
mainCtrl.score = 0;
mainCtrl.scoreTime = getTimer();
mainCtrl.startTime = getTimer();
mainCtrl.onEnterFrame = function () {
var _local2;
deathCtrl.update();
this.doPosition(oval);
for (var _local6 in oval.shadow) {
this.doPosition(oval.shadow[_local6]);
}
var _local5 = [monitor.list_icon, monitor.list_hide, oval.list_helper];
while (_local5.length > 0) {
_local2 = _local5.pop();
for (var _local7 in _local2) {
_local2[_local7].update();
}
}
_local2 = monitor.list_sperm;
for (var _local7 in _local2) {
var _local3 = _local2[_local7];
var _local4 = this.doPosition(_local3);
this.doPath(_local3, _local4);
}
spermBirth.update();
helper.update();
ground.update();
var _local8 = getTimer();
if (oval.hurt > 0) {
oval._alpha = oval._alpha - 10;
if (oval._alpha <= 40) {
oval._alpha = 100;
}
if (_local8 >= oval.hurt) {
delete oval.hurt;
oval._alpha = 100;
}
}
this.score = Math.floor((_local8 - this.startTime) / 100);
this.score = this.score / 10;
if (((this.score * 10) % 10) == 0) {
this.score = this.score + ".0";
}
this.scoreTime = _local8;
if (this.ms == undefined) {
this.ms = 40;
} else if (this.ms > 0) {
if (Math.floor(this.scoreTime / 1000) == this.ms) {
spermBirth.birthStep--;
switch (this.ms) {
case 40 :
this.ms = 50;
break;
case 50 :
this.ms = 60;
break;
case 60 :
this.ms = -1;
}
}
}
};
Symbol 139 MovieClip Frame 9
teller.broadcastMessage("onPlay");
stop();
Symbol 139 MovieClip Frame 10
Mouse.removeListener(ml);
delete mainCtrl.onEnterFrame;
_global.snd_ctrl.setSoundBackground(null);
Symbol 139 MovieClip Frame 11
mainCtrl.resume = getTimer() + 1000;
mainCtrl.onEnterFrame = function () {
if (getTimer() >= this.resume) {
nextFrame();
}
};
stop();
Symbol 139 MovieClip Frame 14
teller.broadcastMessage("onFinish");
stop();
Symbol 146 Button
on (release) {
var result_lv = new LoadVars();
result_lv.onLoad = function (success) {
if (success) {
gotoAndPlay ("record2");
}
};
var send_lv = new LoadVars();
send_lv.name = name.text;
send_lv.email = email.text;
send_lv.score = _global.myscore;
trace(send_lv.name);
trace(send_lv.email);
trace(send_lv.score);
send_lv.sendAndLoad("http://www.wecreategame.com/lab/eggventure/savescore.php", result_lv, "POST");
}
Symbol 162 MovieClip Frame 25
stop();
Symbol 163 Button
on (release) {
gotoAndPlay ("ending");
}
Symbol 174 MovieClip Frame 164
stop();
Symbol 185 MovieClip Frame 155
stop();