Frame 1
MochiAd.showPreloaderAd({id:"97a9c8a98df322a2", res:"400x300"});
Frame 2
bytes_loaded = Math.round(this.getBytesLoaded());
bytes_total = Math.round(this.getBytesTotal());
getPercent = bytes_loaded / bytes_total;
this.loadBar._width = getPercent * 100;
this.loadText = Math.round(getPercent * 100) + "%";
if (bytes_loaded == bytes_total) {
this.gotoAndPlay(5);
}
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);
}
__com_mochibot__("5e4a2e7b", this, 10301, true);
Frame 3
this.gotoAndPlay(1);
Frame 4
gotoAndPlay ("Scene2");
Frame 5
System.useCodepage = true;
var my_url = this._url.slice(0, 16);
var my_url2 = this._url.slice(0, 21);
my_url_check = function () {
};
my_url_check();
Stage.scaleMode = "noScale";
Stage.showMenu = false;
secureMovie = new Object();
secureMovie.auth_ret = true;
Frame 6
function StopIdolSound() {
myIdolSound.stop();
}
my_url_check();
stop();
stopAllSounds();
sounds = new Array();
var i = 0;
while (i < 20) {
this["so" + i] = new Sound(this);
this["so" + i].attachSound("so" + i);
i++;
}
start_bt.onRelease = function () {
gotoAndStop (8);
};
help_bt.onRelease = function () {
gotoAndStop (7);
};
start_bt.onRollOver = function () {
so8.start(0, 1);
};
help_bt.onRollOver = function () {
so8.start(0, 1);
};
_root.createEmptyMovieClip("sound_idol", this.getNextHighestDepth());
myIdolSound = new Sound(sound_Idol);
myIdolSound.attachSound("sound am-idol");
myIdolSound.start(0, 1000);
Frame 7
my_url_check();
scroll_up_bt.useHandCursor = false;
scroll_down_bt.useHandCursor = false;
scroll_dot.useHandCursor = false;
scroll_bar.useHandCursor = false;
scroll_up_bt.onPress = function () {
this.onEnterFrame = function () {
help_txt.scroll--;
scroll_dot._y = 90 + (105 * ((help_txt.scroll - 1) / (help_txt.maxscroll - 1)));
};
};
scroll_down_bt.onPress = function () {
this.onEnterFrame = function () {
help_txt.scroll++;
scroll_dot._y = 90 + (105 * ((help_txt.scroll - 1) / (help_txt.maxscroll - 1)));
};
};
scroll_up_bt.onRelease = (scroll_up_bt.onReleaseOutside = function () {
delete this.onEnterFrame;
make_scroll_dot();
});
scroll_down_bt.onRelease = (scroll_down_bt.onReleaseOutside = function () {
delete this.onEnterFrame;
make_scroll_dot();
});
scroll_dot._x = 213.5;
scroll_dot.onPress = function () {
this.startDrag(false, 213.5, 90, 213.5, 195);
this.onEnterFrame = function () {
help_txt.scroll = Math.round(help_txt.maxscroll * ((this._y - 90) / 105));
};
};
scroll_dot.onRelease = (scroll_dot.onReleaseOutside = function () {
this.stopDrag();
make_scroll_dot();
});
scroll_bar.onPress = function () {
scroll_dot._y = this._parent._ymouse + 7;
help_txt.scroll = help_txt.maxscroll * ((scroll_dot._y - 90) / 105);
};
make_scroll_dot = function () {
scroll_dot.onEnterFrame = function () {
this._y = 90 + (105 * ((help_txt.scroll - 1) / (help_txt.maxscroll - 1)));
};
};
start_bt.onRelease = function () {
gotoAndStop (8);
};
start_bt.onRollOver = function () {
so8.start(0, 1);
};
make_scroll_dot();
Frame 8
my_url_check();
var score = 0;
plus_score = function (num) {
if (onGameFlag) {
score = score + num;
if (score < 0) {
score = 0;
}
if (onGameFlag) {
var a_score = String(score).split("").reverse();
var i = 0;
while (i < a_score.length) {
eval ("score_board.s" + i).gotoAndStop(parseInt(a_score[i]) + 1);
i++;
}
}
}
};
reset_mission = function () {
var reset_mission = String(_level0.MISSION_NUM[_level0.LEVEL - 1]).split("").reverse();
var i = 0;
while (i < reset_mission.length) {
eval ("_level0.mission_board.s" + i).gotoAndStop(parseInt(reset_mission[i]) + 1);
i++;
}
};
reset_life = function () {
var i = 0;
while (i < 10) {
eval ("_level0.lifeBar.heart" + i).gotoAndStop(2);
i++;
}
var i = 0;
while (i < LIFE) {
eval ("_level0.lifeBar.heart" + i).gotoAndStop(1);
i++;
}
};
minus_mission = function (num) {
if (onGameFlag) {
_level0.MISSION_NUM[_level0.LEVEL - 1] = _level0.MISSION_NUM[_level0.LEVEL - 1] - 1;
if (_level0.MISSION_NUM[_level0.LEVEL - 1] < 0) {
_level0.MISSION_NUM[_level0.LEVEL - 1] = 0;
}
var a_mission = String(_level0.MISSION_NUM[_level0.LEVEL - 1]).split("").reverse();
if (_level0.MISSION_NUM[_level0.LEVEL - 1] < 10) {
_level0.mission_board.s1.gotoAndStop(1);
}
var i = 0;
while (i < a_mission.length) {
eval ("_level0.mission_board.s" + i).gotoAndStop(parseInt(a_mission[i]) + 1);
i++;
}
}
};
reset_level = function () {
_level0.LEVEL = 1;
var a_score = String(_level0.LEVEL).split("").reverse();
var i = 0;
while (i < 2) {
eval ("_level0.level_board.s" + i).gotoAndStop(parseInt(a_score[i]) + 1);
i++;
}
};
plus_level = function () {
_level0.LEVEL = _level0.LEVEL + 1;
if (_level0.LEVEL < 1) {
_level0.LEVEL = 1;
}
var a_score = String(_level0.LEVEL).split("").reverse();
var i = 0;
while (i < a_score.length) {
eval ("_level0.level_board.s" + i).gotoAndStop(parseInt(a_score[i]) + 1);
i++;
}
};
sound_play = function (s_num, r_num, t_num) {
if (onGameFlag || (t_num == 1)) {
if (soundFlag && (!pauseFlag)) {
this["so" + s_num].start(0, r_num);
}
}
};
var end_score_check = 0;
make_end_score_board = function () {
sound_play(10, 1, 1);
score_board.onEnterFrame = function () {
plus_end_score(Math.round(score / 40));
};
};
plus_end_score = function (num, re_flag) {
end_score_check = end_score_check + num;
if (end_score_check >= score) {
delete score_board.onEnterFrame;
end_score_check = score;
if (!re_flag) {
so10.stop("so10");
plus_end_score(0, true);
angel_send_score();
_level0.game_end_timer.gotoAndPlay(2);
}
}
};
var game_start_time = getTimer();
var score_send_ok = false;
angel_send_score = function () {
sendVars = new LoadVars();
recVars = new LoadVars();
sendVars.uid = uid;
sendVars.pt = score;
sendVars.rt = Math.floor((getTimer() - game_start_time) / 1000);
sendVars.ot1 = ot1;
sendVars.ot2 = ot2;
sendVars.ot3 = ot3;
sendVars.ot4 = ot4;
sendVars.ot5 = ot5;
var i = 1;
while (i < 6) {
if (((eval ("ot" + i) == null) || (eval ("ot" + i) == undefined)) || (eval ("ot" + i) == "")) {
sendVars["ot" + i] = "";
} else {
sendVars["ot" + i] = _root["ot" + i];
}
i++;
}
if (((uid != undefined) && (uid != null)) && (uid != "")) {
sendVars.sendAndLoad("http://www.gameangel.com/System/gameangel/game_rank.proc.php", recVars, "POST");
recVars.onLoad = function (success) {
_level0.game_over_m.nickname.text = recVars.nick;
_level0.game_over_m.ranking.text = recVars.rank;
};
} else {
_level0.game_over_m.nickname.text = "??????";
_level0.game_over_m.ranking.text = "0";
}
_level0.game_over_m.point.text = score;
game_over_m.angel_restart_bt._visible = true;
game_over_m.angel_restart_bt.onPress = function () {
this.gotoAndStop(2);
};
game_over_m.angel_restart_bt.onRelease = function () {
end_clear();
_root.gotoAndStop(2);
};
game_over_m.angel_restart_bt.onReleaseOutside = function () {
end_clear();
_root.gotoAndStop(2);
};
};
end_clear = function () {
var i = 0;
for (var obj in _root) {
if ((obj != secureMovie) && (obj != game_end_timer)) {
eval (obj).removeMovieClip();
eval (obj).swapDepths(-5000 + i);
}
}
};
pause_spk.play_txt.onRollOver = function () {
if (onGameFlag) {
this.gotoAndStop(2);
}
};
pause_spk.play_txt.onRollOut = function () {
if (onGameFlag) {
this.gotoAndStop(1);
}
};
pause_spk.play_txt.onRelease = (pause_spk.play_txt.onReleaseOutside = function () {
if (onGameFlag) {
this._visible = false;
pauseFlag = false;
pause_screen._visible = false;
if (!_level0.bonus_stage_flag) {
sound_play(0, 99999);
}
pause_spk.pause_txt._visible = true;
if (pause_spk.pause_bt._currentframe == 1) {
pause_spk.pause_bt.gotoAndStop(2);
} else {
pause_spk.pause_bt.gotoAndStop(1);
}
}
});
pause_spk.pause_txt.onRollOver = function () {
if (onGameFlag) {
this.gotoAndStop(2);
}
};
pause_spk.pause_txt.onRollOut = function () {
if (onGameFlag) {
this.gotoAndStop(1);
}
};
pause_spk.pause_txt.onRelease = (pause_spk.pause_txt.onReleaseOutside = function () {
if (onGameFlag) {
stopAllSounds();
pauseFlag = true;
pause_screen._visible = true;
this._visible = false;
pause_spk.play_txt._visible = true;
if (pause_spk.pause_bt._currentframe == 1) {
pause_spk.pause_bt.gotoAndStop(2);
} else {
pause_spk.pause_bt.gotoAndStop(1);
}
}
});
pause_spk.on_txt.onRollOver = function () {
this.gotoAndStop(2);
};
pause_spk.on_txt.onRollOut = function () {
this.gotoAndStop(1);
};
pause_spk.on_txt.onRelease = (pause_spk.on_txt.onReleaseOutside = function () {
soundFlag = false;
stopAllSounds();
this._visible = false;
pause_spk.off_txt._visible = true;
if (pause_spk.spk_bt._currentframe == 1) {
pause_spk.spk_bt.gotoAndStop(2);
} else {
pause_spk.spk_bt.gotoAndStop(1);
}
});
pause_spk.off_txt.onRollOver = function () {
this.gotoAndStop(2);
};
pause_spk.off_txt.onRollOut = function () {
this.gotoAndStop(1);
};
pause_spk.off_txt.onRelease = (pause_spk.off_txt.onReleaseOutside = function () {
soundFlag = true;
if (!_level0.bonus_stage_flag) {
sound_play(0, 9999);
}
this._visible = false;
pause_spk.on_txt._visible = true;
if (pause_spk.spk_bt._currentframe == 1) {
pause_spk.spk_bt.gotoAndStop(2);
} else {
pause_spk.spk_bt.gotoAndStop(1);
}
});
stop();
bonusStage.swapDepths(15000);
pause_screen.swapDepths(15002);
interface_bg.swapDepths(15003);
pause_spk.swapDepths(15013);
score_board.swapDepths(15005);
ready_m.swapDepths(15006);
timeBar.swapDepths(15007);
bonus_stage.swapDepths(15008);
ready_m.gotoAndPlay(2);
game_over_m.swapDepths(5008);
game_end_timer.swapDepths(8638);
ch_position.swapDepths(51351);
clear_m.swapDepths(15009);
time_over.swapDepths(15010);
hurry_up_m.swapDepths(15011);
level_board.swapDepths(15012);
lifeBar.swapDepths(15001);
mission_board.swapDepths(15014);
life_bonus_m.swapDepths(15015);
pause_spk.play_txt._visible = false;
pause_spk.off_txt._visible = false;
pause_screen._visible = false;
bonusStage._visible = false;
bonus_stage._visible = false;
time_over._visible = false;
life_bonus_m._visible = false;
CP.swapDepths(21186);
var soundFlag = true;
var pauseFlag = false;
var onGameFlag = false;
var bonus_stage_flag = false;
var myScore = 0;
var PLAY_TIME_RANGE = new Array(40, 40, 42, 43, 45, 46, 47, 48, 49, 50, 50, 49, 49, 48, 48, 48, 48, 48, 47, 46, 46, 47, 48, 48, 49, 49, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50);
var MISSION_NUM = new Array(10, 15, 18, 20, 22, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60, 60);
var SPEED = 10;
var LEVEL = 1;
var HIDE_DELAY_RANGE = new Array(50, 150);
var SHOW_DELAY_RANGE = new Array(2, 30);
var LIFE = 3;
var PEANUT_NUM = new Array(5, 6, 7, 8);
var clear_peanut = PEANUT_NUM[0];
var MISSION_SUCCESS = false;
var BONUS_LEVEL = 1;
var BONUS_WIN = false;
var BONUS_TIME_RANGE = new Array(50, 55, 60, 65, 70);
hammerMake = function () {
attachMovie("hammer_id", "hammer", 18150, {_x:_root._xmouse, _y:_root._ymouse});
};
makePeanut = function () {
var i = 0;
if (LEVEL <= 5) {
i = 0;
while (i < 5) {
attachMovie("peanut_id", "peanut" + i, 848 + i, {_x:eval ("_level0.ch_position.0-" + i)._x, _y:eval ("_level0.ch_position.0-" + i)._y + 80});
i++;
}
} else if (LEVEL <= 10) {
i = 0;
while (i < 6) {
attachMovie("peanut_id", "peanut" + i, 848 + i, {_x:eval ("_level0.ch_position.1-" + i)._x, _y:eval ("_level0.ch_position.1-" + i)._y + 80});
i++;
}
} else if (LEVEL <= 20) {
i = 0;
while (i < 7) {
attachMovie("peanut_id", "peanut" + i, 848 + i, {_x:eval ("_level0.ch_position.2-" + i)._x, _y:eval ("_level0.ch_position.2-" + i)._y + 80});
i++;
}
} else if (LEVEL >= 30) {
i = 0;
while (i < 8) {
attachMovie("peanut_id", "peanut" + i, 848 + i, {_x:eval ("_level0.ch_position.3-" + i)._x, _y:eval ("_level0.ch_position.3-" + i)._y + 80});
i++;
}
}
};
randRange = function (min, max) {
var _local1 = Math.floor(Math.random() * ((max - min) + 1)) + min;
return(_local1);
};
clear_obj = function () {
var _local2 = 0;
while (_local2 < clear_peanut) {
this["peanut" + _local2].removeMovieClip();
_local2++;
}
};
removeBonus = function () {
bonusStage.gotoAndStop(1);
bonusStage.wandoo_path.gotoAndStop(1);
bonusStage._visible = false;
_level0.bonus_stage_flag = false;
_level0.CP.timeBarReset();
hammer.gotoAndStop(1);
_level0.BONUS_WIN = false;
};
make_bonus_stage = function () {
clear_obj();
bonusStage._visible = true;
bonus_stage._visible = true;
hammer.gotoAndStop(9);
bonus_stage.gotoAndPlay(2);
_level0.bonus_stage_flag = true;
_level0.CP.bonusTimeBarReset();
};
make_next_stage = function () {
_level0.MISSION_SUCCESS = false;
clear_obj();
plus_level(1);
ready_m.gotoAndPlay(2);
};
start_game = function () {
sound_play(0, 99999, 1);
onGameFlag = true;
_level0.CP.PeanutReset();
makePeanut();
reset_mission();
hammerMake();
};
game_over = function () {
stopAllSounds();
_level0.game_over_m.gotoAndPlay(2);
};
reset_level();
reset_life();
Instance of Symbol 211 MovieClip "ch_position" in Frame 8
onClipEvent (load) {
this._visible = false;
}
Frame 9
function loaded() {
shop = this.firstChild.childNodes;
img_ea = shop.length;
gotoAndStop (10);
}
stop();
fscommand ("allowscale", false);
System.useCodepage = true;
xml_obj = new XML();
xml_obj.onLoad = loaded;
xml_obj.ignoreWhite = true;
xml_obj.load("http://zaza.dk/gameads.xml");
_root.r_time = 2;
_root.speed = 0.2;
_root.img_w = 125;
_root.img_h = 125;
_root.over_num = 1;
_root.mode = "s";
stop();
Frame 10
stop();
Symbol 17 MovieClip [damageFX_id] Frame 4
this.removeMovieClip();
Symbol 23 MovieClip [egg_id] Frame 1
#initclip 13
Object.registerClass("egg_id", Cegg);
#endinitclip
stop();
Instance of Symbol 20 MovieClip "egg_bt" in Symbol 23 MovieClip [egg_id] Frame 1
on (press) {
_root.attachMovie("finished_id", "finished", 18846, {_x:this._parent._x, _y:this._parent._y});
this._parent.removeMovieClip();
}
Symbol 23 MovieClip [egg_id] Frame 23
this.removeMovieClip();
Symbol 27 MovieClip [bird_id] Frame 1
#initclip 8
Object.registerClass("bird_id", Cbird);
#endinitclip
Symbol 27 MovieClip [bird_id] Frame 125
stop();
this.removeMovieClip();
Symbol 34 MovieClip [hammer_id] Frame 1
#initclip 9
Object.registerClass("hammer_id", Chammer);
#endinitclip
stop();
Symbol 34 MovieClip [hammer_id] Frame 8
gotoAndStop (1);
Symbol 38 MovieClip Frame 1
stop();
Symbol 42 MovieClip Frame 1
stop();
Symbol 47 MovieClip Frame 1
stop();
Symbol 48 MovieClip Frame 1
stop();
Symbol 52 MovieClip Frame 1
stop();
Symbol 53 MovieClip [peanut_id] Frame 1
#initclip 10
Object.registerClass("peanut_id", Cpeanut);
#endinitclip
stop();
Instance of Symbol 52 MovieClip "collision" in Symbol 53 MovieClip [peanut_id] Frame 1
on (press) {
if (_level0.onGameFlag && (!_level0.pauseFlag)) {
if (!_level0.MISSION_SUCCESS) {
if (!this._parent.AttackMode) {
_level0.plus_score(20);
_level0.minus_mission(1);
this._parent.bDamge = true;
this._parent.time = 0;
_level0.sound_play(8, 0, 1);
_level0.attachMovie("item_200", "item_200", this._parent.getDepth() + 50, {_x:this._parent._x, _y:this._parent._y - 70});
_level0.attachMovie("damageFX_id", this._parent._name + "FX", this._parent.getDepth() + 400, {_x:_root._xmouse, _y:_root._ymouse});
} else {
_level0.sound_play(19, 0, 1);
_level0.LIFE = _level0.LIFE - 1;
eval ("_level0.lifeBar.heart" + _level0.LIFE).gotoAndStop(2);
this._parent.bDamge = true;
this._parent.time = 0;
}
}
}
}
Symbol 61 MovieClip [item_200] Frame 15
this.removeMovieClip();
Symbol 66 MovieClip [finished_id] Frame 1
#initclip 11
Object.registerClass("finished_id", Cfinished);
#endinitclip
Symbol 66 MovieClip [finished_id] Frame 14
stop();
Symbol 67 MovieClip [Cprocess_id] Frame 1
#initclip 12
Object.registerClass("Cprocess_id", Cprocess);
#endinitclip
Symbol 408 MovieClip [__Packages.MochiAd] Frame 0
class MochiAd
{
function MochiAd () {
}
static function getVersion() {
return("1.5");
}
static function showPreloaderAd(options) {
var _local27 = {clip:_root, ad_timeout:3000, fadeout_time:250, regpt:"o", method:"showPreloaderAd", color:16747008, background:16777161, outline:13994812, ad_started:function () {
this.clip.stop();
}, ad_finished:function () {
this.clip.play();
}};
options = _parseOptions(options, _local27);
var clip = options.clip;
var _local23 = 11000;
var _local26 = options.ad_timeout;
delete options.ad_timeout;
var fadeout_time = options.fadeout_time;
delete options.fadeout_time;
if (!load(options)) {
options.ad_finished();
return(undefined);
}
options.ad_started();
var mc = clip._mochiad;
mc.onUnload = function () {
options.ad_finished();
};
var _local14 = _getRes(options);
var _local4 = _local14[0];
var _local13 = _local14[1];
mc._x = _local4 * 0.5;
mc._y = _local13 * 0.5;
var chk = mc.createEmptyMovieClip("_mochiad_wait", 3);
chk._x = _local4 * -0.5;
chk._y = _local13 * -0.5;
var _local7 = chk.createEmptyMovieClip("_mochiad_bar", 4);
_local7._x = 10;
_local7._y = _local13 - 20;
var _local22 = options.color;
delete options.color;
var _local19 = options.background;
delete options.background;
var _local24 = options.outline;
delete options.outline;
var _local5 = _local7.createEmptyMovieClip("_outline", 1);
_local5.beginFill(_local19);
_local5.moveTo(0, 0);
_local5.lineTo(_local4 - 20, 0);
_local5.lineTo(_local4 - 20, 10);
_local5.lineTo(0, 10);
_local5.lineTo(0, 0);
_local5.endFill();
var _local3 = _local7.createEmptyMovieClip("_inside", 2);
_local3.beginFill(_local22);
_local3.moveTo(0, 0);
_local3.lineTo(_local4 - 20, 0);
_local3.lineTo(_local4 - 20, 10);
_local3.lineTo(0, 10);
_local3.lineTo(0, 0);
_local3.endFill();
_local3._xscale = 0;
var _local6 = _local7.createEmptyMovieClip("_outline", 3);
_local6.lineStyle(0, _local24, 100);
_local6.moveTo(0, 0);
_local6.lineTo(_local4 - 20, 0);
_local6.lineTo(_local4 - 20, 10);
_local6.lineTo(0, 10);
_local6.lineTo(0, 0);
chk.ad_msec = _local23;
chk.ad_timeout = _local26;
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.adLoaded = function (width, height) {
};
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 _local13 = {clip:_root, ad_timeout:2000, fadeout_time:250, regpt:"o", method:"showTimedAd", ad_started:function () {
this.clip.stop();
}, ad_finished:function () {
this.clip.play();
}};
options = _parseOptions(options, _local13);
var clip = options.clip;
var _local10 = 11000;
var _local12 = options.ad_timeout;
delete options.ad_timeout;
var fadeout_time = options.fadeout_time;
delete options.fadeout_time;
if (!load(options)) {
options.ad_finished();
return(undefined);
}
options.ad_started();
var mc = clip._mochiad;
mc.onUnload = function () {
options.ad_finished();
};
var _local5 = _getRes(options);
var _local14 = _local5[0];
var _local11 = _local5[1];
mc._x = _local14 * 0.5;
mc._y = _local11 * 0.5;
var chk = mc.createEmptyMovieClip("_mochiad_wait", 3);
chk.ad_msec = _local10;
chk.ad_timeout = _local12;
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 _allowDomains(server) {
var _local1 = server.split("/")[2].split(":")[0];
if (System.security) {
if (System.security.allowDomain) {
System.security.allowDomain("*");
System.security.allowDomain(_local1);
}
if (System.security.allowInsecureDomain) {
System.security.allowInsecureDomain("*");
System.security.allowInsecureDomain(_local1);
}
}
return(_local1);
}
static function _loadCommunicator(options) {
var _local25 = {clip:_root, com_server:"http://x.mochiads.com/com/1/", method:"loadCommunicator", depth:10337, id:"_UNKNOWN_"};
options = _parseOptions(options, _local25);
options.swfv = options.clip.getSWFVersion() || 6;
options.mav = getVersion();
var _local18 = options.clip;
var _local20 = "_mochiad_com_" + options.id;
if (!_isNetworkAvailable()) {
return(null);
}
if (_local18[_local20]) {
return(_local18[_local20].lc);
}
var _local21 = options.com_server + options.id;
_allowDomains(_local21);
delete options.id;
delete options.com_server;
var _local24 = options.depth;
delete options.depth;
var _local17 = _local18.createEmptyMovieClip(_local20, _local24);
var _local11 = _local17.createEmptyMovieClip("_mochiad_com", 1);
for (var _local15 in options) {
_local11[_local15] = options[_local15];
}
var _local6 = new LocalConnection();
var _local16 = ["", Math.floor(new Date().getTime()), random(999999)].join("_");
_local6.mc = _local17;
_local6.name = _local16;
_local6.allowDomain = function (d) {
return(true);
};
_local6.allowInsecureDomain = _local6.allowDomain;
_local6.connect(_local16);
_local17.lc = _local6;
_local11.lc = _local16;
_local6._id = 0;
_local6._queue = [];
_local6.rpcResult = function (cb) {
cb = parseInt(cb);
var _local4 = this._callbacks[cb];
if (!_local4) {
return(undefined);
}
delete this._callbacks[cb];
var _local5 = [];
var _local3 = 2;
while (_local3 < _local4.length) {
_local5.push(_local4[_local3]);
_local3++;
}
_local3 = 1;
while (_local3 < arguments.length) {
_local5.push(arguments[_local3]);
_local3++;
}
var _local6 = _local4[1];
var _local7 = _local4[0];
if (_local7 && (typeof(_local6) == "string")) {
_local6 = _local7[_local6];
}
if (_local6) {
_local6.apply(_local7, _local5);
}
};
_local6._didConnect = function (endpoint) {
this._endpoint = endpoint;
var _local4 = this._queue;
delete this._queue;
var _local5 = this.doSend;
var _local2 = 0;
while (_local2 < _local4.length) {
var _local3 = _local4[_local2];
_local5.apply(this, _local3);
_local2++;
}
};
_local6.doSend = function (args, cbobj, cbfn) {
if (this._endpoint == null) {
var _local4 = [];
var _local3 = 0;
while (_local3 < arguments.length) {
_local4.push(arguments[_local3]);
_local3++;
}
this._queue.push(_local4);
return(undefined);
}
this._id = this._id + 1;
var _local5 = this._id;
if ((cbfn === undefined) || (cbfn === null)) {
cbfn = cbobj;
}
this._callbacks[_local5] = [cbobj, cbfn];
var _local7 = new LocalConnection();
var _local9 = _local7.send(this._endpoint, "rpc", _local5, args);
};
_local6._callbacks = {};
_local6._callbacks[0] = [_local6, "_didConnect"];
_local11.st = getTimer();
_local11.loadMovie(_local21 + ".swf", "POST");
return(_local6);
}
static function fetchHighScores(options, callbackObj, callbackMethod) {
var _local1 = _loadCommunicator({id:options.id});
if (!_local1) {
return(false);
}
var _local4 = ["fetchHighScores", options];
_local1.doSend(["fetchHighScores", options], callbackObj, callbackMethod);
return(true);
}
static function sendHighScore(options, callbackObj, callbackMethod) {
var _local1 = _loadCommunicator({id:options.id});
if (!_local1) {
return(false);
}
var _local4 = ["sendHighScore", options];
_local1.doSend(["sendHighScore", options], callbackObj, callbackMethod);
return(true);
}
static function load(options) {
var _local13 = {clip:_root, server:"http://x.mochiads.com/srv/1/", method:"load", depth:10333, id:"_UNKNOWN_"};
options = _parseOptions(options, _local13);
options.swfv = options.clip.getSWFVersion() || 6;
options.mav = getVersion();
var _local7 = options.clip;
if (!_isNetworkAvailable()) {
return(null);
}
if (_local7._mochiad_loaded) {
return(null);
}
var _local12 = options.depth;
delete options.depth;
var _local6 = _local7.createEmptyMovieClip("_mochiad", _local12);
var _local11 = _getRes(options);
options.res = (_local11[0] + "x") + _local11[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 _local10 = _local4.server;
delete _local4.server;
var _local14 = _allowDomains(_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 = _local14;
_local5.allowDomain = function (d) {
return(true);
};
_local5.allowInsecureDomain = _local5.allowDomain;
_local5.connect(_local9);
_local6.lc = _local5;
_local4.lc = _local9;
_local4.st = getTimer();
_local4.loadMovie(_local10 + ".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 409 MovieClip [__Packages.Cbird] Frame 0
class Cbird extends MovieClip
{
var delay, removeMovieClip;
function Cbird () {
super();
}
function onLoad() {
delay = _level0.randRange(35, 90);
}
function onEnterFrame() {
if (!_level0.pauseFlag) {
if (birthTime == delay) {
_root.attachMovie("egg_id", "egg", 1000, {_x:(_level0.bird._x + _level0.bird.bird_motion._x) + 70, _y:43});
birthTime = 100;
}
birthTime++;
}
if (!_level0.onGameFlag) {
removeMovieClip();
}
}
var birthTime = 0;
}
Symbol 410 MovieClip [__Packages.Chammer] Frame 0
class Chammer extends MovieClip
{
var _x, _y, _visible, gotoAndPlay;
function Chammer () {
super();
}
function onLoad() {
Mouse.hide();
_x = _root._xmouse;
_y = _root._ymouse;
}
function onEnterFrame() {
if ((((_level0._xmouse < 10) || (_level0._ymouse < 20)) || (_level0._xmouse > 390)) || (_level0._ymouse > 270)) {
Mouse.show();
_visible = false;
} else if ((_level0._xmouse <= 98) && (_level0._ymouse >= 282)) {
Mouse.show();
_visible = false;
} else if ((!_level0.onGameFlag) || (_level0.pauseFlag)) {
Mouse.show();
_visible = false;
} else {
_x = _level0._xmouse;
_y = _level0._ymouse;
Mouse.hide();
_visible = true;
}
}
function onMouseDown() {
if (!_level0.bonus_stage_flag) {
gotoAndPlay(2);
} else if (!_level0.BONUS_WIN) {
_level0.bonusStage.pressBt = true;
}
}
}
Symbol 411 MovieClip [__Packages.Cpeanut] Frame 0
class Cpeanut extends MovieClip
{
var w, b, a, t, temp, motion, prevW, delayTime, showTime, default_position, hide_position, collisionSize, collision, tempface;
function Cpeanut () {
super();
}
function elasticShake(aV, bV, wV, tV) {
w = wV;
b = bV;
a = aV;
t = tV;
w = w * t;
temp = motion._rotation;
motion._rotation = ((a * (motion._rotation - w)) + (b * (prevW - w))) + w;
prevW = temp;
}
function peanutHideDelay() {
delayTime = _level0.randRange(_level0.HIDE_DELAY_RANGE[0], _level0.HIDE_DELAY_RANGE[1] - (_level0.LEVEL * 2));
}
function peanutShowDelay() {
showTime = _level0.randRange(_level0.SHOW_DELAY_RANGE[0], _level0.SHOW_DELAY_RANGE[1]);
}
function peanutHide() {
var i = 1;
while (i < 9) {
eval ("this.motion.face" + i).gotoAndStop(1);
eval ("this.motion.face" + i)._visible = false;
i++;
}
}
function onLoad() {
default_position = motion._y;
hide_position = motion._y + 130;
collisionSize = collision._yscale;
delayTime = _level0.randRange(_level0.HIDE_DELAY_RANGE[0], _level0.HIDE_DELAY_RANGE[1]);
showTime = _level0.randRange(_level0.SHOW_DELAY_RANGE[0], _level0.SHOW_DELAY_RANGE[1]);
motion._y = hide_position;
collision._yscale = 0;
var i = 1;
while (i < 9) {
eval ("this.motion.face" + i)._visible = false;
i++;
}
}
function onEnterFrame() {
if (_level0.onGameFlag && (!_level0.pauseFlag)) {
if (!_level0.MISSION_SUCCESS) {
if (!bDamge) {
if (bShow) {
if (motion._y <= (default_position + 1)) {
bMove = false;
if (time == showTime) {
peanutHideDelay();
bShow = false;
bMove = true;
time = 0;
collision.gotoAndStop(tempface);
eval ("this.motion.face" + tempface).gotoAndStop(2);
}
time++;
} else if (bMove) {
motion._y = motion._y + ((default_position - motion._y) * (0.3 + (_level0.LEVEL / 60)));
if (motion._y <= (default_position + 20)) {
collision._y = motion._y - pint;
collision._yscale = 100 - (((motion._y + Math.abs(default_position)) / 130) * 100);
}
}
} else {
if (bMove) {
if (motion._y >= (hide_position - 0.1)) {
bMove = false;
time = 0;
peanutHide();
_level0.CP.repairPeanut(tempface);
}
motion._y = motion._y + ((hide_position - motion._y) * 0.3);
collision._y = motion._y - pint;
collision._yscale = 100 - (((motion._y + Math.abs(default_position)) / 130) * 100);
}
if (time == delayTime) {
bShow = true;
bMove = true;
time = 0;
peanutShowDelay();
motion._rotation = 0;
peanutHide();
tempface = _level0.CP.randomPeanut();
eval ("this.motion.face" + tempface)._visible = true;
eval ("this.motion.face" + tempface).gotoAndStop(1);
if (tempface == 3) {
AttackMode = true;
} else {
AttackMode = false;
}
collision.gotoAndStop(tempface);
}
time++;
}
} else {
if (!AttackMode) {
eval ("this.motion.face" + tempface).gotoAndStop(3);
if (motion._y >= (hide_position - 2)) {
peanutHide();
_level0.CP.repairPeanut(tempface);
bDamge = false;
bShow = false;
bMove = false;
time = 0;
motion._rotation = 0;
collision.gotoAndStop(tempface);
peanutHideDelay();
} else {
motion._y = motion._y + ((hide_position - motion._y) * (0.3 / time));
}
if (time > 5) {
elasticShake(0.2, -0.6, 4, 1);
time = 5;
} else {
elasticShake(0.2, -0.6, 8, -1);
}
} else {
eval ("this.motion.face" + tempface).gotoAndStop(3);
if (motion._y >= (hide_position - 2)) {
peanutHide();
_level0.CP.repairPeanut(tempface);
bDamge = false;
bShow = false;
bMove = false;
time = 0;
motion._rotation = 0;
collision.gotoAndStop(tempface);
peanutHideDelay();
} else {
motion._y = motion._y + ((hide_position - motion._y) * 0.03);
}
if (time > 5) {
elasticShake(0.2, -0.1, 3, 1);
time = 5;
} else {
elasticShake(0.2, -0.1, 3, -1);
}
}
collision._y = motion._y - pint;
collision._yscale = 0;
time++;
}
}
}
}
var bShow = false;
var bMove = false;
var bDamge = false;
var AttackMode = false;
var time = 0;
var pint = 60;
}
Symbol 412 MovieClip [__Packages.Cfinished] Frame 0
class Cfinished extends MovieClip
{
var _x, _y, removeMovieClip;
function Cfinished () {
super();
}
function onLoad() {
}
function onEnterFrame() {
if (!_level0.pauseFlag) {
if (delay <= 0) {
var tempX;
var tempY;
var gapDistance;
tempX = (((_level0.lifeBar._x + eval ("_level0.lifeBar.heart" + _level0.LIFE)._x) + 22) - _x) * 0.08;
tempY = (((_level0.lifeBar._y + eval ("_level0.lifeBar.heart" + _level0.LIFE)._y) - 3) - _y) * 0.08;
_x = _x + tempX;
_y = _y + tempY;
var gapDistance = Math.sqrt((tempX * tempX) + (tempY * tempY));
if (lifeAdd == 15) {
_level0.life_bonus_m._visible = true;
_level0.life_bonus_m.gotoAndPlay(2);
lifeAdd = 100;
}
if (gapDistance < 1) {
_level0.LIFE++;
eval ("_level0.lifeBar.heart" + (_level0.LIFE - 1)).gotoAndStop(1);
removeMovieClip();
}
delay = 0;
lifeAdd++;
}
delay--;
}
}
var delay = 5;
var lifeAdd = 0;
}
Symbol 413 MovieClip [__Packages.Cprocess] Frame 0
class Cprocess extends MovieClip
{
var randomEggMakeTime;
function Cprocess () {
super();
}
function onLoad() {
i = _level0.SPEED / _level0.PLAY_TIME_RANGE[_level0.LEVEL];
tempPos = _level0.timeBar.gage._x;
tempPos = Math.ceil(tempPos);
randomEggMakeTime = _level0.randRange(80, 200);
}
function repairPeanut(num) {
randomSelect[num - 1][1] = true;
}
function PeanutReset() {
var _local2 = 0;
while (_local2 < randomSelect.length) {
randomSelect[_local2][1] = true;
_local2++;
}
}
function randomPeanut() {
var _local4 = 0;
var _local3 = new Array();
var _local2 = 0;
while (_local2 < randomSelect.length) {
if (randomSelect[_local2][1]) {
_local3.push(randomSelect[_local2][0]);
}
_local2++;
}
_local4 = _local3[_level0.randRange(0, _local3.length - 1)];
randomSelect[_local4 - 1][1] = false;
if (tempPos > -100) {
if (_level0.MISSION_NUM[_level0.LEVEL - 1] > 3) {
if (_local4 != 1) {
_local4 = _local4 - 1;
}
}
}
return(_local4);
}
function eggMake() {
_level0.attachMovie("bird_id", "bird", 867, {_x:419.1, _y:9.4});
}
function bonusTimeBarReset() {
i = _level0.SPEED / _level0.BONUS_TIME_RANGE[_level0.BONUS_LEVEL];
_level0.timeBar.gage._x = -246;
}
function timeBarReset() {
i = _level0.SPEED / _level0.PLAY_TIME_RANGE[_level0.LEVEL];
_level0.timeBar.gage._x = -246;
tempPos = _level0.timeBar.gage._x;
tempPos = Math.ceil(tempPos);
randomEggMakeTime = _level0.randRange(80, 200);
}
function timeBar() {
if (!_level0.pauseFlag) {
_level0.timeBar.gage._x = _level0.timeBar.gage._x + i;
if (!_level0.bonus_stage_flag) {
if (_level0.LEVEL >= 5) {
if (_level0.timeBar.gage._x > tempPos) {
tempPos = _level0.timeBar.gage._x;
tempPos = Math.ceil(tempPos);
if ((_level0.LIFE < 6) && ((randomEggMakeTime * -1) == tempPos)) {
eggMake();
}
}
}
if ((_level0.timeBar.gage._x > -100) && (_level0.timeBar.gage._x < -99)) {
_level0.hurry_up_m.play();
}
if (_level0.timeBar.gage._x >= 0) {
_level0.so10.stop("so10");
_level0.timeBar.gage._x = -246;
_level0.onGameFlag = false;
_level0.game_over();
timeBarGo = false;
}
} else {
if ((_level0.timeBar.gage._x > -100) && (_level0.timeBar.gage._x < -99)) {
_level0.hurry_up_m.play();
}
if (_level0.timeBar.gage._x >= 0) {
_level0.so10.stop("so10");
_level0.timeBar.gage._x = -246;
_level0.bonus_stage_flag = false;
_level0.time_over._visible = true;
_level0.time_over.gotoAndPlay(2);
timeBarReset();
timeBarGo = false;
}
}
}
}
function onEnterFrame() {
if (_level0.LEVEL < 52) {
if (!_level0.bonus_stage_flag) {
if (_level0.LIFE == 0) {
_level0.timeBar.gage._x = 1;
}
if (_level0.MISSION_NUM[_level0.LEVEL - 1] == 0) {
_level0.MISSION_NUM[_level0.LEVEL - 1] = 1000;
_level0.plus_score(Math.ceil((_level0.timeBar.gage._x / -246) * 100));
_level0.clear_m.gotoAndPlay(2);
_level0.MISSION_SUCCESS = true;
timeBarReset();
timeBarGo = false;
} else if (timeBarGo) {
timeBar();
}
} else if ((!_level0.BONUS_WIN) && (timeBarGo)) {
timeBar();
} else if (_level0.BONUS_WIN) {
_level0.plus_score(Math.ceil((_level0.timeBar.gage._x / -246) * 100));
timeBarReset();
timeBarGo = false;
}
} else {
if (_level0.LIFE == 0) {
_level0.timeBar.gage._x = 1;
}
if (_level0.MISSION_NUM[_level0.LEVEL - 1] == 0) {
_level0.MISSION_NUM[_level0.LEVEL - 1] = 1000;
_level0.plus_score(Math.ceil((_level0.timeBar.gage._x / -246) * 100));
_level0.MISSION_SUCCESS = true;
_level0.timeBar.gage._x = 0.1;
} else if (timeBarGo) {
timeBar();
}
}
}
var i = 0;
var tempPos = 0;
var timeBarGo = false;
var randomSelect = new Array([1, true], [2, true], [3, true], [1, true], [2, true], [3, true], [1, true], [2, true]);
}
Symbol 414 MovieClip [__Packages.Cegg] Frame 0
class Cegg extends MovieClip
{
var _y, play, removeMovieClip;
function Cegg () {
super();
}
function onLoad() {
}
function onEnterFrame() {
if (!bBreak) {
if (_y < 230) {
if (gravity > 4) {
gravity = 4;
} else {
gravity = gravity + gravity;
}
_y = _y + gravity;
} else {
play();
}
}
if (!_level0.onGameFlag) {
removeMovieClip();
}
}
var gravity = 0.01;
var bBreak = false;
}
Instance of Symbol 97 MovieClip in Symbol 118 MovieClip Frame 1
onClipEvent (load) {
random_variable = random(20);
this.gotoAndPlay(random_variable);
}
Symbol 142 Button
on (release) {
_root.StopIdolSound();
}
Symbol 150 Button
on (release) {
getURL ("http://www.allfunnygames.net/", "_blank");
}
Symbol 195 MovieClip Frame 1
stop();
Symbol 208 MovieClip Frame 1
stop();
Symbol 210 MovieClip Frame 1
stop();
Symbol 211 MovieClip Frame 1
stop();
Symbol 222 MovieClip Frame 1
stop();
Symbol 226 MovieClip Frame 1
stop();
Symbol 233 MovieClip Frame 1
stop();
Symbol 233 MovieClip Frame 2
stop();
Symbol 234 MovieClip Frame 1
stop();
Symbol 239 MovieClip Frame 1
stop();
Symbol 242 MovieClip Frame 1
stop();
Symbol 247 MovieClip Frame 1
stop();
Symbol 250 MovieClip Frame 1
stop();
Symbol 253 MovieClip Frame 1
stop();
Symbol 256 MovieClip Frame 1
stop();
Symbol 266 MovieClip Frame 1
stop();
Symbol 266 MovieClip Frame 2
play();
this._parent.start_game();
this._parent.sound_play(11, 1, 1);
Symbol 266 MovieClip Frame 23
this._parent.sound_play(12, 1, 1);
Symbol 266 MovieClip Frame 39
stop();
_level0.CP.timeBarGo = true;
Symbol 270 MovieClip Frame 1
stop();
Symbol 270 MovieClip Frame 2
_level0.so8.stop();
this._parent.sound_play(13, 0, 1);
Symbol 270 MovieClip Frame 84
stop();
if (_level0.LEVEL == 3) {
this._parent.make_bonus_stage();
} else if (_level0.LEVEL == 10) {
this._parent.make_bonus_stage();
} else if (_level0.LEVEL == 15) {
this._parent.make_bonus_stage();
} else if (_level0.LEVEL == 20) {
this._parent.make_bonus_stage();
} else if (_level0.LEVEL == 25) {
this._parent.make_bonus_stage();
} else {
this._parent.make_next_stage();
}
Symbol 273 MovieClip Frame 1
stop();
Symbol 273 MovieClip Frame 2
this.play();
this._parent.sound_play(14, 1);
Symbol 276 MovieClip Frame 1
stop();
Symbol 276 MovieClip Frame 24
stop();
this._visible = false;
Symbol 279 MovieClip Frame 1
stop();
Symbol 279 MovieClip Frame 3
this._parent.sound_play(13, 1, 1);
Symbol 279 MovieClip Frame 62
stop();
_level0.removeBonus();
_level0.make_next_stage();
this._visible = false;
Symbol 280 MovieClip Frame 1
stop();
Symbol 284 MovieClip Frame 1
stop();
Symbol 284 MovieClip Frame 101
_level0.BONUS_WIN = false;
Symbol 284 MovieClip Frame 222
_level0.removeBonus();
_level0.make_next_stage();
gotoAndStop (1);
Symbol 285 MovieClip Frame 1
stop();
var motion = 1;
var go = 0;
var pressBt = false;
Symbol 285 MovieClip Frame 2
if (pressBt) {
motion++;
go++;
if (motion > 2) {
motion = 1;
}
if (go > _level0.BONUS_LEVEL) {
wandoo_path.gotoAndStop(wandoo_path._currentframe + 1);
go = 0;
}
wandoo_path.wandoo.gotoAndStop(motion);
pressBt = false;
}
if (wandoo_path._currentframe == 99) {
wandoo_path.gotoAndPlay(100);
_level0.attachMovie("finished_id", "finished", 78511, {_x:jewels._x + 20, _y:jewels._y + 15});
pressBt = false;
_level0.BONUS_WIN = true;
_level0.BONUS_LEVEL++;
stop();
}
Symbol 285 MovieClip Frame 3
if (pressBt) {
motion++;
go++;
if (motion > 2) {
motion = 1;
}
if (go > _level0.BONUS_LEVEL) {
wandoo_path.gotoAndStop(wandoo_path._currentframe + 1);
go = 0;
}
wandoo_path.wandoo.gotoAndStop(motion);
pressBt = false;
}
if (wandoo_path._currentframe == 99) {
wandoo_path.gotoAndPlay(100);
_level0.attachMovie("finished_id", "finished", 78511, {_x:jewels._x + 20, _y:jewels._y + 15});
pressBt = false;
_level0.BONUS_WIN = true;
_level0.BONUS_LEVEL++;
stop();
} else {
gotoAndPlay (2);
}
Symbol 288 MovieClip Frame 1
stop();
Symbol 288 MovieClip Frame 3
this._parent.sound_play(12, 1, 1);
Symbol 288 MovieClip Frame 49
stop();
this._parent.bonusStage.gotoAndPlay(2);
_level0.CP.timeBarGo = true;
this._visible = false;
Symbol 293 Button
on (release) {
if ((fieldname.text == "") || (fieldemail.text == "")) {
warning = "You should filled up all the fields!";
trace("You should filled up all the fields!");
warning2 = "";
} else if (fieldemail.text.indexOf("@", 0) < 0) {
warning2 = "Your email address is invalid!";
trace("Your email address is invalid!");
warning = "";
} else {
warning = "";
warning2 = "";
trace((((("score:" + gamescore) + "gamename:") + gamename) + "language:") + language);
getURL ("insertScore.php", "_self", "POST");
}
}
Symbol 302 Button
on (release, keyPress "<Enter>") {
getURL ("http://www.allfunnygames.net/googlecoop.php?cx=010996297119696823647%3Aabrwh0i9rrm&cof=FORID%3A11&q=", "_new", "GET");
}
Symbol 306 Button
on (release) {
getURL ("http://www.allfunnygames.net", "_blank");
}
Symbol 339 Button
on (release) {
getURL ("http://www.allfunnygames.net", "_blank");
}
Symbol 345 Button
on (release) {
_root.gotoAndStop("intro");
}
Symbol 354 Button
on (release) {
_root.getURL("http://www.halohalo.ph", "_blank");
}
Symbol 364 Button
on (release) {
getURL ("http://www.allfunnygames.net/viewGames.php?categoryID=17", "_blank");
}
Symbol 373 Button
on (release) {
getURL ("http://allfunnygames.net/viewGames.php?categoryID=15", "_blank");
}
Symbol 375 Button
on (release) {
getURL ("http://allfunnygames.net/viewGames.php?categoryID=15", "_blank");
}
Symbol 376 Button
on (release) {
getURL ("http://www.allfunnygames.net/viewGames.php?categoryID=17", "_blank");
}
Symbol 396 MovieClip Frame 1
this.onEnterFrame = function () {
if (rewind == true) {
prevFrame();
}
};
this.onRollOver = function () {
rewind = false;
play();
};
this.onRollOut = function () {
rewind = true;
};
Symbol 396 MovieClip Frame 71
Symbol 406 MovieClip Frame 1
stop();
Symbol 406 MovieClip Frame 2
stop();
angel_restart_bt._visible = false;
this._parent.make_end_score_board();
gamescore = _root.point.text;
Symbol 407 MovieClip Frame 1
stop();
Symbol 407 MovieClip Frame 48
_level0.secureMovie.SendScore(_level0.score);
this.gotoAndStop(1);