Frame 3
function playAgain() {
if (_root.win) {
_root.win = false;
_root._playAgain(_root, "lblgame");
} else {
_root.lipsFrm = 1;
_root.blushFrm = 1;
_root.eyeShadowFrm = 1;
_root.leftEar = 1;
_root.leftEyeBrow = 1;
_root.nose = 1;
_root.lowerLip = 1;
_root.leftFrm = 4;
_root.rightFrm = 4;
_root.centerFrm = 4;
_root.shirtFrm = 1;
_root.pantsFrm = 1;
_root.jacketFrm = 1;
_root.shoesFrm = 1;
_root.leftArm = 1;
_root.rightArm = 1;
_root.chest = 1;
_root.neckChainFrm = 1;
_root.wristFrm = 1;
_root.score = 0;
_root.lvl--;
_root.gotoAndStop("lvl" + (_root.lvl + 1));
}
}
var score = 0;
var allSounds = new Sound();
_root.wasvisible = false;
var lipsFrm = 1;
var blushFrm = 1;
var eyeShadowFrm = 1;
var leftEar = 1;
var leftEyeBrow = 1;
var nose = 1;
var lowerLip = 1;
var leftFrm = 4;
var rightFrm = 4;
var centerFrm = 4;
var shirtFrm = 1;
var pantsFrm = 1;
var jacketFrm = 1;
var shoesFrm = 1;
var leftArm = 1;
var rightArm = 1;
var chest = 1;
var neckChainFrm = 1;
var wristFrm = 1;
var timerID;
var time;
var warned;
var lvl = 0;
var score = 0;
var win = false;
var timerOn = undefined;
var sndBuzz = new Sound();
_root.sndBuzz.attachSound("sndBuzz");
System.security.allowDomain("shockwave.com", "intranet.shockwave.com", "games2win.com", "gameblast.shockwave.com", "www.shockwave.com", "dev.shockwave.com", "stage.shockwave.com", "agstage.shockwave.com");
_level0.swHighScoreObject = new Object();
_level0.swHighScoreObject.showTab = "view";
_level0.swHighScoreObject.gameId = "dresstorock";
_level0.swHighScoreObject.gameTitle = "Dress to Rock";
_level0.swHighScoreObject.screenWidth = 800;
_level0.swHighScoreObject.screenHeight = 450;
_level0.swHighScoreObject.scoreDescriptor = "points";
_level0.swHighScoreObject.numPlayers = 1;
_level0.swHighScoreObject.player1Score = 0;
_level0.swHighScoreObject.player2Score = 0;
_level0.swHighScoreObject.player3Score = 0;
_level0.swHighScoreObject.player4Score = 0;
_level0.HSHubURL = "http://www.shockwave.com/content/highscores/scorez-2002.swf";
Frame 6
stop();
Frame 7
this.onEnterFrame = function () {
percent = Math.round((this.getBytesLoaded() / this.getBytesTotal()) * 100);
mcLoader.gotoAndStop(Math.floor(percent));
if (percent >= 99) {
play();
delete this.onEnterFrame;
} else {
stop();
}
};
stop();
Frame 8
_root.sndBG.start(0, 9999);
stop();
btnSkip.onRelease = function () {
_root.gotoAndStop("lblgame");
};
this.onEnterFrame = function () {
if (MCintro._currentframe > 200) {
btnSkip._visible = false;
}
};
Instance of Symbol 197 MovieClip in Frame 8
on (release) {
this.gotoAndPlay(_currentframe + 1);
}
Frame 9
stop();
btnStart.onRelease = function () {
_root.lipsFrm = 1;
_root.blushFrm = 1;
_root.eyeShadowFrm = 1;
_root.leftEar = 1;
_root.leftEyeBrow = 1;
_root.nose = 1;
_root.lowerLip = 1;
_root.leftFrm = 4;
_root.rightFrm = 4;
_root.centerFrm = 4;
_root.shirtFrm = 1;
_root.pantsFrm = 1;
_root.jacketFrm = 1;
_root.shoesFrm = 1;
_root.leftArm = 1;
_root.rightArm = 1;
_root.chest = 1;
_root.neckChainFrm = 1;
_root.wristFrm = 1;
_root.score = 0;
_root.lvl = 0;
_root.gotoAndStop("timerChoice");
};
btnStory.onRelease = function () {
_root.gotoAndStop("lblstory");
};
btnHow.onRelease = function () {
_root.gotoAndStop("lblinstruction");
};
Instance of Symbol 291 MovieClip in Frame 9
on (release) {
_parent.credit_mc.gotoAndPlay(2);
}
Frame 10
btnStart.onRelease = function () {
_root.lipsFrm = 1;
_root.blushFrm = 1;
_root.eyeShadowFrm = 1;
_root.leftEar = 1;
_root.leftEyeBrow = 1;
_root.nose = 1;
_root.lowerLip = 1;
_root.leftFrm = 4;
_root.rightFrm = 4;
_root.centerFrm = 4;
_root.shirtFrm = 1;
_root.pantsFrm = 1;
_root.jacketFrm = 1;
_root.shoesFrm = 1;
_root.leftArm = 1;
_root.rightArm = 1;
_root.chest = 1;
_root.neckChainFrm = 1;
_root.wristFrm = 1;
_root.score = 0;
_root.lvl = 0;
_root.gotoAndStop("timerChoice");
};
btnBack.onRelease = function () {
_root.gotoAndStop("lblgame");
};
Frame 11
btnStart.onRelease = function () {
_root.lipsFrm = 1;
_root.blushFrm = 1;
_root.eyeShadowFrm = 1;
_root.leftEar = 1;
_root.leftEyeBrow = 1;
_root.nose = 1;
_root.lowerLip = 1;
_root.leftFrm = 4;
_root.rightFrm = 4;
_root.centerFrm = 4;
_root.shirtFrm = 1;
_root.pantsFrm = 1;
_root.jacketFrm = 1;
_root.shoesFrm = 1;
_root.leftArm = 1;
_root.rightArm = 1;
_root.chest = 1;
_root.neckChainFrm = 1;
_root.wristFrm = 1;
_root.score = 0;
_root.lvl = 0;
_root.gotoAndStop("timerChoice");
};
btnBack.onRelease = function () {
_root.gotoAndStop("lblgame");
};
Frame 12
btnTimerOn.onRelease = function () {
_root.timerOn = true;
_root.gotoAndStop("lvl1");
};
btnTimerOff.onRelease = function () {
_root.timerOn = false;
_root.gotoAndStop("lvl1");
};
this.onEnterFrame = function () {
_root.lvl = 0;
};
stop();
Frame 13
var points = 0;
_root.lvl = int(_root.lvl);
init = function () {
points = 0;
shirt.gotoAndStop(_root.shirtFrm);
pants.gotoAndStop(_root.pantsFrm);
jacket.gotoAndStop(_root.jacketFrm);
shoes.gotoAndStop(_root.shoesFrm);
tattooRightArm.gotoAndStop(_root.rightArm);
tattooShoulder.gotoAndStop(_root.chest);
tattooLeftArm.gotoAndStop(_root.leftArm);
neckChain.gotoAndStop(_root.neckChainFrm);
wrist.gotoAndStop(_root.wristFrm);
lips.gotoAndStop(_root.lipsFrm);
blush.gotoAndStop(_root.blushFrm);
eyeShadow.gotoAndStop(_root.lipeyeShadowFrm);
trace(_root.leftFrm);
hairLeft.gotoAndStop(_root.leftFrm);
hairRight.gotoAndStop(_root.rightFrm);
hairCenter.gotoAndStop(_root.centerFrm);
pierceLeftEar.gotoAndStop(_root.leftEar);
pierceLeftEye.gotoAndStop(_root.leftEyeBrow);
pierceNose.gotoAndStop(_root.nose);
pierceLip.gotoAndStop(_root.lowerLip);
if (_root.shirtFrm == 1) {
shirt1.gotoAndStop(2);
shirt2.gotoAndStop(3);
shirt3.gotoAndStop(4);
shirt4.gotoAndStop(5);
shirt5.gotoAndStop(6);
} else if (_root.shirtFrm == 2) {
shirt1.gotoAndStop(1);
shirt2.gotoAndStop(3);
shirt3.gotoAndStop(4);
shirt4.gotoAndStop(5);
shirt5.gotoAndStop(6);
} else if (_root.shirtFrm == 3) {
shirt1.gotoAndStop(2);
shirt2.gotoAndStop(1);
shirt3.gotoAndStop(4);
shirt4.gotoAndStop(5);
shirt5.gotoAndStop(6);
} else if (_root.shirtFrm == 4) {
shirt1.gotoAndStop(2);
shirt2.gotoAndStop(3);
shirt3.gotoAndStop(1);
shirt4.gotoAndStop(5);
shirt5.gotoAndStop(6);
} else if (_root.shirtFrm == 5) {
shirt1.gotoAndStop(2);
shirt2.gotoAndStop(3);
shirt3.gotoAndStop(4);
shirt4.gotoAndStop(1);
shirt5.gotoAndStop(6);
} else if (_root.shirtFrm == 6) {
shirt1.gotoAndStop(2);
shirt2.gotoAndStop(3);
shirt3.gotoAndStop(4);
shirt4.gotoAndStop(5);
shirt5.gotoAndStop(1);
}
if (pantsFrm == 1) {
pants1.gotoAndStop(2);
pants2.gotoAndStop(3);
pants3.gotoAndStop(4);
pants4.gotoAndStop(5);
pants5.gotoAndStop(6);
pants6.gotoAndStop(7);
pants7.gotoAndStop(8);
} else if (pantsFrm == 2) {
pants1.gotoAndStop(1);
pants2.gotoAndStop(3);
pants3.gotoAndStop(4);
pants4.gotoAndStop(5);
pants5.gotoAndStop(6);
pants6.gotoAndStop(7);
pants7.gotoAndStop(8);
} else if (pantsFrm == 3) {
pants1.gotoAndStop(2);
pants2.gotoAndStop(1);
pants3.gotoAndStop(4);
pants4.gotoAndStop(5);
pants5.gotoAndStop(6);
pants6.gotoAndStop(7);
pants7.gotoAndStop(8);
} else if (pantsFrm == 4) {
pants1.gotoAndStop(2);
pants2.gotoAndStop(3);
pants3.gotoAndStop(1);
pants4.gotoAndStop(5);
pants5.gotoAndStop(6);
pants6.gotoAndStop(7);
pants7.gotoAndStop(8);
} else if (pantsFrm == 5) {
pants1.gotoAndStop(2);
pants2.gotoAndStop(3);
pants3.gotoAndStop(4);
pants4.gotoAndStop(1);
pants5.gotoAndStop(6);
pants6.gotoAndStop(7);
pants7.gotoAndStop(8);
} else if (pantsFrm == 6) {
pants1.gotoAndStop(2);
pants2.gotoAndStop(3);
pants3.gotoAndStop(4);
pants4.gotoAndStop(5);
pants5.gotoAndStop(1);
pants6.gotoAndStop(7);
pants7.gotoAndStop(8);
} else if (pantsFrm == 7) {
pants1.gotoAndStop(2);
pants2.gotoAndStop(3);
pants3.gotoAndStop(4);
pants4.gotoAndStop(5);
pants5.gotoAndStop(6);
pants6.gotoAndStop(1);
pants7.gotoAndStop(8);
} else if (pantsFrm == 8) {
pants1.gotoAndStop(2);
pants2.gotoAndStop(3);
pants3.gotoAndStop(4);
pants4.gotoAndStop(5);
pants5.gotoAndStop(6);
pants6.gotoAndStop(7);
pants7.gotoAndStop(1);
}
if (shoesFrm == 1) {
shoes1.gotoAndStop(2);
shoes2.gotoAndStop(3);
shoes3.gotoAndStop(4);
} else if (shoesFrm == 2) {
shoes1.gotoAndStop(1);
shoes2.gotoAndStop(3);
shoes3.gotoAndStop(4);
} else if (shoesFrm == 3) {
shoes1.gotoAndStop(2);
shoes2.gotoAndStop(1);
shoes3.gotoAndStop(4);
} else if (shoesFrm == 4) {
shoes1.gotoAndStop(2);
shoes2.gotoAndStop(3);
shoes3.gotoAndStop(1);
}
tattooShoulder1.gotoAndStop(2);
tattooShoulder2.gotoAndStop(3);
tattooShoulder3.gotoAndStop(4);
tattooRightArm1.gotoAndStop(4);
tattooRightArm2.gotoAndStop(3);
tattooRightArm4.gotoAndStop(2);
tattooLeftArm1.gotoAndStop(2);
tattooLeftArm2.gotoAndStop(3);
tattooLeftArm3.gotoAndStop(4);
};
init();
neckChain.onRelease = function () {
if (neckChain._currentframe == neckChain._framesloaded) {
neckChain.gotoAndStop(1);
} else {
neckChain.gotoAndStop(neckChain._currentframe + 1);
}
};
btndone.onRelease = function () {
gameOver();
};
wrist.onRelease = function () {
if (wrist._currentframe == wrist._framesloaded) {
wrist.gotoAndStop(1);
} else {
wrist.gotoAndStop(wrist._currentframe + 1);
}
};
shirt1.onRelease = function () {
num = this._currentframe;
this.gotoAndStop(shirt._currentframe);
shirt.gotoAndStop(num);
};
shirt2.onRelease = function () {
num = this._currentframe;
this.gotoAndStop(shirt._currentframe);
shirt.gotoAndStop(num);
};
shirt3.onRelease = function () {
num = this._currentframe;
this.gotoAndStop(shirt._currentframe);
shirt.gotoAndStop(num);
};
shirt4.onRelease = function () {
num = this._currentframe;
this.gotoAndStop(shirt._currentframe);
shirt.gotoAndStop(num);
};
shirt5.onRelease = function () {
num = this._currentframe;
this.gotoAndStop(shirt._currentframe);
shirt.gotoAndStop(num);
};
pants1.onRelease = function () {
num = this._currentframe;
this.gotoAndStop(pants._currentframe);
pants.gotoAndStop(num);
};
pants2.onRelease = function () {
num = this._currentframe;
this.gotoAndStop(pants._currentframe);
pants.gotoAndStop(num);
};
pants3.onRelease = function () {
num = this._currentframe;
this.gotoAndStop(pants._currentframe);
pants.gotoAndStop(num);
};
pants4.onRelease = function () {
num = this._currentframe;
this.gotoAndStop(pants._currentframe);
pants.gotoAndStop(num);
};
pants5.onRelease = function () {
num = this._currentframe;
this.gotoAndStop(pants._currentframe);
pants.gotoAndStop(num);
};
pants6.onRelease = function () {
num = this._currentframe;
this.gotoAndStop(pants._currentframe);
pants.gotoAndStop(num);
};
pants7.onRelease = function () {
num = this._currentframe;
this.gotoAndStop(pants._currentframe);
pants.gotoAndStop(num);
};
shoes1.onRelease = function () {
num = this._currentframe;
this.gotoAndStop(shoes._currentframe);
shoes.gotoAndStop(num);
};
shoes2.onRelease = function () {
num = this._currentframe;
this.gotoAndStop(shoes._currentframe);
shoes.gotoAndStop(num);
};
shoes3.onRelease = function () {
num = this._currentframe;
this.gotoAndStop(shoes._currentframe);
shoes.gotoAndStop(num);
};
tattooShoulder1.onRelease = function () {
num = this._currentframe;
tattooShoulder.gotoAndStop(num);
tattooShoulder._alpha = 100;
};
tattooShoulder2.onRelease = function () {
num = this._currentframe;
tattooShoulder.gotoAndStop(num);
tattooShoulder._alpha = 100;
};
tattooShoulder3.onRelease = function () {
num = this._currentframe;
tattooShoulder.gotoAndStop(num);
tattooShoulder._alpha = 100;
};
tattooLeftArm1.onRelease = function () {
num = this._currentframe;
tattooLeftArm.gotoAndStop(num);
tattooLeftArm._alpha = 100;
};
tattooLeftArm2.onRelease = function () {
num = this._currentframe;
tattooLeftArm.gotoAndStop(num);
tattooLeftArm._alpha = 100;
};
tattooLeftArm3.onRelease = function () {
num = this._currentframe;
tattooLeftArm.gotoAndStop(num);
tattooLeftArm._alpha = 100;
};
tattooRightArm1.onRelease = function () {
num = this._currentframe;
tattooRightArm.gotoAndStop(num);
tattooRightArm._alpha = 100;
};
tattooRightArm2.onRelease = function () {
num = this._currentframe;
tattooRightArm.gotoAndStop(num);
tattooRightArm._alpha = 100;
};
tattooRightArm4.onRelease = function () {
num = this._currentframe;
tattooRightArm.gotoAndStop(num);
tattooRightArm._alpha = 100;
};
head.onRelease = function () {
_root.lipsFrm = lips._currentframe;
_root.blushFrm = blush._currentframe;
_root.lipeyeShadowFrm = eyeShadow._currentframe;
_root.shirtFrm = shirt._currentframe;
_root.pantsFrm = pants._currentframe;
_root.jacketFrm = jacket._currentframe;
_root.shoesFrm = shoes._currentframe;
_root.rightArm = tattooRightArm._currentframe;
_root.chest = tattooShoulder._currentframe;
_root.leftArm = tattooLeftArm._currentframe;
_root.neckChainFrm = neckChain._currentframe;
_root.wristFrm = wrist._currentframe;
_root.gotoAndStop("lvl1Face");
};
trace(((timerOn + " Timer On Status") + _root.lvl) + " level");
lvlInit = function () {
trace("called lvlInit() ");
if (timerOn) {
_root.time = 45;
_root.warned = false;
timerMc.timerMc1.txtTimer.text = _root.time;
_root.timerID = setInterval(this, "timer", 900);
} else {
_root.time = 0;
timerMc._visible = false;
timerPanel._visible = false;
}
};
timer = function () {
_root.time = _root.time - 1;
timerMc.timerMc1.txtTimer.text = _root.time;
if (_root.time <= 10) {
if (!_root.warned) {
sndBuzz.start(0, 99);
if (timerMc._currentframe < 2) {
timerMc.gotoAndPlay("blink");
}
timerMc.timerMc1.txtTimer.textColor = 16711680 /* 0xFF0000 */;
_root.warned = true;
}
}
if (_root.time == 0) {
clearInterval(timerID);
Mouse.show();
bShear = false;
bCurls = false;
bSpray = false;
mc.removeMovieClip();
gameLost();
}
};
gameLost = function () {
_root.sndBuzz.stop("sndBuzz");
_root.gotoAndStop("gameOver");
};
gameOver = function () {
clearInterval(timerID);
points = 0;
points = points + (shirt.score * 1000);
points = points + (pants.score * 1000);
points = points + (shoes.score * 1000);
if (tattooRightArm._visible) {
points = points + (tattooRightArm.score * 1000);
}
if (tattooShoulder._visible) {
points = points + (tattooShoulder.score * 1000);
}
if (tattooLeftArm._visible) {
points = points + (tattooLeftArm.score * 1000);
}
points = points + (neckChain.score * 1000);
points = points + (wrist.score * 1000);
points = points + (pierceLeftEar.score * 1000);
points = points + (pierceLeftEye.score * 1000);
trace(points);
points = points + (pierceNose.score * 1000);
points = points + (pierceLip.score * 1000);
if (points < 5000) {
gameLost();
return(undefined);
}
points = points + (_root.time * 1000);
_root.score = _root.score + points;
_root.sndBuzz.stop("sndBuzz");
_root.gotoAndStop("lvlscore");
};
btnDone.onRelease = function () {
removeMovieClip(helpPanel);
gameOver();
};
this.onEnterFrame = function () {
if (pants._currentframe == 1) {
body.gotoAndStop(1);
} else {
body.gotoAndStop(2);
}
};
stop();
Instance of Symbol 425 MovieClip "timerPanel" in Frame 13
onClipEvent (load) {
if (_root.lvl < 1) {
_parent.lvlInit();
_root.lvl = 1;
}
}
Instance of Symbol 436 MovieClip in Frame 13
onClipEvent (load) {
if (_root.wasvisible) {
this._visible = false;
}
}
Frame 14
var mc;
var bShear;
var bCurls;
var bSpray;
var mouseListener = new Object();
init = function () {
lips.gotoAndStop(_root.lipsFrm);
blush.gotoAndStop(_root.blushFrm);
eyeShadow.gotoAndStop(_root.lipeyeShadowFrm);
hairLeft.gotoAndStop(_root.leftFrm);
hairRight.gotoAndStop(_root.rightFrm);
hairCenter.gotoAndStop(_root.centerFrm);
pierceLeftEar.gotoAndStop(_root.leftEar);
pierceLeftEye.gotoAndStop(_root.leftEyeBrow);
pierceNose.gotoAndStop(_root.nose);
pierceLip.gotoAndStop(_root.lowerLip);
};
init();
btnDone.onRelease = function () {
reset();
_root.lipsFrm = lips._currentframe;
_root.blushFrm = blush._currentframe;
_root.lipeyeShadowFrm = eyeShadow._currentframe;
_root.leftFrm = hairLeft._currentframe;
_root.rightFrm = hairRight._currentframe;
_root.centerFrm = hairCenter._currentframe;
trace(_root.leftFrm);
trace(hairCenter._currentframe);
_root.leftEar = pierceLeftEar._currentframe;
_root.leftEyeBrow = pierceLeftEye._currentframe;
_root.nose = peirceNose._currentframe;
_root.lowerLip = pierceLip._currentframe;
delete eval (this.onEnterFrame());
_root.gotoAndStop("lvl1");
};
cursorKey.onRelease = function () {
reset();
};
shear.onRelease = function () {
reset();
Mouse.hide();
mc = shear1;
bShear = true;
};
curls.onRelease = function () {
reset();
Mouse.hide();
mc = curls1;
bCurls = true;
};
spray.onRelease = function () {
reset();
Mouse.hide();
mc = spray1;
bSpray = true;
};
hairLeft.onPress = function () {
if (bShear) {
mc.gotoAndPlay(2);
} else if (bCurls) {
mc.gotoAndStop(2);
} else if (bSpray) {
mc.gotoAndPlay(2);
}
};
hairLeft.onReleaseOutside = function () {
if (bShear) {
mc.gotoAndStop(1);
} else if (bCurls) {
mc.gotoAndStop(1);
} else if (bSpray) {
mc.gotoAndStop(1);
}
};
hairCenter.onReleaseOutside = function () {
if (bShear) {
mc.gotoAndStop(1);
} else if (bCurls) {
mc.gotoAndStop(1);
} else if (bSpray) {
mc.gotoAndStop(1);
}
};
hairRight.onReleaseOutside = function () {
if (bShear) {
mc.gotoAndStop(1);
} else if (bCurls) {
mc.gotoAndStop(1);
} else if (bSpray) {
mc.gotoAndStop(1);
}
};
hairLeft.onRelease = function () {
trace("df");
if (bShear) {
if ((hairLeft._currentframe % 3) == 0) {
mc.gotoAndStop(1);
return(undefined);
}
hairLeft.gotoAndStop(hairLeft._currentframe + 1);
mc.gotoAndStop(1);
return(undefined);
}
if (bCurls) {
if (hairLeft._currentframe < 4) {
hairLeft.gotoAndStop(hairLeft._currentframe + 3);
mc.gotoAndStop(1);
return(undefined);
}
mc.gotoAndStop(1);
return(undefined);
}
if (bSpray) {
if (hairLeft._currentframe > 3) {
hairLeft.gotoAndStop(hairLeft._currentframe - 3);
mc.gotoAndStop(1);
return(undefined);
}
mc.gotoAndStop(1);
return(undefined);
}
};
hairRight.onPress = function () {
if (bShear) {
mc.gotoAndPlay(2);
} else if (bCurls) {
mc.gotoAndStop(2);
} else if (bSpray) {
mc.gotoAndPlay(2);
}
};
hairRight.onRelease = function () {
trace("df");
if (bShear) {
if ((hairRight._currentframe % 3) == 0) {
mc.gotoAndStop(1);
return(undefined);
}
mc.gotoAndStop(1);
hairRight.gotoAndStop(hairRight._currentframe + 1);
return(undefined);
}
if (bCurls) {
if (hairRight._currentframe < 4) {
hairRight.gotoAndStop(hairRight._currentframe + 3);
mc.gotoAndStop(1);
return(undefined);
}
mc.gotoAndStop(1);
return(undefined);
}
if (bSpray) {
if (hairRight._currentframe > 3) {
hairRight.gotoAndStop(hairRight._currentframe - 3);
mc.gotoAndStop(1);
return(undefined);
}
mc.gotoAndStop(1);
return(undefined);
}
};
hairCenter.onPress = function () {
if (bShear) {
mc.gotoAndPlay(2);
} else if (bCurls) {
mc.gotoAndStop(2);
} else if (bSpray) {
mc.gotoAndPlay(2);
}
};
hairCenter.onRelease = function () {
trace("df");
if (bShear) {
if ((hairCenter._currentframe % 3) == 0) {
mc.gotoAndStop(1);
return(undefined);
}
hairCenter.gotoAndStop(hairCenter._currentframe + 1);
trace(hairCenter._currentframe);
mc.gotoAndStop(1);
return(undefined);
}
if (bCurls) {
if (hairCenter._currentframe < 4) {
hairCenter.gotoAndStop(hairCenter._currentframe + 3);
mc.gotoAndStop(1);
return(undefined);
}
mc.gotoAndStop(1);
return(undefined);
}
if (bSpray) {
if (hairCenter._currentframe > 3) {
hairCenter.gotoAndStop(hairCenter._currentframe - 3);
mc.gotoAndStop(1);
return(undefined);
}
mc.gotoAndStop(1);
return(undefined);
}
};
peirceNose.onRelease = function () {
if ((bShear || (bSpray)) || (bCurls)) {
reset();
return(undefined);
}
if (peirceNose._currentframe == peirceNose._framesloaded) {
peirceNose.gotoAndStop(1);
} else {
peirceNose.gotoAndStop(peirceNose._currentframe + 1);
}
};
pierceLip.onRelease = function () {
if ((bShear || (bSpray)) || (bCurls)) {
reset();
return(undefined);
}
if (pierceLip._currentframe == pierceLip._framesloaded) {
pierceLip.gotoAndStop(1);
} else {
pierceLip.gotoAndStop(pierceLip._currentframe + 1);
}
};
pierceLeftEye.onRelease = function () {
if ((bShear || (bSpray)) || (bCurls)) {
reset();
return(undefined);
}
if (pierceLeftEye._currentframe == pierceLeftEye._framesloaded) {
pierceLeftEye.gotoAndStop(1);
} else {
pierceLeftEye.gotoAndStop(pierceLeftEye._currentframe + 1);
}
};
pierceLeftEar.onRelease = function () {
if ((bShear || (bSpray)) || (bCurls)) {
reset();
return(undefined);
}
if (pierceLeftEar._currentframe == pierceLeftEar._framesloaded) {
pierceLeftEar.gotoAndStop(1);
} else {
pierceLeftEar.gotoAndStop(pierceLeftEar._currentframe + 1);
}
};
mouseListener.onMouseMove = function () {
mc._x = _xmouse;
mc._y = _ymouse;
updateAfterEvent();
};
Mouse.addListener(mouseListener);
reset = function () {
Mouse.show();
shear1._x = -1000;
shear1._y = -1000;
curls1._x = -1000;
curls1._y = -1000;
spray1._x = -1000;
spray1._y = -1000;
bShear = false;
bCurls = false;
bSpray = false;
mc = null;
};
eyeShadow.onRelease = function () {
if ((bShear || (bSpray)) || (bCurls)) {
reset();
return(undefined);
}
if (eyeShadow._currentframe == eyeShadow._framesloaded) {
eyeShadow.gotoAndStop(1);
} else {
eyeShadow.gotoAndStop(eyeShadow._currentframe + 1);
}
};
blush.onRelease = function () {
if ((bShear || (bSpray)) || (bCurls)) {
reset();
return(undefined);
}
if (blush._currentframe == blush._framesloaded) {
blush.gotoAndStop(1);
} else {
blush.gotoAndStop(blush._currentframe + 1);
}
};
lips.onRelease = function () {
if ((bShear || (bSpray)) || (bCurls)) {
reset();
return(undefined);
}
if (lips._currentframe == lips._framesloaded) {
lips.gotoAndStop(1);
} else {
lips.gotoAndStop(lips._currentframe + 1);
}
};
stop();
Frame 15
txtScore.text = _root.score;
btnNext.onRelease = function () {
_root.lipsFrm = 1;
_root.blushFrm = 1;
_root.eyeShadowFrm = 1;
_root.leftEar = 1;
_root.leftEyeBrow = 1;
_root.nose = 1;
_root.lowerLip = 1;
_root.leftFrm = 4;
_root.rightFrm = 4;
_root.centerFrm = 4;
_root.shirtFrm = 1;
_root.pantsFrm = 1;
_root.jacketFrm = 1;
_root.shoesFrm = 1;
_root.leftArm = 1;
_root.rightArm = 1;
_root.chest = 1;
_root.neckChainFrm = 1;
_root.wristFrm = 1;
trace("next " + (_root.lvl + 1));
_root.gotoAndStop("lvl" + (_root.lvl + 1));
};
btnPlay.onRelease = function () {
_root.gotoAndStop("lblgame");
};
stopAllSounds();
Frame 16
var points;
_root.lvl = int(_root.lvl);
init = function () {
points = 0;
shirt.gotoAndStop(_root.shirtFrm);
pants.gotoAndStop(_root.pantsFrm);
jacket.gotoAndStop(_root.jacketFrm);
shoes.gotoAndStop(_root.shoesFrm);
tattooAbs.gotoAndStop(_root.rightArm);
tattooChest.gotoAndStop(_root.chest);
tattooLeftArm.gotoAndStop(_root.leftArm);
neckChain.gotoAndStop(_root.neckChainFrm);
wrist.gotoAndStop(_root.wristFrm);
lips.gotoAndStop(_root.lipsFrm);
blush.gotoAndStop(_root.blushFrm);
eyeShadow.gotoAndStop(_root.lipeyeShadowFrm);
trace(_root.leftFrm);
hairLeft.gotoAndStop(_root.leftFrm);
hairRight.gotoAndStop(_root.rightFrm);
hairCenter.gotoAndStop(_root.centerFrm);
pierceLeftEar.gotoAndStop(_root.leftEar);
pierceLeftEye.gotoAndStop(_root.leftEyeBrow);
pierceNose.gotoAndStop(_root.nose);
pierceLip.gotoAndStop(_root.lowerLip);
if (_root.shirtFrm == 1) {
shirt1.gotoAndStop(2);
shirt2.gotoAndStop(3);
shirt3.gotoAndStop(4);
shirt4.gotoAndStop(5);
shirt5.gotoAndStop(6);
} else if (_root.shirtFrm == 2) {
shirt1.gotoAndStop(1);
shirt2.gotoAndStop(3);
shirt3.gotoAndStop(4);
shirt4.gotoAndStop(5);
shirt5.gotoAndStop(6);
} else if (_root.shirtFrm == 3) {
shirt1.gotoAndStop(2);
shirt2.gotoAndStop(1);
shirt3.gotoAndStop(4);
shirt4.gotoAndStop(5);
shirt5.gotoAndStop(6);
} else if (_root.shirtFrm == 4) {
shirt1.gotoAndStop(2);
shirt2.gotoAndStop(3);
shirt3.gotoAndStop(1);
shirt4.gotoAndStop(5);
shirt5.gotoAndStop(6);
} else if (_root.shirtFrm == 5) {
shirt1.gotoAndStop(2);
shirt2.gotoAndStop(3);
shirt3.gotoAndStop(4);
shirt4.gotoAndStop(1);
shirt5.gotoAndStop(6);
} else if (_root.shirtFrm == 6) {
shirt1.gotoAndStop(2);
shirt2.gotoAndStop(3);
shirt3.gotoAndStop(4);
shirt4.gotoAndStop(5);
shirt5.gotoAndStop(1);
}
if (pantsFrm == 1) {
pants1.gotoAndStop(2);
pants2.gotoAndStop(3);
pants3.gotoAndStop(4);
pants4.gotoAndStop(5);
pants5.gotoAndStop(6);
pants6.gotoAndStop(7);
pants7.gotoAndStop(8);
} else if (pantsFrm == 2) {
pants1.gotoAndStop(1);
pants2.gotoAndStop(3);
pants3.gotoAndStop(4);
pants4.gotoAndStop(5);
pants5.gotoAndStop(6);
pants6.gotoAndStop(7);
pants7.gotoAndStop(8);
} else if (pantsFrm == 3) {
pants1.gotoAndStop(2);
pants2.gotoAndStop(1);
pants3.gotoAndStop(4);
pants4.gotoAndStop(5);
pants5.gotoAndStop(6);
pants6.gotoAndStop(7);
pants7.gotoAndStop(8);
} else if (pantsFrm == 4) {
pants1.gotoAndStop(2);
pants2.gotoAndStop(3);
pants3.gotoAndStop(1);
pants4.gotoAndStop(5);
pants5.gotoAndStop(6);
pants6.gotoAndStop(7);
pants7.gotoAndStop(8);
} else if (pantsFrm == 5) {
pants1.gotoAndStop(2);
pants2.gotoAndStop(3);
pants3.gotoAndStop(4);
pants4.gotoAndStop(1);
pants5.gotoAndStop(6);
pants6.gotoAndStop(7);
pants7.gotoAndStop(8);
} else if (pantsFrm == 6) {
pants1.gotoAndStop(2);
pants2.gotoAndStop(3);
pants3.gotoAndStop(4);
pants4.gotoAndStop(5);
pants5.gotoAndStop(1);
pants6.gotoAndStop(7);
pants7.gotoAndStop(8);
} else if (pantsFrm == 7) {
pants1.gotoAndStop(2);
pants2.gotoAndStop(3);
pants3.gotoAndStop(4);
pants4.gotoAndStop(5);
pants5.gotoAndStop(6);
pants6.gotoAndStop(1);
pants7.gotoAndStop(8);
} else if (pantsFrm == 8) {
pants1.gotoAndStop(2);
pants2.gotoAndStop(3);
pants3.gotoAndStop(4);
pants4.gotoAndStop(5);
pants5.gotoAndStop(6);
pants6.gotoAndStop(7);
pants7.gotoAndStop(1);
}
if (shoesFrm == 1) {
shoes1.gotoAndStop(2);
shoes2.gotoAndStop(3);
shoes3.gotoAndStop(4);
shoes4.gotoAndStop(5);
shoes5.gotoAndStop(6);
} else if (shoesFrm == 2) {
shoes1.gotoAndStop(1);
shoes2.gotoAndStop(3);
shoes3.gotoAndStop(4);
shoes4.gotoAndStop(5);
shoes5.gotoAndStop(6);
} else if (shoesFrm == 3) {
shoes1.gotoAndStop(2);
shoes2.gotoAndStop(1);
shoes3.gotoAndStop(4);
shoes4.gotoAndStop(5);
shoes5.gotoAndStop(6);
shoes4.gotoAndStop(5);
shoes5.gotoAndStop(6);
} else if (shoesFrm == 4) {
shoes1.gotoAndStop(2);
shoes2.gotoAndStop(3);
shoes3.gotoAndStop(1);
shoes4.gotoAndStop(5);
shoes5.gotoAndStop(6);
} else if (shoesFrm == 4) {
shoes1.gotoAndStop(2);
shoes2.gotoAndStop(3);
shoes3.gotoAndStop(4);
shoes4.gotoAndStop(1);
shoes5.gotoAndStop(6);
} else if (shoesFrm == 4) {
shoes1.gotoAndStop(2);
shoes2.gotoAndStop(3);
shoes3.gotoAndStop(4);
shoes4.gotoAndStop(5);
shoes5.gotoAndStop(1);
}
tattooChest1.gotoAndStop(2);
tattooChest2.gotoAndStop(3);
tattooChest3.gotoAndStop(4);
tattooChest4.gotoAndStop(5);
tattooAbs1.gotoAndStop(2);
tattooAbs2.gotoAndStop(3);
tattooLeftArm1.gotoAndStop(2);
tattooLeftArm2.gotoAndStop(3);
tattooLeftArm3.gotoAndStop(4);
};
init();
neckChain.onRelease = function () {
if (neckChain._currentframe == neckChain._framesloaded) {
neckChain.gotoAndStop(1);
} else {
neckChain.gotoAndStop(neckChain._currentframe + 1);
}
};
btndone.onRelease = function () {
gameOver();
};
wrist.onRelease = function () {
if (wrist._currentframe == wrist._framesloaded) {
wrist.gotoAndStop(1);
} else {
wrist.gotoAndStop(wrist._currentframe + 1);
}
};
shirt1.onRelease = function () {
num = this._currentframe;
this.gotoAndStop(shirt._currentframe);
shirt.gotoAndStop(num);
};
shirt2.onRelease = function () {
num = this._currentframe;
this.gotoAndStop(shirt._currentframe);
shirt.gotoAndStop(num);
};
shirt3.onRelease = function () {
num = this._currentframe;
this.gotoAndStop(shirt._currentframe);
shirt.gotoAndStop(num);
};
shirt4.onRelease = function () {
num = this._currentframe;
this.gotoAndStop(shirt._currentframe);
shirt.gotoAndStop(num);
};
shirt5.onRelease = function () {
num = this._currentframe;
this.gotoAndStop(shirt._currentframe);
shirt.gotoAndStop(num);
};
pants1.onRelease = function () {
num = this._currentframe;
this.gotoAndStop(pants._currentframe);
pants.gotoAndStop(num);
};
pants2.onRelease = function () {
num = this._currentframe;
this.gotoAndStop(pants._currentframe);
pants.gotoAndStop(num);
};
pants3.onRelease = function () {
num = this._currentframe;
this.gotoAndStop(pants._currentframe);
pants.gotoAndStop(num);
};
pants4.onRelease = function () {
num = this._currentframe;
this.gotoAndStop(pants._currentframe);
pants.gotoAndStop(num);
};
pants5.onRelease = function () {
num = this._currentframe;
this.gotoAndStop(pants._currentframe);
pants.gotoAndStop(num);
};
pants6.onRelease = function () {
num = this._currentframe;
this.gotoAndStop(pants._currentframe);
pants.gotoAndStop(num);
};
pants7.onRelease = function () {
num = this._currentframe;
this.gotoAndStop(pants._currentframe);
pants.gotoAndStop(num);
};
shoes1.onRelease = function () {
num = this._currentframe;
this.gotoAndStop(shoes._currentframe);
shoes.gotoAndStop(num);
};
shoes2.onRelease = function () {
num = this._currentframe;
this.gotoAndStop(shoes._currentframe);
shoes.gotoAndStop(num);
};
shoes3.onRelease = function () {
num = this._currentframe;
this.gotoAndStop(shoes._currentframe);
shoes.gotoAndStop(num);
};
shoes4.onRelease = function () {
num = this._currentframe;
this.gotoAndStop(shoes._currentframe);
shoes.gotoAndStop(num);
};
shoes5.onRelease = function () {
num = this._currentframe;
this.gotoAndStop(shoes._currentframe);
shoes.gotoAndStop(num);
};
tattooChest1.onRelease = function () {
num = this._currentframe;
tattooChest.gotoAndStop(num);
tattooChest._alpha = 100;
};
tattooChest2.onRelease = function () {
num = this._currentframe;
tattooChest.gotoAndStop(num);
tattooChest._alpha = 100;
};
tattooChest3.onRelease = function () {
num = this._currentframe;
tattooChest.gotoAndStop(num);
tattooChest._alpha = 100;
};
tattooChest4.onRelease = function () {
num = this._currentframe;
tattooChest.gotoAndStop(num);
tattooChest._alpha = 100;
};
tattooLeftArm1.onRelease = function () {
num = this._currentframe;
tattooLeftArm.gotoAndStop(num);
tattooLeftArm._alpha = 100;
};
tattooLeftArm2.onRelease = function () {
num = this._currentframe;
tattooLeftArm.gotoAndStop(num);
tattooLeftArm._alpha = 100;
};
tattooLeftArm3.onRelease = function () {
num = this._currentframe;
tattooLeftArm.gotoAndStop(num);
tattooLeftArm._alpha = 100;
};
tattooAbs1.onRelease = function () {
num = this._currentframe;
tattooAbs.gotoAndStop(num);
tattooAbs._alpha = 100;
};
tattooAbs2.onRelease = function () {
num = this._currentframe;
tattooAbs.gotoAndStop(num);
tattooAbs._alpha = 100;
};
head.onRelease = function () {
_root.lipsFrm = lips._currentframe;
_root.blushFrm = blush._currentframe;
_root.lipeyeShadowFrm = eyeShadow._currentframe;
_root.shirtFrm = shirt._currentframe;
_root.pantsFrm = pants._currentframe;
_root.jacketFrm = jacket._currentframe;
_root.shoesFrm = shoes._currentframe;
_root.rightArm = tattooAbs._currentframe;
_root.chest = tattooChest._currentframe;
_root.leftArm = tattooLeftArm._currentframe;
_root.neckChainFrm = neckChain._currentframe;
_root.wristFrm = wrist._currentframe;
_root.gotoAndStop("lvl2Face");
};
lvlInit = function () {
if (_root.timerOn) {
_root.time = 45;
_root.warned = false;
timerMc.timerMc1.txtTimer.text = _root.time;
_root.timerID = setInterval(this, "timer", 900);
} else {
_root.time = 0;
timerMc._visible = false;
timerPanel._visible = false;
}
};
timer = function () {
_root.time = _root.time - 1;
timerMc.timerMc1.txtTimer.text = _root.time;
if (_root.time <= 10) {
if (!_root.warned) {
sndBuzz.start(0, 99);
if (timerMc._currentframe < 2) {
timerMc.gotoAndPlay("blink");
}
timerMc.timerMc1.txtTimer.textColor = 16711680 /* 0xFF0000 */;
_root.warned = true;
}
}
if (_root.time == 0) {
clearInterval(timerID);
Mouse.show();
bShear = false;
bCurls = false;
bSpray = false;
mc.removeMovieClip();
gameLost();
}
};
gameLost = function () {
_root.sndBuzz.stop("sndBuzz");
_root.gotoAndStop("gameOver");
};
gameOver = function () {
clearInterval(timerID);
points = points + (shirt.score * 1000);
points = points + (pants.score * 1000);
points = points + (shoes.score * 1000);
if (tattooAbs._visible) {
points = points + (tattooAbs.score * 1000);
}
if (tattooChest._visible) {
points = points + (tattooChest.score * 1000);
}
if (tattooLeftArm._visible) {
points = points + (tattooLeftArm.score * 1000);
}
points = points + (neckChain.score * 1000);
points = points + (wrist.score * 1000);
points = points + (pierceLeftEar.score * 1000);
points = points + (pierceLeftEye.score * 1000);
trace(points);
points = points + (pierceNose.score * 1000);
points = points + (pierceLip.score * 1000);
if (points < 5000) {
gameLost();
return(undefined);
}
points = points + (_root.time * 1000);
_root.score = _root.score + points;
_root.sndBuzz.stop("sndBuzz");
_root.gotoAndStop("lvlscore");
};
btnDone.onRelease = function () {
gameOver();
};
onEnterFrame = function () {
if (_root.lvl < 2) {
lvlInit();
_root.lvl = 2;
}
if (pants._currentframe == 1) {
body.gotoAndStop(1);
} else {
body.gotoAndStop(2);
}
};
stop();
Frame 17
var mc;
var bShear;
var bCurls;
var bSpray;
var mouseListener = new Object();
init = function () {
lips.gotoAndStop(_root.lipsFrm);
blush.gotoAndStop(_root.blushFrm);
eyeShadow.gotoAndStop(_root.lipeyeShadowFrm);
hairLeft.gotoAndStop(_root.leftFrm);
hairRight.gotoAndStop(_root.rightFrm);
hairCenter.gotoAndStop(_root.centerFrm);
pierceLeftEar.gotoAndStop(_root.leftEar);
pierceLeftEye.gotoAndStop(_root.leftEyeBrow);
pierceNose.gotoAndStop(_root.nose);
pierceLip.gotoAndStop(_root.lowerLip);
};
init();
btnDone.onRelease = function () {
reset();
_root.lipsFrm = lips._currentframe;
_root.blushFrm = blush._currentframe;
_root.lipeyeShadowFrm = eyeShadow._currentframe;
_root.leftFrm = hairLeft._currentframe;
_root.rightFrm = hairRight._currentframe;
_root.centerFrm = hairCenter._currentframe;
trace(_root.leftFrm);
trace(hairCenter._currentframe);
_root.leftEar = pierceLeftEar._currentframe;
_root.leftEyeBrow = pierceLeftEye._currentframe;
_root.nose = peirceNose._currentframe;
_root.lowerLip = pierceLip._currentframe;
delete eval (this.onEnterFrame());
_root.gotoAndStop("lvl2");
};
shear.onRelease = function () {
reset();
Mouse.hide();
mc = shear1;
bShear = true;
};
curls.onRelease = function () {
reset();
Mouse.hide();
mc = curls1;
bCurls = true;
};
spray.onRelease = function () {
reset();
Mouse.hide();
mc = spray1;
bSpray = true;
};
hairLeft.onPress = function () {
if (bShear) {
mc.gotoAndPlay(2);
} else if (bCurls) {
mc.gotoAndStop(2);
} else if (bSpray) {
mc.gotoAndPlay(2);
}
};
hairLeft.onReleaseOutside = function () {
if (bShear) {
mc.gotoAndStop(1);
} else if (bCurls) {
mc.gotoAndStop(1);
} else if (bSpray) {
mc.gotoAndStop(1);
}
};
hairCenter.onReleaseOutside = function () {
if (bShear) {
mc.gotoAndStop(1);
} else if (bCurls) {
mc.gotoAndStop(1);
} else if (bSpray) {
mc.gotoAndStop(1);
}
};
hairRight.onReleaseOutside = function () {
if (bShear) {
mc.gotoAndStop(1);
} else if (bCurls) {
mc.gotoAndStop(1);
} else if (bSpray) {
mc.gotoAndStop(1);
}
};
hairLeft.onRelease = function () {
trace("df");
if (bShear) {
if ((hairLeft._currentframe % 3) == 0) {
mc.gotoAndStop(1);
return(undefined);
}
hairLeft.gotoAndStop(hairLeft._currentframe + 1);
mc.gotoAndStop(1);
return(undefined);
}
if (bCurls) {
if (hairLeft._currentframe < 4) {
hairLeft.gotoAndStop(hairLeft._currentframe + 3);
mc.gotoAndStop(1);
return(undefined);
}
mc.gotoAndStop(1);
return(undefined);
}
if (bSpray) {
if (hairLeft._currentframe > 3) {
hairLeft.gotoAndStop(hairLeft._currentframe - 3);
mc.gotoAndStop(1);
return(undefined);
}
mc.gotoAndStop(1);
return(undefined);
}
};
hairRight.onPress = function () {
if (bShear) {
mc.gotoAndPlay(2);
} else if (bCurls) {
mc.gotoAndStop(2);
} else if (bSpray) {
mc.gotoAndPlay(2);
}
};
hairRight.onRelease = function () {
trace("df");
if (bShear) {
if ((hairRight._currentframe % 3) == 0) {
mc.gotoAndStop(1);
return(undefined);
}
mc.gotoAndStop(1);
hairRight.gotoAndStop(hairRight._currentframe + 1);
return(undefined);
}
if (bCurls) {
if (hairRight._currentframe < 4) {
hairRight.gotoAndStop(hairRight._currentframe + 3);
mc.gotoAndStop(1);
return(undefined);
}
mc.gotoAndStop(1);
return(undefined);
}
if (bSpray) {
if (hairRight._currentframe > 3) {
hairRight.gotoAndStop(hairRight._currentframe - 3);
mc.gotoAndStop(1);
return(undefined);
}
mc.gotoAndStop(1);
return(undefined);
}
};
hairCenter.onPress = function () {
if (bShear) {
mc.gotoAndPlay(2);
} else if (bCurls) {
mc.gotoAndStop(2);
} else if (bSpray) {
mc.gotoAndPlay(2);
}
};
hairCenter.onRelease = function () {
trace("df");
if (bShear) {
if ((hairCenter._currentframe % 3) == 0) {
mc.gotoAndStop(1);
return(undefined);
}
hairCenter.gotoAndStop(hairCenter._currentframe + 1);
trace(hairCenter._currentframe);
mc.gotoAndStop(1);
return(undefined);
}
if (bCurls) {
if (hairCenter._currentframe < 4) {
hairCenter.gotoAndStop(hairCenter._currentframe + 3);
mc.gotoAndStop(1);
return(undefined);
}
mc.gotoAndStop(1);
return(undefined);
}
if (bSpray) {
if (hairCenter._currentframe > 3) {
hairCenter.gotoAndStop(hairCenter._currentframe - 3);
mc.gotoAndStop(1);
return(undefined);
}
mc.gotoAndStop(1);
return(undefined);
}
};
peirceNose.onRelease = function () {
if ((bShear || (bSpray)) || (bCurls)) {
reset();
return(undefined);
}
if (peirceNose._currentframe == peirceNose._framesloaded) {
peirceNose.gotoAndStop(1);
} else {
peirceNose.gotoAndStop(peirceNose._currentframe + 1);
}
};
pierceLip.onRelease = function () {
if ((bShear || (bSpray)) || (bCurls)) {
reset();
return(undefined);
}
if (pierceLip._currentframe == pierceLip._framesloaded) {
pierceLip.gotoAndStop(1);
} else {
pierceLip.gotoAndStop(pierceLip._currentframe + 1);
}
};
pierceLeftEye.onRelease = function () {
if ((bShear || (bSpray)) || (bCurls)) {
reset();
return(undefined);
}
if (pierceLeftEye._currentframe == pierceLeftEye._framesloaded) {
pierceLeftEye.gotoAndStop(1);
} else {
pierceLeftEye.gotoAndStop(pierceLeftEye._currentframe + 1);
}
};
pierceLeftEar.onRelease = function () {
if ((bShear || (bSpray)) || (bCurls)) {
reset();
return(undefined);
}
if (pierceLeftEar._currentframe == pierceLeftEar._framesloaded) {
pierceLeftEar.gotoAndStop(1);
} else {
pierceLeftEar.gotoAndStop(pierceLeftEar._currentframe + 1);
}
};
mouseListener.onMouseMove = function () {
mc._x = _xmouse;
mc._y = _ymouse;
updateAfterEvent();
};
Mouse.addListener(mouseListener);
reset = function () {
Mouse.show();
shear1._x = -1000;
shear1._y = -1000;
curls1._x = -1000;
curls1._y = -1000;
spray1._x = -1000;
spray1._y = -1000;
bShear = false;
bCurls = false;
bSpray = false;
mc = null;
};
cursorKey.onRelease = function () {
reset();
};
eyeShadow.onRelease = function () {
if ((bShear || (bSpray)) || (bCurls)) {
reset();
return(undefined);
}
if (eyeShadow._currentframe == eyeShadow._framesloaded) {
eyeShadow.gotoAndStop(1);
} else {
eyeShadow.gotoAndStop(eyeShadow._currentframe + 1);
}
};
blush.onRelease = function () {
if ((bShear || (bSpray)) || (bCurls)) {
reset();
return(undefined);
}
if (blush._currentframe == blush._framesloaded) {
blush.gotoAndStop(1);
} else {
blush.gotoAndStop(blush._currentframe + 1);
}
};
lips.onRelease = function () {
if ((bShear || (bSpray)) || (bCurls)) {
reset();
return(undefined);
}
if (lips._currentframe == lips._framesloaded) {
lips.gotoAndStop(1);
} else {
lips.gotoAndStop(lips._currentframe + 1);
}
};
stop();
Frame 18
var points;
_root.lvl = int(_root.lvl);
init = function () {
points = 0;
shirt.gotoAndStop(_root.shirtFrm);
pants.gotoAndStop(_root.pantsFrm);
jacket.gotoAndStop(_root.jacketFrm);
shoes.gotoAndStop(_root.shoesFrm);
tattooRightArm.gotoAndStop(_root.rightArm);
tattooShoulder.gotoAndStop(_root.chest);
tattooLeftArm.gotoAndStop(_root.leftArm);
neckChain.gotoAndStop(_root.neckChainFrm);
wrist.gotoAndStop(_root.wristFrm);
lips.gotoAndStop(_root.lipsFrm);
blush.gotoAndStop(_root.blushFrm);
eyeShadow.gotoAndStop(_root.lipeyeShadowFrm);
trace(_root.leftFrm);
hairLeft.gotoAndStop(_root.leftFrm);
hairRight.gotoAndStop(_root.rightFrm);
hairCenter.gotoAndStop(_root.centerFrm);
pierceLeftEar.gotoAndStop(_root.leftEar);
pierceLeftEye.gotoAndStop(_root.leftEyeBrow);
pierceNose.gotoAndStop(_root.nose);
pierceLip.gotoAndStop(_root.lowerLip);
if (_root.shirtFrm == 1) {
shirt1.gotoAndStop(2);
shirt2.gotoAndStop(3);
shirt3.gotoAndStop(4);
shirt4.gotoAndStop(5);
shirt5.gotoAndStop(6);
shirt6.gotoAndStop(7);
} else if (_root.shirtFrm == 2) {
shirt1.gotoAndStop(1);
shirt2.gotoAndStop(3);
shirt3.gotoAndStop(4);
shirt4.gotoAndStop(5);
shirt5.gotoAndStop(6);
shirt6.gotoAndStop(7);
} else if (_root.shirtFrm == 3) {
shirt1.gotoAndStop(2);
shirt2.gotoAndStop(1);
shirt3.gotoAndStop(4);
shirt4.gotoAndStop(5);
shirt5.gotoAndStop(6);
shirt6.gotoAndStop(7);
} else if (_root.shirtFrm == 4) {
shirt1.gotoAndStop(2);
shirt2.gotoAndStop(3);
shirt3.gotoAndStop(1);
shirt4.gotoAndStop(5);
shirt5.gotoAndStop(6);
shirt6.gotoAndStop(7);
} else if (_root.shirtFrm == 5) {
shirt1.gotoAndStop(2);
shirt2.gotoAndStop(3);
shirt3.gotoAndStop(4);
shirt4.gotoAndStop(1);
shirt5.gotoAndStop(6);
shirt6.gotoAndStop(7);
} else if (_root.shirtFrm == 6) {
shirt1.gotoAndStop(2);
shirt2.gotoAndStop(3);
shirt3.gotoAndStop(4);
shirt4.gotoAndStop(5);
shirt5.gotoAndStop(1);
shirt6.gotoAndStop(7);
} else if (_root.shirtFrm == 7) {
shirt1.gotoAndStop(2);
shirt2.gotoAndStop(3);
shirt3.gotoAndStop(4);
shirt4.gotoAndStop(5);
shirt5.gotoAndStop(6);
shirt6.gotoAndStop(1);
}
if (pantsFrm == 1) {
pants1.gotoAndStop(2);
pants2.gotoAndStop(3);
pants3.gotoAndStop(4);
pants4.gotoAndStop(5);
pants5.gotoAndStop(6);
} else if (pantsFrm == 2) {
pants1.gotoAndStop(1);
pants2.gotoAndStop(3);
pants3.gotoAndStop(4);
pants4.gotoAndStop(5);
pants5.gotoAndStop(6);
} else if (pantsFrm == 3) {
pants1.gotoAndStop(2);
pants2.gotoAndStop(1);
pants3.gotoAndStop(4);
pants4.gotoAndStop(5);
pants5.gotoAndStop(6);
} else if (pantsFrm == 4) {
pants1.gotoAndStop(2);
pants2.gotoAndStop(3);
pants3.gotoAndStop(1);
pants4.gotoAndStop(5);
pants5.gotoAndStop(6);
} else if (pantsFrm == 5) {
pants1.gotoAndStop(2);
pants2.gotoAndStop(3);
pants3.gotoAndStop(4);
pants4.gotoAndStop(1);
pants5.gotoAndStop(6);
} else if (pantsFrm == 6) {
pants1.gotoAndStop(2);
pants2.gotoAndStop(3);
pants3.gotoAndStop(4);
pants4.gotoAndStop(5);
pants5.gotoAndStop(1);
}
if (shoesFrm == 1) {
shoes1.gotoAndStop(2);
shoes2.gotoAndStop(3);
shoes3.gotoAndStop(4);
shoes4.gotoAndStop(5);
shoes5.gotoAndStop(6);
} else if (shoesFrm == 2) {
shoes1.gotoAndStop(1);
shoes2.gotoAndStop(3);
shoes3.gotoAndStop(4);
shoes4.gotoAndStop(5);
shoes5.gotoAndStop(6);
} else if (shoesFrm == 3) {
shoes1.gotoAndStop(2);
shoes2.gotoAndStop(1);
shoes3.gotoAndStop(4);
shoes4.gotoAndStop(5);
shoes5.gotoAndStop(6);
} else if (shoesFrm == 4) {
shoes1.gotoAndStop(2);
shoes2.gotoAndStop(3);
shoes3.gotoAndStop(1);
shoes4.gotoAndStop(5);
shoes5.gotoAndStop(6);
} else if (shoesFrm == 5) {
shoes1.gotoAndStop(2);
shoes2.gotoAndStop(3);
shoes3.gotoAndStop(4);
shoes4.gotoAndStop(1);
shoes5.gotoAndStop(6);
} else if (shoesFrm == 6) {
shoes1.gotoAndStop(2);
shoes2.gotoAndStop(3);
shoes3.gotoAndStop(4);
shoes4.gotoAndStop(5);
shoes5.gotoAndStop(1);
}
tattooShoulder1.gotoAndStop(2);
tattooShoulder2.gotoAndStop(3);
tattooShoulder3.gotoAndStop(4);
tattooLeftArm1.gotoAndStop(2);
tattooLeftArm2.gotoAndStop(3);
tattooLeftArm3.gotoAndStop(4);
tattooLeftArm4.gotoAndStop(5);
tattooLeftArm5.gotoAndStop(6);
tattooLeftArm6.gotoAndStop(7);
tattooLeftArm7.gotoAndStop(8);
};
init();
neckChain.onRelease = function () {
if (neckChain._currentframe == neckChain._framesloaded) {
neckChain.gotoAndStop(1);
} else {
neckChain.gotoAndStop(neckChain._currentframe + 1);
}
};
btndone.onRelease = function () {
gameOver();
};
wrist.onRelease = function () {
if (wrist._currentframe == wrist._framesloaded) {
wrist.gotoAndStop(1);
} else {
wrist.gotoAndStop(wrist._currentframe + 1);
}
};
shirt1.onRelease = function () {
num = this._currentframe;
this.gotoAndStop(shirt._currentframe);
shirt.gotoAndStop(num);
};
shirt2.onRelease = function () {
num = this._currentframe;
this.gotoAndStop(shirt._currentframe);
shirt.gotoAndStop(num);
};
shirt3.onRelease = function () {
num = this._currentframe;
this.gotoAndStop(shirt._currentframe);
shirt.gotoAndStop(num);
};
shirt4.onRelease = function () {
num = this._currentframe;
this.gotoAndStop(shirt._currentframe);
shirt.gotoAndStop(num);
};
shirt5.onRelease = function () {
num = this._currentframe;
this.gotoAndStop(shirt._currentframe);
shirt.gotoAndStop(num);
};
shirt6.onRelease = function () {
num = this._currentframe;
this.gotoAndStop(shirt._currentframe);
shirt.gotoAndStop(num);
};
pants1.onRelease = function () {
num = this._currentframe;
this.gotoAndStop(pants._currentframe);
pants.gotoAndStop(num);
};
pants2.onRelease = function () {
num = this._currentframe;
this.gotoAndStop(pants._currentframe);
pants.gotoAndStop(num);
};
pants3.onRelease = function () {
num = this._currentframe;
this.gotoAndStop(pants._currentframe);
pants.gotoAndStop(num);
};
pants4.onRelease = function () {
num = this._currentframe;
this.gotoAndStop(pants._currentframe);
pants.gotoAndStop(num);
};
pants5.onRelease = function () {
num = this._currentframe;
this.gotoAndStop(pants._currentframe);
pants.gotoAndStop(num);
};
pants6.onRelease = function () {
num = this._currentframe;
this.gotoAndStop(pants._currentframe);
pants.gotoAndStop(num);
};
pants7.onRelease = function () {
num = this._currentframe;
this.gotoAndStop(pants._currentframe);
pants.gotoAndStop(num);
};
shoes1.onRelease = function () {
num = this._currentframe;
this.gotoAndStop(shoes._currentframe);
shoes.gotoAndStop(num);
};
shoes2.onRelease = function () {
num = this._currentframe;
this.gotoAndStop(shoes._currentframe);
shoes.gotoAndStop(num);
};
shoes3.onRelease = function () {
num = this._currentframe;
this.gotoAndStop(shoes._currentframe);
shoes.gotoAndStop(num);
};
shoes4.onRelease = function () {
num = this._currentframe;
this.gotoAndStop(shoes._currentframe);
shoes.gotoAndStop(num);
};
shoes5.onRelease = function () {
num = this._currentframe;
this.gotoAndStop(shoes._currentframe);
shoes.gotoAndStop(num);
};
tattooShoulder1.onRelease = function () {
num = this._currentframe;
tattooShoulder.gotoAndStop(num);
tattooShoulder._alpha = 100;
};
tattooShoulder2.onRelease = function () {
num = this._currentframe;
tattooShoulder.gotoAndStop(num);
tattooShoulder._alpha = 100;
};
tattooShoulder3.onRelease = function () {
num = this._currentframe;
tattooShoulder.gotoAndStop(num);
tattooShoulder._alpha = 100;
};
tattooLeftArm1.onRelease = function () {
num = this._currentframe;
tattooLeftArm.gotoAndStop(num);
tattooLeftArm._alpha = 100;
};
tattooLeftArm2.onRelease = function () {
num = this._currentframe;
tattooLeftArm.gotoAndStop(num);
tattooLeftArm._alpha = 100;
};
tattooLeftArm3.onRelease = function () {
num = this._currentframe;
tattooLeftArm.gotoAndStop(num);
tattooLeftArm._alpha = 100;
};
tattooLeftArm4.onRelease = function () {
num = this._currentframe;
tattooLeftArm.gotoAndStop(num);
tattooLeftArm._alpha = 100;
};
tattooLeftArm5.onRelease = function () {
num = this._currentframe;
tattooLeftArm.gotoAndStop(num);
tattooLeftArm._alpha = 100;
};
tattooLeftArm6.onRelease = function () {
num = this._currentframe;
tattooLeftArm.gotoAndStop(num);
tattooLeftArm._alpha = 100;
};
tattooLeftArm7.onRelease = function () {
num = this._currentframe;
tattooLeftArm.gotoAndStop(num);
tattooLeftArm._alpha = 100;
};
tattooRightArm1.onRelease = function () {
num = this._currentframe;
tattooRightArm.gotoAndStop(num);
};
tattooRightArm2.onRelease = function () {
num = this._currentframe;
tattooRightArm.gotoAndStop(num);
};
tattooRightArm3.onRelease = function () {
num = this._currentframe;
tattooRightArm.gotoAndStop(num);
};
head.onRelease = function () {
_root.lipsFrm = lips._currentframe;
_root.blushFrm = blush._currentframe;
_root.lipeyeShadowFrm = eyeShadow._currentframe;
_root.shirtFrm = shirt._currentframe;
_root.pantsFrm = pants._currentframe;
_root.jacketFrm = jacket._currentframe;
_root.shoesFrm = shoes._currentframe;
_root.rightArm = tattooRightArm._currentframe;
_root.chest = tattooShoulder._currentframe;
_root.leftArm = tattooLeftArm._currentframe;
_root.neckChainFrm = neckChain._currentframe;
_root.wristFrm = wrist._currentframe;
_root.gotoAndStop("lvl3Face");
};
lvlInit = function () {
if (_root.timerOn) {
_root.time = 45;
_root.warned = false;
timerMc.timerMc1.txtTimer.text = _root.time;
_root.timerID = setInterval(this, "timer", 900);
} else {
_root.time = 0;
timerMc._visible = false;
timerPanel._visible = false;
}
};
timer = function () {
_root.time = _root.time - 1;
timerMc.timerMc1.txtTimer.text = _root.time;
if (_root.time <= 10) {
if (!_root.warned) {
sndBuzz.start(0, 99);
if (timerMc._currentframe < 2) {
timerMc.gotoAndPlay("blink");
}
timerMc.timerMc1.txtTimer.textColor = 16711680 /* 0xFF0000 */;
_root.warned = true;
}
}
if (_root.time == 0) {
clearInterval(timerID);
Mouse.show();
bShear = false;
bCurls = false;
bSpray = false;
mc.removeMovieClip();
gameLost();
}
};
gameLost = function () {
_root.sndBuzz.stop("sndBuzz");
_root.gotoAndStop("gameOver");
};
gameOver = function () {
clearInterval(timerID);
points = points + (shirt.score * 1000);
points = points + (pants.score * 1000);
points = points + (shoes.score * 1000);
if (tattooShoulder._visible) {
points = points + (tattooShoulder.score * 1000);
}
if (tattooLeftArm._visible) {
points = points + (tattooLeftArm.score * 1000);
}
points = points + (neckChain.score * 1000);
points = points + (wrist.score * 1000);
points = points + (pierceLeftEar.score * 1000);
points = points + (pierceLeftEye.score * 1000);
points = points + (pierceNose.score * 1000);
points = points + (pierceLip.score * 1000);
if (points < 5000) {
gameLost();
return(undefined);
}
points = points + (_root.time * 1000);
_root.score = _root.score + points;
_root.sndBuzz.stop("sndBuzz");
_root.gotoAndStop("lvlscore");
};
btnDone.onRelease = function () {
gameOver();
};
onEnterFrame = function () {
if (_root.lvl < 3) {
lvlInit();
_root.lvl = 3;
}
if (pants._currentframe == 1) {
body.gotoAndStop(1);
} else {
body.gotoAndStop(2);
}
};
stop();
Frame 19
var mc;
var bShear;
var bCurls;
var bSpray;
var mouseListener = new Object();
init = function () {
lips.gotoAndStop(_root.lipsFrm);
blush.gotoAndStop(_root.blushFrm);
eyeShadow.gotoAndStop(_root.lipeyeShadowFrm);
hairLeft.gotoAndStop(_root.leftFrm);
hairRight.gotoAndStop(_root.rightFrm);
hairCenter.gotoAndStop(_root.centerFrm);
pierceLeftEar.gotoAndStop(_root.leftEar);
pierceLeftEye.gotoAndStop(_root.leftEyeBrow);
pierceNose.gotoAndStop(_root.nose);
pierceLip.gotoAndStop(_root.lowerLip);
};
init();
btnDone.onRelease = function () {
reset();
_root.lipsFrm = lips._currentframe;
_root.blushFrm = blush._currentframe;
_root.lipeyeShadowFrm = eyeShadow._currentframe;
_root.leftFrm = hairLeft._currentframe;
_root.rightFrm = hairRight._currentframe;
_root.centerFrm = hairCenter._currentframe;
trace(_root.leftFrm);
trace(hairCenter._currentframe);
_root.leftEar = pierceLeftEar._currentframe;
_root.leftEyeBrow = pierceLeftEye._currentframe;
_root.nose = peirceNose._currentframe;
_root.lowerLip = pierceLip._currentframe;
delete eval (this.onEnterFrame());
_root.gotoAndStop("lvl3");
};
shear.onRelease = function () {
reset();
Mouse.hide();
mc = shear1;
bShear = true;
};
curls.onRelease = function () {
reset();
Mouse.hide();
mc = curls1;
bCurls = true;
};
spray.onRelease = function () {
reset();
Mouse.hide();
mc = spray1;
bSpray = true;
};
hairLeft.onPress = function () {
if (bShear) {
mc.gotoAndPlay(2);
} else if (bCurls) {
mc.gotoAndStop(2);
} else if (bSpray) {
mc.gotoAndPlay(2);
}
};
hairLeft.onReleaseOutside = function () {
if (bShear) {
mc.gotoAndStop(1);
} else if (bCurls) {
mc.gotoAndStop(1);
} else if (bSpray) {
mc.gotoAndStop(1);
}
};
hairCenter.onReleaseOutside = function () {
if (bShear) {
mc.gotoAndStop(1);
} else if (bCurls) {
mc.gotoAndStop(1);
} else if (bSpray) {
mc.gotoAndStop(1);
}
};
hairRight.onReleaseOutside = function () {
if (bShear) {
mc.gotoAndStop(1);
} else if (bCurls) {
mc.gotoAndStop(1);
} else if (bSpray) {
mc.gotoAndStop(1);
}
};
hairLeft.onRelease = function () {
trace("df");
if (bShear) {
if ((hairLeft._currentframe % 3) == 0) {
mc.gotoAndStop(1);
return(undefined);
}
hairLeft.gotoAndStop(hairLeft._currentframe + 1);
mc.gotoAndStop(1);
return(undefined);
}
if (bCurls) {
if (hairLeft._currentframe < 4) {
hairLeft.gotoAndStop(hairLeft._currentframe + 3);
mc.gotoAndStop(1);
return(undefined);
}
mc.gotoAndStop(1);
return(undefined);
}
if (bSpray) {
if (hairLeft._currentframe > 3) {
hairLeft.gotoAndStop(hairLeft._currentframe - 3);
mc.gotoAndStop(1);
return(undefined);
}
mc.gotoAndStop(1);
return(undefined);
}
};
hairRight.onPress = function () {
if (bShear) {
mc.gotoAndPlay(2);
} else if (bCurls) {
mc.gotoAndStop(2);
} else if (bSpray) {
mc.gotoAndPlay(2);
}
};
hairRight.onRelease = function () {
trace("df");
if (bShear) {
if ((hairRight._currentframe % 3) == 0) {
mc.gotoAndStop(1);
return(undefined);
}
mc.gotoAndStop(1);
hairRight.gotoAndStop(hairRight._currentframe + 1);
return(undefined);
}
if (bCurls) {
if (hairRight._currentframe < 4) {
hairRight.gotoAndStop(hairRight._currentframe + 3);
mc.gotoAndStop(1);
return(undefined);
}
mc.gotoAndStop(1);
return(undefined);
}
if (bSpray) {
if (hairRight._currentframe > 3) {
hairRight.gotoAndStop(hairRight._currentframe - 3);
mc.gotoAndStop(1);
return(undefined);
}
mc.gotoAndStop(1);
return(undefined);
}
};
hairCenter.onPress = function () {
if (bShear) {
mc.gotoAndPlay(2);
} else if (bCurls) {
mc.gotoAndStop(2);
} else if (bSpray) {
mc.gotoAndPlay(2);
}
};
hairCenter.onRelease = function () {
trace("df");
if (bShear) {
if ((hairCenter._currentframe % 3) == 0) {
mc.gotoAndStop(1);
return(undefined);
}
hairCenter.gotoAndStop(hairCenter._currentframe + 1);
trace(hairCenter._currentframe);
mc.gotoAndStop(1);
return(undefined);
}
if (bCurls) {
if (hairCenter._currentframe < 4) {
hairCenter.gotoAndStop(hairCenter._currentframe + 3);
mc.gotoAndStop(1);
return(undefined);
}
mc.gotoAndStop(1);
return(undefined);
}
if (bSpray) {
if (hairCenter._currentframe > 3) {
hairCenter.gotoAndStop(hairCenter._currentframe - 3);
mc.gotoAndStop(1);
return(undefined);
}
mc.gotoAndStop(1);
return(undefined);
}
};
peirceNose.onRelease = function () {
if ((bShear || (bSpray)) || (bCurls)) {
reset();
return(undefined);
}
if (peirceNose._currentframe == peirceNose._framesloaded) {
peirceNose.gotoAndStop(1);
} else {
peirceNose.gotoAndStop(peirceNose._currentframe + 1);
}
};
pierceLip.onRelease = function () {
if ((bShear || (bSpray)) || (bCurls)) {
reset();
return(undefined);
}
if (pierceLip._currentframe == pierceLip._framesloaded) {
pierceLip.gotoAndStop(1);
} else {
pierceLip.gotoAndStop(pierceLip._currentframe + 1);
}
};
pierceLeftEye.onRelease = function () {
if ((bShear || (bSpray)) || (bCurls)) {
reset();
return(undefined);
}
if (pierceLeftEye._currentframe == pierceLeftEye._framesloaded) {
pierceLeftEye.gotoAndStop(1);
} else {
pierceLeftEye.gotoAndStop(pierceLeftEye._currentframe + 1);
}
};
pierceLeftEar.onRelease = function () {
if ((bShear || (bSpray)) || (bCurls)) {
reset();
return(undefined);
}
if (pierceLeftEar._currentframe == pierceLeftEar._framesloaded) {
pierceLeftEar.gotoAndStop(1);
} else {
pierceLeftEar.gotoAndStop(pierceLeftEar._currentframe + 1);
}
};
mouseListener.onMouseMove = function () {
mc._x = _xmouse;
mc._y = _ymouse;
updateAfterEvent();
};
Mouse.addListener(mouseListener);
reset = function () {
Mouse.show();
shear1._x = -1000;
shear1._y = -1000;
curls1._x = -1000;
curls1._y = -1000;
spray1._x = -1000;
spray1._y = -1000;
bShear = false;
bCurls = false;
bSpray = false;
mc = null;
};
cursorKey.onRelease = function () {
reset();
};
eyeShadow.onRelease = function () {
if ((bShear || (bSpray)) || (bCurls)) {
reset();
return(undefined);
}
if (eyeShadow._currentframe == eyeShadow._framesloaded) {
eyeShadow.gotoAndStop(1);
} else {
eyeShadow.gotoAndStop(eyeShadow._currentframe + 1);
}
};
blush.onRelease = function () {
if ((bShear || (bSpray)) || (bCurls)) {
reset();
return(undefined);
}
if (blush._currentframe == blush._framesloaded) {
blush.gotoAndStop(1);
} else {
blush.gotoAndStop(blush._currentframe + 1);
}
};
lips.onRelease = function () {
if ((bShear || (bSpray)) || (bCurls)) {
reset();
return(undefined);
}
if (lips._currentframe == lips._framesloaded) {
lips.gotoAndStop(1);
} else {
lips.gotoAndStop(lips._currentframe + 1);
}
};
stop();
Frame 20
var points;
_root.lvl = int(_root.lvl);
init = function () {
points = 0;
shirt.gotoAndStop(_root.shirtFrm);
pants.gotoAndStop(_root.pantsFrm);
jacket.gotoAndStop(_root.jacketFrm);
shoes.gotoAndStop(_root.shoesFrm);
tattooRightArm.gotoAndStop(_root.rightArm);
tattooAbs.gotoAndStop(_root.chest);
tattooLeftArm.gotoAndStop(_root.leftArm);
neckChain.gotoAndStop(_root.neckChainFrm);
wrist.gotoAndStop(_root.wristFrm);
lips.gotoAndStop(_root.lipsFrm);
blush.gotoAndStop(_root.blushFrm);
eyeShadow.gotoAndStop(_root.lipeyeShadowFrm);
trace(_root.leftFrm);
hairLeft.gotoAndStop(_root.leftFrm);
hairRight.gotoAndStop(_root.rightFrm);
hairCenter.gotoAndStop(_root.centerFrm);
pierceLeftEar.gotoAndStop(_root.leftEar);
pierceLeftEye.gotoAndStop(_root.leftEyeBrow);
pierceNose.gotoAndStop(_root.nose);
pierceLip.gotoAndStop(_root.lowerLip);
if (_root.shirtFrm == 1) {
shirt1.gotoAndStop(2);
shirt2.gotoAndStop(3);
shirt3.gotoAndStop(4);
shirt4.gotoAndStop(5);
shirt5.gotoAndStop(6);
shirt6.gotoAndStop(7);
} else if (_root.shirtFrm == 2) {
shirt1.gotoAndStop(1);
shirt2.gotoAndStop(3);
shirt3.gotoAndStop(4);
shirt4.gotoAndStop(5);
shirt5.gotoAndStop(6);
shirt6.gotoAndStop(7);
} else if (_root.shirtFrm == 3) {
shirt1.gotoAndStop(2);
shirt2.gotoAndStop(1);
shirt3.gotoAndStop(4);
shirt4.gotoAndStop(5);
shirt5.gotoAndStop(6);
shirt6.gotoAndStop(7);
} else if (_root.shirtFrm == 4) {
shirt1.gotoAndStop(2);
shirt2.gotoAndStop(3);
shirt3.gotoAndStop(1);
shirt4.gotoAndStop(5);
shirt5.gotoAndStop(6);
shirt6.gotoAndStop(7);
} else if (_root.shirtFrm == 5) {
shirt1.gotoAndStop(2);
shirt2.gotoAndStop(3);
shirt3.gotoAndStop(4);
shirt4.gotoAndStop(1);
shirt5.gotoAndStop(6);
shirt6.gotoAndStop(7);
} else if (_root.shirtFrm == 6) {
shirt1.gotoAndStop(2);
shirt2.gotoAndStop(3);
shirt3.gotoAndStop(4);
shirt4.gotoAndStop(5);
shirt5.gotoAndStop(1);
shirt6.gotoAndStop(7);
} else if (_root.shirtFrm == 7) {
shirt1.gotoAndStop(2);
shirt2.gotoAndStop(3);
shirt3.gotoAndStop(4);
shirt4.gotoAndStop(5);
shirt5.gotoAndStop(6);
shirt6.gotoAndStop(1);
}
if (pantsFrm == 1) {
pants1.gotoAndStop(2);
pants2.gotoAndStop(3);
pants3.gotoAndStop(4);
pants4.gotoAndStop(5);
pants5.gotoAndStop(6);
pants6.gotoAndStop(7);
pants7.gotoAndStop(8);
} else if (pantsFrm == 2) {
pants1.gotoAndStop(1);
pants2.gotoAndStop(3);
pants3.gotoAndStop(4);
pants4.gotoAndStop(5);
pants5.gotoAndStop(6);
pants6.gotoAndStop(7);
pants7.gotoAndStop(8);
} else if (pantsFrm == 3) {
pants1.gotoAndStop(2);
pants2.gotoAndStop(1);
pants3.gotoAndStop(4);
pants4.gotoAndStop(5);
pants5.gotoAndStop(6);
pants6.gotoAndStop(7);
pants7.gotoAndStop(8);
} else if (pantsFrm == 4) {
pants1.gotoAndStop(2);
pants2.gotoAndStop(3);
pants3.gotoAndStop(1);
pants4.gotoAndStop(5);
pants5.gotoAndStop(6);
pants6.gotoAndStop(7);
pants7.gotoAndStop(8);
} else if (pantsFrm == 5) {
pants1.gotoAndStop(2);
pants2.gotoAndStop(3);
pants3.gotoAndStop(4);
pants4.gotoAndStop(1);
pants5.gotoAndStop(6);
pants6.gotoAndStop(7);
pants7.gotoAndStop(8);
} else if (pantsFrm == 6) {
pants1.gotoAndStop(2);
pants2.gotoAndStop(3);
pants3.gotoAndStop(4);
pants4.gotoAndStop(5);
pants5.gotoAndStop(1);
pants6.gotoAndStop(7);
pants7.gotoAndStop(8);
} else if (pantsFrm == 6) {
pants1.gotoAndStop(2);
pants2.gotoAndStop(3);
pants3.gotoAndStop(4);
pants4.gotoAndStop(5);
pants5.gotoAndStop(6);
pants6.gotoAndStop(1);
pants7.gotoAndStop(8);
} else if (pantsFrm == 8) {
pants1.gotoAndStop(2);
pants2.gotoAndStop(3);
pants3.gotoAndStop(4);
pants4.gotoAndStop(5);
pants5.gotoAndStop(6);
pants6.gotoAndStop(7);
pants7.gotoAndStop(1);
}
if (shoesFrm == 1) {
shoes1.gotoAndStop(2);
shoes2.gotoAndStop(3);
shoes3.gotoAndStop(4);
shoes4.gotoAndStop(5);
shoes5.gotoAndStop(6);
} else if (shoesFrm == 2) {
shoes1.gotoAndStop(1);
shoes2.gotoAndStop(3);
shoes3.gotoAndStop(4);
shoes4.gotoAndStop(5);
shoes5.gotoAndStop(6);
} else if (shoesFrm == 3) {
shoes1.gotoAndStop(2);
shoes2.gotoAndStop(1);
shoes3.gotoAndStop(4);
shoes4.gotoAndStop(5);
shoes5.gotoAndStop(6);
} else if (shoesFrm == 4) {
shoes1.gotoAndStop(2);
shoes2.gotoAndStop(3);
shoes3.gotoAndStop(1);
shoes4.gotoAndStop(5);
shoes5.gotoAndStop(6);
} else if (shoesFrm == 5) {
shoes1.gotoAndStop(2);
shoes2.gotoAndStop(3);
shoes3.gotoAndStop(4);
shoes4.gotoAndStop(1);
shoes5.gotoAndStop(6);
} else if (shoesFrm == 6) {
shoes1.gotoAndStop(2);
shoes2.gotoAndStop(3);
shoes3.gotoAndStop(4);
shoes4.gotoAndStop(5);
shoes5.gotoAndStop(1);
}
tattooAbs1.gotoAndStop(2);
tattooAbs2.gotoAndStop(3);
tattooLeftArm1.gotoAndStop(2);
tattooLeftArm2.gotoAndStop(3);
tattooLeftArm3.gotoAndStop(4);
tattooLeftArm4.gotoAndStop(5);
tattooLeftArm5.gotoAndStop(6);
tattooLeftArm6.gotoAndStop(7);
tattooLeftArm7.gotoAndStop(8);
};
init();
neckChain.onRelease = function () {
if (neckChain._currentframe == neckChain._framesloaded) {
neckChain.gotoAndStop(1);
} else {
neckChain.gotoAndStop(neckChain._currentframe + 1);
}
};
btndone.onRelease = function () {
gameOver();
};
wrist.onRelease = function () {
if (wrist._currentframe == wrist._framesloaded) {
wrist.gotoAndStop(1);
} else {
wrist.gotoAndStop(wrist._currentframe + 1);
}
};
shirt1.onRelease = function () {
num = this._currentframe;
this.gotoAndStop(shirt._currentframe);
shirt.gotoAndStop(num);
};
shirt2.onRelease = function () {
num = this._currentframe;
this.gotoAndStop(shirt._currentframe);
shirt.gotoAndStop(num);
};
shirt3.onRelease = function () {
num = this._currentframe;
this.gotoAndStop(shirt._currentframe);
shirt.gotoAndStop(num);
};
shirt4.onRelease = function () {
num = this._currentframe;
this.gotoAndStop(shirt._currentframe);
shirt.gotoAndStop(num);
};
shirt5.onRelease = function () {
num = this._currentframe;
this.gotoAndStop(shirt._currentframe);
shirt.gotoAndStop(num);
};
shirt6.onRelease = function () {
num = this._currentframe;
this.gotoAndStop(shirt._currentframe);
shirt.gotoAndStop(num);
};
pants1.onRelease = function () {
num = this._currentframe;
this.gotoAndStop(pants._currentframe);
pants.gotoAndStop(num);
};
pants2.onRelease = function () {
num = this._currentframe;
this.gotoAndStop(pants._currentframe);
pants.gotoAndStop(num);
};
pants3.onRelease = function () {
num = this._currentframe;
this.gotoAndStop(pants._currentframe);
pants.gotoAndStop(num);
};
pants4.onRelease = function () {
num = this._currentframe;
this.gotoAndStop(pants._currentframe);
pants.gotoAndStop(num);
};
pants5.onRelease = function () {
num = this._currentframe;
this.gotoAndStop(pants._currentframe);
pants.gotoAndStop(num);
};
pants6.onRelease = function () {
num = this._currentframe;
this.gotoAndStop(pants._currentframe);
pants.gotoAndStop(num);
};
pants7.onRelease = function () {
num = this._currentframe;
this.gotoAndStop(pants._currentframe);
pants.gotoAndStop(num);
};
shoes1.onRelease = function () {
num = this._currentframe;
this.gotoAndStop(shoes._currentframe);
shoes.gotoAndStop(num);
};
shoes2.onRelease = function () {
num = this._currentframe;
this.gotoAndStop(shoes._currentframe);
shoes.gotoAndStop(num);
};
shoes3.onRelease = function () {
num = this._currentframe;
this.gotoAndStop(shoes._currentframe);
shoes.gotoAndStop(num);
};
shoes4.onRelease = function () {
num = this._currentframe;
this.gotoAndStop(shoes._currentframe);
shoes.gotoAndStop(num);
};
shoes5.onRelease = function () {
num = this._currentframe;
this.gotoAndStop(shoes._currentframe);
shoes.gotoAndStop(num);
};
tattooAbs1.onRelease = function () {
num = this._currentframe;
tattooAbs.gotoAndStop(num);
tattooAbs._alpha = 100;
};
tattooAbs2.onRelease = function () {
num = this._currentframe;
tattooAbs.gotoAndStop(num);
tattooAbs._alpha = 100;
};
tattooLeftArm1.onRelease = function () {
num = this._currentframe;
tattooLeftArm.gotoAndStop(num);
tattooLeftArm._alpha = 100;
};
tattooLeftArm2.onRelease = function () {
num = this._currentframe;
tattooLeftArm.gotoAndStop(num);
tattooLeftArm._alpha = 100;
};
tattooLeftArm3.onRelease = function () {
num = this._currentframe;
tattooLeftArm.gotoAndStop(num);
tattooLeftArm._alpha = 100;
};
tattooLeftArm4.onRelease = function () {
num = this._currentframe;
tattooLeftArm.gotoAndStop(num);
tattooLeftArm._alpha = 100;
};
tattooLeftArm5.onRelease = function () {
num = this._currentframe;
tattooLeftArm.gotoAndStop(num);
tattooLeftArm._alpha = 100;
};
tattooLeftArm6.onRelease = function () {
num = this._currentframe;
tattooLeftArm.gotoAndStop(num);
tattooLeftArm._alpha = 100;
};
tattooLeftArm7.onRelease = function () {
num = this._currentframe;
tattooLeftArm.gotoAndStop(num);
tattooLeftArm._alpha = 100;
};
tattooRightArm1.onRelease = function () {
num = this._currentframe;
tattooRightArm.gotoAndStop(num);
};
tattooRightArm2.onRelease = function () {
num = this._currentframe;
tattooRightArm.gotoAndStop(num);
};
tattooRightArm3.onRelease = function () {
num = this._currentframe;
tattooRightArm.gotoAndStop(num);
};
head.onRelease = function () {
_root.lipsFrm = lips._currentframe;
_root.blushFrm = blush._currentframe;
_root.lipeyeShadowFrm = eyeShadow._currentframe;
_root.shirtFrm = shirt._currentframe;
_root.pantsFrm = pants._currentframe;
_root.jacketFrm = jacket._currentframe;
_root.shoesFrm = shoes._currentframe;
_root.rightArm = tattooRightArm._currentframe;
_root.chest = tattooAbs._currentframe;
_root.leftArm = tattooLeftArm._currentframe;
_root.neckChainFrm = neckChain._currentframe;
_root.wristFrm = wrist._currentframe;
_root.gotoAndStop("lvl4Face");
};
lvlInit = function () {
if (_root.timerOn) {
_root.time = 45;
_root.warned = false;
timerMc.timerMc1.txtTimer.text = _root.time;
_root.timerID = setInterval(this, "timer", 900);
} else {
_root.time = 0;
timerMc._visible = false;
timerPanel._visible = false;
}
};
timer = function () {
_root.time = _root.time - 1;
timerMc.timerMc1.txtTimer.text = _root.time;
if (_root.time <= 10) {
if (!_root.warned) {
sndBuzz.start(0, 99);
if (timerMc._currentframe < 2) {
timerMc.gotoAndPlay("blink");
}
timerMc.timerMc1.txtTimer.textColor = 16711680 /* 0xFF0000 */;
_root.warned = true;
}
}
if (_root.time == 0) {
clearInterval(timerID);
Mouse.show();
bShear = false;
bCurls = false;
bSpray = false;
mc.removeMovieClip();
gameLost();
return(undefined);
}
};
gameLost = function () {
_root.sndBuzz.stop("sndBuzz");
_root.gotoAndStop("gameOver");
};
gameOver = function () {
clearInterval(timerID);
points = points + (shirt.score * 1000);
points = points + (pants.score * 1000);
points = points + (shoes.score * 1000);
if (tattooAbs._visible) {
points = points + (tattooAbs.score * 1000);
}
if (tattooLeftArm._visible) {
points = points + (tattooLeftArm.score * 1000);
}
points = points + (neckChain.score * 1000);
points = points + (wrist.score * 1000);
points = points + (pierceLeftEar.score * 1000);
points = points + (pierceLeftEye.score * 1000);
points = points + (pierceNose.score * 1000);
points = points + (pierceLip.score * 1000);
if (points < 5000) {
gameLost();
return(undefined);
}
points = points + (_root.time * 1000);
_root.score = _root.score + points;
_root.win = true;
_root.sndBuzz.stop("sndBuzz");
_root.gotoAndStop("gameOver");
};
btnDone.onRelease = function () {
gameOver();
};
onEnterFrame = function () {
if (_root.lvl < 4) {
lvlInit();
_root.lvl = 4;
}
if (pants._currentframe == 1) {
body.gotoAndStop(1);
} else {
body.gotoAndStop(2);
}
};
stop();
Frame 21
var mc;
var bShear;
var bCurls;
var bSpray;
var mouseListener = new Object();
init = function () {
lips.gotoAndStop(_root.lipsFrm);
blush.gotoAndStop(_root.blushFrm);
eyeShadow.gotoAndStop(_root.lipeyeShadowFrm);
hairLeft.gotoAndStop(_root.leftFrm);
hairRight.gotoAndStop(_root.rightFrm);
hairCenter.gotoAndStop(_root.centerFrm);
pierceLeftEar.gotoAndStop(_root.leftEar);
pierceLeftEye.gotoAndStop(_root.leftEyeBrow);
pierceNose.gotoAndStop(_root.nose);
pierceLip.gotoAndStop(_root.lowerLip);
};
init();
btnDone.onRelease = function () {
reset();
_root.lipsFrm = lips._currentframe;
_root.blushFrm = blush._currentframe;
_root.lipeyeShadowFrm = eyeShadow._currentframe;
_root.leftFrm = hairLeft._currentframe;
_root.rightFrm = hairRight._currentframe;
_root.centerFrm = hairCenter._currentframe;
trace(_root.leftFrm);
trace(hairCenter._currentframe);
_root.leftEar = pierceLeftEar._currentframe;
_root.leftEyeBrow = pierceLeftEye._currentframe;
_root.nose = peirceNose._currentframe;
_root.lowerLip = pierceLip._currentframe;
delete eval (this.onEnterFrame());
_root.gotoAndStop("lvl4");
};
shear.onRelease = function () {
reset();
Mouse.hide();
mc = shear1;
bShear = true;
};
curls.onRelease = function () {
reset();
Mouse.hide();
mc = curls1;
bCurls = true;
};
spray.onRelease = function () {
reset();
Mouse.hide();
mc = spray1;
bSpray = true;
};
hairLeft.onPress = function () {
if (bShear) {
mc.gotoAndPlay(2);
} else if (bCurls) {
mc.gotoAndStop(2);
} else if (bSpray) {
mc.gotoAndPlay(2);
}
};
hairLeft.onReleaseOutside = function () {
if (bShear) {
mc.gotoAndStop(1);
} else if (bCurls) {
mc.gotoAndStop(1);
} else if (bSpray) {
mc.gotoAndStop(1);
}
};
hairCenter.onReleaseOutside = function () {
if (bShear) {
mc.gotoAndStop(1);
} else if (bCurls) {
mc.gotoAndStop(1);
} else if (bSpray) {
mc.gotoAndStop(1);
}
};
hairRight.onReleaseOutside = function () {
if (bShear) {
mc.gotoAndStop(1);
} else if (bCurls) {
mc.gotoAndStop(1);
} else if (bSpray) {
mc.gotoAndStop(1);
}
};
hairLeft.onRelease = function () {
trace("df");
if (bShear) {
if ((hairLeft._currentframe % 3) == 0) {
mc.gotoAndStop(1);
return(undefined);
}
hairLeft.gotoAndStop(hairLeft._currentframe + 1);
mc.gotoAndStop(1);
return(undefined);
}
if (bCurls) {
if (hairLeft._currentframe < 4) {
hairLeft.gotoAndStop(hairLeft._currentframe + 3);
mc.gotoAndStop(1);
return(undefined);
}
mc.gotoAndStop(1);
return(undefined);
}
if (bSpray) {
if (hairLeft._currentframe > 3) {
hairLeft.gotoAndStop(hairLeft._currentframe - 3);
mc.gotoAndStop(1);
return(undefined);
}
mc.gotoAndStop(1);
return(undefined);
}
};
hairRight.onPress = function () {
if (bShear) {
mc.gotoAndPlay(2);
} else if (bCurls) {
mc.gotoAndStop(2);
} else if (bSpray) {
mc.gotoAndPlay(2);
}
};
hairRight.onRelease = function () {
trace("df");
if (bShear) {
if ((hairRight._currentframe % 3) == 0) {
mc.gotoAndStop(1);
return(undefined);
}
mc.gotoAndStop(1);
hairRight.gotoAndStop(hairRight._currentframe + 1);
return(undefined);
}
if (bCurls) {
if (hairRight._currentframe < 4) {
hairRight.gotoAndStop(hairRight._currentframe + 3);
mc.gotoAndStop(1);
return(undefined);
}
mc.gotoAndStop(1);
return(undefined);
}
if (bSpray) {
if (hairRight._currentframe > 3) {
hairRight.gotoAndStop(hairRight._currentframe - 3);
mc.gotoAndStop(1);
return(undefined);
}
mc.gotoAndStop(1);
return(undefined);
}
};
hairCenter.onPress = function () {
if (bShear) {
mc.gotoAndPlay(2);
} else if (bCurls) {
mc.gotoAndStop(2);
} else if (bSpray) {
mc.gotoAndPlay(2);
}
};
hairCenter.onRelease = function () {
trace("df");
if (bShear) {
if ((hairCenter._currentframe % 3) == 0) {
mc.gotoAndStop(1);
return(undefined);
}
hairCenter.gotoAndStop(hairCenter._currentframe + 1);
trace(hairCenter._currentframe);
mc.gotoAndStop(1);
return(undefined);
}
if (bCurls) {
if (hairCenter._currentframe < 4) {
hairCenter.gotoAndStop(hairCenter._currentframe + 3);
mc.gotoAndStop(1);
return(undefined);
}
mc.gotoAndStop(1);
return(undefined);
}
if (bSpray) {
if (hairCenter._currentframe > 3) {
hairCenter.gotoAndStop(hairCenter._currentframe - 3);
mc.gotoAndStop(1);
return(undefined);
}
mc.gotoAndStop(1);
return(undefined);
}
};
peirceNose.onRelease = function () {
if ((bShear || (bSpray)) || (bCurls)) {
reset();
return(undefined);
}
if (peirceNose._currentframe == peirceNose._framesloaded) {
peirceNose.gotoAndStop(1);
} else {
peirceNose.gotoAndStop(peirceNose._currentframe + 1);
}
};
pierceLip.onRelease = function () {
if ((bShear || (bSpray)) || (bCurls)) {
reset();
return(undefined);
}
if (pierceLip._currentframe == pierceLip._framesloaded) {
pierceLip.gotoAndStop(1);
} else {
pierceLip.gotoAndStop(pierceLip._currentframe + 1);
}
};
pierceLeftEye.onRelease = function () {
if ((bShear || (bSpray)) || (bCurls)) {
reset();
return(undefined);
}
if (pierceLeftEye._currentframe == pierceLeftEye._framesloaded) {
pierceLeftEye.gotoAndStop(1);
} else {
pierceLeftEye.gotoAndStop(pierceLeftEye._currentframe + 1);
}
};
pierceLeftEar.onRelease = function () {
if ((bShear || (bSpray)) || (bCurls)) {
reset();
return(undefined);
}
if (pierceLeftEar._currentframe == pierceLeftEar._framesloaded) {
pierceLeftEar.gotoAndStop(1);
} else {
pierceLeftEar.gotoAndStop(pierceLeftEar._currentframe + 1);
}
};
mouseListener.onMouseMove = function () {
mc._x = _xmouse;
mc._y = _ymouse;
updateAfterEvent();
};
Mouse.addListener(mouseListener);
reset = function () {
Mouse.show();
shear1._x = -1000;
shear1._y = -1000;
curls1._x = -1000;
curls1._y = -1000;
spray1._x = -1000;
spray1._y = -1000;
bShear = false;
bCurls = false;
bSpray = false;
mc = null;
};
cursorKey.onRelease = function () {
reset();
};
eyeShadow.onRelease = function () {
if ((bShear || (bSpray)) || (bCurls)) {
reset();
return(undefined);
}
if (eyeShadow._currentframe == eyeShadow._framesloaded) {
eyeShadow.gotoAndStop(1);
} else {
eyeShadow.gotoAndStop(eyeShadow._currentframe + 1);
}
};
blush.onRelease = function () {
if ((bShear || (bSpray)) || (bCurls)) {
reset();
return(undefined);
}
if (blush._currentframe == blush._framesloaded) {
blush.gotoAndStop(1);
} else {
blush.gotoAndStop(blush._currentframe + 1);
}
};
lips.onRelease = function () {
if ((bShear || (bSpray)) || (bCurls)) {
reset();
return(undefined);
}
if (lips._currentframe == lips._framesloaded) {
lips.gotoAndStop(1);
} else {
lips.gotoAndStop(lips._currentframe + 1);
}
};
stop();
Frame 22
trace("_level0.swHighScoreObject.player1Score " + _level0.swHighScoreObject.player1Score);
_root.object = "";
if (_root.score <= 10) {
txtScore.text = (_root.score = 10);
} else {
txtScore.text = _root.score;
}
_level0.swHighScoreObject.player1Score = _root.score;
trace("SCORE : " + _root.score);
stopAllSounds();
btnPlay.onRelease = function () {
_root.playAgain();
};
_root.wasvisible = false;
stop();
Instance of Symbol 291 MovieClip in Frame 22
on (release) {
_parent.credit_mc.gotoAndPlay(2);
}
Frame 23
btnMain.onRelease = function () {
_root.cancelSubmit(_root, "gameOver");
};
stop();
Frame 24
playAgain.onRelease = function () {
str = "lblgameintro";
_root._playAgain(_root, str);
};
stop();
Symbol 10 MovieClip Frame 345
stop();
Symbol 13 MovieClip Frame 100
this._visible = false;
Symbol 16 MovieClip Frame 3
if (_root.ph1) {
if (_root.adv_zedo) {
gotoAndStop ("zedo");
} else if (_root.adv_mochi) {
gotoAndStop ("mochi");
}
} else {
stop();
}
Symbol 16 MovieClip Frame 4
tim = 0;
if (_root.ph1) {
loadMovie (_root._ph1url, zedo_movie);
}
txt.text = ("The game will load in " + _root.endzedo_endtim) + " seconds";
stop();
Instance of Symbol 4 MovieClip "zedo_movie" in Symbol 16 MovieClip Frame 4
/* no clip actions */
Instance of Symbol 10 MovieClip in Symbol 16 MovieClip Frame 4
onClipEvent (load) {
num = 1;
no1 = 1;
no = 0;
}
onClipEvent (enterFrame) {
num++;
no1++;
if (num == 24) {
num = 1;
no++;
rst = _root.endzedo_endtim - no;
if (rst == 0) {
trace((no1 + " ") + no);
_root.ph1end();
}
_parent.txt.text = ("The game will load in " + rst) + " seconds";
}
}
Instance of Symbol 13 MovieClip in Symbol 16 MovieClip Frame 4
onClipEvent (enterFrame) {
total = _parent.zedo_movie.getBytesTotal();
loaded = _parent.zedo_movie.getBytesLoaded();
percent = int((loaded / total) * 100);
text = ("Loaded " + percent) + "%";
trace((((percent + " Loaded") + loaded) + " ") + percent);
gotoAndStop(percent);
if (loaded == total) {
this._visible = false;
}
}
Symbol 16 MovieClip Frame 8
stop();
trace("MochiAd");
_root.__com_mochibot__(_root.mochitrack_id, this, _root.mochitrack_id2, true);
MochiAd.showPreloaderAd({id:_root.mochi_tag, res:_root.res_game, background:16777215, color:39219, outline:0, no_bg:true});
Symbol 25 Button
on (release) {
_parent.gotoAndStop("lblloader");
}
Symbol 35 Button
on (release) {
getURL ("http://www.addictinggames.com", "_blank");
}
Symbol 82 MovieClip Frame 58
stop();
Symbol 83 MovieClip Frame 104
_parent.gotoAndStop("lblloader");
Symbol 87 MovieClip Frame 1
stop();
Symbol 95 MovieClip Frame 35
gotoAndPlay (20);
Symbol 100 MovieClip Frame 1
stop();
Symbol 192 MovieClip Frame 225
_root.gotoAndStop("lblgame");
Symbol 197 MovieClip Frame 1
stop();
_root.allSounds.setVolume(100);
Symbol 197 MovieClip Frame 2
stop();
_root.allSounds.setVolume(0);
Symbol 199 MovieClip Frame 1
stop();
Symbol 202 Button
on (rollOver) {
bb.useHandCursor = false;
}
Symbol 207 Button
on (release) {
getURL ("http://www.addictinggames.com", "_blank");
}
Symbol 276 MovieClip Frame 97
stop();
Symbol 281 Button
on (release) {
_parent.gotoAndStop(1);
}
Symbol 282 MovieClip Frame 1
stop();
Instance of Symbol 212 MovieClip in Symbol 282 MovieClip Frame 39
on (release) {
getURL ("http://www.games2win.com/?utm_campaign=ag&utm_source=dress_to_rock&medium=game", "_blank");
}
Symbol 282 MovieClip Frame 40
stop();
Instance of Symbol 276 MovieClip in Symbol 282 MovieClip Frame 40
on (release) {
getURL ("http://www.games2win.com/?utm_campaign=ag&utm_source=dress_to_rock&medium=game", "_blank");
}
Symbol 283 MovieClip Frame 1
stop();
Symbol 283 MovieClip Frame 18
stop();
G2W_CREDIT.gotoAndPlay(2);
Symbol 323 MovieClip Frame 1
stop();
score = -10;
Symbol 323 MovieClip Frame 2
score = 7;
Symbol 323 MovieClip Frame 3
score = 4;
Symbol 323 MovieClip Frame 4
score = 1;
Symbol 323 MovieClip Frame 5
score = 6;
Symbol 323 MovieClip Frame 6
score = -7;
Symbol 330 MovieClip Frame 1
stop();
score = -10;
Symbol 330 MovieClip Frame 2
score = -2;
Symbol 330 MovieClip Frame 3
score = -4;
Symbol 330 MovieClip Frame 4
score = 7;
Symbol 330 MovieClip Frame 5
score = 5;
Symbol 330 MovieClip Frame 6
score = 4;
Symbol 330 MovieClip Frame 7
score = 3;
Symbol 330 MovieClip Frame 8
score = -5;
Symbol 337 MovieClip Frame 1
stop();
score = -10;
Symbol 337 MovieClip Frame 2
score = 0;
Symbol 337 MovieClip Frame 3
score = 4;
Symbol 337 MovieClip Frame 4
score = 7;
Symbol 346 MovieClip Frame 1
stop();
score = -10;
Symbol 346 MovieClip Frame 2
score = 4;
Symbol 346 MovieClip Frame 3
score = 3;
Symbol 346 MovieClip Frame 4
score = 7;
Symbol 346 MovieClip Frame 5
score = 5;
Symbol 346 MovieClip Frame 6
score = 2;
Symbol 352 MovieClip Frame 1
stop();
score = -10;
Symbol 352 MovieClip Frame 2
score = 2;
Symbol 352 MovieClip Frame 3
score = 5;
Symbol 352 MovieClip Frame 4
score = 4;
Symbol 352 MovieClip Frame 5
score = 7;
Symbol 352 MovieClip Frame 6
score = 2;
Symbol 356 MovieClip Frame 1
stop();
score = -10;
Symbol 356 MovieClip Frame 2
score = 4;
Symbol 356 MovieClip Frame 3
score = 2;
Symbol 356 MovieClip Frame 4
score = 5;
Symbol 360 MovieClip Frame 1
stop();
score = -10;
Symbol 360 MovieClip Frame 2
score = 2;
Symbol 360 MovieClip Frame 3
score = 4;
Symbol 360 MovieClip Frame 4
score = 7;
Symbol 366 MovieClip Frame 1
stop();
Symbol 372 MovieClip Frame 1
stop();
Symbol 378 MovieClip Frame 1
stop();
Symbol 382 MovieClip Frame 1
stop();
score = -10;
Symbol 382 MovieClip Frame 2
score = 6;
Symbol 382 MovieClip Frame 3
score = 5;
Symbol 382 MovieClip Frame 4
score = 7;
Symbol 386 MovieClip Frame 1
stop();
score = -10;
Symbol 386 MovieClip Frame 2
score = 6;
Symbol 386 MovieClip Frame 3
score = 7;
Symbol 386 MovieClip Frame 4
score = 5;
Symbol 390 MovieClip Frame 1
stop();
score = -10;
Symbol 390 MovieClip Frame 2
score = 7;
Symbol 390 MovieClip Frame 3
score = 5;
Symbol 390 MovieClip Frame 4
score = 4;
Symbol 395 MovieClip Frame 1
stop();
score = -10;
Symbol 395 MovieClip Frame 2
score = 4;
Symbol 395 MovieClip Frame 3
score = 5;
Symbol 395 MovieClip Frame 4
score = 7;
Symbol 399 MovieClip Frame 1
stop();
score = -10;
Symbol 399 MovieClip Frame 2
score = 4;
Symbol 399 MovieClip Frame 3
score = 7;
Symbol 402 MovieClip Frame 1
stop();
Symbol 408 MovieClip Frame 1
stop();
score = 0;
Symbol 408 MovieClip Frame 2
score = 7;
Symbol 408 MovieClip Frame 3
score = 3;
Symbol 408 MovieClip Frame 4
score = 3;
Symbol 408 MovieClip Frame 5
score = 4;
Symbol 414 MovieClip Frame 1
stop();
score = 0;
Symbol 414 MovieClip Frame 2
score = 7;
Symbol 414 MovieClip Frame 3
score = 5;
Symbol 414 MovieClip Frame 4
score = 4;
Symbol 414 MovieClip Frame 5
score = 3;
Symbol 420 MovieClip Frame 1
stop();
score = 0;
Symbol 420 MovieClip Frame 2
score = 7;
Symbol 420 MovieClip Frame 3
score = 3;
Symbol 420 MovieClip Frame 4
score = 4;
Symbol 420 MovieClip Frame 5
score = 5;
Symbol 429 MovieClip Frame 1
stop();
Symbol 429 MovieClip Frame 27
this.gotoAndPlay("blink");
Symbol 436 MovieClip Frame 1
_root.wasvisible = true;
Symbol 436 MovieClip Frame 108
stop();
Symbol 446 MovieClip Frame 1
stop();
Symbol 446 MovieClip Frame 4
this.gotoAndPlay(2);
Symbol 453 MovieClip Frame 1
stop();
Symbol 453 MovieClip Frame 6
this.gotoAndPlay(2);
Symbol 457 MovieClip Frame 1
stop();
this.hitArea = mc;
Symbol 466 MovieClip Frame 1
stop();
Symbol 466 MovieClip Frame 4
this.gotoAndPlay(2);
Symbol 473 MovieClip Frame 1
stop();
Symbol 473 MovieClip Frame 6
this.gotoAndPlay(2);
Symbol 476 MovieClip Frame 1
stop();
this.hitArea = mc;
Symbol 489 MovieClip Frame 1
stop();
score = -10;
Symbol 489 MovieClip Frame 2
score = 2;
Symbol 489 MovieClip Frame 3
score = 7;
Symbol 489 MovieClip Frame 4
score = 3;
Symbol 489 MovieClip Frame 5
score = 2;
Symbol 489 MovieClip Frame 6
score = 1;
Symbol 496 MovieClip Frame 1
stop();
score = -10;
Symbol 496 MovieClip Frame 2
score = 2;
Symbol 496 MovieClip Frame 3
score = 5;
Symbol 496 MovieClip Frame 4
score = 3;
Symbol 496 MovieClip Frame 5
score = 7;
Symbol 496 MovieClip Frame 6
score = 2;
Symbol 496 MovieClip Frame 7
score = 5;
Symbol 496 MovieClip Frame 8
score = 1;
Symbol 502 MovieClip Frame 1
stop();
score = -10;
Symbol 502 MovieClip Frame 2
score = 0;
Symbol 502 MovieClip Frame 3
score = 4;
Symbol 502 MovieClip Frame 4
score = 7;
Symbol 502 MovieClip Frame 5
score = 2;
Symbol 502 MovieClip Frame 6
score = 1;
Symbol 511 MovieClip Frame 1
stop();
Symbol 518 MovieClip Frame 1
stop();
Symbol 525 MovieClip Frame 1
stop();
Symbol 530 MovieClip Frame 1
stop();
score = -10;
Symbol 530 MovieClip Frame 2
score = 1;
Symbol 530 MovieClip Frame 3
score = 2;
Symbol 530 MovieClip Frame 4
score = 7;
Symbol 530 MovieClip Frame 5
score = 5;
Symbol 534 MovieClip Frame 1
stop();
score = -10;
Symbol 534 MovieClip Frame 2
score = 1;
Symbol 534 MovieClip Frame 3
score = 7;
Symbol 534 MovieClip Frame 4
score = 5;
Symbol 537 MovieClip Frame 1
stop();
score = -10;
Symbol 537 MovieClip Frame 2
score = 5;
Symbol 537 MovieClip Frame 3
score = 7;
Symbol 542 MovieClip Frame 1
stop();
score = -10;
Symbol 542 MovieClip Frame 2
score = 1;
Symbol 542 MovieClip Frame 3
score = 2;
Symbol 542 MovieClip Frame 4
score = 4;
Symbol 542 MovieClip Frame 5
score = 6;
Symbol 546 MovieClip Frame 1
stop();
score = -10;
Symbol 546 MovieClip Frame 2
score = 2;
Symbol 546 MovieClip Frame 3
score = 6;
Symbol 546 MovieClip Frame 4
score = 3;
Symbol 552 MovieClip Frame 1
stop();
Symbol 556 MovieClip Frame 1
stop();
score = -10;
Symbol 556 MovieClip Frame 2
score = 2;
Symbol 556 MovieClip Frame 3
score = 4;
Symbol 556 MovieClip Frame 4
score = 6;
Symbol 562 MovieClip Frame 1
stop();
score = 0;
Symbol 562 MovieClip Frame 2
score = 7;
Symbol 562 MovieClip Frame 3
score = 3;
Symbol 562 MovieClip Frame 4
score = 4;
Symbol 562 MovieClip Frame 5
score = 5;
Symbol 566 MovieClip Frame 1
stop();
score = -10;
Symbol 566 MovieClip Frame 2
score = 3;
Symbol 566 MovieClip Frame 3
score = 7;
Symbol 566 MovieClip Frame 4
score = 4;
Symbol 572 MovieClip Frame 1
stop();
score = -10;
Symbol 572 MovieClip Frame 2
score = 2;
Symbol 572 MovieClip Frame 3
score = 7;
Symbol 572 MovieClip Frame 4
score = 4;
Symbol 572 MovieClip Frame 5
score = 5;
Symbol 578 MovieClip Frame 1
stop();
Symbol 583 MovieClip Frame 1
stop();
score = -10;
Symbol 583 MovieClip Frame 2
score = 1;
Symbol 583 MovieClip Frame 3
score = 6;
Symbol 583 MovieClip Frame 4
score = 7;
Symbol 592 MovieClip Frame 1
stop();
score = -10;
Symbol 592 MovieClip Frame 2
score = 5;
Symbol 592 MovieClip Frame 3
score = 2;
Symbol 592 MovieClip Frame 4
score = 3;
Symbol 592 MovieClip Frame 5
score = 2;
Symbol 592 MovieClip Frame 6
score = -2;
Symbol 599 MovieClip Frame 1
stop();
score = 0;
Symbol 599 MovieClip Frame 2
score = 4;
Symbol 599 MovieClip Frame 3
score = 5;
Symbol 599 MovieClip Frame 4
score = 4;
Symbol 599 MovieClip Frame 5
score = 3;
Symbol 599 MovieClip Frame 6
score = -2;
Symbol 599 MovieClip Frame 7
score = 1;
Symbol 604 MovieClip Frame 1
stop();
score = -10;
Symbol 604 MovieClip Frame 2
score = 4;
Symbol 604 MovieClip Frame 3
score = 3;
Symbol 604 MovieClip Frame 4
score = 7;
Symbol 604 MovieClip Frame 5
score = 2;
Symbol 604 MovieClip Frame 6
score = -2;
Symbol 609 MovieClip Frame 1
stop();
Symbol 615 MovieClip Frame 1
stop();
Symbol 621 MovieClip Frame 1
stop();
Symbol 629 MovieClip Frame 1
stop();
score = -10;
Symbol 629 MovieClip Frame 2
score = 1;
Symbol 629 MovieClip Frame 3
score = 4;
Symbol 629 MovieClip Frame 4
score = 6;
Symbol 629 MovieClip Frame 5
score = 3;
Symbol 629 MovieClip Frame 6
score = 2;
Symbol 629 MovieClip Frame 7
score = 5;
Symbol 629 MovieClip Frame 8
score = 7;
Symbol 633 MovieClip Frame 1
stop();
score = 0;
Symbol 633 MovieClip Frame 2
score = 2;
Symbol 633 MovieClip Frame 3
score = 3;
Symbol 633 MovieClip Frame 4
score = 1;
Symbol 638 MovieClip Frame 1
stop();
score = -10;
Symbol 638 MovieClip Frame 2
score = 2;
Symbol 638 MovieClip Frame 3
score = 1;
Symbol 638 MovieClip Frame 4
score = 4;
Symbol 638 MovieClip Frame 5
score = 2;
Symbol 643 MovieClip Frame 1
stop();
score = -10;
Symbol 643 MovieClip Frame 2
score = -2;
Symbol 643 MovieClip Frame 3
score = 3;
Symbol 643 MovieClip Frame 4
score = 1;
Symbol 646 MovieClip Frame 1
stop();
Symbol 652 MovieClip Frame 1
stop();
score = -10;
Symbol 652 MovieClip Frame 2
score = 1;
Symbol 652 MovieClip Frame 3
score = 5;
Symbol 652 MovieClip Frame 4
score = 6;
Symbol 652 MovieClip Frame 5
score = 7;
Symbol 652 MovieClip Frame 6
score = 2;
Symbol 658 MovieClip Frame 1
stop();
score = -10;
Symbol 658 MovieClip Frame 2
score = 1;
Symbol 658 MovieClip Frame 3
score = 2;
Symbol 658 MovieClip Frame 4
score = 7;
Symbol 658 MovieClip Frame 5
score = 3;
Symbol 658 MovieClip Frame 6
score = 5;
Symbol 662 MovieClip Frame 1
stop();
score = -10;
Symbol 662 MovieClip Frame 2
score = 2;
Symbol 662 MovieClip Frame 3
score = 3;
Symbol 662 MovieClip Frame 4
score = 5;
Symbol 666 MovieClip Frame 1
stop();
score = -10;
Symbol 666 MovieClip Frame 2
score = 5;
Symbol 666 MovieClip Frame 3
score = 2;
Symbol 666 MovieClip Frame 4
score = 7;
Symbol 678 MovieClip Frame 1
stop();
Symbol 686 MovieClip Frame 1
stop();
score = -10;
Symbol 686 MovieClip Frame 2
score = 6;
Symbol 686 MovieClip Frame 3
score = 5;
Symbol 686 MovieClip Frame 4
score = 7;
Symbol 686 MovieClip Frame 5
score = 3;
Symbol 686 MovieClip Frame 6
score = 7;
Symbol 686 MovieClip Frame 7
score = 2;
Symbol 686 MovieClip Frame 8
score = 1;
Symbol 693 MovieClip Frame 1
stop();
score = -10;
Symbol 693 MovieClip Frame 2
score = 5;
Symbol 693 MovieClip Frame 3
score = 4;
Symbol 693 MovieClip Frame 4
score = 4;
Symbol 693 MovieClip Frame 5
score = 7;
Symbol 693 MovieClip Frame 6
score = 6;
Symbol 693 MovieClip Frame 7
score = 1;
Symbol 693 MovieClip Frame 8
score = 2;
Symbol 699 MovieClip Frame 1
stop();
score = -10;
Symbol 699 MovieClip Frame 2
score = 3;
Symbol 699 MovieClip Frame 3
score = 3;
Symbol 699 MovieClip Frame 4
score = 4;
Symbol 699 MovieClip Frame 5
score = 6;
Symbol 699 MovieClip Frame 6
score = 2;
Symbol 702 MovieClip Frame 1
stop();
score = -10;
Symbol 702 MovieClip Frame 2
score = 2;
Symbol 702 MovieClip Frame 3
score = 2;
Symbol 702 MovieClip Frame 4
score = 7;
Symbol 702 MovieClip Frame 5
score = 6;
Symbol 702 MovieClip Frame 6
score = 5;
Symbol 708 MovieClip Frame 1
stop();
score = -10;
Symbol 708 MovieClip Frame 2
score = 2;
Symbol 708 MovieClip Frame 3
score = 6;
Symbol 708 MovieClip Frame 4
score = 5;
Symbol 708 MovieClip Frame 5
score = 6;
Symbol 708 MovieClip Frame 6
score = 1;
Symbol 712 MovieClip Frame 1
stop();
score = -10;
Symbol 712 MovieClip Frame 2
score = 2;
Symbol 712 MovieClip Frame 3
score = 3;
Symbol 712 MovieClip Frame 4
score = 7;
Symbol 716 MovieClip Frame 1
stop();
score = -10;
Symbol 716 MovieClip Frame 2
score = 2;
Symbol 716 MovieClip Frame 3
score = 4;
Symbol 716 MovieClip Frame 4
score = 6;
Symbol 721 MovieClip Frame 1
stop();
Symbol 725 MovieClip Frame 1
stop();
Symbol 729 MovieClip Frame 1
stop();
Symbol 732 MovieClip Frame 1
stop();
score = -10;
Symbol 732 MovieClip Frame 2
score = 3;
Symbol 732 MovieClip Frame 3
score = 7;
Symbol 735 MovieClip Frame 1
stop();
score = -10;
Symbol 735 MovieClip Frame 2
score = 4;
Symbol 735 MovieClip Frame 3
score = 7;
Symbol 739 MovieClip Frame 1
stop();
score = -10;
Symbol 739 MovieClip Frame 2
score = 2;
Symbol 739 MovieClip Frame 3
score = 4;
Symbol 739 MovieClip Frame 4
score = 7;
Symbol 742 MovieClip Frame 1
stop();
score = -10;
Symbol 742 MovieClip Frame 2
score = 1;
Symbol 742 MovieClip Frame 3
score = 4;
Symbol 748 MovieClip Frame 1
stop();
Symbol 754 MovieClip Frame 1
stop();
Instance of Symbol 756 MovieClip "btnSubmit" in Symbol 759 MovieClip Frame 1
on (release) {
_root.swHighScoreObject.showTab = "submit";
docount = true;
loadMovieNum (_root.HSHubURL, 2);
}
Instance of Symbol 758 MovieClip "btnSubmit" in Symbol 759 MovieClip Frame 1
on (release) {
_root.swHighScoreObject.showTab = "view";
docount = true;
loadMovieNum (_root.HSHubURL, 2);
}
Instance of Symbol 759 MovieClip in Symbol 760 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(100033);
docount = false;
}
onClipEvent (enterFrame) {
if (docount) {
trycount++;
if ((_level2.getBytesTotal() == -1) && (trycount > 60)) {
docount = false;
trycount = 0;
}
}
}
Symbol 769 MovieClip Frame 1
stop();
if (_root.win) {
gotoAndStop (2);
}
Symbol 769 MovieClip Frame 2
stop();
Symbol 807 MovieClip Frame 1
_root.displayScores(this);