Frame 1
//if(){}
var MochiAd = {showPreloaderAd:function (options) {
var _local1 = this;
var _local2 = options;
var DEFAULTS = {clip:_root, ad_msec:11000, ad_timeout:3000, fadeout_time:250, regpt:"o", method:"showPreloaderAd", color:16747008, background:16777161, outline:13994812};
_local2 = MochiAd._parseOptions(_local2, DEFAULTS);
var clip = _local2.clip;
var ad_msec = _local2.ad_msec;
delete _local2.ad_msec;
var ad_timeout = _local2.ad_timeout;
delete _local2.ad_timeout;
var fadeout_time = _local2.fadeout_time;
delete _local2.fadeout_time;
if (!MochiAd.load(_local2)) {
return(null);
}
clip.stop();
var mc = clip._mochiad;
mc.onUnload = function () {
this._parent.play();
};
var wh = MochiAd._getRes(_local2);
var w = wh[0];
var h = wh[1];
mc._x = w * 0.5;
mc._y = h * 0.5;
var chk = mc.createEmptyMovieClip("_mochiad_wait", 3);
chk._x = w * -0.5;
chk._y = h * -0.5;
var bar = chk.createEmptyMovieClip("_mochiad_bar", 4);
bar._x = 10;
bar._y = h - 20;
var bar_color = _local2.color;
delete _local2.color;
var bar_background = _local2.background;
delete _local2.background;
var bar_outline = _local2.outline;
delete _local2.outline;
var backing = bar.createEmptyMovieClip("_outline", 1);
backing.beginFill(bar_background);
backing.moveTo(0, 0);
backing.lineTo(w - 20, 0);
backing.lineTo(w - 20, 10);
backing.lineTo(0, 10);
backing.lineTo(0, 0);
backing.endFill();
var _local3 = bar.createEmptyMovieClip("_inside", 2);
_local3.beginFill(bar_color);
_local3.moveTo(0, 0);
_local3.lineTo(w - 20, 0);
_local3.lineTo(w - 20, 10);
_local3.lineTo(0, 10);
_local3.lineTo(0, 0);
_local3.endFill();
_local3._xscale = 0;
var outline = bar.createEmptyMovieClip("_outline", 3);
outline.lineStyle(0, bar_outline, 100);
outline.moveTo(0, 0);
outline.lineTo(w - 20, 0);
outline.lineTo(w - 20, 10);
outline.lineTo(0, 10);
outline.lineTo(0, 0);
chk.ad_msec = ad_msec;
chk.ad_timeout = ad_timeout;
chk.started = getTimer();
chk.showing = false;
chk.last_pcnt = 0;
chk.fadeout_time = fadeout_time;
chk.fadeFunction = function () {
var _local1 = this;
var _local2 = 100 * (1 - ((getTimer() - _local1.fadeout_start) / _local1.fadeout_time));
if (_local2 > 0) {
_local1._parent._alpha = _local2;
} else {
var _local3 = _local1._parent._parent;
MochiAd.unload(_local3);
delete _local1.onEnterFrame;
}
};
mc.lc.adjustProgress = function (msec) {
var _local1 = this.mc._mochiad_wait;
_local1.server_control = true;
_local1.started = getTimer();
_local1.ad_msec = msec;
};
chk.onEnterFrame = function () {
var _local1 = this;
var _clip = _local1._parent._parent;
var ad_clip = _local1._parent._mochiad_ctr;
var elapsed = (getTimer() - _local1.started);
var _local3 = false;
var clip_total = _clip.getBytesTotal();
var clip_loaded = _clip.getBytesLoaded();
var clip_pcnt = ((100 * clip_loaded) / clip_total);
var ad_pcnt = ((100 * elapsed) / chk.ad_msec);
var _inside = _local1._mochiad_bar._inside;
var _local2 = Math.min(100, Math.min(clip_pcnt || 0, ad_pcnt));
_local2 = Math.max(_local1.last_pcnt, _local2);
_local1.last_pcnt = _local2;
_inside._xscale = _local2;
if (!chk.showing) {
var total = ad_clip.getBytesTotal();
if ((total > 0) || (typeof(total) == "undefined")) {
chk.showing = true;
chk.started = getTimer();
} else if (elapsed > chk.ad_timeout) {
_local3 = true;
}
}
if (elapsed > chk.ad_msec) {
_local3 = true;
}
if (((clip_total > 0) && (clip_loaded >= clip_total)) && (_local3)) {
if (_local1.server_control) {
delete _local1.onEnterFrame;
} else {
_local1.fadeout_start = getTimer();
_local1.onEnterFrame = chk.fadeFunction;
}
}
};
return(undefined);
}, showTimedAd:function (options) {
var _local1 = this;
var _local2 = options;
var DEFAULTS = {clip:_root, ad_msec:11000, ad_timeout:2000, fadeout_time:250, regpt:"o", method:"showTimedAd"};
_local2 = MochiAd._parseOptions(_local2, DEFAULTS);
var clip = _local2.clip;
var ad_msec = _local2.ad_msec;
delete _local2.ad_msec;
var ad_timeout = _local2.ad_timeout;
delete _local2.ad_timeout;
var fadeout_time = _local2.fadeout_time;
delete _local2.fadeout_time;
if (!MochiAd.load(_local2)) {
return(null);
}
clip.stop();
var mc = clip._mochiad;
mc.onUnload = function () {
this._parent.play();
};
var wh = MochiAd._getRes(_local2);
var w = wh[0];
var h = wh[1];
mc._x = w * 0.5;
mc._y = h * 0.5;
var chk = mc.createEmptyMovieClip("_mochiad_wait", 3);
chk.ad_msec = ad_msec;
chk.ad_timeout = ad_timeout;
chk.started = getTimer();
chk.showing = false;
chk.fadeout_time = fadeout_time;
chk.fadeFunction = function () {
var _local1 = this;
var _local2 = 100 * (1 - ((getTimer() - _local1.fadeout_start) / _local1.fadeout_time));
if (_local2 > 0) {
_local1._parent._alpha = _local2;
} else {
var _local3 = _local1._parent._parent;
MochiAd.unload(_local3);
delete _local1.onEnterFrame;
}
};
mc.lc.adjustProgress = function (msec) {
var _local1 = this.mc._mochiad_wait;
_local1.server_control = true;
_local1.started = getTimer();
_local1.ad_msec = msec - 250;
};
chk.onEnterFrame = function () {
var _local1 = this;
var ad_clip = _local1._parent._mochiad_ctr;
var elapsed = (getTimer() - _local1.started);
var _local2 = false;
if (!chk.showing) {
var _local3 = ad_clip.getBytesTotal();
if ((_local3 > 0) || (typeof(_local3) == "undefined")) {
chk.showing = true;
chk.started = getTimer();
} else if (elapsed > chk.ad_timeout) {
_local2 = true;
}
}
if (elapsed > chk.ad_msec) {
_local2 = true;
}
if (_local2) {
if (_local1.server_control) {
delete _local1.onEnterFrame;
} else {
_local1.fadeout_start = getTimer();
_local1.onEnterFrame = _local1.fadeFunction;
}
}
};
return(undefined);
}, load:function (options) {
var _local1 = options;
var DEFAULTS = {clip:_root, server:"http://x.mochiads.com/srv/1/", method:"load", depth:10333, id:"_UNKNOWN_"};
_local1 = MochiAd._parseOptions(_local1, DEFAULTS);
_local1.swfv = _local1.clip.getSWFVersion() || 6;
_local1.mav = "1.3";
var clip = _local1.clip;
if (!MochiAd._isNetworkAvailable()) {
return(false);
}
if (clip._mochiad_loaded) {
return(false);
}
var depth = _local1.depth;
delete _local1.depth;
var mc = clip.createEmptyMovieClip("_mochiad", depth);
var wh = MochiAd._getRes(_local1);
_local1.res = (wh[0] + "x") + wh[1];
_local1.server = _local1.server + _local1.id;
delete _local1.id;
clip._mochiad_loaded = true;
var _local2 = mc.createEmptyMovieClip("_mochiad_ctr", 1);
for (var k in _local1) {
_local2[k] = _local1[k];
}
if (clip._url.indexOf("http") != 0) {
_local1.no_page = true;
}
var server = _local2.server;
delete _local2.server;
var hostname = server.split("/")[2].split(":")[0];
if (System.security) {
if (System.security.allowDomain) {
System.security.allowDomain("*");
System.security.allowDomain(hostname);
}
if (System.security.allowInsecureDomain) {
System.security.allowInsecureDomain("*");
System.security.allowInsecureDomain(hostname);
}
}
mc.onEnterFrame = function () {
var _local1 = this;
if (_local1._mochiad_ctr._url != _local1._url) {
_local1.onEnterFrame = function () {
var _local1 = this;
if (!_local1._mochiad_ctr) {
delete _local1.onEnterFrame;
MochiAd.unload(_local1._parent);
}
};
}
};
var _local3 = new LocalConnection();
var name = ["", Math.floor(new Date().getTime()), random(999999)].join("_");
_local3.mc = mc;
_local3.name = name;
_local3.hostname = hostname;
_local3.allowDomain = function (d) {
return(true);
};
_local3.allowInsecureDomain = _local3.allowDomain;
_local3.connect(name);
mc.lc = _local3;
_local2.lc = name;
_local2.st = getTimer();
_local2.loadMovie(server + ".swf", "POST");
return(mc);
}, unload:function (clip) {
var _local1 = clip;
if (typeof(_local1) == "undefined") {
_local1 = _root;
}
if (_local1.clip && (_local1.clip._mochiad)) {
_local1 = _local1.clip;
}
if (!_local1._mochiad) {
return(false);
}
_local1._mochiad.removeMovieClip();
delete _local1._mochiad_loaded;
delete _local1._mochiad;
return(true);
}, _isNetworkAvailable:function () {
if (System.security) {
var _local1 = System.security;
if (_local1.sandboxType == "localWithFile") {
return(false);
}
}
return(true);
}, _getRes:function (options) {
var _local3 = options.clip.getBounds();
var _local2 = 0;
var _local1 = 0;
if (typeof(options.res) != "undefined") {
var xy = options.res.split("x");
_local2 = parseFloat(xy[0]);
_local1 = parseFloat(xy[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]);
}, _parseOptions:function (options, defaults) {
var _local3 = {};
for (var k in defaults) {
_local3[k] = defaults[k];
}
if (options) {
for (var k in options) {
_local3[k] = options[k];
}
}
if (_root.mochiad_options) {
var pairs = _root.mochiad_options.split("&");
var _local1 = 0;
while (_local1 < pairs.length) {
var _local2 = pairs[_local1].split("=");
_local3[unescape(_local2[0])] = unescape(_local2[1]);
_local1++;
}
}
return(_local3);
}};
MochiAd.showPreloaderAd({id:"0d2e3ae14c8d8704", res:"550x400"});
Frame 8
//if(){}
lv = 1;
lst = 30;
plus = 100;
sc = 0;
game = 0;
ayb = random(7) + 1;
sc1 = "Score:";
locdatnam = SharedObject.getLocal("babycalthrowstuff");
hiscore = locdatnam.data.hsc;
if (hiscore == undefined) {
hiscore = 0;
}
lochiscore = "Local hi-score " + hiscore;
MovieClip.prototype.took = function () {
with (_root) {
ays++;
if (ays == 1) {
dms.gotoAndPlay(5);
}
if (ays == 2) {
dms.gotoAndPlay(7);
ays = 0;
}
}
};
MovieClip.prototype.ubegay = function () {
with (_root) {
ayb = ayb + (random(3) + 1);
if (ayb > 7) {
ayb = ayb - 7;
}
if (ayb == 1) {
dms.gotoAndPlay(13);
}
if (ayb == 2) {
dms.gotoAndPlay(15);
}
if (ayb == 3) {
dms.gotoAndPlay(17);
}
if (ayb == 4) {
dms.gotoAndPlay(19);
}
if (ayb == 5) {
dms.gotoAndPlay(21);
}
if (ayb == 6) {
dms.gotoAndPlay(23);
}
if (ayb == 7) {
dms.gotoAndPlay(25);
}
}
};
Frame 9
//if(){}
stop();
Frame 10
//if(){}
stop();
Frame 13
//if(){}
hiscorett = "Hi-Score:";
if (sc >= hiscore) {
hiscore = sc;
hiscorett = "and you made a Hi-Score!";
locdatnam.data.hsc = hiscore;
locdatnam.flush();
}
stop();
Frame 20
//if(){}
name = locdatnam.data.name;
stop();
Frame 21
//if(){}
if (name == undefined) {
gotoAndPlay (20);
}
Frame 22
//if(){}
locdatnam.data.name = name;
locdatnam.flush();
if (submit == 2) {
allname.filename = "babycalthrow.plr";
allname.scoresize = 101;
allname.action = "INSERT";
allname.viewtype = "FLASH";
allname.winname = _root.name;
allname.winscore = _root.sc;
allname.loadVariables("../gbplayers.php", "GET");
submit = 1;
}
Frame 26
//if(){}
if (submit == 1) {
scoretable.filename = "babycalthrow.sco";
scoretable.scoresize = 10;
scoretable.action = "INSERT";
scoretable.viewtype = "FLASH";
scoretable.winname = _root.name;
scoretable.winscore = _root.sc;
scoretable.loadVariables("../gbscores.php", "GET");
submit = 0;
}
Frame 28
//if(){}
gotoAndStop (29);
Frame 30
//if(){}
gotoAndStop (29);
Symbol 12 MovieClip Frame 1
//if(){}
myColor = new Color(tex);
myColor.setTransform(_parent._parent.myCol);
Symbol 16 MovieClip Frame 1
//if(){}
myColor = new Color(tex);
myColor.setTransform(_parent._parent.myCol);
Symbol 42 Button
on (release) {
//if(){}
_root.sfx = 0;
_root.sof.gotoAndStop(2);
gotoAndStop (1);
}
Symbol 43 MovieClip Frame 1
//if(){}
if (_root.sfx == 2) {
gotoAndStop (2);
} else {
stop();
}
Symbol 48 Button
on (release) {
//if(){}
_root.sfx = 2;
_root.son.gotoAndStop(2);
gotoAndStop (1);
}
Symbol 49 MovieClip Frame 1
//if(){}
if (_root.sfx != 2) {
gotoAndStop (2);
} else {
stop();
}
Symbol 50 Button
on (release) {
//if(){}
_root.mfx = 0;
_root.mof.gotoAndStop(2);
gotoAndStop (1);
}
Symbol 51 MovieClip Frame 1
//if(){}
if (_root.mfx == 2) {
gotoAndStop (2);
} else {
stop();
}
Symbol 52 Button
on (release) {
//if(){}
_root.mfx = 2;
_root.mon.gotoAndStop(2);
gotoAndStop (1);
}
Symbol 53 MovieClip Frame 1
//if(){}
if (_root.mfx != 2) {
gotoAndStop (2);
} else {
stop();
}
Symbol 59 Button
on (release) {
//if(){}
_root.gotoAndPlay(10);
}
Symbol 66 MovieClip Frame 1
//if(){}
this.loadMovie("http://www.gamebalance.com/bannernetwork/bannernetwork.swf");
Symbol 67 MovieClip Frame 1
//if(){}
linecolor = 2;
topcolor = 6260069 /* 0x5F8565 */;
maincolor = 11979707 /* 0xB6CBBB */;
moregamescolor = 16777215 /* 0xFFFFFF */;
moregamesshadow = 3031345 /* 0x2E4131 */;
titlecolor = 0;
descriptioncolor = 2833452 /* 0x2B3C2C */;
hostname = "gamebalance.com";
if (System.security.allowDomain) {
System.security.allowDomain("*");
System.security.allowDomain(hostname);
}
if (System.security.allowInsecureDomain) {
System.security.allowInsecureDomain("*");
System.security.allowInsecureDomain(hostname);
}
Symbol 74 MovieClip Frame 1
//if(){}
_root.game = 1;
Symbol 74 MovieClip Frame 2
!!!ERROR
Symbol 75 MovieClip Frame 1
!!!ERROR
Symbol 79 MovieClip Frame 1
!!!ERROR
Symbol 79 MovieClip Frame 2
!!!ERROR
Symbol 79 MovieClip Frame 8
!!!ERROR
Symbol 80 MovieClip Frame 17
!!!ERROR
Symbol 81 MovieClip Frame 1
!!!ERROR
Symbol 82 Button
on (press) {
!!!ERROR
Symbol 83 MovieClip Frame 13
!!!ERROR
Symbol 84 MovieClip Frame 17
!!!ERROR
Symbol 90 MovieClip Frame 13
!!!ERROR
Symbol 90 MovieClip Frame 15
!!!ERROR
Symbol 91 MovieClip Frame 13
!!!ERROR
Symbol 91 MovieClip Frame 15
!!!ERROR
Symbol 92 MovieClip Frame 1
!!!ERROR
Symbol 92 MovieClip Frame 2
!!!ERROR
Symbol 92 MovieClip Frame 5
!!!ERROR
Symbol 92 MovieClip Frame 6
!!!ERROR
Symbol 92 MovieClip Frame 15
!!!ERROR
Symbol 92 MovieClip Frame 20
!!!ERROR
Symbol 92 MovieClip Frame 21
!!!ERROR
Symbol 92 MovieClip Frame 22
!!!ERROR
Symbol 92 MovieClip Frame 23
!!!ERROR
Symbol 92 MovieClip Frame 26
!!!ERROR
Symbol 92 MovieClip Frame 27
!!!ERROR
Symbol 92 MovieClip Frame 29
!!!ERROR
Symbol 92 MovieClip Frame 30
!!!ERROR
Symbol 92 MovieClip Frame 32
!!!ERROR
Symbol 92 MovieClip Frame 33
!!!ERROR
Symbol 92 MovieClip Frame 34
!!!ERROR
Symbol 92 MovieClip Frame 35
!!!ERROR
Symbol 93 MovieClip Frame 1
!!!ERROR
Symbol 93 MovieClip Frame 2
!!!ERROR
Symbol 93 MovieClip Frame 3
!!!ERROR
Symbol 93 MovieClip Frame 11
!!!ERROR
Symbol 93 MovieClip Frame 15
!!!ERROR
Symbol 93 MovieClip Frame 16
!!!ERROR
Symbol 96 MovieClip Frame 1
!!!ERROR
Symbol 96 MovieClip Frame 2
!!!ERROR
Symbol 102 MovieClip Frame 1
!!!ERROR
Symbol 102 MovieClip Frame 2
!!!ERROR
Symbol 102 MovieClip Frame 3
!!!ERROR
Symbol 102 MovieClip Frame 15
!!!ERROR
Symbol 104 MovieClip Frame 1
!!!ERROR
Symbol 120 MovieClip Frame 1
!!!ERROR
Symbol 120 MovieClip Frame 2
!!!ERROR
Symbol 120 MovieClip Frame 4
!!!ERROR
Symbol 120 MovieClip Frame 6
!!!ERROR
Symbol 120 MovieClip Frame 8
!!!ERROR
Symbol 120 MovieClip Frame 10
!!!ERROR
Symbol 120 MovieClip Frame 12
!!!ERROR
Symbol 120 MovieClip Frame 14
!!!ERROR
Symbol 120 MovieClip Frame 16
!!!ERROR
Symbol 120 MovieClip Frame 18
!!!ERROR
Symbol 120 MovieClip Frame 20
!!!ERROR
Symbol 120 MovieClip Frame 22
!!!ERROR
Symbol 120 MovieClip Frame 24
!!!ERROR
Symbol 120 MovieClip Frame 26
!!!ERROR
Symbol 120 MovieClip Frame 28
!!!ERROR
Symbol 120 MovieClip Frame 30
!!!ERROR
Symbol 125 MovieClip Frame 1
!!!ERROR
Symbol 125 MovieClip Frame 2
!!!ERROR
Symbol 127 MovieClip Frame 1
!!!ERROR
Symbol 127 MovieClip Frame 2
!!!ERROR
Symbol 131 MovieClip Frame 1
!!!ERROR
Symbol 132 MovieClip Frame 1
!!!ERROR
Symbol 132 MovieClip Frame 2
!!!ERROR
Symbol 132 MovieClip Frame 3
!!!ERROR
Symbol 133 MovieClip Frame 1
!!!ERROR
Symbol 133 MovieClip Frame 2
!!!ERROR
Symbol 138 MovieClip Frame 1
!!!ERROR
Symbol 138 MovieClip Frame 2
!!!ERROR
Symbol 140 MovieClip Frame 1
!!!ERROR
Symbol 140 MovieClip Frame 2
!!!ERROR
Symbol 140 MovieClip Frame 3
!!!ERROR
Symbol 147 MovieClip Frame 1
!!!ERROR
Symbol 147 MovieClip Frame 2
!!!ERROR
Symbol 154 Button
on (release) {
!!!ERROR
Symbol 158 Button
on (release) {
!!!ERROR
Symbol 159 MovieClip Frame 1
!!!ERROR
Symbol 159 MovieClip Frame 2
!!!ERROR
Symbol 164 Button
on (release) {
!!!ERROR
Symbol 201 MovieClip Frame 1
!!!ERROR
Symbol 201 MovieClip Frame 2
!!!ERROR
Symbol 201 MovieClip Frame 3
!!!ERROR
Symbol 204 MovieClip Frame 1
!!!ERROR
Symbol 204 MovieClip Frame 2
!!!ERROR
Symbol 204 MovieClip Frame 3
!!!ERROR
Symbol 204 MovieClip Frame 4
!!!ERROR
Symbol 205 MovieClip Frame 1
!!!ERROR
Symbol 206 MovieClip Frame 4
!!!ERROR
Symbol 206 MovieClip Frame 5
!!!ERROR
Symbol 206 MovieClip Frame 7
!!!ERROR