Frame 1
function gotoURL() {
getURL ("http://www.amoebastudios.com");
}
function randomRange(min, max) {
var _local1 = Math.floor(Math.random() * ((max - min) + 1)) + min;
return(_local1);
}
var newMenu = new ContextMenu();
_root.playIntro = true;
_root.allSounds = new Sound();
_root.score = 0;
_root.timeScore = 0;
_root.levelScore = 0;
_root.isPause = false;
_root.levelArray = ["lblgame", "win"];
_root.level = 1;
_root.isEasy = false;
_root.playIntroSound = true;
_root.playerId = 1;
_root.isOver = false;
Frame 2
Frame 3
function g2w_playagain() {
_root.score = 0;
_playAgain(_root, "lblgame");
}
function getphstatus(phno) {
swfurl = this._url;
if (swfurl.split("games2win.com").length == 1) {
obj_game.ph1_status = true;
}
var _local2 = obj_game[("ph" + phno) + "_status"];
if (!_local2) {
play();
}
}
function checkhost() {
swfurl = this._url;
trace("swfurl >>> " + swfurl.indexOf("games2win.com"));
if (swfurl.indexOf("games2win.com") == -1) {
return(false);
}
return(true);
}
function load_rgames(trgt) {
var rel_games = new XML();
rel_games.ignoreWhite = true;
rel_games.onLoad = function () {
game_details = new Object();
var _local1 = 0;
while (_local1 < trgt.rel_games.firstChild.childNodes.length) {
game_details[rel_games.firstChild.childNodes[_local1].nodeName] = rel_games.firstChild.childNodes[_local1].firstChild.nodeValue;
_local1++;
}
};
rel_games.load((curl + "game_details.xml?") + getTimer());
}
function getScore(_loc) {
_loc.gotoAndStop("lbl_top_scores");
_root.g_trg = _loc;
int_gscore = setInterval(_root, "getTop10", 150);
}
function getTop10() {
trace("getTop10");
clearInterval(int_gscore);
_root.send_lv = new XML();
_root.rst_lv = new XML();
_root.rst_lv.onLoad = function (success) {
if (success) {
var _local3 = new it.sephiroth.XML2Object();
_root.lst_top_scorer = _local3.parseXML(this);
_root.g_trg.gotoAndStop("top10");
} else {
_root.c_fail++;
if (_root.c_fail >= 3) {
_root.g_trg.gotoAndStop("error_screen");
} else {
_root.send_lv.sendAndLoad(url, _root.rst_lv, "POST");
}
}
};
var url = ((((((obj_partner.top10URL + "?game_id=") + _root.obj_game._gid) + "&order=") + obj_game._score_ord) + "&timspam") + getTimer());
trace(url + " Url");
_root.send_lv.sendAndLoad(url, _root.rst_lv, "POST");
}
function itemHandler(obj, item) {
getURL (obj_partner.clickthru, "_blank");
}
function _newUser() {
getURL (_registerurl, "_blank");
}
function _trackClickThru(mc) {
if (obj_partner._allowclick) {
mc.hit_area.onRelease = function () {
getURL (obj_partner.clickthru, "_blank");
};
} else {
mc.hit_area.useHandCursor = false;
}
}
function _readSharedData() {
so_uname = ((_sostatus.data.so_uname == undefined) ? "" : (_sostatus.data.so_uname));
so_jumpframe = ((_sostatus.data.so_jumpframe == undefined) ? "" : (_sostatus.data.so_jumpframe));
so_sound = ((_sostatus.data.so_sound == undefined) ? 0 : (_sostatus.data.so_sound));
_resetString = _sostatus.data.so_resetString;
trace("==========================");
trace((("so_jumpframe : " + _sostatus.data.so_jumpframe) + " : ") + so_uname);
if (so_jumpframe != "") {
_assignValue(_resetString);
createEmptyMovieClip("eye", getNextHighestDepth());
eye.onEnterFrame = function () {
if ((getBytesTotal() == getBytesLoaded()) and (getBytesLoaded() > 50000)) {
intro = 0;
_sostatus.data.so_jumpframe = "";
_sostatus.flush();
this.onEnterFrame = null;
gotoAndStop(so_jumpframe);
}
};
} else {
intro = 1;
play();
}
uname = so_uname;
gamesound = so_sound;
}
function _writeSharedData(jumpframe, jumpurl, _resetString) {
_sostatus.data.so_uname = ((so_uname == undefined) ? "" : (so_uname));
_sostatus.data.so_resetString = _resetString;
_sostatus.data.so_jumpframe = jumpframe;
_writeSoundData();
if (jumpurl != "") {
getURL (jumpurl);
} else {
gotoAndPlay (1);
}
}
function _writeSoundData() {
trace("Sound Share Data Called:");
_sostatus.data.so_sound = so_sound;
_sostatus.flush();
}
function _assignValue(_val) {
_arr = new Array();
_arr = _val.split("|");
i = 0;
while (i < (_arr.length / 2)) {
_var2 = ((i * 2) + 1) - 1;
_var3 = _var2 + 1;
_val = _arr[_var3];
_rst = isNaN(_val);
if (_rst) {
_root[_arr[_var2]] = _arr[_var3];
} else {
_root[_arr[_var2]] = int(_arr[_var3]);
}
i++;
}
}
function _playAgain(mc, jumpframe, _resetString) {
so_uname = uname;
if ((gurl != undefined) and (gurl != "")) {
_writeSharedData(jumpframe, gurl, _resetString);
} else {
intro = 0;
_assignValue(_resetString);
trace("jumpframe " + jumpframe);
mc.gotoAndStop(jumpframe);
}
}
stop();
_root.gameStarted = false;
var obj_game = new Array();
obj_game._gid = "1070";
obj_game._gtitle = "Naughty Park";
obj_game.game_name = "Naughty Park";
obj_game._google_text = "Game Searchable Text";
obj_game.StageW = 800;
obj_game.StageH = 600;
obj_game._res = (Stage.width + "x") + Stage.height;
obj_game._score_ord = "desc";
obj_game.mochi_tag = "";
obj_game.g2wbot = "";
obj_game.g2wbotid = 10301;
obj_game.ph1_status = false;
obj_game.ph2_status = false;
obj_game.adv_zedo = true;
obj_game.adv_mochi = false;
obj_game.inviziads = ("http://ads.inviziads.com/ad.html/g=" + obj_game._gid) + "&h=g2w";
zedo_tim = 15;
var obj_partner = new Array();
obj_partner.partner_name = "g2w";
obj_partner.partner_id = 1;
obj_partner.invalid_txt = "Invalid Nickname!";
obj_partner.show_submit = false;
obj_partner.submitURL = "/submit_score.asp";
obj_partner.top10URL = "/get_top_scorer.asp";
obj_partner.lblsubmit = "Enter your Games2win Nickname below";
obj_partner.show_g2w_slate = true;
obj_partner.show_register = true;
obj_partner.text_register = "Create Nickname";
obj_partner.url_register = "http://www.games2win.com/register.asp";
obj_partner.clickthru = "http://www.games2win.com/";
obj_partner._allowclick = true;
_root.uname = "";
scoreSubmit = function (_loc) {
trace(_loc + " _loc");
myname = _root.partner_uname;
myscore = _root.partner_score;
mygameid = _root.obj_game._gid;
myname = myname.trim();
if ((((myname.length == 0) or (myname == obj_partner.invalid_txt)) or (myname == "Connecting Error!")) or (myname == undefined)) {
trace(obj_partner.invalid_txt);
_root.partner_uname = obj_partner.invalid_txt;
} else {
_root.send_lv = new LoadVars();
_root.send_lv.onLoad = function (success) {
if (success) {
if (_root.send_lv.isreg == 0) {
_root.uname = obj_partner.invalid_txt;
_loc.gotoAndStop("invalid_user_screen");
} else if (_root.send_lv.isreg == 1) {
Key.removeListener(_loc.keyListener);
_root.getScore(_loc);
}
} else {
_loc.gotoAndStop("error_screen");
}
};
_root.send_lv.nickname = myname;
_root.send_lv.points = myscore;
_root.send_lv.gameid = mygameid;
_root.send_lv.sendAndLoad(obj_partner.submitURL, _root.send_lv, "POST");
trace(_root.send_lv);
_loc.gotoAndStop("lbl_submit_screen");
}
};
c_fail = 0;
var g2w_menu = new ContextMenu();
g2w_menu.hideBuiltInItems();
g2w_menu.customItems.push(new ContextMenuItem("Games2win.com", itemHandler));
this.menu = g2w_menu;
var _sostatus = SharedObject.getLocal("gamestatus", "/");
String.prototype.trim = function () {
var _local3 = 0;
var _local2 = this.length;
white = new Object();
white._32 = 1;
_local2--;
while (white["_" + ord(this.charAt(_local2))]) {
}
while (white["_" + ord(this.charAt(_local3++))]) {
}
return(this.slice(_local3 - 1, _local2 + 1));
};
_readSharedData();
Frame 4
stop();
getphstatus(1);
_root.mainurl = "dsdasd";
Frame 5
Frame 6
stop();
Frame 7
stop();
stopAllSounds();
Frame 8
stopAllSounds();
Frame 9
stop();
Frame 10
stop();
Frame 11
stop();
Frame 12
Frame 13
stop();
stopAllSounds();
_root.level = 1;
_root.hud_mc._visible = true;
_root.blog_url = "http://blog.games2win.com/games2win-labs/naughty-park-game-guide/";
Frame 14
stop();
stopAllSounds();
_root.partner_score = _root.score;
_root.obj_game._gstatus = "gamecompleted";
Frame 15
stop();
stopAllSounds();
_root.partner_score = _root.score;
_root.obj_game._gstatus = "gameover";
Frame 16
stop();
Frame 17
stop();
Frame 18
stop();
Symbol 7 MovieClip Frame 1
Symbol 8 MovieClip Frame 1
function brain() {
create_assets(myself, _global.obj_iads.type);
switch (_global.obj_iads.type) {
case "FULL" :
mcLoader.loadClip(_global.obj_iads.url, trgt_main);
break;
case "EMBED" :
mcLoader.loadClip(_global.obj_iads.url, trgt_main.trgt_ads);
if (_global.obj_iads.link ne undefined) {
trgt_main.onRelease = function () {
trace("_global.obj_iads.link " + _global.obj_iads.link);
getURL (_global.obj_iads.link, "_blank");
};
}
break;
case "NOOP" :
_parent._parent._visible = 0;
break;
}
}
function get_iads() {
lv_iads = new XML();
lv_result = new XML();
lv_result.ignoreWhite = true;
lv_result.onLoad = function (success) {
trace("success " + success);
if (success) {
parse_iads(lv_result);
myself.attachMovie("invizi_logo", "invizi_logo", this.getNextHighestDepth(), {_x:Stage.width - 120, _y:Stage.height - 20});
}
};
lv_iads.sendAndLoad(adurl, lv_result, "POST");
}
function parse_iads(lv_result) {
_global.obj_iads = new Array();
var _local2 = 0;
while (_local2 < lv_result.firstChild.childNodes.length) {
if (lv_result.firstChild.childNodes[_local2].firstChild.nodeValue != null) {
obj_iads[lv_result.firstChild.childNodes[_local2].nodeName] = lv_result.firstChild.childNodes[_local2].firstChild.nodeValue;
} else if (lv_result.firstChild.childNodes[_local2].firstChild.firstChild.nodeValue != null) {
var _local5 = new Object();
var _local4 = 0;
while (_local4 < lv_result.firstChild.childNodes[_local2].childNodes.length) {
_local5[lv_result.firstChild.childNodes[_local2].childNodes[_local4].nodeName] = lv_result.firstChild.childNodes[_local2].childNodes[_local4].firstChild.nodeValue;
_local4++;
}
obj_iads[lv_result.firstChild.childNodes[_local2].nodeName] = _local5;
}
_local2++;
}
show_time = int(_global.obj_iads.t);
check_type();
}
function create_assets(mc, _type) {
trace((("Create _ assets " + mc) + " ") + _type);
mc.createEmptyMovieClip("trgt_main", 4);
mcLoader = new MovieClipLoader();
mcLoader.addListener(mc);
if (_type != "FULL") {
mc.createEmptyMovieClip("square_mc", 5);
var _local4 = trgt_main.createEmptyMovieClip("trgt_ads", getNextHighestDepth());
var _local2 = new TextFormat();
_local2.align = "center";
_local2.font = "Verdana";
_local2.size = 10;
mc.createTextField("h_txt", mc.getNextHighestDepth(), 0, 0, 100, 22);
mc.createTextField("b_txt", mc.getNextHighestDepth(), 0, 0, 100, 22);
b_txt.autoSize = true;
b_txt.selectable = false;
h_txt.selectable = false;
b_txt.multiline = true;
b_txt.setNewTextFormat(_local2);
h_txt.autoSize = true;
h_txt.setNewTextFormat(_local2);
h_txt.text = "";
}
}
function onLoadInit(mc) {
ad_width = int(_global.obj_iads.x);
ad_height = int(_global.obj_iads.y);
_x = ((336 - ad_width) / 2);
_y = ((280 - ad_height) / 2);
progressBar.tim = show_time;
progressBar.width = _global.obj_iads.x;
progressBar.height = 15;
progressBar.start = function () {
maxw = this.width - 2;
this.ad = maxw / (this.tim + 1);
this.ad = this.ad / game_fps;
};
progressBar.onEnterFrame = function () {
if (this.bar._width < (this.width - 2)) {
this.bar._width = this.bar._width + this.ad;
} else {
this.bar._width = this.width;
}
};
progressBar._x = 100;
progressBar._y = 100;
bar_mc = progressBar.createEmptyMovieClip("bar", 1);
box_mc = progressBar.createEmptyMovieClip("box", 2);
bar_mc.beginFill(26112);
bar_mc.moveTo(0, 0);
bar_mc.lineTo(1, 0);
bar_mc.lineTo(1, progressBar.height - 2);
bar_mc.lineTo(0, progressBar.height - 2);
bar_mc.lineTo(0, 0);
bar_mc.endFill();
bar_mc._x = 1.5;
bar_mc._y = 1.5;
box_mc.lineStyle(1, 3355443, 100, true, "none", "round", "miter", 1);
box_mc.lineTo(progressBar.width, 0);
box_mc.lineTo(progressBar.width, progressBar.height);
box_mc.lineTo(0, progressBar.height);
box_mc.lineTo(0, 0);
box_mc._x = 0;
box_mc._y = 0;
progressBar.start();
x = 0;
y = 0;
mc._x = x;
mc._y = y;
square_mc.beginFill(16711680);
square_mc.moveTo(0, 0);
square_mc.lineTo(ad_width, 0);
square_mc.lineTo(ad_width, ad_height);
square_mc.lineTo(0, ad_height);
square_mc.lineTo(0, 0);
square_mc.endFill();
square_mc._x = x;
square_mc._y = y;
trgt_main.setMask(square_mc);
}
function check_type() {
if (_global.obj_iads.type eq "UPDATE") {
this.createEmptyMovieClip("holder", 100);
var _local4 = _global.obj_iads.url;
_root.obj_iads = _global.obj_iads.payload;
holder.loadMovie(_global.obj_iads.url);
holder.obj_iads = _root.obj_iads;
show_time = 20;
} else {
brain();
}
}
function parse_xml(mydata) {
var _local4 = new Array();
var _local1 = 0;
while (_local1 < mydata.firstChild.childNodes.length) {
if (mydata.firstChild.childNodes[_local1].firstChild.nodeValue != null) {
_local4[mydata.firstChild.childNodes[_local1].nodeName] = mydata.firstChild.childNodes[_local1].firstChild.nodeValue;
} else if (mydata.firstChild.childNodes[_local1].firstChild.firstChild.nodeValue != null) {
var _local5 = new Object();
var _local2 = 0;
while (_local2 < lv_result.firstChild.childNodes[_local1].childNodes.length) {
_local4[lv_result.firstChild.childNodes[_local1].childNodes[_local2].nodeName] = mydata.firstChild.childNodes[_local1].childNodes[_local2].firstChild.nodeValue;
_local2++;
}
_local4[lv_result.firstChild.childNodes[_local1].nodeName] = _local5;
}
_local1++;
}
return(_local4);
}
System.security.allowDomain("*");
this.getFps = function () {
if (signal == true) {
time = getTimer();
} else {
tempo = int(1000 / (getTimer() - time));
}
signal = !signal;
return(tempo);
};
this.onEnterFrame = function () {
game_fps = getFps();
if ((game_fps ne 0) and (game_fps ne undefined)) {
this.onEnterFrame = null;
}
};
myself = this;
signal = true;
adurl = (_root.obj_game.inviziads + "&type=post&ts=") + getTimer();
trace(adurl);
get_iads();
stop();
Symbol 12 MovieClip Frame 1
invizi_logo.onRelease = function () {
getURL ("http://inviziads.com/", "_blank");
};
Symbol 24 MovieClip Frame 1
_root._trackClickThru(this);
Symbol 49 MovieClip Frame 2
stop();
gotoAndStop(_root.obj_game._gstatus);
Symbol 55 Button
on (release) {
tryAgain();
}
Symbol 83 MovieClip [mc_topscore_box] Frame 1
trace("_root.checkhost() " + _root.checkhost());
trace("this._url " + this._url);
if (_root.checkhost()) {
gotoAndStop ("login_screen");
} else {
gotoAndStop ("lblalienhost");
}
Symbol 83 MovieClip [mc_topscore_box] Frame 2
function tryAgain() {
gotoAndStop ("login_screen");
}
function filltopscore(destmc) {
trace(_root.lst_top_scorer.top_score.status.data);
if ((_root.lst_top_scorer.top_score.status.data == 0) or (_root.lst_top_scorer.top_score.user[0].score.data == 0)) {
_top10_lbl._visible = false;
var _local2 = 0;
while (_local2 < 10) {
destmc["row" + _local2]._visible = false;
_local2++;
}
} else {
_noscore_mc._visible = false;
var _local2 = 0;
while (_local2 < 10) {
if ((_root.lst_top_scorer.top_score.user[_local2] == undefined) or (_root.lst_top_scorer.top_score.user[_local2].score.data == 0)) {
destmc["row" + _local2].txtrollno.text = "";
destmc["row" + _local2].txtusername.text = "";
destmc["row" + _local2].txtscore.text = "";
} else {
destmc["row" + _local2].txtrollno.text = _local2 + 1;
destmc["row" + _local2].txtusername.text = _root.lst_top_scorer.top_score.user[_local2].nick_name.data;
destmc["row" + _local2].txtscore.text = _root.lst_top_scorer.top_score.user[_local2].score.data;
}
_local2++;
}
}
}
stop();
playAgain_btn.onRelease = function () {
trace("Login");
_root.g2w_playagain();
};
username_txt.onSetFocus = function () {
trace((this.text + " ") + _root.obj_partner.invalid_txt);
if ((this.text == _root.obj_partner.invalid_txt) or (this.text == "Connecting Error!")) {
this.text = "";
}
};
Selection.setFocus("username_txt");
btn_scoresubmit.onRelease = function () {
_root.scoreSubmit(this._parent);
};
_trg_loc = this;
var keyListener = new Object();
keyListener.onKeyDown = function () {
if (!(Key.getCode() === 13)) {
} else {
Selection.setFocus("btn_scoresubmit");
_root.scoreSubmit(_trg_loc);
}
};
Key.addListener(keyListener);
btn_create_nickname.onRelease = function () {
getURL (_root.obj_partner.url_register, "_blank");
};
if (_root.obj_partner.show_submit) {
btn_scoresubmit._visible = false;
}
stop();
_btn_g2w.useHandCursor = false;
Symbol 83 MovieClip [mc_topscore_box] Frame 31
stop();
Symbol 83 MovieClip [mc_topscore_box] Frame 45
stop();
Symbol 83 MovieClip [mc_topscore_box] Frame 60
stop();
playAgain_btn.onRelease = function () {
_root._playAgain(_root, "lblgameintro");
};
Symbol 83 MovieClip [mc_topscore_box] Frame 74
stop();
filltopscore(this);
playAgain_btn.onRelease = function () {
_root._playAgain(_root, "lblgameintro");
};
Symbol 83 MovieClip [mc_topscore_box] Frame 85
function tryAgain() {
gotoAndStop ("login_screen");
}
function filltopscore(destmc) {
trace(_root.lst_top_scorer.top_score.status.data);
if ((_root.lst_top_scorer.top_score.status.data == 0) or (_root.lst_top_scorer.top_score.user[0].score.data == 0)) {
_top10_lbl._visible = false;
var _local2 = 0;
while (_local2 < 10) {
destmc["row" + _local2]._visible = false;
_local2++;
}
} else {
_noscore_mc._visible = false;
var _local2 = 0;
while (_local2 < 10) {
if ((_root.lst_top_scorer.top_score.user[_local2] == undefined) or (_root.lst_top_scorer.top_score.user[_local2].score.data == 0)) {
destmc["row" + _local2].txtrollno.text = "";
destmc["row" + _local2].txtusername.text = "";
destmc["row" + _local2].txtscore.text = "";
} else {
destmc["row" + _local2].txtrollno.text = _local2 + 1;
destmc["row" + _local2].txtusername.text = _root.lst_top_scorer.top_score.user[_local2].nick_name.data;
destmc["row" + _local2].txtscore.text = _root.lst_top_scorer.top_score.user[_local2].score.data;
}
_local2++;
}
}
}
playAgain_btn.onRelease = function () {
trace("Login");
_root.g2w_playagain();
};
username_txt.onSetFocus = function () {
trace((this.text + " ") + _root.obj_partner.invalid_txt);
if ((this.text == _root.obj_partner.invalid_txt) or (this.text == "Connecting Error!")) {
this.text = "";
}
};
Selection.setFocus("username_txt");
btn_scoresubmit.onRelease = function () {
_root.scoreSubmit(this._parent);
};
_trg_loc = this;
var keyListener = new Object();
keyListener.onKeyDown = function () {
if (!(Key.getCode() === 13)) {
} else {
Selection.setFocus("btn_scoresubmit");
_root.scoreSubmit(_trg_loc);
}
};
Key.addListener(keyListener);
btn_create_nickname.onRelease = function () {
getURL (_root.obj_partner.url_register, "_blank");
};
if (_root.obj_partner.show_submit) {
btn_scoresubmit._visible = false;
}
stop();
stop();
Symbol 87 MovieClip Frame 1
_root._trackClickThru(this);
Symbol 93 MovieClip [game_sound_ctrl] Frame 1
_gameSounds = new Sound();
var frame = "on";
changeVol = function (targetvol, step) {
this.onEnterFrame = function () {
var _local3 = _gameSounds.getVolume();
if ((step < 0) and (_local3 <= targetvol)) {
_local3 = targetvol;
delete this.onEnterFrame;
_root.so_sound = 1;
} else if ((step > 0) and (_local3 >= targetvol)) {
_local3 = targetvol;
delete this.onEnterFrame;
_root.so_sound = 0;
} else {
_gameSounds.setVolume(_local3 + step);
}
};
};
if (_root.so_sound == 1) {
frame = "off";
this.gotoAndPlay(frame);
}
this.onRelease = function () {
if (frame == "on") {
frame = "off";
} else {
frame = "on";
}
this.gotoAndPlay(frame);
};
Symbol 93 MovieClip [game_sound_ctrl] Frame 2
stop();
changeVol(100, 5);
Symbol 93 MovieClip [game_sound_ctrl] Frame 3
stop();
changeVol(0, -5);
Symbol 94 MovieClip [brain_inviziads] Frame 1
function brain() {
create_assets(myself, _global.obj_iads.type);
switch (_global.obj_iads.type) {
case "FULL" :
mcLoader.loadClip(_global.obj_iads.url, trgt_main);
break;
case "EMBED" :
mcLoader.loadClip(_global.obj_iads.url, trgt_main.trgt_ads);
if (_global.obj_iads.link ne undefined) {
trgt_main.onRelease = function () {
trace("_global.obj_iads.link " + _global.obj_iads.link);
getURL (_global.obj_iads.link, "_blank");
};
}
break;
case "NOOP" :
clearInterval(int1);
_parent.play();
break;
}
}
function get_iads() {
lv_iads = new XML();
lv_result = new XML();
lv_result.ignoreWhite = true;
lv_result.onLoad = function (success) {
trace("success " + success);
if (success) {
parse_iads(lv_result);
} else {
_root.play();
}
};
lv_iads.g = game_id;
lv_iads.h = "as";
lv_iads.sendAndLoad(_root.adurl, lv_result, "POST");
}
function parse_iads(lv_result) {
_global.obj_iads = new Array();
trace("here in pa");
var _local2 = 0;
while (_local2 < lv_result.firstChild.childNodes.length) {
if (lv_result.firstChild.childNodes[_local2].firstChild.nodeValue != null) {
obj_iads[lv_result.firstChild.childNodes[_local2].nodeName] = lv_result.firstChild.childNodes[_local2].firstChild.nodeValue;
} else if (lv_result.firstChild.childNodes[_local2].firstChild.firstChild.nodeValue != null) {
var _local5 = new Object();
var _local4 = 0;
while (_local4 < lv_result.firstChild.childNodes[_local2].childNodes.length) {
_local5[lv_result.firstChild.childNodes[_local2].childNodes[_local4].nodeName] = lv_result.firstChild.childNodes[_local2].childNodes[_local4].firstChild.nodeValue;
_local4++;
}
obj_iads[lv_result.firstChild.childNodes[_local2].nodeName] = _local5;
}
_local2++;
}
show_time = int(_global.obj_iads.t);
check_type();
}
function time_delay() {
tim = 0;
int1 = setInterval(timespam, 1000);
}
function timespam() {
tim++;
trace(((tim + " tim Tim") + " show_time") + show_time);
if (tim == show_time) {
clearInterval(int1);
_parent.play();
}
}
function create_assets(mc, _type) {
trace((("Create _ assets " + mc) + " ") + _type);
mc.createEmptyMovieClip("trgt_main", 4);
mcLoader = new MovieClipLoader();
mcLoader.addListener(mc);
if (_type != "FULL") {
mc.createEmptyMovieClip("square_mc", 5);
var _local4 = trgt_main.createEmptyMovieClip("trgt_ads", getNextHighestDepth());
var _local2 = new TextFormat();
_local2.align = "center";
_local2.font = "Verdana";
_local2.size = 10;
mc.createTextField("h_txt", mc.getNextHighestDepth(), 0, 0, 100, 22);
mc.createTextField("b_txt", mc.getNextHighestDepth(), 0, 0, 100, 22);
b_txt.autoSize = true;
b_txt.selectable = false;
h_txt.selectable = false;
b_txt.multiline = true;
b_txt.setNewTextFormat(_local2);
h_txt.autoSize = true;
h_txt.setNewTextFormat(_local2);
h_txt.text = "";
mc.createEmptyMovieClip("progressBar", 500);
}
}
function onLoadInit(mc) {
ad_width = int(_global.obj_iads.x);
ad_height = int(_global.obj_iads.y);
h_txt.text = "Advertisement";
progressBar.tim = show_time;
progressBar.width = _global.obj_iads.x;
progressBar.height = 15;
progressBar.start = function () {
game_fps = getFps();
maxw = this.width - 2;
this.ad = maxw / (this.tim + 1);
this.ad = this.ad / game_fps;
};
progressBar.onEnterFrame = function () {
if (this.bar._width < (this.width - 2)) {
this.bar._width = this.bar._width + this.ad;
} else {
this.bar._width = this.width;
}
};
progressBar._x = 100;
progressBar._y = 100;
bar_mc = progressBar.createEmptyMovieClip("bar", 1);
box_mc = progressBar.createEmptyMovieClip("box", 2);
bar_mc.beginFill(26112);
bar_mc.moveTo(0, 0);
bar_mc.lineTo(1, 0);
bar_mc.lineTo(1, progressBar.height - 2);
bar_mc.lineTo(0, progressBar.height - 2);
bar_mc.lineTo(0, 0);
bar_mc.endFill();
bar_mc._x = 1.5;
bar_mc._y = 1.5;
box_mc.lineStyle(1, 3355443, 100, true, "none", "round", "miter", 1);
box_mc.lineTo(progressBar.width, 0);
box_mc.lineTo(progressBar.width, progressBar.height);
box_mc.lineTo(0, progressBar.height);
box_mc.lineTo(0, 0);
box_mc._x = 0;
box_mc._y = 0;
progressBar.start();
b_txt.text = "Note\rClicking on the above Ad won't interrupt your game.\rAd link opens in a new window.\rThanks to our sponsors, we provide you free games to play.";
myself._y = b_txt._y - 10;
x = (Stage.width / 2) - (ad_width / 2);
y = (Stage.height / 2) - (ad_height / 2);
mc._x = x;
mc._y = y;
h_txt._x = (x + (ad_width / 2)) - (h_txt._width / 2);
h_txt._y = y - 20;
progressBar._x = (x + (ad_width / 2)) - (progressBar._width / 2);
progressBar._y = (y + 5) + ad_height;
myself.attachMovie("invizi_logo", "invizi_logo", this.getNextHighestDepth(), {_x:int(progressBar._x + progressBar._width) - 114, _y:int((progressBar._y + progressBar._height) + 5)});
myself.invizi_logo.onRelease = function () {
getURL ("http://www.inviziads.com", "_blank");
};
b_txt._x = (x + (ad_width / 2)) - (b_txt._width / 2);
b_txt._y = progressBar._y + 30;
square_mc.beginFill(16711680);
square_mc.moveTo(0, 0);
square_mc.lineTo(ad_width, 0);
square_mc.lineTo(ad_width, ad_height);
square_mc.lineTo(0, ad_height);
square_mc.lineTo(0, 0);
square_mc.endFill();
square_mc._x = x;
square_mc._y = y;
trgt_main.setMask(square_mc);
}
function pushdata() {
trace("Push" + random(222));
holder.obj_iads = _global.obj_iads;
}
function startdatapush(mc) {
var _local2;
_local2 = setInterval(this, "pushdata", 10);
}
function check_type() {
if (_global.obj_iads.type eq "UPDATE") {
trace(" _global.obj_iads.payload.type " + _global.obj_iads.payload.type);
myself.createEmptyMovieClip("holder", 100);
var _local4 = _global.obj_iads.url;
show_time = 15;
obj_iads = _global.obj_iads;
var _local2 = new Object();
_local2.onLoadComplete = function (target_mc) {
trace("onLoadComplete: " + target_mc);
};
var _local3 = new MovieClipLoader();
_local3.addListener(_local2);
_local3.loadClip(_global.obj_iads.url, holder);
} else {
brain();
}
time_delay();
}
function parse_xml(mydata) {
var _local4 = new Array();
var _local1 = 0;
while (_local1 < mydata.firstChild.childNodes.length) {
if (mydata.firstChild.childNodes[_local1].firstChild.nodeValue != null) {
_local4[mydata.firstChild.childNodes[_local1].nodeName] = mydata.firstChild.childNodes[_local1].firstChild.nodeValue;
} else if (mydata.firstChild.childNodes[_local1].firstChild.firstChild.nodeValue != null) {
var _local5 = new Object();
var _local2 = 0;
while (_local2 < lv_result.firstChild.childNodes[_local1].childNodes.length) {
_local4[lv_result.firstChild.childNodes[_local1].childNodes[_local2].nodeName] = mydata.firstChild.childNodes[_local1].childNodes[_local2].firstChild.nodeValue;
_local2++;
}
_local4[lv_result.firstChild.childNodes[_local1].nodeName] = _local5;
}
_local1++;
}
return(_local4);
}
Object.prototype.getFps = function () {
if (signal == true) {
time = getTimer();
} else {
tempo = int(1000 / (getTimer() - time));
}
signal = !signal;
return(tempo);
};
this.onEnterFrame = function () {
game_fps = getFps();
if ((game_fps != 0) && (game_fps != undefined)) {
this.onEnterFrame = null;
}
};
myself = this;
signal = true;
var my_date = new Date();
_root.adurl = (_root.obj_game.inviziads + "&ts=") + my_date.getSeconds();
trace(_root.adurl);
stop();
get_iads();
Symbol 964 MovieClip [__Packages.it.sephiroth.XML2Object] Frame 0
class it.sephiroth.XML2Object
{
var oXML;
function XML2Object () {
}
function get xml() {
return(oXML);
}
function parseXML(sFile) {
oResult = new Object();
oXML = sFile;
oResult = translateXML();
return(oResult);
}
function translateXML(from, path, name, position) {
var _local2;
var _local9;
var _local4;
var _local10;
if (path == undefined) {
path = this;
name = "oResult";
}
path = path[name];
if (from == undefined) {
from = new XML(xml.toString());
from.ignoreWhite = true;
}
if (from.hasChildNodes()) {
_local9 = from.childNodes;
if (position != undefined) {
_local10 = path;
path = path[position];
}
while (_local9.length > 0) {
_local4 = _local9.shift();
_local2 = _local4.nodeName;
if (_local2 != undefined) {
var _local5 = new Object();
_local5.attributes = _local4.attributes;
_local5.data = _local4.firstChild.nodeValue;
if (position != undefined) {
_local10 = path;
}
if (path[_local2] != undefined) {
if (path[_local2].__proto__ == Array.prototype) {
path[_local2].push(_local5);
name = _local4.nodeName;
position = path[_local2].length - 1;
} else {
var _local8 = path[_local2];
path[_local2] = new Array();
path[_local2].push(_local8);
path[_local2].push(_local5);
name = _local2;
position = path[_local2].length - 1;
}
} else {
path[_local2] = _local5;
name = _local2;
position = undefined;
}
}
if (_local4.hasChildNodes()) {
translateXML(_local4, path, name, position);
}
}
}
return(oResult);
}
var oResult = new Object();
}
Symbol 965 MovieClip [__Packages.mx.transitions.OnEnterFrameBeacon] Frame 0
class mx.transitions.OnEnterFrameBeacon
{
function OnEnterFrameBeacon () {
}
static function init() {
var _local4 = _global.MovieClip;
if (!_root.__OnEnterFrameBeacon) {
mx.transitions.BroadcasterMX.initialize(_local4);
var _local3 = _root.createEmptyMovieClip("__OnEnterFrameBeacon", 9876);
_local3.onEnterFrame = function () {
_global.MovieClip.broadcastMessage("onEnterFrame");
};
}
}
static var version = "1.1.0.52";
}
Symbol 966 MovieClip [__Packages.mx.transitions.BroadcasterMX] Frame 0
class mx.transitions.BroadcasterMX
{
var _listeners;
function BroadcasterMX () {
}
static function initialize(o, dontCreateArray) {
if (o.broadcastMessage != undefined) {
delete o.broadcastMessage;
}
o.addListener = mx.transitions.BroadcasterMX.prototype.addListener;
o.removeListener = mx.transitions.BroadcasterMX.prototype.removeListener;
if (!dontCreateArray) {
o._listeners = new Array();
}
}
function addListener(o) {
removeListener(o);
if (broadcastMessage == undefined) {
broadcastMessage = mx.transitions.BroadcasterMX.prototype.broadcastMessage;
}
return(_listeners.push(o));
}
function removeListener(o) {
var _local2 = _listeners;
var _local3 = _local2.length;
while (_local3--) {
if (_local2[_local3] == o) {
_local2.splice(_local3, 1);
if (!_local2.length) {
broadcastMessage = undefined;
}
return(true);
}
}
return(false);
}
function broadcastMessage() {
var _local5 = String(arguments.shift());
var _local4 = _listeners.concat();
var _local6 = _local4.length;
var _local3 = 0;
while (_local3 < _local6) {
_local4[_local3][_local5].apply(_local4[_local3], arguments);
_local3++;
}
}
static var version = "1.1.0.52";
}
Symbol 967 MovieClip [__Packages.mx.transitions.Tween] Frame 0
class mx.transitions.Tween
{
var obj, prop, begin, useSeconds, _listeners, addListener, prevTime, _time, looping, _duration, broadcastMessage, isPlaying, _fps, prevPos, _pos, change, _intervalID, _startTime;
function Tween (obj, prop, func, begin, finish, duration, useSeconds) {
mx.transitions.OnEnterFrameBeacon.init();
if (!arguments.length) {
return;
}
this.obj = obj;
this.prop = prop;
this.begin = begin;
position = (begin);
this.duration = (duration);
this.useSeconds = useSeconds;
if (func) {
this.func = func;
}
this.finish = (finish);
_listeners = [];
addListener(this);
start();
}
function set time(t) {
prevTime = _time;
if (t > duration) {
if (looping) {
rewind(t - _duration);
update();
broadcastMessage("onMotionLooped", this);
} else {
if (useSeconds) {
_time = _duration;
update();
}
stop();
broadcastMessage("onMotionFinished", this);
}
} else if (t < 0) {
rewind();
update();
} else {
_time = t;
update();
}
//return(time);
}
function get time() {
return(_time);
}
function set duration(d) {
_duration = (((d == null) || (d <= 0)) ? (_global.Infinity) : (d));
//return(duration);
}
function get duration() {
return(_duration);
}
function set FPS(fps) {
var _local2 = isPlaying;
stopEnterFrame();
_fps = fps;
if (_local2) {
startEnterFrame();
}
//return(FPS);
}
function get FPS() {
return(_fps);
}
function set position(p) {
setPosition(p);
//return(position);
}
function setPosition(p) {
prevPos = _pos;
obj[prop] = (_pos = p);
broadcastMessage("onMotionChanged", this, _pos);
updateAfterEvent();
}
function get position() {
return(getPosition());
}
function getPosition(t) {
if (t == undefined) {
t = _time;
}
return(func(t, begin, change, _duration));
}
function set finish(f) {
change = f - begin;
//return(finish);
}
function get finish() {
return(begin + change);
}
function continueTo(finish, duration) {
begin = position;
this.finish = (finish);
if (duration != undefined) {
this.duration = (duration);
}
start();
}
function yoyo() {
continueTo(begin, time);
}
function startEnterFrame() {
if (_fps == undefined) {
_global.MovieClip.addListener(this);
} else {
_intervalID = setInterval(this, "onEnterFrame", 1000 / _fps);
}
isPlaying = true;
}
function stopEnterFrame() {
if (_fps == undefined) {
_global.MovieClip.removeListener(this);
} else {
clearInterval(_intervalID);
}
isPlaying = false;
}
function start() {
rewind();
startEnterFrame();
broadcastMessage("onMotionStarted", this);
}
function stop() {
stopEnterFrame();
broadcastMessage("onMotionStopped", this);
}
function resume() {
fixTime();
startEnterFrame();
broadcastMessage("onMotionResumed", this);
}
function rewind(t) {
_time = ((t == undefined) ? 0 : (t));
fixTime();
update();
}
function fforward() {
time = (_duration);
fixTime();
}
function nextFrame() {
if (useSeconds) {
time = ((getTimer() - _startTime) / 1000);
} else {
time = (_time + 1);
}
}
function onEnterFrame() {
nextFrame();
}
function prevFrame() {
if (!useSeconds) {
time = (_time - 1);
}
}
function toString() {
return("[Tween]");
}
function fixTime() {
if (useSeconds) {
_startTime = getTimer() - (_time * 1000);
}
}
function update() {
position = (getPosition(_time));
}
static var version = "1.1.0.52";
static var __initBeacon = mx.transitions.OnEnterFrameBeacon.init();
static var __initBroadcaster = mx.transitions.BroadcasterMX.initialize(mx.transitions.Tween.prototype, true);
function func(t, b, c, d) {
return(((c * t) / d) + b);
}
}
Symbol 968 MovieClip [__Packages.mx.transitions.easing.Bounce] Frame 0
class mx.transitions.easing.Bounce
{
function Bounce () {
}
static function easeOut(t, b, c, d) {
t = t / d;
if (t < 0.363636363636364) {
return((c * ((7.5625 * t) * t)) + b);
}
if (t < 0.727272727272727) {
t = t - 0.545454545454545;
return((c * (((7.5625 * t) * t) + 0.75)) + b);
}
if (t < 0.909090909090909) {
t = t - 0.818181818181818;
return((c * (((7.5625 * t) * t) + 0.9375)) + b);
}
t = t - 0.954545454545455;
return((c * (((7.5625 * t) * t) + 0.984375)) + b);
}
static function easeIn(t, b, c, d) {
return((c - easeOut(d - t, 0, c, d)) + b);
}
static function easeInOut(t, b, c, d) {
if (t < (d / 2)) {
return((easeIn(t * 2, 0, c, d) * 0.5) + b);
}
return(((easeOut((t * 2) - d, 0, c, d) * 0.5) + (c * 0.5)) + b);
}
static var version = "1.1.0.52";
}
Symbol 100 MovieClip Frame 120
stop();
_root.gotoAndStop("lblloader");
Symbol 150 MovieClip Frame 1
var total = _root.getBytesTotal();
var loaded = 0;
var percent = 0;
var percent99;
onEnterFrame = function () {
loaded = _root.getBytesLoaded();
percent = Math.ceil((loaded / total) * 100);
percent99 = percent + "%";
if (loaded >= total) {
_root.gotoAndStop("lblgameintro");
}
};
Symbol 171 MovieClip Frame 1
stop();
Symbol 171 MovieClip Frame 2
stop();
Symbol 172 MovieClip Frame 1
if (!_root.playIntro) {
gotoAndStop(_totalframes);
}
if (_root.playIntroSound) {
stopAllSounds();
sound_mc.gotoAndStop(2);
}
_root.playIntroSound = false;
_root.playIntro = false;
story_btn.onRelease = function () {
_root.gotoAndStop("story");
};
instructions_btn.onRelease = function () {
_root.gotoAndStop("instructions");
};
start_btn.onRelease = function () {
_root.gotoAndStop("lblgame");
};
Symbol 181 MovieClip Frame 1
stop();
start_btn.onRelease = function () {
_root.gotoAndStop("lblgame");
};
back_btn.onRelease = function () {
_root.gotoAndStop("lblgameintro");
};
Symbol 185 MovieClip Frame 1
stop();
start_btn.onRelease = function () {
_root.gotoAndStop("lblgame");
};
back_btn.onRelease = function () {
_root.gotoAndStop("lblgameintro");
};
Symbol 222 MovieClip Frame 1
Symbol 264 MovieClip Frame 1
if (_parent._parent.bananaPealOnSlide_mc.bananaPeal == true) {
flwrUp_mc._visible = true;
} else {
flwrUp_mc._visible = false;
}
if (_parent.smallGirlSlide_mc._currentframe >= 30) {
flwrUp_mc._visible = false;
}
Symbol 264 MovieClip Frame 79
if (_parent._parent.bananaPealOnSlide_mc._currentframe >= 2) {
_parent.gotoAndStop(2);
}
Symbol 284 MovieClip Frame 1
if (girlCry != false) {
cry_mc.gotoAndStop(2);
girCry = false;
}
Symbol 285 MovieClip Frame 1
play();
_root.skating = false;
_parent.smallGirlIdeal_mc.flwrUp_mc._visible = false;
_parent._parent.bananaPealOnSlide_mc._visible = false;
Symbol 285 MovieClip Frame 50
stop();
_parent._parent.bananaPealOnSlide_mc.gotoAndStop(1);
Symbol 286 MovieClip Frame 1
stop();
Symbol 286 MovieClip Frame 2
stop();
Symbol 291 MovieClip Frame 1
_root.worm1 = false;
Symbol 291 MovieClip Frame 9
_root.worm1 = true;
Symbol 291 MovieClip Frame 22
_root.worm1 = false;
Symbol 291 MovieClip Frame 90
Symbol 296 MovieClip Frame 1
_root.worm2 = false;
Symbol 296 MovieClip Frame 13
_root.worm2 = true;
Symbol 296 MovieClip Frame 51
_root.worm2 = false;
Symbol 296 MovieClip Frame 100
Symbol 298 MovieClip Frame 1
this.onRelease = function () {
if (_parent.fisherGuy_mc._currentframe <= 2) {
if (_root.worm == true) {
if (_parent.boy1_mc._currentframe == 1) {
_parent.boy1_mc.gotoAndStop(3);
}
}
}
};
onEnterFrame = function () {
};
Symbol 304 MovieClip Frame 1
stop();
Symbol 304 MovieClip Frame 2
play();
_root.skating = false;
_root.bananaPealonSld = true;
this._visible = true;
Symbol 304 MovieClip Frame 21
stop();
if (_parent.smallGirl_mc.smallGirlIdeal_mc._currentframe >= 165) {
_parent.smallGirl_mc.gotoAndStop(2);
}
Symbol 308 MovieClip Frame 1
var count = 0;
this.onRelease = function () {
if (_root.bananaPealonSld == false) {
_parent.boy3_mc.gotoAndStop(2);
} else if (_root.bananaFallonRd == false) {
if (_parent.bananaPeal_mc._currentframe == 1) {
_parent.boy3_mc.gotoAndStop(3);
}
}
};
Symbol 324 MovieClip Frame 34
_parent._parent.bananaPealOnSlide_mc.gotoAndPlay(2);
Symbol 324 MovieClip Frame 36
stop();
_parent.gotoAndStop(1);
Symbol 326 MovieClip Frame 28
_parent._parent.bananaPeal_mc.gotoAndStop(2);
Symbol 326 MovieClip Frame 47
_root.bananaFallonRd = true;
Symbol 326 MovieClip Frame 72
stop();
_root.skateBoyFall = true;
_parent.gotoAndStop(1);
Symbol 327 MovieClip Frame 1
stop();
Symbol 327 MovieClip Frame 2
stop();
Symbol 327 MovieClip Frame 3
stop();
Symbol 329 MovieClip Frame 20
stop();
Symbol 330 MovieClip Frame 1
stop();
Symbol 330 MovieClip Frame 2
stop();
_root.bananaFallonRd = true;
Symbol 330 MovieClip Frame 3
stop();
Symbol 354 MovieClip Frame 1
gotoAndPlay(_parent.nwFrame + 1);
if (_root.skating == false) {
_parent.gotoAndStop(1);
}
Symbol 354 MovieClip Frame 83
if (_parent._parent.bananaPeal_mc._currentframe == 2) {
_parent.nwFrame = _currentframe;
_parent.gotoAndStop(3);
}
Symbol 354 MovieClip Frame 269
if (_root.skating == false) {
_parent.gotoAndStop(1);
}
Symbol 354 MovieClip Frame 416
stop();
_parent.nwFrame = 4;
_parent.gotoAndStop(1);
Symbol 356 MovieClip Frame 14
stop();
_parent._parent.bananaPeal_mc.gotoAndStop(3);
_parent.gotoAndStop(2);
Symbol 365 MovieClip Frame 1
stop();
Symbol 365 MovieClip Frame 2
stop();
Symbol 365 MovieClip Frame 3
stop();
Symbol 365 MovieClip Frame 4
stop();
Symbol 368 MovieClip Frame 1
stop();
Symbol 368 MovieClip Frame 2
stop();
Symbol 370 MovieClip Frame 1
this.onRelease = function () {
if (_parent.crow_mc._currentframe == 5) {
if (_parent.uncle_mc._currentframe == 1) {
_parent.boy2_mc.gotoAndStop(4);
}
}
};
Symbol 380 MovieClip Frame 1
stop();
if (_root.jacket == false) {
gotoAndStop (2);
}
Symbol 380 MovieClip Frame 2
stop();
if (_root.inner == true) {
gotoAndStop (3);
}
Symbol 380 MovieClip Frame 3
stop();
Symbol 387 MovieClip Frame 1
stop();
if (_root.jacket == false) {
gotoAndStop (2);
}
Symbol 387 MovieClip Frame 2
stop();
if (_root.inner == true) {
gotoAndStop (3);
}
Symbol 387 MovieClip Frame 3
stop();
Symbol 391 MovieClip Frame 1
stop();
if (_root.jacket == false) {
gotoAndStop (2);
}
Symbol 391 MovieClip Frame 2
stop();
if (_root.inner == true) {
gotoAndStop (3);
}
Symbol 391 MovieClip Frame 3
stop();
Symbol 395 MovieClip Frame 1
stop();
if (_root.jacket == false) {
gotoAndStop (2);
}
Symbol 395 MovieClip Frame 2
stop();
if (_root.inner == true) {
gotoAndStop (3);
}
Symbol 395 MovieClip Frame 3
stop();
Symbol 424 MovieClip Frame 1
gotoAndPlay(_parent.frameNw + 1);
Symbol 424 MovieClip Frame 90
if (_parent._parent.smallGirl_mc._currentframe == 2) {
if (_parent._parent.smallGirl_mc.smallGirlSlide_mc._currentframe >= 35) {
_parent.frameNw = _currentframe;
_parent.gotoAndStop(3);
}
}
Symbol 424 MovieClip Frame 134
if (_root.dogRun == true) {
_parent.frameNw = _currentframe;
_parent.gotoAndStop(2);
}
Symbol 424 MovieClip Frame 290
if (_root.skating == true) {
_root.girlSaid = true;
_parent._parent.skateBoy_mc.gotoAndStop(2);
}
Symbol 424 MovieClip Frame 299
Symbol 424 MovieClip Frame 360
if (_parent._parent.skateBoy_mc._currentframe >= 2) {
_root.hitComb = true;
}
Symbol 424 MovieClip Frame 377
if (_parent._parent.skateBoy_mc._currentframe == 3) {
_parent.frameNw = _currentframe;
_parent.gotoAndStop(4);
}
Symbol 424 MovieClip Frame 385
_parent._parent.girl_mc.gotoAndStop(2);
Symbol 424 MovieClip Frame 386
stop();
_parent._parent.girl_mc.girlJoginTurn_mc.gotoAndPlay(2);
Symbol 432 MovieClip Frame 35
stop();
_root.noOfTask++;
_root.girlWidoutTuffy = true;
_root.girlWidTuffy = false;
_parent._parent.girlJogWOtuffy007_mc.gotoAndStop(2);
_parent._parent.girlJogWOtuffy007_mc.girlAloneJoging_mc.gotoAndPlay(145);
_parent.gotoAndStop(6);
Symbol 437 MovieClip Frame 64
stop();
_root.noOfTask++;
_root.TaskComplt++;
_root.skating = true;
_parent._parent.smallGirl_mc.gotoAndStop(1);
_parent._parent.skateBoy_mc.gotoAndStop(1);
_parent.gotoAndStop(1);
Symbol 446 MovieClip Frame 1
var comboCount = 0;
Symbol 446 MovieClip Frame 32
if (_root.honeyBee == true) {
_parent.gotoAndStop(5);
}
Symbol 446 MovieClip Frame 90
stop();
if (_root.honeyBee == true) {
_parent.gotoAndStop(5);
} else {
_root.TaskComplt++;
_parent.gotoAndStop(1);
}
Symbol 461 MovieClip Frame 1
gotoAndPlay (20);
Symbol 461 MovieClip Frame 87
stop();
Symbol 473 MovieClip Frame 1
gotoAndPlay (20);
Symbol 473 MovieClip Frame 62
_root.jacket = false;
Symbol 473 MovieClip Frame 86
stop();
_root.noOfTask++;
_parent.frameNw = 5;
_root.bee = true;
_root.hitComb = false;
_parent.gotoAndStop(1);
Symbol 474 MovieClip Frame 1
stop();
Symbol 474 MovieClip Frame 2
stop();
Symbol 474 MovieClip Frame 3
stop();
Symbol 474 MovieClip Frame 4
stop();
Symbol 474 MovieClip Frame 5
stop();
Symbol 474 MovieClip Frame 6
stop();
Symbol 476 MovieClip Frame 1
play();
gotoAndPlay(_parent.frameNw + 1);
Symbol 476 MovieClip Frame 4
Symbol 476 MovieClip Frame 90
if (_parent._parent.smallGirl_mc._currentframe == 2) {
if (_parent._parent.smallGirl_mc.smallGirlSlide_mc._currentframe >= 35) {
_parent.frameNw = _currentframe;
_parent.gotoAndStop(3);
}
}
Symbol 476 MovieClip Frame 134
Symbol 476 MovieClip Frame 290
if (_root.skating == true) {
_parent._parent.skateBoy_mc.gotoAndStop(2);
}
Symbol 476 MovieClip Frame 360
if (_parent._parent.skateBoy_mc._currentframe >= 2) {
_root.hitComb = true;
}
Symbol 476 MovieClip Frame 374
if (_parent._parent.skateBoy_mc._currentframe == 3) {
_parent.frameNw = _currentframe;
_parent.gotoAndStop(4);
}
Symbol 476 MovieClip Frame 382
Symbol 476 MovieClip Frame 385
_parent._parent.girlTurnWOTuffy_mc.gotoAndStop(2);
Symbol 476 MovieClip Frame 386
stop();
_parent._parent.girlTurnWOTuffy_mc.girlTurn001_mc.gotoAndPlay(4);
Symbol 477 MovieClip Frame 64
stop();
_root.noOfTask++;
_root.TaskComplt++;
_root.skating = true;
_parent._parent.smallGirl_mc.gotoAndStop(1);
_parent._parent.skateBoy_mc.gotoAndStop(1);
_parent.gotoAndStop(2);
Symbol 485 MovieClip Frame 31
if (_root.honeyBee == true) {
_parent.gotoAndStop(5);
}
Symbol 485 MovieClip Frame 90
stop();
if (_root.honeyBee == true) {
_parent.gotoAndStop(5);
} else {
_root.TaskComplt++;
_parent.gotoAndStop(2);
}
Symbol 490 MovieClip Frame 1
gotoAndPlay (20);
Symbol 490 MovieClip Frame 62
_root.jacket = false;
Symbol 490 MovieClip Frame 86
stop();
_root.noOfTask++;
_root.bee = true;
_root.hitComb = false;
_parent.frameNw = 5;
_parent.gotoAndStop(2);
Symbol 491 MovieClip Frame 1
stop();
Symbol 491 MovieClip Frame 2
stop();
Symbol 491 MovieClip Frame 3
stop();
Symbol 491 MovieClip Frame 4
stop();
Symbol 491 MovieClip Frame 5
stop();
Symbol 507 MovieClip Frame 14
onEnterFrame = function () {
var _local2 = random(100);
if (_local2 == 1) {
_parent.gotoAndStop(2);
}
};
Symbol 510 MovieClip Frame 1
play();
Symbol 510 MovieClip Frame 68
stop();
_parent.gotoAndStop(1);
Symbol 512 MovieClip Frame 1
_root.dogRun = true;
Symbol 512 MovieClip Frame 57
stop();
_root.dogRun = false;
_root.TaskComplt++;
Symbol 513 MovieClip Frame 1
stop();
strayDagIdeal1_mc.onRelease = function () {
_parent.boy2_mc.gotoAndStop(3);
};
Symbol 513 MovieClip Frame 2
stop();
strayDagIdeal2_mc.onRelease = function () {
_parent.boy2_mc.gotoAndStop(3);
};
Symbol 513 MovieClip Frame 3
stop();
Symbol 563 MovieClip Frame 1
Symbol 563 MovieClip Frame 27
_root.girlFall = true;
Symbol 563 MovieClip Frame 36
if ((_parent._parent.girlJoginTurn_mc._currentframe >= 90) && (_parent._parent.girlJoginTurn_mc._currentframe <= 115)) {
}
Symbol 563 MovieClip Frame 60
_root.girlFall = false;
_parent.gotoAndStop(1);
Symbol 572 MovieClip Frame 57
stop();
_parent.gotoAndStop(1);
Symbol 573 MovieClip Frame 1
stop();
Symbol 573 MovieClip Frame 2
stop();
Symbol 573 MovieClip Frame 3
stop();
Symbol 601 MovieClip Frame 30
Symbol 607 MovieClip Frame 20
gotoAndPlay (1);
Symbol 609 MovieClip Frame 1
play();
_parent._parent.boy2_mc.boy2ThrwFlwr_mc.flower_mc._visible = false;
_parent._parent.uncle_mc.gotoAndStop(2);
Symbol 609 MovieClip Frame 10
Symbol 609 MovieClip Frame 60
stop();
_parent.gotoAndStop(1);
Symbol 610 MovieClip Frame 1
stop();
Symbol 610 MovieClip Frame 2
stop();
Symbol 638 MovieClip Frame 19
gotoAndStop (1);
Symbol 644 MovieClip Frame 26
stop();
_parent._parent.apple_mc.gotoAndStop(2);
Symbol 651 MovieClip Frame 26
_parent._parent.strayDog_mc.gotoAndStop(3);
Symbol 651 MovieClip Frame 63
stop();
_parent.gotoAndStop(1);
Symbol 659 MovieClip Frame 1
flower_mc._visible = true;
Symbol 659 MovieClip Frame 46
_parent._parent.auntyEat_mc.gotoAndStop(2);
_parent.gotoAndStop(1);
stop();
Symbol 661 MovieClip Frame 20
_parent._parent.crowStar_mc._visible = true;
Symbol 661 MovieClip Frame 22
_parent._parent.crowStar_mc._visible = false;
Symbol 661 MovieClip Frame 26
stop();
_parent._parent.crow_mc.gotoAndStop(5);
Symbol 662 MovieClip Frame 20
_parent._parent.star_mc._visible = true;
_root.honeyBee = true;
Symbol 662 MovieClip Frame 22
_parent._parent.star_mc._visible = false;
Symbol 662 MovieClip Frame 26
stop();
_parent.gotoAndStop(1);
Symbol 663 MovieClip Frame 1
stop();
Symbol 663 MovieClip Frame 2
stop();
Symbol 663 MovieClip Frame 3
stop();
Symbol 663 MovieClip Frame 4
stop();
Symbol 663 MovieClip Frame 5
stop();
Symbol 663 MovieClip Frame 6
stop();
Symbol 665 MovieClip Frame 1
this.onRelease = function () {
if (_root.bananaFallonRd == true) {
if (_root.hitComb == true) {
_parent.boy2_mc.gotoAndStop(6);
}
}
};
Symbol 670 MovieClip Frame 1
stop();
_root.crowShit = false;
Symbol 670 MovieClip Frame 2
_root.crowShit = true;
Symbol 670 MovieClip Frame 7
stop();
gotoAndStop (1);
Symbol 670 MovieClip Frame 11
if ((_parent.girl_mc._currentframe == 6) || (_parent.girlTurnWOTuffy_mc._currentframe == 6)) {
gotoAndStop (1);
}
Symbol 670 MovieClip Frame 25
stop();
_root.crowShit = false;
Symbol 672 MovieClip Frame 1
this.onRelease = function () {
_parent._parent.boy2_mc.gotoAndStop(2);
};
Symbol 674 MovieClip Frame 27
stop();
var appleFall = true;
Symbol 675 MovieClip Frame 1
stop();
Symbol 675 MovieClip Frame 2
stop();
Symbol 675 MovieClip Frame 3
stop();
Symbol 679 MovieClip Frame 1
stop();
if (_root.inner == true) {
gotoAndStop (3);
}
if (_root.jacket == false) {
gotoAndStop (2);
}
Symbol 679 MovieClip Frame 2
stop();
if (_root.inner == true) {
gotoAndStop (3);
}
Symbol 679 MovieClip Frame 3
stop();
Symbol 685 MovieClip Frame 1
stop();
if (_root.inner == true) {
gotoAndStop (3);
}
if (_root.jacket == false) {
gotoAndStop (2);
}
Symbol 685 MovieClip Frame 2
stop();
if (_root.inner == true) {
gotoAndStop (3);
}
Symbol 685 MovieClip Frame 3
stop();
Symbol 693 MovieClip Frame 1
stop();
if (_root.inner == true) {
gotoAndStop (3);
}
if (_root.jacket == false) {
gotoAndStop (2);
}
Symbol 693 MovieClip Frame 2
stop();
if (_root.inner == true) {
gotoAndStop (3);
}
Symbol 693 MovieClip Frame 3
stop();
Symbol 707 MovieClip Frame 1
onEnterFrame = function () {
if (_root.jacket == false) {
Rarm_mc.gotoAndStop(2);
upBody_mc.gotoAndStop(2);
Larm_mc.gotoAndStop(2);
breast_mc.gotoAndStop(2);
}
if (_root.inner == true) {
Rarm_mc.gotoAndStop(3);
upBody_mc.gotoAndStop(3);
Larm_mc.gotoAndStop(3);
breast_mc.gotoAndStop(3);
}
};
Symbol 714 MovieClip Frame 1
gotoAndPlay(_parent.frame + 1);
Symbol 714 MovieClip Frame 2
Symbol 714 MovieClip Frame 80
if (_root.inner == false) {
if (_parent._parent.crow_mc._currentframe == 5) {
_parent._parent.crow_mc.crowFlying_mc.gotoAndPlay(19);
_parent.frame = _currentframe;
_parent.gotoAndStop(6);
}
}
Symbol 714 MovieClip Frame 105
if (_parent._parent.apple_mc._currentframe == 2) {
_parent.frame = _currentframe;
_parent.gotoAndStop(3);
}
if (_root.girlFall == true) {
_parent.frame = _currentframe;
if (_root.fisherMan == true) {
_parent._parent.girlFallMan_mc.gotoAndPlay(2);
} else if (_root.fisherMan == false) {
_parent.gotoAndStop(5);
}
}
if (_parent._parent.girlFallMan_mc._currentframe == 1) {
if (_root.marbles == true) {
_parent.frame = 116;
_parent.gotoAndStop(4);
}
}
Symbol 714 MovieClip Frame 130
_root.worm = false;
Symbol 714 MovieClip Frame 190
_root.worm = true;
Symbol 714 MovieClip Frame 311
stop();
_parent._parent.girlJogin_mc.jogStart_mc.gotoAndPlay(5);
Symbol 719 MovieClip Frame 1
stop();
if (_root.inner == true) {
gotoAndStop (3);
}
if (_root.jacket == false) {
gotoAndStop (2);
}
Symbol 719 MovieClip Frame 2
stop();
if (_root.inner == true) {
gotoAndStop (3);
}
Symbol 719 MovieClip Frame 3
stop();
Symbol 728 MovieClip Frame 1
stop();
if (_root.jacket == false) {
gotoAndStop (2);
}
Symbol 728 MovieClip Frame 2
stop();
if (_root.inner == true) {
gotoAndStop (3);
}
Symbol 728 MovieClip Frame 3
stop();
Symbol 732 MovieClip Frame 1
stop();
if (_root.jacket == false) {
gotoAndStop (2);
}
Symbol 732 MovieClip Frame 2
stop();
if (_root.inner == true) {
gotoAndStop (3);
}
Symbol 732 MovieClip Frame 3
stop();
Symbol 737 MovieClip Frame 1
stop();
trace(_root.jacket + "inner");
if (_root.jacket == false) {
gotoAndStop (2);
}
Symbol 737 MovieClip Frame 2
stop();
if (_root.inner == true) {
gotoAndStop (3);
}
Symbol 737 MovieClip Frame 3
stop();
Symbol 741 MovieClip Frame 1
_parent._parent.apple_mc.gotoAndStop(3);
Symbol 741 MovieClip Frame 5
_parent._parent.uncle_mc.gotoAndStop(3);
Symbol 741 MovieClip Frame 48
stop();
_root.apple = false;
_root.noOfTask++;
_root.TaskComplt++;
_parent.gotoAndStop(2);
Symbol 752 MovieClip Frame 1
_parent._parent.marbles_mc.gotoAndStop(1);
Symbol 752 MovieClip Frame 40
stop();
_root.marbles = false;
_root.noOfTask++;
_root.TaskComplt++;
_parent.gotoAndStop(2);
Symbol 755 MovieClip Frame 40
stop();
Symbol 757 MovieClip Frame 50
stop();
Symbol 765 MovieClip Frame 55
var tween = (new mx.transitions.Tween(_root.lvl_1, "_xscale", mx.transitions.easing.Bounce.easeIn, 100, 275, 1.5, true));
var tween = (new mx.transitions.Tween(_root.lvl_1, "_yscale", mx.transitions.easing.Bounce.easeIn, 100, 275, 1.5, true));
var tween = (new mx.transitions.Tween(_root.lvl_1, "_x", mx.transitions.easing.Bounce.easeIn, _root.lvl_1._x, 1130, 1.5, true));
var tween = (new mx.transitions.Tween(_root.lvl_1, "_y", mx.transitions.easing.Bounce.easeIn, _root.lvl_1._y, -100, 1.5, true));
_parent._parent.boy1_mc._visible = false;
Symbol 765 MovieClip Frame 100
stop();
_root.noOfTask++;
if (_root.inner == true) {
trace("sco= " + _root.score);
_root.score = int(_root.score + int((_root.myTime * 50) + 3000));
trace((((("sco= " + _root.score) + "myTime=") + _root.myTime) + " score=") + _root.score);
trace("Game Complete");
_root.gotoAndStop("win");
} else {
trace("sco= " + _root.score);
_root.score = int(_root.score + int(_root.myTime * 50));
trace((((("sco= " + _root.score) + "myTime=") + _root.myTime) + " score=") + _root.score);
_root.gotoAndStop("win");
}
Symbol 778 MovieClip Frame 25
_root.inner = true;
Symbol 778 MovieClip Frame 32
stop();
_root.noOfTask++;
_parent.gotoAndStop(2);
Symbol 779 MovieClip Frame 1
stop();
Symbol 779 MovieClip Frame 2
stop();
Symbol 779 MovieClip Frame 3
stop();
Symbol 779 MovieClip Frame 4
stop();
Symbol 779 MovieClip Frame 5
stop();
Symbol 779 MovieClip Frame 6
stop();
Symbol 780 MovieClip Frame 1
onEnterFrame = function () {
if (_root.jacket == false) {
Rarm_mc.gotoAndStop(2);
Body_mc.gotoAndStop(2);
Larm_mc.gotoAndStop(2);
bodyBreast_mc.gotoAndStop(2);
}
if (_root.inner == true) {
Rarm_mc.gotoAndStop(3);
Body_mc.gotoAndStop(3);
Larm_mc.gotoAndStop(3);
bodyBreast_mc.gotoAndStop(3);
}
};
Symbol 781 MovieClip Frame 1
gotoAndPlay(_parent.frame + 1);
Symbol 781 MovieClip Frame 6
Symbol 781 MovieClip Frame 80
if (_root.inner == false) {
if (_parent._parent.crow_mc._currentframe == 5) {
_parent._parent.crow_mc.crowFlying_mc.gotoAndPlay(19);
_parent.frame = 84;
_parent.gotoAndStop(6);
}
}
Symbol 781 MovieClip Frame 100
if (_parent._parent.apple_mc._currentframe == 2) {
_parent.frame = _currentframe;
_parent.gotoAndStop(3);
}
Symbol 781 MovieClip Frame 105
if (_root.girlFall == true) {
_parent.frame = _currentframe;
if (_root.fisherMan == true) {
_parent._parent.girlFallAlone_mc.gotoAndPlay(2);
} else if (_root.fisherMan == false) {
_parent.gotoAndStop(4);
}
}
if (_parent._parent.girlFallAlone_mc._currentframe == 1) {
if (_root.marbles == true) {
_parent.frame = _currentframe;
_parent.gotoAndStop(5);
}
}
Symbol 781 MovieClip Frame 135
_root.worm = false;
Symbol 781 MovieClip Frame 190
_root.worm = true;
Symbol 781 MovieClip Frame 310
stop();
_parent._parent.girlJogWOtuffy007_mc.gotoAndStop(2);
_parent._parent.girlJogWOtuffy007_mc.girlAloneJoging_mc.gotoAndPlay(5);
Symbol 783 MovieClip Frame 1
_parent._parent.apple_mc.gotoAndStop(3);
Symbol 783 MovieClip Frame 5
_parent._parent.uncle_mc.gotoAndStop(3);
Symbol 783 MovieClip Frame 13
Symbol 783 MovieClip Frame 48
stop();
_root.apple = false;
_root.noOfTask++;
_root.TaskComplt++;
_parent.gotoAndStop(2);
Symbol 790 MovieClip Frame 55
var tween = (new mx.transitions.Tween(_root.lvl_1, "_xscale", mx.transitions.easing.Bounce.easeIn, 100, 275, 1.5, true));
var tween = (new mx.transitions.Tween(_root.lvl_1, "_yscale", mx.transitions.easing.Bounce.easeIn, 100, 275, 1.5, true));
var tween = (new mx.transitions.Tween(_root.lvl_1, "_x", mx.transitions.easing.Bounce.easeIn, _root.lvl_1._x, 1130, 1.5, true));
var tween = (new mx.transitions.Tween(_root.lvl_1, "_y", mx.transitions.easing.Bounce.easeIn, _root.lvl_1._y, -100, 1.5, true));
_parent._parent.boy1_mc._visible = false;
Symbol 790 MovieClip Frame 100
stop();
_root.noOfTask++;
_root.score = _root.noOfTask * 1000;
if (_root.inner == true) {
trace("sco= " + _root.score);
_root.score = int(_root.score + int((_root.myTime * 50) + 3000));
trace("Game Complete");
trace((((("sco= " + _root.score) + "myTime=") + _root.myTime) + " score=") + _root.score);
_root.gotoAndStop("win");
} else {
trace("sco= " + _root.score);
_root.score = int(_root.score + (_root.myTime * 50));
trace((((("sco= " + _root.score) + "myTime=") + _root.myTime) + " score=") + _root.score);
_root.gotoAndStop("win");
}
_parent.gotoAndStop(2);
Symbol 792 MovieClip Frame 1
_parent._parent.marbles_mc.gotoAndStop(1);
Symbol 792 MovieClip Frame 40
stop();
_root.noOfTask++;
_root.TaskComplt++;
_root.marbles = false;
_parent.gotoAndStop(2);
Symbol 799 MovieClip Frame 31
_root.inner = true;
trace(_parent.girlTurn001_mc.newGrlturn_mc.Body_mc._currentframe + " AABC ");
armL_mc.gotoAndStop(3);
armR_mc.gotoAndStop(3);
Symbol 799 MovieClip Frame 39
stop();
brst_mc.gotoAndStop(3);
upBody_mc.gotoAndStop(3);
_root.noOfTask++;
_parent.gotoAndStop(2);
Symbol 800 MovieClip Frame 1
stop();
Symbol 800 MovieClip Frame 2
stop();
Symbol 800 MovieClip Frame 3
stop();
Symbol 800 MovieClip Frame 4
stop();
Symbol 800 MovieClip Frame 5
stop();
Symbol 800 MovieClip Frame 6
stop();
Symbol 810 MovieClip Frame 1
onEnterFrame = function () {
var _local2 = random(200);
if (_local2 == 1) {
_parent.gotoAndStop(2);
}
};
Symbol 812 MovieClip Frame 1
Symbol 812 MovieClip Frame 129
stop();
_parent.gotoAndStop(1);
Symbol 822 MovieClip Frame 1
if (_root.girlOnfishrfall == true) {
_parent.gotoAndStop(4);
}
Symbol 822 MovieClip Frame 35
if (_root.girlOnfishrfall == true) {
_parent.gotoAndStop(4);
}
Symbol 822 MovieClip Frame 134
stop();
var fish = _parent._parent.bucket_mc._currentframe;
_parent._parent.bucket_mc.gotoAndStop(fish + 2);
if (_parent._parent.bucket_mc._currentframe == 5) {
_parent.gotoAndStop(6);
}
_parent.gotoAndStop(1);
Symbol 836 MovieClip Frame 55
stop();
_parent.gotoAndStop(1);
Symbol 845 MovieClip Frame 1
_root.fisherMan = false;
_parent._parent.bucket_mc._visible = false;
_root.TaskComplt++;
Symbol 845 MovieClip Frame 218
stop();
Symbol 846 MovieClip Frame 1
stop();
Symbol 846 MovieClip Frame 2
stop();
Symbol 846 MovieClip Frame 3
trace("Fish");
stop();
Symbol 846 MovieClip Frame 4
stop();
Symbol 846 MovieClip Frame 5
stop();
Symbol 858 MovieClip Frame 1
stop();
Symbol 858 MovieClip Frame 2
stop();
Symbol 858 MovieClip Frame 3
stop();
Symbol 858 MovieClip Frame 4
stop();
Symbol 858 MovieClip Frame 5
stop();
_root.noOfTask++;
Symbol 859 MovieClip Frame 1
stop();
_root.girlOnfishrfall = false;
Symbol 859 MovieClip Frame 2
_root.girlOnfishrfall = true;
_parent.girl_mc.girlJoginTurn_mc._visible = false;
Symbol 859 MovieClip Frame 10
_parent.fisherGuy_mc.gotoAndStop(4);
Symbol 859 MovieClip Frame 11
Symbol 859 MovieClip Frame 41
trace("Game Over");
_parent.BfrGamaComplt_mc.gotoAndPlay(2);
Symbol 859 MovieClip Frame 50
stop();
Symbol 860 MovieClip Frame 1
stop();
_root.girlOnfishrfall = false;
Symbol 860 MovieClip Frame 2
_root.girlOnfishrfall = true;
_parent.girlTurnWOTuffy_mc.girlTurn001_mc._visible = false;
Symbol 860 MovieClip Frame 10
_parent.fisherGuy_mc.gotoAndStop(4);
Symbol 860 MovieClip Frame 41
_parent.BfrGamaComplt_mc.gotoAndPlay(2);
Symbol 860 MovieClip Frame 50
stop();
Symbol 862 MovieClip Frame 1
var count = 0;
this.onRelease = function () {
if (count == 0) {
count = 2;
_parent.boy1_mc.gotoAndStop(2);
}
};
Symbol 872 MovieClip Frame 59
stop();
_root.marbles = true;
_parent._parent.marbles_mc.gotoAndStop(2);
_parent.gotoAndStop(1);
Symbol 878 MovieClip Frame 1
Symbol 878 MovieClip Frame 44
if ((_root.worm1 == true) || (_root.worm2 == true)) {
_parent.gotoAndStop(4);
}
Symbol 878 MovieClip Frame 61
stop();
_parent.gotoAndStop(1);
Symbol 883 MovieClip Frame 36
stop();
_parent._parent.fisherGuy_mc.gotoAndStop(3);
_parent.gotoAndStop(1);
Symbol 884 MovieClip Frame 1
stop();
Symbol 884 MovieClip Frame 2
stop();
Symbol 884 MovieClip Frame 3
stop();
Symbol 884 MovieClip Frame 4
stop();
Symbol 897 MovieClip Frame 22
_parent.gotoAndStop(3);
Symbol 898 MovieClip Frame 1
onEnterFrame = function () {
var _local2 = random(200);
if (_local2 == 1) {
_parent.gotoAndStop(4);
}
};
Symbol 903 MovieClip Frame 20
stop();
_parent.gotoAndStop(3);
Symbol 905 MovieClip Frame 12
stop();
Symbol 905 MovieClip Frame 85
stop();
Symbol 906 MovieClip Frame 1
stop();
onEnterFrame = function () {
if (_root.crow == false) {
if ((_root.apple == false) && (_root.bee == true)) {
gotoAndStop (2);
_root.crow = true;
}
}
};
Symbol 906 MovieClip Frame 2
stop();
crowIdeal_mc.onRelease = function () {
_parent.boy2_mc.gotoAndStop(5);
};
Symbol 906 MovieClip Frame 3
stop();
crowIdeal_mc.onRelease = function () {
_parent.boy2_mc.gotoAndStop(5);
};
Symbol 906 MovieClip Frame 4
stop();
crowIdealBk_mc.onRelease = function () {
_parent.boy2_mc.gotoAndStop(5);
};
Symbol 906 MovieClip Frame 5
stop();
Symbol 907 MovieClip Frame 1
this._visible = false;
Symbol 915 MovieClip Frame 1
this._visible = false;
Symbol 921 MovieClip Frame 1
stop();
Symbol 921 MovieClip Frame 2
trace("hi");
Symbol 921 MovieClip Frame 21
_root.gotoAndStop("gameOver");
Symbol 928 MovieClip Frame 1
var total = 8;
var loaded;
fill_mc._xscale = 0;
onEnterFrame = function () {
if (percentage <= 100) {
loaded = _root.noOfTask;
percentage = Math.ceil((loaded / total) * 100);
fill_mc._xscale = percentage;
}
};
Symbol 936 MovieClip Frame 1
var intialTime = 0;
var maxTime = 9000;
onEnterFrame = function () {
if (_root.gameStarted == true) {
if (intialTime <= maxTime) {
intialTime++;
arrow_mc._rotation = (Math.round(intialTime / 25) * 360) / 360;
arrow2_mc._rotation = -180 + ((Math.round(intialTime / 25) * 30) / 360);
_root.myTime = int(maxTime - Math.round(intialTime / 25));
}
if (intialTime >= maxTime) {
_root.gotoAndStop("gameOver");
}
}
};
Symbol 939 MovieClip Frame 2
stop();
Symbol 940 MovieClip Frame 1
_root.girlFall = false;
_root.warmCount = 0;
_root.skateBoyFall = false;
_root.skating = true;
_root.girlWidTuffy = true;
_root.girlWidoutTuffy = false;
_root.honeyBee = false;
_root.bee = false;
_root.hitComb = false;
_root.count = 0;
_root.marbles = false;
_root.fisherMan = true;
_root.bananaPealonSld = false;
_root.bananaFallonRd = false;
_root.noOfTask = 0;
_root.jacket = true;
_root.inner = false;
_root.worm = true;
_root.TaskComplt = 0;
_root.apple = true;
_root.crow = false;
_root.gameOver = false;
onEnterFrame = function () {
_root.count++;
if (_root.jacket == true) {
if (_root.TaskComplt >= 6) {
_root.score = _root.noOfTask * 1000;
_root.gameOver = true;
_root.gotoAndStop("gameOver");
}
}
};
hint_btn.onRollOver = function () {
hintDetail_mc._visible = true;
};
hint_btn.onRollOut = function () {
hintDetail_mc._visible = false;
};
Symbol 942 MovieClip Frame 1
Symbol 942 MovieClip Frame 2
stop();
Symbol 948 MovieClip Frame 2
stop();
bb.useHandCursor = false;
this.onEnterFrame = function () {
if (Key.isDown(32)) {
_root.gameStarted = true;
this.gotoAndStop(3);
}
};
Symbol 948 MovieClip Frame 3
stop();
delete this.onEnterFrame;
Symbol 951 MovieClip Frame 1
stop();
Symbol 952 MovieClip Frame 1
stop();
Symbol 963 MovieClip Frame 1
stop();
playAgain_btn.onRelease = function () {
_root.score = 0;
_root.gotoAndStop("lblgame");
};