Frame 1
function _doGameOver(score, gamestate, showskip, delay) {
trace((((("CALLED : _doGameOver : score:" + score) + " gamestate:") + gamestate) + " showskip: ") + showskip);
clearInterval(_gameoverinterval);
if (delay == undefined) {
delay = 3000;
}
if ((score != undefined) and (gamestate != undefined)) {
_root.partner_score = score;
_root.obj_game._gstatus = gamestate;
_gameoverinterval = setInterval(attachGameOverMc, delay, showskip);
} else {
trace("Could Not Load GAMEOVER!!!");
}
}
function attachGameOverMc(showskip) {
stopAllSounds();
clearInterval(_gameoverinterval);
_root.__gameover_mc = _root.attachMovie("_g2w_gameover_mc", "mc_gameover", _root.getNextHighestDepth(), {_x:Stage.width / 2, _y:Stage.height / 2});
if (_root.obj_game._gstatus == "gameover") {
_root.__gameover_mc.gotoAndStop("g2w_gameover");
if (showskip) {
_root.__gameover_mc.panel_btn.gotoAndStop("skip");
}
}
}
function g2w_playagain(resetlevel) {
_root.__gameover_mc.removeMovieClip();
_root.score = 0;
if (resetlevel) {
_root.level = 1;
_root.gotoAndStop("lblgameintro");
_root.gameIntro_mc.gotoAndStop("force_help");
}
_root.myGame.gotoAndStop(1);
}
function g2w_skiplevel() {
_root.__gameover_mc.removeMovieClip();
_root.level = _root.level + 1;
_root.score = 0;
_root.myGame.gotoAndStop(1);
}
var obj_game = new Array();
obj_game._host = "g2w";
obj_game._gameName = "beach_difference";
obj_game._gameTitle = "Beach Difference";
obj_game._g2wGameId = "1127";
obj_game._partnerGameId = "beachdifference";
obj_game._gstatus = "gameover";
obj_game._googleText = "Beach Difference";
obj_game._gameStageW = 800;
obj_game._gameStageH = 600;
obj_game._gameScoreOrder = "desc";
obj_game._gameResolution = (Stage.width + "x") + Stage.height;
obj_game.g2wBot = "";
obj_game.g2wBotId = 10301;
obj_game.inviziads = ((("http://s1.inviziads.com/lookup.html/g=" + obj_game._g2wGameId) + "&h=") + obj_game._host) + "&v=4_0";
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;
_validateHost = function (mcpath) {
var _local2 = mcpath;
_local2.overlay_btn.useHandCursor = false;
if (_root.obj_game._gstatus == "gameover") {
_initGameOver(_local2);
} else if (_root.checkhost()) {
_initLoginPanel(_local2);
} else {
_initAlientHost(_local2);
}
};
_initGameOver = function (mcpath) {
var _local2 = mcpath;
_local2.gotoAndStop("g2w_gameover");
_local2.panel_btn.playagain_btn.onRelease = function () {
_root.g2w_playagain();
};
_local2.panel_btn.skiplvl_btn.onRelease = function () {
_root.g2w_skiplevel();
};
};
_initLoginPanel = function (mcpath) {
var mc = mcpath;
mc.gotoAndStop("g2w_login");
Selection.setFocus("username_txt");
mc.username_txt.onSetFocus = function () {
if (this.text == obj_partner.invalid_txt) {
this.text = "";
}
};
mc.playagain_btn.onRelease = function () {
_root.g2w_playagain(true);
};
mc.nickname_btn.onRelease = function () {
getURL (_root.obj_partner.url_register, "_blank");
};
mc.submit_btn.onRelease = function () {
_root._scoreSubmit(mc);
};
};
_initAlientHost = function (mcpath) {
var _local2 = mcpath;
_local2.gotoAndStop("g2w_alienhost");
_local2.playagain_btn.onRelease = function () {
trace("CALLING : _root.g2w_playagain()");
_root.g2w_playagain(true);
};
};
_scoreSubmit = function (mcpath) {
var mc = mcpath;
myname = _root.partner_uname;
myscore = _root.partner_score;
mygameid = _root.obj_game._g2wGameId;
myname = myname.trim();
if (((myname.length == 0) or (myname == obj_partner.invalid_txt)) or (myname == undefined)) {
_root.partner_uname = obj_partner.invalid_txt;
} else {
mc.gotoAndStop("g2w_status");
mc.tryagain_btn._visible = false;
_root.send_lv = new LoadVars();
_root.send_lv.onLoad = function (success) {
if (success) {
if (_root.send_lv.isreg == 0) {
mc.status_txt.text = obj_partner.invalid_txt;
mc.tryagain_btn._visible = true;
mc.tryagain_btn.onRelease = function () {
_initLoginPanel(mc);
};
} else if (_root.send_lv.isreg == 1) {
mc.status_txt.text = "";
_root._getTop10(mc);
}
} else {
mc.status_txt.text = "Error in Connection...!";
mc.tryagain_btn._visible = true;
mc.tryagain_btn.onRelease = function () {
_initLoginPanel(mc);
};
}
};
_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");
mc.status_txt.text = "Connecting to Server...";
}
};
c_fail = 0;
_getTop10 = function (mcpath) {
var mc = mcpath;
_root.send_lv = new XML();
_root.rst_lv = new XML();
mc.gotoAndStop("g2w_status");
_root.rst_lv.onLoad = function (success) {
if (success) {
var _local3 = new it.sephiroth.XML2Object();
mc.status_txt.text = "";
var _local4 = _local3.parseXML(this);
_initTop10(mc, _local4);
} else {
_root.c_fail++;
if (_root.c_fail >= 3) {
mc.status_txt.text = "Error!";
tryagain_btn._visible = true;
mc.tryagain_btn.onRelease = function () {
_initLoginPanel(mc);
};
} else {
_root.send_lv.sendAndLoad(url, _root.rst_lv, "POST");
}
}
};
var url = ((((((obj_partner.top10URL + "?game_id=") + _root.obj_game._g2wGameId) + "&order=") + obj_game._gameScoreOrder) + "&timspam") + getTimer());
mc.status_txt.text = "Connecting to Server...";
_root.send_lv.sendAndLoad(url, _root.rst_lv, "POST");
};
_initTop10 = function (mcpath, list) {
var _local3 = mcpath;
_local3.gotoAndStop("g2w_top10");
if ((list.top_score.status.data == 0) or (list.top_score.user[0].score.data == 0)) {
_top10_lbl._visible = false;
var _local2 = 0;
while (_local2 < 10) {
_local3["row" + _local2]._visible = false;
_local2++;
}
} else {
_noscore_mc._visible = false;
var _local2 = 0;
while (_local2 < 10) {
if ((list.top_score.user[_local2] == undefined) or (list.top_score.user[_local2].score.data == 0)) {
_local3["row" + _local2].txtrollno.text = "";
_local3["row" + _local2].txtusername.text = "";
_local3["row" + _local2].txtscore.text = "";
} else {
_local3["row" + _local2].txtrollno.text = _local2 + 1;
_local3["row" + _local2].txtusername.text = list.top_score.user[_local2].nick_name.data;
_local3["row" + _local2].txtscore.text = list.top_score.user[_local2].score.data;
}
_local2++;
}
}
_local3.playagain_btn.onRelease = function () {
_root.g2w_playagain(true);
};
};
var g2w_menu = new ContextMenu();
g2w_menu.hideBuiltInItems();
g2w_menu.customItems.push(new ContextMenuItem("Games2win.com", itemHandler));
itemHandler = function (obj, item) {
getURL (obj_partner.clickthru, "_blank");
};
this.menu = g2w_menu;
checkhost = function () {
trace("CALL CHECKHOST");
swfurl = this._url;
if (swfurl.indexOf("games2win.com") == -1) {
return(false);
}
return(true);
};
_trackClickThru = function (mc) {
if (obj_partner._allowclick) {
mc.hit_area.onRelease = function () {
getURL (obj_partner.clickthru, "_blank");
};
} else {
mc.hit_area.useHandCursor = false;
}
};
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));
};
function randomRange(min, max) {
var _local1 = Math.floor(Math.random() * ((max - min) + 1)) + min;
return(_local1);
}
_root.playIntro = true;
_root.allSounds = new Sound();
_root.score = 0;
_root.bonus = 0;
_root.timeScore = 0;
_root.levelScore = 0;
_root.isPause = false;
_root.maxLevels = 4;
_root.levelArray = new Array(1 + _root.maxLevels);
i = 0;
while (i < maxLevels) {
_root.levelArray[i] = "lbllevel" + (i + 1);
i++;
}
_root.levelArray[maxLevels] = "win";
_root.level = 1;
_root.playIntroSound = true;
_root.debug = false;
Frame 6
stop();
Frame 15
stop();
this.createEmptyMovieClip("e1", this.getNextHighestDepth());
e1.onEnterFrame = function () {
this._parent.percentage = int((this._parent.getBytesLoaded() * 100) / this._parent.getBytesTotal()) + " %";
if (this._parent.getBytesTotal() == this._parent.getBytesLoaded()) {
this._parent.gotoAndStop("lblgameintro");
delete this.onEnterFrame;
}
};
Frame 23
stop();
Frame 33
stop();
_root.myGame = _root.game_mc;
Symbol 600 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 () {
getURL (_global.obj_iads.link, "_blank");
};
}
break;
case "NOOP" :
clearInterval(int1);
_root.play();
break;
}
}
function get_iads() {
lv_iads = new XML();
lv_result = new XML();
lv_result.ignoreWhite = true;
lv_result.onLoad = function (success) {
if (success) {
parse_iads(lv_result);
} else {
_root.play();
}
};
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 time_delay() {
tim = 0;
int1 = setInterval(timespam, 1000);
}
function timespam() {
tim++;
trace(tim);
if (tim == show_time) {
clearInterval(int1);
_root.play();
}
}
function create_assets(mc, _type) {
mc.createEmptyMovieClip("whitebg", 0);
whitebg.beginFill(16777215);
whitebg.moveTo(0, 0);
whitebg.lineTo(0, 0);
whitebg.lineTo(Stage.width, 0);
whitebg.lineTo(Stage.width, Stage.height + 20);
whitebg.lineTo(0, Stage.height + 20);
whitebg.endFill();
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 _local3 = new TextFormat();
_local3.align = "center";
_local3.font = "Verdana";
_local3.size = 10;
var _local2 = new TextFormat();
_local2.align = "right";
_local2.font = "Verdana";
_local2.size = 10;
_local2.underline = true;
mc.createTextField("h_txt", mc.getNextHighestDepth(), 0, 0, 100, 22);
mc.createTextField("b_txt", mc.getNextHighestDepth(), 0, 0, 100, 22);
mc.createTextField("m_txt", mc.getNextHighestDepth(), 0, 0, 120, 22);
b_txt.autoSize = true;
m_txt.autoSize = true;
b_txt.selectable = false;
h_txt.selectable = false;
m_txt.selectable = false;
m_txt.html = true;
b_txt.multiline = true;
b_txt.setNewTextFormat(_local3);
h_txt.autoSize = true;
h_txt.setNewTextFormat(_local3);
m_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";
loadMessages();
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.";
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.invizi_logo.swapDepths(myself.getNextHighestDepth());
myself.invizi_logo._alpha = 100;
myself.invizi_logo._x = int(progressBar._x);
myself.invizi_logo._y = int(progressBar._y + progressBar._height) + 5;
m_txt._x = int(progressBar._x + progressBar._width) - m_txt._width;
m_txt._y = int(progressBar._y + progressBar._height) + 3;
myself.invizi_logo.onRelease = function () {
getURL ("http://www.inviziads.com/index.html?utm_source=4_1&utm_medium=logo&utm_content=default&utm_campaign=invizi", "_blank");
};
b_txt._x = (x + (ad_width / 2)) - (b_txt._width / 2);
b_txt._y = progressBar._y + 38;
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 loadMessages() {
lv_messages = new XML();
lv_messages.ignoreWhite = true;
lv_messages.onLoad = function (success) {
if (success) {
totalNodes = lv_messages.firstChild.childNodes.length;
ran = Math.floor(Math.random() * totalNodes);
if (lv_messages.firstChild.childNodes[ran].firstChild == undefined) {
m_txt.htmlText = "<font color='#0066CC'><a href='http://www.inviziads.com/adv-starter-pack.html' target='_blank'>Advertisers, try us out for US$250</a></font>";
} else {
m_txt.htmlText = ((("<font color='#0066CC'><a href='" + lv_messages.firstChild.childNodes[ran].attributes.link) + "' target='_blank'>") + lv_messages.firstChild.childNodes[ran].firstChild) + "</a></font>";
}
m_txt._x = int(progressBar._x + progressBar._width) - m_txt._width;
m_txt._y = int(progressBar._y + progressBar._height) + 2;
} else {
m_txt.htmlText = "<font color='#0066CC'><a href='http://inviziads.com' target='_blank'>Advertisers, try us out for US$250</a></font>";
m_txt._x = int(progressBar._x + progressBar._width) - m_txt._width;
m_txt._y = int(progressBar._y + progressBar._height) + 2;
}
};
lv_messages.load(messageURL);
}
function pushdata() {
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") {
myself.createEmptyMovieClip("holder", 100);
var _local3 = _global.obj_iads.url;
obj_iads = _global.obj_iads;
var _local2 = new MovieClipLoader();
_local2.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);
}
System.security.allowDomain("*");
System.security.allowInsecureDomain("*");
var time = 0;
var tim = 0;
var show_time = 0;
var tempo = 0;
var int1;
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 purl = flash.external.ExternalInterface.call("document.URL.toString");
var hurl = escape(_root._url);
var adurl = "http://s1.inviziads.com/lookup.html?";
adurl = adurl + "g=1127";
adurl = adurl + "&h=g2w";
adurl = adurl + "&type=pre";
adurl = adurl + "&v=4_3";
adurl = adurl + ("&purl=" + escape(purl));
adurl = adurl + ("&hurl=" + hurl);
var my_date = new Date();
adurl = adurl + ("&ts=" + my_date.getSeconds());
var messageURL = "http://s1.inviziads.com/template/invizi_messages.xml";
get_iads();
_root.stop();
Symbol 5 MovieClip Frame 1
stop();
Symbol 5 MovieClip Frame 2
stop();
Symbol 35 MovieClip Frame 1
_root._trackClickThru(this);
Symbol 44 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 47 MovieClip Frame 1
invizi_logo.onRelease = function () {
getURL ("http://www.inviziads.com/", "_blank");
};
Symbol 58 Button
on (release) {
trace("CALLING : _root.g2w_playagain()");
_root.g2w_playagain();
}
Symbol 61 Button
on (release) {
trace("CALLING : _root.g2w_skiplevel()");
_root.g2w_skiplevel();
}
Symbol 62 MovieClip Frame 1
stop();
Symbol 79 MovieClip [_g2w_gameover_mc] Frame 1
stop();
_root._validateHost(this);
Symbol 79 MovieClip [_g2w_gameover_mc] Frame 2
stop();
Symbol 79 MovieClip [_g2w_gameover_mc] Frame 11
stop();
Symbol 79 MovieClip [_g2w_gameover_mc] Frame 20
stop();
Symbol 79 MovieClip [_g2w_gameover_mc] Frame 30
stop();
Symbol 79 MovieClip [_g2w_gameover_mc] Frame 41
stop();
Symbol 80 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 () {
getURL (_global.obj_iads.link, "_blank");
};
}
break;
case "NOOP" :
clearInterval(int1);
_root.play();
break;
}
}
function get_iads() {
lv_iads = new XML();
lv_result = new XML();
lv_result.ignoreWhite = true;
lv_result.onLoad = function (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();
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++;
if (tim == show_time) {
clearInterval(int1);
_root.play();
}
}
function create_assets(mc, _type) {
mc.createEmptyMovieClip("whitebg", 0);
whitebg.beginFill(16777215);
whitebg.moveTo(0, 0);
whitebg.lineTo(0, 0);
whitebg.lineTo(Stage.width, 0);
whitebg.lineTo(Stage.width, Stage.height + 20);
whitebg.lineTo(0, Stage.height + 20);
whitebg.endFill();
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 _local3 = new TextFormat();
_local3.align = "center";
_local3.font = "Verdana";
_local3.size = 10;
var _local2 = new TextFormat();
_local2.align = "right";
_local2.font = "Verdana";
_local2.size = 10;
_local2.underline = true;
mc.createTextField("h_txt", mc.getNextHighestDepth(), 0, 0, 100, 22);
mc.createTextField("b_txt", mc.getNextHighestDepth(), 0, 0, 100, 22);
mc.createTextField("m_txt", mc.getNextHighestDepth(), 0, 0, 120, 22);
b_txt.autoSize = true;
m_txt.autoSize = true;
b_txt.selectable = false;
h_txt.selectable = false;
m_txt.selectable = false;
m_txt.html = true;
b_txt.multiline = true;
b_txt.setNewTextFormat(_local3);
h_txt.autoSize = true;
h_txt.setNewTextFormat(_local3);
m_txt.setNewTextFormat(_local2);
loadMessages();
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() + 100);
myself.invizi_logo.swapDepths(myself.getNextHighestDepth());
myself.invizi_logo._x = int(progressBar._x);
myself.invizi_logo._y = int(progressBar._y + progressBar._height) + 5;
m_txt._x = int(progressBar._x + progressBar._width) - m_txt._width;
m_txt._y = int(progressBar._y + progressBar._height) + 3;
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 + 38;
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 loadMessages() {
lv_messages = new XML();
lv_messages.onLoad = function (success) {
if (success) {
totalNodes = lv_messages.firstChild.childNodes.length;
ran = Math.floor(Math.random() * totalNodes);
trace(lv_messages.firstChild);
if (lv_messages.firstChild.childNodes[ran].firstChild == undefined) {
m_txt.htmlText = "<font color='#ff0000'><a href='http://www.inviziads.com/adv-starter-pack.html' target='_blank'>Advertisers, try us out for US$250</a></font>";
} else {
m_txt.htmlText = ((("<font color='#ff0000'><a href='" + lv_messages.firstChild.childNodes[ran].attributes.link) + "' target='_blank'>") + lv_messages.firstChild.childNodes[ran].firstChild) + "</a></font>";
}
m_txt._x = int(progressBar._x + progressBar._width) - m_txt._width;
m_txt._y = int(progressBar._y + progressBar._height) + 2;
} else {
m_txt.htmlText = "<font color='#ff0000'><a href='http://www.inviziads.com/adv-starter-pack.html' target='_blank'>Advertisers, try us out for US$250</a></font>";
m_txt._x = int(progressBar._x + progressBar._width) - m_txt._width;
m_txt._y = int(progressBar._y + progressBar._height) + 2;
}
};
lv_messages.load(_root.messageURL);
}
function pushdata() {
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") {
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) {
};
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);
}
System.security.allowDomain("*");
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;
if (_root.checkhost() == false) {
_root.stop();
var my_date = new Date();
_root.adurl = (_root.obj_game.inviziads + "&type=pre&ts=") + my_date.getSeconds();
_root.messageURL = "http://s1.inviziads.com/template/invizi_messages.xml";
get_iads();
} else {
_root.play();
}
Symbol 83 MovieClip [stars] Frame 31
this.removeMovieClip();
Symbol 92 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 92 MovieClip [game_sound_ctrl] Frame 2
stop();
changeVol(100, 5);
Symbol 92 MovieClip [game_sound_ctrl] Frame 3
stop();
changeVol(0, -5);
Symbol 597 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 98 MovieClip Frame 120
stop();
_root.play();
Symbol 134 MovieClip Frame 90
stop();
stopAllSounds();
_root.play();
Symbol 139 MovieClip Frame 1
stop();
Symbol 139 MovieClip Frame 2
stop();
Symbol 201 MovieClip Frame 1
if (!_root.playIntro) {
gotoAndStop(_totalframes);
}
if (_root.playIntroSound) {
stopAllSounds();
sound_mc.gotoAndStop(2);
}
_root.playIntroSound = false;
_root.playIntro = false;
Symbol 201 MovieClip Frame 64
stop();
story_btn.onRelease = function () {
_root.gameIntro_mc.gotoAndStop("story");
};
instructions_btn.onRelease = function () {
_root.gameIntro_mc.gotoAndStop("instructions");
};
start_btn.onRelease = function () {
_root.gameIntro_mc.gotoAndStop("force_help");
};
Symbol 203 MovieClip Frame 1
stop();
Symbol 203 MovieClip Frame 2
stop();
Symbol 215 MovieClip Frame 72
stop();
start_btn.onRelease = function () {
_root.gameIntro_mc.gotoAndStop("force_help");
};
back_btn.onRelease = function () {
_root.gameIntro_mc.gotoAndStop("lblgameintro");
};
Symbol 222 MovieClip Frame 72
stop();
start_btn.onRelease = function () {
_root.gameIntro_mc.gotoAndStop("force_help");
};
back_btn.onRelease = function () {
_root.gameIntro_mc.gotoAndStop("lblgameintro");
};
Symbol 224 MovieClip Frame 1
Symbol 224 MovieClip Frame 9
stop();
_root.playIntroSound = false;
Symbol 224 MovieClip Frame 18
stop();
Symbol 224 MovieClip Frame 23
stop();
Symbol 224 MovieClip Frame 35
stop();
start_btn.onRelease = function () {
_root.gotoAndStop("lblgame");
};
Symbol 252 MovieClip Frame 1
var xpos = this._x;
var birdX = 900;
var speed = 3;
onEnterFrame = function () {
this._x = this._x + speed;
if (this._x >= birdX) {
this._x = xpos;
birdX = 900;
speed = 3;
}
};
Symbol 257 MovieClip Frame 1
stop();
Symbol 257 MovieClip Frame 20
stop();
_parent._parent._parent._parent.lineCheck();
Symbol 258 MovieClip Frame 1
this.useHandCursor = false;
this.onRelease = function () {
if (_parent._parent._parent.lvl101_mc.girl_mc.fruit_mc.lemon_mc._currentframe == 1) {
if (_currentframe == 2) {
var _local4 = _root.attachMovie("stars", "stars1", _root.getNextHighestDepth());
var _local6 = _root.attachMovie("stars", "stars2", _root.getNextHighestDepth());
_local4._xscale = (_local6._xscale = 70);
_local4._yscale = (_local6._yscale = 70);
var _local5 = new Object();
_local5.x = this._x;
_local5.y = this._y;
localToGlobal(_local5);
_local4._x = _local5.x - 100;
_local4._y = _local5.y;
_local6._x = _local4._x;
_local6._y = _local4._y + 300;
lemon_mc.gotoAndPlay(2);
} else {
var _local4 = _root.attachMovie("stars", "stars1", _root.getNextHighestDepth());
var _local6 = _root.attachMovie("stars", "stars2", _root.getNextHighestDepth());
_local4._xscale = (_local6._xscale = 70);
_local4._yscale = (_local6._yscale = 70);
var _local5 = new Object();
_local5.x = this._x;
_local5.y = this._y;
localToGlobal(_local5);
_local4._x = _local5.x - 100;
_local4._y = _local5.y;
_local6._x = _local4._x;
_local6._y = _local4._y - 300;
_parent._parent._parent.lvl101_mc.girl_mc.fruit_mc.lemon_mc.gotoAndPlay(2);
}
} else if (_parent._parent._parent.lvl101_mc.girl_mc.fruit_mc.lemon_mc._currentframe >= 1) {
if (_root.chances > 1) {
_root.chances--;
} else {
_root.myGame.gotoAndStop("gameOver");
}
}
};
stop();
Symbol 258 MovieClip Frame 2
stop();
Symbol 265 MovieClip Frame 1
stop();
Symbol 265 MovieClip Frame 2
Symbol 265 MovieClip Frame 20
stop();
_parent._parent._parent.lineCheck();
Symbol 266 MovieClip Frame 1
castlFrm_mc.useHandCursor = false;
castlFrm_mc.onRelease = function () {
if (_parent._parent.lvl101_mc.castel_mc.castel2_mc._currentframe == 1) {
if (_currentframe == 2) {
var _local4 = _root.attachMovie("stars", "stars1", _root.getNextHighestDepth());
var _local6 = _root.attachMovie("stars", "stars2", _root.getNextHighestDepth());
_local4._xscale = (_local6._xscale = 70);
_local4._yscale = (_local6._yscale = 70);
var _local5 = new Object();
_local5.x = this._x;
_local5.y = this._y;
localToGlobal(_local5);
_local4._x = _local5.x + 30;
_local4._y = _local5.y;
_local6._x = _local4._x;
_local6._y = _local4._y + 300;
castel2_mc.gotoAndPlay(2);
} else {
var _local4 = _root.attachMovie("stars", "stars1", _root.getNextHighestDepth());
var _local6 = _root.attachMovie("stars", "stars2", _root.getNextHighestDepth());
_local4._xscale = (_local6._xscale = 70);
_local4._yscale = (_local6._yscale = 70);
var _local5 = new Object();
_local5.x = this._x;
_local5.y = this._y;
localToGlobal(_local5);
_local4._x = _local5.x + 30;
_local4._y = _local5.y;
_local6._x = _local4._x;
_local6._y = _local4._y - 300;
_parent._parent.lvl101_mc.castel_mc.castel2_mc.gotoAndPlay(2);
}
} else if (_parent._parent.lvl101_mc.castel_mc.castel2_mc._currentframe >= 1) {
if (_root.chances > 1) {
_root.chances--;
} else {
_root.myGame.gotoAndStop("gameOver");
}
}
};
stop();
Symbol 266 MovieClip Frame 2
stop();
Symbol 274 MovieClip Frame 1
stop();
this.useHandCursor = false;
this.onRelease = function () {
gotoAndPlay(_currentframe + 1);
};
Symbol 274 MovieClip Frame 20
stop();
_parent._parent._parent._parent.lineCheck();
Symbol 275 MovieClip Frame 1
this.useHandCursor = false;
this.onRelease = function () {
if (_parent._parent._parent.lvl101_mc.dog_mc.belt_mc.belt2_mc._currentframe == 1) {
if (_currentframe == 2) {
var _local4 = _root.attachMovie("stars", "stars1", _root.getNextHighestDepth());
var _local6 = _root.attachMovie("stars", "stars2", _root.getNextHighestDepth());
_local4._xscale = (_local6._xscale = 70);
_local4._yscale = (_local6._yscale = 70);
var _local5 = new Object();
_local5.x = this._x;
_local5.y = this._y;
localToGlobal(_local5);
_local4._x = _local5.x + 30;
_local4._y = _local5.y;
_local6._x = _local4._x;
_local6._y = _local4._y + 300;
belt2_mc.gotoAndPlay(2);
} else {
var _local4 = _root.attachMovie("stars", "stars1", _root.getNextHighestDepth());
var _local6 = _root.attachMovie("stars", "stars2", _root.getNextHighestDepth());
_local4._xscale = (_local6._xscale = 70);
_local4._yscale = (_local6._yscale = 70);
var _local5 = new Object();
_local5.x = this._x;
_local5.y = this._y;
localToGlobal(_local5);
_local4._x = _local5.x + 30;
_local4._y = _local5.y;
_local6._x = _local4._x;
_local6._y = _local4._y - 300;
_parent._parent._parent.lvl101_mc.dog_mc.belt_mc.belt2_mc.gotoAndPlay(2);
}
} else if (_parent._parent._parent.lvl101_mc.dog_mc.belt_mc.belt2_mc._currentframe >= 1) {
if (_root.chances > 1) {
_root.chances--;
} else {
_root.myGame.gotoAndStop("gameOver");
}
}
};
stop();
Symbol 275 MovieClip Frame 2
stop();
Symbol 295 MovieClip Frame 133
stop();
var no = 0;
onEnterFrame = function () {
no++;
if (no >= 500) {
no = 0;
gotoAndPlay (1);
}
};
Symbol 297 MovieClip Frame 1
this.useHandCursor = false;
onRelease = function () {
if (_root.chances > 1) {
trace(_root.chances);
_root.chances--;
} else {
_root.myGame.gotoAndStop("gameOver");
}
};
Symbol 306 MovieClip Frame 1
stop();
Symbol 306 MovieClip Frame 2
stop();
Symbol 307 MovieClip Frame 1
var no = 0;
onEnterFrame = function () {
if (hudLine3_mc._currentframe == 2) {
no++;
if (no >= 20) {
_root.bonus = _root.chances * 100;
_root.score = _root.score + _root.bonus;
_root.myGame.gotoAndStop("levelComplete");
}
}
};
Symbol 308 MovieClip Frame 1
function lineCheck() {
if (hud_mc.hudLine1_mc._currentframe == 1) {
hud_mc.hudLine1_mc.gotoAndStop(2);
_root.score = _root.score + 100;
} else if (hud_mc.hudLine2_mc._currentframe == 1) {
hud_mc.hudLine2_mc.gotoAndStop(2);
_root.score = _root.score + 100;
} else if (hud_mc.hudLine3_mc._currentframe == 1) {
hud_mc.hudLine3_mc.gotoAndStop(2);
_root.score = _root.score + 100;
}
}
var mouseHits = 0;
_root.chances = 9;
_root.objctHit = false;
lvl101_mc.girl_mc.fruit_mc.gotoAndStop(2);
lvl101_mc.castel_mc.gotoAndStop(2);
lvl101_mc.dog_mc.belt_mc.gotoAndStop(2);
Instance of Symbol 298 MovieClip "lvl102_mc" in Symbol 308 MovieClip Frame 1
onClipEvent (load) {
var name = lvl101;
}
Instance of Symbol 298 MovieClip "lvl101_mc" in Symbol 308 MovieClip Frame 1
onClipEvent (load) {
var name = lvl102;
}
Symbol 311 MovieClip Frame 1
stop();
Symbol 311 MovieClip Frame 2
stop();
Symbol 328 MovieClip Frame 1
stop();
Symbol 328 MovieClip Frame 20
stop();
_parent._parent._parent.lineCheck();
Symbol 329 MovieClip Frame 1
handleFrm_mc.useHandCursor = false;
handleFrm_mc.onRelease = function () {
if (_parent._parent.lvl201_mc.bike_mc.bike2_mc._currentframe == 1) {
if (_currentframe == 2) {
var _local4 = _root.attachMovie("stars", "stars1", _root.getNextHighestDepth());
var _local6 = _root.attachMovie("stars", "stars2", _root.getNextHighestDepth());
_local4._xscale = (_local6._xscale = 70);
_local4._yscale = (_local6._yscale = 70);
var _local5 = new Object();
_local5.x = this._x;
_local5.y = this._y;
localToGlobal(_local5);
_local4._x = _local5.x + 30;
_local4._y = _local5.y;
_local6._x = _local4._x;
_local6._y = _local4._y + 300;
bike2_mc.gotoAndPlay(2);
} else {
var _local4 = _root.attachMovie("stars", "stars1", _root.getNextHighestDepth());
var _local6 = _root.attachMovie("stars", "stars2", _root.getNextHighestDepth());
_local4._xscale = (_local6._xscale = 70);
_local4._yscale = (_local6._yscale = 70);
var _local5 = new Object();
_local5.x = this._x;
_local5.y = this._y;
localToGlobal(_local5);
_local4._x = _local5.x + 30;
_local4._y = _local5.y;
_local6._x = _local4._x;
_local6._y = _local4._y - 300;
_parent._parent.lvl201_mc.bike_mc.gotoAndStop(2);
_parent._parent.lvl201_mc.bike_mc.bike2_mc.gotoAndPlay(2);
}
} else if (_parent._parent.lvl201_mc.bike_mc.bike2_mc._currentframe >= 1) {
if (_root.chances > 1) {
_root.chances--;
} else {
_root.myGame.gotoAndStop("gameOver");
}
}
};
stop();
Symbol 329 MovieClip Frame 2
stop();
Symbol 340 MovieClip Frame 1
stop();
Symbol 340 MovieClip Frame 20
stop();
_parent._parent._parent.lineCheck();
Symbol 341 MovieClip Frame 1
boyFrm_mc.useHandCursor = false;
boyFrm_mc.onRelease = function () {
if (_parent._parent.lvl201_mc.boy_mc.boy2_mc._currentframe == 1) {
if (_currentframe == 2) {
var _local4 = _root.attachMovie("stars", "stars1", _root.getNextHighestDepth());
var _local6 = _root.attachMovie("stars", "stars2", _root.getNextHighestDepth());
_local4._xscale = (_local6._xscale = 70);
_local4._yscale = (_local6._yscale = 70);
var _local5 = new Object();
_local5.x = this._x;
_local5.y = this._y;
localToGlobal(_local5);
_local4._x = _local5.x + 30;
_local4._y = _local5.y;
_local6._x = _local4._x;
_local6._y = _local4._y + 300;
boy2_mc.gotoAndPlay(2);
} else {
var _local4 = _root.attachMovie("stars", "stars1", _root.getNextHighestDepth());
var _local6 = _root.attachMovie("stars", "stars2", _root.getNextHighestDepth());
_local4._xscale = (_local6._xscale = 70);
_local4._yscale = (_local6._yscale = 70);
var _local5 = new Object();
_local5.x = this._x;
_local5.y = this._y;
localToGlobal(_local5);
_local4._x = _local5.x + 30;
_local4._y = _local5.y;
_local6._x = _local4._x;
_local6._y = _local4._y - 300;
_parent._parent.lvl201_mc.boy_mc.gotoAndStop(2);
_parent._parent.lvl201_mc.boy_mc.boy2_mc.gotoAndPlay(2);
}
} else if (_parent._parent.lvl201_mc.boy_mc.boy2_mc._currentframe >= 1) {
if (_root.chances > 1) {
_root.chances--;
} else {
_root.myGame.gotoAndStop("gameOver");
}
}
};
stop();
Symbol 341 MovieClip Frame 2
stop();
Symbol 345 MovieClip Frame 1
stop();
Symbol 345 MovieClip Frame 20
stop();
_parent._parent._parent.lineCheck();
Symbol 346 MovieClip Frame 1
paraFrm_mc.useHandCursor = false;
paraFrm_mc.onRelease = function () {
if (_parent._parent.lvl201_mc.para_mc.para2_mc._currentframe == 1) {
if (_currentframe == 2) {
var _local4 = _root.attachMovie("stars", "stars1", _root.getNextHighestDepth());
var _local6 = _root.attachMovie("stars", "stars2", _root.getNextHighestDepth());
_local4._xscale = (_local6._xscale = 70);
_local4._yscale = (_local6._yscale = 70);
var _local5 = new Object();
_local5.x = this._x;
_local5.y = this._y;
localToGlobal(_local5);
_local4._x = _local5.x + 30;
_local4._y = _local5.y;
_local6._x = _local4._x;
_local6._y = _local4._y + 300;
para2_mc.gotoAndPlay(2);
} else {
var _local4 = _root.attachMovie("stars", "stars1", _root.getNextHighestDepth());
var _local6 = _root.attachMovie("stars", "stars2", _root.getNextHighestDepth());
_local4._xscale = (_local6._xscale = 70);
_local4._yscale = (_local6._yscale = 70);
var _local5 = new Object();
_local5.x = this._x;
_local5.y = this._y;
localToGlobal(_local5);
_local4._x = _local5.x + 30;
_local4._y = _local5.y;
_local6._x = _local4._x;
_local6._y = _local4._y - 300;
_parent._parent.lvl201_mc.para_mc.gotoAndStop(2);
_parent._parent.lvl201_mc.para_mc.para2_mc.gotoAndPlay(2);
}
} else if (_parent._parent.lvl201_mc.para_mc.para2_mc._currentframe >= 1) {
if (_root.chances > 1) {
_root.chances--;
} else {
_root.myGame.gotoAndStop("gameOver");
}
}
};
stop();
Symbol 346 MovieClip Frame 2
stop();
Symbol 354 MovieClip Frame 1
stop();
Symbol 354 MovieClip Frame 20
stop();
_parent._parent._parent.lineCheck();
Symbol 355 MovieClip Frame 1
boatFrm_mc.useHandCursor = false;
boatFrm_mc.onRelease = function () {
if (_parent._parent.lvl201_mc.boat_mc.boat2_mc._currentframe == 1) {
if (_currentframe == 2) {
var _local4 = _root.attachMovie("stars", "stars1", _root.getNextHighestDepth());
var _local6 = _root.attachMovie("stars", "stars2", _root.getNextHighestDepth());
_local4._xscale = (_local6._xscale = 70);
_local4._yscale = (_local6._yscale = 70);
var _local5 = new Object();
_local5.x = this._x;
_local5.y = this._y;
localToGlobal(_local5);
_local4._x = _local5.x + 30;
_local4._y = _local5.y;
_local6._x = _local4._x;
_local6._y = _local4._y + 300;
boat2_mc.gotoAndPlay(2);
} else {
var _local4 = _root.attachMovie("stars", "stars1", _root.getNextHighestDepth());
var _local6 = _root.attachMovie("stars", "stars2", _root.getNextHighestDepth());
_local4._xscale = (_local6._xscale = 70);
_local4._yscale = (_local6._yscale = 70);
var _local5 = new Object();
_local5.x = this._x;
_local5.y = this._y;
localToGlobal(_local5);
_local4._x = _local5.x + 30;
_local4._y = _local5.y;
_local6._x = _local4._x;
_local6._y = _local4._y - 300;
_parent._parent.lvl201_mc.boat_mc.gotoAndStop(2);
_parent._parent.lvl201_mc.boat_mc.boat2_mc.gotoAndPlay(2);
}
} else if (_parent._parent.lvl201_mc.boat_mc.boat2_mc._currentframe >= 1) {
if (_root.chances > 1) {
_root.chances--;
} else {
_root.myGame.gotoAndStop("gameOver");
}
}
};
stop();
Symbol 355 MovieClip Frame 2
stop();
Symbol 360 MovieClip Frame 1
stop();
Symbol 360 MovieClip Frame 20
stop();
_parent._parent._parent._parent.lineCheck();
Symbol 361 MovieClip Frame 1
btnFrm_mc.useHandCursor = false;
btnFrm_mc.onRelease = function () {
if (_parent._parent._parent.lvl201_mc.girl_mc.jacket_mc.jacket2_mc._currentframe == 1) {
if (_currentframe == 2) {
var _local4 = _root.attachMovie("stars", "stars1", _root.getNextHighestDepth());
var _local6 = _root.attachMovie("stars", "stars2", _root.getNextHighestDepth());
_local4._xscale = (_local6._xscale = 70);
_local4._yscale = (_local6._yscale = 70);
var _local5 = new Object();
_local5.x = this._x;
_local5.y = this._y;
localToGlobal(_local5);
_local4._x = _local5.x + 30;
_local4._y = _local5.y;
_local6._x = _local4._x;
_local6._y = _local4._y + 300;
jacket2_mc.gotoAndPlay(2);
} else {
var _local4 = _root.attachMovie("stars", "stars1", _root.getNextHighestDepth());
var _local6 = _root.attachMovie("stars", "stars2", _root.getNextHighestDepth());
_local4._xscale = (_local6._xscale = 70);
_local4._yscale = (_local6._yscale = 70);
var _local5 = new Object();
_local5.x = this._x;
_local5.y = this._y;
localToGlobal(_local5);
_local4._x = _local5.x + 30;
_local4._y = _local5.y;
_local6._x = _local4._x;
_local6._y = _local4._y - 300;
_parent._parent._parent.lvl201_mc.girl_mc.jacket_mc.gotoAndStop(2);
_parent._parent._parent.lvl201_mc.girl_mc.jacket_mc.jacket2_mc.gotoAndPlay(2);
}
} else if (_parent._parent._parent.lvl201_mc.girl_mc.jacket_mc.jacket2_mc._currentframe >= 1) {
if (_root.chances > 1) {
_root.chances--;
} else {
_root.myGame.gotoAndStop("gameOver");
}
}
};
stop();
Symbol 361 MovieClip Frame 2
stop();
Symbol 379 MovieClip Frame 30
stop();
var no = 0;
onEnterFrame = function () {
no++;
if (no >= 200) {
no = 0;
gotoAndPlay (1);
}
};
Symbol 381 MovieClip Frame 1
this.useHandCursor = false;
onRelease = function () {
if (_root.chances > 1) {
_root.chances--;
} else {
_root.myGame.gotoAndStop("gameOver");
}
};
Symbol 383 MovieClip Frame 1
var no = 0;
onEnterFrame = function () {
if (hudLine5_mc._currentframe == 2) {
no++;
if (no >= 20) {
_root.bonus = _root.chances * 100;
_root.score = _root.score + _root.bonus;
_root.myGame.gotoAndStop("levelComplete");
}
}
};
Symbol 384 MovieClip Frame 1
function lineCheck() {
if (hud_mc.hudLine1_mc._currentframe == 1) {
hud_mc.hudLine1_mc.gotoAndStop(2);
_root.score = _root.score + 100;
} else if (hud_mc.hudLine2_mc._currentframe == 1) {
hud_mc.hudLine2_mc.gotoAndStop(2);
_root.score = _root.score + 100;
} else if (hud_mc.hudLine3_mc._currentframe == 1) {
hud_mc.hudLine3_mc.gotoAndStop(2);
_root.score = _root.score + 100;
} else if (hud_mc.hudLine4_mc._currentframe == 1) {
hud_mc.hudLine4_mc.gotoAndStop(2);
_root.score = _root.score + 100;
} else if (hud_mc.hudLine5_mc._currentframe == 1) {
hud_mc.hudLine5_mc.gotoAndStop(2);
_root.score = _root.score + 100;
}
}
var mouseHits = 0;
_root.chances = 12;
lvl201_mc.girl_mc.jacket_mc.gotoAndStop(2);
lvl201_mc.boy_mc.gotoAndStop(2);
lvl201_mc.para_mc.gotoAndStop(2);
lvl201_mc.boat_mc.gotoAndStop(2);
lvl201_mc.bike_mc.gotoAndStop(2);
Symbol 385 MovieClip Frame 1
stop();
Symbol 385 MovieClip Frame 2
stop();
Symbol 404 MovieClip Frame 1
stop();
Symbol 404 MovieClip Frame 20
stop();
_parent._parent._parent.lineCheck();
Symbol 405 MovieClip Frame 1
handFrm_mc.useHandCursor = false;
handFrm_mc.onRelease = function () {
if (_parent._parent.lvl301_mc.hand_mc.hand2_mc._currentframe == 1) {
if (_currentframe == 2) {
var _local4 = _root.attachMovie("stars", "stars1", _root.getNextHighestDepth());
var _local6 = _root.attachMovie("stars", "stars2", _root.getNextHighestDepth());
_local4._xscale = (_local6._xscale = 70);
_local4._yscale = (_local6._yscale = 70);
var _local5 = new Object();
_local5.x = this._x;
_local5.y = this._y;
localToGlobal(_local5);
_local4._x = _local5.x;
_local4._y = _local5.y;
_local6._x = _local4._x;
_local6._y = _local4._y + 300;
hand2_mc.gotoAndPlay(2);
} else {
var _local4 = _root.attachMovie("stars", "stars1", _root.getNextHighestDepth());
var _local6 = _root.attachMovie("stars", "stars2", _root.getNextHighestDepth());
_local4._xscale = (_local6._xscale = 70);
_local4._yscale = (_local6._yscale = 70);
var _local5 = new Object();
_local5.x = this._x;
_local5.y = this._y;
localToGlobal(_local5);
_local4._x = _local5.x;
_local4._y = _local5.y;
_local6._x = _local4._x;
_local6._y = _local4._y - 300;
_parent._parent.lvl301_mc.hand_mc.gotoAndStop(2);
_parent._parent.lvl301_mc.hand_mc.hand2_mc.gotoAndPlay(2);
}
} else if (_parent._parent.lvl301_mc.hand_mc.hand2_mc._currentframe >= 1) {
if (_root.chances > 1) {
_root.chances--;
} else {
_root.myGame.gotoAndStop("gameOver");
}
}
};
stop();
Symbol 405 MovieClip Frame 2
stop();
Symbol 410 MovieClip Frame 1
stop();
Symbol 410 MovieClip Frame 20
stop();
_parent._parent._parent.lineCheck();
Symbol 411 MovieClip Frame 1
skrtFrm_mc.useHandCursor = false;
skrtFrm_mc.onRelease = function () {
if (_parent._parent.lvl301_mc.skirt_mc.skirt2_mc._currentframe == 1) {
if (_currentframe == 2) {
var _local4 = _root.attachMovie("stars", "stars1", _root.getNextHighestDepth());
var _local6 = _root.attachMovie("stars", "stars2", _root.getNextHighestDepth());
_local4._xscale = (_local6._xscale = 70);
_local4._yscale = (_local6._yscale = 70);
var _local5 = new Object();
_local5.x = this._x;
_local5.y = this._y;
localToGlobal(_local5);
_local4._x = _local5.x + 40;
_local4._y = _local5.y - 10;
_local6._x = _local4._x;
_local6._y = _local4._y + 300;
skirt2_mc.gotoAndPlay(2);
} else {
var _local4 = _root.attachMovie("stars", "stars1", _root.getNextHighestDepth());
var _local6 = _root.attachMovie("stars", "stars2", _root.getNextHighestDepth());
_local4._xscale = (_local6._xscale = 70);
_local4._yscale = (_local6._yscale = 70);
var _local5 = new Object();
_local5.x = this._x;
_local5.y = this._y;
localToGlobal(_local5);
_local4._x = _local5.x + 40;
_local4._y = _local5.y - 10;
_local6._x = _local4._x;
_local6._y = _local4._y - 300;
_parent._parent.lvl301_mc.skirt_mc.gotoAndStop(2);
_parent._parent.lvl301_mc.skirt_mc.skirt2_mc.gotoAndPlay(2);
}
} else if (_parent._parent.lvl301_mc.skirt_mc.skirt2_mc._currentframe >= 1) {
if (_root.chances > 1) {
_root.chances--;
} else {
_root.myGame.gotoAndStop("gameOver");
}
}
};
stop();
Symbol 411 MovieClip Frame 2
stop();
Symbol 422 MovieClip Frame 1
stop();
Symbol 422 MovieClip Frame 20
stop();
_parent._parent._parent.lineCheck();
Symbol 423 MovieClip Frame 1
watchFrm_mc.useHandCursor = false;
watchFrm_mc.onRelease = function () {
if (_parent._parent.lvl301_mc.watch_mc.watch2_mc._currentframe == 1) {
if (_currentframe == 2) {
var _local4 = _root.attachMovie("stars", "stars1", _root.getNextHighestDepth());
var _local6 = _root.attachMovie("stars", "stars2", _root.getNextHighestDepth());
_local4._xscale = (_local6._xscale = 70);
_local4._yscale = (_local6._yscale = 70);
var _local5 = new Object();
_local5.x = this._x;
_local5.y = this._y;
localToGlobal(_local5);
_local4._x = _local5.x + 30;
_local4._y = _local5.y + 20;
_local6._x = _local4._x;
_local6._y = _local4._y + 300;
watch2_mc.gotoAndPlay(2);
} else {
var _local4 = _root.attachMovie("stars", "stars1", _root.getNextHighestDepth());
var _local6 = _root.attachMovie("stars", "stars2", _root.getNextHighestDepth());
_local4._xscale = (_local6._xscale = 70);
_local4._yscale = (_local6._yscale = 70);
var _local5 = new Object();
_local5.x = this._x;
_local5.y = this._y;
localToGlobal(_local5);
_local4._x = _local5.x + 30;
_local4._y = _local5.y + 20;
_local6._x = _local4._x;
_local6._y = _local4._y - 300;
_parent._parent.lvl301_mc.watch_mc.gotoAndStop(2);
_parent._parent.lvl301_mc.watch_mc.watch2_mc.gotoAndPlay(2);
}
} else if (_parent._parent.lvl301_mc.watch_mc.watch2_mc._currentframe >= 1) {
if (_root.chances > 1) {
_root.chances--;
} else {
_root.myGame.gotoAndStop("gameOver");
}
}
};
stop();
Symbol 423 MovieClip Frame 2
stop();
Symbol 427 MovieClip Frame 1
stop();
Symbol 427 MovieClip Frame 20
stop();
_parent._parent._parent.lineCheck();
Symbol 428 MovieClip Frame 1
this.useHandCursor = false;
this.onRelease = function () {
if (_parent._parent.lvl301_mc.sleeper_mc.sleeper2_mc._currentframe == 1) {
if (_currentframe == 2) {
var _local4 = _root.attachMovie("stars", "stars1", _root.getNextHighestDepth());
var _local6 = _root.attachMovie("stars", "stars2", _root.getNextHighestDepth());
_local4._xscale = (_local6._xscale = 70);
_local4._yscale = (_local6._yscale = 70);
var _local5 = new Object();
_local5.x = this._x;
_local5.y = this._y;
localToGlobal(_local5);
_local4._x = _local5.x + 350;
_local4._y = _local5.y - 70;
_local6._x = _local4._x;
_local6._y = _local4._y + 300;
trace((_local6._x + " ") + _local4._x);
sleeper2_mc.gotoAndPlay(2);
} else {
var _local4 = _root.attachMovie("stars", "stars1", _root.getNextHighestDepth());
var _local6 = _root.attachMovie("stars", "stars2", _root.getNextHighestDepth());
_local4._xscale = (_local6._xscale = 70);
_local4._yscale = (_local6._yscale = 70);
var _local5 = new Object();
_local5.x = this._x;
_local5.y = this._y;
localToGlobal(_local5);
_local4._x = _local5.x + 350;
_local4._y = _local5.y - 70;
_local6._x = _local4._x;
_local6._y = _local4._y - 300;
trace((_local6._x + " ") + _local4._x);
_parent._parent.lvl301_mc.sleeper_mc.gotoAndStop(2);
_parent._parent.lvl301_mc.sleeper_mc.sleeper2_mc.gotoAndPlay(2);
}
} else if (_parent._parent.lvl301_mc.sleeper_mc.sleeper2_mc._currentframe >= 1) {
if (_root.chances > 1) {
_root.chances--;
} else {
_root.myGame.gotoAndStop("gameOver");
}
}
};
stop();
Symbol 428 MovieClip Frame 2
stop();
Symbol 434 MovieClip Frame 1
stop();
Symbol 434 MovieClip Frame 21
stop();
_parent._parent._parent.lineCheck();
Symbol 435 MovieClip Frame 1
gogFrm_mc.useHandCursor = false;
gogFrm_mc.onRelease = function () {
if (_parent._parent.lvl301_mc.band_mc.band2_mc._currentframe == 1) {
if (_currentframe == 2) {
var _local4 = _root.attachMovie("stars", "stars1", _root.getNextHighestDepth());
var _local6 = _root.attachMovie("stars", "stars2", _root.getNextHighestDepth());
_local4._xscale = (_local6._xscale = 70);
_local4._yscale = (_local6._yscale = 70);
var _local5 = new Object();
_local5.x = this._x;
_local5.y = this._y;
localToGlobal(_local5);
_local4._x = _local5.x + 30;
_local4._y = _local5.y - 290;
_local6._x = _local4._x;
_local6._y = _local4._y + 300;
band2_mc.gotoAndPlay(2);
} else {
var _local4 = _root.attachMovie("stars", "stars1", _root.getNextHighestDepth());
var _local6 = _root.attachMovie("stars", "stars2", _root.getNextHighestDepth());
_local4._xscale = (_local6._xscale = 70);
_local4._yscale = (_local6._yscale = 70);
var _local5 = new Object();
_local5.x = this._x;
_local5.y = this._y;
localToGlobal(_local5);
_local4._x = _local5.x + 30;
_local4._y = _local5.y - 290;
_local6._x = _local4._x;
_local6._y = _local4._y - 300;
_parent._parent.lvl301_mc.band_mc.gotoAndStop(2);
_parent._parent.lvl301_mc.band_mc.band2_mc.gotoAndPlay(2);
}
} else if (_parent._parent.lvl301_mc.band_mc.band2_mc._currentframe >= 1) {
if (_root.chances > 1) {
_root.chances--;
} else {
_root.myGame.gotoAndStop("gameOver");
}
}
};
stop();
Symbol 435 MovieClip Frame 2
stop();
Symbol 444 MovieClip Frame 1
stop();
Symbol 445 MovieClip Frame 1
stop();
Symbol 445 MovieClip Frame 20
stop();
_parent._parent._parent.lineCheck();
Symbol 446 MovieClip Frame 1
oppHandFrm_mc.useHandCursor = false;
oppHandFrm_mc.onRelease = function () {
if (_parent._parent.lvl301_mc.girlWlkHand_mc.girlWlkHand2_mc._currentframe == 1) {
if (_currentframe == 2) {
var _local4 = _root.attachMovie("stars", "stars1", _root.getNextHighestDepth());
var _local6 = _root.attachMovie("stars", "stars2", _root.getNextHighestDepth());
_local4._xscale = (_local6._xscale = 70);
_local4._yscale = (_local6._yscale = 70);
var _local5 = new Object();
_local5.x = this._x;
_local5.y = this._y;
localToGlobal(_local5);
_local4._x = _local5.x;
_local4._y = _local5.y;
_local6._x = _local4._x;
_local6._y = _local4._y + 300;
girlWlkHand2_mc.gotoAndPlay(2);
} else {
var _local4 = _root.attachMovie("stars", "stars1", _root.getNextHighestDepth());
var _local6 = _root.attachMovie("stars", "stars2", _root.getNextHighestDepth());
_local4._xscale = (_local6._xscale = 70);
_local4._yscale = (_local6._yscale = 70);
var _local5 = new Object();
_local5.x = this._x;
_local5.y = this._y;
localToGlobal(_local5);
_local4._x = _local5.x;
_local4._y = _local5.y;
_local6._x = _local4._x;
_local6._y = _local4._y - 300;
_parent._parent.lvl301_mc.girlWlkHand_mc.gotoAndStop(2);
_parent._parent.lvl301_mc.girlWlkHand_mc.girlWlkHand2_mc.gotoAndPlay(2);
}
} else if (_parent._parent.lvl301_mc.girlWlkHand_mc.girlWlkHand2_mc._currentframe >= 1) {
if (_root.chances > 1) {
_root.chances--;
} else {
_root.myGame.gotoAndStop("gameOver");
}
}
};
stop();
Symbol 446 MovieClip Frame 2
stop();
Symbol 447 MovieClip Frame 1
stop();
Symbol 449 MovieClip Frame 1
stop();
Symbol 449 MovieClip Frame 20
stop();
_parent._parent._parent.lineCheck();
Symbol 450 MovieClip Frame 1
lingFrm_mc.useHandCursor = false;
lingFrm_mc.onRelease = function () {
if (_parent._parent.lvl301_mc.girlWlkLing_mc.girlWlkLing2_mc._currentframe == 1) {
if (_currentframe == 2) {
var _local4 = _root.attachMovie("stars", "stars1", _root.getNextHighestDepth());
var _local6 = _root.attachMovie("stars", "stars2", _root.getNextHighestDepth());
_local4._xscale = (_local6._xscale = 70);
_local4._yscale = (_local6._yscale = 70);
var _local5 = new Object();
_local5.x = this._x;
_local5.y = this._y;
localToGlobal(_local5);
_local4._x = _local5.x + 20;
_local4._y = _local5.y + 20;
_local6._x = _local4._x;
_local6._y = _local4._y + 300;
girlWlkLing2_mc.gotoAndPlay(2);
} else {
var _local4 = _root.attachMovie("stars", "stars1", _root.getNextHighestDepth());
var _local6 = _root.attachMovie("stars", "stars2", _root.getNextHighestDepth());
_local4._xscale = (_local6._xscale = 70);
_local4._yscale = (_local6._yscale = 70);
var _local5 = new Object();
_local5.x = this._x;
_local5.y = this._y;
localToGlobal(_local5);
_local4._x = _local5.x + 20;
_local4._y = _local5.y + 20;
_local6._x = _local4._x;
_local6._y = _local4._y - 300;
_parent._parent.lvl301_mc.girlWlkLing_mc.gotoAndStop(2);
_parent._parent.lvl301_mc.girlWlkLing_mc.girlWlkLing2_mc.gotoAndPlay(2);
}
} else if (_parent._parent.lvl301_mc.girlWlkLing_mc.girlWlkLing2_mc._currentframe >= 1) {
if (_root.chances > 1) {
_root.chances--;
} else {
_root.myGame.gotoAndStop("gameOver");
}
}
};
stop();
Symbol 450 MovieClip Frame 2
stop();
Symbol 452 MovieClip Frame 1
this.useHandCursor = false;
onRelease = function () {
if (_root.chances > 1) {
_root.chances--;
} else {
_root.myGame.gotoAndStop("gameOver");
}
};
Symbol 454 MovieClip Frame 1
var no = 0;
onEnterFrame = function () {
if (hudLine7_mc._currentframe == 2) {
no++;
if (no >= 20) {
_root.bonus = _root.chances * 100;
_root.score = _root.score + _root.bonus;
_root.myGame.gotoAndStop("levelComplete");
}
}
};
Symbol 455 MovieClip Frame 1
function lineCheck() {
if (hud_mc.hudLine1_mc._currentframe == 1) {
hud_mc.hudLine1_mc.gotoAndStop(2);
_root.score = _root.score + 100;
} else if (hud_mc.hudLine2_mc._currentframe == 1) {
hud_mc.hudLine2_mc.gotoAndStop(2);
_root.score = _root.score + 100;
} else if (hud_mc.hudLine3_mc._currentframe == 1) {
hud_mc.hudLine3_mc.gotoAndStop(2);
_root.score = _root.score + 100;
} else if (hud_mc.hudLine4_mc._currentframe == 1) {
hud_mc.hudLine4_mc.gotoAndStop(2);
_root.score = _root.score + 100;
} else if (hud_mc.hudLine5_mc._currentframe == 1) {
hud_mc.hudLine5_mc.gotoAndStop(2);
_root.score = _root.score + 100;
} else if (hud_mc.hudLine6_mc._currentframe == 1) {
hud_mc.hudLine6_mc.gotoAndStop(2);
_root.score = _root.score + 100;
} else if (hud_mc.hudLine7_mc._currentframe == 1) {
hud_mc.hudLine7_mc.gotoAndStop(2);
_root.score = _root.score + 100;
}
}
var mouseHits = 0;
_root.chances = 16;
lvl301_mc.girlWlkLing_mc.gotoAndStop(2);
lvl301_mc.girlWlkHand_mc.gotoAndStop(2);
lvl301_mc.sleeper_mc.gotoAndStop(2);
lvl301_mc.watch_mc.gotoAndStop(2);
lvl301_mc.hand_mc.gotoAndStop(2);
lvl301_mc.skirt_mc.gotoAndStop(2);
lvl301_mc.band_mc.gotoAndStop(2);
Symbol 456 MovieClip Frame 1
stop();
Symbol 456 MovieClip Frame 2
stop();
Symbol 468 MovieClip Frame 1
stop();
Symbol 468 MovieClip Frame 21
stop();
_parent._parent._parent.lineCheck();
Symbol 469 MovieClip Frame 1
shadwFrm_mc.useHandCursor = false;
shadwFrm_mc.onRelease = function () {
if (_parent._parent.lvl401_mc.bottleShadw_mc.bottleShadw2_mc._currentframe == 1) {
if (_currentframe == 2) {
var _local4 = _root.attachMovie("stars", "stars1", _root.getNextHighestDepth());
var _local6 = _root.attachMovie("stars", "stars2", _root.getNextHighestDepth());
_local4._xscale = (_local6._xscale = 70);
_local4._yscale = (_local6._yscale = 70);
var _local5 = new Object();
_local5.x = this._x;
_local5.y = this._y;
localToGlobal(_local5);
_local4._x = _local5.x + 30;
_local4._y = _local5.y;
_local6._x = _local4._x;
_local6._y = _local4._y + 300;
bottleShadw2_mc.gotoAndPlay(2);
} else {
var _local4 = _root.attachMovie("stars", "stars1", _root.getNextHighestDepth());
var _local6 = _root.attachMovie("stars", "stars2", _root.getNextHighestDepth());
_local4._xscale = (_local6._xscale = 70);
_local4._yscale = (_local6._yscale = 70);
var _local5 = new Object();
_local5.x = this._x;
_local5.y = this._y;
localToGlobal(_local5);
_local4._x = _local5.x + 30;
_local4._y = _local5.y;
_local6._x = _local4._x;
_local6._y = _local4._y - 300;
_parent._parent.lvl401_mc.bottleShadw_mc.gotoAndStop(2);
_parent._parent.lvl401_mc.bottleShadw_mc.bottleShadw2_mc.gotoAndPlay(2);
}
} else if (_parent._parent.lvl401_mc.bottleShadw_mc.bottleShadw2_mc._currentframe >= 1) {
if (_root.chances > 1) {
_root.chances--;
} else {
_root.myGame.gotoAndStop("gameOver");
}
}
};
stop();
Symbol 469 MovieClip Frame 2
stop();
Symbol 473 MovieClip Frame 1
stop();
Symbol 473 MovieClip Frame 21
stop();
_parent._parent._parent.lineCheck();
Symbol 474 MovieClip Frame 1
this.useHandCursor = false;
this.onRelease = function () {
if (_parent._parent.lvl401_mc.bottle_mc.bottle2_mc._currentframe == 1) {
if (_currentframe == 2) {
var _local4 = _root.attachMovie("stars", "stars1", _root.getNextHighestDepth());
var _local6 = _root.attachMovie("stars", "stars2", _root.getNextHighestDepth());
_local4._xscale = (_local6._xscale = 70);
_local4._yscale = (_local6._yscale = 70);
var _local5 = new Object();
_local5.x = this._x;
_local5.y = this._y;
localToGlobal(_local5);
_local4._x = _local5.x + 30;
_local4._y = _local5.y;
_local6._x = _local4._x;
_local6._y = _local4._y + 300;
bottle2_mc.gotoAndPlay(2);
} else {
var _local4 = _root.attachMovie("stars", "stars1", _root.getNextHighestDepth());
var _local6 = _root.attachMovie("stars", "stars2", _root.getNextHighestDepth());
_local4._xscale = (_local6._xscale = 70);
_local4._yscale = (_local6._yscale = 70);
var _local5 = new Object();
_local5.x = this._x;
_local5.y = this._y;
localToGlobal(_local5);
_local4._x = _local5.x + 30;
_local4._y = _local5.y;
_local6._x = _local4._x;
_local6._y = _local4._y - 300;
_parent._parent.lvl401_mc.bottle_mc.gotoAndStop(2);
_parent._parent.lvl401_mc.bottle_mc.bottle2_mc.gotoAndPlay(2);
}
} else if (_parent._parent.lvl401_mc.bottle_mc.bottle2_mc._currentframe >= 1) {
if (_root.chances > 1) {
_root.chances--;
} else {
_root.myGame.gotoAndStop("gameOver");
}
}
};
stop();
Symbol 474 MovieClip Frame 2
stop();
Symbol 487 MovieClip Frame 1
stop();
Symbol 487 MovieClip Frame 21
stop();
_parent._parent._parent.lineCheck();
Symbol 488 MovieClip Frame 1
stripFrm_mc.useHandCursor = false;
stripFrm_mc.onRelease = function () {
if (_parent._parent.lvl401_mc.strip_mc.strip2_mc._currentframe == 1) {
if (_currentframe == 2) {
var _local4 = _root.attachMovie("stars", "stars1", _root.getNextHighestDepth());
var _local6 = _root.attachMovie("stars", "stars2", _root.getNextHighestDepth());
_local4._xscale = (_local6._xscale = 70);
_local4._yscale = (_local6._yscale = 70);
var _local5 = new Object();
_local5.x = this._x;
_local5.y = this._y;
localToGlobal(_local5);
_local4._x = _local5.x + 30;
_local4._y = _local5.y;
_local6._x = _local4._x;
_local6._y = _local4._y + 300;
strip2_mc.gotoAndPlay(2);
} else {
var _local4 = _root.attachMovie("stars", "stars1", _root.getNextHighestDepth());
var _local6 = _root.attachMovie("stars", "stars2", _root.getNextHighestDepth());
_local4._xscale = (_local6._xscale = 70);
_local4._yscale = (_local6._yscale = 70);
var _local5 = new Object();
_local5.x = this._x;
_local5.y = this._y;
localToGlobal(_local5);
_local4._x = _local5.x + 30;
_local4._y = _local5.y;
_local6._x = _local4._x;
_local6._y = _local4._y - 300;
_parent._parent.lvl401_mc.strip_mc.gotoAndStop(2);
_parent._parent.lvl401_mc.strip_mc.strip2_mc.gotoAndPlay(2);
}
} else if (_parent._parent.lvl401_mc.strip_mc.strip2_mc._currentframe >= 1) {
if (_root.chances > 1) {
_root.chances--;
} else {
_root.myGame.gotoAndStop("gameOver");
}
}
};
stop();
Symbol 488 MovieClip Frame 2
stop();
Symbol 493 MovieClip Frame 1
stop();
Symbol 493 MovieClip Frame 21
stop();
_parent._parent._parent.lineCheck();
Symbol 494 MovieClip Frame 1
headFrm_mc.useHandCursor = false;
headFrm_mc.onRelease = function () {
if (_parent._parent.lvl401_mc.girlWatr_mc.girlWatr2_mc._currentframe == 1) {
if (_currentframe == 2) {
var _local4 = _root.attachMovie("stars", "stars1", _root.getNextHighestDepth());
var _local6 = _root.attachMovie("stars", "stars2", _root.getNextHighestDepth());
_local4._xscale = (_local6._xscale = 70);
_local4._yscale = (_local6._yscale = 70);
var _local5 = new Object();
_local5.x = this._x;
_local5.y = this._y;
localToGlobal(_local5);
_local4._x = _local5.x + 20;
_local4._y = _local5.y - 10;
_local6._x = _local4._x;
_local6._y = _local4._y + 300;
girlWatr2_mc.gotoAndPlay(2);
} else {
var _local4 = _root.attachMovie("stars", "stars1", _root.getNextHighestDepth());
var _local6 = _root.attachMovie("stars", "stars2", _root.getNextHighestDepth());
_local4._xscale = (_local6._xscale = 70);
_local4._yscale = (_local6._yscale = 70);
var _local5 = new Object();
_local5.x = this._x;
_local5.y = this._y;
localToGlobal(_local5);
_local4._x = _local5.x + 20;
_local4._y = _local5.y - 10;
_local6._x = _local4._x;
_local6._y = _local4._y - 300;
_parent._parent.lvl401_mc.girlWatr_mc.gotoAndStop(2);
_parent._parent.lvl401_mc.girlWatr_mc.girlWatr2_mc.gotoAndPlay(2);
}
} else if (_parent._parent.lvl401_mc.girlWatr_mc.girlWatr2_mc._currentframe >= 1) {
if (_root.chances > 1) {
_root.chances--;
} else {
_root.myGame.gotoAndStop("gameOver");
}
}
};
stop();
Symbol 494 MovieClip Frame 2
stop();
Symbol 499 MovieClip Frame 1
stop();
Symbol 499 MovieClip Frame 21
stop();
_parent._parent._parent.lineCheck();
Symbol 500 MovieClip Frame 1
boyHndFrm_mc.useHandCursor = false;
boyHndFrm_mc.onRelease = function () {
if (_parent._parent.lvl401_mc.boyWatr_mc.boyWatr2_mc._currentframe == 1) {
if (_currentframe == 2) {
var _local4 = _root.attachMovie("stars", "stars1", _root.getNextHighestDepth());
var _local6 = _root.attachMovie("stars", "stars2", _root.getNextHighestDepth());
_local4._xscale = (_local6._xscale = 70);
_local4._yscale = (_local6._yscale = 70);
var _local5 = new Object();
_local5.x = this._x;
_local5.y = this._y;
localToGlobal(_local5);
_local4._x = _local5.x + 30;
_local4._y = _local5.y;
_local6._x = _local4._x;
_local6._y = _local4._y + 300;
boyWatr2_mc.gotoAndPlay(2);
} else {
var _local4 = _root.attachMovie("stars", "stars1", _root.getNextHighestDepth());
var _local6 = _root.attachMovie("stars", "stars2", _root.getNextHighestDepth());
_local4._xscale = (_local6._xscale = 70);
_local4._yscale = (_local6._yscale = 70);
var _local5 = new Object();
_local5.x = this._x;
_local5.y = this._y;
localToGlobal(_local5);
_local4._x = _local5.x + 30;
_local4._y = _local5.y;
_local6._x = _local4._x;
_local6._y = _local4._y - 300;
_parent._parent.lvl401_mc.boyWatr_mc.gotoAndStop(2);
_parent._parent.lvl401_mc.boyWatr_mc.boyWatr2_mc.gotoAndPlay(2);
}
} else if (_parent._parent.lvl401_mc.boyWatr_mc.boyWatr2_mc._currentframe >= 1) {
if (_root.chances > 1) {
_root.chances--;
} else {
_root.myGame.gotoAndStop("gameOver");
}
}
};
stop();
Symbol 500 MovieClip Frame 2
stop();
Symbol 510 MovieClip Frame 1
stop();
Symbol 510 MovieClip Frame 21
stop();
_parent._parent._parent.lineCheck();
Symbol 511 MovieClip Frame 1
legFrm_mc.useHandCursor = false;
legFrm_mc.onRelease = function () {
if (_parent._parent.lvl401_mc.dance_mc.dance2_mc._currentframe == 1) {
if (_currentframe == 2) {
var _local4 = _root.attachMovie("stars", "stars1", _root.getNextHighestDepth());
var _local6 = _root.attachMovie("stars", "stars2", _root.getNextHighestDepth());
_local4._xscale = (_local6._xscale = 70);
_local4._yscale = (_local6._yscale = 70);
var _local5 = new Object();
_local5.x = this._x;
_local5.y = this._y;
localToGlobal(_local5);
_local4._x = _local5.x + 30;
_local4._y = _local5.y;
_local6._x = _local4._x;
_local6._y = _local4._y + 300;
dance2_mc.gotoAndPlay(2);
} else {
var _local4 = _root.attachMovie("stars", "stars1", _root.getNextHighestDepth());
var _local6 = _root.attachMovie("stars", "stars2", _root.getNextHighestDepth());
_local4._xscale = (_local6._xscale = 70);
_local4._yscale = (_local6._yscale = 70);
var _local5 = new Object();
_local5.x = this._x;
_local5.y = this._y;
localToGlobal(_local5);
_local4._x = _local5.x + 30;
_local4._y = _local5.y;
_local6._x = _local4._x;
_local6._y = _local4._y - 300;
_parent._parent.lvl401_mc.dance_mc.gotoAndStop(2);
_parent._parent.lvl401_mc.dance_mc.dance2_mc.gotoAndPlay(2);
}
} else if (_parent._parent.lvl401_mc.dance_mc.dance2_mc._currentframe >= 1) {
if (_root.chances > 1) {
_root.chances--;
} else {
_root.myGame.gotoAndStop("gameOver");
}
}
};
stop();
Symbol 511 MovieClip Frame 2
stop();
Symbol 528 MovieClip Frame 1
stop();
Symbol 528 MovieClip Frame 21
stop();
_parent._parent._parent.lineCheck();
Symbol 529 MovieClip Frame 1
sterFrm_mc.useHandCursor = false;
sterFrm_mc.onRelease = function () {
if (_parent._parent.lvl401_mc.stereo_mc.stereo2_mc._currentframe == 1) {
if (_currentframe == 2) {
var _local4 = _root.attachMovie("stars", "stars1", _root.getNextHighestDepth());
var _local6 = _root.attachMovie("stars", "stars2", _root.getNextHighestDepth());
_local4._xscale = (_local6._xscale = 70);
_local4._yscale = (_local6._yscale = 70);
var _local5 = new Object();
_local5.x = this._x;
_local5.y = this._y;
localToGlobal(_local5);
_local4._x = _local5.x + 30;
_local4._y = _local5.y - 20;
_local6._x = _local4._x;
_local6._y = _local4._y + 300;
stereo2_mc.gotoAndPlay(2);
} else {
var _local4 = _root.attachMovie("stars", "stars1", _root.getNextHighestDepth());
var _local6 = _root.attachMovie("stars", "stars2", _root.getNextHighestDepth());
_local4._xscale = (_local6._xscale = 70);
_local4._yscale = (_local6._yscale = 70);
var _local5 = new Object();
_local5.x = this._x;
_local5.y = this._y;
localToGlobal(_local5);
_local4._x = _local5.x + 30;
_local4._y = _local5.y - 20;
_local6._x = _local4._x;
_local6._y = _local4._y - 300;
_parent._parent.lvl401_mc.stereo_mc.gotoAndStop(2);
_parent._parent.lvl401_mc.stereo_mc.stereo2_mc.gotoAndPlay(2);
}
} else if (_parent._parent.lvl401_mc.stereo_mc.stereo2_mc._currentframe >= 1) {
if (_root.chances > 1) {
_root.chances--;
} else {
_root.myGame.gotoAndStop("gameOver");
}
}
};
stop();
Symbol 529 MovieClip Frame 2
stop();
Symbol 537 MovieClip Frame 1
stop();
Symbol 537 MovieClip Frame 21
stop();
_parent._parent._parent.lineCheck();
Symbol 538 MovieClip Frame 1
tatFrm_mc.useHandCursor = false;
tatFrm_mc.onRelease = function () {
if (_parent._parent.lvl401_mc.tattoo_mc.tattoo2_mc._currentframe == 1) {
if (_currentframe == 2) {
var _local4 = _root.attachMovie("stars", "stars1", _root.getNextHighestDepth());
var _local6 = _root.attachMovie("stars", "stars2", _root.getNextHighestDepth());
_local4._xscale = (_local6._xscale = 70);
_local4._yscale = (_local6._yscale = 70);
var _local5 = new Object();
_local5.x = this._x;
_local5.y = this._y;
localToGlobal(_local5);
_local4._x = _local5.x + 30;
_local4._y = _local5.y;
_local6._x = _local4._x;
_local6._y = _local4._y + 300;
tattoo2_mc.gotoAndPlay(2);
} else {
var _local4 = _root.attachMovie("stars", "stars1", _root.getNextHighestDepth());
var _local6 = _root.attachMovie("stars", "stars2", _root.getNextHighestDepth());
_local4._xscale = (_local6._xscale = 70);
_local4._yscale = (_local6._yscale = 70);
var _local5 = new Object();
_local5.x = this._x;
_local5.y = this._y;
localToGlobal(_local5);
_local4._x = _local5.x + 30;
_local4._y = _local5.y;
_local6._x = _local4._x;
_local6._y = _local4._y - 300;
_parent._parent.lvl401_mc.tattoo_mc.gotoAndStop(2);
_parent._parent.lvl401_mc.tattoo_mc.tattoo2_mc.gotoAndPlay(2);
}
} else if (_parent._parent.lvl401_mc.tattoo_mc.tattoo2_mc._currentframe >= 1) {
if (_root.chances > 1) {
_root.chances--;
} else {
_root.myGame.gotoAndStop("gameOver");
}
}
};
stop();
Symbol 538 MovieClip Frame 2
stop();
Symbol 542 MovieClip Frame 1
stop();
Symbol 542 MovieClip Frame 21
stop();
_parent._parent._parent.lineCheck();
Symbol 543 MovieClip Frame 1
brscFrm_mc.useHandCursor = false;
brscFrm_mc.onRelease = function () {
if (_parent._parent.lvl401_mc.cross_mc.cross2_mc._currentframe == 1) {
if (_currentframe == 2) {
var _local4 = _root.attachMovie("stars", "stars1", _root.getNextHighestDepth());
var _local6 = _root.attachMovie("stars", "stars2", _root.getNextHighestDepth());
_local4._xscale = (_local6._xscale = 70);
_local4._yscale = (_local6._yscale = 70);
var _local5 = new Object();
_local5.x = this._x;
_local5.y = this._y;
localToGlobal(_local5);
_local4._x = _local5.x + 30;
_local4._y = _local5.y;
_local6._x = _local4._x;
_local6._y = _local4._y + 300;
cross2_mc.gotoAndPlay(2);
} else {
var _local4 = _root.attachMovie("stars", "stars1", _root.getNextHighestDepth());
var _local6 = _root.attachMovie("stars", "stars2", _root.getNextHighestDepth());
_local4._xscale = (_local6._xscale = 70);
_local4._yscale = (_local6._yscale = 70);
var _local5 = new Object();
_local5.x = this._x + 30;
_local5.y = this._y;
localToGlobal(_local5);
_local4._x = _local5.x;
_local4._y = _local5.y;
_local6._x = _local4._x;
_local6._y = _local4._y - 300;
_parent._parent.lvl401_mc.cross_mc.gotoAndStop(2);
_parent._parent.lvl401_mc.cross_mc.cross2_mc.gotoAndPlay(2);
}
} else if (_parent._parent.lvl401_mc.cross_mc.cross2_mc._currentframe >= 1) {
if (_root.chances > 1) {
_root.chances--;
} else {
_root.myGame.gotoAndStop("gameOver");
}
}
};
stop();
Symbol 543 MovieClip Frame 2
stop();
Symbol 548 MovieClip Frame 1
stop();
Symbol 548 MovieClip Frame 21
stop();
_parent._parent._parent.lineCheck();
Symbol 549 MovieClip Frame 1
neckFrm_mc.useHandCursor = false;
neckFrm_mc.onRelease = function () {
if (_parent._parent.lvl401_mc.chain_mc.chain2_mc._currentframe == 1) {
if (_currentframe == 2) {
var _local4 = _root.attachMovie("stars", "stars1", _root.getNextHighestDepth());
var _local6 = _root.attachMovie("stars", "stars2", _root.getNextHighestDepth());
_local4._xscale = (_local6._xscale = 70);
_local4._yscale = (_local6._yscale = 70);
var _local5 = new Object();
_local5.x = this._x;
_local5.y = this._y;
localToGlobal(_local5);
_local4._x = _local5.x + 30;
_local4._y = _local5.y;
_local6._x = _local4._x;
_local6._y = _local4._y + 300;
chain2_mc.gotoAndPlay(2);
} else {
var _local4 = _root.attachMovie("stars", "stars1", _root.getNextHighestDepth());
var _local6 = _root.attachMovie("stars", "stars2", _root.getNextHighestDepth());
_local4._xscale = (_local6._xscale = 70);
_local4._yscale = (_local6._yscale = 70);
var _local5 = new Object();
_local5.x = this._x;
_local5.y = this._y;
localToGlobal(_local5);
_local4._x = _local5.x + 30;
_local4._y = _local5.y;
_local6._x = _local4._x;
_local6._y = _local4._y - 300;
_parent._parent.lvl401_mc.chain_mc.gotoAndStop(2);
_parent._parent.lvl401_mc.chain_mc.chain2_mc.gotoAndPlay(2);
}
} else if (_parent._parent.lvl401_mc.chain_mc.chain2_mc._currentframe >= 1) {
if (_root.chances > 1) {
_root.chances--;
} else {
_root.myGame.gotoAndStop("gameOver");
}
}
};
stop();
Symbol 549 MovieClip Frame 2
stop();
Symbol 551 MovieClip Frame 1
this.useHandCursor = false;
onRelease = function () {
if (_root.chances > 1) {
_root.chances--;
} else {
_root.myGame.gotoAndStop("gameOver");
}
};
Symbol 553 MovieClip Frame 1
var no = 0;
onEnterFrame = function () {
if (hudLine10_mc._currentframe == 2) {
no++;
if (no >= 20) {
_root.bonus = _root.chances * 100;
_root.score = _root.score + _root.bonus;
_root.myGame.gotoAndStop("win");
}
}
};
Symbol 554 MovieClip Frame 1
function lineCheck() {
if (hud_mc.hudLine1_mc._currentframe == 1) {
hud_mc.hudLine1_mc.gotoAndStop(2);
_root.score = _root.score + 100;
} else if (hud_mc.hudLine2_mc._currentframe == 1) {
hud_mc.hudLine2_mc.gotoAndStop(2);
_root.score = _root.score + 100;
} else if (hud_mc.hudLine3_mc._currentframe == 1) {
hud_mc.hudLine3_mc.gotoAndStop(2);
_root.score = _root.score + 100;
} else if (hud_mc.hudLine4_mc._currentframe == 1) {
hud_mc.hudLine4_mc.gotoAndStop(2);
_root.score = _root.score + 100;
} else if (hud_mc.hudLine5_mc._currentframe == 1) {
hud_mc.hudLine5_mc.gotoAndStop(2);
_root.score = _root.score + 100;
} else if (hud_mc.hudLine6_mc._currentframe == 1) {
hud_mc.hudLine6_mc.gotoAndStop(2);
_root.score = _root.score + 100;
} else if (hud_mc.hudLine6_mc._currentframe == 1) {
hud_mc.hudLine6_mc.gotoAndStop(2);
_root.score = _root.score + 100;
} else if (hud_mc.hudLine7_mc._currentframe == 1) {
hud_mc.hudLine7_mc.gotoAndStop(2);
_root.score = _root.score + 100;
} else if (hud_mc.hudLine8_mc._currentframe == 1) {
hud_mc.hudLine8_mc.gotoAndStop(2);
_root.score = _root.score + 100;
} else if (hud_mc.hudLine9_mc._currentframe == 1) {
hud_mc.hudLine9_mc.gotoAndStop(2);
_root.score = _root.score + 100;
} else if (hud_mc.hudLine10_mc._currentframe == 1) {
hud_mc.hudLine10_mc.gotoAndStop(2);
_root.score = _root.score + 100;
}
}
var mouseHits = 0;
_root.chances = 20;
lvl401_mc.tattoo_mc.gotoAndStop(2);
lvl401_mc.cross_mc.gotoAndStop(2);
lvl401_mc.stereo_mc.gotoAndStop(2);
lvl401_mc.bottle_mc.gotoAndStop(2);
lvl401_mc.strip_mc.gotoAndStop(2);
lvl401_mc.bottleShadw_mc.gotoAndStop(2);
lvl401_mc.boyWatr_mc.gotoAndStop(2);
lvl401_mc.girlWatr_mc.gotoAndStop(2);
lvl401_mc.dance_mc.gotoAndStop(2);
lvl401_mc.chain_mc.gotoAndStop(2);
Symbol 555 MovieClip Frame 1
stop();
Symbol 555 MovieClip Frame 2
stop();
Symbol 570 MovieClip Frame 48
stop();
Symbol 575 MovieClip Frame 20
stop();
Symbol 576 MovieClip Frame 48
stop();
Symbol 580 MovieClip Frame 23
stop();
Symbol 582 MovieClip Frame 23
stop();
Symbol 595 MovieClip Frame 20
Symbol 595 MovieClip Frame 40
stop();
next_btn.onRelease = function () {
_root.myGame.gotoAndStop(_root.levelArray[int(_root.level)]);
};
Symbol 596 MovieClip Frame 1
gotoAndStop(_root.levelArray[_root.level - 1]);
Symbol 596 MovieClip Frame 13
stop();
_root.level = 1;
Symbol 596 MovieClip Frame 19
stop();
_root.level = 2;
Symbol 596 MovieClip Frame 26
stop();
_root.level = 3;
Symbol 596 MovieClip Frame 34
stop();
_root.level = 4;
Symbol 596 MovieClip Frame 41
stop();
stopAllSounds();
var gameOverframes = Math.round(win_mc._totalframes / 24);
_root._doGameOver(_root.score, "gamecompleted", false, 3000);
Symbol 596 MovieClip Frame 45
stop();
_root._doGameOver(_root.score, "gameover", false, 3000);
Symbol 596 MovieClip Frame 50
stop();
stopAllSounds();
var showSkip = true;
if (_root.level >= _root.maxLevels) {
showSkip = false;
} else {
showSkip = true;
}
var gameOverframes = Math.round(gameOver_mc._totalframes / 24);
if (_root.level == 4) {
gotoAndStop ("levelOver");
}
_root._doGameOver(_root.score, "gameover", true, 3000);
Symbol 596 MovieClip Frame 58
stop();