Frame 2
function _shareScoreHandler(mc, scoreText) {
_root._alienShareScoreFB(scoreText);
}
function _homeShareScoreFB(scoreText) {
var _local1 = flash.external.ExternalInterface.available;
if (_local1) {
flash.external.ExternalInterface.call("g2wShareScore", scoreText);
} else {
getURL (("javascript:g2wShareScore('" + scoreText) + "')");
}
}
function _alienShareScoreFB() {
getURL (_root.obj_game.facebookURL, "_blank");
}
function _shareScoreFB(scoreText) {
var _local3 = new LocalConnection();
var _local2 = _root.fb_local_connection;
_local3.send(_local2, "callFBJS", "g2wShareScore", [scoreText]);
}
function _playAgainHandler(mc) {
Stage.scaleMode = "showAll";
_root.g2w_playagain(true);
}
function _showGameVideo() {
getURL ((("http://www.games2win.com/videotutorial.html?url=" + _root.obj_game.videoID) + "&name=") + _root.obj_game._gameTitle, "_blank");
}
function _calculateScore(limits, score) {
var _local4 = false;
var _local1 = 0;
while (_local1 < (limits.length - 1)) {
if (score <= limits[_local1]) {
return(_local1);
}
_local1++;
}
return(limits.length - 1);
}
function checkhost() {
swfurl = this._url;
if ((((((((((((((((((((((((((((((((((((((((swfurl.indexOf("spilgames.com") != -1) || (swfurl.indexOf("girlsgogames.com") != -1)) || (swfurl.indexOf("girlsgogames.co.uk") != -1)) || (swfurl.indexOf("girlsgogames.nl") != -1)) || (swfurl.indexOf("girlsgogames.fr") != -1)) || (swfurl.indexOf("girlsgogames.de") != -1)) || (swfurl.indexOf("girlsgogames.it") != -1)) || (swfurl.indexOf("girlsgogames.br") != -1)) || (swfurl.indexOf("girlsgogames.es") != -1)) || (swfurl.indexOf("girlsgogames.pl") != -1)) || (swfurl.indexOf("girlsgogames.se") != -1)) || (swfurl.indexOf("girlsgogames.ru") != -1)) || (swfurl.indexOf("juegosdechicas.com") != -1)) || (swfurl.indexOf("ojogos.pt") != -1)) || (swfurl.indexOf("egames.jp") != -1)) || (swfurl.indexOf("game.co.in") != -1)) || (swfurl.indexOf("games.co.id") != -1)) || (swfurl.indexOf("games.co.uk") != -1)) || (swfurl.indexOf("gamesgames.com") != -1)) || (swfurl.indexOf("spelletjes.nl") != -1)) || (swfurl.indexOf("jeux.fr") != -1)) || (swfurl.indexOf("jetztspielen.de") != -1)) || (swfurl.indexOf("gioco.it") != -1)) || (swfurl.indexOf("juegos.com") != -1)) || (swfurl.indexOf("ojogos.com.br") != -1)) || (swfurl.indexOf("gry.pl") != -1)) || (swfurl.indexOf("ourgames.ru") != -1)) || (swfurl.indexOf("spela.se") != -1)) || (swfurl.indexOf("a10.com") != -1)) || (swfurl.indexOf("agame.com") != -1)) || (swfurl.indexOf("mygames.co.uk") != -1)) || (swfurl.indexOf("spel.nl") != -1)) || (swfurl.indexOf("jeu.fr") != -1)) || (swfurl.indexOf("spielen.com") != -1)) || (swfurl.indexOf("giocaregratis.it") != -1)) || (swfurl.indexOf("clickjogos.com") != -1)) || (swfurl.indexOf("zapjuegos.com") != -1)) || (swfurl.indexOf("minigry.pl") != -1)) || (swfurl.indexOf("spel.eu") != -1)) || (swfurl.indexOf("flashgames.ru") != -1)) {
return(true);
}
return(false);
}
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});
_root.__gameover_mc.showSkip = showskip;
}
function _showAssetPanels(mc) {
if (mc.gameState == "gameover") {
trace("gameState");
_root._initGameOver(mc);
} else {
_root._initGameCompleted(mc);
}
}
function g2w_playagain(resetlevel) {
_root.__gameover_mc.removeMovieClip();
_root.game_mc.score = 0;
if (resetlevel) {
trace("starting the game again");
_root.game_mc.soundMc.sndObj.stop();
_root.game_mc.soundMc.gotoAndStop("INTRO");
_root.game_mc.gotoAndStop("init");
} else {
_root.game_mc.gotoAndStop("Level1");
}
}
function g2w_skiplevel() {
_root.__gameover_mc.removeMovieClip();
_root.score = 0;
_root.game_mc.winSnd_mc.gotoAndStop(2);
_root.game_mc.winSnd_mc.gotoAndStop(1);
_root.game_mc.level++;
_root.game_mc.gotoAndStop("game");
}
var obj_game = new Array();
obj_game._host = "spil";
obj_game._gameName = "mommas_makeup";
obj_game._partnerSite = "girlsgogames";
obj_game._gameTitle = "Mommas Makeup";
obj_game._g2wGameId = "1312";
obj_game._partnerGameId = "mommasmakeup";
obj_game._gstatus = "gameover";
obj_game._googleText = "Mommas Makeup";
obj_game._gameStageW = 650;
obj_game._gameStageH = 490;
obj_game._gameScoreOrder = "desc";
obj_game._gameResolution = (Stage.width + "x") + Stage.height;
obj_game.g2wBot = "";
obj_game.g2wBotId = 10301;
obj_game.videoID = "hFyJE8hn8-Y";
obj_game.relatedGamesXML = "http://s1.inviziads.com/partner/g2w/related/gamemenu_tag_dress_up_humans.xml";
obj_game.relatedGamesTAG = "DRUH";
obj_game.facebookURL = "http://apps.facebook.com/mommas-makeup/?utm_source=games2win&utm_medium=strip&utm_campaign=Referrers_mommas-makeup";
obj_game.gameoverthumb = "http://www.games2win.com/en/?utm_source=g2w_wrapper&utm_medium=post_rolls&utm_content=mommas_makeup&utm_campaign=g2w_wrapper";
obj_game.gameoverstrip = "http://www.games2win.com/en/?utm_source=mommas_makeup&utm_campaign=girlsgogames&utm_medium=logo_link";
obj_game.inviziads = (((("http://s1.inviziads.com/lookup.html?g=" + obj_game._g2wGameId) + "&h=") + obj_game._host) + "&l=") + obj_game._gameLanguage;
obj_game.FBMsg = "is nicking make up from her Momma in Games2win's Momma's Makeup.Nick some for yourself. Play the game.";
var obj_partner = new Array();
obj_partner.partner_name = "spil";
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/?utm_source=" + _root.obj_game._gameName) + "&utm_medium=logo_link&utm_campaign=") + _root.obj_game._partnerSite;
obj_partner._allowclick = true;
_initAssetsPanel = function (mcpath) {
Stage.scaleMode = "noScale";
Stage.align = "";
var _local2 = mcpath;
_local2.onEnterFrame = function () {
Stage.scaleMode = "noScale";
Stage.align = "";
};
_local2.overlay_btn.useHandCursor = false;
_local2.gameState = _root.obj_game._gstatus;
};
_initGameOver = function (mcpath) {
var _local2 = mcpath;
if (!_root.checkhost()) {
_local2.gotoAndStop("g2w_gameover");
} else {
_local2.gotoAndStop("g2w_spil_gameover");
}
if (_local2.showSkip) {
_local2.g2w_skipPanel.gotoAndStop("skip");
_local2.g2w_skipPanel.btn_nextLevel.onRelease = function () {
Stage.scaleMode = "showAll";
_root.g2w_skiplevel();
};
}
_local2.g2w_skipPanel.btn_playAgain.onRelease = function () {
Stage.scaleMode = "showAll";
_root.g2w_playagain();
};
};
_initGameCompleted = function (mcpath) {
var _local2 = mcpath;
if (!_root.checkhost()) {
_local2.gotoAndStop("g2w_gamecompleted");
} else {
_local2.gotoAndStop("g2w_spil_gamecompleted");
}
};
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;
_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));
};
MovieClip.prototype.tabEnabled = false;
Button.prototype.tabEnabled = false;
Frame 10
stop();
Frame 19
stop();
gamename = "momma's_makeup";
_root.localization_url1 = ("http://www.girlsgogames.com/moregames/?utm_medium=brandedgames_as2&utm_campaign=" + gamename) + "&utm_source=unknown";
_root.localization_language_nr = 1;
_root.localization_branding_nr = 29;
_root.localization_portal = "girl";
if (_root.localization_portal == "game_com_cn") {
this.mainscreen_moregames.onRelease = function () {
getURL (_root.localization_url1, "_blank");
};
} else {
this.mainscreen_moregames.onRelease = function () {
getURL (_root.localization_url1 + "&utm_content=button_mainscreen_moregames", "_blank");
};
}
Frame 26
stop();
Instance of Symbol 393 MovieClip in Frame 26
onClipEvent (load) {
total = _root.getBytesTotal();
}
onClipEvent (enterFrame) {
loaded = _root.getBytesLoaded();
percent = int((loaded / total) * 100);
load_txt.text = ("Loaded " + percent) + "%";
gotoAndStop(percent);
if (loaded == total) {
_parent.play();
}
}
Frame 33
stop();
Symbol 1376 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(tint1);
Stage.scaleMode = "showAll";
_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 {
Stage.scaleMode = "showAll";
_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() {
var _local1 = 0;
tint1 = setInterval(timespam, 1000);
}
function timespam() {
tim++;
trace(((tim + " tim Tim") + " show_time") + show_time);
if (isNaN(tim)) {
clearInterval(tint1);
Stage.scaleMode = "showAll";
trace(Stage.scaleMode);
} else if (tim == show_time) {
clearInterval(tint1);
Stage.scaleMode = "showAll";
_root.play();
trace(Stage.scaleMode);
}
}
function create_assets(mc, _type) {
mc.createEmptyMovieClip("whitebg", 0);
whitebg.beginFill(16777215);
whitebg.moveTo(0, 0);
whitebg.lineTo(0, 0);
whitebg.lineTo(stageWidth, 0);
whitebg.lineTo(stageWidth, stageHeight + 20);
whitebg.lineTo(0, stageHeight + 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) {
time_delay();
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._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 = function () {
game_fps = getFps();
maxw = this.width - 2;
this.ad = maxw / (this.tim + 1);
this.ad = this.ad / game_fps;
};
progressBar.start();
progressBar.onEnterFrame = function () {
this.start();
if (this.bar._width < (this.width - 2)) {
this.bar._width = this.bar._width + this.ad;
} else {
this.bar._width = this.width;
}
};
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 = (stageWidth / 2) - (ad_width / 2);
y = (stageHeight / 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._alpha = 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/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 _local5 = _global.obj_iads.url;
obj_iads = _global.obj_iads;
var _local3 = new Object();
_local3.onLoadComplete = function (target_mc) {
};
var _local4 = new MovieClipLoader();
_local4.addListener(_local3);
_local4.loadClip(_global.obj_iads.url, holder);
} else {
brain();
}
clearInterval(this._parent._parent.int1);
}
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);
}
function measureComScore(hostID) {
hostID = hostID.toUpperCase();
var _local2 = "";
var _local1 = 0;
_local1 = 0;
while (_local1 < 4) {
if (!isNaN(hostID.charCodeAt(_local1))) {
_local2 = _local2 + hostID.charCodeAt(_local1);
}
_local1++;
}
while (length(_local2) < 8) {
_local2 = "0" + _local2;
}
_local2 = ("10" + _local2) + "000000000";
var _local4 = new LoadVars();
var _local5 = new LoadVars();
_local4.C1 = 7;
_local4.C2 = 5799339 /* 0x587DAB */;
_local4.C3 = _local2;
var _local6 = "http://beacon.scorecardresearch.com/scripts/beacon.dll";
_local4.sendAndLoad(_local6, _local5, "GET");
_local5.onLoad = function (ok) {
if (ok) {
trace("Comscore Success");
} else {
trace("Comscore failed");
}
};
}
function checkhost() {
swfurl = this._url;
if (((((((((((((((((((((((((((((((((((((((((swfurl.indexOf("spilgames.com") != -1) || (swfurl.indexOf("girlsgogames.com") != -1)) || (swfurl.indexOf("girlsgogames.co.uk") != -1)) || (swfurl.indexOf("girlsgogames.nl") != -1)) || (swfurl.indexOf("girlsgogames.fr") != -1)) || (swfurl.indexOf("girlsgogames.de") != -1)) || (swfurl.indexOf("girlsgogames.it") != -1)) || (swfurl.indexOf("girlsgogames.br") != -1)) || (swfurl.indexOf("girlsgogames.es") != -1)) || (swfurl.indexOf("girlsgogames.pl") != -1)) || (swfurl.indexOf("girlsgogames.se") != -1)) || (swfurl.indexOf("girlsgogames.ru") != -1)) || (swfurl.indexOf("juegosdechicas.com") != -1)) || (swfurl.indexOf("ojogos.pt") != -1)) || (swfurl.indexOf("egames.jp") != -1)) || (swfurl.indexOf("game.co.in") != -1)) || (swfurl.indexOf("games.co.id") != -1)) || (swfurl.indexOf("games.co.uk") != -1)) || (swfurl.indexOf("gamesgames.com") != -1)) || (swfurl.indexOf("spelletjes.nl") != -1)) || (swfurl.indexOf("jeux.fr") != -1)) || (swfurl.indexOf("jetztspielen.de") != -1)) || (swfurl.indexOf("gioco.it") != -1)) || (swfurl.indexOf("juegos.com") != -1)) || (swfurl.indexOf("ojogos.com.br") != -1)) || (swfurl.indexOf("gry.pl") != -1)) || (swfurl.indexOf("ourgames.ru") != -1)) || (swfurl.indexOf("spela.se") != -1)) || (swfurl.indexOf("a10.com") != -1)) || (swfurl.indexOf("agame.com") != -1)) || (swfurl.indexOf("mygames.co.uk") != -1)) || (swfurl.indexOf("spel.nl") != -1)) || (swfurl.indexOf("jeu.fr") != -1)) || (swfurl.indexOf("spielen.com") != -1)) || (swfurl.indexOf("giocaregratis.it") != -1)) || (swfurl.indexOf("clickjogos.com") != -1)) || (swfurl.indexOf("zapjuegos.com") != -1)) || (swfurl.indexOf("minigry.pl") != -1)) || (swfurl.indexOf("spel.eu") != -1)) || (swfurl.indexOf("flashgames.ru") != -1)) || (swfurl.indexOf("games2win.com") != -1)) {
return(false);
}
return(true);
}
System.security.allowDomain("*");
System.security.allowInsecureDomain("*");
var time = 0;
var tim = 0;
var show_time = 0;
var tempo = 0;
var tint1;
var stageWidth = 0;
var stageHeight = 0;
var showPreAd = false;
getFps = function () {
if (signal == true) {
time = getTimer();
} else {
tempo = int(1000 / (getTimer() - time));
}
signal = !signal;
return(tempo);
};
myself = this;
signal = true;
_root.stop();
measureComScore("spil");
if (checkhost() == 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=1312";
adurl = adurl + "&h=spil";
adurl = adurl + "&type=pre";
adurl = adurl + "&v=5_0";
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";
stop();
Stage.scaleMode = "noScale";
Stage.align = "TL";
Stage.showMenu = false;
this.onEnterFrame = function () {
game_fps = getFps();
if ((game_fps != 0) && (game_fps != undefined)) {
if (Stage.width > 0) {
stageWidth = Stage.width;
stageHeight = Stage.height;
get_iads();
this.onEnterFrame = null;
}
}
};
} else {
_root.play();
}
Symbol 12 MovieClip Frame 1
_root._trackClickThru(this);
Symbol 118 MovieClip Frame 1
stop();
Symbol 119 MovieClip Frame 1
stop();
var i = 1;
while (i <= 48) {
this["thumb" + i].gotoAndStop(i);
i++;
}
Symbol 121 Button
on (release) {
getURL (_root.obj_game.gameoverthumb, "blank");
}
Symbol 130 MovieClip Frame 1
stop();
Symbol 130 MovieClip Frame 2
stop();
Symbol 146 MovieClip Frame 1
btn_shareScore.onRelease = function () {
_root._shareScoreHandler(this, _root.obj_game.FBMsg);
};
btn_videoTutorial.onRelease = function () {
_root._showGameVideo();
};
Symbol 147 MovieClip [_g2w_gameover_mc] Frame 1
stop();
_root._initAssetsPanel(this);
_root._showAssetPanels(this);
Symbol 147 MovieClip [_g2w_gameover_mc] Frame 2
stop();
btn_shareScore.onRelease = function () {
_root._shareScoreHandler(this, _root.obj_game.FBMsg);
};
btn_videoTutorial.onRelease = function () {
_root._showGameVideo();
};
Instance of Symbol 146 MovieClip "g2wExternalLinks" in Symbol 147 MovieClip [_g2w_gameover_mc] Frame 2
onClipEvent (load) {
if (_root.checkhost()) {
this._visible = false;
}
}
Symbol 147 MovieClip [_g2w_gameover_mc] Frame 3
stop();
btn_shareScore.onRelease = function () {
_root._shareScoreHandler(this, _root.obj_game.FBMsg);
};
btn_videoTutorial.onRelease = function () {
_root._showGameVideo();
};
Symbol 147 MovieClip [_g2w_gameover_mc] Frame 4
stop();
btn_shareScore.onRelease = function () {
_root._shareScoreHandler(this, _root.obj_game.FBMsg);
};
btn_videoTutorial.onRelease = function () {
_root._showGameVideo();
};
btn_playAgain.onRelease = function () {
_root._playAgainHandler(this);
};
Instance of Symbol 13 MovieClip in Symbol 147 MovieClip [_g2w_gameover_mc] Frame 4
on (release) {
getURL (_root.obj_game.gameoverstrip, "blank");
}
Instance of Symbol 146 MovieClip "g2wExternalLinks" in Symbol 147 MovieClip [_g2w_gameover_mc] Frame 4
onClipEvent (load) {
if (_root.checkhost()) {
this._visible = false;
}
}
Symbol 147 MovieClip [_g2w_gameover_mc] Frame 5
stop();
btn_shareScore.onRelease = function () {
_root._shareScoreHandler(this, _root.obj_game.FBMsg);
};
btn_videoTutorial.onRelease = function () {
_root._showGameVideo();
};
btn_playAgain.onRelease = function () {
_root._playAgainHandler(this);
};
Symbol 151 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 155 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 155 MovieClip [game_sound_ctrl] Frame 2
stop();
changeVol(100, 5);
Symbol 155 MovieClip [game_sound_ctrl] Frame 3
stop();
changeVol(0, -5);
Symbol 158 MovieClip Frame 1
_root._trackClickThru(this);
Symbol 267 MovieClip Frame 1
var i = 1;
while (i <= 48) {
this["thumb" + i].gotoAndStop(i);
i++;
}
Symbol 267 MovieClip Frame 120
stop();
trace("reached here..");
_parent.gotoAndStop("spil_intro");
Symbol 277 Button
on (release) {
getURL ("http://www.games2win.com/?utm_source=game_strip&utm_medium=inviziads&utm_campaign=game_strip", "_blank");
}
Symbol 280 MovieClip Frame 1
stop();
System.security.allowDomain("*");
var GameURL = _root._url;
if (_root.checkhost() == true) {
mc_common._visible = false;
} else {
mc_common._visible = true;
var str = (("http://s1.inviziads.com/lookup.html?type=strip&g=" + _root.obj_game._g2wGameId) + "&h=g2w");
}
Symbol 353 MovieClip Frame 1
this.onRelease = function () {
getURL (_root.localization_url1, "_blank");
};
Symbol 362 MovieClip Frame 1
gotoAndStop(_root.localization_branding_nr);
Symbol 367 MovieClip Frame 90
stop();
_root.gotoAndStop("lblloader");
Symbol 370 MovieClip Frame 1
if (_root.localization_portal == "game_com_cn") {
this.logo_intro.onRelease = function () {
getURL (_root.localization_url1, "_blank");
};
} else {
this.logo_intro.onRelease = function () {
getURL (_root.localization_url1 + "&utm_content=logo_intro", "_blank");
};
}
Symbol 370 MovieClip Frame 90
stop();
Symbol 376 MovieClip Frame 89
stop();
_root.gotoAndStop("lblloader");
Symbol 383 MovieClip Frame 89
stop();
_root.gotoAndStop("lblloader");
Symbol 386 MovieClip Frame 89
stop();
_root.gotoAndStop("lblloader");
Symbol 387 MovieClip Frame 1
if (_root.localization_portal == "family") {
gotoAndStop (1);
}
if (_root.localization_portal == "tweens") {
gotoAndStop (2);
}
if (_root.localization_portal == "girl") {
gotoAndStop (3);
}
if (_root.localization_portal == "game_com_cn") {
gotoAndStop (4);
}
Symbol 464 MovieClip Frame 1
stop();
Instance of Symbol 463 MovieClip "nextBut_btn" in Symbol 464 MovieClip Frame 1
/* no clip actions */
Symbol 470 MovieClip Frame 1
stop();
var sndObj = new Sound();
Symbol 528 MovieClip Frame 1
stop();
Symbol 528 MovieClip Frame 3
_parent.pressValue = 1;
_parent.inventryBoxNo++;
Symbol 564 MovieClip Frame 39
_parent._parent.momTrable = _parent._parent.momTrable + 1;
if (_parent._parent.momTrable == 3) {
stop();
_parent._parent.disableEvent(_parent._parent.collectionVar);
_parent._parent.event3_mc.gotoAndStop(1);
}
Symbol 573 MovieClip Frame 51
_parent._parent.momAcAirAffect = _parent._parent.momAcAirAffect + 1;
if (_parent._parent.momAcAirAffect == 2) {
stop();
_parent._parent.disableEvent(_parent._parent.collectionVar);
_parent._parent.event3_mc.gotoAndStop(1);
}
Symbol 596 MovieClip Frame 1
stop();
Symbol 597 MovieClip Frame 1
stop();
Symbol 597 MovieClip Frame 4
_parent.Irrmeter_mc._visible = false;
Symbol 597 MovieClip Frame 20
_parent.event2_mc.gotoAndStop(4);
Symbol 597 MovieClip Frame 49
stop();
_parent.event2_mc.gotoAndStop(5);
_parent.PopUpFun();
Symbol 597 MovieClip Frame 120
gotoAndStop (1);
Symbol 644 MovieClip Frame 1
stop();
Symbol 644 MovieClip Frame 14
gotoAndPlay (3);
Symbol 644 MovieClip Frame 85
gotoAndStop (1);
Symbol 651 MovieClip Frame 1
stop();
Symbol 651 MovieClip Frame 85
gotoAndStop (1);
Symbol 660 MovieClip Frame 1
stop();
trace("ac 2nd frame");
Symbol 660 MovieClip Frame 2
stop();
trace("ac 3nd frame");
Symbol 664 MovieClip Frame 1
stop();
Symbol 664 MovieClip Frame 85
gotoAndStop (1);
Symbol 671 MovieClip Frame 1
stop();
Symbol 671 MovieClip Frame 3
_parent.pressValue = 1;
_parent.inventryBoxNo++;
Symbol 676 MovieClip Frame 1
stop();
Symbol 676 MovieClip Frame 3
_parent.pressValue = 1;
_parent.inventryBoxNo++;
Symbol 681 MovieClip Frame 1
stop();
Symbol 681 MovieClip Frame 3
_parent.pressValue = 1;
_parent.inventryBoxNo++;
Symbol 688 MovieClip Frame 1
stop();
Symbol 688 MovieClip Frame 3
_parent.pressValue = 1;
_parent.inventryBoxNo++;
Symbol 693 MovieClip Frame 1
stop();
Symbol 693 MovieClip Frame 3
_parent.pressValue = 1;
_parent.inventryBoxNo++;
Symbol 701 MovieClip Frame 1
stop();
Symbol 701 MovieClip Frame 3
stop();
_parent.pressValue = 1;
_parent.inventryBoxNo++;
Symbol 705 MovieClip Frame 12
gotoAndPlay (5);
Symbol 716 MovieClip Frame 15
_parent._parent._parent.event3_mc.gotoAndStop(1);
Symbol 716 MovieClip Frame 46
stop();
_parent._parent.gotoAndStop(3);
Symbol 717 MovieClip Frame 1
stop();
Symbol 725 MovieClip Frame 12
stop();
Symbol 729 MovieClip Frame 12
gotoAndPlay (5);
Symbol 730 MovieClip Frame 1
stop();
Symbol 730 MovieClip Frame 2
event2_mc.tabEnabled = false;
Instance of Symbol 717 MovieClip "event2_mc" in Symbol 730 MovieClip Frame 2
on (press) {
_parent.momTrable = 0;
if (_parent.checkValue1 == 0) {
trace("dog");
_parent.checkValue1 = 1;
_parent.funAfterClickOnEachObj(2);
}
}
Symbol 730 MovieClip Frame 3
stop();
_parent.event3_mc.gotoAndStop(2);
Symbol 730 MovieClip Frame 85
gotoAndStop (1);
Symbol 735 MovieClip Frame 1
stop();
Symbol 736 MovieClip Frame 1
stop();
Symbol 736 MovieClip Frame 85
gotoAndStop (1);
Symbol 746 MovieClip Frame 1
stop();
Symbol 753 MovieClip Frame 1
stop();
Symbol 760 MovieClip Frame 1
stop();
Symbol 767 MovieClip Frame 1
stop();
Symbol 774 MovieClip Frame 1
stop();
Symbol 781 MovieClip Frame 1
stop();
Symbol 788 MovieClip Frame 1
stop();
Symbol 794 MovieClip Frame 1
stop();
Symbol 794 MovieClip Frame 4
_parent.stopTimer();
Symbol 813 MovieClip Frame 1
Symbol 813 MovieClip Frame 3
disabled_btn.enabled = false;
disabled_btn.tabEnabled = false;
Symbol 813 MovieClip Frame 24
skip_mc.tabEnabled = false;
Instance of Symbol 810 MovieClip "skip_mc" in Symbol 813 MovieClip Frame 24
on (press) {
_parent.gotoAndPlay(148);
}
Symbol 813 MovieClip Frame 148
_parent.setTimerFun();
trace("amrita");
Symbol 813 MovieClip Frame 175
stop();
_parent.Inst_mc.play();
Symbol 813 MovieClip Frame 182
_parent.timer_mc.timer_txt.text = " ";
_parent.event0_mc.gotoAndStop(1);
Symbol 813 MovieClip Frame 183
disabled_btn.enabled = false;
disabled_btn.tabEnabled = false;
Symbol 813 MovieClip Frame 198
skip_mc.tabEnabled = false;
Instance of Symbol 812 MovieClip "skip_mc" in Symbol 813 MovieClip Frame 198
on (press) {
_parent.gotoAndPlay(297);
}
Symbol 813 MovieClip Frame 297
clearInterval(_parent.setTimer);
_parent.timer1 = _parent.timer2;
_parent.setTimerFun();
Symbol 813 MovieClip Frame 323
stop();
_parent.LevelSecond();
Symbol 814 MovieClip Frame 1
stop();
Symbol 814 MovieClip Frame 120
stop();
Symbol 819 MovieClip Frame 1
stop();
Symbol 819 MovieClip Frame 10
stop();
_parent.level3But_mc._visible = false;
Symbol 833 MovieClip Frame 1
stop();
Symbol 835 MovieClip Frame 1
stop();
Symbol 837 MovieClip Frame 1
stop();
Symbol 840 MovieClip Frame 1
stop();
Symbol 842 MovieClip Frame 1
stop();
Symbol 843 MovieClip Frame 1
stop();
Symbol 849 MovieClip Frame 1
stop();
Symbol 852 MovieClip Frame 1
stop();
Symbol 854 MovieClip Frame 1
stop();
Symbol 856 MovieClip Frame 1
stop();
Symbol 857 MovieClip Frame 1
stop();
Symbol 858 MovieClip Frame 1
stop();
Symbol 868 MovieClip Frame 1
stop();
Symbol 870 MovieClip Frame 1
stop();
Symbol 872 MovieClip Frame 1
stop();
Symbol 874 MovieClip Frame 1
stop();
Symbol 875 MovieClip Frame 1
stop();
Symbol 876 MovieClip Frame 1
stop();
Symbol 878 MovieClip Frame 1
stop();
Symbol 880 MovieClip Frame 1
stop();
Symbol 882 MovieClip Frame 1
stop();
Symbol 884 MovieClip Frame 1
stop();
Symbol 885 MovieClip Frame 1
stop();
Symbol 886 MovieClip Frame 1
stop();
Symbol 894 MovieClip Frame 1
stop();
Symbol 896 MovieClip Frame 1
stop();
Symbol 898 MovieClip Frame 1
stop();
Symbol 900 MovieClip Frame 1
stop();
Symbol 901 MovieClip Frame 1
stop();
Symbol 902 MovieClip Frame 1
stop();
Symbol 911 MovieClip Frame 1
stop();
Symbol 913 MovieClip Frame 1
stop();
Symbol 915 MovieClip Frame 1
stop();
Symbol 917 MovieClip Frame 1
stop();
Symbol 922 MovieClip Frame 1
stop();
Instance of Symbol 905 MovieClip in Symbol 922 MovieClip Frame 1
on (press) {
_parent._parent._parent.stars_mc.hairstar_mc.play();
if (_parent._parent._parent.basicMakeUp4 == 1) {
trace("in");
} else {
_parent._parent._parent.basicMakeUpComplit++;
}
if (_parent._parent._parent.basicMakeUpComplit == 5) {
trace("comp1let 2");
}
_parent._parent._parent.photo1Array[3] = 1;
_parent._parent._parent.photo2Array[3] = 0;
_parent._parent._parent.photo3Array[3] = 0;
_parent._parent._parent.photo4Array[3] = 0;
_parent._parent._parent.basicMakeUp4 = 1;
_parent._parent._parent.hieLightOfHair_mc._visible = false;
_parent._parent._parent.correct6 = 1;
_parent._parent._parent.HairstyleAndColor_mc.gotoAndStop(2);
_parent._parent._parent.no = 1;
}
Instance of Symbol 907 MovieClip in Symbol 922 MovieClip Frame 1
on (press) {
_parent._parent.arrayVar++;
_parent._parent.sq1st1_mc.use_txt.text = _parent._parent.textArray[_parent._parent.arrayVar];
_parent._parent._parent.HairstyleAndColor_mc.gotoAndStop(3);
}
Instance of Symbol 911 MovieClip in Symbol 922 MovieClip Frame 1
on (press) {
_parent._parent._parent.stars_mc.hairstar_mc.play();
if (_parent._parent._parent.che == 1) {
trace("in");
} else {
_parent._parent._parent.basicMakeUpComplit++;
}
if (_parent._parent._parent.basicMakeUpComplit == 5) {
trace("comp1let 2");
}
_parent._parent._parent.photo1Array[4] = 0;
_parent._parent._parent.photo2Array[4] = 0;
_parent._parent._parent.photo3Array[4] = 0;
_parent._parent._parent.photo4Array[4] = 1;
if (_parent._parent._parent.basicMakeUpComplit == 5) {
_parent._parent._parent.level3But_mc.gotoAndPlay(2);
}
_parent._parent._parent.che = 1;
_parent._parent._parent.correct7 = 0;
_parent._parent._parent.HairstyleAndColor_mc.HairStyle_mc.gotoAndStop("yellow");
}
Instance of Symbol 913 MovieClip in Symbol 922 MovieClip Frame 1
on (press) {
_parent._parent._parent.stars_mc.hairstar_mc.play();
if (_parent._parent._parent.che == 1) {
trace("in");
} else {
_parent._parent._parent.basicMakeUpComplit++;
}
if (_parent._parent._parent.basicMakeUpComplit == 5) {
trace("comp1let 2");
}
_parent._parent._parent.photo1Array[4] = 0;
_parent._parent._parent.photo2Array[4] = 0;
_parent._parent._parent.photo3Array[4] = 0;
_parent._parent._parent.photo4Array[4] = 1;
if (_parent._parent._parent.basicMakeUpComplit == 5) {
_parent._parent._parent.level3But_mc.gotoAndPlay(2);
}
_parent._parent._parent.che = 1;
_parent._parent._parent.correct7 = 0;
_parent._parent._parent.HairstyleAndColor_mc.HairStyle_mc.gotoAndStop("orange");
}
Instance of Symbol 915 MovieClip in Symbol 922 MovieClip Frame 1
on (press) {
_parent._parent._parent.stars_mc.hairstar_mc.play();
if (_parent._parent._parent.che == 1) {
trace("in");
} else {
_parent._parent._parent.basicMakeUpComplit++;
}
if (_parent._parent._parent.basicMakeUpComplit == 5) {
trace("comp1let 2");
}
_parent._parent._parent.photo1Array[4] = 0;
_parent._parent._parent.photo2Array[4] = 0;
_parent._parent._parent.photo3Array[4] = 1;
_parent._parent._parent.photo4Array[4] = 0;
if (_parent._parent._parent.basicMakeUpComplit == 5) {
_parent._parent._parent.level3But_mc.gotoAndPlay(2);
}
_parent._parent._parent.che = 1;
_parent._parent._parent.correct7 = 0;
_parent._parent._parent.HairstyleAndColor_mc.HairStyle_mc.gotoAndStop("red");
}
Instance of Symbol 917 MovieClip in Symbol 922 MovieClip Frame 1
on (press) {
_parent._parent._parent.stars_mc.hairstar_mc.play();
if (_parent._parent._parent.che == 1) {
trace("in");
} else {
_parent._parent._parent.basicMakeUpComplit++;
}
if (_parent._parent._parent.basicMakeUpComplit == 5) {
trace("comp1let 2");
}
_parent._parent._parent.photo1Array[4] = 1;
_parent._parent._parent.photo2Array[4] = 1;
_parent._parent._parent.photo3Array[4] = 0;
_parent._parent._parent.photo4Array[4] = 1;
if (_parent._parent._parent.basicMakeUpComplit == 5) {
_parent._parent._parent.level3But_mc.gotoAndPlay(2);
}
_parent._parent._parent.che = 1;
_parent._parent._parent.correct7 = 1;
_parent._parent._parent.HairstyleAndColor_mc.HairStyle_mc.gotoAndStop("brown");
}
Symbol 922 MovieClip Frame 11
stop();
Instance of Symbol 907 MovieClip in Symbol 922 MovieClip Frame 11
on (press) {
_parent._parent._parent.stars_mc.hairstar_mc.play();
if (_parent._parent._parent.basicMakeUp4 == 1) {
trace("in");
} else {
_parent._parent._parent.basicMakeUpComplit++;
}
if (_parent._parent._parent.basicMakeUpComplit == 5) {
trace("comp1let 2");
}
_parent._parent._parent.photo1Array[3] = 0;
_parent._parent._parent.photo2Array[3] = 0;
_parent._parent._parent.photo3Array[3] = 1;
_parent._parent._parent.photo4Array[3] = 0;
_parent._parent._parent.basicMakeUp4 = 1;
_parent._parent._parent.correct6 = 0;
_parent._parent._parent.hieLightOfHair_mc._visible = false;
_parent._parent._parent.HairstyleAndColor_mc.gotoAndStop(3);
_parent._parent._parent.no = 2;
}
Symbol 922 MovieClip Frame 21
stop();
Instance of Symbol 921 MovieClip in Symbol 922 MovieClip Frame 21
on (press) {
_parent._parent._parent.HairstyleAndColor_mc.gotoAndStop(5);
}
Instance of Symbol 919 MovieClip in Symbol 922 MovieClip Frame 21
on (press) {
_parent._parent._parent.stars_mc.hairstar_mc.play();
_parent._parent._parent.photo1Array[3] = 0;
if (_parent._parent._parent.basicMakeUp4 == 1) {
trace("in");
} else {
_parent._parent._parent.basicMakeUpComplit++;
}
if (_parent._parent._parent.basicMakeUpComplit == 5) {
trace("comp1let 2");
}
_parent._parent._parent.photo2Array[3] = 1;
_parent._parent._parent.photo3Array[3] = 0;
_parent._parent._parent.photo4Array[3] = 0;
_parent._parent._parent.basicMakeUp4 = 1;
_parent._parent._parent.hieLightOfHair_mc._visible = false;
_parent._parent._parent.correct6 = 0;
_parent._parent._parent.HairstyleAndColor_mc.gotoAndStop(4);
_parent._parent._parent.no = 3;
}
Symbol 922 MovieClip Frame 31
stop();
Instance of Symbol 921 MovieClip in Symbol 922 MovieClip Frame 31
on (press) {
_parent._parent._parent.stars_mc.hairstar_mc.play();
if (_parent._parent._parent.basicMakeUp4 == 1) {
trace("in");
} else {
_parent._parent._parent.basicMakeUpComplit++;
}
if (_parent._parent._parent.basicMakeUpComplit == 5) {
trace("comp1let 2");
}
_parent._parent._parent.photo1Array[3] = 0;
_parent._parent._parent.photo2Array[3] = 0;
_parent._parent._parent.photo3Array[3] = 0;
trace("_parent._parent._parent.photo4Array" + _parent._parent._parent.photo4Array);
_parent._parent._parent.photo4Array[3] = 1;
trace("_parent._parent._parent.photo4Array" + _parent._parent._parent.photo4Array);
_parent._parent._parent.basicMakeUp4 = 1;
_parent._parent._parent.correct6 = 0;
_parent._parent._parent.hieLightOfHair_mc._visible = false;
_parent._parent._parent.HairstyleAndColor_mc.gotoAndStop(5);
_parent._parent._parent.no = 4;
}
Symbol 925 MovieClip Frame 1
stop();
Symbol 926 MovieClip Frame 1
stop();
Instance of Symbol 833 MovieClip in Symbol 926 MovieClip Frame 2
on (press) {
if (_parent._parent.basicMakeUp1 == 1) {
trace("in");
} else {
_parent._parent.basicMakeUpComplit++;
}
_parent._parent.photo1Array[0] = 0;
_parent._parent.photo2Array[0] = 1;
_parent._parent.photo3Array[0] = 0;
_parent._parent.photo4Array[0] = 1;
_parent._parent.basicMakeUp1 = 1;
_parent._parent.correct1 = 0;
if (_parent._parent.basicMakeUpComplit == 5) {
_parent._parent.level3But_mc.gotoAndPlay(2);
}
_parent._parent.bodyColor_mc.gotoAndStop(2);
}
Instance of Symbol 835 MovieClip in Symbol 926 MovieClip Frame 2
on (press) {
if (_parent._parent.basicMakeUp1 == 1) {
trace("in");
} else {
_parent._parent.basicMakeUpComplit++;
}
_parent._parent.photo1Array[0] = 1;
_parent._parent.photo2Array[0] = 0;
_parent._parent.photo3Array[0] = 0;
_parent._parent.photo4Array[0] = 0;
if (_parent._parent.basicMakeUpComplit == 5) {
_parent._parent.level3But_mc.gotoAndPlay(2);
}
_parent._parent.makeUpItem8_mc.enabled = false;
_parent._parent.makeUpItem10_mc.enabled = false;
_parent._parent.makeUpItem2_mc.enabled = false;
_parent._parent.makeUpItem5_mc.enabled = false;
_parent._parent.basicMakeUp1 = 1;
_parent._parent.correct1 = 1;
_parent._parent.bodyColor_mc.gotoAndStop(1);
}
Instance of Symbol 837 MovieClip in Symbol 926 MovieClip Frame 2
on (press) {
if (_parent._parent.basicMakeUp1 == 1) {
trace("in");
} else {
_parent._parent.basicMakeUpComplit++;
}
_parent._parent.photo1Array[0] = 0;
_parent._parent.photo2Array[0] = 0;
_parent._parent.photo3Array[0] = 1;
_parent._parent.photo4Array[0] = 0;
if (_parent._parent.basicMakeUpComplit == 5) {
_parent._parent.level3But_mc.gotoAndPlay(2);
}
_parent._parent.basicMakeUp1 = 1;
_parent._parent.correct1 = 0;
_parent._parent.makeUpItem8_mc.enabled = false;
_parent._parent.makeUpItem10_mc.enabled = false;
_parent._parent.makeUpItem2_mc.enabled = false;
_parent._parent.makeUpItem5_mc.enabled = false;
_parent._parent.bodyColor_mc.gotoAndStop(3);
}
Instance of Symbol 840 MovieClip in Symbol 926 MovieClip Frame 2
on (press) {
if (_parent._parent.basicMakeUp1 == 1) {
trace("in");
} else {
_parent._parent.basicMakeUpComplit++;
}
_parent._parent.photo1Array[0] = 0;
_parent._parent.photo2Array[0] = 0;
_parent._parent.photo3Array[0] = 0;
_parent._parent.photo4Array[0] = 0;
if (_parent._parent.basicMakeUpComplit == 5) {
_parent._parent.level3But_mc.gotoAndPlay(2);
}
_parent._parent.basicMakeUp1 = 1;
_parent._parent.correct1 = 0;
_parent._parent.makeUpItem8_mc.enabled = false;
_parent._parent.makeUpItem10_mc.enabled = false;
_parent._parent.makeUpItem2_mc.enabled = false;
_parent._parent.makeUpItem5_mc.enabled = false;
_parent._parent.bodyColor_mc.gotoAndStop(4);
}
Instance of Symbol 842 MovieClip in Symbol 926 MovieClip Frame 2
/* no clip actions */
Instance of Symbol 843 MovieClip in Symbol 926 MovieClip Frame 2
/* no clip actions */
Instance of Symbol 847 MovieClip in Symbol 926 MovieClip Frame 3
/* no clip actions */
Instance of Symbol 849 MovieClip in Symbol 926 MovieClip Frame 4
on (press) {
_parent._parent.stars_mc.lipStar_mc.play();
if (_parent._parent.basicMakeUp3 == 1) {
trace("in");
} else {
_parent._parent.basicMakeUpComplit++;
}
_parent._parent.photo1Array[2] = 0;
_parent._parent.photo2Array[2] = 0;
_parent._parent.photo3Array[2] = 0;
_parent._parent.photo4Array[2] = 0;
if (_parent._parent.basicMakeUpComplit == 5) {
_parent._parent.level3But_mc.gotoAndPlay(2);
}
_parent._parent.basicMakeUp3 = 1;
_parent._parent.correct2 = 0;
_parent._parent.lipStick_mc.gotoAndStop("pink");
}
Instance of Symbol 852 MovieClip in Symbol 926 MovieClip Frame 4
on (press) {
_parent._parent.stars_mc.lipStar_mc.play();
if (_parent._parent.basicMakeUp3 == 1) {
trace("in");
} else {
_parent._parent.basicMakeUpComplit++;
}
_parent._parent.photo1Array[2] = 0;
_parent._parent.photo2Array[2] = 1;
_parent._parent.photo3Array[2] = 0;
_parent._parent.photo4Array[2] = 1;
if (_parent._parent.basicMakeUpComplit == 5) {
_parent._parent.level3But_mc.gotoAndPlay(2);
}
_parent._parent.basicMakeUp3 = 1;
_parent._parent.correct2 = 0;
_parent._parent.lipStick_mc.gotoAndStop("green");
}
Instance of Symbol 854 MovieClip in Symbol 926 MovieClip Frame 4
on (press) {
_parent._parent.stars_mc.lipStar_mc.play();
if (_parent._parent.basicMakeUp3 == 1) {
trace("in");
} else {
_parent._parent.basicMakeUpComplit++;
}
_parent._parent.photo1Array[2] = 0;
_parent._parent.photo2Array[2] = 0;
_parent._parent.photo3Array[2] = 0;
_parent._parent.photo4Array[2] = 0;
if (_parent._parent.basicMakeUpComplit == 5) {
_parent._parent.level3But_mc.gotoAndPlay(2);
}
_parent._parent.basicMakeUp3 = 1;
_parent._parent.correct2 = 0;
_parent._parent.lipStick_mc.gotoAndStop("yellow");
}
Instance of Symbol 856 MovieClip in Symbol 926 MovieClip Frame 4
on (press) {
_parent._parent.stars_mc.lipStar_mc.play();
if (_parent._parent.basicMakeUp3 == 1) {
trace("in");
} else {
_parent._parent.basicMakeUpComplit++;
}
_parent._parent.photo1Array[2] = 1;
_parent._parent.photo2Array[2] = 0;
_parent._parent.photo3Array[2] = 1;
_parent._parent.photo4Array[2] = 0;
if (_parent._parent.basicMakeUpComplit == 5) {
_parent._parent.level3But_mc.gotoAndPlay(2);
}
_parent._parent.basicMakeUp3 = 1;
_parent._parent.correct2 = 1;
_parent._parent.lipStick_mc.gotoAndStop("red");
}
Instance of Symbol 857 MovieClip in Symbol 926 MovieClip Frame 4
/* no clip actions */
Instance of Symbol 858 MovieClip in Symbol 926 MovieClip Frame 4
/* no clip actions */
Instance of Symbol 864 MovieClip "lipGloss_mc" in Symbol 926 MovieClip Frame 5
/* no clip actions */
Instance of Symbol 866 MovieClip in Symbol 926 MovieClip Frame 6
/* no clip actions */
Instance of Symbol 868 MovieClip in Symbol 926 MovieClip Frame 7
on (press) {
_parent._parent.photo1Array[5] = 0;
_parent._parent.photo2Array[5] = 0;
_parent._parent.photo3Array[5] = 1;
_parent._parent.photo4Array[5] = 0;
_parent._parent.enhancMakeUp2 = 1;
_parent._parent.correct3 = 0;
_parent._parent.eyeshadow_mc._visible = true;
if ((((_parent._parent.enhancMakeUp1 == 1) and (_parent._parent.enhancMakeUp2 == 1)) and (_parent._parent.enhancMakeUp3 == 1)) and (_parent._parent.enhancMakeUp4 == 1)) {
_parent._parent.level3But_mc.gotoAndPlay(2);
}
_parent._parent.eyeshadow_mc.gotoAndStop("yellow");
}
Instance of Symbol 870 MovieClip in Symbol 926 MovieClip Frame 7
on (press) {
_parent._parent.photo1Array[5] = 0;
_parent._parent.photo2Array[5] = 1;
_parent._parent.photo3Array[5] = 0;
_parent._parent.photo4Array[5] = 0;
_parent._parent.enhancMakeUp2 = 1;
_parent._parent.correct3 = 0;
_parent._parent.eyeshadow_mc._visible = true;
if ((((_parent._parent.enhancMakeUp1 == 1) and (_parent._parent.enhancMakeUp2 == 1)) and (_parent._parent.enhancMakeUp3 == 1)) and (_parent._parent.enhancMakeUp4 == 1)) {
_parent._parent.level3But_mc.gotoAndPlay(2);
}
_parent._parent.eyeshadow_mc.gotoAndStop("pink");
}
Instance of Symbol 872 MovieClip in Symbol 926 MovieClip Frame 7
on (press) {
_parent._parent.photo1Array[5] = 1;
_parent._parent.photo2Array[5] = 0;
_parent._parent.photo3Array[5] = 0;
_parent._parent.photo4Array[5] = 0;
_parent._parent.enhancMakeUp2 = 1;
_parent._parent.eyeshadow_mc._visible = true;
_parent._parent.correct3 = 1;
if ((((_parent._parent.enhancMakeUp1 == 1) and (_parent._parent.enhancMakeUp2 == 1)) and (_parent._parent.enhancMakeUp3 == 1)) and (_parent._parent.enhancMakeUp4 == 1)) {
_parent._parent.level3But_mc.gotoAndPlay(2);
}
_parent._parent.eyeshadow_mc.gotoAndStop("red");
}
Instance of Symbol 874 MovieClip in Symbol 926 MovieClip Frame 7
on (press) {
_parent._parent.photo1Array[5] = 0;
_parent._parent.photo2Array[5] = 0;
_parent._parent.photo3Array[5] = 0;
_parent._parent.photo4Array[5] = 1;
_parent._parent.enhancMakeUp2 = 1;
_parent._parent.correct3 = 0;
_parent._parent.eyeshadow_mc._visible = true;
if ((((_parent._parent.enhancMakeUp1 == 1) and (_parent._parent.enhancMakeUp2 == 1)) and (_parent._parent.enhancMakeUp3 == 1)) and (_parent._parent.enhancMakeUp4 == 1)) {
_parent._parent.level3But_mc.gotoAndPlay(2);
}
_parent._parent.eyeshadow_mc.gotoAndStop("orange");
}
Instance of Symbol 875 MovieClip in Symbol 926 MovieClip Frame 7
/* no clip actions */
Instance of Symbol 876 MovieClip in Symbol 926 MovieClip Frame 7
/* no clip actions */
Instance of Symbol 878 MovieClip in Symbol 926 MovieClip Frame 8
on (press) {
_parent._parent.photo1Array[6] = 0;
_parent._parent.photo2Array[6] = 0;
_parent._parent.photo3Array[6] = 0;
_parent._parent.photo4Array[6] = 0;
_parent._parent.enhancMakeUp3 = 1;
_parent._parent.correct4 = 0;
_parent._parent.rooz_mc._visible = true;
if ((((_parent._parent.enhancMakeUp1 == 1) and (_parent._parent.enhancMakeUp2 == 1)) and (_parent._parent.enhancMakeUp3 == 1)) and (_parent._parent.enhancMakeUp4 == 1)) {
_parent._parent.level3But_mc.gotoAndPlay(2);
}
_parent._parent.rooz_mc.gotoAndStop("yellow");
}
Instance of Symbol 880 MovieClip in Symbol 926 MovieClip Frame 8
on (press) {
_parent._parent.photo1Array[6] = 0;
_parent._parent.photo2Array[6] = 0;
_parent._parent.photo3Array[6] = 0;
_parent._parent.photo4Array[6] = 0;
_parent._parent.enhancMakeUp3 = 1;
_parent._parent.correct4 = 0;
_parent._parent.rooz_mc._visible = true;
if ((((_parent._parent.enhancMakeUp1 == 1) and (_parent._parent.enhancMakeUp2 == 1)) and (_parent._parent.enhancMakeUp3 == 1)) and (_parent._parent.enhancMakeUp4 == 1)) {
_parent._parent.level3But_mc.gotoAndPlay(2);
}
_parent._parent.rooz_mc.gotoAndStop("pink");
}
Instance of Symbol 882 MovieClip in Symbol 926 MovieClip Frame 8
on (press) {
_parent._parent.photo1Array[6] = 1;
_parent._parent.photo2Array[6] = 1;
_parent._parent.photo3Array[6] = 0;
_parent._parent.photo4Array[6] = 0;
_parent._parent.enhancMakeUp3 = 1;
_parent._parent.correct4 = 1;
_parent._parent.rooz_mc._visible = true;
if ((((_parent._parent.enhancMakeUp1 == 1) and (_parent._parent.enhancMakeUp2 == 1)) and (_parent._parent.enhancMakeUp3 == 1)) and (_parent._parent.enhancMakeUp4 == 1)) {
_parent._parent.level3But_mc.gotoAndPlay(2);
}
_parent._parent.rooz_mc.gotoAndStop("red");
}
Instance of Symbol 884 MovieClip in Symbol 926 MovieClip Frame 8
on (press) {
_parent._parent.photo1Array[6] = 0;
_parent._parent.photo2Array[6] = 0;
_parent._parent.photo3Array[6] = 1;
_parent._parent.photo4Array[6] = 1;
_parent._parent.enhancMakeUp3 = 1;
_parent._parent.rooz_mc._visible = true;
_parent._parent.correct4 = 0;
if ((((_parent._parent.enhancMakeUp1 == 1) and (_parent._parent.enhancMakeUp2 == 1)) and (_parent._parent.enhancMakeUp3 == 1)) and (_parent._parent.enhancMakeUp4 == 1)) {
_parent._parent.level3But_mc.gotoAndPlay(2);
}
_parent._parent.rooz_mc.gotoAndStop("orange");
}
Instance of Symbol 885 MovieClip in Symbol 926 MovieClip Frame 8
/* no clip actions */
Instance of Symbol 886 MovieClip in Symbol 926 MovieClip Frame 8
/* no clip actions */
Instance of Symbol 888 MovieClip in Symbol 926 MovieClip Frame 9
/* no clip actions */
Instance of Symbol 890 MovieClip in Symbol 926 MovieClip Frame 10
/* no clip actions */
Instance of Symbol 892 MovieClip in Symbol 926 MovieClip Frame 11
/* no clip actions */
Instance of Symbol 894 MovieClip in Symbol 926 MovieClip Frame 12
on (press) {
_parent._parent.stars_mc.hairstar_mc.play();
_parent._parent.photo1Array[7] = 0;
_parent._parent.photo2Array[7] = 0;
_parent._parent.photo3Array[7] = 0;
_parent._parent.photo4Array[7] = 0;
_parent._parent.spacifid = 1;
_parent._parent.enhancMakeUp4 = 1;
_parent._parent.enhancMakeUpComplit = 1;
if ((((_parent._parent.enhancMakeUp1 == 1) and (_parent._parent.enhancMakeUp2 == 1)) and (_parent._parent.enhancMakeUp3 == 1)) and (_parent._parent.enhancMakeUp4 == 1)) {
_parent._parent.level3But_mc.gotoAndPlay(2);
}
var a = _parent._parent.no;
_parent._parent.hieLightOfHair_mc.gotoAndStop(a);
_parent._parent.hieLightOfHair_mc._visible = true;
_parent._parent.hieLightOfHair_mc.hairStyleHL_mc.gotoAndStop("yellow");
}
Instance of Symbol 896 MovieClip in Symbol 926 MovieClip Frame 12
on (press) {
_parent._parent.stars_mc.hairstar_mc.play();
_parent._parent.photo1Array[7] = 0;
_parent._parent.photo2Array[7] = 1;
_parent._parent.photo3Array[7] = 1;
_parent._parent.photo4Array[7] = 0;
_parent._parent.spacifid = 1;
_parent._parent.enhancMakeUp4 = 1;
_parent._parent.enhancMakeUpComplit = 1;
if ((((_parent._parent.enhancMakeUp1 == 1) and (_parent._parent.enhancMakeUp2 == 1)) and (_parent._parent.enhancMakeUp3 == 1)) and (_parent._parent.enhancMakeUp4 == 1)) {
_parent._parent.level3But_mc.gotoAndPlay(2);
}
var a = _parent._parent.no;
_parent._parent.hieLightOfHair_mc.gotoAndStop(a);
_parent._parent.hieLightOfHair_mc._visible = true;
_parent._parent.hieLightOfHair_mc.hairStyleHL_mc.gotoAndStop("orange");
}
Instance of Symbol 898 MovieClip in Symbol 926 MovieClip Frame 12
on (press) {
_parent._parent.stars_mc.hairstar_mc.play();
_parent._parent.photo1Array[7] = 1;
_parent._parent.photo2Array[7] = 0;
_parent._parent.photo3Array[7] = 0;
_parent._parent.photo4Array[7] = 0;
_parent._parent.spacifid = 1;
_parent._parent.enhancMakeUp4 = 1;
_parent._parent.enhancMakeUpComplit = 1;
if ((((_parent._parent.enhancMakeUp1 == 1) and (_parent._parent.enhancMakeUp2 == 1)) and (_parent._parent.enhancMakeUp3 == 1)) and (_parent._parent.enhancMakeUp4 == 1)) {
_parent._parent.level3But_mc.gotoAndPlay(2);
}
var a = _parent._parent.no;
_parent._parent.hieLightOfHair_mc.gotoAndStop(a);
_parent._parent.hieLightOfHair_mc._visible = true;
_parent._parent.hieLightOfHair_mc.hairStyleHL_mc.gotoAndStop("red");
}
Instance of Symbol 900 MovieClip in Symbol 926 MovieClip Frame 12
on (press) {
_parent._parent.stars_mc.hairstar_mc.play();
_parent._parent.photo1Array[7] = 0;
_parent._parent.photo2Array[7] = 0;
_parent._parent.photo3Array[7] = 0;
_parent._parent.photo4Array[7] = 1;
_parent._parent.spacifid = 1;
_parent._parent.enhancMakeUp4 = 1;
_parent._parent.enhancMakeUpComplit = 1;
if ((((_parent._parent.enhancMakeUp1 == 1) and (_parent._parent.enhancMakeUp2 == 1)) and (_parent._parent.enhancMakeUp3 == 1)) and (_parent._parent.enhancMakeUp4 == 1)) {
_parent._parent.level3But_mc.gotoAndPlay(2);
}
var a = _parent._parent.no;
_parent._parent.hieLightOfHair_mc.gotoAndStop(a);
_parent._parent.hieLightOfHair_mc._visible = true;
_parent._parent.hieLightOfHair_mc.hairStyleHL_mc.gotoAndStop("brown");
}
Instance of Symbol 901 MovieClip in Symbol 926 MovieClip Frame 12
/* no clip actions */
Instance of Symbol 902 MovieClip in Symbol 926 MovieClip Frame 12
/* no clip actions */
Instance of Symbol 925 MovieClip in Symbol 926 MovieClip Frame 13
on (press) {
this.gotoAndStop(2);
_parent.hairStyle_mc.play();
}
on (release) {
this.gotoAndStop(1);
}
Symbol 933 MovieClip Frame 1
stop();
Symbol 949 MovieClip Frame 1
stop();
Symbol 959 MovieClip Frame 1
stop();
Symbol 969 MovieClip Frame 1
stop();
Symbol 980 MovieClip Frame 1
stop();
Symbol 994 MovieClip Frame 1
stop();
Symbol 1005 MovieClip Frame 1
stop();
Symbol 1016 MovieClip Frame 1
stop();
Symbol 1023 MovieClip Frame 1
stop();
Symbol 1024 MovieClip Frame 1
stop();
Symbol 1031 MovieClip Frame 30
stop();
Symbol 1032 MovieClip Frame 1
stop();
Symbol 1033 MovieClip Frame 1
stop();
Symbol 1038 MovieClip Frame 1
stop();
Symbol 1048 MovieClip Frame 1
stop();
Symbol 1053 MovieClip Frame 1
stop();
Symbol 1054 MovieClip Frame 1
stop();
Symbol 1075 MovieClip Frame 1
stop();
Symbol 1084 MovieClip Frame 1
stop();
Symbol 1093 MovieClip Frame 1
stop();
Symbol 1097 MovieClip Frame 1
stop();
Symbol 1101 MovieClip Frame 1
stop();
Symbol 1105 MovieClip Frame 1
stop();
Symbol 1109 MovieClip Frame 1
stop();
Symbol 1112 MovieClip Frame 1
stop();
Symbol 1116 MovieClip Frame 1
stop();
Symbol 1120 MovieClip Frame 1
stop();
Symbol 1124 MovieClip Frame 1
stop();
Symbol 1131 MovieClip Frame 1
stop();
Symbol 1136 MovieClip Frame 1
stop();
Symbol 1140 MovieClip Frame 1
stop();
Symbol 1140 MovieClip Frame 35
gotoAndPlay (2);
Symbol 1212 MovieClip Frame 1
stop();
Symbol 1221 MovieClip Frame 1
stop();
Symbol 1221 MovieClip Frame 2
_parent.soundMc.sndObj.stop();
_parent.soundMc.gotoAndStop("INTRO");
Symbol 1221 MovieClip Frame 10
stop();
_root._doGameOver(0, "gamecompleted", false, 4000);
Symbol 1261 MovieClip Frame 1
stop();
Symbol 1261 MovieClip Frame 4
coverSpace_btn.enabled = false;
coverSpace_btn.tabEnabled = false;
_parent.hintPanel_mc._visible = false;
Symbol 1261 MovieClip Frame 10
stop();
_parent.currentStage = 1;
_parent.makeUpItem1_mc.gotoAndStop(1);
_parent.makeUpItem2_mc.gotoAndStop(1);
_parent.makeUpItem3_mc.gotoAndStop(1);
_parent.makeUpItem4_mc.gotoAndStop(1);
_parent.makeUpItem5_mc.gotoAndStop(1);
_parent.makeUpItem6_mc.gotoAndStop(1);
_parent.makeUpItem7_mc.gotoAndStop(1);
_parent.makeUpItem8_mc.gotoAndStop(1);
_parent.makeUpItem9_mc.gotoAndStop(1);
_parent.makeUpItem10_mc.gotoAndStop(1);
_parent.makeUpItem11_mc.gotoAndStop(1);
_parent.makeUpItem12_mc.gotoAndStop(1);
if (_parent.stage11 == 0) {
_parent.retuen = setInterval(_parent.funRet, 3000);
_parent.stage11 = 1;
}
close_mc.tabEnabled = false;
Instance of Symbol 1244 MovieClip "close_mc" in Symbol 1261 MovieClip Frame 10
on (press) {
clearInterval(_parent._parent.retuen);
_parent._parent.rollValue = 0;
_parent.play();
}
Symbol 1261 MovieClip Frame 20
_parent.hintPanel_mc._visible = true;
gotoAndStop (1);
Symbol 1261 MovieClip Frame 48
coverSpace_btn.enabled = false;
coverSpace_btn.tabEnabled = false;
_parent.hintPanel_mc._visible = false;
Symbol 1261 MovieClip Frame 54
stop();
_parent.currentStage = 2;
_parent.makeUpItem1_mc.gotoAndStop(1);
_parent.makeUpItem2_mc.gotoAndStop(1);
_parent.makeUpItem3_mc.gotoAndStop(1);
_parent.makeUpItem4_mc.gotoAndStop(1);
_parent.makeUpItem5_mc.gotoAndStop(1);
_parent.makeUpItem6_mc.gotoAndStop(1);
_parent.makeUpItem7_mc.gotoAndStop(1);
_parent.makeUpItem8_mc.gotoAndStop(1);
_parent.makeUpItem9_mc.gotoAndStop(1);
_parent.makeUpItem10_mc.gotoAndStop(1);
_parent.makeUpItem11_mc.gotoAndStop(1);
_parent.makeUpItem12_mc.gotoAndStop(1);
if (_parent.stage12 == 0) {
_parent.retuen = setInterval(_parent.funRet, 3000);
_parent.stage12 = 1;
}
close_mc.tabEnabled = false;
Instance of Symbol 1244 MovieClip "close_mc" in Symbol 1261 MovieClip Frame 54
on (press) {
clearInterval(_parent._parent.retuen);
_parent._parent.rollValue = 0;
_parent.play();
}
Symbol 1261 MovieClip Frame 64
_parent.hintPanel_mc._visible = true;
gotoAndStop (45);
Symbol 1261 MovieClip Frame 93
coverSpace_btn.enabled = false;
coverSpace_btn.tabEnabled = false;
_parent.hintPanel_mc._visible = false;
Symbol 1261 MovieClip Frame 99
stop();
_parent.currentStage = 3;
_parent.makeUpItem1_mc.gotoAndStop(1);
_parent.makeUpItem2_mc.gotoAndStop(1);
_parent.makeUpItem3_mc.gotoAndStop(1);
_parent.makeUpItem4_mc.gotoAndStop(1);
_parent.makeUpItem5_mc.gotoAndStop(1);
_parent.makeUpItem6_mc.gotoAndStop(1);
_parent.makeUpItem7_mc.gotoAndStop(1);
_parent.makeUpItem8_mc.gotoAndStop(1);
_parent.makeUpItem9_mc.gotoAndStop(1);
_parent.makeUpItem10_mc.gotoAndStop(1);
_parent.makeUpItem11_mc.gotoAndStop(1);
_parent.makeUpItem12_mc.gotoAndStop(1);
if (_parent.stage13 == 0) {
_parent.retuen = setInterval(_parent.funRet, 3000);
_parent.stage13 = 1;
}
close_mc.tabEnabled = false;
Instance of Symbol 1244 MovieClip "close_mc" in Symbol 1261 MovieClip Frame 99
on (press) {
clearInterval(_parent._parent.retuen);
_parent._parent.rollValue = 0;
_parent.play();
}
Symbol 1261 MovieClip Frame 109
_parent.hintPanel_mc._visible = true;
gotoAndStop (90);
Symbol 1268 MovieClip Frame 4
disabled_btn.enabled = false;
disabled_btn.tabEnabled = false;
_parent.hintPanel_mc._visible = false;
Symbol 1268 MovieClip Frame 24
skip_mc.tabEnabled = false;
Instance of Symbol 1267 MovieClip "skip_mc" in Symbol 1268 MovieClip Frame 24
on (press) {
_parent.gotoAndPlay(123);
}
Symbol 1268 MovieClip Frame 123
_parent.setTimerFun();
Symbol 1268 MovieClip Frame 146
stop();
_parent.Slider_mc.play();
Symbol 1368 MovieClip Frame 1
stop();
Symbol 1372 MovieClip Frame 1
stop();
startbut_mc.tabEnabled = false;
Instance of Symbol 464 MovieClip "startbut_mc" in Symbol 1372 MovieClip Frame 1
on (press) {
_parent.gotoAndStop("Level1");
}
on (rollOver) {
this.gotoAndStop(2);
}
on (rollOut) {
this.gotoAndStop(1);
}
Symbol 1372 MovieClip Frame 2
soundMc.sndObj.stop();
soundMc.gotoAndStop("LEVEL1_2");
function setTimerFun() {
setTimer = setInterval(startTimer, 1000);
}
function startTimer() {
if ((glowTime == timer1) and (hint == 0)) {
event0_mc.gotoAndPlay(16);
event1_mc.gotoAndPlay(16);
event2_mc.gotoAndPlay(16);
event3_mc.gotoAndPlay(51);
event4_mc.gotoAndPlay(16);
event5_mc.gotoAndPlay(16);
}
if (timer1 == 0) {
stopTimer();
}
var _local1 = timer1;
timer_mc.timer_txt.text = _local1;
timer1--;
}
function stopTimer() {
clearInterval(setTimer);
if (timer1 == 0) {
gotoAndStop ("lose");
}
}
function funAfterClickOnEachObj(collectionVar) {
temp++;
if (temp == 1) {
temp1 = collectionVar;
}
if ((collectionVar == 0) or (collectionVar == 1)) {
event2_mc.enabled = false;
event3_mc.enabled = false;
event4_mc.enabled = false;
event5_mc.enabled = false;
}
if ((collectionVar == 2) or (collectionVar == 3)) {
event0_mc.enabled = false;
event1_mc.enabled = false;
event4_mc.enabled = false;
event5_mc.enabled = false;
}
if ((collectionVar == 4) or (collectionVar == 5)) {
event2_mc.enabled = false;
event3_mc.enabled = false;
event0_mc.enabled = false;
event1_mc.enabled = false;
}
if (temp == 2) {
temp = 0;
temp2 = collectionVar;
momMeter++;
meter_txt.text = "event no----->" + momMeter;
Irrmeter_mc.gotoAndStop(momMeter + 1);
if (momMeter == 3) {
momToGo = setInterval(MoveMomOut, 2800);
}
callSwitch(collectionVar);
}
}
function disableEvent(varForDispley) {
var eventName = eval (("event" + temp1) + "_mc");
eventName.enabled = false;
eventName = eval (("event" + temp2) + "_mc");
eventName.enabled = false;
eventArray[temp1] = 0;
eventArray[temp2] = 0;
if (event1 == 0) {
event0_mc.enabled = true;
event1_mc.enabled = true;
}
if (event2 == 0) {
event2_mc.enabled = true;
event3_mc.enabled = true;
}
if (event3 == 0) {
event4_mc.enabled = true;
event5_mc.enabled = true;
}
}
function callSwitch(varForCallSwich) {
switch (varForCallSwich) {
case 1 :
event0_mc.gotoAndPlay(3);
event3_mc.gotoAndStop(2);
event1_mc.gotoAndStop(1);
event1 = 1;
break;
case 0 :
event0_mc.gotoAndPlay(3);
event3_mc.gotoAndStop(2);
event1_mc.gotoAndStop(1);
event1 = 1;
break;
case 3 :
event2_mc.gotoAndStop(2);
cont = 1;
event2 = 1;
break;
case 2 :
event2_mc.gotoAndStop(2);
cont = 1;
event2 = 1;
break;
case 5 :
acWind_mc.gotoAndStop(3);
event3_mc.gotoAndStop(3);
event5_mc.gotoAndStop(1);
event4_mc.gotoAndStop(1);
event3 = 1;
break;
case 4 :
acWind_mc.gotoAndStop(3);
event3_mc.gotoAndStop(3);
event5_mc.gotoAndStop(1);
event4_mc.gotoAndStop(1);
event3 = 1;
}
}
function MoveMomOut() {
clearInterval(momToGo);
event2_mc.gotoAndStop(3);
event3_mc.gotoAndPlay(4);
}
function PopUpFun() {
popUp_mc.play();
}
function LevelSecond() {
event2_mc.gotoAndStop(5);
level = 2;
Irrmeter_mc._visible = false;
var _local3 = 0;
while (_local3 <= 5) {
var _local4 = this[("event" + _local3) + "_mc"];
_local4.enabled = false;
_local3++;
}
acWind_mc.gotoAndStop(1);
event0_mc.gotoAndStop(1);
backGraund_mc._visible = true;
_local3 = 1;
while (_local3 <= 7) {
ref[("inventryBox" + _local3) + "_mc"]._visible = true;
_local3++;
}
trace("i m in step second");
_local3 = 1;
while (_local3 <= 7) {
var _local2 = this[("obj" + _local3) + "_mc"];
_local2.ObjNumber = _local3;
_local2.onPress = function () {
obj1_mc.enabled = false;
obj2_mc.enabled = false;
obj3_mc.enabled = false;
obj4_mc.enabled = false;
obj5_mc.enabled = false;
obj6_mc.enabled = false;
obj7_mc.enabled = false;
trace(" nameOfMc.ObjNumber" + this.ObjNumber);
this.gotoAndStop(3);
dummy = this.ObjNumber + 1;
timeToGoInBox = setInterval(moveObjIntoInventry, 350);
};
_local2.onRollOver = function () {
this.gotoAndStop(2);
};
_local2.onRollOut = function () {
this.gotoAndStop(1);
};
_local3++;
}
}
function moveObjIntoInventry() {
obj1_mc.enabled = true;
obj2_mc.enabled = true;
obj3_mc.enabled = true;
obj4_mc.enabled = true;
obj5_mc.enabled = true;
obj6_mc.enabled = true;
obj7_mc.enabled = true;
clearInterval(timeToGoInBox);
trace("dummy " + dummy);
var _local1 = dummy - 1;
ref[("obj" + _local1) + "_mc"]._visible = false;
ref[("inventryBox" + inventryBoxNo) + "_mc"].gotoAndStop(dummy);
if (inventryBoxNo == 7) {
nextBut_btn._visible = true;
stopTimer();
}
}
event0_mc.tabEnabled = false;
event1_mc.tabEnabled = false;
event2_mc.tabEnabled = false;
event3_mc.tabEnabled = false;
event4_mc.tabEnabled = false;
event5_mc.tabEnabled = false;
obj1_mc.tabEnabled = false;
obj2_mc.tabEnabled = false;
obj3_mc.tabEnabled = false;
obj4_mc.tabEnabled = false;
obj5_mc.tabEnabled = false;
obj6_mc.tabEnabled = false;
obj7_mc.tabEnabled = false;
nextBut_btn.tabEnabled = false;
timer_mc.timerCover_btn.enabled = false;
var hint = 0;
var timer1 = 150;
var timer2 = 90;
var glowTime = (timer1 - 10);
var level = 1;
var temp = 0;
var temp1;
var temp2;
var temp3;
var momMeter = 0;
var collectionVar;
var varForDispley;
var varForCallSwich;
var momTrable = 0;
var momAcAirAffect = 0;
var dogMomCombo = 0;
var momToGo;
var cont = 0;
var checkValue1 = 0;
var checkValue2 = 0;
var checkValue3 = 0;
var checkValue4 = 0;
var checkValue5 = 0;
var checkValue6 = 0;
var pressValue = 0;
var inventryBoxNo = 0;
var timeToGoInBox;
var ref = this;
var dummy;
var setTimer;
var event1 = 0;
var event2 = 0;
var event3 = 0;
popUp_mc.play();
backGraund_mc._visible = false;
nextBut_btn._visible = false;
var i = 1;
while (i <= 7) {
ref[("inventryBox" + i) + "_mc"]._visible = false;
i++;
}
var eventArray = new Array();
eventArray = [1, 1, 2, 2, 3, 3];
Instance of Symbol 597 MovieClip "event3_mc" in Symbol 1372 MovieClip Frame 2
on (press) {
this.gotoAndStop(121);
this.enabled = false;
_parent.hint = 1;
if (_parent.checkValue2 == 0) {
trace("mom");
_parent.checkValue2 = 1;
_parent.funAfterClickOnEachObj(3);
}
}
on (rollOver) {
this.gotoAndStop(121);
}
on (rollOut) {
if (_parent.checkValue2 == 1) {
this.gotoAndStop(121);
this.enabled = false;
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 644 MovieClip "event0_mc" in Symbol 1372 MovieClip Frame 2
on (press) {
this.gotoAndStop(15);
this.enabled = false;
_parent.hint = 1;
_parent.momTrable = 0;
if (_parent.checkValue3 == 0) {
trace("dack");
_parent.checkValue3 = 1;
_parent.funAfterClickOnEachObj(0);
}
}
on (rollOver) {
this.gotoAndStop(15);
}
on (rollOut) {
if (_parent.checkValue3 == 1) {
this.enabled = false;
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 651 MovieClip "event5_mc" in Symbol 1372 MovieClip Frame 2
on (press) {
this.gotoAndStop(2);
_parent.hint = 1;
this.enabled = false;
if (_parent.checkValue6 == 0) {
trace("ac");
_parent.checkValue6 = 1;
_parent.funAfterClickOnEachObj(5);
}
}
on (rollOver) {
this.gotoAndStop(2);
}
on (rollOut) {
if (_parent.checkValue6 == 1) {
this.enabled = false;
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 664 MovieClip "event4_mc" in Symbol 1372 MovieClip Frame 2
on (press) {
this.gotoAndStop(2);
_parent.hint = 1;
if (_parent.checkValue5 == 0) {
trace("remort");
_parent.checkValue5 = 1;
_parent.funAfterClickOnEachObj(4);
}
}
on (rollOver) {
this.gotoAndStop(2);
}
on (rollOut) {
if (_parent.checkValue5 == 1) {
this.enabled = false;
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 730 MovieClip "event2_mc" in Symbol 1372 MovieClip Frame 2
on (press) {
this.gotoAndStop(86);
this.enabled = false;
_parent.hint = 1;
_parent.momTrable = 0;
if (_parent.checkValue1 == 0) {
trace("dog");
_parent.checkValue1 = 1;
_parent.funAfterClickOnEachObj(2);
}
}
on (rollOver) {
this.gotoAndStop(86);
}
on (rollOut) {
if (_parent.checkValue1 == 1) {
this.gotoAndStop(86);
this.enabled = false;
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 736 MovieClip "event1_mc" in Symbol 1372 MovieClip Frame 2
on (press) {
this.gotoAndStop(2);
this.enabled = false;
_parent.hint = 1;
if (_parent.checkValue4 == 0) {
trace("but");
_parent.checkValue4 = 1;
_parent.funAfterClickOnEachObj(1);
}
}
on (rollOver) {
this.gotoAndStop(2);
}
on (rollOut) {
if (_parent.checkValue4 == 1) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 796 MovieClip "nextBut_btn" in Symbol 1372 MovieClip Frame 2
on (press) {
_parent.level = 3;
_parent.gotoAndStop("Level3");
}
Symbol 1372 MovieClip Frame 3
soundMc.sndObj.stop();
soundMc.gotoAndStop("LEVEL3");
function setTimerFun() {
setTimer = setInterval(startTimer, 1000);
}
function startTimer() {
if (timer3 == 0) {
stopTimer();
}
var _local1 = timer3;
timer_mc.timer_txt.text = _local1;
timer3--;
}
function stopTimer() {
clearInterval(setTimer);
if (timer3 == 0) {
gotoAndStop ("lose");
}
}
function enableAllOther(o) {
colorCollection_mc.gotoAndStop(o + 1);
var _local1 = 1;
while (_local1 <= 12) {
if (_local1 != o) {
ref["selectionvalue" + _local1] = 0;
ref[("makeUpItem" + _local1) + "_mc"].gotoAndStop(1);
}
_local1++;
}
}
function callSwitch() {
trace("_parent._parent._parent.photo4Array" + photo4Array);
var _local1 = 0;
var _local3 = photoselection;
switch (_local3) {
case 1 :
trace("photo1Array " + photo1Array);
var _local2 = 0;
while (_local2 <= 7) {
if (photo1Array[_local2] == 1) {
_local1++;
}
_local2++;
}
if (_local1 == 8) {
trace("yyyy" + _local1);
return(1);
}
trace("yyyy" + _local1);
return(0);
case 2 :
trace("photo2Array " + photo2Array);
_local2 = 0;
while (_local2 <= 7) {
if (photo2Array[_local2] == 1) {
_local1++;
}
_local2++;
}
if (_local1 == 8) {
trace("yyyy" + _local1);
return(1);
}
trace("yyyy" + _local1);
return(0);
case 3 :
trace("photo3Array " + photo3Array);
_local2 = 0;
while (_local2 <= 7) {
if (photo3Array[_local2] == 1) {
_local1++;
}
_local2++;
}
if (_local1 == 8) {
trace("yyyy" + _local1);
return(1);
}
trace("yyyy" + _local1);
return(0);
case 4 :
trace("photo4Array " + photo4Array);
_local2 = 0;
while (_local2 <= 7) {
if (photo4Array[_local2] == 1) {
_local1++;
}
_local2++;
}
if (_local1 == 8) {
trace("yyyy" + _local1);
return(1);
}
trace("yyyy" + _local1);
return(0);
}
}
function funRet() {
clearInterval(retuen);
Slider_mc.play();
}
stop();
timer_mc.timerCover1_btn.enabled = false;
hintPanel_mc.tabEnabled = false;
var i = 1;
while (i < 13) {
this[("makeUpItem" + i) + "_mc"].tabEnabled = false;
i++;
}
level3But_mc.tabEnabled = false;
var currentStage = 0;
var stage11 = 0;
var stage12 = 0;
var stage13 = 0;
var retuen;
clearInterval(setTimer);
var selectionvalue1 = 0;
var selectionvalue2 = 0;
var selectionvalue3 = 0;
var selectionvalue4 = 0;
var selectionvalue5 = 0;
var selectionvalue6 = 0;
var selectionvalue7 = 0;
var selectionvalue8 = 0;
var selectionvalue9 = 0;
var selectionvalue10 = 0;
var selectionvalue11 = 0;
var selectionvalue12 = 0;
var che = 0;
var correct1 = 0;
var correct2 = 0;
var correct3 = 0;
var correct4 = 0;
var correct5 = 0;
var correct6 = 0;
var correct7 = 0;
var correct8 = 0;
var cleanUPFace1 = 0;
var cleanUPFace2 = 0;
var cleanUPFace3 = 0;
var cleanUPFace4 = 0;
var cleanUPFacecomplit = 0;
var basicMakeUp1 = 0;
var basicMakeUp2 = 0;
var basicMakeUp3 = 0;
var basicMakeUp4 = 0;
var basicMakeUp5 = 0;
var basicMakeUpComplit = 0;
var enhancMakeUp1 = 0;
var enhancMakeUp2 = 0;
var enhancMakeUp3 = 0;
var enhancMakeUp4 = 0;
var enhancMakeUpComplit = 0;
var spacifid = 0;
var rollValue = 0;
var ref = this;
var timer3 = 210;
var no;
var selectedHair;
var o;
var a;
var b;
var i = 10;
var varv;
var varValue;
var maxObj = 7;
level = 3;
level3PopUp_mc.play();
var photo1Array = new Array(0, 0, 0, 0, 0, 0, 0, 1);
var photo2Array = new Array(0, 0, 0, 0, 0, 0, 0, 0);
var photo3Array = new Array(0, 0, 0, 0, 0, 0, 0, 0);
var photo4Array = new Array(0, 0, 0, 0, 0, 0, 0, 0);
var photoselection;
photoselection = random(4) + 1;
look_mc.gotoAndStop(photoselection);
glowLip_mc._visible = false;
sq1st2_mc._visible = false;
sq1st3_mc._visible = false;
sq1st4_mc._visible = false;
rooz_mc._visible = false;
step2_mc._visible = false;
hieLightOfHair_mc._visible = false;
eyeshadow_mc._visible = false;
hairco_btn.enabled = false;
shico_btn.enabled = false;
cover_btn.enabled = false;
Instance of Symbol 1075 MovieClip "makeUpItem4_mc" in Symbol 1372 MovieClip Frame 3
on (rollOver) {
this.gotoAndStop(2);
}
on (rollOut) {
if (_parent.selectionvalue4 != 1) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
}
on (press) {
_parent.misstext_txt.text = " ";
if (_parent.basicMakeUpComplit == 6) {
_parent.makeUpItem1_mc.enabled = false;
_parent.makeUpItem12_mc.enabled = false;
_parent.makeUpItem9_mc.enabled = false;
_parent.makeUpItem3_mc.enabled = false;
_parent.colorCollection_mc.gotoAndStop(5);
_parent.stars_mc.lipStar_mc.play();
_parent.glowLip_mc._visible = true;
_parent.enhancMakeUp1 = 1;
if ((((_parent.enhancMakeUp1 == 1) and (_parent.enhancMakeUp2 == 1)) and (_parent.enhancMakeUp3 == 1)) and (_parent.enhancMakeUp4 == 1)) {
_parent.level3But_mc.gotoAndPlay(2);
}
}
}
Instance of Symbol 1084 MovieClip "makeUpItem3_mc" in Symbol 1372 MovieClip Frame 3
on (rollOver) {
this.gotoAndStop(2);
}
on (rollOut) {
if (_parent.selectionvalue3 != 1) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
}
on (press) {
_parent.misstext_txt.text = " ";
if (_parent.cleanUPFacecomplit == 1) {
_parent.makeUpItem8_mc.enabled = false;
_parent.makeUpItem10_mc.enabled = false;
_parent.makeUpItem2_mc.enabled = false;
_parent.makeUpItem5_mc.enabled = false;
this.gotoAndStop(2);
_parent.selectionvalue3 = 1;
_parent.enableAllOther(3);
} else {
trace("use eyeliner");
}
}
Instance of Symbol 1093 MovieClip "makeUpItem5_mc" in Symbol 1372 MovieClip Frame 3
on (rollOver) {
this.gotoAndStop(2);
}
on (rollOut) {
if (_parent.selectionvalue5 != 1) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
}
on (press) {
_parent.misstext_txt.text = " ";
_parent.misstext_txt.text = " ";
if (_parent.cleanUPFace3 == 1) {
_parent.level3But_mc.gotoAndPlay(2);
_parent.colorCollection_mc.gotoAndStop(6);
_parent.correct8 = 1;
_parent.cleanUPFace4 = 1;
_parent.darkCircal_mc._visible = false;
} else {
trace("use moistu.....");
}
}
Instance of Symbol 1097 MovieClip "makeUpItem6_mc" in Symbol 1372 MovieClip Frame 3
on (rollOver) {
this.gotoAndStop(2);
}
on (rollOut) {
if (_parent.selectionvalue6 != 1) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
}
on (press) {
_parent.misstext_txt.text = " ";
if (_parent.basicMakeUpComplit == 6) {
_parent.makeUpItem1_mc.enabled = false;
_parent.makeUpItem12_mc.enabled = false;
_parent.makeUpItem9_mc.enabled = false;
_parent.makeUpItem3_mc.enabled = false;
this.gotoAndStop(2);
_parent.selectionvalue6 = 1;
_parent.enableAllOther(6);
} else {
trace("use lip glowsse");
}
}
Instance of Symbol 1101 MovieClip "makeUpItem7_mc" in Symbol 1372 MovieClip Frame 3
on (rollOver) {
this.gotoAndStop(2);
}
on (rollOut) {
if (_parent.selectionvalue7 != 1) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
}
on (press) {
_parent.misstext_txt.text = " ";
if (_parent.basicMakeUpComplit == 6) {
_parent.makeUpItem1_mc.enabled = false;
_parent.makeUpItem12_mc.enabled = false;
_parent.makeUpItem9_mc.enabled = false;
_parent.makeUpItem3_mc.enabled = false;
this.gotoAndStop(2);
_parent.selectionvalue7 = 1;
_parent.enableAllOther(7);
} else {
trace("use eye shadow");
}
}
Instance of Symbol 1105 MovieClip in Symbol 1372 MovieClip Frame 3
/* no clip actions */
Instance of Symbol 1109 MovieClip "makeUpItem2_mc" in Symbol 1372 MovieClip Frame 3
on (rollOver) {
this.gotoAndStop(2);
}
on (rollOut) {
if (_parent.selectionvalue2 != 1) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
}
on (press) {
_parent.misstext_txt.text = " ";
if (_parent.cleanUPFace2 == 1) {
_parent.colorCollection_mc.gotoAndStop(3);
_parent.stars_mc.facestar_mc.play();
_parent.darkFace_mc._visible = false;
_parent.cleanUPFace3 = 1;
} else {
trace("clean with tissuPaper");
}
}
Instance of Symbol 1112 MovieClip "makeUpItem9_mc" in Symbol 1372 MovieClip Frame 3
on (rollOver) {
this.gotoAndStop(2);
}
on (rollOut) {
if (_parent.selectionvalue9 != 1) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
}
on (press) {
_parent.misstext_txt.text = " ";
if (_parent.cleanUPFacecomplit == 1) {
_parent.makeUpItem8_mc.enabled = false;
_parent.makeUpItem10_mc.enabled = false;
_parent.makeUpItem2_mc.enabled = false;
_parent.makeUpItem5_mc.enabled = false;
_parent.colorCollection_mc.gotoAndStop(10);
if (_parent.basicMakeUp2 == 1) {
trace("in");
} else {
_parent.basicMakeUpComplit++;
}
_parent.photo1Array[1] = 1;
_parent.photo2Array[1] = 1;
_parent.photo3Array[1] = 1;
_parent.photo4Array[1] = 1;
if (_parent.basicMakeUpComplit == 5) {
_parent.level3But_mc.gotoAndPlay(2);
}
_parent.basicMakeUp2 = 1;
_parent.correct5 = 1;
_parent.eyeLinear_mc.gotoAndStop(2);
} else {
trace("use foundation");
}
}
Instance of Symbol 1116 MovieClip "makeUpItem8_mc" in Symbol 1372 MovieClip Frame 3
on (rollOver) {
this.gotoAndStop(2);
}
on (rollOut) {
if (_parent.selectionvalue8 != 1) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
}
on (press) {
_parent.misstext_txt.text = " ";
_parent.colorCollection_mc.gotoAndStop(9);
_parent.stars_mc.facestar_mc.play();
_parent.cleancingEffect_mc._visible = false;
_parent.cleanUPFace1 = 1;
}
Instance of Symbol 1120 MovieClip "makeUpItem10_mc" in Symbol 1372 MovieClip Frame 3
on (rollOver) {
this.gotoAndStop(2);
}
on (rollOut) {
if (_parent.selectionvalue10 != 1) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
}
on (press) {
_parent.misstext_txt.text = " ";
if (_parent.cleanUPFace1 == 1) {
if (_parent.cleanUPFace1 == 1) {
_parent.cleanFace_mc._visible = false;
_parent.stars_mc.facestar_mc.play();
_parent.cleanUPFace2 = 1;
_parent.cleanUPFace1 = 1;
_parent.colorCollection_mc.gotoAndStop(11);
}
} else {
trace("clean with cleansing pad");
}
}
Instance of Symbol 1124 MovieClip "makeUpItem1_mc" in Symbol 1372 MovieClip Frame 3
on (rollOver) {
this.gotoAndStop(2);
}
on (rollOut) {
if (_parent.selectionvalue1 != 1) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
}
on (press) {
_parent.misstext_txt.text = " ";
if (_parent.cleanUPFacecomplit == 1) {
_parent.makeUpItem8_mc.enabled = false;
_parent.makeUpItem10_mc.enabled = false;
_parent.makeUpItem2_mc.enabled = false;
_parent.makeUpItem5_mc.enabled = false;
this.gotoAndStop(2);
_parent.selectionvalue1 = 1;
_parent.enableAllOther(1);
} else {
trace("complet first level");
}
}
Instance of Symbol 1097 MovieClip "makeUpItem6_mc" in Symbol 1372 MovieClip Frame 3
on (rollOver) {
this.gotoAndStop(2);
}
on (rollOut) {
if (_parent.selectionvalue6 != 1) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
}
on (press) {
if (_parent.enhancMakeUp1 == 1) {
this.gotoAndStop(2);
_parent.selectionvalue6 = 1;
_parent.enableAllOther(6);
} else {
trace("use lip glowsse");
}
}
Instance of Symbol 1131 MovieClip "makeUpItem12_mc" in Symbol 1372 MovieClip Frame 3
on (rollOver) {
this.gotoAndStop(2);
}
on (rollOut) {
if (_parent.selectionvalue12 != 1) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
}
on (press) {
_parent.misstext_txt.text = " ";
if (_parent.cleanUPFacecomplit == 1) {
_parent.makeUpItem8_mc.enabled = false;
_parent.makeUpItem10_mc.enabled = false;
_parent.makeUpItem2_mc.enabled = false;
_parent.makeUpItem5_mc.enabled = false;
this.gotoAndStop(2);
_parent.selectionvalue12 = 1;
_parent.enableAllOther(12);
}
}
Instance of Symbol 1136 MovieClip "makeUpItem11_mc" in Symbol 1372 MovieClip Frame 3
on (rollOver) {
this.gotoAndStop(2);
}
on (rollOut) {
if (_parent.selectionvalue11 != 1) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
}
on (press) {
_parent.misstext_txt.text = " ";
if (_parent.basicMakeUpComplit == 6) {
_parent.makeUpItem1_mc.enabled = false;
_parent.makeUpItem12_mc.enabled = false;
_parent.makeUpItem9_mc.enabled = false;
_parent.makeUpItem3_mc.enabled = false;
this.gotoAndStop(2);
_parent.selectionvalue11 = 1;
_parent.enableAllOther(11);
} else {
trace("use rooz");
}
}
Instance of Symbol 1140 MovieClip "level3But_mc" in Symbol 1372 MovieClip Frame 3
on (press) {
this.gotoAndStop(1);
if (_parent.currentStage == 1) {
if ((((_parent.cleanUPFace1 == 1) and (_parent.cleanUPFace2 == 1)) and (_parent.cleanUPFace3 == 1)) and (_parent.cleanUPFace4 == 1)) {
_parent.misstext_txt.text = "";
_parent.Slider_mc.gotoAndPlay(21);
_parent.makeUpItem8_mc.enabled = false;
_parent.makeUpItem10_mc.enabled = false;
_parent.makeUpItem2_mc.enabled = false;
_parent.makeUpItem5_mc.enabled = false;
_parent.colorCollection_mc.gotoAndStop(1);
_parent.cleanUPFacecomplit = 1;
} else {
_parent.misstext_txt.text = "You have missed something.";
}
}
if (_parent.currentStage == 2) {
if (_parent.basicMakeUpComplit == 5) {
_parent.basicMakeUpComplit = 6;
_parent.misstext_txt.text = "";
_parent.Slider_mc.gotoAndPlay(65);
_parent.makeUpItem12_mc.enabled = false;
_parent.makeUpItem1_mc.enabled = false;
_parent.makeUpItem3_mc.enabled = false;
_parent.makeUpItem9_mc.enabled = false;
_parent.colorCollection_mc.gotoAndStop(1);
} else {
_parent.misstext_txt.text = "You have missed something.";
}
}
if (_parent.currentStage == 3) {
if ((((_parent.enhancMakeUp1 == 1) and (_parent.enhancMakeUp2 == 1)) and (_parent.enhancMakeUp3 == 1)) and (_parent.enhancMakeUp4 == 1)) {
_parent.colorCollection_mc.gotoAndStop(1);
trace("level " + _parent.level);
_parent.misstext_txt.text = "";
var total = _parent.callSwitch();
_parent.Slider_mc._visible = false;
this._visible = false;
_parent.stopTimer();
trace("i n mi done");
_parent.sq1st1_mc._visible = false;
trace("total" + total);
if (total != 1) {
trace("loos");
_parent.gotoAndStop("lose");
} else {
_parent.hintPanel_mc._visible = false;
_parent.timer_mc._visible = false;
_parent.frame_mc._visible = false;
_parent.win_mc.play();
_parent.look_mc._visible = false;
_parent.frame1_mc._visible = false;
_parent.colorCollection_mc._visible = false;
var i = 1;
while (i <= 12) {
var namee = _parent.ref[("makeUpItem" + i) + "_mc"];
namee.gotoAndStop(1);
namee.enabled = false;
i++;
}
}
} else {
_parent.misstext_txt.text = "You have missed something.";
}
}
}
Instance of Symbol 1261 MovieClip "Slider_mc" in Symbol 1372 MovieClip Frame 3
/* no clip actions */
Instance of Symbol 1265 MovieClip "hintPanel_mc" in Symbol 1372 MovieClip Frame 3
on (press) {
this._visible = false;
_parent.rollValue = 1;
_parent.Slider_mc.play();
}
Symbol 1372 MovieClip Frame 4
soundMc.sndObj.stop();
soundMc.gotoAndStop("OVER");
stop();
_parent.hintPanel_mc._visible = false;
losePopup_mc.gotoAndStop(level);
_root._doGameOver(0, "gameover", false, 4000);
Instance of Symbol 1371 MovieClip in Symbol 1372 MovieClip Frame 4
on (press) {
_parent.gotoAndStop("Level1");
}
Symbol 1373 MovieClip Frame 1
this.onRelease = function () {
getURL (_root.localization_url1, "_blank");
};