Frame 1
function randomRange(min, max) {
var _local1 = Math.floor(Math.random() * ((max - min) + 1)) + min;
return(_local1);
}
var newMenu = new ContextMenu();
System.security.allowDomain("*");
_root.playIntro = true;
_root.allSounds = new Sound();
_root.score = 0;
_root.timeScore = 0;
_root.levelScore = 0;
_root.isPause = false;
_root.levelArray = ["lblgame", "level2", "level3", "level4", "win"];
_root.level = 1;
_root.isEasy = false;
_root.playIntroSound = true;
_root.playerId = 1;
_root.isOver = false;
Frame 2
Frame 3
function getphstatus(phno) {
swfurl = this._url;
if ((swfurl.split("games2win.com").length == 1) or ((gurl.split("/").length < 2) or (gurl eq undefined))) {
obj_game.ph1_status = true;
}
var _local2 = obj_game[("ph" + phno) + "_status"];
if (!_local2) {
play();
}
}
function __com_mochibot__(swfid, mc, lv, trk) {
var x;
var g;
var s;
var fv;
var sb;
var u;
var res;
var mb;
var mbc;
mb = "__mochibot__";
mbc = "mochibot.com";
g = (_global ? (_global) : (_level0._root));
if (g[mb + swfid]) {
return(g[mb + swfid]);
}
s = System.security;
x = mc._root.getSWFVersion;
fv = (x ? (mc.getSWFVersion()) : ((_global ? 6 : 5)));
if (!s) {
s = {};
}
sb = s.sandboxType;
if (sb == "localWithFile") {
return(null);
}
x = s.allowDomain;
if (x) {
s.allowDomain(mbc);
}
x = s.allowInsecureDomain;
if (x) {
s.allowInsecureDomain(mbc);
}
u = (((((((((((("http://" + mbc) + "/my/core.swf?mv=7&fv=") + fv) + "&v=") + escape(getVersion())) + "&swfid=") + escape(swfid)) + "&l=") + lv) + "&f=") + mc) + (sb ? ("&sb=" + sb) : "")) + (trk ? "&t=1" : "");
lv = ((fv > 6) ? (mc.getNextHighestDepth()) : ((g[mb + "level"] ? (g[mb + "level"] + 1) : (lv))));
g[mb + "level"] = lv;
if (fv == 5) {
res = "_level" + lv;
if (!eval (res)) {
loadMovieNum (u, lv);
}
} else {
res = mc.createEmptyMovieClip(mb + swfid, lv);
res.loadMovie(u);
}
trace(u + " Mochi tracker");
return(res);
}
function load_rgames(trgt) {
var rel_games = new XML();
rel_games.ignoreWhite = true;
rel_games.onLoad = function () {
game_details = new Object();
var _local1 = 0;
while (_local1 < trgt.rel_games.firstChild.childNodes.length) {
game_details[rel_games.firstChild.childNodes[_local1].nodeName] = rel_games.firstChild.childNodes[_local1].firstChild.nodeValue;
_local1++;
}
};
rel_games.load((curl + "game_details.xml?") + getTimer());
}
function getScore(_loc) {
_loc.gotoAndStop("lbl_top_scores");
_root.g_trg = _loc;
int_gscore = setInterval(_root, "getTop10", 150);
}
function getTop10() {
trace("getTop10");
clearInterval(int_gscore);
_root.send_lv = new XML();
_root.rst_lv = new XML();
_root.rst_lv.onLoad = function (success) {
if (success) {
var _local3 = new it.sephiroth.XML2Object();
_root.lst_top_scorer = _local3.parseXML(this);
_root.g_trg.gotoAndStop("top10");
} else {
_root.c_fail++;
if (_root.c_fail >= 3) {
_root.g_trg.gotoAndStop("error_screen");
} else {
_root.send_lv.sendAndLoad(url, _root.rst_lv, "POST");
}
}
};
var url = ((((((obj_partner.top10URL + "?game_id=") + _root.obj_game._gid) + "&order=") + obj_game._score_ord) + "&timspam") + getTimer());
trace(url + " Url");
_root.send_lv.sendAndLoad(url, _root.rst_lv, "POST");
}
function itemHandler(obj, item) {
getURL ("http://www.games2win.com/", "_blank");
}
function _newUser() {
getURL (_registerurl, "_blank");
}
function _trackClickThru(mc) {
if (obj_partner._allowclick) {
mc.hit_area.onRelease = function () {
getURL (obj_partner.clickthru, "_blank");
};
} else {
mc.hit_area.useHandCursor = false;
}
}
function _readSharedData() {
so_uname = ((_sostatus.data.so_uname == undefined) ? "" : (_sostatus.data.so_uname));
so_jumpframe = ((_sostatus.data.so_jumpframe == undefined) ? "" : (_sostatus.data.so_jumpframe));
so_sound = ((_sostatus.data.so_sound == undefined) ? 0 : (_sostatus.data.so_sound));
_resetString = _sostatus.data.so_resetString;
trace("==========================");
trace((("so_jumpframe : " + _sostatus.data.so_jumpframe) + " : ") + so_uname);
if (so_jumpframe != "") {
_assignValue(_resetString);
createEmptyMovieClip("eye", getNextHighestDepth());
eye.onEnterFrame = function () {
if ((getBytesTotal() == getBytesLoaded()) and (getBytesLoaded() > 50000)) {
intro = 0;
_sostatus.data.so_jumpframe = "";
_sostatus.flush();
this.onEnterFrame = null;
gotoAndStop(so_jumpframe);
}
};
} else {
intro = 1;
play();
}
uname = so_uname;
gamesound = so_sound;
}
function _writeSharedData(jumpframe, jumpurl, _resetString) {
_sostatus.data.so_uname = ((so_uname == undefined) ? "" : (so_uname));
_sostatus.data.so_sound = so_sound;
_sostatus.data.so_resetString = _resetString;
_sostatus.data.so_jumpframe = jumpframe;
_sostatus.flush();
if (jumpurl != "") {
getURL (jumpurl);
} else {
gotoAndPlay (1);
}
}
function _assignValue(_val) {
_arr = new Array();
_arr = _val.split("|");
i = 0;
while (i < (_arr.length / 2)) {
_var2 = ((i * 2) + 1) - 1;
_var3 = _var2 + 1;
_val = _arr[_var3];
_rst = isNaN(_val);
if (_rst) {
_root[_arr[_var2]] = _arr[_var3];
} else {
_root[_arr[_var2]] = int(_arr[_var3]);
}
i++;
}
}
function _playAgain(mc, jumpframe, _resetString) {
so_uname = uname;
if ((gurl != undefined) and (gurl != "")) {
_writeSharedData(jumpframe, gurl, _resetString);
} else {
intro = 0;
_assignValue(_resetString);
mc.gotoAndStop(jumpframe);
}
}
function g2w_playagain() {
_root.score = 0;
if (_complete) {
_playAgain(_root, "lblgameintro");
} else {
_playAgain(_root, _root.levelArray[int(_root.level - 1)]);
}
}
stop();
var obj_game = new Array();
obj_game._gid = "1071";
obj_game._gtitle = "Higher Love";
obj_game._google_text = "Higher Love";
obj_game.StageW = 800;
obj_game.StageH = 600;
obj_game._res = (Stage.width + "x") + Stage.height;
obj_game._score_ord = "desc";
obj_game.mochi_tag = "";
obj_game.g2wbot = "ba1f153d";
obj_game.g2wbotid = 10301;
obj_game.ph1_status = false;
obj_game.ph2_status = false;
obj_game.adv_zedo = true;
obj_game.adv_mochi = false;
obj_game.inviziads = (("http://ads.inviziads.com/g=" + obj_game._gid) + "&h=g2w&ts=") + getTimer();
zedo_tim = 15;
var obj_partner = new Array();
obj_partner.partner_name = "g2w";
obj_partner.partner_id = 1;
obj_partner.invalid_txt = "Invalid Nickname!";
obj_partner.show_submit = false;
obj_partner.submitURL = "/submit_score.asp";
obj_partner.top10URL = "/get_top_scorer.asp";
obj_partner.lblsubmit = "Enter your Games2win Nickname below";
obj_partner.show_g2w_slate = true;
obj_partner.show_register = true;
obj_partner.text_register = "Create Nickname";
obj_partner.url_register = "http://www.games2win.com/register.asp";
obj_partner.clickthru = "http://www.games2win.com";
obj_partner._allowclick = true;
_root.uname = "";
scoreSubmit = function (_loc) {
trace(_loc + " _loc");
myname = _root.partner_uname;
myscore = _root.partner_score;
mygameid = _root.obj_game._gid;
myname = myname.trim();
if ((((myname.length == 0) or (myname == obj_partner.invalid_txt)) or (myname == "Connecting Error!")) or (myname == undefined)) {
trace(obj_partner.invalid_txt);
_root.partner_uname = obj_partner.invalid_txt;
} else {
_root.send_lv = new LoadVars();
_root.send_lv.onLoad = function (success) {
if (success) {
if (_root.send_lv.isreg == 0) {
_root.uname = obj_partner.invalid_txt;
_loc.gotoAndStop("invalid_user_screen");
} else if (_root.send_lv.isreg == 1) {
Key.removeListener(_loc.keyListener);
_root.getScore(_loc);
}
} else {
_loc.gotoAndStop("error_screen");
}
};
_root.send_lv.nickname = myname;
_root.send_lv.points = myscore;
_root.send_lv.gameid = mygameid;
_root.send_lv.sendAndLoad(obj_partner.submitURL, _root.send_lv, "POST");
trace(_root.send_lv);
_loc.gotoAndStop("lbl_submit_screen");
}
};
c_fail = 0;
var g2w_menu = new ContextMenu();
g2w_menu.hideBuiltInItems();
g2w_menu.customItems.push(new ContextMenuItem("Games2win.com", itemHandler));
this.menu = g2w_menu;
var _sostatus = SharedObject.getLocal("gamestatus", "/");
String.prototype.trim = function () {
var _local3 = 0;
var _local2 = this.length;
white = new Object();
white._32 = 1;
_local2--;
while (white["_" + ord(this.charAt(_local2))]) {
}
while (white["_" + ord(this.charAt(_local3++))]) {
}
return(this.slice(_local3 - 1, _local2 + 1));
};
_readSharedData();
Frame 4
stop();
getphstatus(1);
Frame 6
stop();
Frame 7
stopAllSounds();
Instance of Symbol 123 MovieClip in Frame 7
onClipEvent (load) {
total = _root.getBytesTotal();
}
onClipEvent (enterFrame) {
loaded = _root.getBytesLoaded();
percent = int((loaded / total) * 100);
_root.text1 = ("Loaded " + percent) + "%";
gotoAndStop(percent);
if (loaded == total) {
_root.gotoAndPlay("compoLoad");
}
}
Frame 8
stopAllSounds();
Frame 9
stop();
Instance of Symbol 180 MovieClip in Frame 9
on (release) {
this.gotoAndPlay(_currentframe + 1);
}
Frame 10
stop();
Frame 11
stop();
Frame 12
Frame 13
stop();
stopAllSounds();
_root.level = 1;
_root.hud_mc._visible = true;
Frame 14
stop();
stopAllSounds();
_root.level = 2;
_root.hud_mc._visible = true;
Frame 15
stop();
stopAllSounds();
_root.level = 3;
_root.hud_mc._visible = true;
Frame 16
stop();
stopAllSounds();
_root.level = 4;
_root.hud_mc._visible = true;
Frame 17
stop();
_root.partner_score = _root.score;
_root.obj_game._gstatus = "gamecompleted";
_complete = true;
Frame 18
stop();
stopAllSounds();
_root.partner_score = _root.score;
_root.obj_game._gstatus = "gameover";
trace("_root.score=" + _root.score);
_complete = false;
Frame 19
stop();
nextFrame();
Frame 20
stop();
Frame 21
stop();
Symbol 16 MovieClip Frame 1
_root._trackClickThru(this);
Symbol 42 MovieClip Frame 1
stop();
gotoAndStop(_root.obj_game._gstatus);
Symbol 48 Button
on (release) {
tryAgain();
}
Symbol 74 MovieClip [mc_topscore_box] Frame 2
function tryAgain() {
gotoAndStop ("login_screen");
}
function filltopscore(destmc) {
trace(_root.lst_top_scorer.top_score.status.data);
if ((_root.lst_top_scorer.top_score.status.data == 0) or (_root.lst_top_scorer.top_score.user[0].score.data == 0)) {
_top10_lbl._visible = false;
var _local2 = 0;
while (_local2 < 10) {
destmc["row" + _local2]._visible = false;
_local2++;
}
} else {
_noscore_mc._visible = false;
var _local2 = 0;
while (_local2 < 10) {
if ((_root.lst_top_scorer.top_score.user[_local2] == undefined) or (_root.lst_top_scorer.top_score.user[_local2].score.data == 0)) {
destmc["row" + _local2].txtrollno.text = "";
destmc["row" + _local2].txtusername.text = "";
destmc["row" + _local2].txtscore.text = "";
} else {
destmc["row" + _local2].txtrollno.text = _local2 + 1;
destmc["row" + _local2].txtusername.text = _root.lst_top_scorer.top_score.user[_local2].nick_name.data;
destmc["row" + _local2].txtscore.text = _root.lst_top_scorer.top_score.user[_local2].score.data;
}
_local2++;
}
}
}
stop();
playAgain_btn.onRelease = function () {
trace("Login");
_root.g2w_playagain();
};
username_txt.onSetFocus = function () {
trace((this.text + " ") + _root.obj_partner.invalid_txt);
if ((this.text == _root.obj_partner.invalid_txt) or (this.text == "Connecting Error!")) {
this.text = "";
}
};
Selection.setFocus("username_txt");
btn_scoresubmit.onRelease = function () {
_root.scoreSubmit(this._parent);
};
_trg_loc = this;
var keyListener = new Object();
keyListener.onKeyDown = function () {
if (!(Key.getCode() === 13)) {
} else {
Selection.setFocus("btn_scoresubmit");
_root.scoreSubmit(_trg_loc);
}
};
Key.addListener(keyListener);
btn_create_nickname.onRelease = function () {
getURL (_root.obj_partner.url_register, "_blank");
};
if (_root.obj_partner.show_submit) {
btn_scoresubmit._visible = false;
}
stop();
_btn_g2w.useHandCursor = false;
Symbol 74 MovieClip [mc_topscore_box] Frame 31
stop();
Symbol 74 MovieClip [mc_topscore_box] Frame 45
stop();
Symbol 74 MovieClip [mc_topscore_box] Frame 60
stop();
Symbol 74 MovieClip [mc_topscore_box] Frame 74
stop();
filltopscore(this);
playAgain_btn.onRelease = function () {
_root._playAgain(_root, "lblgameintro");
};
Symbol 955 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 76 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;
}
}
function get_iads(game_id, invizi_url, ver) {
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});
} 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++;
trace(((tim + " tim Tim") + " show_time") + show_time);
if (tim == show_time) {
clearInterval(int1);
_parent.play();
}
}
function create_assets(mc, _type) {
trace((("Create _ assets " + mc) + " ") + _type);
mc.createEmptyMovieClip("trgt_main", 4);
mcLoader = new MovieClipLoader();
mcLoader.addListener(mc);
if (_type != "FULL") {
mc.createEmptyMovieClip("square_mc", 5);
var _local4 = trgt_main.createEmptyMovieClip("trgt_ads", getNextHighestDepth());
var _local2 = new TextFormat();
_local2.align = "center";
_local2.font = "Verdana";
_local2.size = 10;
mc.createTextField("h_txt", mc.getNextHighestDepth(), 0, 0, 100, 22);
mc.createTextField("b_txt", mc.getNextHighestDepth(), 0, 0, 100, 22);
b_txt.autoSize = true;
b_txt.selectable = false;
h_txt.selectable = false;
b_txt.multiline = true;
b_txt.setNewTextFormat(_local2);
h_txt.autoSize = true;
h_txt.setNewTextFormat(_local2);
h_txt.text = "";
mc.createEmptyMovieClip("progressBar", 500);
}
}
function onLoadInit(mc) {
ad_width = int(_global.obj_iads.x);
ad_height = int(_global.obj_iads.y);
h_txt.text = "Advertisement";
progressBar.tim = show_time;
progressBar.width = _global.obj_iads.x;
progressBar.height = 15;
progressBar.start = function () {
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.";
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;
b_txt._x = (x + (ad_width / 2)) - (b_txt._width / 2);
b_txt._y = progressBar._y + 20;
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();
}
time_delay();
}
System.security.allowDomain("*");
Object.prototype.getFps = function () {
if (signal == true) {
time = getTimer();
} else {
tempo = int(1000 / (getTimer() - time));
}
signal = !signal;
return(tempo);
};
this.onEnterFrame = function () {
trace(txtAusgabe);
game_fps = getFps();
if ((game_fps ne 0) and (game_fps ne undefined)) {
this.onEnterFrame = null;
}
};
myself = this;
trace(_root.obj_game.inviziads);
_root.adurl = _root.obj_game.inviziads;
get_iads();
stop();
Symbol 78 MovieClip Frame 1
_root._trackClickThru(this);
Symbol 83 MovieClip Frame 120
stop();
_root.gotoAndStop("lblloader");
Symbol 131 MovieClip Frame 1
stop();
Symbol 131 MovieClip Frame 2
stop();
Symbol 170 MovieClip Frame 1
if (!_root.playIntro) {
gotoAndStop(_totalframes);
}
if (_root.playIntroSound) {
stopAllSounds();
sound_mc.gotoAndStop(2);
}
_root.playIntroSound = false;
_root.playIntro = false;
Symbol 170 MovieClip Frame 109
stop();
story_btn.onRelease = function () {
_root.gotoAndStop("story");
};
instructions_btn.onRelease = function () {
_root.gotoAndStop("instructions");
};
start_btn.onRelease = function () {
_root.gotoAndStop("lblgame");
};
Symbol 176 MovieClip Frame 1
Symbol 176 MovieClip Frame 2
stop();
Symbol 180 MovieClip Frame 1
stop();
_root.allSounds.setVolume(100);
Symbol 180 MovieClip Frame 2
stop();
_root.allSounds.setVolume(0);
Symbol 198 MovieClip Frame 1
stop();
start_btn.onRelease = function () {
_root.gotoAndStop("lblgame");
};
back_btn.onRelease = function () {
_root.gotoAndStop("lblgameintro");
};
Symbol 205 MovieClip Frame 1
stop();
start_btn.onRelease = function () {
_root.gotoAndStop("lblgame");
};
back_btn.onRelease = function () {
_root.gotoAndStop("lblgameintro");
};
Symbol 271 MovieClip Frame 1
stop();
Symbol 271 MovieClip Frame 2
_root.wash = true;
Symbol 271 MovieClip Frame 151
stop();
_root.dry = false;
Symbol 278 MovieClip Frame 1
_root.dry = true;
Symbol 278 MovieClip Frame 122
_parent._parent.gotoAndStop(2);
Symbol 279 MovieClip Frame 1
stop();
Symbol 279 MovieClip Frame 2
stop();
Symbol 304 MovieClip Frame 1
stop();
Symbol 304 MovieClip Frame 2
stop();
Symbol 306 MovieClip Frame 1
_parent._parent.dogReady = true;
_root.wash = null;
_root.dry = null;
Symbol 313 MovieClip Frame 1
stop();
Symbol 313 MovieClip Frame 2
stop();
Symbol 318 MovieClip Frame 1
stop();
Symbol 318 MovieClip Frame 2
stop();
Symbol 323 MovieClip Frame 1
stop();
Symbol 323 MovieClip Frame 2
stop();
Symbol 328 MovieClip Frame 1
stop();
Symbol 328 MovieClip Frame 2
stop();
Symbol 333 MovieClip Frame 1
stop();
Symbol 333 MovieClip Frame 2
stop();
Symbol 338 MovieClip Frame 1
stop();
Symbol 338 MovieClip Frame 2
stop();
Symbol 339 MovieClip Frame 1
function dressup() {
this.swapDepths(_parent.mainDepth_mc);
stopDrag();
this.swapDepths(_parent.shoeDepth_mc);
if (this.hitTest(_parent.shoeFrame_mc)) {
this._x = _parent.shoeFrame_mc._x;
this._y = _parent.shoeFrame_mc._y;
_root.shoeRate = this.rate;
_root.socksScr = 1;
inShoe_mc.gotoAndStop(1);
this.swapDepths(_parent.shoeDepth_mc);
if (_parent.shoeFrame_mc.myclip != this) {
_parent.shoeFrame_mc.myclip.inShoe_mc.gotoAndStop(1);
}
if (_parent.shoeFrame_mc.myclip != this) {
_parent.shoeFrame_mc.myclip._x = _parent.shoeFrame_mc.myclip.xpos;
_parent.shoeFrame_mc.myclip._y = _parent.shoeFrame_mc.myclip.ypos;
_parent.shoeFrame_mc.myclip.inShoe_mc.gotoAndStop(2);
_parent.shoeFrame_mc.myclip = this;
_parent.hairid = this.id;
}
} else {
this.swapDepths(_parent.shoeDepth_mc);
this._x = xpos;
this._y = ypos;
inShoe_mc.gotoAndStop(2);
if (_parent.shoeFrame_mc.myclip == this) {
_root.shoeRate = 0;
_root.socksScr = 0;
}
}
}
gotoAndStop(id);
inShoe_mc.gotoAndStop(2);
var xpos = this._x;
var ypos = this._y;
this.onPress = function () {
this.startDrag();
this.swapDepths(_parent.mainDepth_mc);
};
this.onRelease = dressup;
this.onReleaseOutside = dressup;
stop();
Symbol 339 MovieClip Frame 2
stop();
Symbol 339 MovieClip Frame 3
stop();
Symbol 339 MovieClip Frame 4
stop();
Symbol 339 MovieClip Frame 5
stop();
Symbol 339 MovieClip Frame 6
stop();
Symbol 353 MovieClip Frame 1
function dressup() {
this.swapDepths(_parent.mainDepth_mc);
stopDrag();
this.swapDepths(_parent.bodyDepth_mc);
if (this.hitTest(_parent.body_mc)) {
this._x = _parent.body_mc._x + 9;
this._y = _parent.body_mc._y - 1;
_root.dressRate = this.rate;
_root.dressScr = 1;
inDress_mc.gotoAndStop(1);
this.swapDepths(_parent.bodyDepth_mc);
if (_parent.body_mc.myclip != this) {
_parent.body_mc.myclip.inDress_mc.gotoAndStop(1);
}
if (_parent.body_mc.myclip != this) {
_parent.body_mc.myclip._x = _parent.body_mc.myclip.xpos;
_parent.body_mc.myclip._y = _parent.body_mc.myclip.ypos;
_parent.body_mc.myclip.inDress_mc.gotoAndStop(2);
_parent.body_mc.myclip = this;
}
} else {
this._x = xpos;
this._y = ypos;
inDress_mc.gotoAndStop(2);
if (_parent.body_mc.myclip == this) {
_root.dressRate = 0;
_root.dressScr = 0;
}
this.swapDepths(_parent.bodyDepth_mc);
}
}
gotoAndStop(id);
inDress_mc.gotoAndStop(2);
var xpos = this._x;
var ypos = this._y;
this.onPress = function () {
this.startDrag();
this.swapDepths(_parent.mainDepth_mc);
};
this.onRelease = dressup;
this.onReleaseOutside = dressup;
stop();
Symbol 353 MovieClip Frame 2
stop();
Symbol 353 MovieClip Frame 3
stop();
Symbol 353 MovieClip Frame 4
stop();
Symbol 353 MovieClip Frame 5
stop();
Symbol 353 MovieClip Frame 6
stop();
Symbol 357 MovieClip Frame 1
onEnterFrame = function () {
i = 0;
while (i <= 4) {
if (this.hitTest(_parent[("catEaring" + i) + "_mc"].inAccessory_mc)) {
if (_parent.catMain_mc.catExpression_mc._currentframe == 1) {
_parent[("catEaring" + i) + "_mc"].inAccessory_mc.gotoAndStop(2);
} else {
_parent[("catEaring" + i) + "_mc"].inAccessory_mc.gotoAndStop(1);
}
}
i++;
}
};
Symbol 370 MovieClip Frame 1
function dressup() {
this.swapDepths(_parent.mainDepth_mc);
stopDrag();
this.swapDepths(_parent.beltDepth_mc);
if (this.hitTest(_parent.beltFrame_mc)) {
this._x = _parent.beltFrame_mc._x;
this._y = _parent.beltFrame_mc._y;
_root.beltRate = this.rate;
_root.beltScr = 1;
inBelt_mc.gotoAndStop(1);
this.swapDepths(_parent.beltDepth_mc);
if (_parent.beltFrame_mc.myclip != this) {
_parent.beltFrame_mc.myclip.inBelt_mc.gotoAndStop(1);
}
if (_parent.beltFrame_mc.myclip != this) {
_parent.beltFrame_mc.myclip._x = _parent.beltFrame_mc.myclip.xpos;
_parent.beltFrame_mc.myclip._y = _parent.beltFrame_mc.myclip.ypos;
_parent.beltFrame_mc.myclip.inBelt_mc.gotoAndStop(2);
_parent.beltFrame_mc.myclip = this;
_parent.hairid = this.id;
}
} else {
this.swapDepths(_parent.beltDepth_mc);
this._x = xpos;
this._y = ypos;
inBelt_mc.gotoAndStop(2);
if (_parent.beltFrame_mc.myclip == this) {
_root.beltRate = 0;
_root.beltScr = 0;
}
}
}
gotoAndStop(id);
inBelt_mc.gotoAndStop(2);
var xpos = this._x;
var ypos = this._y;
this.onPress = function () {
this.startDrag();
this.swapDepths(_parent.mainDepth_mc);
};
this.onRelease = dressup;
this.onReleaseOutside = dressup;
stop();
Symbol 370 MovieClip Frame 2
stop();
Symbol 370 MovieClip Frame 3
stop();
Symbol 370 MovieClip Frame 4
stop();
Symbol 370 MovieClip Frame 5
stop();
Symbol 370 MovieClip Frame 6
stop();
Symbol 381 MovieClip Frame 1
function dressup() {
this.swapDepths(_parent.mainDepth_mc);
stopDrag();
this.swapDepths(_parent.accessoryDepth_mc);
if (this.hitTest(_parent.accessoryFrame_mc)) {
this._x = _parent.accessoryFrame_mc._x;
this._y = _parent.accessoryFrame_mc._y;
_root.accessoryRate = this.rate;
_root.accsryScr = 1;
inAccessory_mc.gotoAndStop(1);
this.swapDepths(_parent.accessoryDepth_mc);
if (_parent.accessoryFrame_mc.myclip != this) {
_parent.accessoryFrame_mc.myclip.inAccessory_mc.gotoAndStop(1);
}
if (_parent.accessoryFrame_mc.myclip != this) {
_parent.accessoryFrame_mc.myclip._x = _parent.accessoryFrame_mc.myclip.xpos;
_parent.accessoryFrame_mc.myclip._y = _parent.accessoryFrame_mc.myclip.ypos;
_parent.accessoryFrame_mc.myclip.inAccessory_mc.gotoAndStop(2);
_parent.accessoryFrame_mc.myclip = this;
_parent.hairid = this.id;
}
} else {
this.swapDepths(_parent.accessoryDepth_mc);
this._x = xpos;
this._y = ypos;
inAccessory_mc.gotoAndStop(2);
if (_parent.accessoryFrame_mc.myclip == this) {
_root.accessoryRate = 0;
_root.accsryScr = 0;
}
}
}
gotoAndStop(id);
inAccessory_mc.gotoAndStop(2);
var xpos = this._x;
var ypos = this._y;
this.onPress = function () {
this.startDrag();
this.swapDepths(_parent.mainDepth_mc);
};
this.onRelease = dressup;
this.onReleaseOutside = dressup;
stop();
Symbol 381 MovieClip Frame 2
stop();
Symbol 381 MovieClip Frame 3
stop();
Symbol 381 MovieClip Frame 4
stop();
Symbol 386 MovieClip Frame 1
stop();
Symbol 386 MovieClip Frame 2
stop();
Symbol 389 MovieClip Frame 1
stop();
Symbol 389 MovieClip Frame 2
stop();
Symbol 392 MovieClip Frame 1
stop();
Symbol 392 MovieClip Frame 2
stop();
Symbol 393 MovieClip Frame 1
function dressup() {
this.swapDepths(_parent.mainDepth_mc);
stopDrag();
this.swapDepths(_parent.earRingDepth_mc);
if (this.hitTest(_parent.earRingFrame_mc)) {
this._x = _parent.earRingFrame_mc._x;
this._y = _parent.earRingFrame_mc._y;
_root.earRingRate = this.rate;
_root.earRingScr = 1;
inEarRing_mc.gotoAndStop(1);
this.swapDepths(_parent.earRingDepth_mc);
if (_parent.earRingFrame_mc.myclip != this) {
_parent.earRingFrame_mc.myclip.inEarRing_mc.gotoAndStop(1);
}
if (_parent.earRingFrame_mc.myclip != this) {
_parent.earRingFrame_mc.myclip._x = _parent.earRingFrame_mc.myclip.xpos;
_parent.earRingFrame_mc.myclip._y = _parent.earRingFrame_mc.myclip.ypos;
_parent.earRingFrame_mc.myclip.inEarRing_mc.gotoAndStop(2);
_parent.earRingFrame_mc.myclip = this;
_parent.hairid = this.id;
}
} else {
this.swapDepths(_parent.earRingDepth_mc);
this._x = xpos;
this._y = ypos;
inEarRing_mc.gotoAndStop(2);
if (_parent.earRingFrame_mc.myclip == this) {
_root.earRingRate = 0;
_root.earRingScr = 0;
}
}
}
gotoAndStop(id);
inEarRing_mc.gotoAndStop(2);
var xpos = this._x;
var ypos = this._y;
this.onPress = function () {
this.startDrag();
this.swapDepths(_parent.mainDepth_mc);
};
this.onRelease = dressup;
this.onReleaseOutside = dressup;
stop();
Symbol 393 MovieClip Frame 2
stop();
Symbol 393 MovieClip Frame 3
stop();
Symbol 396 MovieClip Frame 1
onEnterFrame = function () {
i = 0;
while (i <= 6) {
if (this.hitTest(_parent[("catHair" + i) + "_mc"].inhair_mc)) {
if (_parent.catMain_mc.catExpression_mc._currentframe == 1) {
_parent[("catHair" + i) + "_mc"].inhair_mc.gotoAndStop(2);
} else {
_parent[("catHair" + i) + "_mc"].inhair_mc.gotoAndStop(1);
}
}
i++;
}
};
Symbol 409 MovieClip Frame 1
function dressup() {
this.swapDepths(_parent.mainDepth_mc);
stopDrag();
this.swapDepths(_parent.hairDepth_mc);
if (this.hitTest(_parent.hairFrame_mc)) {
this._x = _parent.hairFrame_mc._x;
this._y = _parent.hairFrame_mc._y;
_root.hairrate = this.rate;
_root.hairScr = 1;
inhair_mc.gotoAndStop(1);
this.swapDepths(_parent.hairDepth_mc);
if (_parent.hairFrame_mc.myclip != this) {
_parent.hairFrame_mc.myclip.inhair_mc.gotoAndStop(1);
}
if (_parent.hairFrame_mc.myclip != this) {
_parent.hairFrame_mc.myclip._x = _parent.hairFrame_mc.myclip.xpos;
_parent.hairFrame_mc.myclip._y = _parent.hairFrame_mc.myclip.ypos;
_parent.hairFrame_mc.myclip.inhair_mc.gotoAndStop(2);
_parent.hairFrame_mc.myclip = this;
_parent.hairid = this.id;
}
} else {
this.swapDepths(_parent.hairDepth_mc);
this._x = xpos;
this._y = ypos;
inhair_mc.gotoAndStop(2);
if (_parent.hairFrame_mc.myclip == this) {
_root.hairrate = 0;
_root.hairScr = 0;
}
}
}
gotoAndStop(id);
inhair_mc.gotoAndStop(2);
var xpos = this._x;
var ypos = this._y;
this.onPress = function () {
this.startDrag();
this.swapDepths(_parent.mainDepth_mc);
};
this.onRelease = dressup;
this.onReleaseOutside = dressup;
stop();
Symbol 409 MovieClip Frame 2
stop();
Symbol 409 MovieClip Frame 3
stop();
Symbol 409 MovieClip Frame 4
stop();
Symbol 409 MovieClip Frame 5
stop();
Symbol 409 MovieClip Frame 6
stop();
Symbol 416 MovieClip Frame 1
function dressup() {
this.swapDepths(_parent.mainDepth_mc);
stopDrag();
this.swapDepths(_parent.capDepth_mc);
if (this.hitTest(_parent.head_mc)) {
this._x = _parent.head_mc._x;
this._y = _parent.head_mc._y;
_root.hatRate = this.rate;
_root.hatScr = 1;
inHat_mc.gotoAndStop(1);
this.swapDepths(_parent.capDepth_mc);
if (_parent.head_mc.myclip != this) {
_parent.head_mc.myclip.inHat_mc.gotoAndStop(1);
}
if (_parent.head_mc.myclip != this) {
_parent.head_mc.myclip._x = _parent.head_mc.myclip.xpos;
_parent.head_mc.myclip._y = _parent.head_mc.myclip.ypos;
_parent.head_mc.myclip.inHat_mc.gotoAndStop(2);
_parent.head_mc.myclip = this;
_parent.hairid = this.id;
}
} else {
this.swapDepths(_parent.capDepth_mc);
this._x = xpos;
this._y = ypos;
inHat_mc.gotoAndStop(2);
if (_parent.head_mc.myclip == this) {
_root.hatRate = 0;
_root.hatScr = 0;
}
}
}
gotoAndStop(id);
inHat_mc.gotoAndStop(2);
var xpos = this._x;
var ypos = this._y;
this.onPress = function () {
this.startDrag();
this.swapDepths(_parent.mainDepth_mc);
};
this.onRelease = dressup;
this.onReleaseOutside = dressup;
stop();
Symbol 416 MovieClip Frame 2
stop();
Symbol 416 MovieClip Frame 3
stop();
Symbol 429 MovieClip Frame 44
stop();
_root.levelScore = 10000 + (5000 * (_root.level - 1));
_root.score = _root.score + ((int(_root.makeOverscore) * 100) + int(_root.levelScore));
_root.gotoAndStop("levelComplete");
Symbol 430 MovieClip Frame 1
stop();
var dogReady = false;
_root.wash = false;
wash_btn.onRelease = function () {
if (_root.wash == false) {
dog_mc.dogWash_mc.gotoAndPlay(2);
}
};
dry_btn.onRelease = function () {
if (_root.dry == false) {
dog_mc.gotoAndStop(2);
}
};
Symbol 430 MovieClip Frame 2
stop();
var count = 0;
_root.dressRate = 0;
_root.hairrate = 0;
_root.beltRate = 0;
_root.hatRate = 0;
_root.shoeRate = 0;
_root.accessoryRate = 0;
_root.makeOverscore = 0;
_root.earRingRate = 0;
_root.earRingScr = 0;
_root.hairScr = 0;
_root.dressScr = 0;
_root.beltScr = 0;
_root.accsryScr = 0;
_root.hatScr = 0;
_root.socksScr = 0;
done_btn.onRelease = function () {
if (count >= 7) {
gotoAndStop (3);
}
};
onEnterFrame = function () {
_root.makeOverscore = (((((_root.dressRate + _root.hairrate) + _root.beltRate) + _root.hatRate) + _root.shoeRate) + _root.accessoryRate) + _root.earRingRate;
count = (((((_root.hairScr + _root.dressScr) + _root.beltScr) + _root.accsryScr) + _root.hatScr) + _root.socksScr) + _root.earRingScr;
if (count >= 7) {
done_btn._visible = true;
DogReady_mc.dogDress_mc.dogExpression_mc.gotoAndStop(1);
} else {
done_btn._visible = false;
DogReady_mc.dogDress_mc.dogExpression_mc.gotoAndStop(2);
}
};
Instance of Symbol 339 MovieClip in Symbol 430 MovieClip Frame 2
onClipEvent (load) {
var id = 1;
var rate = 7;
}
Instance of Symbol 339 MovieClip in Symbol 430 MovieClip Frame 2
onClipEvent (load) {
var id = 2;
var rate = 6;
}
Instance of Symbol 339 MovieClip in Symbol 430 MovieClip Frame 2
onClipEvent (load) {
var id = 3;
var rate = 9;
}
Instance of Symbol 339 MovieClip in Symbol 430 MovieClip Frame 2
onClipEvent (load) {
var id = 4;
var rate = 8;
}
Instance of Symbol 339 MovieClip in Symbol 430 MovieClip Frame 2
onClipEvent (load) {
var id = 5;
var rate = 5;
}
Instance of Symbol 339 MovieClip in Symbol 430 MovieClip Frame 2
onClipEvent (load) {
var id = 6;
var rate = 10;
}
Instance of Symbol 353 MovieClip in Symbol 430 MovieClip Frame 2
onClipEvent (load) {
var id = 1;
var rate = 7;
}
Instance of Symbol 353 MovieClip in Symbol 430 MovieClip Frame 2
onClipEvent (load) {
var id = 2;
var rate = 8;
}
Instance of Symbol 353 MovieClip in Symbol 430 MovieClip Frame 2
onClipEvent (load) {
var id = 5;
var rate = 6;
}
Instance of Symbol 353 MovieClip in Symbol 430 MovieClip Frame 2
onClipEvent (load) {
var id = 4;
var rate = 10;
}
Instance of Symbol 353 MovieClip in Symbol 430 MovieClip Frame 2
onClipEvent (load) {
var id = 6;
var rate = 9;
}
Instance of Symbol 353 MovieClip in Symbol 430 MovieClip Frame 2
onClipEvent (load) {
var id = 3;
var rate = 5;
}
Instance of Symbol 370 MovieClip in Symbol 430 MovieClip Frame 2
onClipEvent (load) {
var id = 1;
var rate = 9;
}
Instance of Symbol 370 MovieClip in Symbol 430 MovieClip Frame 2
onClipEvent (load) {
var id = 2;
var rate = 10;
}
Instance of Symbol 370 MovieClip in Symbol 430 MovieClip Frame 2
onClipEvent (load) {
var id = 3;
var rate = 5;
}
Instance of Symbol 370 MovieClip in Symbol 430 MovieClip Frame 2
onClipEvent (load) {
var id = 4;
var rate = 6;
}
Instance of Symbol 370 MovieClip in Symbol 430 MovieClip Frame 2
onClipEvent (load) {
var id = 5;
var rate = 8;
}
Instance of Symbol 370 MovieClip in Symbol 430 MovieClip Frame 2
onClipEvent (load) {
var id = 6;
var rate = 7;
}
Instance of Symbol 381 MovieClip in Symbol 430 MovieClip Frame 2
onClipEvent (load) {
var id = 1;
var rate = 8;
}
Instance of Symbol 381 MovieClip in Symbol 430 MovieClip Frame 2
onClipEvent (load) {
var id = 2;
var rate = 9;
}
Instance of Symbol 381 MovieClip in Symbol 430 MovieClip Frame 2
onClipEvent (load) {
var id = 3;
var rate = 10;
}
Instance of Symbol 381 MovieClip in Symbol 430 MovieClip Frame 2
onClipEvent (load) {
var id = 4;
var rate = 7;
}
Instance of Symbol 393 MovieClip in Symbol 430 MovieClip Frame 2
onClipEvent (load) {
var id = 1;
var rate = 9;
}
Instance of Symbol 393 MovieClip in Symbol 430 MovieClip Frame 2
onClipEvent (load) {
var id = 2;
var rate = 9;
}
Instance of Symbol 393 MovieClip in Symbol 430 MovieClip Frame 2
onClipEvent (load) {
var id = 3;
var rate = 10;
}
Instance of Symbol 409 MovieClip in Symbol 430 MovieClip Frame 2
onClipEvent (load) {
var id = 1;
var rate = 8;
}
Instance of Symbol 409 MovieClip in Symbol 430 MovieClip Frame 2
onClipEvent (load) {
var id = 2;
var rate = 6;
}
Instance of Symbol 409 MovieClip in Symbol 430 MovieClip Frame 2
onClipEvent (load) {
var id = 3;
var rate = 7;
}
Instance of Symbol 409 MovieClip in Symbol 430 MovieClip Frame 2
onClipEvent (load) {
var id = 4;
var rate = 9;
}
Instance of Symbol 409 MovieClip in Symbol 430 MovieClip Frame 2
onClipEvent (load) {
var id = 5;
var rate = 10;
}
Instance of Symbol 409 MovieClip in Symbol 430 MovieClip Frame 2
onClipEvent (load) {
var id = 6;
var rate = 5;
}
Instance of Symbol 416 MovieClip in Symbol 430 MovieClip Frame 2
onClipEvent (load) {
var id = 1;
var rate = 10;
}
Instance of Symbol 416 MovieClip in Symbol 430 MovieClip Frame 2
onClipEvent (load) {
var id = 2;
var rate = 9;
}
Instance of Symbol 416 MovieClip in Symbol 430 MovieClip Frame 2
onClipEvent (load) {
var id = 3;
var rate = 8;
}
Symbol 430 MovieClip Frame 3
stop();
Symbol 436 MovieClip Frame 1
stop();
but.useHandCursor = false;
this.onEnterFrame = function () {
if (Key.isDown(32)) {
this._visible = false;
}
};
Symbol 437 MovieClip Frame 1
Symbol 437 MovieClip Frame 2
stop();
Symbol 508 MovieClip Frame 1
stop();
Symbol 508 MovieClip Frame 2
_root.wash = true;
Symbol 508 MovieClip Frame 169
stop();
_root.dry = false;
Symbol 527 MovieClip Frame 1
_root.dry = true;
Symbol 527 MovieClip Frame 121
_parent._parent.gotoAndStop(2);
Symbol 528 MovieClip Frame 1
stop();
Symbol 528 MovieClip Frame 2
stop();
Symbol 533 MovieClip Frame 1
stop();
Symbol 533 MovieClip Frame 2
stop();
Symbol 535 MovieClip Frame 1
_parent._parent.catReady = true;
_root.wash = null;
_root.dry = null;
Symbol 540 MovieClip Frame 1
stop();
Symbol 540 MovieClip Frame 2
stop();
Symbol 545 MovieClip Frame 1
stop();
Symbol 545 MovieClip Frame 2
stop();
Symbol 550 MovieClip Frame 1
stop();
Symbol 550 MovieClip Frame 2
stop();
Symbol 555 MovieClip Frame 1
stop();
Symbol 555 MovieClip Frame 2
stop();
Symbol 560 MovieClip Frame 1
stop();
Symbol 560 MovieClip Frame 2
stop();
Symbol 565 MovieClip Frame 1
stop();
Symbol 565 MovieClip Frame 2
stop();
Symbol 566 MovieClip Frame 1
function dressup() {
if (_parent.catReady == true) {
this.swapDepths(_parent.mainDepth_mc);
stopDrag();
this.swapDepths(_parent.shoeDepth_mc);
if (this.hitTest(_parent.shoeFrame_mc)) {
this._x = _parent.shoeFrame_mc._x;
this._y = _parent.shoeFrame_mc._y;
_root.shoeRate = this.rate;
_root.socksScr = 1;
inShoe_mc.gotoAndStop(1);
this.swapDepths(_parent.shoeDepth_mc);
if (_parent.shoeFrame_mc.myclip != this) {
_parent.shoeFrame_mc.myclip.inShoe_mc.gotoAndStop(1);
}
if (_parent.shoeFrame_mc.myclip != this) {
_parent.shoeFrame_mc.myclip._x = _parent.shoeFrame_mc.myclip.xpos;
_parent.shoeFrame_mc.myclip._y = _parent.shoeFrame_mc.myclip.ypos;
_parent.shoeFrame_mc.myclip.inShoe_mc.gotoAndStop(2);
_parent.shoeFrame_mc.myclip = this;
_parent.hairid = this.id;
}
} else {
this.swapDepths(_parent.shoeDepth_mc);
this._x = xpos;
this._y = ypos;
inShoe_mc.gotoAndStop(2);
if (_parent.shoeFrame_mc.myclip == this) {
_root.shoeRate = 0;
_root.socksScr = 0;
}
}
}
}
gotoAndStop(id);
inShoe_mc.gotoAndStop(2);
var xpos = this._x;
var ypos = this._y;
this.onPress = function () {
if (_parent.catReady == true) {
this.startDrag();
this.swapDepths(_parent.mainDepth_mc);
}
};
this.onRelease = dressup;
this.onReleaseOutside = dressup;
stop();
Symbol 566 MovieClip Frame 2
stop();
Symbol 566 MovieClip Frame 3
stop();
Symbol 566 MovieClip Frame 4
stop();
Symbol 566 MovieClip Frame 5
stop();
Symbol 566 MovieClip Frame 6
stop();
Symbol 579 MovieClip Frame 1
function dressup() {
if (_parent.catReady == true) {
this.swapDepths(_parent.mainDepth_mc);
stopDrag();
this.swapDepths(_parent.bodyDepth_mc);
if (this.hitTest(_parent.body_mc)) {
this._x = _parent.body_mc._x + 9;
this._y = _parent.body_mc._y - 1;
_root.dressRate = this.rate;
_root.dressScr = 1;
inDress_mc.gotoAndStop(1);
this.swapDepths(_parent.bodyDepth_mc);
if (_parent.body_mc.myclip != this) {
_parent.body_mc.myclip.inDress_mc.gotoAndStop(1);
}
if (_parent.body_mc.myclip != this) {
_parent.body_mc.myclip._x = _parent.body_mc.myclip.xpos;
_parent.body_mc.myclip._y = _parent.body_mc.myclip.ypos;
_parent.body_mc.myclip.inDress_mc.gotoAndStop(2);
_parent.body_mc.myclip = this;
_root.tshirtid = this.id;
}
} else {
this._x = xpos;
this._y = ypos;
inDress_mc.gotoAndStop(2);
if (_parent.body_mc.myclip == this) {
_root.dressRate = 0;
_root.dressScr = 0;
}
this.swapDepths(_parent.bodyDepth_mc);
}
}
}
gotoAndStop(id);
inDress_mc.gotoAndStop(2);
var xpos = this._x;
var ypos = this._y;
this.onPress = function () {
if (_parent.catReady == true) {
this.startDrag();
this.swapDepths(_parent.mainDepth_mc);
}
};
this.onRelease = dressup;
this.onReleaseOutside = dressup;
stop();
Symbol 579 MovieClip Frame 2
stop();
Symbol 579 MovieClip Frame 3
stop();
Symbol 579 MovieClip Frame 4
stop();
Symbol 579 MovieClip Frame 5
stop();
Symbol 579 MovieClip Frame 6
stop();
Symbol 592 MovieClip Frame 1
function dressup() {
if (_parent.catReady == true) {
this.swapDepths(_parent.mainDepth_mc);
stopDrag();
this.swapDepths(_parent.beltDepth_mc);
if (this.hitTest(_parent.beltFrame_mc)) {
this._x = _parent.beltFrame_mc._x;
this._y = _parent.beltFrame_mc._y;
_root.beltRate = this.rate;
_root.beltScr = 1;
inBelt_mc.gotoAndStop(1);
this.swapDepths(_parent.beltDepth_mc);
if (_parent.beltFrame_mc.myclip != this) {
_parent.beltFrame_mc.myclip.inBelt_mc.gotoAndStop(1);
}
if (_parent.beltFrame_mc.myclip != this) {
_parent.beltFrame_mc.myclip._x = _parent.beltFrame_mc.myclip.xpos;
_parent.beltFrame_mc.myclip._y = _parent.beltFrame_mc.myclip.ypos;
_parent.beltFrame_mc.myclip.inBelt_mc.gotoAndStop(2);
_parent.beltFrame_mc.myclip = this;
_parent.hairid = this.id;
}
} else {
this.swapDepths(_parent.beltDepth_mc);
this._x = xpos;
this._y = ypos;
inBelt_mc.gotoAndStop(2);
if (_parent.beltFrame_mc.myclip == this) {
_root.beltRate = 0;
_root.beltScr = 0;
}
}
}
}
gotoAndStop(id);
inBelt_mc.gotoAndStop(2);
var xpos = this._x;
var ypos = this._y;
this.onPress = function () {
if (_parent.catReady == true) {
this.startDrag();
this.swapDepths(_parent.mainDepth_mc);
}
};
this.onRelease = dressup;
this.onReleaseOutside = dressup;
stop();
Symbol 592 MovieClip Frame 2
stop();
Symbol 592 MovieClip Frame 3
stop();
Symbol 592 MovieClip Frame 4
stop();
Symbol 592 MovieClip Frame 5
stop();
Symbol 592 MovieClip Frame 6
stop();
Symbol 600 MovieClip Frame 1
function dressup() {
if (_parent.catReady == true) {
this.swapDepths(_parent.mainDepth_mc);
stopDrag();
this.swapDepths(_parent.accessoryDepth_mc);
if (this.hitTest(_parent.accessoryFrame_mc)) {
this._x = _parent.accessoryFrame_mc._x;
this._y = _parent.accessoryFrame_mc._y;
_root.accessoryRate = this.rate;
_root.accsryScr = 1;
inAccessory_mc.gotoAndStop(1);
this.swapDepths(_parent.accessoryDepth_mc);
if (_parent.accessoryFrame_mc.myclip != this) {
_parent.accessoryFrame_mc.myclip.inAccessory_mc.gotoAndStop(1);
}
if (_parent.accessoryFrame_mc.myclip != this) {
_parent.accessoryFrame_mc.myclip._x = _parent.accessoryFrame_mc.myclip.xpos;
_parent.accessoryFrame_mc.myclip._y = _parent.accessoryFrame_mc.myclip.ypos;
_parent.accessoryFrame_mc.myclip.inAccessory_mc.gotoAndStop(2);
_parent.accessoryFrame_mc.myclip = this;
_parent.hairid = this.id;
}
} else {
this.swapDepths(_parent.accessoryDepth_mc);
this._x = xpos;
this._y = ypos;
inAccessory_mc.gotoAndStop(2);
if (_parent.accessoryFrame_mc.myclip == this) {
_root.accessoryRate = 0;
_root.accsryScr = 0;
}
}
}
}
gotoAndStop(id);
var xpos = this._x;
var ypos = this._y;
this.onPress = function () {
if (_parent.catReady == true) {
this.startDrag();
this.swapDepths(_parent.mainDepth_mc);
}
};
this.onRelease = dressup;
this.onReleaseOutside = dressup;
stop();
Symbol 600 MovieClip Frame 2
stop();
Symbol 600 MovieClip Frame 3
stop();
Symbol 600 MovieClip Frame 4
stop();
Symbol 603 MovieClip Frame 1
stop();
Symbol 603 MovieClip Frame 2
stop();
Symbol 606 MovieClip Frame 1
stop();
Symbol 606 MovieClip Frame 2
stop();
Symbol 609 MovieClip Frame 1
stop();
Symbol 609 MovieClip Frame 2
stop();
Symbol 612 MovieClip Frame 1
stop();
Symbol 612 MovieClip Frame 2
stop();
Symbol 617 MovieClip Frame 1
stop();
Symbol 617 MovieClip Frame 2
stop();
Symbol 618 MovieClip Frame 1
function dressup() {
if (_parent.catReady == true) {
this.swapDepths(_parent.mainDepth_mc);
stopDrag();
this.swapDepths(_parent.hairDepth_mc);
if (this.hitTest(_parent.hairFrame_mc)) {
this._x = _parent.hairFrame_mc._x;
this._y = _parent.hairFrame_mc._y;
_root.hairRate = this.rate;
_root.hairScr = 1;
this.swapDepths(_parent.hairDepth_mc);
if (_parent.hairFrame_mc.myclip != this) {
_parent.hairFrame_mc.myclip.inhair_mc.gotoAndStop(1);
}
if (_parent.hairFrame_mc.myclip != this) {
_parent.hairFrame_mc.myclip._x = _parent.hairFrame_mc.myclip.xpos;
_parent.hairFrame_mc.myclip._y = _parent.hairFrame_mc.myclip.ypos;
_parent.hairFrame_mc.myclip.inhair_mc.gotoAndStop(2);
_parent.hairFrame_mc.myclip = this;
_parent.hairid = this.id;
}
} else {
this.swapDepths(_parent.hairDepth_mc);
this._x = xpos;
this._y = ypos;
inhair_mc.gotoAndStop(2);
if (_parent.hairFrame_mc.myclip == this) {
_root.hairRate = 0;
_root.hairScr = 0;
}
}
}
}
gotoAndStop(id);
inhair_mc.gotoAndStop(2);
var xpos = this._x;
var ypos = this._y;
this.onPress = function () {
if (_parent.catReady == true) {
this.startDrag();
this.swapDepths(_parent.mainDepth_mc);
}
};
this.onRelease = dressup;
this.onReleaseOutside = dressup;
stop();
Symbol 618 MovieClip Frame 2
stop();
Symbol 618 MovieClip Frame 3
stop();
Symbol 618 MovieClip Frame 4
stop();
Symbol 618 MovieClip Frame 5
stop();
Symbol 618 MovieClip Frame 6
stop();
Symbol 623 MovieClip Frame 1
stop();
Symbol 623 MovieClip Frame 2
stop();
Symbol 627 MovieClip Frame 1
stop();
Symbol 627 MovieClip Frame 2
stop();
Symbol 630 MovieClip Frame 1
stop();
Symbol 630 MovieClip Frame 2
stop();
Symbol 631 MovieClip Frame 1
function dressup() {
if (_parent.catReady == true) {
this.swapDepths(_parent.mainDepth_mc);
stopDrag();
this.swapDepths(_parent.earRingDepth_mc);
if (this.hitTest(_parent.earRingFrame_mc)) {
this._x = _parent.earRingFrame_mc._x;
this._y = _parent.earRingFrame_mc._y;
_root.earRingRate = this.rate;
_root.earRingScr = 1;
inEar_mc.gotoAndStop(1);
this.swapDepths(_parent.earRingDepth_mc);
if (_parent.earRingFrame_mc.myclip != this) {
_parent.earRingFrame_mc.myclip.inEar_mc.gotoAndStop(1);
}
if (_parent.earRingFrame_mc.myclip != this) {
_parent.earRingFrame_mc.myclip._x = _parent.earRingFrame_mc.myclip.xpos;
_parent.earRingFrame_mc.myclip._y = _parent.earRingFrame_mc.myclip.ypos;
_parent.earRingFrame_mc.myclip.inEar_mc.gotoAndStop(2);
_parent.earRingFrame_mc.myclip = this;
_parent.hairid = this.id;
}
} else {
this.swapDepths(_parent.earRingDepth_mc);
this._x = xpos;
this._y = ypos;
inEar_mc.gotoAndStop(2);
if (_parent.earRingFrame_mc.myclip == this) {
_root.earRingRate = 0;
_root.earRingScr = 0;
}
}
}
}
gotoAndStop(id);
var xpos = this._x;
var ypos = this._y;
this.onPress = function () {
if (_parent.catReady == true) {
this.startDrag();
this.swapDepths(_parent.mainDepth_mc);
}
};
this.onRelease = dressup;
this.onReleaseOutside = dressup;
stop();
Symbol 631 MovieClip Frame 2
stop();
Symbol 631 MovieClip Frame 3
stop();
Symbol 637 MovieClip Frame 1
function dressup() {
if (_parent.catReady == true) {
this.swapDepths(_parent.mainDepth_mc);
stopDrag();
this.swapDepths(_parent.capDepth_mc);
if (this.hitTest(_parent.head_mc)) {
this._x = _parent.head_mc._x;
this._y = _parent.head_mc._y;
_root.hatRate = this.rate;
_root.hatScr = 1;
inHat_mc.gotoAndStop(1);
this.swapDepths(_parent.capDepth_mc);
if (_parent.head_mc.myclip != this) {
_parent.head_mc.myclip.inHat_mc.gotoAndStop(1);
}
if (_parent.head_mc.myclip != this) {
_parent.head_mc.myclip._x = _parent.head_mc.myclip.xpos;
_parent.head_mc.myclip._y = _parent.head_mc.myclip.ypos;
_parent.head_mc.myclip.inHat_mc.gotoAndStop(2);
_parent.head_mc.myclip = this;
_parent.hairid = this.id;
}
} else {
this.swapDepths(_parent.capDepth_mc);
this._x = xpos;
this._y = ypos;
inHat_mc.gotoAndStop(2);
if (_parent.head_mc.myclip == this) {
_root.hatRate = 0;
_root.hatScr = 0;
}
}
}
}
gotoAndStop(id);
inHat_mc.gotoAndStop(2);
var xpos = this._x;
var ypos = this._y;
this.onPress = function () {
if (_parent.catReady == true) {
this.startDrag();
this.swapDepths(_parent.mainDepth_mc);
}
};
this.onRelease = dressup;
this.onReleaseOutside = dressup;
stop();
Symbol 637 MovieClip Frame 2
stop();
Symbol 637 MovieClip Frame 3
stop();
Symbol 646 MovieClip Frame 38
stop();
_root.levelScore = 10000 + (5000 * (_root.level - 1));
_root.score = _root.score + ((int(_root.makeOverscore) * 100) + int(_root.levelScore));
_root.gotoAndStop("levelComplete");
Symbol 647 MovieClip Frame 1
stop();
var catReady = false;
_root.wash = false;
wash_btn.onRelease = function () {
if (_root.wash == false) {
cat_mc.catWash_mc.gotoAndPlay(2);
}
};
dry_btn.onRelease = function () {
if (_root.dry == false) {
cat_mc.gotoAndStop(2);
}
};
Symbol 647 MovieClip Frame 2
stop();
var count = 0;
var catReady = true;
_root.accessoryRate = 0;
_root.shoeRate = 0;
_root.hatRate = 0;
_root.beltRate = 0;
_root.hairRate = 0;
_root.dressRate = 0;
_root.makeOverscore = 0;
_root.earRingRate = 0;
_root.earRingScr = 0;
_root.hairScr = 0;
_root.dressScr = 0;
_root.beltScr = 0;
_root.accsryScr = 0;
_root.hatScr = 0;
_root.socksScr = 0;
done_btn.onRelease = function () {
if (count >= 7) {
gotoAndStop (3);
}
};
onEnterFrame = function () {
_root.makeOverscore = (((((_root.dressRate + _root.hairRate) + _root.beltRate) + _root.hatRate) + _root.accessoryRate) + _root.shoeRate) + _root.earRingRate;
count = (((((_root.hairScr + _root.dressScr) + _root.beltScr) + _root.accsryScr) + _root.hatScr) + _root.socksScr) + _root.earRingScr;
if (count >= 7) {
done_btn._visible = true;
catMain_mc.catExpression_mc.gotoAndStop(2);
} else {
done_btn._visible = false;
catMain_mc.catExpression_mc.gotoAndStop(1);
}
};
Instance of Symbol 566 MovieClip in Symbol 647 MovieClip Frame 2
onClipEvent (load) {
var id = 1;
var rate = 5;
}
Instance of Symbol 566 MovieClip in Symbol 647 MovieClip Frame 2
onClipEvent (load) {
var id = 2;
var rate = 6;
}
Instance of Symbol 566 MovieClip in Symbol 647 MovieClip Frame 2
onClipEvent (load) {
var id = 3;
var rate = 10;
}
Instance of Symbol 566 MovieClip in Symbol 647 MovieClip Frame 2
onClipEvent (load) {
var id = 4;
var rate = 9;
}
Instance of Symbol 566 MovieClip in Symbol 647 MovieClip Frame 2
onClipEvent (load) {
var id = 5;
var rate = 7;
}
Instance of Symbol 566 MovieClip in Symbol 647 MovieClip Frame 2
onClipEvent (load) {
var id = 6;
var rate = 8;
}
Instance of Symbol 579 MovieClip in Symbol 647 MovieClip Frame 2
onClipEvent (load) {
var id = 1;
var rate = 10;
}
Instance of Symbol 579 MovieClip in Symbol 647 MovieClip Frame 2
onClipEvent (load) {
var id = 6;
var rate = 7;
}
Instance of Symbol 579 MovieClip in Symbol 647 MovieClip Frame 2
onClipEvent (load) {
var id = 3;
var rate = 5;
}
Instance of Symbol 579 MovieClip in Symbol 647 MovieClip Frame 2
onClipEvent (load) {
var id = 4;
var rate = 9;
}
Instance of Symbol 579 MovieClip in Symbol 647 MovieClip Frame 2
onClipEvent (load) {
var id = 5;
var rate = 6;
}
Instance of Symbol 579 MovieClip in Symbol 647 MovieClip Frame 2
onClipEvent (load) {
var id = 2;
var rate = 8;
}
Instance of Symbol 592 MovieClip in Symbol 647 MovieClip Frame 2
onClipEvent (load) {
var id = 3;
var rate = 9;
}
Instance of Symbol 592 MovieClip in Symbol 647 MovieClip Frame 2
onClipEvent (load) {
var id = 4;
var rate = 5;
}
Instance of Symbol 592 MovieClip in Symbol 647 MovieClip Frame 2
onClipEvent (load) {
var id = 5;
var rate = 6;
}
Instance of Symbol 592 MovieClip in Symbol 647 MovieClip Frame 2
onClipEvent (load) {
var id = 6;
var rate = 8;
}
Instance of Symbol 592 MovieClip in Symbol 647 MovieClip Frame 2
onClipEvent (load) {
var id = 2;
var rate = 7;
}
Instance of Symbol 592 MovieClip in Symbol 647 MovieClip Frame 2
onClipEvent (load) {
var id = 1;
var rate = 10;
}
Instance of Symbol 600 MovieClip in Symbol 647 MovieClip Frame 2
onClipEvent (load) {
var id = 1;
var rate = 10;
}
Instance of Symbol 600 MovieClip in Symbol 647 MovieClip Frame 2
onClipEvent (load) {
var id = 2;
var rate = 9;
}
Instance of Symbol 600 MovieClip in Symbol 647 MovieClip Frame 2
onClipEvent (load) {
var id = 3;
var rate = 8;
}
Instance of Symbol 600 MovieClip in Symbol 647 MovieClip Frame 2
onClipEvent (load) {
var id = 4;
var rate = 7;
}
Instance of Symbol 618 MovieClip "catHair1_mc" in Symbol 647 MovieClip Frame 2
onClipEvent (load) {
var id = 1;
var rate = 10;
}
Instance of Symbol 618 MovieClip "catHair2_mc" in Symbol 647 MovieClip Frame 2
onClipEvent (load) {
var id = 2;
var rate = 8;
}
Instance of Symbol 618 MovieClip "catHair3_mc" in Symbol 647 MovieClip Frame 2
onClipEvent (load) {
var id = 3;
var rate = 7;
}
Instance of Symbol 618 MovieClip "catHair4_mc" in Symbol 647 MovieClip Frame 2
onClipEvent (load) {
var id = 4;
var rate = 9;
}
Instance of Symbol 618 MovieClip "catHair5_mc" in Symbol 647 MovieClip Frame 2
onClipEvent (load) {
var id = 5;
var rate = 6;
}
Instance of Symbol 618 MovieClip "catHair6_mc" in Symbol 647 MovieClip Frame 2
onClipEvent (load) {
var id = 6;
var rate = 5;
}
Instance of Symbol 631 MovieClip "catEaring1_mc" in Symbol 647 MovieClip Frame 2
onClipEvent (load) {
var id = 1;
var rate = 10;
}
Instance of Symbol 631 MovieClip "catEaring2_mc" in Symbol 647 MovieClip Frame 2
onClipEvent (load) {
var id = 2;
var rate = 9;
}
Instance of Symbol 631 MovieClip "catEaring3_mc" in Symbol 647 MovieClip Frame 2
onClipEvent (load) {
var id = 3;
var rate = 8;
}
Instance of Symbol 637 MovieClip in Symbol 647 MovieClip Frame 2
onClipEvent (load) {
var id = 1;
var rate = 9;
}
Instance of Symbol 637 MovieClip in Symbol 647 MovieClip Frame 2
onClipEvent (load) {
var id = 2;
var rate = 8;
}
Instance of Symbol 637 MovieClip in Symbol 647 MovieClip Frame 2
onClipEvent (load) {
var id = 3;
var rate = 10;
}
Symbol 647 MovieClip Frame 3
stop();
Symbol 648 MovieClip Frame 1
Symbol 648 MovieClip Frame 2
stop();
Symbol 696 MovieClip Frame 1
stop();
Symbol 696 MovieClip Frame 2
_root.wash = true;
Symbol 696 MovieClip Frame 169
stop();
_root.dry = false;
Symbol 697 MovieClip Frame 1
_root.dry = true;
Symbol 697 MovieClip Frame 121
_parent._parent.gotoAndStop(2);
Symbol 698 MovieClip Frame 1
stop();
Symbol 698 MovieClip Frame 2
stop();
Symbol 703 MovieClip Frame 1
stop();
Symbol 703 MovieClip Frame 2
stop();
Symbol 704 MovieClip Frame 1
_parent._parent.hamReady = true;
_root.wash = null;
_root.dry = null;
Symbol 718 MovieClip Frame 1
function dressup() {
if (_parent.hamReady == true) {
this.swapDepths(_parent.mainDepth_mc);
stopDrag();
this.swapDepths(_parent.bodyDepth_mc);
if (this.hitTest(_parent.body_mc)) {
this._x = _parent.body_mc._x + 9;
this._y = _parent.body_mc._y - 1;
_root.dressRate = this.rate;
_root.dressScr = 1;
inDress_mc.gotoAndStop(1);
this.swapDepths(_parent.bodyDepth_mc);
if (_parent.body_mc.myclip != this) {
_parent.body_mc.myclip.inDress_mc.gotoAndStop(1);
}
if (_parent.body_mc.myclip != this) {
_parent.body_mc.myclip._x = _parent.body_mc.myclip.xpos;
_parent.body_mc.myclip._y = _parent.body_mc.myclip.ypos;
_parent.body_mc.myclip.inDress_mc.gotoAndStop(2);
_parent.body_mc.myclip = this;
_root.tshirtid = this.id;
}
} else {
this._x = xpos;
this._y = ypos;
inDress_mc.gotoAndStop(2);
if (_parent.body_mc.myclip == this) {
_root.dressRate = 0;
_root.dressScr = 0;
}
this.swapDepths(_parent.bodyDepth_mc);
}
}
}
gotoAndStop(id);
inDress_mc.gotoAndStop(2);
var xpos = this._x;
var ypos = this._y;
this.onPress = function () {
if (_parent.hamReady == true) {
this.startDrag();
this.swapDepths(_parent.mainDepth_mc);
}
};
this.onRelease = dressup;
this.onReleaseOutside = dressup;
stop();
Symbol 718 MovieClip Frame 2
stop();
Symbol 718 MovieClip Frame 3
stop();
Symbol 718 MovieClip Frame 4
stop();
Symbol 718 MovieClip Frame 5
stop();
Symbol 718 MovieClip Frame 6
stop();
Symbol 732 MovieClip Frame 1
function dressup() {
if (_parent.hamReady == true) {
this.swapDepths(_parent.mainDepth_mc);
stopDrag();
this.swapDepths(_parent.shoeDepth_mc);
if (this.hitTest(_parent.shoeFrame_mc)) {
this._x = _parent.shoeFrame_mc._x;
this._y = _parent.shoeFrame_mc._y;
_root.socksRate = this.rate;
_root.socksScr = 1;
inShoe_mc.gotoAndStop(1);
this.swapDepths(_parent.shoeDepth_mc);
if (_parent.shoeFrame_mc.myclip != this) {
_parent.shoeFrame_mc.myclip.inShoe_mc.gotoAndStop(1);
}
if (_parent.shoeFrame_mc.myclip != this) {
_parent.shoeFrame_mc.myclip._x = _parent.shoeFrame_mc.myclip.xpos;
_parent.shoeFrame_mc.myclip._y = _parent.shoeFrame_mc.myclip.ypos;
_parent.shoeFrame_mc.myclip.inShoe_mc.gotoAndStop(2);
_parent.shoeFrame_mc.myclip = this;
_parent.hairid = this.id;
}
} else {
this.swapDepths(_parent.shoeDepth_mc);
this._x = xpos;
this._y = ypos;
inShoe_mc.gotoAndStop(2);
if (_parent.shoeFrame_mc.myclip == this) {
_root.socksRate = 0;
_root.socksScr = 0;
}
}
}
}
gotoAndStop(id);
inShoe_mc.gotoAndStop(2);
var xpos = this._x;
var ypos = this._y;
this.onPress = function () {
if (_parent.hamReady == true) {
this.startDrag();
this.swapDepths(_parent.mainDepth_mc);
}
};
this.onRelease = dressup;
this.onReleaseOutside = dressup;
stop();
Symbol 732 MovieClip Frame 2
stop();
Symbol 732 MovieClip Frame 3
stop();
Symbol 732 MovieClip Frame 4
stop();
Symbol 732 MovieClip Frame 5
stop();
Symbol 732 MovieClip Frame 6
stop();
Symbol 733 MovieClip Frame 1
onEnterFrame = function () {
i = 0;
while (i <= 3) {
if (this.hitTest(_parent[("hamEaring" + i) + "_mc"].inAccessory_mc)) {
if (_parent.hamsMain_mc.hamsExpression_mc._currentframe == 1) {
_parent[("hamEaring" + i) + "_mc"].inAccessory_mc.gotoAndStop(2);
} else {
_parent[("hamEaring" + i) + "_mc"].inAccessory_mc.gotoAndStop(1);
}
}
i++;
}
};
Symbol 741 MovieClip Frame 1
function dressup() {
if (_parent.hamReady == true) {
this.swapDepths(_parent.mainDepth_mc);
stopDrag();
this.swapDepths(_parent.accessoryDepth_mc);
if (this.hitTest(_parent.accessoryFrame_mc)) {
this._x = _parent.accessoryFrame_mc._x;
this._y = _parent.accessoryFrame_mc._y;
_root.accessoryRate = this.rate;
_root.accsryScr = 1;
inAccessory_mc.gotoAndStop(1);
this.swapDepths(_parent.accessoryDepth_mc);
if (_parent.accessoryFrame_mc.myclip != this) {
_parent.accessoryFrame_mc.myclip.inAccessory_mc.gotoAndStop(1);
}
if (_parent.accessoryFrame_mc.myclip != this) {
_parent.accessoryFrame_mc.myclip._x = _parent.accessoryFrame_mc.myclip.xpos;
_parent.accessoryFrame_mc.myclip._y = _parent.accessoryFrame_mc.myclip.ypos;
_parent.accessoryFrame_mc.myclip.inAccessory_mc.gotoAndStop(2);
_parent.accessoryFrame_mc.myclip = this;
_parent.hairid = this.id;
}
} else {
this.swapDepths(_parent.accessoryDepth_mc);
this._x = xpos;
this._y = ypos;
inAccessory_mc.gotoAndStop(2);
if (_parent.accessoryFrame_mc.myclip == this) {
_root.accessoryRate = 0;
_root.accsryScr = 0;
}
}
}
}
gotoAndStop(id);
inAccessory_mc.gotoAndStop(2);
var xpos = this._x;
var ypos = this._y;
this.onPress = function () {
if (_parent.hamReady == true) {
this.startDrag();
this.swapDepths(_parent.mainDepth_mc);
}
};
this.onRelease = dressup;
this.onReleaseOutside = dressup;
stop();
Symbol 741 MovieClip Frame 2
stop();
Symbol 741 MovieClip Frame 3
stop();
Symbol 741 MovieClip Frame 4
stop();
Symbol 757 MovieClip Frame 1
function dressup() {
if (_parent.hamReady == true) {
this.swapDepths(_parent.mainDepth_mc);
stopDrag();
this.swapDepths(_parent.BreardDepth_mc);
if (this.hitTest(_parent.BeardFrame_mc)) {
this._x = _parent.BeardFrame_mc._x;
this._y = _parent.BeardFrame_mc._y;
_root.beardRate = this.rate;
_root.beardScr = 1;
inBeard_mc.gotoAndStop(1);
this.swapDepths(_parent.BreardDepth_mc);
if (_parent.BeardFrame_mc.myclip != this) {
_parent.BeardFrame_mc.myclip.inBeard_mc.gotoAndStop(1);
}
if (_parent.BeardFrame_mc.myclip != this) {
_parent.BeardFrame_mc.myclip._x = _parent.BeardFrame_mc.myclip.xpos;
_parent.BeardFrame_mc.myclip._y = _parent.BeardFrame_mc.myclip.ypos;
_parent.BeardFrame_mc.myclip.inBeard_mc.gotoAndStop(2);
_parent.BeardFrame_mc.myclip = this;
_parent.hairid = this.id;
}
} else {
this.swapDepths(_parent.BreardDepth_mc);
this._x = xpos;
this._y = ypos;
inBeard_mc.gotoAndStop(2);
if (_parent.BeardFrame_mc.myclip == this) {
_root.beardRate = 0;
_root.beardScr = 0;
}
}
}
}
gotoAndStop(id);
inBeard_mc.gotoAndStop(2);
var xpos = this._x;
var ypos = this._y;
this.onPress = function () {
if (_parent.hamReady == true) {
this.startDrag();
this.swapDepths(_parent.mainDepth_mc);
}
};
this.onRelease = dressup;
this.onReleaseOutside = dressup;
stop();
Symbol 757 MovieClip Frame 2
stop();
Symbol 757 MovieClip Frame 3
stop();
Symbol 757 MovieClip Frame 4
stop();
Symbol 757 MovieClip Frame 5
stop();
Symbol 757 MovieClip Frame 6
stop();
Symbol 773 MovieClip Frame 1
function dressup() {
if (_parent.hamReady == true) {
this.swapDepths(_parent.mainDepth_mc);
stopDrag();
this.swapDepths(_parent.MstchDepth_mc);
if (this.hitTest(_parent.moustchFrame_mc)) {
this._x = _parent.moustchFrame_mc._x;
this._y = _parent.moustchFrame_mc._y;
_root.moustacheRate = this.rate;
_root.moustachScr = 1;
inMstch_mc.gotoAndStop(1);
this.swapDepths(_parent.MstchDepth_mc);
if (_parent.moustchFrame_mc.myclip != this) {
_parent.moustchFrame_mc.myclip.inMstch_mc.gotoAndStop(1);
}
if (_parent.moustchFrame_mc.myclip != this) {
_parent.moustchFrame_mc.myclip._x = _parent.moustchFrame_mc.myclip.xpos;
_parent.moustchFrame_mc.myclip._y = _parent.moustchFrame_mc.myclip.ypos;
_parent.moustchFrame_mc.myclip.inMstch_mc.gotoAndStop(2);
_parent.moustchFrame_mc.myclip = this;
_parent.hairid = this.id;
}
} else {
this.swapDepths(_parent.MstchDepth_mc);
this._x = xpos;
this._y = ypos;
inMstch_mc.gotoAndStop(2);
if (_parent.moustchFrame_mc.myclip == this) {
_root.moustacheRate = 0;
_root.moustachScr = 0;
}
}
}
}
gotoAndStop(id);
inMstch_mc.gotoAndStop(2);
var xpos = this._x;
var ypos = this._y;
this.onPress = function () {
if (_parent.hamReady == true) {
this.startDrag();
this.swapDepths(_parent.mainDepth_mc);
}
};
this.onRelease = dressup;
this.onReleaseOutside = dressup;
stop();
Symbol 773 MovieClip Frame 2
stop();
Symbol 773 MovieClip Frame 3
stop();
Symbol 773 MovieClip Frame 4
stop();
Symbol 773 MovieClip Frame 5
stop();
Symbol 773 MovieClip Frame 6
stop();
Symbol 778 MovieClip Frame 1
stop();
Symbol 778 MovieClip Frame 2
stop();
Symbol 781 MovieClip Frame 1
stop();
Symbol 781 MovieClip Frame 2
stop();
Symbol 784 MovieClip Frame 1
stop();
Symbol 784 MovieClip Frame 2
stop();
Symbol 785 MovieClip Frame 1
function dressup() {
if (_parent.hamReady == true) {
this.swapDepths(_parent.mainDepth_mc);
stopDrag();
this.swapDepths(_parent.earRingDepth_mc);
if (this.hitTest(_parent.earRingFrame_mc)) {
this._x = _parent.earRingFrame_mc._x;
this._y = _parent.earRingFrame_mc._y;
_root.earRingRate = this.rate;
_root.earRingScr = 1;
inEar_mc.gotoAndStop(1);
this.swapDepths(_parent.earRingDepth_mc);
if (_parent.earRingFrame_mc.myclip != this) {
_parent.earRingFrame_mc.myclip.inEar_mc.gotoAndStop(1);
}
if (_parent.earRingFrame_mc.myclip != this) {
_parent.earRingFrame_mc.myclip._x = _parent.earRingFrame_mc.myclip.xpos;
_parent.earRingFrame_mc.myclip._y = _parent.earRingFrame_mc.myclip.ypos;
_parent.earRingFrame_mc.myclip.inEar_mc.gotoAndStop(2);
_parent.earRingFrame_mc.myclip = this;
_parent.hairid = this.id;
}
} else {
this.swapDepths(_parent.earRingDepth_mc);
this._x = xpos;
this._y = ypos;
inEar_mc.gotoAndStop(2);
if (_parent.earRingFrame_mc.myclip == this) {
_root.earRingRate = 0;
_root.earRingScr = 0;
}
}
}
}
gotoAndStop(id);
inEar_mc.gotoAndStop(2);
var xpos = this._x;
var ypos = this._y;
this.onPress = function () {
if (_parent.hamReady == true) {
this.startDrag();
this.swapDepths(_parent.mainDepth_mc);
}
};
this.onRelease = dressup;
this.onReleaseOutside = dressup;
stop();
Symbol 785 MovieClip Frame 2
stop();
Symbol 785 MovieClip Frame 3
stop();
Symbol 798 MovieClip Frame 1
function dressup() {
if (_parent.hamReady == true) {
this.swapDepths(_parent.mainDepth_mc);
stopDrag();
this.swapDepths(_parent.capDepth_mc);
if (this.hitTest(_parent.head_mc)) {
this._x = _parent.head_mc._x;
this._y = _parent.head_mc._y;
_root.hatRate = this.rate;
_root.hatScr = 1;
inHat_mc.gotoAndStop(1);
this.swapDepths(_parent.capDepth_mc);
if (_parent.head_mc.myclip != this) {
_parent.head_mc.myclip.inHat_mc.gotoAndStop(1);
}
if (_parent.head_mc.myclip != this) {
_parent.head_mc.myclip._x = _parent.head_mc.myclip.xpos;
_parent.head_mc.myclip._y = _parent.head_mc.myclip.ypos;
_parent.head_mc.myclip.inHat_mc.gotoAndStop(2);
_parent.head_mc.myclip = this;
_parent.hairid = this.id;
}
} else {
this.swapDepths(_parent.capDepth_mc);
this._x = xpos;
this._y = ypos;
inHat_mc.gotoAndStop(2);
if (_parent.head_mc.myclip == this) {
_root.hatRate = 0;
_root.hatScr = 0;
}
}
}
}
gotoAndStop(id);
inHat_mc.gotoAndStop(2);
var xpos = this._x;
var ypos = this._y;
this.onPress = function () {
if (_parent.hamReady == true) {
this.startDrag();
this.swapDepths(_parent.mainDepth_mc);
}
};
this.onRelease = dressup;
this.onReleaseOutside = dressup;
stop();
Symbol 798 MovieClip Frame 2
stop();
Symbol 798 MovieClip Frame 3
stop();
Symbol 798 MovieClip Frame 4
stop();
Symbol 798 MovieClip Frame 5
stop();
Symbol 812 MovieClip Frame 74
gotoAndPlay (10);
Symbol 816 MovieClip Frame 75
stop();
_root.levelScore = 10000 + (5000 * (_root.level - 1));
_root.score = _root.score + ((int(_root.makeOverscore) * 100) + int(_root.levelScore));
_root.gotoAndStop("levelComplete");
Symbol 817 MovieClip Frame 1
stop();
var hamReady = false;
_root.wash = false;
wash_btn.onRelease = function () {
if (_root.wash == false) {
hamster_mc.hamsWash_mc.gotoAndPlay(2);
}
};
dry_btn.onRelease = function () {
if (_root.dry == false) {
hamster_mc.gotoAndStop(2);
}
};
Symbol 817 MovieClip Frame 2
stop();
var count = 0;
_root.socksRate = 0;
_root.hatRate = 0;
_root.moustacheRate = 0;
_root.beardRate = 0;
_root.accessoryRate = 0;
_root.dressRate = 0;
_root.makeOverscore = 0;
var hamReady = true;
_root.earRingRate = 0;
_root.earRingScr = 0;
_root.dressScr = 0;
_root.moustachScr = 0;
_root.beardScr = 0;
_root.accsryScr = 0;
_root.hatScr = 0;
_root.socksScr = 0;
done_btn.onRelease = function () {
if (count >= 7) {
gotoAndStop (3);
}
};
onEnterFrame = function () {
_root.makeOverscore = (((((_root.socksRate + _root.hatRate) + _root.dressRate) + _root.accessoryRate) + _root.beardRate) + _root.moustacheRate) + _root.earRingRate;
count = (((((_root.moustachScr + _root.dressScr) + _root.beardScr) + _root.accsryScr) + _root.hatScr) + _root.socksScr) + _root.earRingScr;
if (count >= 7) {
done_btn._visible = true;
hamsMain_mc.hamsExpression_mc.gotoAndStop(2);
} else {
done_btn._visible = false;
hamsMain_mc.hamsExpression_mc.gotoAndStop(1);
}
};
Instance of Symbol 718 MovieClip in Symbol 817 MovieClip Frame 2
onClipEvent (load) {
var id = 1;
var rate = 6;
}
Instance of Symbol 718 MovieClip in Symbol 817 MovieClip Frame 2
onClipEvent (load) {
var id = 2;
var rate = 10;
}
Instance of Symbol 718 MovieClip in Symbol 817 MovieClip Frame 2
onClipEvent (load) {
var id = 3;
var rate = 7;
}
Instance of Symbol 718 MovieClip in Symbol 817 MovieClip Frame 2
onClipEvent (load) {
var id = 4;
var rate = 9;
}
Instance of Symbol 718 MovieClip in Symbol 817 MovieClip Frame 2
onClipEvent (load) {
var id = 5;
var rate = 8;
}
Instance of Symbol 718 MovieClip in Symbol 817 MovieClip Frame 2
onClipEvent (load) {
var id = 6;
var rate = 5;
}
Instance of Symbol 732 MovieClip in Symbol 817 MovieClip Frame 2
onClipEvent (load) {
var id = 1;
var rate = 9;
}
Instance of Symbol 732 MovieClip in Symbol 817 MovieClip Frame 2
onClipEvent (load) {
var id = 2;
var rate = 10;
}
Instance of Symbol 732 MovieClip in Symbol 817 MovieClip Frame 2
onClipEvent (load) {
var id = 3;
var rate = 6;
}
Instance of Symbol 732 MovieClip in Symbol 817 MovieClip Frame 2
onClipEvent (load) {
var id = 4;
var rate = 7;
}
Instance of Symbol 732 MovieClip in Symbol 817 MovieClip Frame 2
onClipEvent (load) {
var id = 5;
var rate = 5;
}
Instance of Symbol 732 MovieClip in Symbol 817 MovieClip Frame 2
onClipEvent (load) {
var id = 6;
var rate = 8;
}
Instance of Symbol 741 MovieClip in Symbol 817 MovieClip Frame 2
onClipEvent (load) {
var id = 2;
var rate = 7;
}
Instance of Symbol 741 MovieClip in Symbol 817 MovieClip Frame 2
onClipEvent (load) {
var id = 3;
var rate = 8;
}
Instance of Symbol 741 MovieClip in Symbol 817 MovieClip Frame 2
onClipEvent (load) {
var id = 4;
var rate = 6;
}
Instance of Symbol 741 MovieClip in Symbol 817 MovieClip Frame 2
onClipEvent (load) {
var id = 1;
var rate = 10;
}
Instance of Symbol 757 MovieClip in Symbol 817 MovieClip Frame 2
onClipEvent (load) {
var id = 1;
var rate = 10;
}
Instance of Symbol 757 MovieClip in Symbol 817 MovieClip Frame 2
onClipEvent (load) {
var id = 2;
var rate = 9;
}
Instance of Symbol 757 MovieClip in Symbol 817 MovieClip Frame 2
onClipEvent (load) {
var id = 3;
var rate = 8;
}
Instance of Symbol 757 MovieClip in Symbol 817 MovieClip Frame 2
onClipEvent (load) {
var id = 4;
var rate = 7;
}
Instance of Symbol 757 MovieClip in Symbol 817 MovieClip Frame 2
onClipEvent (load) {
var id = 5;
var rate = 5;
}
Instance of Symbol 757 MovieClip in Symbol 817 MovieClip Frame 2
onClipEvent (load) {
var id = 6;
var rate = 6;
}
Instance of Symbol 773 MovieClip in Symbol 817 MovieClip Frame 2
onClipEvent (load) {
var id = 1;
var rate = 10;
}
Instance of Symbol 773 MovieClip in Symbol 817 MovieClip Frame 2
onClipEvent (load) {
var id = 2;
var rate = 5;
}
Instance of Symbol 773 MovieClip in Symbol 817 MovieClip Frame 2
onClipEvent (load) {
var id = 3;
var rate = 7;
}
Instance of Symbol 773 MovieClip in Symbol 817 MovieClip Frame 2
onClipEvent (load) {
var id = 4;
var rate = 9;
}
Instance of Symbol 773 MovieClip in Symbol 817 MovieClip Frame 2
onClipEvent (load) {
var id = 5;
var rate = 8;
}
Instance of Symbol 773 MovieClip in Symbol 817 MovieClip Frame 2
onClipEvent (load) {
var id = 6;
var rate = 6;
}
Instance of Symbol 785 MovieClip "hamEaring3_mc" in Symbol 817 MovieClip Frame 2
onClipEvent (load) {
var id = 1;
var rate = 9;
}
Instance of Symbol 785 MovieClip "hamEaring1_mc" in Symbol 817 MovieClip Frame 2
onClipEvent (load) {
var id = 2;
var rate = 10;
}
Instance of Symbol 785 MovieClip "hamEaring2_mc" in Symbol 817 MovieClip Frame 2
onClipEvent (load) {
var id = 3;
var rate = 8;
}
Instance of Symbol 798 MovieClip in Symbol 817 MovieClip Frame 2
onClipEvent (load) {
var id = 1;
var rate = 10;
}
Instance of Symbol 798 MovieClip in Symbol 817 MovieClip Frame 2
onClipEvent (load) {
var id = 2;
var rate = 8;
}
Instance of Symbol 798 MovieClip in Symbol 817 MovieClip Frame 2
onClipEvent (load) {
var id = 3;
var rate = 9;
}
Instance of Symbol 798 MovieClip in Symbol 817 MovieClip Frame 2
onClipEvent (load) {
var id = 4;
var rate = 7;
}
Instance of Symbol 798 MovieClip in Symbol 817 MovieClip Frame 2
onClipEvent (load) {
var id = 5;
var rate = 6;
}
Symbol 817 MovieClip Frame 3
stop();
Symbol 818 MovieClip Frame 1
Symbol 818 MovieClip Frame 2
stop();
Symbol 827 MovieClip Frame 1
stop();
Symbol 827 MovieClip Frame 2
stop();
Symbol 842 MovieClip Frame 1
function dressup() {
this.swapDepths(_parent.mainDepth_mc);
stopDrag();
this.swapDepths(_parent.bodyDepth_mc);
if (this.hitTest(_parent.body_mc)) {
this._x = _parent.body_mc._x + 9;
this._y = _parent.body_mc._y - 1;
_root.dressRate = this.rate;
_root.dressScr = 1;
inDress_mc.gotoAndStop(1);
this.swapDepths(_parent.bodyDepth_mc);
if (_parent.body_mc.myclip != this) {
_parent.body_mc.myclip.inDress_mc.gotoAndStop(1);
}
if (_parent.body_mc.myclip != this) {
_parent.body_mc.myclip._x = _parent.body_mc.myclip.xpos;
_parent.body_mc.myclip._y = _parent.body_mc.myclip.ypos;
_parent.body_mc.myclip.inDress_mc.gotoAndStop(2);
_parent.body_mc.myclip = this;
_root.tshirtid = this.id;
}
} else {
this._x = xpos;
this._y = ypos;
inDress_mc.gotoAndStop(2);
if (_parent.body_mc.myclip == this) {
_root.dressRate = 0;
_root.dressScr = 0;
}
this.swapDepths(_parent.bodyDepth_mc);
}
}
gotoAndStop(id);
inDress_mc.gotoAndStop(2);
var xpos = this._x;
var ypos = this._y;
this.onPress = function () {
this.startDrag();
this.swapDepths(_parent.mainDepth_mc);
};
this.onRelease = dressup;
this.onReleaseOutside = dressup;
stop();
Symbol 842 MovieClip Frame 2
stop();
Symbol 842 MovieClip Frame 3
stop();
Symbol 842 MovieClip Frame 4
stop();
Symbol 842 MovieClip Frame 5
stop();
Symbol 854 MovieClip Frame 1
function dressup() {
this.swapDepths(_parent.mainDepth_mc);
stopDrag();
this.swapDepths(_parent.tattoDepth_mc);
if (this.hitTest(_parent.tattoFrame_mc)) {
this._x = _parent.tattoFrame_mc._x;
this._y = _parent.tattoFrame_mc._y;
_root.tattoRate = this.rate;
_root.tattoScr = 1;
inTatto_mc.gotoAndStop(1);
this.swapDepths(_parent.tattoDepth_mc);
if (_parent.tattoFrame_mc.myclip != this) {
_parent.tattoFrame_mc.myclip.inTatto_mc.gotoAndStop(1);
}
if (_parent.tattoFrame_mc.myclip != this) {
_parent.tattoFrame_mc.myclip._x = _parent.tattoFrame_mc.myclip.xpos;
_parent.tattoFrame_mc.myclip._y = _parent.tattoFrame_mc.myclip.ypos;
_parent.tattoFrame_mc.myclip.inTatto_mc.gotoAndStop(2);
_parent.tattoFrame_mc.myclip = this;
_parent.hairid = this.id;
}
} else {
this.swapDepths(_parent.tattoDepth_mc);
this._x = xpos;
this._y = ypos;
inTatto_mc.gotoAndStop(2);
if (_parent.tattoFrame_mc.myclip == this) {
_root.tattoRate = 0;
_root.tattoScr = 0;
}
}
}
gotoAndStop(id);
inTatto_mc.gotoAndStop(2);
var xpos = this._x;
var ypos = this._y;
this.onPress = function () {
this.startDrag();
this.swapDepths(_parent.mainDepth_mc);
};
this.onRelease = dressup;
this.onReleaseOutside = dressup;
stop();
Symbol 854 MovieClip Frame 2
stop();
Symbol 854 MovieClip Frame 3
stop();
Symbol 854 MovieClip Frame 4
stop();
Symbol 865 MovieClip Frame 1
function dressup() {
this.swapDepths(_parent.mainDepth_mc);
stopDrag();
this.swapDepths(_parent.PiercingDepth_mc);
if (this.hitTest(_parent.piercingFrame_mc)) {
this._x = _parent.piercingFrame_mc._x;
this._y = _parent.piercingFrame_mc._y;
_root.piercingRate = this.rate;
_root.accsryScr = 1;
inPiercing_mc.gotoAndStop(1);
this.swapDepths(_parent.PiercingDepth_mc);
if (_parent.piercingFrame_mc.myclip != this) {
_parent.piercingFrame_mc.myclip.inPiercing_mc.gotoAndStop(1);
}
if (_parent.piercingFrame_mc.myclip != this) {
_parent.piercingFrame_mc.myclip._x = _parent.piercingFrame_mc.myclip.xpos;
_parent.piercingFrame_mc.myclip._y = _parent.piercingFrame_mc.myclip.ypos;
_parent.piercingFrame_mc.myclip.inPiercing_mc.gotoAndStop(2);
_parent.piercingFrame_mc.myclip = this;
_parent.hairid = this.id;
}
} else {
this.swapDepths(_parent.PiercingDepth_mc);
this._x = xpos;
this._y = ypos;
inPiercing_mc.gotoAndStop(2);
if (_parent.piercingFrame_mc.myclip == this) {
_root.piercingRate = 0;
_root.accsryScr = 0;
}
}
}
gotoAndStop(id);
inPiercing_mc.gotoAndStop(2);
var xpos = this._x;
var ypos = this._y;
this.onPress = function () {
this.startDrag();
this.swapDepths(_parent.mainDepth_mc);
};
this.onRelease = dressup;
this.onReleaseOutside = dressup;
stop();
Symbol 865 MovieClip Frame 2
stop();
Symbol 865 MovieClip Frame 3
stop();
Symbol 878 MovieClip Frame 1
function dressup() {
this.swapDepths(_parent.mainDepth_mc);
stopDrag();
this.swapDepths(_parent.hairDepth_mc);
if (this.hitTest(_parent.hairFrame_mc)) {
this._x = _parent.hairFrame_mc._x;
this._y = _parent.hairFrame_mc._y;
_root.hairRate = this.rate;
_root.hairScr = 1;
inhair_mc.gotoAndStop(1);
this.swapDepths(_parent.hairDepth_mc);
if (_parent.hairFrame_mc.myclip != this) {
_parent.hairFrame_mc.myclip.inhair_mc.gotoAndStop(1);
}
if (_parent.hairFrame_mc.myclip != this) {
_parent.hairFrame_mc.myclip._x = _parent.hairFrame_mc.myclip.xpos;
_parent.hairFrame_mc.myclip._y = _parent.hairFrame_mc.myclip.ypos;
_parent.hairFrame_mc.myclip.inhair_mc.gotoAndStop(2);
_parent.hairFrame_mc.myclip = this;
_parent.hairid = this.id;
}
} else {
this.swapDepths(_parent.hairDepth_mc);
this._x = xpos;
this._y = ypos;
inhair_mc.gotoAndStop(2);
if (_parent.hairFrame_mc.myclip == this) {
_root.hairRate = 0;
_root.hairScr = 0;
}
}
}
gotoAndStop(id);
inhair_mc.gotoAndStop(2);
var xpos = this._x;
var ypos = this._y;
this.onPress = function () {
this.startDrag();
this.swapDepths(_parent.mainDepth_mc);
};
this.onRelease = dressup;
this.onReleaseOutside = dressup;
stop();
Symbol 878 MovieClip Frame 2
stop();
Symbol 878 MovieClip Frame 3
stop();
Symbol 878 MovieClip Frame 4
stop();
Symbol 878 MovieClip Frame 5
stop();
Symbol 880 MovieClip Frame 1
this.onRelease = function () {
var _local4 = new Color(_parent.fishBodyClr_mc);
var _local5 = new Color(_parent.fishGilClr_mc);
_local4.setTransform(myColorTransform);
_local5.setTransform(myColorTransform);
_root.colorRate = this.rate;
_root.clrScr = 1;
};
var my_color = new Color(this);
my_color.setTransform(myColorTransform);
var my_02color = new Color(this);
my_02color.setTransform(myColorTransform);
Symbol 892 MovieClip Frame 62
stop();
_root.levelScore = 10000 + (5000 * (_root.level - 1));
_root.score = _root.score + ((int(_root.makeOverscore) * 100) + int(_root.levelScore));
_root.gotoAndStop("levelComplete");
Symbol 893 MovieClip Frame 1
stop();
var count = 0;
_root.hairRate = 0;
_root.dressRate = 0;
_root.piercingRate = 0;
_root.tattoRate = 0;
_root.colorRate = 0;
_root.makeOverscore = 0;
_root.hairScr = 0;
_root.dressScr = 0;
_root.accsryScr = 0;
_root.tattoScr = 0;
_root.clrScr = 0;
done_btn.onRelease = function () {
if (count >= 5) {
gotoAndStop (2);
}
};
onEnterFrame = function () {
_root.makeOverscore = (((_root.piercingRate + _root.dressRate) + _root.colorRate) + _root.tattoRate) + _root.hairRate;
count = (((_root.hairScr + _root.dressScr) + _root.accsryScr) + _root.tattoScr) + _root.clrScr;
if (count >= 5) {
done_btn._visible = true;
fishBodyClr_mc.fishExpression_mc.gotoAndStop(1);
} else {
done_btn._visible = false;
fishBodyClr_mc.fishExpression_mc.gotoAndStop(2);
}
};
Instance of Symbol 842 MovieClip in Symbol 893 MovieClip Frame 1
onClipEvent (load) {
var id = 1;
var rate = 10;
}
Instance of Symbol 842 MovieClip in Symbol 893 MovieClip Frame 1
onClipEvent (load) {
var id = 2;
var rate = 8;
}
Instance of Symbol 842 MovieClip in Symbol 893 MovieClip Frame 1
onClipEvent (load) {
var id = 3;
var rate = 7;
}
Instance of Symbol 842 MovieClip in Symbol 893 MovieClip Frame 1
onClipEvent (load) {
var id = 4;
var rate = 9;
}
Instance of Symbol 842 MovieClip in Symbol 893 MovieClip Frame 1
onClipEvent (load) {
var id = 5;
var rate = 6;
}
Instance of Symbol 854 MovieClip in Symbol 893 MovieClip Frame 1
onClipEvent (load) {
var id = 1;
var rate = 7;
}
Instance of Symbol 854 MovieClip in Symbol 893 MovieClip Frame 1
onClipEvent (load) {
var id = 2;
var rate = 10;
}
Instance of Symbol 854 MovieClip in Symbol 893 MovieClip Frame 1
onClipEvent (load) {
var id = 3;
var rate = 9;
}
Instance of Symbol 854 MovieClip in Symbol 893 MovieClip Frame 1
onClipEvent (load) {
var id = 4;
var rate = 8;
}
Instance of Symbol 865 MovieClip in Symbol 893 MovieClip Frame 1
onClipEvent (load) {
var id = 1;
var rate = 8;
}
Instance of Symbol 865 MovieClip in Symbol 893 MovieClip Frame 1
onClipEvent (load) {
var id = 2;
var rate = 9;
}
Instance of Symbol 865 MovieClip in Symbol 893 MovieClip Frame 1
onClipEvent (load) {
var id = 3;
var rate = 10;
}
Instance of Symbol 878 MovieClip in Symbol 893 MovieClip Frame 1
onClipEvent (load) {
var id = 1;
var rate = 10;
}
Instance of Symbol 878 MovieClip in Symbol 893 MovieClip Frame 1
onClipEvent (load) {
var id = 2;
var rate = 9;
}
Instance of Symbol 878 MovieClip in Symbol 893 MovieClip Frame 1
onClipEvent (load) {
var id = 3;
var rate = 8;
}
Instance of Symbol 878 MovieClip in Symbol 893 MovieClip Frame 1
onClipEvent (load) {
var id = 4;
var rate = 7;
}
Instance of Symbol 878 MovieClip in Symbol 893 MovieClip Frame 1
onClipEvent (load) {
var id = 5;
var rate = 6;
}
Instance of Symbol 880 MovieClip in Symbol 893 MovieClip Frame 1
onClipEvent (load) {
var rate = 1;
var myColorTransform = {ra:100, rb:-61, ga:100, gb:69, ba:100, bb:-28, aa:100, ab:69};
}
Instance of Symbol 880 MovieClip in Symbol 893 MovieClip Frame 1
onClipEvent (load) {
var myColorTransform = {ra:98, rb:-33, ga:90, gb:-19, ba:100, bb:153, aa:100, ab:255};
var rate = 2;
}
Instance of Symbol 880 MovieClip in Symbol 893 MovieClip Frame 1
onClipEvent (load) {
var myColorTransform = {ra:100, rb:92, ga:100, gb:83, ba:100, bb:-24, aa:100, ab:51};
var rate = 3;
}
Instance of Symbol 880 MovieClip in Symbol 893 MovieClip Frame 1
onClipEvent (load) {
var myColorTransform = {ra:100, rb:55, ga:100, gb:-51, ba:100, bb:-24, aa:100, ab:-28};
var rate = 4;
}
Instance of Symbol 880 MovieClip in Symbol 893 MovieClip Frame 1
onClipEvent (load) {
var myColorTransform = {ra:98, rb:0, ga:90, gb:-51, ba:100, bb:10, aa:100, ab:-28};
var rate = 5;
}
Instance of Symbol 880 MovieClip in Symbol 893 MovieClip Frame 1
onClipEvent (load) {
var rate = 6;
var myColorTransform = {ra:100, rb:4, ga:47, gb:60, ba:-10, bb:-177, aa:98, ab:255};
}
Instance of Symbol 880 MovieClip in Symbol 893 MovieClip Frame 1
onClipEvent (load) {
var myColorTransform = {ra:98, rb:60, ga:90, gb:-24, ba:100, bb:194, aa:100, ab:83};
var rate = 7;
}
Instance of Symbol 880 MovieClip in Symbol 893 MovieClip Frame 1
onClipEvent (load) {
var myColorTransform = {ra:28, rb:255, ga:96, gb:46, ba:-24, bb:111, aa:100, ab:255};
var rate = 8;
}
Instance of Symbol 880 MovieClip in Symbol 893 MovieClip Frame 1
onClipEvent (load) {
var myColorTransform = {ra:-15, rb:171, ga:100, gb:-33, ba:89, bb:134, aa:98, ab:148};
var rate = 9;
}
Instance of Symbol 880 MovieClip in Symbol 893 MovieClip Frame 1
onClipEvent (load) {
var myColorTransform = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0};
var rate = 10;
}
Symbol 893 MovieClip Frame 2
stop();
Symbol 894 MovieClip Frame 1
Symbol 894 MovieClip Frame 2
stop();
Symbol 904 MovieClip Frame 1
stop();
next_btn.onRelease = function () {
_root.gotoAndStop("highScores");
};
playAgain_btn.onRelease = function () {
_root.score = 0;
_root.gotoAndStop("lblgame");
};
submit_btn.onRelease = function () {
_root.gotoAndStop("highScores");
};
Symbol 905 MovieClip Frame 1
Symbol 905 MovieClip Frame 2
stop();
Symbol 917 MovieClip Frame 1
stop();
playAgain_btn.onRelease = function () {
_root.score = 0;
_root.gotoAndStop(_root.levelArray[int(_root.level - 1)]);
};
submit_btn.onRelease = function () {
_root.gotoAndStop("highScores");
};
Symbol 940 MovieClip Frame 1
playAgain_btn.onRelease = function () {
_root.score = 0;
_root.playIntro = true;
_root.playIntroSound = true;
_root.level = 1;
_root.gotoAndStop("lblgameintro");
};
Symbol 954 MovieClip Frame 1
stop();
next_btn.onRelease = function () {
_root.gotoAndStop(_root.levelArray[int(_root.level)]);
};