Frame 2
myLoaded = Math.round(getBytesLoaded());
myTotal = Math.round(getBytesTotal());
myPercent = myLoaded / myTotal;
loadingTis_mc._height = myPercent * 187.1;
loadingTis2_mc._height = myPercent * 187.1;
loadingProgress_txt = Math.round(myPercent * 100) + "%";
if (myLoaded == myTotal) {
gotoAndPlay (30);
} else {
gotoAndPlay (1);
}
Frame 90
gotoAndPlay (104);
Frame 517
var introMusic = new Sound();
introMusic.attachSound("IntroMusic");
introMusic.start(0, 0);
Frame 1226
gotoAndPlay (1287);
Frame 1227
stop();
Frame 1287
function testFoot() {
if (footUnlocked == 0) {
if (chainsawBloodyArmsV == 1) {
if (butchersApronBloodyV == 1) {
footUnlocked = 1;
miscMenu2_mc.footQuestion_mc.gotoAndStop(2);
footTip2_mc._x = -8;
footTip2_mc._y = -12;
footTip2_mc.onEnterFrame = function () {
this._alpha = this._alpha + 10;
if (this._alpha >= 100) {
delete this.onEnterFrame;
}
};
}
}
}
}
montyFoot_mc.swapDepths(18345);
footBG_mc.swapDepths(10000);
miscMenu_mc.swapDepths(10023);
teddynation_com.swapDepths(10021);
slideInDown_mc.swapDepths(100024);
footTip1_mc.swapDepths(123134);
footTip2_mc.swapDepths(123135);
footUnlocked = 0;
footTipV = 0;
miscMenu2_mc.foot_btn.onRelease = function () {
if (footTipV == 0) {
if (footUnlocked == 0) {
footTipV = 1;
footTip1_mc._alpha = 0;
footTip1_mc._x = -8;
footTip1_mc._y = -12;
footTip1_mc.onEnterFrame = function () {
this._alpha = this._alpha + 10;
if (this._alpha >= 100) {
delete this.onEnterFrame;
}
};
} else if (footUnlocked == 1) {
montyFoot_mc._y = -500;
footBG_mc._y = -500;
montyFoot_mc.onEnterFrame = function () {
this._y = this._y + 20;
if (this._y >= -15) {
delete this.onEnterFrame;
montyFoot_mc.gotoAndPlay(2);
}
};
footBG_mc.onEnterFrame = function () {
this._y = this._y + 20;
if (this._y >= -15) {
delete this.onEnterFrame;
}
};
}
} else if (footTipV == 1) {
footTip1_mc.onEnterFrame = function () {
this._alpha = this._alpha - 15;
if (this._alpha <= 0) {
delete this.onEnterFrame;
footTip1_mc._x = 1000;
footTipV = 0;
}
};
}
};
footTip1_mc.okaySnowRainTip_btn.onRelease = function () {
footTip1_mc.onEnterFrame = function () {
this._alpha = this._alpha - 15;
if (this._alpha <= 0) {
delete this.onEnterFrame;
footTip1_mc._x = 1000;
footTipV = 0;
}
};
};
footTip2_mc.okaySnowRainTip_btn.onRelease = function () {
footTip2_mc.onEnterFrame = function () {
this._alpha = this._alpha - 15;
if (this._alpha <= 0) {
delete this.onEnterFrame;
footTip2_mc._x = 1000;
}
};
};
function testGrandpa() {
if (ballUnlocked == 0) {
if (grandadGlasses2V == 1) {
if (seamanPipeMouthV == 1) {
ballUnlocked = 1;
miscMenu2_mc.ballQuestion_mc.gotoAndStop(2);
ballTip2_mc._x = -8;
ballTip2_mc._y = -12;
ballTip2_mc.onEnterFrame = function () {
this._alpha = this._alpha + 10;
if (this._alpha >= 100) {
delete this.onEnterFrame;
}
};
}
}
}
}
ball_mc.swapDepths(123450);
ballTip1_mc.swapDepths(123126);
ballTip2_mc.swapDepths(123128);
var ballV = 0;
ballUnlocked = 0;
ballTipV = 0;
ballOnV = 0;
miscMenu2_mc.ballOn_btn.onRelease = function () {
if (ballTipV == 0) {
if (ballUnlocked == 0) {
ballTipV = 1;
ballTip1_mc._alpha = 0;
ballTip1_mc._x = -8;
ballTip1_mc._y = -12;
ballTip1_mc.onEnterFrame = function () {
this._alpha = this._alpha + 10;
if (this._alpha >= 100) {
delete this.onEnterFrame;
}
};
} else if (ballUnlocked == 1) {
if (ballOnV == 0) {
ball_mc.ballOn();
ballOnV = 1;
} else if (ballOnV == 1) {
ball_mc.removeBall();
ballOnV = 0;
}
}
} else if (ballTipV == 1) {
ballTip1_mc.onEnterFrame = function () {
this._alpha = this._alpha - 15;
if (this._alpha <= 0) {
delete this.onEnterFrame;
ballTip1_mc._x = 1000;
ballTipV = 0;
}
};
}
};
ballTip1_mc.okaySnowRainTip_btn.onRelease = function () {
ballTip1_mc.onEnterFrame = function () {
this._alpha = this._alpha - 15;
if (this._alpha <= 0) {
delete this.onEnterFrame;
ballTip1_mc._x = 1000;
ballTipV = 0;
}
};
};
ballTip2_mc.okaySnowRainTip_btn.onRelease = function () {
ballTip2_mc.onEnterFrame = function () {
this._alpha = this._alpha - 15;
if (this._alpha <= 0) {
delete this.onEnterFrame;
ballTip2_mc._x = 1000;
}
};
};
function testSamurai() {
if (rainSnowUnlocked == 0) {
if (samuraiHelmetBlackV == 1) {
if (samuraiTorsoBlackV == 1) {
if (samuraiLegsBlackV == 1) {
rainSnowUnlocked = 1;
miscMenu2_mc.textQuestion_mc.gotoAndStop(2);
rainSnowTip2_mc._x = -8;
rainSnowTip2_mc._y = -12;
rainSnowTip2_mc.onEnterFrame = function () {
this._alpha = this._alpha + 10;
if (this._alpha >= 100) {
delete this.onEnterFrame;
}
};
} else if (samuraiLegsBlack2V == 1) {
rainSnowUnlocked = 1;
miscMenu2_mc.textQuestion_mc.gotoAndStop(2);
rainSnowTip2_mc._x = -8;
rainSnowTip2_mc._y = -12;
rainSnowTip2_mc.onEnterFrame = function () {
this._alpha = this._alpha + 10;
if (this._alpha >= 100) {
delete this.onEnterFrame;
}
};
}
}
}
}
}
function addSnow() {
i = 0;
myInterval = setInterval(addFlake, 300);
}
function removeSnow() {
clearInterval(myInterval);
unloadMovie (this.canvas_mc.flake0);
unloadMovie (this.canvas_mc.flake1);
unloadMovie (this.canvas_mc.flake2);
unloadMovie (this.canvas_mc.flake3);
unloadMovie (this.canvas_mc.flake4);
unloadMovie (this.canvas_mc.flake5);
unloadMovie (this.canvas_mc.flake6);
unloadMovie (this.canvas_mc.flake7);
unloadMovie (this.canvas_mc.flake8);
unloadMovie (this.canvas_mc.flake9);
unloadMovie (this.canvas_mc.flake10);
unloadMovie (this.canvas_mc.flake11);
unloadMovie (this.canvas_mc.flake12);
unloadMovie (this.canvas_mc.flake13);
unloadMovie (this.canvas_mc.flake14);
unloadMovie (this.canvas_mc.flake15);
unloadMovie (this.canvas_mc.flake16);
unloadMovie (this.canvas_mc.flake17);
unloadMovie (this.canvas_mc.flake18);
unloadMovie (this.canvas_mc.flake19);
unloadMovie (this.canvas_mc.flake20);
unloadMovie (this.canvas_mc.flake21);
unloadMovie (this.canvas_mc.flake22);
unloadMovie (this.canvas_mc.flake23);
unloadMovie (this.canvas_mc.flake24);
unloadMovie (this.canvas_mc.flake25);
unloadMovie (this.canvas_mc.flake26);
unloadMovie (this.canvas_mc.flake27);
unloadMovie (this.canvas_mc.flake28);
unloadMovie (this.canvas_mc.flake29);
unloadMovie (this.canvas_mc.flake30);
}
function addFlake() {
if (i < 30) {
var _local1 = canvas_mc.attachMovie("snowFlake", "flake" + i, 10023 + i);
i++;
_local1._yscale = (_local1._xscale = (Math.random() * 50) + 30);
_local1._x = (Math.random() * 650) - 200;
_local1._y = -50;
_local1._alpha = (Math.random() * 10) + 90;
}
}
function removeRain() {
clearInterval(myInterval2);
unloadMovie (this.canvas2_mc.rainy0);
unloadMovie (this.canvas2_mc.rainy1);
unloadMovie (this.canvas2_mc.rainy2);
unloadMovie (this.canvas2_mc.rainy3);
unloadMovie (this.canvas2_mc.rainy4);
unloadMovie (this.canvas2_mc.rainy5);
unloadMovie (this.canvas2_mc.rainy6);
unloadMovie (this.canvas2_mc.rainy7);
unloadMovie (this.canvas2_mc.rainy8);
unloadMovie (this.canvas2_mc.rainy9);
unloadMovie (this.canvas2_mc.rainy10);
unloadMovie (this.canvas2_mc.rainy11);
unloadMovie (this.canvas2_mc.rainy12);
unloadMovie (this.canvas2_mc.rainy13);
unloadMovie (this.canvas2_mc.rainy14);
unloadMovie (this.canvas2_mc.rainy15);
unloadMovie (this.canvas2_mc.rainy16);
unloadMovie (this.canvas2_mc.rainy17);
unloadMovie (this.canvas2_mc.rainy18);
unloadMovie (this.canvas2_mc.rainy19);
unloadMovie (this.canvas2_mc.rainy20);
unloadMovie (this.canvas2_mc.rainy21);
unloadMovie (this.canvas2_mc.rainy22);
unloadMovie (this.canvas2_mc.rainy23);
unloadMovie (this.canvas2_mc.rainy24);
unloadMovie (this.canvas2_mc.rainy25);
unloadMovie (this.canvas2_mc.rainy26);
unloadMovie (this.canvas2_mc.rainy27);
unloadMovie (this.canvas2_mc.rainy28);
unloadMovie (this.canvas2_mc.rainy29);
unloadMovie (this.canvas2_mc.rainy30);
}
function addRain() {
if (uno < 30) {
var _local1 = canvas2_mc.attachMovie("rain", "rainy" + uno, 10023 + uno);
uno++;
_local1._yscale = (t._xscale = (Math.random() * 50) + 30);
_local1._x = Math.random() * 550;
_local1._y = -50;
_local1._alpha = (Math.random() * 40) + 30;
}
}
this.createEmptyMovieClip("canvas_mc", 123000);
rainSnowTip1_mc.swapDepths(123125);
rainSnowTip2_mc.swapDepths(123124);
var snowV = 0;
rainSnowUnlocked = 0;
rainSnowV = 0;
miscMenu2_mc.snowFall_btn.onRelease = function () {
if (rainSnowV == 0) {
if (rainSnowUnlocked == 0) {
rainSnowV = 1;
rainSnowTip1_mc._alpha = 0;
rainSnowTip1_mc._x = -8;
rainSnowTip1_mc._y = -12;
rainSnowTip1_mc.onEnterFrame = function () {
this._alpha = this._alpha + 10;
if (this._alpha >= 100) {
delete this.onEnterFrame;
}
};
} else if (rainSnowUnlocked == 1) {
if (snowV == 0) {
addSnow();
snowV = 1;
} else if (snowV == 1) {
removeSnow();
snowV = 0;
}
}
} else if (rainSnowV == 1) {
rainSnowTip1_mc.onEnterFrame = function () {
this._alpha = this._alpha - 15;
if (this._alpha <= 0) {
delete this.onEnterFrame;
rainSnowTip1_mc._x = 1000;
rainSnowV = 0;
}
};
}
};
rainSnowTip1_mc.okaySnowRainTip_btn.onRelease = function () {
rainSnowTip1_mc.onEnterFrame = function () {
this._alpha = this._alpha - 15;
if (this._alpha <= 0) {
delete this.onEnterFrame;
rainSnowTip1_mc._x = 1000;
rainSnowV = 0;
}
};
};
rainSnowTip2_mc.okaySnowRainTip_btn.onRelease = function () {
rainSnowTip2_mc.onEnterFrame = function () {
this._alpha = this._alpha - 15;
if (this._alpha <= 0) {
delete this.onEnterFrame;
rainSnowTip2_mc._x = 1000;
}
};
};
this.createEmptyMovieClip("canvas2_mc", 123001);
var rainV = 0;
miscMenu2_mc.rainFall_btn.onRelease = function () {
if (rainSnowV == 0) {
if (rainSnowUnlocked == 0) {
rainSnowV = 1;
rainSnowTip1_mc._alpha = 0;
rainSnowTip1_mc._x = -8;
rainSnowTip1_mc._y = -12;
rainSnowTip1_mc.onEnterFrame = function () {
this._alpha = this._alpha + 10;
if (this._alpha >= 100) {
delete this.onEnterFrame;
}
};
} else if (rainSnowUnlocked == 1) {
if (rainV == 0) {
uno = 0;
myInterval2 = setInterval(addRain, 400);
rainV = 1;
} else if (rainV == 1) {
removeRain();
rainV = 0;
}
}
} else if (rainSnowV == 1) {
rainSnowTip1_mc.onEnterFrame = function () {
this._alpha = this._alpha - 15;
if (this._alpha <= 0) {
delete this.onEnterFrame;
rainSnowTip1_mc._x = 1000;
rainSnowV = 0;
}
};
}
};
helpWindow_mc.swapDepths(1000123);
helpWindowV = 0;
buttons_mc.helpUp_btn.onRelease = function () {
if (helpWindowV == 0) {
helpWindow_mc._alpha = 0;
helpWindow_mc._x = -10;
helpWindow_mc._y = -18;
helpWindowV = 1;
helpWindow_mc.onEnterFrame = function () {
this._alpha = this._alpha + 10;
if (this._alpha >= 100) {
delete this.onEnterFrame;
}
};
} else if (helpWindowV == 1) {
helpWindow_mc.onEnterFrame = function () {
this._alpha = this._alpha - 15;
if (this._alpha <= 0) {
delete this.onEnterFrame;
this._x = 1000;
helpWindowV = 0;
}
};
}
};
helpWindow_mc.closeHelp_btn.onRelease = function () {
helpWindow_mc.onEnterFrame = function () {
this._alpha = this._alpha - 15;
if (this._alpha <= 0) {
delete this.onEnterFrame;
this._x = 1000;
helpWindowV = 0;
}
};
};
resetQuestion_mc.swapDepths(getNextHighestDepth());
resetAllV = 0;
resetMenu_mc.removeAll_btn.onRelease = function () {
if (resetAllV == 0) {
resetAllV = 1;
resetQuestion_mc._alpha = 0;
resetQuestion_mc._x = -8;
resetQuestion_mc._y = -12;
resetQuestion_mc.onEnterFrame = function () {
this._alpha = this._alpha + 10;
if (this._alpha >= 100) {
delete this.onEnterFrame;
}
};
} else if (resetAllV == 1) {
resetQuestion_mc.onEnterFrame = function () {
this._alpha = this._alpha - 15;
if (this._alpha <= 0) {
delete this.onEnterFrame;
resetQuestion_mc._x = 1000;
resetAllV = 0;
}
};
}
};
resetQuestion_mc.yesReset_btn.onRelease = function () {
firearmsMenuRemove();
mouthMenuRemove();
menusOut();
allColorPanelsUp();
removeSnow();
removeRain();
ball_mc.removeBall();
helmetsAllUnload();
allHairGone();
hatsMiscUnload();
hatsAllUnload();
shirtsGone();
vestsGone();
tShirtsGone();
bodyArmorGone();
otherTorsoGone();
jacketsGone();
allOldFirearmsGone();
extraMeleeArmsGone();
allBigFirearmsGone();
firearmsModernGone();
allFutureFirearmsGone();
meleeArmsGone();
alternativeWaysGone();
smallBaldesGone();
allSwordsArmoredGone();
futureSwordsGone();
templateArm1_mc._alpha = 100;
templateArm2_mc._alpha = 100;
wingsGone();
nosesGone();
necklaceGone();
masksGone();
fullbeardsGone();
goateesGone();
mustacheGone();
glasses1Gone();
glasses2Gone();
eyeGear1Gone();
eyeGear2Gone();
sunglasses1Gone();
sunglasses2Gone();
mouth1Gone();
mouth2Gone();
creatureMouthGone();
smokingMouthGone();
pantsGone();
otherPantsGone();
armorLegsGone1();
miscArmsGone();
armorLegsGone2();
templateLegs_mc._alpha = 100;
eyes1Gone();
eyes2Gone();
templateEyes_mc._alpha = 100;
templateMouth_mc._alpha = 100;
resetQuestion_mc.onEnterFrame = function () {
this._alpha = this._alpha - 15;
if (this._alpha <= 0) {
delete this.onEnterFrame;
resetQuestion_mc._x = 1000;
resetAllV = 0;
}
};
};
resetQuestion_mc.resetNo_btn.onRelease = function () {
resetQuestion_mc.onEnterFrame = function () {
this._alpha = this._alpha - 15;
if (this._alpha <= 0) {
delete this.onEnterFrame;
resetQuestion_mc._x = 1000;
resetAllV = 0;
}
};
};
resetMenu_mc.removeHair_btn.onRelease = function () {
helmetsAllUnload();
allHairGone();
hatsMiscUnload();
hatsAllUnload();
};
resetHair_mc.resetHair_btn.onRelease = function () {
helmetsAllUnload();
allHairGone();
hatsMiscUnload();
hatsAllUnload();
fullbeardsGone();
goateesGone();
mustacheGone();
};
resetMenu_mc.removeBeard_btn.onRelease = function () {
fullbeardsGone();
goateesGone();
mustacheGone();
};
resetMenu_mc.removeMasks_btn.onRelease = function () {
masksGone();
nosesGone();
};
resetFace_mc.resetFace_btn.onRelease = function () {
masksGone();
nosesGone();
mouth1Gone();
mouth2Gone();
eyes1Gone();
eyes2Gone();
creatureMouthGone();
smokingMouthGone();
templateEyes_mc._alpha = 100;
templateMouth_mc._alpha = 100;
};
resetMenu_mc.removeGlasses_btn.onRelease = function () {
glasses1Gone();
glasses2Gone();
eyeGear1Gone();
eyeGear2Gone();
sunglasses1Gone();
sunglasses2Gone();
};
resetGlasses_mc.resetGlasses_btn.onRelease = function () {
glasses1Gone();
glasses2Gone();
eyeGear1Gone();
eyeGear2Gone();
sunglasses1Gone();
sunglasses2Gone();
};
resetMenu_mc.removeWeapons_btn.onRelease = function () {
allOldFirearmsGone();
extraMeleeArmsGone();
allBigFirearmsGone();
allFutureFirearmsGone();
alternativeWaysGone();
meleeArmsGone();
smallBaldesGone();
allSwordsArmoredGone();
futureSwordsGone();
firearmsModernGone();
miscArmsGone();
templateArm1_mc._alpha = 100;
templateArm2_mc._alpha = 100;
};
resetWeapons_mc.resetWeapons_btn.onRelease = function () {
allOldFirearmsGone();
extraMeleeArmsGone();
allBigFirearmsGone();
allFutureFirearmsGone();
alternativeWaysGone();
smallBaldesGone();
allSwordsArmoredGone();
meleeArmsGone();
futureSwordsGone();
firearmsModernGone();
miscArmsGone();
templateArm1_mc._alpha = 100;
templateArm2_mc._alpha = 100;
};
resetMenu_mc.removeTorso_btn.onRelease = function () {
shirtsGone();
vestsGone();
tShirtsGone();
bodyArmorGone();
otherTorsoGone();
jacketsGone();
necklaceGone();
};
resetTorso_mc.resetTorso_btn.onRelease = function () {
shirtsGone();
vestsGone();
tShirtsGone();
bodyArmorGone();
otherTorsoGone();
jacketsGone();
necklaceGone();
};
resetMenu_mc.removeLegs_btn.onRelease = function () {
pantsGone();
otherPantsGone();
armorLegsGone1();
armorLegsGone2();
templateLegs_mc._alpha = 100;
};
resetLegs_mc.resetLegs_btn.onRelease = function () {
pantsGone();
otherPantsGone();
armorLegsGone1();
armorLegsGone2();
templateLegs_mc._alpha = 100;
};
function jacketsGone() {
unloadMovie (jungleJacket_mc);
unloadMovie (desertJacket_mc);
desertJacketV = 0;
jungleJacketV = 0;
}
var torsoLayerValue = 6000;
var desertJacketV = 0;
jacketsMenu_mc.desertJacket_btn.onRelease = function () {
if (desertJacketV == 0) {
unloadMovie (jungleJacket_mc);
jungleJacketV = 0;
shirtsGone();
tShirtsGone();
weaponsVest();
bodyArmorGone();
otherTorsoGone();
vestsGone();
_root.attachMovie("desertJacket_mc", "desertJacket_mc", torsoLayerValue, {_x:217.7, _y:139.1});
desertJacketV = 1;
} else if (desertJacketV == 1) {
unloadMovie (desertJacket_mc);
desertJacketV = 0;
}
};
var jungleJacketV = 0;
jacketsMenu_mc.jungleJacket_btn.onRelease = function () {
if (jungleJacketV == 0) {
unloadMovie (desertJacket_mc);
desertJacketV = 0;
shirtsGone();
weaponsVest();
tShirtsGone();
bodyArmorGone();
otherTorsoGone();
vestsGone();
_root.attachMovie("jungleJacket_mc", "jungleJacket_mc", torsoLayerValue, {_x:217.7, _y:139.1});
jungleJacketV = 1;
} else if (jungleJacketV == 1) {
unloadMovie (jungleJacket_mc);
jungleJacketV = 0;
}
};
function allOtherThanFutureSwordsGone() {
allOldFirearmsGone();
extraMeleeArmsGone();
allBigFirearmsGone();
allFutureFirearmsGone();
alternativeWaysGone();
meleeArmsGone();
smallBaldesGone();
allSwordsArmoredGone();
firearmsModernGone();
miscArmsGone();
}
function futureSwordsGone() {
unloadMovie (lightsaberOrange_mc);
unloadMovie (lightsaberOrange2_mc);
unloadMovie (lightsaberYellow_mc);
unloadMovie (lightsaberYellow2_mc);
unloadMovie (lightsaberRed_mc);
unloadMovie (lightsaberRed2_mc);
unloadMovie (lightsaberPurple_mc);
unloadMovie (lightsaberPurple2_mc);
unloadMovie (lightsaberGreen_mc);
unloadMovie (lightsaberGreen2_mc);
unloadMovie (lightsaberBlue_mc);
unloadMovie (lightsaberBlue2_mc);
unloadMovie (plasmaSword_mc);
unloadMovie (armBlades_mc);
unloadMovie (armBlades2_mc);
armBladesV = 0;
plasmaSwordV = 0;
lightsaberBlueV = 0;
lightsaberGreenV = 0;
lightsaberPurpleV = 0;
lightsaberRedV = 0;
lightsaberYellowV = 0;
lightsaberOrangeV = 0;
}
function futureSwordsColorDown() {
if (futureSwordsColorV == 1) {
futureSwordsColorUp();
} else if (futureSwordsColorV == 0) {
futureSwordsColorV = 1;
futureSwordsColorPanel_mc.onEnterFrame = function () {
this._y = this._y + 10;
if (this._y > -10) {
delete this.onEnterFrame;
}
};
}
}
function futureSwordsColorUp() {
futureSwordsColorPanel_mc._y = -140;
futureSwordsColorV = 0;
}
var armsLayerValue = 9500;
var armsLayerValueLeft = 5550;
var armsLayerValue2 = 5500;
var armsLayerValue3 = 9000;
var armsLayerValue4 = 9700;
var futureSwordsColorV = 0;
futureSwordsMenu_mc.lightsaberArms_btn.onRelease = function () {
futureSwordsColorDown();
};
var lightsaberOrangeV = 0;
futureSwordsColorPanel_mc.futureSwordsOrange_btn.onRelease = function () {
if (lightsaberOrangeV == 0) {
allOtherThanFutureSwordsGone();
unloadMovie (lightsaberYellow_mc);
unloadMovie (lightsaberYellow2_mc);
unloadMovie (lightsaberRed_mc);
unloadMovie (lightsaberRed2_mc);
unloadMovie (lightsaberPurple_mc);
unloadMovie (lightsaberPurple2_mc);
unloadMovie (lightsaberGreen_mc);
unloadMovie (lightsaberGreen2_mc);
unloadMovie (lightsaberBlue_mc);
unloadMovie (lightsaberBlue2_mc);
unloadMovie (plasmaSword_mc);
unloadMovie (armBlades_mc);
unloadMovie (armBlades2_mc);
unloadMovie (sawGun_mc);
sawGunV = 0;
armBladesV = 0;
plasmaSwordV = 0;
lightsaberBlueV = 0;
lightsaberGreenV = 0;
lightsaberPurpleV = 0;
lightsaberRedV = 0;
lightsaberYellowV = 0;
_root.attachMovie("lightsaberOrange_mc", "lightsaberOrange_mc", armsLayerValue, {_x:56.2, _y:-134});
_root.attachMovie("lightsaberOrange2_mc", "lightsaberOrange2_mc", armsLayerValue2, {_x:186.9, _y:158.8});
lightsaberOrangeV = 1;
templateArm1_mc._alpha = 0;
templateArm2_mc._alpha = 0;
} else if (lightsaberOrangeV == 1) {
unloadMovie (lightsaberOrange_mc);
unloadMovie (lightsaberOrange2_mc);
lightsaberOrangeV = 0;
templateArm1_mc._alpha = 100;
templateArm2_mc._alpha = 100;
}
};
var lightsaberYellowV = 0;
futureSwordsColorPanel_mc.futureSwordsYellow_btn.onRelease = function () {
if (lightsaberYellowV == 0) {
allOtherThanFutureSwordsGone();
unloadMovie (lightsaberOrange_mc);
unloadMovie (lightsaberOrange2_mc);
unloadMovie (lightsaberRed_mc);
unloadMovie (lightsaberRed2_mc);
unloadMovie (lightsaberPurple_mc);
unloadMovie (lightsaberPurple2_mc);
unloadMovie (lightsaberGreen_mc);
unloadMovie (lightsaberGreen2_mc);
unloadMovie (lightsaberBlue_mc);
unloadMovie (lightsaberBlue2_mc);
unloadMovie (plasmaSword_mc);
unloadMovie (armBlades_mc);
unloadMovie (armBlades2_mc);
unloadMovie (sawGun_mc);
sawGunV = 0;
armBladesV = 0;
plasmaSwordV = 0;
lightsaberBlueV = 0;
lightsaberGreenV = 0;
lightsaberPurpleV = 0;
lightsaberRedV = 0;
lightsaberOrangeV = 0;
_root.attachMovie("lightsaberYellow_mc", "lightsaberYellow_mc", armsLayerValue, {_x:74, _y:-126});
_root.attachMovie("lightsaberYellow2_mc", "lightsaberYellow2_mc", armsLayerValue2, {_x:188.2, _y:160.3});
lightsaberYellowV = 1;
templateArm1_mc._alpha = 0;
templateArm2_mc._alpha = 0;
} else if (lightsaberYellowV == 1) {
unloadMovie (lightsaberYellow_mc);
unloadMovie (lightsaberYellow2_mc);
lightsaberYellowV = 0;
templateArm1_mc._alpha = 100;
templateArm2_mc._alpha = 100;
}
};
var lightsaberRedV = 0;
futureSwordsColorPanel_mc.futureSwordsRed_btn.onRelease = function () {
if (lightsaberRedV == 0) {
allOtherThanFutureSwordsGone();
unloadMovie (lightsaberOrange_mc);
unloadMovie (lightsaberOrange2_mc);
unloadMovie (lightsaberYellow_mc);
unloadMovie (lightsaberYellow2_mc);
unloadMovie (lightsaberPurple_mc);
unloadMovie (lightsaberPurple2_mc);
unloadMovie (lightsaberGreen_mc);
unloadMovie (lightsaberGreen2_mc);
unloadMovie (lightsaberBlue_mc);
unloadMovie (lightsaberBlue2_mc);
unloadMovie (plasmaSword_mc);
unloadMovie (armBlades_mc);
unloadMovie (armBlades2_mc);
unloadMovie (sawGun_mc);
sawGunV = 0;
armBladesV = 0;
plasmaSwordV = 0;
lightsaberBlueV = 0;
lightsaberGreenV = 0;
lightsaberPurpleV = 0;
lightsaberYellowV = 0;
lightsaberOrangeV = 0;
_root.attachMovie("lightsaberRed_mc", "lightsaberRed_mc", armsLayerValue, {_x:60.1, _y:-123.3});
_root.attachMovie("lightsaberRed2_mc", "lightsaberRed2_mc", armsLayerValue2, {_x:176.2, _y:161.7});
lightsaberRedV = 1;
templateArm1_mc._alpha = 0;
templateArm2_mc._alpha = 0;
} else if (lightsaberRedV == 1) {
unloadMovie (lightsaberRed_mc);
unloadMovie (lightsaberRed2_mc);
lightsaberRedV = 0;
templateArm1_mc._alpha = 100;
templateArm2_mc._alpha = 100;
}
};
var lightsaberPurpleV = 0;
futureSwordsColorPanel_mc.futureSwordsPurple_btn.onRelease = function () {
if (lightsaberPurpleV == 0) {
allOtherThanFutureSwordsGone();
unloadMovie (lightsaberOrange_mc);
unloadMovie (lightsaberOrange2_mc);
unloadMovie (lightsaberYellow_mc);
unloadMovie (lightsaberYellow2_mc);
unloadMovie (lightsaberRed_mc);
unloadMovie (lightsaberRed2_mc);
unloadMovie (lightsaberGreen_mc);
unloadMovie (lightsaberGreen2_mc);
unloadMovie (lightsaberBlue_mc);
unloadMovie (lightsaberBlue2_mc);
unloadMovie (plasmaSword_mc);
unloadMovie (armBlades_mc);
unloadMovie (armBlades2_mc);
unloadMovie (sawGun_mc);
sawGunV = 0;
armBladesV = 0;
plasmaSwordV = 0;
lightsaberBlueV = 0;
lightsaberGreenV = 0;
lightsaberRedV = 0;
lightsaberYellowV = 0;
lightsaberOrangeV = 0;
_root.attachMovie("lightsaberPurple_mc", "lightsaberPurple_mc", armsLayerValue, {_x:80.1, _y:-127});
_root.attachMovie("lightsaberPurple2_mc", "lightsaberPurple2_mc", armsLayerValue2, {_x:177.4, _y:159.3});
lightsaberPurpleV = 1;
templateArm1_mc._alpha = 0;
templateArm2_mc._alpha = 0;
} else if (lightsaberPurpleV == 1) {
unloadMovie (lightsaberPurple_mc);
unloadMovie (lightsaberPurple2_mc);
lightsaberPurpleV = 0;
templateArm1_mc._alpha = 100;
templateArm2_mc._alpha = 100;
}
};
var lightsaberGreenV = 0;
futureSwordsColorPanel_mc.futureSwordsGreen_btn.onRelease = function () {
if (lightsaberGreenV == 0) {
allOtherThanFutureSwordsGone();
unloadMovie (lightsaberOrange_mc);
unloadMovie (lightsaberOrange2_mc);
unloadMovie (lightsaberYellow_mc);
unloadMovie (lightsaberYellow2_mc);
unloadMovie (lightsaberRed_mc);
unloadMovie (lightsaberRed2_mc);
unloadMovie (lightsaberPurple_mc);
unloadMovie (lightsaberPurple2_mc);
unloadMovie (lightsaberBlue_mc);
unloadMovie (lightsaberBlue2_mc);
unloadMovie (plasmaSword_mc);
unloadMovie (armBlades_mc);
unloadMovie (armBlades2_mc);
unloadMovie (sawGun_mc);
sawGunV = 0;
armBladesV = 0;
plasmaSwordV = 0;
lightsaberBlueV = 0;
lightsaberPurpleV = 0;
lightsaberRedV = 0;
lightsaberYellowV = 0;
lightsaberOrangeV = 0;
_root.attachMovie("lightsaberGreen_mc", "lightsaberGreen_mc", armsLayerValue, {_x:59, _y:-123.1});
_root.attachMovie("lightsaberGreen2_mc", "lightsaberGreen2_mc", armsLayerValue2, {_x:165.7, _y:161.9});
lightsaberGreenV = 1;
templateArm1_mc._alpha = 0;
templateArm2_mc._alpha = 0;
} else if (lightsaberGreenV == 1) {
unloadMovie (lightsaberGreen_mc);
unloadMovie (lightsaberGreen2_mc);
lightsaberGreenV = 0;
templateArm1_mc._alpha = 100;
templateArm2_mc._alpha = 100;
}
};
var lightsaberBlueV = 0;
futureSwordsColorPanel_mc.futureSwordsBlue_btn.onRelease = function () {
if (lightsaberBlueV == 0) {
allOtherThanFutureSwordsGone();
unloadMovie (lightsaberOrange_mc);
unloadMovie (lightsaberOrange2_mc);
unloadMovie (lightsaberYellow_mc);
unloadMovie (lightsaberYellow2_mc);
unloadMovie (lightsaberRed_mc);
unloadMovie (lightsaberRed2_mc);
unloadMovie (lightsaberPurple_mc);
unloadMovie (lightsaberPurple2_mc);
unloadMovie (lightsaberGreen_mc);
unloadMovie (lightsaberGreen2_mc);
unloadMovie (plasmaSword_mc);
unloadMovie (armBlades_mc);
unloadMovie (armBlades2_mc);
unloadMovie (sawGun_mc);
sawGunV = 0;
armBladesV = 0;
plasmaSwordV = 0;
lightsaberGreenV = 0;
lightsaberPurpleV = 0;
lightsaberRedV = 0;
lightsaberYellowV = 0;
lightsaberOrangeV = 0;
_root.attachMovie("lightsaberBlue_mc", "lightsaberBlue_mc", armsLayerValue, {_x:70, _y:-113.1});
_root.attachMovie("lightsaberBlue2_mc", "lightsaberBlue2_mc", armsLayerValue2, {_x:142.6, _y:157.3});
lightsaberBlueV = 1;
templateArm1_mc._alpha = 0;
templateArm2_mc._alpha = 0;
} else if (lightsaberBlueV == 1) {
unloadMovie (lightsaberBlue_mc);
unloadMovie (lightsaberBlue2_mc);
lightsaberBlueV = 0;
templateArm1_mc._alpha = 100;
templateArm2_mc._alpha = 100;
}
};
var plasmaSwordV = 0;
futureSwordsMenu_mc.plasmaSword_btn.onRelease = function () {
if (plasmaSwordV == 0) {
allOtherThanFutureSwordsGone();
unloadMovie (lightsaberOrange_mc);
unloadMovie (lightsaberOrange2_mc);
unloadMovie (lightsaberYellow_mc);
unloadMovie (lightsaberYellow2_mc);
unloadMovie (lightsaberRed_mc);
unloadMovie (lightsaberRed2_mc);
unloadMovie (lightsaberPurple_mc);
unloadMovie (lightsaberPurple2_mc);
unloadMovie (lightsaberGreen_mc);
unloadMovie (lightsaberGreen2_mc);
unloadMovie (lightsaberBlue_mc);
unloadMovie (lightsaberBlue2_mc);
unloadMovie (armBlades_mc);
unloadMovie (armBlades2_mc);
unloadMovie (sawGun_mc);
sawGunV = 0;
armBladesV = 0;
lightsaberBlueV = 0;
lightsaberGreenV = 0;
lightsaberPurpleV = 0;
lightsaberRedV = 0;
lightsaberYellowV = 0;
lightsaberOrangeV = 0;
_root.attachMovie("plasmaSword_mc", "plasmaSword_mc", armsLayerValue, {_x:204.8, _y:-33.6});
plasmaSwordV = 1;
templateArm1_mc._alpha = 0;
templateArm2_mc._alpha = 0;
} else if (plasmaSwordV == 1) {
unloadMovie (plasmaSword_mc);
plasmaSwordV = 0;
templateArm1_mc._alpha = 100;
templateArm2_mc._alpha = 100;
}
};
var armBladesV = 0;
futureSwordsMenu_mc.armBlades_btn.onRelease = function () {
if (armBladesV == 0) {
allOtherThanFutureSwordsGone();
unloadMovie (lightsaberOrange_mc);
unloadMovie (lightsaberOrange2_mc);
unloadMovie (lightsaberYellow_mc);
unloadMovie (lightsaberYellow2_mc);
unloadMovie (lightsaberRed_mc);
unloadMovie (lightsaberRed2_mc);
unloadMovie (lightsaberPurple_mc);
unloadMovie (lightsaberPurple2_mc);
unloadMovie (lightsaberGreen_mc);
unloadMovie (lightsaberGreen2_mc);
unloadMovie (lightsaberBlue_mc);
unloadMovie (lightsaberBlue2_mc);
unloadMovie (plasmaSword_mc);
unloadMovie (sawGun_mc);
sawGunV = 0;
plasmaSwordV = 0;
lightsaberBlueV = 0;
lightsaberGreenV = 0;
lightsaberPurpleV = 0;
lightsaberRedV = 0;
lightsaberYellowV = 0;
lightsaberOrangeV = 0;
_root.attachMovie("armBlades_mc", "armBlades_mc", armsLayerValue, {_x:216.9, _y:137.9});
_root.attachMovie("armBlades2_mc", "armBlades2_mc", armsLayerValue2, {_x:172.4, _y:137.9});
armBladesV = 1;
templateArm1_mc._alpha = 0;
templateArm2_mc._alpha = 0;
} else if (armBladesV == 1) {
unloadMovie (armBlades_mc);
unloadMovie (armBlades2_mc);
armBladesV = 0;
templateArm1_mc._alpha = 100;
templateArm2_mc._alpha = 100;
}
};
function miscArmsGone() {
unloadMovie (drinkArm_mc);
unloadMovie (cellPhoneArms1_mc);
unloadMovie (cellPhoneArms2_mc);
unloadMovie (handsUp_mc);
unloadMovie (handsUp2_mc);
unloadMovie (magicWand1_mc);
unloadMovie (magicWand2_mc);
magicWandMiscV = 0;
handsUpMiscV = 0;
cellPhoneMiscV = 0;
cocktailMiscV = 0;
}
var miscLayerValue = 10015;
var haloMiscV = 0;
miscMenu_mc.haloMisc_btn.onRelease = function () {
if (haloMiscV == 0) {
_root.attachMovie("haloMisc_mc", "haloMisc_mc", miscLayerValue, {_x:235.8, _y:29});
haloMiscV = 1;
} else if (haloMiscV == 1) {
unloadMovie (haloMisc_mc);
haloMiscV = 0;
}
};
var cocktailMiscV = 0;
miscMenu_mc.cocktailMisc_btn.onRelease = function () {
if (cocktailMiscV == 0) {
unloadMovie (cellPhoneArms1_mc);
unloadMovie (cellPhoneArms2_mc);
unloadMovie (handsUp_mc);
unloadMovie (handsUp2_mc);
unloadMovie (magicWand1_mc);
unloadMovie (magicWand2_mc);
magicWandMiscV = 0;
handsUpMiscV = 0;
cellPhoneMiscV = 0;
allOldFirearmsGone();
extraMeleeArmsGone();
allBigFirearmsGone();
allFutureFirearmsGone();
alternativeWaysGone();
meleeArmsGone();
smallBaldesGone();
allSwordsArmoredGone();
futureSwordsGone();
firearmsModernGone();
_root.attachMovie("drinkArm_mc", "drinkArm_mc", armsLayerValue, {_x:195.6, _y:132.6});
cocktailMiscV = 1;
templateArm1_mc._alpha = 0;
templateArm2_mc._alpha = 100;
} else if (cocktailMiscV == 1) {
unloadMovie (drinkArm_mc);
cocktailMiscV = 0;
templateArm1_mc._alpha = 100;
}
};
var cellPhoneMiscV = 0;
miscMenu_mc.cellPhoneMisc_btn.onRelease = function () {
if (cellPhoneMiscV == 0) {
unloadMovie (drinkArm_mc);
unloadMovie (handsUp_mc);
unloadMovie (handsUp2_mc);
handsUpMiscV = 0;
cocktailMiscV = 0;
allOldFirearmsGone();
extraMeleeArmsGone();
allBigFirearmsGone();
allFutureFirearmsGone();
alternativeWaysGone();
smallBaldesGone();
allSwordsArmoredGone();
meleeArmsGone();
futureSwordsGone();
firearmsModernGone();
_root.attachMovie("cellPhoneArms1_mc", "cellPhoneArms1_mc", 9710, {_x:217.8, _y:60.8});
_root.attachMovie("cellPhoneArms2_mc", "cellPhoneArms2_mc", armsLayerValue2, {_x:217.8, _y:128.3});
cellPhoneMiscV = 1;
templateArm1_mc._alpha = 0;
templateArm2_mc._alpha = 0;
} else if (cellPhoneMiscV == 1) {
unloadMovie (cellPhoneArms1_mc);
unloadMovie (cellPhoneArms2_mc);
cellPhoneMiscV = 0;
templateArm1_mc._alpha = 100;
templateArm2_mc._alpha = 100;
}
};
var handsUpMiscV = 0;
miscMenu_mc.handsUpMisc_btn.onRelease = function () {
if (handsUpMiscV == 0) {
unloadMovie (drinkArm_mc);
unloadMovie (cellPhoneArms1_mc);
unloadMovie (cellPhoneArms2_mc);
unloadMovie (magicWand1_mc);
unloadMovie (magicWand2_mc);
magicWandMiscV = 0;
handsUpMiscV = 0;
cellPhoneMiscV = 0;
cocktailMiscV = 0;
allOldFirearmsGone();
extraMeleeArmsGone();
allBigFirearmsGone();
allFutureFirearmsGone();
alternativeWaysGone();
smallBaldesGone();
allSwordsArmoredGone();
meleeArmsGone();
futureSwordsGone();
firearmsModernGone();
_root.attachMovie("handsUp_mc", "handsUp_mc", 9710, {_x:279.9, _y:21.7});
_root.attachMovie("handsUp2_mc", "handsUp2_mc", 138, {_x:221.9, _y:24.7});
handsUpMiscV = 1;
templateArm1_mc._alpha = 0;
templateArm2_mc._alpha = 0;
} else if (handsUpMiscV == 1) {
unloadMovie (handsUp_mc);
unloadMovie (handsUp2_mc);
handsUpMiscV = 0;
templateArm1_mc._alpha = 100;
templateArm2_mc._alpha = 100;
}
};
var magicWandMiscV = 0;
miscMenu_mc.umbrellaMisc_btn.onRelease = function () {
if (magicWandMiscV == 0) {
unloadMovie (drinkArm_mc);
unloadMovie (cellPhoneArms1_mc);
unloadMovie (cellPhoneArms2_mc);
unloadMovie (handsUp_mc);
unloadMovie (handsUp2_mc);
handsUpMiscV = 0;
cellPhoneMiscV = 0;
cocktailMiscV = 0;
allOldFirearmsGone();
extraMeleeArmsGone();
allBigFirearmsGone();
allFutureFirearmsGone();
alternativeWaysGone();
smallBaldesGone();
allSwordsArmoredGone();
meleeArmsGone();
futureSwordsGone();
firearmsModernGone();
_root.attachMovie("magicWand1_mc", "magicWand1_mc", armsLayerValue, {_x:150.7, _y:24.5});
_root.attachMovie("magicWand2_mc", "magicWand2_mc", armsLayerValue2, {_x:154.4, _y:16.4});
magicWandMiscV = 1;
templateArm1_mc._alpha = 0;
templateArm2_mc._alpha = 0;
} else if (magicWandMiscV == 1) {
unloadMovie (magicWand1_mc);
unloadMovie (magicWand2_mc);
magicWandMiscV = 0;
templateArm1_mc._alpha = 100;
templateArm2_mc._alpha = 100;
}
};
function wingsGone() {
unloadMovie (angelWings_mc);
unloadMovie (angelWingsRed_mc);
unloadMovie (demonWings_mc);
demonWingsV = 0;
angelWingsRedV = 0;
angelWingsV = 0;
}
var wingsLayerValue = 123;
var angelWingsV = 0;
wingsMenu_mc.angelWings_btn.onRelease = function () {
if (angelWingsV == 0) {
unloadMovie (angelWingsRed_mc);
unloadMovie (demonWings_mc);
demonWingsV = 0;
angelWingsRedV = 0;
_root.attachMovie("angelWings_mc", "angelWings_mc", wingsLayerValue, {_x:106, _y:45.5});
angelWingsV = 1;
} else if (angelWingsV == 1) {
unloadMovie (angelWings_mc);
angelWingsV = 0;
}
};
var angelWingsRedV = 0;
wingsMenu_mc.angelWingsRed_btn.onRelease = function () {
if (angelWingsRedV == 0) {
unloadMovie (angelWings_mc);
unloadMovie (demonWings_mc);
demonWingsV = 0;
angelWingsV = 0;
_root.attachMovie("angelWingsRed_mc", "angelWingsRed_mc", wingsLayerValue, {_x:106, _y:45.5});
angelWingsRedV = 1;
} else if (angelWingsRedV == 1) {
unloadMovie (angelWingsRed_mc);
angelWingsRedV = 0;
}
};
var demonWingsV = 0;
wingsMenu_mc.demonWings_btn.onRelease = function () {
if (demonWingsV == 0) {
unloadMovie (angelWings_mc);
unloadMovie (angelWingsRed_mc);
angelWingsRedV = 0;
angelWingsV = 0;
_root.attachMovie("demonWings_mc", "demonWings_mc", wingsLayerValue, {_x:122.8, _y:41});
demonWingsV = 1;
} else if (demonWingsV == 1) {
unloadMovie (demonWings_mc);
demonWingsV = 0;
}
};
function nosesGone() {
unloadMovie (squareNoses_mc);
unloadMovie (boneRingNoses_mc);
unloadMovie (noseBone_mc);
unloadMovie (goldenRing_mc);
unloadMovie (smallNoseRing_mc);
unloadMovie (clownNose_mc);
clownNoseV = 0;
smallNoseRingV = 0;
goldenRingV = 0;
noseBoneV = 0;
boneRingNoseV = 0;
squareNoseV = 0;
}
function noses1Gone() {
unloadMovie (squareNoses_mc);
unloadMovie (boneRingNoses_mc);
unloadMovie (noseBone_mc);
unloadMovie (goldenRing_mc);
unloadMovie (smallNoseRing_mc);
smallNoseRingV = 0;
goldenRingV = 0;
noseBoneV = 0;
boneRingNoseV = 0;
squareNoseV = 0;
}
function noses2Gone() {
unloadMovie (clownNose_mc);
clownNoseV = 0;
}
var nosesLayerValue = 6424;
var squareNoseV = 0;
noseMenu_mc.squareNose_btn.onRelease = function () {
if (squareNoseV == 0) {
noses2Gone();
unloadMovie (boneRingNoses_mc);
unloadMovie (noseBone_mc);
unloadMovie (goldenRing_mc);
unloadMovie (smallNoseRing_mc);
smallNoseRingV = 0;
goldenRingV = 0;
noseBoneV = 0;
boneRingNoseV = 0;
_root.attachMovie("squareNoses_mc", "squareNoses_mc", nosesLayerValue, {_x:260.3, _y:107.9});
squareNoseV = 1;
} else if (squareNoseV == 1) {
unloadMovie (squareNoses_mc);
squareNoseV = 0;
}
};
var boneRingNoseV = 0;
noseMenu_mc.boneRingNose_btn.onRelease = function () {
if (boneRingNoseV == 0) {
noses2Gone();
unloadMovie (squareNoses_mc);
unloadMovie (noseBone_mc);
unloadMovie (goldenRing_mc);
unloadMovie (smallNoseRing_mc);
smallNoseRingV = 0;
goldenRingV = 0;
noseBoneV = 0;
squareNoseV = 0;
_root.attachMovie("boneRingNoses_mc", "boneRingNoses_mc", nosesLayerValue, {_x:258.3, _y:108.2});
boneRingNoseV = 1;
} else if (boneRingNoseV == 1) {
unloadMovie (boneRingNoses_mc);
boneRingNoseV = 0;
}
};
var noseBoneV = 0;
noseMenu_mc.noseBone_btn.onRelease = function () {
if (noseBoneV == 0) {
noses2Gone();
unloadMovie (squareNoses_mc);
unloadMovie (boneRingNoses_mc);
unloadMovie (goldenRing_mc);
unloadMovie (smallNoseRing_mc);
smallNoseRingV = 0;
goldenRingV = 0;
boneRingNoseV = 0;
squareNoseV = 0;
_root.attachMovie("noseBone_mc", "noseBone_mc", nosesLayerValue, {_x:251.9, _y:106.2});
noseBoneV = 1;
} else if (noseBoneV == 1) {
unloadMovie (noseBone_mc);
noseBoneV = 0;
}
};
var goldenRingV = 0;
noseMenu_mc.goldenRing_btn.onRelease = function () {
if (goldenRingV == 0) {
noses2Gone();
unloadMovie (squareNoses_mc);
unloadMovie (boneRingNoses_mc);
unloadMovie (noseBone_mc);
unloadMovie (smallNoseRing_mc);
smallNoseRingV = 0;
goldenRingV = 0;
boneRingNoseV = 0;
squareNoseV = 0;
_root.attachMovie("goldenRing_mc", "goldenRing_mc", nosesLayerValue, {_x:260.4, _y:108.5});
goldenRingV = 1;
} else if (goldenRingV == 1) {
unloadMovie (goldenRing_mc);
goldenRingV = 0;
}
};
var smallNoseRingV = 0;
noseMenu_mc.smallNoseRing_btn.onRelease = function () {
if (smallNoseRingV == 0) {
noses2Gone();
unloadMovie (squareNoses_mc);
unloadMovie (boneRingNoses_mc);
unloadMovie (noseBone_mc);
unloadMovie (goldenRing_mc);
goldenRingV = 0;
smallNoseRingV = 0;
boneRingNoseV = 0;
squareNoseV = 0;
_root.attachMovie("smallNoseRing_mc", "smallNoseRing_mc", nosesLayerValue, {_x:261.1, _y:104.2});
smallNoseRingV = 1;
} else if (smallNoseRingV == 1) {
unloadMovie (smallNoseRing_mc);
smallNoseRingV = 0;
}
};
var clownNoseV = 0;
noseMenu2_mc.clownNose_btn.onRelease = function () {
if (clownNoseV == 0) {
noses1Gone();
unloadMovie (rihnoHorn_mc);
rihnoHornV = 0;
_root.attachMovie("clownNose_mc", "clownNose_mc", nosesLayerValue, {_x:261.4, _y:103.6});
clownNoseV = 1;
} else if (clownNoseV == 1) {
unloadMovie (clownNose_mc);
clownNoseV = 0;
}
};
var rihnoHornV = 0;
noseMenu2_mc.rihnoHorn_btn.onRelease = function () {
if (rihnoHornV == 0) {
noses1Gone();
unloadMovie (clownNose_mc);
clownNoseV = 0;
_root.attachMovie("rihnoHorn_mc", "rihnoHorn_mc", nosesLayerValue, {_x:255.1, _y:82});
rihnoHornV = 1;
} else if (rihnoHornV == 1) {
unloadMovie (rihnoHorn_mc);
rihnoHornV = 0;
}
};
function vestsGone() {
unloadMovie (bombVest_mc);
unloadMovie (bearVest_mc);
bearVestV = 0;
bombVestV = 0;
}
function weaponsVest() {
if (deserteagleArmsV == 1) {
deserteagleArms2_mc.swapDepths(9502);
} else if (deserteagleArmGoldV == 1) {
deserteagleArmGold2_mc.swapDepths(9502);
} else if (silencerGunV == 1) {
gunSilencerArm2_mc.swapDepths(9502);
} else if (spas12V == 1) {
spas12Arms2_mc.swapDepths(9502);
}
}
var torsoLayerValue = 6000;
var bearVestV = 0;
vestsMenu_mc.bearVest_btn.onRelease = function () {
if (bearVestV == 0) {
_root.attachMovie("bearVest_mc", "bearVest_mc", torsoLayerValue + 22, {_x:223.1, _y:136.6});
bearVestV = 1;
unloadMovie (bombVest_mc);
bombVestV = 0;
shirtsGone();
jacketsGone();
tShirtsGone();
bodyArmorGone();
weaponsSSTorso();
weaponsVest();
otherTorsoGone();
} else if (bearVestV == 1) {
unloadMovie (bearVest_mc);
bearVestV = 0;
}
};
var bombVestV = 0;
vestsMenu_mc.bombVest_btn.onRelease = function () {
if (bombVestV == 0) {
_root.attachMovie("bombVest_mc", "bombVest_mc", torsoLayerValue + 23, {_x:218.3, _y:140.9});
bombVestV = 1;
unloadMovie (bearVest_mc);
bearVestV = 0;
shirtsGone();
tShirtsGone();
jacketsGone();
weaponsVest();
weaponsSSTorso();
bodyArmorGone();
otherTorsoGone();
} else if (bombVestV == 1) {
unloadMovie (bombVest_mc);
bombVestV = 0;
}
};
function necklaceGone() {
unloadMovie (mrTNecklace_mc);
unloadMovie (TNNecklace_mc);
TNNecklaceV = 0;
mrTNecklaceV = 0;
}
var necklaceLayerValue = 6185;
var necklaceLayerValue2 = 6186;
var mrTNecklaceV = 0;
necklaceMenu_mc.mrTNecklace_btn.onRelease = function () {
if (mrTNecklaceV == 0) {
unloadMovie (TNNecklace_mc);
TNNecklaceV = 0;
_root.attachMovie("mrTNecklace_mc", "mrTNecklace_mc", necklaceLayerValue, {_x:232.8, _y:136.4});
mrTNecklaceV = 1;
} else if (mrTNecklaceV == 1) {
unloadMovie (mrTNecklace_mc);
mrTNecklaceV = 0;
}
};
var TNNecklaceV = 0;
necklaceMenu_mc.TNNecklace_btn.onRelease = function () {
if (TNNecklaceV == 0) {
unloadMovie (mrTNecklace_mc);
mrTNecklaceV = 0;
_root.attachMovie("TNNecklace_mc", "TNNecklace_mc", necklaceLayerValue, {_x:241.7, _y:138.6});
TNNecklaceV = 1;
} else if (TNNecklaceV == 1) {
unloadMovie (TNNecklace_mc);
TNNecklaceV = 0;
}
};
function alternativeWaysGone() {
unloadMovie (chainsawBloodyArm_mc);
unloadMovie (chainsawBloodyArms2_mc);
unloadMovie (cattleProdArms_mc);
unloadMovie (cattleProdArms2_mc);
unloadMovie (hackettArms_mc);
unloadMovie (hackettArms2_mc);
unloadMovie (chainsawArms_mc);
unloadMovie (chainsawArms2_mc);
unloadMovie (pianoWireArms_mc);
unloadMovie (pianoWireArms2_mc);
unloadMovie (shovelArms_mc);
unloadMovie (shovelArms2_mc);
unloadMovie (shovelBloodyArms_mc);
unloadMovie (shovelBloodyArms2_mc);
unloadMovie (sledgeHammerArms_mc);
unloadMovie (sledgeHammerArms2_mc);
unloadMovie (sledgeHammerBloodyArms_mc);
unloadMovie (sledgeHammerBloodyArms2_mc);
unloadMovie (hammerstakesArms_mc);
unloadMovie (hammerstakesArms2_mc);
hammerstakesArmsV = 0;
sledgeHammerBloodyArmsV = 0;
sledgeHammerArmsV = 0;
shovelBloodyArmsV = 0;
shovelArmsV = 0;
pianoWireArmsV = 0;
chainsawArmsV = 0;
hackettArmsV = 0;
cattleProdArmsV = 0;
chainsawBloodyArmsV = 0;
}
function alternativeWaysGone1() {
unloadMovie (chainsawBloodyArm_mc);
unloadMovie (chainsawBloodyArms2_mc);
unloadMovie (cattleProdArms_mc);
unloadMovie (cattleProdArms2_mc);
unloadMovie (hackettArms_mc);
unloadMovie (hackettArms2_mc);
unloadMovie (chainsawArms_mc);
unloadMovie (chainsawArms2_mc);
unloadMovie (pianoWireArms_mc);
unloadMovie (pianoWireArms2_mc);
pianoWireArmsV = 0;
chainsawArmsV = 0;
hackettArmsV = 0;
cattleProdArmsV = 0;
chainsawBloodyArmsV = 0;
}
function alternativeWaysGone2() {
unloadMovie (shovelArms_mc);
unloadMovie (shovelArms2_mc);
unloadMovie (shovelBloodyArms_mc);
unloadMovie (shovelBloodyArms2_mc);
unloadMovie (sledgeHammerArms_mc);
unloadMovie (sledgeHammerArms2_mc);
unloadMovie (sledgeHammerBloodyArms_mc);
unloadMovie (sledgeHammerBloodyArms2_mc);
unloadMovie (hammerstakesArms_mc);
unloadMovie (hammerstakesArms2_mc);
hammerstakesArmsV = 0;
sledgeHammerBloodyArmsV = 0;
sledgeHammerArmsV = 0;
shovelBloodyArmsV = 0;
shovelArmsV = 0;
}
var armsLayerValue = 9500;
var armsLayerValue2 = 5500;
var chainsawArmsV = 0;
alternativeWaysMenu_mc.chainsawArms_btn.onRelease = function () {
if (chainsawArmsV == 0) {
unloadMovie (chainsawBloodyArm_mc);
unloadMovie (chainsawBloodyArms2_mc);
unloadMovie (cattleProdArms_mc);
unloadMovie (cattleProdArms2_mc);
unloadMovie (hackettArms_mc);
unloadMovie (hackettArms2_mc);
unloadMovie (pianoWireArms_mc);
unloadMovie (pianoWireArms2_mc);
pianoWireArmsV = 0;
alternativeWaysGone2();
hackettArmsV = 0;
cattleProdArmsV = 0;
chainsawBloodyArmsV = 0;
allOldFirearmsGone();
extraMeleeArmsGone();
allBigFirearmsGone();
allFutureFirearmsGone();
meleeArmsGone();
smallBaldesGone();
allSwordsArmoredGone();
futureSwordsGone();
firearmsModernGone();
miscArmsGone();
_root.attachMovie("chainsawArms_mc", "chainsawArms_mc", armsLayerValue, {_x:210, _y:148});
_root.attachMovie("chainsawArms2_mc", "chainsawArms2_mc", armsLayerValue2, {_x:217, _y:154});
chainsawArmsV = 1;
templateArm1_mc._alpha = 0;
templateArm2_mc._alpha = 0;
} else if (chainsawArmsV == 1) {
unloadMovie (chainsawArms_mc);
unloadMovie (chainsawArms2_mc);
chainsawArmsV = 0;
templateArm1_mc._alpha = 100;
templateArm2_mc._alpha = 100;
}
};
var chainsawBloodyArmsV = 0;
alternativeWaysMenu_mc.chainsawBloodyArms_btn.onRelease = function () {
if (chainsawBloodyArmsV == 0) {
unloadMovie (chainsawArms_mc);
unloadMovie (chainsawArms2_mc);
unloadMovie (cattleProdArms_mc);
unloadMovie (cattleProdArms2_mc);
unloadMovie (hackettArms_mc);
unloadMovie (hackettArms2_mc);
unloadMovie (pianoWireArms_mc);
unloadMovie (pianoWireArms2_mc);
pianoWireArmsV = 0;
alternativeWaysGone2();
hackettArmsV = 0;
cattleProdArmsV = 0;
chainsawArmsV = 0;
allOldFirearmsGone();
extraMeleeArmsGone();
allBigFirearmsGone();
allFutureFirearmsGone();
meleeArmsGone();
smallBaldesGone();
allSwordsArmoredGone();
futureSwordsGone();
firearmsModernGone();
miscArmsGone();
_root.attachMovie("chainsawBloodyArm_mc", "chainsawBloodyArm_mc", armsLayerValue, {_x:210, _y:149});
_root.attachMovie("chainsawBloodyArms2_mc", "chainsawBloodyArms2_mc", armsLayerValue2, {_x:213, _y:151});
chainsawBloodyArmsV = 1;
templateArm1_mc._alpha = 0;
templateArm2_mc._alpha = 0;
testFoot();
} else if (chainsawBloodyArmsV == 1) {
unloadMovie (chainsawBloodyArm_mc);
unloadMovie (chainsawBloodyArms2_mc);
chainsawBloodyArmsV = 0;
templateArm1_mc._alpha = 100;
templateArm2_mc._alpha = 100;
}
};
var cattleProdArmsV = 0;
alternativeWaysMenu_mc.cattleProdArms_btn.onRelease = function () {
if (cattleProdArmsV == 0) {
unloadMovie (chainsawArms_mc);
unloadMovie (chainsawArms2_mc);
unloadMovie (chainsawBloodyArm_mc);
unloadMovie (chainsawBloodyArms2_mc);
unloadMovie (hackettArms_mc);
unloadMovie (hackettArms2_mc);
unloadMovie (pianoWireArms_mc);
unloadMovie (pianoWireArms2_mc);
pianoWireArmsV = 0;
alternativeWaysGone2();
hackettArmsV = 0;
chainsawBloodyArmsV = 0;
meleeArmsGone();
chainsawArmsV = 0;
allOldFirearmsGone();
extraMeleeArmsGone();
allBigFirearmsGone();
allFutureFirearmsGone();
meleeArmsGone();
smallBaldesGone();
allSwordsArmoredGone();
futureSwordsGone();
firearmsModernGone();
miscArmsGone();
_root.attachMovie("cattleProdArms_mc", "cattleProdArms_mc", armsLayerValue, {_x:183.3, _y:145.8});
_root.attachMovie("cattleProdArms2_mc", "cattleProdArms2_mc", armsLayerValue2, {_x:226.9, _y:146.3});
cattleProdArmsV = 1;
templateArm1_mc._alpha = 0;
templateArm2_mc._alpha = 0;
} else if (cattleProdArmsV == 1) {
unloadMovie (cattleProdArms_mc);
unloadMovie (cattleProdArms2_mc);
cattleProdArmsV = 0;
templateArm1_mc._alpha = 100;
templateArm2_mc._alpha = 100;
}
};
var hackettArmsV = 0;
alternativeWaysMenu_mc.hackettArms_btn.onRelease = function () {
if (hackettArmsV == 0) {
unloadMovie (chainsawArms_mc);
unloadMovie (chainsawArms2_mc);
unloadMovie (cattleProdArms_mc);
unloadMovie (cattleProdArms2_mc);
unloadMovie (chainsawBloodyArm_mc);
unloadMovie (chainsawBloodyArms2_mc);
unloadMovie (pianoWireArms_mc);
unloadMovie (pianoWireArms2_mc);
pianoWireArmsV = 0;
alternativeWaysGone2();
chainsawBloodyArmsV = 0;
cattleProdArmsV = 0;
chainsawArmsV = 0;
allOldFirearmsGone();
extraMeleeArmsGone();
allBigFirearmsGone();
allFutureFirearmsGone();
meleeArmsGone();
smallBaldesGone();
allSwordsArmoredGone();
futureSwordsGone();
firearmsModernGone();
miscArmsGone();
_root.attachMovie("hackettArms_mc", "hackettArms_mc", armsLayerValue, {_x:192.2, _y:133.4});
_root.attachMovie("hackettArms2_mc", "hackettArms2_mc", armsLayerValue2, {_x:180.2, _y:133.4});
hackettArmsV = 1;
templateArm1_mc._alpha = 0;
templateArm2_mc._alpha = 0;
} else if (hackettArmsV == 1) {
unloadMovie (hackettArms_mc);
unloadMovie (hackettArms2_mc);
hackettArmsV = 0;
templateArm1_mc._alpha = 100;
templateArm2_mc._alpha = 100;
}
};
var pianoWireArmsV = 0;
alternativeWaysMenu_mc.pianoWireArms_btn.onRelease = function () {
if (pianoWireArmsV == 0) {
unloadMovie (chainsawArms_mc);
unloadMovie (chainsawArms2_mc);
unloadMovie (cattleProdArms_mc);
unloadMovie (cattleProdArms2_mc);
unloadMovie (chainsawBloodyArm_mc);
unloadMovie (chainsawBloodyArms2_mc);
unloadMovie (hackettArms_mc);
unloadMovie (hackettArms2_mc);
hackettArmsV = 0;
alternativeWaysGone2();
chainsawBloodyArmsV = 0;
cattleProdArmsV = 0;
chainsawArmsV = 0;
allOldFirearmsGone();
extraMeleeArmsGone();
allBigFirearmsGone();
allFutureFirearmsGone();
meleeArmsGone();
smallBaldesGone();
allSwordsArmoredGone();
futureSwordsGone();
firearmsModernGone();
miscArmsGone();
_root.attachMovie("pianoWireArms_mc", "pianoWireArms_mc", armsLayerValue, {_x:203.8, _y:143.9});
_root.attachMovie("pianoWireArms2_mc", "pianoWireArms2_mc", armsLayerValue2, {_x:211.5, _y:144.4});
pianoWireArmsV = 1;
templateArm1_mc._alpha = 0;
templateArm2_mc._alpha = 0;
} else if (pianoWireArmsV == 1) {
unloadMovie (pianoWireArms_mc);
unloadMovie (pianoWireArms2_mc);
pianoWireArmsV = 0;
templateArm1_mc._alpha = 100;
templateArm2_mc._alpha = 100;
}
};
var shovelArmsV = 0;
alternativeWaysMenu2_mc.shovelArms_btn.onRelease = function () {
if (shovelArmsV == 0) {
unloadMovie (shovelBloodyArms_mc);
unloadMovie (shovelBloodyArms2_mc);
unloadMovie (sledgeHammerArms_mc);
unloadMovie (sledgeHammerArms2_mc);
unloadMovie (sledgeHammerBloodyArms_mc);
unloadMovie (sledgeHammerBloodyArms2_mc);
unloadMovie (hammerstakesArms_mc);
unloadMovie (hammerstakesArms2_mc);
hammerstakesArmsV = 0;
sledgeHammerBloodyArmsV = 0;
sledgeHammerArmsV = 0;
shovelBloodyArmsV = 0;
allOldFirearmsGone();
extraMeleeArmsGone();
allBigFirearmsGone();
allFutureFirearmsGone();
meleeArmsGone();
smallBaldesGone();
allSwordsArmoredGone();
futureSwordsGone();
firearmsModernGone();
miscArmsGone();
_root.attachMovie("shovelArms_mc", "shovelArms_mc", armsLayerValue, {_x:135.2, _y:144.7});
_root.attachMovie("shovelArms2_mc", "shovelArms2_mc", armsLayerValue2, {_x:211.8, _y:148.7});
shovelArmsV = 1;
templateArm1_mc._alpha = 0;
templateArm2_mc._alpha = 0;
} else if (shovelArmsV == 1) {
unloadMovie (shovelArms_mc);
unloadMovie (shovelArms2_mc);
shovelArmsV = 0;
templateArm1_mc._alpha = 100;
templateArm2_mc._alpha = 100;
}
};
var shovelBloodyArmsV = 0;
alternativeWaysMenu2_mc.shovelBloodyArms_btn.onRelease = function () {
if (shovelBloodyArmsV == 0) {
unloadMovie (shovelArms_mc);
unloadMovie (shovelArms2_mc);
unloadMovie (sledgeHammerArms_mc);
unloadMovie (sledgeHammerArms2_mc);
unloadMovie (sledgeHammerBloodyArms_mc);
unloadMovie (sledgeHammerBloodyArms2_mc);
unloadMovie (hammerstakesArms_mc);
unloadMovie (hammerstakesArms2_mc);
hammerstakesArmsV = 0;
sledgeHammerBloodyArmsV = 0;
sledgeHammerArmsV = 0;
shovelArmsV = 0;
allOldFirearmsGone();
extraMeleeArmsGone();
allBigFirearmsGone();
allFutureFirearmsGone();
meleeArmsGone();
smallBaldesGone();
allSwordsArmoredGone();
futureSwordsGone();
firearmsModernGone();
miscArmsGone();
_root.attachMovie("shovelBloodyArms_mc", "shovelBloodyArms_mc", armsLayerValue, {_x:135.6, _y:144.7});
_root.attachMovie("shovelBloodyArms2_mc", "shovelBloodyArms2_mc", armsLayerValue2, {_x:215.2, _y:144.8});
shovelBloodyArmsV = 1;
templateArm1_mc._alpha = 0;
templateArm2_mc._alpha = 0;
} else if (shovelBloodyArmsV == 1) {
unloadMovie (shovelBloodyArms_mc);
unloadMovie (shovelBloodyArms2_mc);
shovelBloodyArmsV = 0;
templateArm1_mc._alpha = 100;
templateArm2_mc._alpha = 100;
}
};
var sledgeHammerArmsV = 0;
alternativeWaysMenu2_mc.sledgeHammerArms_btn.onRelease = function () {
if (sledgeHammerArmsV == 0) {
unloadMovie (shovelArms_mc);
unloadMovie (shovelArms2_mc);
unloadMovie (shovelBloodyArms_mc);
unloadMovie (shovelBloodyArms2_mc);
unloadMovie (sledgeHammerBloodyArms_mc);
unloadMovie (sledgeHammerBloodyArms2_mc);
unloadMovie (hammerstakesArms_mc);
unloadMovie (hammerstakesArms2_mc);
hammerstakesArmsV = 0;
sledgeHammerBloodyArmsV = 0;
shovelBloodyArmsV = 0;
shovelArmsV = 0;
allOldFirearmsGone();
extraMeleeArmsGone();
allBigFirearmsGone();
allFutureFirearmsGone();
meleeArmsGone();
smallBaldesGone();
allSwordsArmoredGone();
futureSwordsGone();
firearmsModernGone();
miscArmsGone();
_root.attachMovie("sledgeHammerArms_mc", "sledgeHammerArms_mc", armsLayerValue, {_x:146.3, _y:141.8});
_root.attachMovie("sledgeHammerArms2_mc", "sledgeHammerArms2_mc", armsLayerValue2, {_x:227.1, _y:149.3});
sledgeHammerArmsV = 1;
templateArm1_mc._alpha = 0;
templateArm2_mc._alpha = 0;
} else if (sledgeHammerArmsV == 1) {
unloadMovie (sledgeHammerArms_mc);
unloadMovie (sledgeHammerArms2_mc);
sledgeHammerArmsV = 0;
templateArm1_mc._alpha = 100;
templateArm2_mc._alpha = 100;
}
};
var sledgeHammerBloodyArmsV = 0;
alternativeWaysMenu2_mc.sledgeHammerBloodyArms_btn.onRelease = function () {
if (sledgeHammerBloodyArmsV == 0) {
unloadMovie (shovelArms_mc);
unloadMovie (shovelArms2_mc);
unloadMovie (shovelBloodyArms_mc);
unloadMovie (shovelBloodyArms2_mc);
unloadMovie (sledgeHammerArms_mc);
unloadMovie (sledgeHammerArms2_mc);
unloadMovie (hammerstakesArms_mc);
unloadMovie (hammerstakesArms2_mc);
hammerstakesArmsV = 0;
sledgeHammerArmsV = 0;
shovelBloodyArmsV = 0;
shovelArmsV = 0;
allOldFirearmsGone();
extraMeleeArmsGone();
allBigFirearmsGone();
allFutureFirearmsGone();
meleeArmsGone();
smallBaldesGone();
allSwordsArmoredGone();
futureSwordsGone();
firearmsModernGone();
miscArmsGone();
_root.attachMovie("sledgeHammerBloodyArms_mc", "sledgeHammerBloodyArms_mc", armsLayerValue, {_x:146.3, _y:141.8});
_root.attachMovie("sledgeHammerBloodyArms2_mc", "sledgeHammerBloodyArms2_mc", armsLayerValue2, {_x:225.9, _y:146.1});
sledgeHammerBloodyArmsV = 1;
templateArm1_mc._alpha = 0;
templateArm2_mc._alpha = 0;
} else if (sledgeHammerBloodyArmsV == 1) {
unloadMovie (sledgeHammerBloodyArms_mc);
unloadMovie (sledgeHammerBloodyArms2_mc);
sledgeHammerBloodyArmsV = 0;
templateArm1_mc._alpha = 100;
templateArm2_mc._alpha = 100;
}
};
var hammerstakesArmsV = 0;
alternativeWaysMenu2_mc.hammerstakesArms_btn.onRelease = function () {
if (hammerstakesArmsV == 0) {
unloadMovie (shovelArms_mc);
unloadMovie (shovelArms2_mc);
unloadMovie (shovelBloodyArms_mc);
unloadMovie (shovelBloodyArms2_mc);
unloadMovie (sledgeHammerArms_mc);
unloadMovie (sledgeHammerArms2_mc);
unloadMovie (sledgeHammerBloodyArms_mc);
unloadMovie (sledgeHammerBloodyArms2_mc);
sledgeHammerBloodyArmsV = 0;
sledgeHammerArmsV = 0;
shovelBloodyArmsV = 0;
shovelArmsV = 0;
allOldFirearmsGone();
extraMeleeArmsGone();
allBigFirearmsGone();
allFutureFirearmsGone();
meleeArmsGone();
smallBaldesGone();
allSwordsArmoredGone();
futureSwordsGone();
firearmsModernGone();
miscArmsGone();
_root.attachMovie("hammerstakesArms_mc", "hammerstakesArms_mc", armsLayerValue, {_x:172.2, _y:127.7});
_root.attachMovie("hammerstakesArms2_mc", "hammerstakesArms2_mc", armsLayerValue2, {_x:181.4, _y:134.2});
hammerstakesArmsV = 1;
templateArm1_mc._alpha = 0;
templateArm2_mc._alpha = 0;
} else if (hammerstakesArmsV == 1) {
unloadMovie (hammerstakesArms_mc);
unloadMovie (hammerstakesArms2_mc);
hammerstakesArmsV = 0;
templateArm1_mc._alpha = 100;
templateArm2_mc._alpha = 100;
}
};
function allButSmallBaldesGone() {
allOldFirearmsGone();
extraMeleeArmsGone();
allBigFirearmsGone();
allFutureFirearmsGone();
alternativeWaysGone();
meleeArmsGone();
allSwordsArmoredGone();
futureSwordsGone();
firearmsModernGone();
miscArmsGone();
}
function smallBaldesGone() {
unloadMovie (kitchenKnifeArms_mc);
unloadMovie (kitchenKnifeArms2_mc);
unloadMovie (kitchenKnifeBloodyArms_mc);
unloadMovie (kitchenKnifeBloodyArms2_mc);
unloadMovie (knucklesMetalBloodyArms_mc);
unloadMovie (knucklesMetalBloodyArms2_mc);
unloadMovie (knucklesMetalArms_mc);
unloadMovie (knucklesMetalArms2_mc);
unloadMovie (knucklesGoldArms_mc);
unloadMovie (knucklesGoldArms2_mc);
unloadMovie (knucklesGoldBloodyArms_mc);
unloadMovie (knucklesGoldBloodyArms2_mc);
knucklesGoldBloodyArmsV = 0;
knucklesGoldArmsV = 0;
knucklesMetalArmsV = 0;
knucklesMetalArmsBloodyV = 0;
kitchenKnifeBloodyArmsV = 0;
kitchenKnifeArmsV = 0;
}
function allKnucklesGone() {
knucklesMetalGone();
knucklesMetalBloodyGone();
knucklesGoldGone();
knucklesGoldBloodyGone();
knucklesMenuV = 0;
}
function knucklesMetalGone() {
knucklesMetal_mc.onEnterFrame = function () {
this._alpha = this._alpha - 5;
if (this._alpha < 0) {
unloadMovie (this);
}
};
}
function knucklesMetalBloodyGone() {
knucklesMetalBloody_mc.onEnterFrame = function () {
this._alpha = this._alpha - 5;
if (this._alpha < 0) {
unloadMovie (this);
}
};
}
function knucklesGoldGone() {
knucklesGold_mc.onEnterFrame = function () {
this._alpha = this._alpha - 5;
if (this._alpha < 0) {
unloadMovie (this);
}
};
}
function knucklesGoldBloodyGone() {
knucklesGoldBloody_mc.onEnterFrame = function () {
this._alpha = this._alpha - 5;
if (this._alpha < 0) {
unloadMovie (this);
}
};
}
function knucklesMetal() {
if (knucklesMetalArmsV == 0) {
allButSmallBaldesGone();
unloadMovie (kitchenKnifeArms_mc);
unloadMovie (kitchenKnifeArms2_mc);
unloadMovie (kitchenKnifeBloodyArms_mc);
unloadMovie (kitchenKnifeBloodyArms2_mc);
unloadMovie (knucklesGoldArms_mc);
unloadMovie (knucklesGoldArms2_mc);
unloadMovie (knucklesGoldBloodyArms_mc);
unloadMovie (knucklesGoldBloodyArms2_mc);
knucklesGoldBloodyArmsV = 0;
knucklesGoldArmsV = 0;
kitchenKnifeBloodyArmsV = 0;
unloadMovie (knucklesMetalBloodyArms_mc);
unloadMovie (knucklesMetalBloodyArms2_mc);
knucklesMetalArmsBloodyV = 0;
kitchenKnifeArmsV = 0;
_root.attachMovie("knucklesMetalArms_mc", "knucklesMetalArms_mc", armsLayerValue, {_x:187.3, _y:146.1});
_root.attachMovie("knucklesMetalArms2_mc", "knucklesMetalArms2_mc", armsLayerValue2, {_x:219.6, _y:146.7});
templateArm1_mc._alpha = 0;
templateArm2_mc._alpha = 0;
knucklesMetalArmsV = 1;
} else if (knucklesMetalArmsV == 1) {
unloadMovie (knucklesMetalArms_mc);
unloadMovie (knucklesMetalArms2_mc);
knucklesMetalArmsV = 0;
templateArm1_mc._alpha = 100;
templateArm2_mc._alpha = 100;
}
}
function knucklesMetalBloody() {
if (knucklesMetalArmsBloodyV == 0) {
allButSmallBaldesGone();
unloadMovie (kitchenKnifeArms_mc);
unloadMovie (kitchenKnifeArms2_mc);
unloadMovie (kitchenKnifeBloodyArms_mc);
unloadMovie (kitchenKnifeBloodyArms2_mc);
unloadMovie (knucklesGoldArms_mc);
unloadMovie (knucklesGoldArms2_mc);
unloadMovie (knucklesGoldBloodyArms_mc);
unloadMovie (knucklesGoldBloodyArms2_mc);
knucklesGoldBloodyArmsV = 0;
knucklesGoldArmsV = 0;
kitchenKnifeBloodyArmsV = 0;
unloadMovie (knucklesMetalArms_mc);
unloadMovie (knucklesMetalArms2_mc);
knucklesMetalArmsV = 0;
kitchenKnifeArmsV = 0;
_root.attachMovie("knucklesMetalBloodyArms_mc", "knucklesMetalBloodyArms_mc", armsLayerValue, {_x:187.3, _y:146.1});
_root.attachMovie("knucklesMetalBloodyArms2_mc", "knucklesMetalBloodyArms2_mc", armsLayerValue2, {_x:221.2, _y:147.7});
templateArm1_mc._alpha = 0;
templateArm2_mc._alpha = 0;
knucklesMetalArmsBloodyV = 1;
} else if (knucklesMetalArmsBloodyV == 1) {
unloadMovie (knucklesMetalBloodyArms_mc);
unloadMovie (knucklesMetalBloodyArms2_mc);
knucklesMetalArmsBloodyV = 0;
templateArm1_mc._alpha = 100;
templateArm2_mc._alpha = 100;
}
}
function knucklesGold() {
if (knucklesGoldArmsV == 0) {
allButSmallBaldesGone();
unloadMovie (kitchenKnifeArms_mc);
unloadMovie (kitchenKnifeArms2_mc);
unloadMovie (kitchenKnifeBloodyArms_mc);
unloadMovie (kitchenKnifeBloodyArms2_mc);
kitchenKnifeBloodyArmsV = 0;
unloadMovie (knucklesMetalArms_mc);
unloadMovie (knucklesMetalArms2_mc);
unloadMovie (knucklesMetalBloodyArms_mc);
unloadMovie (knucklesMetalBloodyArms2_mc);
unloadMovie (knucklesGoldBloodyArms_mc);
unloadMovie (knucklesGoldBloodyArms2_mc);
knucklesGoldBloodyArmsV = 0;
knucklesMetalArmsBloodyV = 0;
knucklesMetalArmsV = 0;
kitchenKnifeArmsV = 0;
_root.attachMovie("knucklesGoldArms_mc", "knucklesGoldArms_mc", armsLayerValue, {_x:187.3, _y:146.1});
_root.attachMovie("knucklesGoldArms2_mc", "knucklesGoldArms2_mc", armsLayerValue2, {_x:212.2, _y:147.7});
templateArm1_mc._alpha = 0;
templateArm2_mc._alpha = 0;
knucklesGoldArmsV = 1;
} else if (knucklesGoldArmsV == 1) {
unloadMovie (knucklesGoldArms_mc);
unloadMovie (knucklesGoldArms2_mc);
knucklesGoldArmsV = 0;
templateArm1_mc._alpha = 100;
templateArm2_mc._alpha = 100;
}
}
function knucklesGoldBloody() {
if (knucklesGoldBloodyArmsV == 0) {
allButSmallBaldesGone();
unloadMovie (kitchenKnifeArms_mc);
unloadMovie (kitchenKnifeArms2_mc);
unloadMovie (kitchenKnifeBloodyArms_mc);
unloadMovie (kitchenKnifeBloodyArms2_mc);
kitchenKnifeBloodyArmsV = 0;
unloadMovie (knucklesMetalArms_mc);
unloadMovie (knucklesMetalArms2_mc);
unloadMovie (knucklesMetalBloodyArms_mc);
unloadMovie (knucklesMetalBloodyArms2_mc);
unloadMovie (knucklesGoldArms_mc);
unloadMovie (knucklesGoldArms2_mc);
knucklesGoldArmsV = 0;
knucklesMetalArmsBloodyV = 0;
knucklesMetalArmsV = 0;
kitchenKnifeArmsV = 0;
_root.attachMovie("knucklesGoldBloodyArms_mc", "knucklesGoldBloodyArms_mc", armsLayerValue, {_x:187.3, _y:146.1});
_root.attachMovie("knucklesGoldBloodyArms2_mc", "knucklesGoldBloodyArms2_mc", armsLayerValue2, {_x:219.7, _y:148.1});
templateArm1_mc._alpha = 0;
templateArm2_mc._alpha = 0;
knucklesGoldBloodyArmsV = 1;
} else if (knucklesGoldBloodyArmsV == 1) {
unloadMovie (knucklesGoldBloodyArms_mc);
unloadMovie (knucklesGoldBloodyArms2_mc);
knucklesGoldBloodyArmsV = 0;
templateArm1_mc._alpha = 100;
templateArm2_mc._alpha = 100;
}
}
var armsLayerValue = 9500;
var armsLayerValue2 = 5000;
var knucklesMenuV = 0;
smallBladesMenu_mc.knucklesArms_btn.onRelease = function () {
if (knucklesMenuV == 1) {
allKnucklesGone();
knucklesMenuV = 0;
} else if (knucklesMenuV == 0) {
_root.attachMovie("knucklesMetal_mc", "knucklesMetal_mc", 16111, {_x:340, _y:-23});
_root.attachMovie("knucklesMetalBloody_mc", "knucklesMetalBloody_mc", 16112, {_x:340, _y:-23});
_root.attachMovie("knucklesGold_mc", "knucklesGold_mc", 16113, {_x:340, _y:-19});
_root.attachMovie("knucklesGoldBloody_mc", "knucklesGoldBloody_mc", 16114, {_x:340, _y:-20});
knucklesMenuV = 1;
knucklesMetal_mc.onEnterFrame = function () {
this._y = this._y + 8;
if (this._y == 25) {
delete this.onEnterFrame;
}
};
knucklesMetalBloody_mc.onEnterFrame = function () {
this._y = this._y + 8;
if (this._y == 81) {
delete this.onEnterFrame;
}
};
knucklesGold_mc.onEnterFrame = function () {
this._y = this._y + 8;
if (this._y == 53) {
delete this.onEnterFrame;
}
};
knucklesGoldBloody_mc.onEnterFrame = function () {
this._y = this._y + 8;
if (this._y == 108) {
delete this.onEnterFrame;
}
};
}
knucklesMetal_mc.onRelease = function () {
knucklesMetal();
};
knucklesMetal_mc.onRollOver = function () {
this.gotoAndStop(2);
};
knucklesMetal_mc.onRollOut = function () {
this.gotoAndStop(1);
};
knucklesMetalBloody_mc.onRelease = function () {
knucklesMetalBloody();
};
knucklesMetalBloody_mc.onRollOver = function () {
this.gotoAndStop(2);
};
knucklesMetalBloody_mc.onRollOut = function () {
this.gotoAndStop(1);
};
knucklesGold_mc.onRelease = function () {
knucklesGold();
};
knucklesGold_mc.onRollOver = function () {
this.gotoAndStop(2);
};
knucklesGold_mc.onRollOut = function () {
this.gotoAndStop(1);
};
knucklesGoldBloody_mc.onRelease = function () {
knucklesGoldBloody();
};
knucklesGoldBloody_mc.onRollOver = function () {
this.gotoAndStop(2);
};
knucklesGoldBloody_mc.onRollOut = function () {
this.gotoAndStop(1);
};
};
var kitchenKnifeArmsV = 0;
smallBladesMenu_mc.kitchenKnifeArms_btn.onRelease = function () {
if (kitchenKnifeArmsV == 0) {
allButSmallBaldesGone();
allKnucklesGone();
unloadMovie (kitchenKnifeBloodyArms_mc);
unloadMovie (kitchenKnifeBloodyArms2_mc);
unloadMovie (knucklesMetalBloodyArms_mc);
unloadMovie (knucklesMetalBloodyArms2_mc);
unloadMovie (knucklesMetalArms_mc);
unloadMovie (knucklesMetalArms2_mc);
unloadMovie (knucklesGoldArms_mc);
unloadMovie (knucklesGoldArms2_mc);
unloadMovie (knucklesGoldBloodyArms_mc);
unloadMovie (knucklesGoldBloodyArms2_mc);
knucklesGoldBloodyArmsV = 0;
knucklesGoldArmsV = 0;
knucklesMetalArmsV = 0;
knucklesMetalArmsBloodyV = 0;
kitchenKnifeBloodyArmsV = 0;
_root.attachMovie("kitchenKnifeArms_mc", "kitchenKnifeArms_mc", armsLayerValue, {_x:193.3, _y:100.3});
_root.attachMovie("kitchenKnifeArms2_mc", "kitchenKnifeArms2_mc", armsLayerValue2, {_x:245.7, _y:101.9});
templateArm1_mc._alpha = 0;
templateArm2_mc._alpha = 0;
kitchenKnifeArmsV = 1;
} else if (kitchenKnifeArmsV == 1) {
unloadMovie (kitchenKnifeArms_mc);
unloadMovie (kitchenKnifeArms2_mc);
kitchenKnifeArmsV = 0;
templateArm1_mc._alpha = 100;
templateArm2_mc._alpha = 100;
}
};
var kitchenKnifeBloodyArmsV = 0;
smallBladesMenu_mc.kitchenKnifeBloodyArms_btn.onRelease = function () {
if (kitchenKnifeBloodyArmsV == 0) {
allButSmallBaldesGone();
allKnucklesGone();
unloadMovie (kitchenKnifeArms_mc);
unloadMovie (kitchenKnifeArms2_mc);
unloadMovie (knucklesMetalBloodyArms_mc);
unloadMovie (knucklesMetalBloodyArms2_mc);
unloadMovie (knucklesMetalArms_mc);
unloadMovie (knucklesMetalArms2_mc);
unloadMovie (knucklesGoldArms_mc);
unloadMovie (knucklesGoldArms2_mc);
unloadMovie (knucklesGoldBloodyArms_mc);
unloadMovie (knucklesGoldBloodyArms2_mc);
knucklesGoldBloodyArmsV = 0;
knucklesGoldArmsV = 0;
knucklesMetalArmsV = 0;
knucklesMetalArmsBloodyV = 0;
kitchenKnifeArmsV = 0;
_root.attachMovie("kitchenKnifeBloodyArms_mc", "kitchenKnifeBloodyArms_mc", armsLayerValue, {_x:193.3, _y:100.3});
_root.attachMovie("kitchenKnifeBloodyArms2_mc", "kitchenKnifeBloodyArms2_mc", armsLayerValue2, {_x:245.7, _y:125.8});
templateArm1_mc._alpha = 0;
templateArm2_mc._alpha = 0;
kitchenKnifeBloodyArmsV = 1;
} else if (kitchenKnifeBloodyArmsV == 1) {
unloadMovie (kitchenKnifeBloodyArms_mc);
unloadMovie (kitchenKnifeBloodyArms2_mc);
kitchenKnifeBloodyArmsV = 0;
templateArm1_mc._alpha = 100;
templateArm2_mc._alpha = 100;
}
};
var knucklesMetalArmsV = 0;
var knucklesMetalArmsBloodyV = 0;
var knucklesGoldArmsV = 0;
var knucklesGoldBloodyArmsV = 0;
function otherTorsoGone() {
unloadMovie (butchersApron_mc);
unloadMovie (butchersApronBloody_mc);
butchersApronBloodyV = 0;
butchersApronV = 0;
}
var torsoLayerValue = 6000;
var butchersApronV = 0;
otherTorsoMenu_mc.butchersApron_btn.onRelease = function () {
if (butchersApronV == 0) {
jacketsGone();
_root.attachMovie("butchersApron_mc", "butchersApron_mc", torsoLayerValue + 21, {_x:237.9, _y:138.8});
butchersApronV = 1;
unloadMovie (butchersApronBloody_mc);
butchersApronBloodyV = 0;
shirtsGone();
vestsGone();
bodyArmorGone();
tShirtsGone();
weaponsSSTorso();
jacketsGone();
} else if (butchersApronV == 1) {
unloadMovie (butchersApron_mc);
butchersApronV = 0;
}
};
var butchersApronBloodyV = 0;
otherTorsoMenu_mc.butchersApronBloody_btn.onRelease = function () {
if (butchersApronBloodyV == 0) {
jacketsGone();
_root.attachMovie("butchersApronBloody_mc", "butchersApronBloody_mc", torsoLayerValue + 22, {_x:237.9, _y:138.8});
butchersApronBloodyV = 1;
unloadMovie (butchersApron_mc);
butchersApronV = 0;
shirtsGone();
vestsGone();
tShirtsGone();
bodyArmorGone();
weaponsSSTorso();
jacketsGone();
testFoot();
} else if (butchersApronBloodyV == 1) {
unloadMovie (butchersApronBloody_mc);
butchersApronBloodyV = 0;
}
};
function allButFutureFirearmsGone() {
allOldFirearmsGone();
extraMeleeArmsGone();
allBigFirearmsGone();
alternativeWaysGone();
meleeArmsGone();
smallBaldesGone();
allSwordsArmoredGone();
futureSwordsGone();
firearmsModernGone();
miscArmsGone();
}
function allFutureFirearmsGone() {
unloadMovie (plasmaPistolArms_mc);
unloadMovie (plasmaPistolArms2_mc);
unloadMovie (laserPistolArms_mc);
unloadMovie (laserPistolArms2_mc);
unloadMovie (laserRifleArms_mc);
unloadMovie (laserRifleArms2_mc);
unloadMovie (plasmaCannonArms_mc);
unloadMovie (plasmaCannonArms2_mc);
unloadMovie (sawGun_mc);
unloadMovie (sawGun2_mc);
sawGunV = 0;
plasmaCannonArmsV = 0;
laserRifleArmsV = 0;
laserPistolArmsV = 0;
plasmaPistolArmsV = 0;
}
function armorPlasmaPistol() {
if (evilKnightTorsoV == 1) {
plasmaPistolArms_mc._width = 194.6;
plasmaPistolArms2_mc._width = 46.7;
plasmaPistolArms_mc._x = 165.8;
plasmaPistolArms2_mc._x = 230.3;
}
}
var armsLayerValue = 9500;
var armsLayerValue2 = 5000;
var plasmaPistolArmsV = 0;
futureArmsMenu_mc.plasmaPistolArms_btn.onRelease = function () {
if (plasmaPistolArmsV == 0) {
allButFutureFirearmsGone();
unloadMovie (laserPistolArms_mc);
unloadMovie (laserPistolArms2_mc);
unloadMovie (laserRifleArms_mc);
unloadMovie (laserRifleArms2_mc);
unloadMovie (plasmaCannonArms_mc);
unloadMovie (plasmaCannonArms2_mc);
unloadMovie (sawGun_mc);
unloadMovie (sawGun2_mc);
sawGunV = 0;
plasmaCannonArmsV = 0;
laserRifleArmsV = 0;
laserPistolArmsV = 0;
_root.attachMovie("plasmaPistolArms_mc", "plasmaPistolArms_mc", armsLayerValue, {_x:174.8, _y:142.6});
_root.attachMovie("plasmaPistolArms2_mc", "plasmaPistolArms2_mc", armsLayerValue2, {_x:236.7, _y:143});
armorPlasmaPistol();
templateArm1_mc._alpha = 0;
templateArm2_mc._alpha = 0;
plasmaPistolArmsV = 1;
} else if (plasmaPistolArmsV == 1) {
unloadMovie (plasmaPistolArms_mc);
unloadMovie (plasmaPistolArms2_mc);
plasmaPistolArmsV = 0;
templateArm1_mc._alpha = 100;
templateArm2_mc._alpha = 100;
}
};
var laserPistolArmsV = 0;
futureArmsMenu_mc.laserPistolArms_btn.onRelease = function () {
if (laserPistolArmsV == 0) {
allButFutureFirearmsGone();
unloadMovie (plasmaPistolArms_mc);
unloadMovie (plasmaPistolArms2_mc);
unloadMovie (laserRifleArms_mc);
unloadMovie (laserRifleArms2_mc);
unloadMovie (plasmaCannonArms_mc);
unloadMovie (plasmaCannonArms2_mc);
unloadMovie (sawGun_mc);
unloadMovie (sawGun2_mc);
sawGunV = 0;
plasmaCannonArmsV = 0;
laserRifleArmsV = 0;
plasmaPistolArmsV = 0;
_root.attachMovie("laserPistolArms_mc", "laserPistolArms_mc", armsLayerValue, {_x:150.7, _y:143.3});
_root.attachMovie("laserPistolArms2_mc", "laserPistolArms2_mc", armsLayerValue2, {_x:226.5, _y:143.1});
armorPlasmaPistol();
templateArm1_mc._alpha = 0;
templateArm2_mc._alpha = 0;
laserPistolArmsV = 1;
} else if (laserPistolArmsV == 1) {
unloadMovie (laserPistolArms_mc);
unloadMovie (laserPistolArms2_mc);
laserPistolArmsV = 0;
templateArm1_mc._alpha = 100;
templateArm2_mc._alpha = 100;
}
};
var laserRifleArmsV = 0;
futureArmsMenu_mc.laserRifleArms_btn.onRelease = function () {
if (laserRifleArmsV == 0) {
allButFutureFirearmsGone();
unloadMovie (plasmaPistolArms_mc);
unloadMovie (plasmaPistolArms2_mc);
unloadMovie (laserPistolArms_mc);
unloadMovie (plasmaCannonArms_mc);
unloadMovie (plasmaCannonArms2_mc);
unloadMovie (sawGun_mc);
unloadMovie (sawGun2_mc);
sawGunV = 0;
plasmaCannonArmsV = 0;
laserRifleArmsV = 0;
plasmaPistolArmsV = 0;
_root.attachMovie("laserRifleArms_mc", "laserRifleArms_mc", armsLayerValue, {_x:207.1, _y:143.8});
_root.attachMovie("laserRifleArms2_mc", "laserRifleArms2_mc", armsLayerValue2, {_x:210, _y:143.9});
templateArm1_mc._alpha = 0;
templateArm2_mc._alpha = 0;
laserRifleArmsV = 1;
} else if (laserRifleArmsV == 1) {
unloadMovie (laserRifleArms_mc);
unloadMovie (laserRifleArms2_mc);
laserRifleArmsV = 0;
templateArm1_mc._alpha = 100;
templateArm2_mc._alpha = 100;
}
};
var plasmaCannonArmsV = 0;
futureArmsMenu_mc.plasmaCannonArms_btn.onRelease = function () {
if (plasmaCannonArmsV == 0) {
allButFutureFirearmsGone();
unloadMovie (plasmaPistolArms_mc);
unloadMovie (plasmaPistolArms2_mc);
unloadMovie (laserPistolArms_mc);
unloadMovie (laserRifleArms_mc);
unloadMovie (laserRifleArms2_mc);
unloadMovie (sawGun_mc);
unloadMovie (sawGun2_mc);
sawGunV = 0;
laserRifleArmsV = 0;
laserRifleArmsV = 0;
plasmaPistolArmsV = 0;
_root.attachMovie("plasmaCannonArms_mc", "plasmaCannonArms_mc", armsLayerValue, {_x:214.2, _y:141.7});
_root.attachMovie("plasmaCannonArms2_mc", "plasmaCannonArms2_mc", armsLayerValue2, {_x:214.4, _y:141.6});
templateArm1_mc._alpha = 0;
templateArm2_mc._alpha = 0;
plasmaCannonArmsV = 1;
} else if (plasmaCannonArmsV == 1) {
unloadMovie (plasmaCannonArms_mc);
unloadMovie (plasmaCannonArms2_mc);
plasmaCannonArmsV = 0;
templateArm1_mc._alpha = 100;
templateArm2_mc._alpha = 100;
}
};
var sawGunV = 0;
futureArmsMenu_mc.sawGun_btn.onRelease = function () {
if (sawGunV == 0) {
allButFutureFirearmsGone();
unloadMovie (plasmaPistolArms_mc);
unloadMovie (plasmaPistolArms2_mc);
unloadMovie (laserPistolArms_mc);
unloadMovie (laserRifleArms_mc);
unloadMovie (laserRifleArms2_mc);
unloadMovie (plasmaCannonArms_mc);
unloadMovie (plasmaCannonArms2_mc);
plasmaCannonArmsV = 0;
laserRifleArmsV = 0;
laserRifleArmsV = 0;
plasmaPistolArmsV = 0;
_root.attachMovie("sawGun_mc", "sawGun_mc", armsLayerValue, {_x:206.5, _y:142.3});
_root.attachMovie("sawGun2_mc", "sawGun2_mc", armsLayerValue2, {_x:206.5, _y:142.3});
sawGunV = 1;
templateArm1_mc._alpha = 0;
templateArm2_mc._alpha = 0;
} else if (sawGunV == 1) {
unloadMovie (sawGun_mc);
unloadMovie (sawGun2_mc);
sawGunV = 0;
templateArm1_mc._alpha = 100;
templateArm2_mc._alpha = 100;
}
};
function allButBigGunsGone() {
allOldFirearmsGone();
extraMeleeArmsGone();
allFutureFirearmsGone();
alternativeWaysGone();
meleeArmsGone();
smallBaldesGone();
allSwordsArmoredGone();
futureSwordsGone();
firearmsModernGone();
miscArmsGone();
}
function allBigFirearmsGone() {
unloadMovie (flamethrowerArms_mc);
unloadMovie (flamethrowerArms2_mc);
unloadMovie (bazookaArms_mc);
unloadMovie (bazookaArms2_mc);
unloadMovie (grenadelauncherArms_mc);
unloadMovie (grenadelauncherArms2_mc);
unloadMovie (minigunArms_mc);
minigunArmsV = 0;
grenadelauncherArmsV = 0;
bazookaArmsV = 0;
fllamethrowerArmsV = 0;
}
var armsLayerValue = 9500;
var armsLayerValue2 = 5000;
var fllamethrowerArmsV = 0;
firearmsBigMenu_mc.flamethrowerArms_btn.onRelease = function () {
if (fllamethrowerArmsV == 0) {
allButBigGunsGone();
unloadMovie (bazookaArms_mc);
unloadMovie (bazookaArms2_mc);
unloadMovie (grenadelauncherArms_mc);
unloadMovie (grenadelauncherArms2_mc);
unloadMovie (minigunArms_mc);
minigunArmsV = 0;
grenadelauncherArmsV = 0;
bazookaArmsV = 0;
_root.attachMovie("flamethrowerArms_mc", "flamethrowerArms_mc", armsLayerValue, {_x:201.8, _y:126.3});
_root.attachMovie("flamethrowerArms2_mc", "flamethrowerArms2_mc", armsLayerValue2, {_x:201.8, _y:151.2});
templateArm1_mc._alpha = 0;
templateArm2_mc._alpha = 0;
fllamethrowerArmsV = 1;
} else if (fllamethrowerArmsV == 1) {
unloadMovie (flamethrowerArms_mc);
unloadMovie (flamethrowerArms2_mc);
fllamethrowerArmsV = 0;
templateArm1_mc._alpha = 100;
templateArm2_mc._alpha = 100;
}
};
var bazookaArmsV = 0;
firearmsBigMenu_mc.bazookaArms_btn.onRelease = function () {
if (bazookaArmsV == 0) {
allButBigGunsGone();
unloadMovie (flamethrowerArms_mc);
unloadMovie (flamethrowerArms2_mc);
unloadMovie (grenadelauncherArms_mc);
unloadMovie (grenadelauncherArms2_mc);
unloadMovie (minigunArms_mc);
minigunArmsV = 0;
grenadelauncherArmsV = 0;
fllamethrowerArmsV = 0;
_root.attachMovie("bazookaArms_mc", "bazookaArms_mc", armsLayerValue2, {_x:122.8, _y:66.1});
_root.attachMovie("bazookaArms2_mc", "bazookaArms2_mc", armsLayerValue, {_x:200.7, _y:82.7});
templateArm2_mc._alpha = 0;
templateArm1_mc._alpha = 100;
bazookaArmsV = 1;
} else if (bazookaArmsV == 1) {
unloadMovie (bazookaArms_mc);
unloadMovie (bazookaArms2_mc);
bazookaArmsV = 0;
templateArm2_mc._alpha = 100;
}
};
var grenadelauncherArmsV = 0;
firearmsBigMenu_mc.grenadelauncherArms_btn.onRelease = function () {
if (grenadelauncherArmsV == 0) {
allButBigGunsGone();
unloadMovie (flamethrowerArms_mc);
unloadMovie (flamethrowerArms2_mc);
unloadMovie (bazookaArms_mc);
unloadMovie (bazookaArms2_mc);
unloadMovie (minigunArms_mc);
minigunArmsV = 0;
bazookaArmsV = 0;
fllamethrowerArmsV = 0;
_root.attachMovie("grenadelauncherArms_mc", "grenadelauncherArms_mc", armsLayerValue, {_x:209.1, _y:134});
_root.attachMovie("grenadelauncherArms2_mc", "grenadelauncherArms2_mc", armsLayerValue2, {_x:210.1, _y:148.9});
templateArm2_mc._alpha = 0;
templateArm1_mc._alpha = 0;
grenadelauncherArmsV = 1;
} else if (grenadelauncherArmsV == 1) {
unloadMovie (grenadelauncherArms_mc);
unloadMovie (grenadelauncherArms2_mc);
grenadelauncherArmsV = 0;
templateArm2_mc._alpha = 100;
templateArm1_mc._alpha = 100;
}
};
var minigunArmsV = 0;
firearmsBigMenu_mc.minigunArms_btn.onRelease = function () {
if (minigunArmsV == 0) {
allButBigGunsGone();
unloadMovie (flamethrowerArms_mc);
unloadMovie (flamethrowerArms2_mc);
unloadMovie (bazookaArms_mc);
unloadMovie (bazookaArms2_mc);
unloadMovie (grenadelauncherArms_mc);
unloadMovie (grenadelauncherArms2_mc);
grenadelauncherArmsV = 0;
bazookaArmsV = 0;
fllamethrowerArmsV = 0;
_root.attachMovie("minigunArms_mc", "minigunArms_mc", armsLayerValue, {_x:192.4, _y:140.6});
templateArm2_mc._alpha = 0;
templateArm1_mc._alpha = 0;
minigunArmsV = 1;
} else if (minigunArmsV == 1) {
unloadMovie (minigunArms_mc);
minigunArmsV = 0;
templateArm2_mc._alpha = 100;
templateArm1_mc._alpha = 100;
}
};
function allOldFirearmsGone() {
unloadMovie (flintlockRifle_mc);
unloadMovie (flintlockRifle2_mc);
unloadMovie (musketRifle_mc);
unloadMovie (musketRifle2_mc);
unloadMovie (flintlockPistols1_mc);
unloadMovie (flintlockPistols2_mc);
unloadMovie (flintlockRifle21_mc);
unloadMovie (flintlockRifle22_mc);
unloadMovie (revolvers1_mc);
unloadMovie (revolvers2_mc);
revolversV = 0;
flintlockRifle2V = 0;
flintlockPistolsV = 0;
musketRifleV = 0;
flintlockRifleV = 0;
}
var armsLayerValue = 9500;
var armsLayerValue2 = 5000;
var flintlockRifleV = 0;
firearmsOldMenu_mc.flintlockRifle_btn.onRelease = function () {
if (flintlockRifleV == 0) {
unloadMovie (musketRifle_mc);
unloadMovie (musketRifle2_mc);
unloadMovie (flintlockPistols1_mc);
unloadMovie (flintlockPistols2_mc);
unloadMovie (flintlockRifle21_mc);
unloadMovie (flintlockRifle22_mc);
unloadMovie (revolvers1_mc);
unloadMovie (revolvers2_mc);
revolversV = 0;
flintlockRifle2V = 0;
flintlockPistolsV = 0;
musketRifleV = 0;
extraMeleeArmsGone();
allBigFirearmsGone();
allFutureFirearmsGone();
alternativeWaysGone();
meleeArmsGone();
smallBaldesGone();
allSwordsArmoredGone();
futureSwordsGone();
firearmsModernGone();
miscArmsGone();
_root.attachMovie("flintlockRifle_mc", "flintlockRifle_mc", armsLayerValue, {_x:205.3, _y:135.8});
_root.attachMovie("flintlockRifle2_mc", "flintlockRifle2_mc", armsLayerValue2, {_x:204.9, _y:135.8});
templateArm1_mc._alpha = 0;
templateArm2_mc._alpha = 0;
flintlockRifleV = 1;
} else if (flintlockRifleV == 1) {
unloadMovie (flintlockRifle_mc);
unloadMovie (flintlockRifle2_mc);
flintlockRifleV = 0;
templateArm1_mc._alpha = 100;
templateArm2_mc._alpha = 100;
}
};
var flintlockRifle2V = 0;
firearmsOldMenu_mc.flintlockRifle2_btn.onRelease = function () {
if (flintlockRifle2V == 0) {
unloadMovie (flintlockRifle_mc);
unloadMovie (flintlockPistols1_mc);
unloadMovie (flintlockPistols2_mc);
unloadMovie (revolvers1_mc);
unloadMovie (revolvers2_mc);
revolversV = 0;
flintlockPistolsV = 0;
flintlockRifleV = 0;
extraMeleeArmsGone();
allBigFirearmsGone();
allFutureFirearmsGone();
alternativeWaysGone();
meleeArmsGone();
smallBaldesGone();
allSwordsArmoredGone();
futureSwordsGone();
firearmsModernGone();
miscArmsGone();
_root.attachMovie("flintlockRifle21_mc", "flintlockRifle21_mc", armsLayerValue2, {_x:231.6, _y:148.6});
_root.attachMovie("flintlockRifle22_mc", "flintlockRifle22_mc", armsLayerValue, {_x:140.8, _y:66.4});
templateArm1_mc._alpha = 0;
templateArm2_mc._alpha = 0;
flintlockRifle2V = 1;
} else if (flintlockRifle2V == 1) {
unloadMovie (flintlockRifle21_mc);
unloadMovie (flintlockRifle22_mc);
flintlockRifle2V = 0;
templateArm1_mc._alpha = 100;
templateArm2_mc._alpha = 100;
}
};
var musketRifleV = 0;
firearmsOldMenu_mc.musketRifle_btn.onRelease = function () {
if (musketRifleV == 0) {
unloadMovie (flintlockRifle_mc);
unloadMovie (flintlockRifle2_mc);
unloadMovie (flintlockPistols1_mc);
unloadMovie (flintlockPistols2_mc);
unloadMovie (flintlockRifle21_mc);
unloadMovie (flintlockRifle22_mc);
unloadMovie (revolvers1_mc);
unloadMovie (revolvers2_mc);
revolversV = 0;
flintlockRifle2V = 0;
flintlockPistolsV = 0;
flintlockRifleV = 0;
extraMeleeArmsGone();
allBigFirearmsGone();
allFutureFirearmsGone();
alternativeWaysGone();
meleeArmsGone();
smallBaldesGone();
allSwordsArmoredGone();
futureSwordsGone();
firearmsModernGone();
miscArmsGone();
_root.attachMovie("musketRifle_mc", "musketRifle_mc", armsLayerValue, {_x:139.3, _y:121.6});
_root.attachMovie("musketRifle2_mc", "musketRifle2_mc", armsLayerValue2, {_x:220.8, _y:121.8});
templateArm1_mc._alpha = 0;
templateArm2_mc._alpha = 0;
musketRifleV = 1;
} else if (musketRifleV == 1) {
unloadMovie (musketRifle_mc);
unloadMovie (musketRifle2_mc);
musketRifleV = 0;
templateArm1_mc._alpha = 100;
templateArm2_mc._alpha = 100;
}
};
var flintlockPistolsV = 0;
firearmsOldMenu_mc.flintlockPistols_btn.onRelease = function () {
if (flintlockPistolsV == 0) {
unloadMovie (flintlockRifle_mc);
unloadMovie (flintlockRifle2_mc);
unloadMovie (flintlockRifle21_mc);
unloadMovie (flintlockRifle22_mc);
unloadMovie (musketRifle_mc);
unloadMovie (musketRifle2_mc);
unloadMovie (revolvers1_mc);
unloadMovie (revolvers2_mc);
revolversV = 0;
musketRifleV = 0;
flintlockRifle2V = 0;
flintlockRifleV = 0;
extraMeleeArmsGone();
allBigFirearmsGone();
allFutureFirearmsGone();
alternativeWaysGone();
meleeArmsGone();
smallBaldesGone();
allSwordsArmoredGone();
futureSwordsGone();
firearmsModernGone();
miscArmsGone();
_root.attachMovie("flintlockPistols1_mc", "flintlockPistols1_mc", armsLayerValue2, {_x:161.1, _y:85.2});
_root.attachMovie("flintlockPistols2_mc", "flintlockPistols2_mc", armsLayerValue, {_x:248.1, _y:112.5});
templateArm1_mc._alpha = 0;
templateArm2_mc._alpha = 0;
flintlockPistolsV = 1;
} else if (flintlockPistolsV == 1) {
unloadMovie (flintlockPistols1_mc);
unloadMovie (flintlockPistols2_mc);
flintlockPistolsV = 0;
templateArm1_mc._alpha = 100;
templateArm2_mc._alpha = 100;
}
};
var revolversV = 0;
firearmsOldMenu_mc.revolvers_btn.onRelease = function () {
if (revolversV == 0) {
unloadMovie (flintlockRifle_mc);
unloadMovie (flintlockRifle2_mc);
unloadMovie (flintlockRifle21_mc);
unloadMovie (flintlockRifle22_mc);
unloadMovie (musketRifle_mc);
unloadMovie (musketRifle2_mc);
unloadMovie (flintlockPistols1_mc);
unloadMovie (flintlockPistols2_mc);
flintlockPistolsV = 0;
musketRifleV = 0;
flintlockRifle2V = 0;
flintlockRifleV = 0;
extraMeleeArmsGone();
allBigFirearmsGone();
allFutureFirearmsGone();
alternativeWaysGone();
meleeArmsGone();
smallBaldesGone();
allSwordsArmoredGone();
futureSwordsGone();
firearmsModernGone();
miscArmsGone();
_root.attachMovie("revolvers2_mc", "revolvers2_mc", armsLayerValue2, {_x:212.9, _y:133.9});
_root.attachMovie("revolvers1_mc", "revolvers1_mc", armsLayerValue, {_x:173.2, _y:113.1});
templateArm1_mc._alpha = 0;
templateArm2_mc._alpha = 0;
revolversV = 1;
} else if (revolversV == 1) {
unloadMovie (revolvers1_mc);
unloadMovie (revolvers2_mc);
revolversV = 0;
templateArm1_mc._alpha = 100;
templateArm2_mc._alpha = 100;
}
};
function masksGone() {
unloadMovie (cannibalMask_mc);
cannibalMaskV = 0;
unloadMovie (duneraiderMask_mc);
duneraiderMaskV = 0;
unloadMovie (faceMaskBlue_mc);
faceMaskBlueV = 0;
unloadMovie (faceMaskBlueBloody_mc);
faceMaskBlueBloodyV = 0;
unloadMovie (faceMaskGreen_mc);
faceMaskGreenV = 0;
unloadMovie (faceMaskGreenBloody_mc);
faceMaskGreenBloodyV = 0;
unloadMovie (gasMask_mc);
gasMaskV = 0;
unloadMovie (gasMask2_mc);
gasMask2V = 0;
unloadMovie (banditMaskRed_mc);
unloadMovie (banditMaskBlue_mc);
unloadMovie (banditMaskGrey_mc);
unloadMovie (banditMaskGreen_mc);
banditMaskGreenV = 0;
banditMaskGreyV = 0;
banditMaskBlueV = 0;
banditMaskRedV = 0;
}
function banditColorUp() {
banditMaskColor_mc._y = -150;
banditColorV = 0;
}
var masksLayerValue = 6500;
var masksLayerValue2 = 9600;
var banditColorV = 0;
masksMenu2_mc.banditMask_btn.onRelease = function () {
if (banditColorV == 0) {
banditColorV = 1;
banditMaskColor_mc.onEnterFrame = function () {
this._y = this._y + 12;
if (this._y > -40) {
delete this.onEnterFrame;
}
};
} else if (banditColorV == 1) {
banditColorV = 0;
banditMaskColor_mc._y = -150;
}
};
var cannibalMaskV = 0;
masksMenu_mc.cannibalMask_btn.onRelease = function () {
if (cannibalMaskV == 0) {
fullbeardsGone();
goateesGone();
mustacheGone();
unloadMovie (faceMaskGreen_mc);
unloadMovie (faceMaskBlue_mc);
unloadMovie (faceMaskBlueBloody_mc);
unloadMovie (faceMaskGreen_mc);
unloadMovie (faceMaskGreenBloody_mc);
unloadMovie (gasMask_mc);
unloadMovie (gasMask2_mc);
unloadMovie (banditMaskRed_mc);
unloadMovie (banditMaskBlue_mc);
unloadMovie (banditMaskGrey_mc);
unloadMovie (banditMaskGreen_mc);
unloadMovie (duneraiderMask_mc);
banditMaskGreenV = 0;
banditMaskGreyV = 0;
banditMaskBlueV = 0;
banditMaskRedV = 0;
gasMask2V = 0;
gasMaskV = 0;
faceMaskGreenBloodyV = 0;
faceMaskGreenV = 0;
faceMaskBlueBloodyV = 0;
faceMaskBlueV = 0;
duneraiderMaskV = 0;
faceMaskGreenV = 0;
_root.attachMovie("cannibalMask_mc", "cannibalMask_mc", masksLayerValue - 1, {_x:244.7, _y:93.4});
cannibalMaskV = 1;
} else if (cannibalMaskV == 1) {
unloadMovie (cannibalMask_mc);
cannibalMaskV = 0;
}
};
var duneraiderMaskV = 0;
masksMenu_mc.duneraiderMask_btn.onRelease = function () {
if (duneraiderMaskV == 0) {
fullbeardsGone();
goateesGone();
mustacheGone();
unloadMovie (faceMaskGreen_mc);
unloadMovie (cannibalMask_mc);
unloadMovie (faceMaskBlue_mc);
unloadMovie (faceMaskBlueBloody_mc);
unloadMovie (faceMaskGreen_mc);
unloadMovie (faceMaskGreenBloody_mc);
unloadMovie (gasMask_mc);
unloadMovie (gasMask2_mc);
unloadMovie (banditMaskRed_mc);
unloadMovie (banditMaskBlue_mc);
unloadMovie (banditMaskGrey_mc);
unloadMovie (banditMaskGreen_mc);
banditMaskGreenV = 0;
banditMaskGreyV = 0;
banditMaskBlueV = 0;
banditMaskRedV = 0;
gasMask2V = 0;
gasMaskV = 0;
faceMaskGreenBloodyV = 0;
faceMaskGreenV = 0;
faceMaskBlueBloodyV = 0;
faceMaskBlueV = 0;
cannibalMaskV = 0;
faceMaskGreenV = 0;
_root.attachMovie("duneraiderMask_mc", "duneraiderMask_mc", masksLayerValue - 2, {_x:240.8, _y:66});
duneraiderMaskV = 1;
} else if (duneraiderMaskV == 1) {
unloadMovie (duneraiderMask_mc);
duneraiderMaskV = 0;
}
};
var faceMaskBlueV = 0;
masksMenu_mc.faceMaskBlue_btn.onRelease = function () {
if (faceMaskBlueV == 0) {
fullbeardsGone();
goateesGone();
mustacheGone();
unloadMovie (faceMaskGreen_mc);
unloadMovie (cannibalMask_mc);
unloadMovie (duneraiderMask_mc);
unloadMovie (faceMaskBlue_mc);
unloadMovie (faceMaskGreen_mc);
unloadMovie (faceMaskGreenBloody_mc);
unloadMovie (gasMask_mc);
unloadMovie (gasMask2_mc);
unloadMovie (banditMaskRed_mc);
unloadMovie (faceMaskBlueBloody_mc);
faceMaskBlueBloodyV = 0;
unloadMovie (banditMaskGrey_mc);
unloadMovie (banditMaskGreen_mc);
banditMaskGreenV = 0;
banditMaskGreyV = 0;
banditMaskRedV = 0;
gasMask2V = 0;
gasMaskV = 0;
faceMaskGreenBloodyV = 0;
faceMaskGreenV = 0;
faceMaskBlueV = 0;
duneraiderMaskV = 0;
cannibalMaskV = 0;
faceMaskGreenV = 0;
_root.attachMovie("faceMaskBlue_mc", "faceMaskBlue_mc", masksLayerValue - 3, {_x:244.5, _y:63.2});
faceMaskBlueV = 1;
} else if (faceMaskBlueV == 1) {
unloadMovie (faceMaskBlue_mc);
faceMaskBlueV = 0;
}
};
var faceMaskBlueBloodyV = 0;
masksMenu_mc.faceMaskBlueBloody_btn.onRelease = function () {
if (faceMaskBlueBloodyV == 0) {
fullbeardsGone();
goateesGone();
mustacheGone();
unloadMovie (faceMaskGreen_mc);
unloadMovie (cannibalMask_mc);
unloadMovie (duneraiderMask_mc);
unloadMovie (faceMaskBlue_mc);
unloadMovie (faceMaskGreen_mc);
unloadMovie (faceMaskGreenBloody_mc);
unloadMovie (gasMask_mc);
unloadMovie (gasMask2_mc);
unloadMovie (banditMaskRed_mc);
unloadMovie (banditMaskBlue_mc);
unloadMovie (banditMaskGrey_mc);
unloadMovie (banditMaskGreen_mc);
banditMaskGreenV = 0;
banditMaskGreyV = 0;
banditMaskBlueV = 0;
banditMaskRedV = 0;
gasMask2V = 0;
gasMaskV = 0;
faceMaskGreenBloodyV = 0;
faceMaskGreenV = 0;
faceMaskBlueV = 0;
duneraiderMaskV = 0;
cannibalMaskV = 0;
faceMaskGreenV = 0;
_root.attachMovie("faceMaskBlueBloody_mc", "faceMaskBlueBloody_mc", masksLayerValue - 4, {_x:244.5, _y:63.2});
faceMaskBlueBloodyV = 1;
} else if (faceMaskBlueBloodyV == 1) {
unloadMovie (faceMaskBlueBloody_mc);
faceMaskBlueBloodyV = 0;
}
};
var faceMaskGreenV = 0;
masksMenu_mc.faceMaskGreen_btn.onRelease = function () {
if (faceMaskGreenV == 0) {
fullbeardsGone();
goateesGone();
mustacheGone();
unloadMovie (cannibalMask_mc);
unloadMovie (duneraiderMask_mc);
unloadMovie (faceMaskBlue_mc);
unloadMovie (faceMaskBlueBloody_mc);
unloadMovie (faceMaskGreenBloody_mc);
unloadMovie (gasMask_mc);
unloadMovie (gasMask2_mc);
unloadMovie (banditMaskRed_mc);
unloadMovie (banditMaskBlue_mc);
unloadMovie (banditMaskGrey_mc);
unloadMovie (banditMaskGreen_mc);
banditMaskGreenV = 0;
banditMaskGreyV = 0;
banditMaskBlueV = 0;
banditMaskRedV = 0;
gasMask2V = 0;
gasMaskV = 0;
faceMaskGreenBloodyV = 0;
faceMaskBlueBloodyV = 0;
faceMaskBlueV = 0;
duneraiderMaskV = 0;
cannibalMaskV = 0;
_root.attachMovie("faceMaskGreen_mc", "faceMaskGreen_mc", masksLayerValue - 5, {_x:244.5, _y:63.2});
faceMaskGreenV = 1;
} else if (faceMaskGreenV == 1) {
unloadMovie (faceMaskGreen_mc);
faceMaskGreenV = 0;
}
};
var faceMaskGreenBloodyV = 0;
masksMenu2_mc.faceMaskGreenBloody_btn.onRelease = function () {
if (faceMaskGreenBloodyV == 0) {
fullbeardsGone();
goateesGone();
mustacheGone();
unloadMovie (faceMaskGreen_mc);
unloadMovie (cannibalMask_mc);
unloadMovie (duneraiderMask_mc);
unloadMovie (faceMaskBlue_mc);
unloadMovie (faceMaskBlueBloody_mc);
unloadMovie (faceMaskGreen_mc);
unloadMovie (gasMask_mc);
unloadMovie (gasMask2_mc);
unloadMovie (banditMaskRed_mc);
unloadMovie (banditMaskBlue_mc);
unloadMovie (banditMaskGrey_mc);
unloadMovie (banditMaskGreen_mc);
banditColorUp();
banditMaskGreenV = 0;
banditMaskGreyV = 0;
banditMaskBlueV = 0;
banditMaskRedV = 0;
gasMask2V = 0;
gasMaskV = 0;
faceMaskGreenV = 0;
faceMaskBlueBloodyV = 0;
faceMaskBlueV = 0;
duneraiderMaskV = 0;
cannibalMaskV = 0;
faceMaskGreenV = 0;
_root.attachMovie("faceMaskGreenBloody_mc", "faceMaskGreenBloody_mc", masksLayerValue - 6, {_x:244.5, _y:63.2});
faceMaskGreenBloodyV = 1;
} else if (faceMaskGreenBloodyV == 1) {
unloadMovie (faceMaskGreenBloody_mc);
faceMaskGreenBloodyV = 0;
}
};
var gasMaskV = 0;
masksMenu2_mc.gasMask_btn.onRelease = function () {
if (gasMaskV == 0) {
fullbeardsGone();
goateesGone();
mustacheGone();
unloadMovie (faceMaskGreen_mc);
unloadMovie (cannibalMask_mc);
unloadMovie (duneraiderMask_mc);
unloadMovie (faceMaskBlue_mc);
unloadMovie (faceMaskBlueBloody_mc);
unloadMovie (faceMaskGreen_mc);
unloadMovie (faceMaskGreenBloody_mc);
unloadMovie (gasMask2_mc);
unloadMovie (banditMaskRed_mc);
unloadMovie (banditMaskBlue_mc);
unloadMovie (banditMaskGrey_mc);
unloadMovie (banditMaskGreen_mc);
banditColorUp();
banditMaskGreenV = 0;
banditMaskGreyV = 0;
banditMaskBlueV = 0;
banditMaskRedV = 0;
gasMask2V = 0;
faceMaskGreenBloodyV = 0;
faceMaskGreenV = 0;
faceMaskBlueBloodyV = 0;
faceMaskBlueV = 0;
duneraiderMaskV = 0;
cannibalMaskV = 0;
faceMaskGreenV = 0;
_root.attachMovie("gasMask_mc", "gasMask_mc", masksLayerValue2 - 7, {_x:244.9, _y:72});
gasMaskV = 1;
} else if (gasMaskV == 1) {
unloadMovie (gasMask_mc);
gasMaskV = 0;
}
};
var gasMask2V = 0;
masksMenu2_mc.gasMask2_btn.onRelease = function () {
if (gasMask2V == 0) {
fullbeardsGone();
goateesGone();
mustacheGone();
unloadMovie (faceMaskGreen_mc);
unloadMovie (cannibalMask_mc);
unloadMovie (duneraiderMask_mc);
unloadMovie (faceMaskBlue_mc);
unloadMovie (faceMaskBlueBloody_mc);
unloadMovie (faceMaskGreen_mc);
unloadMovie (faceMaskGreenBloody_mc);
unloadMovie (gasMask_mc);
unloadMovie (banditMaskRed_mc);
unloadMovie (banditMaskBlue_mc);
unloadMovie (banditMaskGrey_mc);
unloadMovie (banditMaskGreen_mc);
banditColorUp();
banditMaskGreenV = 0;
banditMaskGreyV = 0;
banditMaskBlueV = 0;
banditMaskRedV = 0;
gasMaskV = 0;
faceMaskGreenBloodyV = 0;
faceMaskGreenV = 0;
faceMaskBlueBloodyV = 0;
faceMaskBlueV = 0;
duneraiderMaskV = 0;
cannibalMaskV = 0;
faceMaskGreenV = 0;
_root.attachMovie("gasMask2_mc", "gasMask2_mc", masksLayerValue2 - 8, {_x:243.5, _y:73});
gasMask2V = 1;
} else if (gasMask2V == 1) {
unloadMovie (gasMask2_mc);
gasMask2V = 0;
}
};
var banditMaskRedV = 0;
banditMaskColor_mc.banditMaskRed_btn.onRelease = function () {
if (banditMaskRedV == 0) {
fullbeardsGone();
goateesGone();
mustacheGone();
unloadMovie (faceMaskGreen_mc);
unloadMovie (cannibalMask_mc);
unloadMovie (duneraiderMask_mc);
unloadMovie (faceMaskBlue_mc);
unloadMovie (faceMaskBlueBloody_mc);
unloadMovie (faceMaskGreen_mc);
unloadMovie (faceMaskGreenBloody_mc);
unloadMovie (gasMask_mc);
unloadMovie (banditMaskBlue_mc);
unloadMovie (banditMaskGrey_mc);
unloadMovie (banditMaskGreen_mc);
unloadMovie (gasMask2_mc);
gasMask2V = 0;
banditMaskGreenV = 0;
banditMaskGreyV = 0;
banditMaskBlueV = 0;
gasMaskV = 0;
faceMaskGreenBloodyV = 0;
faceMaskGreenV = 0;
faceMaskBlueBloodyV = 0;
faceMaskBlueV = 0;
duneraiderMaskV = 0;
cannibalMaskV = 0;
faceMaskGreenV = 0;
banditMaskRedV = 1;
_root.attachMovie("banditMaskRed_mc", "banditMaskRed_mc", masksLayerValue - 9, {_x:245.7, _y:102.6});
} else if (banditMaskRedV == 1) {
unloadMovie (banditMaskRed_mc);
banditMaskRedV = 0;
}
};
var banditMaskBlueV = 0;
banditMaskColor_mc.banditMaskBlue_btn.onRelease = function () {
if (banditMaskBlueV == 0) {
fullbeardsGone();
goateesGone();
mustacheGone();
unloadMovie (faceMaskGreen_mc);
unloadMovie (cannibalMask_mc);
unloadMovie (duneraiderMask_mc);
unloadMovie (faceMaskBlue_mc);
unloadMovie (faceMaskBlueBloody_mc);
unloadMovie (faceMaskGreen_mc);
unloadMovie (faceMaskGreenBloody_mc);
unloadMovie (gasMask_mc);
unloadMovie (banditMaskGrey_mc);
unloadMovie (banditMaskRed_mc);
unloadMovie (banditMaskGreen_mc);
unloadMovie (gasMask2_mc);
gasMask2V = 0;
banditMaskGreenV = 0;
banditMaskRedV = 0;
banditMaskGreyV = 0;
gasMaskV = 0;
faceMaskGreenBloodyV = 0;
faceMaskGreenV = 0;
faceMaskBlueBloodyV = 0;
faceMaskBlueV = 0;
duneraiderMaskV = 0;
cannibalMaskV = 0;
faceMaskGreenV = 0;
banditMaskBlueV = 1;
_root.attachMovie("banditMaskBlue_mc", "banditMaskBlue_mc", masksLayerValue - 10, {_x:245.7, _y:102.6});
} else if (banditMaskBlueV == 1) {
unloadMovie (banditMaskBlue_mc);
banditMaskBlueV = 0;
}
};
var banditMaskGreyV = 0;
banditMaskColor_mc.banditMaskGrey_btn.onRelease = function () {
if (banditMaskGreyV == 0) {
fullbeardsGone();
goateesGone();
mustacheGone();
unloadMovie (faceMaskGreen_mc);
unloadMovie (cannibalMask_mc);
unloadMovie (duneraiderMask_mc);
unloadMovie (faceMaskBlue_mc);
unloadMovie (faceMaskBlueBloody_mc);
unloadMovie (faceMaskGreen_mc);
unloadMovie (faceMaskGreenBloody_mc);
unloadMovie (gasMask_mc);
unloadMovie (banditMaskRed_mc);
unloadMovie (banditMaskBlue_mc);
unloadMovie (banditMaskGreen_mc);
unloadMovie (gasMask2_mc);
gasMask2V = 0;
banditMaskGreenV = 0;
banditMaskBlueV = 0;
banditMaskRedV = 0;
gasMaskV = 0;
faceMaskGreenBloodyV = 0;
faceMaskGreenV = 0;
faceMaskBlueBloodyV = 0;
faceMaskBlueV = 0;
duneraiderMaskV = 0;
cannibalMaskV = 0;
faceMaskGreenV = 0;
banditMaskGreyV = 1;
_root.attachMovie("banditMaskGrey_mc", "banditMaskGrey_mc", masksLayerValue - 11, {_x:245.7, _y:102.6});
} else if (banditMaskGreyV == 1) {
unloadMovie (banditMaskGrey_mc);
banditMaskGreyV = 0;
}
};
var banditMaskGreenV = 0;
banditMaskColor_mc.banditMaskGreen_btn.onRelease = function () {
if (banditMaskGreenV == 0) {
fullbeardsGone();
goateesGone();
mustacheGone();
unloadMovie (faceMaskGreen_mc);
unloadMovie (cannibalMask_mc);
unloadMovie (duneraiderMask_mc);
unloadMovie (faceMaskBlue_mc);
unloadMovie (faceMaskBlueBloody_mc);
unloadMovie (faceMaskGreen_mc);
unloadMovie (faceMaskGreenBloody_mc);
unloadMovie (gasMask_mc);
unloadMovie (banditMaskRed_mc);
unloadMovie (banditMaskBlue_mc);
unloadMovie (banditMaskGrey_mc);
unloadMovie (gasMask2_mc);
gasMask2V = 0;
banditMaskGreyV = 0;
banditMaskBlueV = 0;
banditMaskRedV = 0;
gasMaskV = 0;
faceMaskGreenBloodyV = 0;
faceMaskGreenV = 0;
faceMaskBlueBloodyV = 0;
faceMaskBlueV = 0;
duneraiderMaskV = 0;
cannibalMaskV = 0;
faceMaskGreenV = 0;
banditMaskGreenV = 1;
_root.attachMovie("banditMaskGreen_mc", "banditMaskGreen_mc", masksLayerValue - 12, {_x:245.7, _y:102.6});
} else if (banditMaskGreenV == 1) {
unloadMovie (banditMaskGreen_mc);
banditMaskGreenV = 0;
}
};
function allHairGone() {
fiftiesHairGone();
fiftiesHairTemplateGone();
afroHairGone();
afroHairTemplateGone();
dreadsHairGone();
dreadsHairTemplateGone();
elvisHairGone();
elvisHairTemplateGone();
guileHairGone();
guileHairTemplateGone();
sloppyHairGone();
sloppyHairTemplateGone();
sloppy2HairGone();
sloppy2HairTemplateGone();
spikeyHairGone();
spikeyHairTemplateGone();
spikey2HairGone();
spikey2HairTemplateGone();
smallDreadsHairGone();
smallDreadsHairTemplateGone();
}
function menu1HairColorGone() {
fiftiesHairColorUp();
afroHairColorUp();
elvisHairColorUp();
guileHairColorUp();
dreadsHairColorUp();
}
function menu2HairColorGone() {
sloppyHairColorUp();
sloppy2HairColorUp();
spikeyHairColorUp();
spikey2HairColorUp();
smallDreadsHairColorUp();
}
function menu1HairGone() {
fiftiesHairGone();
fiftiesHairTemplateGone();
afroHairGone();
afroHairTemplateGone();
dreadsHairGone();
dreadsHairTemplateGone();
elvisHairGone();
elvisHairTemplateGone();
guileHairGone();
guileHairTemplateGone();
}
function menu2HairGone() {
sloppyHairGone();
sloppyHairTemplateGone();
sloppy2HairGone();
sloppy2HairTemplateGone();
spikeyHairGone();
spikeyHairTemplateGone();
spikey2HairGone();
spikey2HairTemplateGone();
smallDreadsHairGone();
smallDreadsHairTemplateGone();
}
function fiftiesHairGone() {
fiftiesHairTemplateGone();
fiftiesHairTemplateV = 0;
fiftiesHairTemplate_mc._x = 10000;
fiftiesHairTemplate_mc._y = 10000;
unloadMovie (fiftiesHairBrown_mc);
unloadMovie (fiftiesHairBlond_mc);
unloadMovie (fiftiesHairRed_mc);
fiftiesHairRedV = 0;
fiftiesHairBlondV = 0;
fiftiesHairBrownV = 0;
}
function fiftiesHairTemplateGone() {
fiftiesHairBlackV = 0;
fiftiesHairGreyV = 0;
fiftiesHairLightGreenV = 0;
fiftiesHairGreenV = 0;
fiftiesHairYellowV = 0;
fiftiesHairPinkV = 0;
fiftiesHairTealV = 0;
fiftiesHairBlueV = 0;
fiftiesHairWhiteV = 0;
}
function fiftiesHairColorDown() {
if (fiftiesHairColorV == 1) {
fiftiesHairColorUp();
} else if (fiftiesHairColorV == 0) {
fiftiesHairColorV = 1;
afroHairColorUp();
elvisHairColorUp();
guileHairColorUp();
dreadsHairColorUp();
fiftiesHairColor_mc.onEnterFrame = function () {
this._y = this._y + 10;
if (this._y == 0) {
delete this.onEnterFrame;
}
};
}
}
function fiftiesHairColorUp() {
fiftiesHairColor_mc._y = -140;
fiftiesHairColorV = 0;
}
function afroHairGone() {
afroHairTemplateGone();
afroHairTemplateV = 0;
afroHairTemplate_mc._x = 10000;
afroHairTemplate_mc._y = 10000;
unloadMovie (afroHairBrown_mc);
unloadMovie (afroHairBlond_mc);
unloadMovie (afroHairRed_mc);
unloadMovie (afroHairRainbow_mc);
afroHairRainbowV = 0;
afroHairRedV = 0;
afroHairBlondV = 0;
afroHairBrownV = 0;
}
function afroHairTemplateGone() {
afroHairBlackV = 0;
afroHairGreyV = 0;
afroHairLightGreenV = 0;
afroHairGreenV = 0;
afroHairYellowV = 0;
afroHairPinkV = 0;
afroHairTealV = 0;
afroHairBlueV = 0;
afroHairWhiteV = 0;
afroHairRainbowV = 0;
}
function afroHairColorDown() {
if (afroHairColorV == 1) {
afroHairColorUp();
} else if (afroHairColorV == 0) {
afroHairColorV = 1;
fiftiesHairColorUp();
elvisHairColorUp();
guileHairColorUp();
dreadsHairColorUp();
afroHairColor_mc.onEnterFrame = function () {
this._y = this._y + 10;
if (this._y == 0) {
delete this.onEnterFrame;
}
};
}
}
function afroHairColorUp() {
afroHairColor_mc._y = -150;
afroHairColorV = 0;
}
function dreadsHairGone() {
dreadsHairTemplateGone();
dreadsHairTemplateV = 0;
dreadsHairTemplate_mc._x = 10000;
dreadsHairTemplate_mc._y = 10000;
unloadMovie (dreadsHairBrown_mc);
unloadMovie (dreadsHairBlond_mc);
unloadMovie (dreadsHairRed_mc);
dreadsHairRedV = 0;
dreadsHairBlondV = 0;
dreadsHairBrownV = 0;
}
function dreadsHairTemplateGone() {
dreadsHairBlackV = 0;
dreadsHairGreyV = 0;
dreadsHairLightGreenV = 0;
dreadsHairGreenV = 0;
dreadsHairYellowV = 0;
dreadsHairPinkV = 0;
dreadsHairTealV = 0;
dreadsHairBlueV = 0;
dreadsHairWhiteV = 0;
}
function dreadsHairColorDown() {
if (dreadsHairColorV == 1) {
dreadsHairColorUp();
} else if (dreadsHairColorV == 0) {
dreadsHairColorV = 1;
fiftiesHairColorUp();
elvisHairColorUp();
guileHairColorUp();
afroHairColorUp();
dreadsHairColor_mc.onEnterFrame = function () {
this._y = this._y + 10;
if (this._y == 0) {
delete this.onEnterFrame;
}
};
}
}
function dreadsHairColorUp() {
dreadsHairColor_mc._y = -140;
dreadsHairColorV = 0;
}
function elvisHairGone() {
elvisHairTemplateGone();
elvisHairTemplateV = 0;
elvisHairTemplate_mc._x = 10000;
elvisHairTemplate_mc._y = 10000;
unloadMovie (elvisHairBrown_mc);
unloadMovie (elvisHairBlond_mc);
unloadMovie (elvisHairRed_mc);
elvisHairRedV = 0;
elvisHairBlondV = 0;
elvisHairBrownV = 0;
}
function elvisHairTemplateGone() {
elvisHairBlackV = 0;
elvisHairGreyV = 0;
elvisHairLightGreenV = 0;
elvisHairGreenV = 0;
elvisHairYellowV = 0;
elvisHairPinkV = 0;
elvisHairTealV = 0;
elvisHairBlueV = 0;
elvisHairWhiteV = 0;
}
function elvisHairColorDown() {
if (elvisHairColorV == 1) {
elvisHairColorUp();
} else if (elvisHairColorV == 0) {
elvisHairColorV = 1;
fiftiesHairColorUp();
dreadsHairColorUp();
guileHairColorUp();
afroHairColorUp();
elvisHairColor_mc.onEnterFrame = function () {
this._y = this._y + 10;
if (this._y == 0) {
delete this.onEnterFrame;
}
};
}
}
function elvisHairColorUp() {
elvisHairColor_mc._y = -140;
elvisHairColorV = 0;
}
function guileHairGone() {
guileHairTemplateGone();
guileHairTemplateV = 0;
guileHairTemplate_mc._x = 10000;
guileHairTemplate_mc._y = 10000;
unloadMovie (guileHairBrown_mc);
unloadMovie (guileHairBlond_mc);
unloadMovie (guileHairRed_mc);
guileHairRedV = 0;
guileHairBlondV = 0;
guileHairBrownV = 0;
}
function guileHairTemplateGone() {
guileHairBlackV = 0;
guileHairGreyV = 0;
guileHairLightGreenV = 0;
guileHairGreenV = 0;
guileHairYellowV = 0;
guileHairPinkV = 0;
guileHairTealV = 0;
guileHairBlueV = 0;
guileHairWhiteV = 0;
}
function guileHairColorDown() {
if (guileHairColorV == 1) {
guileHairColorUp();
} else if (guileHairColorV == 0) {
guileHairColorV = 1;
fiftiesHairColorUp();
dreadsHairColorUp();
elvisHairColorUp();
afroHairColorUp();
guileHairColor_mc.onEnterFrame = function () {
this._y = this._y + 10;
if (this._y == 0) {
delete this.onEnterFrame;
}
};
}
}
function guileHairColorUp() {
guileHairColor_mc._y = -140;
guileHairColorV = 0;
}
function sloppyHairGone() {
sloppyHairTemplateGone();
sloppyHairTemplateV = 0;
sloppyHairTemplate_mc._x = 10000;
sloppyHairTemplate_mc._y = 10000;
unloadMovie (sloppyHairBrown_mc);
unloadMovie (sloppyHairBlond_mc);
unloadMovie (sloppyHairRed_mc);
sloppyHairRedV = 0;
sloppyHairBlondV = 0;
sloppyHairBrownV = 0;
}
function sloppyHairTemplateGone() {
sloppyHairBlackV = 0;
sloppyHairGreyV = 0;
sloppyHairLightGreenV = 0;
sloppyHairGreenV = 0;
sloppyHairYellowV = 0;
sloppyHairPinkV = 0;
sloppyHairTealV = 0;
sloppyHairBlueV = 0;
sloppyHairWhiteV = 0;
}
function sloppyHairColorDown() {
if (sloppyHairColorV == 1) {
sloppyHairColorUp();
} else if (sloppyHairColorV == 0) {
sloppyHairColorV = 1;
sloppy2HairColorUp();
spikeyHairColorUp();
smallDreadsHairColorUp();
spikey2HairColorUp();
sloppyHairColor_mc.onEnterFrame = function () {
this._y = this._y + 10;
if (this._y == 0) {
delete this.onEnterFrame;
}
};
}
}
function sloppyHairColorUp() {
sloppyHairColor_mc._y = -140;
sloppyHairColorV = 0;
}
function sloppy2HairGone() {
sloppy2HairTemplateGone();
sloppy2HairTemplateV = 0;
sloppy2HairTemplate_mc._x = 10000;
sloppy2HairTemplate_mc._y = 10000;
unloadMovie (sloppy2HairBrown_mc);
unloadMovie (sloppy2HairBlond_mc);
unloadMovie (sloppy2HairRed_mc);
sloppy2HairRedV = 0;
sloppy2HairBlondV = 0;
sloppy2HairBrownV = 0;
}
function sloppy2HairTemplateGone() {
sloppy2HairBlackV = 0;
sloppy2HairGreyV = 0;
sloppy2HairLightGreenV = 0;
sloppy2HairGreenV = 0;
sloppy2HairYellowV = 0;
sloppy2HairPinkV = 0;
sloppy2HairTealV = 0;
sloppy2HairBlueV = 0;
sloppy2HairWhiteV = 0;
}
function sloppy2HairColorDown() {
if (sloppy2HairColorV == 1) {
sloppy2HairColorUp();
} else if (sloppy2HairColorV == 0) {
sloppy2HairColorV = 1;
sloppyHairColorUp();
spikeyHairColorUp();
spikey2HairColorUp();
smallDreadsHairColorUp();
sloppy2HairColor_mc.onEnterFrame = function () {
this._y = this._y + 10;
if (this._y == 0) {
delete this.onEnterFrame;
}
};
}
}
function sloppy2HairColorUp() {
sloppy2HairColor_mc._y = -140;
sloppy2HairColorV = 0;
}
function spikeyHairGone() {
spikeyHairTemplateGone();
spikeyHairTemplateV = 0;
spikeyHairTemplate_mc._x = 10000;
spikeyHairTemplate_mc._y = 10000;
unloadMovie (spikeyHairBrown_mc);
unloadMovie (spikeyHairBlond_mc);
unloadMovie (spikeyHairRed_mc);
spikeyHairRedV = 0;
spikeyHairBlondV = 0;
spikeyHairBrownV = 0;
}
function spikeyHairTemplateGone() {
spikeyHairBlackV = 0;
spikeyHairGreyV = 0;
spikeyHairLightGreenV = 0;
spikeyHairGreenV = 0;
spikeyHairYellowV = 0;
spikeyHairPinkV = 0;
spikeyHairTealV = 0;
spikeyHairBlueV = 0;
spikeyHairWhiteV = 0;
}
function spikeyHairColorDown() {
if (spikeyHairColorV == 1) {
spikeyHairColorUp();
} else if (spikeyHairColorV == 0) {
spikeyHairColorV = 1;
sloppyHairColorUp();
sloppy2HairColorUp();
smallDreadsHairColorUp();
spikey2HairColorUp();
spikeyHairColor_mc.onEnterFrame = function () {
this._y = this._y + 10;
if (this._y == 0) {
delete this.onEnterFrame;
}
};
}
}
function spikeyHairColorUp() {
spikeyHairColor_mc._y = -140;
spikeyHairColorV = 0;
}
function spikey2HairGone() {
spikey2HairTemplateGone();
spikey2HairTemplateV = 0;
spikey2HairTemplate_mc._x = 10000;
spikey2HairTemplate_mc._y = 10000;
unloadMovie (spikey2HairBrown_mc);
unloadMovie (spikey2HairBlond_mc);
unloadMovie (spikey2HairRed_mc);
spikey2HairRedV = 0;
spikey2HairBlondV = 0;
spikey2HairBrownV = 0;
}
function spikey2HairTemplateGone() {
spikey2HairBlackV = 0;
spikey2HairGreyV = 0;
spikey2HairLightGreenV = 0;
spikey2HairGreenV = 0;
spikey2HairYellowV = 0;
spikey2HairPinkV = 0;
spikey2HairTealV = 0;
spikey2HairBlueV = 0;
spikey2HairWhiteV = 0;
}
function spikey2HairColorDown() {
if (spikey2HairColorV == 1) {
spikey2HairColorUp();
} else if (spikey2HairColorV == 0) {
spikey2HairColorV = 1;
sloppyHairColorUp();
sloppy2HairColorUp();
spikeyHairColorUp();
smallDreadsHairColorUp();
spikey2HairColor_mc.onEnterFrame = function () {
this._y = this._y + 10;
if (this._y == 0) {
delete this.onEnterFrame;
}
};
}
}
function spikey2HairColorUp() {
spikey2HairColor_mc._y = -140;
spikey2HairColorV = 0;
}
function smallDreadsHairGone() {
smallDreadsHairTemplateGone();
smallDreadsHairTemplateV = 0;
smallDreadsHairTemplate_mc._x = 10000;
smallDreadsHairTemplate_mc._y = 10000;
unloadMovie (smallDreadsHairBrown_mc);
unloadMovie (smallDreadsHairBlond_mc);
unloadMovie (smallDreadsHairRed_mc);
smallDreadsHairRedV = 0;
smallDreadsHairBlondV = 0;
smallDreadsHairBrownV = 0;
}
function smallDreadsHairTemplateGone() {
smallDreadsHairBlackV = 0;
smallDreadsHairGreyV = 0;
smallDreadsHairLightGreenV = 0;
smallDreadsHairGreenV = 0;
smallDreadsHairYellowV = 0;
smallDreadsHairPinkV = 0;
smallDreadsHairTealV = 0;
smallDreadsHairBlueV = 0;
smallDreadsHairWhiteV = 0;
}
function smallDreadsHairColorDown() {
if (smallDreadsHairColorV == 1) {
smallDreadsHairColorUp();
} else if (smallDreadsHairColorV == 0) {
smallDreadsHairColorV = 1;
sloppyHairColorUp();
sloppy2HairColorUp();
spikeyHairColorUp();
spikey2HairColorUp();
smallDreadsHairColor_mc.onEnterFrame = function () {
this._y = this._y + 10;
if (this._y == 0) {
delete this.onEnterFrame;
}
};
}
}
function smallDreadsHairColorUp() {
smallDreadsHairColor_mc._y = -140;
smallDreadsHairColorV = 0;
}
var hairLayerValue = 2900;
var hairLayerValue2 = 7000;
fiftiesHairTemplate_mc.swapDepths(2901);
afroHairTemplate_mc.swapDepths(2902);
dreadsHairTemplate_mc.swapDepths(7003);
elvisHairTemplate_mc.swapDepths(2904);
guileHairTemplate_mc.swapDepths(2905);
sloppyHairTemplate_mc.swapDepths(7006);
sloppy2HairTemplate_mc.swapDepths(7007);
spikeyHairTemplate_mc.swapDepths(2908);
spikey2HairTemplate_mc.swapDepths(2914);
smallDreadsHairTemplate_mc.swapDepths(2909);
var fiftiesHairColorV = 0;
hairMenu_mc.fiftiesHair_btn.onRelease = function () {
fiftiesHairColorDown();
};
var fiftiesHairBlondV = 0;
fiftiesHairColor_mc.blondBeard_btn.onRelease = function () {
if (fiftiesHairBlondV == 0) {
unloadMovie (fiftiesHairRed_mc);
unloadMovie (fiftiesHairBrown_mc);
fiftiesHairTemplateGone();
fiftiesHairTemplateV = 0;
fiftiesHairTemplate_mc._x = 10000;
fiftiesHairTemplate_mc._y = 10000;
fiftiesHairBrownV = 0;
fiftiesHairRedV = 0;
menu2HairGone();
hoodedGone();
helmetsAllUnload();
hatsAllUnload();
hatsMiscUnload();
afroHairGone();
afroHairTemplateGone();
dreadsHairGone();
dreadsHairTemplateGone();
elvisHairGone();
elvisHairTemplateGone();
guileHairGone();
guileHairTemplateGone();
sloppyHairGone();
sloppyHairTemplateGone();
_root.attachMovie("fiftiesHairBlond_mc", "fiftiesHairBlond_mc", hairLayerValue, {_x:248.3, _y:33.5});
fiftiesHairBlondV = 1;
} else if (fiftiesHairBlondV == 1) {
unloadMovie (fiftiesHairBlond_mc);
fiftiesHairBlondV = 0;
}
};
var fiftiesHairBrownV = 0;
fiftiesHairColor_mc.brownBeard_btn.onRelease = function () {
if (fiftiesHairBrownV == 0) {
unloadMovie (fiftiesHairBlond_mc);
unloadMovie (fiftiesHairRed_mc);
fiftiesHairTemplateGone();
fiftiesHairTemplateV = 0;
fiftiesHairTemplate_mc._x = 10000;
fiftiesHairTemplate_mc._y = 10000;
fiftiesHairBlondV = 0;
fiftiesHairRedV = 0;
menu2HairGone();
hoodedGone();
helmetsAllUnload();
hatsAllUnload();
hatsMiscUnload();
afroHairGone();
afroHairTemplateGone();
dreadsHairGone();
dreadsHairTemplateGone();
elvisHairGone();
elvisHairTemplateGone();
guileHairGone();
guileHairTemplateGone();
sloppyHairGone();
sloppyHairTemplateGone();
_root.attachMovie("fiftiesHairBrown_mc", "fiftiesHairBrown_mc", hairLayerValue, {_x:248.3, _y:33.5});
fiftiesHairBrownV = 1;
} else if (fiftiesHairBrownV == 1) {
unloadMovie (fiftiesHairBrown_mc);
fiftiesHairBrownV = 0;
}
};
var fiftiesHairRedV = 0;
fiftiesHairColor_mc.redBeard_btn.onRelease = function () {
if (fiftiesHairRedV == 0) {
unloadMovie (fiftiesHairBrown_mc);
unloadMovie (fiftiesHairBlond_mc);
fiftiesHairTemplateGone();
fiftiesHairTemplateV = 0;
fiftiesHairTemplate_mc._x = 10000;
fiftiesHairTemplate_mc._y = 10000;
fiftiesHairBrownV = 0;
fiftiesHairBlondV = 0;
menu2HairGone();
hoodedGone();
helmetsAllUnload();
hatsAllUnload();
hatsMiscUnload();
afroHairGone();
afroHairTemplateGone();
dreadsHairGone();
dreadsHairTemplateGone();
elvisHairGone();
elvisHairTemplateGone();
guileHairGone();
guileHairTemplateGone();
sloppyHairGone();
sloppyHairTemplateGone();
_root.attachMovie("fiftiesHairRed_mc", "fiftiesHairRed_mc", hairLayerValue, {_x:248.3, _y:33.5});
fiftiesHairRedV = 1;
} else if (fiftiesHairRedV == 1) {
unloadMovie (fiftiesHairRed_mc);
fiftiesHairRedV = 0;
}
};
var colorFiftiesHair = (new flash.geom.ColorTransform());
var fiftiesHair = (new flash.geom.Transform(fiftiesHairTemplate_mc));
fiftiesHair.colorTransform = colorFiftiesHair;
var fiftiesHairTemplateV = 0;
var fiftiesHairBlackV = 0;
fiftiesHairColor_mc.blackBeard_btn.onRelease = function () {
if (fiftiesHairBlackV == 0) {
if (fiftiesHairTemplateV == 0) {
unloadMovie (fiftiesHairBrown_mc);
unloadMovie (fiftiesHairBlond_mc);
unloadMovie (fiftiesHairRed_mc);
fiftiesHairTemplateGone();
fiftiesHairBrownV = 0;
fiftiesHairBlondV = 0;
fiftiesHairRedV = 0;
menu2HairGone();
hoodedGone();
helmetsAllUnload();
hatsAllUnload();
hatsMiscUnload();
afroHairGone();
afroHairTemplateGone();
dreadsHairGone();
dreadsHairTemplateGone();
elvisHairGone();
elvisHairTemplateGone();
guileHairGone();
guileHairTemplateGone();
sloppyHairGone();
sloppyHairTemplateGone();
fiftiesHairTemplate_mc._x = 248.3;
fiftiesHairTemplate_mc._y = 33.5;
fiftiesHairBlackV = 1;
fiftiesHairTemplateV = 1;
colorFiftiesHair.redOffset = -230;
colorFiftiesHair.greenOffset = -230;
colorFiftiesHair.blueOffset = -230;
fiftiesHair.colorTransform = colorFiftiesHair;
} else if (fiftiesHairTemplateV == 1) {
colorFiftiesHair.redOffset = -230;
colorFiftiesHair.greenOffset = -230;
colorFiftiesHair.blueOffset = -230;
fiftiesHair.colorTransform = colorFiftiesHair;
fiftiesHairBlackV = 1;
}
} else if (fiftiesHairBlackV == 1) {
fiftiesHairTemplate_mc._x = 10000;
fiftiesHairTemplate_mc._y = 10000;
fiftiesHairBlackV = 0;
fiftiesHairTemplateV = 0;
}
};
var fiftiesHairGreyV = 0;
fiftiesHairColor_mc.greyBeard_btn.onRelease = function () {
if (fiftiesHairGreyV == 0) {
if (fiftiesHairTemplateV == 0) {
unloadMovie (fiftiesHairBrown_mc);
unloadMovie (fiftiesHairBlond_mc);
unloadMovie (fiftiesHairRed_mc);
fiftiesHairTemplateGone();
fiftiesHairBrownV = 0;
fiftiesHairBlondV = 0;
fiftiesHairRedV = 0;
menu2HairGone();
hoodedGone();
helmetsAllUnload();
hatsAllUnload();
hatsMiscUnload();
afroHairGone();
afroHairTemplateGone();
dreadsHairGone();
dreadsHairTemplateGone();
elvisHairGone();
elvisHairTemplateGone();
guileHairGone();
guileHairTemplateGone();
sloppyHairGone();
sloppyHairTemplateGone();
fiftiesHairTemplate_mc._x = 248.3;
fiftiesHairTemplate_mc._y = 33.5;
fiftiesHairGreyV = 1;
fiftiesHairTemplateV = 1;
colorFiftiesHair.redOffset = -100;
colorFiftiesHair.greenOffset = -100;
colorFiftiesHair.blueOffset = -100;
fiftiesHair.colorTransform = colorFiftiesHair;
} else if (fiftiesHairTemplateV == 1) {
colorFiftiesHair.redOffset = -100;
colorFiftiesHair.greenOffset = -100;
colorFiftiesHair.blueOffset = -100;
fiftiesHair.colorTransform = colorFiftiesHair;
fiftiesHairGreyV = 1;
}
} else if (fiftiesHairGreyV == 1) {
fiftiesHairTemplate_mc._x = 10000;
fiftiesHairTemplate_mc._y = 10000;
fiftiesHairGreyV = 0;
fiftiesHairTemplateV = 0;
}
};
var fiftiesHairWhiteV = 0;
fiftiesHairColor_mc.whiteBeard_btn.onRelease = function () {
if (fiftiesHairWhiteV == 0) {
if (fiftiesHairTemplateV == 0) {
unloadMovie (fiftiesHairBrown_mc);
unloadMovie (fiftiesHairBlond_mc);
unloadMovie (fiftiesHairRed_mc);
fiftiesHairTemplateGone();
fiftiesHairBrownV = 0;
fiftiesHairBlondV = 0;
fiftiesHairRedV = 0;
menu2HairGone();
hoodedGone();
helmetsAllUnload();
hatsAllUnload();
hatsMiscUnload();
afroHairGone();
afroHairTemplateGone();
dreadsHairGone();
dreadsHairTemplateGone();
elvisHairGone();
elvisHairTemplateGone();
guileHairGone();
guileHairTemplateGone();
sloppyHairGone();
sloppyHairTemplateGone();
fiftiesHairTemplate_mc._x = 248.3;
fiftiesHairTemplate_mc._y = 33.5;
fiftiesHairWhiteV = 1;
fiftiesHairTemplateV = 1;
colorFiftiesHair.redOffset = 0;
colorFiftiesHair.greenOffset = 0;
colorFiftiesHair.blueOffset = 0;
fiftiesHair.colorTransform = colorFiftiesHair;
} else if (fiftiesHairTemplateV == 1) {
colorFiftiesHair.redOffset = 0;
colorFiftiesHair.greenOffset = 0;
colorFiftiesHair.blueOffset = 0;
fiftiesHair.colorTransform = colorFiftiesHair;
fiftiesHairWhiteV = 1;
}
} else if (fiftiesHairWhiteV == 1) {
fiftiesHairTemplate_mc._x = 10000;
fiftiesHairTemplate_mc._y = 10000;
fiftiesHairWhiteV = 0;
fiftiesHairTemplateV = 0;
}
};
var fiftiesHairLightGreenV = 0;
fiftiesHairColor_mc.lightGreenBeard_btn.onRelease = function () {
if (fiftiesHairLightGreenV == 0) {
if (fiftiesHairTemplateV == 0) {
unloadMovie (fiftiesHairBrown_mc);
unloadMovie (fiftiesHairBlond_mc);
unloadMovie (fiftiesHairRed_mc);
fiftiesHairTemplateGone();
fiftiesHairBrownV = 0;
fiftiesHairBlondV = 0;
fiftiesHairRedV = 0;
menu2HairGone();
hoodedGone();
helmetsAllUnload();
hatsAllUnload();
hatsMiscUnload();
afroHairGone();
afroHairTemplateGone();
dreadsHairGone();
dreadsHairTemplateGone();
elvisHairGone();
elvisHairTemplateGone();
guileHairGone();
guileHairTemplateGone();
sloppyHairGone();
sloppyHairTemplateGone();
fiftiesHairTemplate_mc._x = 248.3;
fiftiesHairTemplate_mc._y = 33.5;
fiftiesHairLightGreenV = 1;
fiftiesHairTemplateV = 1;
colorFiftiesHair.redOffset = -255;
colorFiftiesHair.greenOffset = -75;
colorFiftiesHair.blueOffset = -200;
fiftiesHair.colorTransform = colorFiftiesHair;
} else if (fiftiesHairTemplateV == 1) {
colorFiftiesHair.redOffset = -255;
colorFiftiesHair.greenOffset = -75;
colorFiftiesHair.blueOffset = -200;
fiftiesHair.colorTransform = colorFiftiesHair;
fiftiesHairLightGreenV = 1;
}
} else if (fiftiesHairLightGreenV == 1) {
fiftiesHairTemplate_mc._x = 10000;
fiftiesHairTemplate_mc._y = 10000;
fiftiesHairLightGreenV = 0;
fiftiesHairTemplateV = 0;
}
};
var fiftiesHairGreenV = 0;
fiftiesHairColor_mc.greenBeard_btn.onRelease = function () {
if (fiftiesHairGreenV == 0) {
if (fiftiesHairTemplateV == 0) {
unloadMovie (fiftiesHairBrown_mc);
unloadMovie (fiftiesHairBlond_mc);
unloadMovie (fiftiesHairRed_mc);
fiftiesHairTemplateGone();
fiftiesHairBrownV = 0;
fiftiesHairBlondV = 0;
fiftiesHairRedV = 0;
menu2HairGone();
hoodedGone();
helmetsAllUnload();
hatsAllUnload();
hatsMiscUnload();
afroHairGone();
afroHairTemplateGone();
dreadsHairGone();
dreadsHairTemplateGone();
elvisHairGone();
elvisHairTemplateGone();
guileHairGone();
guileHairTemplateGone();
sloppyHairGone();
sloppyHairTemplateGone();
fiftiesHairTemplate_mc._x = 248.3;
fiftiesHairTemplate_mc._y = 33.5;
fiftiesHairGreenV = 1;
fiftiesHairTemplateV = 1;
colorFiftiesHair.redOffset = -255;
colorFiftiesHair.greenOffset = -150;
colorFiftiesHair.blueOffset = -255;
fiftiesHair.colorTransform = colorFiftiesHair;
} else if (fiftiesHairTemplateV == 1) {
colorFiftiesHair.redOffset = -255;
colorFiftiesHair.greenOffset = -150;
colorFiftiesHair.blueOffset = -255;
fiftiesHair.colorTransform = colorFiftiesHair;
fiftiesHairGreenV = 1;
}
} else if (fiftiesHairGreenV == 1) {
fiftiesHairTemplate_mc._x = 10000;
fiftiesHairTemplate_mc._y = 10000;
fiftiesHairGreenV = 0;
fiftiesHairTemplateV = 0;
}
};
var fiftiesHairYellowV = 0;
fiftiesHairColor_mc.yellowBeard_btn.onRelease = function () {
if (fiftiesHairYellowV == 0) {
if (fiftiesHairTemplateV == 0) {
unloadMovie (fiftiesHairBrown_mc);
unloadMovie (fiftiesHairBlond_mc);
unloadMovie (fiftiesHairRed_mc);
fiftiesHairTemplateGone();
fiftiesHairBrownV = 0;
fiftiesHairBlondV = 0;
fiftiesHairRedV = 0;
menu2HairGone();
hoodedGone();
helmetsAllUnload();
hatsAllUnload();
hatsMiscUnload();
afroHairGone();
afroHairTemplateGone();
dreadsHairGone();
dreadsHairTemplateGone();
elvisHairGone();
elvisHairTemplateGone();
guileHairGone();
guileHairTemplateGone();
sloppyHairGone();
sloppyHairTemplateGone();
fiftiesHairTemplate_mc._x = 248.3;
fiftiesHairTemplate_mc._y = 33.5;
fiftiesHairYellowV = 1;
fiftiesHairTemplateV = 1;
colorFiftiesHair.redOffset = 0;
colorFiftiesHair.greenOffset = 0;
colorFiftiesHair.blueOffset = -255;
fiftiesHair.colorTransform = colorFiftiesHair;
} else if (fiftiesHairTemplateV == 1) {
colorFiftiesHair.redOffset = 0;
colorFiftiesHair.greenOffset = 0;
colorFiftiesHair.blueOffset = -255;
fiftiesHair.colorTransform = colorFiftiesHair;
fiftiesHairYellowV = 1;
}
} else if (fiftiesHairYellowV == 1) {
fiftiesHairTemplate_mc._x = 10000;
fiftiesHairTemplate_mc._y = 10000;
fiftiesHairYellowV = 0;
fiftiesHairTemplateV = 0;
}
};
var fiftiesHairPinkV = 0;
fiftiesHairColor_mc.pinkBeard_btn.onRelease = function () {
if (fiftiesHairPinkV == 0) {
if (fiftiesHairTemplateV == 0) {
unloadMovie (fiftiesHairBrown_mc);
unloadMovie (fiftiesHairBlond_mc);
unloadMovie (fiftiesHairRed_mc);
fiftiesHairTemplateGone();
fiftiesHairBrownV = 0;
fiftiesHairBlondV = 0;
fiftiesHairRedV = 0;
menu2HairGone();
hoodedGone();
helmetsAllUnload();
hatsAllUnload();
hatsMiscUnload();
afroHairGone();
afroHairTemplateGone();
dreadsHairGone();
dreadsHairTemplateGone();
elvisHairGone();
elvisHairTemplateGone();
guileHairGone();
guileHairTemplateGone();
sloppyHairGone();
sloppyHairTemplateGone();
fiftiesHairTemplate_mc._x = 248.3;
fiftiesHairTemplate_mc._y = 33.5;
fiftiesHairPinkV = 1;
fiftiesHairTemplateV = 1;
colorFiftiesHair.redOffset = 0;
colorFiftiesHair.greenOffset = -255;
colorFiftiesHair.blueOffset = 0;
fiftiesHair.colorTransform = colorFiftiesHair;
} else if (fiftiesHairTemplateV == 1) {
colorFiftiesHair.redOffset = 0;
colorFiftiesHair.greenOffset = -255;
colorFiftiesHair.blueOffset = 0;
fiftiesHair.colorTransform = colorFiftiesHair;
fiftiesHairPinkV = 1;
}
} else if (fiftiesHairPinkV == 1) {
fiftiesHairTemplate_mc._x = 10000;
fiftiesHairTemplate_mc._y = 10000;
fiftiesHairPinkV = 0;
fiftiesHairTemplateV = 0;
}
};
var fiftiesHairTealV = 0;
fiftiesHairColor_mc.tealBeard_btn.onRelease = function () {
if (fiftiesHairTealV == 0) {
if (fiftiesHairTemplateV == 0) {
unloadMovie (fiftiesHairBrown_mc);
unloadMovie (fiftiesHairBlond_mc);
unloadMovie (fiftiesHairRed_mc);
fiftiesHairTemplateGone();
fiftiesHairBrownV = 0;
fiftiesHairBlondV = 0;
fiftiesHairRedV = 0;
menu2HairGone();
hoodedGone();
helmetsAllUnload();
hatsAllUnload();
hatsMiscUnload();
afroHairGone();
afroHairTemplateGone();
dreadsHairGone();
dreadsHairTemplateGone();
elvisHairGone();
elvisHairTemplateGone();
guileHairGone();
guileHairTemplateGone();
sloppyHairGone();
sloppyHairTemplateGone();
fiftiesHairTemplate_mc._x = 248.3;
fiftiesHairTemplate_mc._y = 33.5;
fiftiesHairTealV = 1;
fiftiesHairTemplateV = 1;
colorFiftiesHair.redOffset = -255;
colorFiftiesHair.greenOffset = 0;
colorFiftiesHair.blueOffset = 0;
fiftiesHair.colorTransform = colorFiftiesHair;
} else if (fiftiesHairTemplateV == 1) {
colorFiftiesHair.redOffset = -255;
colorFiftiesHair.greenOffset = 0;
colorFiftiesHair.blueOffset = 0;
fiftiesHair.colorTransform = colorFiftiesHair;
fiftiesHairTealV = 1;
}
} else if (fiftiesHairTealV == 1) {
fiftiesHairTemplate_mc._x = 10000;
fiftiesHairTemplate_mc._y = 10000;
fiftiesHairTealV = 0;
fiftiesHairTemplateV = 0;
}
};
var fiftiesHairBlueV = 0;
fiftiesHairColor_mc.blueBeard_btn.onRelease = function () {
if (fiftiesHairBlueV == 0) {
if (fiftiesHairTemplateV == 0) {
unloadMovie (fiftiesHairBrown_mc);
unloadMovie (fiftiesHairBlond_mc);
unloadMovie (fiftiesHairRed_mc);
fiftiesHairTemplateGone();
fiftiesHairBrownV = 0;
fiftiesHairBlondV = 0;
fiftiesHairRedV = 0;
menu2HairGone();
hoodedGone();
helmetsAllUnload();
hatsAllUnload();
hatsMiscUnload();
afroHairGone();
afroHairTemplateGone();
dreadsHairGone();
dreadsHairTemplateGone();
elvisHairGone();
elvisHairTemplateGone();
guileHairGone();
guileHairTemplateGone();
sloppyHairGone();
sloppyHairTemplateGone();
fiftiesHairTemplate_mc._x = 248.3;
fiftiesHairTemplate_mc._y = 33.5;
fiftiesHairBlueV = 1;
fiftiesHairTemplateV = 1;
colorFiftiesHair.redOffset = -255;
colorFiftiesHair.greenOffset = -255;
colorFiftiesHair.blueOffset = 0;
fiftiesHair.colorTransform = colorFiftiesHair;
} else if (fiftiesHairTemplateV == 1) {
colorFiftiesHair.redOffset = -255;
colorFiftiesHair.greenOffset = -255;
colorFiftiesHair.blueOffset = 0;
fiftiesHair.colorTransform = colorFiftiesHair;
fiftiesHairBlueV = 1;
}
} else if (fiftiesHairBlueV == 1) {
fiftiesHairTemplate_mc._x = 10000;
fiftiesHairTemplate_mc._y = 10000;
fiftiesHairBlueV = 0;
fiftiesHairTemplateV = 0;
}
};
var afroHairColorV = 0;
hairMenu_mc.afroHair_btn.onRelease = function () {
afroHairColorDown();
};
var afroHairBlondV = 0;
afroHairColor_mc.blondBeard_btn.onRelease = function () {
if (afroHairBlondV == 0) {
unloadMovie (afroHairRed_mc);
unloadMovie (afroHairBrown_mc);
afroHairTemplateGone();
afroHairTemplateV = 0;
afroHairTemplate_mc._x = 10000;
afroHairTemplate_mc._y = 10000;
afroHairBrownV = 0;
afroHairRedV = 0;
unloadMovie (afroHairRainbow_mc);
afroHairRainbowV = 0;
menu2HairGone();
hoodedGone();
helmetsAllUnload();
hatsAllUnload();
hatsMiscUnload();
fiftiesHairGone();
fiftiesHairTemplateGone();
dreadsHairGone();
dreadsHairTemplateGone();
elvisHairGone();
elvisHairTemplateGone();
guileHairGone();
guileHairTemplateGone();
sloppyHairGone();
sloppyHairTemplateGone();
unloadMovie (afroHairRainbow_mc);
afroHairRainbowV = 0;
_root.attachMovie("afroHairBlond_mc", "afroHairBlond_mc", hairLayerValue, {_x:235.8, _y:-1});
afroHairBlondV = 1;
} else if (afroHairBlondV == 1) {
unloadMovie (afroHairBlond_mc);
afroHairBlondV = 0;
}
};
var afroHairBrownV = 0;
afroHairColor_mc.brownBeard_btn.onRelease = function () {
if (afroHairBrownV == 0) {
unloadMovie (afroHairBlond_mc);
unloadMovie (afroHairRed_mc);
afroHairTemplateGone();
afroHairTemplateV = 0;
afroHairTemplate_mc._x = 10000;
afroHairTemplate_mc._y = 10000;
afroHairBlondV = 0;
afroHairRedV = 0;
unloadMovie (afroHairRainbow_mc);
afroHairRainbowV = 0;
menu2HairGone();
hoodedGone();
helmetsAllUnload();
hatsAllUnload();
hatsMiscUnload();
fiftiesHairGone();
fiftiesHairTemplateGone();
dreadsHairGone();
dreadsHairTemplateGone();
elvisHairGone();
elvisHairTemplateGone();
guileHairGone();
guileHairTemplateGone();
sloppyHairGone();
sloppyHairTemplateGone();
unloadMovie (afroHairRainbow_mc);
afroHairRainbowV = 0;
_root.attachMovie("afroHairBrown_mc", "afroHairBrown_mc", hairLayerValue, {_x:235.8, _y:-1});
afroHairBrownV = 1;
} else if (afroHairBrownV == 1) {
unloadMovie (afroHairBrown_mc);
afroHairBrownV = 0;
}
};
var afroHairRedV = 0;
afroHairColor_mc.redBeard_btn.onRelease = function () {
if (afroHairRedV == 0) {
unloadMovie (afroHairBrown_mc);
unloadMovie (afroHairBlond_mc);
afroHairTemplateGone();
afroHairTemplateV = 0;
afroHairTemplate_mc._x = 10000;
afroHairTemplate_mc._y = 10000;
afroHairBrownV = 0;
afroHairBlondV = 0;
unloadMovie (afroHairRainbow_mc);
afroHairRainbowV = 0;
menu2HairGone();
hoodedGone();
helmetsAllUnload();
hatsAllUnload();
hatsMiscUnload();
fiftiesHairGone();
fiftiesHairTemplateGone();
dreadsHairGone();
dreadsHairTemplateGone();
elvisHairGone();
elvisHairTemplateGone();
guileHairGone();
guileHairTemplateGone();
sloppyHairGone();
sloppyHairTemplateGone();
unloadMovie (afroHairRainbow_mc);
afroHairRainbowV = 0;
_root.attachMovie("afroHairRed_mc", "afroHairRed_mc", hairLayerValue, {_x:235.8, _y:-1});
afroHairRedV = 1;
} else if (afroHairRedV == 1) {
unloadMovie (afroHairRed_mc);
afroHairRedV = 0;
}
};
var colorAfroHair = (new flash.geom.ColorTransform());
var afroHair = (new flash.geom.Transform(afroHairTemplate_mc));
afroHair.colorTransform = colorAfroHair;
var afroHairTemplateV = 0;
var afroHairBlackV = 0;
afroHairColor_mc.blackBeard_btn.onRelease = function () {
if (afroHairBlackV == 0) {
if (afroHairTemplateV == 0) {
unloadMovie (afroHairBrown_mc);
unloadMovie (afroHairBlond_mc);
unloadMovie (afroHairRed_mc);
afroHairTemplateGone();
afroHairBrownV = 0;
afroHairBlondV = 0;
afroHairRedV = 0;
unloadMovie (afroHairRainbow_mc);
afroHairRainbowV = 0;
menu2HairGone();
hoodedGone();
helmetsAllUnload();
hatsAllUnload();
hatsMiscUnload();
fiftiesHairGone();
fiftiesHairTemplateGone();
dreadsHairGone();
dreadsHairTemplateGone();
elvisHairGone();
elvisHairTemplateGone();
guileHairGone();
guileHairTemplateGone();
sloppyHairGone();
sloppyHairTemplateGone();
afroHairTemplate_mc._x = 235.8;
afroHairTemplate_mc._y = -1;
afroHairBlackV = 1;
afroHairTemplateV = 1;
colorAfroHair.redOffset = -230;
colorAfroHair.greenOffset = -230;
colorAfroHair.blueOffset = -230;
afroHair.colorTransform = colorAfroHair;
} else if (afroHairTemplateV == 1) {
colorAfroHair.redOffset = -230;
colorAfroHair.greenOffset = -230;
colorAfroHair.blueOffset = -230;
afroHair.colorTransform = colorAfroHair;
afroHairBlackV = 1;
}
} else if (afroHairBlackV == 1) {
afroHairTemplate_mc._x = 10000;
afroHairTemplate_mc._y = 10000;
afroHairBlackV = 0;
afroHairTemplateV = 0;
}
};
var afroHairGreyV = 0;
afroHairColor_mc.greyBeard_btn.onRelease = function () {
if (afroHairGreyV == 0) {
if (afroHairTemplateV == 0) {
unloadMovie (afroHairBrown_mc);
unloadMovie (afroHairBlond_mc);
unloadMovie (afroHairRed_mc);
afroHairTemplateGone();
afroHairBrownV = 0;
afroHairBlondV = 0;
afroHairRedV = 0;
unloadMovie (afroHairRainbow_mc);
afroHairRainbowV = 0;
menu2HairGone();
hoodedGone();
helmetsAllUnload();
hatsAllUnload();
hatsMiscUnload();
fiftiesHairGone();
fiftiesHairTemplateGone();
dreadsHairGone();
dreadsHairTemplateGone();
elvisHairGone();
elvisHairTemplateGone();
guileHairGone();
guileHairTemplateGone();
sloppyHairGone();
sloppyHairTemplateGone();
afroHairTemplate_mc._x = 235.8;
afroHairTemplate_mc._y = -1;
afroHairGreyV = 1;
afroHairTemplateV = 1;
colorAfroHair.redOffset = -100;
colorAfroHair.greenOffset = -100;
colorAfroHair.blueOffset = -100;
afroHair.colorTransform = colorAfroHair;
} else if (afroHairTemplateV == 1) {
colorAfroHair.redOffset = -100;
colorAfroHair.greenOffset = -100;
colorAfroHair.blueOffset = -100;
afroHair.colorTransform = colorAfroHair;
afroHairGreyV = 1;
}
} else if (afroHairGreyV == 1) {
afroHairTemplate_mc._x = 10000;
afroHairTemplate_mc._y = 10000;
afroHairGreyV = 0;
afroHairTemplateV = 0;
}
};
var afroHairWhiteV = 0;
afroHairColor_mc.whiteBeard_btn.onRelease = function () {
if (afroHairWhiteV == 0) {
if (afroHairTemplateV == 0) {
unloadMovie (afroHairBrown_mc);
unloadMovie (afroHairBlond_mc);
unloadMovie (afroHairRed_mc);
afroHairTemplateGone();
afroHairBrownV = 0;
afroHairBlondV = 0;
afroHairRedV = 0;
unloadMovie (afroHairRainbow_mc);
afroHairRainbowV = 0;
menu2HairGone();
hoodedGone();
helmetsAllUnload();
hatsAllUnload();
hatsMiscUnload();
fiftiesHairGone();
fiftiesHairTemplateGone();
dreadsHairGone();
dreadsHairTemplateGone();
elvisHairGone();
elvisHairTemplateGone();
guileHairGone();
guileHairTemplateGone();
sloppyHairGone();
sloppyHairTemplateGone();
afroHairTemplate_mc._x = 235.8;
afroHairTemplate_mc._y = -1;
afroHairWhiteV = 1;
afroHairTemplateV = 1;
colorAfroHair.redOffset = 0;
colorAfroHair.greenOffset = 0;
colorAfroHair.blueOffset = 0;
afroHair.colorTransform = colorAfroHair;
} else if (afroHairTemplateV == 1) {
colorAfroHair.redOffset = 0;
colorAfroHair.greenOffset = 0;
colorAfroHair.blueOffset = 0;
afroHair.colorTransform = colorAfroHair;
afroHairWhiteV = 1;
}
} else if (afroHairWhiteV == 1) {
afroHairTemplate_mc._x = 10000;
afroHairTemplate_mc._y = 10000;
afroHairWhiteV = 0;
afroHairTemplateV = 0;
}
};
var afroHairLightGreenV = 0;
afroHairColor_mc.lightGreenBeard_btn.onRelease = function () {
if (afroHairLightGreenV == 0) {
if (afroHairTemplateV == 0) {
unloadMovie (afroHairBrown_mc);
unloadMovie (afroHairBlond_mc);
unloadMovie (afroHairRed_mc);
afroHairTemplateGone();
afroHairBrownV = 0;
afroHairBlondV = 0;
afroHairRedV = 0;
unloadMovie (afroHairRainbow_mc);
afroHairRainbowV = 0;
menu2HairGone();
hoodedGone();
helmetsAllUnload();
hatsAllUnload();
hatsMiscUnload();
fiftiesHairGone();
fiftiesHairTemplateGone();
dreadsHairGone();
dreadsHairTemplateGone();
elvisHairGone();
elvisHairTemplateGone();
guileHairGone();
guileHairTemplateGone();
sloppyHairGone();
sloppyHairTemplateGone();
afroHairTemplate_mc._x = 235.8;
afroHairTemplate_mc._y = -1;
afroHairLightGreenV = 1;
afroHairTemplateV = 1;
colorAfroHair.redOffset = -255;
colorAfroHair.greenOffset = -75;
colorAfroHair.blueOffset = -200;
afroHair.colorTransform = colorAfroHair;
} else if (afroHairTemplateV == 1) {
colorAfroHair.redOffset = -255;
colorAfroHair.greenOffset = -75;
colorAfroHair.blueOffset = -200;
afroHair.colorTransform = colorAfroHair;
afroHairLightGreenV = 1;
}
} else if (afroHairLightGreenV == 1) {
afroHairTemplate_mc._x = 10000;
afroHairTemplate_mc._y = 10000;
afroHairLightGreenV = 0;
afroHairTemplateV = 0;
}
};
var afroHairGreenV = 0;
afroHairColor_mc.greenBeard_btn.onRelease = function () {
if (afroHairGreenV == 0) {
if (afroHairTemplateV == 0) {
unloadMovie (afroHairBrown_mc);
unloadMovie (afroHairBlond_mc);
unloadMovie (afroHairRed_mc);
afroHairTemplateGone();
afroHairBrownV = 0;
afroHairBlondV = 0;
afroHairRedV = 0;
unloadMovie (afroHairRainbow_mc);
afroHairRainbowV = 0;
menu2HairGone();
hoodedGone();
helmetsAllUnload();
hatsAllUnload();
hatsMiscUnload();
fiftiesHairGone();
fiftiesHairTemplateGone();
dreadsHairGone();
dreadsHairTemplateGone();
elvisHairGone();
elvisHairTemplateGone();
guileHairGone();
guileHairTemplateGone();
sloppyHairGone();
sloppyHairTemplateGone();
afroHairTemplate_mc._x = 235.8;
afroHairTemplate_mc._y = -1;
afroHairGreenV = 1;
afroHairTemplateV = 1;
colorAfroHair.redOffset = -255;
colorAfroHair.greenOffset = -150;
colorAfroHair.blueOffset = -255;
afroHair.colorTransform = colorAfroHair;
} else if (afroHairTemplateV == 1) {
colorAfroHair.redOffset = -255;
colorAfroHair.greenOffset = -150;
colorAfroHair.blueOffset = -255;
afroHair.colorTransform = colorAfroHair;
afroHairGreenV = 1;
}
} else if (afroHairGreenV == 1) {
afroHairTemplate_mc._x = 10000;
afroHairTemplate_mc._y = 10000;
afroHairGreenV = 0;
afroHairTemplateV = 0;
}
};
var afroHairYellowV = 0;
afroHairColor_mc.yellowBeard_btn.onRelease = function () {
if (afroHairYellowV == 0) {
if (afroHairTemplateV == 0) {
unloadMovie (afroHairBrown_mc);
unloadMovie (afroHairBlond_mc);
unloadMovie (afroHairRed_mc);
afroHairTemplateGone();
afroHairBrownV = 0;
afroHairBlondV = 0;
afroHairRedV = 0;
unloadMovie (afroHairRainbow_mc);
afroHairRainbowV = 0;
menu2HairGone();
hoodedGone();
helmetsAllUnload();
hatsAllUnload();
hatsMiscUnload();
fiftiesHairGone();
fiftiesHairTemplateGone();
dreadsHairGone();
dreadsHairTemplateGone();
elvisHairGone();
elvisHairTemplateGone();
guileHairGone();
guileHairTemplateGone();
sloppyHairGone();
sloppyHairTemplateGone();
afroHairTemplate_mc._x = 235.8;
afroHairTemplate_mc._y = -1;
afroHairYellowV = 1;
afroHairTemplateV = 1;
colorAfroHair.redOffset = 0;
colorAfroHair.greenOffset = 0;
colorAfroHair.blueOffset = -255;
afroHair.colorTransform = colorAfroHair;
} else if (afroHairTemplateV == 1) {
colorAfroHair.redOffset = 0;
colorAfroHair.greenOffset = 0;
colorAfroHair.blueOffset = -255;
afroHair.colorTransform = colorAfroHair;
afroHairYellowV = 1;
}
} else if (afroHairYellowV == 1) {
afroHairTemplate_mc._x = 10000;
afroHairTemplate_mc._y = 10000;
afroHairYellowV = 0;
afroHairTemplateV = 0;
}
};
var afroHairPinkV = 0;
afroHairColor_mc.pinkBeard_btn.onRelease = function () {
if (afroHairPinkV == 0) {
if (afroHairTemplateV == 0) {
unloadMovie (afroHairBrown_mc);
unloadMovie (afroHairBlond_mc);
unloadMovie (afroHairRed_mc);
afroHairTemplateGone();
afroHairBrownV = 0;
afroHairBlondV = 0;
afroHairRedV = 0;
unloadMovie (afroHairRainbow_mc);
afroHairRainbowV = 0;
menu2HairGone();
hoodedGone();
helmetsAllUnload();
hatsAllUnload();
hatsMiscUnload();
fiftiesHairGone();
fiftiesHairTemplateGone();
dreadsHairGone();
dreadsHairTemplateGone();
elvisHairGone();
elvisHairTemplateGone();
guileHairGone();
guileHairTemplateGone();
sloppyHairGone();
sloppyHairTemplateGone();
afroHairTemplate_mc._x = 235.8;
afroHairTemplate_mc._y = -1;
afroHairPinkV = 1;
afroHairTemplateV = 1;
colorAfroHair.redOffset = 0;
colorAfroHair.greenOffset = -255;
colorAfroHair.blueOffset = 0;
afroHair.colorTransform = colorAfroHair;
} else if (afroHairTemplateV == 1) {
colorAfroHair.redOffset = 0;
colorAfroHair.greenOffset = -255;
colorAfroHair.blueOffset = 0;
afroHair.colorTransform = colorAfroHair;
afroHairPinkV = 1;
}
} else if (afroHairPinkV == 1) {
afroHairTemplate_mc._x = 10000;
afroHairTemplate_mc._y = 10000;
afroHairPinkV = 0;
afroHairTemplateV = 0;
}
};
var afroHairTealV = 0;
afroHairColor_mc.tealBeard_btn.onRelease = function () {
if (afroHairTealV == 0) {
if (afroHairTemplateV == 0) {
unloadMovie (afroHairBrown_mc);
unloadMovie (afroHairBlond_mc);
unloadMovie (afroHairRed_mc);
afroHairTemplateGone();
afroHairBrownV = 0;
afroHairBlondV = 0;
afroHairRedV = 0;
unloadMovie (afroHairRainbow_mc);
afroHairRainbowV = 0;
menu2HairGone();
hoodedGone();
helmetsAllUnload();
hatsAllUnload();
hatsMiscUnload();
fiftiesHairGone();
fiftiesHairTemplateGone();
dreadsHairGone();
dreadsHairTemplateGone();
elvisHairGone();
elvisHairTemplateGone();
guileHairGone();
guileHairTemplateGone();
sloppyHairGone();
sloppyHairTemplateGone();
afroHairTemplate_mc._x = 235.8;
afroHairTemplate_mc._y = -1;
afroHairTealV = 1;
afroHairTemplateV = 1;
colorAfroHair.redOffset = -255;
colorAfroHair.greenOffset = 0;
colorAfroHair.blueOffset = 0;
afroHair.colorTransform = colorAfroHair;
} else if (afroHairTemplateV == 1) {
colorAfroHair.redOffset = -255;
colorAfroHair.greenOffset = 0;
colorAfroHair.blueOffset = 0;
afroHair.colorTransform = colorAfroHair;
afroHairTealV = 1;
}
} else if (afroHairTealV == 1) {
afroHairTemplate_mc._x = 10000;
afroHairTemplate_mc._y = 10000;
afroHairTealV = 0;
afroHairTemplateV = 0;
}
};
var afroHairBlueV = 0;
afroHairColor_mc.blueBeard_btn.onRelease = function () {
if (afroHairBlueV == 0) {
if (afroHairTemplateV == 0) {
unloadMovie (afroHairBrown_mc);
unloadMovie (afroHairBlond_mc);
unloadMovie (afroHairRed_mc);
afroHairTemplateGone();
afroHairBrownV = 0;
afroHairBlondV = 0;
afroHairRedV = 0;
unloadMovie (afroHairRainbow_mc);
afroHairRainbowV = 0;
menu2HairGone();
hoodedGone();
helmetsAllUnload();
hatsAllUnload();
hatsMiscUnload();
fiftiesHairGone();
fiftiesHairTemplateGone();
dreadsHairGone();
dreadsHairTemplateGone();
elvisHairGone();
elvisHairTemplateGone();
guileHairGone();
guileHairTemplateGone();
sloppyHairGone();
sloppyHairTemplateGone();
afroHairTemplate_mc._x = 235.8;
afroHairTemplate_mc._y = -1;
afroHairBlueV = 1;
afroHairTemplateV = 1;
colorAfroHair.redOffset = -255;
colorAfroHair.greenOffset = -255;
colorAfroHair.blueOffset = 0;
afroHair.colorTransform = colorAfroHair;
} else if (afroHairTemplateV == 1) {
colorAfroHair.redOffset = -255;
colorAfroHair.greenOffset = -255;
colorAfroHair.blueOffset = 0;
afroHair.colorTransform = colorAfroHair;
afroHairBlueV = 1;
}
} else if (afroHairBlueV == 1) {
afroHairTemplate_mc._x = 10000;
afroHairTemplate_mc._y = 10000;
afroHairBlueV = 0;
afroHairTemplateV = 0;
}
};
var afroHairRainbowV = 0;
afroHairColor_mc.rainbowBeard_btn.onRelease = function () {
if (afroHairRainbowV == 0) {
unloadMovie (afroHairRed_mc);
unloadMovie (afroHairBrown_mc);
unloadMovie (afroHairBlond_mc);
afroHairTemplateGone();
afroHairTemplateV = 0;
afroHairTemplate_mc._x = 10000;
afroHairTemplate_mc._y = 10000;
afroHairBrownV = 0;
afroHairRedV = 0;
afroHairBlondV = 0;
menu2HairGone();
hoodedGone();
helmetsAllUnload();
hatsAllUnload();
hatsMiscUnload();
fiftiesHairGone();
fiftiesHairTemplateGone();
dreadsHairGone();
dreadsHairTemplateGone();
elvisHairGone();
elvisHairTemplateGone();
guileHairGone();
guileHairTemplateGone();
sloppyHairGone();
sloppyHairTemplateGone();
_root.attachMovie("afroHairRainbow_mc", "afroHairRainbow_mc", hairLayerValue, {_x:235.8, _y:-1});
afroHairRainbowV = 1;
} else if (afroHairRainbowV == 1) {
unloadMovie (afroHairRainbow_mc);
afroHairRainbowV = 0;
}
};
var dreadsHairColorV = 0;
hairMenu_mc.dreadsHair_btn.onRelease = function () {
dreadsHairColorDown();
};
var dreadsHairBlondV = 0;
dreadsHairColor_mc.blondBeard_btn.onRelease = function () {
if (dreadsHairBlondV == 0) {
unloadMovie (dreadsHairRed_mc);
unloadMovie (dreadsHairBrown_mc);
dreadsHairTemplateGone();
dreadsHairTemplateV = 0;
dreadsHairTemplate_mc._x = 10000;
dreadsHairTemplate_mc._y = 10000;
dreadsHairBrownV = 0;
dreadsHairRedV = 0;
menu2HairGone();
hoodedGone();
helmetsAllUnload();
hatsAllUnload();
hatsMiscUnload();
fiftiesHairGone();
fiftiesHairTemplateGone();
afroHairGone();
afroHairTemplateGone();
elvisHairGone();
elvisHairTemplateGone();
guileHairGone();
guileHairTemplateGone();
sloppyHairGone();
sloppyHairTemplateGone();
_root.attachMovie("dreadsHairBlond_mc", "dreadsHairBlond_mc", hairLayerValue2, {_x:247.5, _y:47.1});
dreadsHairBlondV = 1;
} else if (dreadsHairBlondV == 1) {
unloadMovie (dreadsHairBlond_mc);
dreadsHairBlondV = 0;
}
};
var dreadsHairBrownV = 0;
dreadsHairColor_mc.brownBeard_btn.onRelease = function () {
if (dreadsHairBrownV == 0) {
unloadMovie (dreadsHairBlond_mc);
unloadMovie (dreadsHairRed_mc);
dreadsHairTemplateGone();
dreadsHairTemplateV = 0;
dreadsHairTemplate_mc._x = 10000;
dreadsHairTemplate_mc._y = 10000;
dreadsHairBlondV = 0;
dreadsHairRedV = 0;
menu2HairGone();
hoodedGone();
helmetsAllUnload();
hatsAllUnload();
hatsMiscUnload();
fiftiesHairGone();
fiftiesHairTemplateGone();
afroHairGone();
afroHairTemplateGone();
elvisHairGone();
elvisHairTemplateGone();
guileHairGone();
guileHairTemplateGone();
sloppyHairGone();
sloppyHairTemplateGone();
_root.attachMovie("dreadsHairBrown_mc", "dreadsHairBrown_mc", hairLayerValue2, {_x:247.5, _y:47.1});
dreadsHairBrownV = 1;
} else if (dreadsHairBrownV == 1) {
unloadMovie (dreadsHairBrown_mc);
dreadsHairBrownV = 0;
}
};
var dreadsHairRedV = 0;
dreadsHairColor_mc.redBeard_btn.onRelease = function () {
if (dreadsHairRedV == 0) {
unloadMovie (dreadsHairBrown_mc);
unloadMovie (dreadsHairBlond_mc);
dreadsHairTemplateGone();
dreadsHairTemplateV = 0;
dreadsHairTemplate_mc._x = 10000;
dreadsHairTemplate_mc._y = 10000;
dreadsHairBrownV = 0;
dreadsHairBlondV = 0;
menu2HairGone();
hoodedGone();
helmetsAllUnload();
hatsAllUnload();
hatsMiscUnload();
fiftiesHairGone();
fiftiesHairTemplateGone();
afroHairGone();
afroHairTemplateGone();
elvisHairGone();
elvisHairTemplateGone();
guileHairGone();
guileHairTemplateGone();
sloppyHairGone();
sloppyHairTemplateGone();
_root.attachMovie("dreadsHairRed_mc", "dreadsHairRed_mc", hairLayerValue2, {_x:247.5, _y:47.1});
dreadsHairRedV = 1;
} else if (dreadsHairRedV == 1) {
unloadMovie (dreadsHairRed_mc);
dreadsHairRedV = 0;
}
};
var colorDreadsHair = (new flash.geom.ColorTransform());
var dreadsHair = (new flash.geom.Transform(dreadsHairTemplate_mc));
dreadsHair.colorTransform = colorDreadsHair;
var dreadsHairTemplateV = 0;
var dreadsHairBlackV = 0;
dreadsHairColor_mc.blackBeard_btn.onRelease = function () {
if (dreadsHairBlackV == 0) {
if (dreadsHairTemplateV == 0) {
unloadMovie (dreadsHairBrown_mc);
unloadMovie (dreadsHairBlond_mc);
unloadMovie (dreadsHairRed_mc);
dreadsHairTemplateGone();
dreadsHairBrownV = 0;
dreadsHairBlondV = 0;
dreadsHairRedV = 0;
menu2HairGone();
hoodedGone();
helmetsAllUnload();
hatsAllUnload();
hatsMiscUnload();
fiftiesHairGone();
fiftiesHairTemplateGone();
afroHairGone();
afroHairTemplateGone();
elvisHairGone();
elvisHairTemplateGone();
guileHairGone();
guileHairTemplateGone();
sloppyHairGone();
sloppyHairTemplateGone();
dreadsHairTemplate_mc._x = 247.5;
dreadsHairTemplate_mc._y = 47.1;
dreadsHairBlackV = 1;
dreadsHairTemplateV = 1;
colorDreadsHair.redOffset = -230;
colorDreadsHair.greenOffset = -230;
colorDreadsHair.blueOffset = -230;
dreadsHair.colorTransform = colorDreadsHair;
} else if (dreadsHairTemplateV == 1) {
colorDreadsHair.redOffset = -230;
colorDreadsHair.greenOffset = -230;
colorDreadsHair.blueOffset = -230;
dreadsHair.colorTransform = colorDreadsHair;
dreadsHairBlackV = 1;
}
} else if (dreadsHairBlackV == 1) {
dreadsHairTemplate_mc._x = 10000;
dreadsHairTemplate_mc._y = 10000;
dreadsHairBlackV = 0;
dreadsHairTemplateV = 0;
}
};
var dreadsHairGreyV = 0;
dreadsHairColor_mc.greyBeard_btn.onRelease = function () {
if (dreadsHairGreyV == 0) {
if (dreadsHairTemplateV == 0) {
unloadMovie (dreadsHairBrown_mc);
unloadMovie (dreadsHairBlond_mc);
unloadMovie (dreadsHairRed_mc);
dreadsHairTemplateGone();
dreadsHairBrownV = 0;
dreadsHairBlondV = 0;
dreadsHairRedV = 0;
menu2HairGone();
hoodedGone();
helmetsAllUnload();
hatsAllUnload();
hatsMiscUnload();
fiftiesHairGone();
fiftiesHairTemplateGone();
afroHairGone();
afroHairTemplateGone();
elvisHairGone();
elvisHairTemplateGone();
guileHairGone();
guileHairTemplateGone();
sloppyHairGone();
sloppyHairTemplateGone();
dreadsHairTemplate_mc._x = 247.5;
dreadsHairTemplate_mc._y = 47.1;
dreadsHairGreyV = 1;
dreadsHairTemplateV = 1;
colorDreadsHair.redOffset = -100;
colorDreadsHair.greenOffset = -100;
colorDreadsHair.blueOffset = -100;
dreadsHair.colorTransform = colorDreadsHair;
} else if (dreadsHairTemplateV == 1) {
colorDreadsHair.redOffset = -100;
colorDreadsHair.greenOffset = -100;
colorDreadsHair.blueOffset = -100;
dreadsHair.colorTransform = colorDreadsHair;
dreadsHairGreyV = 1;
}
} else if (dreadsHairGreyV == 1) {
dreadsHairTemplate_mc._x = 10000;
dreadsHairTemplate_mc._y = 10000;
dreadsHairGreyV = 0;
dreadsHairTemplateV = 0;
}
};
var dreadsHairWhiteV = 0;
dreadsHairColor_mc.whiteBeard_btn.onRelease = function () {
if (dreadsHairWhiteV == 0) {
if (dreadsHairTemplateV == 0) {
unloadMovie (dreadsHairBrown_mc);
unloadMovie (dreadsHairBlond_mc);
unloadMovie (dreadsHairRed_mc);
dreadsHairTemplateGone();
dreadsHairBrownV = 0;
dreadsHairBlondV = 0;
dreadsHairRedV = 0;
menu2HairGone();
hoodedGone();
helmetsAllUnload();
hatsAllUnload();
hatsMiscUnload();
fiftiesHairGone();
fiftiesHairTemplateGone();
afroHairGone();
afroHairTemplateGone();
elvisHairGone();
elvisHairTemplateGone();
guileHairGone();
guileHairTemplateGone();
sloppyHairGone();
sloppyHairTemplateGone();
dreadsHairTemplate_mc._x = 247.5;
dreadsHairTemplate_mc._y = 47.1;
dreadsHairWhiteV = 1;
dreadsHairTemplateV = 1;
colorDreadsHair.redOffset = 0;
colorDreadsHair.greenOffset = 0;
colorDreadsHair.blueOffset = 0;
dreadsHair.colorTransform = colorDreadsHair;
} else if (dreadsHairTemplateV == 1) {
colorDreadsHair.redOffset = 0;
colorDreadsHair.greenOffset = 0;
colorDreadsHair.blueOffset = 0;
dreadsHair.colorTransform = colorDreadsHair;
dreadsHairWhiteV = 1;
}
} else if (dreadsHairWhiteV == 1) {
dreadsHairTemplate_mc._x = 10000;
dreadsHairTemplate_mc._y = 10000;
dreadsHairWhiteV = 0;
dreadsHairTemplateV = 0;
}
};
var dreadsHairLightGreenV = 0;
dreadsHairColor_mc.lightGreenBeard_btn.onRelease = function () {
if (dreadsHairLightGreenV == 0) {
if (dreadsHairTemplateV == 0) {
unloadMovie (dreadsHairBrown_mc);
unloadMovie (dreadsHairBlond_mc);
unloadMovie (dreadsHairRed_mc);
dreadsHairTemplateGone();
dreadsHairBrownV = 0;
dreadsHairBlondV = 0;
dreadsHairRedV = 0;
menu2HairGone();
hoodedGone();
helmetsAllUnload();
hatsAllUnload();
hatsMiscUnload();
fiftiesHairGone();
fiftiesHairTemplateGone();
afroHairGone();
afroHairTemplateGone();
elvisHairGone();
elvisHairTemplateGone();
guileHairGone();
guileHairTemplateGone();
sloppyHairGone();
sloppyHairTemplateGone();
dreadsHairTemplate_mc._x = 247.5;
dreadsHairTemplate_mc._y = 47.1;
dreadsHairLightGreenV = 1;
dreadsHairTemplateV = 1;
colorDreadsHair.redOffset = -255;
colorDreadsHair.greenOffset = -75;
colorDreadsHair.blueOffset = -200;
dreadsHair.colorTransform = colorDreadsHair;
} else if (dreadsHairTemplateV == 1) {
colorDreadsHair.redOffset = -255;
colorDreadsHair.greenOffset = -75;
colorDreadsHair.blueOffset = -200;
dreadsHair.colorTransform = colorDreadsHair;
dreadsHairLightGreenV = 1;
}
} else if (dreadsHairLightGreenV == 1) {
dreadsHairTemplate_mc._x = 10000;
dreadsHairTemplate_mc._y = 10000;
dreadsHairLightGreenV = 0;
dreadsHairTemplateV = 0;
}
};
var dreadsHairGreenV = 0;
dreadsHairColor_mc.greenBeard_btn.onRelease = function () {
if (dreadsHairGreenV == 0) {
if (dreadsHairTemplateV == 0) {
unloadMovie (dreadsHairBrown_mc);
unloadMovie (dreadsHairBlond_mc);
unloadMovie (dreadsHairRed_mc);
dreadsHairTemplateGone();
dreadsHairBrownV = 0;
dreadsHairBlondV = 0;
dreadsHairRedV = 0;
menu2HairGone();
hoodedGone();
helmetsAllUnload();
hatsAllUnload();
hatsMiscUnload();
fiftiesHairGone();
fiftiesHairTemplateGone();
afroHairGone();
afroHairTemplateGone();
elvisHairGone();
elvisHairTemplateGone();
guileHairGone();
guileHairTemplateGone();
sloppyHairGone();
sloppyHairTemplateGone();
dreadsHairTemplate_mc._x = 247.5;
dreadsHairTemplate_mc._y = 47.1;
dreadsHairGreenV = 1;
dreadsHairTemplateV = 1;
colorDreadsHair.redOffset = -255;
colorDreadsHair.greenOffset = -150;
colorDreadsHair.blueOffset = -255;
dreadsHair.colorTransform = colorDreadsHair;
} else if (dreadsHairTemplateV == 1) {
colorDreadsHair.redOffset = -255;
colorDreadsHair.greenOffset = -150;
colorDreadsHair.blueOffset = -255;
dreadsHair.colorTransform = colorDreadsHair;
dreadsHairGreenV = 1;
}
} else if (dreadsHairGreenV == 1) {
dreadsHairTemplate_mc._x = 10000;
dreadsHairTemplate_mc._y = 10000;
dreadsHairGreenV = 0;
dreadsHairTemplateV = 0;
}
};
var dreadsHairYellowV = 0;
dreadsHairColor_mc.yellowBeard_btn.onRelease = function () {
if (dreadsHairYellowV == 0) {
if (dreadsHairTemplateV == 0) {
unloadMovie (dreadsHairBrown_mc);
unloadMovie (dreadsHairBlond_mc);
unloadMovie (dreadsHairRed_mc);
dreadsHairTemplateGone();
dreadsHairBrownV = 0;
dreadsHairBlondV = 0;
dreadsHairRedV = 0;
menu2HairGone();
hoodedGone();
helmetsAllUnload();
hatsAllUnload();
hatsMiscUnload();
fiftiesHairGone();
fiftiesHairTemplateGone();
afroHairGone();
afroHairTemplateGone();
elvisHairGone();
elvisHairTemplateGone();
guileHairGone();
guileHairTemplateGone();
sloppyHairGone();
sloppyHairTemplateGone();
dreadsHairTemplate_mc._x = 247.5;
dreadsHairTemplate_mc._y = 47.1;
dreadsHairYellowV = 1;
dreadsHairTemplateV = 1;
colorDreadsHair.redOffset = 0;
colorDreadsHair.greenOffset = 0;
colorDreadsHair.blueOffset = -255;
dreadsHair.colorTransform = colorDreadsHair;
} else if (dreadsHairTemplateV == 1) {
colorDreadsHair.redOffset = 0;
colorDreadsHair.greenOffset = 0;
colorDreadsHair.blueOffset = -255;
dreadsHair.colorTransform = colorDreadsHair;
dreadsHairYellowV = 1;
}
} else if (dreadsHairYellowV == 1) {
dreadsHairTemplate_mc._x = 10000;
dreadsHairTemplate_mc._y = 10000;
dreadsHairYellowV = 0;
dreadsHairTemplateV = 0;
}
};
var dreadsHairPinkV = 0;
dreadsHairColor_mc.pinkBeard_btn.onRelease = function () {
if (dreadsHairPinkV == 0) {
if (dreadsHairTemplateV == 0) {
unloadMovie (dreadsHairBrown_mc);
unloadMovie (dreadsHairBlond_mc);
unloadMovie (dreadsHairRed_mc);
dreadsHairTemplateGone();
dreadsHairBrownV = 0;
dreadsHairBlondV = 0;
dreadsHairRedV = 0;
menu2HairGone();
hoodedGone();
helmetsAllUnload();
hatsAllUnload();
hatsMiscUnload();
fiftiesHairGone();
fiftiesHairTemplateGone();
afroHairGone();
afroHairTemplateGone();
elvisHairGone();
elvisHairTemplateGone();
guileHairGone();
guileHairTemplateGone();
sloppyHairGone();
sloppyHairTemplateGone();
dreadsHairTemplate_mc._x = 247.5;
dreadsHairTemplate_mc._y = 47.1;
dreadsHairPinkV = 1;
dreadsHairTemplateV = 1;
colorDreadsHair.redOffset = 0;
colorDreadsHair.greenOffset = -255;
colorDreadsHair.blueOffset = 0;
dreadsHair.colorTransform = colorDreadsHair;
} else if (dreadsHairTemplateV == 1) {
colorDreadsHair.redOffset = 0;
colorDreadsHair.greenOffset = -255;
colorDreadsHair.blueOffset = 0;
dreadsHair.colorTransform = colorDreadsHair;
dreadsHairPinkV = 1;
}
} else if (dreadsHairPinkV == 1) {
dreadsHairTemplate_mc._x = 10000;
dreadsHairTemplate_mc._y = 10000;
dreadsHairPinkV = 0;
dreadsHairTemplateV = 0;
}
};
var dreadsHairTealV = 0;
dreadsHairColor_mc.tealBeard_btn.onRelease = function () {
if (dreadsHairTealV == 0) {
if (dreadsHairTemplateV == 0) {
unloadMovie (dreadsHairBrown_mc);
unloadMovie (dreadsHairBlond_mc);
unloadMovie (dreadsHairRed_mc);
dreadsHairTemplateGone();
dreadsHairBrownV = 0;
dreadsHairBlondV = 0;
dreadsHairRedV = 0;
menu2HairGone();
hoodedGone();
helmetsAllUnload();
hatsAllUnload();
hatsMiscUnload();
fiftiesHairGone();
fiftiesHairTemplateGone();
afroHairGone();
afroHairTemplateGone();
elvisHairGone();
elvisHairTemplateGone();
guileHairGone();
guileHairTemplateGone();
sloppyHairGone();
sloppyHairTemplateGone();
dreadsHairTemplate_mc._x = 247.5;
dreadsHairTemplate_mc._y = 47.1;
dreadsHairTealV = 1;
dreadsHairTemplateV = 1;
colorDreadsHair.redOffset = -255;
colorDreadsHair.greenOffset = 0;
colorDreadsHair.blueOffset = 0;
dreadsHair.colorTransform = colorDreadsHair;
} else if (dreadsHairTemplateV == 1) {
colorDreadsHair.redOffset = -255;
colorDreadsHair.greenOffset = 0;
colorDreadsHair.blueOffset = 0;
dreadsHair.colorTransform = colorDreadsHair;
dreadsHairTealV = 1;
}
} else if (dreadsHairTealV == 1) {
dreadsHairTemplate_mc._x = 10000;
dreadsHairTemplate_mc._y = 10000;
dreadsHairTealV = 0;
dreadsHairTemplateV = 0;
}
};
var dreadsHairBlueV = 0;
dreadsHairColor_mc.blueBeard_btn.onRelease = function () {
if (dreadsHairBlueV == 0) {
if (dreadsHairTemplateV == 0) {
unloadMovie (dreadsHairBrown_mc);
unloadMovie (dreadsHairBlond_mc);
unloadMovie (dreadsHairRed_mc);
dreadsHairTemplateGone();
dreadsHairBrownV = 0;
dreadsHairBlondV = 0;
dreadsHairRedV = 0;
menu2HairGone();
hoodedGone();
helmetsAllUnload();
hatsAllUnload();
hatsMiscUnload();
fiftiesHairGone();
fiftiesHairTemplateGone();
afroHairGone();
afroHairTemplateGone();
elvisHairGone();
elvisHairTemplateGone();
guileHairGone();
guileHairTemplateGone();
sloppyHairGone();
sloppyHairTemplateGone();
dreadsHairTemplate_mc._x = 247.5;
dreadsHairTemplate_mc._y = 47.1;
dreadsHairBlueV = 1;
dreadsHairTemplateV = 1;
colorDreadsHair.redOffset = -255;
colorDreadsHair.greenOffset = -255;
colorDreadsHair.blueOffset = 0;
dreadsHair.colorTransform = colorDreadsHair;
} else if (dreadsHairTemplateV == 1) {
colorDreadsHair.redOffset = -255;
colorDreadsHair.greenOffset = -255;
colorDreadsHair.blueOffset = 0;
dreadsHair.colorTransform = colorDreadsHair;
dreadsHairBlueV = 1;
}
} else if (dreadsHairBlueV == 1) {
dreadsHairTemplate_mc._x = 10000;
dreadsHairTemplate_mc._y = 10000;
dreadsHairBlueV = 0;
dreadsHairTemplateV = 0;
}
};
var elvisHairColorV = 0;
hairMenu_mc.elvisHair_btn.onRelease = function () {
elvisHairColorDown();
};
var elvisHairBlondV = 0;
elvisHairColor_mc.blondBeard_btn.onRelease = function () {
if (elvisHairBlondV == 0) {
unloadMovie (elvisHairRed_mc);
unloadMovie (elvisHairBrown_mc);
elvisHairTemplateGone();
elvisHairTemplateV = 0;
elvisHairTemplate_mc._x = 10000;
elvisHairTemplate_mc._y = 10000;
elvisHairBrownV = 0;
elvisHairRedV = 0;
menu2HairGone();
hoodedGone();
helmetsAllUnload();
hatsAllUnload();
hatsMiscUnload();
fiftiesHairGone();
fiftiesHairTemplateGone();
afroHairGone();
afroHairTemplateGone();
dreadsHairGone();
dreadsHairTemplateGone();
guileHairGone();
guileHairTemplateGone();
sloppyHairGone();
sloppyHairTemplateGone();
_root.attachMovie("elvisHairBlond_mc", "elvisHairBlond_mc", hairLayerValue, {_x:260.4, _y:31.8});
elvisHairBlondV = 1;
} else if (elvisHairBlondV == 1) {
unloadMovie (elvisHairBlond_mc);
elvisHairBlondV = 0;
}
};
var elvisHairBrownV = 0;
elvisHairColor_mc.brownBeard_btn.onRelease = function () {
if (elvisHairBrownV == 0) {
unloadMovie (elvisHairBlond_mc);
unloadMovie (elvisHairRed_mc);
elvisHairTemplateGone();
elvisHairTemplateV = 0;
elvisHairTemplate_mc._x = 10000;
elvisHairTemplate_mc._y = 10000;
elvisHairBlondV = 0;
elvisHairRedV = 0;
menu2HairGone();
hoodedGone();
helmetsAllUnload();
hatsAllUnload();
hatsMiscUnload();
fiftiesHairGone();
fiftiesHairTemplateGone();
afroHairGone();
afroHairTemplateGone();
dreadsHairGone();
dreadsHairTemplateGone();
guileHairGone();
guileHairTemplateGone();
sloppyHairGone();
sloppyHairTemplateGone();
_root.attachMovie("elvisHairBrown_mc", "elvisHairBrown_mc", hairLayerValue, {_x:260.4, _y:31.8});
elvisHairBrownV = 1;
} else if (elvisHairBrownV == 1) {
unloadMovie (elvisHairBrown_mc);
elvisHairBrownV = 0;
}
};
var elvisHairRedV = 0;
elvisHairColor_mc.redBeard_btn.onRelease = function () {
if (elvisHairRedV == 0) {
unloadMovie (elvisHairBrown_mc);
unloadMovie (elvisHairBlond_mc);
elvisHairTemplateGone();
elvisHairTemplateV = 0;
elvisHairTemplate_mc._x = 10000;
elvisHairTemplate_mc._y = 10000;
elvisHairBrownV = 0;
elvisHairBlondV = 0;
menu2HairGone();
hoodedGone();
helmetsAllUnload();
hatsAllUnload();
hatsMiscUnload();
fiftiesHairGone();
fiftiesHairTemplateGone();
afroHairGone();
afroHairTemplateGone();
dreadsHairGone();
dreadsHairTemplateGone();
guileHairGone();
guileHairTemplateGone();
sloppyHairGone();
sloppyHairTemplateGone();
_root.attachMovie("elvisHairRed_mc", "elvisHairRed_mc", hairLayerValue, {_x:260.4, _y:31.8});
elvisHairRedV = 1;
} else if (elvisHairRedV == 1) {
unloadMovie (elvisHairRed_mc);
elvisHairRedV = 0;
}
};
var colorElvisHair = (new flash.geom.ColorTransform());
var elvisHair = (new flash.geom.Transform(elvisHairTemplate_mc));
elvisHair.colorTransform = colorElvisHair;
var elvisHairTemplateV = 0;
var elvisHairBlackV = 0;
elvisHairColor_mc.blackBeard_btn.onRelease = function () {
if (elvisHairBlackV == 0) {
if (elvisHairTemplateV == 0) {
unloadMovie (elvisHairBrown_mc);
unloadMovie (elvisHairBlond_mc);
unloadMovie (elvisHairRed_mc);
elvisHairTemplateGone();
elvisHairBrownV = 0;
elvisHairBlondV = 0;
elvisHairRedV = 0;
menu2HairGone();
hoodedGone();
helmetsAllUnload();
hatsAllUnload();
hatsMiscUnload();
fiftiesHairGone();
fiftiesHairTemplateGone();
afroHairGone();
afroHairTemplateGone();
dreadsHairGone();
dreadsHairTemplateGone();
guileHairGone();
guileHairTemplateGone();
sloppyHairGone();
sloppyHairTemplateGone();
elvisHairTemplate_mc._x = 260.4;
elvisHairTemplate_mc._y = 31.8;
elvisHairBlackV = 1;
elvisHairTemplateV = 1;
colorElvisHair.redOffset = -230;
colorElvisHair.greenOffset = -230;
colorElvisHair.blueOffset = -230;
elvisHair.colorTransform = colorElvisHair;
} else if (elvisHairTemplateV == 1) {
colorElvisHair.redOffset = -230;
colorElvisHair.greenOffset = -230;
colorElvisHair.blueOffset = -230;
elvisHair.colorTransform = colorElvisHair;
elvisHairBlackV = 1;
}
} else if (elvisHairBlackV == 1) {
elvisHairTemplate_mc._x = 10000;
elvisHairTemplate_mc._y = 10000;
elvisHairBlackV = 0;
elvisHairTemplateV = 0;
}
};
var elvisHairGreyV = 0;
elvisHairColor_mc.greyBeard_btn.onRelease = function () {
if (elvisHairGreyV == 0) {
if (elvisHairTemplateV == 0) {
unloadMovie (elvisHairBrown_mc);
unloadMovie (elvisHairBlond_mc);
unloadMovie (elvisHairRed_mc);
elvisHairTemplateGone();
elvisHairBrownV = 0;
elvisHairBlondV = 0;
elvisHairRedV = 0;
menu2HairGone();
hoodedGone();
helmetsAllUnload();
hatsAllUnload();
hatsMiscUnload();
fiftiesHairGone();
fiftiesHairTemplateGone();
afroHairGone();
afroHairTemplateGone();
dreadsHairGone();
dreadsHairTemplateGone();
guileHairGone();
guileHairTemplateGone();
sloppyHairGone();
sloppyHairTemplateGone();
elvisHairTemplate_mc._x = 260.4;
elvisHairTemplate_mc._y = 31.8;
elvisHairGreyV = 1;
elvisHairTemplateV = 1;
colorElvisHair.redOffset = -100;
colorElvisHair.greenOffset = -100;
colorElvisHair.blueOffset = -100;
elvisHair.colorTransform = colorElvisHair;
} else if (elvisHairTemplateV == 1) {
colorElvisHair.redOffset = -100;
colorElvisHair.greenOffset = -100;
colorElvisHair.blueOffset = -100;
elvisHair.colorTransform = colorElvisHair;
elvisHairGreyV = 1;
}
} else if (elvisHairGreyV == 1) {
elvisHairTemplate_mc._x = 10000;
elvisHairTemplate_mc._y = 10000;
elvisHairGreyV = 0;
elvisHairTemplateV = 0;
}
};
var elvisHairWhiteV = 0;
elvisHairColor_mc.whiteBeard_btn.onRelease = function () {
if (elvisHairWhiteV == 0) {
if (elvisHairTemplateV == 0) {
unloadMovie (elvisHairBrown_mc);
unloadMovie (elvisHairBlond_mc);
unloadMovie (elvisHairRed_mc);
elvisHairTemplateGone();
elvisHairBrownV = 0;
elvisHairBlondV = 0;
elvisHairRedV = 0;
menu2HairGone();
hoodedGone();
helmetsAllUnload();
hatsAllUnload();
hatsMiscUnload();
fiftiesHairGone();
fiftiesHairTemplateGone();
afroHairGone();
afroHairTemplateGone();
dreadsHairGone();
dreadsHairTemplateGone();
guileHairGone();
guileHairTemplateGone();
sloppyHairGone();
sloppyHairTemplateGone();
elvisHairTemplate_mc._x = 260.4;
elvisHairTemplate_mc._y = 31.8;
elvisHairWhiteV = 1;
elvisHairTemplateV = 1;
colorElvisHair.redOffset = 0;
colorElvisHair.greenOffset = 0;
colorElvisHair.blueOffset = 0;
elvisHair.colorTransform = colorElvisHair;
} else if (elvisHairTemplateV == 1) {
colorElvisHair.redOffset = 0;
colorElvisHair.greenOffset = 0;
colorElvisHair.blueOffset = 0;
elvisHair.colorTransform = colorElvisHair;
elvisHairWhiteV = 1;
}
} else if (elvisHairWhiteV == 1) {
elvisHairTemplate_mc._x = 10000;
elvisHairTemplate_mc._y = 10000;
elvisHairWhiteV = 0;
elvisHairTemplateV = 0;
}
};
var elvisHairLightGreenV = 0;
elvisHairColor_mc.lightGreenBeard_btn.onRelease = function () {
if (elvisHairLightGreenV == 0) {
if (elvisHairTemplateV == 0) {
unloadMovie (elvisHairBrown_mc);
unloadMovie (elvisHairBlond_mc);
unloadMovie (elvisHairRed_mc);
elvisHairTemplateGone();
elvisHairBrownV = 0;
elvisHairBlondV = 0;
elvisHairRedV = 0;
menu2HairGone();
hoodedGone();
helmetsAllUnload();
hatsAllUnload();
hatsMiscUnload();
fiftiesHairGone();
fiftiesHairTemplateGone();
afroHairGone();
afroHairTemplateGone();
dreadsHairGone();
dreadsHairTemplateGone();
guileHairGone();
guileHairTemplateGone();
sloppyHairGone();
sloppyHairTemplateGone();
elvisHairTemplate_mc._x = 260.4;
elvisHairTemplate_mc._y = 31.8;
elvisHairLightGreenV = 1;
elvisHairTemplateV = 1;
colorElvisHair.redOffset = -255;
colorElvisHair.greenOffset = -75;
colorElvisHair.blueOffset = -200;
elvisHair.colorTransform = colorElvisHair;
} else if (elvisHairTemplateV == 1) {
colorElvisHair.redOffset = -255;
colorElvisHair.greenOffset = -75;
colorElvisHair.blueOffset = -200;
elvisHair.colorTransform = colorElvisHair;
elvisHairLightGreenV = 1;
}
} else if (elvisHairLightGreenV == 1) {
elvisHairTemplate_mc._x = 10000;
elvisHairTemplate_mc._y = 10000;
elvisHairLightGreenV = 0;
elvisHairTemplateV = 0;
}
};
var elvisHairGreenV = 0;
elvisHairColor_mc.greenBeard_btn.onRelease = function () {
if (elvisHairGreenV == 0) {
if (elvisHairTemplateV == 0) {
unloadMovie (elvisHairBrown_mc);
unloadMovie (elvisHairBlond_mc);
unloadMovie (elvisHairRed_mc);
elvisHairTemplateGone();
elvisHairBrownV = 0;
elvisHairBlondV = 0;
elvisHairRedV = 0;
menu2HairGone();
hoodedGone();
helmetsAllUnload();
hatsAllUnload();
hatsMiscUnload();
fiftiesHairGone();
fiftiesHairTemplateGone();
afroHairGone();
afroHairTemplateGone();
dreadsHairGone();
dreadsHairTemplateGone();
guileHairGone();
guileHairTemplateGone();
sloppyHairGone();
sloppyHairTemplateGone();
elvisHairTemplate_mc._x = 260.4;
elvisHairTemplate_mc._y = 31.8;
elvisHairGreenV = 1;
elvisHairTemplateV = 1;
colorElvisHair.redOffset = -255;
colorElvisHair.greenOffset = -150;
colorElvisHair.blueOffset = -255;
elvisHair.colorTransform = colorElvisHair;
} else if (elvisHairTemplateV == 1) {
colorElvisHair.redOffset = -255;
colorElvisHair.greenOffset = -150;
colorElvisHair.blueOffset = -255;
elvisHair.colorTransform = colorElvisHair;
elvisHairGreenV = 1;
}
} else if (elvisHairGreenV == 1) {
elvisHairTemplate_mc._x = 10000;
elvisHairTemplate_mc._y = 10000;
elvisHairGreenV = 0;
elvisHairTemplateV = 0;
}
};
var elvisHairYellowV = 0;
elvisHairColor_mc.yellowBeard_btn.onRelease = function () {
if (elvisHairYellowV == 0) {
if (elvisHairTemplateV == 0) {
unloadMovie (elvisHairBrown_mc);
unloadMovie (elvisHairBlond_mc);
unloadMovie (elvisHairRed_mc);
elvisHairTemplateGone();
elvisHairBrownV = 0;
elvisHairBlondV = 0;
elvisHairRedV = 0;
menu2HairGone();
hoodedGone();
helmetsAllUnload();
hatsAllUnload();
hatsMiscUnload();
fiftiesHairGone();
fiftiesHairTemplateGone();
afroHairGone();
afroHairTemplateGone();
dreadsHairGone();
dreadsHairTemplateGone();
guileHairGone();
guileHairTemplateGone();
sloppyHairGone();
sloppyHairTemplateGone();
elvisHairTemplate_mc._x = 260.4;
elvisHairTemplate_mc._y = 31.8;
elvisHairYellowV = 1;
elvisHairTemplateV = 1;
colorElvisHair.redOffset = 0;
colorElvisHair.greenOffset = 0;
colorElvisHair.blueOffset = -255;
elvisHair.colorTransform = colorElvisHair;
} else if (elvisHairTemplateV == 1) {
colorElvisHair.redOffset = 0;
colorElvisHair.greenOffset = 0;
colorElvisHair.blueOffset = -255;
elvisHair.colorTransform = colorElvisHair;
elvisHairYellowV = 1;
}
} else if (elvisHairYellowV == 1) {
elvisHairTemplate_mc._x = 10000;
elvisHairTemplate_mc._y = 10000;
elvisHairYellowV = 0;
elvisHairTemplateV = 0;
}
};
var elvisHairPinkV = 0;
elvisHairColor_mc.pinkBeard_btn.onRelease = function () {
if (elvisHairPinkV == 0) {
if (elvisHairTemplateV == 0) {
unloadMovie (elvisHairBrown_mc);
unloadMovie (elvisHairBlond_mc);
unloadMovie (elvisHairRed_mc);
elvisHairTemplateGone();
elvisHairBrownV = 0;
elvisHairBlondV = 0;
elvisHairRedV = 0;
menu2HairGone();
hoodedGone();
helmetsAllUnload();
hatsAllUnload();
hatsMiscUnload();
fiftiesHairGone();
fiftiesHairTemplateGone();
afroHairGone();
afroHairTemplateGone();
dreadsHairGone();
dreadsHairTemplateGone();
guileHairGone();
guileHairTemplateGone();
sloppyHairGone();
sloppyHairTemplateGone();
elvisHairTemplate_mc._x = 260.4;
elvisHairTemplate_mc._y = 31.8;
elvisHairPinkV = 1;
elvisHairTemplateV = 1;
colorElvisHair.redOffset = 0;
colorElvisHair.greenOffset = -255;
colorElvisHair.blueOffset = 0;
elvisHair.colorTransform = colorElvisHair;
} else if (elvisHairTemplateV == 1) {
colorElvisHair.redOffset = 0;
colorElvisHair.greenOffset = -255;
colorElvisHair.blueOffset = 0;
elvisHair.colorTransform = colorElvisHair;
elvisHairPinkV = 1;
}
} else if (elvisHairPinkV == 1) {
elvisHairTemplate_mc._x = 10000;
elvisHairTemplate_mc._y = 10000;
elvisHairPinkV = 0;
elvisHairTemplateV = 0;
}
};
var elvisHairTealV = 0;
elvisHairColor_mc.tealBeard_btn.onRelease = function () {
if (elvisHairTealV == 0) {
if (elvisHairTemplateV == 0) {
unloadMovie (elvisHairBrown_mc);
unloadMovie (elvisHairBlond_mc);
unloadMovie (elvisHairRed_mc);
elvisHairTemplateGone();
elvisHairBrownV = 0;
elvisHairBlondV = 0;
elvisHairRedV = 0;
menu2HairGone();
hoodedGone();
helmetsAllUnload();
hatsAllUnload();
hatsMiscUnload();
fiftiesHairGone();
fiftiesHairTemplateGone();
afroHairGone();
afroHairTemplateGone();
dreadsHairGone();
dreadsHairTemplateGone();
guileHairGone();
guileHairTemplateGone();
sloppyHairGone();
sloppyHairTemplateGone();
elvisHairTemplate_mc._x = 260.4;
elvisHairTemplate_mc._y = 31.8;
elvisHairTealV = 1;
elvisHairTemplateV = 1;
colorElvisHair.redOffset = -255;
colorElvisHair.greenOffset = 0;
colorElvisHair.blueOffset = 0;
elvisHair.colorTransform = colorElvisHair;
} else if (elvisHairTemplateV == 1) {
colorElvisHair.redOffset = -255;
colorElvisHair.greenOffset = 0;
colorElvisHair.blueOffset = 0;
elvisHair.colorTransform = colorElvisHair;
elvisHairTealV = 1;
}
} else if (elvisHairTealV == 1) {
elvisHairTemplate_mc._x = 10000;
elvisHairTemplate_mc._y = 10000;
elvisHairTealV = 0;
elvisHairTemplateV = 0;
}
};
var elvisHairBlueV = 0;
elvisHairColor_mc.blueBeard_btn.onRelease = function () {
if (elvisHairBlueV == 0) {
if (elvisHairTemplateV == 0) {
unloadMovie (elvisHairBrown_mc);
unloadMovie (elvisHairBlond_mc);
unloadMovie (elvisHairRed_mc);
elvisHairTemplateGone();
elvisHairBrownV = 0;
elvisHairBlondV = 0;
elvisHairRedV = 0;
menu2HairGone();
hoodedGone();
helmetsAllUnload();
hatsAllUnload();
hatsMiscUnload();
fiftiesHairGone();
fiftiesHairTemplateGone();
afroHairGone();
afroHairTemplateGone();
dreadsHairGone();
dreadsHairTemplateGone();
guileHairGone();
guileHairTemplateGone();
sloppyHairGone();
sloppyHairTemplateGone();
elvisHairTemplate_mc._x = 260.4;
elvisHairTemplate_mc._y = 31.8;
elvisHairBlueV = 1;
elvisHairTemplateV = 1;
colorElvisHair.redOffset = -255;
colorElvisHair.greenOffset = -255;
colorElvisHair.blueOffset = 0;
elvisHair.colorTransform = colorElvisHair;
} else if (elvisHairTemplateV == 1) {
colorElvisHair.redOffset = -255;
colorElvisHair.greenOffset = -255;
colorElvisHair.blueOffset = 0;
elvisHair.colorTransform = colorElvisHair;
elvisHairBlueV = 1;
}
} else if (elvisHairBlueV == 1) {
elvisHairTemplate_mc._x = 10000;
elvisHairTemplate_mc._y = 10000;
elvisHairBlueV = 0;
elvisHairTemplateV = 0;
}
};
var guileHairColorV = 0;
hairMenu_mc.guileHair_btn.onRelease = function () {
guileHairColorDown();
};
var guileHairBlondV = 0;
guileHairColor_mc.blondBeard_btn.onRelease = function () {
if (guileHairBlondV == 0) {
unloadMovie (guileHairRed_mc);
unloadMovie (guileHairBrown_mc);
guileHairTemplateGone();
guileHairTemplateV = 0;
guileHairTemplate_mc._x = 10000;
guileHairTemplate_mc._y = 10000;
guileHairBrownV = 0;
guileHairRedV = 0;
menu2HairGone();
hoodedGone();
helmetsAllUnload();
hatsAllUnload();
hatsMiscUnload();
fiftiesHairGone();
fiftiesHairTemplateGone();
afroHairGone();
afroHairTemplateGone();
dreadsHairGone();
dreadsHairTemplateGone();
elvisHairGone();
elvisHairTemplateGone();
sloppyHairGone();
sloppyHairTemplateGone();
_root.attachMovie("guileHairBlond_mc", "guileHairBlond_mc", hairLayerValue, {_x:230.6, _y:37});
guileHairBlondV = 1;
} else if (guileHairBlondV == 1) {
unloadMovie (guileHairBlond_mc);
guileHairBlondV = 0;
}
};
var guileHairBrownV = 0;
guileHairColor_mc.brownBeard_btn.onRelease = function () {
if (guileHairBrownV == 0) {
unloadMovie (guileHairBlond_mc);
unloadMovie (guileHairRed_mc);
guileHairTemplateGone();
guileHairTemplateV = 0;
guileHairTemplate_mc._x = 10000;
guileHairTemplate_mc._y = 10000;
guileHairBlondV = 0;
guileHairRedV = 0;
menu2HairGone();
hoodedGone();
helmetsAllUnload();
hatsAllUnload();
hatsMiscUnload();
fiftiesHairGone();
fiftiesHairTemplateGone();
afroHairGone();
afroHairTemplateGone();
dreadsHairGone();
dreadsHairTemplateGone();
elvisHairGone();
elvisHairTemplateGone();
sloppyHairGone();
sloppyHairTemplateGone();
_root.attachMovie("guileHairBrown_mc", "guileHairBrown_mc", hairLayerValue, {_x:230.6, _y:37});
guileHairBrownV = 1;
} else if (guileHairBrownV == 1) {
unloadMovie (guileHairBrown_mc);
guileHairBrownV = 0;
}
};
var guileHairRedV = 0;
guileHairColor_mc.redBeard_btn.onRelease = function () {
if (guileHairRedV == 0) {
unloadMovie (guileHairBrown_mc);
unloadMovie (guileHairBlond_mc);
guileHairTemplateGone();
guileHairTemplateV = 0;
guileHairTemplate_mc._x = 10000;
guileHairTemplate_mc._y = 10000;
guileHairBrownV = 0;
guileHairBlondV = 0;
menu2HairGone();
hoodedGone();
helmetsAllUnload();
hatsAllUnload();
hatsMiscUnload();
fiftiesHairGone();
fiftiesHairTemplateGone();
afroHairGone();
afroHairTemplateGone();
dreadsHairGone();
dreadsHairTemplateGone();
elvisHairGone();
elvisHairTemplateGone();
sloppyHairGone();
sloppyHairTemplateGone();
_root.attachMovie("guileHairRed_mc", "guileHairRed_mc", hairLayerValue, {_x:230.6, _y:37});
guileHairRedV = 1;
} else if (guileHairRedV == 1) {
unloadMovie (guileHairRed_mc);
guileHairRedV = 0;
}
};
var colorGuileHair = (new flash.geom.ColorTransform());
var guileHair = (new flash.geom.Transform(guileHairTemplate_mc));
guileHair.colorTransform = colorGuileHair;
var guileHairTemplateV = 0;
var guileHairBlackV = 0;
guileHairColor_mc.blackBeard_btn.onRelease = function () {
if (guileHairBlackV == 0) {
if (guileHairTemplateV == 0) {
unloadMovie (guileHairBrown_mc);
unloadMovie (guileHairBlond_mc);
unloadMovie (guileHairRed_mc);
guileHairTemplateGone();
guileHairBrownV = 0;
guileHairBlondV = 0;
guileHairRedV = 0;
menu2HairGone();
hoodedGone();
helmetsAllUnload();
hatsAllUnload();
hatsMiscUnload();
fiftiesHairGone();
fiftiesHairTemplateGone();
afroHairGone();
afroHairTemplateGone();
dreadsHairGone();
dreadsHairTemplateGone();
elvisHairGone();
elvisHairTemplateGone();
sloppyHairGone();
sloppyHairTemplateGone();
guileHairTemplate_mc._x = 230.6;
guileHairTemplate_mc._y = 37;
guileHairBlackV = 1;
guileHairTemplateV = 1;
colorGuileHair.redOffset = -230;
colorGuileHair.greenOffset = -230;
colorGuileHair.blueOffset = -230;
guileHair.colorTransform = colorGuileHair;
} else if (guileHairTemplateV == 1) {
colorGuileHair.redOffset = -230;
colorGuileHair.greenOffset = -230;
colorGuileHair.blueOffset = -230;
guileHair.colorTransform = colorGuileHair;
guileHairBlackV = 1;
}
} else if (guileHairBlackV == 1) {
guileHairTemplate_mc._x = 10000;
guileHairTemplate_mc._y = 10000;
guileHairBlackV = 0;
guileHairTemplateV = 0;
}
};
var guileHairGreyV = 0;
guileHairColor_mc.greyBeard_btn.onRelease = function () {
if (guileHairGreyV == 0) {
if (guileHairTemplateV == 0) {
unloadMovie (guileHairBrown_mc);
unloadMovie (guileHairBlond_mc);
unloadMovie (guileHairRed_mc);
guileHairTemplateGone();
guileHairBrownV = 0;
guileHairBlondV = 0;
guileHairRedV = 0;
menu2HairGone();
hoodedGone();
helmetsAllUnload();
hatsAllUnload();
hatsMiscUnload();
fiftiesHairGone();
fiftiesHairTemplateGone();
afroHairGone();
afroHairTemplateGone();
dreadsHairGone();
dreadsHairTemplateGone();
elvisHairGone();
elvisHairTemplateGone();
sloppyHairGone();
sloppyHairTemplateGone();
guileHairTemplate_mc._x = 230.6;
guileHairTemplate_mc._y = 37;
guileHairGreyV = 1;
guileHairTemplateV = 1;
colorGuileHair.redOffset = -100;
colorGuileHair.greenOffset = -100;
colorGuileHair.blueOffset = -100;
guileHair.colorTransform = colorGuileHair;
} else if (guileHairTemplateV == 1) {
colorGuileHair.redOffset = -100;
colorGuileHair.greenOffset = -100;
colorGuileHair.blueOffset = -100;
guileHair.colorTransform = colorGuileHair;
guileHairGreyV = 1;
}
} else if (guileHairGreyV == 1) {
guileHairTemplate_mc._x = 10000;
guileHairTemplate_mc._y = 10000;
guileHairGreyV = 0;
guileHairTemplateV = 0;
}
};
var guileHairWhiteV = 0;
guileHairColor_mc.whiteBeard_btn.onRelease = function () {
if (guileHairWhiteV == 0) {
if (guileHairTemplateV == 0) {
unloadMovie (guileHairBrown_mc);
unloadMovie (guileHairBlond_mc);
unloadMovie (guileHairRed_mc);
guileHairTemplateGone();
guileHairBrownV = 0;
guileHairBlondV = 0;
guileHairRedV = 0;
menu2HairGone();
hoodedGone();
helmetsAllUnload();
hatsAllUnload();
hatsMiscUnload();
fiftiesHairGone();
fiftiesHairTemplateGone();
afroHairGone();
afroHairTemplateGone();
dreadsHairGone();
dreadsHairTemplateGone();
elvisHairGone();
elvisHairTemplateGone();
sloppyHairGone();
sloppyHairTemplateGone();
guileHairTemplate_mc._x = 230.6;
guileHairTemplate_mc._y = 37;
guileHairWhiteV = 1;
guileHairTemplateV = 1;
colorGuileHair.redOffset = 0;
colorGuileHair.greenOffset = 0;
colorGuileHair.blueOffset = 0;
guileHair.colorTransform = colorGuileHair;
} else if (guileHairTemplateV == 1) {
colorGuileHair.redOffset = 0;
colorGuileHair.greenOffset = 0;
colorGuileHair.blueOffset = 0;
guileHair.colorTransform = colorGuileHair;
guileHairWhiteV = 1;
}
} else if (guileHairWhiteV == 1) {
guileHairTemplate_mc._x = 10000;
guileHairTemplate_mc._y = 10000;
guileHairWhiteV = 0;
guileHairTemplateV = 0;
}
};
var guileHairLightGreenV = 0;
guileHairColor_mc.lightGreenBeard_btn.onRelease = function () {
if (guileHairLightGreenV == 0) {
if (guileHairTemplateV == 0) {
unloadMovie (guileHairBrown_mc);
unloadMovie (guileHairBlond_mc);
unloadMovie (guileHairRed_mc);
guileHairTemplateGone();
guileHairBrownV = 0;
guileHairBlondV = 0;
guileHairRedV = 0;
menu2HairGone();
hoodedGone();
helmetsAllUnload();
hatsAllUnload();
hatsMiscUnload();
fiftiesHairGone();
fiftiesHairTemplateGone();
afroHairGone();
afroHairTemplateGone();
dreadsHairGone();
dreadsHairTemplateGone();
elvisHairGone();
elvisHairTemplateGone();
sloppyHairGone();
sloppyHairTemplateGone();
guileHairTemplate_mc._x = 230.6;
guileHairTemplate_mc._y = 37;
guileHairLightGreenV = 1;
guileHairTemplateV = 1;
colorGuileHair.redOffset = -255;
colorGuileHair.greenOffset = -75;
colorGuileHair.blueOffset = -200;
guileHair.colorTransform = colorGuileHair;
} else if (guileHairTemplateV == 1) {
colorGuileHair.redOffset = -255;
colorGuileHair.greenOffset = -75;
colorGuileHair.blueOffset = -200;
guileHair.colorTransform = colorGuileHair;
guileHairLightGreenV = 1;
}
} else if (guileHairLightGreenV == 1) {
guileHairTemplate_mc._x = 10000;
guileHairTemplate_mc._y = 10000;
guileHairLightGreenV = 0;
guileHairTemplateV = 0;
}
};
var guileHairGreenV = 0;
guileHairColor_mc.greenBeard_btn.onRelease = function () {
if (guileHairGreenV == 0) {
if (guileHairTemplateV == 0) {
unloadMovie (guileHairBrown_mc);
unloadMovie (guileHairBlond_mc);
unloadMovie (guileHairRed_mc);
guileHairTemplateGone();
guileHairBrownV = 0;
guileHairBlondV = 0;
guileHairRedV = 0;
menu2HairGone();
hoodedGone();
helmetsAllUnload();
hatsAllUnload();
hatsMiscUnload();
fiftiesHairGone();
fiftiesHairTemplateGone();
afroHairGone();
afroHairTemplateGone();
dreadsHairGone();
dreadsHairTemplateGone();
elvisHairGone();
elvisHairTemplateGone();
sloppyHairGone();
sloppyHairTemplateGone();
guileHairTemplate_mc._x = 230.6;
guileHairTemplate_mc._y = 37;
guileHairGreenV = 1;
guileHairTemplateV = 1;
colorGuileHair.redOffset = -255;
colorGuileHair.greenOffset = -150;
colorGuileHair.blueOffset = -255;
guileHair.colorTransform = colorGuileHair;
} else if (guileHairTemplateV == 1) {
colorGuileHair.redOffset = -255;
colorGuileHair.greenOffset = -150;
colorGuileHair.blueOffset = -255;
guileHair.colorTransform = colorGuileHair;
guileHairGreenV = 1;
}
} else if (guileHairGreenV == 1) {
guileHairTemplate_mc._x = 10000;
guileHairTemplate_mc._y = 10000;
guileHairGreenV = 0;
guileHairTemplateV = 0;
}
};
var guileHairYellowV = 0;
guileHairColor_mc.yellowBeard_btn.onRelease = function () {
if (guileHairYellowV == 0) {
if (guileHairTemplateV == 0) {
unloadMovie (guileHairBrown_mc);
unloadMovie (guileHairBlond_mc);
unloadMovie (guileHairRed_mc);
guileHairTemplateGone();
guileHairBrownV = 0;
guileHairBlondV = 0;
guileHairRedV = 0;
menu2HairGone();
hoodedGone();
helmetsAllUnload();
hatsAllUnload();
hatsMiscUnload();
fiftiesHairGone();
fiftiesHairTemplateGone();
afroHairGone();
afroHairTemplateGone();
dreadsHairGone();
dreadsHairTemplateGone();
elvisHairGone();
elvisHairTemplateGone();
sloppyHairGone();
sloppyHairTemplateGone();
guileHairTemplate_mc._x = 230.6;
guileHairTemplate_mc._y = 37;
guileHairYellowV = 1;
guileHairTemplateV = 1;
colorGuileHair.redOffset = 0;
colorGuileHair.greenOffset = 0;
colorGuileHair.blueOffset = -255;
guileHair.colorTransform = colorGuileHair;
} else if (guileHairTemplateV == 1) {
colorGuileHair.redOffset = 0;
colorGuileHair.greenOffset = 0;
colorGuileHair.blueOffset = -255;
guileHair.colorTransform = colorGuileHair;
guileHairYellowV = 1;
}
} else if (guileHairYellowV == 1) {
guileHairTemplate_mc._x = 10000;
guileHairTemplate_mc._y = 10000;
guileHairYellowV = 0;
guileHairTemplateV = 0;
}
};
var guileHairPinkV = 0;
guileHairColor_mc.pinkBeard_btn.onRelease = function () {
if (guileHairPinkV == 0) {
if (guileHairTemplateV == 0) {
unloadMovie (guileHairBrown_mc);
unloadMovie (guileHairBlond_mc);
unloadMovie (guileHairRed_mc);
guileHairTemplateGone();
guileHairBrownV = 0;
guileHairBlondV = 0;
guileHairRedV = 0;
menu2HairGone();
hoodedGone();
helmetsAllUnload();
hatsAllUnload();
hatsMiscUnload();
fiftiesHairGone();
fiftiesHairTemplateGone();
afroHairGone();
afroHairTemplateGone();
dreadsHairGone();
dreadsHairTemplateGone();
elvisHairGone();
elvisHairTemplateGone();
sloppyHairGone();
sloppyHairTemplateGone();
guileHairTemplate_mc._x = 230.6;
guileHairTemplate_mc._y = 37;
guileHairPinkV = 1;
guileHairTemplateV = 1;
colorGuileHair.redOffset = 0;
colorGuileHair.greenOffset = -255;
colorGuileHair.blueOffset = 0;
guileHair.colorTransform = colorGuileHair;
} else if (guileHairTemplateV == 1) {
colorGuileHair.redOffset = 0;
colorGuileHair.greenOffset = -255;
colorGuileHair.blueOffset = 0;
guileHair.colorTransform = colorGuileHair;
guileHairPinkV = 1;
}
} else if (guileHairPinkV == 1) {
guileHairTemplate_mc._x = 10000;
guileHairTemplate_mc._y = 10000;
guileHairPinkV = 0;
guileHairTemplateV = 0;
}
};
var guileHairTealV = 0;
guileHairColor_mc.tealBeard_btn.onRelease = function () {
if (guileHairTealV == 0) {
if (guileHairTemplateV == 0) {
unloadMovie (guileHairBrown_mc);
unloadMovie (guileHairBlond_mc);
unloadMovie (guileHairRed_mc);
guileHairTemplateGone();
guileHairBrownV = 0;
guileHairBlondV = 0;
guileHairRedV = 0;
menu2HairGone();
hoodedGone();
helmetsAllUnload();
hatsAllUnload();
hatsMiscUnload();
fiftiesHairGone();
fiftiesHairTemplateGone();
afroHairGone();
afroHairTemplateGone();
dreadsHairGone();
dreadsHairTemplateGone();
elvisHairGone();
elvisHairTemplateGone();
sloppyHairGone();
sloppyHairTemplateGone();
guileHairTemplate_mc._x = 230.6;
guileHairTemplate_mc._y = 37;
guileHairTealV = 1;
guileHairTemplateV = 1;
colorGuileHair.redOffset = -255;
colorGuileHair.greenOffset = 0;
colorGuileHair.blueOffset = 0;
guileHair.colorTransform = colorGuileHair;
} else if (guileHairTemplateV == 1) {
colorGuileHair.redOffset = -255;
colorGuileHair.greenOffset = 0;
colorGuileHair.blueOffset = 0;
guileHair.colorTransform = colorGuileHair;
guileHairTealV = 1;
}
} else if (guileHairTealV == 1) {
guileHairTemplate_mc._x = 10000;
guileHairTemplate_mc._y = 10000;
guileHairTealV = 0;
guileHairTemplateV = 0;
}
};
var guileHairBlueV = 0;
guileHairColor_mc.blueBeard_btn.onRelease = function () {
if (guileHairBlueV == 0) {
if (guileHairTemplateV == 0) {
unloadMovie (guileHairBrown_mc);
unloadMovie (guileHairBlond_mc);
unloadMovie (guileHairRed_mc);
guileHairTemplateGone();
guileHairBrownV = 0;
guileHairBlondV = 0;
guileHairRedV = 0;
menu2HairGone();
hoodedGone();
helmetsAllUnload();
hatsAllUnload();
hatsMiscUnload();
fiftiesHairGone();
fiftiesHairTemplateGone();
afroHairGone();
afroHairTemplateGone();
dreadsHairGone();
dreadsHairTemplateGone();
elvisHairGone();
elvisHairTemplateGone();
sloppyHairGone();
sloppyHairTemplateGone();
guileHairTemplate_mc._x = 230.6;
guileHairTemplate_mc._y = 37;
guileHairBlueV = 1;
guileHairTemplateV = 1;
colorGuileHair.redOffset = -255;
colorGuileHair.greenOffset = -255;
colorGuileHair.blueOffset = 0;
guileHair.colorTransform = colorGuileHair;
} else if (guileHairTemplateV == 1) {
colorGuileHair.redOffset = -255;
colorGuileHair.greenOffset = -255;
colorGuileHair.blueOffset = 0;
guileHair.colorTransform = colorGuileHair;
guileHairBlueV = 1;
}
} else if (guileHairBlueV == 1) {
guileHairTemplate_mc._x = 10000;
guileHairTemplate_mc._y = 10000;
guileHairBlueV = 0;
guileHairTemplateV = 0;
}
};
var sloppyHairColorV = 0;
hairMenu2_mc.sloppyHair_btn.onRelease = function () {
sloppyHairColorDown();
};
var sloppyHairBlondV = 0;
sloppyHairColor_mc.blondBeard_btn.onRelease = function () {
if (sloppyHairBlondV == 0) {
unloadMovie (sloppyHairRed_mc);
unloadMovie (sloppyHairBrown_mc);
sloppyHairTemplateGone();
sloppyHairTemplateV = 0;
sloppyHairTemplate_mc._x = 10000;
sloppyHairTemplate_mc._y = 10000;
sloppyHairBrownV = 0;
sloppyHairRedV = 0;
menu1HairGone();
hoodedGone();
helmetsAllUnload();
hatsAllUnload();
hatsMiscUnload();
sloppy2HairGone();
sloppy2HairTemplateGone();
spikeyHairGone();
spikeyHairTemplateGone();
spikey2HairGone();
spikey2HairTemplateGone();
smallDreadsHairGone();
smallDreadsHairTemplateGone();
_root.attachMovie("sloppyHairBlond_mc", "sloppyHairBlond_mc", hairLayerValue2, {_x:244, _y:50.8});
sloppyHairBlondV = 1;
} else if (sloppyHairBlondV == 1) {
unloadMovie (sloppyHairBlond_mc);
sloppyHairBlondV = 0;
}
};
var sloppyHairBrownV = 0;
sloppyHairColor_mc.brownBeard_btn.onRelease = function () {
if (sloppyHairBrownV == 0) {
unloadMovie (sloppyHairBlond_mc);
unloadMovie (sloppyHairRed_mc);
sloppyHairTemplateGone();
sloppyHairTemplateV = 0;
sloppyHairTemplate_mc._x = 10000;
sloppyHairTemplate_mc._y = 10000;
sloppyHairBlondV = 0;
sloppyHairRedV = 0;
menu1HairGone();
hoodedGone();
helmetsAllUnload();
hatsAllUnload();
hatsMiscUnload();
sloppy2HairGone();
sloppy2HairTemplateGone();
spikeyHairGone();
spikeyHairTemplateGone();
spikey2HairGone();
spikey2HairTemplateGone();
smallDreadsHairGone();
smallDreadsHairTemplateGone();
_root.attachMovie("sloppyHairBrown_mc", "sloppyHairBrown_mc", hairLayerValue2, {_x:244, _y:50.8});
sloppyHairBrownV = 1;
} else if (sloppyHairBrownV == 1) {
unloadMovie (sloppyHairBrown_mc);
sloppyHairBrownV = 0;
}
};
var sloppyHairRedV = 0;
sloppyHairColor_mc.redBeard_btn.onRelease = function () {
if (sloppyHairRedV == 0) {
unloadMovie (sloppyHairBrown_mc);
unloadMovie (sloppyHairBlond_mc);
sloppyHairTemplateGone();
sloppyHairTemplateV = 0;
sloppyHairTemplate_mc._x = 10000;
sloppyHairTemplate_mc._y = 10000;
sloppyHairBrownV = 0;
sloppyHairBlondV = 0;
menu1HairGone();
hoodedGone();
helmetsAllUnload();
hatsAllUnload();
hatsMiscUnload();
sloppy2HairGone();
sloppy2HairTemplateGone();
spikeyHairGone();
spikeyHairTemplateGone();
spikey2HairGone();
spikey2HairTemplateGone();
smallDreadsHairGone();
smallDreadsHairTemplateGone();
_root.attachMovie("sloppyHairRed_mc", "sloppyHairRed_mc", hairLayerValue2, {_x:244, _y:50.8});
sloppyHairRedV = 1;
} else if (sloppyHairRedV == 1) {
unloadMovie (sloppyHairRed_mc);
sloppyHairRedV = 0;
}
};
var colorSloppyHair = (new flash.geom.ColorTransform());
var sloppyHair = (new flash.geom.Transform(sloppyHairTemplate_mc));
sloppyHair.colorTransform = colorSloppyHair;
var sloppyHairTemplateV = 0;
var sloppyHairBlackV = 0;
sloppyHairColor_mc.blackBeard_btn.onRelease = function () {
if (sloppyHairBlackV == 0) {
if (sloppyHairTemplateV == 0) {
unloadMovie (sloppyHairBrown_mc);
unloadMovie (sloppyHairBlond_mc);
unloadMovie (sloppyHairRed_mc);
sloppyHairTemplateGone();
sloppyHairBrownV = 0;
sloppyHairBlondV = 0;
sloppyHairRedV = 0;
menu1HairGone();
hoodedGone();
helmetsAllUnload();
hatsAllUnload();
hatsMiscUnload();
sloppy2HairGone();
sloppy2HairTemplateGone();
spikeyHairGone();
spikeyHairTemplateGone();
spikey2HairGone();
spikey2HairTemplateGone();
smallDreadsHairGone();
smallDreadsHairTemplateGone();
sloppyHairTemplate_mc._x = 244;
sloppyHairTemplate_mc._y = 50.8;
sloppyHairBlackV = 1;
sloppyHairTemplateV = 1;
colorSloppyHair.redOffset = -230;
colorSloppyHair.greenOffset = -230;
colorSloppyHair.blueOffset = -230;
sloppyHair.colorTransform = colorSloppyHair;
} else if (sloppyHairTemplateV == 1) {
colorSloppyHair.redOffset = -230;
colorSloppyHair.greenOffset = -230;
colorSloppyHair.blueOffset = -230;
sloppyHair.colorTransform = colorSloppyHair;
sloppyHairBlackV = 1;
}
} else if (sloppyHairBlackV == 1) {
sloppyHairTemplate_mc._x = 10000;
sloppyHairTemplate_mc._y = 10000;
sloppyHairBlackV = 0;
sloppyHairTemplateV = 0;
}
};
var sloppyHairGreyV = 0;
sloppyHairColor_mc.greyBeard_btn.onRelease = function () {
if (sloppyHairGreyV == 0) {
if (sloppyHairTemplateV == 0) {
unloadMovie (sloppyHairBrown_mc);
unloadMovie (sloppyHairBlond_mc);
unloadMovie (sloppyHairRed_mc);
sloppyHairTemplateGone();
sloppyHairBrownV = 0;
sloppyHairBlondV = 0;
sloppyHairRedV = 0;
menu1HairGone();
hoodedGone();
helmetsAllUnload();
hatsAllUnload();
hatsMiscUnload();
sloppy2HairGone();
sloppy2HairTemplateGone();
spikeyHairGone();
spikeyHairTemplateGone();
spikey2HairGone();
spikey2HairTemplateGone();
smallDreadsHairGone();
smallDreadsHairTemplateGone();
sloppyHairTemplate_mc._x = 244;
sloppyHairTemplate_mc._y = 50.8;
sloppyHairGreyV = 1;
sloppyHairTemplateV = 1;
colorSloppyHair.redOffset = -100;
colorSloppyHair.greenOffset = -100;
colorSloppyHair.blueOffset = -100;
sloppyHair.colorTransform = colorSloppyHair;
} else if (sloppyHairTemplateV == 1) {
colorSloppyHair.redOffset = -100;
colorSloppyHair.greenOffset = -100;
colorSloppyHair.blueOffset = -100;
sloppyHair.colorTransform = colorSloppyHair;
sloppyHairGreyV = 1;
}
} else if (sloppyHairGreyV == 1) {
sloppyHairTemplate_mc._x = 10000;
sloppyHairTemplate_mc._y = 10000;
sloppyHairGreyV = 0;
sloppyHairTemplateV = 0;
}
};
var sloppyHairWhiteV = 0;
sloppyHairColor_mc.whiteBeard_btn.onRelease = function () {
if (sloppyHairWhiteV == 0) {
if (sloppyHairTemplateV == 0) {
unloadMovie (sloppyHairBrown_mc);
unloadMovie (sloppyHairBlond_mc);
unloadMovie (sloppyHairRed_mc);
sloppyHairTemplateGone();
sloppyHairBrownV = 0;
sloppyHairBlondV = 0;
sloppyHairRedV = 0;
menu1HairGone();
hoodedGone();
helmetsAllUnload();
hatsAllUnload();
hatsMiscUnload();
sloppy2HairGone();
sloppy2HairTemplateGone();
spikeyHairGone();
spikeyHairTemplateGone();
spikey2HairGone();
spikey2HairTemplateGone();
smallDreadsHairGone();
smallDreadsHairTemplateGone();
sloppyHairTemplate_mc._x = 244;
sloppyHairTemplate_mc._y = 50.8;
sloppyHairWhiteV = 1;
sloppyHairTemplateV = 1;
colorSloppyHair.redOffset = 0;
colorSloppyHair.greenOffset = 0;
colorSloppyHair.blueOffset = 0;
sloppyHair.colorTransform = colorSloppyHair;
} else if (sloppyHairTemplateV == 1) {
colorSloppyHair.redOffset = 0;
colorSloppyHair.greenOffset = 0;
colorSloppyHair.blueOffset = 0;
sloppyHair.colorTransform = colorSloppyHair;
sloppyHairWhiteV = 1;
}
} else if (sloppyHairWhiteV == 1) {
sloppyHairTemplate_mc._x = 10000;
sloppyHairTemplate_mc._y = 10000;
sloppyHairWhiteV = 0;
sloppyHairTemplateV = 0;
}
};
var sloppyHairLightGreenV = 0;
sloppyHairColor_mc.lightGreenBeard_btn.onRelease = function () {
if (sloppyHairLightGreenV == 0) {
if (sloppyHairTemplateV == 0) {
unloadMovie (sloppyHairBrown_mc);
unloadMovie (sloppyHairBlond_mc);
unloadMovie (sloppyHairRed_mc);
sloppyHairTemplateGone();
sloppyHairBrownV = 0;
sloppyHairBlondV = 0;
sloppyHairRedV = 0;
menu1HairGone();
hoodedGone();
helmetsAllUnload();
hatsAllUnload();
hatsMiscUnload();
sloppy2HairGone();
sloppy2HairTemplateGone();
spikeyHairGone();
spikeyHairTemplateGone();
spikey2HairGone();
spikey2HairTemplateGone();
smallDreadsHairGone();
smallDreadsHairTemplateGone();
sloppyHairTemplate_mc._x = 244;
sloppyHairTemplate_mc._y = 50.8;
sloppyHairLightGreenV = 1;
sloppyHairTemplateV = 1;
colorSloppyHair.redOffset = -255;
colorSloppyHair.greenOffset = -75;
colorSloppyHair.blueOffset = -200;
sloppyHair.colorTransform = colorSloppyHair;
} else if (sloppyHairTemplateV == 1) {
colorSloppyHair.redOffset = -255;
colorSloppyHair.greenOffset = -75;
colorSloppyHair.blueOffset = -200;
sloppyHair.colorTransform = colorSloppyHair;
sloppyHairLightGreenV = 1;
}
} else if (sloppyHairLightGreenV == 1) {
sloppyHairTemplate_mc._x = 10000;
sloppyHairTemplate_mc._y = 10000;
sloppyHairLightGreenV = 0;
sloppyHairTemplateV = 0;
}
};
var sloppyHairGreenV = 0;
sloppyHairColor_mc.greenBeard_btn.onRelease = function () {
if (sloppyHairGreenV == 0) {
if (sloppyHairTemplateV == 0) {
unloadMovie (sloppyHairBrown_mc);
unloadMovie (sloppyHairBlond_mc);
unloadMovie (sloppyHairRed_mc);
sloppyHairTemplateGone();
sloppyHairBrownV = 0;
sloppyHairBlondV = 0;
sloppyHairRedV = 0;
menu1HairGone();
hoodedGone();
helmetsAllUnload();
hatsAllUnload();
hatsMiscUnload();
sloppy2HairGone();
sloppy2HairTemplateGone();
spikeyHairGone();
spikeyHairTemplateGone();
spikey2HairGone();
spikey2HairTemplateGone();
smallDreadsHairGone();
smallDreadsHairTemplateGone();
sloppyHairTemplate_mc._x = 244;
sloppyHairTemplate_mc._y = 50.8;
sloppyHairGreenV = 1;
sloppyHairTemplateV = 1;
colorSloppyHair.redOffset = -255;
colorSloppyHair.greenOffset = -150;
colorSloppyHair.blueOffset = -255;
sloppyHair.colorTransform = colorSloppyHair;
} else if (sloppyHairTemplateV == 1) {
colorSloppyHair.redOffset = -255;
colorSloppyHair.greenOffset = -150;
colorSloppyHair.blueOffset = -255;
sloppyHair.colorTransform = colorSloppyHair;
sloppyHairGreenV = 1;
}
} else if (sloppyHairGreenV == 1) {
sloppyHairTemplate_mc._x = 10000;
sloppyHairTemplate_mc._y = 10000;
sloppyHairGreenV = 0;
sloppyHairTemplateV = 0;
}
};
var sloppyHairYellowV = 0;
sloppyHairColor_mc.yellowBeard_btn.onRelease = function () {
if (sloppyHairYellowV == 0) {
if (sloppyHairTemplateV == 0) {
unloadMovie (sloppyHairBrown_mc);
unloadMovie (sloppyHairBlond_mc);
unloadMovie (sloppyHairRed_mc);
sloppyHairTemplateGone();
sloppyHairBrownV = 0;
sloppyHairBlondV = 0;
sloppyHairRedV = 0;
menu1HairGone();
hoodedGone();
helmetsAllUnload();
hatsAllUnload();
hatsMiscUnload();
sloppy2HairGone();
sloppy2HairTemplateGone();
spikeyHairGone();
spikeyHairTemplateGone();
spikey2HairGone();
spikey2HairTemplateGone();
smallDreadsHairGone();
smallDreadsHairTemplateGone();
sloppyHairTemplate_mc._x = 244;
sloppyHairTemplate_mc._y = 50.8;
sloppyHairYellowV = 1;
sloppyHairTemplateV = 1;
colorSloppyHair.redOffset = 0;
colorSloppyHair.greenOffset = 0;
colorSloppyHair.blueOffset = -255;
sloppyHair.colorTransform = colorSloppyHair;
} else if (sloppyHairTemplateV == 1) {
colorSloppyHair.redOffset = 0;
colorSloppyHair.greenOffset = 0;
colorSloppyHair.blueOffset = -255;
sloppyHair.colorTransform = colorSloppyHair;
sloppyHairYellowV = 1;
}
} else if (sloppyHairYellowV == 1) {
sloppyHairTemplate_mc._x = 10000;
sloppyHairTemplate_mc._y = 10000;
sloppyHairYellowV = 0;
sloppyHairTemplateV = 0;
}
};
var sloppyHairPinkV = 0;
sloppyHairColor_mc.pinkBeard_btn.onRelease = function () {
if (sloppyHairPinkV == 0) {
if (sloppyHairTemplateV == 0) {
unloadMovie (sloppyHairBrown_mc);
unloadMovie (sloppyHairBlond_mc);
unloadMovie (sloppyHairRed_mc);
sloppyHairTemplateGone();
sloppyHairBrownV = 0;
sloppyHairBlondV = 0;
sloppyHairRedV = 0;
menu1HairGone();
hoodedGone();
helmetsAllUnload();
hatsAllUnload();
hatsMiscUnload();
sloppy2HairGone();
sloppy2HairTemplateGone();
spikeyHairGone();
spikeyHairTemplateGone();
spikey2HairGone();
spikey2HairTemplateGone();
smallDreadsHairGone();
smallDreadsHairTemplateGone();
sloppyHairTemplate_mc._x = 244;
sloppyHairTemplate_mc._y = 50.8;
sloppyHairPinkV = 1;
sloppyHairTemplateV = 1;
colorSloppyHair.redOffset = 0;
colorSloppyHair.greenOffset = -255;
colorSloppyHair.blueOffset = 0;
sloppyHair.colorTransform = colorSloppyHair;
} else if (sloppyHairTemplateV == 1) {
colorSloppyHair.redOffset = 0;
colorSloppyHair.greenOffset = -255;
colorSloppyHair.blueOffset = 0;
sloppyHair.colorTransform = colorSloppyHair;
sloppyHairPinkV = 1;
}
} else if (sloppyHairPinkV == 1) {
sloppyHairTemplate_mc._x = 10000;
sloppyHairTemplate_mc._y = 10000;
sloppyHairPinkV = 0;
sloppyHairTemplateV = 0;
}
};
var sloppyHairTealV = 0;
sloppyHairColor_mc.tealBeard_btn.onRelease = function () {
if (sloppyHairTealV == 0) {
if (sloppyHairTemplateV == 0) {
unloadMovie (sloppyHairBrown_mc);
unloadMovie (sloppyHairBlond_mc);
unloadMovie (sloppyHairRed_mc);
sloppyHairTemplateGone();
sloppyHairBrownV = 0;
sloppyHairBlondV = 0;
sloppyHairRedV = 0;
menu1HairGone();
hoodedGone();
helmetsAllUnload();
hatsAllUnload();
hatsMiscUnload();
sloppy2HairGone();
sloppy2HairTemplateGone();
spikeyHairGone();
spikeyHairTemplateGone();
spikey2HairGone();
spikey2HairTemplateGone();
smallDreadsHairGone();
smallDreadsHairTemplateGone();
sloppyHairTemplate_mc._x = 244;
sloppyHairTemplate_mc._y = 50.8;
sloppyHairTealV = 1;
sloppyHairTemplateV = 1;
colorSloppyHair.redOffset = -255;
colorSloppyHair.greenOffset = 0;
colorSloppyHair.blueOffset = 0;
sloppyHair.colorTransform = colorSloppyHair;
} else if (sloppyHairTemplateV == 1) {
colorSloppyHair.redOffset = -255;
colorSloppyHair.greenOffset = 0;
colorSloppyHair.blueOffset = 0;
sloppyHair.colorTransform = colorSloppyHair;
sloppyHairTealV = 1;
}
} else if (sloppyHairTealV == 1) {
sloppyHairTemplate_mc._x = 10000;
sloppyHairTemplate_mc._y = 10000;
sloppyHairTealV = 0;
sloppyHairTemplateV = 0;
}
};
var sloppyHairBlueV = 0;
sloppyHairColor_mc.blueBeard_btn.onRelease = function () {
if (sloppyHairBlueV == 0) {
if (sloppyHairTemplateV == 0) {
unloadMovie (sloppyHairBrown_mc);
unloadMovie (sloppyHairBlond_mc);
unloadMovie (sloppyHairRed_mc);
sloppyHairTemplateGone();
sloppyHairBrownV = 0;
sloppyHairBlondV = 0;
sloppyHairRedV = 0;
menu1HairGone();
hoodedGone();
helmetsAllUnload();
hatsAllUnload();
hatsMiscUnload();
sloppy2HairGone();
sloppy2HairTemplateGone();
spikeyHairGone();
spikeyHairTemplateGone();
spikey2HairGone();
spikey2HairTemplateGone();
smallDreadsHairGone();
smallDreadsHairTemplateGone();
sloppyHairTemplate_mc._x = 244;
sloppyHairTemplate_mc._y = 50.8;
sloppyHairBlueV = 1;
sloppyHairTemplateV = 1;
colorSloppyHair.redOffset = -255;
colorSloppyHair.greenOffset = -255;
colorSloppyHair.blueOffset = 0;
sloppyHair.colorTransform = colorSloppyHair;
} else if (sloppyHairTemplateV == 1) {
colorSloppyHair.redOffset = -255;
colorSloppyHair.greenOffset = -255;
colorSloppyHair.blueOffset = 0;
sloppyHair.colorTransform = colorSloppyHair;
sloppyHairBlueV = 1;
}
} else if (sloppyHairBlueV == 1) {
sloppyHairTemplate_mc._x = 10000;
sloppyHairTemplate_mc._y = 10000;
sloppyHairBlueV = 0;
sloppyHairTemplateV = 0;
}
};
var sloppy2HairColorV = 0;
hairMenu2_mc.sloppy2Hair_btn.onRelease = function () {
sloppy2HairColorDown();
};
var sloppy2HairBlondV = 0;
sloppy2HairColor_mc.blondBeard_btn.onRelease = function () {
if (sloppy2HairBlondV == 0) {
unloadMovie (sloppy2HairRed_mc);
unloadMovie (sloppy2HairBrown_mc);
sloppy2HairTemplateGone();
sloppy2HairTemplateV = 0;
sloppy2HairTemplate_mc._x = 10000;
sloppy2HairTemplate_mc._y = 10000;
sloppy2HairBrownV = 0;
sloppy2HairRedV = 0;
menu1HairGone();
hoodedGone();
helmetsAllUnload();
hatsAllUnload();
hatsMiscUnload();
sloppyHairGone();
sloppyHairTemplateGone();
spikeyHairGone();
spikeyHairTemplateGone();
spikey2HairGone();
spikey2HairTemplateGone();
smallDreadsHairGone();
smallDreadsHairTemplateGone();
_root.attachMovie("sloppy2HairBlond_mc", "sloppy2HairBlond_mc", hairLayerValue2, {_x:247.7, _y:31.6});
sloppy2HairBlondV = 1;
} else if (sloppy2HairBlondV == 1) {
unloadMovie (sloppy2HairBlond_mc);
sloppy2HairBlondV = 0;
}
};
var sloppy2HairBrownV = 0;
sloppy2HairColor_mc.brownBeard_btn.onRelease = function () {
if (sloppy2HairBrownV == 0) {
unloadMovie (sloppy2HairBlond_mc);
unloadMovie (sloppy2HairRed_mc);
sloppy2HairTemplateGone();
sloppy2HairTemplateV = 0;
sloppy2HairTemplate_mc._x = 10000;
sloppy2HairTemplate_mc._y = 10000;
sloppy2HairBlondV = 0;
sloppy2HairRedV = 0;
menu1HairGone();
hoodedGone();
helmetsAllUnload();
hatsAllUnload();
hatsMiscUnload();
sloppyHairGone();
sloppyHairTemplateGone();
spikeyHairGone();
spikeyHairTemplateGone();
spikey2HairGone();
spikey2HairTemplateGone();
smallDreadsHairGone();
smallDreadsHairTemplateGone();
_root.attachMovie("sloppy2HairBrown_mc", "sloppy2HairBrown_mc", hairLayerValue2, {_x:247.7, _y:31.6});
sloppy2HairBrownV = 1;
} else if (sloppy2HairBrownV == 1) {
unloadMovie (sloppy2HairBrown_mc);
sloppy2HairBrownV = 0;
}
};
var sloppy2HairRedV = 0;
sloppy2HairColor_mc.redBeard_btn.onRelease = function () {
if (sloppy2HairRedV == 0) {
unloadMovie (sloppy2HairBrown_mc);
unloadMovie (sloppy2HairBlond_mc);
sloppy2HairTemplateGone();
sloppy2HairTemplateV = 0;
sloppy2HairTemplate_mc._x = 10000;
sloppy2HairTemplate_mc._y = 10000;
sloppy2HairBrownV = 0;
sloppy2HairBlondV = 0;
menu1HairGone();
hoodedGone();
helmetsAllUnload();
hatsAllUnload();
hatsMiscUnload();
sloppyHairGone();
sloppyHairTemplateGone();
spikeyHairGone();
spikeyHairTemplateGone();
spikey2HairGone();
spikey2HairTemplateGone();
smallDreadsHairGone();
smallDreadsHairTemplateGone();
_root.attachMovie("sloppy2HairRed_mc", "sloppy2HairRed_mc", hairLayerValue2, {_x:247.7, _y:31.6});
sloppy2HairRedV = 1;
} else if (sloppy2HairRedV == 1) {
unloadMovie (sloppy2HairRed_mc);
sloppy2HairRedV = 0;
}
};
var colorSloppy2Hair = (new flash.geom.ColorTransform());
var sloppy2Hair = (new flash.geom.Transform(sloppy2HairTemplate_mc));
sloppy2Hair.colorTransform = colorSloppy2Hair;
var sloppy2HairTemplateV = 0;
var sloppy2HairBlackV = 0;
sloppy2HairColor_mc.blackBeard_btn.onRelease = function () {
if (sloppy2HairBlackV == 0) {
if (sloppy2HairTemplateV == 0) {
unloadMovie (sloppy2HairBrown_mc);
unloadMovie (sloppy2HairBlond_mc);
unloadMovie (sloppy2HairRed_mc);
sloppy2HairTemplateGone();
sloppy2HairBrownV = 0;
sloppy2HairBlondV = 0;
sloppy2HairRedV = 0;
menu1HairGone();
hoodedGone();
helmetsAllUnload();
hatsAllUnload();
hatsMiscUnload();
sloppyHairGone();
sloppyHairTemplateGone();
spikeyHairGone();
spikeyHairTemplateGone();
spikey2HairGone();
spikey2HairTemplateGone();
smallDreadsHairGone();
smallDreadsHairTemplateGone();
sloppy2HairTemplate_mc._x = 247.7;
sloppy2HairTemplate_mc._y = 31.6;
sloppy2HairBlackV = 1;
sloppy2HairTemplateV = 1;
colorSloppy2Hair.redOffset = -230;
colorSloppy2Hair.greenOffset = -230;
colorSloppy2Hair.blueOffset = -230;
sloppy2Hair.colorTransform = colorSloppy2Hair;
} else if (sloppy2HairTemplateV == 1) {
colorSloppy2Hair.redOffset = -230;
colorSloppy2Hair.greenOffset = -230;
colorSloppy2Hair.blueOffset = -230;
sloppy2Hair.colorTransform = colorSloppy2Hair;
sloppy2HairBlackV = 1;
}
} else if (sloppy2HairBlackV == 1) {
sloppy2HairTemplate_mc._x = 10000;
sloppy2HairTemplate_mc._y = 10000;
sloppy2HairBlackV = 0;
sloppy2HairTemplateV = 0;
}
};
var sloppy2HairGreyV = 0;
sloppy2HairColor_mc.greyBeard_btn.onRelease = function () {
if (sloppy2HairGreyV == 0) {
if (sloppy2HairTemplateV == 0) {
unloadMovie (sloppy2HairBrown_mc);
unloadMovie (sloppy2HairBlond_mc);
unloadMovie (sloppy2HairRed_mc);
sloppy2HairTemplateGone();
sloppy2HairBrownV = 0;
sloppy2HairBlondV = 0;
sloppy2HairRedV = 0;
menu1HairGone();
hoodedGone();
helmetsAllUnload();
hatsAllUnload();
hatsMiscUnload();
sloppyHairGone();
sloppyHairTemplateGone();
spikeyHairGone();
spikeyHairTemplateGone();
spikey2HairGone();
spikey2HairTemplateGone();
smallDreadsHairGone();
smallDreadsHairTemplateGone();
sloppy2HairTemplate_mc._x = 247.7;
sloppy2HairTemplate_mc._y = 31.6;
sloppy2HairGreyV = 1;
sloppy2HairTemplateV = 1;
colorSloppy2Hair.redOffset = -100;
colorSloppy2Hair.greenOffset = -100;
colorSloppy2Hair.blueOffset = -100;
sloppy2Hair.colorTransform = colorSloppy2Hair;
} else if (sloppy2HairTemplateV == 1) {
colorSloppy2Hair.redOffset = -100;
colorSloppy2Hair.greenOffset = -100;
colorSloppy2Hair.blueOffset = -100;
sloppy2Hair.colorTransform = colorSloppy2Hair;
sloppy2HairGreyV = 1;
}
} else if (sloppy2HairGreyV == 1) {
sloppy2HairTemplate_mc._x = 10000;
sloppy2HairTemplate_mc._y = 10000;
sloppy2HairGreyV = 0;
sloppy2HairTemplateV = 0;
}
};
var sloppy2HairWhiteV = 0;
sloppy2HairColor_mc.whiteBeard_btn.onRelease = function () {
if (sloppy2HairWhiteV == 0) {
if (sloppy2HairTemplateV == 0) {
unloadMovie (sloppy2HairBrown_mc);
unloadMovie (sloppy2HairBlond_mc);
unloadMovie (sloppy2HairRed_mc);
sloppy2HairTemplateGone();
sloppy2HairBrownV = 0;
sloppy2HairBlondV = 0;
sloppy2HairRedV = 0;
menu1HairGone();
hoodedGone();
helmetsAllUnload();
hatsAllUnload();
hatsMiscUnload();
sloppyHairGone();
sloppyHairTemplateGone();
spikeyHairGone();
spikeyHairTemplateGone();
spikey2HairGone();
spikey2HairTemplateGone();
smallDreadsHairGone();
smallDreadsHairTemplateGone();
sloppy2HairTemplate_mc._x = 247.7;
sloppy2HairTemplate_mc._y = 31.6;
sloppy2HairWhiteV = 1;
sloppy2HairTemplateV = 1;
colorSloppy2Hair.redOffset = 0;
colorSloppy2Hair.greenOffset = 0;
colorSloppy2Hair.blueOffset = 0;
sloppy2Hair.colorTransform = colorSloppy2Hair;
} else if (sloppy2HairTemplateV == 1) {
colorSloppy2Hair.redOffset = 0;
colorSloppy2Hair.greenOffset = 0;
colorSloppy2Hair.blueOffset = 0;
sloppy2Hair.colorTransform = colorSloppy2Hair;
sloppy2HairWhiteV = 1;
}
} else if (sloppy2HairWhiteV == 1) {
sloppy2HairTemplate_mc._x = 10000;
sloppy2HairTemplate_mc._y = 10000;
sloppy2HairWhiteV = 0;
sloppy2HairTemplateV = 0;
}
};
var sloppy2HairLightGreenV = 0;
sloppy2HairColor_mc.lightGreenBeard_btn.onRelease = function () {
if (sloppy2HairLightGreenV == 0) {
if (sloppy2HairTemplateV == 0) {
unloadMovie (sloppy2HairBrown_mc);
unloadMovie (sloppy2HairBlond_mc);
unloadMovie (sloppy2HairRed_mc);
sloppy2HairTemplateGone();
sloppy2HairBrownV = 0;
sloppy2HairBlondV = 0;
sloppy2HairRedV = 0;
menu1HairGone();
hoodedGone();
helmetsAllUnload();
hatsAllUnload();
hatsMiscUnload();
sloppyHairGone();
sloppyHairTemplateGone();
spikeyHairGone();
spikeyHairTemplateGone();
spikey2HairGone();
spikey2HairTemplateGone();
smallDreadsHairGone();
smallDreadsHairTemplateGone();
sloppy2HairTemplate_mc._x = 247.7;
sloppy2HairTemplate_mc._y = 31.6;
sloppy2HairLightGreenV = 1;
sloppy2HairTemplateV = 1;
colorSloppy2Hair.redOffset = -255;
colorSloppy2Hair.greenOffset = -75;
colorSloppy2Hair.blueOffset = -200;
sloppy2Hair.colorTransform = colorSloppy2Hair;
} else if (sloppy2HairTemplateV == 1) {
colorSloppy2Hair.redOffset = -255;
colorSloppy2Hair.greenOffset = -75;
colorSloppy2Hair.blueOffset = -200;
sloppy2Hair.colorTransform = colorSloppy2Hair;
sloppy2HairLightGreenV = 1;
}
} else if (sloppy2HairLightGreenV == 1) {
sloppy2HairTemplate_mc._x = 10000;
sloppy2HairTemplate_mc._y = 10000;
sloppy2HairLightGreenV = 0;
sloppy2HairTemplateV = 0;
}
};
var sloppy2HairGreenV = 0;
sloppy2HairColor_mc.greenBeard_btn.onRelease = function () {
if (sloppy2HairGreenV == 0) {
if (sloppy2HairTemplateV == 0) {
unloadMovie (sloppy2HairBrown_mc);
unloadMovie (sloppy2HairBlond_mc);
unloadMovie (sloppy2HairRed_mc);
sloppy2HairTemplateGone();
sloppy2HairBrownV = 0;
sloppy2HairBlondV = 0;
sloppy2HairRedV = 0;
menu1HairGone();
hoodedGone();
helmetsAllUnload();
hatsAllUnload();
hatsMiscUnload();
sloppyHairGone();
sloppyHairTemplateGone();
spikeyHairGone();
spikeyHairTemplateGone();
spikey2HairGone();
spikey2HairTemplateGone();
smallDreadsHairGone();
smallDreadsHairTemplateGone();
sloppy2HairTemplate_mc._x = 247.7;
sloppy2HairTemplate_mc._y = 31.6;
sloppy2HairGreenV = 1;
sloppy2HairTemplateV = 1;
colorSloppy2Hair.redOffset = -255;
colorSloppy2Hair.greenOffset = -150;
colorSloppy2Hair.blueOffset = -255;
sloppy2Hair.colorTransform = colorSloppy2Hair;
} else if (sloppy2HairTemplateV == 1) {
colorSloppy2Hair.redOffset = -255;
colorSloppy2Hair.greenOffset = -150;
colorSloppy2Hair.blueOffset = -255;
sloppy2Hair.colorTransform = colorSloppy2Hair;
sloppy2HairGreenV = 1;
}
} else if (sloppy2HairGreenV == 1) {
sloppy2HairTemplate_mc._x = 10000;
sloppy2HairTemplate_mc._y = 10000;
sloppy2HairGreenV = 0;
sloppy2HairTemplateV = 0;
}
};
var sloppy2HairYellowV = 0;
sloppy2HairColor_mc.yellowBeard_btn.onRelease = function () {
if (sloppy2HairYellowV == 0) {
if (sloppy2HairTemplateV == 0) {
unloadMovie (sloppy2HairBrown_mc);
unloadMovie (sloppy2HairBlond_mc);
unloadMovie (sloppy2HairRed_mc);
sloppy2HairTemplateGone();
sloppy2HairBrownV = 0;
sloppy2HairBlondV = 0;
sloppy2HairRedV = 0;
menu1HairGone();
hoodedGone();
helmetsAllUnload();
hatsAllUnload();
hatsMiscUnload();
sloppyHairGone();
sloppyHairTemplateGone();
spikeyHairGone();
spikeyHairTemplateGone();
spikey2HairGone();
spikey2HairTemplateGone();
smallDreadsHairGone();
smallDreadsHairTemplateGone();
sloppy2HairTemplate_mc._x = 247.7;
sloppy2HairTemplate_mc._y = 31.6;
sloppy2HairYellowV = 1;
sloppy2HairTemplateV = 1;
colorSloppy2Hair.redOffset = 0;
colorSloppy2Hair.greenOffset = 0;
colorSloppy2Hair.blueOffset = -255;
sloppy2Hair.colorTransform = colorSloppy2Hair;
} else if (sloppy2HairTemplateV == 1) {
colorSloppy2Hair.redOffset = 0;
colorSloppy2Hair.greenOffset = 0;
colorSloppy2Hair.blueOffset = -255;
sloppy2Hair.colorTransform = colorSloppy2Hair;
sloppy2HairYellowV = 1;
}
} else if (sloppy2HairYellowV == 1) {
sloppy2HairTemplate_mc._x = 10000;
sloppy2HairTemplate_mc._y = 10000;
sloppy2HairYellowV = 0;
sloppy2HairTemplateV = 0;
}
};
var sloppy2HairPinkV = 0;
sloppy2HairColor_mc.pinkBeard_btn.onRelease = function () {
if (sloppy2HairPinkV == 0) {
if (sloppy2HairTemplateV == 0) {
unloadMovie (sloppy2HairBrown_mc);
unloadMovie (sloppy2HairBlond_mc);
unloadMovie (sloppy2HairRed_mc);
sloppy2HairTemplateGone();
sloppy2HairBrownV = 0;
sloppy2HairBlondV = 0;
sloppy2HairRedV = 0;
menu1HairGone();
hoodedGone();
helmetsAllUnload();
hatsAllUnload();
hatsMiscUnload();
sloppyHairGone();
sloppyHairTemplateGone();
spikeyHairGone();
spikeyHairTemplateGone();
spikey2HairGone();
spikey2HairTemplateGone();
smallDreadsHairGone();
smallDreadsHairTemplateGone();
sloppy2HairTemplate_mc._x = 247.7;
sloppy2HairTemplate_mc._y = 31.6;
sloppy2HairPinkV = 1;
sloppy2HairTemplateV = 1;
colorSloppy2Hair.redOffset = 0;
colorSloppy2Hair.greenOffset = -255;
colorSloppy2Hair.blueOffset = 0;
sloppy2Hair.colorTransform = colorSloppy2Hair;
} else if (sloppy2HairTemplateV == 1) {
colorSloppy2Hair.redOffset = 0;
colorSloppy2Hair.greenOffset = -255;
colorSloppy2Hair.blueOffset = 0;
sloppy2Hair.colorTransform = colorSloppy2Hair;
sloppy2HairPinkV = 1;
}
} else if (sloppy2HairPinkV == 1) {
sloppy2HairTemplate_mc._x = 10000;
sloppy2HairTemplate_mc._y = 10000;
sloppy2HairPinkV = 0;
sloppy2HairTemplateV = 0;
}
};
var sloppy2HairTealV = 0;
sloppy2HairColor_mc.tealBeard_btn.onRelease = function () {
if (sloppy2HairTealV == 0) {
if (sloppy2HairTemplateV == 0) {
unloadMovie (sloppy2HairBrown_mc);
unloadMovie (sloppy2HairBlond_mc);
unloadMovie (sloppy2HairRed_mc);
sloppy2HairTemplateGone();
sloppy2HairBrownV = 0;
sloppy2HairBlondV = 0;
sloppy2HairRedV = 0;
menu1HairGone();
hoodedGone();
helmetsAllUnload();
hatsAllUnload();
hatsMiscUnload();
sloppyHairGone();
sloppyHairTemplateGone();
spikeyHairGone();
spikeyHairTemplateGone();
spikey2HairGone();
spikey2HairTemplateGone();
smallDreadsHairGone();
smallDreadsHairTemplateGone();
sloppy2HairTemplate_mc._x = 247.7;
sloppy2HairTemplate_mc._y = 31.6;
sloppy2HairTealV = 1;
sloppy2HairTemplateV = 1;
colorSloppy2Hair.redOffset = -255;
colorSloppy2Hair.greenOffset = 0;
colorSloppy2Hair.blueOffset = 0;
sloppy2Hair.colorTransform = colorSloppy2Hair;
} else if (sloppy2HairTemplateV == 1) {
colorSloppy2Hair.redOffset = -255;
colorSloppy2Hair.greenOffset = 0;
colorSloppy2Hair.blueOffset = 0;
sloppy2Hair.colorTransform = colorSloppy2Hair;
sloppy2HairTealV = 1;
}
} else if (sloppy2HairTealV == 1) {
sloppy2HairTemplate_mc._x = 10000;
sloppy2HairTemplate_mc._y = 10000;
sloppy2HairTealV = 0;
sloppy2HairTemplateV = 0;
}
};
var sloppy2HairBlueV = 0;
sloppy2HairColor_mc.blueBeard_btn.onRelease = function () {
if (sloppy2HairBlueV == 0) {
if (sloppy2HairTemplateV == 0) {
unloadMovie (sloppy2HairBrown_mc);
unloadMovie (sloppy2HairBlond_mc);
unloadMovie (sloppy2HairRed_mc);
sloppy2HairTemplateGone();
sloppy2HairBrownV = 0;
sloppy2HairBlondV = 0;
sloppy2HairRedV = 0;
menu1HairGone();
hoodedGone();
helmetsAllUnload();
hatsAllUnload();
hatsMiscUnload();
sloppyHairGone();
sloppyHairTemplateGone();
spikeyHairGone();
spikeyHairTemplateGone();
spikey2HairGone();
spikey2HairTemplateGone();
smallDreadsHairGone();
smallDreadsHairTemplateGone();
sloppy2HairTemplate_mc._x = 247.7;
sloppy2HairTemplate_mc._y = 31.6;
sloppy2HairBlueV = 1;
sloppy2HairTemplateV = 1;
colorSloppy2Hair.redOffset = -255;
colorSloppy2Hair.greenOffset = -255;
colorSloppy2Hair.blueOffset = 0;
sloppy2Hair.colorTransform = colorSloppy2Hair;
} else if (sloppy2HairTemplateV == 1) {
colorSloppy2Hair.redOffset = -255;
colorSloppy2Hair.greenOffset = -255;
colorSloppy2Hair.blueOffset = 0;
sloppy2Hair.colorTransform = colorSloppy2Hair;
sloppy2HairBlueV = 1;
}
} else if (sloppy2HairBlueV == 1) {
sloppy2HairTemplate_mc._x = 10000;
sloppy2HairTemplate_mc._y = 10000;
sloppy2HairBlueV = 0;
sloppy2HairTemplateV = 0;
}
};
var spikeyHairColorV = 0;
hairMenu2_mc.spikeyHair_btn.onRelease = function () {
spikeyHairColorDown();
};
var spikeyHairBlondV = 0;
spikeyHairColor_mc.blondBeard_btn.onRelease = function () {
if (spikeyHairBlondV == 0) {
unloadMovie (spikeyHairRed_mc);
unloadMovie (spikeyHairBrown_mc);
spikeyHairTemplateGone();
spikeyHairTemplateV = 0;
spikeyHairTemplate_mc._x = 10000;
spikeyHairTemplate_mc._y = 10000;
spikeyHairBrownV = 0;
spikeyHairRedV = 0;
menu1HairGone();
hoodedGone();
helmetsAllUnload();
hatsAllUnload();
hatsMiscUnload();
sloppyHairGone();
sloppyHairTemplateGone();
sloppy2HairGone();
sloppy2HairTemplateGone();
spikey2HairGone();
spikey2HairTemplateGone();
smallDreadsHairGone();
smallDreadsHairTemplateGone();
_root.attachMovie("spikeyHairBlond_mc", "spikeyHairBlond_mc", hairLayerValue, {_x:249.9, _y:25.3});
spikeyHairBlondV = 1;
} else if (spikeyHairBlondV == 1) {
unloadMovie (spikeyHairBlond_mc);
spikeyHairBlondV = 0;
}
};
var spikeyHairBrownV = 0;
spikeyHairColor_mc.brownBeard_btn.onRelease = function () {
if (spikeyHairBrownV == 0) {
unloadMovie (spikeyHairBlond_mc);
unloadMovie (spikeyHairRed_mc);
spikeyHairTemplateGone();
spikeyHairTemplateV = 0;
spikeyHairTemplate_mc._x = 10000;
spikeyHairTemplate_mc._y = 10000;
spikeyHairBlondV = 0;
spikeyHairRedV = 0;
menu1HairGone();
hoodedGone();
helmetsAllUnload();
hatsAllUnload();
hatsMiscUnload();
sloppyHairGone();
sloppyHairTemplateGone();
sloppy2HairGone();
sloppy2HairTemplateGone();
spikey2HairGone();
spikey2HairTemplateGone();
smallDreadsHairGone();
smallDreadsHairTemplateGone();
_root.attachMovie("spikeyHairBrown_mc", "spikeyHairBrown_mc", hairLayerValue, {_x:249.9, _y:25.3});
spikeyHairBrownV = 1;
} else if (spikeyHairBrownV == 1) {
unloadMovie (spikeyHairBrown_mc);
spikeyHairBrownV = 0;
}
};
var spikeyHairRedV = 0;
spikeyHairColor_mc.redBeard_btn.onRelease = function () {
if (spikeyHairRedV == 0) {
unloadMovie (spikeyHairBrown_mc);
unloadMovie (spikeyHairBlond_mc);
spikeyHairTemplateGone();
spikeyHairTemplateV = 0;
spikeyHairTemplate_mc._x = 10000;
spikeyHairTemplate_mc._y = 10000;
spikeyHairBrownV = 0;
spikeyHairBlondV = 0;
menu1HairGone();
hoodedGone();
helmetsAllUnload();
hatsAllUnload();
hatsMiscUnload();
sloppyHairGone();
sloppyHairTemplateGone();
sloppy2HairGone();
sloppy2HairTemplateGone();
spikey2HairGone();
spikey2HairTemplateGone();
smallDreadsHairGone();
smallDreadsHairTemplateGone();
_root.attachMovie("spikeyHairRed_mc", "spikeyHairRed_mc", hairLayerValue, {_x:249.9, _y:25.3});
spikeyHairRedV = 1;
} else if (spikeyHairRedV == 1) {
unloadMovie (spikeyHairRed_mc);
spikeyHairRedV = 0;
}
};
var colorSpikeyHair = (new flash.geom.ColorTransform());
var spikeyHair = (new flash.geom.Transform(spikeyHairTemplate_mc));
spikeyHair.colorTransform = colorSpikeyHair;
var spikeyHairTemplateV = 0;
var spikeyHairBlackV = 0;
spikeyHairColor_mc.blackBeard_btn.onRelease = function () {
if (spikeyHairBlackV == 0) {
if (spikeyHairTemplateV == 0) {
unloadMovie (spikeyHairBrown_mc);
unloadMovie (spikeyHairBlond_mc);
unloadMovie (spikeyHairRed_mc);
spikeyHairTemplateGone();
spikeyHairBrownV = 0;
spikeyHairBlondV = 0;
spikeyHairRedV = 0;
menu1HairGone();
hoodedGone();
helmetsAllUnload();
hatsAllUnload();
hatsMiscUnload();
sloppyHairGone();
sloppyHairTemplateGone();
sloppy2HairGone();
sloppy2HairTemplateGone();
spikey2HairGone();
spikey2HairTemplateGone();
smallDreadsHairGone();
smallDreadsHairTemplateGone();
spikeyHairTemplate_mc._x = 249.9;
spikeyHairTemplate_mc._y = 25.3;
spikeyHairBlackV = 1;
spikeyHairTemplateV = 1;
colorSpikeyHair.redOffset = -230;
colorSpikeyHair.greenOffset = -230;
colorSpikeyHair.blueOffset = -230;
spikeyHair.colorTransform = colorSpikeyHair;
} else if (spikeyHairTemplateV == 1) {
colorSpikeyHair.redOffset = -230;
colorSpikeyHair.greenOffset = -230;
colorSpikeyHair.blueOffset = -230;
spikeyHair.colorTransform = colorSpikeyHair;
spikeyHairBlackV = 1;
}
} else if (spikeyHairBlackV == 1) {
spikeyHairTemplate_mc._x = 10000;
spikeyHairTemplate_mc._y = 10000;
spikeyHairBlackV = 0;
spikeyHairTemplateV = 0;
}
};
var spikeyHairGreyV = 0;
spikeyHairColor_mc.greyBeard_btn.onRelease = function () {
if (spikeyHairGreyV == 0) {
if (spikeyHairTemplateV == 0) {
unloadMovie (spikeyHairBrown_mc);
unloadMovie (spikeyHairBlond_mc);
unloadMovie (spikeyHairRed_mc);
spikeyHairTemplateGone();
spikeyHairBrownV = 0;
spikeyHairBlondV = 0;
spikeyHairRedV = 0;
menu1HairGone();
hoodedGone();
helmetsAllUnload();
hatsAllUnload();
hatsMiscUnload();
sloppyHairGone();
sloppyHairTemplateGone();
sloppy2HairGone();
sloppy2HairTemplateGone();
spikey2HairGone();
spikey2HairTemplateGone();
smallDreadsHairGone();
smallDreadsHairTemplateGone();
spikeyHairTemplate_mc._x = 249.9;
spikeyHairTemplate_mc._y = 25.3;
spikeyHairGreyV = 1;
spikeyHairTemplateV = 1;
colorSpikeyHair.redOffset = -100;
colorSpikeyHair.greenOffset = -100;
colorSpikeyHair.blueOffset = -100;
spikeyHair.colorTransform = colorSpikeyHair;
} else if (spikeyHairTemplateV == 1) {
colorSpikeyHair.redOffset = -100;
colorSpikeyHair.greenOffset = -100;
colorSpikeyHair.blueOffset = -100;
spikeyHair.colorTransform = colorSpikeyHair;
spikeyHairGreyV = 1;
}
} else if (spikeyHairGreyV == 1) {
spikeyHairTemplate_mc._x = 10000;
spikeyHairTemplate_mc._y = 10000;
spikeyHairGreyV = 0;
spikeyHairTemplateV = 0;
}
};
var spikeyHairWhiteV = 0;
spikeyHairColor_mc.whiteBeard_btn.onRelease = function () {
if (spikeyHairWhiteV == 0) {
if (spikeyHairTemplateV == 0) {
unloadMovie (spikeyHairBrown_mc);
unloadMovie (spikeyHairBlond_mc);
unloadMovie (spikeyHairRed_mc);
spikeyHairTemplateGone();
spikeyHairBrownV = 0;
spikeyHairBlondV = 0;
spikeyHairRedV = 0;
menu1HairGone();
hoodedGone();
helmetsAllUnload();
hatsAllUnload();
hatsMiscUnload();
sloppyHairGone();
sloppyHairTemplateGone();
sloppy2HairGone();
sloppy2HairTemplateGone();
spikey2HairGone();
spikey2HairTemplateGone();
smallDreadsHairGone();
smallDreadsHairTemplateGone();
spikeyHairTemplate_mc._x = 249.9;
spikeyHairTemplate_mc._y = 25.3;
spikeyHairWhiteV = 1;
spikeyHairTemplateV = 1;
colorSpikeyHair.redOffset = 0;
colorSpikeyHair.greenOffset = 0;
colorSpikeyHair.blueOffset = 0;
spikeyHair.colorTransform = colorSpikeyHair;
} else if (spikeyHairTemplateV == 1) {
colorSpikeyHair.redOffset = 0;
colorSpikeyHair.greenOffset = 0;
colorSpikeyHair.blueOffset = 0;
spikeyHair.colorTransform = colorSpikeyHair;
spikeyHairWhiteV = 1;
}
} else if (spikeyHairWhiteV == 1) {
spikeyHairTemplate_mc._x = 10000;
spikeyHairTemplate_mc._y = 10000;
spikeyHairWhiteV = 0;
spikeyHairTemplateV = 0;
}
};
var spikeyHairLightGreenV = 0;
spikeyHairColor_mc.lightGreenBeard_btn.onRelease = function () {
if (spikeyHairLightGreenV == 0) {
if (spikeyHairTemplateV == 0) {
unloadMovie (spikeyHairBrown_mc);
unloadMovie (spikeyHairBlond_mc);
unloadMovie (spikeyHairRed_mc);
spikeyHairTemplateGone();
spikeyHairBrownV = 0;
spikeyHairBlondV = 0;
spikeyHairRedV = 0;
menu1HairGone();
hoodedGone();
helmetsAllUnload();
hatsAllUnload();
hatsMiscUnload();
sloppyHairGone();
sloppyHairTemplateGone();
sloppy2HairGone();
sloppy2HairTemplateGone();
spikey2HairGone();
spikey2HairTemplateGone();
smallDreadsHairGone();
smallDreadsHairTemplateGone();
spikeyHairTemplate_mc._x = 249.9;
spikeyHairTemplate_mc._y = 25.3;
spikeyHairLightGreenV = 1;
spikeyHairTemplateV = 1;
colorSpikeyHair.redOffset = -255;
colorSpikeyHair.greenOffset = -75;
colorSpikeyHair.blueOffset = -200;
spikeyHair.colorTransform = colorSpikeyHair;
} else if (spikeyHairTemplateV == 1) {
colorSpikeyHair.redOffset = -255;
colorSpikeyHair.greenOffset = -75;
colorSpikeyHair.blueOffset = -200;
spikeyHair.colorTransform = colorSpikeyHair;
spikeyHairLightGreenV = 1;
}
} else if (spikeyHairLightGreenV == 1) {
spikeyHairTemplate_mc._x = 10000;
spikeyHairTemplate_mc._y = 10000;
spikeyHairLightGreenV = 0;
spikeyHairTemplateV = 0;
}
};
var spikeyHairGreenV = 0;
spikeyHairColor_mc.greenBeard_btn.onRelease = function () {
if (spikeyHairGreenV == 0) {
if (spikeyHairTemplateV == 0) {
unloadMovie (spikeyHairBrown_mc);
unloadMovie (spikeyHairBlond_mc);
unloadMovie (spikeyHairRed_mc);
spikeyHairTemplateGone();
spikeyHairBrownV = 0;
spikeyHairBlondV = 0;
spikeyHairRedV = 0;
menu1HairGone();
hoodedGone();
helmetsAllUnload();
hatsAllUnload();
hatsMiscUnload();
sloppyHairGone();
sloppyHairTemplateGone();
sloppy2HairGone();
sloppy2HairTemplateGone();
spikey2HairGone();
spikey2HairTemplateGone();
smallDreadsHairGone();
smallDreadsHairTemplateGone();
spikeyHairTemplate_mc._x = 249.9;
spikeyHairTemplate_mc._y = 25.3;
spikeyHairGreenV = 1;
spikeyHairTemplateV = 1;
colorSpikeyHair.redOffset = -255;
colorSpikeyHair.greenOffset = -150;
colorSpikeyHair.blueOffset = -255;
spikeyHair.colorTransform = colorSpikeyHair;
} else if (spikeyHairTemplateV == 1) {
colorSpikeyHair.redOffset = -255;
colorSpikeyHair.greenOffset = -150;
colorSpikeyHair.blueOffset = -255;
spikeyHair.colorTransform = colorSpikeyHair;
spikeyHairGreenV = 1;
}
} else if (spikeyHairGreenV == 1) {
spikeyHairTemplate_mc._x = 10000;
spikeyHairTemplate_mc._y = 10000;
spikeyHairGreenV = 0;
spikeyHairTemplateV = 0;
}
};
var spikeyHairYellowV = 0;
spikeyHairColor_mc.yellowBeard_btn.onRelease = function () {
if (spikeyHairYellowV == 0) {
if (spikeyHairTemplateV == 0) {
unloadMovie (spikeyHairBrown_mc);
unloadMovie (spikeyHairBlond_mc);
unloadMovie (spikeyHairRed_mc);
spikeyHairTemplateGone();
spikeyHairBrownV = 0;
spikeyHairBlondV = 0;
spikeyHairRedV = 0;
menu1HairGone();
hoodedGone();
helmetsAllUnload();
hatsAllUnload();
hatsMiscUnload();
sloppyHairGone();
sloppyHairTemplateGone();
sloppy2HairGone();
sloppy2HairTemplateGone();
spikey2HairGone();
spikey2HairTemplateGone();
smallDreadsHairGone();
smallDreadsHairTemplateGone();
spikeyHairTemplate_mc._x = 249.9;
spikeyHairTemplate_mc._y = 25.3;
spikeyHairYellowV = 1;
spikeyHairTemplateV = 1;
colorSpikeyHair.redOffset = 0;
colorSpikeyHair.greenOffset = 0;
colorSpikeyHair.blueOffset = -255;
spikeyHair.colorTransform = colorSpikeyHair;
} else if (spikeyHairTemplateV == 1) {
colorSpikeyHair.redOffset = 0;
colorSpikeyHair.greenOffset = 0;
colorSpikeyHair.blueOffset = -255;
spikeyHair.colorTransform = colorSpikeyHair;
spikeyHairYellowV = 1;
}
} else if (spikeyHairYellowV == 1) {
spikeyHairTemplate_mc._x = 10000;
spikeyHairTemplate_mc._y = 10000;
spikeyHairYellowV = 0;
spikeyHairTemplateV = 0;
}
};
var spikeyHairPinkV = 0;
spikeyHairColor_mc.pinkBeard_btn.onRelease = function () {
if (spikeyHairPinkV == 0) {
if (spikeyHairTemplateV == 0) {
unloadMovie (spikeyHairBrown_mc);
unloadMovie (spikeyHairBlond_mc);
unloadMovie (spikeyHairRed_mc);
spikeyHairTemplateGone();
spikeyHairBrownV = 0;
spikeyHairBlondV = 0;
spikeyHairRedV = 0;
menu1HairGone();
hoodedGone();
helmetsAllUnload();
hatsAllUnload();
hatsMiscUnload();
sloppyHairGone();
sloppyHairTemplateGone();
sloppy2HairGone();
sloppy2HairTemplateGone();
spikey2HairGone();
spikey2HairTemplateGone();
smallDreadsHairGone();
smallDreadsHairTemplateGone();
spikeyHairTemplate_mc._x = 249.9;
spikeyHairTemplate_mc._y = 25.3;
spikeyHairPinkV = 1;
spikeyHairTemplateV = 1;
colorSpikeyHair.redOffset = 0;
colorSpikeyHair.greenOffset = -255;
colorSpikeyHair.blueOffset = 0;
spikeyHair.colorTransform = colorSpikeyHair;
} else if (spikeyHairTemplateV == 1) {
colorSpikeyHair.redOffset = 0;
colorSpikeyHair.greenOffset = -255;
colorSpikeyHair.blueOffset = 0;
spikeyHair.colorTransform = colorSpikeyHair;
spikeyHairPinkV = 1;
}
} else if (spikeyHairPinkV == 1) {
spikeyHairTemplate_mc._x = 10000;
spikeyHairTemplate_mc._y = 10000;
spikeyHairPinkV = 0;
spikeyHairTemplateV = 0;
}
};
var spikeyHairTealV = 0;
spikeyHairColor_mc.tealBeard_btn.onRelease = function () {
if (spikeyHairTealV == 0) {
if (spikeyHairTemplateV == 0) {
unloadMovie (spikeyHairBrown_mc);
unloadMovie (spikeyHairBlond_mc);
unloadMovie (spikeyHairRed_mc);
spikeyHairTemplateGone();
spikeyHairBrownV = 0;
spikeyHairBlondV = 0;
spikeyHairRedV = 0;
menu1HairGone();
hoodedGone();
helmetsAllUnload();
hatsAllUnload();
hatsMiscUnload();
sloppyHairGone();
sloppyHairTemplateGone();
sloppy2HairGone();
sloppy2HairTemplateGone();
spikey2HairGone();
spikey2HairTemplateGone();
smallDreadsHairGone();
smallDreadsHairTemplateGone();
spikeyHairTemplate_mc._x = 249.9;
spikeyHairTemplate_mc._y = 25.3;
spikeyHairTealV = 1;
spikeyHairTemplateV = 1;
colorSpikeyHair.redOffset = -255;
colorSpikeyHair.greenOffset = 0;
colorSpikeyHair.blueOffset = 0;
spikeyHair.colorTransform = colorSpikeyHair;
} else if (spikeyHairTemplateV == 1) {
colorSpikeyHair.redOffset = -255;
colorSpikeyHair.greenOffset = 0;
colorSpikeyHair.blueOffset = 0;
spikeyHair.colorTransform = colorSpikeyHair;
spikeyHairTealV = 1;
}
} else if (spikeyHairTealV == 1) {
spikeyHairTemplate_mc._x = 10000;
spikeyHairTemplate_mc._y = 10000;
spikeyHairTealV = 0;
spikeyHairTemplateV = 0;
}
};
var spikeyHairBlueV = 0;
spikeyHairColor_mc.blueBeard_btn.onRelease = function () {
if (spikeyHairBlueV == 0) {
if (spikeyHairTemplateV == 0) {
unloadMovie (spikeyHairBrown_mc);
unloadMovie (spikeyHairBlond_mc);
unloadMovie (spikeyHairRed_mc);
spikeyHairTemplateGone();
spikeyHairBrownV = 0;
spikeyHairBlondV = 0;
spikeyHairRedV = 0;
menu1HairGone();
hoodedGone();
helmetsAllUnload();
hatsAllUnload();
hatsMiscUnload();
sloppyHairGone();
sloppyHairTemplateGone();
sloppy2HairGone();
sloppy2HairTemplateGone();
spikey2HairGone();
spikey2HairTemplateGone();
smallDreadsHairGone();
smallDreadsHairTemplateGone();
spikeyHairTemplate_mc._x = 249.9;
spikeyHairTemplate_mc._y = 25.3;
spikeyHairBlueV = 1;
spikeyHairTemplateV = 1;
colorSpikeyHair.redOffset = -255;
colorSpikeyHair.greenOffset = -255;
colorSpikeyHair.blueOffset = 0;
spikeyHair.colorTransform = colorSpikeyHair;
} else if (spikeyHairTemplateV == 1) {
colorSpikeyHair.redOffset = -255;
colorSpikeyHair.greenOffset = -255;
colorSpikeyHair.blueOffset = 0;
spikeyHair.colorTransform = colorSpikeyHair;
spikeyHairBlueV = 1;
}
} else if (spikeyHairBlueV == 1) {
spikeyHairTemplate_mc._x = 10000;
spikeyHairTemplate_mc._y = 10000;
spikeyHairBlueV = 0;
spikeyHairTemplateV = 0;
}
};
var spikey2HairColorV = 0;
hairMenu2_mc.spikey2Hair_btn.onRelease = function () {
spikey2HairColorDown();
};
var spikey2HairBlondV = 0;
spikey2HairColor_mc.blondBeard_btn.onRelease = function () {
if (spikey2HairBlondV == 0) {
unloadMovie (spikey2HairRed_mc);
unloadMovie (spikey2HairBrown_mc);
spikey2HairTemplateGone();
spikey2HairTemplateV = 0;
spikey2HairTemplate_mc._x = 10000;
spikey2HairTemplate_mc._y = 10000;
spikey2HairBrownV = 0;
spikey2HairRedV = 0;
menu1HairGone();
hoodedGone();
helmetsAllUnload();
hatsAllUnload();
hatsMiscUnload();
sloppyHairGone();
sloppyHairTemplateGone();
sloppy2HairGone();
sloppy2HairTemplateGone();
spikeyHairGone();
spikeyHairTemplateGone();
smallDreadsHairGone();
smallDreadsHairTemplateGone();
_root.attachMovie("spikey2HairBlond_mc", "spikey2HairBlond_mc", hairLayerValue, {_x:257.5, _y:36.8});
spikey2HairBlondV = 1;
} else if (spikey2HairBlondV == 1) {
unloadMovie (spikey2HairBlond_mc);
spikey2HairBlondV = 0;
}
};
var spikey2HairBrownV = 0;
spikey2HairColor_mc.brownBeard_btn.onRelease = function () {
if (spikey2HairBrownV == 0) {
unloadMovie (spikey2HairBlond_mc);
unloadMovie (spikey2HairRed_mc);
spikey2HairTemplateGone();
spikey2HairTemplateV = 0;
spikey2HairTemplate_mc._x = 10000;
spikey2HairTemplate_mc._y = 10000;
spikey2HairBlondV = 0;
spikey2HairRedV = 0;
menu1HairGone();
hoodedGone();
helmetsAllUnload();
hatsAllUnload();
hatsMiscUnload();
sloppyHairGone();
sloppyHairTemplateGone();
sloppy2HairGone();
sloppy2HairTemplateGone();
spikeyHairGone();
spikeyHairTemplateGone();
smallDreadsHairGone();
smallDreadsHairTemplateGone();
_root.attachMovie("spikey2HairBrown_mc", "spikey2HairBrown_mc", hairLayerValue, {_x:257.5, _y:36.8});
spikey2HairBrownV = 1;
} else if (spikey2HairBrownV == 1) {
unloadMovie (spikey2HairBrown_mc);
spikey2HairBrownV = 0;
}
};
var spikey2HairRedV = 0;
spikey2HairColor_mc.redBeard_btn.onRelease = function () {
if (spikey2HairRedV == 0) {
unloadMovie (spikey2HairBrown_mc);
unloadMovie (spikey2HairBlond_mc);
spikey2HairTemplateGone();
spikey2HairTemplateV = 0;
spikey2HairTemplate_mc._x = 10000;
spikey2HairTemplate_mc._y = 10000;
spikey2HairBrownV = 0;
spikey2HairBlondV = 0;
menu1HairGone();
hoodedGone();
helmetsAllUnload();
hatsAllUnload();
hatsMiscUnload();
sloppyHairGone();
sloppyHairTemplateGone();
sloppy2HairGone();
sloppy2HairTemplateGone();
spikeyHairGone();
spikeyHairTemplateGone();
smallDreadsHairGone();
smallDreadsHairTemplateGone();
_root.attachMovie("spikey2HairRed_mc", "spikey2HairRed_mc", hairLayerValue, {_x:257.5, _y:36.8});
spikey2HairRedV = 1;
} else if (spikey2HairRedV == 1) {
unloadMovie (spikey2HairRed_mc);
spikey2HairRedV = 0;
}
};
var colorSpikey2Hair = (new flash.geom.ColorTransform());
var spikey2Hair = (new flash.geom.Transform(spikey2HairTemplate_mc));
spikey2Hair.colorTransform = colorSpikey2Hair;
var spikey2HairTemplateV = 0;
var spikey2HairBlackV = 0;
spikey2HairColor_mc.blackBeard_btn.onRelease = function () {
if (spikey2HairBlackV == 0) {
if (spikey2HairTemplateV == 0) {
unloadMovie (spikey2HairBrown_mc);
unloadMovie (spikey2HairBlond_mc);
unloadMovie (spikey2HairRed_mc);
spikey2HairTemplateGone();
spikey2HairBrownV = 0;
spikey2HairBlondV = 0;
spikey2HairRedV = 0;
menu1HairGone();
hoodedGone();
helmetsAllUnload();
hatsAllUnload();
hatsMiscUnload();
sloppyHairGone();
sloppyHairTemplateGone();
sloppy2HairGone();
sloppy2HairTemplateGone();
spikeyHairGone();
spikeyHairTemplateGone();
smallDreadsHairGone();
smallDreadsHairTemplateGone();
spikey2HairTemplate_mc._x = 257.5;
spikey2HairTemplate_mc._y = 36.8;
spikey2HairBlackV = 1;
spikey2HairTemplateV = 1;
colorSpikey2Hair.redOffset = -230;
colorSpikey2Hair.greenOffset = -230;
colorSpikey2Hair.blueOffset = -230;
spikey2Hair.colorTransform = colorSpikey2Hair;
} else if (spikey2HairTemplateV == 1) {
colorSpikey2Hair.redOffset = -230;
colorSpikey2Hair.greenOffset = -230;
colorSpikey2Hair.blueOffset = -230;
spikey2Hair.colorTransform = colorSpikey2Hair;
spikey2HairBlackV = 1;
}
} else if (spikey2HairBlackV == 1) {
spikey2HairTemplate_mc._x = 10000;
spikey2HairTemplate_mc._y = 10000;
spikey2HairBlackV = 0;
spikey2HairTemplateV = 0;
}
};
var spikey2HairGreyV = 0;
spikey2HairColor_mc.greyBeard_btn.onRelease = function () {
if (spikey2HairGreyV == 0) {
if (spikey2HairTemplateV == 0) {
unloadMovie (spikey2HairBrown_mc);
unloadMovie (spikey2HairBlond_mc);
unloadMovie (spikey2HairRed_mc);
spikey2HairTemplateGone();
spikey2HairBrownV = 0;
spikey2HairBlondV = 0;
spikey2HairRedV = 0;
menu1HairGone();
hoodedGone();
helmetsAllUnload();
hatsAllUnload();
hatsMiscUnload();
sloppyHairGone();
sloppyHairTemplateGone();
sloppy2HairGone();
sloppy2HairTemplateGone();
spikeyHairGone();
spikeyHairTemplateGone();
smallDreadsHairGone();
smallDreadsHairTemplateGone();
spikey2HairTemplate_mc._x = 257.5;
spikey2HairTemplate_mc._y = 36.8;
spikey2HairGreyV = 1;
spikey2HairTemplateV = 1;
colorSpikey2Hair.redOffset = -100;
colorSpikey2Hair.greenOffset = -100;
colorSpikey2Hair.blueOffset = -100;
spikey2Hair.colorTransform = colorSpikey2Hair;
} else if (spikey2HairTemplateV == 1) {
colorSpikey2Hair.redOffset = -100;
colorSpikey2Hair.greenOffset = -100;
colorSpikey2Hair.blueOffset = -100;
spikey2Hair.colorTransform = colorSpikey2Hair;
spikey2HairGreyV = 1;
}
} else if (spikey2HairGreyV == 1) {
spikey2HairTemplate_mc._x = 10000;
spikey2HairTemplate_mc._y = 10000;
spikey2HairGreyV = 0;
spikey2HairTemplateV = 0;
}
};
var spikey2HairWhiteV = 0;
spikey2HairColor_mc.whiteBeard_btn.onRelease = function () {
if (spikey2HairWhiteV == 0) {
if (spikey2HairTemplateV == 0) {
unloadMovie (spikey2HairBrown_mc);
unloadMovie (spikey2HairBlond_mc);
unloadMovie (spikey2HairRed_mc);
spikey2HairTemplateGone();
spikey2HairBrownV = 0;
spikey2HairBlondV = 0;
spikey2HairRedV = 0;
menu1HairGone();
hoodedGone();
helmetsAllUnload();
hatsAllUnload();
hatsMiscUnload();
sloppyHairGone();
sloppyHairTemplateGone();
sloppy2HairGone();
sloppy2HairTemplateGone();
spikeyHairGone();
spikeyHairTemplateGone();
smallDreadsHairGone();
smallDreadsHairTemplateGone();
spikey2HairTemplate_mc._x = 257.5;
spikey2HairTemplate_mc._y = 36.8;
spikey2HairWhiteV = 1;
spikey2HairTemplateV = 1;
colorSpikey2Hair.redOffset = 0;
colorSpikey2Hair.greenOffset = 0;
colorSpikey2Hair.blueOffset = 0;
spikey2Hair.colorTransform = colorSpikey2Hair;
} else if (spikey2HairTemplateV == 1) {
colorSpikey2Hair.redOffset = 0;
colorSpikey2Hair.greenOffset = 0;
colorSpikey2Hair.blueOffset = 0;
spikey2Hair.colorTransform = colorSpikey2Hair;
spikey2HairWhiteV = 1;
}
} else if (spikey2HairWhiteV == 1) {
spikey2HairTemplate_mc._x = 10000;
spikey2HairTemplate_mc._y = 10000;
spikey2HairWhiteV = 0;
spikey2HairTemplateV = 0;
}
};
var spikey2HairLightGreenV = 0;
spikey2HairColor_mc.lightGreenBeard_btn.onRelease = function () {
if (spikey2HairLightGreenV == 0) {
if (spikey2HairTemplateV == 0) {
unloadMovie (spikey2HairBrown_mc);
unloadMovie (spikey2HairBlond_mc);
unloadMovie (spikey2HairRed_mc);
spikey2HairTemplateGone();
spikey2HairBrownV = 0;
spikey2HairBlondV = 0;
spikey2HairRedV = 0;
menu1HairGone();
hoodedGone();
helmetsAllUnload();
hatsAllUnload();
hatsMiscUnload();
sloppyHairGone();
sloppyHairTemplateGone();
sloppy2HairGone();
sloppy2HairTemplateGone();
spikeyHairGone();
spikeyHairTemplateGone();
smallDreadsHairGone();
smallDreadsHairTemplateGone();
spikey2HairTemplate_mc._x = 257.5;
spikey2HairTemplate_mc._y = 36.8;
spikey2HairLightGreenV = 1;
spikey2HairTemplateV = 1;
colorSpikey2Hair.redOffset = -255;
colorSpikey2Hair.greenOffset = -75;
colorSpikey2Hair.blueOffset = -200;
spikey2Hair.colorTransform = colorSpikey2Hair;
} else if (spikey2HairTemplateV == 1) {
colorSpikey2Hair.redOffset = -255;
colorSpikey2Hair.greenOffset = -75;
colorSpikey2Hair.blueOffset = -200;
spikey2Hair.colorTransform = colorSpikey2Hair;
spikey2HairLightGreenV = 1;
}
} else if (spikey2HairLightGreenV == 1) {
spikey2HairTemplate_mc._x = 10000;
spikey2HairTemplate_mc._y = 10000;
spikey2HairLightGreenV = 0;
spikey2HairTemplateV = 0;
}
};
var spikey2HairGreenV = 0;
spikey2HairColor_mc.greenBeard_btn.onRelease = function () {
if (spikey2HairGreenV == 0) {
if (spikey2HairTemplateV == 0) {
unloadMovie (spikey2HairBrown_mc);
unloadMovie (spikey2HairBlond_mc);
unloadMovie (spikey2HairRed_mc);
spikey2HairTemplateGone();
spikey2HairBrownV = 0;
spikey2HairBlondV = 0;
spikey2HairRedV = 0;
menu1HairGone();
hoodedGone();
helmetsAllUnload();
hatsAllUnload();
hatsMiscUnload();
sloppyHairGone();
sloppyHairTemplateGone();
sloppy2HairGone();
sloppy2HairTemplateGone();
spikeyHairGone();
spikeyHairTemplateGone();
smallDreadsHairGone();
smallDreadsHairTemplateGone();
spikey2HairTemplate_mc._x = 257.5;
spikey2HairTemplate_mc._y = 36.8;
spikey2HairGreenV = 1;
spikey2HairTemplateV = 1;
colorSpikey2Hair.redOffset = -255;
colorSpikey2Hair.greenOffset = -150;
colorSpikey2Hair.blueOffset = -255;
spikey2Hair.colorTransform = colorSpikey2Hair;
} else if (spikey2HairTemplateV == 1) {
colorSpikey2Hair.redOffset = -255;
colorSpikey2Hair.greenOffset = -150;
colorSpikey2Hair.blueOffset = -255;
spikey2Hair.colorTransform = colorSpikey2Hair;
spikey2HairGreenV = 1;
}
} else if (spikey2HairGreenV == 1) {
spikey2HairTemplate_mc._x = 10000;
spikey2HairTemplate_mc._y = 10000;
spikey2HairGreenV = 0;
spikey2HairTemplateV = 0;
}
};
var spikey2HairYellowV = 0;
spikey2HairColor_mc.yellowBeard_btn.onRelease = function () {
if (spikey2HairYellowV == 0) {
if (spikey2HairTemplateV == 0) {
unloadMovie (spikey2HairBrown_mc);
unloadMovie (spikey2HairBlond_mc);
unloadMovie (spikey2HairRed_mc);
spikey2HairTemplateGone();
spikey2HairBrownV = 0;
spikey2HairBlondV = 0;
spikey2HairRedV = 0;
menu1HairGone();
hoodedGone();
helmetsAllUnload();
hatsAllUnload();
hatsMiscUnload();
sloppyHairGone();
sloppyHairTemplateGone();
sloppy2HairGone();
sloppy2HairTemplateGone();
spikeyHairGone();
spikeyHairTemplateGone();
smallDreadsHairGone();
smallDreadsHairTemplateGone();
spikey2HairTemplate_mc._x = 257.5;
spikey2HairTemplate_mc._y = 36.8;
spikey2HairYellowV = 1;
spikey2HairTemplateV = 1;
colorSpikey2Hair.redOffset = 0;
colorSpikey2Hair.greenOffset = 0;
colorSpikey2Hair.blueOffset = -255;
spikey2Hair.colorTransform = colorSpikey2Hair;
} else if (spikey2HairTemplateV == 1) {
colorSpikey2Hair.redOffset = 0;
colorSpikey2Hair.greenOffset = 0;
colorSpikey2Hair.blueOffset = -255;
spikey2Hair.colorTransform = colorSpikey2Hair;
spikey2HairYellowV = 1;
}
} else if (spikey2HairYellowV == 1) {
spikey2HairTemplate_mc._x = 10000;
spikey2HairTemplate_mc._y = 10000;
spikey2HairYellowV = 0;
spikey2HairTemplateV = 0;
}
};
var spikey2HairPinkV = 0;
spikey2HairColor_mc.pinkBeard_btn.onRelease = function () {
if (spikey2HairPinkV == 0) {
if (spikey2HairTemplateV == 0) {
unloadMovie (spikey2HairBrown_mc);
unloadMovie (spikey2HairBlond_mc);
unloadMovie (spikey2HairRed_mc);
spikey2HairTemplateGone();
spikey2HairBrownV = 0;
spikey2HairBlondV = 0;
spikey2HairRedV = 0;
menu1HairGone();
hoodedGone();
helmetsAllUnload();
hatsAllUnload();
hatsMiscUnload();
sloppyHairGone();
sloppyHairTemplateGone();
sloppy2HairGone();
sloppy2HairTemplateGone();
spikeyHairGone();
spikeyHairTemplateGone();
smallDreadsHairGone();
smallDreadsHairTemplateGone();
spikey2HairTemplate_mc._x = 257.5;
spikey2HairTemplate_mc._y = 36.8;
spikey2HairPinkV = 1;
spikey2HairTemplateV = 1;
colorSpikey2Hair.redOffset = 0;
colorSpikey2Hair.greenOffset = -255;
colorSpikey2Hair.blueOffset = 0;
spikey2Hair.colorTransform = colorSpikey2Hair;
} else if (spikey2HairTemplateV == 1) {
colorSpikey2Hair.redOffset = 0;
colorSpikey2Hair.greenOffset = -255;
colorSpikey2Hair.blueOffset = 0;
spikey2Hair.colorTransform = colorSpikey2Hair;
spikey2HairPinkV = 1;
}
} else if (spikey2HairPinkV == 1) {
spikey2HairTemplate_mc._x = 10000;
spikey2HairTemplate_mc._y = 10000;
spikey2HairPinkV = 0;
spikey2HairTemplateV = 0;
}
};
var spikey2HairTealV = 0;
spikey2HairColor_mc.tealBeard_btn.onRelease = function () {
if (spikey2HairTealV == 0) {
if (spikey2HairTemplateV == 0) {
unloadMovie (spikey2HairBrown_mc);
unloadMovie (spikey2HairBlond_mc);
unloadMovie (spikey2HairRed_mc);
spikey2HairTemplateGone();
spikey2HairBrownV = 0;
spikey2HairBlondV = 0;
spikey2HairRedV = 0;
menu1HairGone();
hoodedGone();
helmetsAllUnload();
hatsAllUnload();
hatsMiscUnload();
sloppyHairGone();
sloppyHairTemplateGone();
sloppy2HairGone();
sloppy2HairTemplateGone();
spikeyHairGone();
spikeyHairTemplateGone();
smallDreadsHairGone();
smallDreadsHairTemplateGone();
spikey2HairTemplate_mc._x = 257.5;
spikey2HairTemplate_mc._y = 36.8;
spikey2HairTealV = 1;
spikey2HairTemplateV = 1;
colorSpikey2Hair.redOffset = -255;
colorSpikey2Hair.greenOffset = 0;
colorSpikey2Hair.blueOffset = 0;
spikey2Hair.colorTransform = colorSpikey2Hair;
} else if (spikey2HairTemplateV == 1) {
colorSpikey2Hair.redOffset = -255;
colorSpikey2Hair.greenOffset = 0;
colorSpikey2Hair.blueOffset = 0;
spikey2Hair.colorTransform = colorSpikey2Hair;
spikey2HairTealV = 1;
}
} else if (spikey2HairTealV == 1) {
spikey2HairTemplate_mc._x = 10000;
spikey2HairTemplate_mc._y = 10000;
spikey2HairTealV = 0;
spikey2HairTemplateV = 0;
}
};
var spikey2HairBlueV = 0;
spikey2HairColor_mc.blueBeard_btn.onRelease = function () {
if (spikey2HairBlueV == 0) {
if (spikey2HairTemplateV == 0) {
unloadMovie (spikey2HairBrown_mc);
unloadMovie (spikey2HairBlond_mc);
unloadMovie (spikey2HairRed_mc);
spikey2HairTemplateGone();
spikey2HairBrownV = 0;
spikey2HairBlondV = 0;
spikey2HairRedV = 0;
menu1HairGone();
hoodedGone();
helmetsAllUnload();
hatsAllUnload();
hatsMiscUnload();
sloppyHairGone();
sloppyHairTemplateGone();
sloppy2HairGone();
sloppy2HairTemplateGone();
spikeyHairGone();
spikeyHairTemplateGone();
smallDreadsHairGone();
smallDreadsHairTemplateGone();
spikey2HairTemplate_mc._x = 257.5;
spikey2HairTemplate_mc._y = 36.8;
spikey2HairBlueV = 1;
spikey2HairTemplateV = 1;
colorSpikey2Hair.redOffset = -255;
colorSpikey2Hair.greenOffset = -255;
colorSpikey2Hair.blueOffset = 0;
spikey2Hair.colorTransform = colorSpikey2Hair;
} else if (spikey2HairTemplateV == 1) {
colorSpikey2Hair.redOffset = -255;
colorSpikey2Hair.greenOffset = -255;
colorSpikey2Hair.blueOffset = 0;
spikey2Hair.colorTransform = colorSpikey2Hair;
spikey2HairBlueV = 1;
}
} else if (spikey2HairBlueV == 1) {
spikey2HairTemplate_mc._x = 10000;
spikey2HairTemplate_mc._y = 10000;
spikey2HairBlueV = 0;
spikey2HairTemplateV = 0;
}
};
var smallDreadsHairColorV = 0;
hairMenu2_mc.smallDreadsHair_btn.onRelease = function () {
smallDreadsHairColorDown();
};
var smallDreadsHairBlondV = 0;
smallDreadsHairColor_mc.blondBeard_btn.onRelease = function () {
if (smallDreadsHairBlondV == 0) {
unloadMovie (smallDreadsHairRed_mc);
unloadMovie (smallDreadsHairBrown_mc);
smallDreadsHairTemplateGone();
smallDreadsHairTemplateV = 0;
smallDreadsHairTemplate_mc._x = 10000;
smallDreadsHairTemplate_mc._y = 10000;
smallDreadsHairBrownV = 0;
smallDreadsHairRedV = 0;
menu1HairGone();
hoodedGone();
helmetsAllUnload();
hatsAllUnload();
hatsMiscUnload();
sloppyHairGone();
sloppyHairTemplateGone();
sloppy2HairGone();
sloppy2HairTemplateGone();
spikeyHairGone();
spikeyHairTemplateGone();
spikey2HairGone();
spikey2HairTemplateGone();
_root.attachMovie("smallDreadsHairBlond_mc", "smallDreadsHairBlond_mc", hairLayerValue, {_x:251.3, _y:26.9});
smallDreadsHairBlondV = 1;
} else if (smallDreadsHairBlondV == 1) {
unloadMovie (smallDreadsHairBlond_mc);
smallDreadsHairBlondV = 0;
}
};
var smallDreadsHairBrownV = 0;
smallDreadsHairColor_mc.brownBeard_btn.onRelease = function () {
if (smallDreadsHairBrownV == 0) {
unloadMovie (smallDreadsHairBlond_mc);
unloadMovie (smallDreadsHairRed_mc);
smallDreadsHairTemplateGone();
smallDreadsHairTemplateV = 0;
smallDreadsHairTemplate_mc._x = 10000;
smallDreadsHairTemplate_mc._y = 10000;
smallDreadsHairBlondV = 0;
smallDreadsHairRedV = 0;
menu1HairGone();
hoodedGone();
helmetsAllUnload();
hatsAllUnload();
hatsMiscUnload();
sloppyHairGone();
sloppyHairTemplateGone();
sloppy2HairGone();
sloppy2HairTemplateGone();
spikeyHairGone();
spikeyHairTemplateGone();
spikey2HairGone();
spikey2HairTemplateGone();
_root.attachMovie("smallDreadsHairBrown_mc", "smallDreadsHairBrown_mc", hairLayerValue, {_x:251.3, _y:26.9});
smallDreadsHairBrownV = 1;
} else if (smallDreadsHairBrownV == 1) {
unloadMovie (smallDreadsHairBrown_mc);
smallDreadsHairBrownV = 0;
}
};
var smallDreadsHairRedV = 0;
smallDreadsHairColor_mc.redBeard_btn.onRelease = function () {
if (smallDreadsHairRedV == 0) {
unloadMovie (smallDreadsHairBrown_mc);
unloadMovie (smallDreadsHairBlond_mc);
smallDreadsHairTemplateGone();
smallDreadsHairTemplateV = 0;
smallDreadsHairTemplate_mc._x = 10000;
smallDreadsHairTemplate_mc._y = 10000;
smallDreadsHairBrownV = 0;
smallDreadsHairBlondV = 0;
menu1HairGone();
hoodedGone();
helmetsAllUnload();
hatsAllUnload();
hatsMiscUnload();
sloppyHairGone();
sloppyHairTemplateGone();
sloppy2HairGone();
sloppy2HairTemplateGone();
spikeyHairGone();
spikeyHairTemplateGone();
spikey2HairGone();
spikey2HairTemplateGone();
_root.attachMovie("smallDreadsHairRed_mc", "smallDreadsHairRed_mc", hairLayerValue, {_x:251.3, _y:26.9});
smallDreadsHairRedV = 1;
} else if (smallDreadsHairRedV == 1) {
unloadMovie (smallDreadsHairRed_mc);
smallDreadsHairRedV = 0;
}
};
var colorSmallDreadsHair = (new flash.geom.ColorTransform());
var smallDreadsHair = (new flash.geom.Transform(smallDreadsHairTemplate_mc));
smallDreadsHair.colorTransform = colorSmallDreadsHair;
var smallDreadsHairTemplateV = 0;
var smallDreadsHairBlackV = 0;
smallDreadsHairColor_mc.blackBeard_btn.onRelease = function () {
if (smallDreadsHairBlackV == 0) {
if (smallDreadsHairTemplateV == 0) {
unloadMovie (smallDreadsHairBrown_mc);
unloadMovie (smallDreadsHairBlond_mc);
unloadMovie (smallDreadsHairRed_mc);
smallDreadsHairTemplateGone();
smallDreadsHairBrownV = 0;
smallDreadsHairBlondV = 0;
smallDreadsHairRedV = 0;
menu1HairGone();
hoodedGone();
helmetsAllUnload();
hatsAllUnload();
hatsMiscUnload();
sloppyHairGone();
sloppyHairTemplateGone();
sloppy2HairGone();
sloppy2HairTemplateGone();
spikeyHairGone();
spikeyHairTemplateGone();
spikey2HairGone();
spikey2HairTemplateGone();
smallDreadsHairTemplate_mc._x = 251.3;
smallDreadsHairTemplate_mc._y = 26.9;
smallDreadsHairBlackV = 1;
smallDreadsHairTemplateV = 1;
colorSmallDreadsHair.redOffset = -230;
colorSmallDreadsHair.greenOffset = -230;
colorSmallDreadsHair.blueOffset = -230;
smallDreadsHair.colorTransform = colorSmallDreadsHair;
} else if (smallDreadsHairTemplateV == 1) {
colorSmallDreadsHair.redOffset = -230;
colorSmallDreadsHair.greenOffset = -230;
colorSmallDreadsHair.blueOffset = -230;
smallDreadsHair.colorTransform = colorSmallDreadsHair;
smallDreadsHairBlackV = 1;
}
} else if (smallDreadsHairBlackV == 1) {
smallDreadsHairTemplate_mc._x = 10000;
smallDreadsHairTemplate_mc._y = 10000;
smallDreadsHairBlackV = 0;
smallDreadsHairTemplateV = 0;
}
};
var smallDreadsHairGreyV = 0;
smallDreadsHairColor_mc.greyBeard_btn.onRelease = function () {
if (smallDreadsHairGreyV == 0) {
if (smallDreadsHairTemplateV == 0) {
unloadMovie (smallDreadsHairBrown_mc);
unloadMovie (smallDreadsHairBlond_mc);
unloadMovie (smallDreadsHairRed_mc);
smallDreadsHairTemplateGone();
smallDreadsHairBrownV = 0;
smallDreadsHairBlondV = 0;
smallDreadsHairRedV = 0;
menu1HairGone();
hoodedGone();
helmetsAllUnload();
hatsAllUnload();
hatsMiscUnload();
sloppyHairGone();
sloppyHairTemplateGone();
sloppy2HairGone();
sloppy2HairTemplateGone();
spikeyHairGone();
spikeyHairTemplateGone();
spikey2HairGone();
spikey2HairTemplateGone();
smallDreadsHairTemplate_mc._x = 251.3;
smallDreadsHairTemplate_mc._y = 26.9;
smallDreadsHairGreyV = 1;
smallDreadsHairTemplateV = 1;
colorSmallDreadsHair.redOffset = -100;
colorSmallDreadsHair.greenOffset = -100;
colorSmallDreadsHair.blueOffset = -100;
smallDreadsHair.colorTransform = colorSmallDreadsHair;
} else if (smallDreadsHairTemplateV == 1) {
colorSmallDreadsHair.redOffset = -100;
colorSmallDreadsHair.greenOffset = -100;
colorSmallDreadsHair.blueOffset = -100;
smallDreadsHair.colorTransform = colorSmallDreadsHair;
smallDreadsHairGreyV = 1;
}
} else if (smallDreadsHairGreyV == 1) {
smallDreadsHairTemplate_mc._x = 10000;
smallDreadsHairTemplate_mc._y = 10000;
smallDreadsHairGreyV = 0;
smallDreadsHairTemplateV = 0;
}
};
var smallDreadsHairWhiteV = 0;
smallDreadsHairColor_mc.whiteBeard_btn.onRelease = function () {
if (smallDreadsHairWhiteV == 0) {
if (smallDreadsHairTemplateV == 0) {
unloadMovie (smallDreadsHairBrown_mc);
unloadMovie (smallDreadsHairBlond_mc);
unloadMovie (smallDreadsHairRed_mc);
smallDreadsHairTemplateGone();
smallDreadsHairBrownV = 0;
smallDreadsHairBlondV = 0;
smallDreadsHairRedV = 0;
menu1HairGone();
hoodedGone();
helmetsAllUnload();
hatsAllUnload();
hatsMiscUnload();
sloppyHairGone();
sloppyHairTemplateGone();
sloppy2HairGone();
sloppy2HairTemplateGone();
spikeyHairGone();
spikeyHairTemplateGone();
spikey2HairGone();
spikey2HairTemplateGone();
smallDreadsHairTemplate_mc._x = 251.3;
smallDreadsHairTemplate_mc._y = 26.9;
smallDreadsHairWhiteV = 1;
smallDreadsHairTemplateV = 1;
colorSmallDreadsHair.redOffset = 0;
colorSmallDreadsHair.greenOffset = 0;
colorSmallDreadsHair.blueOffset = 0;
smallDreadsHair.colorTransform = colorSmallDreadsHair;
} else if (smallDreadsHairTemplateV == 1) {
colorSmallDreadsHair.redOffset = 0;
colorSmallDreadsHair.greenOffset = 0;
colorSmallDreadsHair.blueOffset = 0;
smallDreadsHair.colorTransform = colorSmallDreadsHair;
smallDreadsHairWhiteV = 1;
}
} else if (smallDreadsHairWhiteV == 1) {
smallDreadsHairTemplate_mc._x = 10000;
smallDreadsHairTemplate_mc._y = 10000;
smallDreadsHairWhiteV = 0;
smallDreadsHairTemplateV = 0;
}
};
var smallDreadsHairLightGreenV = 0;
smallDreadsHairColor_mc.lightGreenBeard_btn.onRelease = function () {
if (smallDreadsHairLightGreenV == 0) {
if (smallDreadsHairTemplateV == 0) {
unloadMovie (smallDreadsHairBrown_mc);
unloadMovie (smallDreadsHairBlond_mc);
unloadMovie (smallDreadsHairRed_mc);
smallDreadsHairTemplateGone();
smallDreadsHairBrownV = 0;
smallDreadsHairBlondV = 0;
smallDreadsHairRedV = 0;
menu1HairGone();
hoodedGone();
helmetsAllUnload();
hatsAllUnload();
hatsMiscUnload();
sloppyHairGone();
sloppyHairTemplateGone();
sloppy2HairGone();
sloppy2HairTemplateGone();
spikeyHairGone();
spikeyHairTemplateGone();
spikey2HairGone();
spikey2HairTemplateGone();
smallDreadsHairTemplate_mc._x = 251.3;
smallDreadsHairTemplate_mc._y = 26.9;
smallDreadsHairLightGreenV = 1;
smallDreadsHairTemplateV = 1;
colorSmallDreadsHair.redOffset = -255;
colorSmallDreadsHair.greenOffset = -75;
colorSmallDreadsHair.blueOffset = -200;
smallDreadsHair.colorTransform = colorSmallDreadsHair;
} else if (smallDreadsHairTemplateV == 1) {
colorSmallDreadsHair.redOffset = -255;
colorSmallDreadsHair.greenOffset = -75;
colorSmallDreadsHair.blueOffset = -200;
smallDreadsHair.colorTransform = colorSmallDreadsHair;
smallDreadsHairLightGreenV = 1;
}
} else if (smallDreadsHairLightGreenV == 1) {
smallDreadsHairTemplate_mc._x = 10000;
smallDreadsHairTemplate_mc._y = 10000;
smallDreadsHairLightGreenV = 0;
smallDreadsHairTemplateV = 0;
}
};
var smallDreadsHairGreenV = 0;
smallDreadsHairColor_mc.greenBeard_btn.onRelease = function () {
if (smallDreadsHairGreenV == 0) {
if (smallDreadsHairTemplateV == 0) {
unloadMovie (smallDreadsHairBrown_mc);
unloadMovie (smallDreadsHairBlond_mc);
unloadMovie (smallDreadsHairRed_mc);
smallDreadsHairTemplateGone();
smallDreadsHairBrownV = 0;
smallDreadsHairBlondV = 0;
smallDreadsHairRedV = 0;
menu1HairGone();
hoodedGone();
helmetsAllUnload();
hatsAllUnload();
hatsMiscUnload();
sloppyHairGone();
sloppyHairTemplateGone();
sloppy2HairGone();
sloppy2HairTemplateGone();
spikeyHairGone();
spikeyHairTemplateGone();
spikey2HairGone();
spikey2HairTemplateGone();
smallDreadsHairTemplate_mc._x = 251.3;
smallDreadsHairTemplate_mc._y = 26.9;
smallDreadsHairGreenV = 1;
smallDreadsHairTemplateV = 1;
colorSmallDreadsHair.redOffset = -255;
colorSmallDreadsHair.greenOffset = -150;
colorSmallDreadsHair.blueOffset = -255;
smallDreadsHair.colorTransform = colorSmallDreadsHair;
} else if (smallDreadsHairTemplateV == 1) {
colorSmallDreadsHair.redOffset = -255;
colorSmallDreadsHair.greenOffset = -150;
colorSmallDreadsHair.blueOffset = -255;
smallDreadsHair.colorTransform = colorSmallDreadsHair;
smallDreadsHairGreenV = 1;
}
} else if (smallDreadsHairGreenV == 1) {
smallDreadsHairTemplate_mc._x = 10000;
smallDreadsHairTemplate_mc._y = 10000;
smallDreadsHairGreenV = 0;
smallDreadsHairTemplateV = 0;
}
};
var smallDreadsHairYellowV = 0;
smallDreadsHairColor_mc.yellowBeard_btn.onRelease = function () {
if (smallDreadsHairYellowV == 0) {
if (smallDreadsHairTemplateV == 0) {
unloadMovie (smallDreadsHairBrown_mc);
unloadMovie (smallDreadsHairBlond_mc);
unloadMovie (smallDreadsHairRed_mc);
smallDreadsHairTemplateGone();
smallDreadsHairBrownV = 0;
smallDreadsHairBlondV = 0;
smallDreadsHairRedV = 0;
menu1HairGone();
hoodedGone();
helmetsAllUnload();
hatsAllUnload();
hatsMiscUnload();
sloppyHairGone();
sloppyHairTemplateGone();
sloppy2HairGone();
sloppy2HairTemplateGone();
spikeyHairGone();
spikeyHairTemplateGone();
spikey2HairGone();
spikey2HairTemplateGone();
smallDreadsHairTemplate_mc._x = 251.3;
smallDreadsHairTemplate_mc._y = 26.9;
smallDreadsHairYellowV = 1;
smallDreadsHairTemplateV = 1;
colorSmallDreadsHair.redOffset = 0;
colorSmallDreadsHair.greenOffset = 0;
colorSmallDreadsHair.blueOffset = -255;
smallDreadsHair.colorTransform = colorSmallDreadsHair;
} else if (smallDreadsHairTemplateV == 1) {
colorSmallDreadsHair.redOffset = 0;
colorSmallDreadsHair.greenOffset = 0;
colorSmallDreadsHair.blueOffset = -255;
smallDreadsHair.colorTransform = colorSmallDreadsHair;
smallDreadsHairYellowV = 1;
}
} else if (smallDreadsHairYellowV == 1) {
smallDreadsHairTemplate_mc._x = 10000;
smallDreadsHairTemplate_mc._y = 10000;
smallDreadsHairYellowV = 0;
smallDreadsHairTemplateV = 0;
}
};
var smallDreadsHairPinkV = 0;
smallDreadsHairColor_mc.pinkBeard_btn.onRelease = function () {
if (smallDreadsHairPinkV == 0) {
if (smallDreadsHairTemplateV == 0) {
unloadMovie (smallDreadsHairBrown_mc);
unloadMovie (smallDreadsHairBlond_mc);
unloadMovie (smallDreadsHairRed_mc);
smallDreadsHairTemplateGone();
smallDreadsHairBrownV = 0;
smallDreadsHairBlondV = 0;
smallDreadsHairRedV = 0;
menu1HairGone();
hoodedGone();
helmetsAllUnload();
hatsAllUnload();
hatsMiscUnload();
sloppyHairGone();
sloppyHairTemplateGone();
sloppy2HairGone();
sloppy2HairTemplateGone();
spikeyHairGone();
spikeyHairTemplateGone();
spikey2HairGone();
spikey2HairTemplateGone();
smallDreadsHairTemplate_mc._x = 251.3;
smallDreadsHairTemplate_mc._y = 26.9;
smallDreadsHairPinkV = 1;
smallDreadsHairTemplateV = 1;
colorSmallDreadsHair.redOffset = 0;
colorSmallDreadsHair.greenOffset = -255;
colorSmallDreadsHair.blueOffset = 0;
smallDreadsHair.colorTransform = colorSmallDreadsHair;
} else if (smallDreadsHairTemplateV == 1) {
colorSmallDreadsHair.redOffset = 0;
colorSmallDreadsHair.greenOffset = -255;
colorSmallDreadsHair.blueOffset = 0;
smallDreadsHair.colorTransform = colorSmallDreadsHair;
smallDreadsHairPinkV = 1;
}
} else if (smallDreadsHairPinkV == 1) {
smallDreadsHairTemplate_mc._x = 10000;
smallDreadsHairTemplate_mc._y = 10000;
smallDreadsHairPinkV = 0;
smallDreadsHairTemplateV = 0;
}
};
var smallDreadsHairTealV = 0;
smallDreadsHairColor_mc.tealBeard_btn.onRelease = function () {
if (smallDreadsHairTealV == 0) {
if (smallDreadsHairTemplateV == 0) {
unloadMovie (smallDreadsHairBrown_mc);
unloadMovie (smallDreadsHairBlond_mc);
unloadMovie (smallDreadsHairRed_mc);
smallDreadsHairTemplateGone();
smallDreadsHairBrownV = 0;
smallDreadsHairBlondV = 0;
smallDreadsHairRedV = 0;
menu1HairGone();
hoodedGone();
helmetsAllUnload();
hatsAllUnload();
hatsMiscUnload();
sloppyHairGone();
sloppyHairTemplateGone();
sloppy2HairGone();
sloppy2HairTemplateGone();
spikeyHairGone();
spikeyHairTemplateGone();
spikey2HairGone();
spikey2HairTemplateGone();
smallDreadsHairTemplate_mc._x = 251.3;
smallDreadsHairTemplate_mc._y = 26.9;
smallDreadsHairTealV = 1;
smallDreadsHairTemplateV = 1;
colorSmallDreadsHair.redOffset = -255;
colorSmallDreadsHair.greenOffset = 0;
colorSmallDreadsHair.blueOffset = 0;
smallDreadsHair.colorTransform = colorSmallDreadsHair;
} else if (smallDreadsHairTemplateV == 1) {
colorSmallDreadsHair.redOffset = -255;
colorSmallDreadsHair.greenOffset = 0;
colorSmallDreadsHair.blueOffset = 0;
smallDreadsHair.colorTransform = colorSmallDreadsHair;
smallDreadsHairTealV = 1;
}
} else if (smallDreadsHairTealV == 1) {
smallDreadsHairTemplate_mc._x = 10000;
smallDreadsHairTemplate_mc._y = 10000;
smallDreadsHairTealV = 0;
smallDreadsHairTemplateV = 0;
}
};
var smallDreadsHairBlueV = 0;
smallDreadsHairColor_mc.blueBeard_btn.onRelease = function () {
if (smallDreadsHairBlueV == 0) {
if (smallDreadsHairTemplateV == 0) {
unloadMovie (smallDreadsHairBrown_mc);
unloadMovie (smallDreadsHairBlond_mc);
unloadMovie (smallDreadsHairRed_mc);
smallDreadsHairTemplateGone();
smallDreadsHairBrownV = 0;
smallDreadsHairBlondV = 0;
smallDreadsHairRedV = 0;
menu1HairGone();
hoodedGone();
helmetsAllUnload();
hatsAllUnload();
hatsMiscUnload();
sloppyHairGone();
sloppyHairTemplateGone();
sloppy2HairGone();
sloppy2HairTemplateGone();
spikeyHairGone();
spikeyHairTemplateGone();
spikey2HairGone();
spikey2HairTemplateGone();
smallDreadsHairTemplate_mc._x = 251.3;
smallDreadsHairTemplate_mc._y = 26.9;
smallDreadsHairBlueV = 1;
smallDreadsHairTemplateV = 1;
colorSmallDreadsHair.redOffset = -255;
colorSmallDreadsHair.greenOffset = -255;
colorSmallDreadsHair.blueOffset = 0;
smallDreadsHair.colorTransform = colorSmallDreadsHair;
} else if (smallDreadsHairTemplateV == 1) {
colorSmallDreadsHair.redOffset = -255;
colorSmallDreadsHair.greenOffset = -255;
colorSmallDreadsHair.blueOffset = 0;
smallDreadsHair.colorTransform = colorSmallDreadsHair;
smallDreadsHairBlueV = 1;
}
} else if (smallDreadsHairBlueV == 1) {
smallDreadsHairTemplate_mc._x = 10000;
smallDreadsHairTemplate_mc._y = 10000;
smallDreadsHairBlueV = 0;
smallDreadsHairTemplateV = 0;
}
};
function allOtherThanBeardsGone() {
masksGone();
}
function vanDykeGone() {
vanDykeTemplateGone();
vanDykeTemplateV = 0;
vanDykeTemplate_mc._x = 10000;
vanDykeTemplate_mc._y = 10000;
unloadMovie (vanDykeBrown_mc);
unloadMovie (vanDyke1Love_mc);
unloadMovie (vanDykeRed_mc);
vanDykeRedV = 0;
vanDykeBlondV = 0;
vanDykeBrownV = 0;
}
function fullBeardGone() {
fullBeardTemplateGone();
fullBeardTemplateV = 0;
fullBeardTemplate_mc._x = 10000;
fullBeardTemplate_mc._y = 10000;
unloadMovie (fullBeardBrown_mc);
unloadMovie (fullBeard1Love_mc);
unloadMovie (fullBeardRed_mc);
fullBeardRedV = 0;
fullBeardBlondV = 0;
fullBeardBrownV = 0;
}
function muttonChopsGone() {
muttonChopsTemplateGone();
muttonChopsTemplateV = 0;
muttonChopsTemplate_mc._x = 10000;
muttonChopsTemplate_mc._y = 10000;
unloadMovie (muttonChopsBrown_mc);
unloadMovie (muttonChopsBlond_mc);
unloadMovie (muttonChopsRed_mc);
muttonChopsRedV = 0;
muttonChopsBrownV = 0;
muttonChopsBlondV = 0;
}
function santaStyleGone() {
santaStyleTemplateGone();
santaStyleTemplateV = 0;
santaStyleTemplate_mc._x = 10000;
santaStyleTemplate_mc._y = 10000;
unloadMovie (santaStyleBrown_mc);
unloadMovie (santaStyleBlond_mc);
unloadMovie (santaStyleRed_mc);
unloadMovie (santaStyleGrey_mc);
santaStyleGreyV = 0;
santaStyleRedV = 0;
santaStyleBrownV = 0;
santaStyleBlondV = 0;
}
function allBeardsGone() {
fullbeardsGone();
goateesGone();
mustacheGone();
}
function broadGoateeGone() {
broadGoateeTemplateGone();
broadGoateeTemplateV = 0;
broadGoateeTemplate_mc._x = 10000;
broadGoateeTemplate_mc._y = 10000;
unloadMovie (broadGoateeBrown_mc);
unloadMovie (broadGoateeBlond_mc);
unloadMovie (broadGoateeRed_mc);
broadGoateeRedV = 0;
broadGoateeBrownV = 0;
broadGoateeBlondV = 0;
}
function anchorGoateeGone() {
anchorGoateeTemplateGone();
anchorGoateeTemplateV = 0;
anchorGoateeTemplate_mc._x = 10000;
anchorGoateeTemplate_mc._y = 10000;
unloadMovie (anchorGoateeBrown_mc);
unloadMovie (anchorGoateeBlond_mc);
unloadMovie (anchorGoateeRed_mc);
anchorGoateeRedV = 0;
anchorGoateeBrownV = 0;
anchorGoateeBlondV = 0;
}
function fullbeardsGone() {
horseshoeGone();
santaStyleGone();
muttonChopsGone();
fullBeardGone();
vanDykeGone();
}
function goateesGone() {
goateeGone();
anchorGoateeGone();
broadGoateeGone();
smallGoateeGone();
vikingGone();
unloadMovie (orcBeard_mc);
orcBeardV = 0;
}
function mustacheGone() {
handlebarGone();
walrusGone();
daliGone();
toothbrushGone();
}
function menu1ColorGone() {
muttonChopsColorUp();
santaStyleColorUp();
broadGoateeColorUp();
anchorGoateeColorUp();
fullBeardColorUp();
}
function menu2ColorGone() {
walrusColorUp();
handlebarColorUp();
goateeColorUp();
smallGoateeColorUp();
}
function menu3ColorGone() {
horseshoeColorUp();
toothbrushColorUp();
vikingColorUp();
daliColorUp();
vanDykeColorUp();
}
function goateeGone() {
goateeTemplateGone();
goateeTemplateV = 0;
goateeTemplate_mc._x = 10000;
goateeTemplate_mc._y = 10000;
unloadMovie (goateeBrown_mc);
unloadMovie (goateeBlond_mc);
unloadMovie (goateeRed_mc);
goateeRedV = 0;
goateeBrownV = 0;
goateeBlondV = 0;
}
function smallGoateeGone() {
smallGoateeTemplateGone();
smallGoateeTemplateV = 0;
smallGoateeTemplate_mc._x = 10000;
smallGoateeTemplate_mc._y = 10000;
unloadMovie (smallGoateeBrown_mc);
unloadMovie (smallGoateeBlond_mc);
unloadMovie (smallGoateeRed_mc);
smallGoateeRedV = 0;
smallGoateeBrownV = 0;
smallGoateeBlondV = 0;
}
function handlebarGone() {
handlebarTemplateGone();
handlebarTemplateV = 0;
handlebarTemplate_mc._x = 10000;
handlebarTemplate_mc._y = 10000;
unloadMovie (handlebarBrown_mc);
unloadMovie (handlebarBlond_mc);
unloadMovie (handlebarRed_mc);
handlebarRedV = 0;
handlebarBrownV = 0;
handlebarBlondV = 0;
}
function walrusGone() {
walrusTemplateGone();
walrusTemplateV = 0;
walrusTemplate_mc._x = 10000;
walrusTemplate_mc._y = 10000;
unloadMovie (walrusBrown_mc);
unloadMovie (walrusBlond_mc);
unloadMovie (walrusRed_mc);
walrusRedV = 0;
walrusBrownV = 0;
walrusBlondV = 0;
}
function daliGone() {
daliTemplateGone();
daliTemplateV = 0;
daliTemplate_mc._x = 10000;
daliTemplate_mc._y = 10000;
unloadMovie (daliBrown_mc);
unloadMovie (daliBlond_mc);
unloadMovie (daliRed_mc);
daliRedV = 0;
daliBrownV = 0;
daliBlondV = 0;
}
function horseshoeGone() {
horseshoeTemplateGone();
horseshoeTemplateV = 0;
horseshoeTemplate_mc._x = 10000;
horseshoeTemplate_mc._y = 10000;
unloadMovie (horseshoeBrown_mc);
unloadMovie (horseshoeBlond_mc);
unloadMovie (horseshoeRed_mc);
horseshoeRedV = 0;
horseshoeBrownV = 0;
horseshoeBlondV = 0;
}
function toothbrushGone() {
toothbrushTemplateGone();
toothbrushTemplateV = 0;
toothbrushTemplate_mc._x = 10000;
toothbrushTemplate_mc._y = 10000;
unloadMovie (toothbrushBrown_mc);
unloadMovie (toothbrushBlond_mc);
unloadMovie (toothbrushRed_mc);
toothbrushRedV = 0;
toothbrushBrownV = 0;
toothbrushBlondV = 0;
}
function vikingGone() {
vikingTemplateGone();
vikingTemplateV = 0;
vikingTemplate_mc._x = 10000;
vikingTemplate_mc._y = 10000;
unloadMovie (vikingBrown_mc);
unloadMovie (vikingBlond_mc);
unloadMovie (vikingRed_mc);
vikingRedV = 0;
vikingBrownV = 0;
vikingBlondV = 0;
}
function vikingTemplateGone() {
vikingBlackV = 0;
vikingGreyV = 0;
vikingLightGreenV = 0;
vikingGreenV = 0;
vikingYellowV = 0;
vikingPinkV = 0;
vikingTealV = 0;
vikingBlueV = 0;
vikingWhiteV = 0;
}
function toothbrushTemplateGone() {
toothbrushBlackV = 0;
toothbrushGreyV = 0;
toothbrushLightGreenV = 0;
toothbrushGreenV = 0;
toothbrushYellowV = 0;
toothbrushPinkV = 0;
toothbrushTealV = 0;
toothbrushBlueV = 0;
toothbrushWhiteV = 0;
}
function horseshoeTemplateGone() {
horseshoeBlackV = 0;
horseshoeGreyV = 0;
horseshoeLightGreenV = 0;
horseshoeGreenV = 0;
horseshoeYellowV = 0;
horseshoePinkV = 0;
horseshoeTealV = 0;
horseshoeBlueV = 0;
horseshoeWhiteV = 0;
}
function daliTemplateGone() {
daliBlackV = 0;
daliGreyV = 0;
daliLightGreenV = 0;
daliGreenV = 0;
daliYellowV = 0;
daliPinkV = 0;
daliTealV = 0;
daliBlueV = 0;
daliWhiteV = 0;
}
function walrusTemplateGone() {
walrusBlackV = 0;
walrusGreyV = 0;
walrusLightGreenV = 0;
walrusGreenV = 0;
walrusYellowV = 0;
walrusPinkV = 0;
walrusTealV = 0;
walrusBlueV = 0;
walrusWhiteV = 0;
}
function handlebarTemplateGone() {
handlebarBlackV = 0;
handlebarGreyV = 0;
handlebarLightGreenV = 0;
handlebarGreenV = 0;
handlebarYellowV = 0;
handlebarPinkV = 0;
handlebarTealV = 0;
handlebarBlueV = 0;
handlebarWhiteV = 0;
}
function smallGoateeTemplateGone() {
smallGoateeBlackV = 0;
smallGoateeGreyV = 0;
smallGoateeLightGreenV = 0;
smallGoateeGreenV = 0;
smallGoateeYellowV = 0;
smallGoateePinkV = 0;
smallGoateeTealV = 0;
smallGoateeBlueV = 0;
smallGoateeWhiteV = 0;
}
function goateeTemplateGone() {
goateeBlackV = 0;
goateeGreyV = 0;
goateeLightGreenV = 0;
goateeGreenV = 0;
goateeYellowV = 0;
goateePinkV = 0;
goateeTealV = 0;
goateeBlueV = 0;
goateeWhiteV = 0;
}
function anchorGoateeTemplateGone() {
anchorGoateeBlackV = 0;
anchorGoateeGreyV = 0;
anchorGoateeLightGreenV = 0;
anchorGoateeGreenV = 0;
anchorGoateeYellowV = 0;
anchorGoateePinkV = 0;
anchorGoateeTealV = 0;
anchorGoateeBlueV = 0;
anchorGoateeWhiteV = 0;
}
function broadGoateeTemplateGone() {
broadGoateeBlackV = 0;
broadGoateeGreyV = 0;
broadGoateeLightGreenV = 0;
broadGoateeGreenV = 0;
broadGoateeYellowV = 0;
broadGoateePinkV = 0;
broadGoateeTealV = 0;
broadGoateeBlueV = 0;
broadGoateeWhiteV = 0;
}
function santaStyleTemplateGone() {
santaStyleBlackV = 0;
santaStyleLightGreenV = 0;
santaStyleGreenV = 0;
santaStyleYellowV = 0;
santaStylePinkV = 0;
santaStyleTealV = 0;
santaStyleBlueV = 0;
santaStyleWhiteV = 0;
}
function muttonChopsTemplateGone() {
muttonChopsBlackV = 0;
muttonChopsGreyV = 0;
muttonChopsLightGreenV = 0;
muttonChopsGreenV = 0;
muttonChopsYellowV = 0;
muttonChopsPinkV = 0;
muttonChopsTealV = 0;
muttonChopsBlueV = 0;
muttonChopsWhiteV = 0;
}
function fullBeardTemplateGone() {
fullBeardBlackV = 0;
fullBeardGreyV = 0;
fullBeardLightGreenV = 0;
fullBeardGreenV = 0;
fullBeardYellowV = 0;
fullBeardPinkV = 0;
fullBeardTealV = 0;
fullBeardBlueV = 0;
fullBeardWhiteV = 0;
}
function vanDykeTemplateGone() {
vanDykeBlackV = 0;
vanDykeGreyV = 0;
vanDykeLightGreenV = 0;
vanDykeGreenV = 0;
vanDykeYellowV = 0;
vanDykePinkV = 0;
vanDykeTealV = 0;
vanDykeBlueV = 0;
vanDykeWhiteV = 0;
}
function fullBeardColorDown() {
if (fullBeardColorV == 1) {
fullBeardColorUp();
} else if (fullBeardColorV == 0) {
fullBeardColorV = 1;
muttonChopsColorUp();
santaStyleColorUp();
broadGoateeColorUp();
anchorGoateeColorUp();
walrusColorUp();
handlebarColorUp();
goateeColorUp();
smallGoateeColorUp();
horseshoeColorUp();
toothbrushColorUp();
vikingColorUp();
daliColorUp();
vanDykeColorUp();
fullBeardColor_mc.onEnterFrame = function () {
this._y = this._y + 10;
if (this._y == 0) {
delete this.onEnterFrame;
}
};
}
}
function fullBeardColorUp() {
fullBeardColor_mc._y = -140;
fullBeardColorV = 0;
}
function muttonChopsColorDown() {
if (muttonChopsColorV == 1) {
muttonChopsColorUp();
} else if (muttonChopsColorV == 0) {
muttonChopsColorV = 1;
fullBeardColorUp();
santaStyleColorUp();
broadGoateeColorUp();
anchorGoateeColorUp();
walrusColorUp();
handlebarColorUp();
goateeColorUp();
smallGoateeColorUp();
horseshoeColorUp();
toothbrushColorUp();
vikingColorUp();
daliColorUp();
vanDykeColorUp();
muttonChopsColor_mc.onEnterFrame = function () {
this._y = this._y + 10;
if (this._y == 0) {
delete this.onEnterFrame;
}
};
}
}
function muttonChopsColorUp() {
muttonChopsColor_mc._y = -140;
muttonChopsColorV = 0;
}
function santaStyleColorDown() {
if (santaStyleColorV == 1) {
santaStyleColorUp();
} else if (santaStyleColorV == 0) {
santaStyleColorV = 1;
muttonChopsColorUp();
broadGoateeColorUp();
anchorGoateeColorUp();
walrusColorUp();
handlebarColorUp();
goateeColorUp();
smallGoateeColorUp();
horseshoeColorUp();
toothbrushColorUp();
vikingColorUp();
daliColorUp();
vanDykeColorUp();
fullBeardColorUp();
santaStyleColor_mc.onEnterFrame = function () {
this._y = this._y + 10;
if (this._y == 0) {
delete this.onEnterFrame;
}
};
}
}
function santaStyleColorUp() {
santaStyleColor_mc._y = -140;
santaStyleColorV = 0;
}
function broadGoateeColorDown() {
if (broadGoateeColorV == 1) {
broadGoateeColorUp();
} else if (broadGoateeColorV == 0) {
broadGoateeColorV = 1;
fullBeardColorUp();
muttonChopsColorUp();
santaStyleColorUp();
anchorGoateeColorUp();
walrusColorUp();
handlebarColorUp();
goateeColorUp();
smallGoateeColorUp();
horseshoeColorUp();
toothbrushColorUp();
vikingColorUp();
daliColorUp();
vanDykeColorUp();
santaStyleColorUp();
broadGoateeColor_mc.onEnterFrame = function () {
this._y = this._y + 10;
if (this._y == 0) {
delete this.onEnterFrame;
}
};
}
}
function broadGoateeColorUp() {
broadGoateeColor_mc._y = -140;
broadGoateeColorV = 0;
}
function anchorGoateeColorDown() {
if (anchorGoateeColorV == 1) {
anchorGoateeColorUp();
} else if (anchorGoateeColorV == 0) {
anchorGoateeColorV = 1;
fullBeardColorUp();
muttonChopsColorUp();
santaStyleColorUp();
walrusColorUp();
handlebarColorUp();
goateeColorUp();
smallGoateeColorUp();
horseshoeColorUp();
toothbrushColorUp();
vikingColorUp();
daliColorUp();
vanDykeColorUp();
santaStyleColorUp();
broadGoateeColorUp();
anchorGoateeColor_mc.onEnterFrame = function () {
this._y = this._y + 10;
if (this._y == 0) {
delete this.onEnterFrame;
}
};
}
}
function anchorGoateeColorUp() {
anchorGoateeColor_mc._y = -140;
anchorGoateeColorV = 0;
}
function goateeColorDown() {
if (goateeColorV == 1) {
goateeColorUp();
} else if (goateeColorV == 0) {
goateeColorV = 1;
anchorGoateeColorUp();
fullBeardColorUp();
muttonChopsColorUp();
santaStyleColorUp();
walrusColorUp();
handlebarColorUp();
smallGoateeColorUp();
horseshoeColorUp();
toothbrushColorUp();
vikingColorUp();
daliColorUp();
vanDykeColorUp();
santaStyleColorUp();
broadGoateeColorUp();
goateeColor_mc.onEnterFrame = function () {
this._y = this._y + 10;
if (this._y == 0) {
delete this.onEnterFrame;
}
};
}
}
function goateeColorUp() {
goateeColor_mc._y = -140;
goateeColorV = 0;
}
function smallGoateeColorDown() {
if (smallGoateeColorV == 1) {
smallGoateeColorUp();
} else if (smallGoateeColorV == 0) {
smallGoateeColorV = 1;
anchorGoateeColorUp();
fullBeardColorUp();
muttonChopsColorUp();
santaStyleColorUp();
walrusColorUp();
handlebarColorUp();
goateeColorUp();
horseshoeColorUp();
toothbrushColorUp();
vikingColorUp();
daliColorUp();
vanDykeColorUp();
santaStyleColorUp();
broadGoateeColorUp();
smallGoateeColor_mc.onEnterFrame = function () {
this._y = this._y + 10;
if (this._y == 0) {
delete this.onEnterFrame;
}
};
}
}
function smallGoateeColorUp() {
smallGoateeColor_mc._y = -140;
smallGoateeColorV = 0;
}
function handlebarColorDown() {
if (handlebarColorV == 1) {
handlebarColorUp();
} else if (handlebarColorV == 0) {
handlebarColorV = 1;
anchorGoateeColorUp();
fullBeardColorUp();
muttonChopsColorUp();
santaStyleColorUp();
walrusColorUp();
goateeColorUp();
smallGoateeColorUp();
horseshoeColorUp();
toothbrushColorUp();
vikingColorUp();
daliColorUp();
vanDykeColorUp();
santaStyleColorUp();
broadGoateeColorUp();
handlebarColor_mc.onEnterFrame = function () {
this._y = this._y + 10;
if (this._y == 0) {
delete this.onEnterFrame;
}
};
}
}
function handlebarColorUp() {
handlebarColor_mc._y = -140;
handlebarColorV = 0;
}
function walrusColorDown() {
if (walrusColorV == 1) {
walrusColorUp();
} else if (walrusColorV == 0) {
walrusColorV = 1;
anchorGoateeColorUp();
fullBeardColorUp();
muttonChopsColorUp();
santaStyleColorUp();
handlebarColorUp();
goateeColorUp();
smallGoateeColorUp();
horseshoeColorUp();
toothbrushColorUp();
vikingColorUp();
daliColorUp();
vanDykeColorUp();
santaStyleColorUp();
broadGoateeColorUp();
walrusColor_mc.onEnterFrame = function () {
this._y = this._y + 10;
if (this._y == 0) {
delete this.onEnterFrame;
}
};
}
}
function walrusColorUp() {
walrusColor_mc._y = -140;
walrusColorV = 0;
}
function daliColorDown() {
if (daliColorV == 1) {
daliColorUp();
} else if (daliColorV == 0) {
daliColorV = 1;
anchorGoateeColorUp();
fullBeardColorUp();
muttonChopsColorUp();
santaStyleColorUp();
walrusColorUp();
handlebarColorUp();
goateeColorUp();
smallGoateeColorUp();
horseshoeColorUp();
toothbrushColorUp();
vikingColorUp();
vanDykeColorUp();
santaStyleColorUp();
broadGoateeColorUp();
daliColor_mc.onEnterFrame = function () {
this._y = this._y + 10;
if (this._y == 0) {
delete this.onEnterFrame;
}
};
}
}
function daliColorUp() {
daliColor_mc._y = -140;
daliColorV = 0;
}
function horseshoeColorDown() {
if (horseshoeColorV == 1) {
horseshoeColorUp();
} else if (horseshoeColorV == 0) {
horseshoeColorV = 1;
anchorGoateeColorUp();
fullBeardColorUp();
muttonChopsColorUp();
santaStyleColorUp();
walrusColorUp();
handlebarColorUp();
goateeColorUp();
smallGoateeColorUp();
toothbrushColorUp();
vikingColorUp();
daliColorUp();
vanDykeColorUp();
santaStyleColorUp();
broadGoateeColorUp();
horseshoeColor_mc.onEnterFrame = function () {
this._y = this._y + 10;
if (this._y == 0) {
delete this.onEnterFrame;
}
};
}
}
function horseshoeColorUp() {
horseshoeColor_mc._y = -140;
horseshoeColorV = 0;
}
function toothbrushColorDown() {
if (toothbrushColorV == 1) {
toothbrushColorUp();
} else if (toothbrushColorV == 0) {
toothbrushColorV = 1;
anchorGoateeColorUp();
fullBeardColorUp();
muttonChopsColorUp();
santaStyleColorUp();
walrusColorUp();
handlebarColorUp();
goateeColorUp();
smallGoateeColorUp();
horseshoeColorUp();
vikingColorUp();
daliColorUp();
vanDykeColorUp();
santaStyleColorUp();
broadGoateeColorUp();
toothbrushColor_mc.onEnterFrame = function () {
this._y = this._y + 10;
if (this._y == 0) {
delete this.onEnterFrame;
}
};
}
}
function toothbrushColorUp() {
toothbrushColor_mc._y = -140;
toothbrushColorV = 0;
}
function vikingColorDown() {
if (vikingColorV == 1) {
vikingColorUp();
} else if (vikingColorV == 0) {
vikingColorV = 1;
daliColorUp();
anchorGoateeColorUp();
fullBeardColorUp();
muttonChopsColorUp();
santaStyleColorUp();
walrusColorUp();
handlebarColorUp();
goateeColorUp();
smallGoateeColorUp();
horseshoeColorUp();
toothbrushColorUp();
daliColorUp();
vanDykeColorUp();
santaStyleColorUp();
broadGoateeColorUp();
vikingColor_mc.onEnterFrame = function () {
this._y = this._y + 10;
if (this._y == 0) {
delete this.onEnterFrame;
}
};
}
}
function vikingColorUp() {
vikingColor_mc._y = -140;
vikingColorV = 0;
}
function vanDykeColorDown() {
if (vanDykeColorV == 1) {
vanDykeColorUp();
} else if (vanDykeColorV == 0) {
vanDykeColorV = 1;
anchorGoateeColorUp();
fullBeardColorUp();
muttonChopsColorUp();
santaStyleColorUp();
walrusColorUp();
handlebarColorUp();
goateeColorUp();
smallGoateeColorUp();
horseshoeColorUp();
toothbrushColorUp();
vikingColorUp();
daliColorUp();
santaStyleColorUp();
broadGoateeColorUp();
vanDykeColor_mc.onEnterFrame = function () {
this._y = this._y + 10;
if (this._y == 0) {
delete this.onEnterFrame;
}
};
}
}
function vanDykeColorUp() {
vanDykeColor_mc._y = -140;
vanDykeColorV = 0;
}
var fullbeardLayerValue = 5000;
var goateeLayerValue = 5000;
var mustacheLayerValue = 5000;
vikingTemplate_mc.swapDepths(6111);
toothbrushTemplate_mc.swapDepths(5002);
horseshoeTemplate_mc.swapDepths(5003);
daliTemplate_mc.swapDepths(5004);
walrusTemplate_mc.swapDepths(5005);
handlebarTemplate_mc.swapDepths(5006);
smallGoateeTemplate_mc.swapDepths(5007);
goateeTemplate_mc.swapDepths(5008);
anchorGoateeTemplate_mc.swapDepths(5009);
broadGoateeTemplate_mc.swapDepths(5010);
santaStyleTemplate_mc.swapDepths(6179);
muttonChopsTemplate_mc.swapDepths(5012);
fullBeardTemplate_mc.swapDepths(5013);
vanDykeTemplate_mc.swapDepths(5014);
var fullBeardColorV = 0;
var muttonChopsColorV = 0;
var santaStyleColorV = 0;
var broadGoateeColorV = 0;
var anchorGoateeColorV = 0;
var goateeColorV = 0;
var smallGoateeColorV = 0;
var handlebarColorV = 0;
var walrusColorV = 0;
var daliColorV = 0;
var horseshoeColorV = 0;
var toothbrushColorV = 0;
var vikingColorV = 0;
var vanDykeColorV = 0;
fullBeardMenu_mc.fullBeard_btn.onRelease = function () {
fullBeardColorDown();
};
var fullBeardBlondV = 0;
fullBeardColor_mc.blondBeard_btn.onRelease = function () {
if (fullBeardBlondV == 0) {
unloadMovie (fullBeardRed_mc);
unloadMovie (fullBeardBrown_mc);
fullBeardTemplateGone();
allOtherThanBeardsGone();
fullBeardTemplateV = 0;
fullBeardTemplate_mc._x = 10000;
fullBeardTemplate_mc._y = 10000;
fullBeardBrownV = 0;
fullBeardRedV = 0;
muttonChopsGone();
santaStyleGone();
vanDykeGone();
horseshoeGone();
mustacheGone();
goateesGone();
fullbeardMouthGone();
_root.attachMovie("fullBeard1Love_mc", "fullBeard1Love_mc", fullbeardLayerValue, {_x:245, _y:99});
fullBeardBlondV = 1;
allOtherThanBeardsGone();
} else if (fullBeardBlondV == 1) {
unloadMovie (fullBeard1Love_mc);
fullBeardBlondV = 0;
}
};
var fullBeardBrownV = 0;
fullBeardColor_mc.brownBeard_btn.onRelease = function () {
if (fullBeardBrownV == 0) {
unloadMovie (fullBeard1Love_mc);
unloadMovie (fullBeardRed_mc);
fullBeardTemplateGone();
allOtherThanBeardsGone();
fullBeardTemplateV = 0;
fullBeardTemplate_mc._x = 10000;
fullBeardTemplate_mc._y = 10000;
fullBeardBlondV = 0;
fullBeardRedV = 0;
muttonChopsGone();
santaStyleGone();
vanDykeGone();
horseshoeGone();
mustacheGone();
goateesGone();
fullbeardMouthGone();
_root.attachMovie("fullBeardBrown_mc", "fullBeardBrown_mc", fullbeardLayerValue, {_x:245, _y:99});
fullBeardBrownV = 1;
} else if (fullBeardBrownV == 1) {
unloadMovie (fullBeardBrown_mc);
fullBeardBrownV = 0;
}
};
var fullBeardRedV = 0;
fullBeardColor_mc.redBeard_btn.onRelease = function () {
if (fullBeardRedV == 0) {
unloadMovie (fullBeardBrown_mc);
unloadMovie (fullBeard1Love_mc);
fullBeardTemplateGone();
allOtherThanBeardsGone();
fullBeardTemplateV = 0;
fullBeardTemplate_mc._x = 10000;
fullBeardTemplate_mc._y = 10000;
fullBeardBlondV = 0;
fullBeardBrownV = 0;
muttonChopsGone();
santaStyleGone();
vanDykeGone();
horseshoeGone();
mustacheGone();
goateesGone();
fullbeardMouthGone();
_root.attachMovie("fullBeardRed_mc", "fullBeardRed_mc", fullbeardLayerValue, {_x:245, _y:99});
fullBeardRedV = 1;
} else if (fullBeardRedV == 1) {
unloadMovie (fullBeardRed_mc);
fullBeardRedV = 0;
}
};
var colorFullBeard = (new flash.geom.ColorTransform());
var fullBeard = (new flash.geom.Transform(fullBeardTemplate_mc));
fullBeard.colorTransform = colorFullBeard;
var fullBeardTemplateV = 0;
var fullBeardBlackV = 0;
fullBeardColor_mc.blackBeard_btn.onRelease = function () {
if (fullBeardBlackV == 0) {
if (fullBeardTemplateV == 0) {
unloadMovie (fullBeardBrown_mc);
unloadMovie (fullBeardBlond_mc);
unloadMovie (fullBeardRed_mc);
fullBeardTemplateGone();
allOtherThanBeardsGone();
fullBeardBrownV = 0;
fullBeardBlondV = 0;
fullBeardRedV = 0;
muttonChopsGone();
santaStyleGone();
vanDykeGone();
horseshoeGone();
mustacheGone();
goateesGone();
fullbeardMouthGone();
fullBeardTemplate_mc._x = 245;
fullBeardTemplate_mc._y = 99;
fullBeardBlackV = 1;
fullBeardTemplateV = 1;
colorFullBeard.redOffset = -230;
colorFullBeard.greenOffset = -230;
colorFullBeard.blueOffset = -230;
fullBeard.colorTransform = colorFullBeard;
} else if (fullBeardTemplateV == 1) {
colorFullBeard.redOffset = -230;
colorFullBeard.greenOffset = -230;
colorFullBeard.blueOffset = -230;
fullBeard.colorTransform = colorFullBeard;
fullBeardBlackV = 1;
}
} else if (fullBeardBlackV == 1) {
fullBeardTemplate_mc._x = 10000;
fullBeardTemplate_mc._y = 10000;
fullBeardBlackV = 0;
fullBeardTemplateV = 0;
}
};
var fullBeardGreyV = 0;
fullBeardColor_mc.greyBeard_btn.onRelease = function () {
if (fullBeardGreyV == 0) {
if (fullBeardTemplateV == 0) {
unloadMovie (fullBeardBrown_mc);
unloadMovie (fullBeardBlond_mc);
unloadMovie (fullBeardRed_mc);
fullBeardTemplateGone();
allOtherThanBeardsGone();
fullBeardBrownV = 0;
fullBeardBlondV = 0;
fullBeardRedV = 0;
muttonChopsGone();
santaStyleGone();
horseshoeGone();
mustacheGone();
goateesGone();
fullbeardMouthGone();
fullBeardTemplate_mc._x = 245;
fullBeardTemplate_mc._y = 99;
fullBeardGreyV = 1;
fullBeardTemplateV = 1;
colorFullBeard.redOffset = -100;
colorFullBeard.greenOffset = -100;
colorFullBeard.blueOffset = -100;
fullBeard.colorTransform = colorFullBeard;
} else if (fullBeardTemplateV == 1) {
colorFullBeard.redOffset = -100;
colorFullBeard.greenOffset = -100;
colorFullBeard.blueOffset = -100;
fullBeard.colorTransform = colorFullBeard;
fullBeardGreyV = 1;
}
} else if (fullBeardGreyV == 1) {
fullBeardTemplate_mc._x = 10000;
fullBeardTemplate_mc._y = 10000;
fullBeardGreyV = 0;
fullBeardTemplateV = 0;
}
};
var fullBeardWhiteV = 0;
fullBeardColor_mc.whiteBeard_btn.onRelease = function () {
if (fullBeardWhiteV == 0) {
if (fullBeardTemplateV == 0) {
unloadMovie (fullBeardBrown_mc);
unloadMovie (fullBeardBlond_mc);
unloadMovie (fullBeardRed_mc);
fullBeardTemplateGone();
allOtherThanBeardsGone();
fullBeardBrownV = 0;
fullBeardBlondV = 0;
fullBeardRedV = 0;
muttonChopsGone();
santaStyleGone();
vanDykeGone();
horseshoeGone();
mustacheGone();
goateesGone();
fullbeardMouthGone();
fullBeardTemplate_mc._x = 245;
fullBeardTemplate_mc._y = 99;
fullBeardWhiteV = 1;
fullBeardTemplateV = 1;
colorFullBeard.redOffset = 0;
colorFullBeard.greenOffset = 0;
colorFullBeard.blueOffset = 0;
fullBeard.colorTransform = colorFullBeard;
} else if (fullBeardTemplateV == 1) {
colorFullBeard.redOffset = 0;
colorFullBeard.greenOffset = 0;
colorFullBeard.blueOffset = 0;
fullBeard.colorTransform = colorFullBeard;
fullBeardWhiteV = 1;
}
} else if (fullBeardWhiteV == 1) {
fullBeardTemplate_mc._x = 10000;
fullBeardTemplate_mc._y = 10000;
fullBeardWhiteV = 0;
fullBeardTemplateV = 0;
}
};
var fullBeardLightGreenV = 0;
fullBeardColor_mc.lightGreenBeard_btn.onRelease = function () {
if (fullBeardLightGreenV == 0) {
if (fullBeardTemplateV == 0) {
unloadMovie (fullBeardBrown_mc);
unloadMovie (fullBeardBlond_mc);
unloadMovie (fullBeardRed_mc);
fullBeardTemplateGone();
allOtherThanBeardsGone();
fullBeardBrownV = 0;
fullBeardBlondV = 0;
fullBeardRedV = 0;
muttonChopsGone();
santaStyleGone();
vanDykeGone();
horseshoeGone();
mustacheGone();
goateesGone();
fullbeardMouthGone();
fullBeardTemplate_mc._x = 245;
fullBeardTemplate_mc._y = 99;
fullBeardLightGreenV = 1;
fullBeardTemplateV = 1;
colorFullBeard.redOffset = -255;
colorFullBeard.greenOffset = -75;
colorFullBeard.blueOffset = -200;
fullBeard.colorTransform = colorFullBeard;
} else if (fullBeardTemplateV == 1) {
colorFullBeard.redOffset = -255;
colorFullBeard.greenOffset = -75;
colorFullBeard.blueOffset = -200;
fullBeard.colorTransform = colorFullBeard;
fullBeardLightGreenV = 1;
}
} else if (fullBeardLightGreenV == 1) {
fullBeardTemplate_mc._x = 10000;
fullBeardTemplate_mc._y = 10000;
fullBeardLightGreenV = 0;
fullBeardTemplateV = 0;
}
};
var fullBeardGreenV = 0;
fullBeardColor_mc.greenBeard_btn.onRelease = function () {
if (fullBeardGreenV == 0) {
if (fullBeardTemplateV == 0) {
unloadMovie (fullBeardBrown_mc);
unloadMovie (fullBeardBlond_mc);
unloadMovie (fullBeardRed_mc);
fullBeardTemplateGone();
allOtherThanBeardsGone();
fullBeardBrownV = 0;
fullBeardBlondV = 0;
fullBeardRedV = 0;
muttonChopsGone();
santaStyleGone();
vanDykeGone();
horseshoeGone();
mustacheGone();
goateesGone();
fullbeardMouthGone();
fullBeardTemplate_mc._x = 245;
fullBeardTemplate_mc._y = 99;
fullBeardGreenV = 1;
fullBeardTemplateV = 1;
colorFullBeard.redOffset = -255;
colorFullBeard.greenOffset = -150;
colorFullBeard.blueOffset = -255;
fullBeard.colorTransform = colorFullBeard;
} else if (fullBeardTemplateV == 1) {
colorFullBeard.redOffset = -255;
colorFullBeard.greenOffset = -150;
colorFullBeard.blueOffset = -255;
fullBeard.colorTransform = colorFullBeard;
fullBeardGreenV = 1;
}
} else if (fullBeardGreenV == 1) {
fullBeardTemplate_mc._x = 10000;
fullBeardTemplate_mc._y = 10000;
fullBeardGreenV = 0;
fullBeardTemplateV = 0;
}
};
var fullBeardYellowV = 0;
fullBeardColor_mc.yellowBeard_btn.onRelease = function () {
if (fullBeardYellowV == 0) {
if (fullBeardTemplateV == 0) {
unloadMovie (fullBeardBrown_mc);
unloadMovie (fullBeardBlond_mc);
unloadMovie (fullBeardRed_mc);
fullBeardTemplateGone();
allOtherThanBeardsGone();
fullBeardBrownV = 0;
fullBeardBlondV = 0;
fullBeardRedV = 0;
muttonChopsGone();
santaStyleGone();
vanDykeGone();
horseshoeGone();
mustacheGone();
goateesGone();
fullbeardMouthGone();
fullBeardTemplate_mc._x = 245;
fullBeardTemplate_mc._y = 99;
fullBeardYellowV = 1;
fullBeardTemplateV = 1;
colorFullBeard.redOffset = 0;
colorFullBeard.greenOffset = 0;
colorFullBeard.blueOffset = -255;
fullBeard.colorTransform = colorFullBeard;
} else if (fullBeardTemplateV == 1) {
colorFullBeard.redOffset = 0;
colorFullBeard.greenOffset = 0;
colorFullBeard.blueOffset = -255;
fullBeard.colorTransform = colorFullBeard;
fullBeardYellowV = 1;
}
} else if (fullBeardYellowV == 1) {
fullBeardTemplate_mc._x = 10000;
fullBeardTemplate_mc._y = 10000;
fullBeardYellowV = 0;
fullBeardTemplateV = 0;
}
};
var fullBeardPinkV = 0;
fullBeardColor_mc.pinkBeard_btn.onRelease = function () {
if (fullBeardPinkV == 0) {
if (fullBeardTemplateV == 0) {
unloadMovie (fullBeardBrown_mc);
unloadMovie (fullBeardBlond_mc);
unloadMovie (fullBeardRed_mc);
fullBeardTemplateGone();
allOtherThanBeardsGone();
fullBeardBrownV = 0;
fullBeardBlondV = 0;
fullBeardRedV = 0;
muttonChopsGone();
santaStyleGone();
vanDykeGone();
horseshoeGone();
mustacheGone();
goateesGone();
fullbeardMouthGone();
fullBeardTemplate_mc._x = 245;
fullBeardTemplate_mc._y = 99;
fullBeardPinkV = 1;
fullBeardTemplateV = 1;
colorFullBeard.redOffset = 0;
colorFullBeard.greenOffset = -255;
colorFullBeard.blueOffset = 0;
fullBeard.colorTransform = colorFullBeard;
} else if (fullBeardTemplateV == 1) {
colorFullBeard.redOffset = 0;
colorFullBeard.greenOffset = -255;
colorFullBeard.blueOffset = 0;
fullBeard.colorTransform = colorFullBeard;
fullBeardPinkV = 1;
}
} else if (fullBeardPinkV == 1) {
fullBeardTemplate_mc._x = 10000;
fullBeardTemplate_mc._y = 10000;
fullBeardPinkV = 0;
fullBeardTemplateV = 0;
}
};
var fullBeardTealV = 0;
fullBeardColor_mc.tealBeard_btn.onRelease = function () {
if (fullBeardTealV == 0) {
if (fullBeardTemplateV == 0) {
unloadMovie (fullBeardBrown_mc);
unloadMovie (fullBeardBlond_mc);
unloadMovie (fullBeardRed_mc);
fullBeardTemplateGone();
allOtherThanBeardsGone();
fullBeardBrownV = 0;
fullBeardBlondV = 0;
fullBeardRedV = 0;
muttonChopsGone();
santaStyleGone();
vanDykeGone();
horseshoeGone();
mustacheGone();
goateesGone();
fullbeardMouthGone();
fullBeardTemplate_mc._x = 245;
fullBeardTemplate_mc._y = 99;
fullBeardTealV = 1;
fullBeardTemplateV = 1;
colorFullBeard.redOffset = -255;
colorFullBeard.greenOffset = 0;
colorFullBeard.blueOffset = 0;
fullBeard.colorTransform = colorFullBeard;
} else if (fullBeardTemplateV == 1) {
colorFullBeard.redOffset = -255;
colorFullBeard.greenOffset = 0;
colorFullBeard.blueOffset = 0;
fullBeard.colorTransform = colorFullBeard;
fullBeardTealV = 1;
}
} else if (fullBeardTealV == 1) {
fullBeardTemplate_mc._x = 10000;
fullBeardTemplate_mc._y = 10000;
fullBeardTealV = 0;
fullBeardTemplateV = 0;
}
};
var fullBeardBlueV = 0;
fullBeardColor_mc.blueBeard_btn.onRelease = function () {
if (fullBeardBlueV == 0) {
if (fullBeardTemplateV == 0) {
unloadMovie (fullBeardBrown_mc);
unloadMovie (fullBeardBlond_mc);
unloadMovie (fullBeardRed_mc);
fullBeardTemplateGone();
allOtherThanBeardsGone();
fullBeardBrownV = 0;
fullBeardBlondV = 0;
fullBeardRedV = 0;
muttonChopsGone();
santaStyleGone();
vanDykeGone();
horseshoeGone();
mustacheGone();
goateesGone();
fullbeardMouthGone();
fullBeardTemplate_mc._x = 245;
fullBeardTemplate_mc._y = 99;
fullBeardBlueV = 1;
fullBeardTemplateV = 1;
colorFullBeard.redOffset = -255;
colorFullBeard.greenOffset = -255;
colorFullBeard.blueOffset = 0;
fullBeard.colorTransform = colorFullBeard;
} else if (fullBeardTemplateV == 1) {
colorFullBeard.redOffset = -255;
colorFullBeard.greenOffset = -255;
colorFullBeard.blueOffset = 0;
fullBeard.colorTransform = colorFullBeard;
fullBeardBlueV = 1;
}
} else if (fullBeardBlueV == 1) {
fullBeardTemplate_mc._x = 10000;
fullBeardTemplate_mc._y = 10000;
fullBeardBlueV = 0;
fullBeardTemplateV = 0;
}
};
fullBeardMenu_mc.muttonChops_btn.onRelease = function () {
muttonChopsColorDown();
};
var muttonChopsBlondV = 0;
muttonChopsColor_mc.blondBeard_btn.onRelease = function () {
if (muttonChopsBlondV == 0) {
unloadMovie (muttonChopsRed_mc);
unloadMovie (muttonChopsBrown_mc);
muttonChopsTemplateGone();
allOtherThanBeardsGone();
muttonChopsTemplateV = 0;
muttonChopsTemplate_mc._x = 10000;
muttonChopsTemplate_mc._y = 10000;
muttonChopsBrownV = 0;
muttonChopsRedV = 0;
fullBeardGone();
santaStyleGone();
vanDykeGone();
horseshoeGone();
mustacheGone();
goateesGone();
_root.attachMovie("muttonChopsBlond_mc", "muttonChopsBlond_mc", fullbeardLayerValue, {_x:241, _y:77});
muttonChopsBlondV = 1;
} else if (muttonChopsBlondV == 1) {
unloadMovie (muttonChopsBlond_mc);
muttonChopsBlondV = 0;
}
};
var muttonChopsBrownV = 0;
muttonChopsColor_mc.brownBeard_btn.onRelease = function () {
if (muttonChopsBrownV == 0) {
unloadMovie (muttonChopsBlond_mc);
unloadMovie (muttonChopsRed_mc);
muttonChopsTemplateGone();
allOtherThanBeardsGone();
muttonChopsTemplateV = 0;
muttonChopsTemplate_mc._x = 10000;
muttonChopsTemplate_mc._y = 10000;
muttonChopsBlondV = 0;
muttonChopsRedV = 0;
fullBeardGone();
santaStyleGone();
vanDykeGone();
horseshoeGone();
mustacheGone();
goateesGone();
_root.attachMovie("muttonChopsBrown_mc", "muttonChopsBrown_mc", fullbeardLayerValue, {_x:241, _y:77});
muttonChopsBrownV = 1;
} else if (muttonChopsBrownV == 1) {
unloadMovie (muttonChopsBrown_mc);
muttonChopsBrownV = 0;
}
};
var muttonChopsRedV = 0;
muttonChopsColor_mc.redBeard_btn.onRelease = function () {
if (muttonChopsRedV == 0) {
unloadMovie (muttonChopsBrown_mc);
unloadMovie (muttonChopsBlond_mc);
muttonChopsTemplateGone();
allOtherThanBeardsGone();
muttonChopsTemplateV = 0;
muttonChopsTemplate_mc._x = 10000;
muttonChopsTemplate_mc._y = 10000;
muttonChopsBrownV = 0;
muttonChopsBlondV = 0;
fullBeardGone();
santaStyleGone();
vanDykeGone();
horseshoeGone();
mustacheGone();
goateesGone();
_root.attachMovie("muttonChopsRed_mc", "muttonChopsRed_mc", fullbeardLayerValue, {_x:241, _y:77});
muttonChopsRedV = 1;
} else if (muttonChopsRedV == 1) {
unloadMovie (muttonChopsRed_mc);
muttonChopsRedV = 0;
}
};
var colorMuttonChops = (new flash.geom.ColorTransform());
var muttonChops = (new flash.geom.Transform(muttonChopsTemplate_mc));
muttonChops.colorTransform = colorMuttonChops;
var muttonChopsTemplateV = 0;
var muttonChopsBlackV = 0;
muttonChopsColor_mc.blackBeard_btn.onRelease = function () {
if (muttonChopsBlackV == 0) {
if (muttonChopsTemplateV == 0) {
unloadMovie (muttonChopsBrown_mc);
unloadMovie (muttonChopsBlond_mc);
unloadMovie (muttonChopsRed_mc);
muttonChopsTemplateGone();
allOtherThanBeardsGone();
muttonChopsBrownV = 0;
muttonChopsBlondV = 0;
muttonChopsRedV = 0;
fullBeardGone();
santaStyleGone();
vanDykeGone();
horseshoeGone();
mustacheGone();
goateesGone();
muttonChopsTemplate_mc._x = 241;
muttonChopsTemplate_mc._y = 77;
muttonChopsBlackV = 1;
muttonChopsTemplateV = 1;
colorMuttonChops.redOffset = -230;
colorMuttonChops.greenOffset = -230;
colorMuttonChops.blueOffset = -230;
muttonChops.colorTransform = colorMuttonChops;
} else if (muttonChopsTemplateV == 1) {
colorMuttonChops.redOffset = -230;
colorMuttonChops.greenOffset = -230;
colorMuttonChops.blueOffset = -230;
muttonChops.colorTransform = colorMuttonChops;
muttonChopsBlackV = 1;
}
} else if (muttonChopsBlackV == 1) {
muttonChopsTemplate_mc._x = 10000;
muttonChopsTemplate_mc._y = 10000;
muttonChopsBlackV = 0;
muttonChopsTemplateV = 0;
}
};
var muttonChopsGreyV = 0;
muttonChopsColor_mc.greyBeard_btn.onRelease = function () {
if (muttonChopsGreyV == 0) {
if (muttonChopsTemplateV == 0) {
unloadMovie (muttonChopsBrown_mc);
unloadMovie (muttonChopsBlond_mc);
unloadMovie (muttonChopsRed_mc);
muttonChopsTemplateGone();
allOtherThanBeardsGone();
muttonChopsBrownV = 0;
muttonChopsBlondV = 0;
muttonChopsRedV = 0;
fullBeardGone();
santaStyleGone();
vanDykeGone();
horseshoeGone();
mustacheGone();
goateesGone();
muttonChopsTemplate_mc._x = 241;
muttonChopsTemplate_mc._y = 77;
muttonChopsGreyV = 1;
muttonChopsTemplateV = 1;
colorMuttonChops.redOffset = -100;
colorMuttonChops.greenOffset = -100;
colorMuttonChops.blueOffset = -100;
muttonChops.colorTransform = colorMuttonChops;
} else if (muttonChopsTemplateV == 1) {
colorMuttonChops.redOffset = -100;
colorMuttonChops.greenOffset = -100;
colorMuttonChops.blueOffset = -100;
muttonChops.colorTransform = colorMuttonChops;
muttonChopsGreyV = 1;
}
} else if (muttonChopsGreyV == 1) {
muttonChopsTemplate_mc._x = 10000;
muttonChopsTemplate_mc._y = 10000;
muttonChopsGreyV = 0;
muttonChopsTemplateV = 0;
}
};
var muttonChopsWhiteV = 0;
muttonChopsColor_mc.whiteBeard_btn.onRelease = function () {
if (muttonChopsWhiteV == 0) {
if (muttonChopsTemplateV == 0) {
unloadMovie (muttonChopsBrown_mc);
unloadMovie (muttonChopsBlond_mc);
unloadMovie (muttonChopsRed_mc);
muttonChopsTemplateGone();
allOtherThanBeardsGone();
muttonChopsBrownV = 0;
muttonChopsBlondV = 0;
muttonChopsRedV = 0;
fullBeardGone();
santaStyleGone();
vanDykeGone();
horseshoeGone();
mustacheGone();
goateesGone();
muttonChopsTemplate_mc._x = 241;
muttonChopsTemplate_mc._y = 77;
muttonChopsWhiteV = 1;
muttonChopsTemplateV = 1;
colorMuttonChops.redOffset = 0;
colorMuttonChops.greenOffset = 0;
colorMuttonChops.blueOffset = 0;
muttonChops.colorTransform = colorMuttonChops;
} else if (muttonChopsTemplateV == 1) {
colorMuttonChops.redOffset = 0;
colorMuttonChops.greenOffset = 0;
colorMuttonChops.blueOffset = 0;
muttonChops.colorTransform = colorMuttonChops;
muttonChopsWhiteV = 1;
}
} else if (muttonChopsWhiteV == 1) {
muttonChopsTemplate_mc._x = 10000;
muttonChopsTemplate_mc._y = 10000;
muttonChopsWhiteV = 0;
muttonChopsTemplateV = 0;
}
};
var muttonChopsLightGreenV = 0;
muttonChopsColor_mc.lightGreenBeard_btn.onRelease = function () {
if (muttonChopsLightGreenV == 0) {
if (muttonChopsTemplateV == 0) {
unloadMovie (muttonChopsBrown_mc);
unloadMovie (muttonChopsBlond_mc);
unloadMovie (muttonChopsRed_mc);
muttonChopsTemplateGone();
allOtherThanBeardsGone();
muttonChopsBrownV = 0;
muttonChopsBlondV = 0;
muttonChopsRedV = 0;
fullBeardGone();
santaStyleGone();
vanDykeGone();
horseshoeGone();
mustacheGone();
goateesGone();
muttonChopsTemplate_mc._x = 241;
muttonChopsTemplate_mc._y = 77;
muttonChopsLightGreenV = 1;
muttonChopsTemplateV = 1;
colorMuttonChops.redOffset = -255;
colorMuttonChops.greenOffset = -75;
colorMuttonChops.blueOffset = -200;
muttonChops.colorTransform = colorMuttonChops;
} else if (muttonChopsTemplateV == 1) {
colorMuttonChops.redOffset = -255;
colorMuttonChops.greenOffset = -75;
colorMuttonChops.blueOffset = -200;
muttonChops.colorTransform = colorMuttonChops;
muttonChopsLightGreenV = 1;
}
} else if (muttonChopsLightGreenV == 1) {
muttonChopsTemplate_mc._x = 10000;
muttonChopsTemplate_mc._y = 10000;
muttonChopsLightGreenV = 0;
muttonChopsTemplateV = 0;
}
};
var muttonChopsGreenV = 0;
muttonChopsColor_mc.greenBeard_btn.onRelease = function () {
if (muttonChopsGreenV == 0) {
if (muttonChopsTemplateV == 0) {
unloadMovie (muttonChopsBrown_mc);
unloadMovie (muttonChopsBlond_mc);
unloadMovie (muttonChopsRed_mc);
muttonChopsTemplateGone();
allOtherThanBeardsGone();
muttonChopsBrownV = 0;
muttonChopsBlondV = 0;
muttonChopsRedV = 0;
fullBeardGone();
santaStyleGone();
vanDykeGone();
horseshoeGone();
mustacheGone();
goateesGone();
muttonChopsTemplate_mc._x = 241;
muttonChopsTemplate_mc._y = 77;
muttonChopsGreenV = 1;
muttonChopsTemplateV = 1;
colorMuttonChops.redOffset = -255;
colorMuttonChops.greenOffset = -150;
colorMuttonChops.blueOffset = -255;
muttonChops.colorTransform = colorMuttonChops;
} else if (muttonChopsTemplateV == 1) {
colorMuttonChops.redOffset = -255;
colorMuttonChops.greenOffset = -150;
colorMuttonChops.blueOffset = -255;
muttonChops.colorTransform = colorMuttonChops;
muttonChopsGreenV = 1;
}
} else if (muttonChopsGreenV == 1) {
muttonChopsTemplate_mc._x = 10000;
muttonChopsTemplate_mc._y = 10000;
muttonChopsGreenV = 0;
muttonChopsTemplateV = 0;
}
};
var muttonChopsYellowV = 0;
muttonChopsColor_mc.yellowBeard_btn.onRelease = function () {
if (muttonChopsYellowV == 0) {
if (muttonChopsTemplateV == 0) {
unloadMovie (muttonChopsBrown_mc);
unloadMovie (muttonChopsBlond_mc);
unloadMovie (muttonChopsRed_mc);
muttonChopsTemplateGone();
allOtherThanBeardsGone();
muttonChopsBrownV = 0;
muttonChopsBlondV = 0;
muttonChopsRedV = 0;
fullBeardGone();
santaStyleGone();
vanDykeGone();
horseshoeGone();
mustacheGone();
goateesGone();
muttonChopsTemplate_mc._x = 241;
muttonChopsTemplate_mc._y = 77;
muttonChopsYellowV = 1;
muttonChopsTemplateV = 1;
colorMuttonChops.redOffset = 0;
colorMuttonChops.greenOffset = 0;
colorMuttonChops.blueOffset = -255;
muttonChops.colorTransform = colorMuttonChops;
} else if (muttonChopsTemplateV == 1) {
colorMuttonChops.redOffset = 0;
colorMuttonChops.greenOffset = 0;
colorMuttonChops.blueOffset = -255;
muttonChops.colorTransform = colorMuttonChops;
muttonChopsYellowV = 1;
}
} else if (muttonChopsYellowV == 1) {
muttonChopsTemplate_mc._x = 10000;
muttonChopsTemplate_mc._y = 10000;
muttonChopsYellowV = 0;
muttonChopsTemplateV = 0;
}
};
var muttonChopsPinkV = 0;
muttonChopsColor_mc.pinkBeard_btn.onRelease = function () {
if (muttonChopsPinkV == 0) {
if (muttonChopsTemplateV == 0) {
unloadMovie (muttonChopsBrown_mc);
unloadMovie (muttonChopsBlond_mc);
unloadMovie (muttonChopsRed_mc);
muttonChopsTemplateGone();
allOtherThanBeardsGone();
muttonChopsBrownV = 0;
muttonChopsBlondV = 0;
muttonChopsRedV = 0;
fullBeardGone();
santaStyleGone();
vanDykeGone();
horseshoeGone();
mustacheGone();
goateesGone();
muttonChopsTemplate_mc._x = 241;
muttonChopsTemplate_mc._y = 77;
muttonChopsPinkV = 1;
muttonChopsTemplateV = 1;
colorMuttonChops.redOffset = 0;
colorMuttonChops.greenOffset = -255;
colorMuttonChops.blueOffset = 0;
muttonChops.colorTransform = colorMuttonChops;
} else if (muttonChopsTemplateV == 1) {
colorMuttonChops.redOffset = 0;
colorMuttonChops.greenOffset = -255;
colorMuttonChops.blueOffset = 0;
muttonChops.colorTransform = colorMuttonChops;
muttonChopsPinkV = 1;
}
} else if (muttonChopsPinkV == 1) {
muttonChopsTemplate_mc._x = 10000;
muttonChopsTemplate_mc._y = 10000;
muttonChopsPinkV = 0;
muttonChopsTemplateV = 0;
}
};
var muttonChopsTealV = 0;
muttonChopsColor_mc.tealBeard_btn.onRelease = function () {
if (muttonChopsTealV == 0) {
if (muttonChopsTemplateV == 0) {
unloadMovie (muttonChopsBrown_mc);
unloadMovie (muttonChopsBlond_mc);
unloadMovie (muttonChopsRed_mc);
muttonChopsTemplateGone();
allOtherThanBeardsGone();
muttonChopsBrownV = 0;
muttonChopsBlondV = 0;
muttonChopsRedV = 0;
fullBeardGone();
santaStyleGone();
vanDykeGone();
horseshoeGone();
mustacheGone();
goateesGone();
muttonChopsTemplate_mc._x = 241;
muttonChopsTemplate_mc._y = 77;
muttonChopsTealV = 1;
muttonChopsTemplateV = 1;
colorMuttonChops.redOffset = -255;
colorMuttonChops.greenOffset = 0;
colorMuttonChops.blueOffset = 0;
muttonChops.colorTransform = colorMuttonChops;
} else if (muttonChopsTemplateV == 1) {
colorMuttonChops.redOffset = -255;
colorMuttonChops.greenOffset = 0;
colorMuttonChops.blueOffset = 0;
muttonChops.colorTransform = colorMuttonChops;
muttonChopsTealV = 1;
}
} else if (muttonChopsTealV == 1) {
muttonChopsTemplate_mc._x = 10000;
muttonChopsTemplate_mc._y = 10000;
muttonChopsTealV = 0;
muttonChopsTemplateV = 0;
}
};
var muttonChopsBlueV = 0;
muttonChopsColor_mc.blueBeard_btn.onRelease = function () {
if (muttonChopsBlueV == 0) {
if (muttonChopsTemplateV == 0) {
unloadMovie (muttonChopsBrown_mc);
unloadMovie (muttonChopsBlond_mc);
unloadMovie (muttonChopsRed_mc);
muttonChopsTemplateGone();
allOtherThanBeardsGone();
muttonChopsBrownV = 0;
muttonChopsBlondV = 0;
muttonChopsRedV = 0;
fullBeardGone();
santaStyleGone();
vanDykeGone();
horseshoeGone();
mustacheGone();
goateesGone();
muttonChopsTemplate_mc._x = 241;
muttonChopsTemplate_mc._y = 77;
muttonChopsBlueV = 1;
muttonChopsTemplateV = 1;
colorMuttonChops.redOffset = -255;
colorMuttonChops.greenOffset = -255;
colorMuttonChops.blueOffset = 0;
muttonChops.colorTransform = colorMuttonChops;
} else if (muttonChopsTemplateV == 1) {
colorMuttonChops.redOffset = -255;
colorMuttonChops.greenOffset = -255;
colorMuttonChops.blueOffset = 0;
muttonChops.colorTransform = colorMuttonChops;
muttonChopsBlueV = 1;
}
} else if (muttonChopsBlueV == 1) {
muttonChopsTemplate_mc._x = 10000;
muttonChopsTemplate_mc._y = 10000;
muttonChopsBlueV = 0;
muttonChopsTemplateV = 0;
}
};
fullBeardMenu_mc.santaStyle_btn.onRelease = function () {
santaStyleColorDown();
};
var santaStyleBlondV = 0;
santaStyleColor_mc.blondBeard_btn.onRelease = function () {
if (santaStyleBlondV == 0) {
unloadMovie (santaStyleRed_mc);
unloadMovie (santaStyleBrown_mc);
unloadMovie (santaStyleGrey_mc);
santaStyleTemplateGone();
allOtherThanBeardsGone();
santaStyleTemplateV = 0;
santaStyleTemplate_mc._x = 10000;
santaStyleTemplate_mc._y = 10000;
santaStyleGreyV = 0;
santaStyleBrownV = 0;
santaStyleRedV = 0;
fullBeardGone();
muttonChopsGone();
horseshoeGone();
mustacheGone();
goateesGone();
_root.attachMovie("santaStyleBlond_mc", "santaStyleBlond_mc", 6180, {_x:242, _y:90});
santaStyleBlondV = 1;
} else if (santaStyleBlondV == 1) {
unloadMovie (santaStyleBlond_mc);
santaStyleBlondV = 0;
}
};
var santaStyleBrownV = 0;
santaStyleColor_mc.brownBeard_btn.onRelease = function () {
if (santaStyleBrownV == 0) {
unloadMovie (santaStyleBlond_mc);
unloadMovie (santaStyleRed_mc);
unloadMovie (santaStyleGrey_mc);
santaStyleTemplateGone();
allOtherThanBeardsGone();
santaStyleTemplateV = 0;
santaStyleTemplate_mc._x = 10000;
santaStyleTemplate_mc._y = 10000;
santaStyleGreyV = 0;
santaStyleBlondV = 0;
santaStyleRedV = 0;
fullBeardGone();
muttonChopsGone();
horseshoeGone();
mustacheGone();
goateesGone();
_root.attachMovie("santaStyleBrown_mc", "santaStyleBrown_mc", 6180, {_x:242, _y:90});
santaStyleBrownV = 1;
} else if (santaStyleBrownV == 1) {
unloadMovie (santaStyleBrown_mc);
santaStyleBrownV = 0;
}
};
var santaStyleRedV = 0;
santaStyleColor_mc.redBeard_btn.onRelease = function () {
if (santaStyleRedV == 0) {
unloadMovie (santaStyleBrown_mc);
unloadMovie (santaStyleBlond_mc);
unloadMovie (santaStyleGrey_mc);
santaStyleTemplateGone();
allOtherThanBeardsGone();
santaStyleTemplateV = 0;
santaStyleTemplate_mc._x = 10000;
santaStyleTemplate_mc._y = 10000;
santaStyleGreyV = 0;
santaStyleBrownV = 0;
santaStyleBlondV = 0;
fullBeardGone();
muttonChopsGone();
horseshoeGone();
mustacheGone();
goateesGone();
_root.attachMovie("santaStyleRed_mc", "santaStyleRed_mc", 6180, {_x:242, _y:90});
santaStyleRedV = 1;
} else if (santaStyleRedV == 1) {
unloadMovie (santaStyleRed_mc);
santaStyleRedV = 0;
}
};
var santaStyleGreyV = 0;
santaStyleColor_mc.greyBeard_btn.onRelease = function () {
if (santaStyleGreyV == 0) {
unloadMovie (santaStyleBrown_mc);
unloadMovie (santaStyleBlond_mc);
unloadMovie (santaStyleRed_mc);
santaStyleTemplateGone();
allOtherThanBeardsGone();
santaStyleTemplateV = 0;
santaStyleTemplate_mc._x = 10000;
santaStyleTemplate_mc._y = 10000;
santaStyleRedV = 0;
santaStyleBrownV = 0;
santaStyleBlondV = 0;
fullBeardGone();
muttonChopsGone();
horseshoeGone();
mustacheGone();
goateesGone();
_root.attachMovie("santaStyleGrey_mc", "santaStyleGrey_mc", fullbeardLayerValue, {_x:242, _y:90});
santaStyleGreyV = 1;
} else if (santaStyleGreyV == 1) {
unloadMovie (santaStyleGrey_mc);
santaStyleGreyV = 0;
}
};
var colorSantaStyle = (new flash.geom.ColorTransform());
var santaStyle = (new flash.geom.Transform(santaStyleTemplate_mc));
santaStyle.colorTransform = colorSantaStyle;
var santaStyleTemplateV = 0;
var santaStyleBlackV = 0;
santaStyleColor_mc.blackBeard_btn.onRelease = function () {
if (santaStyleBlackV == 0) {
if (santaStyleTemplateV == 0) {
unloadMovie (santaStyleBrown_mc);
unloadMovie (santaStyleBlond_mc);
unloadMovie (santaStyleRed_mc);
santaStyleTemplateGone();
allOtherThanBeardsGone();
santaStyleBrownV = 0;
santaStyleBlondV = 0;
santaStyleRedV = 0;
unloadMovie (santaStyleGrey_mc);
santaStyleGreyV = 0;
fullBeardGone();
muttonChopsGone();
horseshoeGone();
mustacheGone();
goateesGone();
santaStyleTemplate_mc._x = 242;
santaStyleTemplate_mc._y = 90;
santaStyleBlackV = 1;
santaStyleTemplateV = 1;
colorSantaStyle.redOffset = -230;
colorSantaStyle.greenOffset = -230;
colorSantaStyle.blueOffset = -230;
santaStyle.colorTransform = colorSantaStyle;
} else if (santaStyleTemplateV == 1) {
colorSantaStyle.redOffset = -230;
colorSantaStyle.greenOffset = -230;
colorSantaStyle.blueOffset = -230;
santaStyle.colorTransform = colorSantaStyle;
santaStyleBlackV = 1;
}
} else if (santaStyleBlackV == 1) {
santaStyleTemplate_mc._x = 10000;
santaStyleTemplate_mc._y = 10000;
santaStyleBlackV = 0;
santaStyleTemplateV = 0;
}
};
var santaStyleWhiteV = 0;
santaStyleColor_mc.whiteBeard_btn.onRelease = function () {
if (santaStyleWhiteV == 0) {
if (santaStyleTemplateV == 0) {
unloadMovie (santaStyleBrown_mc);
unloadMovie (santaStyleBlond_mc);
unloadMovie (santaStyleRed_mc);
santaStyleTemplateGone();
allOtherThanBeardsGone();
santaStyleBrownV = 0;
santaStyleBlondV = 0;
santaStyleRedV = 0;
unloadMovie (santaStyleGrey_mc);
santaStyleGreyV = 0;
fullBeardGone();
muttonChopsGone();
horseshoeGone();
mustacheGone();
goateesGone();
santaStyleTemplate_mc._x = 242;
santaStyleTemplate_mc._y = 90;
santaStyleWhiteV = 1;
santaStyleTemplateV = 1;
colorSantaStyle.redOffset = 0;
colorSantaStyle.greenOffset = 0;
colorSantaStyle.blueOffset = 0;
santaStyle.colorTransform = colorSantaStyle;
} else if (santaStyleTemplateV == 1) {
colorSantaStyle.redOffset = 0;
colorSantaStyle.greenOffset = 0;
colorSantaStyle.blueOffset = 0;
santaStyle.colorTransform = colorSantaStyle;
santaStyleWhiteV = 1;
}
} else if (santaStyleWhiteV == 1) {
santaStyleTemplate_mc._x = 10000;
santaStyleTemplate_mc._y = 10000;
santaStyleWhiteV = 0;
santaStyleTemplateV = 0;
}
};
var santaStyleLightGreenV = 0;
santaStyleColor_mc.lightGreenBeard_btn.onRelease = function () {
if (santaStyleLightGreenV == 0) {
if (santaStyleTemplateV == 0) {
unloadMovie (santaStyleBrown_mc);
unloadMovie (santaStyleBlond_mc);
unloadMovie (santaStyleRed_mc);
santaStyleTemplateGone();
allOtherThanBeardsGone();
santaStyleBrownV = 0;
santaStyleBlondV = 0;
santaStyleRedV = 0;
unloadMovie (santaStyleGrey_mc);
santaStyleGreyV = 0;
fullBeardGone();
muttonChopsGone();
horseshoeGone();
mustacheGone();
goateesGone();
santaStyleTemplate_mc._x = 242;
santaStyleTemplate_mc._y = 90;
santaStyleLightGreenV = 1;
santaStyleTemplateV = 1;
colorSantaStyle.redOffset = -255;
colorSantaStyle.greenOffset = -75;
colorSantaStyle.blueOffset = -200;
santaStyle.colorTransform = colorSantaStyle;
} else if (santaStyleTemplateV == 1) {
colorSantaStyle.redOffset = -255;
colorSantaStyle.greenOffset = -75;
colorSantaStyle.blueOffset = -200;
santaStyle.colorTransform = colorSantaStyle;
santaStyleLightGreenV = 1;
}
} else if (santaStyleLightGreenV == 1) {
santaStyleTemplate_mc._x = 10000;
santaStyleTemplate_mc._y = 10000;
santaStyleLightGreenV = 0;
santaStyleTemplateV = 0;
}
};
var santaStyleGreenV = 0;
santaStyleColor_mc.greenBeard_btn.onRelease = function () {
if (santaStyleGreenV == 0) {
if (santaStyleTemplateV == 0) {
unloadMovie (santaStyleBrown_mc);
unloadMovie (santaStyleBlond_mc);
unloadMovie (santaStyleRed_mc);
santaStyleTemplateGone();
allOtherThanBeardsGone();
santaStyleBrownV = 0;
santaStyleBlondV = 0;
santaStyleRedV = 0;
unloadMovie (santaStyleGrey_mc);
santaStyleGreyV = 0;
fullBeardGone();
muttonChopsGone();
horseshoeGone();
mustacheGone();
goateesGone();
santaStyleTemplate_mc._x = 242;
santaStyleTemplate_mc._y = 90;
santaStyleGreenV = 1;
santaStyleTemplateV = 1;
colorSantaStyle.redOffset = -255;
colorSantaStyle.greenOffset = -150;
colorSantaStyle.blueOffset = -255;
santaStyle.colorTransform = colorSantaStyle;
} else if (santaStyleTemplateV == 1) {
colorSantaStyle.redOffset = -255;
colorSantaStyle.greenOffset = -150;
colorSantaStyle.blueOffset = -255;
santaStyle.colorTransform = colorSantaStyle;
santaStyleGreenV = 1;
}
} else if (santaStyleGreenV == 1) {
santaStyleTemplate_mc._x = 10000;
santaStyleTemplate_mc._y = 10000;
santaStyleGreenV = 0;
santaStyleTemplateV = 0;
}
};
var santaStyleYellowV = 0;
santaStyleColor_mc.yellowBeard_btn.onRelease = function () {
if (santaStyleYellowV == 0) {
if (santaStyleTemplateV == 0) {
unloadMovie (santaStyleBrown_mc);
unloadMovie (santaStyleBlond_mc);
unloadMovie (santaStyleRed_mc);
santaStyleTemplateGone();
allOtherThanBeardsGone();
santaStyleBrownV = 0;
santaStyleBlondV = 0;
santaStyleRedV = 0;
unloadMovie (santaStyleGrey_mc);
santaStyleGreyV = 0;
fullBeardGone();
muttonChopsGone();
horseshoeGone();
mustacheGone();
goateesGone();
santaStyleTemplate_mc._x = 242;
santaStyleTemplate_mc._y = 90;
santaStyleYellowV = 1;
santaStyleTemplateV = 1;
colorSantaStyle.redOffset = 0;
colorSantaStyle.greenOffset = 0;
colorSantaStyle.blueOffset = -255;
santaStyle.colorTransform = colorSantaStyle;
} else if (santaStyleTemplateV == 1) {
colorSantaStyle.redOffset = 0;
colorSantaStyle.greenOffset = 0;
colorSantaStyle.blueOffset = -255;
santaStyle.colorTransform = colorSantaStyle;
santaStyleYellowV = 1;
}
} else if (santaStyleYellowV == 1) {
santaStyleTemplate_mc._x = 10000;
santaStyleTemplate_mc._y = 10000;
santaStyleYellowV = 0;
santaStyleTemplateV = 0;
}
};
var santaStylePinkV = 0;
santaStyleColor_mc.pinkBeard_btn.onRelease = function () {
if (santaStylePinkV == 0) {
if (santaStyleTemplateV == 0) {
unloadMovie (santaStyleBrown_mc);
unloadMovie (santaStyleBlond_mc);
unloadMovie (santaStyleRed_mc);
santaStyleTemplateGone();
allOtherThanBeardsGone();
santaStyleBrownV = 0;
santaStyleBlondV = 0;
santaStyleRedV = 0;
unloadMovie (santaStyleGrey_mc);
santaStyleGreyV = 0;
fullBeardGone();
muttonChopsGone();
horseshoeGone();
mustacheGone();
goateesGone();
santaStyleTemplate_mc._x = 242;
santaStyleTemplate_mc._y = 90;
santaStylePinkV = 1;
santaStyleTemplateV = 1;
colorSantaStyle.redOffset = 0;
colorSantaStyle.greenOffset = -255;
colorSantaStyle.blueOffset = 0;
santaStyle.colorTransform = colorSantaStyle;
} else if (santaStyleTemplateV == 1) {
colorSantaStyle.redOffset = 0;
colorSantaStyle.greenOffset = -255;
colorSantaStyle.blueOffset = 0;
santaStyle.colorTransform = colorSantaStyle;
santaStylePinkV = 1;
}
} else if (santaStylePinkV == 1) {
santaStyleTemplate_mc._x = 10000;
santaStyleTemplate_mc._y = 10000;
santaStylePinkV = 0;
santaStyleTemplateV = 0;
}
};
var santaStyleTealV = 0;
santaStyleColor_mc.tealBeard_btn.onRelease = function () {
if (santaStyleTealV == 0) {
if (santaStyleTemplateV == 0) {
unloadMovie (santaStyleBrown_mc);
unloadMovie (santaStyleBlond_mc);
unloadMovie (santaStyleRed_mc);
santaStyleTemplateGone();
allOtherThanBeardsGone();
santaStyleBrownV = 0;
santaStyleBlondV = 0;
santaStyleRedV = 0;
unloadMovie (santaStyleGrey_mc);
santaStyleGreyV = 0;
fullBeardGone();
muttonChopsGone();
horseshoeGone();
mustacheGone();
goateesGone();
santaStyleTemplate_mc._x = 242;
santaStyleTemplate_mc._y = 90;
santaStyleTealV = 1;
santaStyleTemplateV = 1;
colorSantaStyle.redOffset = -255;
colorSantaStyle.greenOffset = 0;
colorSantaStyle.blueOffset = 0;
santaStyle.colorTransform = colorSantaStyle;
} else if (santaStyleTemplateV == 1) {
colorSantaStyle.redOffset = -255;
colorSantaStyle.greenOffset = 0;
colorSantaStyle.blueOffset = 0;
santaStyle.colorTransform = colorSantaStyle;
santaStyleTealV = 1;
}
} else if (santaStyleTealV == 1) {
santaStyleTemplate_mc._x = 10000;
santaStyleTemplate_mc._y = 10000;
santaStyleTealV = 0;
santaStyleTemplateV = 0;
}
};
var santaStyleBlueV = 0;
santaStyleColor_mc.blueBeard_btn.onRelease = function () {
if (santaStyleBlueV == 0) {
if (santaStyleTemplateV == 0) {
unloadMovie (santaStyleBrown_mc);
unloadMovie (santaStyleBlond_mc);
unloadMovie (santaStyleRed_mc);
santaStyleTemplateGone();
allOtherThanBeardsGone();
santaStyleBrownV = 0;
santaStyleBlondV = 0;
santaStyleRedV = 0;
unloadMovie (santaStyleGrey_mc);
santaStyleGreyV = 0;
fullBeardGone();
muttonChopsGone();
horseshoeGone();
mustacheGone();
goateesGone();
santaStyleTemplate_mc._x = 242;
santaStyleTemplate_mc._y = 90;
santaStyleBlueV = 1;
santaStyleTemplateV = 1;
colorSantaStyle.redOffset = -255;
colorSantaStyle.greenOffset = -255;
colorSantaStyle.blueOffset = 0;
santaStyle.colorTransform = colorSantaStyle;
} else if (santaStyleTemplateV == 1) {
colorSantaStyle.redOffset = -255;
colorSantaStyle.greenOffset = -255;
colorSantaStyle.blueOffset = 0;
santaStyle.colorTransform = colorSantaStyle;
santaStyleBlueV = 1;
}
} else if (santaStyleBlueV == 1) {
santaStyleTemplate_mc._x = 10000;
santaStyleTemplate_mc._y = 10000;
santaStyleBlueV = 0;
santaStyleTemplateV = 0;
}
};
beardMenu_mc.broadGoatee_btn.onRelease = function () {
broadGoateeColorDown();
};
var broadGoateeBlondV = 0;
broadGoateeColor_mc.blondBeard_btn.onRelease = function () {
if (broadGoateeBlondV == 0) {
unloadMovie (broadGoateeRed_mc);
unloadMovie (broadGoateeBrown_mc);
broadGoateeTemplateGone();
allOtherThanBeardsGone();
broadGoateeTemplateV = 0;
broadGoateeTemplate_mc._x = 10000;
broadGoateeTemplate_mc._y = 10000;
broadGoateeBrownV = 0;
broadGoateeRedV = 0;
goateeGone();
unloadMovie (orcBeard_mc);
orcBeardV = 0;
anchorGoateeGone();
smallGoateeGone();
vikingGone();
fullbeardsGone();
_root.attachMovie("broadGoateeBlond_mc", "broadGoateeBlond_mc", goateeLayerValue, {_x:255, _y:131});
broadGoateeBlondV = 1;
} else if (broadGoateeBlondV == 1) {
unloadMovie (broadGoateeBlond_mc);
broadGoateeBlondV = 0;
}
};
var broadGoateeBrownV = 0;
broadGoateeColor_mc.brownBeard_btn.onRelease = function () {
if (broadGoateeBrownV == 0) {
unloadMovie (broadGoateeBlond_mc);
unloadMovie (broadGoateeRed_mc);
broadGoateeTemplateGone();
allOtherThanBeardsGone();
broadGoateeTemplateV = 0;
broadGoateeTemplate_mc._x = 10000;
broadGoateeTemplate_mc._y = 10000;
broadGoateeBlondV = 0;
broadGoateeRedV = 0;
goateeGone();
unloadMovie (orcBeard_mc);
orcBeardV = 0;
anchorGoateeGone();
smallGoateeGone();
vikingGone();
fullbeardsGone();
_root.attachMovie("broadGoateeBrown_mc", "broadGoateeBrown_mc", goateeLayerValue, {_x:255, _y:131});
broadGoateeBrownV = 1;
} else if (broadGoateeBrownV == 1) {
unloadMovie (broadGoateeBrown_mc);
broadGoateeBrownV = 0;
}
};
var broadGoateeRedV = 0;
broadGoateeColor_mc.redBeard_btn.onRelease = function () {
if (broadGoateeRedV == 0) {
unloadMovie (broadGoateeBrown_mc);
unloadMovie (broadGoateeBlond_mc);
broadGoateeTemplateGone();
allOtherThanBeardsGone();
broadGoateeTemplateV = 0;
broadGoateeTemplate_mc._x = 10000;
broadGoateeTemplate_mc._y = 10000;
broadGoateeBrownV = 0;
broadGoateeBlondV = 0;
goateeGone();
unloadMovie (orcBeard_mc);
orcBeardV = 0;
anchorGoateeGone();
smallGoateeGone();
vikingGone();
fullbeardsGone();
_root.attachMovie("broadGoateeRed_mc", "broadGoateeRed_mc", goateeLayerValue, {_x:255, _y:131});
broadGoateeRedV = 1;
} else if (broadGoateeRedV == 1) {
unloadMovie (broadGoateeRed_mc);
broadGoateeRedV = 0;
}
};
var colorBroadGoatee = (new flash.geom.ColorTransform());
var broadGoatee = (new flash.geom.Transform(broadGoateeTemplate_mc));
broadGoatee.colorTransform = colorBroadGoatee;
var broadGoateeTemplateV = 0;
var broadGoateeBlackV = 0;
broadGoateeColor_mc.blackBeard_btn.onRelease = function () {
if (broadGoateeBlackV == 0) {
if (broadGoateeTemplateV == 0) {
unloadMovie (broadGoateeBrown_mc);
unloadMovie (broadGoateeBlond_mc);
unloadMovie (broadGoateeRed_mc);
broadGoateeTemplateGone();
allOtherThanBeardsGone();
broadGoateeBrownV = 0;
broadGoateeBlondV = 0;
broadGoateeRedV = 0;
goateeGone();
unloadMovie (orcBeard_mc);
orcBeardV = 0;
anchorGoateeGone();
smallGoateeGone();
vikingGone();
fullbeardsGone();
broadGoateeTemplate_mc._x = 255;
broadGoateeTemplate_mc._y = 131;
broadGoateeBlackV = 1;
broadGoateeTemplateV = 1;
colorBroadGoatee.redOffset = -230;
colorBroadGoatee.greenOffset = -230;
colorBroadGoatee.blueOffset = -230;
broadGoatee.colorTransform = colorBroadGoatee;
} else if (broadGoateeTemplateV == 1) {
colorBroadGoatee.redOffset = -230;
colorBroadGoatee.greenOffset = -230;
colorBroadGoatee.blueOffset = -230;
broadGoatee.colorTransform = colorBroadGoatee;
broadGoateeBlackV = 1;
}
} else if (broadGoateeBlackV == 1) {
broadGoateeTemplate_mc._x = 10000;
broadGoateeTemplate_mc._y = 10000;
broadGoateeBlackV = 0;
broadGoateeTemplateV = 0;
}
};
var broadGoateeGreyV = 0;
broadGoateeColor_mc.greyBeard_btn.onRelease = function () {
if (broadGoateeGreyV == 0) {
if (broadGoateeTemplateV == 0) {
unloadMovie (broadGoateeBrown_mc);
unloadMovie (broadGoateeBlond_mc);
unloadMovie (broadGoateeRed_mc);
broadGoateeTemplateGone();
allOtherThanBeardsGone();
broadGoateeBrownV = 0;
broadGoateeBlondV = 0;
broadGoateeRedV = 0;
goateeGone();
unloadMovie (orcBeard_mc);
orcBeardV = 0;
anchorGoateeGone();
smallGoateeGone();
vikingGone();
fullbeardsGone();
broadGoateeTemplate_mc._x = 255;
broadGoateeTemplate_mc._y = 131;
broadGoateeGreyV = 1;
broadGoateeTemplateV = 1;
colorBroadGoatee.redOffset = -100;
colorBroadGoatee.greenOffset = -100;
colorBroadGoatee.blueOffset = -100;
broadGoatee.colorTransform = colorBroadGoatee;
} else if (broadGoateeTemplateV == 1) {
colorBroadGoatee.redOffset = -100;
colorBroadGoatee.greenOffset = -100;
colorBroadGoatee.blueOffset = -100;
broadGoatee.colorTransform = colorBroadGoatee;
broadGoateeGreyV = 1;
}
} else if (broadGoateeGreyV == 1) {
broadGoateeTemplate_mc._x = 10000;
broadGoateeTemplate_mc._y = 10000;
broadGoateeGreyV = 0;
broadGoateeTemplateV = 0;
}
};
var broadGoateeWhiteV = 0;
broadGoateeColor_mc.whiteBeard_btn.onRelease = function () {
if (broadGoateeWhiteV == 0) {
if (broadGoateeTemplateV == 0) {
unloadMovie (broadGoateeBrown_mc);
unloadMovie (broadGoateeBlond_mc);
unloadMovie (broadGoateeRed_mc);
broadGoateeTemplateGone();
allOtherThanBeardsGone();
broadGoateeBrownV = 0;
broadGoateeBlondV = 0;
broadGoateeRedV = 0;
goateeGone();
unloadMovie (orcBeard_mc);
orcBeardV = 0;
anchorGoateeGone();
smallGoateeGone();
vikingGone();
fullbeardsGone();
broadGoateeTemplate_mc._x = 255;
broadGoateeTemplate_mc._y = 131;
broadGoateeWhiteV = 1;
broadGoateeTemplateV = 1;
colorBroadGoatee.redOffset = 0;
colorBroadGoatee.greenOffset = 0;
colorBroadGoatee.blueOffset = 0;
broadGoatee.colorTransform = colorBroadGoatee;
} else if (broadGoateeTemplateV == 1) {
colorBroadGoatee.redOffset = 0;
colorBroadGoatee.greenOffset = 0;
colorBroadGoatee.blueOffset = 0;
broadGoatee.colorTransform = colorBroadGoatee;
broadGoateeWhiteV = 1;
}
} else if (broadGoateeWhiteV == 1) {
broadGoateeTemplate_mc._x = 10000;
broadGoateeTemplate_mc._y = 10000;
broadGoateeWhiteV = 0;
broadGoateeTemplateV = 0;
}
};
var broadGoateeLightGreenV = 0;
broadGoateeColor_mc.lightGreenBeard_btn.onRelease = function () {
if (broadGoateeLightGreenV == 0) {
if (broadGoateeTemplateV == 0) {
unloadMovie (broadGoateeBrown_mc);
unloadMovie (broadGoateeBlond_mc);
unloadMovie (broadGoateeRed_mc);
broadGoateeTemplateGone();
allOtherThanBeardsGone();
broadGoateeBrownV = 0;
broadGoateeBlondV = 0;
broadGoateeRedV = 0;
goateeGone();
unloadMovie (orcBeard_mc);
orcBeardV = 0;
anchorGoateeGone();
smallGoateeGone();
vikingGone();
fullbeardsGone();
broadGoateeTemplate_mc._x = 255;
broadGoateeTemplate_mc._y = 131;
broadGoateeLightGreenV = 1;
broadGoateeTemplateV = 1;
colorBroadGoatee.redOffset = -255;
colorBroadGoatee.greenOffset = -75;
colorBroadGoatee.blueOffset = -200;
broadGoatee.colorTransform = colorBroadGoatee;
} else if (broadGoateeTemplateV == 1) {
colorBroadGoatee.redOffset = -255;
colorBroadGoatee.greenOffset = -75;
colorBroadGoatee.blueOffset = -200;
broadGoatee.colorTransform = colorBroadGoatee;
broadGoateeLightGreenV = 1;
}
} else if (broadGoateeLightGreenV == 1) {
broadGoateeTemplate_mc._x = 10000;
broadGoateeTemplate_mc._y = 10000;
broadGoateeLightGreenV = 0;
broadGoateeTemplateV = 0;
}
};
var broadGoateeGreenV = 0;
broadGoateeColor_mc.greenBeard_btn.onRelease = function () {
if (broadGoateeGreenV == 0) {
if (broadGoateeTemplateV == 0) {
unloadMovie (broadGoateeBrown_mc);
unloadMovie (broadGoateeBlond_mc);
unloadMovie (broadGoateeRed_mc);
broadGoateeTemplateGone();
allOtherThanBeardsGone();
broadGoateeBrownV = 0;
broadGoateeBlondV = 0;
broadGoateeRedV = 0;
goateeGone();
unloadMovie (orcBeard_mc);
orcBeardV = 0;
anchorGoateeGone();
smallGoateeGone();
vikingGone();
fullbeardsGone();
broadGoateeTemplate_mc._x = 255;
broadGoateeTemplate_mc._y = 131;
broadGoateeGreenV = 1;
broadGoateeTemplateV = 1;
colorBroadGoatee.redOffset = -255;
colorBroadGoatee.greenOffset = -150;
colorBroadGoatee.blueOffset = -255;
broadGoatee.colorTransform = colorBroadGoatee;
} else if (broadGoateeTemplateV == 1) {
colorBroadGoatee.redOffset = -255;
colorBroadGoatee.greenOffset = -150;
colorBroadGoatee.blueOffset = -255;
broadGoatee.colorTransform = colorBroadGoatee;
broadGoateeGreenV = 1;
}
} else if (broadGoateeGreenV == 1) {
broadGoateeTemplate_mc._x = 10000;
broadGoateeTemplate_mc._y = 10000;
broadGoateeGreenV = 0;
broadGoateeTemplateV = 0;
}
};
var broadGoateeYellowV = 0;
broadGoateeColor_mc.yellowBeard_btn.onRelease = function () {
if (broadGoateeYellowV == 0) {
if (broadGoateeTemplateV == 0) {
unloadMovie (broadGoateeBrown_mc);
unloadMovie (broadGoateeBlond_mc);
unloadMovie (broadGoateeRed_mc);
broadGoateeTemplateGone();
allOtherThanBeardsGone();
broadGoateeBrownV = 0;
broadGoateeBlondV = 0;
broadGoateeRedV = 0;
goateeGone();
unloadMovie (orcBeard_mc);
orcBeardV = 0;
anchorGoateeGone();
smallGoateeGone();
vikingGone();
fullbeardsGone();
broadGoateeTemplate_mc._x = 255;
broadGoateeTemplate_mc._y = 131;
broadGoateeYellowV = 1;
broadGoateeTemplateV = 1;
colorBroadGoatee.redOffset = 0;
colorBroadGoatee.greenOffset = 0;
colorBroadGoatee.blueOffset = -255;
broadGoatee.colorTransform = colorBroadGoatee;
} else if (broadGoateeTemplateV == 1) {
colorBroadGoatee.redOffset = 0;
colorBroadGoatee.greenOffset = 0;
colorBroadGoatee.blueOffset = -255;
broadGoatee.colorTransform = colorBroadGoatee;
broadGoateeYellowV = 1;
}
} else if (broadGoateeYellowV == 1) {
broadGoateeTemplate_mc._x = 10000;
broadGoateeTemplate_mc._y = 10000;
broadGoateeYellowV = 0;
broadGoateeTemplateV = 0;
}
};
var broadGoateePinkV = 0;
broadGoateeColor_mc.pinkBeard_btn.onRelease = function () {
if (broadGoateePinkV == 0) {
if (broadGoateeTemplateV == 0) {
unloadMovie (broadGoateeBrown_mc);
unloadMovie (broadGoateeBlond_mc);
unloadMovie (broadGoateeRed_mc);
broadGoateeTemplateGone();
allOtherThanBeardsGone();
broadGoateeBrownV = 0;
broadGoateeBlondV = 0;
broadGoateeRedV = 0;
goateeGone();
unloadMovie (orcBeard_mc);
orcBeardV = 0;
anchorGoateeGone();
smallGoateeGone();
vikingGone();
fullbeardsGone();
broadGoateeTemplate_mc._x = 255;
broadGoateeTemplate_mc._y = 131;
broadGoateePinkV = 1;
broadGoateeTemplateV = 1;
colorBroadGoatee.redOffset = 0;
colorBroadGoatee.greenOffset = -255;
colorBroadGoatee.blueOffset = 0;
broadGoatee.colorTransform = colorBroadGoatee;
} else if (broadGoateeTemplateV == 1) {
colorBroadGoatee.redOffset = 0;
colorBroadGoatee.greenOffset = -255;
colorBroadGoatee.blueOffset = 0;
broadGoatee.colorTransform = colorBroadGoatee;
broadGoateePinkV = 1;
}
} else if (broadGoateePinkV == 1) {
broadGoateeTemplate_mc._x = 10000;
broadGoateeTemplate_mc._y = 10000;
broadGoateePinkV = 0;
broadGoateeTemplateV = 0;
}
};
var broadGoateeTealV = 0;
broadGoateeColor_mc.tealBeard_btn.onRelease = function () {
if (broadGoateeTealV == 0) {
if (broadGoateeTemplateV == 0) {
unloadMovie (broadGoateeBrown_mc);
unloadMovie (broadGoateeBlond_mc);
unloadMovie (broadGoateeRed_mc);
broadGoateeTemplateGone();
allOtherThanBeardsGone();
broadGoateeBrownV = 0;
broadGoateeBlondV = 0;
broadGoateeRedV = 0;
goateeGone();
unloadMovie (orcBeard_mc);
orcBeardV = 0;
anchorGoateeGone();
smallGoateeGone();
vikingGone();
fullbeardsGone();
broadGoateeTemplate_mc._x = 255;
broadGoateeTemplate_mc._y = 131;
broadGoateeTealV = 1;
broadGoateeTemplateV = 1;
colorBroadGoatee.redOffset = -255;
colorBroadGoatee.greenOffset = 0;
colorBroadGoatee.blueOffset = 0;
broadGoatee.colorTransform = colorBroadGoatee;
} else if (broadGoateeTemplateV == 1) {
colorBroadGoatee.redOffset = -255;
colorBroadGoatee.greenOffset = 0;
colorBroadGoatee.blueOffset = 0;
broadGoatee.colorTransform = colorBroadGoatee;
broadGoateeTealV = 1;
}
} else if (broadGoateeTealV == 1) {
broadGoateeTemplate_mc._x = 10000;
broadGoateeTemplate_mc._y = 10000;
broadGoateeTealV = 0;
broadGoateeTemplateV = 0;
}
};
var broadGoateeBlueV = 0;
broadGoateeColor_mc.blueBeard_btn.onRelease = function () {
if (broadGoateeBlueV == 0) {
if (broadGoateeTemplateV == 0) {
unloadMovie (broadGoateeBrown_mc);
unloadMovie (broadGoateeBlond_mc);
unloadMovie (broadGoateeRed_mc);
broadGoateeTemplateGone();
allOtherThanBeardsGone();
broadGoateeBrownV = 0;
broadGoateeBlondV = 0;
broadGoateeRedV = 0;
goateeGone();
unloadMovie (orcBeard_mc);
orcBeardV = 0;
anchorGoateeGone();
smallGoateeGone();
vikingGone();
fullbeardsGone();
broadGoateeTemplate_mc._x = 255;
broadGoateeTemplate_mc._y = 131;
broadGoateeBlueV = 1;
broadGoateeTemplateV = 1;
colorBroadGoatee.redOffset = -255;
colorBroadGoatee.greenOffset = -255;
colorBroadGoatee.blueOffset = 0;
broadGoatee.colorTransform = colorBroadGoatee;
} else if (broadGoateeTemplateV == 1) {
colorBroadGoatee.redOffset = -255;
colorBroadGoatee.greenOffset = -255;
colorBroadGoatee.blueOffset = 0;
broadGoatee.colorTransform = colorBroadGoatee;
broadGoateeBlueV = 1;
}
} else if (broadGoateeBlueV == 1) {
broadGoateeTemplate_mc._x = 10000;
broadGoateeTemplate_mc._y = 10000;
broadGoateeBlueV = 0;
broadGoateeTemplateV = 0;
}
};
beardMenu_mc.anchorGoatee_btn.onRelease = function () {
anchorGoateeColorDown();
};
var anchorGoateeBlondV = 0;
anchorGoateeColor_mc.blondBeard_btn.onRelease = function () {
if (anchorGoateeBlondV == 0) {
unloadMovie (anchorGoateeRed_mc);
unloadMovie (anchorGoateeBrown_mc);
anchorGoateeTemplateGone();
allOtherThanBeardsGone();
anchorGoateeTemplateV = 0;
anchorGoateeTemplate_mc._x = 10000;
anchorGoateeTemplate_mc._y = 10000;
anchorGoateeBrownV = 0;
anchorGoateeRedV = 0;
goateeGone();
unloadMovie (orcBeard_mc);
orcBeardV = 0;
broadGoateeGone();
smallGoateeGone();
vikingGone();
fullbeardsGone();
_root.attachMovie("anchorGoateeBlond_mc", "anchorGoateeBlond_mc", goateeLayerValue, {_x:254, _y:130});
anchorGoateeBlondV = 1;
} else if (anchorGoateeBlondV == 1) {
unloadMovie (anchorGoateeBlond_mc);
anchorGoateeBlondV = 0;
}
};
var anchorGoateeBrownV = 0;
anchorGoateeColor_mc.brownBeard_btn.onRelease = function () {
if (anchorGoateeBrownV == 0) {
unloadMovie (anchorGoateeBlond_mc);
unloadMovie (anchorGoateeRed_mc);
anchorGoateeTemplateGone();
allOtherThanBeardsGone();
anchorGoateeTemplateV = 0;
anchorGoateeTemplate_mc._x = 10000;
anchorGoateeTemplate_mc._y = 10000;
anchorGoateeBlondV = 0;
anchorGoateeRedV = 0;
goateeGone();
unloadMovie (orcBeard_mc);
orcBeardV = 0;
broadGoateeGone();
smallGoateeGone();
vikingGone();
fullbeardsGone();
_root.attachMovie("anchorGoateeBrown_mc", "anchorGoateeBrown_mc", goateeLayerValue, {_x:254, _y:130});
anchorGoateeBrownV = 1;
} else if (anchorGoateeBrownV == 1) {
unloadMovie (anchorGoateeBrown_mc);
anchorGoateeBrownV = 0;
}
};
var anchorGoateeRedV = 0;
anchorGoateeColor_mc.redBeard_btn.onRelease = function () {
if (anchorGoateeRedV == 0) {
unloadMovie (anchorGoateeBrown_mc);
unloadMovie (anchorGoateeBlond_mc);
anchorGoateeTemplateGone();
allOtherThanBeardsGone();
anchorGoateeTemplateV = 0;
anchorGoateeTemplate_mc._x = 10000;
anchorGoateeTemplate_mc._y = 10000;
anchorGoateeBrownV = 0;
anchorGoateeBlondV = 0;
goateeGone();
unloadMovie (orcBeard_mc);
orcBeardV = 0;
broadGoateeGone();
smallGoateeGone();
vikingGone();
fullbeardsGone();
_root.attachMovie("anchorGoateeRed_mc", "anchorGoateeRed_mc", goateeLayerValue, {_x:254, _y:130});
anchorGoateeRedV = 1;
} else if (anchorGoateeRedV == 1) {
unloadMovie (anchorGoateeRed_mc);
anchorGoateeRedV = 0;
}
};
var colorAnchorGoatee = (new flash.geom.ColorTransform());
var anchorGoatee = (new flash.geom.Transform(anchorGoateeTemplate_mc));
anchorGoatee.colorTransform = colorAnchorGoatee;
var anchorGoateeTemplateV = 0;
var anchorGoateeBlackV = 0;
anchorGoateeColor_mc.blackBeard_btn.onRelease = function () {
if (anchorGoateeBlackV == 0) {
if (anchorGoateeTemplateV == 0) {
unloadMovie (anchorGoateeBrown_mc);
unloadMovie (anchorGoateeBlond_mc);
unloadMovie (anchorGoateeRed_mc);
anchorGoateeTemplateGone();
allOtherThanBeardsGone();
anchorGoateeBrownV = 0;
anchorGoateeBlondV = 0;
anchorGoateeRedV = 0;
goateeGone();
unloadMovie (orcBeard_mc);
orcBeardV = 0;
broadGoateeGone();
smallGoateeGone();
vikingGone();
fullbeardsGone();
anchorGoateeTemplate_mc._x = 254;
anchorGoateeTemplate_mc._y = 130;
anchorGoateeBlackV = 1;
anchorGoateeTemplateV = 1;
colorAnchorGoatee.redOffset = -230;
colorAnchorGoatee.greenOffset = -230;
colorAnchorGoatee.blueOffset = -230;
anchorGoatee.colorTransform = colorAnchorGoatee;
} else if (anchorGoateeTemplateV == 1) {
colorAnchorGoatee.redOffset = -230;
colorAnchorGoatee.greenOffset = -230;
colorAnchorGoatee.blueOffset = -230;
anchorGoatee.colorTransform = colorAnchorGoatee;
anchorGoateeBlackV = 1;
}
} else if (anchorGoateeBlackV == 1) {
anchorGoateeTemplate_mc._x = 10000;
anchorGoateeTemplate_mc._y = 10000;
anchorGoateeBlackV = 0;
anchorGoateeTemplateV = 0;
}
};
var anchorGoateeGreyV = 0;
anchorGoateeColor_mc.greyBeard_btn.onRelease = function () {
if (anchorGoateeGreyV == 0) {
if (anchorGoateeTemplateV == 0) {
unloadMovie (anchorGoateeBrown_mc);
unloadMovie (anchorGoateeBlond_mc);
unloadMovie (anchorGoateeRed_mc);
anchorGoateeTemplateGone();
allOtherThanBeardsGone();
anchorGoateeBrownV = 0;
anchorGoateeBlondV = 0;
anchorGoateeRedV = 0;
goateeGone();
unloadMovie (orcBeard_mc);
orcBeardV = 0;
broadGoateeGone();
smallGoateeGone();
vikingGone();
fullbeardsGone();
anchorGoateeTemplate_mc._x = 254;
anchorGoateeTemplate_mc._y = 130;
anchorGoateeGreyV = 1;
anchorGoateeTemplateV = 1;
colorAnchorGoatee.redOffset = -100;
colorAnchorGoatee.greenOffset = -100;
colorAnchorGoatee.blueOffset = -100;
anchorGoatee.colorTransform = colorAnchorGoatee;
} else if (anchorGoateeTemplateV == 1) {
colorAnchorGoatee.redOffset = -100;
colorAnchorGoatee.greenOffset = -100;
colorAnchorGoatee.blueOffset = -100;
anchorGoatee.colorTransform = colorAnchorGoatee;
anchorGoateeGreyV = 1;
}
} else if (anchorGoateeGreyV == 1) {
anchorGoateeTemplate_mc._x = 10000;
anchorGoateeTemplate_mc._y = 10000;
anchorGoateeGreyV = 0;
anchorGoateeTemplateV = 0;
}
};
var anchorGoateeWhiteV = 0;
anchorGoateeColor_mc.whiteBeard_btn.onRelease = function () {
if (anchorGoateeWhiteV == 0) {
if (anchorGoateeTemplateV == 0) {
unloadMovie (anchorGoateeBrown_mc);
unloadMovie (anchorGoateeBlond_mc);
unloadMovie (anchorGoateeRed_mc);
anchorGoateeTemplateGone();
allOtherThanBeardsGone();
anchorGoateeBrownV = 0;
anchorGoateeBlondV = 0;
anchorGoateeRedV = 0;
goateeGone();
unloadMovie (orcBeard_mc);
orcBeardV = 0;
broadGoateeGone();
smallGoateeGone();
vikingGone();
fullbeardsGone();
anchorGoateeTemplate_mc._x = 254;
anchorGoateeTemplate_mc._y = 130;
anchorGoateeWhiteV = 1;
anchorGoateeTemplateV = 1;
colorAnchorGoatee.redOffset = 0;
colorAnchorGoatee.greenOffset = 0;
colorAnchorGoatee.blueOffset = 0;
anchorGoatee.colorTransform = colorAnchorGoatee;
} else if (anchorGoateeTemplateV == 1) {
colorAnchorGoatee.redOffset = 0;
colorAnchorGoatee.greenOffset = 0;
colorAnchorGoatee.blueOffset = 0;
anchorGoatee.colorTransform = colorAnchorGoatee;
anchorGoateeWhiteV = 1;
}
} else if (anchorGoateeWhiteV == 1) {
anchorGoateeTemplate_mc._x = 10000;
anchorGoateeTemplate_mc._y = 10000;
anchorGoateeWhiteV = 0;
anchorGoateeTemplateV = 0;
}
};
var anchorGoateeLightGreenV = 0;
anchorGoateeColor_mc.lightGreenBeard_btn.onRelease = function () {
if (anchorGoateeLightGreenV == 0) {
if (anchorGoateeTemplateV == 0) {
unloadMovie (anchorGoateeBrown_mc);
unloadMovie (anchorGoateeBlond_mc);
unloadMovie (anchorGoateeRed_mc);
anchorGoateeTemplateGone();
allOtherThanBeardsGone();
anchorGoateeBrownV = 0;
anchorGoateeBlondV = 0;
anchorGoateeRedV = 0;
goateeGone();
unloadMovie (orcBeard_mc);
orcBeardV = 0;
broadGoateeGone();
smallGoateeGone();
vikingGone();
fullbeardsGone();
anchorGoateeTemplate_mc._x = 254;
anchorGoateeTemplate_mc._y = 130;
anchorGoateeLightGreenV = 1;
anchorGoateeTemplateV = 1;
colorAnchorGoatee.redOffset = -255;
colorAnchorGoatee.greenOffset = -75;
colorAnchorGoatee.blueOffset = -200;
anchorGoatee.colorTransform = colorAnchorGoatee;
} else if (anchorGoateeTemplateV == 1) {
colorAnchorGoatee.redOffset = -255;
colorAnchorGoatee.greenOffset = -75;
colorAnchorGoatee.blueOffset = -200;
anchorGoatee.colorTransform = colorAnchorGoatee;
anchorGoateeLightGreenV = 1;
}
} else if (anchorGoateeLightGreenV == 1) {
anchorGoateeTemplate_mc._x = 10000;
anchorGoateeTemplate_mc._y = 10000;
anchorGoateeLightGreenV = 0;
anchorGoateeTemplateV = 0;
}
};
var anchorGoateeGreenV = 0;
anchorGoateeColor_mc.greenBeard_btn.onRelease = function () {
if (anchorGoateeGreenV == 0) {
if (anchorGoateeTemplateV == 0) {
unloadMovie (anchorGoateeBrown_mc);
unloadMovie (anchorGoateeBlond_mc);
unloadMovie (anchorGoateeRed_mc);
anchorGoateeTemplateGone();
allOtherThanBeardsGone();
anchorGoateeBrownV = 0;
anchorGoateeBlondV = 0;
anchorGoateeRedV = 0;
goateeGone();
unloadMovie (orcBeard_mc);
orcBeardV = 0;
broadGoateeGone();
smallGoateeGone();
vikingGone();
fullbeardsGone();
anchorGoateeTemplate_mc._x = 254;
anchorGoateeTemplate_mc._y = 130;
anchorGoateeGreenV = 1;
anchorGoateeTemplateV = 1;
colorAnchorGoatee.redOffset = -255;
colorAnchorGoatee.greenOffset = -150;
colorAnchorGoatee.blueOffset = -255;
anchorGoatee.colorTransform = colorAnchorGoatee;
} else if (anchorGoateeTemplateV == 1) {
colorAnchorGoatee.redOffset = -255;
colorAnchorGoatee.greenOffset = -150;
colorAnchorGoatee.blueOffset = -255;
anchorGoatee.colorTransform = colorAnchorGoatee;
anchorGoateeGreenV = 1;
}
} else if (anchorGoateeGreenV == 1) {
anchorGoateeTemplate_mc._x = 10000;
anchorGoateeTemplate_mc._y = 10000;
anchorGoateeGreenV = 0;
anchorGoateeTemplateV = 0;
}
};
var anchorGoateeYellowV = 0;
anchorGoateeColor_mc.yellowBeard_btn.onRelease = function () {
if (anchorGoateeYellowV == 0) {
if (anchorGoateeTemplateV == 0) {
unloadMovie (anchorGoateeBrown_mc);
unloadMovie (anchorGoateeBlond_mc);
unloadMovie (anchorGoateeRed_mc);
anchorGoateeTemplateGone();
allOtherThanBeardsGone();
anchorGoateeBrownV = 0;
anchorGoateeBlondV = 0;
anchorGoateeRedV = 0;
goateeGone();
unloadMovie (orcBeard_mc);
orcBeardV = 0;
broadGoateeGone();
smallGoateeGone();
vikingGone();
fullbeardsGone();
anchorGoateeTemplate_mc._x = 254;
anchorGoateeTemplate_mc._y = 130;
anchorGoateeYellowV = 1;
anchorGoateeTemplateV = 1;
colorAnchorGoatee.redOffset = 0;
colorAnchorGoatee.greenOffset = 0;
colorAnchorGoatee.blueOffset = -255;
anchorGoatee.colorTransform = colorAnchorGoatee;
} else if (anchorGoateeTemplateV == 1) {
colorAnchorGoatee.redOffset = 0;
colorAnchorGoatee.greenOffset = 0;
colorAnchorGoatee.blueOffset = -255;
anchorGoatee.colorTransform = colorAnchorGoatee;
anchorGoateeYellowV = 1;
}
} else if (anchorGoateeYellowV == 1) {
anchorGoateeTemplate_mc._x = 10000;
anchorGoateeTemplate_mc._y = 10000;
anchorGoateeYellowV = 0;
anchorGoateeTemplateV = 0;
}
};
var anchorGoateePinkV = 0;
anchorGoateeColor_mc.pinkBeard_btn.onRelease = function () {
if (anchorGoateePinkV == 0) {
if (anchorGoateeTemplateV == 0) {
unloadMovie (anchorGoateeBrown_mc);
unloadMovie (anchorGoateeBlond_mc);
unloadMovie (anchorGoateeRed_mc);
anchorGoateeTemplateGone();
allOtherThanBeardsGone();
anchorGoateeBrownV = 0;
anchorGoateeBlondV = 0;
anchorGoateeRedV = 0;
goateeGone();
unloadMovie (orcBeard_mc);
orcBeardV = 0;
broadGoateeGone();
smallGoateeGone();
vikingGone();
fullbeardsGone();
anchorGoateeTemplate_mc._x = 254;
anchorGoateeTemplate_mc._y = 130;
anchorGoateePinkV = 1;
anchorGoateeTemplateV = 1;
colorAnchorGoatee.redOffset = 0;
colorAnchorGoatee.greenOffset = -255;
colorAnchorGoatee.blueOffset = 0;
anchorGoatee.colorTransform = colorAnchorGoatee;
} else if (anchorGoateeTemplateV == 1) {
colorAnchorGoatee.redOffset = 0;
colorAnchorGoatee.greenOffset = -255;
colorAnchorGoatee.blueOffset = 0;
anchorGoatee.colorTransform = colorAnchorGoatee;
anchorGoateePinkV = 1;
}
} else if (anchorGoateePinkV == 1) {
anchorGoateeTemplate_mc._x = 10000;
anchorGoateeTemplate_mc._y = 10000;
anchorGoateePinkV = 0;
anchorGoateeTemplateV = 0;
}
};
var anchorGoateeTealV = 0;
anchorGoateeColor_mc.tealBeard_btn.onRelease = function () {
if (anchorGoateeTealV == 0) {
if (anchorGoateeTemplateV == 0) {
unloadMovie (anchorGoateeBrown_mc);
unloadMovie (anchorGoateeBlond_mc);
unloadMovie (anchorGoateeRed_mc);
anchorGoateeTemplateGone();
allOtherThanBeardsGone();
anchorGoateeBrownV = 0;
anchorGoateeBlondV = 0;
anchorGoateeRedV = 0;
goateeGone();
unloadMovie (orcBeard_mc);
orcBeardV = 0;
broadGoateeGone();
smallGoateeGone();
vikingGone();
fullbeardsGone();
anchorGoateeTemplate_mc._x = 254;
anchorGoateeTemplate_mc._y = 130;
anchorGoateeTealV = 1;
anchorGoateeTemplateV = 1;
colorAnchorGoatee.redOffset = -255;
colorAnchorGoatee.greenOffset = 0;
colorAnchorGoatee.blueOffset = 0;
anchorGoatee.colorTransform = colorAnchorGoatee;
} else if (anchorGoateeTemplateV == 1) {
colorAnchorGoatee.redOffset = -255;
colorAnchorGoatee.greenOffset = 0;
colorAnchorGoatee.blueOffset = 0;
anchorGoatee.colorTransform = colorAnchorGoatee;
anchorGoateeTealV = 1;
}
} else if (anchorGoateeTealV == 1) {
anchorGoateeTemplate_mc._x = 10000;
anchorGoateeTemplate_mc._y = 10000;
anchorGoateeTealV = 0;
anchorGoateeTemplateV = 0;
}
};
var anchorGoateeBlueV = 0;
anchorGoateeColor_mc.blueBeard_btn.onRelease = function () {
if (anchorGoateeBlueV == 0) {
if (anchorGoateeTemplateV == 0) {
unloadMovie (anchorGoateeBrown_mc);
unloadMovie (anchorGoateeBlond_mc);
unloadMovie (anchorGoateeRed_mc);
anchorGoateeTemplateGone();
allOtherThanBeardsGone();
anchorGoateeBrownV = 0;
anchorGoateeBlondV = 0;
anchorGoateeRedV = 0;
goateeGone();
unloadMovie (orcBeard_mc);
orcBeardV = 0;
broadGoateeGone();
smallGoateeGone();
vikingGone();
fullbeardsGone();
anchorGoateeTemplate_mc._x = 254;
anchorGoateeTemplate_mc._y = 130;
anchorGoateeBlueV = 1;
anchorGoateeTemplateV = 1;
colorAnchorGoatee.redOffset = -255;
colorAnchorGoatee.greenOffset = -255;
colorAnchorGoatee.blueOffset = 0;
anchorGoatee.colorTransform = colorAnchorGoatee;
} else if (anchorGoateeTemplateV == 1) {
colorAnchorGoatee.redOffset = -255;
colorAnchorGoatee.greenOffset = -255;
colorAnchorGoatee.blueOffset = 0;
anchorGoatee.colorTransform = colorAnchorGoatee;
anchorGoateeBlueV = 1;
}
} else if (anchorGoateeBlueV == 1) {
anchorGoateeTemplate_mc._x = 10000;
anchorGoateeTemplate_mc._y = 10000;
anchorGoateeBlueV = 0;
anchorGoateeTemplateV = 0;
}
};
beardMenu_mc.goatee_btn.onRelease = function () {
goateeColorDown();
};
var goateeBlondV = 0;
goateeColor_mc.blondBeard_btn.onRelease = function () {
if (goateeBlondV == 0) {
unloadMovie (goateeRed_mc);
unloadMovie (goateeBrown_mc);
goateeTemplateGone();
allOtherThanBeardsGone();
goateeTemplateV = 0;
goateeTemplate_mc._x = 10000;
goateeTemplate_mc._y = 10000;
goateeBrownV = 0;
goateeRedV = 0;
anchorGoateeGone();
unloadMovie (orcBeard_mc);
orcBeardV = 0;
broadGoateeGone();
smallGoateeGone();
vikingGone();
fullbeardsGone();
_root.attachMovie("goateeBlond_mc", "goateeBlond_mc", goateeLayerValue, {_x:260.4, _y:149});
goateeBlondV = 1;
} else if (goateeBlondV == 1) {
unloadMovie (goateeBlond_mc);
goateeBlondV = 0;
}
};
var goateeBrownV = 0;
goateeColor_mc.brownBeard_btn.onRelease = function () {
if (goateeBrownV == 0) {
unloadMovie (goateeBlond_mc);
unloadMovie (goateeRed_mc);
goateeTemplateGone();
allOtherThanBeardsGone();
goateeTemplateV = 0;
goateeTemplate_mc._x = 10000;
goateeTemplate_mc._y = 10000;
goateeBlondV = 0;
goateeRedV = 0;
anchorGoateeGone();
unloadMovie (orcBeard_mc);
orcBeardV = 0;
broadGoateeGone();
smallGoateeGone();
vikingGone();
fullbeardsGone();
_root.attachMovie("goateeBrown_mc", "goateeBrown_mc", goateeLayerValue, {_x:260.4, _y:149});
goateeBrownV = 1;
} else if (goateeBrownV == 1) {
unloadMovie (goateeBrown_mc);
goateeBrownV = 0;
}
};
var goateeRedV = 0;
goateeColor_mc.redBeard_btn.onRelease = function () {
if (goateeRedV == 0) {
unloadMovie (goateeBrown_mc);
unloadMovie (goateeBlond_mc);
goateeTemplateGone();
allOtherThanBeardsGone();
goateeTemplateV = 0;
goateeTemplate_mc._x = 10000;
goateeTemplate_mc._y = 10000;
goateeBrownV = 0;
goateeBlondV = 0;
anchorGoateeGone();
unloadMovie (orcBeard_mc);
orcBeardV = 0;
broadGoateeGone();
smallGoateeGone();
vikingGone();
fullbeardsGone();
_root.attachMovie("goateeRed_mc", "goateeRed_mc", goateeLayerValue, {_x:260.4, _y:149});
goateeRedV = 1;
} else if (goateeRedV == 1) {
unloadMovie (goateeRed_mc);
goateeRedV = 0;
}
};
var colorGoatee = (new flash.geom.ColorTransform());
var goatee = (new flash.geom.Transform(goateeTemplate_mc));
goatee.colorTransform = colorGoatee;
var goateeTemplateV = 0;
var goateeBlackV = 0;
goateeColor_mc.blackBeard_btn.onRelease = function () {
if (goateeBlackV == 0) {
if (goateeTemplateV == 0) {
unloadMovie (goateeBrown_mc);
unloadMovie (goateeBlond_mc);
unloadMovie (goateeRed_mc);
goateeTemplateGone();
allOtherThanBeardsGone();
goateeBrownV = 0;
goateeBlondV = 0;
goateeRedV = 0;
anchorGoateeGone();
unloadMovie (orcBeard_mc);
orcBeardV = 0;
broadGoateeGone();
smallGoateeGone();
vikingGone();
fullbeardsGone();
goateeTemplate_mc._x = 260.4;
goateeTemplate_mc._y = 149;
goateeBlackV = 1;
goateeTemplateV = 1;
colorGoatee.redOffset = -230;
colorGoatee.greenOffset = -230;
colorGoatee.blueOffset = -230;
goatee.colorTransform = colorGoatee;
} else if (goateeTemplateV == 1) {
colorGoatee.redOffset = -230;
colorGoatee.greenOffset = -230;
colorGoatee.blueOffset = -230;
goatee.colorTransform = colorGoatee;
goateeBlackV = 1;
}
} else if (goateeBlackV == 1) {
goateeTemplate_mc._x = 10000;
goateeTemplate_mc._y = 10000;
goateeBlackV = 0;
goateeTemplateV = 0;
}
};
var goateeGreyV = 0;
goateeColor_mc.greyBeard_btn.onRelease = function () {
if (goateeGreyV == 0) {
if (goateeTemplateV == 0) {
unloadMovie (goateeBrown_mc);
unloadMovie (goateeBlond_mc);
unloadMovie (goateeRed_mc);
goateeTemplateGone();
allOtherThanBeardsGone();
goateeBrownV = 0;
goateeBlondV = 0;
goateeRedV = 0;
anchorGoateeGone();
unloadMovie (orcBeard_mc);
orcBeardV = 0;
broadGoateeGone();
smallGoateeGone();
vikingGone();
fullbeardsGone();
goateeTemplate_mc._x = 260.4;
goateeTemplate_mc._y = 149;
goateeGreyV = 1;
goateeTemplateV = 1;
colorGoatee.redOffset = -100;
colorGoatee.greenOffset = -100;
colorGoatee.blueOffset = -100;
goatee.colorTransform = colorGoatee;
} else if (goateeTemplateV == 1) {
colorGoatee.redOffset = -100;
colorGoatee.greenOffset = -100;
colorGoatee.blueOffset = -100;
goatee.colorTransform = colorGoatee;
goateeGreyV = 1;
}
} else if (goateeGreyV == 1) {
goateeTemplate_mc._x = 10000;
goateeTemplate_mc._y = 10000;
goateeGreyV = 0;
goateeTemplateV = 0;
}
};
var goateeWhiteV = 0;
goateeColor_mc.whiteBeard_btn.onRelease = function () {
if (goateeWhiteV == 0) {
if (goateeTemplateV == 0) {
unloadMovie (goateeBrown_mc);
unloadMovie (goateeBlond_mc);
unloadMovie (goateeRed_mc);
goateeTemplateGone();
allOtherThanBeardsGone();
goateeBrownV = 0;
goateeBlondV = 0;
goateeRedV = 0;
anchorGoateeGone();
unloadMovie (orcBeard_mc);
orcBeardV = 0;
broadGoateeGone();
smallGoateeGone();
vikingGone();
fullbeardsGone();
goateeTemplate_mc._x = 260.4;
goateeTemplate_mc._y = 149;
goateeWhiteV = 1;
goateeTemplateV = 1;
colorGoatee.redOffset = 0;
colorGoatee.greenOffset = 0;
colorGoatee.blueOffset = 0;
goatee.colorTransform = colorGoatee;
} else if (goateeTemplateV == 1) {
colorGoatee.redOffset = 0;
colorGoatee.greenOffset = 0;
colorGoatee.blueOffset = 0;
goatee.colorTransform = colorGoatee;
goateeWhiteV = 1;
}
} else if (goateeWhiteV == 1) {
goateeTemplate_mc._x = 10000;
goateeTemplate_mc._y = 10000;
goateeWhiteV = 0;
goateeTemplateV = 0;
}
};
var goateeLightGreenV = 0;
goateeColor_mc.lightGreenBeard_btn.onRelease = function () {
if (goateeLightGreenV == 0) {
if (goateeTemplateV == 0) {
unloadMovie (goateeBrown_mc);
unloadMovie (goateeBlond_mc);
unloadMovie (goateeRed_mc);
goateeTemplateGone();
allOtherThanBeardsGone();
goateeBrownV = 0;
goateeBlondV = 0;
goateeRedV = 0;
anchorGoateeGone();
unloadMovie (orcBeard_mc);
orcBeardV = 0;
broadGoateeGone();
smallGoateeGone();
vikingGone();
fullbeardsGone();
goateeTemplate_mc._x = 260.4;
goateeTemplate_mc._y = 149;
goateeLightGreenV = 1;
goateeTemplateV = 1;
colorGoatee.redOffset = -255;
colorGoatee.greenOffset = -75;
colorGoatee.blueOffset = -200;
goatee.colorTransform = colorGoatee;
} else if (goateeTemplateV == 1) {
colorGoatee.redOffset = -255;
colorGoatee.greenOffset = -75;
colorGoatee.blueOffset = -200;
goatee.colorTransform = colorGoatee;
goateeLightGreenV = 1;
}
} else if (goateeLightGreenV == 1) {
goateeTemplate_mc._x = 10000;
goateeTemplate_mc._y = 10000;
goateeLightGreenV = 0;
goateeTemplateV = 0;
}
};
var goateeGreenV = 0;
goateeColor_mc.greenBeard_btn.onRelease = function () {
if (goateeGreenV == 0) {
if (goateeTemplateV == 0) {
unloadMovie (goateeBrown_mc);
unloadMovie (goateeBlond_mc);
unloadMovie (goateeRed_mc);
goateeTemplateGone();
allOtherThanBeardsGone();
goateeBrownV = 0;
goateeBlondV = 0;
goateeRedV = 0;
anchorGoateeGone();
unloadMovie (orcBeard_mc);
orcBeardV = 0;
broadGoateeGone();
smallGoateeGone();
vikingGone();
fullbeardsGone();
goateeTemplate_mc._x = 260.4;
goateeTemplate_mc._y = 149;
goateeGreenV = 1;
goateeTemplateV = 1;
colorGoatee.redOffset = -255;
colorGoatee.greenOffset = -150;
colorGoatee.blueOffset = -255;
goatee.colorTransform = colorGoatee;
} else if (goateeTemplateV == 1) {
colorGoatee.redOffset = -255;
colorGoatee.greenOffset = -150;
colorGoatee.blueOffset = -255;
goatee.colorTransform = colorGoatee;
goateeGreenV = 1;
}
} else if (goateeGreenV == 1) {
goateeTemplate_mc._x = 10000;
goateeTemplate_mc._y = 10000;
goateeGreenV = 0;
goateeTemplateV = 0;
}
};
var goateeYellowV = 0;
goateeColor_mc.yellowBeard_btn.onRelease = function () {
if (goateeYellowV == 0) {
if (goateeTemplateV == 0) {
unloadMovie (goateeBrown_mc);
unloadMovie (goateeBlond_mc);
unloadMovie (goateeRed_mc);
goateeTemplateGone();
allOtherThanBeardsGone();
goateeBrownV = 0;
goateeBlondV = 0;
goateeRedV = 0;
anchorGoateeGone();
unloadMovie (orcBeard_mc);
orcBeardV = 0;
broadGoateeGone();
smallGoateeGone();
vikingGone();
fullbeardsGone();
goateeTemplate_mc._x = 260.4;
goateeTemplate_mc._y = 149;
goateeYellowV = 1;
goateeTemplateV = 1;
colorGoatee.redOffset = 0;
colorGoatee.greenOffset = 0;
colorGoatee.blueOffset = -255;
goatee.colorTransform = colorGoatee;
} else if (goateeTemplateV == 1) {
colorGoatee.redOffset = 0;
colorGoatee.greenOffset = 0;
colorGoatee.blueOffset = -255;
goatee.colorTransform = colorGoatee;
goateeYellowV = 1;
}
} else if (goateeYellowV == 1) {
goateeTemplate_mc._x = 10000;
goateeTemplate_mc._y = 10000;
goateeYellowV = 0;
goateeTemplateV = 0;
}
};
var goateePinkV = 0;
goateeColor_mc.pinkBeard_btn.onRelease = function () {
if (goateePinkV == 0) {
if (goateeTemplateV == 0) {
unloadMovie (goateeBrown_mc);
unloadMovie (goateeBlond_mc);
unloadMovie (goateeRed_mc);
goateeTemplateGone();
allOtherThanBeardsGone();
goateeBrownV = 0;
goateeBlondV = 0;
goateeRedV = 0;
anchorGoateeGone();
unloadMovie (orcBeard_mc);
orcBeardV = 0;
broadGoateeGone();
smallGoateeGone();
vikingGone();
fullbeardsGone();
goateeTemplate_mc._x = 260.4;
goateeTemplate_mc._y = 149;
goateePinkV = 1;
goateeTemplateV = 1;
colorGoatee.redOffset = 0;
colorGoatee.greenOffset = -255;
colorGoatee.blueOffset = 0;
goatee.colorTransform = colorGoatee;
} else if (goateeTemplateV == 1) {
colorGoatee.redOffset = 0;
colorGoatee.greenOffset = -255;
colorGoatee.blueOffset = 0;
goatee.colorTransform = colorGoatee;
goateePinkV = 1;
}
} else if (goateePinkV == 1) {
goateeTemplate_mc._x = 10000;
goateeTemplate_mc._y = 10000;
goateePinkV = 0;
goateeTemplateV = 0;
}
};
var goateeTealV = 0;
goateeColor_mc.tealBeard_btn.onRelease = function () {
if (goateeTealV == 0) {
if (goateeTemplateV == 0) {
unloadMovie (goateeBrown_mc);
unloadMovie (goateeBlond_mc);
unloadMovie (goateeRed_mc);
goateeTemplateGone();
allOtherThanBeardsGone();
goateeBrownV = 0;
goateeBlondV = 0;
goateeRedV = 0;
anchorGoateeGone();
unloadMovie (orcBeard_mc);
orcBeardV = 0;
broadGoateeGone();
smallGoateeGone();
vikingGone();
fullbeardsGone();
goateeTemplate_mc._x = 260.4;
goateeTemplate_mc._y = 149;
goateeTealV = 1;
goateeTemplateV = 1;
colorGoatee.redOffset = -255;
colorGoatee.greenOffset = 0;
colorGoatee.blueOffset = 0;
goatee.colorTransform = colorGoatee;
} else if (goateeTemplateV == 1) {
colorGoatee.redOffset = -255;
colorGoatee.greenOffset = 0;
colorGoatee.blueOffset = 0;
goatee.colorTransform = colorGoatee;
goateeTealV = 1;
}
} else if (goateeTealV == 1) {
goateeTemplate_mc._x = 10000;
goateeTemplate_mc._y = 10000;
goateeTealV = 0;
goateeTemplateV = 0;
}
};
var goateeBlueV = 0;
goateeColor_mc.blueBeard_btn.onRelease = function () {
if (goateeBlueV == 0) {
if (goateeTemplateV == 0) {
unloadMovie (goateeBrown_mc);
unloadMovie (goateeBlond_mc);
unloadMovie (goateeRed_mc);
goateeTemplateGone();
allOtherThanBeardsGone();
goateeBrownV = 0;
goateeBlondV = 0;
goateeRedV = 0;
anchorGoateeGone();
unloadMovie (orcBeard_mc);
orcBeardV = 0;
broadGoateeGone();
smallGoateeGone();
vikingGone();
fullbeardsGone();
goateeTemplate_mc._x = 260.4;
goateeTemplate_mc._y = 149;
goateeBlueV = 1;
goateeTemplateV = 1;
colorGoatee.redOffset = -255;
colorGoatee.greenOffset = -255;
colorGoatee.blueOffset = 0;
goatee.colorTransform = colorGoatee;
} else if (goateeTemplateV == 1) {
colorGoatee.redOffset = -255;
colorGoatee.greenOffset = -255;
colorGoatee.blueOffset = 0;
goatee.colorTransform = colorGoatee;
goateeBlueV = 1;
}
} else if (goateeBlueV == 1) {
goateeTemplate_mc._x = 10000;
goateeTemplate_mc._y = 10000;
goateeBlueV = 0;
goateeTemplateV = 0;
}
};
beardMenu_mc.smallGoatee_btn.onRelease = function () {
smallGoateeColorDown();
};
var smallGoateeBlondV = 0;
smallGoateeColor_mc.blondBeard_btn.onRelease = function () {
if (smallGoateeBlondV == 0) {
unloadMovie (smallGoateeRed_mc);
unloadMovie (smallGoateeBrown_mc);
smallGoateeTemplateGone();
allOtherThanBeardsGone();
smallGoateeTemplateV = 0;
smallGoateeTemplate_mc._x = 10000;
smallGoateeTemplate_mc._y = 10000;
smallGoateeBrownV = 0;
smallGoateeRedV = 0;
goateeGone();
unloadMovie (orcBeard_mc);
orcBeardV = 0;
anchorGoateeGone();
broadGoateeGone();
vikingGone();
fullbeardsGone();
_root.attachMovie("smallGoateeBlond_mc", "smallGoateeBlond_mc", goateeLayerValue, {_x:263.2, _y:148.2});
smallGoateeBlondV = 1;
} else if (smallGoateeBlondV == 1) {
unloadMovie (smallGoateeBlond_mc);
smallGoateeBlondV = 0;
}
};
var smallGoateeBrownV = 0;
smallGoateeColor_mc.brownBeard_btn.onRelease = function () {
if (smallGoateeBrownV == 0) {
unloadMovie (smallGoateeBlond_mc);
unloadMovie (smallGoateeRed_mc);
smallGoateeTemplateGone();
allOtherThanBeardsGone();
smallGoateeTemplateV = 0;
smallGoateeTemplate_mc._x = 10000;
smallGoateeTemplate_mc._y = 10000;
smallGoateeBlondV = 0;
smallGoateeRedV = 0;
goateeGone();
unloadMovie (orcBeard_mc);
orcBeardV = 0;
anchorGoateeGone();
broadGoateeGone();
vikingGone();
fullbeardsGone();
_root.attachMovie("smallGoateeBrown_mc", "smallGoateeBrown_mc", goateeLayerValue, {_x:263.2, _y:148.2});
smallGoateeBrownV = 1;
} else if (smallGoateeBrownV == 1) {
unloadMovie (smallGoateeBrown_mc);
smallGoateeBrownV = 0;
}
};
var smallGoateeRedV = 0;
smallGoateeColor_mc.redBeard_btn.onRelease = function () {
if (smallGoateeRedV == 0) {
unloadMovie (smallGoateeBrown_mc);
unloadMovie (smallGoateeBlond_mc);
smallGoateeTemplateGone();
allOtherThanBeardsGone();
smallGoateeTemplateV = 0;
smallGoateeTemplate_mc._x = 10000;
smallGoateeTemplate_mc._y = 10000;
smallGoateeBrownV = 0;
smallGoateeBlondV = 0;
goateeGone();
unloadMovie (orcBeard_mc);
orcBeardV = 0;
anchorGoateeGone();
broadGoateeGone();
vikingGone();
fullbeardsGone();
_root.attachMovie("smallGoateeRed_mc", "smallGoateeRed_mc", goateeLayerValue, {_x:263.2, _y:148.2});
smallGoateeRedV = 1;
} else if (smallGoateeRedV == 1) {
unloadMovie (smallGoateeRed_mc);
smallGoateeRedV = 0;
}
};
var colorSmallGoatee = (new flash.geom.ColorTransform());
var smallGoatee = (new flash.geom.Transform(smallGoateeTemplate_mc));
smallGoatee.colorTransform = colorGoatee;
var smallGoateeTemplateV = 0;
var smallGoateeBlackV = 0;
smallGoateeColor_mc.blackBeard_btn.onRelease = function () {
if (smallGoateeBlackV == 0) {
if (smallGoateeTemplateV == 0) {
unloadMovie (smallGoateeBrown_mc);
unloadMovie (smallGoateeBlond_mc);
unloadMovie (smallGoateeRed_mc);
smallGoateeTemplateGone();
allOtherThanBeardsGone();
smallGoateeBrownV = 0;
smallGoateeBlondV = 0;
smallGoateeRedV = 0;
goateeGone();
unloadMovie (orcBeard_mc);
orcBeardV = 0;
anchorGoateeGone();
broadGoateeGone();
vikingGone();
fullbeardsGone();
smallGoateeTemplate_mc._x = 263.2;
(smallGoateeTemplate_mc._y = 148);
smallGoateeBlackV = 1;
smallGoateeTemplateV = 1;
colorSmallGoatee.redOffset = -230;
colorSmallGoatee.greenOffset = -230;
colorSmallGoatee.blueOffset = -230;
smallGoatee.colorTransform = colorSmallGoatee;
} else if (smallGoateeTemplateV == 1) {
colorSmallGoatee.redOffset = -230;
colorSmallGoatee.greenOffset = -230;
colorSmallGoatee.blueOffset = -230;
smallGoatee.colorTransform = colorSmallGoatee;
smallGoateeBlackV = 1;
}
} else if (smallGoateeBlackV == 1) {
smallGoateeTemplate_mc._x = 10000;
smallGoateeTemplate_mc._y = 10000;
smallGoateeBlackV = 0;
smallGoateeTemplateV = 0;
}
};
var smallGoateeGreyV = 0;
smallGoateeColor_mc.greyBeard_btn.onRelease = function () {
if (smallGoateeGreyV == 0) {
if (smallGoateeTemplateV == 0) {
unloadMovie (smallGoateeBrown_mc);
unloadMovie (smallGoateeBlond_mc);
unloadMovie (smallGoateeRed_mc);
smallGoateeTemplateGone();
allOtherThanBeardsGone();
smallGoateeBrownV = 0;
smallGoateeBlondV = 0;
smallGoateeRedV = 0;
goateeGone();
unloadMovie (orcBeard_mc);
orcBeardV = 0;
anchorGoateeGone();
broadGoateeGone();
vikingGone();
fullbeardsGone();
smallGoateeTemplate_mc._x = 263.2;
(smallGoateeTemplate_mc._y = 148);
smallGoateeGreyV = 1;
smallGoateeTemplateV = 1;
colorSmallGoatee.redOffset = -100;
colorSmallGoatee.greenOffset = -100;
colorSmallGoatee.blueOffset = -100;
smallGoatee.colorTransform = colorSmallGoatee;
} else if (smallGoateeTemplateV == 1) {
colorSmallGoatee.redOffset = -100;
colorSmallGoatee.greenOffset = -100;
colorSmallGoatee.blueOffset = -100;
smallGoatee.colorTransform = colorSmallGoatee;
smallGoateeGreyV = 1;
}
} else if (smallGoateeGreyV == 1) {
smallGoateeTemplate_mc._x = 10000;
smallGoateeTemplate_mc._y = 10000;
smallGoateeGreyV = 0;
smallGoateeTemplateV = 0;
}
};
var smallGoateeWhiteV = 0;
smallGoateeColor_mc.whiteBeard_btn.onRelease = function () {
if (smallGoateeWhiteV == 0) {
if (smallGoateeTemplateV == 0) {
unloadMovie (smallGoateeBrown_mc);
unloadMovie (smallGoateeBlond_mc);
unloadMovie (smallGoateeRed_mc);
smallGoateeTemplateGone();
allOtherThanBeardsGone();
smallGoateeBrownV = 0;
smallGoateeBlondV = 0;
smallGoateeRedV = 0;
goateeGone();
unloadMovie (orcBeard_mc);
orcBeardV = 0;
anchorGoateeGone();
broadGoateeGone();
vikingGone();
fullbeardsGone();
smallGoateeTemplate_mc._x = 263.2;
(smallGoateeTemplate_mc._y = 148);
smallGoateeWhiteV = 1;
smallGoateeTemplateV = 1;
colorSmallGoatee.redOffset = 0;
colorSmallGoatee.greenOffset = 0;
colorSmallGoatee.blueOffset = 0;
smallGoatee.colorTransform = colorSmallGoatee;
} else if (smallGoateeTemplateV == 1) {
colorSmallGoatee.redOffset = 0;
colorSmallGoatee.greenOffset = 0;
colorSmallGoatee.blueOffset = 0;
smallGoatee.colorTransform = colorSmallGoatee;
smallGoateeWhiteV = 1;
}
} else if (smallGoateeWhiteV == 1) {
smallGoateeTemplate_mc._x = 10000;
smallGoateeTemplate_mc._y = 10000;
smallGoateeWhiteV = 0;
smallGoateeTemplateV = 0;
}
};
var smallGoateeLightGreenV = 0;
smallGoateeColor_mc.lightGreenBeard_btn.onRelease = function () {
if (smallGoateeLightGreenV == 0) {
if (smallGoateeTemplateV == 0) {
unloadMovie (smallGoateeBrown_mc);
unloadMovie (smallGoateeBlond_mc);
unloadMovie (smallGoateeRed_mc);
smallGoateeTemplateGone();
allOtherThanBeardsGone();
smallGoateeBrownV = 0;
smallGoateeBlondV = 0;
smallGoateeRedV = 0;
goateeGone();
unloadMovie (orcBeard_mc);
orcBeardV = 0;
anchorGoateeGone();
broadGoateeGone();
vikingGone();
fullbeardsGone();
smallGoateeTemplate_mc._x = 263.2;
(smallGoateeTemplate_mc._y = 148);
smallGoateeLightGreenV = 1;
smallGoateeTemplateV = 1;
colorSmallGoatee.redOffset = -255;
colorSmallGoatee.greenOffset = -75;
colorSmallGoatee.blueOffset = -200;
smallGoatee.colorTransform = colorSmallGoatee;
} else if (smallGoateeTemplateV == 1) {
colorSmallGoatee.redOffset = -255;
colorSmallGoatee.greenOffset = -75;
colorSmallGoatee.blueOffset = -200;
smallGoatee.colorTransform = colorSmallGoatee;
smallGoateeLightGreenV = 1;
}
} else if (smallGoateeLightGreenV == 1) {
smallGoateeTemplate_mc._x = 10000;
smallGoateeTemplate_mc._y = 10000;
smallGoateeLightGreenV = 0;
smallGoateeTemplateV = 0;
}
};
var smallGoateeGreenV = 0;
smallGoateeColor_mc.greenBeard_btn.onRelease = function () {
if (smallGoateeGreenV == 0) {
if (smallGoateeTemplateV == 0) {
unloadMovie (smallGoateeBrown_mc);
unloadMovie (smallGoateeBlond_mc);
unloadMovie (smallGoateeRed_mc);
smallGoateeTemplateGone();
allOtherThanBeardsGone();
smallGoateeBrownV = 0;
smallGoateeBlondV = 0;
smallGoateeRedV = 0;
goateeGone();
unloadMovie (orcBeard_mc);
orcBeardV = 0;
anchorGoateeGone();
broadGoateeGone();
vikingGone();
fullbeardsGone();
smallGoateeTemplate_mc._x = 263.2;
(smallGoateeTemplate_mc._y = 148);
smallGoateeGreenV = 1;
smallGoateeTemplateV = 1;
colorSmallGoatee.redOffset = -255;
colorSmallGoatee.greenOffset = -150;
colorSmallGoatee.blueOffset = -255;
smallGoatee.colorTransform = colorSmallGoatee;
} else if (smallGoateeTemplateV == 1) {
colorSmallGoatee.redOffset = -255;
colorSmallGoatee.greenOffset = -150;
colorSmallGoatee.blueOffset = -255;
smallGoatee.colorTransform = colorSmallGoatee;
smallGoateeGreenV = 1;
}
} else if (smallGoateeGreenV == 1) {
smallGoateeTemplate_mc._x = 10000;
smallGoateeTemplate_mc._y = 10000;
smallGoateeGreenV = 0;
smallGoateeTemplateV = 0;
}
};
var smallGoateeYellowV = 0;
smallGoateeColor_mc.yellowBeard_btn.onRelease = function () {
if (smallGoateeYellowV == 0) {
if (smallGoateeTemplateV == 0) {
unloadMovie (smallGoateeBrown_mc);
unloadMovie (smallGoateeBlond_mc);
unloadMovie (smallGoateeRed_mc);
smallGoateeTemplateGone();
allOtherThanBeardsGone();
smallGoateeBrownV = 0;
smallGoateeBlondV = 0;
smallGoateeRedV = 0;
goateeGone();
unloadMovie (orcBeard_mc);
orcBeardV = 0;
anchorGoateeGone();
broadGoateeGone();
vikingGone();
fullbeardsGone();
smallGoateeTemplate_mc._x = 263.2;
(smallGoateeTemplate_mc._y = 148);
smallGoateeYellowV = 1;
smallGoateeTemplateV = 1;
colorSmallGoatee.redOffset = 0;
colorSmallGoatee.greenOffset = 0;
colorSmallGoatee.blueOffset = -255;
smallGoatee.colorTransform = colorSmallGoatee;
} else if (smallGoateeTemplateV == 1) {
colorSmallGoatee.redOffset = 0;
colorSmallGoatee.greenOffset = 0;
colorSmallGoatee.blueOffset = -255;
smallGoatee.colorTransform = colorSmallGoatee;
smallGoateeYellowV = 1;
}
} else if (smallGoateeYellowV == 1) {
smallGoateeTemplate_mc._x = 10000;
smallGoateeTemplate_mc._y = 10000;
smallGoateeYellowV = 0;
smallGoateeTemplateV = 0;
}
};
var smallGoateePinkV = 0;
smallGoateeColor_mc.pinkBeard_btn.onRelease = function () {
if (smallGoateePinkV == 0) {
if (smallGoateeTemplateV == 0) {
unloadMovie (smallGoateeBrown_mc);
unloadMovie (smallGoateeBlond_mc);
unloadMovie (smallGoateeRed_mc);
smallGoateeTemplateGone();
allOtherThanBeardsGone();
smallGoateeBrownV = 0;
smallGoateeBlondV = 0;
smallGoateeRedV = 0;
goateeGone();
unloadMovie (orcBeard_mc);
orcBeardV = 0;
anchorGoateeGone();
broadGoateeGone();
vikingGone();
fullbeardsGone();
smallGoateeTemplate_mc._x = 263.2;
(smallGoateeTemplate_mc._y = 148);
smallGoateePinkV = 1;
smallGoateeTemplateV = 1;
colorSmallGoatee.redOffset = 0;
colorSmallGoatee.greenOffset = -255;
colorSmallGoatee.blueOffset = 0;
smallGoatee.colorTransform = colorSmallGoatee;
} else if (smallGoateeTemplateV == 1) {
colorSmallGoatee.redOffset = 0;
colorSmallGoatee.greenOffset = -255;
colorSmallGoatee.blueOffset = 0;
smallGoatee.colorTransform = colorSmallGoatee;
smallGoateePinkV = 1;
}
} else if (smallGoateePinkV == 1) {
smallGoateeTemplate_mc._x = 10000;
smallGoateeTemplate_mc._y = 10000;
smallGoateePinkV = 0;
smallGoateeTemplateV = 0;
}
};
var smallGoateeTealV = 0;
smallGoateeColor_mc.tealBeard_btn.onRelease = function () {
if (smallGoateeTealV == 0) {
if (smallGoateeTemplateV == 0) {
unloadMovie (smallGoateeBrown_mc);
unloadMovie (smallGoateeBlond_mc);
unloadMovie (smallGoateeRed_mc);
smallGoateeTemplateGone();
allOtherThanBeardsGone();
smallGoateeBrownV = 0;
smallGoateeBlondV = 0;
smallGoateeRedV = 0;
goateeGone();
unloadMovie (orcBeard_mc);
orcBeardV = 0;
anchorGoateeGone();
broadGoateeGone();
vikingGone();
fullbeardsGone();
smallGoateeTemplate_mc._x = 263.2;
(smallGoateeTemplate_mc._y = 148);
smallGoateeTealV = 1;
smallGoateeTemplateV = 1;
colorSmallGoatee.redOffset = -255;
colorSmallGoatee.greenOffset = 0;
colorSmallGoatee.blueOffset = 0;
smallGoatee.colorTransform = colorSmallGoatee;
} else if (smallGoateeTemplateV == 1) {
colorSmallGoatee.redOffset = -255;
colorSmallGoatee.greenOffset = 0;
colorSmallGoatee.blueOffset = 0;
smallGoatee.colorTransform = colorSmallGoatee;
smallGoateeTealV = 1;
}
} else if (smallGoateeTealV == 1) {
smallGoateeTemplate_mc._x = 10000;
smallGoateeTemplate_mc._y = 10000;
smallGoateeTealV = 0;
smallGoateeTemplateV = 0;
}
};
var smallGoateeBlueV = 0;
smallGoateeColor_mc.blueBeard_btn.onRelease = function () {
if (smallGoateeBlueV == 0) {
if (smallGoateeTemplateV == 0) {
unloadMovie (smallGoateeBrown_mc);
unloadMovie (smallGoateeBlond_mc);
unloadMovie (smallGoateeRed_mc);
smallGoateeTemplateGone();
allOtherThanBeardsGone();
smallGoateeBrownV = 0;
smallGoateeBlondV = 0;
smallGoateeRedV = 0;
goateeGone();
unloadMovie (orcBeard_mc);
orcBeardV = 0;
anchorGoateeGone();
broadGoateeGone();
vikingGone();
fullbeardsGone();
smallGoateeTemplate_mc._x = 263.2;
(smallGoateeTemplate_mc._y = 148);
smallGoateeBlueV = 1;
smallGoateeTemplateV = 1;
colorSmallGoatee.redOffset = -255;
colorSmallGoatee.greenOffset = -255;
colorSmallGoatee.blueOffset = 0;
smallGoatee.colorTransform = colorSmallGoatee;
} else if (smallGoateeTemplateV == 1) {
colorSmallGoatee.redOffset = -255;
colorSmallGoatee.greenOffset = -255;
colorSmallGoatee.blueOffset = 0;
smallGoatee.colorTransform = colorSmallGoatee;
smallGoateeBlueV = 1;
}
} else if (smallGoateeBlueV == 1) {
smallGoateeTemplate_mc._x = 10000;
smallGoateeTemplate_mc._y = 10000;
smallGoateeBlueV = 0;
smallGoateeTemplateV = 0;
}
};
beardMenu2_mc.handlebar_btn.onRelease = function () {
handlebarColorDown();
};
var handlebarBlondV = 0;
handlebarColor_mc.blondBeard_btn.onRelease = function () {
if (handlebarBlondV == 0) {
unloadMovie (handlebarRed_mc);
unloadMovie (handlebarBrown_mc);
handlebarTemplateGone();
allOtherThanBeardsGone();
handlebarTemplateV = 0;
handlebarTemplate_mc._x = 10000;
handlebarTemplate_mc._y = 10000;
handlebarBrownV = 0;
handlebarRedV = 0;
walrusGone();
daliGone();
toothbrushGone();
fullbeardsGone();
_root.attachMovie("handlebarBlond_mc", "handlebarBlond_mc", mustacheLayerValue, {_x:253.3, _y:123.1});
handlebarBlondV = 1;
} else if (handlebarBlondV == 1) {
unloadMovie (handlebarBlond_mc);
handlebarBlondV = 0;
}
};
var handlebarBrownV = 0;
handlebarColor_mc.brownBeard_btn.onRelease = function () {
if (handlebarBrownV == 0) {
unloadMovie (handlebarBlond_mc);
unloadMovie (handlebarRed_mc);
handlebarTemplateGone();
allOtherThanBeardsGone();
handlebarTemplateV = 0;
handlebarTemplate_mc._x = 10000;
handlebarTemplate_mc._y = 10000;
handlebarBlondV = 0;
handlebarRedV = 0;
walrusGone();
daliGone();
toothbrushGone();
fullbeardsGone();
_root.attachMovie("handlebarBrown_mc", "handlebarBrown_mc", mustacheLayerValue, {_x:253.3, _y:123.1});
handlebarBrownV = 1;
} else if (handlebarBrownV == 1) {
unloadMovie (handlebarBrown_mc);
handlebarBrownV = 0;
}
};
var handlebarRedV = 0;
handlebarColor_mc.redBeard_btn.onRelease = function () {
if (handlebarRedV == 0) {
unloadMovie (handlebarBrown_mc);
unloadMovie (handlebarBlond_mc);
handlebarTemplateGone();
allOtherThanBeardsGone();
handlebarTemplateV = 0;
handlebarTemplate_mc._x = 10000;
handlebarTemplate_mc._y = 10000;
handlebarBrownV = 0;
handlebarBlondV = 0;
walrusGone();
daliGone();
toothbrushGone();
fullbeardsGone();
_root.attachMovie("handlebarRed_mc", "handlebarRed_mc", mustacheLayerValue, {_x:253.3, _y:123.1});
handlebarRedV = 1;
} else if (handlebarRedV == 1) {
unloadMovie (handlebarRed_mc);
handlebarRedV = 0;
}
};
var colorHandlebar = (new flash.geom.ColorTransform());
var handlebar = (new flash.geom.Transform(handlebarTemplate_mc));
handlebar.colorTransform = colorHandlebar;
var handlebarTemplateV = 0;
var handlebarBlackV = 0;
handlebarColor_mc.blackBeard_btn.onRelease = function () {
if (handlebarBlackV == 0) {
if (handlebarTemplateV == 0) {
unloadMovie (handlebarBrown_mc);
unloadMovie (handlebarBlond_mc);
unloadMovie (handlebarRed_mc);
handlebarTemplateGone();
allOtherThanBeardsGone();
handlebarBrownV = 0;
handlebarBlondV = 0;
handlebarRedV = 0;
walrusGone();
daliGone();
toothbrushGone();
fullbeardsGone();
handlebarTemplate_mc._x = 253.3;
(handlebarTemplate_mc._y = 123);
handlebarBlackV = 1;
handlebarTemplateV = 1;
colorHandlebar.redOffset = -230;
colorHandlebar.greenOffset = -230;
colorHandlebar.blueOffset = -230;
handlebar.colorTransform = colorHandlebar;
} else if (handlebarTemplateV == 1) {
colorHandlebar.redOffset = -230;
colorHandlebar.greenOffset = -230;
colorHandlebar.blueOffset = -230;
handlebar.colorTransform = colorHandlebar;
handlebarBlackV = 1;
}
} else if (handlebarBlackV == 1) {
handlebarTemplate_mc._x = 10000;
handlebarTemplate_mc._y = 10000;
handlebarBlackV = 0;
handlebarTemplateV = 0;
}
};
var handlebarGreyV = 0;
handlebarColor_mc.greyBeard_btn.onRelease = function () {
if (handlebarGreyV == 0) {
if (handlebarTemplateV == 0) {
unloadMovie (handlebarBrown_mc);
unloadMovie (handlebarBlond_mc);
unloadMovie (handlebarRed_mc);
handlebarTemplateGone();
allOtherThanBeardsGone();
handlebarBrownV = 0;
handlebarBlondV = 0;
handlebarRedV = 0;
walrusGone();
daliGone();
toothbrushGone();
fullbeardsGone();
handlebarTemplate_mc._x = 253.3;
(handlebarTemplate_mc._y = 123);
handlebarGreyV = 1;
handlebarTemplateV = 1;
colorHandlebar.redOffset = -100;
colorHandlebar.greenOffset = -100;
colorHandlebar.blueOffset = -100;
handlebar.colorTransform = colorHandlebar;
} else if (handlebarTemplateV == 1) {
colorHandlebar.redOffset = -100;
colorHandlebar.greenOffset = -100;
colorHandlebar.blueOffset = -100;
handlebar.colorTransform = colorHandlebar;
handlebarGreyV = 1;
}
} else if (handlebarGreyV == 1) {
handlebarTemplate_mc._x = 10000;
handlebarTemplate_mc._y = 10000;
handlebarGreyV = 0;
handlebarTemplateV = 0;
}
};
var handlebarWhiteV = 0;
handlebarColor_mc.whiteBeard_btn.onRelease = function () {
if (handlebarWhiteV == 0) {
if (handlebarTemplateV == 0) {
unloadMovie (handlebarBrown_mc);
unloadMovie (handlebarBlond_mc);
unloadMovie (handlebarRed_mc);
handlebarTemplateGone();
allOtherThanBeardsGone();
handlebarBrownV = 0;
handlebarBlondV = 0;
handlebarRedV = 0;
walrusGone();
daliGone();
toothbrushGone();
fullbeardsGone();
handlebarTemplate_mc._x = 253.3;
(handlebarTemplate_mc._y = 123);
handlebarWhiteV = 1;
handlebarTemplateV = 1;
colorHandlebar.redOffset = 0;
colorHandlebar.greenOffset = 0;
colorHandlebar.blueOffset = 0;
handlebar.colorTransform = colorHandlebar;
} else if (handlebarTemplateV == 1) {
colorHandlebar.redOffset = 0;
colorHandlebar.greenOffset = 0;
colorHandlebar.blueOffset = 0;
handlebar.colorTransform = colorHandlebar;
handlebarWhiteV = 1;
}
} else if (handlebarWhiteV == 1) {
handlebarTemplate_mc._x = 10000;
handlebarTemplate_mc._y = 10000;
handlebarWhiteV = 0;
handlebarTemplateV = 0;
}
};
var handlebarLightGreenV = 0;
handlebarColor_mc.lightGreenBeard_btn.onRelease = function () {
if (handlebarLightGreenV == 0) {
if (handlebarTemplateV == 0) {
unloadMovie (handlebarBrown_mc);
unloadMovie (handlebarBlond_mc);
unloadMovie (handlebarRed_mc);
handlebarTemplateGone();
allOtherThanBeardsGone();
handlebarBrownV = 0;
handlebarBlondV = 0;
handlebarRedV = 0;
walrusGone();
daliGone();
toothbrushGone();
fullbeardsGone();
handlebarTemplate_mc._x = 253.3;
(handlebarTemplate_mc._y = 123);
handlebarLightGreenV = 1;
handlebarTemplateV = 1;
colorHandlebar.redOffset = -255;
colorHandlebar.greenOffset = -75;
colorHandlebar.blueOffset = -200;
handlebar.colorTransform = colorHandlebar;
} else if (handlebarTemplateV == 1) {
colorHandlebar.redOffset = -255;
colorHandlebar.greenOffset = -75;
colorHandlebar.blueOffset = -200;
handlebar.colorTransform = colorHandlebar;
handlebarLightGreenV = 1;
}
} else if (handlebarLightGreenV == 1) {
handlebarTemplate_mc._x = 10000;
handlebarTemplate_mc._y = 10000;
handlebarLightGreenV = 0;
handlebarTemplateV = 0;
}
};
var handlebarGreenV = 0;
handlebarColor_mc.greenBeard_btn.onRelease = function () {
if (handlebarGreenV == 0) {
if (handlebarTemplateV == 0) {
unloadMovie (handlebarBrown_mc);
unloadMovie (handlebarBlond_mc);
unloadMovie (handlebarRed_mc);
handlebarTemplateGone();
allOtherThanBeardsGone();
handlebarBrownV = 0;
handlebarBlondV = 0;
handlebarRedV = 0;
walrusGone();
daliGone();
toothbrushGone();
fullbeardsGone();
handlebarTemplate_mc._x = 253.3;
(handlebarTemplate_mc._y = 123);
handlebarGreenV = 1;
handlebarTemplateV = 1;
colorHandlebar.redOffset = -255;
colorHandlebar.greenOffset = -150;
colorHandlebar.blueOffset = -255;
handlebar.colorTransform = colorHandlebar;
} else if (handlebarTemplateV == 1) {
colorHandlebar.redOffset = -255;
colorHandlebar.greenOffset = -150;
colorHandlebar.blueOffset = -255;
handlebar.colorTransform = colorHandlebar;
handlebarGreenV = 1;
}
} else if (handlebarGreenV == 1) {
handlebarTemplate_mc._x = 10000;
handlebarTemplate_mc._y = 10000;
handlebarGreenV = 0;
handlebarTemplateV = 0;
}
};
var handlebarYellowV = 0;
handlebarColor_mc.yellowBeard_btn.onRelease = function () {
if (handlebarYellowV == 0) {
if (handlebarTemplateV == 0) {
unloadMovie (handlebarBrown_mc);
unloadMovie (handlebarBlond_mc);
unloadMovie (handlebarRed_mc);
handlebarTemplateGone();
allOtherThanBeardsGone();
handlebarBrownV = 0;
handlebarBlondV = 0;
handlebarRedV = 0;
walrusGone();
daliGone();
toothbrushGone();
fullbeardsGone();
handlebarTemplate_mc._x = 253.3;
(handlebarTemplate_mc._y = 123);
handlebarYellowV = 1;
handlebarTemplateV = 1;
colorHandlebar.redOffset = 0;
colorHandlebar.greenOffset = 0;
colorHandlebar.blueOffset = -255;
handlebar.colorTransform = colorHandlebar;
} else if (handlebarTemplateV == 1) {
colorHandlebar.redOffset = 0;
colorHandlebar.greenOffset = 0;
colorHandlebar.blueOffset = -255;
handlebar.colorTransform = colorHandlebar;
handlebarYellowV = 1;
}
} else if (handlebarYellowV == 1) {
handlebarTemplate_mc._x = 10000;
handlebarTemplate_mc._y = 10000;
handlebarYellowV = 0;
handlebarTemplateV = 0;
}
};
var handlebarPinkV = 0;
handlebarColor_mc.pinkBeard_btn.onRelease = function () {
if (handlebarPinkV == 0) {
if (handlebarTemplateV == 0) {
unloadMovie (handlebarBrown_mc);
unloadMovie (handlebarBlond_mc);
unloadMovie (handlebarRed_mc);
handlebarTemplateGone();
allOtherThanBeardsGone();
handlebarBrownV = 0;
handlebarBlondV = 0;
handlebarRedV = 0;
walrusGone();
daliGone();
toothbrushGone();
fullbeardsGone();
handlebarTemplate_mc._x = 253.3;
(handlebarTemplate_mc._y = 123);
handlebarPinkV = 1;
handlebarTemplateV = 1;
colorHandlebar.redOffset = 0;
colorHandlebar.greenOffset = -255;
colorHandlebar.blueOffset = 0;
handlebar.colorTransform = colorHandlebar;
} else if (handlebarTemplateV == 1) {
colorHandlebar.redOffset = 0;
colorHandlebar.greenOffset = -255;
colorHandlebar.blueOffset = 0;
handlebar.colorTransform = colorHandlebar;
handlebarPinkV = 1;
}
} else if (handlebarPinkV == 1) {
handlebarTemplate_mc._x = 10000;
handlebarTemplate_mc._y = 10000;
handlebarPinkV = 0;
handlebarTemplateV = 0;
}
};
var handlebarTealV = 0;
handlebarColor_mc.tealBeard_btn.onRelease = function () {
if (handlebarTealV == 0) {
if (handlebarTemplateV == 0) {
unloadMovie (handlebarBrown_mc);
unloadMovie (handlebarBlond_mc);
unloadMovie (handlebarRed_mc);
handlebarTemplateGone();
allOtherThanBeardsGone();
handlebarBrownV = 0;
handlebarBlondV = 0;
handlebarRedV = 0;
walrusGone();
daliGone();
toothbrushGone();
fullbeardsGone();
handlebarTemplate_mc._x = 253.3;
(handlebarTemplate_mc._y = 123);
handlebarTealV = 1;
handlebarTemplateV = 1;
colorHandlebar.redOffset = -255;
colorHandlebar.greenOffset = 0;
colorHandlebar.blueOffset = 0;
handlebar.colorTransform = colorHandlebar;
} else if (handlebarTemplateV == 1) {
colorHandlebar.redOffset = -255;
colorHandlebar.greenOffset = 0;
colorHandlebar.blueOffset = 0;
handlebar.colorTransform = colorHandlebar;
handlebarTealV = 1;
}
} else if (handlebarTealV == 1) {
handlebarTemplate_mc._x = 10000;
handlebarTemplate_mc._y = 10000;
handlebarTealV = 0;
handlebarTemplateV = 0;
}
};
var handlebarBlueV = 0;
handlebarColor_mc.blueBeard_btn.onRelease = function () {
if (handlebarBlueV == 0) {
if (handlebarTemplateV == 0) {
unloadMovie (handlebarBrown_mc);
unloadMovie (handlebarBlond_mc);
unloadMovie (handlebarRed_mc);
handlebarTemplateGone();
allOtherThanBeardsGone();
handlebarBrownV = 0;
handlebarBlondV = 0;
handlebarRedV = 0;
walrusGone();
daliGone();
toothbrushGone();
fullbeardsGone();
handlebarTemplate_mc._x = 253.3;
(handlebarTemplate_mc._y = 123);
handlebarBlueV = 1;
handlebarTemplateV = 1;
colorHandlebar.redOffset = -255;
colorHandlebar.greenOffset = -255;
colorHandlebar.blueOffset = 0;
handlebar.colorTransform = colorHandlebar;
} else if (handlebarTemplateV == 1) {
colorHandlebar.redOffset = -255;
colorHandlebar.greenOffset = -255;
colorHandlebar.blueOffset = 0;
handlebar.colorTransform = colorHandlebar;
handlebarBlueV = 1;
}
} else if (handlebarBlueV == 1) {
handlebarTemplate_mc._x = 10000;
handlebarTemplate_mc._y = 10000;
handlebarBlueV = 0;
handlebarTemplateV = 0;
}
};
beardMenu2_mc.walrus_btn.onRelease = function () {
walrusColorDown();
};
var walrusBlondV = 0;
walrusColor_mc.blondBeard_btn.onRelease = function () {
if (walrusBlondV == 0) {
unloadMovie (walrusRed_mc);
unloadMovie (walrusBrown_mc);
walrusTemplateGone();
allOtherThanBeardsGone();
walrusTemplateV = 0;
walrusTemplate_mc._x = 10000;
walrusTemplate_mc._y = 10000;
walrusBrownV = 0;
walrusRedV = 0;
handlebarGone();
daliGone();
toothbrushGone();
fullbeardsGone();
_root.attachMovie("walrusBlond_mc", "walrusBlond_mc", mustacheLayerValue, {_x:259.1, _y:124});
walrusBlondV = 1;
} else if (walrusBlondV == 1) {
unloadMovie (walrusBlond_mc);
walrusBlondV = 0;
}
};
var walrusBrownV = 0;
walrusColor_mc.brownBeard_btn.onRelease = function () {
if (walrusBrownV == 0) {
unloadMovie (walrusBlond_mc);
unloadMovie (walrusRed_mc);
walrusTemplateGone();
allOtherThanBeardsGone();
walrusTemplateV = 0;
walrusTemplate_mc._x = 10000;
walrusTemplate_mc._y = 10000;
walrusBlondV = 0;
walrusRedV = 0;
handlebarGone();
daliGone();
toothbrushGone();
fullbeardsGone();
_root.attachMovie("walrusBrown_mc", "walrusBrown_mc", mustacheLayerValue, {_x:259.1, _y:124});
walrusBrownV = 1;
} else if (walrusBrownV == 1) {
unloadMovie (walrusBrown_mc);
walrusBrownV = 0;
}
};
var walrusRedV = 0;
walrusColor_mc.redBeard_btn.onRelease = function () {
if (walrusRedV == 0) {
unloadMovie (walrusBrown_mc);
unloadMovie (walrusBlond_mc);
walrusTemplateGone();
allOtherThanBeardsGone();
walrusTemplateV = 0;
walrusTemplate_mc._x = 10000;
walrusTemplate_mc._y = 10000;
walrusBrownV = 0;
walrusBlondV = 0;
handlebarGone();
daliGone();
toothbrushGone();
fullbeardsGone();
_root.attachMovie("walrusRed_mc", "walrusRed_mc", mustacheLayerValue, {_x:259.1, _y:124});
walrusRedV = 1;
} else if (walrusRedV == 1) {
unloadMovie (walrusRed_mc);
walrusRedV = 0;
}
};
var colorWalrus = (new flash.geom.ColorTransform());
var walrus = (new flash.geom.Transform(walrusTemplate_mc));
walrus.colorTransform = colorWalrus;
var walrusTemplateV = 0;
var walrusBlackV = 0;
walrusColor_mc.blackBeard_btn.onRelease = function () {
if (walrusBlackV == 0) {
if (walrusTemplateV == 0) {
unloadMovie (walrusBrown_mc);
unloadMovie (walrusBlond_mc);
unloadMovie (walrusRed_mc);
walrusTemplateGone();
walrusBrownV = 0;
walrusBlondV = 0;
walrusRedV = 0;
handlebarGone();
daliGone();
toothbrushGone();
fullbeardsGone();
walrusTemplate_mc._x = 259.1;
walrusTemplate_mc._y = 124;
walrusBlackV = 1;
walrusTemplateV = 1;
colorWalrus.redOffset = -230;
colorWalrus.greenOffset = -230;
colorWalrus.blueOffset = -230;
walrus.colorTransform = colorWalrus;
} else if (walrusTemplateV == 1) {
colorWalrus.redOffset = -230;
colorWalrus.greenOffset = -230;
colorWalrus.blueOffset = -230;
walrus.colorTransform = colorWalrus;
walrusBlackV = 1;
}
} else if (walrusBlackV == 1) {
walrusTemplate_mc._x = 10000;
walrusTemplate_mc._y = 10000;
walrusBlackV = 0;
walrusTemplateV = 0;
}
};
var walrusGreyV = 0;
walrusColor_mc.greyBeard_btn.onRelease = function () {
if (walrusGreyV == 0) {
if (walrusTemplateV == 0) {
unloadMovie (walrusBrown_mc);
unloadMovie (walrusBlond_mc);
unloadMovie (walrusRed_mc);
walrusTemplateGone();
walrusBrownV = 0;
walrusBlondV = 0;
walrusRedV = 0;
handlebarGone();
daliGone();
toothbrushGone();
fullbeardsGone();
walrusTemplate_mc._x = 259.1;
walrusTemplate_mc._y = 124;
walrusGreyV = 1;
walrusTemplateV = 1;
colorWalrus.redOffset = -100;
colorWalrus.greenOffset = -100;
colorWalrus.blueOffset = -100;
walrus.colorTransform = colorWalrus;
} else if (walrusTemplateV == 1) {
colorWalrus.redOffset = -100;
colorWalrus.greenOffset = -100;
colorWalrus.blueOffset = -100;
walrus.colorTransform = colorWalrus;
walrusGreyV = 1;
}
} else if (walrusGreyV == 1) {
walrusTemplate_mc._x = 10000;
walrusTemplate_mc._y = 10000;
walrusGreyV = 0;
walrusTemplateV = 0;
}
};
var walrusWhiteV = 0;
walrusColor_mc.whiteBeard_btn.onRelease = function () {
if (walrusWhiteV == 0) {
if (walrusTemplateV == 0) {
unloadMovie (walrusBrown_mc);
unloadMovie (walrusBlond_mc);
unloadMovie (walrusRed_mc);
walrusTemplateGone();
walrusBrownV = 0;
walrusBlondV = 0;
walrusRedV = 0;
handlebarGone();
daliGone();
toothbrushGone();
fullbeardsGone();
walrusTemplate_mc._x = 259.1;
walrusTemplate_mc._y = 124;
walrusWhiteV = 1;
walrusTemplateV = 1;
colorWalrus.redOffset = 0;
colorWalrus.greenOffset = 0;
colorWalrus.blueOffset = 0;
walrus.colorTransform = colorWalrus;
} else if (walrusTemplateV == 1) {
colorWalrus.redOffset = 0;
colorWalrus.greenOffset = 0;
colorWalrus.blueOffset = 0;
walrus.colorTransform = colorWalrus;
walrusWhiteV = 1;
}
} else if (walrusWhiteV == 1) {
walrusTemplate_mc._x = 10000;
walrusTemplate_mc._y = 10000;
walrusWhiteV = 0;
walrusTemplateV = 0;
}
};
var walrusLightGreenV = 0;
walrusColor_mc.lightGreenBeard_btn.onRelease = function () {
if (walrusLightGreenV == 0) {
if (walrusTemplateV == 0) {
unloadMovie (walrusBrown_mc);
unloadMovie (walrusBlond_mc);
unloadMovie (walrusRed_mc);
walrusTemplateGone();
walrusBrownV = 0;
walrusBlondV = 0;
walrusRedV = 0;
handlebarGone();
daliGone();
toothbrushGone();
fullbeardsGone();
walrusTemplate_mc._x = 259.1;
walrusTemplate_mc._y = 124;
walrusLightGreenV = 1;
walrusTemplateV = 1;
colorWalrus.redOffset = -255;
colorWalrus.greenOffset = -75;
colorWalrus.blueOffset = -200;
walrus.colorTransform = colorWalrus;
} else if (walrusTemplateV == 1) {
colorWalrus.redOffset = -255;
colorWalrus.greenOffset = -75;
colorWalrus.blueOffset = -200;
walrus.colorTransform = colorWalrus;
walrusLightGreenV = 1;
}
} else if (walrusLightGreenV == 1) {
walrusTemplate_mc._x = 10000;
walrusTemplate_mc._y = 10000;
walrusLightGreenV = 0;
walrusTemplateV = 0;
}
};
var walrusGreenV = 0;
walrusColor_mc.greenBeard_btn.onRelease = function () {
if (walrusGreenV == 0) {
if (walrusTemplateV == 0) {
unloadMovie (walrusBrown_mc);
unloadMovie (walrusBlond_mc);
unloadMovie (walrusRed_mc);
walrusTemplateGone();
walrusBrownV = 0;
walrusBlondV = 0;
walrusRedV = 0;
handlebarGone();
daliGone();
toothbrushGone();
fullbeardsGone();
walrusTemplate_mc._x = 259.1;
walrusTemplate_mc._y = 124;
walrusGreenV = 1;
walrusTemplateV = 1;
colorWalrus.redOffset = -255;
colorWalrus.greenOffset = -150;
colorWalrus.blueOffset = -255;
walrus.colorTransform = colorWalrus;
} else if (walrusTemplateV == 1) {
colorWalrus.redOffset = -255;
colorWalrus.greenOffset = -150;
colorWalrus.blueOffset = -255;
walrus.colorTransform = colorWalrus;
walrusGreenV = 1;
}
} else if (walrusGreenV == 1) {
walrusTemplate_mc._x = 10000;
walrusTemplate_mc._y = 10000;
walrusGreenV = 0;
walrusTemplateV = 0;
}
};
var walrusYellowV = 0;
walrusColor_mc.yellowBeard_btn.onRelease = function () {
if (walrusYellowV == 0) {
if (walrusTemplateV == 0) {
unloadMovie (walrusBrown_mc);
unloadMovie (walrusBlond_mc);
unloadMovie (walrusRed_mc);
walrusTemplateGone();
walrusBrownV = 0;
walrusBlondV = 0;
walrusRedV = 0;
handlebarGone();
daliGone();
toothbrushGone();
fullbeardsGone();
walrusTemplate_mc._x = 259.1;
walrusTemplate_mc._y = 124;
walrusYellowV = 1;
walrusTemplateV = 1;
colorWalrus.redOffset = 0;
colorWalrus.greenOffset = 0;
colorWalrus.blueOffset = -255;
walrus.colorTransform = colorWalrus;
} else if (walrusTemplateV == 1) {
colorWalrus.redOffset = 0;
colorWalrus.greenOffset = 0;
colorWalrus.blueOffset = -255;
walrus.colorTransform = colorWalrus;
walrusYellowV = 1;
}
} else if (walrusYellowV == 1) {
walrusTemplate_mc._x = 10000;
walrusTemplate_mc._y = 10000;
walrusYellowV = 0;
walrusTemplateV = 0;
}
};
var walrusPinkV = 0;
walrusColor_mc.pinkBeard_btn.onRelease = function () {
if (walrusPinkV == 0) {
if (walrusTemplateV == 0) {
unloadMovie (walrusBrown_mc);
unloadMovie (walrusBlond_mc);
unloadMovie (walrusRed_mc);
walrusTemplateGone();
walrusBrownV = 0;
walrusBlondV = 0;
walrusRedV = 0;
handlebarGone();
daliGone();
toothbrushGone();
fullbeardsGone();
walrusTemplate_mc._x = 259.1;
walrusTemplate_mc._y = 124;
walrusPinkV = 1;
walrusTemplateV = 1;
colorWalrus.redOffset = 0;
colorWalrus.greenOffset = -255;
colorWalrus.blueOffset = 0;
walrus.colorTransform = colorWalrus;
} else if (walrusTemplateV == 1) {
colorWalrus.redOffset = 0;
colorWalrus.greenOffset = -255;
colorWalrus.blueOffset = 0;
walrus.colorTransform = colorWalrus;
walrusPinkV = 1;
}
} else if (walrusPinkV == 1) {
walrusTemplate_mc._x = 10000;
walrusTemplate_mc._y = 10000;
walrusPinkV = 0;
walrusTemplateV = 0;
}
};
var walrusTealV = 0;
walrusColor_mc.tealBeard_btn.onRelease = function () {
if (walrusTealV == 0) {
if (walrusTemplateV == 0) {
unloadMovie (walrusBrown_mc);
unloadMovie (walrusBlond_mc);
unloadMovie (walrusRed_mc);
walrusTemplateGone();
walrusBrownV = 0;
walrusBlondV = 0;
walrusRedV = 0;
handlebarGone();
daliGone();
toothbrushGone();
fullbeardsGone();
walrusTemplate_mc._x = 259.1;
walrusTemplate_mc._y = 124;
walrusTealV = 1;
walrusTemplateV = 1;
colorWalrus.redOffset = -255;
colorWalrus.greenOffset = 0;
colorWalrus.blueOffset = 0;
walrus.colorTransform = colorWalrus;
} else if (walrusTemplateV == 1) {
colorWalrus.redOffset = -255;
colorWalrus.greenOffset = 0;
colorWalrus.blueOffset = 0;
walrus.colorTransform = colorWalrus;
walrusTealV = 1;
}
} else if (walrusTealV == 1) {
walrusTemplate_mc._x = 10000;
walrusTemplate_mc._y = 10000;
walrusTealV = 0;
walrusTemplateV = 0;
}
};
var walrusBlueV = 0;
walrusColor_mc.blueBeard_btn.onRelease = function () {
if (walrusBlueV == 0) {
if (walrusTemplateV == 0) {
unloadMovie (walrusBrown_mc);
unloadMovie (walrusBlond_mc);
unloadMovie (walrusRed_mc);
walrusTemplateGone();
walrusBrownV = 0;
walrusBlondV = 0;
walrusRedV = 0;
handlebarGone();
daliGone();
toothbrushGone();
fullbeardsGone();
walrusTemplate_mc._x = 259.1;
walrusTemplate_mc._y = 124;
walrusBlueV = 1;
walrusTemplateV = 1;
colorWalrus.redOffset = -255;
colorWalrus.greenOffset = -255;
colorWalrus.blueOffset = 0;
walrus.colorTransform = colorWalrus;
} else if (walrusTemplateV == 1) {
colorWalrus.redOffset = -255;
colorWalrus.greenOffset = -255;
colorWalrus.blueOffset = 0;
walrus.colorTransform = colorWalrus;
walrusBlueV = 1;
}
} else if (walrusBlueV == 1) {
walrusTemplate_mc._x = 10000;
walrusTemplate_mc._y = 10000;
walrusBlueV = 0;
walrusTemplateV = 0;
}
};
beardMenu2_mc.dali_btn.onRelease = function () {
daliColorDown();
};
var daliBlondV = 0;
daliColor_mc.blondBeard_btn.onRelease = function () {
if (daliBlondV == 0) {
unloadMovie (daliRed_mc);
unloadMovie (daliBrown_mc);
daliTemplateGone();
allOtherThanBeardsGone();
daliTemplateV = 0;
daliTemplate_mc._x = 10000;
daliTemplate_mc._y = 10000;
daliBrownV = 0;
daliRedV = 0;
handlebarGone();
walrusGone();
toothbrushGone();
fullbeardsGone();
_root.attachMovie("daliBlond_mc", "daliBlond_mc", mustacheLayerValue, {_x:254.1, _y:110.6});
daliBlondV = 1;
} else if (daliBlondV == 1) {
unloadMovie (daliBlond_mc);
daliBlondV = 0;
}
};
var daliBrownV = 0;
daliColor_mc.brownBeard_btn.onRelease = function () {
if (daliBrownV == 0) {
unloadMovie (daliBlond_mc);
unloadMovie (daliRed_mc);
daliTemplateGone();
allOtherThanBeardsGone();
daliTemplateV = 0;
daliTemplate_mc._x = 10000;
daliTemplate_mc._y = 10000;
daliBlondV = 0;
daliRedV = 0;
handlebarGone();
walrusGone();
toothbrushGone();
fullbeardsGone();
_root.attachMovie("daliBrown_mc", "daliBrown_mc", mustacheLayerValue, {_x:254.1, _y:110.6});
daliBrownV = 1;
} else if (daliBrownV == 1) {
unloadMovie (daliBrown_mc);
daliBrownV = 0;
}
};
var daliRedV = 0;
daliColor_mc.redBeard_btn.onRelease = function () {
if (daliRedV == 0) {
unloadMovie (daliBrown_mc);
unloadMovie (daliBlond_mc);
daliTemplateGone();
allOtherThanBeardsGone();
daliTemplateV = 0;
daliTemplate_mc._x = 10000;
daliTemplate_mc._y = 10000;
daliBrownV = 0;
daliBlondV = 0;
handlebarGone();
walrusGone();
toothbrushGone();
fullbeardsGone();
_root.attachMovie("daliRed_mc", "daliRed_mc", mustacheLayerValue, {_x:254.1, _y:110.6});
daliRedV = 1;
} else if (daliRedV == 1) {
unloadMovie (daliRed_mc);
daliRedV = 0;
}
};
var colorDali = (new flash.geom.ColorTransform());
var dali = (new flash.geom.Transform(daliTemplate_mc));
dali.colorTransform = colorDali;
var daliTemplateV = 0;
var daliBlackV = 0;
daliColor_mc.blackBeard_btn.onRelease = function () {
if (daliBlackV == 0) {
if (daliTemplateV == 0) {
unloadMovie (daliBrown_mc);
unloadMovie (daliBlond_mc);
unloadMovie (daliRed_mc);
daliTemplateGone();
allOtherThanBeardsGone();
daliBrownV = 0;
daliBlondV = 0;
daliRedV = 0;
handlebarGone();
walrusGone();
toothbrushGone();
fullbeardsGone();
daliTemplate_mc._x = 254.1;
daliTemplate_mc._y = 110.6;
daliBlackV = 1;
daliTemplateV = 1;
colorDali.redOffset = -230;
colorDali.greenOffset = -230;
colorDali.blueOffset = -230;
dali.colorTransform = colorDali;
} else if (daliTemplateV == 1) {
colorDali.redOffset = -230;
colorDali.greenOffset = -230;
colorDali.blueOffset = -230;
dali.colorTransform = colorDali;
daliBlackV = 1;
}
} else if (daliBlackV == 1) {
daliTemplate_mc._x = 10000;
daliTemplate_mc._y = 10000;
daliBlackV = 0;
daliTemplateV = 0;
}
};
var daliGreyV = 0;
daliColor_mc.greyBeard_btn.onRelease = function () {
if (daliGreyV == 0) {
if (daliTemplateV == 0) {
unloadMovie (daliBrown_mc);
unloadMovie (daliBlond_mc);
unloadMovie (daliRed_mc);
daliTemplateGone();
allOtherThanBeardsGone();
daliBrownV = 0;
daliBlondV = 0;
daliRedV = 0;
handlebarGone();
walrusGone();
toothbrushGone();
fullbeardsGone();
daliTemplate_mc._x = 254.1;
daliTemplate_mc._y = 110.6;
daliGreyV = 1;
daliTemplateV = 1;
colorDali.redOffset = -100;
colorDali.greenOffset = -100;
colorDali.blueOffset = -100;
dali.colorTransform = colorDali;
} else if (daliTemplateV == 1) {
colorDali.redOffset = -100;
colorDali.greenOffset = -100;
colorDali.blueOffset = -100;
dali.colorTransform = colorDali;
daliGreyV = 1;
}
} else if (daliGreyV == 1) {
daliTemplate_mc._x = 10000;
daliTemplate_mc._y = 10000;
daliGreyV = 0;
daliTemplateV = 0;
}
};
var daliWhiteV = 0;
daliColor_mc.whiteBeard_btn.onRelease = function () {
if (daliWhiteV == 0) {
if (daliTemplateV == 0) {
unloadMovie (daliBrown_mc);
unloadMovie (daliBlond_mc);
unloadMovie (daliRed_mc);
daliTemplateGone();
allOtherThanBeardsGone();
daliBrownV = 0;
daliBlondV = 0;
daliRedV = 0;
handlebarGone();
walrusGone();
toothbrushGone();
fullbeardsGone();
daliTemplate_mc._x = 254.1;
daliTemplate_mc._y = 110.6;
daliWhiteV = 1;
daliTemplateV = 1;
colorDali.redOffset = 0;
colorDali.greenOffset = 0;
colorDali.blueOffset = 0;
dali.colorTransform = colorDali;
} else if (daliTemplateV == 1) {
colorDali.redOffset = 0;
colorDali.greenOffset = 0;
colorDali.blueOffset = 0;
dali.colorTransform = colorDali;
daliWhiteV = 1;
}
} else if (daliWhiteV == 1) {
daliTemplate_mc._x = 10000;
daliTemplate_mc._y = 10000;
daliWhiteV = 0;
daliTemplateV = 0;
}
};
var daliLightGreenV = 0;
daliColor_mc.lightGreenBeard_btn.onRelease = function () {
if (daliLightGreenV == 0) {
if (daliTemplateV == 0) {
unloadMovie (daliBrown_mc);
unloadMovie (daliBlond_mc);
unloadMovie (daliRed_mc);
daliTemplateGone();
allOtherThanBeardsGone();
daliBrownV = 0;
daliBlondV = 0;
daliRedV = 0;
handlebarGone();
walrusGone();
toothbrushGone();
fullbeardsGone();
daliTemplate_mc._x = 254.1;
daliTemplate_mc._y = 110.6;
daliLightGreenV = 1;
daliTemplateV = 1;
colorDali.redOffset = -255;
colorDali.greenOffset = -75;
colorDali.blueOffset = -200;
dali.colorTransform = colorDali;
} else if (daliTemplateV == 1) {
colorDali.redOffset = -255;
colorDali.greenOffset = -75;
colorDali.blueOffset = -200;
dali.colorTransform = colorDali;
daliLightGreenV = 1;
}
} else if (daliLightGreenV == 1) {
daliTemplate_mc._x = 10000;
daliTemplate_mc._y = 10000;
daliLightGreenV = 0;
daliTemplateV = 0;
}
};
var daliGreenV = 0;
daliColor_mc.greenBeard_btn.onRelease = function () {
if (daliGreenV == 0) {
if (daliTemplateV == 0) {
unloadMovie (daliBrown_mc);
unloadMovie (daliBlond_mc);
unloadMovie (daliRed_mc);
daliTemplateGone();
allOtherThanBeardsGone();
daliBrownV = 0;
daliBlondV = 0;
daliRedV = 0;
handlebarGone();
walrusGone();
toothbrushGone();
fullbeardsGone();
daliTemplate_mc._x = 254.1;
daliTemplate_mc._y = 110.6;
daliGreenV = 1;
daliTemplateV = 1;
colorDali.redOffset = -255;
colorDali.greenOffset = -150;
colorDali.blueOffset = -255;
dali.colorTransform = colorDali;
} else if (daliTemplateV == 1) {
colorDali.redOffset = -255;
colorDali.greenOffset = -150;
colorDali.blueOffset = -255;
dali.colorTransform = colorDali;
daliGreenV = 1;
}
} else if (daliGreenV == 1) {
daliTemplate_mc._x = 10000;
daliTemplate_mc._y = 10000;
daliGreenV = 0;
daliTemplateV = 0;
}
};
var daliYellowV = 0;
daliColor_mc.yellowBeard_btn.onRelease = function () {
if (daliYellowV == 0) {
if (daliTemplateV == 0) {
unloadMovie (daliBrown_mc);
unloadMovie (daliBlond_mc);
unloadMovie (daliRed_mc);
daliTemplateGone();
allOtherThanBeardsGone();
daliBrownV = 0;
daliBlondV = 0;
daliRedV = 0;
handlebarGone();
walrusGone();
toothbrushGone();
fullbeardsGone();
daliTemplate_mc._x = 254.1;
daliTemplate_mc._y = 110.6;
daliYellowV = 1;
daliTemplateV = 1;
colorDali.redOffset = 0;
colorDali.greenOffset = 0;
colorDali.blueOffset = -255;
dali.colorTransform = colorDali;
} else if (daliTemplateV == 1) {
colorDali.redOffset = 0;
colorDali.greenOffset = 0;
colorDali.blueOffset = -255;
dali.colorTransform = colorDali;
daliYellowV = 1;
}
} else if (daliYellowV == 1) {
daliTemplate_mc._x = 10000;
daliTemplate_mc._y = 10000;
daliYellowV = 0;
daliTemplateV = 0;
}
};
var daliPinkV = 0;
daliColor_mc.pinkBeard_btn.onRelease = function () {
if (daliPinkV == 0) {
if (daliTemplateV == 0) {
unloadMovie (daliBrown_mc);
unloadMovie (daliBlond_mc);
unloadMovie (daliRed_mc);
daliTemplateGone();
allOtherThanBeardsGone();
daliBrownV = 0;
daliBlondV = 0;
daliRedV = 0;
handlebarGone();
walrusGone();
toothbrushGone();
fullbeardsGone();
daliTemplate_mc._x = 254.1;
daliTemplate_mc._y = 110.6;
daliPinkV = 1;
daliTemplateV = 1;
colorDali.redOffset = 0;
colorDali.greenOffset = -255;
colorDali.blueOffset = 0;
dali.colorTransform = colorDali;
} else if (daliTemplateV == 1) {
colorDali.redOffset = 0;
colorDali.greenOffset = -255;
colorDali.blueOffset = 0;
dali.colorTransform = colorDali;
daliPinkV = 1;
}
} else if (daliPinkV == 1) {
daliTemplate_mc._x = 10000;
daliTemplate_mc._y = 10000;
daliPinkV = 0;
daliTemplateV = 0;
}
};
var daliTealV = 0;
daliColor_mc.tealBeard_btn.onRelease = function () {
if (daliTealV == 0) {
if (daliTemplateV == 0) {
unloadMovie (daliBrown_mc);
unloadMovie (daliBlond_mc);
unloadMovie (daliRed_mc);
daliTemplateGone();
allOtherThanBeardsGone();
daliBrownV = 0;
daliBlondV = 0;
daliRedV = 0;
handlebarGone();
walrusGone();
toothbrushGone();
fullbeardsGone();
daliTemplate_mc._x = 254.1;
daliTemplate_mc._y = 110.6;
daliTealV = 1;
daliTemplateV = 1;
colorDali.redOffset = -255;
colorDali.greenOffset = 0;
colorDali.blueOffset = 0;
dali.colorTransform = colorDali;
} else if (daliTemplateV == 1) {
colorDali.redOffset = -255;
colorDali.greenOffset = 0;
colorDali.blueOffset = 0;
dali.colorTransform = colorDali;
daliTealV = 1;
}
} else if (daliTealV == 1) {
daliTemplate_mc._x = 10000;
daliTemplate_mc._y = 10000;
daliTealV = 0;
daliTemplateV = 0;
}
};
var daliBlueV = 0;
daliColor_mc.blueBeard_btn.onRelease = function () {
if (daliBlueV == 0) {
if (daliTemplateV == 0) {
unloadMovie (daliBrown_mc);
unloadMovie (daliBlond_mc);
unloadMovie (daliRed_mc);
daliTemplateGone();
allOtherThanBeardsGone();
daliBrownV = 0;
daliBlondV = 0;
daliRedV = 0;
handlebarGone();
walrusGone();
toothbrushGone();
fullbeardsGone();
daliTemplate_mc._x = 254.1;
daliTemplate_mc._y = 110.6;
daliBlueV = 1;
daliTemplateV = 1;
colorDali.redOffset = -255;
colorDali.greenOffset = -255;
colorDali.blueOffset = 0;
dali.colorTransform = colorDali;
} else if (daliTemplateV == 1) {
colorDali.redOffset = -255;
colorDali.greenOffset = -255;
colorDali.blueOffset = 0;
dali.colorTransform = colorDali;
daliBlueV = 1;
}
} else if (daliBlueV == 1) {
daliTemplate_mc._x = 10000;
daliTemplate_mc._y = 10000;
daliBlueV = 0;
daliTemplateV = 0;
}
};
beardMenu2_mc.horseshoe_btn.onRelease = function () {
horseshoeColorDown();
};
var horseshoeBlondV = 0;
horseshoeColor_mc.blondBeard_btn.onRelease = function () {
if (horseshoeBlondV == 0) {
unloadMovie (horseshoeRed_mc);
unloadMovie (horseshoeBrown_mc);
horseshoeTemplateGone();
allOtherThanBeardsGone();
horseshoeTemplateV = 0;
horseshoeTemplate_mc._x = 10000;
horseshoeTemplate_mc._y = 10000;
horseshoeBrownV = 0;
horseshoeRedV = 0;
santaStyleGone();
muttonChopsGone();
fullBeardGone();
mustacheGone();
goateesGone();
_root.attachMovie("horseshoeBlond_mc", "horseshoeBlond_mc", fullbeardLayerValue, {_x:258.6, _y:126.3});
horseshoeBlondV = 1;
} else if (horseshoeBlondV == 1) {
unloadMovie (horseshoeBlond_mc);
horseshoeBlondV = 0;
}
};
var horseshoeBrownV = 0;
horseshoeColor_mc.brownBeard_btn.onRelease = function () {
if (horseshoeBrownV == 0) {
unloadMovie (horseshoeBlond_mc);
unloadMovie (horseshoeRed_mc);
horseshoeTemplateGone();
allOtherThanBeardsGone();
horseshoeTemplateV = 0;
horseshoeTemplate_mc._x = 10000;
horseshoeTemplate_mc._y = 10000;
horseshoeBlondV = 0;
horseshoeRedV = 0;
santaStyleGone();
muttonChopsGone();
fullBeardGone();
mustacheGone();
goateesGone();
_root.attachMovie("horseshoeBrown_mc", "horseshoeBrown_mc", fullbeardLayerValue, {_x:258.6, _y:126.3});
horseshoeBrownV = 1;
} else if (horseshoeBrownV == 1) {
unloadMovie (horseshoeBrown_mc);
horseshoeBrownV = 0;
}
};
var horseshoeRedV = 0;
horseshoeColor_mc.redBeard_btn.onRelease = function () {
if (horseshoeRedV == 0) {
unloadMovie (horseshoeBrown_mc);
unloadMovie (horseshoeBlond_mc);
horseshoeTemplateGone();
allOtherThanBeardsGone();
horseshoeTemplateV = 0;
horseshoeTemplate_mc._x = 10000;
horseshoeTemplate_mc._y = 10000;
horseshoeBrownV = 0;
horseshoeBlondV = 0;
santaStyleGone();
muttonChopsGone();
fullBeardGone();
mustacheGone();
goateesGone();
_root.attachMovie("horseshoeRed_mc", "horseshoeRed_mc", fullbeardLayerValue, {_x:258.6, _y:126.3});
horseshoeRedV = 1;
} else if (horseshoeRedV == 1) {
unloadMovie (horseshoeRed_mc);
horseshoeRedV = 0;
}
};
var colorHorseshoe = (new flash.geom.ColorTransform());
var horseshoe = (new flash.geom.Transform(horseshoeTemplate_mc));
horseshoe.colorTransform = colorHorseshoe;
var horseshoeTemplateV = 0;
var horseshoeBlackV = 0;
horseshoeColor_mc.blackBeard_btn.onRelease = function () {
if (horseshoeBlackV == 0) {
if (horseshoeTemplateV == 0) {
unloadMovie (horseshoeBrown_mc);
unloadMovie (horseshoeBlond_mc);
unloadMovie (horseshoeRed_mc);
horseshoeTemplateGone();
allOtherThanBeardsGone();
horseshoeBrownV = 0;
horseshoeBlondV = 0;
horseshoeRedV = 0;
santaStyleGone();
muttonChopsGone();
fullBeardGone();
mustacheGone();
goateesGone();
horseshoeTemplate_mc._x = 258.6;
horseshoeTemplate_mc._y = 126.3;
horseshoeBlackV = 1;
horseshoeTemplateV = 1;
colorHorseshoe.redOffset = -230;
colorHorseshoe.greenOffset = -230;
colorHorseshoe.blueOffset = -230;
horseshoe.colorTransform = colorHorseshoe;
} else if (horseshoeTemplateV == 1) {
colorHorseshoe.redOffset = -230;
colorHorseshoe.greenOffset = -230;
colorHorseshoe.blueOffset = -230;
horseshoe.colorTransform = colorHorseshoe;
horseshoeBlackV = 1;
}
} else if (horseshoeBlackV == 1) {
horseshoeTemplate_mc._x = 10000;
horseshoeTemplate_mc._y = 10000;
horseshoeBlackV = 0;
horseshoeTemplateV = 0;
}
};
var horseshoeGreyV = 0;
horseshoeColor_mc.greyBeard_btn.onRelease = function () {
if (horseshoeGreyV == 0) {
if (horseshoeTemplateV == 0) {
unloadMovie (horseshoeBrown_mc);
unloadMovie (horseshoeBlond_mc);
unloadMovie (horseshoeRed_mc);
horseshoeTemplateGone();
allOtherThanBeardsGone();
horseshoeBrownV = 0;
horseshoeBlondV = 0;
horseshoeRedV = 0;
santaStyleGone();
muttonChopsGone();
fullBeardGone();
mustacheGone();
goateesGone();
horseshoeTemplate_mc._x = 258.6;
horseshoeTemplate_mc._y = 126.3;
horseshoeGreyV = 1;
horseshoeTemplateV = 1;
colorHorseshoe.redOffset = -100;
colorHorseshoe.greenOffset = -100;
colorHorseshoe.blueOffset = -100;
horseshoe.colorTransform = colorHorseshoe;
} else if (horseshoeTemplateV == 1) {
colorHorseshoe.redOffset = -100;
colorHorseshoe.greenOffset = -100;
colorHorseshoe.blueOffset = -100;
horseshoe.colorTransform = colorHorseshoe;
horseshoeGreyV = 1;
}
} else if (horseshoeGreyV == 1) {
horseshoeTemplate_mc._x = 10000;
horseshoeTemplate_mc._y = 10000;
horseshoeGreyV = 0;
horseshoeTemplateV = 0;
}
};
var horseshoeWhiteV = 0;
horseshoeColor_mc.whiteBeard_btn.onRelease = function () {
if (horseshoeWhiteV == 0) {
if (horseshoeTemplateV == 0) {
unloadMovie (horseshoeBrown_mc);
unloadMovie (horseshoeBlond_mc);
unloadMovie (horseshoeRed_mc);
horseshoeTemplateGone();
allOtherThanBeardsGone();
horseshoeBrownV = 0;
horseshoeBlondV = 0;
horseshoeRedV = 0;
santaStyleGone();
muttonChopsGone();
fullBeardGone();
mustacheGone();
goateesGone();
horseshoeTemplate_mc._x = 258.6;
horseshoeTemplate_mc._y = 126.3;
horseshoeWhiteV = 1;
horseshoeTemplateV = 1;
colorHorseshoe.redOffset = 0;
colorHorseshoe.greenOffset = 0;
colorHorseshoe.blueOffset = 0;
horseshoe.colorTransform = colorHorseshoe;
} else if (horseshoeTemplateV == 1) {
colorHorseshoe.redOffset = 0;
colorHorseshoe.greenOffset = 0;
colorHorseshoe.blueOffset = 0;
horseshoe.colorTransform = colorHorseshoe;
horseshoeWhiteV = 1;
}
} else if (horseshoeWhiteV == 1) {
horseshoeTemplate_mc._x = 10000;
horseshoeTemplate_mc._y = 10000;
horseshoeWhiteV = 0;
horseshoeTemplateV = 0;
}
};
var horseshoeLightGreenV = 0;
horseshoeColor_mc.lightGreenBeard_btn.onRelease = function () {
if (horseshoeLightGreenV == 0) {
if (horseshoeTemplateV == 0) {
unloadMovie (horseshoeBrown_mc);
unloadMovie (horseshoeBlond_mc);
unloadMovie (horseshoeRed_mc);
horseshoeTemplateGone();
allOtherThanBeardsGone();
horseshoeBrownV = 0;
horseshoeBlondV = 0;
horseshoeRedV = 0;
santaStyleGone();
muttonChopsGone();
fullBeardGone();
mustacheGone();
goateesGone();
horseshoeTemplate_mc._x = 258.6;
horseshoeTemplate_mc._y = 126.3;
horseshoeLightGreenV = 1;
horseshoeTemplateV = 1;
colorHorseshoe.redOffset = -255;
colorHorseshoe.greenOffset = -75;
colorHorseshoe.blueOffset = -200;
horseshoe.colorTransform = colorHorseshoe;
} else if (horseshoeTemplateV == 1) {
colorHorseshoe.redOffset = -255;
colorHorseshoe.greenOffset = -75;
colorHorseshoe.blueOffset = -200;
horseshoe.colorTransform = colorHorseshoe;
horseshoeLightGreenV = 1;
}
} else if (horseshoeLightGreenV == 1) {
horseshoeTemplate_mc._x = 10000;
horseshoeTemplate_mc._y = 10000;
horseshoeLightGreenV = 0;
horseshoeTemplateV = 0;
}
};
var horseshoeGreenV = 0;
horseshoeColor_mc.greenBeard_btn.onRelease = function () {
if (horseshoeGreenV == 0) {
if (horseshoeTemplateV == 0) {
unloadMovie (horseshoeBrown_mc);
unloadMovie (horseshoeBlond_mc);
unloadMovie (horseshoeRed_mc);
horseshoeTemplateGone();
allOtherThanBeardsGone();
horseshoeBrownV = 0;
horseshoeBlondV = 0;
horseshoeRedV = 0;
santaStyleGone();
muttonChopsGone();
fullBeardGone();
mustacheGone();
goateesGone();
horseshoeTemplate_mc._x = 258.6;
horseshoeTemplate_mc._y = 126.3;
horseshoeGreenV = 1;
horseshoeTemplateV = 1;
colorHorseshoe.redOffset = -255;
colorHorseshoe.greenOffset = -150;
colorHorseshoe.blueOffset = -255;
horseshoe.colorTransform = colorHorseshoe;
} else if (horseshoeTemplateV == 1) {
colorHorseshoe.redOffset = -255;
colorHorseshoe.greenOffset = -150;
colorHorseshoe.blueOffset = -255;
horseshoe.colorTransform = colorHorseshoe;
horseshoeGreenV = 1;
}
} else if (horseshoeGreenV == 1) {
horseshoeTemplate_mc._x = 10000;
horseshoeTemplate_mc._y = 10000;
horseshoeGreenV = 0;
horseshoeTemplateV = 0;
}
};
var horseshoeYellowV = 0;
horseshoeColor_mc.yellowBeard_btn.onRelease = function () {
if (horseshoeYellowV == 0) {
if (horseshoeTemplateV == 0) {
unloadMovie (horseshoeBrown_mc);
unloadMovie (horseshoeBlond_mc);
unloadMovie (horseshoeRed_mc);
horseshoeTemplateGone();
allOtherThanBeardsGone();
horseshoeBrownV = 0;
horseshoeBlondV = 0;
horseshoeRedV = 0;
santaStyleGone();
muttonChopsGone();
fullBeardGone();
mustacheGone();
goateesGone();
horseshoeTemplate_mc._x = 258.6;
horseshoeTemplate_mc._y = 126.3;
horseshoeYellowV = 1;
horseshoeTemplateV = 1;
colorHorseshoe.redOffset = 0;
colorHorseshoe.greenOffset = 0;
colorHorseshoe.blueOffset = -255;
horseshoe.colorTransform = colorHorseshoe;
} else if (horseshoeTemplateV == 1) {
colorHorseshoe.redOffset = 0;
colorHorseshoe.greenOffset = 0;
colorHorseshoe.blueOffset = -255;
horseshoe.colorTransform = colorHorseshoe;
horseshoeYellowV = 1;
}
} else if (horseshoeYellowV == 1) {
horseshoeTemplate_mc._x = 10000;
horseshoeTemplate_mc._y = 10000;
horseshoeYellowV = 0;
horseshoeTemplateV = 0;
}
};
var horseshoePinkV = 0;
horseshoeColor_mc.pinkBeard_btn.onRelease = function () {
if (horseshoePinkV == 0) {
if (horseshoeTemplateV == 0) {
unloadMovie (horseshoeBrown_mc);
unloadMovie (horseshoeBlond_mc);
unloadMovie (horseshoeRed_mc);
horseshoeTemplateGone();
allOtherThanBeardsGone();
horseshoeBrownV = 0;
horseshoeBlondV = 0;
horseshoeRedV = 0;
santaStyleGone();
muttonChopsGone();
fullBeardGone();
mustacheGone();
goateesGone();
horseshoeTemplate_mc._x = 258.6;
horseshoeTemplate_mc._y = 126.3;
horseshoePinkV = 1;
horseshoeTemplateV = 1;
colorHorseshoe.redOffset = 0;
colorHorseshoe.greenOffset = -255;
colorHorseshoe.blueOffset = 0;
horseshoe.colorTransform = colorHorseshoe;
} else if (horseshoeTemplateV == 1) {
colorHorseshoe.redOffset = 0;
colorHorseshoe.greenOffset = -255;
colorHorseshoe.blueOffset = 0;
horseshoe.colorTransform = colorHorseshoe;
horseshoePinkV = 1;
}
} else if (horseshoePinkV == 1) {
horseshoeTemplate_mc._x = 10000;
horseshoeTemplate_mc._y = 10000;
horseshoePinkV = 0;
horseshoeTemplateV = 0;
}
};
var horseshoeTealV = 0;
horseshoeColor_mc.tealBeard_btn.onRelease = function () {
if (horseshoeTealV == 0) {
if (horseshoeTemplateV == 0) {
unloadMovie (horseshoeBrown_mc);
unloadMovie (horseshoeBlond_mc);
unloadMovie (horseshoeRed_mc);
horseshoeTemplateGone();
allOtherThanBeardsGone();
horseshoeBrownV = 0;
horseshoeBlondV = 0;
horseshoeRedV = 0;
santaStyleGone();
muttonChopsGone();
fullBeardGone();
mustacheGone();
goateesGone();
horseshoeTemplate_mc._x = 258.6;
horseshoeTemplate_mc._y = 126.3;
horseshoeTealV = 1;
horseshoeTemplateV = 1;
colorHorseshoe.redOffset = -255;
colorHorseshoe.greenOffset = 0;
colorHorseshoe.blueOffset = 0;
horseshoe.colorTransform = colorHorseshoe;
} else if (horseshoeTemplateV == 1) {
colorHorseshoe.redOffset = -255;
colorHorseshoe.greenOffset = 0;
colorHorseshoe.blueOffset = 0;
horseshoe.colorTransform = colorHorseshoe;
horseshoeTealV = 1;
}
} else if (horseshoeTealV == 1) {
horseshoeTemplate_mc._x = 10000;
horseshoeTemplate_mc._y = 10000;
horseshoeTealV = 0;
horseshoeTemplateV = 0;
}
};
var horseshoeBlueV = 0;
horseshoeColor_mc.blueBeard_btn.onRelease = function () {
if (horseshoeBlueV == 0) {
if (horseshoeTemplateV == 0) {
unloadMovie (horseshoeBrown_mc);
unloadMovie (horseshoeBlond_mc);
unloadMovie (horseshoeRed_mc);
horseshoeTemplateGone();
allOtherThanBeardsGone();
horseshoeBrownV = 0;
horseshoeBlondV = 0;
horseshoeRedV = 0;
santaStyleGone();
muttonChopsGone();
fullBeardGone();
mustacheGone();
goateesGone();
horseshoeTemplate_mc._x = 258.6;
horseshoeTemplate_mc._y = 126.3;
horseshoeBlueV = 1;
horseshoeTemplateV = 1;
colorHorseshoe.redOffset = -255;
colorHorseshoe.greenOffset = -255;
colorHorseshoe.blueOffset = 0;
horseshoe.colorTransform = colorHorseshoe;
} else if (horseshoeTemplateV == 1) {
colorHorseshoe.redOffset = -255;
colorHorseshoe.greenOffset = -255;
colorHorseshoe.blueOffset = 0;
horseshoe.colorTransform = colorHorseshoe;
horseshoeBlueV = 1;
}
} else if (horseshoeBlueV == 1) {
horseshoeTemplate_mc._x = 10000;
horseshoeTemplate_mc._y = 10000;
horseshoeBlueV = 0;
horseshoeTemplateV = 0;
}
};
beardMenu2_mc.toothbrush_btn.onRelease = function () {
toothbrushColorDown();
};
var toothbrushBlondV = 0;
toothbrushColor_mc.blondBeard_btn.onRelease = function () {
if (toothbrushBlondV == 0) {
unloadMovie (toothbrushRed_mc);
unloadMovie (toothbrushBrown_mc);
toothbrushTemplateGone();
allOtherThanBeardsGone();
toothbrushTemplateV = 0;
toothbrushTemplate_mc._x = 10000;
toothbrushTemplate_mc._y = 10000;
toothbrushBrownV = 0;
toothbrushRedV = 0;
handlebarGone();
walrusGone();
daliGone();
fullbeardsGone();
_root.attachMovie("toothbrushBlond_mc", "toothbrushBlond_mc", mustacheLayerValue, {_x:263.4, _y:124.5});
toothbrushBlondV = 1;
} else if (toothbrushBlondV == 1) {
unloadMovie (toothbrushBlond_mc);
toothbrushBlondV = 0;
}
};
var toothbrushBrownV = 0;
toothbrushColor_mc.brownBeard_btn.onRelease = function () {
if (toothbrushBrownV == 0) {
unloadMovie (toothbrushBlond_mc);
unloadMovie (toothbrushRed_mc);
toothbrushTemplateGone();
allOtherThanBeardsGone();
toothbrushTemplateV = 0;
toothbrushTemplate_mc._x = 10000;
toothbrushTemplate_mc._y = 10000;
toothbrushBlondV = 0;
toothbrushRedV = 0;
handlebarGone();
walrusGone();
daliGone();
fullbeardsGone();
_root.attachMovie("toothbrushBrown_mc", "toothbrushBrown_mc", mustacheLayerValue, {_x:263.4, _y:124.5});
toothbrushBrownV = 1;
} else if (toothbrushBrownV == 1) {
unloadMovie (toothbrushBrown_mc);
toothbrushBrownV = 0;
}
};
var toothbrushRedV = 0;
toothbrushColor_mc.redBeard_btn.onRelease = function () {
if (toothbrushRedV == 0) {
unloadMovie (toothbrushBrown_mc);
unloadMovie (toothbrushBlond_mc);
toothbrushTemplateGone();
allOtherThanBeardsGone();
toothbrushTemplateV = 0;
toothbrushTemplate_mc._x = 10000;
toothbrushTemplate_mc._y = 10000;
toothbrushBrownV = 0;
toothbrushBlondV = 0;
handlebarGone();
walrusGone();
daliGone();
fullbeardsGone();
_root.attachMovie("toothbrushRed_mc", "toothbrushRed_mc", mustacheLayerValue, {_x:263.4, _y:124.5});
toothbrushRedV = 1;
} else if (toothbrushRedV == 1) {
unloadMovie (toothbrushRed_mc);
toothbrushRedV = 0;
}
};
var colorToothbrush = (new flash.geom.ColorTransform());
var toothbrush = (new flash.geom.Transform(toothbrushTemplate_mc));
toothbrush.colorTransform = colorToothbrush;
var toothbrushTemplateV = 0;
var toothbrushBlackV = 0;
toothbrushColor_mc.blackBeard_btn.onRelease = function () {
if (toothbrushBlackV == 0) {
if (toothbrushTemplateV == 0) {
unloadMovie (toothbrushBrown_mc);
unloadMovie (toothbrushBlond_mc);
unloadMovie (toothbrushRed_mc);
toothbrushTemplateGone();
allOtherThanBeardsGone();
toothbrushBrownV = 0;
toothbrushBlondV = 0;
toothbrushRedV = 0;
handlebarGone();
walrusGone();
daliGone();
fullbeardsGone();
toothbrushTemplate_mc._x = 263.4;
toothbrushTemplate_mc._y = 124.5;
toothbrushBlackV = 1;
toothbrushTemplateV = 1;
colorToothbrush.redOffset = -230;
colorToothbrush.greenOffset = -230;
colorToothbrush.blueOffset = -230;
toothbrush.colorTransform = colorToothbrush;
} else if (toothbrushTemplateV == 1) {
colorToothbrush.redOffset = -230;
colorToothbrush.greenOffset = -230;
colorToothbrush.blueOffset = -230;
toothbrush.colorTransform = colorToothbrush;
toothbrushBlackV = 1;
}
} else if (toothbrushBlackV == 1) {
toothbrushTemplate_mc._x = 10000;
toothbrushTemplate_mc._y = 10000;
toothbrushBlackV = 0;
toothbrushTemplateV = 0;
}
};
var toothbrushGreyV = 0;
toothbrushColor_mc.greyBeard_btn.onRelease = function () {
if (toothbrushGreyV == 0) {
if (toothbrushTemplateV == 0) {
unloadMovie (toothbrushBrown_mc);
unloadMovie (toothbrushBlond_mc);
unloadMovie (toothbrushRed_mc);
toothbrushTemplateGone();
allOtherThanBeardsGone();
toothbrushBrownV = 0;
toothbrushBlondV = 0;
toothbrushRedV = 0;
handlebarGone();
walrusGone();
daliGone();
fullbeardsGone();
toothbrushTemplate_mc._x = 263.4;
toothbrushTemplate_mc._y = 124.5;
toothbrushGreyV = 1;
toothbrushTemplateV = 1;
colorToothbrush.redOffset = -100;
colorToothbrush.greenOffset = -100;
colorToothbrush.blueOffset = -100;
toothbrush.colorTransform = colorToothbrush;
} else if (toothbrushTemplateV == 1) {
colorToothbrush.redOffset = -100;
colorToothbrush.greenOffset = -100;
colorToothbrush.blueOffset = -100;
toothbrush.colorTransform = colorToothbrush;
toothbrushGreyV = 1;
}
} else if (toothbrushGreyV == 1) {
toothbrushTemplate_mc._x = 10000;
toothbrushTemplate_mc._y = 10000;
toothbrushGreyV = 0;
toothbrushTemplateV = 0;
}
};
var toothbrushWhiteV = 0;
toothbrushColor_mc.whiteBeard_btn.onRelease = function () {
if (toothbrushWhiteV == 0) {
if (toothbrushTemplateV == 0) {
unloadMovie (toothbrushBrown_mc);
unloadMovie (toothbrushBlond_mc);
unloadMovie (toothbrushRed_mc);
toothbrushTemplateGone();
allOtherThanBeardsGone();
toothbrushBrownV = 0;
toothbrushBlondV = 0;
toothbrushRedV = 0;
handlebarGone();
walrusGone();
daliGone();
fullbeardsGone();
toothbrushTemplate_mc._x = 263.4;
toothbrushTemplate_mc._y = 124.5;
toothbrushWhiteV = 1;
toothbrushTemplateV = 1;
colorToothbrush.redOffset = 0;
colorToothbrush.greenOffset = 0;
colorToothbrush.blueOffset = 0;
toothbrush.colorTransform = colorToothbrush;
} else if (toothbrushTemplateV == 1) {
colorToothbrush.redOffset = 0;
colorToothbrush.greenOffset = 0;
colorToothbrush.blueOffset = 0;
toothbrush.colorTransform = colorToothbrush;
toothbrushWhiteV = 1;
}
} else if (toothbrushWhiteV == 1) {
toothbrushTemplate_mc._x = 10000;
toothbrushTemplate_mc._y = 10000;
toothbrushWhiteV = 0;
toothbrushTemplateV = 0;
}
};
var toothbrushLightGreenV = 0;
toothbrushColor_mc.lightGreenBeard_btn.onRelease = function () {
if (toothbrushLightGreenV == 0) {
if (toothbrushTemplateV == 0) {
unloadMovie (toothbrushBrown_mc);
unloadMovie (toothbrushBlond_mc);
unloadMovie (toothbrushRed_mc);
toothbrushTemplateGone();
allOtherThanBeardsGone();
toothbrushBrownV = 0;
toothbrushBlondV = 0;
toothbrushRedV = 0;
handlebarGone();
walrusGone();
daliGone();
fullbeardsGone();
toothbrushTemplate_mc._x = 263.4;
toothbrushTemplate_mc._y = 124.5;
toothbrushLightGreenV = 1;
toothbrushTemplateV = 1;
colorToothbrush.redOffset = -255;
colorToothbrush.greenOffset = -75;
colorToothbrush.blueOffset = -200;
toothbrush.colorTransform = colorToothbrush;
} else if (toothbrushTemplateV == 1) {
colorToothbrush.redOffset = -255;
colorToothbrush.greenOffset = -75;
colorToothbrush.blueOffset = -200;
toothbrush.colorTransform = colorToothbrush;
toothbrushLightGreenV = 1;
}
} else if (toothbrushLightGreenV == 1) {
toothbrushTemplate_mc._x = 10000;
toothbrushTemplate_mc._y = 10000;
toothbrushLightGreenV = 0;
toothbrushTemplateV = 0;
}
};
var toothbrushGreenV = 0;
toothbrushColor_mc.greenBeard_btn.onRelease = function () {
if (toothbrushGreenV == 0) {
if (toothbrushTemplateV == 0) {
unloadMovie (toothbrushBrown_mc);
unloadMovie (toothbrushBlond_mc);
unloadMovie (toothbrushRed_mc);
toothbrushTemplateGone();
allOtherThanBeardsGone();
toothbrushBrownV = 0;
toothbrushBlondV = 0;
toothbrushRedV = 0;
handlebarGone();
walrusGone();
daliGone();
fullbeardsGone();
toothbrushTemplate_mc._x = 263.4;
toothbrushTemplate_mc._y = 124.5;
toothbrushGreenV = 1;
toothbrushTemplateV = 1;
colorToothbrush.redOffset = -255;
colorToothbrush.greenOffset = -150;
colorToothbrush.blueOffset = -255;
toothbrush.colorTransform = colorToothbrush;
} else if (toothbrushTemplateV == 1) {
colorToothbrush.redOffset = -255;
colorToothbrush.greenOffset = -150;
colorToothbrush.blueOffset = -255;
toothbrush.colorTransform = colorToothbrush;
toothbrushGreenV = 1;
}
} else if (toothbrushGreenV == 1) {
toothbrushTemplate_mc._x = 10000;
toothbrushTemplate_mc._y = 10000;
toothbrushGreenV = 0;
toothbrushTemplateV = 0;
}
};
var toothbrushYellowV = 0;
toothbrushColor_mc.yellowBeard_btn.onRelease = function () {
if (toothbrushYellowV == 0) {
if (toothbrushTemplateV == 0) {
unloadMovie (toothbrushBrown_mc);
unloadMovie (toothbrushBlond_mc);
unloadMovie (toothbrushRed_mc);
toothbrushTemplateGone();
allOtherThanBeardsGone();
toothbrushBrownV = 0;
toothbrushBlondV = 0;
toothbrushRedV = 0;
handlebarGone();
walrusGone();
daliGone();
fullbeardsGone();
toothbrushTemplate_mc._x = 263.4;
toothbrushTemplate_mc._y = 124.5;
toothbrushYellowV = 1;
toothbrushTemplateV = 1;
colorToothbrush.redOffset = 0;
colorToothbrush.greenOffset = 0;
colorToothbrush.blueOffset = -255;
toothbrush.colorTransform = colorToothbrush;
} else if (toothbrushTemplateV == 1) {
colorToothbrush.redOffset = 0;
colorToothbrush.greenOffset = 0;
colorToothbrush.blueOffset = -255;
toothbrush.colorTransform = colorToothbrush;
toothbrushYellowV = 1;
}
} else if (toothbrushYellowV == 1) {
toothbrushTemplate_mc._x = 10000;
toothbrushTemplate_mc._y = 10000;
toothbrushYellowV = 0;
toothbrushTemplateV = 0;
}
};
var toothbrushPinkV = 0;
toothbrushColor_mc.pinkBeard_btn.onRelease = function () {
if (toothbrushPinkV == 0) {
if (toothbrushTemplateV == 0) {
unloadMovie (toothbrushBrown_mc);
unloadMovie (toothbrushBlond_mc);
unloadMovie (toothbrushRed_mc);
toothbrushTemplateGone();
allOtherThanBeardsGone();
toothbrushBrownV = 0;
toothbrushBlondV = 0;
toothbrushRedV = 0;
handlebarGone();
walrusGone();
daliGone();
fullbeardsGone();
toothbrushTemplate_mc._x = 263.4;
toothbrushTemplate_mc._y = 124.5;
toothbrushPinkV = 1;
toothbrushTemplateV = 1;
colorToothbrush.redOffset = 0;
colorToothbrush.greenOffset = -255;
colorToothbrush.blueOffset = 0;
toothbrush.colorTransform = colorToothbrush;
} else if (toothbrushTemplateV == 1) {
colorToothbrush.redOffset = 0;
colorToothbrush.greenOffset = -255;
colorToothbrush.blueOffset = 0;
toothbrush.colorTransform = colorToothbrush;
toothbrushPinkV = 1;
}
} else if (toothbrushPinkV == 1) {
toothbrushTemplate_mc._x = 10000;
toothbrushTemplate_mc._y = 10000;
toothbrushPinkV = 0;
toothbrushTemplateV = 0;
}
};
var toothbrushTealV = 0;
toothbrushColor_mc.tealBeard_btn.onRelease = function () {
if (toothbrushTealV == 0) {
if (toothbrushTemplateV == 0) {
unloadMovie (toothbrushBrown_mc);
unloadMovie (toothbrushBlond_mc);
unloadMovie (toothbrushRed_mc);
toothbrushTemplateGone();
allOtherThanBeardsGone();
toothbrushBrownV = 0;
toothbrushBlondV = 0;
toothbrushRedV = 0;
handlebarGone();
walrusGone();
daliGone();
fullbeardsGone();
toothbrushTemplate_mc._x = 263.4;
toothbrushTemplate_mc._y = 124.5;
toothbrushTealV = 1;
toothbrushTemplateV = 1;
colorToothbrush.redOffset = -255;
colorToothbrush.greenOffset = 0;
colorToothbrush.blueOffset = 0;
toothbrush.colorTransform = colorToothbrush;
} else if (toothbrushTemplateV == 1) {
colorToothbrush.redOffset = -255;
colorToothbrush.greenOffset = 0;
colorToothbrush.blueOffset = 0;
toothbrush.colorTransform = colorToothbrush;
toothbrushTealV = 1;
}
} else if (toothbrushTealV == 1) {
toothbrushTemplate_mc._x = 10000;
toothbrushTemplate_mc._y = 10000;
toothbrushTealV = 0;
toothbrushTemplateV = 0;
}
};
var toothbrushBlueV = 0;
toothbrushColor_mc.blueBeard_btn.onRelease = function () {
if (toothbrushBlueV == 0) {
if (toothbrushTemplateV == 0) {
unloadMovie (toothbrushBrown_mc);
unloadMovie (toothbrushBlond_mc);
unloadMovie (toothbrushRed_mc);
toothbrushTemplateGone();
allOtherThanBeardsGone();
toothbrushBrownV = 0;
toothbrushBlondV = 0;
toothbrushRedV = 0;
handlebarGone();
walrusGone();
daliGone();
fullbeardsGone();
toothbrushTemplate_mc._x = 263.4;
toothbrushTemplate_mc._y = 124.5;
toothbrushBlueV = 1;
toothbrushTemplateV = 1;
colorToothbrush.redOffset = -255;
colorToothbrush.greenOffset = -255;
colorToothbrush.blueOffset = 0;
toothbrush.colorTransform = colorToothbrush;
} else if (toothbrushTemplateV == 1) {
colorToothbrush.redOffset = -255;
colorToothbrush.greenOffset = -255;
colorToothbrush.blueOffset = 0;
toothbrush.colorTransform = colorToothbrush;
toothbrushBlueV = 1;
}
} else if (toothbrushBlueV == 1) {
toothbrushTemplate_mc._x = 10000;
toothbrushTemplate_mc._y = 10000;
toothbrushBlueV = 0;
toothbrushTemplateV = 0;
}
};
fullBeardMenu_mc.viking_btn.onRelease = function () {
vikingColorDown();
};
var vikingBlondV = 0;
vikingColor_mc.blondBeard_btn.onRelease = function () {
if (vikingBlondV == 0) {
unloadMovie (vikingRed_mc);
unloadMovie (vikingBrown_mc);
vikingTemplateGone();
allOtherThanBeardsGone();
vikingTemplateV = 0;
vikingTemplate_mc._x = 10000;
vikingTemplate_mc._y = 10000;
vikingBrownV = 0;
vikingRedV = 0;
goateeGone();
unloadMovie (orcBeard_mc);
orcBeardV = 0;
anchorGoateeGone();
broadGoateeGone();
smallGoateeGone();
fullbeardsGone();
_root.attachMovie("vikingBlond_mc", "vikingBlond_mc", 6111, {_x:250, _y:107});
vikingBlondV = 1;
} else if (vikingBlondV == 1) {
unloadMovie (vikingBlond_mc);
vikingBlondV = 0;
}
};
var vikingBrownV = 0;
vikingColor_mc.brownBeard_btn.onRelease = function () {
if (vikingBrownV == 0) {
unloadMovie (vikingBlond_mc);
unloadMovie (vikingRed_mc);
vikingTemplateGone();
allOtherThanBeardsGone();
vikingTemplateV = 0;
vikingTemplate_mc._x = 10000;
vikingTemplate_mc._y = 10000;
vikingBlondV = 0;
vikingRedV = 0;
goateeGone();
unloadMovie (orcBeard_mc);
orcBeardV = 0;
anchorGoateeGone();
broadGoateeGone();
smallGoateeGone();
fullbeardsGone();
_root.attachMovie("vikingBrown_mc", "vikingBrown_mc", 6111, {_x:250, _y:107});
vikingBrownV = 1;
} else if (vikingBrownV == 1) {
unloadMovie (vikingBrown_mc);
vikingBrownV = 0;
}
};
var vikingRedV = 0;
vikingColor_mc.redBeard_btn.onRelease = function () {
if (vikingRedV == 0) {
unloadMovie (vikingBrown_mc);
unloadMovie (vikingBlond_mc);
vikingTemplateGone();
allOtherThanBeardsGone();
vikingTemplateV = 0;
vikingTemplate_mc._x = 10000;
vikingTemplate_mc._y = 10000;
vikingBrownV = 0;
vikingBlondV = 0;
goateeGone();
unloadMovie (orcBeard_mc);
orcBeardV = 0;
anchorGoateeGone();
broadGoateeGone();
smallGoateeGone();
fullbeardsGone();
_root.attachMovie("vikingRed_mc", "vikingRed_mc", 6111, {_x:247.5, _y:104.5});
vikingRedV = 1;
} else if (vikingRedV == 1) {
unloadMovie (vikingRed_mc);
vikingRedV = 0;
}
};
var colorViking = (new flash.geom.ColorTransform());
var viking = (new flash.geom.Transform(vikingTemplate_mc));
viking.colorTransform = colorViking;
var vikingTemplateV = 0;
var vikingBlackV = 0;
vikingColor_mc.blackBeard_btn.onRelease = function () {
if (vikingBlackV == 0) {
if (vikingTemplateV == 0) {
unloadMovie (vikingBrown_mc);
unloadMovie (vikingBlond_mc);
unloadMovie (vikingRed_mc);
vikingTemplateGone();
allOtherThanBeardsGone();
vikingBrownV = 0;
vikingBlondV = 0;
vikingRedV = 0;
goateeGone();
unloadMovie (orcBeard_mc);
orcBeardV = 0;
anchorGoateeGone();
broadGoateeGone();
smallGoateeGone();
fullbeardsGone();
vikingTemplate_mc._x = 247.5;
vikingTemplate_mc._y = 104.5;
vikingBlackV = 1;
vikingTemplateV = 1;
colorViking.redOffset = -230;
colorViking.greenOffset = -230;
colorViking.blueOffset = -230;
viking.colorTransform = colorViking;
} else if (vikingTemplateV == 1) {
colorViking.redOffset = -230;
colorViking.greenOffset = -230;
colorViking.blueOffset = -230;
viking.colorTransform = colorViking;
vikingBlackV = 1;
}
} else if (vikingBlackV == 1) {
vikingTemplate_mc._x = 10000;
vikingTemplate_mc._y = 10000;
vikingBlackV = 0;
vikingTemplateV = 0;
}
};
var vikingGreyV = 0;
vikingColor_mc.greyBeard_btn.onRelease = function () {
if (vikingGreyV == 0) {
if (vikingTemplateV == 0) {
unloadMovie (vikingBrown_mc);
unloadMovie (vikingBlond_mc);
unloadMovie (vikingRed_mc);
vikingTemplateGone();
allOtherThanBeardsGone();
vikingBrownV = 0;
vikingBlondV = 0;
vikingRedV = 0;
goateeGone();
unloadMovie (orcBeard_mc);
orcBeardV = 0;
anchorGoateeGone();
broadGoateeGone();
smallGoateeGone();
fullbeardsGone();
vikingTemplate_mc._x = 247.5;
vikingTemplate_mc._y = 104.5;
vikingGreyV = 1;
vikingTemplateV = 1;
colorViking.redOffset = -100;
colorViking.greenOffset = -100;
colorViking.blueOffset = -100;
viking.colorTransform = colorViking;
} else if (vikingTemplateV == 1) {
colorViking.redOffset = -100;
colorViking.greenOffset = -100;
colorViking.blueOffset = -100;
viking.colorTransform = colorViking;
vikingGreyV = 1;
}
} else if (vikingGreyV == 1) {
vikingTemplate_mc._x = 10000;
vikingTemplate_mc._y = 10000;
vikingGreyV = 0;
vikingTemplateV = 0;
}
};
var vikingWhiteV = 0;
vikingColor_mc.whiteBeard_btn.onRelease = function () {
if (vikingWhiteV == 0) {
if (vikingTemplateV == 0) {
unloadMovie (vikingBrown_mc);
unloadMovie (vikingBlond_mc);
unloadMovie (vikingRed_mc);
vikingTemplateGone();
allOtherThanBeardsGone();
vikingBrownV = 0;
vikingBlondV = 0;
vikingRedV = 0;
goateeGone();
unloadMovie (orcBeard_mc);
orcBeardV = 0;
anchorGoateeGone();
broadGoateeGone();
smallGoateeGone();
fullbeardsGone();
vikingTemplate_mc._x = 247.5;
vikingTemplate_mc._y = 104.5;
vikingWhiteV = 1;
vikingTemplateV = 1;
colorViking.redOffset = 0;
colorViking.greenOffset = 0;
colorViking.blueOffset = 0;
viking.colorTransform = colorViking;
} else if (vikingTemplateV == 1) {
colorViking.redOffset = 0;
colorViking.greenOffset = 0;
colorViking.blueOffset = 0;
viking.colorTransform = colorViking;
vikingWhiteV = 1;
}
} else if (vikingWhiteV == 1) {
vikingTemplate_mc._x = 10000;
vikingTemplate_mc._y = 10000;
vikingWhiteV = 0;
vikingTemplateV = 0;
}
};
var vikingLightGreenV = 0;
vikingColor_mc.lightGreenBeard_btn.onRelease = function () {
if (vikingLightGreenV == 0) {
if (vikingTemplateV == 0) {
unloadMovie (vikingBrown_mc);
unloadMovie (vikingBlond_mc);
unloadMovie (vikingRed_mc);
vikingTemplateGone();
allOtherThanBeardsGone();
vikingBrownV = 0;
vikingBlondV = 0;
vikingRedV = 0;
goateeGone();
unloadMovie (orcBeard_mc);
orcBeardV = 0;
anchorGoateeGone();
broadGoateeGone();
smallGoateeGone();
fullbeardsGone();
vikingTemplate_mc._x = 247.5;
vikingTemplate_mc._y = 104.5;
vikingLightGreenV = 1;
vikingTemplateV = 1;
colorViking.redOffset = -255;
colorViking.greenOffset = -75;
colorViking.blueOffset = -200;
viking.colorTransform = colorViking;
} else if (vikingTemplateV == 1) {
colorViking.redOffset = -255;
colorViking.greenOffset = -75;
colorViking.blueOffset = -200;
viking.colorTransform = colorViking;
vikingLightGreenV = 1;
}
} else if (vikingLightGreenV == 1) {
vikingTemplate_mc._x = 10000;
vikingTemplate_mc._y = 10000;
vikingLightGreenV = 0;
vikingTemplateV = 0;
}
};
var vikingGreenV = 0;
vikingColor_mc.greenBeard_btn.onRelease = function () {
if (vikingGreenV == 0) {
if (vikingTemplateV == 0) {
unloadMovie (vikingBrown_mc);
unloadMovie (vikingBlond_mc);
unloadMovie (vikingRed_mc);
vikingTemplateGone();
allOtherThanBeardsGone();
vikingBrownV = 0;
vikingBlondV = 0;
vikingRedV = 0;
goateeGone();
unloadMovie (orcBeard_mc);
orcBeardV = 0;
anchorGoateeGone();
broadGoateeGone();
smallGoateeGone();
fullbeardsGone();
vikingTemplate_mc._x = 247.5;
vikingTemplate_mc._y = 104.5;
vikingGreenV = 1;
vikingTemplateV = 1;
colorViking.redOffset = -255;
colorViking.greenOffset = -150;
colorViking.blueOffset = -255;
viking.colorTransform = colorViking;
} else if (vikingTemplateV == 1) {
colorViking.redOffset = -255;
colorViking.greenOffset = -150;
colorViking.blueOffset = -255;
viking.colorTransform = colorViking;
vikingGreenV = 1;
}
} else if (vikingGreenV == 1) {
vikingTemplate_mc._x = 10000;
vikingTemplate_mc._y = 10000;
vikingGreenV = 0;
vikingTemplateV = 0;
}
};
var vikingYellowV = 0;
vikingColor_mc.yellowBeard_btn.onRelease = function () {
if (vikingYellowV == 0) {
if (vikingTemplateV == 0) {
unloadMovie (vikingBrown_mc);
unloadMovie (vikingBlond_mc);
unloadMovie (vikingRed_mc);
vikingTemplateGone();
allOtherThanBeardsGone();
vikingBrownV = 0;
vikingBlondV = 0;
vikingRedV = 0;
goateeGone();
unloadMovie (orcBeard_mc);
orcBeardV = 0;
anchorGoateeGone();
broadGoateeGone();
smallGoateeGone();
fullbeardsGone();
vikingTemplate_mc._x = 247.5;
vikingTemplate_mc._y = 104.5;
vikingYellowV = 1;
vikingTemplateV = 1;
colorViking.redOffset = 0;
colorViking.greenOffset = 0;
colorViking.blueOffset = -255;
viking.colorTransform = colorViking;
} else if (vikingTemplateV == 1) {
colorViking.redOffset = 0;
colorViking.greenOffset = 0;
colorViking.blueOffset = -255;
viking.colorTransform = colorViking;
vikingYellowV = 1;
}
} else if (vikingYellowV == 1) {
vikingTemplate_mc._x = 10000;
vikingTemplate_mc._y = 10000;
vikingYellowV = 0;
vikingTemplateV = 0;
}
};
var vikingPinkV = 0;
vikingColor_mc.pinkBeard_btn.onRelease = function () {
if (vikingPinkV == 0) {
if (vikingTemplateV == 0) {
unloadMovie (vikingBrown_mc);
unloadMovie (vikingBlond_mc);
unloadMovie (vikingRed_mc);
vikingTemplateGone();
allOtherThanBeardsGone();
vikingBrownV = 0;
vikingBlondV = 0;
vikingRedV = 0;
goateeGone();
unloadMovie (orcBeard_mc);
orcBeardV = 0;
anchorGoateeGone();
broadGoateeGone();
smallGoateeGone();
fullbeardsGone();
vikingTemplate_mc._x = 247.5;
vikingTemplate_mc._y = 104.5;
vikingPinkV = 1;
vikingTemplateV = 1;
colorViking.redOffset = 0;
colorViking.greenOffset = -255;
colorViking.blueOffset = 0;
viking.colorTransform = colorViking;
} else if (vikingTemplateV == 1) {
colorViking.redOffset = 0;
colorViking.greenOffset = -255;
colorViking.blueOffset = 0;
viking.colorTransform = colorViking;
vikingPinkV = 1;
}
} else if (vikingPinkV == 1) {
vikingTemplate_mc._x = 10000;
vikingTemplate_mc._y = 10000;
vikingPinkV = 0;
vikingTemplateV = 0;
}
};
var vikingTealV = 0;
vikingColor_mc.tealBeard_btn.onRelease = function () {
if (vikingTealV == 0) {
if (vikingTemplateV == 0) {
unloadMovie (vikingBrown_mc);
unloadMovie (vikingBlond_mc);
unloadMovie (vikingRed_mc);
vikingTemplateGone();
allOtherThanBeardsGone();
vikingBrownV = 0;
vikingBlondV = 0;
vikingRedV = 0;
goateeGone();
unloadMovie (orcBeard_mc);
orcBeardV = 0;
anchorGoateeGone();
broadGoateeGone();
smallGoateeGone();
fullbeardsGone();
vikingTemplate_mc._x = 247.5;
vikingTemplate_mc._y = 104.5;
vikingTealV = 1;
vikingTemplateV = 1;
colorViking.redOffset = -255;
colorViking.greenOffset = 0;
colorViking.blueOffset = 0;
viking.colorTransform = colorViking;
} else if (vikingTemplateV == 1) {
colorViking.redOffset = -255;
colorViking.greenOffset = 0;
colorViking.blueOffset = 0;
viking.colorTransform = colorViking;
vikingTealV = 1;
}
} else if (vikingTealV == 1) {
vikingTemplate_mc._x = 10000;
vikingTemplate_mc._y = 10000;
vikingTealV = 0;
vikingTemplateV = 0;
}
};
var vikingBlueV = 0;
vikingColor_mc.blueBeard_btn.onRelease = function () {
if (vikingBlueV == 0) {
if (vikingTemplateV == 0) {
unloadMovie (vikingBrown_mc);
unloadMovie (vikingBlond_mc);
unloadMovie (vikingRed_mc);
vikingTemplateGone();
allOtherThanBeardsGone();
vikingBrownV = 0;
vikingBlondV = 0;
vikingRedV = 0;
goateeGone();
unloadMovie (orcBeard_mc);
orcBeardV = 0;
anchorGoateeGone();
broadGoateeGone();
smallGoateeGone();
fullbeardsGone();
vikingTemplate_mc._x = 247.5;
vikingTemplate_mc._y = 104.5;
vikingBlueV = 1;
vikingTemplateV = 1;
colorViking.redOffset = -255;
colorViking.greenOffset = -255;
colorViking.blueOffset = 0;
viking.colorTransform = colorViking;
} else if (vikingTemplateV == 1) {
colorViking.redOffset = -255;
colorViking.greenOffset = -255;
colorViking.blueOffset = 0;
viking.colorTransform = colorViking;
vikingBlueV = 1;
}
} else if (vikingBlueV == 1) {
vikingTemplate_mc._x = 10000;
vikingTemplate_mc._y = 10000;
vikingBlueV = 0;
vikingTemplateV = 0;
}
};
fullBeardMenu_mc.vanDyke_btn.onRelease = function () {
vanDykeColorDown();
};
var vanDykeBlondV = 0;
vanDykeColor_mc.blondBeard_btn.onRelease = function () {
if (vanDykeBlondV == 0) {
unloadMovie (vanDykeRed_mc);
unloadMovie (vanDykeBrown_mc);
vanDykeTemplateGone();
allOtherThanBeardsGone();
vanDykeTemplateV = 0;
vanDykeTemplate_mc._x = 10000;
vanDykeTemplate_mc._y = 10000;
vanDykeBrownV = 0;
vanDykeRedV = 0;
goateesGone();
fullbeardsGone();
mustacheGone();
_root.attachMovie("vanDykeBlond_mc", "vanDykeBlond_mc", goateeLayerValue, {_x:255.6, _y:123.3});
vanDykeBlondV = 1;
} else if (vanDykeBlondV == 1) {
unloadMovie (vanDykeBlond_mc);
vanDykeBlondV = 0;
}
};
var vanDykeBrownV = 0;
vanDykeColor_mc.brownBeard_btn.onRelease = function () {
if (vanDykeBrownV == 0) {
unloadMovie (vanDykeBlond_mc);
unloadMovie (vanDykeRed_mc);
vanDykeTemplateGone();
allOtherThanBeardsGone();
vanDykeTemplateV = 0;
vanDykeTemplate_mc._x = 10000;
vanDykeTemplate_mc._y = 10000;
vanDykeBlondV = 0;
vanDykeRedV = 0;
goateesGone();
fullbeardsGone();
mustacheGone();
_root.attachMovie("vanDykeBrown_mc", "vanDykeBrown_mc", goateeLayerValue, {_x:255.6, _y:123.3});
vanDykeBrownV = 1;
} else if (vanDykeBrownV == 1) {
unloadMovie (vanDykeBrown_mc);
vanDykeBrownV = 0;
}
};
var vanDykeRedV = 0;
vanDykeColor_mc.redBeard_btn.onRelease = function () {
if (vanDykeRedV == 0) {
unloadMovie (vanDykeBrown_mc);
unloadMovie (vanDykeBlond_mc);
vanDykeTemplateGone();
allOtherThanBeardsGone();
vanDykeTemplateV = 0;
vanDykeTemplate_mc._x = 10000;
vanDykeTemplate_mc._y = 10000;
vanDykeBrownV = 0;
vanDykeBlondV = 0;
goateesGone();
fullbeardsGone();
mustacheGone();
_root.attachMovie("vanDykeRed_mc", "vanDykeRed_mc", goateeLayerValue, {_x:255.6, _y:123.3});
vanDykeRedV = 1;
} else if (vanDykeRedV == 1) {
unloadMovie (vanDykeRed_mc);
vanDykeRedV = 0;
}
};
var colorVanDyke = (new flash.geom.ColorTransform());
var vanDyke = (new flash.geom.Transform(vanDykeTemplate_mc));
vanDyke.colorTransform = colorVanDyke;
var vanDykeTemplateV = 0;
var vanDykeBlackV = 0;
vanDykeColor_mc.blackBeard_btn.onRelease = function () {
if (vanDykeBlackV == 0) {
if (vanDykeTemplateV == 0) {
unloadMovie (vanDykeBrown_mc);
unloadMovie (vanDykeBlond_mc);
unloadMovie (vanDykeRed_mc);
vanDykeTemplateGone();
allOtherThanBeardsGone();
vanDykeBrownV = 0;
vanDykeBlondV = 0;
vanDykeRedV = 0;
goateesGone();
fullbeardsGone();
mustacheGone();
vanDykeTemplate_mc._x = 255.6;
vanDykeTemplate_mc._y = 123.3;
vanDykeBlackV = 1;
vanDykeTemplateV = 1;
colorVanDyke.redOffset = -230;
colorVanDyke.greenOffset = -230;
colorVanDyke.blueOffset = -230;
vanDyke.colorTransform = colorVanDyke;
} else if (vanDykeTemplateV == 1) {
colorVanDyke.redOffset = -230;
colorVanDyke.greenOffset = -230;
colorVanDyke.blueOffset = -230;
vanDyke.colorTransform = colorVanDyke;
vanDykeBlackV = 1;
}
} else if (vanDykeBlackV == 1) {
vanDykeTemplate_mc._x = 10000;
vanDykeTemplate_mc._y = 10000;
vanDykeBlackV = 0;
vanDykeTemplateV = 0;
}
};
var vanDykeGreyV = 0;
vanDykeColor_mc.greyBeard_btn.onRelease = function () {
if (vanDykeGreyV == 0) {
if (vanDykeTemplateV == 0) {
unloadMovie (vanDykeBrown_mc);
unloadMovie (vanDykeBlond_mc);
unloadMovie (vanDykeRed_mc);
vanDykeTemplateGone();
allOtherThanBeardsGone();
vanDykeBrownV = 0;
vanDykeBlondV = 0;
vanDykeRedV = 0;
goateesGone();
fullbeardsGone();
mustacheGone();
vanDykeTemplate_mc._x = 255.6;
vanDykeTemplate_mc._y = 123.3;
vanDykeGreyV = 1;
vanDykeTemplateV = 1;
colorVanDyke.redOffset = -100;
colorVanDyke.greenOffset = -100;
colorVanDyke.blueOffset = -100;
vanDyke.colorTransform = colorVanDyke;
} else if (vanDykeTemplateV == 1) {
colorVanDyke.redOffset = -100;
colorVanDyke.greenOffset = -100;
colorVanDyke.blueOffset = -100;
vanDyke.colorTransform = colorVanDyke;
vanDykeGreyV = 1;
}
} else if (vanDykeGreyV == 1) {
vanDykeTemplate_mc._x = 10000;
vanDykeTemplate_mc._y = 10000;
vanDykeGreyV = 0;
vanDykeTemplateV = 0;
}
};
var vanDykeWhiteV = 0;
vanDykeColor_mc.whiteBeard_btn.onRelease = function () {
if (vanDykeWhiteV == 0) {
if (vanDykeTemplateV == 0) {
unloadMovie (vanDykeBrown_mc);
unloadMovie (vanDykeBlond_mc);
unloadMovie (vanDykeRed_mc);
vanDykeTemplateGone();
allOtherThanBeardsGone();
vanDykeBrownV = 0;
vanDykeBlondV = 0;
vanDykeRedV = 0;
goateesGone();
fullbeardsGone();
mustacheGone();
vanDykeTemplate_mc._x = 255.6;
vanDykeTemplate_mc._y = 123.3;
vanDykeWhiteV = 1;
vanDykeTemplateV = 1;
colorVanDyke.redOffset = 0;
colorVanDyke.greenOffset = 0;
colorVanDyke.blueOffset = 0;
vanDyke.colorTransform = colorVanDyke;
} else if (vanDykeTemplateV == 1) {
colorVanDyke.redOffset = 0;
colorVanDyke.greenOffset = 0;
colorVanDyke.blueOffset = 0;
vanDyke.colorTransform = colorVanDyke;
vanDykeWhiteV = 1;
}
} else if (vanDykeWhiteV == 1) {
vanDykeTemplate_mc._x = 10000;
vanDykeTemplate_mc._y = 10000;
vanDykeWhiteV = 0;
vanDykeTemplateV = 0;
}
};
var vanDykeLightGreenV = 0;
vanDykeColor_mc.lightGreenBeard_btn.onRelease = function () {
if (vanDykeLightGreenV == 0) {
if (vanDykeTemplateV == 0) {
unloadMovie (vanDykeBrown_mc);
unloadMovie (vanDykeBlond_mc);
unloadMovie (vanDykeRed_mc);
vanDykeTemplateGone();
allOtherThanBeardsGone();
vanDykeBrownV = 0;
vanDykeBlondV = 0;
vanDykeRedV = 0;
goateesGone();
fullbeardsGone();
mustacheGone();
vanDykeTemplate_mc._x = 255.6;
vanDykeTemplate_mc._y = 123.3;
vanDykeLightGreenV = 1;
vanDykeTemplateV = 1;
colorVanDyke.redOffset = -255;
colorVanDyke.greenOffset = -75;
colorVanDyke.blueOffset = -200;
vanDyke.colorTransform = colorVanDyke;
} else if (vanDykeTemplateV == 1) {
colorVanDyke.redOffset = -255;
colorVanDyke.greenOffset = -75;
colorVanDyke.blueOffset = -200;
vanDyke.colorTransform = colorVanDyke;
vanDykeLightGreenV = 1;
}
} else if (vanDykeLightGreenV == 1) {
vanDykeTemplate_mc._x = 10000;
vanDykeTemplate_mc._y = 10000;
vanDykeLightGreenV = 0;
vanDykeTemplateV = 0;
}
};
var vanDykeGreenV = 0;
vanDykeColor_mc.greenBeard_btn.onRelease = function () {
if (vanDykeGreenV == 0) {
if (vanDykeTemplateV == 0) {
unloadMovie (vanDykeBrown_mc);
unloadMovie (vanDykeBlond_mc);
unloadMovie (vanDykeRed_mc);
vanDykeTemplateGone();
allOtherThanBeardsGone();
vanDykeBrownV = 0;
vanDykeBlondV = 0;
vanDykeRedV = 0;
goateesGone();
fullbeardsGone();
mustacheGone();
vanDykeTemplate_mc._x = 255.6;
vanDykeTemplate_mc._y = 123.3;
vanDykeGreenV = 1;
vanDykeTemplateV = 1;
colorVanDyke.redOffset = -255;
colorVanDyke.greenOffset = -150;
colorVanDyke.blueOffset = -255;
vanDyke.colorTransform = colorVanDyke;
} else if (vanDykeTemplateV == 1) {
colorVanDyke.redOffset = -255;
colorVanDyke.greenOffset = -150;
colorVanDyke.blueOffset = -255;
vanDyke.colorTransform = colorVanDyke;
vanDykeGreenV = 1;
}
} else if (vanDykeGreenV == 1) {
vanDykeTemplate_mc._x = 10000;
vanDykeTemplate_mc._y = 10000;
vanDykeGreenV = 0;
vanDykeTemplateV = 0;
}
};
var vanDykeYellowV = 0;
vanDykeColor_mc.yellowBeard_btn.onRelease = function () {
if (vanDykeYellowV == 0) {
if (vanDykeTemplateV == 0) {
unloadMovie (vanDykeBrown_mc);
unloadMovie (vanDykeBlond_mc);
unloadMovie (vanDykeRed_mc);
vanDykeTemplateGone();
allOtherThanBeardsGone();
vanDykeBrownV = 0;
vanDykeBlondV = 0;
vanDykeRedV = 0;
goateesGone();
fullbeardsGone();
mustacheGone();
vanDykeTemplate_mc._x = 255.6;
vanDykeTemplate_mc._y = 123.3;
vanDykeYellowV = 1;
vanDykeTemplateV = 1;
colorVanDyke.redOffset = 0;
colorVanDyke.greenOffset = 0;
colorVanDyke.blueOffset = -255;
vanDyke.colorTransform = colorVanDyke;
} else if (vanDykeTemplateV == 1) {
colorVanDyke.redOffset = 0;
colorVanDyke.greenOffset = 0;
colorVanDyke.blueOffset = -255;
vanDyke.colorTransform = colorVanDyke;
vanDykeYellowV = 1;
}
} else if (vanDykeYellowV == 1) {
vanDykeTemplate_mc._x = 10000;
vanDykeTemplate_mc._y = 10000;
vanDykeYellowV = 0;
vanDykeTemplateV = 0;
}
};
var vanDykePinkV = 0;
vanDykeColor_mc.pinkBeard_btn.onRelease = function () {
if (vanDykePinkV == 0) {
if (vanDykeTemplateV == 0) {
unloadMovie (vanDykeBrown_mc);
unloadMovie (vanDykeBlond_mc);
unloadMovie (vanDykeRed_mc);
vanDykeTemplateGone();
allOtherThanBeardsGone();
vanDykeBrownV = 0;
vanDykeBlondV = 0;
vanDykeRedV = 0;
goateesGone();
fullbeardsGone();
mustacheGone();
vanDykeTemplate_mc._x = 255.6;
vanDykeTemplate_mc._y = 123.3;
vanDykePinkV = 1;
vanDykeTemplateV = 1;
colorVanDyke.redOffset = 0;
colorVanDyke.greenOffset = -255;
colorVanDyke.blueOffset = 0;
vanDyke.colorTransform = colorVanDyke;
} else if (vanDykeTemplateV == 1) {
colorVanDyke.redOffset = 0;
colorVanDyke.greenOffset = -255;
colorVanDyke.blueOffset = 0;
vanDyke.colorTransform = colorVanDyke;
vanDykePinkV = 1;
}
} else if (vanDykePinkV == 1) {
vanDykeTemplate_mc._x = 10000;
vanDykeTemplate_mc._y = 10000;
vanDykePinkV = 0;
vanDykeTemplateV = 0;
}
};
var vanDykeTealV = 0;
vanDykeColor_mc.tealBeard_btn.onRelease = function () {
if (vanDykeTealV == 0) {
if (vanDykeTemplateV == 0) {
unloadMovie (vanDykeBrown_mc);
unloadMovie (vanDykeBlond_mc);
unloadMovie (vanDykeRed_mc);
vanDykeTemplateGone();
allOtherThanBeardsGone();
vanDykeBrownV = 0;
vanDykeBlondV = 0;
vanDykeRedV = 0;
goateesGone();
fullbeardsGone();
mustacheGone();
vanDykeTemplate_mc._x = 255.6;
vanDykeTemplate_mc._y = 123.3;
vanDykeTealV = 1;
vanDykeTemplateV = 1;
colorVanDyke.redOffset = -255;
colorVanDyke.greenOffset = 0;
colorVanDyke.blueOffset = 0;
vanDyke.colorTransform = colorVanDyke;
} else if (vanDykeTemplateV == 1) {
colorVanDyke.redOffset = -255;
colorVanDyke.greenOffset = 0;
colorVanDyke.blueOffset = 0;
vanDyke.colorTransform = colorVanDyke;
vanDykeTealV = 1;
}
} else if (vanDykeTealV == 1) {
vanDykeTemplate_mc._x = 10000;
vanDykeTemplate_mc._y = 10000;
vanDykeTealV = 0;
vanDykeTemplateV = 0;
}
};
var vanDykeBlueV = 0;
vanDykeColor_mc.blueBeard_btn.onRelease = function () {
if (vanDykeBlueV == 0) {
if (vanDykeTemplateV == 0) {
unloadMovie (vanDykeBrown_mc);
unloadMovie (vanDykeBlond_mc);
unloadMovie (vanDykeRed_mc);
vanDykeTemplateGone();
allOtherThanBeardsGone();
vanDykeBrownV = 0;
vanDykeBlondV = 0;
vanDykeRedV = 0;
goateesGone();
fullbeardsGone();
mustacheGone();
vanDykeTemplate_mc._x = 255.6;
vanDykeTemplate_mc._y = 123.3;
vanDykeBlueV = 1;
vanDykeTemplateV = 1;
colorVanDyke.redOffset = -255;
colorVanDyke.greenOffset = -255;
colorVanDyke.blueOffset = 0;
vanDyke.colorTransform = colorVanDyke;
} else if (vanDykeTemplateV == 1) {
colorVanDyke.redOffset = -255;
colorVanDyke.greenOffset = -255;
colorVanDyke.blueOffset = 0;
vanDyke.colorTransform = colorVanDyke;
vanDykeBlueV = 1;
}
} else if (vanDykeBlueV == 1) {
vanDykeTemplate_mc._x = 10000;
vanDykeTemplate_mc._y = 10000;
vanDykeBlueV = 0;
vanDykeTemplateV = 0;
}
};
var orcBeardV = 0;
beardMenu_mc.orcBeard_btn.onRelease = function () {
if (orcBeardV == 0) {
goateeGone();
anchorGoateeGone();
broadGoateeGone();
smallGoateeGone();
vikingGone();
fullbeardsGone();
_root.attachMovie("orcBeard_mc", "orcBeard_mc", 6109, {_x:254.7, _y:146.6});
orcBeardV = 1;
} else if (orcBeardV == 1) {
unloadMovie (orcBeard_mc);
orcBeardV = 0;
}
};
function glasses1Gone() {
unloadMovie (regularGlasses1_mc);
unloadMovie (regularGlasses2_mc);
unloadMovie (roundGlasses_mc);
unloadMovie (dameEdnaGlasses_mc);
unloadMovie (squarerGlasses_mc);
squareGlassesV = 0;
dameEdnaGlassesV = 0;
roundGlassesV = 0;
regularGlasses2V = 0;
regularGlasses1V = 0;
}
function glasses2Gone() {
unloadMovie (grandadGlasses1_mc);
unloadMovie (grandadGlasses2_mc);
unloadMovie (grannyGlasses_mc);
unloadMovie (monocleGlasses_mc);
monocleGlassesV = 0;
grannyGlassesV = 0;
grandadGlasses2V = 0;
grandadGlasses1V = 0;
}
var glassesLayerValue = 3000;
var regularGlasses1V = 0;
glassesMenu_mc.regularGlasses1_btn.onRelease = function () {
if (regularGlasses1V == 0) {
sunglasses1Gone();
sunglasses1Gone();
glasses2Gone();
eyeGear1Gone();
eyeGear2Gone();
unloadMovie (regularGlasses2_mc);
unloadMovie (roundGlasses_mc);
unloadMovie (squarerGlasses_mc);
unloadMovie (dameEdnaGlasses_mc);
dameEdnaGlassesV = 0;
squareGlassesV = 0;
roundGlassesV = 0;
regularGlasses2V = 0;
_root.attachMovie("regularGlasses1_mc", "regularGlasses1_mc", glassesLayerValue, {_x:244, _y:83});
regularGlasses1V = 1;
} else if (regularGlasses1V == 1) {
unloadMovie (regularGlasses1_mc);
regularGlasses1V = 0;
}
};
var regularGlasses2V = 0;
glassesMenu_mc.regularGlasses2_btn.onRelease = function () {
if (regularGlasses2V == 0) {
sunglasses1Gone();
sunglasses1Gone();
glasses2Gone();
eyeGear1Gone();
eyeGear2Gone();
unloadMovie (regularGlasses1_mc);
unloadMovie (roundGlasses_mc);
unloadMovie (dameEdnaGlasses_mc);
unloadMovie (squarerGlasses_mc);
squareGlassesV = 0;
dameEdnaGlassesV = 0;
roundGlassesV = 0;
regularGlasses1V = 0;
_root.attachMovie("regularGlasses2_mc", "regularGlasses2_mc", glassesLayerValue, {_x:246, _y:85});
regularGlasses2V = 1;
} else if (regularGlasses2V == 1) {
unloadMovie (regularGlasses2_mc);
regularGlasses2V = 0;
}
};
var roundGlassesV = 0;
glassesMenu_mc.roundGlasses_btn.onRelease = function () {
if (roundGlassesV == 0) {
sunglasses1Gone();
sunglasses1Gone();
glasses2Gone();
eyeGear1Gone();
eyeGear2Gone();
unloadMovie (regularGlasses1_mc);
unloadMovie (regularGlasses2_mc);
unloadMovie (dameEdnaGlasses_mc);
unloadMovie (squarerGlasses_mc);
squareGlassesV = 0;
dameEdnaGlassesV = 0;
regularGlasses2V = 0;
regularGlasses1V = 0;
_root.attachMovie("roundGlasses_mc", "roundGlasses_mc", glassesLayerValue, {_x:251, _y:86});
roundGlassesV = 1;
} else if (roundGlassesV == 1) {
unloadMovie (roundGlasses_mc);
roundGlassesV = 0;
}
};
var squareGlassesV = 0;
glassesMenu_mc.squareGlasses_btn.onRelease = function () {
if (squareGlassesV == 0) {
sunglasses1Gone();
sunglasses1Gone();
glasses2Gone();
eyeGear1Gone();
eyeGear2Gone();
unloadMovie (regularGlasses1_mc);
unloadMovie (regularGlasses2_mc);
unloadMovie (dameEdnaGlasses_mc);
unloadMovie (roundGlasses_mc);
roundGlassesV = 0;
dameEdnaGlassesV = 0;
regularGlasses2V = 0;
regularGlasses1V = 0;
_root.attachMovie("squarerGlasses_mc", "squarerGlasses_mc", glassesLayerValue, {_x:246, _y:85});
squareGlassesV = 1;
} else if (squareGlassesV == 1) {
unloadMovie (squarerGlasses_mc);
squareGlassesV = 0;
}
};
var dameEdnaGlassesV = 0;
glassesMenu_mc.dameEdnaGlasses_btn.onRelease = function () {
if (dameEdnaGlassesV == 0) {
sunglasses1Gone();
sunglasses1Gone();
glasses2Gone();
eyeGear1Gone();
eyeGear2Gone();
unloadMovie (regularGlasses1_mc);
unloadMovie (regularGlasses2_mc);
unloadMovie (squarerGlasses_mc);
unloadMovie (roundGlasses_mc);
roundGlassesV = 0;
squareGlassesV = 0;
regularGlasses2V = 0;
regularGlasses1V = 0;
_root.attachMovie("dameEdnaGlasses_mc", "dameEdnaGlasses_mc", glassesLayerValue, {_x:243, _y:77});
dameEdnaGlassesV = 1;
} else if (dameEdnaGlassesV == 1) {
unloadMovie (dameEdnaGlasses_mc);
dameEdnaGlassesV = 0;
}
};
var grandadGlasses1V = 0;
glassesMenu2_mc.grandadGlasses1_btn.onRelease = function () {
if (grandadGlasses1V == 0) {
sunglasses1Gone();
sunglasses1Gone();
glasses1Gone();
eyeGear1Gone();
eyeGear2Gone();
unloadMovie (grandadGlasses2_mc);
unloadMovie (grannyGlasses_mc);
unloadMovie (monocleGlasses_mc);
monocleGlassesV = 0;
grannyGlassesV = 0;
grandadGlasses2V = 0;
_root.attachMovie("grandadGlasses1_mc", "grandadGlasses1_mc", glassesLayerValue, {_x:244, _y:84});
grandadGlasses1V = 1;
} else if (grandadGlasses1V == 1) {
unloadMovie (grandadGlasses1_mc);
grandadGlasses1V = 0;
}
};
var grandadGlasses2V = 0;
glassesMenu2_mc.grandadGlasses2_btn.onRelease = function () {
if (grandadGlasses2V == 0) {
sunglasses1Gone();
sunglasses1Gone();
glasses1Gone();
eyeGear1Gone();
eyeGear2Gone();
unloadMovie (grandadGlasses1_mc);
unloadMovie (grannyGlasses_mc);
unloadMovie (monocleGlasses_mc);
monocleGlassesV = 0;
grannyGlassesV = 0;
grandadGlasses1V = 0;
_root.attachMovie("grandadGlasses2_mc", "grandadGlasses2_mc", glassesLayerValue, {_x:248, _y:84});
grandadGlasses2V = 1;
testGrandpa();
} else if (grandadGlasses2V == 1) {
unloadMovie (grandadGlasses2_mc);
grandadGlasses2V = 0;
}
};
var grannyGlassesV = 0;
glassesMenu2_mc.grannyGlasses_btn.onRelease = function () {
if (grannyGlassesV == 0) {
sunglasses1Gone();
sunglasses1Gone();
glasses1Gone();
eyeGear1Gone();
eyeGear2Gone();
unloadMovie (grandadGlasses1_mc);
unloadMovie (grandadGlasses2_mc);
unloadMovie (monocleGlasses_mc);
monocleGlassesV = 0;
grandadGlasses2V = 0;
grandadGlasses1V = 0;
_root.attachMovie("grannyGlasses_mc", "grannyGlasses_mc", glassesLayerValue, {_x:243, _y:90});
grannyGlassesV = 1;
} else if (grannyGlassesV == 1) {
unloadMovie (grannyGlasses_mc);
grannyGlassesV = 0;
}
};
var monocleGlassesV = 0;
glassesMenu2_mc.monocleGlasses_btn.onRelease = function () {
if (monocleGlassesV == 0) {
sunglasses1Gone();
sunglasses1Gone();
glasses1Gone();
eyeGear1Gone();
eyeGear2Gone();
unloadMovie (grandadGlasses1_mc);
unloadMovie (grandadGlasses2_mc);
unloadMovie (grannyGlasses_mc);
grannyGlassesV = 0;
grandadGlasses2V = 0;
grandadGlasses1V = 0;
_root.attachMovie("monocleGlasses_mc", "monocleGlasses_mc", glassesLayerValue, {_x:282, _y:82});
monocleGlassesV = 1;
} else if (monocleGlassesV == 1) {
unloadMovie (monocleGlasses_mc);
monocleGlassesV = 0;
}
};
function fashionColorUp() {
fashionGlassesColorPanel_mc._y = -150;
}
function sunglasses1Gone() {
unloadMovie (matrixGlasses_mc);
unloadMovie (morpheusGlasses_mc);
unloadMovie (squareGlasses_mc);
unloadMovie (suaveGlasses_mc);
unloadMovie (fashionGlassesGreen_mc);
unloadMovie (fashionGlassesPurple_mc);
unloadMovie (fashionGlassesBlue_mc);
fashionGlassesBlueV = 0;
fashionGlassesPurpleV = 0;
fashionGlassesGreenV = 0;
suaveGlassesV = 0;
squareGlassesV = 0;
morpheusGlassesV = 0;
matrixGlassesV = 0;
}
function sunglasses2Gone() {
unloadMovie (suaveGlasses2_mc);
suaveGlasses2V = 0;
}
var glassesLayerValue = 3001;
var fashionColorV = 0;
sunglassesMenu1_mc.fashionGlasses_btn.onRelease = function () {
if (fashionColorV == 0) {
fashionColorV = 1;
fashionGlassesColorPanel_mc.onEnterFrame = function () {
this._y = this._y + 12;
if (this._y > -60) {
delete this.onEnterFrame;
}
};
} else if (fashionColorV == 1) {
fashionColorV = 0;
fashionGlassesColorPanel_mc._y = -150;
}
};
var fashionGlassesGreenV = 0;
fashionGlassesColorPanel_mc.fashionGlassesGreen_btn.onRelease = function () {
if (fashionGlassesGreenV == 0) {
eyeGear1Gone();
eyeGear2Gone();
sunglasses2Gone();
glasses1Gone();
glasses2Gone();
unloadMovie (matrixGlasses_mc);
unloadMovie (morpheusGlasses_mc);
unloadMovie (squareGlasses_mc);
unloadMovie (suaveGlasses_mc);
unloadMovie (fashionGlassesPurple_mc);
unloadMovie (fashionGlassesBlue_mc);
fashionGlassesBlueV = 0;
fashionGlassesPurpleV = 0;
suaveGlassesV = 0;
squareGlassesV = 0;
morpheusGlassesV = 0;
matrixGlassesV = 0;
fashionGlassesGreenV = 1;
_root.attachMovie("fashionGlassesGreen_mc", "fashionGlassesGreen_mc", glassesLayerValue, {_x:248, _y:81});
} else if (fashionGlassesGreenV == 1) {
unloadMovie (fashionGlassesGreen_mc);
fashionGlassesGreenV = 0;
}
};
var fashionGlassesPurpleV = 0;
fashionGlassesColorPanel_mc.fashionGlassesPurple_btn.onRelease = function () {
if (fashionGlassesPurpleV == 0) {
eyeGear1Gone();
eyeGear2Gone();
sunglasses2Gone();
glasses1Gone();
glasses2Gone();
unloadMovie (matrixGlasses_mc);
unloadMovie (morpheusGlasses_mc);
unloadMovie (squareGlasses_mc);
unloadMovie (suaveGlasses_mc);
unloadMovie (fashionGlassesGreen_mc);
unloadMovie (fashionGlassesBlue_mc);
fashionGlassesBlueV = 0;
fashionGlassesGreenV = 0;
suaveGlassesV = 0;
squareGlassesV = 0;
morpheusGlassesV = 0;
matrixGlassesV = 0;
fashionGlassesPurpleV = 1;
_root.attachMovie("fashionGlassesPurple_mc", "fashionGlassesPurple_mc", glassesLayerValue, {_x:248, _y:81});
} else if (fashionGlassesPurpleV == 1) {
unloadMovie (fashionGlassesPurple_mc);
fashionGlassesPurpleV = 0;
}
};
var fashionGlassesBlueV = 0;
fashionGlassesColorPanel_mc.fashionGlassesBlue_btn.onRelease = function () {
if (fashionGlassesBlueV == 0) {
eyeGear1Gone();
eyeGear2Gone();
sunglasses2Gone();
glasses1Gone();
glasses2Gone();
unloadMovie (matrixGlasses_mc);
unloadMovie (morpheusGlasses_mc);
unloadMovie (squareGlasses_mc);
unloadMovie (suaveGlasses_mc);
unloadMovie (fashionGlassesGreen_mc);
unloadMovie (fashionGlassesPurple_mc);
fashionGlassesPurpleV = 0;
fashionGlassesGreenV = 0;
suaveGlassesV = 0;
squareGlassesV = 0;
morpheusGlassesV = 0;
matrixGlassesV = 0;
fashionGlassesBlueV = 1;
_root.attachMovie("fashionGlassesBlue_mc", "fashionGlassesBlue_mc", glassesLayerValue, {_x:248, _y:81});
} else if (fashionGlassesBlueV == 1) {
unloadMovie (fashionGlassesBlue_mc);
fashionGlassesBlueV = 0;
}
};
var matrixGlassesV = 0;
sunglassesMenu1_mc.matrixGlasses_btn.onRelease = function () {
if (matrixGlassesV == 0) {
sunglasses2Gone();
eyeGear1Gone();
eyeGear2Gone();
glasses1Gone();
glasses2Gone();
unloadMovie (morpheusGlasses_mc);
unloadMovie (squareGlasses_mc);
unloadMovie (suaveGlasses_mc);
unloadMovie (fashionGlassesGreen_mc);
unloadMovie (fashionGlassesPurple_mc);
unloadMovie (fashionGlassesBlue_mc);
fashionGlassesBlueV = 0;
fashionGlassesPurpleV = 0;
fashionGlassesGreenV = 0;
suaveGlassesV = 0;
squareGlassesV = 0;
morpheusGlassesV = 0;
_root.attachMovie("matrixGlasses_mc", "matrixGlasses_mc", glassesLayerValue, {_x:246, _y:84});
matrixGlassesV = 1;
} else if (matrixGlassesV == 1) {
unloadMovie (matrixGlasses_mc);
matrixGlassesV = 0;
}
};
var morpheusGlassesV = 0;
sunglassesMenu1_mc.morpheusGlasses_btn.onRelease = function () {
if (morpheusGlassesV == 0) {
sunglasses2Gone();
eyeGear1Gone();
eyeGear2Gone();
glasses1Gone();
glasses2Gone();
unloadMovie (matrixGlasses_mc);
unloadMovie (squareGlasses_mc);
unloadMovie (suaveGlasses_mc);
unloadMovie (fashionGlassesGreen_mc);
unloadMovie (fashionGlassesPurple_mc);
unloadMovie (fashionGlassesBlue_mc);
fashionGlassesBlueV = 0;
fashionGlassesPurpleV = 0;
fashionGlassesGreenV = 0;
suaveGlassesV = 0;
squareGlassesV = 0;
matrixGlassesV = 0;
_root.attachMovie("morpheusGlasses_mc", "morpheusGlasses_mc", glassesLayerValue, {_x:252, _y:87});
morpheusGlassesV = 1;
} else if (morpheusGlassesV == 1) {
unloadMovie (morpheusGlasses_mc);
morpheusGlassesV = 0;
}
};
var squareGlassesV = 0;
sunglassesMenu1_mc.squareGlasses_btn.onRelease = function () {
if (squareGlassesV == 0) {
sunglasses2Gone();
eyeGear1Gone();
eyeGear2Gone();
glasses1Gone();
glasses2Gone();
unloadMovie (matrixGlasses_mc);
unloadMovie (morpheusGlasses_mc);
unloadMovie (suaveGlasses_mc);
unloadMovie (fashionGlassesGreen_mc);
unloadMovie (fashionGlassesPurple_mc);
unloadMovie (fashionGlassesBlue_mc);
fashionGlassesBlueV = 0;
fashionGlassesPurpleV = 0;
fashionGlassesGreenV = 0;
suaveGlassesV = 0;
morpheusGlassesV = 0;
matrixGlassesV = 0;
_root.attachMovie("squareGlasses_mc", "squareGlasses_mc", glassesLayerValue, {_x:249, _y:83});
squareGlassesV = 1;
} else if (squareGlassesV == 1) {
unloadMovie (squareGlasses_mc);
squareGlassesV = 0;
}
};
var suaveGlassesV = 0;
sunglassesMenu1_mc.suaveGlasses_btn.onRelease = function () {
if (suaveGlassesV == 0) {
sunglasses2Gone();
eyeGear1Gone();
eyeGear2Gone();
glasses1Gone();
glasses2Gone();
unloadMovie (matrixGlasses_mc);
unloadMovie (morpheusGlasses_mc);
unloadMovie (squareGlasses_mc);
unloadMovie (fashionGlassesGreen_mc);
unloadMovie (fashionGlassesPurple_mc);
unloadMovie (fashionGlassesBlue_mc);
fashionGlassesBlueV = 0;
fashionGlassesPurpleV = 0;
fashionGlassesGreenV = 0;
squareGlassesV = 0;
morpheusGlassesV = 0;
matrixGlassesV = 0;
_root.attachMovie("suaveGlasses_mc", "suaveGlasses_mc", glassesLayerValue, {_x:248, _y:88});
suaveGlassesV = 1;
} else if (suaveGlassesV == 1) {
unloadMovie (suaveGlasses_mc);
suaveGlassesV = 0;
}
};
var suaveGlasses2V = 0;
sunglassesMenu2_mc.suaveGlasses2_btn.onRelease = function () {
if (suaveGlasses2V == 0) {
sunglasses1Gone();
eyeGear1Gone();
eyeGear2Gone();
glasses1Gone();
glasses2Gone();
_root.attachMovie("suaveGlasses2_mc", "suaveGlasses2_mc", glassesLayerValue, {_x:246, _y:91});
suaveGlasses2V = 1;
} else if (suaveGlasses2V == 1) {
unloadMovie (suaveGlasses2_mc);
suaveGlasses2V = 0;
}
};
function scifiVisirColorUp() {
scifiVisirColorPanel_mc._y = -150;
}
function eyeGear1Gone() {
unloadMovie (scifiHeadGear_mc);
unloadMovie (blindTech_mc);
unloadMovie (eyeMask_mc);
unloadMovie (nightVision1_mc);
unloadMovie (nightVision2_mc);
nightVision2V = 0;
nightVision1V = 0;
eyeMaskV = 0;
blindTechV = 0;
scifiGearV = 0;
}
function eyeGear2Gone() {
unloadMovie (nightVision3_mc);
unloadMovie (techEye_mc);
unloadMovie (techGoggles_mc);
unloadMovie (scifiVisirBlue_mc);
unloadMovie (scifiVisirRed_mc);
unloadMovie (scifiVisirGreen_mc);
scifiVisirGreenV = 0;
scifiVisirRedV = 0;
scifiVisirBlueV = 0;
techGogglesV = 0;
techEyeV = 0;
nightVision3V = 0;
}
var glassesLayerValue = 3002;
var scifiVisirColorV = 0;
eyeGearMenu2_mc.scifiVisir_btn.onRelease = function () {
if (scifiVisirColorV == 0) {
scifiVisirColorV = 1;
scifiVisirColorPanel_mc.onEnterFrame = function () {
this._y = this._y + 12;
if (this._y > -60) {
delete this.onEnterFrame;
}
};
} else if (scifiVisirColorV == 1) {
scifiVisirColorV = 0;
scifiVisirColorPanel_mc._y = -150;
}
};
var blindTechV = 0;
eyeGearMenu1_mc.blindTech_btn.onRelease = function () {
if (blindTechV == 0) {
eyeGear2Gone();
sunglasses1Gone();
sunglasses2Gone();
glasses1Gone();
glasses2Gone();
unloadMovie (scifiHeadGear_mc);
unloadMovie (eyeMask_mc);
unloadMovie (nightVision1_mc);
unloadMovie (nightVision2_mc);
nightVision2V = 0;
nightVision1V = 0;
eyeMaskV = 0;
scifiGearV = 0;
_root.attachMovie("blindTech_mc", "blindTech_mc", glassesLayerValue, {_x:245, _y:78});
blindTechV = 1;
} else if (blindTechV == 1) {
unloadMovie (blindTech_mc);
blindTechV = 0;
}
};
var scifiGearV = 0;
eyeGearMenu1_mc.scifiGear_btn.onRelease = function () {
if (scifiGearV == 0) {
eyeGear2Gone();
sunglasses1Gone();
sunglasses2Gone();
glasses1Gone();
glasses2Gone();
unloadMovie (blindTech_mc);
unloadMovie (eyeMask_mc);
unloadMovie (nightVision1_mc);
unloadMovie (nightVision2_mc);
nightVision2V = 0;
nightVision1V = 0;
eyeMaskV = 0;
blindTechV = 0;
_root.attachMovie("scifiHeadGear_mc", "scifiHeadGear_mc", glassesLayerValue, {_x:245, _y:57});
scifiHeadGear_mc._width = 107;
scifiHeadGear_mc._height = 74;
scifiGearV = 1;
} else if (scifiGearV == 1) {
unloadMovie (scifiHeadGear_mc);
scifiGearV = 0;
}
};
var eyeMaskV = 0;
eyeGearMenu1_mc.eyeMask_btn.onRelease = function () {
if (eyeMaskV == 0) {
eyeGear2Gone();
sunglasses1Gone();
sunglasses2Gone();
glasses1Gone();
glasses2Gone();
unloadMovie (blindTech_mc);
unloadMovie (scifiHeadGear_mc);
unloadMovie (nightVision1_mc);
unloadMovie (nightVision2_mc);
nightVision2V = 0;
nightVision1V = 0;
scifiGearV = 0;
blindTechV = 0;
_root.attachMovie("eyeMask_mc", "eyeMask_mc", glassesLayerValue, {_x:247, _y:81});
eyeMaskV = 1;
} else if (eyeMaskV == 1) {
unloadMovie (eyeMask_mc);
eyeMaskV = 0;
}
};
var nightVision1V = 0;
eyeGearMenu1_mc.nightVision1_btn.onRelease = function () {
if (nightVision1V == 0) {
eyeGear2Gone();
sunglasses1Gone();
sunglasses2Gone();
glasses1Gone();
glasses2Gone();
unloadMovie (blindTech_mc);
unloadMovie (scifiHeadGear_mc);
unloadMovie (eyeMask_mc);
unloadMovie (nightVision2_mc);
nightVision2V = 0;
eyeMaskV = 0;
scifiGearV = 0;
blindTechV = 0;
_root.attachMovie("nightVision1_mc", "nightVision1_mc", glassesLayerValue, {_x:243, _y:78});
nightVision1V = 1;
} else if (nightVision1V == 1) {
unloadMovie (nightVision1_mc);
nightVision1V = 0;
}
};
var nightVision2V = 0;
eyeGearMenu1_mc.nightVision2_btn.onRelease = function () {
if (nightVision2V == 0) {
eyeGear2Gone();
sunglasses1Gone();
sunglasses2Gone();
glasses1Gone();
glasses2Gone();
unloadMovie (blindTech_mc);
unloadMovie (scifiHeadGear_mc);
unloadMovie (eyeMask_mc);
unloadMovie (nightVision1_mc);
nightVision1V = 0;
eyeMaskV = 0;
scifiGearV = 0;
blindTechV = 0;
_root.attachMovie("nightVision2_mc", "nightVision2_mc", glassesLayerValue, {_x:244, _y:71});
nightVision2V = 1;
} else if (nightVision2V == 1) {
unloadMovie (nightVision2_mc);
nightVision2V = 0;
}
};
var nightVision3V = 0;
eyeGearMenu2_mc.nightVision3_btn.onRelease = function () {
if (nightVision3V == 0) {
eyeGear1Gone();
sunglasses1Gone();
sunglasses2Gone();
glasses1Gone();
glasses2Gone();
unloadMovie (techEye_mc);
unloadMovie (techGoggles_mc);
unloadMovie (scifiVisirBlue_mc);
unloadMovie (scifiVisirRed_mc);
unloadMovie (scifiVisirGreen_mc);
scifiVisirGreenV = 0;
scifiVisirRedV = 0;
scifiVisirBlueV = 0;
techGogglesV = 0;
techEyeV = 0;
_root.attachMovie("nightVision3_mc", "nightVision3_mc", glassesLayerValue, {_x:243, _y:73});
nightVision3V = 1;
} else if (nightVision3V == 1) {
unloadMovie (nightVision3_mc);
nightVision3V = 0;
}
};
var techEyeV = 0;
eyeGearMenu2_mc.techEye_btn.onRelease = function () {
if (techEyeV == 0) {
eyeGear1Gone();
sunglasses1Gone();
sunglasses2Gone();
glasses1Gone();
glasses2Gone();
unloadMovie (nightVision3_mc);
unloadMovie (techGoggles_mc);
unloadMovie (scifiVisirBlue_mc);
unloadMovie (scifiVisirRed_mc);
unloadMovie (scifiVisirGreen_mc);
scifiVisirGreenV = 0;
scifiVisirRedV = 0;
scifiVisirBlueV = 0;
techGogglesV = 0;
nightVision3V = 0;
_root.attachMovie("techEye_mc", "techEye_mc", glassesLayerValue, {_x:276, _y:71});
techEyeV = 1;
} else if (techEyeV == 1) {
unloadMovie (techEye_mc);
techEyeV = 0;
}
};
var techGogglesV = 0;
eyeGearMenu2_mc.techGoggles_btn.onRelease = function () {
if (techGogglesV == 0) {
eyeGear1Gone();
sunglasses1Gone();
sunglasses2Gone();
glasses1Gone();
glasses2Gone();
unloadMovie (nightVision3_mc);
unloadMovie (techEye_mc);
unloadMovie (scifiVisirBlue_mc);
unloadMovie (scifiVisirRed_mc);
unloadMovie (scifiVisirGreen_mc);
scifiVisirGreenV = 0;
scifiVisirRedV = 0;
scifiVisirBlueV = 0;
techEyeV = 0;
nightVision3V = 0;
_root.attachMovie("techGoggles_mc", "techGoggles_mc", glassesLayerValue, {_x:247, _y:76});
techGogglesV = 1;
} else if (techGogglesV == 1) {
unloadMovie (techGoggles_mc);
techGogglesV = 0;
}
};
var scifiVisirBlueV = 0;
scifiVisirColorPanel_mc.scifiVisirBlue_btn.onRelease = function () {
if (scifiVisirBlueV == 0) {
scifiVisirBlueV = 1;
eyeGear1Gone();
sunglasses1Gone();
sunglasses2Gone();
glasses1Gone();
glasses2Gone();
unloadMovie (nightVision3_mc);
unloadMovie (techEye_mc);
unloadMovie (techGoggles_mc);
unloadMovie (scifiVisirRed_mc);
unloadMovie (scifiVisirGreen_mc);
scifiVisirGreenV = 0;
scifiVisirRedV = 0;
techGogglesV = 0;
techEyeV = 0;
nightVision3V = 0;
_root.attachMovie("scifiVisirBlue_mc", "scifiVisirBlue_mc", glassesLayerValue, {_x:248, _y:82});
} else if (scifiVisirBlueV == 1) {
unloadMovie (scifiVisirBlue_mc);
scifiVisirBlueV = 0;
}
};
var scifiVisirRedV = 0;
scifiVisirColorPanel_mc.scifiVisirRed_btn.onRelease = function () {
if (scifiVisirRedV == 0) {
scifiVisirRedV = 1;
eyeGear1Gone();
sunglasses1Gone();
sunglasses2Gone();
glasses1Gone();
glasses2Gone();
unloadMovie (nightVision3_mc);
unloadMovie (techEye_mc);
unloadMovie (techGoggles_mc);
unloadMovie (scifiVisirBlue_mc);
unloadMovie (scifiVisirGreen_mc);
scifiVisirGreenV = 0;
scifiVisirBlueV = 0;
techGogglesV = 0;
techEyeV = 0;
nightVision3V = 0;
_root.attachMovie("scifiVisirRed_mc", "scifiVisirRed_mc", glassesLayerValue, {_x:248, _y:82});
} else if (scifiVisirRedV == 1) {
unloadMovie (scifiVisirRed_mc);
scifiVisirRedV = 0;
}
};
var scifiVisirGreenV = 0;
scifiVisirColorPanel_mc.scifiVisirGreen_btn.onRelease = function () {
if (scifiVisirGreenV == 0) {
scifiVisirGreenV = 1;
eyeGear1Gone();
sunglasses1Gone();
sunglasses2Gone();
glasses1Gone();
glasses2Gone();
unloadMovie (nightVision3_mc);
unloadMovie (techEye_mc);
unloadMovie (techGoggles_mc);
unloadMovie (scifiVisirBlue_mc);
unloadMovie (scifiVisirRed_mc);
scifiVisirRedV = 0;
scifiVisirBlueV = 0;
techGogglesV = 0;
techEyeV = 0;
nightVision3V = 0;
_root.attachMovie("scifiVisirGreen_mc", "scifiVisirGreen_mc", glassesLayerValue, {_x:248, _y:82});
} else if (scifiVisirGreenV == 1) {
unloadMovie (scifiVisirGreen_mc);
scifiVisirGreenV = 0;
}
};
function mouth1Gone() {
unloadMovie (bigSmileMouth_mc);
unloadMovie (smileMouth_mc);
unloadMovie (salesmanSmileMouth_mc);
unloadMovie (indifferentMouth_mc);
unloadMovie (sulkyMouth_mc);
sulkyMouthV = 0;
indifferentMouthV = 0;
salesmanSmileMouthV = 0;
smileMouthV = 0;
bigSmileMouthV = 0;
}
function mouth2Gone() {
unloadMovie (angryMouth_mc);
unloadMovie (turtlesMouth_mc);
unloadMovie (grrrMouth_mc);
unloadMovie (yellingMouth_mc);
unloadMovie (tongueMouth_mc);
tongueMouthV = 0;
yellingMouthV = 0;
grrrMouthV = 0;
turtlesMouthV = 0;
angryMouthV = 0;
}
function creatureMouthGone() {
unloadMovie (vampireMouth_mc);
unloadMovie (bigVampireMouth_mc);
unloadMovie (orcMouth_mc);
unloadMovie (angryOrcMouth_mc);
unloadMovie (monsterMouth_mc);
unloadMovie (wideMonsterMouth_mc);
unloadMovie (sewnMouth_mc);
sewnMouthV = 0;
wideMonsterMouthV = 0;
monsterCreatureMouthV = 0;
angryOrcCreatureMouthV = 0;
orcCreatureMouthV = 0;
bigVampireCreatureMouthV = 0;
vampireCreatureMouthV = 0;
}
function smokingMouthGone() {
unloadMovie (cigarRightMouth_mc);
unloadMovie (cigarRightMouth2_mc);
unloadMovie (cigarLeftMouth_mc);
unloadMovie (cigarLeftMouth2_mc);
unloadMovie (pipeMouth_mc);
unloadMovie (pipeMouth2_mc);
unloadMovie (seamanPipeMouth_mc);
unloadMovie (seamanPipeMouth2_mc);
seamanPipeMouthV = 0;
pipeMouthV = 0;
cigarLeftMouthV = 0;
cigarRightMouthV = 0;
}
function fullbeardMouthGone() {
unloadMovie (bigSmileMouth_mc);
unloadMovie (smileMouth_mc);
unloadMovie (salesmanSmileMouth_mc);
salesmanSmileMouthV = 0;
smileMouthV = 0;
bigSmileMouthV = 0;
unloadMovie (bigVampireMouth_mc);
unloadMovie (orcMouth_mc);
unloadMovie (monsterMouth_mc);
monsterCreatureMouthV = 0;
orcCreatureMouthV = 0;
bigVampireCreatureMouthV = 0;
}
var mouthLayerValue = 1000;
var smileMouthV = 0;
mouthMenu_mc.smileMouth_btn.onRelease = function () {
if (smileMouthV == 0) {
mouth2Gone();
unloadMovie (bigSmileMouth_mc);
unloadMovie (salesmanSmileMouth_mc);
unloadMovie (indifferentMouth_mc);
unloadMovie (sulkyMouth_mc);
sulkyMouthV = 0;
indifferentMouthV = 0;
salesmanSmileMouthV = 0;
bigSmileMouthV = 0;
creatureMouthGone();
smokingMouthGone();
_root.attachMovie("smileMouth_mc", "smileMouth_mc", mouthLayerValue, {_x:259, _y:121});
smileMouthV = 1;
templateMouth_mc._alpha = 0;
} else if (smileMouthV == 1) {
unloadMovie (smileMouth_mc);
smileMouthV = 0;
templateMouth_mc._alpha = 100;
}
};
var bigSmileMouthV = 0;
mouthMenu_mc.bigSmileMouth_btn.onRelease = function () {
if (bigSmileMouthV == 0) {
mouth2Gone();
unloadMovie (smileMouth_mc);
unloadMovie (salesmanSmileMouth_mc);
unloadMovie (indifferentMouth_mc);
unloadMovie (sulkyMouth_mc);
sulkyMouthV = 0;
indifferentMouthV = 0;
salesmanSmileMouthV = 0;
smileMouthV = 0;
creatureMouthGone();
smokingMouthGone();
_root.attachMovie("bigSmileMouth_mc", "bigSmileMouth_mc", mouthLayerValue, {_x:258, _y:124});
bigSmileMouthV = 1;
templateMouth_mc._alpha = 0;
} else if (bigSmileMouthV == 1) {
unloadMovie (bigSmileMouth_mc);
bigSmileMouthV = 0;
templateMouth_mc._alpha = 100;
}
};
var salesmanSmileMouthV = 0;
mouthMenu_mc.salesmanSmileMouth_btn.onRelease = function () {
if (salesmanSmileMouthV == 0) {
mouth2Gone();
unloadMovie (smileMouth_mc);
unloadMovie (bigSmileMouth_mc);
unloadMovie (indifferentMouth_mc);
unloadMovie (sulkyMouth_mc);
sulkyMouthV = 0;
indifferentMouthV = 0;
bigSmileMouthV = 0;
smileMouthV = 0;
creatureMouthGone();
smokingMouthGone();
_root.attachMovie("salesmanSmileMouth_mc", "salesmanSmileMouth_mc", mouthLayerValue, {_x:262, _y:125});
salesmanSmileMouthV = 1;
templateMouth_mc._alpha = 0;
} else if (salesmanSmileMouthV == 1) {
unloadMovie (salesmanSmileMouth_mc);
salesmanSmileMouthV = 0;
templateMouth_mc._alpha = 100;
}
};
var indifferentMouthV = 0;
mouthMenu_mc.indifferentMouth_btn.onRelease = function () {
if (indifferentMouthV == 0) {
mouth2Gone();
unloadMovie (smileMouth_mc);
unloadMovie (bigSmileMouth_mc);
unloadMovie (salesmanSmileMouth_mc);
unloadMovie (sulkyMouth_mc);
sulkyMouthV = 0;
salesmanSmileMouthV = 0;
bigSmileMouthV = 0;
smileMouthV = 0;
creatureMouthGone();
smokingMouthGone();
_root.attachMovie("indifferentMouth_mc", "indifferentMouth_mc", mouthLayerValue, {_x:261, _y:132});
indifferentMouthV = 1;
templateMouth_mc._alpha = 0;
} else if (indifferentMouthV == 1) {
unloadMovie (indifferentMouth_mc);
indifferentMouthV = 0;
templateMouth_mc._alpha = 100;
}
};
var sulkyMouthV = 0;
mouthMenu_mc.sulkyMouth_btn.onRelease = function () {
if (sulkyMouthV == 0) {
mouth2Gone();
unloadMovie (smileMouth_mc);
unloadMovie (bigSmileMouth_mc);
unloadMovie (salesmanSmileMouth_mc);
unloadMovie (indifferentMouth_mc);
indifferentMouthV = 0;
salesmanSmileMouthV = 0;
bigSmileMouthV = 0;
smileMouthV = 0;
creatureMouthGone();
smokingMouthGone();
_root.attachMovie("sulkyMouth_mc", "sulkyMouth_mc", mouthLayerValue, {_x:261, _y:133});
sulkyMouthV = 1;
templateMouth_mc._alpha = 0;
} else if (sulkyMouthV == 1) {
unloadMovie (sulkyMouth_mc);
sulkyMouthV = 0;
templateMouth_mc._alpha = 100;
}
};
var angryMouthV = 0;
mouthMenu2_mc.angryMouth_btn.onRelease = function () {
if (angryMouthV == 0) {
mouth1Gone();
unloadMovie (turtlesMouth_mc);
unloadMovie (grrrMouth_mc);
unloadMovie (yellingMouth_mc);
unloadMovie (tongueMouth_mc);
tongueMouthV = 0;
yellingMouthV = 0;
grrrMouthV = 0;
turtlesMouthV = 0;
creatureMouthGone();
smokingMouthGone();
_root.attachMovie("angryMouth_mc", "angryMouth_mc", mouthLayerValue, {_x:261, _y:129});
angryMouthV = 1;
templateMouth_mc._alpha = 0;
} else if (angryMouthV == 1) {
unloadMovie (angryMouth_mc);
angryMouthV = 0;
templateMouth_mc._alpha = 100;
}
};
var grrrMouthV = 0;
mouthMenu2_mc.grrrMouth_btn.onRelease = function () {
if (grrrMouthV == 0) {
mouth1Gone();
unloadMovie (turtlesMouth_mc);
unloadMovie (angryMouth_mc);
unloadMovie (yellingMouth_mc);
unloadMovie (tongueMouth_mc);
tongueMouthV = 0;
yellingMouthV = 0;
angryMouthV = 0;
turtlesMouthV = 0;
creatureMouthGone();
smokingMouthGone();
_root.attachMovie("grrrMouth_mc", "grrrMouth_mc", mouthLayerValue, {_x:260, _y:129});
grrrMouthV = 1;
templateMouth_mc._alpha = 0;
} else if (grrrMouthV == 1) {
unloadMovie (grrrMouth_mc);
grrrMouthV = 0;
templateMouth_mc._alpha = 100;
}
};
var turtlesMouthV = 0;
mouthMenu2_mc.turtlesMouth_btn.onRelease = function () {
if (turtlesMouthV == 0) {
mouth1Gone();
unloadMovie (grrrMouth_mc);
unloadMovie (angryMouth_mc);
unloadMovie (yellingMouth_mc);
unloadMovie (tongueMouth_mc);
tongueMouthV = 0;
yellingMouthV = 0;
angryMouthV = 0;
grrrMouthV = 0;
creatureMouthGone();
smokingMouthGone();
_root.attachMovie("turtlesMouth_mc", "turtlesMouth_mc", mouthLayerValue, {_x:262, _y:128});
turtlesMouthV = 1;
templateMouth_mc._alpha = 0;
} else if (turtlesMouthV == 1) {
unloadMovie (turtlesMouth_mc);
turtlesMouthV = 0;
templateMouth_mc._alpha = 100;
}
};
var yellingMouthV = 0;
mouthMenu2_mc.yellingMouth_btn.onRelease = function () {
if (yellingMouthV == 0) {
mouth1Gone();
unloadMovie (grrrMouth_mc);
unloadMovie (angryMouth_mc);
unloadMovie (turtlesMouth_mc);
unloadMovie (tongueMouth_mc);
tongueMouthV = 0;
turtlesMouthV = 0;
angryMouthV = 0;
grrrMouthV = 0;
creatureMouthGone();
smokingMouthGone();
_root.attachMovie("yellingMouth_mc", "yellingMouth_mc", mouthLayerValue, {_x:259, _y:129});
yellingMouthV = 1;
templateMouth_mc._alpha = 0;
} else if (yellingMouthV == 1) {
unloadMovie (yellingMouth_mc);
yellingMouthV = 0;
templateMouth_mc._alpha = 100;
}
};
var tongueMouthV = 0;
mouthMenu2_mc.tongueMouth_btn.onRelease = function () {
if (tongueMouthV == 0) {
mouth1Gone();
unloadMovie (grrrMouth_mc);
unloadMovie (angryMouth_mc);
unloadMovie (turtlesMouth_mc);
unloadMovie (yellingMouth_mc);
yellingMouthV = 0;
turtlesMouthV = 0;
angryMouthV = 0;
grrrMouthV = 0;
creatureMouthGone();
smokingMouthGone();
_root.attachMovie("tongueMouth_mc", "tongueMouth_mc", mouthLayerValue, {_x:260, _y:133});
tongueMouthV = 1;
templateMouth_mc._alpha = 0;
} else if (tongueMouthV == 1) {
unloadMovie (tongueMouth_mc);
tongueMouthV = 0;
templateMouth_mc._alpha = 100;
}
};
var vampireCreatureMouthV = 0;
creatureMouthMenu_mc.vampireMouth_btn.onRelease = function () {
if (vampireCreatureMouthV == 0) {
mouth1Gone();
mouth2Gone();
smokingMouthGone();
unloadMovie (bigVampireMouth_mc);
unloadMovie (orcMouth_mc);
unloadMovie (angryOrcMouth_mc);
unloadMovie (monsterMouth_mc);
unloadMovie (wideMonsterMouth_mc);
unloadMovie (sewnMouth_mc);
sewnMouthV = 0;
wideMonsterMouthV = 0;
monsterCreatureMouthV = 0;
angryOrcCreatureMouthV = 0;
orcCreatureMouthV = 0;
bigVampireCreatureMouthV = 0;
_root.attachMovie("vampireMouth_mc", "vampireMouth_mc", mouthLayerValue, {_x:258, _y:128});
vampireCreatureMouthV = 1;
templateMouth_mc._alpha = 0;
} else if (vampireCreatureMouthV == 1) {
unloadMovie (vampireMouth_mc);
vampireCreatureMouthV = 0;
templateMouth_mc._alpha = 100;
}
};
var bigVampireCreatureMouthV = 0;
creatureMouthMenu_mc.bigVampireMouth_btn.onRelease = function () {
if (bigVampireCreatureMouthV == 0) {
mouth1Gone();
mouth2Gone();
smokingMouthGone();
unloadMovie (vampireMouth_mc);
unloadMovie (orcMouth_mc);
unloadMovie (angryOrcMouth_mc);
unloadMovie (monsterMouth_mc);
unloadMovie (wideMonsterMouth_mc);
unloadMovie (sewnMouth_mc);
sewnMouthV = 0;
wideMonsterMouthV = 0;
monsterCreatureMouthV = 0;
angryOrcCreatureMouthV = 0;
orcCreatureMouthV = 0;
vampireCreatureMouthV = 0;
_root.attachMovie("bigVampireMouth_mc", "bigVampireMouth_mc", 6122, {_x:260, _y:129});
bigVampireCreatureMouthV = 1;
templateMouth_mc._alpha = 0;
} else if (bigVampireCreatureMouthV == 1) {
unloadMovie (bigVampireMouth_mc);
bigVampireCreatureMouthV = 0;
templateMouth_mc._alpha = 100;
}
};
var orcCreatureMouthV = 0;
creatureMouthMenu_mc.orcMouth_btn.onRelease = function () {
if (orcCreatureMouthV == 0) {
mouth1Gone();
mouth2Gone();
smokingMouthGone();
unloadMovie (vampireMouth_mc);
unloadMovie (bigVampireMouth_mc);
unloadMovie (angryOrcMouth_mc);
unloadMovie (monsterMouth_mc);
unloadMovie (wideMonsterMouth_mc);
unloadMovie (sewnMouth_mc);
sewnMouthV = 0;
wideMonsterMouthV = 0;
monsterCreatureMouthV = 0;
angryOrcCreatureMouthV = 0;
bigVampireCreatureMouthV = 0;
VampireCreatureMouthV = 0;
_root.attachMovie("orcMouth_mc", "orcMouth_mc", 1002, {_x:258, _y:120});
orcCreatureMouthV = 1;
templateMouth_mc._alpha = 0;
} else if (orcCreatureMouthV == 1) {
unloadMovie (orcMouth_mc);
orcCreatureMouthV = 0;
templateMouth_mc._alpha = 100;
}
};
var angryOrcCreatureMouthV = 0;
creatureMouthMenu_mc.angryOrcMouth_btn.onRelease = function () {
if (angryOrcCreatureMouthV == 0) {
mouth1Gone();
mouth2Gone();
smokingMouthGone();
unloadMovie (vampireMouth_mc);
unloadMovie (bigVampireMouth_mc);
unloadMovie (orcMouth_mc);
unloadMovie (monsterMouth_mc);
unloadMovie (wideMonsterMouth_mc);
unloadMovie (sewnMouth_mc);
sewnMouthV = 0;
wideMonsterMouthV = 0;
monsterCreatureMouthV = 0;
orcCreatureMouthV = 0;
bigVampireCreatureMouthV = 0;
VampireCreatureMouthV = 0;
_root.attachMovie("angryOrcMouth_mc", "angryOrcMouth_mc", mouthLayerValue, {_x:252, _y:120});
angryOrcCreatureMouthV = 1;
templateMouth_mc._alpha = 0;
} else if (angryOrcCreatureMouthV == 1) {
unloadMovie (angryOrcMouth_mc);
angryOrcCreatureMouthV = 0;
templateMouth_mc._alpha = 100;
}
};
var monsterCreatureMouthV = 0;
creatureMouthMenu_mc.monsterMouth_btn.onRelease = function () {
if (monsterCreatureMouthV == 0) {
mouth1Gone();
mouth2Gone();
smokingMouthGone();
unloadMovie (vampireMouth_mc);
unloadMovie (bigVampireMouth_mc);
unloadMovie (orcMouth_mc);
unloadMovie (angryOrcMouth_mc);
unloadMovie (wideMonsterMouth_mc);
unloadMovie (sewnMouth_mc);
sewnMouthV = 0;
wideMonsterMouthV = 0;
angryOrcCreatureMouthV = 0;
orcCreatureMouthV = 0;
bigVampireCreatureMouthV = 0;
VampireCreatureMouthV = 0;
_root.attachMovie("monsterMouth_mc", "monsterMouth_mc", mouthLayerValue, {_x:257, _y:125});
monsterCreatureMouthV = 1;
templateMouth_mc._alpha = 0;
} else if (monsterCreatureMouthV == 1) {
unloadMovie (monsterMouth_mc);
monsterCreatureMouthV = 0;
templateMouth_mc._alpha = 100;
}
};
var wideMonsterMouthV = 0;
creatureMouthMenu2_mc.wideMonsterMouth_btn.onRelease = function () {
if (wideMonsterMouthV == 0) {
mouth1Gone();
mouth2Gone();
smokingMouthGone();
unloadMovie (vampireMouth_mc);
unloadMovie (bigVampireMouth_mc);
unloadMovie (orcMouth_mc);
unloadMovie (angryOrcMouth_mc);
unloadMovie (monsterMouth_mc);
unloadMovie (sewnMouth_mc);
sewnMouthV = 0;
monsterCreatureMouthV = 0;
angryOrcCreatureMouthV = 0;
orcCreatureMouthV = 0;
bigVampireCreatureMouthV = 0;
VampireCreatureMouthV = 0;
_root.attachMovie("wideMonsterMouth_mc", "wideMonsterMouth_mc", mouthLayerValue, {_x:248.2, _y:98.3});
wideMonsterMouthV = 1;
templateMouth_mc._alpha = 0;
} else if (wideMonsterMouthV == 1) {
unloadMovie (wideMonsterMouth_mc);
wideMonsterMouthV = 0;
templateMouth_mc._alpha = 100;
}
};
var sewnMouthV = 0;
creatureMouthMenu2_mc.sewnMouth_btn.onRelease = function () {
if (sewnMouthV == 0) {
mouth1Gone();
mouth2Gone();
smokingMouthGone();
unloadMovie (vampireMouth_mc);
unloadMovie (bigVampireMouth_mc);
unloadMovie (orcMouth_mc);
unloadMovie (angryOrcMouth_mc);
unloadMovie (monsterMouth_mc);
unloadMovie (wideMonsterMouth_mc);
wideMonsterMouthV = 0;
monsterCreatureMouthV = 0;
angryOrcCreatureMouthV = 0;
orcCreatureMouthV = 0;
bigVampireCreatureMouthV = 0;
VampireCreatureMouthV = 0;
_root.attachMovie("sewnMouth_mc", "sewnMouth_mc", mouthLayerValue, {_x:262.8, _y:132.6});
sewnMouthV = 1;
templateMouth_mc._alpha = 0;
} else if (sewnMouthV == 1) {
unloadMovie (sewnMouth_mc);
sewnMouthV = 0;
templateMouth_mc._alpha = 100;
}
};
var cigarLeftMouthV = 0;
smokingMouthMenu_mc.cigarLeftMouth_btn.onRelease = function () {
if (cigarLeftMouthV == 0) {
mouth1Gone();
mouth2Gone();
creatureMouthGone();
unloadMovie (cigarRightMouth_mc);
unloadMovie (cigarRightMouth2_mc);
unloadMovie (pipeMouth_mc);
unloadMovie (pipeMouth2_mc);
unloadMovie (seamanPipeMouth_mc);
unloadMovie (seamanPipeMouth2_mc);
seamanPipeMouthV = 0;
pipeMouthV = 0;
cigarRightMouthV = 0;
_root.attachMovie("cigarLeftMouth_mc", "cigarLeftMouth_mc", mouthLayerValue, {_x:258, _y:129});
_root.attachMovie("cigarLeftMouth2_mc", "cigarLeftMouth2_mc", 6123, {_x:286, _y:129});
cigarLeftMouthV = 1;
templateMouth_mc._alpha = 0;
} else if (cigarLeftMouthV == 1) {
unloadMovie (cigarLeftMouth_mc);
unloadMovie (cigarLeftMouth2_mc);
cigarLeftMouthV = 0;
templateMouth_mc._alpha = 100;
}
};
var cigarRightMouthV = 0;
smokingMouthMenu_mc.cigarRightMouth_btn.onRelease = function () {
if (cigarRightMouthV == 0) {
mouth1Gone();
mouth2Gone();
creatureMouthGone();
unloadMovie (cigarLeftMouth_mc);
unloadMovie (cigarLeftMouth2_mc);
unloadMovie (pipeMouth_mc);
unloadMovie (pipeMouth2_mc);
unloadMovie (seamanPipeMouth_mc);
unloadMovie (seamanPipeMouth2_mc);
seamanPipeMouthV = 0;
pipeMouthV = 0;
cigarLeftMouthV = 0;
_root.attachMovie("cigarRightMouth_mc", "cigarRightMouth_mc", mouthLayerValue, {_x:228, _y:130});
_root.attachMovie("cigarRightMouth2_mc", "cigarRightMouth2_mc", 6124, {_x:228, _y:130});
cigarRightMouthV = 1;
templateMouth_mc._alpha = 0;
} else if (cigarRightMouthV == 1) {
unloadMovie (cigarRightMouth_mc);
unloadMovie (cigarRightMouth2_mc);
cigarRightMouthV = 0;
templateMouth_mc._alpha = 100;
}
};
var pipeMouthV = 0;
smokingMouthMenu_mc.pipeMouth_btn.onRelease = function () {
if (pipeMouthV == 0) {
mouth1Gone();
mouth2Gone();
creatureMouthGone();
unloadMovie (cigarLeftMouth_mc);
unloadMovie (cigarLeftMouth2_mc);
unloadMovie (cigarRightMouth_mc);
unloadMovie (cigarRightMouth2_mc);
unloadMovie (seamanPipeMouth_mc);
unloadMovie (seamanPipeMouth2_mc);
seamanPipeMouthV = 0;
cigarRightMouthV = 0;
cigarLeftMouthV = 0;
_root.attachMovie("pipeMouth_mc", "pipeMouth_mc", mouthLayerValue, {_x:261, _y:126});
_root.attachMovie("pipeMouth2_mc", "pipeMouth2_mc", 6125, {_x:224, _y:126});
pipeMouthV = 1;
templateMouth_mc._alpha = 0;
} else if (pipeMouthV == 1) {
unloadMovie (pipeMouth_mc);
unloadMovie (pipeMouth2_mc);
pipeMouthV = 0;
templateMouth_mc._alpha = 100;
}
};
var seamanPipeMouthV = 0;
smokingMouthMenu_mc.seamanPipeMouth_btn.onRelease = function () {
if (seamanPipeMouthV == 0) {
mouth1Gone();
mouth2Gone();
creatureMouthGone();
unloadMovie (cigarLeftMouth_mc);
unloadMovie (cigarLeftMouth2_mc);
unloadMovie (cigarRightMouth_mc);
unloadMovie (cigarRightMouth2_mc);
unloadMovie (pipeMouth_mc);
unloadMovie (pipeMouth2_mc);
pipeMouthV = 0;
cigarRightMouthV = 0;
cigarLeftMouthV = 0;
_root.attachMovie("seamanPipeMouth_mc", "seamanPipeMouth_mc", mouthLayerValue, {_x:226, _y:134});
_root.attachMovie("seamanPipeMouth2_mc", "seamanPipeMouth2_mc", 6126, {_x:226, _y:134});
seamanPipeMouthV = 1;
testGrandpa();
templateMouth_mc._alpha = 0;
} else if (seamanPipeMouthV == 1) {
unloadMovie (seamanPipeMouth_mc);
unloadMovie (seamanPipeMouth2_mc);
seamanPipeMouthV = 0;
templateMouth_mc._alpha = 100;
}
};
function armorShortSwordArmored() {
if (evilKnightTorsoV == 1) {
shortSwordArmored_mc._width = 221.3;
shortSwordArmored2_mc._width = 26.3;
shortSwordArmored_mc._x = 152.5;
shortSwordArmored2_mc._x = 222.8;
}
}
function allOtherThanSwordsGone() {
allOldFirearmsGone();
extraMeleeArmsGone();
allBigFirearmsGone();
allFutureFirearmsGone();
alternativeWaysGone();
meleeArmsGone();
smallBaldesGone();
futureSwordsGone();
firearmsModernGone();
miscArmsGone();
}
function allSwordsArmoredGone() {
swordsAncientArmsGone();
allKantanaGone();
}
function swordsAncientArmsGone() {
unloadMovie (shortSwordArmored_mc);
unloadMovie (shortSwordArmored2_mc);
unloadMovie (twinSwordsAncientArmored_mc);
unloadMovie (twinSwordsAncientArmored2_mc);
unloadMovie (twinSwordsAncientArmored3_mc);
twinSwordsArmoredV = 0;
shortSwordArmoredV = 0;
}
function allKantanaGone() {
kantana2handedGone();
kantanaLeft1Gone();
kantanaLeft2Gone();
kantanaRight1Gone();
kantanaRight2Gone();
}
function kantana2handedGone() {
unloadMovie (kantana2HandedBlack_mc);
unloadMovie (kantana2HandedBlack2_mc);
unloadMovie (kantana2HandedGreen_mc);
unloadMovie (kantana2HandedGreen2_mc);
unloadMovie (kantana2HandedBlue_mc);
unloadMovie (kantana2HandedBlue2_mc);
unloadMovie (kantana2HandedRed_mc);
unloadMovie (kantana2HandedRed2_mc);
kantana2HandedArmoredRedV = 0;
kantana2HandedArmoredBlueV = 0;
kantana2HandedArmoredGreenV = 0;
kantana2HandedArmoredBlackV = 0;
}
function kantanaLeft1Gone() {
unloadMovie (kantanaLeft1Green_mc);
unloadMovie (kantanaLeft1Black_mc);
unloadMovie (kantanaLeft1Blue_mc);
unloadMovie (kantanaLeft1Red_mc);
kantanaLeft1ArmoredRedV = 0;
kantanaLeft1ArmoredBlueV = 0;
kantanaLeft1ArmoredBlackV = 0;
kantanaLeft1ArmoredGreenV = 0;
leftHandedWeaponOn = 0;
}
function kantanaLeft2Gone() {
unloadMovie (kantanaLeft2Green_mc);
unloadMovie (kantanaLeft2Black_mc);
unloadMovie (kantanaLeft2Blue_mc);
unloadMovie (kantanaLeft2Red_mc);
kantanaLeft2ArmoredRedV = 0;
kantanaLeft2ArmoredBlueV = 0;
kantanaLeft2ArmoredBlackV = 0;
kantanaLeft2ArmoredGreenV = 0;
leftHandedWeaponOn = 0;
}
function kantanaRight1Gone() {
unloadMovie (kantanaRight1Green_mc);
unloadMovie (kantanaRight1Blue_mc);
unloadMovie (kantanaRight1Red_mc);
unloadMovie (kantanaRight1Black_mc);
kantanaRight1ArmoredBlackV = 0;
kantanaRight1ArmoredRedV = 0;
kantanaRight1ArmoredBlueV = 0;
kantanaRight1ArmoredGreenV = 0;
rightHandedWeaponOn = 0;
}
function kantanaRight2Gone() {
unloadMovie (kantanaRight1Green_mc);
unloadMovie (kantanaRight1Blue_mc);
unloadMovie (kantanaRight1Red_mc);
unloadMovie (kantanaRight2Black_mc);
kantanaRight2ArmoredBlackV = 0;
kantanaRight2ArmoredRedV = 0;
kantanaRight2ArmoredBlueV = 0;
kantanaRight2ArmoredGreenV = 0;
rightHandedWeaponOn = 0;
}
function kantana2HandedColorDown() {
if (kantana2HandedColorV == 1) {
kantana2HandedColorUp();
} else if (kantana2HandedColorV == 0) {
kantana2HandedColorV = 1;
kantana2HandedColor_mc.onEnterFrame = function () {
this._y = this._y + 12;
if (this._y > -40) {
delete this.onEnterFrame;
}
};
}
}
function kantana2HandedColorUp() {
kantana2HandedColor_mc._y = -140;
kantana2HandedColorV = 0;
}
function kantanaLeft1ColorDown() {
if (kantanaLeft1ColorV == 1) {
kantanaLeft1ColorUp();
} else if (kantanaLeft1ColorV == 0) {
kantanaLeft1ColorV = 1;
kantanaLeft1Color_mc.onEnterFrame = function () {
this._y = this._y + 12;
if (this._y > -40) {
delete this.onEnterFrame;
}
};
}
}
function kantanaLeft1ColorUp() {
kantanaLeft1Color_mc._y = -140;
kantanaLeft1ColorV = 0;
}
function kantanaRight1ColorDown() {
if (kantanaRight1ColorV == 1) {
kantanaRight1ColorUp();
} else if (kantanaRight1ColorV == 0) {
kantanaRight1ColorV = 1;
kantanaRight1Color_mc.onEnterFrame = function () {
this._y = this._y + 12;
if (this._y > -40) {
delete this.onEnterFrame;
}
};
}
}
function kantanaRight1ColorUp() {
kantanaRight1Color_mc._y = -140;
kantanaRight1ColorV = 0;
}
function kantanaRight2ColorDown() {
if (kantanaRight2ColorV == 1) {
kantanaRight2ColorUp();
} else if (kantanaRight2ColorV == 0) {
kantanaRight2ColorV = 1;
kantanaRight2Color_mc.onEnterFrame = function () {
this._y = this._y + 12;
if (this._y > -40) {
delete this.onEnterFrame;
}
};
}
}
function kantanaRight2ColorUp() {
kantanaRight2Color_mc._y = -140;
kantanaRight2ColorV = 0;
}
function kantanaLeft2ColorDown() {
if (kantanaLeft2ColorV == 1) {
kantanaLeft2ColorUp();
} else if (kantanaLeft2ColorV == 0) {
kantanaLeft2ColorV = 1;
kantanaLeft2Color_mc.onEnterFrame = function () {
this._y = this._y + 12;
if (this._y > -40) {
delete this.onEnterFrame;
}
};
}
}
function kantanaLeft2ColorUp() {
kantanaLeft2Color_mc._y = -140;
kantanaLeft2ColorV = 0;
}
var armsLayerValue = 9500;
var armsLayerValueLeft = 5550;
var armsLayerValue2 = 5500;
var armsLayerValue3 = 9000;
var armsLayerValue4 = 9700;
var leftHandedWeaponOn = 0;
var rightHandedWeaponOn = 0;
var kantana2HandedColorV = 0;
var kantanaLeft1ColorV = 0;
var kantanaRight1ColorV = 0;
var kantanaRight2ColorV = 0;
var kantanaLeft2ColorV = 0;
swordsAncientArmoredMenu_mc.kantanaArms_btn.onRelease = function () {
kantana2HandedColorDown();
kantanaLeft1ColorUp();
kantanaRight1ColorUp();
};
swordsAncientArmoredMenu_mc.kantanaLeft1_btn.onRelease = function () {
kantanaLeft1ColorDown();
kantanaRight1ColorUp();
kantana2HandedColorUp();
};
swordsAncientArmoredMenu_mc.kantanaRight1_btn.onRelease = function () {
kantanaRight1ColorDown();
kantanaLeft1ColorUp();
kantana2HandedColorUp();
};
swordsAncientArmoredMenu2_mc.kantanaRight2_btn.onRelease = function () {
kantanaRight2ColorDown();
kantanaLeft2ColorUp();
};
swordsAncientArmoredMenu2_mc.kantanaLeft2_btn.onRelease = function () {
kantanaLeft2ColorDown();
kantanaRight2ColorUp();
};
var shortSwordArmoredV = 0;
swordsAncientArmoredMenu_mc.shortSwordArmored_btn.onRelease = function () {
if (shortSwordArmoredV == 0) {
otherMeleeGone();
firearmsModernGone();
allKantanaGone();
allOtherThanSwordsGone();
unloadMovie (twinSwordsAncientArmored_mc);
unloadMovie (twinSwordsAncientArmored2_mc);
unloadMovie (twinSwordsAncientArmored3_mc);
twinSwordsArmoredV = 0;
_root.attachMovie("shortSwordArmored_mc", "shortSwordArmored_mc", armsLayerValue, {_x:165, _y:145});
_root.attachMovie("shortSwordArmored2_mc", "shortSwordArmored2_mc", armsLayerValue2, {_x:230, _y:154});
shortSwordArmoredV = 1;
templateArm1_mc._alpha = 0;
templateArm2_mc._alpha = 0;
armorShortSwordArmored();
} else if (shortSwordArmoredV == 1) {
unloadMovie (shortSwordArmored_mc);
unloadMovie (shortSwordArmored2_mc);
shortSwordArmoredV = 0;
templateArm1_mc._alpha = 100;
templateArm2_mc._alpha = 100;
}
};
var twinSwordsArmoredV = 0;
swordsAncientArmoredMenu_mc.twinSwordsAncientArmored_btn.onRelease = function () {
if (twinSwordsArmoredV == 0) {
otherMeleeGone();
firearmsModernGone();
allKantanaGone();
allOtherThanSwordsGone();
unloadMovie (shortSwordArmored_mc);
unloadMovie (shortSwordArmored2_mc);
shortSwordArmoredV = 0;
_root.attachMovie("twinSwordsAncientArmored_mc", "twinSwordsAncientArmored_mc", armsLayerValue, {_x:162, _y:46});
_root.attachMovie("twinSwordsAncientArmored2_mc", "twinSwordsAncientArmored2_mc", armsLayerValue4, {_x:305, _y:51});
_root.attachMovie("twinSwordsAncientArmored3_mc", "twinSwordsAncientArmored3_mc", armsLayerValue3, {_x:221, _y:147});
twinSwordsArmoredV = 1;
templateArm1_mc._alpha = 0;
templateArm2_mc._alpha = 0;
} else if (twinSwordsArmoredV == 1) {
unloadMovie (twinSwordsAncientArmored_mc);
unloadMovie (twinSwordsAncientArmored2_mc);
unloadMovie (twinSwordsAncientArmored3_mc);
twinSwordsArmoredV = 0;
templateArm1_mc._alpha = 100;
templateArm2_mc._alpha = 100;
}
};
var kantana2HandedArmoredBlackV = 0;
kantana2HandedColor_mc.kantana2HandedBlack_btn.onRelease = function () {
if (kantana2HandedArmoredBlackV == 0) {
swordsAncientArmsGone();
otherMeleeGone();
firearmsModernGone();
kantanaLeft1Gone();
kantanaLeft2Gone();
kantanaRight1Gone();
kantanaRight2Gone();
allOtherThanSwordsGone();
unloadMovie (kantana2HandedGreen_mc);
unloadMovie (kantana2HandedGreen2_mc);
unloadMovie (kantana2HandedBlue_mc);
unloadMovie (kantana2HandedBlue2_mc);
unloadMovie (kantana2HandedRed_mc);
unloadMovie (kantana2HandedRed2_mc);
kantana2HandedArmoredRedV = 0;
kantana2HandedArmoredBlueV = 0;
kantana2HandedArmoredGreenV = 0;
templateArm1_mc._alpha = 0;
templateArm2_mc._alpha = 0;
_root.attachMovie("kantana2HandedBlack_mc", "kantana2HandedBlack_mc", armsLayerValue, {_x:209, _y:139});
_root.attachMovie("kantana2HandedBlack2_mc", "kantana2HandedBlack2_mc", armsLayerValue2, {_x:230.6, _y:148});
kantana2HandedArmoredBlackV = 1;
} else if (kantana2HandedArmoredBlackV == 1) {
unloadMovie (kantana2HandedBlack_mc);
unloadMovie (kantana2HandedBlack2_mc);
kantana2HandedArmoredBlackV = 0;
templateArm1_mc._alpha = 100;
templateArm2_mc._alpha = 100;
}
};
var kantana2HandedArmoredGreenV = 0;
kantana2HandedColor_mc.kantana2HandedGreen_btn.onRelease = function () {
if (kantana2HandedArmoredGreenV == 0) {
swordsAncientArmsGone();
otherMeleeGone();
firearmsModernGone();
kantanaLeft1Gone();
kantanaLeft2Gone();
kantanaRight1Gone();
kantanaRight2Gone();
allOtherThanSwordsGone();
unloadMovie (kantana2HandedBlue_mc);
unloadMovie (kantana2HandedBlack_mc);
unloadMovie (kantana2HandedBlack2_mc);
unloadMovie (kantana2HandedRed_mc);
unloadMovie (kantana2HandedRed2_mc);
unloadMovie (kantana2HandedBlue2_mc);
kantana2HandedArmoredRedV = 0;
kantana2HandedArmoredBlackV = 0;
kantana2HandedArmoredBlueV = 0;
templateArm1_mc._alpha = 0;
templateArm2_mc._alpha = 0;
_root.attachMovie("kantana2HandedGreen_mc", "kantana2HandedGreen_mc", armsLayerValue, {_x:209, _y:139});
_root.attachMovie("kantana2HandedGreen2_mc", "kantana2HandedGreen2_mc", armsLayerValue2, {_x:230.6, _y:148});
kantana2HandedArmoredGreenV = 1;
} else if (kantana2HandedArmoredGreenV == 1) {
unloadMovie (kantana2HandedGreen_mc);
unloadMovie (kantana2HandedGreen2_mc);
kantana2HandedArmoredGreenV = 0;
templateArm1_mc._alpha = 100;
templateArm2_mc._alpha = 100;
}
};
var kantana2HandedArmoredBlueV = 0;
kantana2HandedColor_mc.kantana2HandedBlue_btn.onRelease = function () {
if (kantana2HandedArmoredBlueV == 0) {
swordsAncientArmsGone();
otherMeleeGone();
firearmsModernGone();
kantanaLeft1Gone();
kantanaLeft2Gone();
kantanaRight1Gone();
kantanaRight2Gone();
allOtherThanSwordsGone();
unloadMovie (kantana2HandedGreen_mc);
unloadMovie (kantana2HandedGreen2_mc);
unloadMovie (kantana2HandedBlack_mc);
unloadMovie (kantana2HandedBlack2_mc);
unloadMovie (kantana2HandedRed_mc);
unloadMovie (kantana2HandedRed2_mc);
kantana2HandedArmoredRedV = 0;
kantana2HandedArmoredBlackV = 0;
kantana2HandedArmoredGreenV = 0;
templateArm1_mc._alpha = 0;
templateArm2_mc._alpha = 0;
_root.attachMovie("kantana2HandedBlue_mc", "kantana2HandedBlue_mc", armsLayerValue, {_x:209, _y:139});
_root.attachMovie("kantana2HandedBlue2_mc", "kantana2HandedBlue2_mc", armsLayerValue2, {_x:230.6, _y:148});
kantana2HandedArmoredBlueV = 1;
} else if (kantana2HandedArmoredBlueV == 1) {
unloadMovie (kantana2HandedBlue_mc);
unloadMovie (kantana2HandedBlue2_mc);
kantana2HandedArmoredBlueV = 0;
templateArm1_mc._alpha = 100;
templateArm2_mc._alpha = 100;
}
};
var kantana2HandedArmoredRedV = 0;
kantana2HandedColor_mc.kantana2HandedRed_btn.onRelease = function () {
if (kantana2HandedArmoredRedV == 0) {
swordsAncientArmsGone();
otherMeleeGone();
firearmsModernGone();
kantanaLeft1Gone();
kantanaLeft2Gone();
kantanaRight1Gone();
kantanaRight2Gone();
allOtherThanSwordsGone();
unloadMovie (kantana2HandedGreen_mc);
unloadMovie (kantana2HandedGreen2_mc);
unloadMovie (kantana2HandedBlack_mc);
unloadMovie (kantana2HandedBlack2_mc);
unloadMovie (kantana2HandedBlue_mc);
unloadMovie (kantana2HandedBlue2_mc);
kantana2HandedArmoredBlueV = 0;
kantana2HandedArmoredBlackV = 0;
kantana2HandedArmoredGreenV = 0;
templateArm1_mc._alpha = 0;
templateArm2_mc._alpha = 0;
_root.attachMovie("kantana2HandedRed_mc", "kantana2HandedRed_mc", armsLayerValue, {_x:209, _y:139});
_root.attachMovie("kantana2HandedRed2_mc", "kantana2HandedRed2_mc", armsLayerValue2, {_x:230, _y:148});
kantana2HandedArmoredRedV = 1;
} else if (kantana2HandedArmoredRedV == 1) {
unloadMovie (kantana2HandedRed_mc);
unloadMovie (kantana2HandedRed2_mc);
kantana2HandedArmoredRedV = 0;
templateArm1_mc._alpha = 100;
templateArm2_mc._alpha = 100;
}
};
var kantanaLeft1ArmoredBlackV = 0;
kantanaLeft1Color_mc.kantanaLeft1Black_btn.onRelease = function () {
if (kantanaLeft1ArmoredBlackV == 0) {
swordsAncientArmsGone();
otherMeleeGone();
firearmsModernGone();
kantana2handedGone();
allOtherThanSwordsGone();
unloadMovie (kantanaLeft1Green_mc);
unloadMovie (kantanaLeft1Blue_mc);
unloadMovie (kantanaLeft1Red_mc);
unloadMovie (kantana2HandedBlue2_mc);
kantanaLeft1ArmoredRedV = 0;
kantanaLeft1ArmoredBlueV = 0;
kantanaLeft1ArmoredGreenV = 0;
templateArm1_mc._alpha = 100;
templateArm2_mc._alpha = 0;
_root.attachMovie("kantanaLeft1Black_mc", "kantanaLeft1Black_mc", armsLayerValueLeft, {_x:130, _y:155});
kantanaLeft1ArmoredBlackV = 1;
leftHandedWeaponOn = 1;
if (rightHandedWeaponOn == 1) {
templateArm1_mc._alpha = 0;
}
} else if (kantanaLeft1ArmoredBlackV == 1) {
unloadMovie (kantanaLeft1Black_mc);
kantanaLeft1ArmoredBlackV = 0;
leftHandedWeaponOn = 0;
templateArm1_mc._alpha = 100;
templateArm2_mc._alpha = 100;
if (rightHandedWeaponOn == 1) {
templateArm1_mc._alpha = 0;
}
}
};
var kantanaLeft1ArmoredGreenV = 0;
kantanaLeft1Color_mc.kantanaLeft1Green_btn.onRelease = function () {
if (kantanaLeft1ArmoredGreenV == 0) {
swordsAncientArmsGone();
otherMeleeGone();
firearmsModernGone();
kantana2handedGone();
allOtherThanSwordsGone();
unloadMovie (kantanaLeft1Blue_mc);
unloadMovie (kantanaLeft1Black_mc);
unloadMovie (kantanaLeft1Red_mc);
kantanaLeft1ArmoredRedV = 0;
kantanaLeft1ArmoredBlackV = 0;
kantanaLeft1ArmoredBlueV = 0;
templateArm1_mc._alpha = 100;
templateArm2_mc._alpha = 0;
_root.attachMovie("kantanaLeft1Green_mc", "kantanaLeft1Green_mc", armsLayerValueLeft, {_x:130, _y:155});
kantanaLeft1ArmoredGreenV = 1;
leftHandedWeaponOn = 1;
if (rightHandedWeaponOn == 1) {
templateArm1_mc._alpha = 0;
}
} else if (kantanaLeft1ArmoredGreenV == 1) {
unloadMovie (kantanaLeft1Green_mc);
kantanaLeft1ArmoredGreenV = 0;
templateArm1_mc._alpha = 100;
templateArm2_mc._alpha = 100;
leftHandedWeaponOn = 0;
if (rightHandedWeaponOn == 1) {
templateArm1_mc._alpha = 0;
}
}
};
var kantanaLeft1ArmoredBlueV = 0;
kantanaLeft1Color_mc.kantanaLeft1Blue_btn.onRelease = function () {
if (kantanaLeft1ArmoredBlueV == 0) {
swordsAncientArmsGone();
otherMeleeGone();
firearmsModernGone();
kantana2handedGone();
allOtherThanSwordsGone();
unloadMovie (kantanaLeft1Green_mc);
unloadMovie (kantanaLeft1Black_mc);
unloadMovie (kantanaLeft1Red_mc);
kantanaLeft1ArmoredRedV = 0;
kantanaLeft1ArmoredBlackV = 0;
kantanaLeft1ArmoredGreenV = 0;
templateArm1_mc._alpha = 100;
templateArm2_mc._alpha = 0;
if (rightHandedWeaponOn == 1) {
templateArm1_mc._alpha = 0;
}
_root.attachMovie("kantanaLeft1Blue_mc", "kantanaLeft1Blue_mc", armsLayerValueLeft, {_x:130, _y:155});
kantanaLeft1ArmoredBlueV = 1;
if (rightHandedWeaponOn == 1) {
templateArm1_mc._alpha = 0;
}
leftHandedWeaponOn = 1;
} else if (kantanaLeft1ArmoredBlueV == 1) {
unloadMovie (kantanaLeft1Blue_mc);
kantanaLeft1ArmoredBlueV = 0;
templateArm1_mc._alpha = 100;
templateArm2_mc._alpha = 100;
leftHandedWeaponOn = 0;
if (rightHandedWeaponOn == 1) {
templateArm1_mc._alpha = 0;
}
}
};
var kantanaLeft1ArmoredRedV = 0;
kantanaLeft1Color_mc.kantanaLeft1Red_btn.onRelease = function () {
if (kantanaLeft1ArmoredRedV == 0) {
swordsAncientArmsGone();
otherMeleeGone();
firearmsModernGone();
kantana2handedGone();
allOtherThanSwordsGone();
unloadMovie (kantanaLeft1Green_mc);
unloadMovie (kantanaLeft1Black_mc);
unloadMovie (kantanaLeft1Blue_mc);
kantanaLeft1ArmoredBlueV = 0;
kantanaLeft1ArmoredBlackV = 0;
kantanaLeft1ArmoredGreenV = 0;
templateArm1_mc._alpha = 100;
templateArm2_mc._alpha = 0;
if (rightHandedWeaponOn == 1) {
templateArm1_mc._alpha = 0;
}
_root.attachMovie("kantanaLeft1Red_mc", "kantanaLeft1Red_mc", armsLayerValueLeft, {_x:130, _y:155});
kantanaLeft1ArmoredRedV = 1;
if (rightHandedWeaponOn == 1) {
templateArm1_mc._alpha = 0;
}
leftHandedWeaponOn = 1;
} else if (kantanaLeft1ArmoredRedV == 1) {
unloadMovie (kantanaLeft1Red_mc);
kantanaLeft1ArmoredRedV = 0;
templateArm1_mc._alpha = 100;
templateArm2_mc._alpha = 100;
leftHandedWeaponOn = 0;
if (rightHandedWeaponOn == 1) {
templateArm1_mc._alpha = 0;
}
}
};
var kantanaRight1ArmoredBlackV = 0;
kantanaRight1Color_mc.kantanaRight1Black_btn.onRelease = function () {
if (kantanaRight1ArmoredBlackV == 0) {
swordsAncientArmsGone();
otherMeleeGone();
firearmsModernGone();
kantana2handedGone();
allOtherThanSwordsGone();
unloadMovie (kantanaRight1Green_mc);
unloadMovie (kantanaRight1Blue_mc);
unloadMovie (kantanaRight1Red_mc);
kantanaRight1ArmoredRedV = 0;
kantanaRight1ArmoredBlueV = 0;
kantanaRight1ArmoredGreenV = 0;
templateArm1_mc._alpha = 0;
templateArm2_mc._alpha = 100;
_root.attachMovie("kantanaRight1Black_mc", "kantanaRight1Black_mc", armsLayerValue, {_x:301, _y:143});
kantanaRight1ArmoredBlackV = 1;
rightHandedWeaponOn = 1;
if (leftHandedWeaponOn == 1) {
templateArm2_mc._alpha = 0;
}
} else if (kantanaRight1ArmoredBlackV == 1) {
unloadMovie (kantanaRight1Black_mc);
kantanaRight1ArmoredBlackV = 0;
templateArm1_mc._alpha = 100;
templateArm2_mc._alpha = 100;
rightHandedWeaponOn = 0;
if (leftHandedWeaponOn == 1) {
templateArm2_mc._alpha = 0;
}
}
};
var kantanaRight1ArmoredGreenV = 0;
kantanaRight1Color_mc.kantanaRight1Green_btn.onRelease = function () {
if (kantanaRight1ArmoredGreenV == 0) {
swordsAncientArmsGone();
otherMeleeGone();
firearmsModernGone();
kantana2handedGone();
allOtherThanSwordsGone();
unloadMovie (kantanaRight1Blue_mc);
unloadMovie (kantanaRight1Black_mc);
unloadMovie (kantanaRight1Red_mc);
kantanaRight1ArmoredRedV = 0;
kantanaRight1ArmoredBlackV = 0;
kantanaRight1ArmoredBlueV = 0;
templateArm1_mc._alpha = 0;
templateArm2_mc._alpha = 100;
_root.attachMovie("kantanaRight1Green_mc", "kantanaRight1Green_mc", armsLayerValue, {_x:301, _y:143});
kantanaRight1ArmoredGreenV = 1;
if (leftHandedWeaponOn == 1) {
templateArm2_mc._alpha = 0;
rightHandedWeaponOn = 1;
}
} else if (kantanaRight1ArmoredGreenV == 1) {
unloadMovie (kantanaRight1Green_mc);
kantanaRight1ArmoredGreenV = 0;
templateArm1_mc._alpha = 100;
templateArm2_mc._alpha = 100;
rightHandedWeaponOn = 0;
if (leftHandedWeaponOn == 1) {
templateArm2_mc._alpha = 0;
}
}
};
var kantanaRight1ArmoredBlueV = 0;
kantanaRight1Color_mc.kantanaRight1Blue_btn.onRelease = function () {
if (kantanaRight1ArmoredBlueV == 0) {
swordsAncientArmsGone();
otherMeleeGone();
firearmsModernGone();
kantana2handedGone();
allOtherThanSwordsGone();
unloadMovie (kantanaRight1Green_mc);
unloadMovie (kantanaRight1Black_mc);
unloadMovie (kantanaRight1Red_mc);
kantanaRight1ArmoredRedV = 0;
kantanaRight1ArmoredBlackV = 0;
kantanaRight1ArmoredGreenV = 0;
templateArm1_mc._alpha = 0;
templateArm2_mc._alpha = 100;
_root.attachMovie("kantanaRight1Blue_mc", "kantanaRight1Blue_mc", armsLayerValue, {_x:301, _y:143});
kantanaRight1ArmoredBlueV = 1;
if (leftHandedWeaponOn == 1) {
templateArm2_mc._alpha = 0;
}
rightHandedWeaponOn = 1;
} else if (kantanaRight1ArmoredBlueV == 1) {
unloadMovie (kantanaRight1Blue_mc);
kantanaRight1ArmoredBlueV = 0;
templateArm1_mc._alpha = 100;
templateArm2_mc._alpha = 100;
rightHandedWeaponOn = 0;
if (leftHandedWeaponOn == 1) {
templateArm2_mc._alpha = 0;
}
}
};
var kantanaRight1ArmoredRedV = 0;
kantanaRight1Color_mc.kantanaRight1Red_btn.onRelease = function () {
if (kantanaRight1ArmoredRedV == 0) {
swordsAncientArmsGone();
otherMeleeGone();
firearmsModernGone();
kantana2handedGone();
allOtherThanSwordsGone();
unloadMovie (kantanaRight1Green_mc);
unloadMovie (kantanaRight1Black_mc);
unloadMovie (kantanaRight1Blue_mc);
kantanaRight1ArmoredBlueV = 0;
kantanaRight1ArmoredBlackV = 0;
kantanaRight1ArmoredGreenV = 0;
templateArm1_mc._alpha = 0;
templateArm2_mc._alpha = 100;
_root.attachMovie("kantanaRight1Red_mc", "kantanaRight1Red_mc", armsLayerValue, {_x:301, _y:143});
kantanaRight1ArmoredRedV = 1;
if (leftHandedWeaponOn == 1) {
templateArm2_mc._alpha = 0;
}
rightHandedWeaponOn = 1;
} else if (kantanaRight1ArmoredRedV == 1) {
unloadMovie (kantanaRight1Red_mc);
kantanaRight1ArmoredRedV = 0;
templateArm1_mc._alpha = 100;
templateArm2_mc._alpha = 100;
rightHandedWeaponOn = 0;
if (leftHandedWeaponOn == 1) {
templateArm2_mc._alpha = 0;
}
}
};
var kantanaRight2ArmoredBlackV = 0;
kantanaRight2Color_mc.kantanaRight2Black_btn.onRelease = function () {
if (kantanaRight2ArmoredBlackV == 0) {
swordsAncientArmsGone();
otherMeleeGone();
firearmsModernGone();
kantana2handedGone();
allOtherThanSwordsGone();
unloadMovie (kantanaRight1Green_mc);
unloadMovie (kantanaRight1Blue_mc);
unloadMovie (kantanaRight1Red_mc);
kantanaRight2ArmoredRedV = 0;
kantanaRight2ArmoredBlueV = 0;
kantanaRight2ArmoredGreenV = 0;
templateArm1_mc._alpha = 0;
templateArm2_mc._alpha = 100;
_root.attachMovie("kantanaRight2Black_mc", "kantanaRight2Black_mc", armsLayerValue, {_x:305, _y:144});
kantanaRight2ArmoredBlackV = 1;
if (leftHandedWeaponOn == 1) {
templateArm2_mc._alpha = 0;
}
rightHandedWeaponOn = 1;
} else if (kantanaRight2ArmoredBlackV == 1) {
unloadMovie (kantanaRight2Black_mc);
kantanaRight2ArmoredBlackV = 0;
templateArm1_mc._alpha = 100;
templateArm2_mc._alpha = 100;
rightHandedWeaponOn = 0;
if (leftHandedWeaponOn == 1) {
templateArm2_mc._alpha = 0;
}
}
};
var kantanaRight2ArmoredGreenV = 0;
kantanaRight2Color_mc.kantanaRight2Green_btn.onRelease = function () {
if (kantanaRight2ArmoredGreenV == 0) {
swordsAncientArmsGone();
otherMeleeGone();
firearmsModernGone();
kantana2handedGone();
allOtherThanSwordsGone();
unloadMovie (kantanaRight2Blue_mc);
unloadMovie (kantanaRight2Black_mc);
unloadMovie (kantanaRight2Red_mc);
kantanaRight2ArmoredRedV = 0;
kantanaRight2ArmoredBlackV = 0;
kantanaRight2ArmoredBlueV = 0;
templateArm1_mc._alpha = 0;
templateArm2_mc._alpha = 100;
_root.attachMovie("kantanaRight2Green_mc", "kantanaRight2Green_mc", armsLayerValue, {_x:305, _y:144});
kantanaRight2ArmoredGreenV = 1;
if (leftHandedWeaponOn == 1) {
templateArm2_mc._alpha = 0;
}
rightHandedWeaponOn = 1;
} else if (kantanaRight2ArmoredGreenV == 1) {
unloadMovie (kantanaRight2Green_mc);
kantanaRight2ArmoredGreenV = 0;
templateArm1_mc._alpha = 100;
templateArm2_mc._alpha = 100;
rightHandedWeaponOn = 0;
if (leftHandedWeaponOn == 1) {
templateArm2_mc._alpha = 0;
}
}
};
var kantanaRight2ArmoredBlueV = 0;
kantanaRight2Color_mc.kantanaRight2Blue_btn.onRelease = function () {
if (kantanaRight2ArmoredBlueV == 0) {
swordsAncientArmsGone();
otherMeleeGone();
firearmsModernGone();
kantana2handedGone();
allOtherThanSwordsGone();
unloadMovie (kantanaRight2Green_mc);
unloadMovie (kantanaRight2Black_mc);
unloadMovie (kantanaRight2Red_mc);
kantanaRight2ArmoredRedV = 0;
kantanaRight2ArmoredBlackV = 0;
kantanaRight2ArmoredGreenV = 0;
templateArm1_mc._alpha = 0;
templateArm2_mc._alpha = 100;
_root.attachMovie("kantanaRight2Blue_mc", "kantanaRight2Blue_mc", armsLayerValue, {_x:305, _y:144});
kantanaRight2ArmoredBlueV = 1;
if (leftHandedWeaponOn == 1) {
templateArm2_mc._alpha = 0;
}
rightHandedWeaponOn = 1;
} else if (kantanaRight2ArmoredBlueV == 1) {
unloadMovie (kantanaRight2Blue_mc);
kantanaRight2ArmoredBlueV = 0;
templateArm1_mc._alpha = 100;
templateArm2_mc._alpha = 100;
rightHandedWeaponOn = 0;
if (leftHandedWeaponOn == 1) {
templateArm2_mc._alpha = 0;
}
}
};
var kantanaRight2ArmoredRedV = 0;
kantanaRight2Color_mc.kantanaRight2Red_btn.onRelease = function () {
if (kantanaRight2ArmoredRedV == 0) {
swordsAncientArmsGone();
otherMeleeGone();
firearmsModernGone();
kantana2handedGone();
allOtherThanSwordsGone();
unloadMovie (kantanaRight2Green_mc);
unloadMovie (kantanaRight2Black_mc);
unloadMovie (kantanaRight2Blue_mc);
kantanaRight2ArmoredBlueV = 0;
kantanaRight2ArmoredBlackV = 0;
kantanaRight2ArmoredGreenV = 0;
templateArm1_mc._alpha = 0;
templateArm2_mc._alpha = 100;
_root.attachMovie("kantanaRight2Red_mc", "kantanaRight2Red_mc", armsLayerValue, {_x:305, _y:144});
kantanaRight2ArmoredRedV = 1;
rightHandedWeaponOn = 1;
if (leftHandedWeaponOn == 1) {
templateArm2_mc._alpha = 0;
}
} else if (kantanaRight2ArmoredRedV == 1) {
unloadMovie (kantanaRight2Red_mc);
kantanaRight2ArmoredRedV = 0;
templateArm1_mc._alpha = 100;
templateArm2_mc._alpha = 100;
rightHandedWeaponOn = 0;
if (leftHandedWeaponOn == 1) {
templateArm2_mc._alpha = 0;
}
}
};
var kantanaLeft2ArmoredBlackV = 0;
kantanaLeft2Color_mc.kantanaLeft2Black_btn.onRelease = function () {
if (kantanaLeft2ArmoredBlackV == 0) {
swordsAncientArmsGone();
otherMeleeGone();
firearmsModernGone();
kantana2handedGone();
allOtherThanSwordsGone();
unloadMovie (kantanaLeft1Green_mc);
unloadMovie (kantanaLeft1Blue_mc);
unloadMovie (kantanaLeft1Red_mc);
kantanaLeft2ArmoredRedV = 0;
kantanaLeft2ArmoredBlueV = 0;
kantanaLeft2ArmoredGreenV = 0;
templateArm1_mc._alpha = 100;
templateArm2_mc._alpha = 0;
_root.attachMovie("kantanaLeft2Black_mc", "kantanaLeft2Black_mc", armsLayerValueLeft, {_x:143, _y:151});
kantanaLeft2ArmoredBlackV = 1;
leftHandedWeaponOn = 1;
if (rightHandedWeaponOn == 1) {
templateArm1_mc._alpha = 0;
}
} else if (kantanaLeft2ArmoredBlackV == 1) {
unloadMovie (kantanaLeft2Black_mc);
kantanaLeft2ArmoredBlackV = 0;
templateArm1_mc._alpha = 100;
templateArm2_mc._alpha = 100;
leftHandedWeaponOn = 0;
if (rightHandedWeaponOn == 1) {
templateArm1_mc._alpha = 0;
}
}
};
var kantanaLeft2ArmoredGreenV = 0;
kantanaLeft2Color_mc.kantanaLeft2Green_btn.onRelease = function () {
if (kantanaLeft2ArmoredGreenV == 0) {
swordsAncientArmsGone();
otherMeleeGone();
firearmsModernGone();
kantana2handedGone();
allOtherThanSwordsGone();
unloadMovie (kantanaLeft2Blue_mc);
unloadMovie (kantanaLeft2Black_mc);
unloadMovie (kantanaLeft2Red_mc);
kantanaLeft2ArmoredRedV = 0;
kantanaLeft2ArmoredBlackV = 0;
kantanaLeft2ArmoredBlueV = 0;
templateArm1_mc._alpha = 100;
templateArm2_mc._alpha = 0;
_root.attachMovie("kantanaLeft2Green_mc", "kantanaLeft2Green_mc", armsLayerValueLeft, {_x:143, _y:151});
kantanaLeft2ArmoredGreenV = 1;
leftHandedWeaponOn = 1;
if (rightHandedWeaponOn == 1) {
templateArm1_mc._alpha = 0;
}
} else if (kantanaLeft2ArmoredGreenV == 1) {
unloadMovie (kantanaLeft2Green_mc);
kantanaLeft2ArmoredGreenV = 0;
templateArm1_mc._alpha = 100;
templateArm2_mc._alpha = 100;
leftHandedWeaponOn = 0;
if (rightHandedWeaponOn == 1) {
templateArm1_mc._alpha = 0;
}
}
};
var kantanaLeft2ArmoredBlueV = 0;
kantanaLeft2Color_mc.kantanaLeft2Blue_btn.onRelease = function () {
if (kantanaLeft2ArmoredBlueV == 0) {
swordsAncientArmsGone();
otherMeleeGone();
firearmsModernGone();
kantana2handedGone();
allOtherThanSwordsGone();
unloadMovie (kantanaLeft2Green_mc);
unloadMovie (kantanaLeft2Black_mc);
unloadMovie (kantanaLeft2Red_mc);
kantanaLeft2ArmoredRedV = 0;
kantanaLeft2ArmoredBlackV = 0;
kantanaLeft2ArmoredGreenV = 0;
templateArm1_mc._alpha = 100;
templateArm2_mc._alpha = 0;
leftHandedWeaponOn = 1;
_root.attachMovie("kantanaLeft2Blue_mc", "kantanaLeft2Blue_mc", armsLayerValueLeft, {_x:143, _y:151});
kantanaLeft2ArmoredBlueV = 1;
if (rightHandedWeaponOn == 1) {
templateArm1_mc._alpha = 0;
}
} else if (kantanaLeft2ArmoredBlueV == 1) {
unloadMovie (kantanaLeft2Blue_mc);
kantanaLeft2ArmoredBlueV = 0;
templateArm1_mc._alpha = 100;
templateArm2_mc._alpha = 100;
leftHandedWeaponOn = 0;
if (rightHandedWeaponOn == 1) {
templateArm1_mc._alpha = 0;
}
}
};
var kantanaLeft2ArmoredRedV = 0;
kantanaLeft2Color_mc.kantanaLeft2Red_btn.onRelease = function () {
if (kantanaLeft2ArmoredRedV == 0) {
swordsAncientArmsGone();
otherMeleeGone();
firearmsModernGone();
kantana2handedGone();
allOtherThanSwordsGone();
unloadMovie (kantanaLeft2Green_mc);
unloadMovie (kantanaLeft2Black_mc);
unloadMovie (kantanaLeft2Blue_mc);
kantanaLeft2ArmoredBlueV = 0;
kantanaLeft2ArmoredBlackV = 0;
kantanaLeft2ArmoredGreenV = 0;
templateArm1_mc._alpha = 100;
templateArm2_mc._alpha = 0;
_root.attachMovie("kantanaLeft2Red_mc", "kantanaLeft2Red_mc", armsLayerValueLeft, {_x:143, _y:151});
kantanaLeft2ArmoredRedV = 1;
leftHandedWeaponOn = 1;
if (rightHandedWeaponOn == 1) {
templateArm1_mc._alpha = 0;
}
} else if (kantanaLeft2ArmoredRedV == 1) {
unloadMovie (kantanaLeft2Red_mc);
kantanaLeft2ArmoredRedV = 0;
leftHandedWeaponOn = 0;
templateArm1_mc._alpha = 100;
templateArm2_mc._alpha = 100;
if (rightHandedWeaponOn == 1) {
templateArm1_mc._alpha = 0;
}
}
};
function armorDesertEagle() {
if (evilKnightTorsoV == 1) {
deserteagleArms_mc._width = 162.1;
deserteagleArms2_mc._width = 21.9;
deserteagleArms_mc._x = 184.3;
deserteagleArms2_mc._x = 226.9;
} else if (nobleKnightTorsoV == 1) {
deserteagleArms_mc._width = 153.1;
deserteagleArms2_mc._width = 20.8;
deserteagleArms_mc._x = 193.3;
deserteagleArms2_mc._x = 233.6;
} else if (samuraiTorsoBlackV == 1) {
deserteagleArms2_mc.swapDepths(702);
} else if (samuraiTorsoBlueV == 1) {
deserteagleArms2_mc.swapDepths(702);
} else if (samuraiTorsoGreenV == 1) {
deserteagleArms2_mc.swapDepths(702);
} else if (samuraiTorsoRedV == 1) {
deserteagleArms2_mc.swapDepths(702);
} else if (bombVestV == 1) {
deserteagleArms2_mc.swapDepths(9502);
} else if (bearVestV == 1) {
deserteagleArms2_mc.swapDepths(9502);
} else if (donutShirtV == 1) {
deserteagleArms2_mc.swapDepths(9502);
}
}
function armorDesertEagleGold() {
if (evilKnightTorsoV == 1) {
deserteagleArmGold_mc._width = 162.1;
deserteagleArmGold2_mc._width = 21.9;
deserteagleArmGold_mc._x = 184.3;
deserteagleArmGold2_mc._x = 226.9;
} else if (nobleKnightTorsoV == 1) {
deserteagleArmGold_mc._width = 153.1;
deserteagleArmGold2_mc._width = 20.8;
deserteagleArmGold_mc._x = 193.3;
deserteagleArmGold2_mc._x = 233.6;
} else if (samuraiTorsoBlackV == 1) {
deserteagleArmGold2_mc.swapDepths(702);
} else if (samuraiTorsoBlueV == 1) {
deserteagleArmGold2_mc.swapDepths(702);
} else if (samuraiTorsoGreenV == 1) {
deserteagleArmGold2_mc.swapDepths(702);
} else if (samuraiTorsoRedV == 1) {
deserteagleArmGold2_mc.swapDepths(702);
} else if (bombVestV == 1) {
deserteagleArmGold2_mc.swapDepths(9502);
} else if (bearVestV == 1) {
deserteagleArmGold2_mc.swapDepths(9502);
} else if (donutShirtV == 1) {
deserteagleArmGold2_mc.swapDepths(9502);
}
}
function armorSilencer() {
if (evilKnightTorsoV == 1) {
gunSilencerArm2_mc.swapDepths(armsLayerValue2);
gunSilencerArm_mc._width = 185.3;
gunSilencerArm2_mc._width = 31.4;
gunSilencerArm_mc._x = 164.9;
gunSilencerArm2_mc._x = 216.2;
} else if (nobleKnightTorsoV == 1) {
gunSilencerArm2_mc.swapDepths(armsLayerValue2);
gunSilencerArm_mc._width = 175.8;
gunSilencerArm2_mc._width = 29.8;
gunSilencerArm_mc._x = 174.6;
gunSilencerArm2_mc._x = 223.1;
} else if (samuraiTorsoBlackV == 1) {
gunSilencerArm2_mc.swapDepths(702);
} else if (samuraiTorsoBlueV == 1) {
gunSilencerArm2_mc.swapDepths(702);
} else if (samuraiTorsoGreenV == 1) {
gunSilencerArm2_mc.swapDepths(702);
} else if (samuraiTorsoRedV == 1) {
gunSilencerArm2_mc.swapDepths(702);
} else if (bombVestV == 1) {
gunSilencerArm2_mc.swapDepths(9502);
} else if (bearVestV == 1) {
gunSilencerArm2_mc.swapDepths(9502);
} else if (donutShirtV == 1) {
gunSilencerArm2_mc.swapDepths(9502);
}
}
function armorSpas() {
if (evilKnightTorsoV == 1) {
spas12Arms2_mc.swapDepths(armsLayerValue2);
spas12Arms_mc._width = 207.3;
spas12Arms2_mc._width = 22.3;
spas12Arms_mc._x = 206.4;
spas12Arms2_mc._x = 225;
}
}
function firearmsModernGone() {
firearmsModern2Gone();
firearmsModern1Gone();
}
function firearmsModern1Gone() {
unloadMovie (g11Arms_mc);
unloadMovie (akimboGunsArms_mc);
unloadMovie (akimboGunsArms2_mc);
unloadMovie (deserteagleArms_mc);
unloadMovie (deserteagleArms2_mc);
unloadMovie (deserteagleArmGold_mc);
unloadMovie (deserteagleArmGold2_mc);
unloadMovie (gunSilencerArm_mc);
unloadMovie (gunSilencerArm2_mc);
silencerGunV = 0;
deserteagleArmGoldV = 0;
deserteagleArmsV = 0;
akimboGunsV = 0;
g11V = 0;
}
function firearmsModern2Gone() {
unloadMovie (spas12Arms_mc);
unloadMovie (spas12Arms2_mc);
spas12V = 0;
}
var armsLayerValue = 9500;
var armsLayerValue2 = 5500;
var armsLayerValue4 = 9700;
var akimboGunsV = 0;
firearmsModernMenu_mc.akimboGuns_btn.onRelease = function () {
if (akimboGunsV == 0) {
firearmsModern2Gone();
allOldFirearmsGone();
extraMeleeArmsGone();
allBigFirearmsGone();
allFutureFirearmsGone();
alternativeWaysGone();
meleeArmsGone();
smallBaldesGone();
allSwordsArmoredGone();
futureSwordsGone();
miscArmsGone();
_root.attachMovie("akimboGunsArms_mc", "akimboGunsArms_mc", armsLayerValue, {_x:299, _y:148});
_root.attachMovie("akimboGunsArms2_mc", "akimboGunsArms2_mc", armsLayerValue2, {_x:152, _y:151});
_root.attachMovie("akimboGunsArms3_mc", "akimboGunsArms3_mc", armsLayerValue2, {_x:300, _y:149});
akimboGunsV = 1;
unloadMovie (g11Arms_mc);
unloadMovie (deserteagleArms_mc);
unloadMovie (deserteagleArms2_mc);
unloadMovie (deserteagleArmGold_mc);
unloadMovie (deserteagleArmGold2_mc);
unloadMovie (gunSilencerArm_mc);
unloadMovie (gunSilencerArm2_mc);
silencerGunV = 0;
deserteagleArmGoldV = 0;
deserteagleArmsV = 0;
g11V = 0;
templateArm1_mc._alpha = 0;
templateArm2_mc._alpha = 0;
} else if (akimboGunsV == 1) {
unloadMovie (akimboGunsArms_mc);
unloadMovie (akimboGunsArms2_mc);
akimboGunsV = 0;
templateArm1_mc._alpha = 100;
templateArm2_mc._alpha = 100;
}
};
var deserteagleArmsV = 0;
firearmsModernMenu_mc.deserteagleArms_btn.onRelease = function () {
if (deserteagleArmsV == 0) {
firearmsModern2Gone();
allOldFirearmsGone();
extraMeleeArmsGone();
allBigFirearmsGone();
allFutureFirearmsGone();
alternativeWaysGone();
meleeArmsGone();
smallBaldesGone();
allSwordsArmoredGone();
futureSwordsGone();
miscArmsGone();
_root.attachMovie("deserteagleArms_mc", "deserteagleArms_mc", armsLayerValue, {_x:198, _y:145});
_root.attachMovie("deserteagleArms2_mc", "deserteagleArms2_mc", armsLayerValue2, {_x:238, _y:151});
deserteagleArmsV = 1;
unloadMovie (akimboGunsArms_mc);
unloadMovie (akimboGunsArms2_mc);
unloadMovie (g11Arms_mc);
unloadMovie (deserteagleArmGold_mc);
unloadMovie (deserteagleArmGold2_mc);
unloadMovie (gunSilencerArm_mc);
unloadMovie (gunSilencerArm2_mc);
silencerGunV = 0;
deserteagleArmGoldV = 0;
g11V = 0;
akimboGunsV = 0;
templateArm1_mc._alpha = 0;
templateArm2_mc._alpha = 0;
armorDesertEagle();
} else if (deserteagleArmsV == 1) {
deserteagleArms2_mc.swapDepths(armsLayerValue2);
unloadMovie (deserteagleArms_mc);
unloadMovie (deserteagleArms2_mc);
deserteagleArmsV = 0;
templateArm1_mc._alpha = 100;
templateArm2_mc._alpha = 100;
}
};
var deserteagleArmGoldV = 0;
firearmsModernMenu_mc.deserteagleArmGold_btn.onRelease = function () {
if (deserteagleArmGoldV == 0) {
firearmsModern2Gone();
allOldFirearmsGone();
extraMeleeArmsGone();
allBigFirearmsGone();
allFutureFirearmsGone();
alternativeWaysGone();
meleeArmsGone();
smallBaldesGone();
allSwordsArmoredGone();
futureSwordsGone();
miscArmsGone();
_root.attachMovie("deserteagleArmGold_mc", "deserteagleArmGold_mc", armsLayerValue, {_x:198, _y:145});
_root.attachMovie("deserteagleArmGold2_mc", "deserteagleArmGold2_mc", armsLayerValue2, {_x:238, _y:151});
deserteagleArmGoldV = 1;
unloadMovie (akimboGunsArms_mc);
unloadMovie (akimboGunsArms2_mc);
unloadMovie (deserteagleArms_mc);
unloadMovie (deserteagleArms2_mc);
unloadMovie (gunSilencerArm_mc);
unloadMovie (gunSilencerArm2_mc);
silencerGunV = 0;
deserteagleArmsV = 0;
unloadMovie (g11Arms_mc);
g11V = 0;
akimboGunsV = 0;
templateArm1_mc._alpha = 0;
templateArm2_mc._alpha = 0;
armorDesertEagleGold();
} else if (deserteagleArmGoldV == 1) {
deserteagleArmGold2_mc.swapDepths(armsLayerValue2);
unloadMovie (deserteagleArmGold_mc);
unloadMovie (deserteagleArmGold2_mc);
deserteagleArmGoldV = 0;
templateArm1_mc._alpha = 100;
templateArm2_mc._alpha = 100;
}
};
var g11V = 0;
firearmsModernMenu_mc.g11Arm_btn.onRelease = function () {
if (g11V == 0) {
firearmsModern2Gone();
allOldFirearmsGone();
extraMeleeArmsGone();
allBigFirearmsGone();
allFutureFirearmsGone();
alternativeWaysGone();
meleeArmsGone();
smallBaldesGone();
allSwordsArmoredGone();
futureSwordsGone();
miscArmsGone();
_root.attachMovie("g11Arms_mc", "g11Arms_mc", armsLayerValue3, {_x:214, _y:117});
g11V = 1;
unloadMovie (akimboGunsArms_mc);
unloadMovie (akimboGunsArms2_mc);
unloadMovie (deserteagleArms_mc);
unloadMovie (deserteagleArms2_mc);
unloadMovie (deserteagleArmGold_mc);
unloadMovie (deserteagleArmGold2_mc);
unloadMovie (gunSilencerArm_mc);
unloadMovie (gunSilencerArm2_mc);
silencerGunV = 0;
deserteagleArmGoldV = 0;
deserteagleArmsV = 0;
akimboGunsV = 0;
templateArm1_mc._alpha = 0;
templateArm2_mc._alpha = 0;
} else if (g11V == 1) {
unloadMovie (g11Arms_mc);
g11V = 0;
templateArm1_mc._alpha = 100;
templateArm2_mc._alpha = 100;
}
};
var silencerGunV = 0;
firearmsModernMenu_mc.silencedGun_btn.onRelease = function () {
if (silencerGunV == 0) {
firearmsModern2Gone();
allOldFirearmsGone();
extraMeleeArmsGone();
allBigFirearmsGone();
allFutureFirearmsGone();
alternativeWaysGone();
meleeArmsGone();
smallBaldesGone();
allSwordsArmoredGone();
futureSwordsGone();
miscArmsGone();
unloadMovie (akimboGunsArms_mc);
unloadMovie (akimboGunsArms2_mc);
unloadMovie (deserteagleArms_mc);
unloadMovie (deserteagleArms2_mc);
unloadMovie (deserteagleArmGold_mc);
unloadMovie (deserteagleArmGold2_mc);
unloadMovie (g11Arms_mc);
_root.attachMovie("gunSilencerArm_mc", "gunSilencerArm_mc", armsLayerValue, {_x:186, _y:148});
_root.attachMovie("gunSilencerArm2_mc", "gunSilencerArm2_mc", 5002, {_x:230, _y:153});
silencerGunV = 1;
g11V = 0;
deserteagleArmGoldV = 0;
deserteagleArmsV = 0;
akimboGunsV = 0;
templateArm1_mc._alpha = 0;
templateArm2_mc._alpha = 0;
} else if (silencerGunV == 1) {
unloadMovie (gunSilencerArm_mc);
unloadMovie (gunSilencerArm2_mc);
silencerGunV = 0;
templateArm1_mc._alpha = 100;
templateArm2_mc._alpha = 100;
}
};
var spas12V = 0;
firearmsModernMenu2_mc.spas12Arms_btn.onRelease = function () {
if (spas12V == 0) {
firearmsModern1Gone();
allOldFirearmsGone();
extraMeleeArmsGone();
allBigFirearmsGone();
allFutureFirearmsGone();
alternativeWaysGone();
meleeArmsGone();
smallBaldesGone();
allSwordsArmoredGone();
futureSwordsGone();
miscArmsGone();
_root.attachMovie("spas12Arms_mc", "spas12Arms_mc", armsLayerValue, {_x:216, _y:146});
_root.attachMovie("spas12Arms2_mc", "spas12Arms2_mc", 702, {_x:234, _y:157});
spas12V = 1;
templateArm1_mc._alpha = 0;
templateArm2_mc._alpha = 0;
armorSpas();
} else if (spas12V == 1) {
unloadMovie (spas12Arms_mc);
unloadMovie (spas12Arms2_mc);
spas12V = 0;
templateArm1_mc._alpha = 100;
templateArm2_mc._alpha = 100;
}
};
function meleeArmsGone() {
unloadMovie (twinAxeArmored_mc);
unloadMovie (maceShieldArmored_mc);
unloadMovie (greatAxeArmored_mc);
unloadMovie (spikedClubArms1_mc);
unloadMovie (spikedClubArms2_mc);
unloadMovie (bloodyClubArms1_mc);
unloadMovie (bloodyClubArms2_mc);
unloadMovie (policeBatonArms_mc);
unloadMovie (policeBatonArms2_mc);
unloadMovie (policeBatonBloodyArms_mc);
unloadMovie (policeBatonBloodyArms2_mc);
unloadMovie (greatAxeArmored2_mc);
unloadMovie (maceShieldArmored2_mc);
unloadMovie (twinAxeArmored2_mc);
unloadMovie (skullMaceArmored2_mc);
unloadMovie (woodenBatArms_mc);
unloadMovie (woodenBatArms2_mc);
unloadMovie (metalBatArms_mc);
unloadMovie (metalBatArms2_mc);
policeBatonBloodyArmsV = 0;
policeBatonArmsV = 0;
bloodyClubArmsV = 0;
spikedClubArmsV = 0;
greatAxeArmoredV = 0;
maceShieldArmoredV = 0;
twinAxesArmoredV = 0;
unloadMovie (skullMaceArmored_mc);
unloadMovie (skullMaceArmored2_mc);
skullmaceArmoredV = 0;
}
function extraMeleeArmsGone() {
unloadMovie (greatAxeArmored2_mc);
unloadMovie (maceShieldArmored2_mc);
unloadMovie (twinAxeArmored2_mc);
unloadMovie (skullMaceArmored2_mc);
unloadMovie (spikedClubArms1_mc);
unloadMovie (spikedClubArms2_mc);
unloadMovie (bloodyClubArms1_mc);
unloadMovie (bloodyClubArms2_mc);
unloadMovie (woodenBatArms_mc);
unloadMovie (woodenBatArms2_mc);
unloadMovie (metalBatArms_mc);
unloadMovie (metalBatArms2_mc);
unloadMovie (policeBatonArms_mc);
unloadMovie (policeBatonArms2_mc);
unloadMovie (policeBatonBloodyArms_mc);
unloadMovie (policeBatonBloodyArms2_mc);
}
function meleeArmsGone1() {
unloadMovie (twinAxeArmored_mc);
unloadMovie (twinAxeArmored2_mc);
unloadMovie (maceShieldArmored_mc);
unloadMovie (maceShieldArmored2_mc);
unloadMovie (greatAxeArmored_mc);
unloadMovie (greatAxeArmored2_mc);
unloadMovie (spikedClubArms1_mc);
unloadMovie (spikedClubArms2_mc);
unloadMovie (bloodyClubArms1_mc);
unloadMovie (bloodyClubArms2_mc);
bloodyClubArmsV = 0;
spikedClubArmsV = 0;
greatAxeArmoredV = 0;
maceShieldArmoredV = 0;
twinAxesArmoredV = 0;
}
function meleeArmsGone2() {
unloadMovie (skullMaceArmored_mc);
unloadMovie (skullMaceArmored2_mc);
unloadMovie (woodenBatArms_mc);
unloadMovie (woodenBatArms2_mc);
unloadMovie (metalBatArms_mc);
unloadMovie (metalBatArms2_mc);
unloadMovie (policeBatonArms_mc);
unloadMovie (policeBatonArms2_mc);
unloadMovie (policeBatonBloodyArms_mc);
unloadMovie (policeBatonBloodyArms2_mc);
policeBatonBloodyArmsV = 0;
policeBatonArmsV = 0;
metalBatArmsV = 0;
woodenBatArmsV = 0;
skullmaceArmoredV = 0;
}
var armsLayerValue = 9500;
var armsLayerValue2 = 5500;
var spikedClubArmsV = 0;
otherMeleeArmsMenu_mc.spikedClubArms_btn.onRelease = function () {
if (spikedClubArmsV == 0) {
unloadMovie (maceShieldArmored_mc);
unloadMovie (maceShieldArmored2_mc);
unloadMovie (greatAxeArmored_mc);
unloadMovie (greatAxeArmored2_mc);
unloadMovie (bloodyClubArms1_mc);
unloadMovie (bloodyClubArms2_mc);
unloadMovie (twinAxeArmored_mc);
unloadMovie (twinAxeArmored2_mc);
twinAxesArmoredV = 0;
alternativeWaysGone();
bloodyClubArmsV = 0;
smallBaldesGone();
greatAxeArmoredV = 0;
maceShieldArmoredV = 0;
allBigFirearmsGone();
firearmsModernGone();
futureSwordsGone();
miscArmsGone();
allSwordsArmoredGone();
meleeArmsGone2();
allOldFirearmsGone();
allFutureFirearmsGone();
_root.attachMovie("spikedClubArms1_mc", "spikedClubArms1_mc", armsLayerValue, {_x:108.5, _y:111.5});
_root.attachMovie("spikedClubArms2_mc", "spikedClubArms2_mc", armsLayerValue2, {_x:207.4, _y:131.1});
spikedClubArmsV = 1;
templateArm1_mc._alpha = 0;
templateArm2_mc._alpha = 0;
} else if (spikedClubArmsV == 1) {
unloadMovie (spikedClubArms1_mc);
unloadMovie (spikedClubArms2_mc);
spikedClubArmsV = 0;
templateArm1_mc._alpha = 100;
templateArm2_mc._alpha = 100;
}
};
var bloodyClubArmsV = 0;
otherMeleeArmsMenu_mc.bloodyClubArms_btn.onRelease = function () {
if (bloodyClubArmsV == 0) {
unloadMovie (maceShieldArmored_mc);
unloadMovie (maceShieldArmored2_mc);
unloadMovie (greatAxeArmored_mc);
unloadMovie (greatAxeArmored2_mc);
unloadMovie (spikedClubArms1_mc);
unloadMovie (spikedClubArms2_mc);
unloadMovie (twinAxeArmored_mc);
unloadMovie (twinAxeArmored2_mc);
twinAxesArmoredV = 0;
spikedClubArmsV = 0;
alternativeWaysGone();
smallBaldesGone();
greatAxeArmoredV = 0;
maceShieldArmoredV = 0;
allBigFirearmsGone();
firearmsModernGone();
futureSwordsGone();
miscArmsGone();
allSwordsArmoredGone();
meleeArmsGone2();
allOldFirearmsGone();
allFutureFirearmsGone();
_root.attachMovie("bloodyClubArms1_mc", "bloodyClubArms1_mc", armsLayerValue, {_x:108.5, _y:111.5});
_root.attachMovie("bloodyClubArms2_mc", "bloodyClubArms2_mc", armsLayerValue2, {_x:212.5, _y:136.1});
bloodyClubArmsV = 1;
templateArm1_mc._alpha = 0;
templateArm2_mc._alpha = 0;
} else if (bloodyClubArmsV == 1) {
unloadMovie (bloodyClubArms1_mc);
unloadMovie (bloodyClubArms2_mc);
bloodyClubArmsV = 0;
templateArm1_mc._alpha = 100;
templateArm2_mc._alpha = 100;
}
};
var twinAxesArmoredV = 0;
otherMeleeArmsMenu_mc.twinAxesArmored_btn.onRelease = function () {
if (twinAxesArmoredV == 0) {
unloadMovie (maceShieldArmored_mc);
unloadMovie (maceShieldArmored2_mc);
unloadMovie (greatAxeArmored_mc);
unloadMovie (greatAxeArmored2_mc);
unloadMovie (spikedClubArms1_mc);
unloadMovie (spikedClubArms2_mc);
unloadMovie (bloodyClubArms1_mc);
unloadMovie (bloodyClubArms2_mc);
bloodyClubArmsV = 0;
smallBaldesGone();
spikedClubArmsV = 0;
greatAxeArmoredV = 0;
maceShieldArmoredV = 0;
allBigFirearmsGone();
alternativeWaysGone();
firearmsModernGone();
futureSwordsGone();
miscArmsGone();
allSwordsArmoredGone();
meleeArmsGone2();
allOldFirearmsGone();
allFutureFirearmsGone();
_root.attachMovie("twinAxeArmored_mc", "twinAxeArmored_mc", armsLayerValue, {_x:183, _y:146});
_root.attachMovie("twinAxeArmored2_mc", "twinAxeArmored2_mc", armsLayerValue2, {_x:155, _y:207});
twinAxesArmoredV = 1;
templateArm1_mc._alpha = 0;
templateArm2_mc._alpha = 0;
} else if (twinAxesArmoredV == 1) {
unloadMovie (twinAxeArmored_mc);
unloadMovie (twinAxeArmored2_mc);
twinAxesArmoredV = 0;
templateArm1_mc._alpha = 100;
templateArm2_mc._alpha = 100;
}
};
var maceShieldArmoredV = 0;
otherMeleeArmsMenu_mc.maceShieldArmored_btn.onRelease = function () {
if (maceShieldArmoredV == 0) {
unloadMovie (twinAxeArmored_mc);
unloadMovie (twinAxeArmored2_mc);
unloadMovie (greatAxeArmored_mc);
unloadMovie (greatAxeArmored2_mc);
unloadMovie (spikedClubArms1_mc);
unloadMovie (spikedClubArms2_mc);
unloadMovie (bloodyClubArms1_mc);
unloadMovie (bloodyClubArms2_mc);
bloodyClubArmsV = 0;
spikedClubArmsV = 0;
smallBaldesGone();
greatAxeArmoredV = 0;
alternativeWaysGone();
twinAxesArmoredV = 0;
allBigFirearmsGone();
firearmsModernGone();
futureSwordsGone();
miscArmsGone();
allSwordsArmoredGone();
meleeArmsGone2();
allOldFirearmsGone();
allFutureFirearmsGone();
_root.attachMovie("maceShieldArmored_mc", "maceShieldArmored_mc", armsLayerValue, {_x:149.7, _y:145.8});
_root.attachMovie("maceShieldArmored2_mc", "maceShieldArmored2_mc", armsLayerValue2, {_x:151.3, _y:155.8});
maceShieldArmoredV = 1;
templateArm1_mc._alpha = 0;
templateArm2_mc._alpha = 0;
} else if (maceShieldArmoredV == 1) {
unloadMovie (maceShieldArmored_mc);
unloadMovie (maceShieldArmored2_mc);
maceShieldArmoredV = 0;
templateArm1_mc._alpha = 100;
templateArm2_mc._alpha = 100;
}
};
var greatAxeArmoredV = 0;
otherMeleeArmsMenu_mc.greatAxeArmored_btn.onRelease = function () {
if (greatAxeArmoredV == 0) {
unloadMovie (twinAxeArmored_mc);
unloadMovie (twinAxeArmored2_mc);
unloadMovie (maceShieldArmored_mc);
unloadMovie (maceShieldArmored2_mc);
unloadMovie (spikedClubArms1_mc);
unloadMovie (spikedClubArms2_mc);
unloadMovie (bloodyClubArms1_mc);
unloadMovie (bloodyClubArms2_mc);
bloodyClubArmsV = 0;
spikedClubArmsV = 0;
maceShieldArmoredV = 0;
smallBaldesGone();
twinAxesArmoredV = 0;
allBigFirearmsGone();
firearmsModernGone();
futureSwordsGone();
miscArmsGone();
alternativeWaysGone();
allSwordsArmoredGone();
meleeArmsGone2();
allOldFirearmsGone();
allFutureFirearmsGone();
_root.attachMovie("greatAxeArmored_mc", "greatAxeArmored_mc", armsLayerValue, {_x:178, _y:129});
_root.attachMovie("greatAxeArmored2_mc", "greatAxeArmored2_mc", armsLayerValue2, {_x:200, _y:148});
greatAxeArmoredV = 1;
templateArm1_mc._alpha = 0;
templateArm2_mc._alpha = 0;
} else if (greatAxeArmoredV == 1) {
unloadMovie (greatAxeArmored_mc);
unloadMovie (greatAxeArmored2_mc);
greatAxeArmoredV = 0;
templateArm1_mc._alpha = 100;
templateArm2_mc._alpha = 100;
}
};
var skullmaceArmoredV = 0;
otherMeleeMenu2_mc.skullMaceArmored_btn.onRelease = function () {
if (skullmaceArmoredV == 0) {
unloadMovie (woodenBatArms_mc);
unloadMovie (woodenBatArms2_mc);
unloadMovie (metalBatArms_mc);
unloadMovie (metalBatArms2_mc);
unloadMovie (policeBatonArms_mc);
unloadMovie (policeBatonArms2_mc);
unloadMovie (policeBatonBloodyArms_mc);
unloadMovie (policeBatonBloodyArms2_mc);
policeBatonBloodyArmsV = 0;
policeBatonArmsV = 0;
metalBatArmsV = 0;
woodenBatArmsV = 0;
meleeArmsGone1();
firearmsModernGone();
futureSwordsGone();
miscArmsGone();
allSwordsArmoredGone();
alternativeWaysGone();
smallBaldesGone();
allOldFirearmsGone();
allBigFirearmsGone();
allFutureFirearmsGone();
_root.attachMovie("skullMaceArmored_mc", "skullMaceArmored_mc", armsLayerValue, {_x:204, _y:145});
_root.attachMovie("skullMaceArmored2_mc", "skullMaceArmored2_mc", armsLayerValue2, {_x:227, _y:145.4});
skullmaceArmoredV = 1;
templateArm1_mc._alpha = 0;
templateArm2_mc._alpha = 0;
} else if (skullmaceArmoredV == 1) {
unloadMovie (skullMaceArmored_mc);
unloadMovie (skullMaceArmored2_mc);
skullmaceArmoredV = 0;
templateArm1_mc._alpha = 100;
templateArm2_mc._alpha = 100;
}
};
var woodenBatArmsV = 0;
otherMeleeMenu2_mc.woodenBatArms_btn.onRelease = function () {
if (woodenBatArmsV == 0) {
unloadMovie (skullMaceArmored_mc);
unloadMovie (skullMaceArmored2_mc);
unloadMovie (metalBatArms_mc);
unloadMovie (metalBatArms2_mc);
unloadMovie (policeBatonArms_mc);
unloadMovie (policeBatonArms2_mc);
unloadMovie (policeBatonBloodyArms_mc);
unloadMovie (policeBatonBloodyArms2_mc);
policeBatonBloodyArmsV = 0;
policeBatonArmsV = 0;
metalBatArmsV = 0;
skullmaceArmoredV = 0;
meleeArmsGone1();
smallBaldesGone();
firearmsModernGone();
futureSwordsGone();
miscArmsGone();
alternativeWaysGone();
allSwordsArmoredGone();
allOldFirearmsGone();
allBigFirearmsGone();
allFutureFirearmsGone();
_root.attachMovie("woodenBatArms_mc", "woodenBatArms_mc", armsLayerValue, {_x:113.3, _y:86});
_root.attachMovie("woodenBatArms2_mc", "woodenBatArms2_mc", armsLayerValue2, {_x:224.3, _y:124.5});
woodenBatArmsV = 1;
templateArm1_mc._alpha = 0;
templateArm2_mc._alpha = 0;
} else if (woodenBatArmsV == 1) {
unloadMovie (woodenBatArms_mc);
unloadMovie (woodenBatArms2_mc);
woodenBatArmsV = 0;
templateArm1_mc._alpha = 100;
templateArm2_mc._alpha = 100;
}
};
var metalBatArmsV = 0;
otherMeleeMenu2_mc.metalBatArms_btn.onRelease = function () {
if (metalBatArmsV == 0) {
unloadMovie (skullMaceArmored_mc);
unloadMovie (skullMaceArmored2_mc);
unloadMovie (woodenBatArms_mc);
unloadMovie (woodenBatArms2_mc);
unloadMovie (policeBatonArms_mc);
unloadMovie (policeBatonArms2_mc);
unloadMovie (policeBatonBloodyArms_mc);
unloadMovie (policeBatonBloodyArms2_mc);
policeBatonBloodyArmsV = 0;
policeBatonArmsV = 0;
woodenBatArmsV = 0;
skullmaceArmoredV = 0;
meleeArmsGone1();
firearmsModernGone();
futureSwordsGone();
miscArmsGone();
allSwordsArmoredGone();
alternativeWaysGone();
smallBaldesGone();
allOldFirearmsGone();
allBigFirearmsGone();
allFutureFirearmsGone();
_root.attachMovie("metalBatArms_mc", "metalBatArms_mc", armsLayerValue, {_x:113.3, _y:86});
_root.attachMovie("metalBatArms2_mc", "metalBatArms2_mc", armsLayerValue2, {_x:223.7, _y:119.4});
metalBatArmsV = 1;
templateArm1_mc._alpha = 0;
templateArm2_mc._alpha = 0;
} else if (metalBatArmsV == 1) {
unloadMovie (metalBatArms_mc);
unloadMovie (metalBatArms2_mc);
metalBatArmsV = 0;
templateArm1_mc._alpha = 100;
templateArm2_mc._alpha = 100;
}
};
var policeBatonArmsV = 0;
otherMeleeMenu2_mc.policeBatonArms_btn.onRelease = function () {
if (policeBatonArmsV == 0) {
unloadMovie (skullMaceArmored_mc);
unloadMovie (skullMaceArmored2_mc);
unloadMovie (woodenBatArms_mc);
unloadMovie (woodenBatArms2_mc);
unloadMovie (metalBatArms_mc);
unloadMovie (metalBatArms2_mc);
unloadMovie (policeBatonBloodyArms_mc);
unloadMovie (policeBatonBloodyArms2_mc);
policeBatonBloodyArmsV = 0;
metalBatArmsV = 0;
woodenBatArmsV = 0;
skullmaceArmoredV = 0;
meleeArmsGone1();
alternativeWaysGone();
smallBaldesGone();
firearmsModernGone();
futureSwordsGone();
miscArmsGone();
allSwordsArmoredGone();
allOldFirearmsGone();
allBigFirearmsGone();
allFutureFirearmsGone();
_root.attachMovie("policeBatonArms_mc", "policeBatonArms_mc", armsLayerValue, {_x:187.3, _y:144.3});
_root.attachMovie("policeBatonArms2_mc", "policeBatonArms2_mc", armsLayerValue2, {_x:200.4, _y:144.3});
policeBatonArmsV = 1;
templateArm1_mc._alpha = 0;
templateArm2_mc._alpha = 0;
} else if (policeBatonArmsV == 1) {
unloadMovie (policeBatonArms_mc);
unloadMovie (policeBatonArms2_mc);
policeBatonArmsV = 0;
templateArm1_mc._alpha = 100;
templateArm2_mc._alpha = 100;
}
};
var policeBatonBloodyArmsV = 0;
otherMeleeMenu2_mc.policeBatonBloodyArms_btn.onRelease = function () {
if (policeBatonBloodyArmsV == 0) {
unloadMovie (skullMaceArmored_mc);
unloadMovie (skullMaceArmored2_mc);
unloadMovie (woodenBatArms_mc);
unloadMovie (woodenBatArms2_mc);
unloadMovie (metalBatArms_mc);
unloadMovie (metalBatArms2_mc);
unloadMovie (policeBatonArms_mc);
unloadMovie (policeBatonArms2_mc);
policeBatonArmsV = 0;
metalBatArmsV = 0;
woodenBatArmsV = 0;
skullmaceArmoredV = 0;
meleeArmsGone1();
firearmsModernGone();
futureSwordsGone();
miscArmsGone();
allSwordsArmoredGone();
allOldFirearmsGone();
allBigFirearmsGone();
smallBaldesGone();
alternativeWaysGone();
allFutureFirearmsGone();
_root.attachMovie("policeBatonBloodyArms_mc", "policeBatonBloodyArms_mc", armsLayerValue, {_x:187.3, _y:144.3});
_root.attachMovie("policeBatonBloodyArms2_mc", "policeBatonBloodyArms2_mc", armsLayerValue2, {_x:203.1, _y:143.3});
policeBatonBloodyArmsV = 1;
templateArm1_mc._alpha = 0;
templateArm2_mc._alpha = 0;
} else if (policeBatonBloodyArmsV == 1) {
unloadMovie (policeBatonBloodyArms_mc);
unloadMovie (policeBatonBloodyArms2_mc);
policeBatonBloodyArmsV = 0;
templateArm1_mc._alpha = 100;
templateArm2_mc._alpha = 100;
}
};
function armorLegsGone() {
knightLegsGone();
samuraiLegsGone();
samuraiLegs2Gone();
unloadMovie (powerArmorLegs_mc);
unloadMovie (advancedArmorLegs_mc);
unloadMovie (policeArmorLegs_mc);
unloadMovie (militaryGreyLegs_mc);
unloadMovie (militaryCamoLegs_mc);
unloadMovie (militaryDesertLegs_mc);
militaryDesertLegsV = 0;
militaryCamoLegsV = 0;
militaryGreyLegsV = 0;
policeArmorLegsV = 0;
advancedArmorLegsV = 0;
powerArmorLegsV = 0;
}
function armorLegsGone1() {
knightLegsGone();
samuraiLegsGone();
samuraiLegs2Gone();
unloadMovie (powerArmorLegs_mc);
powerArmorLegsV = 0;
}
function armorLegsGone2() {
unloadMovie (advancedArmorLegs_mc);
unloadMovie (policeArmorLegs_mc);
unloadMovie (militaryGreyLegs_mc);
unloadMovie (militaryCamoLegs_mc);
unloadMovie (militaryDesertLegs_mc);
militaryDesertLegsV = 0;
militaryCamoLegsV = 0;
militaryGreyLegsV = 0;
policeArmorLegsV = 0;
advancedArmorLegsV = 0;
}
function knightLegsGone() {
unloadMovie (evilKnightLegs_mc);
unloadMovie (nobleKnightLegs_mc);
nobleLegsV = 0;
evilLegsV = 0;
}
function samuraiLegsGone() {
unloadMovie (samuraiLegsRed_mc);
unloadMovie (samuraiLegsBlack_mc);
unloadMovie (samuraiLegsBlue_mc);
unloadMovie (samuraiLegsGreen_mc);
samuraiLegsGreenV = 0;
samuraiLegsBlueV = 0;
samuraiLegsBlackV = 0;
samuraiLegsRedV = 0;
}
function samuraiLegs2Gone() {
unloadMovie (samuraiLegsRed2_mc);
unloadMovie (samuraiLegsBlack2_mc);
unloadMovie (samuraiLegsBlue2_mc);
unloadMovie (samuraiLegsGreen2_mc);
samuraiLegsGreen2V = 0;
samuraiLegsBlue2V = 0;
samuraiLegsBlack2V = 0;
samuraiLegsRed2V = 0;
}
function samuraiLegsColorDown() {
if (samuraiLegsColorV == 1) {
samuraiLegsColorUp();
} else if (samuraiLegsColorV == 0) {
samuraiLegsColorV = 1;
samuraiLegs2ColorUp();
samuraiLegsColor_mc.onEnterFrame = function () {
this._y = this._y + 12;
if (this._y > -40) {
delete this.onEnterFrame;
}
};
}
}
function samuraiLegsColorUp() {
samuraiLegsColor_mc._y = -140;
samuraiLegsColorV = 0;
}
function samuraiLegs2ColorDown() {
if (samuraiLegs2ColorV == 1) {
samuraiLegs2ColorUp();
} else if (samuraiLegs2ColorV == 0) {
samuraiLegs2ColorV = 1;
samuraiLegsColorUp();
samuraiLegsColor2_mc.onEnterFrame = function () {
this._y = this._y + 12;
if (this._y > -40) {
delete this.onEnterFrame;
}
};
}
}
function samuraiLegs2ColorUp() {
samuraiLegsColor2_mc._y = -140;
samuraiLegs2ColorV = 0;
}
var pantsLayerValue = 4000;
var samuraiLegsColorV = 0;
var samuraiLegs2ColorV = 0;
var nobleLegsV = 0;
armorLegsMenu_mc.nobleKnightLegs_btn.onRelease = function () {
if (nobleLegsV == 0) {
unloadMovie (evilKnightLegs_mc);
unloadMovie (powerArmorLegs_mc);
powerArmorLegsV = 0;
armorLegsGone2();
samuraiLegsGone();
samuraiLegs2Gone();
evilLegsV = 0;
pantsGone();
otherPantsGone();
_root.attachMovie("nobleKnightLegs_mc", "nobleKnightLegs_mc", pantsLayerValue, {_x:197, _y:221});
nobleLegsV = 1;
templateLegs_mc._alpha = 0;
samuraiLegsColorUp();
samuraiLegs2ColorUp();
} else if (nobleLegsV == 1) {
unloadMovie (nobleKnightLegs_mc);
nobleLegsV = 0;
templateLegs_mc._alpha = 100;
}
};
var evilLegsV = 0;
armorLegsMenu_mc.evilKnightLegs_btn.onRelease = function () {
if (evilLegsV == 0) {
unloadMovie (nobleKnightLegs_mc);
unloadMovie (powerArmorLegs_mc);
powerArmorLegsV = 0;
armorLegsGone2();
samuraiLegsGone();
samuraiLegs2Gone();
nobleLegsV = 0;
pantsGone();
otherPantsGone();
_root.attachMovie("evilKnightLegs_mc", "evilKnightLegs_mc", pantsLayerValue, {_x:204, _y:220});
evilLegsV = 1;
templateLegs_mc._alpha = 0;
samuraiLegsColorUp();
samuraiLegs2ColorUp();
} else if (evilLegsV == 1) {
unloadMovie (evilKnightLegs_mc);
evilLegsV = 0;
templateLegs_mc._alpha = 100;
}
};
armorLegsMenu_mc.samuraiLegs_btn.onRelease = function () {
samuraiLegsColorDown();
};
armorLegsMenu_mc.samuraiLegs2_btn.onRelease = function () {
samuraiLegs2ColorDown();
};
var samuraiLegsBlackV = 0;
samuraiLegsColor_mc.samuraiLegsBlack_btn.onRelease = function () {
if (samuraiLegsBlackV == 0) {
unloadMovie (samuraiLegsRed_mc);
unloadMovie (samuraiLegsBlue_mc);
unloadMovie (samuraiLegsGreen_mc);
unloadMovie (powerArmorLegs_mc);
powerArmorLegsV = 0;
armorLegsGone2();
samuraiLegsGreenV = 0;
samuraiLegsBlueV = 0;
samuraiLegsRedV = 0;
knightLegsGone();
samuraiLegs2Gone();
pantsGone();
otherPantsGone();
templateLegs_mc._alpha = 0;
armorLegsGone2();
_root.attachMovie("samuraiLegsBlack_mc", "samuraiLegsBlack_mc", pantsLayerValue, {_x:190, _y:222});
samuraiLegsBlackV = 1;
testSamurai();
} else if (samuraiLegsBlackV == 1) {
unloadMovie (samuraiLegsBlack_mc);
samuraiLegsBlackV = 0;
templateLegs_mc._alpha = 100;
}
};
var samuraiLegsBlueV = 0;
samuraiLegsColor_mc.samuraiLegsBlue_btn.onRelease = function () {
if (samuraiLegsBlueV == 0) {
unloadMovie (samuraiLegsRed_mc);
unloadMovie (samuraiLegsBlack_mc);
unloadMovie (samuraiLegsGreen_mc);
unloadMovie (powerArmorLegs_mc);
powerArmorLegsV = 0;
armorLegsGone2();
samuraiLegsGreenV = 0;
samuraiLegsBlackV = 0;
samuraiLegsRedV = 0;
knightLegsGone();
samuraiLegs2Gone();
pantsGone();
otherPantsGone();
templateLegs_mc._alpha = 0;
armorLegsGone2();
_root.attachMovie("samuraiLegsBlue_mc", "samuraiLegsBlue_mc", pantsLayerValue, {_x:190, _y:222});
samuraiLegsBlueV = 1;
} else if (samuraiLegsBlueV == 1) {
unloadMovie (samuraiLegsBlue_mc);
samuraiLegsBlueV = 0;
templateLegs_mc._alpha = 100;
}
};
var samuraiLegsGreenV = 0;
samuraiLegsColor_mc.samuraiLegsGreen_btn.onRelease = function () {
if (samuraiLegsGreenV == 0) {
unloadMovie (samuraiLegsRed_mc);
unloadMovie (samuraiLegsBlack_mc);
unloadMovie (samuraiLegsBlue_mc);
unloadMovie (powerArmorLegs_mc);
powerArmorLegsV = 0;
armorLegsGone2();
samuraiLegsBlueV = 0;
samuraiLegsBlackV = 0;
samuraiLegsRedV = 0;
knightLegsGone();
samuraiLegs2Gone();
pantsGone();
otherPantsGone();
templateLegs_mc._alpha = 0;
unloadMovie (powerArmorLegs_mc);
powerArmorLegsV = 0;
armorLegsGone2();
_root.attachMovie("samuraiLegsGreen_mc", "samuraiLegsGreen_mc", pantsLayerValue, {_x:190, _y:222});
samuraiLegsGreenV = 1;
} else if (samuraiLegsGreenV == 1) {
unloadMovie (samuraiLegsGreen_mc);
samuraiLegsGreenV = 0;
templateLegs_mc._alpha = 100;
}
};
var samuraiLegsRedV = 0;
samuraiLegsColor_mc.samuraiLegsRed_btn.onRelease = function () {
if (samuraiLegsRedV == 0) {
unloadMovie (samuraiLegsBlack_mc);
unloadMovie (samuraiLegsBlue_mc);
unloadMovie (samuraiLegsGreen_mc);
unloadMovie (powerArmorLegs_mc);
powerArmorLegsV = 0;
armorLegsGone2();
samuraiLegsGreenV = 0;
samuraiLegsBlueV = 0;
samuraiLegsBlackV = 0;
knightLegsGone();
samuraiLegs2Gone();
pantsGone();
otherPantsGone();
templateLegs_mc._alpha = 0;
armorLegsGone2();
_root.attachMovie("samuraiLegsRed_mc", "samuraiLegsRed_mc", pantsLayerValue, {_x:190, _y:222});
samuraiLegsRedV = 1;
} else if (samuraiLegsRedV == 1) {
unloadMovie (samuraiLegsRed_mc);
samuraiLegsRedV = 0;
templateLegs_mc._alpha = 100;
}
};
var samuraiLegsBlack2V = 0;
samuraiLegsColor2_mc.samuraiLegsBlack2_btn.onRelease = function () {
if (samuraiLegsBlack2V == 0) {
unloadMovie (samuraiLegsRed2_mc);
unloadMovie (samuraiLegsBlue2_mc);
unloadMovie (samuraiLegsGreen2_mc);
unloadMovie (powerArmorLegs_mc);
powerArmorLegsV = 0;
armorLegsGone2();
samuraiLegsGreen2V = 0;
samuraiLegsBlue2V = 0;
samuraiLegsRed2V = 0;
knightLegsGone();
samuraiLegsGone();
pantsGone();
otherPantsGone();
templateLegs_mc._alpha = 0;
armorLegsGone2();
_root.attachMovie("samuraiLegsBlack2_mc", "samuraiLegsBlack2_mc", pantsLayerValue, {_x:206, _y:229});
samuraiLegsBlack2V = 1;
testSamurai();
} else if (samuraiLegsBlack2V == 1) {
unloadMovie (samuraiLegsBlack2_mc);
samuraiLegsBlack2V = 0;
templateLegs_mc._alpha = 100;
}
};
var samuraiLegsBlueV = 0;
samuraiLegsColor2_mc.samuraiLegsBlue2_btn.onRelease = function () {
if (samuraiLegsBlue2V == 0) {
unloadMovie (samuraiLegsRed2_mc);
unloadMovie (samuraiLegsBlac2k_mc);
unloadMovie (samuraiLegsGreen2_mc);
unloadMovie (powerArmorLegs_mc);
powerArmorLegsV = 0;
armorLegsGone2();
samuraiLegsGreen2V = 0;
samuraiLegsBlack2V = 0;
samuraiLegsRed2V = 0;
knightLegsGone();
samuraiLegsGone();
pantsGone();
otherPantsGone();
templateLegs_mc._alpha = 0;
armorLegsGone2();
_root.attachMovie("samuraiLegsBlue2_mc", "samuraiLegsBlue2_mc", pantsLayerValue, {_x:206, _y:229});
samuraiLegsBlue2V = 1;
} else if (samuraiLegsBlue2V == 1) {
unloadMovie (samuraiLegsBlue2_mc);
samuraiLegsBlue2V = 0;
templateLegs_mc._alpha = 100;
}
};
var samuraiLegsGreen2V = 0;
samuraiLegsColor2_mc.samuraiLegsGreen2_btn.onRelease = function () {
if (samuraiLegsGreen2V == 0) {
unloadMovie (samuraiLegsRed2_mc);
unloadMovie (samuraiLegsBlack2_mc);
unloadMovie (samuraiLegsBlue2_mc);
unloadMovie (powerArmorLegs_mc);
powerArmorLegsV = 0;
armorLegsGone2();
samuraiLegsBlue2V = 0;
samuraiLegsBlack2V = 0;
samuraiLegsRed2V = 0;
knightLegsGone();
samuraiLegsGone();
pantsGone();
otherPantsGone();
templateLegs_mc._alpha = 0;
armorLegsGone2();
_root.attachMovie("samuraiLegsGreen2_mc", "samuraiLegsGreen2_mc", pantsLayerValue, {_x:205, _y:229});
samuraiLegsGreen2V = 1;
} else if (samuraiLegsGreen2V == 1) {
unloadMovie (samuraiLegsGreen2_mc);
samuraiLegsGreen2V = 0;
templateLegs_mc._alpha = 100;
}
};
var samuraiLegsRed2V = 0;
samuraiLegsColor2_mc.samuraiLegsRed2_btn.onRelease = function () {
if (samuraiLegsRed2V == 0) {
unloadMovie (samuraiLegsBlack2_mc);
unloadMovie (samuraiLegsBlue2_mc);
unloadMovie (samuraiLegsGreen2_mc);
unloadMovie (powerArmorLegs_mc);
powerArmorLegsV = 0;
armorLegsGone2();
samuraiLegsGreen2V = 0;
samuraiLegsBlue2V = 0;
samuraiLegsBlack2V = 0;
knightLegsGone();
samuraiLegsGone();
pantsGone();
otherPantsGone();
templateLegs_mc._alpha = 0;
armorLegsGone2();
_root.attachMovie("samuraiLegsRed2_mc", "samuraiLegsRed2_mc", pantsLayerValue, {_x:206, _y:229});
samuraiLegsRed2V = 1;
} else if (samuraiLegsRed2V == 1) {
unloadMovie (samuraiLegsRed2_mc);
samuraiLegsRed2V = 0;
templateLegs_mc._alpha = 100;
}
};
var powerArmorLegsV = 0;
armorLegsMenu_mc.powerArmorLegs_btn.onRelease = function () {
if (powerArmorLegsV == 0) {
samuraiLegsGone();
samuraiLegs2Gone();
unloadMovie (evilKnightLegs_mc);
unloadMovie (nobleKnightLegs_mc);
armorLegsGone2();
nobleLegsV = 0;
evilLegsV = 0;
pantsGone();
otherPantsGone();
_root.attachMovie("powerArmorLegs_mc", "powerArmorLegs_mc", pantsLayerValue, {_x:201.4, _y:229.8});
powerArmorLegsV = 1;
templateLegs_mc._alpha = 0;
samuraiLegsColorUp();
samuraiLegs2ColorUp();
} else if (powerArmorLegsV == 1) {
unloadMovie (powerArmorLegs_mc);
powerArmorLegsV = 0;
templateLegs_mc._alpha = 100;
}
};
var advancedArmorLegsV = 0;
armorLegsMenu2_mc.advancedArmorLegs_btn.onRelease = function () {
if (advancedArmorLegsV == 0) {
unloadMovie (policeArmorLegs_mc);
unloadMovie (militaryGreyLegs_mc);
unloadMovie (strappyLegs_mc);
unloadMovie (militaryCamoLegs_mc);
unloadMovie (militaryDesertLegs_mc);
militaryDesertLegsV = 0;
militaryCamoLegsV = 0;
strappyLegsV = 0;
militaryGreyLegsV = 0;
policeArmorLegsV = 0;
armorLegsGone1();
pantsGone();
otherPantsGone();
_root.attachMovie("advancedArmorLegs_mc", "advancedArmorLegs_mc", pantsLayerValue, {_x:198.8, _y:231.1});
advancedArmorLegsV = 1;
templateLegs_mc._alpha = 0;
} else if (advancedArmorLegsV == 1) {
unloadMovie (advancedArmorLegs_mc);
advancedArmorLegsV = 0;
templateLegs_mc._alpha = 100;
}
};
var policeArmorLegsV = 0;
armorLegsMenu2_mc.policeArmorLegs_btn.onRelease = function () {
if (policeArmorLegsV == 0) {
unloadMovie (advancedArmorLegs_mc);
unloadMovie (militaryGreyLegs_mc);
unloadMovie (strappyLegs_mc);
unloadMovie (militaryCamoLegs_mc);
unloadMovie (militaryDesertLegs_mc);
militaryDesertLegsV = 0;
militaryCamoLegsV = 0;
strappyLegsV = 0;
militaryGreyLegsV = 0;
advancedArmorLegsV = 0;
armorLegsGone1();
pantsGone();
otherPantsGone();
_root.attachMovie("policeArmorLegs_mc", "policeArmorLegs_mc", pantsLayerValue, {_x:210.1, _y:218.1});
policeArmorLegsV = 1;
templateLegs_mc._alpha = 0;
} else if (policeArmorLegsV == 1) {
unloadMovie (policeArmorLegs_mc);
policeArmorLegsV = 0;
templateLegs_mc._alpha = 100;
}
};
var militaryDesertLegsV = 0;
armorLegsMenu2_mc.militaryDesertLegs_btn.onRelease = function () {
if (militaryDesertLegsV == 0) {
unloadMovie (advancedArmorLegs_mc);
unloadMovie (strappyLegs_mc);
unloadMovie (policeArmorLegs_mc);
unloadMovie (militaryCamoLegs_mc);
unloadMovie (militaryGreyLegs_mc);
militaryGreyLegsV = 0;
militaryCamoLegsV = 0;
policeArmorLegsV = 0;
strappyLegsV = 0;
advancedArmorLegsV = 0;
armorLegsGone1();
pantsGone();
otherPantsGone();
_root.attachMovie("militaryDesertLegs_mc", "militaryDesertLegs_mc", pantsLayerValue, {_x:212, _y:220});
militaryDesertLegsV = 1;
templateLegs_mc._alpha = 0;
} else if (militaryDesertLegsV == 1) {
unloadMovie (militaryDesertLegs_mc);
militaryDesertLegsV = 0;
templateLegs_mc._alpha = 100;
}
};
var militaryGreyLegsV = 0;
armorLegsMenu2_mc.militaryGreyLegs_btn.onRelease = function () {
if (militaryGreyLegsV == 0) {
unloadMovie (advancedArmorLegs_mc);
unloadMovie (strappyLegs_mc);
unloadMovie (policeArmorLegs_mc);
unloadMovie (militaryCamoLegs_mc);
unloadMovie (militaryDesertLegs_mc);
militaryDesertLegsV = 0;
militaryCamoLegsV = 0;
policeArmorLegsV = 0;
strappyLegsV = 0;
advancedArmorLegsV = 0;
armorLegsGone1();
pantsGone();
otherPantsGone();
_root.attachMovie("militaryGreyLegs_mc", "militaryGreyLegs_mc", pantsLayerValue, {_x:212, _y:220});
militaryGreyLegsV = 1;
templateLegs_mc._alpha = 0;
} else if (militaryGreyLegsV == 1) {
unloadMovie (militaryGreyLegs_mc);
militaryGreyLegsV = 0;
templateLegs_mc._alpha = 100;
}
};
var militaryCamoLegsV = 0;
armorLegsMenu2_mc.militaryCamoLegs_btn.onRelease = function () {
if (militaryCamoLegsV == 0) {
unloadMovie (advancedArmorLegs_mc);
unloadMovie (strappyLegs_mc);
unloadMovie (policeArmorLegs_mc);
unloadMovie (militaryGreyLegs_mc);
unloadMovie (militaryDesertLegs_mc);
militaryDesertLegsV = 0;
militaryGreyLegsV = 0;
policeArmorLegsV = 0;
strappyLegsV = 0;
advancedArmorLegsV = 0;
armorLegsGone1();
pantsGone();
otherPantsGone();
_root.attachMovie("militaryCamoLegs_mc", "militaryCamoLegs_mc", pantsLayerValue, {_x:212, _y:220});
militaryCamoLegsV = 1;
templateLegs_mc._alpha = 0;
} else if (militaryCamoLegsV == 1) {
unloadMovie (militaryCamoLegs_mc);
militaryCamoLegsV = 0;
templateLegs_mc._alpha = 100;
}
};
function otherPantsGone() {
unloadMovie (pilotLegs_mc);
unloadMovie (cavalryLegs_mc);
unloadMovie (egyptainBlueLegs_mc);
unloadMovie (egyptainRedLegs_mc);
unloadMovie (furryLegs_mc);
unloadMovie (castawayLegs_mc);
unloadMovie (peglegLegs_mc);
unloadMovie (bunnySlippersLegs_mc);
unloadMovie (tutuSkirtLegs_mc);
unloadMovie (kiltLegs_mc);
kiltLegsV = 0;
tutuSkirtLegsV = 0;
bunnySlippersLegsV = 0;
peglegLegsV = 0;
castawayLegsV = 0;
furryLegsV = 0;
egyptainRedLegsV = 0;
egyptainBlueLegsV = 0;
cavalryLegsV = 0;
pilotLegsV = 0;
}
function otherPants1Gone() {
unloadMovie (pilotLegs_mc);
unloadMovie (cavalryLegs_mc);
unloadMovie (egyptainBlueLegs_mc);
unloadMovie (egyptainRedLegs_mc);
unloadMovie (furryLegs_mc);
furryLegsV = 0;
egyptainRedLegsV = 0;
egyptainBlueLegsV = 0;
cavalryLegsV = 0;
pilotLegsV = 0;
}
function otherPants2Gone() {
unloadMovie (castawayLegs_mc);
unloadMovie (peglegLegs_mc);
unloadMovie (bunnySlippersLegs_mc);
unloadMovie (tutuSkirtLegs_mc);
unloadMovie (kiltLegs_mc);
kiltLegsV = 0;
tutuSkirtLegsV = 0;
bunnySlippersLegsV = 0;
peglegLegsV = 0;
castawayLegsV = 0;
}
var pantsLayerValue = 4000;
var cavalryLegsV = 0;
otherPantsMenu_mc.cavalryLegs_btn.onRelease = function () {
if (cavalryLegsV == 0) {
pantsGone();
armorLegsGone();
otherPants2Gone();
unloadMovie (pilotLegs_mc);
unloadMovie (egyptainBlueLegs_mc);
unloadMovie (egyptainRedLegs_mc);
unloadMovie (furryLegs_mc);
furryLegsV = 0;
egyptainRedLegsV = 0;
egyptainBlueLegsV = 0;
pilotLegsV = 0;
_root.attachMovie("cavalryLegs_mc", "cavalryLegs_mc", pantsLayerValue, {_x:222.8, _y:222.3});
cavalryLegsV = 1;
templateLegs_mc._alpha = 0;
} else if (cavalryLegsV == 1) {
unloadMovie (cavalryLegs_mc);
cavalryLegsV = 0;
templateLegs_mc._alpha = 100;
}
};
var pilotLegsV = 0;
otherPantsMenu_mc.pilotLegs_btn.onRelease = function () {
if (pilotLegsV == 0) {
armorLegsGone();
pantsGone();
otherPants2Gone();
unloadMovie (cavalryLegs_mc);
unloadMovie (egyptainBlueLegs_mc);
unloadMovie (egyptainRedLegs_mc);
unloadMovie (furryLegs_mc);
furryLegsV = 0;
egyptainRedLegsV = 0;
egyptainBlueLegsV = 0;
cavalryLegsV = 0;
_root.attachMovie("pilotLegs_mc", "pilotLegs_mc", pantsLayerValue, {_x:218.8, _y:218.6});
pilotLegsV = 1;
templateLegs_mc._alpha = 0;
} else if (pilotLegsV == 1) {
unloadMovie (pilotLegs_mc);
pilotLegsV = 0;
templateLegs_mc._alpha = 100;
}
};
var egyptainBlueLegsV = 0;
otherPantsMenu_mc.egyptainBlueLegs_btn.onRelease = function () {
if (egyptainBlueLegsV == 0) {
armorLegsGone();
pantsGone();
otherPants2Gone();
unloadMovie (cavalryLegs_mc);
unloadMovie (pilotLegs_mc);
unloadMovie (egyptainRedLegs_mc);
unloadMovie (furryLegs_mc);
furryLegsV = 0;
egyptainRedLegsV = 0;
pilotLegsV = 0;
cavalryLegsV = 0;
_root.attachMovie("egyptainBlueLegs_mc", "egyptainBlueLegs_mc", pantsLayerValue, {_x:240, _y:225});
egyptainBlueLegsV = 1;
templateLegs_mc._alpha = 100;
} else if (egyptainBlueLegsV == 1) {
unloadMovie (egyptainBlueLegs_mc);
egyptainBlueLegsV = 0;
}
};
var egyptainRedLegsV = 0;
otherPantsMenu_mc.egyptainRedLegs_btn.onRelease = function () {
if (egyptainRedLegsV == 0) {
armorLegsGone();
pantsGone();
otherPants2Gone();
unloadMovie (cavalryLegs_mc);
unloadMovie (pilotLegs_mc);
unloadMovie (egyptainBlueLegs_mc);
unloadMovie (furryLegs_mc);
furryLegsV = 0;
egyptainBlueLegsV = 0;
pilotLegsV = 0;
cavalryLegsV = 0;
templateLegs_mc._alpha = 100;
_root.attachMovie("egyptainRedLegs_mc", "egyptainRedLegs_mc", pantsLayerValue, {_x:240, _y:225});
egyptainRedLegsV = 1;
} else if (egyptainRedLegsV == 1) {
unloadMovie (egyptainRedLegs_mc);
egyptainRedLegsV = 0;
}
};
var furryLegsV = 0;
otherPantsMenu_mc.furryLegs_btn.onRelease = function () {
if (furryLegsV == 0) {
armorLegsGone();
pantsGone();
otherPants2Gone();
unloadMovie (cavalryLegs_mc);
unloadMovie (pilotLegs_mc);
unloadMovie (egyptainBlueLegs_mc);
unloadMovie (egyptainRedLegs_mc);
egyptainRedLegsV = 0;
egyptainBlueLegsV = 0;
pilotLegsV = 0;
cavalryLegsV = 0;
templateLegs_mc._alpha = 0;
_root.attachMovie("furryLegs_mc", "furryLegs_mc", pantsLayerValue, {_x:222, _y:220});
furryLegsV = 1;
} else if (furryLegsV == 1) {
unloadMovie (furryLegs_mc);
furryLegsV = 0;
templateLegs_mc._alpha = 100;
}
};
var castawayLegsV = 0;
otherPantsMenu2_mc.castawayPants_btn.onRelease = function () {
if (castawayLegsV == 0) {
armorLegsGone();
pantsGone();
otherPants1Gone();
unloadMovie (peglegLegs_mc);
unloadMovie (bunnySlippersLegs_mc);
unloadMovie (tutuSkirtLegs_mc);
unloadMovie (kiltLegs_mc);
kiltLegsV = 0;
tutuSkirtLegsV = 0;
bunnySlippersLegsV = 0;
peglegLegsV = 0;
templateLegs_mc._alpha = 0;
_root.attachMovie("castawayLegs_mc", "castawayLegs_mc", pantsLayerValue, {_x:223.7, _y:225});
castawayLegsV = 1;
} else if (castawayLegsV == 1) {
unloadMovie (castawayLegs_mc);
castawayLegsV = 0;
templateLegs_mc._alpha = 100;
}
};
var peglegLegsV = 0;
otherPantsMenu2_mc.peglegPants_btn.onRelease = function () {
if (peglegLegsV == 0) {
armorLegsGone();
pantsGone();
otherPants1Gone();
unloadMovie (castawayLegs_mc);
unloadMovie (bunnySlippersLegs_mc);
unloadMovie (tutuSkirtLegs_mc);
unloadMovie (kiltLegs_mc);
kiltLegsV = 0;
tutuSkirtLegsV = 0;
bunnySlippersLegsV = 0;
castawayLegsV = 0;
templateLegs_mc._alpha = 0;
_root.attachMovie("peglegLegs_mc", "peglegLegs_mc", pantsLayerValue, {_x:207.7, _y:226.1});
peglegLegsV = 1;
} else if (peglegLegsV == 1) {
unloadMovie (peglegLegs_mc);
peglegLegsV = 0;
templateLegs_mc._alpha = 100;
}
};
var bunnySlippersLegsV = 0;
otherPantsMenu2_mc.bunnySlippersPants_btn.onRelease = function () {
if (bunnySlippersLegsV == 0) {
armorLegsGone();
pantsGone();
otherPants1Gone();
unloadMovie (castawayLegs_mc);
unloadMovie (peglegLegs_mc);
unloadMovie (tutuSkirtLegs_mc);
unloadMovie (kiltLegs_mc);
kiltLegsV = 0;
tutuSkirtLegsV = 0;
peglegLegsV = 0;
castawayLegsV = 0;
templateLegs_mc._alpha = 100;
_root.attachMovie("bunnySlippersLegs_mc", "bunnySlippersLegs_mc", pantsLayerValue, {_x:194.1, _y:225.3});
bunnySlippersLegsV = 1;
} else if (bunnySlippersLegsV == 1) {
unloadMovie (bunnySlippersLegs_mc);
bunnySlippersLegsV = 0;
templateLegs_mc._alpha = 100;
}
};
var tutuSkirtLegsV = 0;
otherPantsMenu2_mc.tutuSkirtPants_btn.onRelease = function () {
if (tutuSkirtLegsV == 0) {
armorLegsGone();
pantsGone();
otherPants1Gone();
unloadMovie (castawayLegs_mc);
unloadMovie (peglegLegs_mc);
unloadMovie (bunnySlippersLegs_mc);
unloadMovie (kiltLegs_mc);
kiltLegsV = 0;
bunnySlippersLegsV = 0;
peglegLegsV = 0;
castawayLegsV = 0;
templateLegs_mc._alpha = 0;
_root.attachMovie("tutuSkirtLegs_mc", "tutuSkirtLegs_mc", pantsLayerValue, {_x:198.4, _y:229.5});
tutuSkirtLegsV = 1;
} else if (tutuSkirtLegsV == 1) {
unloadMovie (tutuSkirtLegs_mc);
tutuSkirtLegsV = 0;
templateLegs_mc._alpha = 100;
}
};
var kiltLegsV = 0;
otherPantsMenu2_mc.kiltPants_btn.onRelease = function () {
if (kiltLegsV == 0) {
armorLegsGone();
pantsGone();
otherPants1Gone();
unloadMovie (castawayLegs_mc);
unloadMovie (peglegLegs_mc);
unloadMovie (bunnySlippersLegs_mc);
unloadMovie (tutuSkirtLegs_mc);
tutuSkirtLegsV = 0;
bunnySlippersLegsV = 0;
peglegLegsV = 0;
castawayLegsV = 0;
templateLegs_mc._alpha = 0;
_root.attachMovie("kiltLegs_mc", "kiltLegs_mc", pantsLayerValue, {_x:219.3, _y:229.8});
kiltLegsV = 1;
} else if (kiltLegsV == 1) {
unloadMovie (kiltLegs_mc);
kiltLegsV = 0;
templateLegs_mc._alpha = 100;
}
};
function pantsGone() {
unloadMovie (ganstaLegs_mc);
unloadMovie (badassLegs_mc);
unloadMovie (shortsLegs_mc);
unloadMovie (cowboyLegs_mc);
unloadMovie (outdoorsLegs_mc);
unloadMovie (suitLegs_mc);
unloadMovie (shinySuitLegs_mc);
unloadMovie (blueJeansLegs_mc);
unloadMovie (strappyLegs_mc);
strappyLegsV = 0;
blueJeansLegsV = 0;
shinySuitLegsV = 0;
suitLegsV = 0;
outdoorsLegsV = 0;
cowboyLegsV = 0;
shortsLegsV = 0;
badassPantsV = 0;
gangstaPantsV = 0;
}
function pants1Gone() {
unloadMovie (ganstaLegs_mc);
unloadMovie (badassLegs_mc);
unloadMovie (shortsLegs_mc);
unloadMovie (cowboyLegs_mc);
unloadMovie (strappyLegs_mc);
strappyLegsV = 0;
cowboyLegsV = 0;
shortsLegsV = 0;
badassPantsV = 0;
gangstaPantsV = 0;
}
function pants2Gone() {
unloadMovie (outdoorsLegs_mc);
unloadMovie (suitLegs_mc);
unloadMovie (shinySuitLegs_mc);
unloadMovie (blueJeansLegs_mc);
blueJeansLegsV = 0;
shinySuitLegsV = 0;
suitLegsV = 0;
outdoorsLegsV = 0;
}
var pantsLayerValue = 4000;
var gangstaPantsV = 0;
pantsLegsMenu_mc.ganstaLegs_btn.onRelease = function () {
if (gangstaPantsV == 0) {
unloadMovie (badassLegs_mc);
unloadMovie (shortsLegs_mc);
unloadMovie (pilotLegs_mc);
unloadMovie (cavalryLegs_mc);
unloadMovie (strappyLegs_mc);
strappyLegsV = 0;
cavalryLegsV = 0;
pants2Gone();
pilotLegsV = 0;
shortsLegsV = 0;
badassPantsV = 0;
armorLegsGone();
otherPantsGone();
_root.attachMovie("ganstaLegs_mc", "ganstaLegs_mc", pantsLayerValue, {_x:191, _y:225});
gangstaPantsV = 1;
templateLegs_mc._alpha = 0;
} else if (gangstaPantsV == 1) {
unloadMovie (ganstaLegs_mc);
gangstaPantsV = 0;
templateLegs_mc._alpha = 100;
}
};
var badassPantsV = 0;
pantsLegsMenu_mc.badassGanstaLegs_btn.onRelease = function () {
if (badassPantsV == 0) {
unloadMovie (ganstaLegs_mc);
unloadMovie (shortsLegs_mc);
unloadMovie (pilotLegs_mc);
unloadMovie (cavalryLegs_mc);
unloadMovie (strappyLegs_mc);
strappyLegsV = 0;
cavalryLegsV = 0;
pants2Gone();
pilotLegsV = 0;
shortsLegsV = 0;
gangstaPantsV = 0;
armorLegsGone();
otherPantsGone();
_root.attachMovie("badassLegs_mc", "badassLegs_mc", pantsLayerValue, {_x:200, _y:227});
badassPantsV = 1;
templateLegs_mc._alpha = 0;
} else if (badassPantsV == 1) {
unloadMovie (badassLegs_mc);
badassPantsV = 0;
templateLegs_mc._alpha = 100;
}
};
var shortsLegsV = 0;
pantsLegsMenu_mc.shortsLegs_btn.onRelease = function () {
if (shortsLegsV == 0) {
unloadMovie (ganstaLegs_mc);
unloadMovie (badassLegs_mc);
unloadMovie (pilotLegs_mc);
unloadMovie (cavalryLegs_mc);
unloadMovie (strappyLegs_mc);
strappyLegsV = 0;
cavalryLegsV = 0;
pants2Gone();
pilotLegsV = 0;
badassPantsV = 0;
gangstaPantsV = 0;
armorLegsGone();
otherPantsGone();
_root.attachMovie("shortsLegs_mc", "shortsLegs_mc", pantsLayerValue, {_x:190, _y:216.6});
shortsLegsV = 1;
templateLegs_mc._alpha = 0;
} else if (shortsLegsV == 1) {
unloadMovie (shortsLegs_mc);
shortsLegsV = 0;
templateLegs_mc._alpha = 100;
}
};
var strappyLegsV = 0;
pantsLegsMenu_mc.strappyLegs_btn.onRelease = function () {
if (strappyLegsV == 0) {
unloadMovie (ganstaLegs_mc);
unloadMovie (badassLegs_mc);
unloadMovie (shortsLegs_mc);
unloadMovie (pilotLegs_mc);
unloadMovie (cowboyLegs_mc);
cowboyLegsV = 0;
pilotLegsV = 0;
shortsLegsV = 0;
pants2Gone();
badassPantsV = 0;
gangstaPantsV = 0;
armorLegsGone();
otherPantsGone();
_root.attachMovie("strappyLegs_mc", "strappyLegs_mc", pantsLayerValue, {_x:215.8, _y:218.5});
strappyLegsV = 1;
templateLegs_mc._alpha = 0;
} else if (strappyLegsV == 1) {
unloadMovie (strappyLegs_mc);
strappyLegsV = 0;
templateLegs_mc._alpha = 100;
}
};
var cowboyLegsV = 0;
pantsLegsMenu_mc.cowboyLegs_btn.onRelease = function () {
if (cowboyLegsV == 0) {
unloadMovie (ganstaLegs_mc);
unloadMovie (badassLegs_mc);
unloadMovie (shortsLegs_mc);
unloadMovie (cavalryLegs_mc);
unloadMovie (strappyLegs_mc);
strappyLegsV = 0;
cavalryLegsV = 0;
shortsLegsV = 0;
pants2Gone();
badassPantsV = 0;
gangstaPantsV = 0;
armorLegsGone();
otherPantsGone();
_root.attachMovie("cowboyLegs_mc", "cowboyLegs_mc", pantsLayerValue, {_x:210.8, _y:217.6});
cowboyLegsV = 1;
templateLegs_mc._alpha = 0;
} else if (cowboyLegsV == 1) {
unloadMovie (cowboyLegs_mc);
cowboyLegsV = 0;
templateLegs_mc._alpha = 100;
}
};
var outdoorsLegsV = 0;
pantsLegsMenu2_mc.outdoorsLegs_btn.onRelease = function () {
if (outdoorsLegsV == 0) {
pants1Gone();
armorLegsGone();
otherPantsGone();
unloadMovie (suitLegs_mc);
unloadMovie (shinySuitLegs_mc);
unloadMovie (blueJeansLegs_mc);
blueJeansLegsV = 0;
shinySuitLegsV = 0;
suitLegsV = 0;
_root.attachMovie("outdoorsLegs_mc", "outdoorsLegs_mc", pantsLayerValue, {_x:203.9, _y:214});
outdoorsLegsV = 1;
templateLegs_mc._alpha = 0;
} else if (outdoorsLegsV == 1) {
unloadMovie (outdoorsLegs_mc);
outdoorsLegsV = 0;
templateLegs_mc._alpha = 100;
}
};
var suitLegsV = 0;
pantsLegsMenu2_mc.suitLegs_btn.onRelease = function () {
if (suitLegsV == 0) {
pants1Gone();
armorLegsGone();
otherPantsGone();
unloadMovie (outdoorsLegs_mc);
unloadMovie (shinySuitLegs_mc);
unloadMovie (blueJeansLegs_mc);
blueJeansLegsV = 0;
shinySuitLegsV = 0;
outdoorsLegsV = 0;
_root.attachMovie("suitLegs_mc", "suitLegs_mc", pantsLayerValue, {_x:215.9, _y:220});
suitLegsV = 1;
templateLegs_mc._alpha = 0;
} else if (suitLegsV == 1) {
unloadMovie (suitLegs_mc);
suitLegsV = 0;
templateLegs_mc._alpha = 100;
}
};
var shinySuitLegsV = 0;
pantsLegsMenu2_mc.shinySuitLegs_btn.onRelease = function () {
if (shinySuitLegsV == 0) {
pants1Gone();
armorLegsGone();
otherPantsGone();
unloadMovie (outdoorsLegs_mc);
unloadMovie (suitLegs_mc);
unloadMovie (blueJeansLegs_mc);
blueJeansLegsV = 0;
suitLegsV = 0;
outdoorsLegsV = 0;
_root.attachMovie("shinySuitLegs_mc", "shinySuitLegs_mc", pantsLayerValue, {_x:215.9, _y:220});
shinySuitLegsV = 1;
templateLegs_mc._alpha = 0;
} else if (shinySuitLegsV == 1) {
unloadMovie (shinySuitLegs_mc);
shinySuitLegsV = 0;
templateLegs_mc._alpha = 100;
}
};
var blueJeansLegsV = 0;
pantsLegsMenu2_mc.blueJeansLegs_btn.onRelease = function () {
if (blueJeansLegsV == 0) {
pants1Gone();
armorLegsGone();
otherPantsGone();
unloadMovie (outdoorsLegs_mc);
unloadMovie (suitLegs_mc);
unloadMovie (shinySuitLegs_mc);
shinySuitLegsV = 0;
suitLegsV = 0;
outdoorsLegsV = 0;
_root.attachMovie("blueJeansLegs_mc", "blueJeansLegs_mc", pantsLayerValue, {_x:212.8, _y:216.4});
blueJeansLegsV = 1;
templateLegs_mc._alpha = 0;
} else if (blueJeansLegsV == 1) {
unloadMovie (blueJeansLegs_mc);
blueJeansLegsV = 0;
templateLegs_mc._alpha = 100;
}
};
function weaponsPlasmaPistol() {
}
function weaponsEvilKnight() {
if (deserteagleArmsV == 1) {
deserteagleArms2_mc.swapDepths(armsLayerValue2);
deserteagleArms_mc._width = 162.1;
deserteagleArms2_mc._width = 21.9;
deserteagleArms_mc._x = 184.3;
deserteagleArms2_mc._x = 226.9;
} else if (deserteagleArmGoldV == 1) {
deserteagleArmGold2_mc.swapDepths(armsLayerValue2);
deserteagleArmGold_mc._width = 162.1;
deserteagleArmGold2_mc._width = 21.9;
deserteagleArmGold_mc._x = 184.3;
deserteagleArmGold2_mc._x = 226.9;
} else if (silencerGunV == 1) {
gunSilencerArm2_mc.swapDepths(armsLayerValue2);
gunSilencerArm_mc._width = 185.3;
gunSilencerArm2_mc._width = 31.4;
gunSilencerArm_mc._x = 164.9;
gunSilencerArm2_mc._x = 216.2;
} else if (spas12V == 1) {
spas12Arms2_mc.swapDepths(armsLayerValue2);
spas12Arms_mc._width = 207.3;
spas12Arms2_mc._width = 22.3;
spas12Arms_mc._x = 206.4;
spas12Arms2_mc._x = 225;
} else if (shortSwordArmoredV == 1) {
shortSwordArmored_mc._width = 221.3;
shortSwordArmored2_mc._width = 26.3;
shortSwordArmored_mc._x = 152.5;
shortSwordArmored2_mc._x = 222.8;
} else if (plasmaPistolArmsV == 1) {
plasmaPistolArms_mc._width = 194.6;
plasmaPistolArms2_mc._width = 46.7;
plasmaPistolArms_mc._x = 165.8;
plasmaPistolArms2_mc._x = 230.3;
}
}
function weaponsEvilKnight2() {
if (deserteagleArmsV == 1) {
deserteagleArms2_mc.swapDepths(armsLayerValue2);
deserteagleArms_mc._width = 152.1;
deserteagleArms2_mc._width = 20.6;
deserteagleArms_mc._x = 198;
deserteagleArms2_mc._x = 238;
} else if (deserteagleArmGoldV == 1) {
deserteagleArmGold2_mc.swapDepths(armsLayerValue2);
deserteagleArmGold_mc._width = 152.1;
deserteagleArmGold2_mc._width = 20.6;
deserteagleArmGold_mc._x = 198;
deserteagleArmGold2_mc._x = 238;
} else if (silencerGunV == 1) {
gunSilencerArm2_mc.swapDepths(armsLayerValue2);
gunSilencerArm_mc._width = 158.3;
gunSilencerArm2_mc._width = 28;
gunSilencerArm_mc._x = 186;
gunSilencerArm2_mc._x = 230;
} else if (spas12V == 1) {
spas12Arms2_mc.swapDepths(702);
spas12Arms_mc._width = 197.7;
spas12Arms2_mc._width = 21.2;
spas12Arms_mc._x = 216;
spas12Arms2_mc._x = 234;
} else if (shortSwordArmoredV == 1) {
shortSwordArmored_mc._width = 206.3;
shortSwordArmored2_mc._width = 26.3;
shortSwordArmored_mc._x = 165;
shortSwordArmored2_mc._x = 230.5;
} else if (plasmaPistolArmsV == 1) {
plasmaPistolArms_mc._width = 186.6;
plasmaPistolArms2_mc._width = 44.8;
plasmaPistolArms_mc._x = 174.8;
plasmaPistolArms2_mc._x = 236.7;
}
}
function weaponsNobleKnight() {
if (deserteagleArmsV == 1) {
deserteagleArms2_mc.swapDepths(armsLayerValue2);
deserteagleArms_mc._width = 153.1;
deserteagleArms2_mc._width = 20.8;
deserteagleArms_mc._x = 193.3;
deserteagleArms2_mc._x = 233.6;
} else if (deserteagleArmGoldV == 1) {
deserteagleArmGold2_mc.swapDepths(armsLayerValue2);
deserteagleArmGold_mc._width = 153.1;
deserteagleArmGold2_mc._width = 20.8;
deserteagleArmGold_mc._x = 193.3;
deserteagleArmGold2_mc._x = 233.6;
} else if (silencerGunV == 1) {
gunSilencerArm2_mc.swapDepths(armsLayerValue2);
gunSilencerArm_mc._width = 175.8;
gunSilencerArm2_mc._width = 29.8;
gunSilencerArm_mc._x = 174.6;
gunSilencerArm2_mc._x = 223.1;
} else if (spas12V == 1) {
spas12Arms2_mc.swapDepths(702);
spas12Arms_mc._width = 197.7;
spas12Arms2_mc._width = 21.2;
spas12Arms_mc._x = 216;
spas12Arms2_mc._x = 234;
} else if (shortSwordArmoredV == 1) {
shortSwordArmored_mc._width = 206.3;
shortSwordArmored2_mc._width = 26.3;
shortSwordArmored_mc._x = 165;
shortSwordArmored2_mc._x = 230.5;
} else if (plasmaPistolArmsV == 1) {
plasmaPistolArms_mc._width = 186.6;
plasmaPistolArms2_mc._width = 44.8;
plasmaPistolArms_mc._x = 174.8;
plasmaPistolArms2_mc._x = 236.7;
}
}
function weaponsNobleKnight2() {
if (deserteagleArmsV == 1) {
deserteagleArms2_mc.swapDepths(armsLayerValue2);
deserteagleArms_mc._width = 152.1;
deserteagleArms2_mc._width = 20.6;
deserteagleArms_mc._x = 198;
deserteagleArms2_mc._x = 238;
} else if (deserteagleArmGoldV == 1) {
deserteagleArmGold2_mc.swapDepths(armsLayerValue2);
deserteagleArmGold_mc._width = 152.1;
deserteagleArmGold2_mc._width = 20.6;
deserteagleArmGold_mc._x = 198;
deserteagleArmGold2_mc._x = 238;
} else if (silencerGunV == 1) {
gunSilencerArm2_mc.swapDepths(armsLayerValue2);
gunSilencerArm_mc._width = 158.3;
gunSilencerArm2_mc._width = 28;
gunSilencerArm_mc._x = 186;
gunSilencerArm2_mc._x = 230;
}
}
function weaponsSSTorso() {
if (deserteagleArmsV == 1) {
deserteagleArms2_mc.swapDepths(702);
deserteagleArms_mc._width = 152.1;
deserteagleArms2_mc._width = 20.6;
deserteagleArms_mc._x = 198;
deserteagleArms2_mc._x = 238;
} else if (deserteagleArmGoldV == 1) {
deserteagleArmGold2_mc.swapDepths(702);
deserteagleArmGold_mc._width = 152.1;
deserteagleArmGold2_mc._width = 20.6;
deserteagleArmGold_mc._x = 198;
deserteagleArmGold2_mc._x = 238;
} else if (silencerGunV == 1) {
gunSilencerArm2_mc.swapDepths(702);
gunSilencerArm_mc._width = 158.3;
gunSilencerArm2_mc._width = 28;
gunSilencerArm_mc._x = 186;
gunSilencerArm2_mc._x = 230;
} else if (spas12V == 1) {
spas12Arms2_mc.swapDepths(702);
spas12Arms_mc._width = 197.7;
spas12Arms2_mc._width = 21.2;
spas12Arms_mc._x = 216;
spas12Arms2_mc._x = 234;
} else if (shortSwordArmoredV == 1) {
shortSwordArmored_mc._width = 206.3;
shortSwordArmored2_mc._width = 26.3;
shortSwordArmored_mc._x = 165;
shortSwordArmored2_mc._x = 230.5;
} else if (plasmaPistolArmsV == 1) {
plasmaPistolArms_mc._width = 186.6;
plasmaPistolArms2_mc._width = 44.8;
plasmaPistolArms_mc._x = 174.8;
plasmaPistolArms2_mc._x = 236.7;
}
}
function weaponsSamuraiTorso2() {
if (deserteagleArmsV == 1) {
deserteagleArms2_mc.swapDepths(armsLayerValue2);
} else if (deserteagleArmsV == 1) {
deserteagleArmGold2_mc.swapDepths(armsLayerValue2);
} else if (silencerGunV == 1) {
gunSilencerArm2_mc_mc.swapDepths(armsLayerValue2);
}
}
function samuraiTorsoColorDown() {
if (samuraiTorsoColorV == 1) {
samuraiTorsoColorUp();
} else if (samuraiTorsoColorV == 0) {
samuraiTorsoColorV = 1;
samuraiTorsoColor_mc.onEnterFrame = function () {
this._y = this._y + 12;
if (this._y > -40) {
delete this.onEnterFrame;
}
};
}
}
function samuraiTorsoColorUp() {
samuraiTorsoColor_mc._y = -140;
samuraiTorsoColorV = 0;
}
function bodyArmorGone() {
unloadMovie (evilKnightTorso_mc);
unloadMovie (evilKnightTorso2_mc);
unloadMovie (nobleKnightTorso_mc);
unloadMovie (samuraiTorsoBlack_mc);
unloadMovie (samuraiTorsoBlack2_mc);
unloadMovie (samuraiTorsoBlue_mc);
unloadMovie (samuraiTorsoBlue2_mc);
unloadMovie (samuraiTorsoGreen_mc);
unloadMovie (samuraiTorsoGreen2_mc);
unloadMovie (samuraiTorsoRed_mc);
unloadMovie (samuraiTorsoRed2_mc);
unloadMovie (teddyArmor_mc);
unloadMovie (teddyArmorBloody_mc);
unloadMovie (powerArmor_mc);
unloadMovie (advancedArmor_mc);
unloadMovie (leatherArmor_mc);
leatherArmorV = 0;
advancedArmorV = 0;
powerArmorV = 0;
teddyArmorBloodyV = 0;
teddyArmorV = 0;
samuraiTorsoRedV = 0;
samuraiTorsoGreenV = 0;
samuraiTorsoBlueV = 0;
samuraiTorsoBlackV = 0;
nobleKnightTorsoV = 0;
evilKnightTorsoV = 0;
templateArm1_mc._x = 303;
}
function bodyArmorGone1() {
unloadMovie (evilKnightTorso_mc);
unloadMovie (evilKnightTorso2_mc);
unloadMovie (nobleKnightTorso_mc);
unloadMovie (samuraiTorsoBlack_mc);
unloadMovie (samuraiTorsoBlack2_mc);
unloadMovie (samuraiTorsoBlue_mc);
unloadMovie (samuraiTorsoBlue2_mc);
unloadMovie (samuraiTorsoGreen_mc);
unloadMovie (samuraiTorsoGreen2_mc);
unloadMovie (samuraiTorsoRed_mc);
unloadMovie (samuraiTorsoRed2_mc);
unloadMovie (teddyArmor_mc);
unloadMovie (teddyArmorBloody_mc);
teddyArmorBloodyV = 0;
teddyArmorV = 0;
samuraiTorsoRedV = 0;
samuraiTorsoGreenV = 0;
samuraiTorsoBlueV = 0;
samuraiTorsoBlackV = 0;
nobleKnightTorsoV = 0;
evilKnightTorsoV = 0;
templateArm1_mc._x = 303;
}
function bodyArmorGone2() {
unloadMovie (powerArmor_mc);
unloadMovie (advancedArmor_mc);
unloadMovie (leatherArmor_mc);
leatherArmorV = 0;
advancedArmorV = 0;
powerArmorV = 0;
templateArm1_mc._x = 303;
}
var torsoLayerValue = 6000;
var samuraiTorsoColorV = 0;
var evilKnightTorsoV = 0;
bodyArmorMenu_mc.evilKnightTorso_btn.onRelease = function () {
if (evilKnightTorsoV == 0) {
unloadMovie (nobleKnightTorso_mc);
unloadMovie (samuraiTorsoBlack_mc);
unloadMovie (samuraiTorsoBlack2_mc);
unloadMovie (samuraiTorsoBlue_mc);
unloadMovie (samuraiTorsoBlue2_mc);
unloadMovie (samuraiTorsoGreen_mc);
unloadMovie (samuraiTorsoGreen2_mc);
unloadMovie (samuraiTorsoRed_mc);
unloadMovie (samuraiTorsoRed2_mc);
unloadMovie (teddyArmor_mc);
unloadMovie (teddyArmorBloody_mc);
tShirtsGone();
bodyArmorGone2();
teddyArmorBloodyV = 0;
teddyArmorV = 0;
templateArm1_mc._x = 303;
samuraiTorsoRedV = 0;
samuraiTorsoGreenV = 0;
samuraiTorsoBlueV = 0;
samuraiTorsoBlackV = 0;
nobleKnightTorsoV = 0;
shirtsGone();
vestsGone();
jacketsGone();
otherTorsoGone();
jacketsGone();
_root.attachMovie("evilKnightTorso_mc", "evilKnightTorso_mc", torsoLayerValue + 110, {_x:226, _y:137});
_root.attachMovie("evilKnightTorso2_mc", "evilKnightTorso2_mc", torsoLayerValue, {_x:315, _y:203});
weaponsEvilKnight();
evilKnightTorsoV = 1;
samuraiTorsoColorUp();
} else if (evilKnightTorsoV == 1) {
unloadMovie (evilKnightTorso_mc);
unloadMovie (evilKnightTorso2_mc);
evilKnightTorsoV = 0;
weaponsEvilKnight2();
}
};
var nobleKnightTorsoV = 0;
bodyArmorMenu_mc.nobleKnightTorso_btn.onRelease = function () {
if (nobleKnightTorsoV == 0) {
unloadMovie (evilKnightTorso_mc);
unloadMovie (evilKnightTorso2_mc);
unloadMovie (samuraiTorsoBlack_mc);
unloadMovie (samuraiTorsoBlack2_mc);
unloadMovie (samuraiTorsoBlue_mc);
unloadMovie (samuraiTorsoBlue2_mc);
unloadMovie (samuraiTorsoGreen_mc);
unloadMovie (samuraiTorsoGreen2_mc);
unloadMovie (samuraiTorsoRed_mc);
unloadMovie (samuraiTorsoRed2_mc);
unloadMovie (teddyArmor_mc);
unloadMovie (teddyArmorBloody_mc);
bodyArmorGone2();
tShirtsGone();
teddyArmorBloodyV = 0;
teddyArmorV = 0;
templateArm1_mc._x = 303;
samuraiTorsoRedV = 0;
samuraiTorsoGreenV = 0;
samuraiTorsoBlueV = 0;
samuraiTorsoBlackV = 0;
evilKnightTorsoV = 0;
shirtsGone();
vestsGone();
jacketsGone();
otherTorsoGone();
jacketsGone();
_root.attachMovie("nobleKnightTorso_mc", "nobleKnightTorso_mc", torsoLayerValue + 120, {_x:233, _y:136});
nobleKnightTorsoV = 1;
weaponsNobleKnight();
samuraiTorsoColorUp();
} else if (nobleKnightTorsoV == 1) {
unloadMovie (nobleKnightTorso_mc);
nobleKnightTorsoV = 0;
weaponsNobleKnight2();
}
};
bodyArmorMenu_mc.samuraiTorso_btn.onRelease = function () {
samuraiTorsoColorDown();
};
var samuraiTorsoBlackV = 0;
samuraiTorsoColor_mc.samuraiTorsoBlack_btn.onRelease = function () {
if (samuraiTorsoBlackV == 0) {
unloadMovie (evilKnightTorso_mc);
unloadMovie (evilKnightTorso2_mc);
unloadMovie (nobleKnightTorso_mc);
unloadMovie (samuraiTorsoBlue_mc);
unloadMovie (samuraiTorsoBlue2_mc);
unloadMovie (samuraiTorsoGreen_mc);
unloadMovie (samuraiTorsoGreen2_mc);
unloadMovie (samuraiTorsoRed_mc);
unloadMovie (samuraiTorsoRed2_mc);
unloadMovie (teddyArmor_mc);
unloadMovie (teddyArmorBloody_mc);
bodyArmorGone2();
teddyArmorBloodyV = 0;
teddyArmorV = 0;
tShirtsGone();
samuraiTorsoRedV = 0;
samuraiTorsoGreenV = 0;
samuraiTorsoBlueV = 0;
nobleKnightTorsoV = 0;
evilKnightTorsoV = 0;
shirtsGone();
vestsGone();
jacketsGone();
otherTorsoGone();
jacketsGone();
templateArm1_mc._x = 308;
_root.attachMovie("samuraiTorsoBlack_mc", "samuraiTorsoBlack_mc", torsoLayerValue, {_x:222, _y:193});
_root.attachMovie("samuraiTorsoBlack2_mc", "samuraiTorsoBlack2_mc", torsoLayerValue + 110, {_x:236, _y:136});
samuraiTorsoBlackV = 1;
weaponsSSTorso();
testSamurai();
} else if (samuraiTorsoBlackV == 1) {
unloadMovie (samuraiTorsoBlack_mc);
unloadMovie (samuraiTorsoBlack2_mc);
samuraiTorsoBlackV = 0;
weaponsSamuraiTorso2();
templateArm1_mc._x = 303;
}
};
var samuraiTorsoBlueV = 0;
samuraiTorsoColor_mc.samuraiTorsoBlue_btn.onRelease = function () {
if (samuraiTorsoBlueV == 0) {
unloadMovie (evilKnightTorso_mc);
unloadMovie (evilKnightTorso2_mc);
unloadMovie (nobleKnightTorso_mc);
unloadMovie (samuraiTorsoBlack_mc);
unloadMovie (samuraiTorsoBlack2_mc);
unloadMovie (samuraiTorsoGreen_mc);
unloadMovie (samuraiTorsoGreen2_mc);
unloadMovie (samuraiTorsoRed_mc);
unloadMovie (samuraiTorsoRed2_mc);
unloadMovie (teddyArmor_mc);
unloadMovie (teddyArmorBloody_mc);
bodyArmorGone2();
teddyArmorBloodyV = 0;
teddyArmorV = 0;
tShirtsGone();
samuraiTorsoRedV = 0;
samuraiTorsoGreenV = 0;
samuraiTorsoBlackV = 0;
nobleKnightTorsoV = 0;
evilKnightTorsoV = 0;
shirtsGone();
vestsGone();
jacketsGone();
otherTorsoGone();
jacketsGone();
templateArm1_mc._x = 308;
_root.attachMovie("samuraiTorsoBlue_mc", "samuraiTorsoBlue_mc", torsoLayerValue, {_x:222, _y:193});
_root.attachMovie("samuraiTorsoBlue2_mc", "samuraiTorsoBlue2_mc", torsoLayerValue + 110, {_x:237, _y:136});
samuraiTorsoBlueV = 1;
weaponsSSTorso();
} else if (samuraiTorsoBlueV == 1) {
unloadMovie (samuraiTorsoBlue_mc);
unloadMovie (samuraiTorsoBlue2_mc);
samuraiTorsoBlueV = 0;
weaponsSamuraiTorso2();
templateArm1_mc._x = 303;
}
};
var samuraiTorsoGreenV = 0;
samuraiTorsoColor_mc.samuraiTorsoGreen_btn.onRelease = function () {
if (samuraiTorsoGreenV == 0) {
unloadMovie (evilKnightTorso_mc);
unloadMovie (evilKnightTorso2_mc);
unloadMovie (nobleKnightTorso_mc);
unloadMovie (samuraiTorsoBlack_mc);
unloadMovie (samuraiTorsoBlack2_mc);
unloadMovie (samuraiTorsoBlue_mc);
unloadMovie (samuraiTorsoBlue2_mc);
unloadMovie (samuraiTorsoRed_mc);
unloadMovie (samuraiTorsoRed2_mc);
unloadMovie (teddyArmor_mc);
unloadMovie (teddyArmorBloody_mc);
bodyArmorGone2();
teddyArmorBloodyV = 0;
teddyArmorV = 0;
tShirtsGone();
samuraiTorsoRedV = 0;
samuraiTorsoBlueV = 0;
samuraiTorsoBlackV = 0;
nobleKnightTorsoV = 0;
evilKnightTorsoV = 0;
shirtsGone();
vestsGone();
jacketsGone();
otherTorsoGone();
jacketsGone();
templateArm1_mc._x = 308;
_root.attachMovie("samuraiTorsoGreen_mc", "samuraiTorsoGreen_mc", torsoLayerValue, {_x:223, _y:191});
_root.attachMovie("samuraiTorsoGreen2_mc", "samuraiTorsoGreen2_mc", torsoLayerValue + 110, {_x:237, _y:136});
samuraiTorsoGreenV = 1;
weaponsSSTorso();
} else if (samuraiTorsoGreenV == 1) {
unloadMovie (samuraiTorsoGreen_mc);
unloadMovie (samuraiTorsoGreen2_mc);
samuraiTorsoGreenV = 0;
weaponsSamuraiTorso2();
templateArm1_mc._x = 303;
}
};
var samuraiTorsoRedV = 0;
samuraiTorsoColor_mc.samuraiTorsoRed_btn.onRelease = function () {
if (samuraiTorsoRedV == 0) {
unloadMovie (evilKnightTorso_mc);
unloadMovie (evilKnightTorso2_mc);
unloadMovie (nobleKnightTorso_mc);
unloadMovie (samuraiTorsoBlack_mc);
unloadMovie (samuraiTorsoBlack2_mc);
unloadMovie (samuraiTorsoBlue_mc);
unloadMovie (samuraiTorsoBlue2_mc);
unloadMovie (samuraiTorsoGreen_mc);
unloadMovie (samuraiTorsoGreen2_mc);
unloadMovie (teddyArmor_mc);
unloadMovie (teddyArmorBloody_mc);
bodyArmorGone2();
tShirtsGone();
teddyArmorBloodyV = 0;
teddyArmorV = 0;
samuraiTorsoGreenV = 0;
samuraiTorsoBlueV = 0;
samuraiTorsoBlackV = 0;
nobleKnightTorsoV = 0;
evilKnightTorsoV = 0;
shirtsGone();
vestsGone();
jacketsGone();
otherTorsoGone();
jacketsGone();
templateArm1_mc._x = 308;
_root.attachMovie("samuraiTorsoRed_mc", "samuraiTorsoRed_mc", torsoLayerValue, {_x:223, _y:190});
_root.attachMovie("samuraiTorsoRed2_mc", "samuraiTorsoRed2_mc", torsoLayerValue + 110, {_x:236, _y:136});
samuraiTorsoRedV = 1;
weaponsSSTorso();
} else if (samuraiTorsoRedV == 1) {
unloadMovie (samuraiTorsoRed_mc);
unloadMovie (samuraiTorsoRed2_mc);
samuraiTorsoRedV = 0;
weaponsSamuraiTorso2();
templateArm1_mc._x = 303;
}
};
var teddyArmorV = 0;
bodyArmorMenu_mc.teddyArmor_btn.onRelease = function () {
if (teddyArmorV == 0) {
unloadMovie (evilKnightTorso_mc);
unloadMovie (evilKnightTorso2_mc);
unloadMovie (samuraiTorsoBlack_mc);
unloadMovie (samuraiTorsoBlack2_mc);
unloadMovie (samuraiTorsoBlue_mc);
unloadMovie (samuraiTorsoBlue2_mc);
unloadMovie (samuraiTorsoGreen_mc);
unloadMovie (samuraiTorsoGreen2_mc);
unloadMovie (samuraiTorsoRed_mc);
unloadMovie (samuraiTorsoRed2_mc);
unloadMovie (nobleKnightTorso_mc);
unloadMovie (teddyArmorBloody_mc);
bodyArmorGone2();
tShirtsGone();
teddyArmorBloodyV = 0;
nobleKnightTorsoV = 0;
templateArm1_mc._x = 303;
samuraiTorsoRedV = 0;
samuraiTorsoGreenV = 0;
samuraiTorsoBlueV = 0;
samuraiTorsoBlackV = 0;
evilKnightTorsoV = 0;
shirtsGone();
vestsGone();
jacketsGone();
otherTorsoGone();
jacketsGone();
weaponsSSTorso();
samuraiTorsoColorUp();
_root.attachMovie("teddyArmor_mc", "teddyArmor_mc", torsoLayerValue, {_x:234.5, _y:142});
teddyArmorV = 1;
} else if (teddyArmorV == 1) {
unloadMovie (teddyArmor_mc);
teddyArmorV = 0;
}
};
var teddyArmorBloodyV = 0;
bodyArmorMenu_mc.teddyArmorBloody_btn.onRelease = function () {
if (teddyArmorBloodyV == 0) {
unloadMovie (evilKnightTorso_mc);
unloadMovie (evilKnightTorso2_mc);
unloadMovie (samuraiTorsoBlack_mc);
unloadMovie (samuraiTorsoBlack2_mc);
unloadMovie (samuraiTorsoBlue_mc);
unloadMovie (samuraiTorsoBlue2_mc);
unloadMovie (samuraiTorsoGreen_mc);
unloadMovie (samuraiTorsoGreen2_mc);
unloadMovie (samuraiTorsoRed_mc);
unloadMovie (samuraiTorsoRed2_mc);
unloadMovie (nobleKnightTorso_mc);
unloadMovie (teddyArmor_mc);
bodyArmorGone2();
teddyArmorV = 0;
tShirtsGone();
nobleKnightTorsoV = 0;
templateArm1_mc._x = 303;
samuraiTorsoRedV = 0;
samuraiTorsoGreenV = 0;
samuraiTorsoBlueV = 0;
samuraiTorsoBlackV = 0;
evilKnightTorsoV = 0;
shirtsGone();
vestsGone();
jacketsGone();
otherTorsoGone();
jacketsGone();
weaponsSSTorso();
samuraiTorsoColorUp();
_root.attachMovie("teddyArmorBloody_mc", "teddyArmorBloody_mc", torsoLayerValue, {_x:234.5, _y:142});
teddyArmorBloodyV = 1;
} else if (teddyArmorBloodyV == 1) {
unloadMovie (teddyArmorBloody_mc);
teddyArmorBloodyV = 0;
}
};
var powerArmorV = 0;
bodyArmorMenu2_mc.powerArmor_btn.onRelease = function () {
if (powerArmorV == 0) {
unloadMovie (advancedArmor_mc);
unloadMovie (leatherArmor_mc);
leatherArmorV = 0;
advancedArmorV = 0;
bodyArmorGone1();
templateArm1_mc._x = 303;
shirtsGone();
vestsGone();
tShirtsGone();
jacketsGone();
otherTorsoGone();
jacketsGone();
weaponsSSTorso();
_root.attachMovie("powerArmor_mc", "powerArmor_mc", torsoLayerValue, {_x:233.4, _y:137.8});
powerArmorV = 1;
} else if (powerArmorV == 1) {
unloadMovie (powerArmor_mc);
powerArmorV = 0;
}
};
var advancedArmorV = 0;
bodyArmorMenu2_mc.advancedArmor_btn.onRelease = function () {
if (advancedArmorV == 0) {
unloadMovie (powerArmor_mc);
unloadMovie (leatherArmor_mc);
leatherArmorV = 0;
powerArmorV = 0;
bodyArmorGone1();
templateArm1_mc._x = 303;
shirtsGone();
vestsGone();
tShirtsGone();
jacketsGone();
otherTorsoGone();
jacketsGone();
weaponsSSTorso();
_root.attachMovie("advancedArmor_mc", "advancedArmor_mc", torsoLayerValue, {_x:238.1, _y:140.9});
advancedArmorV = 1;
} else if (advancedArmorV == 1) {
unloadMovie (advancedArmor_mc);
advancedArmorV = 0;
}
};
var leatherArmorV = 0;
bodyArmorMenu2_mc.leatherArmor_btn.onRelease = function () {
if (leatherArmorV == 0) {
unloadMovie (powerArmor_mc);
unloadMovie (advancedArmor_mc);
advancedArmorV = 0;
powerArmorV = 0;
bodyArmorGone1();
templateArm1_mc._x = 303;
shirtsGone();
vestsGone();
tShirtsGone();
jacketsGone();
otherTorsoGone();
jacketsGone();
weaponsSSTorso();
_root.attachMovie("leatherArmor_mc", "leatherArmor_mc", torsoLayerValue, {_x:235.7, _y:133.6});
leatherArmorV = 1;
} else if (leatherArmorV == 1) {
unloadMovie (leatherArmor_mc);
leatherArmorV = 0;
}
};
function tShirtsGone() {
unloadMovie (donutTShirt_mc);
unloadMovie (tShirt_mc);
unloadMovie (razorShirt_mc);
unloadMovie (demonSkullShirt_mc);
unloadMovie (ghostBusters_mc);
unloadMovie (maxTShirt_mc);
unloadMovie (xTShirt_mc);
unloadMovie (nuclearTShirt_mc);
nuclearTShirtV = 0;
xTShirtV = 0;
maxTShirtV = 0;
ghostBustersV = 0;
demonSkullShirtV = 0;
razorShirtV = 0;
tShirtV = 0;
donutShirtV = 0;
}
function tShirtsGone1() {
unloadMovie (donutTShirt_mc);
unloadMovie (tShirt_mc);
unloadMovie (razorShirt_mc);
unloadMovie (demonSkullShirt_mc);
unloadMovie (ghostBusters_mc);
ghostBustersV = 0;
demonSkullShirtV = 0;
razorShirtV = 0;
tShirtV = 0;
donutShirtV = 0;
}
function tShirtsGone2() {
unloadMovie (maxTShirt_mc);
unloadMovie (xTShirt_mc);
unloadMovie (nuclearTShirt_mc);
nuclearTShirtV = 0;
xTShirtV = 0;
maxTShirtV = 0;
}
var torsoLayerValue = 6000;
var tShirtV = 0;
tShirtsMenu_mc.tShirt_btn.onRelease = function () {
if (tShirtV == 0) {
_root.attachMovie("tShirt_mc", "tShirt_mc", torsoLayerValue + 4, {_x:234.9, _y:139});
tShirtV = 1;
shirtsGone();
unloadMovie (razorShirt_mc);
unloadMovie (donutTShirt_mc);
unloadMovie (demonSkullShirt_mc);
unloadMovie (ghostBusters_mc);
ghostBustersV = 0;
demonSkullShirtV = 0;
donutShirtV = 0;
razorShirtV = 0;
vestsGone();
bodyArmorGone();
jacketsGone();
otherTorsoGone();
weaponsSSTorso();
tShirtsGone2();
} else if (tShirtV == 1) {
unloadMovie (tShirt_mc);
tShirtV = 0;
}
};
var razorShirtV = 0;
tShirtsMenu_mc.razorShirt_btn.onRelease = function () {
if (razorShirtV == 0) {
_root.attachMovie("razorShirt_mc", "razorShirt_mc", torsoLayerValue + 5, {_x:236.1, _y:143});
razorShirtV = 1;
shirtsGone();
tShirtsGone2();
unloadMovie (tShirt_mc);
unloadMovie (donutTShirt_mc);
unloadMovie (demonSkullShirt_mc);
unloadMovie (ghostBusters_mc);
ghostBustersV = 0;
demonSkullShirtV = 0;
donutShirtV = 0;
tShirtV = 0;
vestsGone();
bodyArmorGone();
jacketsGone();
otherTorsoGone();
weaponsSSTorso();
} else if (razorShirtV == 1) {
unloadMovie (razorShirt_mc);
razorShirtV = 0;
}
};
var donutShirtV = 0;
tShirtsMenu_mc.donutTShirt_btn.onRelease = function () {
if (donutShirtV == 0) {
_root.attachMovie("donutTShirt_mc", "donutTShirt_mc", torsoLayerValue + 15, {_x:226.2, _y:138.6});
donutShirtV = 1;
shirtsGone();
tShirtsGone2();
unloadMovie (razorShirt_mc);
razorShirtV = 0;
unloadMovie (tShirt_mc);
tShirtV = 0;
unloadMovie (demonSkullShirt_mc);
unloadMovie (ghostBusters_mc);
ghostBustersV = 0;
demonSkullShirtV = 0;
vestsGone();
bodyArmorGone();
jacketsGone();
otherTorsoGone();
weaponsSSTorso();
weaponsVest();
} else if (donutShirtV == 1) {
unloadMovie (donutTShirt_mc);
donutShirtV = 0;
}
};
var demonSkullShirtV = 0;
tShirtsMenu_mc.demonSkullShirt_btn.onRelease = function () {
if (demonSkullShirtV == 0) {
_root.attachMovie("demonSkullShirt_mc", "demonSkullShirt_mc", torsoLayerValue + 16, {_x:229.3, _y:136});
demonSkullShirtV = 1;
shirtsGone();
tShirtsGone2();
unloadMovie (razorShirt_mc);
razorShirtV = 0;
unloadMovie (tShirt_mc);
unloadMovie (donutTShirt_mc);
unloadMovie (ghostBusters_mc);
ghostBustersV = 0;
donutShirtV = 0;
tShirtV = 0;
vestsGone();
bodyArmorGone();
jacketsGone();
otherTorsoGone();
weaponsSSTorso();
weaponsVest();
} else if (demonSkullShirtV == 1) {
unloadMovie (demonSkullShirt_mc);
demonSkullShirtV = 0;
}
};
var ghostBustersV = 0;
tShirtsMenu_mc.ghostBusters_btn.onRelease = function () {
if (ghostBustersV == 0) {
_root.attachMovie("ghostBusters_mc", "ghostBusters_mc", torsoLayerValue + 17, {_x:227.8, _y:133.4});
ghostBustersV = 1;
shirtsGone();
tShirtsGone2();
unloadMovie (razorShirt_mc);
razorShirtV = 0;
unloadMovie (tShirt_mc);
unloadMovie (donutTShirt_mc);
unloadMovie (demonSkullShirt_mc);
demonSkullShirtV = 0;
donutShirtV = 0;
tShirtV = 0;
vestsGone();
bodyArmorGone();
jacketsGone();
otherTorsoGone();
weaponsSSTorso();
weaponsVest();
} else if (ghostBustersV == 1) {
unloadMovie (ghostBusters_mc);
ghostBustersV = 0;
}
};
var maxTShirtV = 0;
tShirtsMenu2_mc.maxTShirt_btn.onRelease = function () {
if (maxTShirtV == 0) {
_root.attachMovie("maxTShirt_mc", "maxTShirt_mc", torsoLayerValue + 18, {_x:228.9, _y:140.4});
maxTShirtV = 1;
tShirtsGone1();
shirtsGone();
vestsGone();
bodyArmorGone();
jacketsGone();
otherTorsoGone();
weaponsSSTorso();
weaponsVest();
unloadMovie (xTShirt_mc);
unloadMovie (nuclearTShirt_mc);
nuclearTShirtV = 0;
xTShirtV = 0;
} else if (maxTShirtV == 1) {
unloadMovie (maxTShirt_mc);
maxTShirtV = 0;
}
};
var xTShirtV = 0;
tShirtsMenu2_mc.xTShirt_btn.onRelease = function () {
if (xTShirtV == 0) {
_root.attachMovie("xTShirt_mc", "xTShirt_mc", torsoLayerValue + 19, {_x:229.1, _y:136.4});
xTShirtV = 1;
tShirtsGone1();
shirtsGone();
vestsGone();
bodyArmorGone();
jacketsGone();
otherTorsoGone();
weaponsSSTorso();
weaponsVest();
unloadMovie (maxTShirt_mc);
maxTShirtV = 0;
unloadMovie (nuclearTShirt_mc);
nuclearTShirtV = 0;
} else if (xTShirtV == 1) {
unloadMovie (xTShirt_mc);
xTShirtV = 0;
}
};
var nuclearTShirtV = 0;
tShirtsMenu2_mc.nuclearTShirt_btn.onRelease = function () {
if (nuclearTShirtV == 0) {
_root.attachMovie("nuclearTShirt_mc", "nuclearTShirt_mc", torsoLayerValue + 19, {_x:233.6, _y:135.2});
nuclearTShirtV = 1;
tShirtsGone1();
shirtsGone();
vestsGone();
bodyArmorGone();
jacketsGone();
otherTorsoGone();
weaponsSSTorso();
weaponsVest();
unloadMovie (xTShirt_mc);
unloadMovie (maxTShirt_mc);
maxTShirtV = 0;
xTShirtV = 0;
manuclearTShirtV = 0;
} else if (nuclearTShirtV == 1) {
unloadMovie (nuclearTShirt_mc);
nuclearTShirtV = 0;
}
};
function shirtsGone() {
unloadMovie (ganstaShirt_mc);
unloadMovie (badassTorso_mc);
unloadMovie (turtleneckShirt_mc);
unloadMovie (suit_mc);
unloadMovie (shinySuit_mc);
unloadMovie (hoodedRed_mc);
unloadMovie (hoodedGreen_mc);
unloadMovie (hoodedBlue_mc);
unloadMovie (fancyShirt_mc);
fancyShirtV = 0;
hoodedBlueV = 0;
hoodedGreenV = 0;
hoodedRedV = 0;
shinySuitV = 0;
suitV = 0;
turtleneckShirtV = 0;
badassShirtV = 0;
ganstaShirtV = 0;
}
function shirtsGone1() {
unloadMovie (ganstaShirt_mc);
unloadMovie (badassTorso_mc);
unloadMovie (turtleneckShirt_mc);
unloadMovie (suit_mc);
unloadMovie (shinySuit_mc);
shinySuitV = 0;
suitV = 0;
turtleneckShirtV = 0;
badassShirtV = 0;
ganstaShirtV = 0;
}
function shirtsGone2() {
unloadMovie (hoodedRed_mc);
unloadMovie (hoodedGreen_mc);
unloadMovie (hoodedBlue_mc);
unloadMovie (fancyShirt_mc);
fancyShirtV = 0;
hoodedBlueV = 0;
hoodedGreenV = 0;
hoodedRedV = 0;
}
function hoodedGone() {
unloadMovie (hoodedRed_mc);
unloadMovie (hoodedGreen_mc);
unloadMovie (hoodedBlue_mc);
hoodedBlueV = 0;
hoodedGreenV = 0;
hoodedRedV = 0;
}
var torsoLayerValue = 6000;
var hoodedColorV = 0;
shirtsMenu2_mc.hoodedShirt_btn.onRelease = function () {
if (hoodedColorV == 0) {
hoodedColorV = 1;
hoodedColorpanel_mc.onEnterFrame = function () {
this._y = this._y + 12;
if (this._y > -60) {
delete this.onEnterFrame;
}
};
} else if (hoodedColorV == 1) {
hoodedColorV = 0;
hoodedColorpanel_mc._y = -140;
}
};
var ganstaShirtV = 0;
shirtsMenu_mc.ganstaTorso_btn.onRelease = function () {
if (ganstaShirtV == 0) {
_root.attachMovie("ganstaShirt_mc", "ganstaShirt_mc", torsoLayerValue + 1, {_x:235, _y:142});
ganstaShirtV = 1;
unloadMovie (badassTorso_mc);
unloadMovie (turtleneckShirt_mc);
unloadMovie (suit_mc);
unloadMovie (shinySuit_mc);
shinySuitV = 0;
suitV = 0;
turtleneckShirtV = 0;
badassShirtV = 0;
tShirtsGone();
shirtsGone2();
vestsGone();
bodyArmorGone();
jacketsGone();
otherTorsoGone();
weaponsSSTorso();
} else if (ganstaShirtV == 1) {
unloadMovie (ganstaShirt_mc);
ganstaShirtV = 0;
}
};
var badassShirtV = 0;
shirtsMenu_mc.badassGanstaTorso_btn.onRelease = function () {
if (badassShirtV == 0) {
_root.attachMovie("badassTorso_mc", "badassTorso_mc", torsoLayerValue + 2, {_x:229, _y:145});
badassShirtV = 1;
unloadMovie (ganstaShirt_mc);
unloadMovie (turtleneckShirt_mc);
unloadMovie (suit_mc);
unloadMovie (shinySuit_mc);
shinySuitV = 0;
suitV = 0;
turtleneckShirtV = 0;
ganstaShirtV = 0;
shirtsGone2();
tShirtsGone();
vestsGone();
bodyArmorGone();
jacketsGone();
otherTorsoGone();
weaponsSSTorso();
} else if (badassShirtV == 1) {
unloadMovie (badassTorso_mc);
badassShirtV = 0;
}
};
var turtleneckShirtV = 0;
shirtsMenu_mc.turtleneckShirt_btn.onRelease = function () {
if (turtleneckShirtV == 0) {
_root.attachMovie("turtleneckShirt_mc", "turtleneckShirt_mc", torsoLayerValue + 3, {_x:235.9, _y:132});
turtleneckShirtV = 1;
unloadMovie (ganstaShirt_mc);
unloadMovie (badassTorso_mc);
unloadMovie (suit_mc);
unloadMovie (shinySuit_mc);
shinySuitV = 0;
suitV = 0;
badassShirtV = 0;
ganstaShirtV = 0;
shirtsGone2();
tShirtsGone();
vestsGone();
bodyArmorGone();
jacketsGone();
otherTorsoGone();
weaponsSSTorso();
} else if (turtleneckShirtV == 1) {
unloadMovie (turtleneckShirt_mc);
turtleneckShirtV = 0;
}
};
var suitV = 0;
shirtsMenu_mc.suit_btn.onRelease = function () {
if (suitV == 0) {
_root.attachMovie("suit_mc", "suit_mc", torsoLayerValue + 4, {_x:235.3, _y:136.6});
suitV = 1;
unloadMovie (ganstaShirt_mc);
unloadMovie (badassTorso_mc);
unloadMovie (turtleneckShirt_mc);
unloadMovie (shinySuit_mc);
shinySuitV = 0;
turtleneckShirtV = 0;
badassShirtV = 0;
ganstaShirtV = 0;
shirtsGone2();
tShirtsGone();
vestsGone();
bodyArmorGone();
jacketsGone();
otherTorsoGone();
weaponsSSTorso();
} else if (suitV == 1) {
unloadMovie (suit_mc);
suitV = 0;
}
};
var shinySuitV = 0;
shirtsMenu_mc.shinySuit_btn.onRelease = function () {
if (shinySuitV == 0) {
_root.attachMovie("shinySuit_mc", "shinySuit_mc", torsoLayerValue + 5, {_x:235.3, _y:136.6});
shinySuitV = 1;
unloadMovie (ganstaShirt_mc);
unloadMovie (badassTorso_mc);
unloadMovie (turtleneckShirt_mc);
unloadMovie (suit_mc);
suitV = 0;
turtleneckShirtV = 0;
badassShirtV = 0;
ganstaShirtV = 0;
shirtsGone2();
tShirtsGone();
vestsGone();
bodyArmorGone();
jacketsGone();
otherTorsoGone();
weaponsSSTorso();
} else if (shinySuitV == 1) {
unloadMovie (shinySuit_mc);
shinySuitV = 0;
}
};
var hoodedRedV = 0;
hoodedColorpanel_mc.hoodedRed_btn.onRelease = function () {
if (hoodedRedV == 0) {
_root.attachMovie("hoodedRed_mc", "hoodedRed_mc", torsoLayerValue + 6, {_x:226.1, _y:48.3});
unloadMovie (hoodedGreen_mc);
unloadMovie (hoodedBlue_mc);
unloadMovie (fancyShirt_mc);
fancyShirtV = 0;
hoodedBlueV = 0;
hoodedRedV = 0;
shirtsGone1();
vestsGone();
tShirtsGone();
helmetsAllUnload();
allHairGone();
hatsMiscUnload();
hatsAllUnload();
bodyArmorGone();
jacketsGone();
otherTorsoGone();
weaponsSSTorso();
hoodedRedV = 1;
} else if (hoodedRedV == 1) {
unloadMovie (hoodedRed_mc);
hoodedRedV = 0;
}
};
var hoodedGreenV = 0;
hoodedColorpanel_mc.hoodedGreen_btn.onRelease = function () {
if (hoodedGreenV == 0) {
_root.attachMovie("hoodedGreen_mc", "hoodedGreen_mc", torsoLayerValue + 7, {_x:226.1, _y:48.3});
unloadMovie (hoodedRed_mc);
unloadMovie (hoodedBlue_mc);
unloadMovie (fancyShirt_mc);
fancyShirtV = 0;
hoodedBlueV = 0;
hoodedRedV = 0;
shirtsGone1();
vestsGone();
tShirtsGone();
helmetsAllUnload();
allHairGone();
hatsMiscUnload();
hatsAllUnload();
bodyArmorGone();
jacketsGone();
otherTorsoGone();
weaponsSSTorso();
hoodedGreenV = 1;
} else if (hoodedGreenV == 1) {
unloadMovie (hoodedGreen_mc);
hoodedGreenV = 0;
}
};
var hoodedBlueV = 0;
hoodedColorpanel_mc.hoodedBlue_btn.onRelease = function () {
if (hoodedBlueV == 0) {
_root.attachMovie("hoodedBlue_mc", "hoodedBlue_mc", torsoLayerValue + 8, {_x:226.1, _y:48.3});
unloadMovie (hoodedRed_mc);
unloadMovie (hoodedGreen_mc);
unloadMovie (fancyShirt_mc);
fancyShirtV = 0;
hoodedGreenV = 0;
hoodedRedV = 0;
shirtsGone1();
vestsGone();
helmetsAllUnload();
allHairGone();
hatsMiscUnload();
hatsAllUnload();
tShirtsGone();
bodyArmorGone();
jacketsGone();
otherTorsoGone();
weaponsSSTorso();
allHairGone();
helmetsAllUnload();
hatsAllUnload();
hoodedBlueV = 1;
} else if (hoodedBlueV == 1) {
unloadMovie (hoodedBlue_mc);
hoodedBlueV = 0;
}
};
var fancyShirtV = 0;
shirtsMenu2_mc.fancyShirt_btn.onRelease = function () {
if (fancyShirtV == 0) {
_root.attachMovie("fancyShirt_mc", "fancyShirt_mc", torsoLayerValue + 9, {_x:236.1, _y:116.8});
fancyShirtV = 1;
unloadMovie (hoodedRed_mc);
unloadMovie (hoodedGreen_mc);
unloadMovie (hoodedBlue_mc);
hoodedBlueV = 0;
hoodedGreenV = 0;
hoodedRedV = 0;
jacketsGone();
otherTorsoGone();
shirtsGone1();
vestsGone();
tShirtsGone();
bodyArmorGone();
weaponsSSTorso();
hoodedColorpanel_mc._y = -140;
hoodedColorV = 0;
} else if (fancyShirtV == 1) {
unloadMovie (fancyShirt_mc);
fancyShirtV = 0;
}
};
function eyes1Gone() {
unloadMovie (suspiciousEyes_mc);
unloadMovie (scaredEyes_mc);
unloadMovie (crazyEyes_mc);
unloadMovie (charmingEyes_mc);
unloadMovie (angryEyes_mc);
angryEyesV = 0;
charmingEyesV = 0;
crazyEyesV = 0;
scaredEyesV = 0;
suspiciousEyesV = 0;
}
function eyes2Gone() {
unloadMovie (cunningEyes_mc);
unloadMovie (angryEyes2_mc);
unloadMovie (evilEyesYellow_mc);
unloadMovie (evilEyesRed_mc);
unloadMovie (evilEyesDark_mc);
unloadMovie (neutralEyes_mc);
unloadMovie (skywardEyes_mc);
skywardEyesV = 0;
neutralEyesV = 0;
evilDarkEyesV = 0;
evilRedEyesV = 0;
evilYellowEyesV = 0;
angryEyes2V = 0;
cunningEyesV = 0;
}
var eyesLayerValue = 2000;
var evilEyesColorV = 0;
eyesMenu2_mc.evilEyes_btn.onRelease = function () {
if (evilEyesColorV == 0) {
evilEyesColorV = 1;
evilEyesColorPanel_mc.onEnterFrame = function () {
this._y = this._y + 12;
if (this._y > -60) {
delete this.onEnterFrame;
}
};
} else if (evilEyesColorV == 1) {
evilEyesColorV = 0;
evilEyesColorPanel_mc._y = -140;
trace("HeY");
}
};
var suspiciousEyesV = 0;
eyesMenu_mc.suspiciousEyes_btn.onRelease = function () {
if (suspiciousEyesV == 0) {
_root.attachMovie("suspiciousEyes_mc", "suspiciousEyes_mc", eyesLayerValue + 1, {_x:253, _y:74});
suspiciousEyesV = 1;
templateEyes_mc._alpha = 0;
unloadMovie (scaredEyes_mc);
unloadMovie (crazyEyes_mc);
unloadMovie (charmingEyes_mc);
unloadMovie (angryEyes_mc);
angryEyesV = 0;
charmingEyesV = 0;
crazyEyesV = 0;
scaredEyesV = 0;
eyes2Gone();
} else if (suspiciousEyesV == 1) {
unloadMovie (suspiciousEyes_mc);
suspiciousEyesV = 0;
templateEyes_mc._alpha = 100;
}
};
var scaredEyesV = 0;
eyesMenu_mc.scaredEyes_btn.onRelease = function () {
if (scaredEyesV == 0) {
_root.attachMovie("scaredEyes_mc", "scaredEyes_mc", eyesLayerValue + 2, {_x:253, _y:74});
scaredEyesV = 1;
templateEyes_mc._alpha = 0;
unloadMovie (suspiciousEyes_mc);
unloadMovie (crazyEyes_mc);
unloadMovie (charmingEyes_mc);
unloadMovie (angryEyes_mc);
angryEyesV = 0;
charmingEyesV = 0;
crazyEyesV = 0;
suspiciousEyesV = 0;
eyes2Gone();
} else if (scaredEyesV == 1) {
unloadMovie (scaredEyes_mc);
scaredEyesV = 0;
templateEyes_mc._alpha = 100;
}
};
var crazyEyesV = 0;
eyesMenu_mc.crazyEyes_btn.onRelease = function () {
if (crazyEyesV == 0) {
_root.attachMovie("crazyEyes_mc", "crazyEyes_mc", eyesLayerValue + 3, {_x:257, _y:67});
crazyEyesV = 1;
templateEyes_mc._alpha = 0;
unloadMovie (suspiciousEyes_mc);
unloadMovie (scaredEyes_mc);
unloadMovie (charmingEyes_mc);
unloadMovie (angryEyes_mc);
angryEyesV = 0;
charmingEyesV = 0;
scaredEyesV = 0;
suspiciousEyesV = 0;
eyes2Gone();
} else if (crazyEyesV == 1) {
unloadMovie (crazyEyes_mc);
crazyEyesV = 0;
templateEyes_mc._alpha = 100;
}
};
var charmingEyesV = 0;
eyesMenu_mc.charmingEyes_btn.onRelease = function () {
if (charmingEyesV == 0) {
_root.attachMovie("charmingEyes_mc", "charmingEyes_mc", eyesLayerValue + 4, {_x:251, _y:75});
charmingEyesV = 1;
templateEyes_mc._alpha = 0;
unloadMovie (suspiciousEyes_mc);
unloadMovie (scaredEyes_mc);
unloadMovie (crazyEyes_mc);
unloadMovie (angryEyes_mc);
angryEyesV = 0;
crazyEyesV = 0;
scaredEyesV = 0;
suspiciousEyesV = 0;
eyes2Gone();
} else if (charmingEyesV == 1) {
unloadMovie (charmingEyes_mc);
charmingEyesV = 0;
templateEyes_mc._alpha = 100;
}
};
var angryEyesV = 0;
eyesMenu2_mc.pissedEyes_btn.onRelease = function () {
if (angryEyesV == 0) {
_root.attachMovie("angryEyes_mc", "angryEyes_mc", eyesLayerValue + 5, {_x:251, _y:93});
angryEyesV = 1;
templateEyes_mc._alpha = 0;
unloadMovie (suspiciousEyes_mc);
unloadMovie (scaredEyes_mc);
unloadMovie (crazyEyes_mc);
unloadMovie (charmingEyes_mc);
charmingEyesV = 0;
crazyEyesV = 0;
scaredEyesV = 0;
suspiciousEyesV = 0;
eyes2Gone();
evilEyesColorV = 0;
evilEyesColorPanel_mc._y = -140;
} else if (angryEyesV == 1) {
unloadMovie (angryEyes_mc);
angryEyesV = 0;
templateEyes_mc._alpha = 100;
}
};
var cunningEyesV = 0;
eyesMenu2_mc.cunningEyes_btn.onRelease = function () {
if (cunningEyesV == 0) {
_root.attachMovie("cunningEyes_mc", "cunningEyes_mc", eyesLayerValue + 6, {_x:253, _y:80});
cunningEyesV = 1;
templateEyes_mc._alpha = 0;
eyes1Gone();
unloadMovie (angryEyes2_mc);
unloadMovie (evilEyesDark_mc);
evilDarkEyesV = 0;
unloadMovie (evilEyesYellow_mc);
unloadMovie (evilEyesRed_mc);
unloadMovie (neutralEyes_mc);
unloadMovie (skywardEyes_mc);
skywardEyesV = 0;
neutralEyesV = 0;
evilRedEyesV = 0;
evilYellowEyesV = 0;
angryEyes2V = 0;
evilEyesColorV = 0;
evilEyesColorPanel_mc._y = -140;
} else if (cunningEyesV == 1) {
unloadMovie (cunningEyes_mc);
cunningEyesV = 0;
templateEyes_mc._alpha = 100;
}
};
var angryEyes2V = 0;
eyesMenu_mc.angryEyes2_btn.onRelease = function () {
if (angryEyes2V == 0) {
_root.attachMovie("angryEyes2_mc", "angryEyes2_mc", eyesLayerValue + 7, {_x:253, _y:90});
angryEyes2V = 1;
templateEyes_mc._alpha = 0;
eyes1Gone();
unloadMovie (cunningEyes_mc);
unloadMovie (evilEyesYellow_mc);
unloadMovie (evilEyesRed_mc);
unloadMovie (evilEyesDark_mc);
unloadMovie (neutralEyes_mc);
unloadMovie (skywardEyes_mc);
skywardEyesV = 0;
neutralEyesV = 0;
evilDarkEyesV = 0;
evilRedEyesV = 0;
evilYellowEyesV = 0;
cunningEyesV = 0;
} else if (angryEyes2V == 1) {
unloadMovie (angryEyes2_mc);
angryEyes2V = 0;
templateEyes_mc._alpha = 100;
}
};
var evilYellowEyesV = 0;
evilEyesColorPanel_mc.evilYellowEyes_btn.onRelease = function () {
if (evilYellowEyesV == 0) {
_root.attachMovie("evilEyesYellow_mc", "evilEyesYellow_mc", eyesLayerValue + 9, {_x:253, _y:90});
evilYellowEyesV = 1;
templateEyes_mc._alpha = 0;
eyes1Gone();
unloadMovie (cunningEyes_mc);
unloadMovie (angryEyes2_mc);
unloadMovie (evilEyesDark_mc);
unloadMovie (neutralEyes_mc);
unloadMovie (skywardEyes_mc);
skywardEyesV = 0;
neutralEyesV = 0;
evilDarkEyesV = 0;
unloadMovie (evilEyesRed_mc);
evilRedEyesV = 0;
angryEyes2V = 0;
cunningEyesV = 0;
} else if (evilYellowEyesV == 1) {
unloadMovie (evilEyesYellow_mc);
evilYellowEyesV = 0;
templateEyes_mc._alpha = 100;
}
};
var evilRedEyesV = 0;
evilEyesColorPanel_mc.evilRedEyes_btn.onRelease = function () {
if (evilRedEyesV == 0) {
_root.attachMovie("evilEyesRed_mc", "evilEyesRed_mc", eyesLayerValue, {_x:253, _y:90});
evilRedEyesV = 1;
templateEyes_mc._alpha = 0;
eyes1Gone();
unloadMovie (cunningEyes_mc);
unloadMovie (angryEyes2_mc);
unloadMovie (evilEyesDark_mc);
unloadMovie (skywardEyes_mc);
skywardEyesV = 0;
unloadMovie (neutralEyes_mc);
neutralEyesV = 0;
evilDarkEyesV = 0;
unloadMovie (evilEyesYellow_mc);
evilYellowEyesV = 0;
angryEyes2V = 0;
cunningEyesV = 0;
} else if (evilRedEyesV == 1) {
unloadMovie (evilEyesRed_mc);
evilRedEyesV = 0;
templateEyes_mc._alpha = 100;
}
};
var evilDarkEyesV = 0;
evilEyesColorPanel_mc.evilEyesDark_btn.onRelease = function () {
if (evilDarkEyesV == 0) {
_root.attachMovie("evilEyesDark_mc", "evilEyesDark_mc", eyesLayerValue + 11, {_x:253, _y:90});
evilDarkEyesV = 1;
templateEyes_mc._alpha = 0;
eyes1Gone();
unloadMovie (cunningEyes_mc);
unloadMovie (angryEyes2_mc);
unloadMovie (evilEyesRed_mc);
unloadMovie (neutralEyes_mc);
unloadMovie (skywardEyes_mc);
skywardEyesV = 0;
neutralEyesV = 0;
evilRedEyesV = 0;
unloadMovie (evilEyesYellow_mc);
evilYellowEyesV = 0;
angryEyes2V = 0;
cunningEyesV = 0;
} else if (evilDarkEyesV == 1) {
unloadMovie (evilEyesDark_mc);
evilDarkEyesV = 0;
templateEyes_mc._alpha = 100;
}
};
var neutralEyesV = 0;
eyesMenu2_mc.neutralEyes_btn.onRelease = function () {
if (neutralEyesV == 0) {
_root.attachMovie("neutralEyes_mc", "neutralEyes_mc", eyesLayerValue + 12, {_x:252, _y:79.5});
neutralEyesV = 1;
templateEyes_mc._alpha = 0;
eyes1Gone();
unloadMovie (cunningEyes_mc);
unloadMovie (angryEyes2_mc);
unloadMovie (evilEyesRed_mc);
unloadMovie (evilEyesDark_mc);
unloadMovie (skywardEyes_mc);
skywardEyesV = 0;
evilDarkEyesV = 0;
evilRedEyesV = 0;
unloadMovie (evilEyesYellow_mc);
evilYellowEyesV = 0;
angryEyes2V = 0;
cunningEyesV = 0;
evilEyesColorV = 0;
evilEyesColorPanel_mc._y = -140;
} else if (neutralEyesV == 1) {
unloadMovie (neutralEyes_mc);
neutralEyesV = 0;
templateEyes_mc._alpha = 100;
}
};
var skywardEyesV = 0;
eyesMenu2_mc.skywardEyes_btn.onRelease = function () {
if (skywardEyesV == 0) {
_root.attachMovie("skywardEyes_mc", "skywardEyes_mc", eyesLayerValue + 13, {_x:255.6, _y:63.5});
skywardEyesV = 1;
templateEyes_mc._alpha = 0;
eyes1Gone();
unloadMovie (cunningEyes_mc);
unloadMovie (angryEyes2_mc);
unloadMovie (evilEyesRed_mc);
unloadMovie (evilEyesDark_mc);
unloadMovie (neutralEyes_mc);
neutralEyesV = 0;
evilDarkEyesV = 0;
evilRedEyesV = 0;
unloadMovie (evilEyesYellow_mc);
evilYellowEyesV = 0;
angryEyes2V = 0;
cunningEyesV = 0;
evilEyesColorV = 0;
evilEyesColorPanel_mc._y = -140;
} else if (skywardEyesV == 1) {
unloadMovie (skywardEyes_mc);
skywardEyesV = 0;
templateEyes_mc._alpha = 100;
}
};
function helmetsAllUnload() {
unloadMovie (knightHelmet1_mc);
unloadMovie (knightHelmet2_mc);
unloadMovie (ukHelmetNormal_mc);
unloadMovie (ukHelmetDesert_mc);
unloadMovie (usHelmetNormal_mc);
unloadMovie (usHelmetDesert_mc);
unloadMovie (samuraiHelmetBlack_mc);
unloadMovie (samuraiHelmetGreen_mc);
unloadMovie (samuraiHelmetBlue_mc);
unloadMovie (samuraiHelmetRed_mc);
unloadMovie (knightHelmet3_mc);
unloadMovie (knightHelmet4_mc);
unloadMovie (elvenHelmet_mc);
unloadMovie (ironbearHelmet_mc);
unloadMovie (romanHelmet1_mc);
unloadMovie (romanHelmet2_mc);
unloadMovie (spaceHelmet1_mc);
unloadMovie (spaceHelmet2_mc);
unloadMovie (metalHelmet_mc);
metalHelmetV = 0;
spaceHelmet2V = 0;
spaceHelmet1V = 0;
romanHelmet2V = 0;
romanHelmet1V = 0;
ironHelmetV = 0;
elvenHelmetV = 0;
knightHelmet4V = 0;
knightHelmet3V = 0;
samuraiHelmetRedV = 0;
samuraiHelmetBlueV = 0;
samuraiHelmetBlackV = 0;
samuraiHelmetGreenV = 0;
usDesertV = 0;
usNormalV = 0;
ukDesertV = 0;
ukNormalV = 0;
knightHelmet2V = 0;
knightHelmet1V = 0;
}
function unloadSamuraiHelmet() {
unloadMovie (samuraiHelmetBlack_mc);
unloadMovie (samuraiHelmetGreen_mc);
unloadMovie (samuraiHelmetBlue_mc);
unloadMovie (samuraiHelmetRed_mc);
samuraiHelmetRedV = 0;
samuraiHelmetBlueV = 0;
samuraiHelmetBlackV = 0;
samuraiHelmetGreenV = 0;
}
function allHelmetsGone() {
ukNormalGone();
usNormalGone();
ukDesertGone();
usDesertGone();
militaryHelmetsV = 0;
}
function ukNormalGone() {
ukNormal_mc.onEnterFrame = function () {
this._alpha = this._alpha - 5;
if (this._alpha < 0) {
unloadMovie (this);
}
};
}
function usNormalGone() {
usNormal_mc.onEnterFrame = function () {
this._alpha = this._alpha - 5;
if (this._alpha < 0) {
unloadMovie (this);
}
};
}
function ukDesertGone() {
ukDesert_mc.onEnterFrame = function () {
this._alpha = this._alpha - 5;
if (this._alpha < 0) {
unloadMovie (this);
}
};
}
function usDesertGone() {
usDesert_mc.onEnterFrame = function () {
this._alpha = this._alpha - 5;
if (this._alpha < 0) {
unloadMovie (this);
}
};
}
function unloadMilitary() {
unloadMovie (ukHelmetNormal_mc);
unloadMovie (ukHelmetDesert_mc);
unloadMovie (usHelmetNormal_mc);
unloadMovie (usHelmetDesert_mc);
usDesertV = 0;
usNormalV = 0;
ukDesertV = 0;
ukNormalV = 0;
}
function allKnightHelmetsGone() {
nobleHelmetGone();
evilKnightGone();
spikeyHelmetGone();
medivalHelmetGone();
knightHelmetV = 0;
}
function nobleHelmetGone() {
nobleHelmet_mc.onEnterFrame = function () {
this._alpha = this._alpha - 5;
if (this._alpha < 0) {
unloadMovie (this);
}
};
}
function evilKnightGone() {
evilKnight_mc.onEnterFrame = function () {
this._alpha = this._alpha - 5;
if (this._alpha < 0) {
unloadMovie (this);
}
};
}
function spikeyHelmetGone() {
SpikeyHelmet_mc.onEnterFrame = function () {
this._alpha = this._alpha - 5;
if (this._alpha < 0) {
unloadMovie (this);
}
};
}
function medivalHelmetGone() {
medivalHelmet_mc.onEnterFrame = function () {
this._alpha = this._alpha - 5;
if (this._alpha < 0) {
unloadMovie (this);
}
};
}
function unloadKnights() {
unloadMovie (knightHelmet1_mc);
unloadMovie (knightHelmet2_mc);
unloadMovie (knightHelmet3_mc);
unloadMovie (knightHelmet4_mc);
knightHelmet1V = 0;
knightHelmet2V = 0;
knightHelmet3V = 0;
knightHelmet4V = 0;
}
function unloadSamurai() {
samuraiHelmetBlackV = 0;
unloadMovie (samuraiHelmetBlack_mc);
}
function samuraiHelmetColorDown() {
if (samuraiColorV == 1) {
samuraiHelmetColorUp();
} else if (samuraiColorV == 0) {
samuraiColorV = 1;
allHelmetsGone();
samuraiHelmetColor_mc.onEnterFrame = function () {
this._y = this._y + 12;
if (this._y > -40) {
delete this.onEnterFrame;
}
};
}
}
function samuraiHelmetColorUp() {
samuraiHelmetColor_mc._y = -140;
samuraiColorV = 0;
}
function nobleHelmet() {
if (knightHelmet1V == 0) {
_root.attachMovie("knightHelmet1_mc", "knightHelmet1_mc", helmetsLayerValue + 1, {_x:244, _y:58});
hatsAllUnload();
hoodedGone();
allHairGone();
hatsMiscUnload();
knightHelmet1V = 1;
knightHelmet2V = 0;
unloadMilitary();
unloadSamuraiHelmet();
unloadMovie (knightHelmet2_mc);
unloadMovie (knightHelmet3_mc);
unloadMovie (knightHelmet4_mc);
unloadMovie (elvenHelmet_mc);
unloadMovie (ironbearHelmet_mc);
unloadMovie (romanHelmet1_mc);
unloadMovie (romanHelmet2_mc);
unloadMovie (spaceHelmet1_mc);
unloadMovie (spaceHelmet2_mc);
unloadMovie (metalHelmet_mc);
metalHelmetV = 0;
spaceHelmet2V = 0;
spaceHelmet1V = 0;
romanHelmet2V = 0;
romanHelmet1V = 0;
ironHelmetV = 0;
elvenHelmetV = 0;
knightHelmet4V = 0;
knightHelmet3V = 0;
} else if (knightHelmet1V == 1) {
unloadMovie (knightHelmet1_mc);
knightHelmet1V = 0;
}
}
function evilKnight() {
if (knightHelmet2V == 0) {
_root.attachMovie("knightHelmet2_mc", "knightHelmet2_mc", helmetsLayerValue + 2, {_x:239, _y:52});
hatsAllUnload();
hoodedGone();
allHairGone();
hatsMiscUnload();
knightHelmet2V = 1;
knightHelmet1V = 0;
unloadMilitary();
unloadSamuraiHelmet();
unloadMovie (knightHelmet1_mc);
unloadMovie (knightHelmet3_mc);
unloadMovie (knightHelmet4_mc);
unloadMovie (elvenHelmet_mc);
unloadMovie (ironbearHelmet_mc);
unloadMovie (romanHelmet1_mc);
unloadMovie (romanHelmet2_mc);
unloadMovie (spaceHelmet1_mc);
unloadMovie (spaceHelmet2_mc);
unloadMovie (metalHelmet_mc);
metalHelmetV = 0;
spaceHelmet2V = 0;
spaceHelmet1V = 0;
romanHelmet2V = 0;
romanHelmet1V = 0;
ironHelmetV = 0;
elvenHelmetV = 0;
knightHelmet4V = 0;
knightHelmet3V = 0;
} else if (knightHelmet2V == 1) {
unloadMovie (knightHelmet2_mc);
knightHelmet2V = 0;
}
}
function spikeyHelmet() {
if (knightHelmet3V == 0) {
_root.attachMovie("knightHelmet3_mc", "knightHelmet3_mc", helmetsLayerValue + 10, {_x:226, _y:-1});
hatsAllUnload();
hoodedGone();
allHairGone();
hatsMiscUnload();
knightHelmet3V = 1;
knightHelmet1V = 0;
unloadMilitary();
unloadSamuraiHelmet();
unloadMovie (knightHelmet1_mc);
unloadMovie (knightHelmet2_mc);
unloadMovie (knightHelmet4_mc);
unloadMovie (ironbearHelmet_mc);
unloadMovie (elvenHelmet_mc);
unloadMovie (romanHelmet1_mc);
unloadMovie (romanHelmet2_mc);
unloadMovie (spaceHelmet1_mc);
unloadMovie (spaceHelmet2_mc);
unloadMovie (metalHelmet_mc);
metalHelmetV = 0;
spaceHelmet2V = 0;
spaceHelmet1V = 0;
romanHelmet2V = 0;
romanHelmet1V = 0;
elvenHelmetV = 0;
ironHelmetV = 0;
knightHelmet4V = 0;
knightHelmet2V = 0;
} else if (knightHelmet3V == 1) {
unloadMovie (knightHelmet3_mc);
knightHelmet3V = 0;
}
}
function medivalHelmet() {
if (knightHelmet4V == 0) {
_root.attachMovie("knightHelmet4_mc", "knightHelmet4_mc", helmetsLayerValue + 30, {_x:190.1, _y:-26.8});
hatsAllUnload();
hoodedGone();
allHairGone();
hatsMiscUnload();
knightHelmet4V = 1;
knightHelmet1V = 0;
unloadMilitary();
unloadSamuraiHelmet();
unloadMovie (knightHelmet1_mc);
unloadMovie (knightHelmet2_mc);
unloadMovie (knightHelmet3_mc);
unloadMovie (elvenHelmet_mc);
unloadMovie (ironbearHelmet_mc);
unloadMovie (romanHelmet1_mc);
unloadMovie (romanHelmet2_mc);
unloadMovie (spaceHelmet1_mc);
unloadMovie (spaceHelmet2_mc);
unloadMovie (metalHelmet_mc);
metalHelmetV = 0;
spaceHelmet2V = 0;
spaceHelmet1V = 0;
romanHelmet2V = 0;
romanHelmet1V = 0;
ironHelmetV = 0;
elvenHelmetV = 0;
knightHelmet3V = 0;
knightHelmet2V = 0;
} else if (knightHelmet4V == 1) {
unloadMovie (knightHelmet4_mc);
knightHelmet4V = 0;
}
}
function adjustTransparancyOn2() {
adjustTransparency();
adjustTrans2_mc._alpha = 0;
adjustTrans2_mc._x = 384;
adjustTrans2_mc._y = 56;
adjustTrans2_mc.okTransLess_btn._x = 0;
adjustTrans2_mc.okTransMore_btn._x = 1000;
adjustTrans2_mc.onEnterFrame = function () {
adjustTrans2_mc._alpha = adjustTrans2_mc._alpha + 10;
if (this._alpha == 100) {
delete this.onEnterFrame;
}
};
}
function adjustTransparancyOn1() {
adjustTransparency();
adjustTrans1_mc._alpha = 0;
adjustTrans1_mc._x = 384;
adjustTrans1_mc._y = 79;
adjustTrans1_mc.okTransLess_btn._x = 0;
adjustTrans1_mc.okTransMore_btn._x = 1000;
adjustTrans1_mc.onEnterFrame = function () {
adjustTrans1_mc._alpha = adjustTrans1_mc._alpha + 10;
if (this._alpha == 100) {
delete this.onEnterFrame;
}
};
}
function ukNormal() {
if (ukNormalV == 0) {
_root.attachMovie("ukHelmetNormal_mc", "ukHelmetNormal_mc", helmetsLayerValue + 3, {_x:223, _y:40});
hatsAllUnload();
hoodedGone();
allHairGone();
hatsMiscUnload();
ukDesertV = 0;
ukNormalV = 1;
knightHelmet1V = 0;
knightHelmet2V = 0;
usNormalV = 0;
unloadSamuraiHelmet();
unloadMovie (knightHelmet1_mc);
unloadMovie (knightHelmet2_mc);
unloadMovie (ukHelmetDesert_mc);
unloadMovie (usHelmetNormal_mc);
unloadMovie (usHelmetDesert_mc);
unloadMovie (knightHelmet3_mc);
unloadMovie (knightHelmet4_mc);
unloadMovie (elvenHelmet_mc);
unloadMovie (ironbearHelmet_mc);
unloadMovie (romanHelmet1_mc);
unloadMovie (romanHelmet2_mc);
unloadMovie (spaceHelmet1_mc);
unloadMovie (spaceHelmet2_mc);
unloadMovie (metalHelmet_mc);
metalHelmetV = 0;
spaceHelmet2V = 0;
spaceHelmet1V = 0;
romanHelmet2V = 0;
romanHelmet1V = 0;
ironHelmetV = 0;
elvenHelmetV = 0;
knightHelmet4V = 0;
knightHelmet3V = 0;
usDesertV = 0;
} else if (ukNormalV == 1) {
unloadMovie (ukHelmetNormal_mc);
ukNormalV = 0;
}
}
function ukDesert() {
if (ukDesertV == 0) {
_root.attachMovie("ukHelmetDesert_mc", "ukHelmetDesert_mc", helmetsLayerValue + 4, {_x:223, _y:40});
hatsAllUnload();
hoodedGone();
allHairGone();
hatsMiscUnload();
ukDesertV = 1;
knightHelmet1V = 0;
knightHelmet2V = 0;
ukNormalV = 0;
usNormalV = 0;
unloadSamuraiHelmet();
unloadMovie (knightHelmet1_mc);
unloadMovie (knightHelmet2_mc);
unloadMovie (ukHelmetNormal_mc);
unloadMovie (usHelmetNormal_mc);
unloadMovie (usHelmetDesert_mc);
unloadMovie (knightHelmet3_mc);
unloadMovie (knightHelmet4_mc);
unloadMovie (elvenHelmet_mc);
unloadMovie (ironbearHelmet_mc);
unloadMovie (romanHelmet1_mc);
unloadMovie (romanHelmet2_mc);
unloadMovie (spaceHelmet1_mc);
unloadMovie (spaceHelmet2_mc);
unloadMovie (metalHelmet_mc);
metalHelmetV = 0;
spaceHelmet2V = 0;
spaceHelmet1V = 0;
romanHelmet2V = 0;
romanHelmet1V = 0;
ironHelmetV = 0;
elvenHelmetV = 0;
knightHelmet4V = 0;
knightHelmet3V = 0;
usDesertV = 0;
} else if (ukDesertV == 1) {
unloadMovie (ukHelmetDesert_mc);
ukDesertV = 0;
}
}
function usNormal() {
if (usNormalV == 0) {
_root.attachMovie("usHelmetNormal_mc", "usHelmetNormal_mc", helmetsLayerValue + 5, {_x:235, _y:33});
hatsAllUnload();
hoodedGone();
allHairGone();
hatsMiscUnload();
usNormalV = 1;
knightHelmet1V = 0;
knightHelmet2V = 0;
ukDesertV = 0;
ukNormalV = 0;
unloadSamuraiHelmet();
unloadMovie (knightHelmet1_mc);
unloadMovie (knightHelmet2_mc);
unloadMovie (knightHelmet3_mc);
unloadMovie (knightHelmet4_mc);
unloadMovie (elvenHelmet_mc);
unloadMovie (ironbearHelmet_mc);
unloadMovie (romanHelmet1_mc);
unloadMovie (romanHelmet2_mc);
unloadMovie (spaceHelmet1_mc);
unloadMovie (spaceHelmet2_mc);
unloadMovie (metalHelmet_mc);
metalHelmetV = 0;
spaceHelmet2V = 0;
spaceHelmet1V = 0;
romanHelmet2V = 0;
romanHelmet1V = 0;
ironHelmetV = 0;
elvenHelmetV = 0;
knightHelmet4V = 0;
knightHelmet3V = 0;
unloadMovie (ukHelmetNormal_mc);
unloadMovie (ukHelmetDesert_mc);
unloadMovie (usHelmetDesert_mc);
usDesertV = 0;
} else if (usNormalV == 1) {
unloadMovie (usHelmetNormal_mc);
usNormalV = 0;
}
}
function usDesert() {
if (usDesertV == 0) {
_root.attachMovie("usHelmetDesert_mc", "usHelmetDesert_mc", helmetsLayerValue + 6, {_x:235, _y:33});
hatsAllUnload();
hoodedGone();
allHairGone();
hatsMiscUnload();
usDesertV = 1;
usNormalV = 0;
knightHelmet1V = 0;
knightHelmet2V = 0;
ukDesertV = 0;
ukNormalV = 0;
unloadSamuraiHelmet();
unloadMovie (knightHelmet1_mc);
unloadMovie (knightHelmet2_mc);
unloadMovie (knightHelmet3_mc);
unloadMovie (knightHelmet4_mc);
unloadMovie (elvenHelmet_mc);
unloadMovie (ironbearHelmet_mc);
unloadMovie (romanHelmet1_mc);
unloadMovie (romanHelmet2_mc);
unloadMovie (spaceHelmet1_mc);
unloadMovie (spaceHelmet2_mc);
unloadMovie (metalHelmet_mc);
metalHelmetV = 0;
spaceHelmet2V = 0;
spaceHelmet1V = 0;
romanHelmet2V = 0;
romanHelmet1V = 0;
ironHelmetV = 0;
elvenHelmetV = 0;
knightHelmet4V = 0;
knightHelmet3V = 0;
unloadMovie (ukHelmetNormal_mc);
unloadMovie (ukHelmetDesert_mc);
unloadMovie (usHelmetNormal_mc);
} else if (usDesertV == 1) {
unloadMovie (usHelmetDesert_mc);
usDesertV = 0;
}
}
var helmetsLayerValue = 7000;
var militaryHelmetsV = 0;
helmetsMenu_mc.militaryHelmets_btn.onRelease = function () {
if (militaryHelmetsV == 1) {
allHelmetsGone();
militaryHelmetsV = 0;
} else if (militaryHelmetsV == 0) {
allKnightHelmetsGone();
knightHelmetV = 0;
samuraiHelmetColorUp();
samuraiColorV = 0;
_root.attachMovie("ukDesert_mc", "ukDesert_mc", 16101, {_x:340, _y:-23});
_root.attachMovie("usDesert_mc", "usDesert_mc", 16102, {_x:340, _y:-23});
_root.attachMovie("ukNormal_mc", "ukNormal_mc", 16103, {_x:340, _y:-19});
_root.attachMovie("usNormal_mc", "usNormal_mc", 16104, {_x:340, _y:-20});
militaryHelmetsV = 1;
ukDesert_mc.onEnterFrame = function () {
this._y = this._y + 8;
if (this._y == 81) {
delete this.onEnterFrame;
}
};
usDesert_mc.onEnterFrame = function () {
this._y = this._y + 8;
if (this._y == 137) {
delete this.onEnterFrame;
}
};
ukNormal_mc.onEnterFrame = function () {
this._y = this._y + 8;
if (this._y == 109) {
delete this.onEnterFrame;
}
};
usNormal_mc.onEnterFrame = function () {
this._y = this._y + 8;
if (this._y == 164) {
delete this.onEnterFrame;
}
};
}
usNormal_mc.onRelease = function () {
usNormal();
};
usNormal_mc.onRollOver = function () {
this.gotoAndStop(2);
};
usNormal_mc.onRollOut = function () {
this.gotoAndStop(1);
};
ukNormal_mc.onRelease = function () {
ukNormal();
};
ukNormal_mc.onRollOver = function () {
this.gotoAndStop(2);
};
ukNormal_mc.onRollOut = function () {
this.gotoAndStop(1);
};
usDesert_mc.onRelease = function () {
usDesert();
};
usDesert_mc.onRollOver = function () {
this.gotoAndStop(2);
};
usDesert_mc.onRollOut = function () {
this.gotoAndStop(1);
};
ukDesert_mc.onRelease = function () {
ukDesert();
};
ukDesert_mc.onRollOver = function () {
this.gotoAndStop(2);
};
ukDesert_mc.onRollOut = function () {
this.gotoAndStop(1);
};
};
var knightHelmetV = 0;
helmetsMenu_mc.knightHelmets_btn.onRelease = function () {
if (knightHelmetV == 1) {
allKnightHelmetsGone();
knightHelmetV = 0;
} else if (knightHelmetV == 0) {
allHelmetsGone();
militaryHelmetsV = 0;
samuraiHelmetColorUp();
samuraiColorV = 0;
_root.attachMovie("nobleHelmet_mc", "nobleHelmet_mc", 16108, {_x:340, _y:-24});
_root.attachMovie("evilKnight_mc", "evilKnight_mc", 16107, {_x:340, _y:-22});
_root.attachMovie("SpikeyHelmet_mc", "SpikeyHelmet_mc", 16106, {_x:340, _y:-18});
_root.attachMovie("medivalHelmet_mc", "medivalHelmet_mc", 16105, {_x:340, _y:-23});
knightHelmetV = 1;
nobleHelmet_mc.onEnterFrame = function () {
this._y = this._y + 8;
if (this._y == 0) {
delete this.onEnterFrame;
}
};
evilKnight_mc.onEnterFrame = function () {
this._y = this._y + 8;
if (this._y == 26) {
delete this.onEnterFrame;
}
};
SpikeyHelmet_mc.onEnterFrame = function () {
this._y = this._y + 8;
if (this._y == 54) {
delete this.onEnterFrame;
}
};
medivalHelmet_mc.onEnterFrame = function () {
this._y = this._y + 8;
if (this._y == 81) {
delete this.onEnterFrame;
}
};
}
nobleHelmet_mc.onRelease = function () {
nobleHelmet();
};
nobleHelmet_mc.onRollOver = function () {
this.gotoAndStop(2);
};
nobleHelmet_mc.onRollOut = function () {
this.gotoAndStop(1);
};
evilKnight_mc.onRelease = function () {
evilKnight();
};
evilKnight_mc.onRollOver = function () {
this.gotoAndStop(2);
};
evilKnight_mc.onRollOut = function () {
this.gotoAndStop(1);
};
SpikeyHelmet_mc.onRelease = function () {
spikeyHelmet();
};
SpikeyHelmet_mc.onRollOver = function () {
this.gotoAndStop(2);
};
SpikeyHelmet_mc.onRollOut = function () {
this.gotoAndStop(1);
};
medivalHelmet_mc.onRelease = function () {
medivalHelmet();
};
medivalHelmet_mc.onRollOver = function () {
this.gotoAndStop(2);
};
medivalHelmet_mc.onRollOut = function () {
this.gotoAndStop(1);
};
};
var samuraiColorV = 0;
var knightHelmet1V = 0;
var knightHelmet2V = 0;
var knightHelmet3V = 0;
var knightHelmet4V = 0;
var elvenHelmetV = 0;
helmetsMenu_mc.elvenHelmet_btn.onRelease = function () {
if (elvenHelmetV == 0) {
_root.attachMovie("elvenHelmet_mc", "elvenHelmet_mc", helmetsLayerValue + 31, {_x:211.8, _y:17.1});
hatsAllUnload();
allKnightHelmetsGone();
allHelmetsGone();
hoodedGone();
allHairGone();
hatsMiscUnload();
elvenHelmetV = 1;
knightHelmet1V = 0;
unloadMilitary();
unloadSamuraiHelmet();
unloadMovie (knightHelmet1_mc);
unloadMovie (knightHelmet2_mc);
unloadMovie (knightHelmet3_mc);
unloadMovie (knightHelmet4_mc);
unloadMovie (ironbearHelmet_mc);
unloadMovie (romanHelmet1_mc);
unloadMovie (romanHelmet2_mc);
unloadMovie (spaceHelmet1_mc);
unloadMovie (spaceHelmet2_mc);
unloadMovie (metalHelmet_mc);
metalHelmetV = 0;
spaceHelmet2V = 0;
spaceHelmet1V = 0;
romanHelmet2V = 0;
romanHelmet1V = 0;
ironHelmetV = 0;
knightHelmet4V = 0;
knightHelmet3V = 0;
knightHelmet2V = 0;
} else if (elvenHelmetV == 1) {
unloadMovie (elvenHelmet_mc);
elvenHelmetV = 0;
}
};
var ironHelmetV = 0;
helmetsMenu_mc.ironbearHelmet_btn.onRelease = function () {
if (ironHelmetV == 0) {
_root.attachMovie("ironbearHelmet_mc", "ironbearHelmet_mc", helmetsLayerValue + 32, {_x:247.1, _y:55});
hatsAllUnload();
allKnightHelmetsGone();
allHelmetsGone();
hoodedGone();
allHairGone();
hatsMiscUnload();
ironHelmetV = 1;
knightHelmet1V = 0;
unloadMilitary();
unloadSamuraiHelmet();
unloadMovie (knightHelmet1_mc);
unloadMovie (knightHelmet2_mc);
unloadMovie (knightHelmet3_mc);
unloadMovie (knightHelmet4_mc);
unloadMovie (elvenHelmet_mc);
unloadMovie (romanHelmet1_mc);
unloadMovie (romanHelmet2_mc);
unloadMovie (spaceHelmet1_mc);
unloadMovie (spaceHelmet2_mc);
unloadMovie (metalHelmet_mc);
metalHelmetV = 0;
spaceHelmet2V = 0;
spaceHelmet1V = 0;
romanHelmet2V = 0;
romanHelmet1V = 0;
elvenHelmetV = 0;
knightHelmet4V = 0;
knightHelmet3V = 0;
knightHelmet2V = 0;
} else if (ironHelmetV == 1) {
unloadMovie (ironbearHelmet_mc);
ironHelmetV = 0;
}
};
var romanHelmet1V = 0;
helmetsMenu2_mc.romanHelmet1_btn.onRelease = function () {
if (romanHelmet1V == 0) {
_root.attachMovie("romanHelmet1_mc", "romanHelmet1_mc", helmetsLayerValue + 33, {_x:243.8, _y:3.1});
adjustTrans1_mc._x = 600;
adjustTrans1_mc._y = 79;
adjustTrans2_mc._x = 600;
adjustTrans2_mc._y = 79;
hatsAllUnload();
hoodedGone();
allHairGone();
hatsMiscUnload();
romanHelmet1V = 1;
knightHelmet1V = 0;
unloadMilitary();
unloadSamuraiHelmet();
unloadMovie (knightHelmet1_mc);
unloadMovie (knightHelmet2_mc);
unloadMovie (knightHelmet3_mc);
unloadMovie (knightHelmet4_mc);
unloadMovie (elvenHelmet_mc);
unloadMovie (ironbearHelmet_mc);
unloadMovie (romanHelmet2_mc);
unloadMovie (spaceHelmet1_mc);
unloadMovie (spaceHelmet2_mc);
unloadMovie (metalHelmet_mc);
metalHelmetV = 0;
spaceHelmet2V = 0;
spaceHelmet1V = 0;
romanHelmet2V = 0;
ironHelmetV = 0;
elvenHelmetV = 0;
knightHelmet4V = 0;
knightHelmet3V = 0;
knightHelmet2V = 0;
} else if (romanHelmet1V == 1) {
unloadMovie (romanHelmet1_mc);
romanHelmet1V = 0;
}
};
var romanHelmet2V = 0;
helmetsMenu2_mc.romanHelmet2_btn.onRelease = function () {
if (romanHelmet2V == 0) {
_root.attachMovie("romanHelmet2_mc", "romanHelmet2_mc", helmetsLayerValue + 34, {_x:243.8, _y:3.1});
adjustTrans1_mc._x = 600;
adjustTrans1_mc._y = 79;
adjustTrans2_mc._x = 600;
adjustTrans2_mc._y = 79;
hatsAllUnload();
hoodedGone();
allHairGone();
hatsMiscUnload();
romanHelmet2V = 1;
knightHelmet1V = 0;
unloadMilitary();
unloadSamuraiHelmet();
unloadMovie (knightHelmet1_mc);
unloadMovie (knightHelmet2_mc);
unloadMovie (knightHelmet3_mc);
unloadMovie (knightHelmet4_mc);
unloadMovie (elvenHelmet_mc);
unloadMovie (ironbearHelmet_mc);
unloadMovie (romanHelmet1_mc);
unloadMovie (spaceHelmet1_mc);
unloadMovie (spaceHelmet2_mc);
unloadMovie (metalHelmet_mc);
metalHelmetV = 0;
spaceHelmet2V = 0;
spaceHelmet1V = 0;
romanHelmet1V = 0;
ironHelmetV = 0;
elvenHelmetV = 0;
knightHelmet4V = 0;
knightHelmet3V = 0;
knightHelmet2V = 0;
} else if (romanHelmet2V == 1) {
unloadMovie (romanHelmet2_mc);
romanHelmet2V = 0;
}
};
var metalHelmetV = 0;
helmetsMenu2_mc.metalHelmet_btn.onRelease = function () {
if (metalHelmetV == 0) {
_root.attachMovie("metalHelmet_mc", "metalHelmet_mc", helmetsLayerValue + 56, {_x:241.8, _y:48.5});
adjustTrans1_mc._x = 600;
adjustTrans1_mc._y = 79;
adjustTrans2_mc._x = 600;
adjustTrans2_mc._y = 79;
hatsAllUnload();
hoodedGone();
allHairGone();
hatsMiscUnload();
metalHelmetV = 1;
knightHelmet1V = 0;
unloadMilitary();
unloadSamuraiHelmet();
unloadMovie (knightHelmet1_mc);
unloadMovie (knightHelmet2_mc);
unloadMovie (knightHelmet3_mc);
unloadMovie (knightHelmet4_mc);
unloadMovie (elvenHelmet_mc);
unloadMovie (ironbearHelmet_mc);
unloadMovie (romanHelmet1_mc);
unloadMovie (spaceHelmet1_mc);
unloadMovie (spaceHelmet2_mc);
unloadMovie (romanHelmet2_mc);
romanHelmet2V = 0;
spaceHelmet2V = 0;
spaceHelmet1V = 0;
romanHelmet1V = 0;
ironHelmetV = 0;
elvenHelmetV = 0;
knightHelmet4V = 0;
knightHelmet3V = 0;
knightHelmet2V = 0;
} else if (metalHelmetV == 1) {
unloadMovie (metalHelmet_mc);
metalHelmetV = 0;
}
};
var spaceHelmet1V = 0;
helmetsMenu2_mc.spaceHelmet1_btn.onRelease = function () {
if (spaceHelmet1V == 0) {
_root.attachMovie("spaceHelmet1_mc", "spaceHelmet1_mc", helmetsLayerValue + 35, {_x:244, _y:55.3});
adjustTrans1_mc._x = 600;
adjustTrans1_mc._y = 79;
adjustTransparancyOn2();
hatsAllUnload();
hoodedGone();
allHairGone();
hatsMiscUnload();
spaceHelmet1V = 1;
knightHelmet1V = 0;
unloadMilitary();
unloadSamuraiHelmet();
unloadMovie (knightHelmet1_mc);
unloadMovie (knightHelmet2_mc);
unloadMovie (knightHelmet3_mc);
unloadMovie (knightHelmet4_mc);
unloadMovie (elvenHelmet_mc);
unloadMovie (ironbearHelmet_mc);
unloadMovie (romanHelmet1_mc);
unloadMovie (romanHelmet2_mc);
unloadMovie (spaceHelmet2_mc);
unloadMovie (metalHelmet_mc);
metalHelmetV = 0;
spaceHelmet2V = 0;
romanHelmet2V = 0;
romanHelmet1V = 0;
ironHelmetV = 0;
elvenHelmetV = 0;
knightHelmet4V = 0;
knightHelmet3V = 0;
knightHelmet2V = 0;
} else if (spaceHelmet1V == 1) {
unloadMovie (spaceHelmet1_mc);
spaceHelmet1V = 0;
adjustTrans2_mc._x = 600;
adjustTrans2_mc._y = 79;
}
};
adjustTrans2_mc.okTransLess_btn.onPress = function () {
if (spaceHelmet1_mc.transSpace1_mc._alpha > 40) {
spaceHelmet1_mc.transSpace1_mc._alpha = spaceHelmet1_mc.transSpace1_mc._alpha - 5;
if (spaceHelmet1_mc.transSpace1_mc._alpha < 42) {
adjustTrans2_mc.okTransLess_btn._x = 1000;
} else if (spaceHelmet1_mc.transSpace1_mc._alpha > 40) {
adjustTrans2_mc.okTransLess_btn._x = 0;
}
if (spaceHelmet1_mc.transSpace1_mc._alpha > 98) {
adjustTrans2_mc.okTransMore_btn._x = 1000;
} else if (spaceHelmet1_mc.transSpace1_mc._alpha < 100) {
adjustTrans2_mc.okTransMore_btn._x = 0;
}
}
};
adjustTrans2_mc.okTransMore_btn.onPress = function () {
if (spaceHelmet1_mc.transSpace1_mc._alpha < 100) {
spaceHelmet1_mc.transSpace1_mc._alpha = spaceHelmet1_mc.transSpace1_mc._alpha + 5;
if (spaceHelmet1_mc.transSpace1_mc._alpha < 42) {
adjustTrans2_mc.okTransLess_btn._x = 1000;
} else if (spaceHelmet1_mc.transSpace1_mc._alpha > 40) {
adjustTrans2_mc.okTransLess_btn._x = 0;
}
if (spaceHelmet1_mc.transSpace1_mc._alpha > 98) {
adjustTrans2_mc.okTransMore_btn._x = 1000;
} else if (spaceHelmet1_mc.transSpace1_mc._alpha < 100) {
adjustTrans2_mc.okTransMore_btn._x = 0;
}
}
};
adjustTrans2_mc.okTrans_btn.onRelease = function () {
adjustTrans2_mc._x = 600;
adjustTrans2_mc._y = 79;
};
var spaceHelmet2V = 0;
helmetsMenu2_mc.spaceHelmet2_btn.onRelease = function () {
if (spaceHelmet2V == 0) {
_root.attachMovie("spaceHelmet2_mc", "spaceHelmet2_mc", helmetsLayerValue + 36, {_x:241.8, _y:40});
adjustTrans2_mc._x = 600;
adjustTrans2_mc._y = 79;
adjustTransparancyOn1();
hatsAllUnload();
hoodedGone();
allHairGone();
hatsMiscUnload();
spaceHelmet2V = 1;
knightHelmet1V = 0;
unloadMilitary();
unloadSamuraiHelmet();
unloadMovie (knightHelmet1_mc);
unloadMovie (knightHelmet2_mc);
unloadMovie (knightHelmet3_mc);
unloadMovie (knightHelmet4_mc);
unloadMovie (elvenHelmet_mc);
unloadMovie (ironbearHelmet_mc);
unloadMovie (romanHelmet1_mc);
unloadMovie (romanHelmet2_mc);
unloadMovie (spaceHelmet1_mc);
unloadMovie (metalHelmet_mc);
metalHelmetV = 0;
spaceHelmet1V = 0;
romanHelmet2V = 0;
romanHelmet1V = 0;
ironHelmetV = 0;
elvenHelmetV = 0;
knightHelmet4V = 0;
knightHelmet3V = 0;
knightHelmet2V = 0;
} else if (spaceHelmet2V == 1) {
unloadMovie (spaceHelmet2_mc);
spaceHelmet2V = 0;
adjustTrans1_mc._x = 600;
adjustTrans1_mc._y = 79;
}
};
adjustTrans1_mc.okTransLess_btn.onPress = function () {
if (spaceHelmet2_mc.spaceHelmet2Trans_mc._alpha > 40) {
spaceHelmet2_mc.spaceHelmet2Trans_mc._alpha = spaceHelmet2_mc.spaceHelmet2Trans_mc._alpha - 5;
if (spaceHelmet2_mc.spaceHelmet2Trans_mc._alpha < 42) {
adjustTrans1_mc.okTransLess_btn._x = 1000;
} else if (spaceHelmet2_mc.spaceHelmet2Trans_mc._alpha > 40) {
adjustTrans1_mc.okTransLess_btn._x = 0;
}
if (spaceHelmet2_mc.spaceHelmet2Trans_mc._alpha > 98) {
adjustTrans1_mc.okTransMore_btn._x = 1000;
} else if (spaceHelmet2_mc.spaceHelmet2Trans_mc._alpha < 100) {
adjustTrans1_mc.okTransMore_btn._x = 0;
}
}
};
adjustTrans1_mc.okTransMore_btn.onPress = function () {
if (spaceHelmet2_mc.spaceHelmet2Trans_mc._alpha < 100) {
spaceHelmet2_mc.spaceHelmet2Trans_mc._alpha = spaceHelmet2_mc.spaceHelmet2Trans_mc._alpha + 5;
if (spaceHelmet2_mc.spaceHelmet2Trans_mc._alpha > 98) {
adjustTrans1_mc.okTransMore_btn._x = 1000;
} else if (spaceHelmet2_mc.spaceHelmet2Trans_mc._alpha < 100) {
adjustTrans1_mc.okTransMore_btn._x = 0;
}
if (spaceHelmet2_mc.spaceHelmet2Trans_mc._alpha < 42) {
adjustTrans1_mc.okTransLess_btn._x = 1000;
} else if (spaceHelmet2_mc.spaceHelmet2Trans_mc._alpha > 40) {
adjustTrans1_mc.okTransLess_btn._x = 0;
}
}
};
adjustTrans1_mc.okTrans_btn.onRelease = function () {
adjustTrans1_mc._x = 600;
adjustTrans1_mc._y = 79;
};
var ukNormalV = 0;
var ukDesertV = 0;
var usNormalV = 0;
var usDesertV = 0;
var samuraiHelmetColorOn = 0;
helmetsMenu_mc.samuraiHelmet_btn.onRelease = function () {
allKnightHelmetsGone();
allHelmetsGone();
samuraiHelmetColorDown();
};
var samuraiHelmetBlackV = 0;
samuraiHelmetColor_mc.samuraiHelmetBlack_btn.onRelease = function () {
if (samuraiHelmetBlackV == 0) {
hatsAllUnload();
hoodedGone();
allHairGone();
hatsMiscUnload();
samuraiHelmetBlackV = 1;
knightHelmet1V = 0;
knightHelmet2V = 0;
unloadMilitary();
unloadMovie (samuraiHelmetGreen_mc);
samuraiHelmetGreenV = 0;
unloadMovie (samuraiHelmetBlue_mc);
samuraiHelmetBlueV = 0;
unloadMovie (knightHelmet1_mc);
unloadMovie (knightHelmet2_mc);
unloadMovie (samuraiHelmetRed_mc);
unloadMovie (knightHelmet3_mc);
unloadMovie (knightHelmet4_mc);
unloadMovie (elvenHelmet_mc);
unloadMovie (ironbearHelmet_mc);
unloadMovie (romanHelmet1_mc);
unloadMovie (romanHelmet2_mc);
unloadMovie (spaceHelmet1_mc);
unloadMovie (spaceHelmet2_mc);
unloadMovie (metalHelmet_mc);
metalHelmetV = 0;
spaceHelmet2V = 0;
spaceHelmet1V = 0;
romanHelmet2V = 0;
romanHelmet1V = 0;
ironHelmetV = 0;
elvenHelmetV = 0;
knightHelmet4V = 0;
knightHelmet3V = 0;
samuraiHelmetRedV = 0;
_root.attachMovie("samuraiHelmetBlack_mc", "samuraiHelmetBlack_mc", helmetsLayerValue + 7, {_x:206, _y:14});
testSamurai();
} else if (samuraiHelmetBlackV == 1) {
unloadMovie (samuraiHelmetBlack_mc);
samuraiHelmetBlackV = 0;
}
};
var samuraiHelmetGreenV = 0;
samuraiHelmetColor_mc.samuraiHelmetGreen_btn.onRelease = function () {
if (samuraiHelmetGreenV == 0) {
hatsAllUnload();
hoodedGone();
allHairGone();
hatsMiscUnload();
samuraiHelmetGreenV = 1;
knightHelmet1V = 0;
knightHelmet2V = 0;
unloadMilitary();
samuraiHelmetBlackV = 0;
unloadMovie (knightHelmet1_mc);
unloadMovie (knightHelmet2_mc);
unloadMovie (samuraiHelmetBlack_mc);
unloadMovie (samuraiHelmetBlue_mc);
unloadMovie (samuraiHelmetRed_mc);
unloadMovie (knightHelmet3_mc);
unloadMovie (knightHelmet4_mc);
unloadMovie (elvenHelmet_mc);
unloadMovie (ironbearHelmet_mc);
unloadMovie (romanHelmet1_mc);
unloadMovie (romanHelmet2_mc);
unloadMovie (spaceHelmet1_mc);
unloadMovie (spaceHelmet2_mc);
unloadMovie (metalHelmet_mc);
metalHelmetV = 0;
spaceHelmet2V = 0;
spaceHelmet1V = 0;
romanHelmet2V = 0;
romanHelmet1V = 0;
ironHelmetV = 0;
elvenHelmetV = 0;
knightHelmet4V = 0;
knightHelmet3V = 0;
samuraiHelmetRedV = 0;
samuraiHelmetBlueV = 0;
_root.attachMovie("samuraiHelmetGreen_mc", "samuraiHelmetGreen_mc", helmetsLayerValue + 8, {_x:210, _y:16});
} else if (samuraiHelmetGreenV == 1) {
unloadMovie (samuraiHelmetGreen_mc);
samuraiHelmetGreenV = 0;
}
};
var samuraiHelmetBlueV = 0;
samuraiHelmetColor_mc.samuraiHelmetBlue_btn.onRelease = function () {
if (samuraiHelmetBlueV == 0) {
hatsAllUnload();
hoodedGone();
allHairGone();
hatsMiscUnload();
samuraiHelmetBlueV = 1;
knightHelmet1V = 0;
knightHelmet2V = 0;
unloadMilitary();
samuraiHelmetBlackV = 0;
samuraiHelmetGreenV = 0;
unloadMovie (samuraiHelmetGreen_mc);
unloadMovie (knightHelmet1_mc);
unloadMovie (knightHelmet2_mc);
unloadMovie (samuraiHelmetBlack_mc);
unloadMovie (samuraiHelmetRed_mc);
unloadMovie (knightHelmet3_mc);
unloadMovie (knightHelmet4_mc);
unloadMovie (elvenHelmet_mc);
unloadMovie (ironbearHelmet_mc);
unloadMovie (romanHelmet1_mc);
unloadMovie (romanHelmet2_mc);
unloadMovie (spaceHelmet1_mc);
unloadMovie (spaceHelmet2_mc);
unloadMovie (metalHelmet_mc);
metalHelmetV = 0;
spaceHelmet2V = 0;
spaceHelmet1V = 0;
romanHelmet2V = 0;
romanHelmet1V = 0;
ironHelmetV = 0;
elvenHelmetV = 0;
knightHelmet4V = 0;
knightHelmet3V = 0;
samuraiHelmetRedV = 0;
_root.attachMovie("samuraiHelmetBlue_mc", "samuraiHelmetBlue_mc", helmetsLayerValue + 8, {_x:210, _y:16});
} else if (samuraiHelmetBlueV == 1) {
unloadMovie (samuraiHelmetBlue_mc);
samuraiHelmetBlueV = 0;
}
};
var samuraiHelmetRedV = 0;
samuraiHelmetColor_mc.samuraiHelmetRed_btn.onRelease = function () {
if (samuraiHelmetRedV == 0) {
hatsAllUnload();
hoodedGone();
allHairGone();
hatsMiscUnload();
samuraiHelmetRedV = 1;
knightHelmet1V = 0;
knightHelmet2V = 0;
unloadMilitary();
samuraiHelmetBlackV = 0;
samuraiHelmetGreenV = 0;
samuraiHelmetBlueV = 0;
unloadMovie (samuraiHelmetGreen_mc);
unloadMovie (knightHelmet1_mc);
unloadMovie (knightHelmet2_mc);
unloadMovie (knightHelmet3_mc);
unloadMovie (knightHelmet4_mc);
unloadMovie (elvenHelmet_mc);
unloadMovie (ironbearHelmet_mc);
unloadMovie (romanHelmet1_mc);
unloadMovie (romanHelmet2_mc);
unloadMovie (spaceHelmet1_mc);
unloadMovie (spaceHelmet2_mc);
unloadMovie (metalHelmet_mc);
metalHelmetV = 0;
spaceHelmet2V = 0;
spaceHelmet1V = 0;
romanHelmet2V = 0;
romanHelmet1V = 0;
ironHelmetV = 0;
elvenHelmetV = 0;
knightHelmet4V = 0;
knightHelmet3V = 0;
_root.attachMovie("samuraiHelmetRed_mc", "samuraiHelmetRed_mc", helmetsLayerValue + 9, {_x:210, _y:16});
unloadMovie (samuraiHelmetBlack_mc);
unloadMovie (samuraiHelmetBlue_mc);
} else if (samuraiHelmetRedV == 1) {
unloadMovie (samuraiHelmetRed_mc);
samuraiHelmetRedV = 0;
}
};
function hatsMiscUnload() {
unloadMovie (conanHat_mc);
unloadMovie (leatherHat_mc);
unloadMovie (leatherHat2_mc);
unloadMovie (partyHat_mc);
unloadMovie (wizardHat_mc);
unloadMovie (seaadmiralHat_mc);
unloadMovie (turbanHat_mc);
unloadMovie (turbanHat2_mc);
turbanHatV = 0;
seaadmiralHatV = 0;
wizardHatV = 0;
partyHatV = 0;
leatherHatV = 0;
conanHatV = 0;
}
function hatsMiscUnload1() {
unloadMovie (conanHat_mc);
unloadMovie (leatherHat_mc);
unloadMovie (leatherHat2_mc);
unloadMovie (partyHat_mc);
unloadMovie (wizardHat_mc);
unloadMovie (seaadmiralHat_mc);
seaadmiralHatV = 0;
wizardHatV = 0;
partyHatV = 0;
leatherHatV = 0;
conanHatV = 0;
}
function hatsMiscUnload2() {
unloadMovie (turbanHat_mc);
unloadMovie (turbanHat2_mc);
turbanHatV = 0;
}
var hatsLayerValue = 7050;
var conanHatV = 0;
miscHatsMenu_mc.conanHat_btn.onRelease = function () {
if (conanHatV == 0) {
unloadMovie (leatherHat_mc);
unloadMovie (leatherHat2_mc);
unloadMovie (partyHat_mc);
unloadMovie (wizardHat_mc);
unloadMovie (seaadmiralHat_mc);
seaadmiralHatV = 0;
wizardHatV = 0;
partyHatV = 0;
leatherHatV = 0;
hatsMiscUnload2();
_root.attachMovie("conanHat_mc", "conanHat_mc", hatsLayerValue + 40, {_x:248.7, _y:69.8});
hatsAllUnload();
helmetsAllUnload();
hoodedGone();
allHairGone();
conanHatV = 1;
} else if (conanHatV == 1) {
unloadMovie (conanHat_mc);
conanHatV = 0;
}
};
var leatherHatV = 0;
miscHatsMenu_mc.leatherHat_btn.onRelease = function () {
if (leatherHatV == 0) {
unloadMovie (conanHat_mc);
unloadMovie (partyHat_mc);
unloadMovie (wizardHat_mc);
unloadMovie (seaadmiralHat_mc);
seaadmiralHatV = 0;
wizardHatV = 0;
partyHatV = 0;
conanHatV = 0;
hatsMiscUnload2();
_root.attachMovie("leatherHat_mc", "leatherHat_mc", hatsLayerValue + 41, {_x:247.2, _y:55.1});
_root.attachMovie("leatherHat2_mc", "leatherHat2_mc", 9705, {_x:247.2, _y:134.1});
hatsAllUnload();
helmetsAllUnload();
hoodedGone();
allHairGone();
leatherHatV = 1;
} else if (leatherHatV == 1) {
unloadMovie (leatherHat_mc);
unloadMovie (leatherHat2_mc);
leatherHatV = 0;
}
};
var partyHatV = 0;
miscHatsMenu_mc.partyHat_btn.onRelease = function () {
if (partyHatV == 0) {
unloadMovie (conanHat_mc);
unloadMovie (leatherHat_mc);
unloadMovie (leatherHat2_mc);
unloadMovie (wizardHat_mc);
unloadMovie (seaadmiralHat_mc);
seaadmiralHatV = 0;
wizardHatV = 0;
leatherHatV = 0;
conanHatV = 0;
hatsMiscUnload2();
_root.attachMovie("partyHat_mc", "partyHat_mc", hatsLayerValue + 42, {_x:230.7, _y:34});
hatsAllUnload();
helmetsAllUnload();
hoodedGone();
allHairGone();
partyHatV = 1;
} else if (partyHatV == 1) {
unloadMovie (partyHat_mc);
partyHatV = 0;
}
};
var wizardHatV = 0;
miscHatsMenu_mc.wizardHat_btn.onRelease = function () {
if (wizardHatV == 0) {
unloadMovie (conanHat_mc);
unloadMovie (leatherHat_mc);
unloadMovie (leatherHat2_mc);
unloadMovie (partyHat_mc);
unloadMovie (seaadmiralHat_mc);
seaadmiralHatV = 0;
partyHatV = 0;
leatherHatV = 0;
conanHatV = 0;
hatsMiscUnload2();
_root.attachMovie("wizardHat_mc", "wizardHat_mc", hatsLayerValue + 43, {_x:231.9, _y:-10.2});
hatsAllUnload();
helmetsAllUnload();
hoodedGone();
allHairGone();
wizardHatV = 1;
} else if (wizardHatV == 1) {
unloadMovie (wizardHat_mc);
wizardHatV = 0;
}
};
var seaadmiralHatV = 0;
miscHatsMenu_mc.seaadmiralHat_btn.onRelease = function () {
if (seaadmiralHatV == 0) {
unloadMovie (conanHat_mc);
unloadMovie (leatherHat_mc);
unloadMovie (leatherHat2_mc);
unloadMovie (partyHat_mc);
unloadMovie (wizardHat_mc);
wizardHatV = 0;
partyHatV = 0;
leatherHatV = 0;
conanHatV = 0;
hatsMiscUnload2();
_root.attachMovie("seaadmiralHat_mc", "seaadmiralHat_mc", hatsLayerValue + 44, {_x:222.3, _y:13.2});
hatsAllUnload();
helmetsAllUnload();
hoodedGone();
allHairGone();
seaadmiralHatV = 1;
} else if (seaadmiralHatV == 1) {
unloadMovie (seaadmiralHat_mc);
seaadmiralHatV = 0;
}
};
var turbanHatV = 0;
miscHatsMenu2_mc.turbanHat_btn.onRelease = function () {
if (turbanHatV == 0) {
hatsMiscUnload1();
_root.attachMovie("turbanHat_mc", "turbanHat_mc", hatsLayerValue + 44, {_x:251.1, _y:33.5});
_root.attachMovie("turbanHat2_mc", "turbanHat2_mc", 9705, {_x:250.8, _y:126.2});
hatsAllUnload();
helmetsAllUnload();
hoodedGone();
allHairGone();
turbanHatV = 1;
hatLayerControl();
} else if (turbanHatV == 1) {
unloadMovie (turbanHat_mc);
unloadMovie (turbanHat2_mc);
turbanHatV = 0;
}
};
function bandanaUnload() {
unloadMovie (bandanaGreen_mc);
unloadMovie (bandanaBlue_mc);
unloadMovie (bandanaRed_mc);
unloadMovie (bandanaBlack_mc);
}
function bandanaCapUnload() {
unloadMovie (bandanaCapBlack_mc);
unloadMovie (bandanaCapPink_mc);
unloadMovie (bandanaCapRed_mc);
}
function bandanaCap2Unload() {
unloadMovie (bandanaCapBlack2_mc);
unloadMovie (bandanaCapPink2_mc);
unloadMovie (bandanaCapRed2_mc);
}
function headPhonesUnload() {
unloadMovie (headPhonesGreen_mc);
unloadMovie (headPhonesOrange_mc);
unloadMovie (headPhonesPink_mc);
unloadMovie (headPhonesPurple_mc);
}
function bandanaRemove() {
bandanaRedV = 0;
bandanaBlackV = 0;
bandanaGreenV = 0;
bandanaBlueV = 0;
}
function bandanaCapRemove() {
bandanaBlackCapV = 0;
bandanaRedCapV = 0;
bandanaPinkCapV = 0;
}
function bandanaCap2Remove() {
bandanaRedCap2V = 0;
bandanaPinkCap2V = 0;
bandanaBlackCap2V = 0;
}
function headPhonesRemove() {
headPhonesGreenV = 0;
headPhonesOrangeV = 0;
headPhonesPinkV = 0;
headPhonesPurpleV = 0;
}
function hats2Unload() {
unloadMovie (feodora2Hat_mc);
unloadMovie (streetboyHat_mc);
unloadMovie (wastelandHat_mc);
unloadMovie (chineseHat_mc);
unloadMovie (bobbieGreen_mc);
unloadMovie (bobbieGrey_mc);
unloadMovie (bobbieRed_mc);
bobbieRedV = 0;
bobbieGreyV = 0;
bobbieGreenV = 0;
chineseV = 0;
wastelandV = 0;
streetboyV = 0;
feodora2V = 0;
}
function hats1Unload() {
unloadMovie (bandanaGreen_mc);
unloadMovie (bandanaBlue_mc);
unloadMovie (bandanaRed_mc);
unloadMovie (bandanaBlack_mc);
unloadMovie (bandanaCapBlack_mc);
unloadMovie (bandanaCapPink_mc);
unloadMovie (bandanaCapRed_mc);
unloadMovie (bandanaCapBlack2_mc);
unloadMovie (bandanaCapPink2_mc);
unloadMovie (bandanaCapRed2_mc);
unloadMovie (headPhonesGreen_mc);
unloadMovie (headPhonesOrange_mc);
unloadMovie (headPhonesPink_mc);
unloadMovie (headPhonesPurple_mc);
unloadMovie (feodora1Hat_mc);
feodora1V = 0;
bandanaRedV = 0;
bandanaBlackV = 0;
bandanaGreenV = 0;
bandanaBlueV = 0;
bandanaBlackCapV = 0;
bandanaRedCapV = 0;
bandanaPinkCapV = 0;
bandanaRedCap2V = 0;
bandanaPinkCap2V = 0;
bandanaBlackCap2V = 0;
headPhonesGreenV = 0;
headPhonesOrangeV = 0;
headPhonesPinkV = 0;
headPhonesPurpleV = 0;
}
function hatsAllUnload() {
unloadMovie (bandanaGreen_mc);
unloadMovie (bandanaBlue_mc);
unloadMovie (bandanaRed_mc);
unloadMovie (bandanaBlack_mc);
unloadMovie (bandanaCapBlack_mc);
unloadMovie (bandanaCapPink_mc);
unloadMovie (bandanaCapRed_mc);
unloadMovie (bandanaCapBlack2_mc);
unloadMovie (bandanaCapPink2_mc);
unloadMovie (bandanaCapRed2_mc);
unloadMovie (headPhonesGreen_mc);
unloadMovie (headPhonesOrange_mc);
unloadMovie (headPhonesPink_mc);
unloadMovie (headPhonesPurple_mc);
unloadMovie (feodora1Hat_mc);
unloadMovie (feodora2Hat_mc);
unloadMovie (streetboyHat_mc);
unloadMovie (wastelandHat_mc);
unloadMovie (chineseHat_mc);
unloadMovie (bobbieGreen_mc);
unloadMovie (bobbieGrey_mc);
unloadMovie (bobbieRed_mc);
bobbieRedV = 0;
bobbieGreyV = 0;
bobbieGreenV = 0;
chineseV = 0;
wastelandV = 0;
streetboyV = 0;
feodora2V = 0;
feodora1V = 0;
bandanaRedV = 0;
bandanaBlackV = 0;
bandanaGreenV = 0;
bandanaBlueV = 0;
bandanaBlackCapV = 0;
bandanaRedCapV = 0;
bandanaPinkCapV = 0;
bandanaRedCap2V = 0;
bandanaPinkCap2V = 0;
bandanaBlackCap2V = 0;
headPhonesGreenV = 0;
headPhonesOrangeV = 0;
headPhonesPinkV = 0;
headPhonesPurpleV = 0;
}
var hatsLayerValue = 7050;
var headPhoneColorV = 0;
hatsMenu_mc.headPhones_btn.onRelease = function () {
if (bandanaColorV == 1) {
hatsMenuUp();
bandanaColorV = 0;
headPhoneColorV = 1;
headPhoneColor_mc.onEnterFrame = function () {
this._y = this._y + 12;
if (this._y > -40) {
delete this.onEnterFrame;
}
};
}
if (bandanaColorCapV == 1) {
hatsMenuUp();
headPhoneColorV = 1;
bandanaColorCapV = 0;
headPhoneColor_mc.onEnterFrame = function () {
this._y = this._y + 12;
if (this._y > -40) {
delete this.onEnterFrame;
}
};
} else if (bandanaColorCap2V == 1) {
hatsMenuUp();
headPhoneColorV = 1;
bandanaColorCap2V = 0;
headPhoneColor_mc.onEnterFrame = function () {
this._y = this._y + 12;
if (this._y > -40) {
delete this.onEnterFrame;
}
};
} else if (bobbieColorV == 1) {
hatsMenuUp();
bobbieColorV = 0;
headPhoneColorV = 1;
bobbieHatsColorPanel_mc.onEnterFrame = function () {
this._y = this._y + 12;
if (this._y > -60) {
delete this.onEnterFrame;
}
};
} else if (headPhoneColorV == 1) {
hatsMenuUp();
headPhoneColorV = 0;
} else if (headPhoneColorV == 0) {
headPhoneColorV = 1;
headPhoneColor_mc.onEnterFrame = function () {
this._y = this._y + 12;
if (this._y > -40) {
delete this.onEnterFrame;
}
};
}
};
var bandanaColorV = 0;
hatsMenu_mc.bandana_btn.onRelease = function () {
if (bandanaColorCapV == 1) {
hatsMenuUp();
bandanaColorV = 1;
bandanaColorCapV = 0;
bandanaColor_mc.onEnterFrame = function () {
this._y = this._y + 12;
if (this._y > -40) {
delete this.onEnterFrame;
}
};
} else if (headPhoneColorV == 1) {
hatsMenuUp();
bandanaColorV = 1;
headPhoneColorV = 0;
bandanaColor_mc.onEnterFrame = function () {
this._y = this._y + 12;
if (this._y > -40) {
delete this.onEnterFrame;
}
};
} else if (bandanaColorCap2V == 1) {
hatsMenuUp();
bandanaColorV = 1;
bandanaColorCap2V = 0;
bandanaColor_mc.onEnterFrame = function () {
this._y = this._y + 12;
if (this._y > -40) {
delete this.onEnterFrame;
}
};
} else if (bobbieColorV == 1) {
hatsMenuUp();
bobbieColorV = 0;
bandanaColorV = 1;
bobbieHatsColorPanel_mc.onEnterFrame = function () {
this._y = this._y + 12;
if (this._y > -60) {
delete this.onEnterFrame;
}
};
} else if (bandanaColorV == 1) {
hatsMenuUp();
bandanaColorV = 0;
} else if (bandanaColorV == 0) {
bandanaColorV = 1;
bandanaColor_mc.onEnterFrame = function () {
this._y = this._y + 12;
if (this._y > -40) {
delete this.onEnterFrame;
}
};
}
};
hatsMenuUp = function () {
bandanaColor_mc._y = -140;
bandanaCapColor_mc._y = -140;
bandanaCap2Color_mc._y = -140;
headPhoneColor_mc._y = -140;
bobbieHatsColorPanel_mc._y = -140;
bobbieColorV = 0;
headPhoneColorV = 0;
bandanaColorV = 0;
bandanaColorCapV = 0;
bandanaColorCap2V = 0;
};
var bandanaColorCapV = 0;
hatsMenu_mc.bandanaCap_btn.onRelease = function () {
if (bandanaColorV == 1) {
hatsMenuUp();
bandanaColorV = 0;
bandanaColorCapV = 1;
bandanaCapColor_mc.onEnterFrame = function () {
this._y = this._y + 12;
if (this._y > -60) {
delete this.onEnterFrame;
}
};
} else if (headPhoneColorV == 1) {
hatsMenuUp();
bandanaColorCapV = 1;
headPhoneColorV = 0;
bandanaCapColor_mc.onEnterFrame = function () {
this._y = this._y + 12;
if (this._y > -60) {
delete this.onEnterFrame;
}
};
} else if (bandanaColorCap2V == 1) {
hatsMenuUp();
bandanaColorCap2V = 0;
bandanaColorCapV = 1;
bandanaCapColor_mc.onEnterFrame = function () {
this._y = this._y + 12;
if (this._y > -60) {
delete this.onEnterFrame;
}
};
} else if (bobbieColorV == 1) {
hatsMenuUp();
bobbieColorV = 0;
bandanaColorCapV = 1;
bobbieHatsColorPanel_mc.onEnterFrame = function () {
this._y = this._y + 12;
if (this._y > -60) {
delete this.onEnterFrame;
}
};
} else if (bandanaColorCapV == 1) {
hatsMenuUp();
bandanaColorCapV = 0;
} else if (bandanaColorCapV == 0) {
bandanaColorCapV = 1;
bandanaCapColor_mc.onEnterFrame = function () {
this._y = this._y + 12;
if (this._y > -60) {
delete this.onEnterFrame;
}
};
}
};
var bandanaColorCap2V = 0;
hatsMenu_mc.bandanaCap2_btn.onRelease = function () {
if (bandanaColorV == 1) {
hatsMenuUp();
bandanaColorV = 0;
bandanaColorCap2V = 1;
bandanaCap2Color_mc.onEnterFrame = function () {
this._y = this._y + 12;
if (this._y > -60) {
delete this.onEnterFrame;
}
};
} else if (headPhoneColorV == 1) {
hatsMenuUp();
bandanaColorCap2V = 1;
headPhoneColorV = 0;
bandanaCap2Color_mc.onEnterFrame = function () {
this._y = this._y + 12;
if (this._y > -60) {
delete this.onEnterFrame;
}
};
} else if (bandanaColorCapV == 1) {
hatsMenuUp();
bandanaColorCapV = 0;
bandanaColorCap2V = 1;
bandanaCap2Color_mc.onEnterFrame = function () {
this._y = this._y + 12;
if (this._y > -60) {
delete this.onEnterFrame;
}
};
} else if (bobbieColorV == 1) {
hatsMenuUp();
bobbieColorV = 0;
bandanaColorCap2V = 1;
bobbieHatsColorPanel_mc.onEnterFrame = function () {
this._y = this._y + 12;
if (this._y > -60) {
delete this.onEnterFrame;
}
};
} else if (bandanaColorCap2V == 1) {
hatsMenuUp();
bandanaColorCap2V = 0;
} else if (bandanaColorCap2V == 0) {
bandanaColorCap2V = 1;
bandanaCap2Color_mc.onEnterFrame = function () {
this._y = this._y + 12;
if (this._y > -60) {
delete this.onEnterFrame;
}
};
}
};
var bobbieColorV = 0;
hatsMenu2_mc.bobbieHat_btn.onRelease = function () {
if (bandanaColorV == 1) {
hatsMenuUp();
bandanaColorV = 0;
bobbieColorV = 1;
bobbieHatsColorPanel_mc.onEnterFrame = function () {
this._y = this._y + 12;
if (this._y > -60) {
delete this.onEnterFrame;
}
};
} else if (headPhoneColorV == 1) {
hatsMenuUp();
bobbieColorV = 1;
headPhoneColorV = 0;
bobbieHatsColorPanel_mc.onEnterFrame = function () {
this._y = this._y + 12;
if (this._y > -60) {
delete this.onEnterFrame;
}
};
} else if (bandanaColorCapV == 1) {
hatsMenuUp();
bandanaColorCapV = 0;
bobbieColorV = 1;
bobbieHatsColorPanel_mc.onEnterFrame = function () {
this._y = this._y + 12;
if (this._y > -60) {
delete this.onEnterFrame;
}
};
} else if (bandanaColorCap2V == 1) {
hatsMenuUp();
bandanaColorCap2V = 0;
bobbieColorV = 1;
bobbieHatsColorPanel_mc.onEnterFrame = function () {
this._y = this._y + 12;
if (this._y > -60) {
delete this.onEnterFrame;
}
};
} else if (bobbieColorV == 1) {
hatsMenuUp();
bobbieColorV = 0;
} else if (bobbieColorV == 0) {
bobbieColorV = 1;
bobbieHatsColorPanel_mc.onEnterFrame = function () {
this._y = this._y + 12;
if (this._y > -60) {
delete this.onEnterFrame;
}
};
}
};
var bandanaBlackV = 0;
bandanaColor_mc.bandanaBlack_btn.onRelease = function () {
if (bandanaBlackV == 0) {
_root.attachMovie("bandanaBlack_mc", "bandanaBlack_mc", hatsLayerValue + 15, {_x:251, _y:56});
unloadMovie (bandanaGreen_mc);
unloadMovie (bandanaBlue_mc);
unloadMovie (bandanaRed_mc);
unloadMovie (feodora1Hat_mc);
feodora1V = 0;
bandanaCapUnload();
helmetsAllUnload();
hoodedGone();
allHairGone();
hatsMiscUnload();
headPhonesUnload();
bandanaCap2Unload();
headPhonesRemove();
bandanaCap2Remove();
bandanaCapRemove();
bandanaRedV = 0;
bandanaBlackV = 1;
bandanaGreenV = 0;
bandanaBlueV = 0;
bandanaCapColor_mc._y = -140;
bandanaCap2Color_mc._y = -140;
headPhoneColor_mc._y = -140;
bobbieHatsColorPanel_mc._y = -140;
bobbieColorV = 0;
headPhoneColorV = 0;
bandanaColorCapV = 0;
bandanaColorCap2V = 0;
hats2Unload();
} else if (bandanaBlackV == 1) {
unloadMovie (bandanaBlack_mc);
bandanaBlackV = 0;
hatsMenuUp();
}
};
var bandanaBlueV = 0;
bandanaColor_mc.bandanaBlue_btn.onRelease = function () {
if (bandanaBlueV == 0) {
_root.attachMovie("bandanaBlue_mc", "bandanaBlue_mc", hatsLayerValue + 6, {_x:250, _y:56});
unloadMovie (bandanaGreen_mc);
unloadMovie (bandanaBlack_mc);
unloadMovie (bandanaRed_mc);
unloadMovie (feodora1Hat_mc);
feodora1V = 0;
headPhonesUnload();
helmetsAllUnload();
hoodedGone();
allHairGone();
hatsMiscUnload();
bandanaCap2Unload();
bandanaCapUnload();
headPhonesRemove();
bandanaCap2Remove();
bandanaCapRemove();
bandanaRedV = 0;
bandanaBlueV = 1;
bandanaBlackV = 0;
bandanaGreenV = 0;
bandanaCapColor_mc._y = -140;
bandanaCap2Color_mc._y = -140;
headPhoneColor_mc._y = -140;
bobbieHatsColorPanel_mc._y = -140;
bobbieColorV = 0;
headPhoneColorV = 0;
bandanaColorCapV = 0;
bandanaColorCap2V = 0;
hats2Unload();
} else if (bandanaBlueV == 1) {
unloadMovie (bandanaBlue_mc);
bandanaBlueV = 0;
}
};
var bandanaGreenV = 0;
bandanaColor_mc.bandanaGreen_btn.onRelease = function () {
if (bandanaGreenV == 0) {
_root.attachMovie("bandanaGreen_mc", "bandanaGreen_mc", hatsLayerValue + 7, {_x:250, _y:56});
unloadMovie (bandanaBlack_mc);
unloadMovie (bandanaBlue_mc);
unloadMovie (bandanaRed_mc);
unloadMovie (feodora1Hat_mc);
feodora1V = 0;
headPhonesUnload();
helmetsAllUnload();
hoodedGone();
allHairGone();
hatsMiscUnload();
bandanaCap2Unload();
bandanaCapUnload();
headPhonesRemove();
bandanaCap2Remove();
bandanaCapRemove();
bandanaRedV = 0;
bandanaBlackV = 0;
bandanaGreenV = 1;
bandanaBlueV = 0;
bandanaCapColor_mc._y = -140;
bandanaCap2Color_mc._y = -140;
headPhoneColor_mc._y = -140;
bobbieHatsColorPanel_mc._y = -140;
bobbieColorV = 0;
headPhoneColorV = 0;
bandanaColorCapV = 0;
bandanaColorCap2V = 0;
hats2Unload();
} else if (bandanaGreenV == 1) {
unloadMovie (bandanaGreen_mc);
bandanaGreenV = 0;
}
};
var bandanaRedV = 0;
bandanaColor_mc.bandanaRed_btn.onRelease = function () {
if (bandanaRedV == 0) {
_root.attachMovie("bandanaRed_mc", "bandanaRed_mc", hatsLayerValue + 8, {_x:250, _y:56});
unloadMovie (bandanaBlack_mc);
unloadMovie (bandanaBlue_mc);
unloadMovie (bandanaGreen_mc);
unloadMovie (feodora1Hat_mc);
feodora1V = 0;
headPhonesUnload();
helmetsAllUnload();
hoodedGone();
allHairGone();
hatsMiscUnload();
hats2Unload();
bandanaCap2Unload();
bandanaCapUnload();
headPhonesRemove();
bandanaCap2Remove();
bandanaCapRemove();
bandanaBlackV = 0;
bandanaGreenV = 0;
bandanaBlueV = 0;
bandanaRedV = 1;
bandanaCapColor_mc._y = -140;
bandanaCap2Color_mc._y = -140;
headPhoneColor_mc._y = -140;
bobbieHatsColorPanel_mc._y = -140;
bobbieColorV = 0;
headPhoneColorV = 0;
bandanaColorCapV = 0;
bandanaColorCap2V = 0;
} else if (bandanaRedV == 1) {
unloadMovie (bandanaRed_mc);
bandanaRedV = 0;
}
};
var bandanaBlackCapV = 0;
bandanaCapColor_mc.bandanaCapBlack_btn.onRelease = function () {
if (bandanaBlackCapV == 0) {
_root.attachMovie("bandanaCapBlack_mc", "bandanaCapBlack_mc", hatsLayerValue + 9, {_x:248, _y:49});
headPhonesUnload();
bandanaCap2Unload();
bandanaUnload();
helmetsAllUnload();
hoodedGone();
allHairGone();
hatsMiscUnload();
unloadMovie (bandanaCapPink_mc);
unloadMovie (bandanaCapRed_mc);
unloadMovie (feodora1Hat_mc);
feodora1V = 0;
headPhonesRemove();
bandanaCap2Remove();
bandanaRemove();
bandanaRedCapV = 0;
bandanaBlackCapV = 1;
bandanaPinkCapV = 0;
bandanaColor_mc._y = -140;
bandanaCap2Color_mc._y = -140;
headPhoneColor_mc._y = -140;
bobbieHatsColorPanel_mc._y = -140;
bobbieColorV = 0;
headPhoneColorV = 0;
bandanaColorV = 0;
bandanaColorCap2V = 0;
hats2Unload();
} else if (bandanaBlackCapV == 1) {
unloadMovie (bandanaCapBlack_mc);
bandanaBlackCapV = 0;
}
};
var bandanaPinkCapV = 0;
bandanaCapColor_mc.bandanaCapPink_btn.onRelease = function () {
if (bandanaPinkCapV == 0) {
_root.attachMovie("bandanaCapPink_mc", "bandanaCapPink_mc", hatsLayerValue + 10, {_x:248, _y:49});
unloadMovie (bandanaCapRed_mc);
unloadMovie (bandanaCapBlack_mc);
unloadMovie (feodora1Hat_mc);
feodora1V = 0;
headPhonesUnload();
bandanaCap2Unload();
bandanaUnload();
helmetsAllUnload();
hoodedGone();
allHairGone();
hatsMiscUnload();
hats2Unload();
headPhonesRemove();
bandanaCap2Remove();
bandanaRemove();
bandanaRedCapV = 0;
bandanaBlackCapV = 0;
bandanaPinkCapV = 1;
bandanaColor_mc._y = -140;
bandanaCap2Color_mc._y = -140;
headPhoneColor_mc._y = -140;
bobbieHatsColorPanel_mc._y = -140;
bobbieColorV = 0;
headPhoneColorV = 0;
bandanaColorV = 0;
bandanaColorCap2V = 0;
} else if (bandanaPinkCapV == 1) {
unloadMovie (bandanaCapPink_mc);
bandanaPinkCapV = 0;
}
};
var bandanaRedCapV = 0;
bandanaCapColor_mc.bandanaCapRed_btn.onRelease = function () {
if (bandanaRedCapV == 0) {
_root.attachMovie("bandanaCapRed_mc", "bandanaCapRed_mc", hatsLayerValue + 11, {_x:248, _y:49});
headPhonesUnload();
bandanaCap2Unload();
bandanaUnload();
helmetsAllUnload();
hoodedGone();
allHairGone();
hatsMiscUnload();
unloadMovie (bandanaCapPink_mc);
unloadMovie (bandanaCapBlack_mc);
unloadMovie (feodora1Hat_mc);
feodora1V = 0;
headPhonesRemove();
bandanaCap2Remove();
bandanaRemove();
bandanaBlackCapV = 0;
bandanaRedCapV = 1;
bandanaPinkCapV = 0;
bandanaColor_mc._y = -140;
bandanaCap2Color_mc._y = -140;
headPhoneColor_mc._y = -140;
bobbieHatsColorPanel_mc._y = -140;
bobbieColorV = 0;
headPhoneColorV = 0;
bandanaColorV = 0;
bandanaColorCap2V = 0;
hats2Unload();
} else if (bandanaRedCapV == 1) {
unloadMovie (bandanaCapRed_mc);
bandanaPinkCapV = 0;
}
};
var bandanaBlackCap2V = 0;
bandanaCap2Color_mc.bandanaCap2Black_btn.onRelease = function () {
if (bandanaBlackCap2V == 0) {
_root.attachMovie("bandanaCapBlack2_mc", "bandanaCapBlack2_mc", hatsLayerValue + 12, {_x:225, _y:49});
unloadMovie (bandanaCapPink2_mc);
headPhonesUnload();
bandanaCapUnload();
bandanaUnload();
helmetsAllUnload();
hoodedGone();
allHairGone();
hatsMiscUnload();
hats2Unload();
unloadMovie (bandanaCapRed2_mc);
unloadMovie (feodora1Hat_mc);
feodora1V = 0;
bandanaRedCap2V = 0;
bandanaPinkCap2V = 0;
headPhonesRemove();
bandanaCapRemove();
bandanaRemove();
bandanaBlackCap2V = 1;
bandanaBlueV = 0;
bandanaColor_mc._y = -140;
bandanaCapColor_mc._y = -140;
headPhoneColor_mc._y = -140;
bobbieHatsColorPanel_mc._y = -140;
bobbieColorV = 0;
headPhoneColorV = 0;
bandanaColorV = 0;
bandanaColorCapV = 0;
} else if (bandanaBlackCap2V == 1) {
unloadMovie (bandanaCapBlack2_mc);
bandanaBlackCap2V = 0;
}
};
var bandanaPinkCap2V = 0;
bandanaCap2Color_mc.bandanaCap2Pink_btn.onRelease = function () {
if (bandanaPinkCap2V == 0) {
_root.attachMovie("bandanaCapPink2_mc", "bandanaCapPink2_mc", hatsLayerValue + 13, {_x:225, _y:49});
headPhonesUnload();
bandanaCapUnload();
bandanaUnload();
helmetsAllUnload();
hoodedGone();
allHairGone();
hatsMiscUnload();
unloadMovie (bandanaCapRed2_mc);
unloadMovie (bandanaCapBlack2_mc);
unloadMovie (feodora1Hat_mc);
feodora1V = 0;
hats2Unload();
bandanaRedCap2V = 0;
headPhonesRemove();
bandanaCapRemove();
bandanaRemove();
bandanaBlackCap2V = 0;
bandanaPinkCap2V = 1;
bandanaColor_mc._y = -140;
bandanaCapColor_mc._y = -140;
headPhoneColor_mc._y = -140;
bobbieHatsColorPanel_mc._y = -140;
bobbieColorV = 0;
headPhoneColorV = 0;
bandanaColorV = 0;
bandanaColorCapV = 0;
} else if (bandanaPinkCap2V == 1) {
unloadMovie (bandanaCapPink2_mc);
bandanaPinkCap2V = 0;
}
};
var bandanaRedCap2V = 0;
bandanaCap2Color_mc.bandanaCap2Red_btn.onRelease = function () {
if (bandanaRedCap2V == 0) {
_root.attachMovie("bandanaCapRed2_mc", "bandanaCapRed2_mc", hatsLayerValue + 14, {_x:225, _y:49});
headPhonesUnload();
bandanaCapUnload();
bandanaUnload();
helmetsAllUnload();
hoodedGone();
allHairGone();
hatsMiscUnload();
unloadMovie (bandanaCapPink2_mc);
unloadMovie (bandanaCapBlack2_mc);
unloadMovie (feodora1Hat_mc);
feodora1V = 0;
hats2Unload();
headPhonesRemove();
bandanaCapRemove();
bandanaRemove();
bandanaBlackCap2V = 0;
bandanaPinkCap2V = 0;
bandanaRedCap2V = 1;
bandanaColor_mc._y = -140;
bandanaCapColor_mc._y = -140;
headPhoneColor_mc._y = -140;
bobbieHatsColorPanel_mc._y = -140;
bobbieColorV = 0;
headPhoneColorV = 0;
bandanaColorV = 0;
bandanaColorCapV = 0;
} else if (bandanaRedCap2V == 1) {
unloadMovie (bandanaCapRed2_mc);
bandanaRedCap2V = 0;
}
};
var headPhonesGreenV = 0;
headPhoneColor_mc.headPhoneGreen_btn.onRelease = function () {
if (headPhonesGreenV == 0) {
_root.attachMovie("headPhonesGreen_mc", "headPhonesGreen_mc", hatsLayerValue + 2, {_x:241, _y:12});
unloadMovie (headPhonesOrange_mc);
unloadMovie (headPhonesPink_mc);
unloadMovie (headPhonesPurple_mc);
unloadMovie (feodora1Hat_mc);
feodora1V = 0;
hats2Unload();
bandanaCapUnload();
bandanaUnload();
helmetsAllUnload();
hoodedGone();
allHairGone();
hatsMiscUnload();
bandanaCap2Unload();
bandanaCap2Remove();
bandanaCapRemove();
bandanaRemove();
headPhonesGreenV = 1;
headPhonesOrangeV = 0;
headPhonesPinkV = 0;
headPhonesPurpleV = 0;
bandanaColor_mc._y = -140;
bandanaCapColor_mc._y = -140;
bandanaCap2Color_mc._y = -140;
bobbieHatsColorPanel_mc._y = -140;
bobbieColorV = 0;
bandanaColorV = 0;
bandanaColorCapV = 0;
bandanaColorCap2V = 0;
} else if (headPhonesGreenV == 1) {
unloadMovie (headPhonesGreen_mc);
headPhonesGreenV = 0;
}
};
var headPhonesOrangeV = 0;
headPhoneColor_mc.headPhoneOrange_btn.onRelease = function () {
if (headPhonesOrangeV == 0) {
_root.attachMovie("headPhonesOrange_mc", "headPhonesOrange_mc", hatsLayerValue + 3, {_x:241, _y:12});
unloadMovie (headPhonesGreen_mc);
unloadMovie (headPhonesPink_mc);
unloadMovie (headPhonesPurple_mc);
unloadMovie (feodora1Hat_mc);
feodora1V = 0;
hats2Unload();
bandanaCapUnload();
bandanaUnload();
helmetsAllUnload();
hoodedGone();
allHairGone();
hatsMiscUnload();
bandanaCap2Unload();
bandanaCap2Remove();
bandanaCapRemove();
bandanaRemove();
headPhonesGreenV = 0;
headPhonesOrangeV = 1;
headPhonesPinkV = 0;
headPhonesPurpleV = 0;
bandanaColor_mc._y = -140;
bandanaCapColor_mc._y = -140;
bandanaCap2Color_mc._y = -140;
bobbieHatsColorPanel_mc._y = -140;
bobbieColorV = 0;
bandanaColorV = 0;
bandanaColorCapV = 0;
bandanaColorCap2V = 0;
} else if (headPhonesOrangeV == 1) {
unloadMovie (headPhonesOrange_mc);
headPhonesOrangeV = 0;
}
};
var headPhonesPinkV = 0;
headPhoneColor_mc.headPhonePink_btn.onRelease = function () {
if (headPhonesPinkV == 0) {
_root.attachMovie("headPhonesPink_mc", "headPhonesPink_mc", hatsLayerValue + 4, {_x:241, _y:12});
unloadMovie (headPhonesGreen_mc);
unloadMovie (headPhonesOrange_mc);
unloadMovie (headPhonesPurple_mc);
unloadMovie (feodora1Hat_mc);
feodora1V = 0;
bandanaCapUnload();
bandanaUnload();
helmetsAllUnload();
hoodedGone();
allHairGone();
hatsMiscUnload();
bandanaCap2Unload();
bandanaCap2Remove();
bandanaCapRemove();
bandanaRemove();
headPhonesGreenV = 0;
headPhonesOrangeV = 0;
headPhonesPinkV = 1;
headPhonesPurpleV = 0;
bandanaColor_mc._y = -140;
bandanaCapColor_mc._y = -140;
bandanaCap2Color_mc._y = -140;
bobbieHatsColorPanel_mc._y = -140;
bobbieColorV = 0;
bandanaColorV = 0;
bandanaColorCapV = 0;
bandanaColorCap2V = 0;
hats2Unload();
} else if (headPhonesPinkV == 1) {
unloadMovie (headPhonesPink_mc);
headPhonesPinkV = 0;
}
};
var headPhonesPurpleV = 0;
headPhoneColor_mc.headPhonePurple_btn.onRelease = function () {
if (headPhonesPurpleV == 0) {
_root.attachMovie("headPhonesPurple_mc", "headPhonesPurple_mc", hatsLayerValue + 5, {_x:241, _y:12});
unloadMovie (headPhonesGreen_mc);
unloadMovie (headPhonesOrange_mc);
unloadMovie (headPhonesPink_mc);
unloadMovie (feodora1Hat_mc);
feodora1V = 0;
bandanaCapUnload();
helmetsAllUnload();
hoodedGone();
allHairGone();
hatsMiscUnload();
bandanaUnload();
bandanaCap2Unload();
bandanaCap2Remove();
bandanaCapRemove();
bandanaRemove();
headPhonesGreenV = 0;
headPhonesOrangeV = 0;
headPhonesPinkV = 0;
headPhonesPurpleV = 1;
bandanaColor_mc._y = -140;
bandanaCapColor_mc._y = -140;
bandanaCap2Color_mc._y = -140;
bobbieHatsColorPanel_mc._y = -140;
bobbieColorV = 0;
bandanaColorV = 0;
bandanaColorCapV = 0;
bandanaColorCap2V = 0;
hats2Unload();
} else if (headPhonesPurpleV == 1) {
unloadMovie (headPhonesPurple_mc);
headPhonesPurpleV = 0;
}
};
var feodora1V = 0;
hatsMenu_mc.feodora1_btn.onRelease = function () {
if (feodora1V == 0) {
_root.attachMovie("feodora1Hat_mc", "feodora1Hat_mc", hatsLayerValue + 16, {_x:211.2, _y:32.5});
bandanaCapUnload();
helmetsAllUnload();
hoodedGone();
allHairGone();
hatsMiscUnload();
bandanaUnload();
bandanaCap2Unload();
bandanaCap2Remove();
bandanaCapRemove();
bandanaRemove();
headPhonesRemove();
headPhonesUnload();
feodora1V = 1;
hatsMenuUp();
hats2Unload();
} else if (feodora1V == 1) {
unloadMovie (feodora1Hat_mc);
feodora1V = 0;
}
hatsMenuUp();
};
var feodora2V = 0;
hatsMenu2_mc.feodora2_btn.onRelease = function () {
if (feodora2V == 0) {
_root.attachMovie("feodora2Hat_mc", "feodora2Hat_mc", hatsLayerValue + 17, {_x:218.3, _y:35.9});
unloadMovie (streetboyHat_mc);
unloadMovie (wastelandHat_mc);
unloadMovie (chineseHat_mc);
unloadMovie (bobbieGreen_mc);
unloadMovie (bobbieGrey_mc);
unloadMovie (bobbieRed_mc);
bobbieRedV = 0;
bobbieGreyV = 0;
bobbieGreenV = 0;
chineseV = 0;
wastelandV = 0;
streetboyV = 0;
hats1Unload();
helmetsAllUnload();
hoodedGone();
allHairGone();
hatsMiscUnload();
feodora2V = 1;
hatsMenuUp();
} else if (feodora2V == 1) {
unloadMovie (feodora2Hat_mc);
feodora2V = 0;
}
};
var streetboyV = 0;
hatsMenu2_mc.streetboyHat_btn.onRelease = function () {
if (streetboyV == 0) {
_root.attachMovie("streetboyHat_mc", "streetboyHat_mc", hatsLayerValue + 18, {_x:234.9, _y:42.8});
unloadMovie (feodora2Hat_mc);
unloadMovie (wastelandHat_mc);
unloadMovie (chineseHat_mc);
unloadMovie (bobbieGreen_mc);
unloadMovie (bobbieGrey_mc);
unloadMovie (bobbieRed_mc);
bobbieRedV = 0;
bobbieGreyV = 0;
bobbieGreenV = 0;
chineseV = 0;
wastelandV = 0;
feodora2V = 0;
hats1Unload();
helmetsAllUnload();
hoodedGone();
allHairGone();
hatsMiscUnload();
streetboyV = 1;
hatsMenuUp();
} else if (streetboyV == 1) {
unloadMovie (streetboyHat_mc);
streetboyV = 0;
}
};
var wastelandV = 0;
hatsMenu2_mc.wastelandHat_btn.onRelease = function () {
if (wastelandV == 0) {
_root.attachMovie("wastelandHat_mc", "wastelandHat_mc", hatsLayerValue + 19, {_x:215.4, _y:25.8});
unloadMovie (feodora2Hat_mc);
unloadMovie (streetboyHat_mc);
unloadMovie (chineseHat_mc);
unloadMovie (bobbieGreen_mc);
unloadMovie (bobbieGrey_mc);
unloadMovie (bobbieRed_mc);
bobbieRedV = 0;
bobbieGreyV = 0;
bobbieGreenV = 0;
chineseV = 0;
streetboyV = 0;
feodora2V = 0;
hats1Unload();
helmetsAllUnload();
hoodedGone();
allHairGone();
hatsMiscUnload();
wastelandV = 1;
hatsMenuUp();
} else if (wastelandV == 1) {
unloadMovie (wastelandHat_mc);
wastelandV = 0;
}
};
var chineseV = 0;
hatsMenu2_mc.chineseHat_btn.onRelease = function () {
if (chineseV == 0) {
_root.attachMovie("chineseHat_mc", "chineseHat_mc", hatsLayerValue + 20, {_x:203.3, _y:44.4});
unloadMovie (feodora2Hat_mc);
unloadMovie (streetboyHat_mc);
unloadMovie (wastelandHat_mc);
unloadMovie (bobbieGreen_mc);
unloadMovie (bobbieGrey_mc);
unloadMovie (bobbieRed_mc);
bobbieRedV = 0;
bobbieGreyV = 0;
bobbieGreenV = 0;
wastelandV = 0;
streetboyV = 0;
feodora2V = 0;
hats1Unload();
helmetsAllUnload();
hoodedGone();
allHairGone();
hatsMiscUnload();
chineseV = 1;
hatsMenuUp();
fullbeardsGone();
goateesGone();
} else if (chineseV == 1) {
unloadMovie (chineseHat_mc);
chineseV = 0;
}
};
var bobbieGreenV = 0;
bobbieHatsColorPanel_mc.bobbieGreen_btn.onRelease = function () {
if (bobbieGreenV == 0) {
_root.attachMovie("bobbieGreen_mc", "bobbieGreen_mc", hatsLayerValue + 21, {_x:247.6, _y:54});
helmetsAllUnload();
unloadMovie (feodora2Hat_mc);
unloadMovie (streetboyHat_mc);
unloadMovie (wastelandHat_mc);
unloadMovie (chineseHat_mc);
unloadMovie (bobbieGrey_mc);
unloadMovie (bobbieRed_mc);
bobbieRedV = 0;
hats1Unload();
bobbieGreyV = 0;
chineseV = 0;
wastelandV = 0;
streetboyV = 0;
feodora2V = 0;
hoodedGone();
allHairGone();
hatsMiscUnload();
bandanaColor_mc._y = -140;
bandanaCapColor_mc._y = -140;
bandanaCap2Color_mc._y = -140;
headPhoneColor_mc._y = -140;
headPhoneColorV = 0;
bandanaColorV = 0;
bandanaColorCapV = 0;
bandanaColorCap2V = 0;
} else if (bobbieGreenV == 1) {
unloadMovie (bobbieGreen_mc);
bobbieGreenV = 0;
}
};
var bobbieGreyV = 0;
bobbieHatsColorPanel_mc.bobbieGrey_btn.onRelease = function () {
if (bobbieGreyV == 0) {
_root.attachMovie("bobbieGrey_mc", "bobbieGrey_mc", hatsLayerValue + 22, {_x:247.6, _y:54});
helmetsAllUnload();
unloadMovie (feodora2Hat_mc);
unloadMovie (streetboyHat_mc);
unloadMovie (wastelandHat_mc);
unloadMovie (chineseHat_mc);
unloadMovie (bobbieGreen_mc);
unloadMovie (bobbieRed_mc);
bobbieRedV = 0;
bobbieGreenV = 0;
chineseV = 0;
wastelandV = 0;
streetboyV = 0;
feodora2V = 0;
hoodedGone();
allHairGone();
hatsMiscUnload();
bobbieGreyV = 1;
bandanaColor_mc._y = -140;
bandanaCapColor_mc._y = -140;
bandanaCap2Color_mc._y = -140;
headPhoneColor_mc._y = -140;
headPhoneColorV = 0;
bandanaColorV = 0;
bandanaColorCapV = 0;
bandanaColorCap2V = 0;
hats1Unload();
} else if (bobbieGreyV == 1) {
unloadMovie (bobbieGrey_mc);
bobbieGreyV = 0;
}
};
var bobbieRedV = 0;
bobbieHatsColorPanel_mc.bobbieRed_btn.onRelease = function () {
if (bobbieRedV == 0) {
_root.attachMovie("bobbieRed_mc", "bobbieRed_mc", hatsLayerValue + 23, {_x:247.6, _y:54});
helmetsAllUnload();
unloadMovie (feodora2Hat_mc);
unloadMovie (streetboyHat_mc);
unloadMovie (wastelandHat_mc);
unloadMovie (chineseHat_mc);
unloadMovie (bobbieGreen_mc);
unloadMovie (bobbieGrey_mc);
bobbieGreyV = 0;
bobbieGreenV = 0;
chineseV = 0;
wastelandV = 0;
streetboyV = 0;
feodora2V = 0;
hoodedGone();
allHairGone();
hatsMiscUnload();
bobbieRedV = 1;
bandanaColor_mc._y = -140;
bandanaCapColor_mc._y = -140;
bandanaCap2Color_mc._y = -140;
headPhoneColor_mc._y = -140;
headPhoneColorV = 0;
bandanaColorV = 0;
bandanaColorCapV = 0;
bandanaColorCap2V = 0;
hats1Unload();
} else if (bobbieRedV == 1) {
unloadMovie (bobbieRed_mc);
bobbieRedV = 0;
}
};
function menusOut() {
adjustTrans2_mc._x = 600;
adjustTrans2_mc._y = 79;
adjustTrans1_mc._x = 600;
adjustTrans1_mc._y = 79;
allColorPanelsUp();
menuHatsOut();
hatsOn = 0;
menuHelmetsOut();
helmetsOn = 0;
menuEyesOut();
eyesOn = 0;
menuEyes2Out();
eyes2On = 0;
menuBodyArmorOut();
bodyArmorOn = 0;
menuShirtsOut();
shirtsOn = 0;
menuPantsOut();
pantsOn = 0;
menuArmorLegsOut();
armorLegsOn = 0;
menuMeleeArmsOut();
otherMeleeOn = 0;
otherMeleeMenu2Out();
otherMelee2On = 0;
firearmsModernMenuOut();
firearmsModernOn = 0;
firearmsModernMenu2Out();
firearmsModern2On = 0;
swordsAncientArmoredMenuOut();
swordsAncientArmoredOn = 0;
swordsAncientArmoredMenu2Out();
swordsAncientArmoredOn = 0;
mouthMenuOut();
mouthMenuOn = 0;
mouthMenu2Out();
mouthMenu2On = 0;
creatureMouthMenuOut();
creatureMouthMenuOn = 0;
smokingMouthMenuOut();
smokingMouthMenuOn = 0;
eyeGearMenuOut();
eyeGearMenuOn = 0;
eyeGearMenu2Out();
eyeGearMenu2On = 0;
sunglassesMenuOut();
sunglassesMenuOn = 0;
sunglasses2MenuOut();
sunglassesMenu2On = 0;
glassesMenuOut();
glassesMenuOn = 0;
glassesMenu2Out();
glassesMenu2On = 0;
beardMenuOut();
beardMenuOn = 0;
beardMenu2Out();
beardMenu2On = 0;
hairMenuOut();
hairMenuOn = 0;
hairMenu2Out();
hairMenu2On = 0;
masksMenuOut();
masksMenuOn = 0;
masksMenu2Out();
masksMenu2On = 0;
firearmsOldMenuOut();
firearmsOldMenuOn = 0;
firearmsBigMenuOut();
firearmsBigMenuOn = 0;
futureArmsMenuOut();
futureArmsMenuOn = 0;
miscMenuOut();
miscMenuOn = 0;
dragTatooMenuOut();
dragBloodMenuOut();
hatsMenu2Out();
hatsMenu2On = 0;
helmetsMenu2Out();
helmetsMenu2On = 0;
shirtsMenu2Out();
shirtsMenu2On = 0;
otherTorsoMenuOut();
otherTorsoMenuOn = 0;
bodyArmorMenu2Out();
bodyArmorMenu2On = 0;
legsArmorMenu2Out();
legsArmorMenu2On = 0;
smallBladesMenuOut();
smallBladesMenuOn = 0;
alternativeWaysMenuOut();
alternativeWaysOn = 0;
alternativeWaysMenu2Out();
alternativeWays2On = 0;
necklaceMenuOut();
necklaceMenuOn = 0;
vestsMenuOut();
vestsMenuOn = 0;
tShirtMenuOut();
tShirtMenuOn = 0;
tShirtMenu2Out();
tShirtMenu2On = 0;
pantsLegsMenu2Out();
pantsLegsMenu2On = 0;
noseMenuOut();
noseMenu2Out();
noseMenuOn = 0;
noseMenu2On = 0;
wingsMenuOut();
wingsMenuOn = 0;
futureSwordsMenuOut();
futureSwordsMenuOn = 0;
miscHatsMenuOut();
miscHatsMenu2Out();
miscHatsMenuOn = 0;
fullBeardsMenuOut();
fullBeardsMenuOn = 0;
jacketsMenuOut();
jacketsMenuOn = 0;
otherPantsMenuOut();
otherPantsMenuOn = 0;
otherPantsMenu2Out();
otherPantsMenu2On = 0;
removeResetMenuOut();
removeResetMenuOn = 0;
mouthMenuRemove();
mouthMenuV = 0;
creatureMouthMenu2Out();
creatureMouthMenu2On = 0;
miscMenu2Out();
miscMenu2On = 0;
}
function menuHats() {
hatsMenu_mc._x = 550;
hatsMenu_mc._y = 0;
hatsMenu_mc.onEnterFrame = function () {
this._x = this._x - 5;
if (this._x < 455) {
delete this.onEnterFrame;
}
};
}
function menuHatsOut() {
hatsMenu_mc.onEnterFrame = function () {
this._x = this._x + 10;
if (this._x > 550) {
delete this.onEnterFrame;
}
};
}
function menuHelmets() {
helmetsMenu_mc._x = 550;
helmetsMenu_mc._y = 0;
helmetsMenu_mc.onEnterFrame = function () {
this._x = this._x - 5;
if (this._x < 455) {
delete this.onEnterFrame;
}
};
}
function menuHelmetsOut() {
helmetsMenu_mc.onEnterFrame = function () {
this._x = this._x + 10;
if (this._x > 550) {
delete this.onEnterFrame;
}
};
}
function menuEyes() {
eyesMenu_mc._x = 550;
eyesMenu_mc._y = 0;
eyesMenu_mc.onEnterFrame = function () {
this._x = this._x - 5;
if (this._x < 455) {
delete this.onEnterFrame;
}
};
}
function menuEyesOut() {
eyesMenu_mc.onEnterFrame = function () {
this._x = this._x + 10;
if (this._x > 550) {
delete this.onEnterFrame;
}
};
}
function menuEyes2() {
eyesMenu2_mc._x = 550;
eyesMenu2_mc._y = 0;
eyesMenu2_mc.onEnterFrame = function () {
this._x = this._x - 5;
if (this._x < 455) {
delete this.onEnterFrame;
}
};
}
function menuEyes2Out() {
eyesMenu2_mc.onEnterFrame = function () {
this._x = this._x + 10;
if (this._x > 550) {
delete this.onEnterFrame;
}
};
}
function menuBodyArmor() {
bodyArmorMenu_mc._x = 550;
bodyArmorMenu_mc._y = 0;
bodyArmorMenu_mc.onEnterFrame = function () {
this._x = this._x - 5;
if (this._x < 455) {
delete this.onEnterFrame;
}
};
}
function menuBodyArmorOut() {
bodyArmorMenu_mc.onEnterFrame = function () {
this._x = this._x + 10;
if (this._x > 550) {
delete this.onEnterFrame;
}
};
}
function menuShirts() {
shirtsMenu_mc._x = 550;
shirtsMenu_mc._y = 0;
shirtsMenu_mc.onEnterFrame = function () {
this._x = this._x - 5;
if (this._x < 455) {
delete this.onEnterFrame;
}
};
}
function menuShirtsOut() {
shirtsMenu_mc.onEnterFrame = function () {
this._x = this._x + 10;
if (this._x > 550) {
delete this.onEnterFrame;
}
};
}
function menuPants() {
pantsLegsMenu_mc._x = 550;
pantsLegsMenu_mc._y = 0;
pantsLegsMenu_mc.onEnterFrame = function () {
this._x = this._x - 5;
if (this._x < 455) {
delete this.onEnterFrame;
}
};
}
function menuPantsOut() {
pantsLegsMenu_mc.onEnterFrame = function () {
this._x = this._x + 10;
if (this._x > 550) {
delete this.onEnterFrame;
}
};
}
function menuArmorLegs() {
armorLegsMenu_mc._x = 550;
armorLegsMenu_mc._y = 0;
armorLegsMenu_mc.onEnterFrame = function () {
this._x = this._x - 5;
if (this._x < 455) {
delete this.onEnterFrame;
}
};
}
function menuArmorLegsOut() {
armorLegsMenu_mc.onEnterFrame = function () {
this._x = this._x + 10;
if (this._x > 550) {
delete this.onEnterFrame;
}
};
}
function menuMeleeArms() {
otherMeleeArmsMenu_mc._x = 550;
otherMeleeArmsMenu_mc._y = 0;
otherMeleeArmsMenu_mc.onEnterFrame = function () {
this._x = this._x - 5;
if (this._x < 455) {
delete this.onEnterFrame;
}
};
}
function menuMeleeArmsOut() {
otherMeleeArmsMenu_mc.onEnterFrame = function () {
this._x = this._x + 10;
if (this._x > 550) {
delete this.onEnterFrame;
}
};
}
function otherMeleeMenu2() {
otherMeleeMenu2_mc._x = 550;
otherMeleeMenu2_mc._y = 0;
otherMeleeMenu2_mc.onEnterFrame = function () {
this._x = this._x - 5;
if (this._x < 455) {
delete this.onEnterFrame;
}
};
}
function otherMeleeMenu2Out() {
otherMeleeMenu2_mc.onEnterFrame = function () {
this._x = this._x + 10;
if (this._x > 550) {
delete this.onEnterFrame;
}
};
}
function firearmsModernMenu() {
firearmsModernMenu_mc._x = 550;
firearmsModernMenu_mc._y = 0;
firearmsModernMenu_mc.onEnterFrame = function () {
this._x = this._x - 5;
if (this._x < 455) {
delete this.onEnterFrame;
}
};
}
function firearmsModernMenuOut() {
firearmsModernMenu_mc.onEnterFrame = function () {
this._x = this._x + 10;
if (this._x > 550) {
delete this.onEnterFrame;
}
};
}
function firearmsModernMenu2() {
firearmsModernMenu2_mc._x = 550;
firearmsModernMenu2_mc._y = 0;
firearmsModernMenu2_mc.onEnterFrame = function () {
this._x = this._x - 5;
if (this._x < 455) {
delete this.onEnterFrame;
}
};
}
function firearmsModernMenu2Out() {
firearmsModernMenu2_mc.onEnterFrame = function () {
this._x = this._x + 10;
if (this._x > 550) {
delete this.onEnterFrame;
}
};
}
function swordsAncientArmoredMenu() {
swordsAncientArmoredMenu_mc._x = 550;
swordsAncientArmoredMenu_mc._y = 0;
swordsAncientArmoredMenu_mc.onEnterFrame = function () {
this._x = this._x - 5;
if (this._x < 455) {
delete this.onEnterFrame;
}
};
}
function swordsAncientArmoredMenuOut() {
swordsAncientArmoredMenu_mc.onEnterFrame = function () {
this._x = this._x + 10;
if (this._x > 550) {
delete this.onEnterFrame;
}
};
}
function swordsAncientArmoredMenu2() {
swordsAncientArmoredMenu2_mc._x = 550;
swordsAncientArmoredMenu2_mc._y = 0;
swordsAncientArmoredMenu2_mc.onEnterFrame = function () {
this._x = this._x - 5;
if (this._x < 455) {
delete this.onEnterFrame;
}
};
}
function swordsAncientArmoredMenu2Out() {
swordsAncientArmoredMenu2_mc.onEnterFrame = function () {
this._x = this._x + 10;
if (this._x > 550) {
delete this.onEnterFrame;
}
};
}
function mouthMenu() {
mouthMenu_mc._x = 550;
mouthMenu_mc._y = 0;
mouthMenu_mc.onEnterFrame = function () {
this._x = this._x - 5;
if (this._x < 455) {
delete this.onEnterFrame;
}
};
}
function mouthMenuOut() {
mouthMenu_mc.onEnterFrame = function () {
this._x = this._x + 10;
if (this._x > 550) {
delete this.onEnterFrame;
}
};
}
function mouthMenu2() {
mouthMenu2_mc._x = 550;
mouthMenu2_mc._y = 0;
mouthMenu2_mc.onEnterFrame = function () {
this._x = this._x - 5;
if (this._x < 455) {
delete this.onEnterFrame;
}
};
}
function mouthMenu2Out() {
mouthMenu2_mc.onEnterFrame = function () {
this._x = this._x + 10;
if (this._x > 550) {
delete this.onEnterFrame;
}
};
}
function creatureMouthMenu() {
creatureMouthMenu_mc._x = 550;
creatureMouthMenu_mc._y = 0;
creatureMouthMenu_mc.onEnterFrame = function () {
this._x = this._x - 5;
if (this._x < 455) {
delete this.onEnterFrame;
}
};
}
function creatureMouthMenuOut() {
creatureMouthMenu_mc.onEnterFrame = function () {
this._x = this._x + 10;
if (this._x > 550) {
delete this.onEnterFrame;
}
};
}
function smokingMouthMenu() {
smokingMouthMenu_mc._x = 550;
smokingMouthMenu_mc._y = 0;
smokingMouthMenu_mc.onEnterFrame = function () {
this._x = this._x - 5;
if (this._x < 455) {
delete this.onEnterFrame;
}
};
}
function smokingMouthMenuOut() {
smokingMouthMenu_mc.onEnterFrame = function () {
this._x = this._x + 10;
if (this._x > 550) {
delete this.onEnterFrame;
}
};
}
function eyeGearMenu() {
eyeGearMenu1_mc._x = 550;
eyeGearMenu1_mc._y = 0;
eyeGearMenu1_mc.onEnterFrame = function () {
this._x = this._x - 5;
if (this._x < 455) {
delete this.onEnterFrame;
}
};
}
function eyeGearMenuOut() {
eyeGearMenu1_mc.onEnterFrame = function () {
this._x = this._x + 10;
if (this._x > 550) {
delete this.onEnterFrame;
}
};
}
function eyeGearMenu2() {
eyeGearMenu2_mc._x = 550;
eyeGearMenu2_mc._y = 0;
eyeGearMenu2_mc.onEnterFrame = function () {
this._x = this._x - 5;
if (this._x < 455) {
delete this.onEnterFrame;
}
};
}
function eyeGearMenu2Out() {
eyeGearMenu2_mc.onEnterFrame = function () {
this._x = this._x + 10;
if (this._x > 550) {
delete this.onEnterFrame;
}
};
}
function sunglassesMenu() {
sunglassesMenu1_mc._x = 550;
sunglassesMenu1_mc._y = 0;
sunglassesMenu1_mc.onEnterFrame = function () {
this._x = this._x - 5;
if (this._x < 455) {
delete this.onEnterFrame;
}
};
}
function sunglassesMenuOut() {
sunglassesMenu1_mc.onEnterFrame = function () {
this._x = this._x + 10;
if (this._x > 550) {
delete this.onEnterFrame;
}
};
}
function sunglasses2Menu() {
sunglassesMenu2_mc._x = 550;
sunglassesMenu2_mc._y = 0;
sunglassesMenu2_mc.onEnterFrame = function () {
this._x = this._x - 5;
if (this._x < 455) {
delete this.onEnterFrame;
}
};
}
function sunglasses2MenuOut() {
sunglassesMenu2_mc.onEnterFrame = function () {
this._x = this._x + 10;
if (this._x > 550) {
delete this.onEnterFrame;
}
};
}
function glassesMenu() {
glassesMenu_mc._x = 550;
glassesMenu_mc._y = 0;
glassesMenu_mc.onEnterFrame = function () {
this._x = this._x - 5;
if (this._x < 455) {
delete this.onEnterFrame;
}
};
}
function glassesMenuOut() {
glassesMenu_mc.onEnterFrame = function () {
this._x = this._x + 10;
if (this._x > 550) {
delete this.onEnterFrame;
}
};
}
function glassesMenu2() {
glassesMenu2_mc._x = 550;
glassesMenu2_mc._y = 0;
glassesMenu2_mc.onEnterFrame = function () {
this._x = this._x - 5;
if (this._x < 455) {
delete this.onEnterFrame;
}
};
}
function glassesMenu2Out() {
glassesMenu2_mc.onEnterFrame = function () {
this._x = this._x + 10;
if (this._x > 550) {
delete this.onEnterFrame;
}
};
}
function beardMenu() {
beardMenu_mc._x = 550;
beardMenu_mc._y = 0;
beardMenu_mc.onEnterFrame = function () {
this._x = this._x - 5;
if (this._x < 455) {
delete this.onEnterFrame;
}
};
}
function beardMenuOut() {
beardMenu_mc.onEnterFrame = function () {
this._x = this._x + 10;
if (this._x > 550) {
delete this.onEnterFrame;
}
};
}
function beardMenu2() {
beardMenu2_mc._x = 550;
beardMenu2_mc._y = 0;
beardMenu2_mc.onEnterFrame = function () {
this._x = this._x - 5;
if (this._x < 455) {
delete this.onEnterFrame;
}
};
}
function beardMenu2Out() {
beardMenu2_mc.onEnterFrame = function () {
this._x = this._x + 10;
if (this._x > 550) {
delete this.onEnterFrame;
}
};
}
function beardMenu3() {
beardMenu3_mc._x = 550;
beardMenu3_mc._y = 0;
beardMenu3_mc.onEnterFrame = function () {
this._x = this._x - 5;
if (this._x < 455) {
delete this.onEnterFrame;
}
};
}
function beardMenu3Out() {
beardMenu3_mc.onEnterFrame = function () {
this._x = this._x + 10;
if (this._x > 550) {
delete this.onEnterFrame;
}
};
}
function hairMenu() {
hairMenu_mc._x = 550;
hairMenu_mc._y = 0;
hairMenu_mc.onEnterFrame = function () {
this._x = this._x - 5;
if (this._x < 455) {
delete this.onEnterFrame;
}
};
}
function hairMenuOut() {
hairMenu_mc.onEnterFrame = function () {
this._x = this._x + 10;
if (this._x > 550) {
delete this.onEnterFrame;
}
};
}
function hairMenu2() {
hairMenu2_mc._x = 550;
hairMenu2_mc._y = 0;
hairMenu2_mc.onEnterFrame = function () {
this._x = this._x - 5;
if (this._x < 455) {
delete this.onEnterFrame;
}
};
}
function hairMenu2Out() {
hairMenu2_mc.onEnterFrame = function () {
this._x = this._x + 10;
if (this._x > 550) {
delete this.onEnterFrame;
}
};
}
function masksMenu() {
masksMenu_mc._x = 550;
masksMenu_mc._y = 0;
masksMenu_mc.onEnterFrame = function () {
this._x = this._x - 5;
if (this._x < 455) {
delete this.onEnterFrame;
}
};
}
function masksMenuOut() {
masksMenu_mc.onEnterFrame = function () {
this._x = this._x + 10;
if (this._x > 550) {
delete this.onEnterFrame;
}
};
}
function masksMenu2() {
masksMenu2_mc._x = 550;
masksMenu2_mc._y = 0;
masksMenu2_mc.onEnterFrame = function () {
this._x = this._x - 5;
if (this._x < 455) {
delete this.onEnterFrame;
}
};
}
function masksMenu2Out() {
masksMenu2_mc.onEnterFrame = function () {
this._x = this._x + 10;
if (this._x > 550) {
delete this.onEnterFrame;
}
};
}
function firearmsOldMenu() {
firearmsOldMenu_mc._x = 550;
firearmsOldMenu_mc._y = 0;
firearmsOldMenu_mc.onEnterFrame = function () {
this._x = this._x - 5;
if (this._x < 455) {
delete this.onEnterFrame;
}
};
}
function firearmsOldMenuOut() {
firearmsOldMenu_mc.onEnterFrame = function () {
this._x = this._x + 10;
if (this._x > 550) {
delete this.onEnterFrame;
}
};
}
function firearmsBigMenu() {
firearmsBigMenu_mc._x = 550;
firearmsBigMenu_mc._y = 0;
firearmsBigMenu_mc.onEnterFrame = function () {
this._x = this._x - 5;
if (this._x < 455) {
delete this.onEnterFrame;
}
};
}
function firearmsBigMenuOut() {
firearmsBigMenu_mc.onEnterFrame = function () {
this._x = this._x + 10;
if (this._x > 550) {
delete this.onEnterFrame;
}
};
}
function futureArmsMenu() {
futureArmsMenu_mc._x = 550;
futureArmsMenu_mc._y = 0;
futureArmsMenu_mc.onEnterFrame = function () {
this._x = this._x - 5;
if (this._x < 455) {
delete this.onEnterFrame;
}
};
}
function futureArmsMenuOut() {
futureArmsMenu_mc.onEnterFrame = function () {
this._x = this._x + 10;
if (this._x > 550) {
delete this.onEnterFrame;
}
};
}
function miscMenu() {
miscMenu_mc._x = 550;
miscMenu_mc._y = 0;
miscMenu_mc.onEnterFrame = function () {
this._x = this._x - 5;
if (this._x < 455) {
delete this.onEnterFrame;
}
};
}
function miscMenuOut() {
miscMenu_mc.onEnterFrame = function () {
this._x = this._x + 10;
if (this._x > 550) {
delete this.onEnterFrame;
}
};
}
function hatsMenu2() {
hatsMenu2_mc._x = 550;
hatsMenu2_mc._y = 0;
hatsMenu2_mc.onEnterFrame = function () {
this._x = this._x - 5;
if (this._x < 455) {
delete this.onEnterFrame;
}
};
}
function hatsMenu2Out() {
hatsMenu2_mc.onEnterFrame = function () {
this._x = this._x + 10;
if (this._x > 550) {
delete this.onEnterFrame;
}
};
}
function helmetsMenu2() {
helmetsMenu2_mc._x = 550;
helmetsMenu2_mc._y = 0;
helmetsMenu2_mc.onEnterFrame = function () {
this._x = this._x - 5;
if (this._x < 455) {
delete this.onEnterFrame;
}
};
}
function helmetsMenu2Out() {
helmetsMenu2_mc.onEnterFrame = function () {
this._x = this._x + 10;
if (this._x > 550) {
delete this.onEnterFrame;
}
};
}
function shirtsMenu2() {
shirtsMenu2_mc._x = 550;
shirtsMenu2_mc._y = 0;
shirtsMenu2_mc.onEnterFrame = function () {
this._x = this._x - 5;
if (this._x < 455) {
delete this.onEnterFrame;
}
};
}
function shirtsMenu2Out() {
shirtsMenu2_mc.onEnterFrame = function () {
this._x = this._x + 10;
if (this._x > 550) {
delete this.onEnterFrame;
}
};
}
function otherTorsoMenu() {
otherTorsoMenu_mc._x = 550;
otherTorsoMenu_mc._y = 0;
otherTorsoMenu_mc.onEnterFrame = function () {
this._x = this._x - 5;
if (this._x < 455) {
delete this.onEnterFrame;
}
};
}
function otherTorsoMenuOut() {
otherTorsoMenu_mc.onEnterFrame = function () {
this._x = this._x + 10;
if (this._x > 550) {
delete this.onEnterFrame;
}
};
}
function bodyArmorMenu2() {
bodyArmorMenu2_mc._x = 550;
bodyArmorMenu2_mc._y = 0;
bodyArmorMenu2_mc.onEnterFrame = function () {
this._x = this._x - 5;
if (this._x < 455) {
delete this.onEnterFrame;
}
};
}
function bodyArmorMenu2Out() {
bodyArmorMenu2_mc.onEnterFrame = function () {
this._x = this._x + 10;
if (this._x > 550) {
delete this.onEnterFrame;
}
};
}
function legsArmorMenu2() {
armorLegsMenu2_mc._x = 550;
armorLegsMenu2_mc._y = 0;
armorLegsMenu2_mc.onEnterFrame = function () {
this._x = this._x - 5;
if (this._x < 455) {
delete this.onEnterFrame;
}
};
}
function legsArmorMenu2Out() {
armorLegsMenu2_mc.onEnterFrame = function () {
this._x = this._x + 10;
if (this._x > 550) {
delete this.onEnterFrame;
}
};
}
function smallBladesMenu() {
smallBladesMenu_mc._x = 550;
smallBladesMenu_mc._y = 0;
smallBladesMenu_mc.onEnterFrame = function () {
this._x = this._x - 5;
if (this._x < 455) {
delete this.onEnterFrame;
}
};
}
function smallBladesMenuOut() {
smallBladesMenu_mc.onEnterFrame = function () {
this._x = this._x + 10;
if (this._x > 550) {
delete this.onEnterFrame;
}
};
}
function alternativeWaysMenu() {
alternativeWaysMenu_mc._x = 550;
alternativeWaysMenu_mc._y = 0;
alternativeWaysMenu_mc.onEnterFrame = function () {
this._x = this._x - 5;
if (this._x < 455) {
delete this.onEnterFrame;
}
};
}
function alternativeWaysMenuOut() {
alternativeWaysMenu_mc.onEnterFrame = function () {
this._x = this._x + 10;
if (this._x > 550) {
delete this.onEnterFrame;
}
};
}
function alternativeWaysMenu2() {
alternativeWaysMenu2_mc._x = 550;
alternativeWaysMenu2_mc._y = 0;
alternativeWaysMenu2_mc.onEnterFrame = function () {
this._x = this._x - 5;
if (this._x < 455) {
delete this.onEnterFrame;
}
};
}
function alternativeWaysMenu2Out() {
alternativeWaysMenu2_mc.onEnterFrame = function () {
this._x = this._x + 10;
if (this._x > 550) {
delete this.onEnterFrame;
}
};
}
function necklaceMenu() {
necklaceMenu_mc._x = 550;
necklaceMenu_mc._y = 0;
necklaceMenu_mc.onEnterFrame = function () {
this._x = this._x - 5;
if (this._x < 455) {
delete this.onEnterFrame;
}
};
}
function necklaceMenuOut() {
necklaceMenu_mc.onEnterFrame = function () {
this._x = this._x + 10;
if (this._x > 550) {
delete this.onEnterFrame;
}
};
}
function vestsMenu() {
vestsMenu_mc._x = 550;
vestsMenu_mc._y = 0;
vestsMenu_mc.onEnterFrame = function () {
this._x = this._x - 5;
if (this._x < 455) {
delete this.onEnterFrame;
}
};
}
function vestsMenuOut() {
vestsMenu_mc.onEnterFrame = function () {
this._x = this._x + 10;
if (this._x > 550) {
delete this.onEnterFrame;
}
};
}
function tShirtMenu() {
tShirtsMenu_mc._x = 550;
tShirtsMenu_mc._y = 0;
tShirtsMenu_mc.onEnterFrame = function () {
this._x = this._x - 5;
if (this._x < 455) {
delete this.onEnterFrame;
}
};
}
function tShirtMenuOut() {
tShirtsMenu_mc.onEnterFrame = function () {
this._x = this._x + 10;
if (this._x > 550) {
delete this.onEnterFrame;
}
};
}
function tShirtMenu2() {
tShirtsMenu2_mc._x = 550;
tShirtsMenu2_mc._y = 0;
tShirtsMenu2_mc.onEnterFrame = function () {
this._x = this._x - 5;
if (this._x < 455) {
delete this.onEnterFrame;
}
};
}
function tShirtMenu2Out() {
tShirtsMenu2_mc.onEnterFrame = function () {
this._x = this._x + 10;
if (this._x > 550) {
delete this.onEnterFrame;
}
};
}
function pantsLegsMenu2() {
pantsLegsMenu2_mc._x = 550;
pantsLegsMenu2_mc._y = 0;
pantsLegsMenu2_mc.onEnterFrame = function () {
this._x = this._x - 5;
if (this._x < 455) {
delete this.onEnterFrame;
}
};
}
function pantsLegsMenu2Out() {
pantsLegsMenu2_mc.onEnterFrame = function () {
this._x = this._x + 10;
if (this._x > 550) {
delete this.onEnterFrame;
}
};
}
function noseMenu() {
noseMenu_mc._x = 550;
noseMenu_mc._y = 0;
noseMenu_mc.onEnterFrame = function () {
this._x = this._x - 5;
if (this._x < 455) {
delete this.onEnterFrame;
}
};
}
function noseMenuOut() {
noseMenu_mc.onEnterFrame = function () {
this._x = this._x + 10;
if (this._x > 550) {
delete this.onEnterFrame;
}
};
}
function noseMenu2() {
noseMenu2_mc._x = 550;
noseMenu2_mc._y = 0;
noseMenu2_mc.onEnterFrame = function () {
this._x = this._x - 5;
if (this._x < 455) {
delete this.onEnterFrame;
}
};
}
function noseMenu2Out() {
noseMenu2_mc.onEnterFrame = function () {
this._x = this._x + 10;
if (this._x > 550) {
delete this.onEnterFrame;
}
};
}
function wingsMenu() {
wingsMenu_mc._x = 550;
wingsMenu_mc._y = 0;
wingsMenu_mc.onEnterFrame = function () {
this._x = this._x - 5;
if (this._x < 455) {
delete this.onEnterFrame;
}
};
}
function wingsMenuOut() {
wingsMenu_mc.onEnterFrame = function () {
this._x = this._x + 10;
if (this._x > 550) {
delete this.onEnterFrame;
}
};
}
function futureSwordsMenu() {
futureSwordsMenu_mc._x = 550;
futureSwordsMenu_mc._y = 0;
futureSwordsMenu_mc.onEnterFrame = function () {
this._x = this._x - 5;
if (this._x < 455) {
delete this.onEnterFrame;
}
};
}
function futureSwordsMenuOut() {
futureSwordsMenu_mc.onEnterFrame = function () {
this._x = this._x + 10;
if (this._x > 550) {
delete this.onEnterFrame;
}
};
}
function miscHatsMenu() {
miscHatsMenu_mc._x = 550;
miscHatsMenu_mc._y = 0;
miscHatsMenu_mc.onEnterFrame = function () {
this._x = this._x - 5;
if (this._x < 455) {
delete this.onEnterFrame;
}
};
}
function miscHatsMenuOut() {
miscHatsMenu_mc.onEnterFrame = function () {
this._x = this._x + 10;
if (this._x > 550) {
delete this.onEnterFrame;
}
};
}
function miscHatsMenu2() {
miscHatsMenu2_mc._x = 550;
miscHatsMenu2_mc._y = 0;
miscHatsMenu2_mc.onEnterFrame = function () {
this._x = this._x - 5;
if (this._x < 455) {
delete this.onEnterFrame;
}
};
}
function miscHatsMenu2Out() {
miscHatsMenu2_mc.onEnterFrame = function () {
this._x = this._x + 10;
if (this._x > 550) {
delete this.onEnterFrame;
}
};
}
function fullBeardsMenu() {
fullBeardMenu_mc._x = 550;
fullBeardMenu_mc._y = 0;
fullBeardMenu_mc.onEnterFrame = function () {
this._x = this._x - 5;
if (this._x < 455) {
delete this.onEnterFrame;
}
};
}
function fullBeardsMenuOut() {
fullBeardMenu_mc.onEnterFrame = function () {
this._x = this._x + 10;
if (this._x > 550) {
delete this.onEnterFrame;
}
};
}
function jacketsMenu() {
jacketsMenu_mc._x = 550;
jacketsMenu_mc._y = 0;
jacketsMenu_mc.onEnterFrame = function () {
this._x = this._x - 5;
if (this._x < 455) {
delete this.onEnterFrame;
}
};
}
function jacketsMenuOut() {
jacketsMenu_mc.onEnterFrame = function () {
this._x = this._x + 10;
if (this._x > 550) {
delete this.onEnterFrame;
}
};
}
function otherPantsMenu() {
otherPantsMenu_mc._x = 550;
otherPantsMenu_mc._y = 0;
otherPantsMenu_mc.onEnterFrame = function () {
this._x = this._x - 5;
if (this._x < 455) {
delete this.onEnterFrame;
}
};
}
function otherPantsMenuOut() {
otherPantsMenu_mc.onEnterFrame = function () {
this._x = this._x + 10;
if (this._x > 550) {
delete this.onEnterFrame;
}
};
}
function otherPantsMenu2() {
otherPantsMenu2_mc._x = 550;
otherPantsMenu2_mc._y = 0;
otherPantsMenu2_mc.onEnterFrame = function () {
this._x = this._x - 5;
if (this._x < 455) {
delete this.onEnterFrame;
}
};
}
function otherPantsMenu2Out() {
otherPantsMenu2_mc.onEnterFrame = function () {
this._x = this._x + 10;
if (this._x > 550) {
delete this.onEnterFrame;
}
};
}
function removeResetMenu() {
resetMenu_mc._x = 580;
resetMenu_mc._y = 0;
resetMenu_mc.onEnterFrame = function () {
this._x = this._x - 5;
if (this._x == 450) {
delete this.onEnterFrame;
}
};
}
function removeResetMenuOut() {
resetMenu_mc.onEnterFrame = function () {
this._x = this._x + 10;
if (this._x > 580) {
delete this.onEnterFrame;
this._x = 580;
}
};
}
function creatureMouthMenu2() {
creatureMouthMenu2_mc._x = 580;
creatureMouthMenu2_mc._y = 0;
creatureMouthMenu2_mc.onEnterFrame = function () {
this._x = this._x - 5;
if (this._x == 450) {
delete this.onEnterFrame;
}
};
}
function creatureMouthMenu2Out() {
creatureMouthMenu2_mc.onEnterFrame = function () {
this._x = this._x + 10;
if (this._x > 580) {
delete this.onEnterFrame;
this._x = 580;
}
};
}
function miscMenu2() {
miscMenu2_mc._x = 580;
miscMenu2_mc._y = 0;
miscMenu2_mc.onEnterFrame = function () {
this._x = this._x - 5;
if (this._x == 450) {
delete this.onEnterFrame;
}
};
}
function miscMenu2Out() {
miscMenu2_mc.onEnterFrame = function () {
this._x = this._x + 10;
if (this._x > 580) {
delete this.onEnterFrame;
this._x = 580;
}
};
}
var removeResetMenuOn = 0;
slideInDown_mc.removeReset_btn.onRelease = function () {
if (removeResetMenuOn == 0) {
menusOut();
removeResetMenu();
removeResetMenuOn = 1;
backgroundGone();
} else if (removeResetMenuOn == 1) {
removeResetMenuOut();
removeResetMenuOn = 0;
backgroundGone();
}
};
var otherPantsMenuOn = 0;
futureLegsDrop_mc.futureLegsDrop_btn.onRelease = function () {
if (otherPantsMenuOn == 0) {
menusOut();
otherPantsMenu();
otherPantsMenuOn = 1;
legsRemove();
backgroundGone();
legsOn = 0;
} else if (otherPantsMenuOn == 1) {
otherPantsMenuOut();
otherPantsMenuOn = 0;
legsRemove();
backgroundGone();
legsOn = 0;
}
};
otherPantsMenu_mc.moreOtherPants_btn.onRelease = function () {
otherPantsMenuOn = 0;
menusOut();
otherPantsMenu2();
};
otherPantsMenu2_mc.backOtherPants_btn.onRelease = function () {
otherPantsMenuOn = 1;
menusOut();
otherPantsMenu();
};
var jacketsMenuOn = 0;
jackets_mc.jackets_btn.onRelease = function () {
if (jacketsMenuOn == 0) {
menusOut();
jacketsMenu();
jacketsMenuOn = 1;
torsoRemove();
backgroundGone();
torsoOn = 0;
} else if (jacketsMenuOn == 1) {
jacketsMenuOut();
jacketsMenuOn = 0;
torsoRemove();
backgroundGone();
torsoOn = 0;
}
};
var fullBeardsMenuOn = 0;
facialDrop_mc.facialHairMenu_btn.onRelease = function () {
if (fullBeardsMenuOn == 0) {
menusOut();
fullBeardsMenu();
fullBeardsMenuOn = 1;
hairRemove();
backgroundGone();
hairOn = 0;
} else if (fullBeardsMenuOn == 1) {
fullBeardsMenuOut();
fullBeardsMenuOn = 0;
hairRemove();
backgroundGone();
hairOn = 0;
}
};
var miscHatsMenuOn = 0;
miscHatsDrop_mc.miscHatsMenu_btn.onRelease = function () {
if (miscHatsMenuOn == 0) {
menusOut();
miscHatsMenu();
miscHatsMenuOn = 1;
hairRemove();
backgroundGone();
hairOn = 0;
} else if (miscHatsMenuOn == 1) {
miscHatsMenuOut();
miscHatsMenuOn = 0;
hairRemove();
backgroundGone();
hairOn = 0;
}
};
miscHatsMenu_mc.moreMiscHats_btn.onRelease = function () {
miscHatsMenuOn = 0;
menusOut();
miscHatsMenu2();
};
miscHatsMenu2_mc.backMiscHats_btn.onRelease = function () {
miscHatsMenuOn = 1;
menusOut();
miscHatsMenu();
};
var futureSwordsMenuOn = 0;
swordsFuture_mc.swordsFuture_btn.onRelease = function () {
if (futureSwordsMenuOn == 0) {
menusOut();
weaponsRemove();
firearmsMenuRemove();
backgroundGone();
weaponsOn = 0;
futureSwordsMenu();
futureSwordsMenuOn = 1;
} else if (futureSwordsMenuOn == 1) {
futureSwordsMenuOut();
futureSwordsMenuOn = 0;
}
};
var wingsMenuOn = 0;
buttons_mc.backpacks_btn.onRelease = function () {
if (wingsMenuOn == 0) {
menusOut();
dropDownGone();
firearmsMenuRemove();
mouthMenuRemove();
wingsMenu();
wingsMenuOn = 1;
backgroundGone();
} else if (wingsMenuOn == 1) {
wingsMenuOut();
wingsMenuOn = 0;
backgroundGone();
}
};
var noseMenuOn = 0;
noseDrop_mc.noseMenu_btn.onRelease = function () {
if (noseMenuOn == 0) {
menusOut();
noseMenu();
noseMenuOn = 1;
faceRemove();
mouthMenuRemove();
backgroundGone();
faceOn = 0;
} else if (noseMenuOn == 1) {
noseMenuOut();
noseMenuOn = 0;
faceRemove();
backgroundGone();
faceOn = 0;
}
};
noseMenu_mc.moreNoses_btn.onRelease = function () {
noseMenuOn = 0;
menusOut();
noseMenu2();
};
noseMenu2_mc.backNoses_btn.onRelease = function () {
noseMenuOn = 1;
menusOut();
noseMenu();
};
pantsLegsMenu_mc.moreLegs_btn.onRelease = function () {
pantsOn = 0;
menusOut();
pantsLegsMenu2();
};
pantsLegsMenu2_mc.backLegs_btn.onRelease = function () {
pantsOn = 1;
menusOut();
menuPants();
};
var tShirtMenuOn = 0;
tShirtsTorsoDrop_mc.tShirtsTorsoDrop_btn.onRelease = function () {
if (tShirtMenuOn == 0) {
menusOut();
tShirtMenu();
torsoRemove();
backgroundGone();
torsoOn = 0;
tShirtMenuOn = 1;
} else if (tShirtMenuOn == 1) {
tShirtMenuOut();
tShirtMenuOn = 0;
torsoRemove();
backgroundGone();
torsoOn = 0;
}
};
tShirtsMenu_mc.moreShirts_btn.onRelease = function () {
tShirtMenuOn = 0;
menusOut();
tShirtMenu2();
};
tShirtsMenu2_mc.backShirts_btn.onRelease = function () {
tShirtMenuOn = 1;
menusOut();
tShirtMenu();
};
var vestsMenuOn = 0;
vests_mc.vests_btn.onRelease = function () {
if (vestsMenuOn == 0) {
menusOut();
vestsMenu();
torsoRemove();
backgroundGone();
torsoOn = 0;
vestsMenuOn = 1;
} else if (vestsMenuOn == 1) {
vestsMenuOut();
vestsMenuOn = 0;
torsoRemove();
backgroundGone();
torsoOn = 0;
}
};
var necklaceMenuOn = 0;
necklace_mc.necklace_btn.onRelease = function () {
if (necklaceMenuOn == 0) {
menusOut();
necklaceMenu();
torsoRemove();
backgroundGone();
torsoOn = 0;
necklaceMenuOn = 1;
} else if (necklaceMenuOn == 1) {
necklaceMenuOut();
necklaceMenuOn = 0;
torsoRemove();
backgroundGone();
torsoOn = 0;
}
};
var alternativeWaysOn = 0;
alternativeWays_mc.alternativeWays_btn.onRelease = function () {
if (alternativeWaysOn == 0) {
menusOut();
alternativeWaysMenu();
weaponsRemove();
backgroundGone();
weaponsOn = 0;
alternativeWaysOn = 1;
firearmsMenuRemove();
} else if (alternativeWaysOn == 1) {
alternativeWaysMenuOut();
alternativeWaysOn = 0;
weaponsRemove();
backgroundGone();
weaponsOn = 0;
}
};
alternativeWaysMenu_mc.moreAlternativeWays_btn.onRelease = function () {
alternativeWaysOn = 0;
menusOut();
alternativeWaysMenu2();
};
alternativeWaysMenu2_mc.backAlternativeWays_btn.onRelease = function () {
alternativeWaysOn = 1;
menusOut();
alternativeWaysMenu();
};
var smallBladesMenuOn = 0;
smallBlades_mc.smallBlades_btn.onRelease = function () {
if (smallBladesMenuOn == 0) {
menusOut();
smallBladesMenu();
weaponsRemove();
backgroundGone();
weaponsOn = 0;
smallBladesMenuOn = 1;
firearmsMenuRemove();
} else if (smallBladesMenuOn == 1) {
smallBladesMenuOut();
smallBladesMenuOn = 0;
weaponsRemove();
backgroundGone();
weaponsOn = 0;
}
};
var otherTorsoMenuOn = 0;
other_mc.other_btn.onRelease = function () {
if (otherTorsoMenuOn == 0) {
menusOut();
otherTorsoMenu();
torsoRemove();
backgroundGone();
torsoOn = 0;
otherTorsoMenuOn = 1;
} else if (otherTorsoMenuOn == 1) {
otherTorsoMenuOut();
otherTorsoMenuOn = 0;
torsoRemove();
backgroundGone();
torsoOn = 0;
}
};
var hatsOn = 0;
hatsDrop_mc.hatsMenu_btn.onRelease = function () {
if (hatsOn == 0) {
pressMore();
menusOut();
menuHats();
hairRemove();
backgroundGone();
hairOn = 0;
hatsOn = 1;
} else if (hatsOn == 1) {
menuHatsOut();
hatsOn = 0;
hairRemove();
backgroundGone();
hairOn = 0;
}
};
hatsMenu_mc.moreHats_btn.onRelease = function () {
hatsOn = 0;
menusOut();
hatsMenu2();
};
hatsMenu2_mc.backHats_btn.onRelease = function () {
hatsMenuOn = 1;
menusOut();
menuHats();
};
var helmetsOn = 0;
helmetsDrop_mc.helmetsMenu_btn.onRelease = function () {
if (helmetsOn == 0) {
pressMore();
menusOut();
menuHelmets();
hairRemove();
backgroundGone();
hairOn = 0;
helmetsOn = 1;
} else if (helmetsOn == 1) {
menuHelmetsOut();
helmetsOn = 0;
hairRemove();
backgroundGone();
hairOn = 0;
allColorPanelsUp();
}
};
var helmetsMenu2On = 0;
helmetsMenu_mc.moreHelmets_btn.onRelease = function () {
menusOut();
helmetsMenu2();
helmetsOn = 0;
helmetsMenu2On = 1;
allKnightHelmetsGone();
allHelmetsGone();
};
helmetsMenu2_mc.backHelmets_btn.onRelease = function () {
menusOut();
menuHelmets();
helmetsOn = 1;
helmetsMenu2On = 0;
};
var eyesOn = 0;
eyesDrop_mc.eyesMenu_btn.onRelease = function () {
if (eyesOn == 0) {
pressMore();
menusOut();
menuEyes();
faceRemove();
backgroundGone();
faceOn = 0;
eyesOn = 1;
mouthMenuRemove();
} else if (eyesOn == 1) {
menuEyesOut();
eyesOn = 0;
faceRemove();
backgroundGone();
faceOn = 0;
}
};
eyesMenu2_mc.backAgain_btn.onRelease = function () {
if (eyesOn == 0) {
menusOut();
menuEyes();
faceRemove();
backgroundGone();
faceOn = 0;
eyesOn = 1;
evilEyesColorV = 0;
evilEyesColorPanel_mc._y = -140;
} else if (eyesOn == 1) {
menuEyesOut();
eyesOn = 0;
faceRemove();
backgroundGone();
faceOn = 0;
}
};
var eyes2On = 0;
eyesMenu_mc.moreEyes_btn.onRelease = function () {
if (eyes2On == 0) {
menusOut();
menuEyes2();
faceRemove();
backgroundGone();
faceOn = 0;
eyes2On = 1;
} else if (eyes2On == 1) {
menuEyes2Out();
eyes2On = 0;
faceRemove();
backgroundGone();
faceOn = 0;
}
};
var bodyArmorOn = 0;
bodyArmorDrop_mc.bodyArmorMenu_btn.onRelease = function () {
if (bodyArmorOn == 0) {
pressMore();
menusOut();
menuBodyArmor();
torsoRemove();
backgroundGone();
torsoOn = 0;
bodyArmorOn = 1;
} else if (bodyArmorOn == 1) {
menuBodyArmorOut();
bodyArmorOn = 0;
torsoRemove();
backgroundGone();
torsoOn = 0;
allColorPanelsUp();
}
};
bodyArmorMenu_mc.moreBodyArmor_btn.onRelease = function () {
bodyArmorMenu2();
menuBodyArmorOut();
bodyArmorOn = 0;
samuraiTorsoColorUp();
};
bodyArmorMenu2_mc.backBodyArmor_btn.onRelease = function () {
bodyArmorMenu2Out();
menuBodyArmor();
bodyArmorOn = 1;
};
var shirtsOn = 0;
shirtsMenuDrop_mc.shirtsMenu_btn.onRelease = function () {
if (shirtsOn == 0) {
pressMore();
menusOut();
menuShirts();
torsoRemove();
backgroundGone();
torsoOn = 0;
shirtsOn = 1;
} else if (shirtsOn == 1) {
menuShirtsOut();
shirtsOn = 0;
torsoRemove();
backgroundGone();
torsoOn = 0;
}
};
shirtsMenu_mc.moreShirts_btn.onRelease = function () {
shirtsMenu2();
menuShirtsOut();
shirtsOn = 0;
};
shirtsMenu2_mc.backShirts_btn.onRelease = function () {
shirtsMenu2Out();
menuShirts();
shirtsOn = 1;
hoodedColorpanel_mc._y = -140;
hoodedColorV = 0;
};
var pantsOn = 0;
pantsDrop_mc.pantsDrop_btn.onRelease = function () {
if (pantsOn == 0) {
menusOut();
menuPants();
legsRemove();
backgroundGone();
legsOn = 0;
pantsOn = 1;
} else if (pantsOn == 1) {
menuPantsOut();
pantsOn = 0;
legsRemove();
backgroundGone();
legsOn = 0;
}
};
var armorLegsOn = 0;
armorDrop_mc.armorDrop_btn.onRelease = function () {
if (armorLegsOn == 0) {
pressMore();
menusOut();
menuArmorLegs();
legsRemove();
backgroundGone();
legsOn = 0;
armorLegsOn = 1;
} else if (armorLegsOn == 1) {
menuArmorLegsOut();
armorLegsOn = 0;
legsRemove();
backgroundGone();
legsOn = 0;
allColorPanelsUp();
}
};
armorLegsMenu_mc.moreArmorLegs_btn.onRelease = function () {
menuArmorLegsOut();
legsArmorMenu2();
armorLegsOn = 0;
samuraiLegsColorUp();
samuraiLegs2ColorUp();
};
armorLegsMenu2_mc.backArmorLegs_btn.onRelease = function () {
menuArmorLegs();
legsArmorMenu2Out();
armorLegsOn = 1;
};
var otherMeleeOn = 0;
otherMeleeDrop_mc.otherMeleeDrop_btn.onRelease = function () {
if (otherMeleeOn == 0) {
pressMore();
menusOut();
menuMeleeArms();
weaponsRemove();
backgroundGone();
weaponsOn = 0;
otherMeleeOn = 1;
firearmsMenuRemove();
} else if (otherMeleeOn == 1) {
menuMeleeArmsOut();
otherMeleeOn = 0;
weaponsRemove();
backgroundGone();
weaponsOn = 0;
}
};
otherMeleeArmsMenu_mc.moreOtherMelee_btn.onRelease = function () {
menuMeleeArmsOut();
otherMeleeMenu2();
otherMeleeOn = 0;
};
otherMeleeMenu2_mc.backOtherMeleeMenu_btn.onRelease = function () {
menuMeleeArms();
otherMeleeMenu2Out();
otherMeleeOn = 1;
};
var firearmsOldOn = 0;
firearmsOld_mc.firearmsOld_btn.onRelease = function () {
if (firearmsOldOn == 0) {
menusOut();
firearmsOldMenu();
weaponsRemove();
backgroundGone();
weaponsOn = 0;
firearmsOldOn = 1;
firearmsMenuRemove();
fireArmsMenuV = 0;
} else if (firearmsOldOn == 1) {
firearmsOldMenuOut();
firearmsOldOn = 0;
weaponsRemove();
backgroundGone();
weaponsOn = 0;
firearmsMenuRemove();
fireArmsMenuV = 0;
}
};
var firearmsBigMenuOn = 0;
bigGuns_mc.bigGuns_btn.onRelease = function () {
if (firearmsBigMenuOn == 0) {
menusOut();
firearmsBigMenu();
weaponsRemove();
backgroundGone();
weaponsOn = 0;
firearmsBigMenuOn = 1;
firearmsMenuRemove();
} else if (firearmsBigMenuOn == 1) {
firearmsBigMenuOut();
firearmsBigMenuOn = 0;
weaponsRemove();
backgroundGone();
weaponsOn = 0;
}
};
var futureArmsMenuOn = 0;
firearmsFuture_mc.firearmsFuture_btn.onRelease = function () {
if (futureArmsMenuOn == 0) {
menusOut();
futureArmsMenu();
weaponsRemove();
backgroundGone();
weaponsOn = 0;
futureArmsMenuOn = 1;
firearmsMenuRemove();
fireArmsMenuV = 0;
} else if (futureArmsMenuOn == 1) {
futureArmsMenuOut();
futureArmsMenuOn = 0;
weaponsRemove();
backgroundGone();
weaponsOn = 0;
firearmsMenuRemove();
fireArmsMenuV = 0;
}
};
var firearmsModernOn = 0;
firearmsModern_mc.firearmsModern_btn.onRelease = function () {
if (firearmsModernOn == 0) {
pressMore();
menusOut();
firearmsModernMenu();
weaponsRemove();
backgroundGone();
weaponsOn = 0;
firearmsModernOn = 1;
firearmsMenuRemove();
fireArmsMenuV = 0;
} else if (firearmsModernOn == 1) {
firearmsModernMenuOut();
firearmsModernOn = 0;
weaponsRemove();
backgroundGone();
weaponsOn = 0;
firearmsMenuRemove();
fireArmsMenuV = 0;
}
};
var swordsAncientArmoredOn = 0;
swordsAncientDrop_mc.swordsAncient_btn.onRelease = function () {
if (swordsAncientArmoredOn == 0) {
pressMore();
menusOut();
swordsAncientArmoredMenu();
weaponsRemove();
backgroundGone();
weaponsOn = 0;
swordsAncientArmoredOn = 1;
firearmsMenuRemove();
} else if (swordsAncientArmoredOn == 1) {
swordsAncientArmoredMenuOut();
swordsAncientArmoredOn = 0;
weaponsRemove();
backgroundGone();
weaponsOn = 0;
allColorPanelsUp();
}
};
var mouthMenuOn = 0;
dropDownMouth_mc.emotionalMouth_mc.emotionalMouth_btn.onRelease = function () {
if (mouthMenuOn == 0) {
pressMore();
menusOut();
mouthMenu();
faceRemove();
backgroundGone();
faceOn = 0;
mouthMenuOn = 0;
mouthMenuV = 0;
mouthMenuRemove();
} else if (mouthMenuOn == 1) {
mouthMenuOut();
mouthMenuOn = 0;
faceRemove();
backgroundGone();
faceOn = 0;
allColorPanelsUp();
mouthMenuV = 0;
mouthMenuRemove();
}
};
eyeGearMenu1_mc.moreEyeGear_btn.onRelease = function () {
eyeGearMenuOn = 0;
menusOut();
eyeGearMenu2();
};
eyeGearMenu2_mc.backEyeGear_btn.onRelease = function () {
eyeGearMenuOn = 1;
menusOut();
eyeGearMenu();
};
mouthMenu_mc.moreMouth_btn.onRelease = function () {
mouthMenuOn = 0;
menusOut();
mouthMenu2();
};
mouthMenu2_mc.backMouth_btn.onRelease = function () {
mouthMenuOn = 1;
menusOut();
mouthMenu();
};
var creatureMouthMenuOn = 0;
dropDownMouth_mc.creatureMouth_mc.creatureMouth_btn.onRelease = function () {
if (creatureMouthMenuOn == 0) {
menusOut();
creatureMouthMenu();
faceRemove();
backgroundGone();
faceOn = 0;
creatureMouthMenuOn = 1;
mouthMenuV = 0;
mouthMenuRemove();
} else if (creatureMouthMenuOn == 1) {
creatureMouthMenuOut();
creatureMouthMenuOn = 0;
faceRemove();
backgroundGone();
faceOn = 0;
allColorPanelsUp();
mouthMenuV = 0;
mouthMenuRemove();
}
};
creatureMouthMenu_mc.moreCreatureMouth_btn.onRelease = function () {
creatureMouthMenu2On = 0;
menusOut();
creatureMouthMenu2();
};
creatureMouthMenu2_mc.backCreatureMouth_btn.onRelease = function () {
creatureMouthMenu2On = 1;
menusOut();
creatureMouthMenu();
};
var smokingMouthMenuOn = 0;
dropDownMouth_mc.smokingMouth_mc.smokingMouth_btn.onRelease = function () {
if (smokingMouthMenuOn == 0) {
menusOut();
smokingMouthMenu();
faceRemove();
backgroundGone();
faceOn = 0;
smokingMouthMenuOn = 1;
mouthMenuV = 0;
mouthMenuRemove();
} else if (smokingMouthMenuOn == 1) {
smokingMouthMenuOut();
smokingMouthMenuOn = 0;
faceRemove();
backgroundGone();
faceOn = 0;
allColorPanelsUp();
mouthMenuV = 0;
mouthMenuRemove();
}
};
var eyeGearMenuOn = 0;
eyeGearDrop_mc.eyeGearMenu_btn.onRelease = function () {
if (eyeGearMenuOn == 0) {
pressMore();
menusOut();
eyeGearMenu();
glassesRemove();
backgroundGone();
glassesOn = 0;
eyeGearMenuOn = 1;
} else if (eyeGearMenuOn == 1) {
eyeGearMenuOut();
eyeGearMenuOn = 0;
glassesRemove();
backgroundGone();
glassesOn = 0;
allColorPanelsUp();
}
};
var sunglassesMenuOn = 0;
sunglassesDrop_mc.sunGlassesMenu_btn.onRelease = function () {
if (sunglassesMenuOn == 0) {
pressMore();
menusOut();
sunglassesMenu();
glassesRemove();
backgroundGone();
glassesOn = 0;
sunglassesMenuOn = 1;
} else if (sunglassesMenuOn == 1) {
sunglassesMenuOut();
sunglassesMenuOn = 0;
glassesRemove();
backgroundGone();
glassesOn = 0;
allColorPanelsUp();
}
};
var glassesMenuOn = 0;
glassesDrop_mc.glassesMenu_btn.onRelease = function () {
if (glassesMenuOn == 0) {
pressMore();
menusOut();
glassesMenu();
sunglassesMenuOut();
glassesRemove();
backgroundGone();
glassesOn = 0;
glassesMenuOn = 1;
} else if (glassesMenuOn == 1) {
glassesMenuOut();
glassesMenuOn = 0;
glassesRemove();
backgroundGone();
glassesOn = 0;
allColorPanelsUp();
}
};
var miscMenuOn = 0;
buttons_mc.miscellaneous_btn.onRelease = function () {
if (miscMenuOn == 0) {
menusOut();
miscMenu();
miscMenuOn = 1;
backgroundGone();
firearmsMenuRemove();
mouthMenuRemove();
} else if (miscMenuOn == 1) {
miscMenuOut();
miscMenuOn = 0;
allColorPanelsUp();
backgroundGone();
}
};
miscMenu_mc.moreMisc_btn.onRelease = function () {
miscMenuOut();
miscMenuOn = 0;
miscMenu2();
};
miscMenu2_mc.backMisc_btn.onRelease = function () {
miscMenu2Out();
miscMenuOn = 1;
miscMenu();
};
var beardMenuOn = 0;
otherBeardDrop_mc.otherBeardMenu_btn.onRelease = function () {
if (beardMenuOn == 0) {
pressMore();
menusOut();
beardMenu();
hairRemove();
backgroundGone();
hairOn = 0;
beardMenuOn = 1;
} else if (beardMenuOn == 1) {
beardMenuOut();
beardMenuOn = 0;
hairRemove();
backgroundGone();
hairOn = 0;
allColorPanelsUp();
}
};
var hairMenuOn = 0;
hairDrop_mc.hairMenu_btn.onRelease = function () {
if (hairMenuOn == 0) {
pressMore();
menusOut();
hairMenu();
hairRemove();
backgroundGone();
hairOn = 0;
hairMenuOn = 1;
} else if (hairMenuOn == 1) {
hairMenuOut();
hairMenuOn = 0;
hairRemove();
backgroundGone();
hairOn = 0;
allColorPanelsUp();
}
};
hairMenu_mc.moreHair_btn.onRelease = function () {
hairMenuOut();
hairMenuOn = 0;
hairMenu2On = 1;
hairMenu2();
allColorPanelsUp();
};
hairMenu2_mc.backHair_btn.onRelease = function () {
hairMenu2Out();
hairMenu2On = 0;
hairMenuOn = 1;
hairMenu();
allColorPanelsUp();
};
var masksMenuOn = 0;
masksDrop_mc.masksMenu_btn.onRelease = function () {
if (masksMenuOn == 0) {
pressMore();
menusOut();
masksMenu();
faceRemove();
backgroundGone();
faceOn = 0;
masksMenuOn = 1;
mouthMenuRemove();
} else if (masksMenuOn == 1) {
masksMenuOut();
masksMenuOn = 0;
faceRemove();
backgroundGone();
faceOn = 0;
allColorPanelsUp();
}
};
masksMenu_mc.moreMasks_btn.onRelease = function () {
masksMenuOut();
masksMenuOn = 0;
masksMenu2On = 1;
masksMenu2();
allColorPanelsUp();
};
masksMenu2_mc.backMasks_btn.onRelease = function () {
masksMenu2Out();
masksMenu2On = 0;
masksMenuOn = 1;
masksMenu();
allColorPanelsUp();
};
beardMenu_mc.moreBeard_btn.onRelease = function () {
beardMenuOut();
beardMenuOn = 0;
beardMenu2On = 1;
beardMenu2();
allColorPanelsUp();
};
beardMenu2_mc.moreBeard_btn.onRelease = function () {
beardMenu2Out();
beardMenu2On = 0;
beardMenu3On = 1;
beardMenu3();
allColorPanelsUp();
};
beardMenu2_mc.backBeard_btn.onRelease = function () {
beardMenu2Out();
beardMenu2On = 0;
beardMenuOn = 1;
beardMenu();
allColorPanelsUp();
};
beardMenu3_mc.backBeard_btn.onRelease = function () {
beardMenu3Out();
beardMenu3On = 0;
beardMenu2On = 1;
beardMenu2();
allColorPanelsUp();
};
glassesMenu_mc.moreGlasses_btn.onRelease = function () {
glassesMenuOut();
glassesMenuOn = 0;
glassesMenu2();
};
glassesMenu2_mc.backGlasses_btn.onRelease = function () {
glassesMenu();
glassesMenuOn = 1;
glassesMenu2Out();
};
sunglassesMenu1_mc.moreSunglasses_btn.onRelease = function () {
sunglassesMenuOut();
sunglassesMenuOn = 0;
sunglasses2Menu();
allColorPanelsUp();
};
sunglassesMenu2_mc.backSunglasses_btn.onRelease = function () {
sunglassesMenu();
sunglassesMenuOn = 1;
sunglasses2MenuOut();
};
swordsAncientArmoredMenu_mc.moreSwordAncientArmored_btn.onRelease = function () {
swordsAncientArmoredMenuOut();
swordsAncientArmoredOn = 0;
swordsAncientArmoredMenu2();
allColorPanelsUp();
};
swordsAncientArmoredMenu2_mc.backSwordAncientArmored_btn.onRelease = function () {
swordsAncientArmoredMenu();
swordsAncientArmoredOn = 1;
swordsAncientArmoredMenu2Out();
allColorPanelsUp();
};
firearmsModernMenu_mc.moreModernFireArms_btn.onRelease = function () {
firearmsModernMenuOut();
firearmsModernOn = 0;
firearmsModernMenu2();
firearmsModern2On = 1;
};
firearmsModernMenu2_mc.backModernFireArms_btn.onRelease = function () {
firearmsModernMenu2Out();
firearmsModernMenu();
weaponsOn = 0;
firearmsModernOn = 1;
};
function allColorPanelsUp() {
allKnightHelmetsGone();
allHelmetsGone();
allKnucklesGone();
evilEyesColorV = 0;
evilEyesColorPanel_mc._y = -140;
banditColorUp();
hoodedColorV = 0;
hoodedColorpanel_mc._y = -140;
samuraiLegs2ColorUp();
samuraiLegsColorUp();
kantana2HandedColorUp();
kantanaLeft1ColorUp();
kantanaLeft2ColorUp();
kantanaRight1ColorUp();
kantanaRight2ColorUp();
samuraiTorsoColorUp();
samuraiHelmetColorUp();
hatsMenuUp();
scifiVisirColorUp();
scifiVisirColorV = 0;
fashionColorV = 0;
fashionColorUp();
menu1ColorGone();
menu2ColorGone();
menu3ColorGone();
menu1HairColorGone();
menu2HairColorGone();
allKnightHelmetsGone();
allHelmetsGone();
futureSwordsColorUp();
}
function backgroundGone() {
if (backgroundOn == 1) {
var _local1 = new mx.transitions.Tween(backgroundMenu_mc, "_x", Strong.easeOut, 510, 550, 1, true);
backgroundOn = 0;
}
}
function popUp() {
popUps_mc._y = 100;
}
function print_me() {
if (saveMeV == 0) {
saveMeV = 1;
_root.noSave_mc._alpha = 100;
_root.noSave_mc._x = -8;
_root.noSave_mc._y = -12;
_root.noSave_mc.onEnterFrame = function () {
_root.noSave_mc._alpha = _root.noSave_mc._alpha + 10;
if (_root.noSave_mc._alpha >= 100) {
delete this.onEnterFrame;
}
};
} else if (saveMeV == 1) {
saveMeV = 0;
_root.noSave_mc.onEnterFrame = function () {
this._alpha = this._alpha - 20;
if (this._alpha <= 0) {
delete this.onEnterFrame;
_root.noSave_mc._x = 10000;
}
};
}
}
function popOut() {
popUps_mc._y = 9000;
loader._x = -1000;
leftBarOpen();
}
function leftBarOpen() {
leftBar_mc.onEnterFrame = function () {
this._y = this._y - 8;
if (this._y < 0) {
delete this.onEnterFrame;
}
};
greyBar_mc.onEnterFrame = function () {
this._y = this._y + 8;
if (this._y > 0) {
delete this.onEnterFrame;
greyBar_mc.lockPin_mc.onEnterFrame = function () {
this._x = this._x - 1;
if (this._x < 70) {
delete this.onEnterFrame;
}
};
greyBar_mc.lock_mc.onEnterFrame = function () {
this._rotation = this._rotation + 5;
if (this._rotation == 180) {
delete this.onEnterFrame;
}
};
buttons_mc.onEnterFrame = function () {
this._x = this._x + 3;
if (this._x > 17) {
delete this.onEnterFrame;
}
};
greyBar_mc.logo_mc.onEnterFrame = function () {
this._alpha = this._alpha + 2;
if (this._alpha > 85) {
delete this.onEnterFrame;
}
};
}
};
slideInDown_mc.onEnterFrame = function () {
this._x = this._x - 2;
if (this._x <= 465) {
delete this.onEnterFrame;
}
};
soundIcon_mc.onEnterFrame = function () {
this._alpha = this._alpha + 3;
if (this._alpha >= 100) {
delete this.onEnterFrame;
}
};
}
function leftBarClose() {
leftBar_mc._y = 405;
buttons_mc._x = -120;
greyBar_mc._y = -423;
greyBar_mc.lockPin_mc._x = 100;
greyBar_mc.logo_mc._alpha = 0;
slideInDown_mc._x = 560;
soundIcon_mc._alpha = 0;
glassesOn = 0;
weaponsOn = 0;
hairOn = 0;
faceOn = 0;
legsOn = 0;
noseDrop_mc._x = 1000;
mouthDrop_mc._x = 1000;
resetFace_mc._x = 1000;
masksDrop_mc._x = 1000;
eyesDrop_mc._x = 1000;
helmetsDrop_mc._x = 1000;
hairDrop_mc._x = 1000;
facialDrop_mc._x = 1000;
resetHair_mc._x = 1000;
otherBeardDrop_mc._x = 1000;
miscHatsDrop_mc._x = 1000;
hatsDrop_mc._x = 1000;
glassesDrop_mc._x = 1000;
resetGlasses_mc._x = 1000;
sunglassesDrop_mc._x = 1000;
eyeGearDrop_mc._x = 1000;
firearms_mc._x = 1000;
swordsAncientDrop_mc._x = 1000;
swordsFuture_mc._x = 1000;
swordsAncientDrop_mc._x = 1000;
otherMeleeDrop_mc._x = 1000;
smallBlades_mc._x = 1000;
alternativeWays_mc._x = 1000;
bigGuns_mc._x = 1000;
resetWeapons_mc._x = 1000;
bodyArmorDrop_mc._x = 1000;
jackets_mc._x = 1000;
tShirtsTorsoDrop_mc._x = 1000;
shirtsMenuDrop_mc._x = 1000;
other_mc._x = 1000;
necklace_mc._x = 1000;
resetTorso_mc._x = 1000;
vests_mc._x = 1000;
pantsDrop_mc._x = 1000;
resetLegs_mc._x = 1000;
futureLegsDrop_mc._x = 1000;
armorDrop_mc._x = 1000;
}
function dropDownGone() {
glassesOn = 0;
weaponsOn = 0;
hairOn = 0;
faceOn = 0;
legsOn = 0;
noseDrop_mc._x = 1000;
mouthDrop_mc._x = 1000;
resetFace_mc._x = 1000;
masksDrop_mc._x = 1000;
eyesDrop_mc._x = 1000;
helmetsDrop_mc._x = 1000;
hairDrop_mc._x = 1000;
resetHair_mc._x = 1000;
facialDrop_mc._x = 1000;
otherBeardDrop_mc._x = 1000;
miscHatsDrop_mc._x = 1000;
hatsDrop_mc._x = 1000;
glassesDrop_mc._x = 1000;
resetGlasses_mc._x = 1000;
sunglassesDrop_mc._x = 1000;
eyeGearDrop_mc._x = 1000;
firearms_mc._x = 1000;
swordsAncientDrop_mc._x = 1000;
swordsFuture_mc._x = 1000;
swordsAncientDrop_mc._x = 1000;
otherMeleeDrop_mc._x = 1000;
smallBlades_mc._x = 1000;
alternativeWays_mc._x = 1000;
bigGuns_mc._x = 1000;
resetWeapons_mc._x = 1000;
bodyArmorDrop_mc._x = 1000;
jackets_mc._x = 1000;
tShirtsTorsoDrop_mc._x = 1000;
shirtsMenuDrop_mc._x = 1000;
other_mc._x = 1000;
necklace_mc._x = 1000;
resetTorso_mc._x = 1000;
vests_mc._x = 1000;
pantsDrop_mc._x = 1000;
resetLegs_mc._x = 1000;
futureLegsDrop_mc._x = 1000;
armorDrop_mc._x = 1000;
}
function hairDropDown() {
helmetsDrop_mc.onEnterFrame = function () {
this._x = this._x + 7;
if (this._x > 120) {
delete this.onEnterFrame;
this.swapDepths(15011);
helmetsDrop_mc.onEnterFrame = function () {
this._y = this._y + 7;
if (this._y > 80) {
delete this.onEnterFrame;
}
};
}
};
hairDrop_mc.onEnterFrame = function () {
this._x = this._x + 7;
if (this._x > 120) {
delete this.onEnterFrame;
this.swapDepths(15001);
}
};
facialDrop_mc.onEnterFrame = function () {
this._x = this._x + 7;
if (this._x > 120) {
delete this.onEnterFrame;
this.swapDepths(15102);
facialDrop_mc.onEnterFrame = function () {
this._y = this._y + 7;
if (this._y > 107) {
delete this.onEnterFrame;
}
};
}
};
otherBeardDrop_mc.onEnterFrame = function () {
this._x = this._x + 7;
if (this._x > 120) {
delete this.onEnterFrame;
this.swapDepths(15092);
otherBeardDrop_mc.onEnterFrame = function () {
this._y = this._y + 7;
if (this._y > 134) {
delete this.onEnterFrame;
}
};
}
};
miscHatsDrop_mc.onEnterFrame = function () {
this._x = this._x + 7;
if (this._x > 120) {
delete this.onEnterFrame;
this.swapDepths(15098);
miscHatsDrop_mc.onEnterFrame = function () {
this._y = this._y + 7;
if (this._y > 53) {
delete this.onEnterFrame;
}
};
}
};
hatsDrop_mc.onEnterFrame = function () {
this._x = this._x + 7;
if (this._x > 120) {
delete this.onEnterFrame;
this.swapDepths(15003);
hatsDrop_mc.onEnterFrame = function () {
this._y = this._y + 7;
if (this._y > 25) {
delete this.onEnterFrame;
}
};
}
};
resetHair_mc.onEnterFrame = function () {
this._x = this._x + 7;
if (this._x > 120) {
delete this.onEnterFrame;
this.swapDepths(15033);
resetHair_mc.onEnterFrame = function () {
this._y = this._y + 7;
if (this._y > 161) {
delete this.onEnterFrame;
}
};
}
};
greyBar_mc.lock_mc.onEnterFrame = function () {
this._rotation = this._rotation + 12;
if (this._rotation == 180) {
delete this.onEnterFrame;
} else if (this._rotation == 179) {
delete this.onEnterFrame;
} else if (this._rotation == 178) {
delete this.onEnterFrame;
} else if (this._rotation == 177) {
delete this.onEnterFrame;
} else if (this._rotation == 176) {
delete this.onEnterFrame;
} else if (this._rotation == 175) {
delete this.onEnterFrame;
} else if (this._rotation == 174) {
delete this.onEnterFrame;
} else if (this._rotation == 173) {
delete this.onEnterFrame;
} else if (this._rotation == 172) {
delete this.onEnterFrame;
} else if (this._rotation == 171) {
delete this.onEnterFrame;
} else if (this._rotation == 170) {
delete this.onEnterFrame;
} else if (this._rotation == 169) {
delete this.onEnterFrame;
}
};
}
function faceDropDown() {
eyesDrop_mc.onEnterFrame = function () {
this._x = this._x + 7;
if (this._x > 120) {
delete this.onEnterFrame;
this.swapDepths(15154);
}
};
masksDrop_mc.onEnterFrame = function () {
this._x = this._x + 7;
if (this._x > 120) {
delete this.onEnterFrame;
this.swapDepths(15155);
masksDrop_mc.onEnterFrame = function () {
this._y = this._y + 7;
if (this._y > 81) {
delete this.onEnterFrame;
}
};
}
};
mouthDrop_mc.onEnterFrame = function () {
this._x = this._x + 7;
if (this._x > 120) {
delete this.onEnterFrame;
this.swapDepths(15156);
mouthDrop_mc.onEnterFrame = function () {
this._y = this._y + 7;
if (this._y > 110) {
delete this.onEnterFrame;
}
};
}
};
noseDrop_mc.onEnterFrame = function () {
this._x = this._x + 7;
if (this._x > 120) {
delete this.onEnterFrame;
this.swapDepths(15157);
noseDrop_mc.onEnterFrame = function () {
this._y = this._y + 7;
if (this._y > 53) {
delete this.onEnterFrame;
}
};
}
};
resetFace_mc.onEnterFrame = function () {
this._x = this._x + 7;
if (this._x > 120) {
delete this.onEnterFrame;
this.swapDepths(15158);
resetFace_mc.onEnterFrame = function () {
this._y = this._y + 7;
if (this._y > 138) {
delete this.onEnterFrame;
}
};
}
};
greyBar_mc.lock_mc.onEnterFrame = function () {
this._rotation = this._rotation + 10;
if (this._rotation >= 180) {
delete this.onEnterFrame;
} else if (this._rotation == 179) {
delete this.onEnterFrame;
} else if (this._rotation == 178) {
delete this.onEnterFrame;
} else if (this._rotation == 177) {
delete this.onEnterFrame;
} else if (this._rotation == 176) {
delete this.onEnterFrame;
} else if (this._rotation == 175) {
delete this.onEnterFrame;
} else if (this._rotation == 174) {
delete this.onEnterFrame;
} else if (this._rotation == 173) {
delete this.onEnterFrame;
} else if (this._rotation == 172) {
delete this.onEnterFrame;
} else if (this._rotation == 171) {
delete this.onEnterFrame;
}
};
}
function glassesDropDown() {
glassesDrop_mc.onEnterFrame = function () {
this._x = this._x + 7;
if (this._x > 120) {
delete this.onEnterFrame;
this.swapDepths(15013);
}
};
sunglassesDrop_mc.onEnterFrame = function () {
this._x = this._x + 7;
if (this._x > 120) {
delete this.onEnterFrame;
this.swapDepths(15010);
sunglassesDrop_mc.onEnterFrame = function () {
this._y = this._y + 4;
if (this._y > 81) {
delete this.onEnterFrame;
}
};
}
};
eyeGearDrop_mc.onEnterFrame = function () {
this._x = this._x + 7;
if (this._x > 120) {
delete this.onEnterFrame;
this.swapDepths(15011);
eyeGearDrop_mc.onEnterFrame = function () {
this._y = this._y + 4;
if (this._y > 108) {
delete this.onEnterFrame;
}
};
}
};
resetGlasses_mc.onEnterFrame = function () {
this._x = this._x + 7;
if (this._x > 120) {
delete this.onEnterFrame;
this.swapDepths(15012);
resetGlasses_mc.onEnterFrame = function () {
this._y = this._y + 4;
if (this._y > 135) {
delete this.onEnterFrame;
}
};
}
};
greyBar_mc.lock_mc.onEnterFrame = function () {
this._rotation = this._rotation + 12;
if (this._rotation >= 180) {
delete this.onEnterFrame;
} else if (this._rotation == 179) {
delete this.onEnterFrame;
} else if (this._rotation == 178) {
delete this.onEnterFrame;
} else if (this._rotation == 177) {
delete this.onEnterFrame;
} else if (this._rotation == 176) {
delete this.onEnterFrame;
} else if (this._rotation == 175) {
delete this.onEnterFrame;
} else if (this._rotation == 174) {
delete this.onEnterFrame;
} else if (this._rotation == 173) {
delete this.onEnterFrame;
} else if (this._rotation == 172) {
delete this.onEnterFrame;
} else if (this._rotation == 171) {
delete this.onEnterFrame;
} else if (this._rotation == 170) {
delete this.onEnterFrame;
} else if (this._rotation == 169) {
delete this.onEnterFrame;
}
};
}
function weaponsDropDown() {
swordsAncientDrop_mc.onEnterFrame = function () {
this._x = this._x + 7;
if (this._x > 120) {
delete this.onEnterFrame;
this.swapDepths(15031);
swordsAncientDrop_mc.onEnterFrame = function () {
this._y = this._y + 7;
if (this._y > 105) {
delete this.onEnterFrame;
}
};
}
};
firearms_mc.onEnterFrame = function () {
this._x = this._x + 7;
if (this._x > 120) {
delete this.onEnterFrame;
this.swapDepths(15032);
}
};
swordsFuture_mc.onEnterFrame = function () {
this._x = this._x + 7;
if (this._x > 120) {
delete this.onEnterFrame;
this.swapDepths(15033);
swordsFuture_mc.onEnterFrame = function () {
this._y = this._y + 7;
if (this._y > 136) {
delete this.onEnterFrame;
}
};
}
};
otherMeleeDrop_mc.onEnterFrame = function () {
this._x = this._x + 7;
if (this._x > 120) {
delete this.onEnterFrame;
this.swapDepths(15034);
otherMeleeDrop_mc.onEnterFrame = function () {
this._y = this._y + 7;
if (this._y > 163) {
delete this.onEnterFrame;
}
};
}
};
smallBlades_mc.onEnterFrame = function () {
this._x = this._x + 7;
if (this._x > 120) {
delete this.onEnterFrame;
this.swapDepths(15035);
smallBlades_mc.onEnterFrame = function () {
this._y = this._y + 7;
if (this._y > 191) {
delete this.onEnterFrame;
}
};
}
};
alternativeWays_mc.onEnterFrame = function () {
this._x = this._x + 7;
if (this._x > 120) {
delete this.onEnterFrame;
this.swapDepths(15036);
alternativeWays_mc.onEnterFrame = function () {
this._y = this._y + 7;
if (this._y > 219) {
delete this.onEnterFrame;
}
};
}
};
bigGuns_mc.onEnterFrame = function () {
this._x = this._x + 7;
if (this._x > 120) {
delete this.onEnterFrame;
this.swapDepths(15037);
bigGuns_mc.onEnterFrame = function () {
this._y = this._y + 7;
if (this._y > 247) {
delete this.onEnterFrame;
}
};
}
};
resetWeapons_mc.onEnterFrame = function () {
this._x = this._x + 7;
if (this._x > 120) {
delete this.onEnterFrame;
this.swapDepths(15141);
resetWeapons_mc.onEnterFrame = function () {
this._y = this._y + 7;
if (this._y > 275) {
delete this.onEnterFrame;
}
};
}
};
greyBar_mc.lock_mc.onEnterFrame = function () {
this._rotation = this._rotation + 8;
if (this._rotation == 180) {
delete this.onEnterFrame;
} else if (this._rotation == 179) {
delete this.onEnterFrame;
} else if (this._rotation == 178) {
delete this.onEnterFrame;
} else if (this._rotation == 177) {
delete this.onEnterFrame;
} else if (this._rotation == 176) {
delete this.onEnterFrame;
} else if (this._rotation == 175) {
delete this.onEnterFrame;
} else if (this._rotation == 174) {
delete this.onEnterFrame;
} else if (this._rotation == 173) {
delete this.onEnterFrame;
}
};
}
function torsoDropDown() {
jackets_mc.onEnterFrame = function () {
this._x = this._x + 7;
if (this._x > 120) {
delete this.onEnterFrame;
this.swapDepths(15048);
jackets_mc.onEnterFrame = function () {
this._y = this._y + 7;
if (this._y > 247) {
delete this.onEnterFrame;
}
};
}
};
bodyArmorDrop_mc.onEnterFrame = function () {
this._x = this._x + 7;
if (this._x > 120) {
delete this.onEnterFrame;
this.swapDepths(15043);
}
};
tShirtsTorsoDrop_mc.onEnterFrame = function () {
this._x = this._x + 7;
if (this._x > 120) {
delete this.onEnterFrame;
this.swapDepths(15044);
tShirtsTorsoDrop_mc.onEnterFrame = function () {
this._y = this._y + 7;
if (this._y > 136) {
delete this.onEnterFrame;
}
};
}
};
shirtsMenuDrop_mc.onEnterFrame = function () {
this._x = this._x + 7;
if (this._x > 120) {
delete this.onEnterFrame;
this.swapDepths(15045);
shirtsMenuDrop_mc.onEnterFrame = function () {
this._y = this._y + 7;
if (this._y > 163) {
delete this.onEnterFrame;
}
};
}
};
other_mc.onEnterFrame = function () {
this._x = this._x + 7;
if (this._x > 120) {
delete this.onEnterFrame;
this.swapDepths(15148);
other_mc.onEnterFrame = function () {
this._y = this._y + 7;
if (this._y > 275) {
delete this.onEnterFrame;
this.swapDepths(15148);
}
};
}
};
vests_mc.onEnterFrame = function () {
this._x = this._x + 7;
if (this._x > 120) {
delete this.onEnterFrame;
this.swapDepths(15046);
vests_mc.onEnterFrame = function () {
this._y = this._y + 7;
if (this._y > 191) {
delete this.onEnterFrame;
}
};
}
};
necklace_mc.onEnterFrame = function () {
this._x = this._x + 7;
if (this._x > 120) {
delete this.onEnterFrame;
this.swapDepths(15047);
necklace_mc.onEnterFrame = function () {
this._y = this._y + 7;
if (this._y > 219) {
delete this.onEnterFrame;
}
};
}
};
resetTorso_mc.onEnterFrame = function () {
this._x = this._x + 7;
if (this._x > 120) {
delete this.onEnterFrame;
this.swapDepths(15168);
resetTorso_mc.onEnterFrame = function () {
this._y = this._y + 7;
if (this._y > 303) {
delete this.onEnterFrame;
}
};
}
};
greyBar_mc.lock_mc.onEnterFrame = function () {
this._rotation = this._rotation + 10;
if (this._rotation == 180) {
delete this.onEnterFrame;
} else if (this._rotation == 179) {
delete this.onEnterFrame;
} else if (this._rotation == 178) {
delete this.onEnterFrame;
} else if (this._rotation == 177) {
delete this.onEnterFrame;
} else if (this._rotation == 176) {
delete this.onEnterFrame;
} else if (this._rotation == 175) {
delete this.onEnterFrame;
} else if (this._rotation == 174) {
delete this.onEnterFrame;
} else if (this._rotation == 173) {
delete this.onEnterFrame;
} else if (this._rotation == 172) {
delete this.onEnterFrame;
} else if (this._rotation == 171) {
delete this.onEnterFrame;
}
};
}
function legsDropDown() {
futureLegsDrop_mc.onEnterFrame = function () {
this._x = this._x + 7;
if (this._x > 120) {
delete this.onEnterFrame;
this.swapDepths(15052);
futureLegsDrop_mc.onEnterFrame = function () {
this._y = this._y + 7;
if (this._y > 215) {
delete this.onEnterFrame;
}
};
}
};
pantsDrop_mc.onEnterFrame = function () {
this._x = this._x + 7;
if (this._x > 120) {
delete this.onEnterFrame;
this.swapDepths(15051);
}
};
armorDrop_mc.onEnterFrame = function () {
this._x = this._x + 7;
if (this._x > 120) {
delete this.onEnterFrame;
this.swapDepths(15053);
this.onEnterFrame = function () {
this._y = this._y + 7;
if (this._y > 190) {
delete this.onEnterFrame;
}
};
}
};
resetLegs_mc.onEnterFrame = function () {
this._x = this._x + 7;
if (this._x > 120) {
delete this.onEnterFrame;
this.swapDepths(15054);
this.onEnterFrame = function () {
this._y = this._y + 7;
if (this._y > 240) {
delete this.onEnterFrame;
}
};
}
};
greyBar_mc.lock_mc.onEnterFrame = function () {
this._rotation = this._rotation + 13;
if (this._rotation == 180) {
delete this.onEnterFrame;
} else if (this._rotation == 179) {
delete this.onEnterFrame;
} else if (this._rotation == 178) {
delete this.onEnterFrame;
} else if (this._rotation == 177) {
delete this.onEnterFrame;
} else if (this._rotation == 176) {
delete this.onEnterFrame;
} else if (this._rotation == 175) {
delete this.onEnterFrame;
} else if (this._rotation == 174) {
delete this.onEnterFrame;
} else if (this._rotation == 173) {
delete this.onEnterFrame;
} else if (this._rotation == 172) {
delete this.onEnterFrame;
} else if (this._rotation == 171) {
delete this.onEnterFrame;
} else if (this._rotation == 170) {
delete this.onEnterFrame;
} else if (this._rotation == 169) {
delete this.onEnterFrame;
} else if (this._rotation == 168) {
delete this.onEnterFrame;
}
};
}
function faceRemove() {
noseDrop_mc.onEnterFrame = function () {
this._alpha = this._alpha - 5;
if (this._alpha < 0) {
delete this.onEnterFrame;
}
};
mouthDrop_mc.onEnterFrame = function () {
this._alpha = this._alpha - 5;
if (this._alpha < 0) {
delete this.onEnterFrame;
}
};
resetFace_mc.onEnterFrame = function () {
this._alpha = this._alpha - 5;
if (this._alpha < 0) {
delete this.onEnterFrame;
}
};
masksDrop_mc.onEnterFrame = function () {
this._alpha = this._alpha - 5;
if (this._alpha < 0) {
delete this.onEnterFrame;
}
};
eyesDrop_mc.onEnterFrame = function () {
this._alpha = this._alpha - 5;
if (this._alpha < 0) {
delete this.onEnterFrame;
appearFACE();
}
};
}
function hairRemove() {
helmetsDrop_mc.onEnterFrame = function () {
this._alpha = this._alpha - 5;
if (this._alpha < 0) {
delete this.onEnterFrame;
}
};
hairDrop_mc.onEnterFrame = function () {
this._alpha = this._alpha - 5;
if (this._alpha < 0) {
delete this.onEnterFrame;
}
};
facialDrop_mc.onEnterFrame = function () {
this._alpha = this._alpha - 5;
if (this._alpha < 0) {
delete this.onEnterFrame;
}
};
otherBeardDrop_mc.onEnterFrame = function () {
this._alpha = this._alpha - 5;
if (this._alpha < 0) {
delete this.onEnterFrame;
}
};
miscHatsDrop_mc.onEnterFrame = function () {
this._alpha = this._alpha - 5;
if (this._alpha < 0) {
delete this.onEnterFrame;
}
};
hatsDrop_mc.onEnterFrame = function () {
this._alpha = this._alpha - 5;
if (this._alpha < 0) {
delete this.onEnterFrame;
}
};
resetHair_mc.onEnterFrame = function () {
this._alpha = this._alpha - 5;
if (this._alpha < 0) {
delete this.onEnterFrame;
appearHair();
}
};
}
function glassesRemove() {
glassesDrop_mc.onEnterFrame = function () {
this._alpha = this._alpha - 5;
if (this._alpha < 0) {
delete this.onEnterFrame;
appearGlasses();
}
};
sunglassesDrop_mc.onEnterFrame = function () {
this._alpha = this._alpha - 5;
if (this._alpha < 0) {
delete this.onEnterFrame;
}
};
eyeGearDrop_mc.onEnterFrame = function () {
this._alpha = this._alpha - 5;
if (this._alpha < 0) {
delete this.onEnterFrame;
}
};
resetGlasses_mc.onEnterFrame = function () {
this._alpha = this._alpha - 5;
if (this._alpha < 0) {
delete this.onEnterFrame;
}
};
}
function weaponsRemove() {
firearms_mc.onEnterFrame = function () {
this._alpha = this._alpha - 5;
if (this._alpha < 0) {
delete this.onEnterFrame;
}
};
swordsAncientDrop_mc.onEnterFrame = function () {
this._alpha = this._alpha - 5;
if (this._alpha < 0) {
delete this.onEnterFrame;
}
};
swordsFuture_mc.onEnterFrame = function () {
this._alpha = this._alpha - 5;
if (this._alpha < 0) {
delete this.onEnterFrame;
}
};
swordsAncientDrop_mc.onEnterFrame = function () {
this._alpha = this._alpha - 5;
if (this._alpha < 0) {
delete this.onEnterFrame;
}
};
otherMeleeDrop_mc.onEnterFrame = function () {
this._alpha = this._alpha - 5;
if (this._alpha < 0) {
delete this.onEnterFrame;
}
};
smallBlades_mc.onEnterFrame = function () {
this._alpha = this._alpha - 5;
if (this._alpha < 0) {
delete this.onEnterFrame;
}
};
alternativeWays_mc.onEnterFrame = function () {
this._alpha = this._alpha - 5;
if (this._alpha < 0) {
delete this.onEnterFrame;
}
};
bigGuns_mc.onEnterFrame = function () {
this._alpha = this._alpha - 5;
if (this._alpha < 0) {
delete this.onEnterFrame;
}
};
resetWeapons_mc.onEnterFrame = function () {
this._alpha = this._alpha - 5;
if (this._alpha < 0) {
delete this.onEnterFrame;
appearWeapon();
}
};
}
function torsoRemove() {
bodyArmorDrop_mc.onEnterFrame = function () {
this._alpha = this._alpha - 5;
if (this._alpha < 0) {
delete this.onEnterFrame;
appearTorso();
}
};
jackets_mc.onEnterFrame = function () {
this._alpha = this._alpha - 5;
if (this._alpha < 0) {
delete this.onEnterFrame;
}
};
tShirtsTorsoDrop_mc.onEnterFrame = function () {
this._alpha = this._alpha - 5;
if (this._alpha < 0) {
delete this.onEnterFrame;
}
};
shirtsMenuDrop_mc.onEnterFrame = function () {
this._alpha = this._alpha - 5;
if (this._alpha < 0) {
delete this.onEnterFrame;
}
};
other_mc.onEnterFrame = function () {
this._alpha = this._alpha - 5;
if (this._alpha < 0) {
delete this.onEnterFrame;
}
};
necklace_mc.onEnterFrame = function () {
this._alpha = this._alpha - 5;
if (this._alpha < 0) {
delete this.onEnterFrame;
}
};
resetTorso_mc.onEnterFrame = function () {
this._alpha = this._alpha - 5;
if (this._alpha < 0) {
delete this.onEnterFrame;
}
};
vests_mc.onEnterFrame = function () {
this._alpha = this._alpha - 5;
if (this._alpha < 0) {
delete this.onEnterFrame;
}
};
}
function legsRemove() {
pantsDrop_mc.onEnterFrame = function () {
this._alpha = this._alpha - 5;
if (this._alpha < 0) {
delete this.onEnterFrame;
appearLegs();
}
};
futureLegsDrop_mc.onEnterFrame = function () {
this._alpha = this._alpha - 5;
if (this._alpha < 0) {
delete this.onEnterFrame;
}
};
armorDrop_mc.onEnterFrame = function () {
this._alpha = this._alpha - 5;
if (this._alpha < 0) {
delete this.onEnterFrame;
}
};
resetLegs_mc.onEnterFrame = function () {
this._alpha = this._alpha - 5;
if (this._alpha < 0) {
delete this.onEnterFrame;
}
};
}
function appearFACE() {
eyesDrop_mc._alpha = 100;
eyesDrop_mc._x = 0;
eyesDrop_mc._y = 27;
masksDrop_mc._alpha = 100;
masksDrop_mc._x = 0;
masksDrop_mc._y = 27;
mouthDrop_mc._alpha = 100;
mouthDrop_mc._x = 0;
mouthDrop_mc._y = 27;
noseDrop_mc._alpha = 100;
noseDrop_mc._x = 0;
noseDrop_mc._y = 27;
resetFace_mc._alpha = 100;
resetFace_mc._x = 0;
resetFace_mc._y = 27;
}
function appearHair() {
helmetsDrop_mc._alpha = 100;
helmetsDrop_mc._x = 0;
helmetsDrop_mc._y = 0;
hairDrop_mc._alpha = 100;
hairDrop_mc._x = 0;
hairDrop_mc._y = 0;
facialDrop_mc._alpha = 100;
facialDrop_mc._x = 0;
facialDrop_mc._y = 0;
otherBeardDrop_mc._alpha = 100;
otherBeardDrop_mc._x = 0;
otherBeardDrop_mc._y = 0;
miscHatsDrop_mc._alpha = 100;
miscHatsDrop_mc._x = 0;
miscHatsDrop_mc._y = 0;
hatsDrop_mc._alpha = 100;
hatsDrop_mc._x = 0;
hatsDrop_mc._y = 0;
resetHair_mc._alpha = 100;
resetHair_mc._x = 0;
resetHair_mc._y = 0;
}
function appearGlasses() {
sunglassesDrop_mc._alpha = 100;
sunglassesDrop_mc._x = 0;
sunglassesDrop_mc._y = 55;
eyeGearDrop_mc._alpha = 100;
eyeGearDrop_mc._x = 0;
eyeGearDrop_mc._y = 55;
glassesDrop_mc._alpha = 100;
glassesDrop_mc._x = 0;
glassesDrop_mc._y = 55;
resetGlasses_mc._alpha = 100;
resetGlasses_mc._x = 0;
resetGlasses_mc._y = 55;
}
function appearWeapon() {
firearms_mc._alpha = 100;
firearms_mc._x = 0;
firearms_mc._y = 82;
swordsAncientDrop_mc._alpha = 100;
swordsAncientDrop_mc._x = 0;
swordsAncientDrop_mc._y = 82;
swordsFuture_mc._alpha = 100;
swordsFuture_mc._x = 0;
swordsFuture_mc._y = 82;
otherMeleeDrop_mc._alpha = 100;
otherMeleeDrop_mc._x = 0;
otherMeleeDrop_mc._y = 82;
smallBlades_mc._alpha = 100;
smallBlades_mc._x = 0;
smallBlades_mc._y = 82;
alternativeWays_mc._alpha = 100;
alternativeWays_mc._x = 0;
alternativeWays_mc._y = 82;
bigGuns_mc._alpha = 100;
bigGuns_mc._x = 0;
bigGuns_mc._y = 82;
resetWeapons_mc._alpha = 100;
resetWeapons_mc._x = 0;
resetWeapons_mc._y = 82;
}
function appearTorso() {
bodyArmorDrop_mc._alpha = 100;
bodyArmorDrop_mc._x = 0;
bodyArmorDrop_mc._y = 109;
jackets_mc._alpha = 100;
jackets_mc._x = 0;
jackets_mc._y = 109;
tShirtsTorsoDrop_mc._alpha = 100;
tShirtsTorsoDrop_mc._x = 0;
tShirtsTorsoDrop_mc._y = 109;
shirtsMenuDrop_mc._alpha = 100;
shirtsMenuDrop_mc._x = 0;
shirtsMenuDrop_mc._y = 109;
other_mc._alpha = 100;
other_mc._x = 0;
other_mc._y = 109;
necklace_mc._alpha = 100;
necklace_mc._x = 0;
necklace_mc._y = 109;
vests_mc._alpha = 100;
vests_mc._x = 0;
vests_mc._y = 109;
resetTorso_mc._alpha = 100;
resetTorso_mc._x = 0;
resetTorso_mc._y = 109;
}
function appearLegs() {
pantsDrop_mc._alpha = 100;
pantsDrop_mc._x = 0;
pantsDrop_mc._y = 163;
futureLegsDrop_mc._alpha = 100;
futureLegsDrop_mc._x = 0;
futureLegsDrop_mc._y = 163;
armorDrop_mc._alpha = 100;
armorDrop_mc._x = 0;
armorDrop_mc._y = 163;
resetLegs_mc._alpha = 100;
resetLegs_mc._x = 0;
resetLegs_mc._y = 163;
}
function mouthMenuRemove() {
if (mouthMenuV == 1) {
dropDownMouth_mc.onEnterFrame = function () {
this._alpha = this._alpha - 5;
if (this._alpha < 0) {
delete this.onEnterFrame;
rollOutLayer3_mc._x = 1000;
rollOutLayer3_mc._y = 1000;
this._y = -100;
this._x = 230;
}
};
}
mouthMenuV = 0;
}
function firearmsMenuRemove() {
if (fireArmsMenuV == 1) {
firearmsOld_mc.onEnterFrame = function () {
this._alpha = this._alpha - 5;
if (this._alpha < 0) {
delete this.onEnterFrame;
rollOutLayer2_mc._x = 1000;
rollOutLayer2_mc._y = 1000;
this._y = -35;
this._x = 230;
}
};
firearmsModern_mc.onEnterFrame = function () {
this._alpha = this._alpha - 5;
if (this._alpha < 0) {
delete this.onEnterFrame;
this._y = -38;
this._x = 230;
}
};
firearmsFuture_mc.onEnterFrame = function () {
this._alpha = this._alpha - 5;
if (this._alpha < 0) {
delete this.onEnterFrame;
this._y = -30;
this._x = 230;
}
};
}
fireArmsMenuV = 0;
}
function pressMore() {
if (counterVar == 0) {
pressMore_mc.swapDepths(100058);
pressMore_mc._x = 370;
pressMore_mc._y = 164;
pressMore_mc.onEnterFrame = function () {
counterVar2 = counterVar2 + 1;
if (counterVar2 > 125) {
delete this.onEnterFrame;
pressMore_mc.onEnterFrame = function () {
this._alpha = this._alpha + 3;
if (this._alpha >= 100) {
delete this.onEnterFrame;
pressMore_mc.onEnterFrame = function () {
counterVar = counterVar + 1;
if (counterVar > 200) {
delete this.onEnterFrame;
pressMore_mc.onEnterFrame = function () {
this._alpha = this._alpha - 3;
if (this._alpha <= 0) {
delete this.onEnterFrame;
pressMore_mc._x = 3370;
pressMore_mc._y = 3164;
}
};
}
};
}
};
}
};
}
}
function adjustTransparency() {
if (counterVarT == 0) {
adjustTransparancy_mc.swapDepths(100057);
adjustTransparancy_mc._x = 355;
adjustTransparancy_mc._y = 138;
adjustTransparancy_mc.onEnterFrame = function () {
counterVarT2 = counterVarT2 + 1;
if (counterVarT2 > 50) {
delete this.onEnterFrame;
adjustTransparancy_mc.onEnterFrame = function () {
this._alpha = this._alpha + 3;
if (this._alpha >= 100) {
delete this.onEnterFrame;
adjustTransparancy_mc.onEnterFrame = function () {
counterVarT = counterVarT + 1;
if (counterVarT > 200) {
delete this.onEnterFrame;
adjustTransparancy_mc.onEnterFrame = function () {
this._alpha = this._alpha - 3;
if (this._alpha <= 0) {
delete this.onEnterFrame;
adjustTransparancy_mc._x = 3370;
adjustTransparancy_mc._y = 3164;
}
};
}
};
}
};
}
};
}
}
stop();
var creditsOn = 0;
var soundIconV = 0;
greyBar_mc.swapDepths(16000);
leftBar_mc.swapDepths(16001);
buttons_mc.swapDepths(16002);
templateArm1_mc.swapDepths(6099);
firearmsFuture_mc.swapDepths(10003);
firearmsModern_mc.swapDepths(10004);
firearmsOld_mc.swapDepths(10005);
popUps_mc.swapDepths(99999999);
hey_mc.swapDepths(300000);
dropDownMouth_mc.swapDepths(16006);
templateBody_mc.swapDepths(160);
templateEyes_mc.swapDepths(1999);
templateMouth_mc.swapDepths(999);
templateLegs_mc.swapDepths(3999);
templateArm1_mc.swapDepths(9691);
templateArm2_mc.swapDepths(3992);
soundIcon_mc.swapDepths(13521);
futureSwordsColorPanel_mc.swapDepths(17001);
hoodedColorpanel_mc.swapDepths(17002);
bobbieHatsColorPanel_mc.swapDepths(17003);
scifiVisirColorPanel_mc.swapDepths(17004);
samuraiLegsColor2_mc.swapDepths(17005);
banditMaskColor_mc.swapDepths(17006);
fashionGlassesColorPanel_mc.swapDepths(17007);
kantanaLeft2Color_mc.swapDepths(17008);
kantanaRight2Color_mc.swapDepths(17009);
kantanaLeft1Color_mc.swapDepths(17010);
kantana2HandedColor_mc.swapDepths(17011);
kantanaRight1Color_mc.swapDepths(17012);
samuraiLegsColor_mc.swapDepths(17013);
samuraiTorsoColor_mc.swapDepths(17014);
samuraiHelmetColor_mc.swapDepths(17015);
headPhoneColor_mc.swapDepths(17016);
bandanaCap2Color_mc.swapDepths(17017);
bandanaCapColor_mc.swapDepths(17018);
bandanaColor_mc.swapDepths(17019);
smallDreadsHairColor_mc.swapDepths(17020);
spikey2HairColor_mc.swapDepths(17021);
spikeyHairColor_mc.swapDepths(17022);
sloppy2HairColor_mc.swapDepths(17023);
sloppyHairColor_mc.swapDepths(17024);
guileHairColor_mc.swapDepths(17025);
elvisHairColor_mc.swapDepths(17026);
dreadsHairColor_mc.swapDepths(17027);
afroHairColor_mc.swapDepths(17028);
fiftiesHairColor_mc.swapDepths(17029);
vanDykeColor_mc.swapDepths(17030);
fullBeardColor_mc.swapDepths(17031);
muttonChopsColor_mc.swapDepths(17032);
santaStyleColor_mc.swapDepths(17033);
broadGoateeColor_mc.swapDepths(17034);
anchorGoateeColor_mc.swapDepths(17035);
goateeColor_mc.swapDepths(17036);
smallGoateeColor_mc.swapDepths(17037);
handlebarColor_mc.swapDepths(17038);
walrusColor_mc.swapDepths(17039);
daliColor_mc.swapDepths(17040);
horseshoeColor_mc.swapDepths(17041);
toothbrushColor_mc.swapDepths(17042);
vikingColor_mc.swapDepths(17043);
var hairOn = 0;
buttons_mc.hair_btn.onRelease = function () {
if (faceOn == 1) {
faceRemove();
firearmsMenuRemove();
mouthMenuRemove();
appearHair();
hairDropDown();
faceOn = 0;
hairOn = 1;
} else if (glassesOn == 1) {
glassesRemove();
firearmsMenuRemove();
mouthMenuRemove();
appearHair();
hairDropDown();
glassesOn = 0;
hairOn = 1;
} else if (weaponsOn == 1) {
weaponsRemove();
firearmsMenuRemove();
mouthMenuRemove();
appearHair();
hairDropDown();
weaponsOn = 0;
hairOn = 1;
} else if (torsoOn == 1) {
torsoRemove();
firearmsMenuRemove();
mouthMenuRemove();
appearHair();
hairDropDown();
hairOn = 1;
torsoOn = 0;
} else if (legsOn == 1) {
legsRemove();
firearmsMenuRemove();
mouthMenuRemove();
appearHair();
hairDropDown();
hairOn = 1;
legsOn = 0;
} else if (backgroundOn == 1) {
var _local1 = new mx.transitions.Tween(backgroundMenu_mc, "_x", Strong.easeOut, 510, 550, 1, true);
firearmsMenuRemove();
mouthMenuRemove();
appearHair();
hairDropDown();
hairOn = 1;
backgroundOn = 0;
} else if (hairOn == 0) {
firearmsMenuRemove();
mouthMenuRemove();
appearHair();
hairDropDown();
hairOn = 1;
} else if (hairOn == 1) {
hairRemove();
hairOn = 0;
}
};
var faceOn = 0;
buttons_mc.face_btn.onRelease = function () {
if (faceOn == 1) {
faceRemove();
faceOn = 0;
} else if (glassesOn == 1) {
glassesRemove();
firearmsMenuRemove();
mouthMenuRemove();
appearFACE();
faceDropDown();
faceOn = 1;
hairOn = 0;
} else if (hairOn == 1) {
hairRemove();
firearmsMenuRemove();
mouthMenuRemove();
appearFACE();
faceDropDown();
faceOn = 1;
hairOn = 0;
} else if (weaponsOn == 1) {
weaponsRemove();
firearmsMenuRemove();
mouthMenuRemove();
appearFACE();
faceDropDown();
faceOn = 1;
weaponsOn = 0;
} else if (torsoOn == 1) {
torsoRemove();
firearmsMenuRemove();
mouthMenuRemove();
appearFACE();
faceDropDown();
faceOn = 1;
torsoOn = 0;
} else if (legsOn == 1) {
legsRemove();
firearmsMenuRemove();
mouthMenuRemove();
appearFACE();
faceDropDown();
faceOn = 1;
legsOn = 0;
} else if (backgroundOn == 1) {
firearmsMenuRemove();
mouthMenuRemove();
appearFACE();
faceDropDown();
var _local1 = new mx.transitions.Tween(backgroundMenu_mc, "_x", Strong.easeOut, 510, 550, 1, true);
faceOn = 1;
backgroundOn = 0;
} else if (faceOn == 0) {
faceDropDown();
firearmsMenuRemove();
mouthMenuRemove();
appearFACE();
faceOn = 1;
}
};
var glassesOn = 0;
buttons_mc.glasses_btn.onRelease = function () {
if (glassesOn == 1) {
glassesRemove();
glassesOn = 0;
} else if (hairOn == 1) {
hairRemove();
firearmsMenuRemove();
mouthMenuRemove();
appearGlasses();
glassesDropDown();
glassesOn = 1;
hairOn = 0;
} else if (faceOn == 1) {
faceRemove();
firearmsMenuRemove();
mouthMenuRemove();
appearGlasses();
glassesDropDown();
glassesOn = 1;
faceOn = 0;
} else if (weaponsOn == 1) {
weaponsRemove();
firearmsMenuRemove();
mouthMenuRemove();
appearGlasses();
glassesDropDown();
glassesOn = 1;
weaponsOn = 0;
} else if (torsoOn == 1) {
torsoRemove();
firearmsMenuRemove();
mouthMenuRemove();
appearGlasses();
glassesDropDown();
glassesOn = 1;
torsoOn = 0;
} else if (legsOn == 1) {
legsRemove();
firearmsMenuRemove();
mouthMenuRemove();
appearGlasses();
glassesDropDown();
glassesOn = 1;
legsOn = 0;
} else if (backgroundOn == 1) {
firearmsMenuRemove();
mouthMenuRemove();
appearGlasses();
glassesDropDown();
var _local1 = new mx.transitions.Tween(backgroundMenu_mc, "_x", Strong.easeOut, 510, 550, 1, true);
glassesOn = 1;
backgroundOn = 0;
} else if (glassesOn == 0) {
firearmsMenuRemove();
mouthMenuRemove();
appearGlasses();
glassesDropDown();
glassesOn = 1;
}
};
var weaponsOn = 0;
buttons_mc.weapon_btn.onRelease = function () {
if (weaponsOn == 1) {
weaponsRemove();
weaponsOn = 0;
} else if (hairOn == 1) {
hairRemove();
mouthMenuRemove();
appearWeapon();
weaponsDropDown();
weaponsOn = 1;
hairOn = 0;
} else if (faceOn == 1) {
faceRemove();
mouthMenuRemove();
appearWeapon();
weaponsDropDown();
weaponsOn = 1;
faceOn = 0;
} else if (glassesOn == 1) {
glassesRemove();
mouthMenuRemove();
appearWeapon();
weaponsDropDown();
weaponsOn = 1;
glassesOn = 0;
} else if (torsoOn == 1) {
torsoRemove();
mouthMenuRemove();
appearWeapon();
weaponsDropDown();
weaponsOn = 1;
torsoOn = 0;
} else if (legsOn == 1) {
legsRemove();
mouthMenuRemove();
appearWeapon();
weaponsDropDown();
weaponsOn = 1;
legsOn = 0;
} else if (backgroundOn == 1) {
mouthMenuRemove();
appearWeapon();
weaponsDropDown();
var _local1 = new mx.transitions.Tween(backgroundMenu_mc, "_x", Strong.easeOut, 510, 550, 1, true);
weaponsOn = 1;
backgroundOn = 0;
} else if (weaponsOn == 0) {
mouthMenuRemove();
appearWeapon();
weaponsDropDown();
weaponsOn = 1;
}
};
var torsoOn = 0;
buttons_mc.torso_btn.onRelease = function () {
if (torsoOn == 1) {
torsoRemove();
torsoOn = 0;
} else if (hairOn == 1) {
hairRemove();
firearmsMenuRemove();
mouthMenuRemove();
appearTorso();
torsoDropDown();
torsoOn = 1;
hairOn = 0;
} else if (faceOn == 1) {
faceRemove();
firearmsMenuRemove();
mouthMenuRemove();
appearTorso();
torsoDropDown();
torsoOn = 1;
faceOn = 0;
} else if (glassesOn == 1) {
glassesRemove();
firearmsMenuRemove();
mouthMenuRemove();
appearTorso();
torsoDropDown();
torsoOn = 1;
glassesOn = 0;
} else if (weaponsOn == 1) {
weaponsRemove();
firearmsMenuRemove();
mouthMenuRemove();
appearTorso();
torsoDropDown();
torsoOn = 1;
weaponsOn = 0;
} else if (legsOn == 1) {
legsRemove();
firearmsMenuRemove();
mouthMenuRemove();
appearTorso();
torsoDropDown();
torsoOn = 1;
legsOn = 0;
} else if (backgroundOn == 1) {
firearmsMenuRemove();
mouthMenuRemove();
appearTorso();
torsoDropDown();
var _local1 = new mx.transitions.Tween(backgroundMenu_mc, "_x", Strong.easeOut, 510, 550, 1, true);
torsoOn = 1;
backgroundOn = 0;
} else if (torsoOn == 0) {
firearmsMenuRemove();
mouthMenuRemove();
appearTorso();
torsoDropDown();
torsoOn = 1;
}
};
var legsOn = 0;
buttons_mc.legs_btn.onRelease = function () {
if (legsOn == 1) {
legsRemove();
legsOn = 0;
} else if (hairOn == 1) {
hairRemove();
firearmsMenuRemove();
mouthMenuRemove();
appearLegs();
legsDropDown();
legsOn = 1;
hairOn = 0;
} else if (faceOn == 1) {
faceRemove();
firearmsMenuRemove();
mouthMenuRemove();
appearLegs();
legsDropDown();
legsOn = 1;
faceOn = 0;
} else if (glassesOn == 1) {
glassesRemove();
firearmsMenuRemove();
mouthMenuRemove();
appearLegs();
legsDropDown();
legsOn = 1;
glassesOn = 0;
} else if (weaponsOn == 1) {
weaponsRemove();
firearmsMenuRemove();
mouthMenuRemove();
appearLegs();
legsDropDown();
legsOn = 1;
weaponsOn = 0;
} else if (torsoOn == 1) {
torsoRemove();
firearmsMenuRemove();
mouthMenuRemove();
appearLegs();
legsDropDown();
legsOn = 1;
torsoOn = 0;
} else if (backgroundOn == 1) {
firearmsMenuRemove();
mouthMenuRemove();
appearLegs();
legsDropDown();
var _local1 = new mx.transitions.Tween(backgroundMenu_mc, "_x", Strong.easeOut, 510, 550, 1, true);
legsOn = 1;
backgroundOn = 0;
} else if (legsOn == 0) {
firearmsMenuRemove();
mouthMenuRemove();
appearLegs();
legsDropDown();
legsOn = 1;
}
};
var backgroundOn = 0;
buttons_mc.background_btn.onRelease = function () {
if (backgroundOn == 1) {
var _local1 = new mx.transitions.Tween(backgroundMenu_mc, "_x", Strong.easeOut, 510, 550, 1, true);
backgroundOn = 0;
dropDownGone();
firearmsMenuRemove();
mouthMenuRemove();
} else if (backgroundOn == 0) {
var _local1 = new mx.transitions.Tween(backgroundMenu_mc, "_x", Strong.easeOut, 550, 510, 1, true);
backgroundOn = 1;
menusOut();
}
};
var loader = this.createClassObject(it.sephiroth.mloaderWindow, "loader", 999998, {_x:-1000, _y:-1000});
loader.setStyle("borderColor", 3355443);
var listener = new Object();
listener.onProgress = function (target, loaded, total) {
var _local1 = Math.round((loaded / total) * 100);
loader.__set__label(("computing... " + _local1) + "%");
loader.__set__value(_local1);
};
listener.onComplete = function (target, load_var) {
loader.__set__label("sending to php...");
load_var.send("pixels.php", "sexy", "POST");
loader._y = 1000;
popUp();
};
noSave_mc.okaySnowRainTip_btn.onRelease = function () {
saveMeV = 0;
noSave_mc.onEnterFrame = function () {
this._alpha = this._alpha - 20;
if (this._alpha <= 0) {
delete this.onEnterFrame;
noSave_mc._x = 10000;
}
};
};
saveMeV = 0;
_root.noSave_mc.swapDepths(100020323);
leftBarOpen();
fireArmsMenuV = 0;
firearms_mc.firearms_btn.onRelease = function () {
if (fireArmsMenuV == 0) {
fireArmsMenuV = 1;
firearmsFuture_mc._y = -30;
firearmsFuture_mc._x = 230;
firearmsFuture_mc._alpha = 100;
firearmsFuture_mc.onEnterFrame = function () {
this._y = this._y + 10;
if (this._y > 105) {
delete this.onEnterFrame;
}
};
firearmsModern_mc._y = -38;
firearmsModern_mc._x = 230;
firearmsModern_mc._alpha = 100;
firearmsModern_mc.onEnterFrame = function () {
this._y = this._y + 10;
if (this._y == 82) {
delete this.onEnterFrame;
}
};
firearmsOld_mc._y = -35;
firearmsOld_mc._x = 230;
firearmsOld_mc._alpha = 100;
firearmsOld_mc.onEnterFrame = function () {
this._y = this._y + 10;
if (this._y == 55) {
delete this.onEnterFrame;
}
};
} else if (fireArmsMenuV == 1) {
firearmsMenuRemove();
fireArmsMenuV = 0;
}
};
mouthMenuV = 0;
mouthDrop_mc.mouthMenu_btn.onRelease = function () {
if (mouthMenuV == 0) {
dropDownMouth_mc._y = -120;
dropDownMouth_mc._x = 230;
dropDownMouth_mc._alpha = 100;
mouthMenuV = 1;
dropDownMouth_mc.onEnterFrame = function () {
this._y = this._y + 12;
if (this._y > 80) {
delete this.onEnterFrame;
}
};
} else if (mouthMenuV == 1) {
mouthMenuRemove();
}
};
var counterVar = 0;
var counterVar2 = 0;
var counterVarT = 0;
var counterVarT2 = 0;
Symbol 2409 MovieClip [__Packages.mx.core.UIObject] Frame 0
class mx.core.UIObject extends MovieClip
{
var _width, _height, _x, _y, _parent, _minHeight, _minWidth, _visible, dispatchEvent, _xscale, _yscale, methodTable, onEnterFrame, tfList, __width, __height, moveTo, lineTo, createTextField, attachMovie, buildDepthTable, findNextAvailableDepth, idNames, childrenCreated, _name, createAccessibilityImplementation, _endInit, validateNow, hasOwnProperty, initProperties, stylecache, className, ignoreClassStyleDeclaration, _tf, fontFamily, fontSize, color, marginLeft, marginRight, fontStyle, fontWeight, textAlign, textIndent, textDecoration, embedFonts, styleName, enabled;
function UIObject () {
super();
constructObject();
}
function get width() {
return(_width);
}
function get height() {
return(_height);
}
function get left() {
return(_x);
}
function get x() {
return(_x);
}
function get top() {
return(_y);
}
function get y() {
return(_y);
}
function get right() {
return(_parent.width - (_x + width));
}
function get bottom() {
return(_parent.height - (_y + height));
}
function getMinHeight(Void) {
return(_minHeight);
}
function setMinHeight(h) {
_minHeight = h;
}
function get minHeight() {
return(getMinHeight());
}
function set minHeight(h) {
setMinHeight(h);
//return(minHeight);
}
function getMinWidth(Void) {
return(_minWidth);
}
function setMinWidth(w) {
_minWidth = w;
}
function get minWidth() {
return(getMinWidth());
}
function set minWidth(w) {
setMinWidth(w);
//return(minWidth);
}
function setVisible(x, noEvent) {
if (x != _visible) {
_visible = x;
if (noEvent != true) {
dispatchEvent({type:(x ? "reveal" : "hide")});
}
}
}
function get visible() {
return(_visible);
}
function set visible(x) {
setVisible(x, false);
//return(visible);
}
function get scaleX() {
return(_xscale);
}
function set scaleX(x) {
_xscale = x;
//return(scaleX);
}
function get scaleY() {
return(_yscale);
}
function set scaleY(y) {
_yscale = y;
//return(scaleY);
}
function doLater(obj, fn) {
if (methodTable == undefined) {
methodTable = new Array();
}
methodTable.push({obj:obj, fn:fn});
onEnterFrame = doLaterDispatcher;
}
function doLaterDispatcher(Void) {
delete onEnterFrame;
if (invalidateFlag) {
redraw();
}
var _local3 = methodTable;
methodTable = new Array();
if (_local3.length > 0) {
var _local2;
while (_local2 = _local3.shift() , _local2 != undefined) {
_local2.obj[_local2.fn]();
}
}
}
function cancelAllDoLaters(Void) {
delete onEnterFrame;
methodTable = new Array();
}
function invalidate(Void) {
invalidateFlag = true;
onEnterFrame = doLaterDispatcher;
}
function invalidateStyle(Void) {
invalidate();
}
function redraw(bAlways) {
if (invalidateFlag || (bAlways)) {
invalidateFlag = false;
var _local2;
for (_local2 in tfList) {
tfList[_local2].draw();
}
draw();
dispatchEvent({type:"draw"});
}
}
function draw(Void) {
}
function move(x, y, noEvent) {
var _local3 = _x;
var _local2 = _y;
_x = x;
_y = y;
if (noEvent != true) {
dispatchEvent({type:"move", oldX:_local3, oldY:_local2});
}
}
function setSize(w, h, noEvent) {
var _local3 = __width;
var _local2 = __height;
__width = w;
__height = h;
size();
if (noEvent != true) {
dispatchEvent({type:"resize", oldWidth:_local3, oldHeight:_local2});
}
}
function size(Void) {
_width = __width;
_height = __height;
}
function drawRect(x1, y1, x2, y2) {
moveTo(x1, y1);
lineTo(x2, y1);
lineTo(x2, y2);
lineTo(x1, y2);
lineTo(x1, y1);
}
function createLabel(name, depth, text) {
createTextField(name, depth, 0, 0, 0, 0);
var _local2 = this[name];
_local2._color = textColorList;
_local2._visible = false;
_local2.__text = text;
if (tfList == undefined) {
tfList = new Object();
}
tfList[name] = _local2;
_local2.invalidateStyle();
invalidate();
_local2.styleName = this;
return(_local2);
}
function createObject(linkageName, id, depth, initobj) {
return(attachMovie(linkageName, id, depth, initobj));
}
function createClassObject(className, id, depth, initobj) {
var _local3 = className.symbolName == undefined;
if (_local3) {
Object.registerClass(className.symbolOwner.symbolName, className);
}
var _local4 = mx.core.UIObject(createObject(className.symbolOwner.symbolName, id, depth, initobj));
if (_local3) {
Object.registerClass(className.symbolOwner.symbolName, className.symbolOwner);
}
return(_local4);
}
function createEmptyObject(id, depth) {
return(createClassObject(mx.core.UIObject, id, depth));
}
function destroyObject(id) {
var _local2 = this[id];
if (_local2.getDepth() < 0) {
var _local4 = buildDepthTable();
var _local5 = findNextAvailableDepth(0, _local4, "up");
var _local3 = _local5;
_local2.swapDepths(_local3);
}
_local2.removeMovieClip();
delete this[id];
}
function getSkinIDName(tag) {
return(idNames[tag]);
}
function setSkin(tag, linkageName, initObj) {
if (_global.skinRegistry[linkageName] == undefined) {
mx.skins.SkinElement.registerElement(linkageName, mx.skins.SkinElement);
}
return(createObject(linkageName, getSkinIDName(tag), tag, initObj));
}
function createSkin(tag) {
var _local2 = getSkinIDName(tag);
createEmptyObject(_local2, tag);
return(this[_local2]);
}
function createChildren(Void) {
}
function _createChildren(Void) {
createChildren();
childrenCreated = true;
}
function constructObject(Void) {
if (_name == undefined) {
return(undefined);
}
init();
_createChildren();
createAccessibilityImplementation();
_endInit();
if (validateNow) {
redraw(true);
} else {
invalidate();
}
}
function initFromClipParameters(Void) {
var _local4 = false;
var _local2;
for (_local2 in clipParameters) {
if (hasOwnProperty(_local2)) {
_local4 = true;
this["def_" + _local2] = this[_local2];
delete this[_local2];
}
}
if (_local4) {
for (_local2 in clipParameters) {
var _local3 = this["def_" + _local2];
if (_local3 != undefined) {
this[_local2] = _local3;
}
}
}
}
function init(Void) {
__width = _width;
__height = _height;
if (initProperties == undefined) {
initFromClipParameters();
} else {
initProperties();
}
if (_global.cascadingStyles == true) {
stylecache = new Object();
}
}
function getClassStyleDeclaration(Void) {
var _local4 = this;
var _local3 = className;
while (_local3 != undefined) {
if (ignoreClassStyleDeclaration[_local3] == undefined) {
if (_global.styles[_local3] != undefined) {
return(_global.styles[_local3]);
}
}
_local4 = _local4.__proto__;
_local3 = _local4.className;
}
}
function setColor(color) {
}
function __getTextFormat(tf, bAll) {
var _local8 = stylecache.tf;
if (_local8 != undefined) {
var _local3;
for (_local3 in mx.styles.StyleManager.TextFormatStyleProps) {
if (bAll || (mx.styles.StyleManager.TextFormatStyleProps[_local3])) {
if (tf[_local3] == undefined) {
tf[_local3] = _local8[_local3];
}
}
}
return(false);
}
var _local6 = false;
for (var _local3 in mx.styles.StyleManager.TextFormatStyleProps) {
if (bAll || (mx.styles.StyleManager.TextFormatStyleProps[_local3])) {
if (tf[_local3] == undefined) {
var _local5 = _tf[_local3];
if (_local5 != undefined) {
tf[_local3] = _local5;
} else if ((_local3 == "font") && (fontFamily != undefined)) {
tf[_local3] = fontFamily;
} else if ((_local3 == "size") && (fontSize != undefined)) {
tf[_local3] = fontSize;
} else if ((_local3 == "color") && (color != undefined)) {
tf[_local3] = color;
} else if ((_local3 == "leftMargin") && (marginLeft != undefined)) {
tf[_local3] = marginLeft;
} else if ((_local3 == "rightMargin") && (marginRight != undefined)) {
tf[_local3] = marginRight;
} else if ((_local3 == "italic") && (fontStyle != undefined)) {
tf[_local3] = fontStyle == _local3;
} else if ((_local3 == "bold") && (fontWeight != undefined)) {
tf[_local3] = fontWeight == _local3;
} else if ((_local3 == "align") && (textAlign != undefined)) {
tf[_local3] = textAlign;
} else if ((_local3 == "indent") && (textIndent != undefined)) {
tf[_local3] = textIndent;
} else if ((_local3 == "underline") && (textDecoration != undefined)) {
tf[_local3] = textDecoration == _local3;
} else if ((_local3 == "embedFonts") && (embedFonts != undefined)) {
tf[_local3] = embedFonts;
} else {
_local6 = true;
}
}
}
}
if (_local6) {
var _local9 = styleName;
if (_local9 != undefined) {
if (typeof(_local9) != "string") {
_local6 = _local9.__getTextFormat(tf, true, this);
} else if (_global.styles[_local9] != undefined) {
_local6 = _global.styles[_local9].__getTextFormat(tf, true, this);
}
}
}
if (_local6) {
var _local10 = getClassStyleDeclaration();
if (_local10 != undefined) {
_local6 = _local10.__getTextFormat(tf, true, this);
}
}
if (_local6) {
if (_global.cascadingStyles) {
if (_parent != undefined) {
_local6 = _parent.__getTextFormat(tf, false);
}
}
}
if (_local6) {
_local6 = _global.style.__getTextFormat(tf, true, this);
}
return(_local6);
}
function _getTextFormat(Void) {
var _local2 = stylecache.tf;
if (_local2 != undefined) {
return(_local2);
}
_local2 = new TextFormat();
__getTextFormat(_local2, true);
stylecache.tf = _local2;
if (enabled == false) {
var _local3 = getStyle("disabledColor");
_local2.color = _local3;
}
return(_local2);
}
function getStyleName(Void) {
var _local2 = styleName;
if (_local2 != undefined) {
if (typeof(_local2) != "string") {
return(_local2.getStyleName());
}
return(_local2);
}
if (_parent != undefined) {
return(_parent.getStyleName());
}
return(undefined);
}
function getStyle(styleProp) {
var _local3;
_global.getStyleCounter++;
if (this[styleProp] != undefined) {
return(this[styleProp]);
}
var _local6 = styleName;
if (_local6 != undefined) {
if (typeof(_local6) != "string") {
_local3 = _local6.getStyle(styleProp);
} else {
var _local7 = _global.styles[_local6];
_local3 = _local7.getStyle(styleProp);
}
}
if (_local3 != undefined) {
return(_local3);
}
var _local7 = getClassStyleDeclaration();
if (_local7 != undefined) {
_local3 = _local7[styleProp];
}
if (_local3 != undefined) {
return(_local3);
}
if (_global.cascadingStyles) {
if (mx.styles.StyleManager.isInheritingStyle(styleProp) || (mx.styles.StyleManager.isColorStyle(styleProp))) {
var _local5 = stylecache;
if (_local5 != undefined) {
if (_local5[styleProp] != undefined) {
return(_local5[styleProp]);
}
}
if (_parent != undefined) {
_local3 = _parent.getStyle(styleProp);
} else {
_local3 = _global.style[styleProp];
}
if (_local5 != undefined) {
_local5[styleProp] = _local3;
}
return(_local3);
}
}
if (_local3 == undefined) {
_local3 = _global.style[styleProp];
}
return(_local3);
}
static function mergeClipParameters(o, p) {
for (var _local3 in p) {
o[_local3] = p[_local3];
}
return(true);
}
static var symbolName = "UIObject";
static var symbolOwner = mx.core.UIObject;
static var version = "2.0.2.126";
static var textColorList = {color:1, disabledColor:1};
var invalidateFlag = false;
var lineWidth = 1;
var lineColor = 0;
var tabEnabled = false;
var clipParameters = {visible:1, minHeight:1, minWidth:1, maxHeight:1, maxWidth:1, preferredHeight:1, preferredWidth:1};
}
Symbol 2410 MovieClip [__Packages.mx.skins.SkinElement] Frame 0
class mx.skins.SkinElement extends MovieClip
{
var _visible, _x, _y, _width, _height;
function SkinElement () {
super();
}
static function registerElement(name, className) {
Object.registerClass(name, ((className == undefined) ? (mx.skins.SkinElement) : (className)));
_global.skinRegistry[name] = true;
}
function __set__visible(visible) {
_visible = visible;
}
function move(x, y) {
_x = x;
_y = y;
}
function setSize(w, h) {
_width = w;
_height = h;
}
}
Symbol 2411 MovieClip [__Packages.mx.styles.CSSTextStyles] Frame 0
class mx.styles.CSSTextStyles
{
function CSSTextStyles () {
}
static function addTextStyles(o, bColor) {
o.addProperty("textAlign", function () {
return(this._tf.align);
}, function (x) {
if (this._tf == undefined) {
this._tf = new TextFormat();
}
this._tf.align = x;
});
o.addProperty("fontWeight", function () {
return(((this._tf.bold != undefined) ? ((this._tf.bold ? "bold" : "none")) : undefined));
}, function (x) {
if (this._tf == undefined) {
this._tf = new TextFormat();
}
this._tf.bold = x == "bold";
});
if (bColor) {
o.addProperty("color", function () {
return(this._tf.color);
}, function (x) {
if (this._tf == undefined) {
this._tf = new TextFormat();
}
this._tf.color = x;
});
}
o.addProperty("fontFamily", function () {
return(this._tf.font);
}, function (x) {
if (this._tf == undefined) {
this._tf = new TextFormat();
}
this._tf.font = x;
});
o.addProperty("textIndent", function () {
return(this._tf.indent);
}, function (x) {
if (this._tf == undefined) {
this._tf = new TextFormat();
}
this._tf.indent = x;
});
o.addProperty("fontStyle", function () {
return(((this._tf.italic != undefined) ? ((this._tf.italic ? "italic" : "none")) : undefined));
}, function (x) {
if (this._tf == undefined) {
this._tf = new TextFormat();
}
this._tf.italic = x == "italic";
});
o.addProperty("marginLeft", function () {
return(this._tf.leftMargin);
}, function (x) {
if (this._tf == undefined) {
this._tf = new TextFormat();
}
this._tf.leftMargin = x;
});
o.addProperty("marginRight", function () {
return(this._tf.rightMargin);
}, function (x) {
if (this._tf == undefined) {
this._tf = new TextFormat();
}
this._tf.rightMargin = x;
});
o.addProperty("fontSize", function () {
return(this._tf.size);
}, function (x) {
if (this._tf == undefined) {
this._tf = new TextFormat();
}
this._tf.size = x;
});
o.addProperty("textDecoration", function () {
return(((this._tf.underline != undefined) ? ((this._tf.underline ? "underline" : "none")) : undefined));
}, function (x) {
if (this._tf == undefined) {
this._tf = new TextFormat();
}
this._tf.underline = x == "underline";
});
o.addProperty("embedFonts", function () {
return(this._tf.embedFonts);
}, function (x) {
if (this._tf == undefined) {
this._tf = new TextFormat();
}
this._tf.embedFonts = x;
});
}
}
Symbol 2412 MovieClip [__Packages.mx.styles.CSSStyleDeclaration] Frame 0
class mx.styles.CSSStyleDeclaration
{
var _tf;
function CSSStyleDeclaration () {
}
function __getTextFormat(tf, bAll) {
var _local5 = false;
if (_tf != undefined) {
var _local2;
for (_local2 in mx.styles.StyleManager.TextFormatStyleProps) {
if (bAll || (mx.styles.StyleManager.TextFormatStyleProps[_local2])) {
if (tf[_local2] == undefined) {
var _local3 = _tf[_local2];
if (_local3 != undefined) {
tf[_local2] = _local3;
} else {
_local5 = true;
}
}
}
}
} else {
_local5 = true;
}
return(_local5);
}
function getStyle(styleProp) {
var _local2 = this[styleProp];
var _local3 = mx.styles.StyleManager.getColorName(_local2);
return(((_local3 == undefined) ? (_local2) : (_local3)));
}
static function classConstruct() {
mx.styles.CSSTextStyles.addTextStyles(mx.styles.CSSStyleDeclaration.prototype, true);
return(true);
}
static var classConstructed = classConstruct();
static var CSSTextStylesDependency = mx.styles.CSSTextStyles;
}
Symbol 2413 MovieClip [__Packages.mx.styles.StyleManager] Frame 0
class mx.styles.StyleManager
{
function StyleManager () {
}
static function registerInheritingStyle(styleName) {
inheritingStyles[styleName] = true;
}
static function isInheritingStyle(styleName) {
return(inheritingStyles[styleName] == true);
}
static function registerColorStyle(styleName) {
colorStyles[styleName] = true;
}
static function isColorStyle(styleName) {
return(colorStyles[styleName] == true);
}
static function registerColorName(colorName, colorValue) {
colorNames[colorName] = colorValue;
}
static function isColorName(colorName) {
return(colorNames[colorName] != undefined);
}
static function getColorName(colorName) {
return(colorNames[colorName]);
}
static var inheritingStyles = {color:true, direction:true, fontFamily:true, fontSize:true, fontStyle:true, fontWeight:true, textAlign:true, textIndent:true};
static var colorStyles = {barColor:true, trackColor:true, borderColor:true, buttonColor:true, color:true, dateHeaderColor:true, dateRollOverColor:true, disabledColor:true, fillColor:true, highlightColor:true, scrollTrackColor:true, selectedDateColor:true, shadowColor:true, strokeColor:true, symbolBackgroundColor:true, symbolBackgroundDisabledColor:true, symbolBackgroundPressedColor:true, symbolColor:true, symbolDisabledColor:true, themeColor:true, todayIndicatorColor:true, shadowCapColor:true, borderCapColor:true, focusColor:true};
static var colorNames = {black:0, white:16777215, red:16711680, green:65280, blue:255, magenta:16711935, yellow:16776960, cyan:65535, haloGreen:8453965, haloBlue:2881013, haloOrange:16761344};
static var TextFormatStyleProps = {font:true, size:true, color:true, leftMargin:false, rightMargin:false, italic:true, bold:true, align:true, indent:true, underline:false, embedFonts:false};
static var TextStyleMap = {textAlign:true, fontWeight:true, color:true, fontFamily:true, textIndent:true, fontStyle:true, lineHeight:true, marginLeft:true, marginRight:true, fontSize:true, textDecoration:true, embedFonts:true};
}
Symbol 2414 MovieClip [__Packages.mx.events.EventDispatcher] Frame 0
class mx.events.EventDispatcher
{
function EventDispatcher () {
}
static function _removeEventListener(queue, event, handler) {
if (queue != undefined) {
var _local4 = queue.length;
var _local1;
_local1 = 0;
while (_local1 < _local4) {
var _local2 = queue[_local1];
if (_local2 == handler) {
queue.splice(_local1, 1);
return(undefined);
}
_local1++;
}
}
}
static function initialize(object) {
if (_fEventDispatcher == undefined) {
_fEventDispatcher = new mx.events.EventDispatcher();
}
object.addEventListener = _fEventDispatcher.addEventListener;
object.removeEventListener = _fEventDispatcher.removeEventListener;
object.dispatchEvent = _fEventDispatcher.dispatchEvent;
object.dispatchQueue = _fEventDispatcher.dispatchQueue;
}
function dispatchQueue(queueObj, eventObj) {
var _local7 = "__q_" + eventObj.type;
var _local4 = queueObj[_local7];
if (_local4 != undefined) {
var _local5;
for (_local5 in _local4) {
var _local1 = _local4[_local5];
var _local3 = typeof(_local1);
if ((_local3 == "object") || (_local3 == "movieclip")) {
if (_local1.handleEvent != undefined) {
_local1.handleEvent(eventObj);
}
if (_local1[eventObj.type] != undefined) {
if (exceptions[eventObj.type] == undefined) {
_local1[eventObj.type](eventObj);
}
}
} else {
_local1.apply(queueObj, [eventObj]);
}
}
}
}
function dispatchEvent(eventObj) {
if (eventObj.target == undefined) {
eventObj.target = this;
}
this[eventObj.type + "Handler"](eventObj);
dispatchQueue(this, eventObj);
}
function addEventListener(event, handler) {
var _local3 = "__q_" + event;
if (this[_local3] == undefined) {
this[_local3] = new Array();
}
_global.ASSetPropFlags(this, _local3, 1);
_removeEventListener(this[_local3], event, handler);
this[_local3].push(handler);
}
function removeEventListener(event, handler) {
var _local2 = "__q_" + event;
_removeEventListener(this[_local2], event, handler);
}
static var _fEventDispatcher = undefined;
static var exceptions = {move:1, draw:1, load:1};
}
Symbol 2415 MovieClip [__Packages.mx.events.UIEventDispatcher] Frame 0
class mx.events.UIEventDispatcher extends mx.events.EventDispatcher
{
var dispatchQueue, owner, __sentLoadEvent, __origAddEventListener;
function UIEventDispatcher () {
super();
}
static function addKeyEvents(obj) {
if (obj.keyHandler == undefined) {
var _local1 = (obj.keyHandler = new Object());
_local1.owner = obj;
_local1.onKeyDown = _fEventDispatcher.onKeyDown;
_local1.onKeyUp = _fEventDispatcher.onKeyUp;
}
Key.addListener(obj.keyHandler);
}
static function removeKeyEvents(obj) {
Key.removeListener(obj.keyHandler);
}
static function addLoadEvents(obj) {
if (obj.onLoad == undefined) {
obj.onLoad = _fEventDispatcher.onLoad;
obj.onUnload = _fEventDispatcher.onUnload;
if (obj.getBytesTotal() == obj.getBytesLoaded()) {
obj.doLater(obj, "onLoad");
}
}
}
static function removeLoadEvents(obj) {
delete obj.onLoad;
delete obj.onUnload;
}
static function initialize(obj) {
if (_fEventDispatcher == undefined) {
_fEventDispatcher = new mx.events.UIEventDispatcher();
}
obj.addEventListener = _fEventDispatcher.__addEventListener;
obj.__origAddEventListener = _fEventDispatcher.addEventListener;
obj.removeEventListener = _fEventDispatcher.removeEventListener;
obj.dispatchEvent = _fEventDispatcher.dispatchEvent;
obj.dispatchQueue = _fEventDispatcher.dispatchQueue;
}
function dispatchEvent(eventObj) {
if (eventObj.target == undefined) {
eventObj.target = this;
}
this[eventObj.type + "Handler"](eventObj);
dispatchQueue(mx.events.EventDispatcher, eventObj);
dispatchQueue(this, eventObj);
}
function onKeyDown(Void) {
owner.dispatchEvent({type:"keyDown", code:Key.getCode(), ascii:Key.getAscii(), shiftKey:Key.isDown(16), ctrlKey:Key.isDown(17)});
}
function onKeyUp(Void) {
owner.dispatchEvent({type:"keyUp", code:Key.getCode(), ascii:Key.getAscii(), shiftKey:Key.isDown(16), ctrlKey:Key.isDown(17)});
}
function onLoad(Void) {
if (__sentLoadEvent != true) {
dispatchEvent({type:"load"});
}
__sentLoadEvent = true;
}
function onUnload(Void) {
dispatchEvent({type:"unload"});
}
function __addEventListener(event, handler) {
__origAddEventListener(event, handler);
var _local3 = lowLevelEvents;
for (var _local5 in _local3) {
if (mx.events.UIEventDispatcher[_local5][event] != undefined) {
var _local2 = _local3[_local5][0];
mx.events.UIEventDispatcher[_local2](this);
}
}
}
function removeEventListener(event, handler) {
var _local6 = "__q_" + event;
mx.events.EventDispatcher._removeEventListener(this[_local6], event, handler);
if (this[_local6].length == 0) {
var _local2 = lowLevelEvents;
for (var _local5 in _local2) {
if (mx.events.UIEventDispatcher[_local5][event] != undefined) {
var _local3 = _local2[_local5][1];
mx.events.UIEventDispatcher[_local2[_local5][1]](this);
}
}
}
}
static var keyEvents = {keyDown:1, keyUp:1};
static var loadEvents = {load:1, unload:1};
static var lowLevelEvents = {keyEvents:["addKeyEvents", "removeKeyEvents"], loadEvents:["addLoadEvents", "removeLoadEvents"]};
static var _fEventDispatcher = undefined;
}
Symbol 2416 MovieClip [__Packages.mx.core.ext.UIObjectExtensions] Frame 0
class mx.core.ext.UIObjectExtensions
{
function UIObjectExtensions () {
}
static function addGeometry(tf, ui) {
tf.addProperty("width", ui.__get__width, null);
tf.addProperty("height", ui.__get__height, null);
tf.addProperty("left", ui.__get__left, null);
tf.addProperty("x", ui.__get__x, null);
tf.addProperty("top", ui.__get__top, null);
tf.addProperty("y", ui.__get__y, null);
tf.addProperty("right", ui.__get__right, null);
tf.addProperty("bottom", ui.__get__bottom, null);
tf.addProperty("visible", ui.__get__visible, ui.__set__visible);
}
static function Extensions() {
if (bExtended == true) {
return(true);
}
bExtended = true;
var _local6 = mx.core.UIObject.prototype;
var _local9 = mx.skins.SkinElement.prototype;
addGeometry(_local9, _local6);
mx.events.UIEventDispatcher.initialize(_local6);
var _local13 = mx.skins.ColoredSkinElement;
mx.styles.CSSTextStyles.addTextStyles(_local6);
var _local5 = MovieClip.prototype;
_local5.getTopLevel = _local6.getTopLevel;
_local5.createLabel = _local6.createLabel;
_local5.createObject = _local6.createObject;
_local5.createClassObject = _local6.createClassObject;
_local5.createEmptyObject = _local6.createEmptyObject;
_local5.destroyObject = _local6.destroyObject;
_global.ASSetPropFlags(_local5, "getTopLevel", 1);
_global.ASSetPropFlags(_local5, "createLabel", 1);
_global.ASSetPropFlags(_local5, "createObject", 1);
_global.ASSetPropFlags(_local5, "createClassObject", 1);
_global.ASSetPropFlags(_local5, "createEmptyObject", 1);
_global.ASSetPropFlags(_local5, "destroyObject", 1);
_local5.__getTextFormat = _local6.__getTextFormat;
_local5._getTextFormat = _local6._getTextFormat;
_local5.getStyleName = _local6.getStyleName;
_local5.getStyle = _local6.getStyle;
_global.ASSetPropFlags(_local5, "__getTextFormat", 1);
_global.ASSetPropFlags(_local5, "_getTextFormat", 1);
_global.ASSetPropFlags(_local5, "getStyleName", 1);
_global.ASSetPropFlags(_local5, "getStyle", 1);
var _local7 = TextField.prototype;
addGeometry(_local7, _local6);
_local7.addProperty("enabled", function () {
return(this.__enabled);
}, function (x) {
this.__enabled = x;
this.invalidateStyle();
});
_local7.move = _local9.move;
_local7.setSize = _local9.setSize;
_local7.invalidateStyle = function () {
this.invalidateFlag = true;
};
_local7.draw = function () {
if (this.invalidateFlag) {
this.invalidateFlag = false;
var _local2 = this._getTextFormat();
this.setTextFormat(_local2);
this.setNewTextFormat(_local2);
this.embedFonts = _local2.embedFonts == true;
if (this.__text != undefined) {
if (this.text == "") {
this.text = this.__text;
}
delete this.__text;
}
this._visible = true;
}
};
_local7.setColor = function (color) {
this.textColor = color;
};
_local7.getStyle = _local5.getStyle;
_local7.__getTextFormat = _local6.__getTextFormat;
_local7.setValue = function (v) {
this.text = v;
};
_local7.getValue = function () {
return(this.text);
};
_local7.addProperty("value", function () {
return(this.getValue());
}, function (v) {
this.setValue(v);
});
_local7._getTextFormat = function () {
var _local2 = this.stylecache.tf;
if (_local2 != undefined) {
return(_local2);
}
_local2 = new TextFormat();
this.__getTextFormat(_local2);
this.stylecache.tf = _local2;
if (this.__enabled == false) {
if (this.enabledColor == undefined) {
var _local4 = this.getTextFormat();
this.enabledColor = _local4.color;
}
var _local3 = this.getStyle("disabledColor");
_local2.color = _local3;
} else if (this.enabledColor != undefined) {
if (_local2.color == undefined) {
_local2.color = this.enabledColor;
}
}
return(_local2);
};
_local7.getPreferredWidth = function () {
this.draw();
return(this.textWidth + 4);
};
_local7.getPreferredHeight = function () {
this.draw();
return(this.textHeight + 4);
};
TextFormat.prototype.getTextExtent2 = function (s) {
var _local3 = _root._getTextExtent;
if (_local3 == undefined) {
_root.createTextField("_getTextExtent", -2, 0, 0, 1000, 100);
_local3 = _root._getTextExtent;
_local3._visible = false;
}
_root._getTextExtent.text = s;
var _local4 = this.align;
this.align = "left";
_root._getTextExtent.setTextFormat(this);
this.align = _local4;
return({width:_local3.textWidth, height:_local3.textHeight});
};
if (_global.style == undefined) {
_global.style = new mx.styles.CSSStyleDeclaration();
_global.cascadingStyles = true;
_global.styles = new Object();
_global.skinRegistry = new Object();
if (_global._origWidth == undefined) {
_global.origWidth = Stage.width;
_global.origHeight = Stage.height;
}
}
var _local4 = _root;
while (_local4._parent != undefined) {
_local4 = _local4._parent;
}
_local4.addProperty("width", function () {
return(Stage.width);
}, null);
_local4.addProperty("height", function () {
return(Stage.height);
}, null);
_global.ASSetPropFlags(_local4, "width", 1);
_global.ASSetPropFlags(_local4, "height", 1);
return(true);
}
static var bExtended = false;
static var UIObjectExtended = Extensions();
static var UIObjectDependency = mx.core.UIObject;
static var SkinElementDependency = mx.skins.SkinElement;
static var CSSTextStylesDependency = mx.styles.CSSTextStyles;
static var UIEventDispatcherDependency = mx.events.UIEventDispatcher;
}
Symbol 2417 MovieClip [__Packages.mx.skins.ColoredSkinElement] Frame 0
class mx.skins.ColoredSkinElement
{
var getStyle, _color, onEnterFrame;
function ColoredSkinElement () {
}
function setColor(c) {
if (c != undefined) {
var _local2 = new Color(this);
_local2.setRGB(c);
}
}
function draw(Void) {
setColor(getStyle(_color));
onEnterFrame = undefined;
}
function invalidateStyle(Void) {
onEnterFrame = draw;
}
static function setColorStyle(p, colorStyle) {
if (p._color == undefined) {
p._color = colorStyle;
}
p.setColor = mixins.setColor;
p.invalidateStyle = mixins.invalidateStyle;
p.draw = mixins.draw;
p.setColor(p.getStyle(colorStyle));
}
static var mixins = new mx.skins.ColoredSkinElement();
}
Symbol 2418 MovieClip [__Packages.mx.core.UIComponent] Frame 0
class mx.core.UIComponent extends mx.core.UIObject
{
var __width, __height, invalidate, stylecache, removeEventListener, dispatchEvent, drawFocus, addEventListener, _xscale, _yscale, _focusrect, watch, enabled;
function UIComponent () {
super();
}
function get width() {
return(__width);
}
function get height() {
return(__height);
}
function setVisible(x, noEvent) {
super.setVisible(x, noEvent);
}
function enabledChanged(id, oldValue, newValue) {
setEnabled(newValue);
invalidate();
delete stylecache.tf;
return(newValue);
}
function setEnabled(enabled) {
invalidate();
}
function getFocus() {
var selFocus = Selection.getFocus();
return(((selFocus === null) ? null : (eval (selFocus))));
}
function setFocus() {
Selection.setFocus(this);
}
function getFocusManager() {
var _local2 = this;
while (_local2 != undefined) {
if (_local2.focusManager != undefined) {
return(_local2.focusManager);
}
_local2 = _local2._parent;
}
return(undefined);
}
function onKillFocus(newFocus) {
removeEventListener("keyDown", this);
removeEventListener("keyUp", this);
dispatchEvent({type:"focusOut"});
drawFocus(false);
}
function onSetFocus(oldFocus) {
addEventListener("keyDown", this);
addEventListener("keyUp", this);
dispatchEvent({type:"focusIn"});
if (getFocusManager().bDrawFocus != false) {
drawFocus(true);
}
}
function findFocusInChildren(o) {
if (o.focusTextField != undefined) {
return(o.focusTextField);
}
if (o.tabEnabled == true) {
return(o);
}
return(undefined);
}
function findFocusFromObject(o) {
if (o.tabEnabled != true) {
if (o._parent == undefined) {
return(undefined);
}
if (o._parent.tabEnabled == true) {
o = o._parent;
} else if (o._parent.tabChildren) {
o = findFocusInChildren(o._parent);
} else {
o = findFocusFromObject(o._parent);
}
}
return(o);
}
function pressFocus() {
var _local3 = findFocusFromObject(this);
var _local2 = getFocus();
if (_local3 != _local2) {
_local2.drawFocus(false);
if (getFocusManager().bDrawFocus != false) {
_local3.drawFocus(true);
}
}
}
function releaseFocus() {
var _local2 = findFocusFromObject(this);
if (_local2 != getFocus()) {
_local2.setFocus();
}
}
function isParent(o) {
while (o != undefined) {
if (o == this) {
return(true);
}
o = o._parent;
}
return(false);
}
function size() {
}
function init() {
super.init();
_xscale = 100;
_yscale = 100;
_focusrect = _global.useFocusRect == false;
watch("enabled", enabledChanged);
if (enabled == false) {
setEnabled(false);
}
}
function dispatchValueChangedEvent(value) {
dispatchEvent({type:"valueChanged", value:value});
}
static var symbolName = "UIComponent";
static var symbolOwner = mx.core.UIComponent;
static var version = "2.0.2.126";
static var kStretch = 5000;
var focusEnabled = true;
var tabEnabled = true;
var origBorderStyles = {themeColor:16711680};
var clipParameters = {};
static var mergedClipParameters = mx.core.UIObject.mergeClipParameters(mx.core.UIComponent.prototype.clipParameters, mx.core.UIObject.prototype.clipParameters);
}
Symbol 2419 MovieClip [__Packages.mx.skins.halo.Defaults] Frame 0
class mx.skins.halo.Defaults
{
var beginGradientFill, beginFill, moveTo, lineTo, curveTo, endFill;
function Defaults () {
}
static function setThemeDefaults() {
var _local2 = _global.style;
_local2.themeColor = 8453965 /* 0x80FF4D */;
_local2.disabledColor = 8684164 /* 0x848284 */;
_local2.modalTransparency = 0;
_local2.filled = true;
_local2.stroked = true;
_local2.strokeWidth = 1;
_local2.strokeColor = 0;
_local2.fillColor = 16777215 /* 0xFFFFFF */;
_local2.repeatInterval = 35;
_local2.repeatDelay = 500;
_local2.fontFamily = "_sans";
_local2.fontSize = 12;
_local2.selectionColor = 13500353 /* 0xCDFFC1 */;
_local2.rollOverColor = 14942166 /* 0xE3FFD6 */;
_local2.useRollOver = true;
_local2.backgroundDisabledColor = 14540253 /* 0xDDDDDD */;
_local2.selectionDisabledColor = 14540253 /* 0xDDDDDD */;
_local2.selectionDuration = 200;
_local2.openDuration = 250;
_local2.borderStyle = "inset";
_local2.color = 734012 /* 0x0B333C */;
_local2.textSelectedColor = 24371;
_local2.textRollOverColor = 2831164 /* 0x2B333C */;
_local2.textDisabledColor = 16777215 /* 0xFFFFFF */;
_local2.vGridLines = true;
_local2.hGridLines = false;
_local2.vGridLineColor = 6710886 /* 0x666666 */;
_local2.hGridLineColor = 6710886 /* 0x666666 */;
_local2.headerColor = 15395562 /* 0xEAEAEA */;
_local2.indentation = 17;
_local2.folderOpenIcon = "TreeFolderOpen";
_local2.folderClosedIcon = "TreeFolderClosed";
_local2.defaultLeafIcon = "TreeNodeIcon";
_local2.disclosureOpenIcon = "TreeDisclosureOpen";
_local2.disclosureClosedIcon = "TreeDisclosureClosed";
_local2.popupDuration = 150;
_local2.todayColor = 6710886 /* 0x666666 */;
_local2 = (_global.styles.ScrollSelectList = new mx.styles.CSSStyleDeclaration());
_local2.backgroundColor = 16777215 /* 0xFFFFFF */;
_local2.borderColor = 13290186 /* 0xCACACA */;
_local2.borderStyle = "inset";
_local2 = (_global.styles.ComboBox = new mx.styles.CSSStyleDeclaration());
_local2.borderStyle = "inset";
_local2 = (_global.styles.NumericStepper = new mx.styles.CSSStyleDeclaration());
_local2.textAlign = "center";
_local2 = (_global.styles.RectBorder = new mx.styles.CSSStyleDeclaration());
_local2.borderColor = 14015965 /* 0xD5DDDD */;
_local2.buttonColor = 7305079 /* 0x6F7777 */;
_local2.shadowColor = 15658734 /* 0xEEEEEE */;
_local2.highlightColor = 12897484 /* 0xC4CCCC */;
_local2.shadowCapColor = 14015965 /* 0xD5DDDD */;
_local2.borderCapColor = 9542041 /* 0x919999 */;
var _local4 = new Object();
_local4.borderColor = 16711680 /* 0xFF0000 */;
_local4.buttonColor = 16711680 /* 0xFF0000 */;
_local4.shadowColor = 16711680 /* 0xFF0000 */;
_local4.highlightColor = 16711680 /* 0xFF0000 */;
_local4.shadowCapColor = 16711680 /* 0xFF0000 */;
_local4.borderCapColor = 16711680 /* 0xFF0000 */;
mx.core.UIComponent.prototype.origBorderStyles = _local4;
var _local3;
_local3 = (_global.styles.TextInput = new mx.styles.CSSStyleDeclaration());
_local3.backgroundColor = 16777215 /* 0xFFFFFF */;
_local3.borderStyle = "inset";
_global.styles.TextArea = _global.styles.TextInput;
_local3 = (_global.styles.Window = new mx.styles.CSSStyleDeclaration());
_local3.borderStyle = "default";
_local3 = (_global.styles.windowStyles = new mx.styles.CSSStyleDeclaration());
_local3.fontWeight = "bold";
_local3 = (_global.styles.dataGridStyles = new mx.styles.CSSStyleDeclaration());
_local3.fontWeight = "bold";
_local3 = (_global.styles.Alert = new mx.styles.CSSStyleDeclaration());
_local3.borderStyle = "alert";
_local3 = (_global.styles.ScrollView = new mx.styles.CSSStyleDeclaration());
_local3.borderStyle = "inset";
_local3 = (_global.styles.View = new mx.styles.CSSStyleDeclaration());
_local3.borderStyle = "none";
_local3 = (_global.styles.ProgressBar = new mx.styles.CSSStyleDeclaration());
_local3.color = 11187123 /* 0xAAB3B3 */;
_local3.fontWeight = "bold";
_local3 = (_global.styles.AccordionHeader = new mx.styles.CSSStyleDeclaration());
_local3.fontWeight = "bold";
_local3.fontSize = "11";
_local3 = (_global.styles.Accordion = new mx.styles.CSSStyleDeclaration());
_local3.borderStyle = "solid";
_local3.backgroundColor = 16777215 /* 0xFFFFFF */;
_local3.borderColor = 9081738 /* 0x8A938A */;
_local3.headerHeight = 22;
_local3.marginLeft = (_local3.marginRight = (_local3.marginTop = (_local3.marginBottom = -1)));
_local3.verticalGap = -1;
_local3 = (_global.styles.DateChooser = new mx.styles.CSSStyleDeclaration());
_local3.borderColor = 9542041 /* 0x919999 */;
_local3.headerColor = 16777215 /* 0xFFFFFF */;
_local3 = (_global.styles.CalendarLayout = new mx.styles.CSSStyleDeclaration());
_local3.fontSize = 10;
_local3.textAlign = "right";
_local3.color = 2831164 /* 0x2B333C */;
_local3 = (_global.styles.WeekDayStyle = new mx.styles.CSSStyleDeclaration());
_local3.fontWeight = "bold";
_local3.fontSize = 11;
_local3.textAlign = "center";
_local3.color = 2831164 /* 0x2B333C */;
_local3 = (_global.styles.TodayStyle = new mx.styles.CSSStyleDeclaration());
_local3.color = 16777215 /* 0xFFFFFF */;
_local3 = (_global.styles.HeaderDateText = new mx.styles.CSSStyleDeclaration());
_local3.fontSize = 12;
_local3.fontWeight = "bold";
_local3.textAlign = "center";
}
function drawRoundRect(x, y, w, h, r, c, alpha, rot, gradient, ratios) {
if (typeof(r) == "object") {
var _local18 = r.br;
var _local16 = r.bl;
var _local15 = r.tl;
var _local10 = r.tr;
} else {
var _local10 = r;
var _local15 = _local10;
var _local16 = _local15;
var _local18 = _local16;
}
if (typeof(c) == "object") {
if (typeof(alpha) != "object") {
var _local9 = [alpha, alpha];
} else {
var _local9 = alpha;
}
if (ratios == undefined) {
ratios = [0, 255];
}
var _local14 = h * 0.7;
if (typeof(rot) != "object") {
var _local11 = {matrixType:"box", x:-_local14, y:_local14, w:w * 2, h:h * 4, r:rot * 0.0174532925199433 /* Math.PI/180 */};
} else {
var _local11 = rot;
}
if (gradient == "radial") {
beginGradientFill("radial", c, _local9, ratios, _local11);
} else {
beginGradientFill("linear", c, _local9, ratios, _local11);
}
} else if (c != undefined) {
beginFill(c, alpha);
}
r = _local18;
var _local13 = r - (r * 0.707106781186547);
var _local12 = r - (r * 0.414213562373095);
moveTo(x + w, (y + h) - r);
lineTo(x + w, (y + h) - r);
curveTo(x + w, (y + h) - _local12, (x + w) - _local13, (y + h) - _local13);
curveTo((x + w) - _local12, y + h, (x + w) - r, y + h);
r = _local16;
_local13 = r - (r * 0.707106781186547);
_local12 = r - (r * 0.414213562373095);
lineTo(x + r, y + h);
curveTo(x + _local12, y + h, x + _local13, (y + h) - _local13);
curveTo(x, (y + h) - _local12, x, (y + h) - r);
r = _local15;
_local13 = r - (r * 0.707106781186547);
_local12 = r - (r * 0.414213562373095);
lineTo(x, y + r);
curveTo(x, y + _local12, x + _local13, y + _local13);
curveTo(x + _local12, y, x + r, y);
r = _local10;
_local13 = r - (r * 0.707106781186547);
_local12 = r - (r * 0.414213562373095);
lineTo((x + w) - r, y);
curveTo((x + w) - _local12, y, (x + w) - _local13, y + _local13);
curveTo(x + w, y + _local12, x + w, y + r);
lineTo(x + w, (y + h) - r);
if (c != undefined) {
endFill();
}
}
static function classConstruct() {
mx.core.ext.UIObjectExtensions.Extensions();
setThemeDefaults();
mx.core.UIObject.prototype.drawRoundRect = mx.skins.halo.Defaults.prototype.drawRoundRect;
return(true);
}
static var classConstructed = classConstruct();
static var CSSStyleDeclarationDependency = mx.styles.CSSStyleDeclaration;
static var UIObjectExtensionsDependency = mx.core.ext.UIObjectExtensions;
static var UIObjectDependency = mx.core.UIObject;
}
Symbol 2420 MovieClip [__Packages.mx.skins.halo.FocusRect] Frame 0
class mx.skins.halo.FocusRect extends mx.skins.SkinElement
{
var boundingBox_mc, _xscale, _yscale, clear, beginFill, drawRoundRect, endFill, _visible;
function FocusRect () {
super();
boundingBox_mc._visible = false;
boundingBox_mc._width = (boundingBox_mc._height = 0);
}
function draw(o) {
o.adjustFocusRect();
}
function setSize(w, h, r, a, rectCol) {
_xscale = (_yscale = 100);
clear();
if (typeof(r) == "object") {
r.br = ((r.br > 2) ? (r.br - 2) : 0);
r.bl = ((r.bl > 2) ? (r.bl - 2) : 0);
r.tr = ((r.tr > 2) ? (r.tr - 2) : 0);
r.tl = ((r.tl > 2) ? (r.tl - 2) : 0);
beginFill(rectCol, a * 0.3);
drawRoundRect(0, 0, w, h, r);
drawRoundRect(2, 2, w - 4, h - 4, r);
endFill();
r.br = ((r.br > 1) ? (r.br + 1) : 0);
r.bl = ((r.bl > 1) ? (r.bl + 1) : 0);
r.tr = ((r.tr > 1) ? (r.tr + 1) : 0);
r.tl = ((r.tl > 1) ? (r.tl + 1) : 0);
beginFill(rectCol, a * 0.3);
drawRoundRect(1, 1, w - 2, h - 2, r);
r.br = ((r.br > 1) ? (r.br - 1) : 0);
r.bl = ((r.bl > 1) ? (r.bl - 1) : 0);
r.tr = ((r.tr > 1) ? (r.tr - 1) : 0);
r.tl = ((r.tl > 1) ? (r.tl - 1) : 0);
drawRoundRect(2, 2, w - 4, h - 4, r);
endFill();
} else {
var _local5;
if (r != 0) {
_local5 = r - 2;
} else {
_local5 = 0;
}
beginFill(rectCol, a * 0.3);
drawRoundRect(0, 0, w, h, r);
drawRoundRect(2, 2, w - 4, h - 4, _local5);
endFill();
beginFill(rectCol, a * 0.3);
if (r != 0) {
_local5 = r - 2;
r = r - 1;
} else {
_local5 = 0;
r = 0;
}
drawRoundRect(1, 1, w - 2, h - 2, r);
drawRoundRect(2, 2, w - 4, h - 4, _local5);
endFill();
}
}
function handleEvent(e) {
if (e.type == "unload") {
_visible = true;
} else if (e.type == "resize") {
e.target.adjustFocusRect();
} else if (e.type == "move") {
e.target.adjustFocusRect();
}
}
static function classConstruct() {
mx.core.UIComponent.prototype.drawFocus = function (focused) {
var _local2 = this._parent.focus_mc;
if (!focused) {
_local2._visible = false;
this.removeEventListener("unload", _local2);
this.removeEventListener("move", _local2);
this.removeEventListener("resize", _local2);
} else {
if (_local2 == undefined) {
_local2 = this._parent.createChildAtDepth("FocusRect", mx.managers.DepthManager.kTop);
_local2.tabEnabled = false;
this._parent.focus_mc = _local2;
} else {
_local2._visible = true;
}
_local2.draw(this);
if (_local2.getDepth() < this.getDepth()) {
_local2.setDepthAbove(this);
}
this.addEventListener("unload", _local2);
this.addEventListener("move", _local2);
this.addEventListener("resize", _local2);
}
};
mx.core.UIComponent.prototype.adjustFocusRect = function () {
var _local2 = this.getStyle("themeColor");
if (_local2 == undefined) {
_local2 = 8453965 /* 0x80FF4D */;
}
var _local3 = this._parent.focus_mc;
_local3.setSize(this.width + 4, this.height + 4, 0, 100, _local2);
_local3.move(this.x - 2, this.y - 2);
};
TextField.prototype.drawFocus = mx.core.UIComponent.prototype.drawFocus;
TextField.prototype.adjustFocusRect = mx.core.UIComponent.prototype.adjustFocusRect;
mx.skins.halo.FocusRect.prototype.drawRoundRect = mx.skins.halo.Defaults.prototype.drawRoundRect;
return(true);
}
static var classConstructed = classConstruct();
static var DefaultsDependency = mx.skins.halo.Defaults;
static var UIComponentDependency = mx.core.UIComponent;
}
Symbol 2421 MovieClip [__Packages.mx.managers.DepthManager] Frame 0
class mx.managers.DepthManager
{
var _childCounter, createClassObject, createObject, _parent, swapDepths, _topmost, getDepth;
function DepthManager () {
MovieClip.prototype.createClassChildAtDepth = createClassChildAtDepth;
MovieClip.prototype.createChildAtDepth = createChildAtDepth;
MovieClip.prototype.setDepthTo = setDepthTo;
MovieClip.prototype.setDepthAbove = setDepthAbove;
MovieClip.prototype.setDepthBelow = setDepthBelow;
MovieClip.prototype.findNextAvailableDepth = findNextAvailableDepth;
MovieClip.prototype.shuffleDepths = shuffleDepths;
MovieClip.prototype.getDepthByFlag = getDepthByFlag;
MovieClip.prototype.buildDepthTable = buildDepthTable;
_global.ASSetPropFlags(MovieClip.prototype, "createClassChildAtDepth", 1);
_global.ASSetPropFlags(MovieClip.prototype, "createChildAtDepth", 1);
_global.ASSetPropFlags(MovieClip.prototype, "setDepthTo", 1);
_global.ASSetPropFlags(MovieClip.prototype, "setDepthAbove", 1);
_global.ASSetPropFlags(MovieClip.prototype, "setDepthBelow", 1);
_global.ASSetPropFlags(MovieClip.prototype, "findNextAvailableDepth", 1);
_global.ASSetPropFlags(MovieClip.prototype, "shuffleDepths", 1);
_global.ASSetPropFlags(MovieClip.prototype, "getDepthByFlag", 1);
_global.ASSetPropFlags(MovieClip.prototype, "buildDepthTable", 1);
}
static function sortFunction(a, b) {
if (a.getDepth() > b.getDepth()) {
return(1);
}
return(-1);
}
static function test(depth) {
if (depth == reservedDepth) {
return(false);
}
return(true);
}
static function createClassObjectAtDepth(className, depthSpace, initObj) {
var _local1;
switch (depthSpace) {
case kCursor :
_local1 = holder.createClassChildAtDepth(className, kTopmost, initObj);
break;
case kTooltip :
_local1 = holder.createClassChildAtDepth(className, kTop, initObj);
break;
}
return(_local1);
}
static function createObjectAtDepth(linkageName, depthSpace, initObj) {
var _local1;
switch (depthSpace) {
case kCursor :
_local1 = holder.createChildAtDepth(linkageName, kTopmost, initObj);
break;
case kTooltip :
_local1 = holder.createChildAtDepth(linkageName, kTop, initObj);
break;
}
return(_local1);
}
function createClassChildAtDepth(className, depthFlag, initObj) {
if (_childCounter == undefined) {
_childCounter = 0;
}
var _local3 = buildDepthTable();
var _local2 = getDepthByFlag(depthFlag, _local3);
var _local5 = "down";
if (depthFlag == kBottom) {
_local5 = "up";
}
var _local6;
if (_local3[_local2] != undefined) {
_local6 = _local2;
_local2 = findNextAvailableDepth(_local2, _local3, _local5);
}
var _local4 = createClassObject(className, "depthChild" + (_childCounter++), _local2, initObj);
if (_local6 != undefined) {
_local3[_local2] = _local4;
shuffleDepths(_local4, _local6, _local3, _local5);
}
if (depthFlag == kTopmost) {
_local4._topmost = true;
}
return(_local4);
}
function createChildAtDepth(linkageName, depthFlag, initObj) {
if (_childCounter == undefined) {
_childCounter = 0;
}
var _local3 = buildDepthTable();
var _local2 = getDepthByFlag(depthFlag, _local3);
var _local5 = "down";
if (depthFlag == kBottom) {
_local5 = "up";
}
var _local6;
if (_local3[_local2] != undefined) {
_local6 = _local2;
_local2 = findNextAvailableDepth(_local2, _local3, _local5);
}
var _local4 = createObject(linkageName, "depthChild" + (_childCounter++), _local2, initObj);
if (_local6 != undefined) {
_local3[_local2] = _local4;
shuffleDepths(_local4, _local6, _local3, _local5);
}
if (depthFlag == kTopmost) {
_local4._topmost = true;
}
return(_local4);
}
function setDepthTo(depthFlag) {
var _local2 = _parent.buildDepthTable();
var _local3 = _parent.getDepthByFlag(depthFlag, _local2);
if (_local2[_local3] != undefined) {
shuffleDepths(MovieClip(this), _local3, _local2, undefined);
} else {
swapDepths(_local3);
}
if (depthFlag == kTopmost) {
_topmost = true;
} else {
delete _topmost;
}
}
function setDepthAbove(targetInstance) {
if (targetInstance._parent != _parent) {
return(undefined);
}
var _local2 = targetInstance.getDepth() + 1;
var _local3 = _parent.buildDepthTable();
if ((_local3[_local2] != undefined) && (getDepth() < _local2)) {
_local2 = _local2 - 1;
}
if (_local2 > highestDepth) {
_local2 = highestDepth;
}
if (_local2 == highestDepth) {
_parent.shuffleDepths(this, _local2, _local3, "down");
} else if (_local3[_local2] != undefined) {
_parent.shuffleDepths(this, _local2, _local3, undefined);
} else {
swapDepths(_local2);
}
}
function setDepthBelow(targetInstance) {
if (targetInstance._parent != _parent) {
return(undefined);
}
var _local6 = targetInstance.getDepth() - 1;
var _local3 = _parent.buildDepthTable();
if ((_local3[_local6] != undefined) && (getDepth() > _local6)) {
_local6 = _local6 + 1;
}
var _local4 = lowestDepth + numberOfAuthortimeLayers;
var _local5;
for (_local5 in _local3) {
var _local2 = _local3[_local5];
if (_local2._parent != undefined) {
_local4 = Math.min(_local4, _local2.getDepth());
}
}
if (_local6 < _local4) {
_local6 = _local4;
}
if (_local6 == _local4) {
_parent.shuffleDepths(this, _local6, _local3, "up");
} else if (_local3[_local6] != undefined) {
_parent.shuffleDepths(this, _local6, _local3, undefined);
} else {
swapDepths(_local6);
}
}
function findNextAvailableDepth(targetDepth, depthTable, direction) {
var _local5 = lowestDepth + numberOfAuthortimeLayers;
if (targetDepth < _local5) {
targetDepth = _local5;
}
if (depthTable[targetDepth] == undefined) {
return(targetDepth);
}
var _local1 = targetDepth;
var _local2 = targetDepth;
if (direction == "down") {
while (depthTable[_local2] != undefined) {
_local2--;
}
return(_local2);
}
while (depthTable[_local1] != undefined) {
_local1++;
}
return(_local1);
}
function shuffleDepths(subject, targetDepth, depthTable, direction) {
var _local9 = lowestDepth + numberOfAuthortimeLayers;
var _local8 = _local9;
var _local5;
for (_local5 in depthTable) {
var _local7 = depthTable[_local5];
if (_local7._parent != undefined) {
_local9 = Math.min(_local9, _local7.getDepth());
}
}
if (direction == undefined) {
if (subject.getDepth() > targetDepth) {
direction = "up";
} else {
direction = "down";
}
}
var _local1 = new Array();
for (_local5 in depthTable) {
var _local7 = depthTable[_local5];
if (_local7._parent != undefined) {
_local1.push(_local7);
}
}
_local1.sort(sortFunction);
if (direction == "up") {
var _local3;
var _local11;
do {
if (_local1.length <= 0) {
break;
}
_local3 = _local1.pop();
} while (_local3 != subject);
do {
if (_local1.length <= 0) {
break;
}
_local11 = subject.getDepth();
_local3 = _local1.pop();
var _local4 = _local3.getDepth();
if (_local11 > (_local4 + 1)) {
if (_local4 >= 0) {
subject.swapDepths(_local4 + 1);
} else if ((_local11 > _local8) && (_local4 < _local8)) {
subject.swapDepths(_local8);
}
}
subject.swapDepths(_local3);
} while (_local4 != targetDepth);
} else if (direction == "down") {
var _local3;
do {
if (_local1.length <= 0) {
break;
}
_local3 = _local1.shift();
} while (_local3 != subject);
do {
if (_local1.length <= 0) {
break;
}
var _local11 = _local3.getDepth();
_local3 = _local1.shift();
var _local4 = _local3.getDepth();
if ((_local11 < (_local4 - 1)) && (_local4 > 0)) {
subject.swapDepths(_local4 - 1);
}
subject.swapDepths(_local3);
} while (_local4 != targetDepth);
}
}
function getDepthByFlag(depthFlag, depthTable) {
var _local2 = 0;
if ((depthFlag == kTop) || (depthFlag == kNotopmost)) {
var _local5 = 0;
var _local7 = false;
var _local8;
for (_local8 in depthTable) {
var _local9 = depthTable[_local8];
var _local3 = typeof(_local9);
if ((_local3 == "movieclip") || ((_local3 == "object") && (_local9.__getTextFormat != undefined))) {
if (_local9.getDepth() <= highestDepth) {
if (!_local9._topmost) {
_local2 = Math.max(_local2, _local9.getDepth());
} else if (!_local7) {
_local5 = _local9.getDepth();
_local7 = true;
} else {
_local5 = Math.min(_local5, _local9.getDepth());
}
}
}
}
_local2 = _local2 + 20;
if (_local7) {
if (_local2 >= _local5) {
_local2 = _local5 - 1;
}
}
} else if (depthFlag == kBottom) {
for (var _local8 in depthTable) {
var _local9 = depthTable[_local8];
var _local3 = typeof(_local9);
if ((_local3 == "movieclip") || ((_local3 == "object") && (_local9.__getTextFormat != undefined))) {
if (_local9.getDepth() <= highestDepth) {
_local2 = Math.min(_local2, _local9.getDepth());
}
}
}
_local2 = _local2 - 20;
} else if (depthFlag == kTopmost) {
for (var _local8 in depthTable) {
var _local9 = depthTable[_local8];
var _local3 = typeof(_local9);
if ((_local3 == "movieclip") || ((_local3 == "object") && (_local9.__getTextFormat != undefined))) {
if (_local9.getDepth() <= highestDepth) {
_local2 = Math.max(_local2, _local9.getDepth());
}
}
}
_local2 = _local2 + 100;
}
if (_local2 >= highestDepth) {
_local2 = highestDepth;
}
var _local6 = lowestDepth + numberOfAuthortimeLayers;
for (var _local9 in depthTable) {
var _local4 = depthTable[_local9];
if (_local4._parent != undefined) {
_local6 = Math.min(_local6, _local4.getDepth());
}
}
if (_local2 <= _local6) {
_local2 = _local6;
}
return(_local2);
}
function buildDepthTable(Void) {
var _local5 = new Array();
var _local4;
for (_local4 in this) {
var _local2 = this[_local4];
var _local3 = typeof(_local2);
if ((_local3 == "movieclip") || ((_local3 == "object") && (_local2.__getTextFormat != undefined))) {
if (_local2._parent == this) {
_local5[_local2.getDepth()] = _local2;
}
}
}
return(_local5);
}
static var reservedDepth = 1048575;
static var highestDepth = 1048574;
static var lowestDepth = -16383;
static var numberOfAuthortimeLayers = 383;
static var kCursor = 101;
static var kTooltip = 102;
static var kTop = 201;
static var kBottom = 202;
static var kTopmost = 203;
static var kNotopmost = 204;
static var holder = _root.createEmptyMovieClip("reserved", reservedDepth);
static var __depthManager = new mx.managers.DepthManager();
}
Symbol 2422 MovieClip [__Packages.mx.managers.FocusManager] Frame 0
class mx.managers.FocusManager extends mx.core.UIComponent
{
var __defaultPushButton, defPushButton, form, move, tabEnabled, _width, _height, _x, _y, _alpha, _parent, tabCapture, watch, lastMouse, _visible, lastFocus, doLater, lastSelFocus, cancelAllDoLaters, _searchKey, _lastTarget, _firstNode, _nextIsNext, _nextNode, _lastx, _prevNode, _needPrev, _foundList, _prevObj, _nextObj, _firstObj, _lastObj, _lastNode, lastTabFocus, findFocusFromObject;
function FocusManager () {
super();
}
function get defaultPushButton() {
return(__defaultPushButton);
}
function set defaultPushButton(x) {
if (x != __defaultPushButton) {
__defaultPushButton.__set__emphasized(false);
__defaultPushButton = x;
defPushButton = x;
x.__set__emphasized(true);
}
//return(defaultPushButton);
}
function getMaxTabIndex(o) {
var _local3 = 0;
var _local6;
for (_local6 in o) {
var _local2 = o[_local6];
if (_local2._parent == o) {
if (_local2.tabIndex != undefined) {
if (_local2.tabIndex > _local3) {
_local3 = _local2.tabIndex;
}
}
if (_local2.tabChildren == true) {
var _local4 = getMaxTabIndex(_local2);
if (_local4 > _local3) {
_local3 = _local4;
}
}
}
}
return(_local3);
}
function getNextTabIndex(Void) {
return(getMaxTabIndex(form) + 1);
}
function get nextTabIndex() {
return(getNextTabIndex());
}
function relocate(Void) {
var _local2 = mx.managers.SystemManager.__get__screen();
move(_local2.x - 1, _local2.y - 1);
}
function init(Void) {
super.init();
tabEnabled = false;
_width = (_height = 1);
_x = (_y = -1);
_alpha = 0;
_parent.focusManager = this;
_parent.tabChildren = true;
_parent.tabEnabled = false;
form = _parent;
_parent.addEventListener("hide", this);
_parent.addEventListener("reveal", this);
mx.managers.SystemManager.init();
mx.managers.SystemManager.addFocusManager(form);
tabCapture.tabIndex = 0;
watch("enabled", enabledChanged);
Selection.addListener(this);
lastMouse = new Object();
_global.ASSetPropFlags(_parent, "focusManager", 1);
_global.ASSetPropFlags(_parent, "tabChildren", 1);
_global.ASSetPropFlags(_parent, "tabEnabled", 1);
}
function enabledChanged(id, oldValue, newValue) {
_visible = newValue;
return(newValue);
}
function activate(Void) {
Key.addListener(this);
activated = (_visible = true);
if (lastFocus != undefined) {
bNeedFocus = true;
if (!mx.managers.SystemManager.isMouseDown) {
doLater(this, "restoreFocus");
}
}
}
function deactivate(Void) {
Key.removeListener(this);
activated = (_visible = false);
var _local2 = getSelectionFocus();
var _local3 = getActualFocus(_local2);
if (isOurFocus(_local3)) {
lastSelFocus = _local2;
lastFocus = _local3;
}
cancelAllDoLaters();
}
function isOurFocus(o) {
if (o.focusManager == this) {
return(true);
}
while (o != undefined) {
if (o.focusManager != undefined) {
return(false);
}
if (o._parent == _parent) {
return(true);
}
o = o._parent;
}
return(false);
}
function onSetFocus(o, n) {
if (n == null) {
if (activated) {
bNeedFocus = true;
}
} else {
var _local2 = getFocus();
if (isOurFocus(_local2)) {
bNeedFocus = false;
lastFocus = _local2;
lastSelFocus = n;
}
}
}
function restoreFocus(Void) {
var _local2 = lastSelFocus.hscroll;
if (_local2 != undefined) {
var _local5 = lastSelFocus.scroll;
var _local4 = lastSelFocus.background;
}
lastFocus.setFocus();
var _local3 = Selection;
Selection.setSelection(_local3.lastBeginIndex, _local3.lastEndIndex);
if (_local2 != undefined) {
lastSelFocus.scroll = _local5;
lastSelFocus.hscroll = _local2;
lastSelFocus.background = _local4;
}
}
function onUnload(Void) {
mx.managers.SystemManager.removeFocusManager(form);
}
function setFocus(o) {
if (o == null) {
Selection.setFocus(null);
} else if (o.setFocus == undefined) {
Selection.setFocus(o);
} else {
o.setFocus();
}
}
function getActualFocus(o) {
var _local1 = o._parent;
while (_local1 != undefined) {
if (_local1.focusTextField != undefined) {
while (_local1.focusTextField != undefined) {
o = _local1;
_local1 = _local1._parent;
if (_local1 == undefined) {
return(undefined);
}
if (_local1.focusTextField == undefined) {
return(o);
}
}
}
if (_local1.tabEnabled != true) {
return(o);
}
o = _local1;
_local1 = o._parent;
}
return(undefined);
}
function getSelectionFocus() {
var m = Selection.getFocus();
var o = eval (m);
return(o);
}
function getFocus(Void) {
var _local2 = getSelectionFocus();
return(getActualFocus(_local2));
}
function walkTree(p, index, groupName, dir, lookup, firstChild) {
var _local5 = true;
var _local11;
for (_local11 in p) {
var _local2 = p[_local11];
if ((((_local2._parent == p) && (_local2.enabled != false)) && (_local2._visible != false)) && ((_local2.tabEnabled == true) || ((_local2.tabEnabled != false) && ((((((((_local2.onPress != undefined) || (_local2.onRelease != undefined)) || (_local2.onReleaseOutside != undefined)) || (_local2.onDragOut != undefined)) || (_local2.onDragOver != undefined)) || (_local2.onRollOver != undefined)) || (_local2.onRollOut != undefined)) || (_local2 instanceof TextField))))) {
if (_local2._searchKey == _searchKey) {
continue;
}
_local2._searchKey = _searchKey;
if (_local2 != _lastTarget) {
if (((_local2.groupName != undefined) || (groupName != undefined)) && (_local2.groupName == groupName)) {
continue;
}
if ((_local2 instanceof TextField) && (_local2.selectable == false)) {
continue;
}
if (_local5 || (((_local2.groupName != undefined) && (_local2.groupName == _firstNode.groupName)) && (_local2.selected == true))) {
if (firstChild) {
_firstNode = _local2;
firstChild = false;
}
}
if (_nextIsNext == true) {
if ((((_local2.groupName != undefined) && (_local2.groupName == _nextNode.groupName)) && (_local2.selected == true)) || ((_nextNode == undefined) && ((_local2.groupName == undefined) || ((_local2.groupName != undefined) && (_local2.groupName != groupName))))) {
_nextNode = _local2;
}
}
if ((_local2.groupName == undefined) || (groupName != _local2.groupName)) {
if (((_lastx.groupName != undefined) && (_local2.groupName == _lastx.groupName)) && (_lastx.selected == true)) {
} else {
_lastx = _local2;
}
}
} else {
_prevNode = _lastx;
_needPrev = false;
_nextIsNext = true;
}
if (_local2.tabIndex != undefined) {
if (_local2.tabIndex == index) {
if (_foundList[_local2._name] == undefined) {
if (_needPrev) {
_prevObj = _local2;
_needPrev = false;
}
_nextObj = _local2;
}
}
if (dir && (_local2.tabIndex > index)) {
if (((_nextObj == undefined) || ((_nextObj.tabIndex > _local2.tabIndex) && (((_local2.groupName == undefined) || (_nextObj.groupName == undefined)) || (_local2.groupName != _nextObj.groupName)))) || ((((_nextObj.groupName != undefined) && (_nextObj.groupName == _local2.groupName)) && (_nextObj.selected != true)) && ((_local2.selected == true) || (_nextObj.tabIndex > _local2.tabIndex)))) {
_nextObj = _local2;
}
} else if ((!dir) && (_local2.tabIndex < index)) {
if (((_prevObj == undefined) || ((_prevObj.tabIndex < _local2.tabIndex) && (((_local2.groupName == undefined) || (_prevObj.groupName == undefined)) || (_local2.groupName != _prevObj.groupName)))) || ((((_prevObj.groupName != undefined) && (_prevObj.groupName == _local2.groupName)) && (_prevObj.selected != true)) && ((_local2.selected == true) || (_prevObj.tabIndex < _local2.tabIndex)))) {
_prevObj = _local2;
}
}
if (((_firstObj == undefined) || ((_local2.tabIndex < _firstObj.tabIndex) && (((_local2.groupName == undefined) || (_firstObj.groupName == undefined)) || (_local2.groupName != _firstObj.groupName)))) || ((((_firstObj.groupName != undefined) && (_firstObj.groupName == _local2.groupName)) && (_firstObj.selected != true)) && ((_local2.selected == true) || (_local2.tabIndex < _firstObj.tabIndex)))) {
_firstObj = _local2;
}
if (((_lastObj == undefined) || ((_local2.tabIndex > _lastObj.tabIndex) && (((_local2.groupName == undefined) || (_lastObj.groupName == undefined)) || (_local2.groupName != _lastObj.groupName)))) || ((((_lastObj.groupName != undefined) && (_lastObj.groupName == _local2.groupName)) && (_lastObj.selected != true)) && ((_local2.selected == true) || (_local2.tabIndex > _lastObj.tabIndex)))) {
_lastObj = _local2;
}
}
if (_local2.tabChildren) {
getTabCandidateFromChildren(_local2, index, groupName, dir, _local5 && (firstChild));
}
_local5 = false;
} else if (((_local2._parent == p) && (_local2.tabChildren == true)) && (_local2._visible != false)) {
if (_local2 == _lastTarget) {
if (_local2._searchKey == _searchKey) {
continue;
}
_local2._searchKey = _searchKey;
if (_prevNode == undefined) {
var _local3 = _lastx;
var _local7 = false;
while (_local3 != undefined) {
if (_local3 == _local2) {
_local7 = true;
break;
}
_local3 = _local3._parent;
}
if (_local7 == false) {
_prevNode = _lastx;
}
}
_needPrev = false;
if (_nextNode == undefined) {
_nextIsNext = true;
}
} else if (!((_local2.focusManager != undefined) && (_local2.focusManager._parent == _local2))) {
if (_local2._searchKey == _searchKey) {
continue;
}
_local2._searchKey = _searchKey;
getTabCandidateFromChildren(_local2, index, groupName, dir, _local5 && (firstChild));
}
_local5 = false;
}
}
_lastNode = _lastx;
if (lookup) {
if (p._parent != undefined) {
if (p != _parent) {
if ((_prevNode == undefined) && (dir)) {
_needPrev = true;
} else if ((_nextNode == undefined) && (!dir)) {
_nextIsNext = false;
}
_lastTarget = _lastTarget._parent;
getTabCandidate(p._parent, index, groupName, dir, true);
}
}
}
}
function getTabCandidate(o, index, groupName, dir, firstChild) {
var _local2;
var _local3 = true;
if (o == _parent) {
_local2 = o;
_local3 = false;
} else {
_local2 = o._parent;
if (_local2 == undefined) {
_local2 = o;
_local3 = false;
}
}
walkTree(_local2, index, groupName, dir, _local3, firstChild);
}
function getTabCandidateFromChildren(o, index, groupName, dir, firstChild) {
walkTree(o, index, groupName, dir, false, firstChild);
}
function getFocusManagerFromObject(o) {
while (o != undefined) {
if (o.focusManager != undefined) {
return(o.focusManager);
}
o = o._parent;
}
return(undefined);
}
function tabHandler(Void) {
bDrawFocus = true;
var _local5 = getSelectionFocus();
var _local4 = getActualFocus(_local5);
if (_local4 != _local5) {
_local5 = _local4;
}
if (getFocusManagerFromObject(_local5) != this) {
_local5 == undefined;
}
if (_local5 == undefined) {
_local5 = form;
} else if (_local5.tabIndex != undefined) {
if ((_foundList != undefined) || (_foundList.tabIndex != _local5.tabIndex)) {
_foundList = new Object();
_foundList.tabIndex = _local5.tabIndex;
}
_foundList[_local5._name] = _local5;
}
var _local3 = Key.isDown(16) != true;
_searchKey = getTimer();
_needPrev = true;
_nextIsNext = false;
_lastx = undefined;
_firstNode = undefined;
_lastNode = undefined;
_nextNode = undefined;
_prevNode = undefined;
_firstObj = undefined;
_lastObj = undefined;
_nextObj = undefined;
_prevObj = undefined;
_lastTarget = _local5;
var _local6 = _local5;
getTabCandidate(_local6, ((_local5.tabIndex == undefined) ? 0 : (_local5.tabIndex)), _local5.groupName, _local3, true);
var _local2;
if (_local3) {
if (_nextObj != undefined) {
_local2 = _nextObj;
} else {
_local2 = _firstObj;
}
} else if (_prevObj != undefined) {
_local2 = _prevObj;
} else {
_local2 = _lastObj;
}
if (_local2.tabIndex != _local5.tabIndex) {
_foundList = new Object();
_foundList.tabIndex = _local2.tabIndex;
_foundList[_local2._name] = _local2;
} else {
if (_foundList == undefined) {
_foundList = new Object();
_foundList.tabIndex = _local2.tabIndex;
}
_foundList[_local2._name] = _local2;
}
if (_local2 == undefined) {
if (_local3 == false) {
if (_nextNode != undefined) {
_local2 = _nextNode;
} else {
_local2 = _firstNode;
}
} else if ((_prevNode == undefined) || (_local5 == form)) {
_local2 = _lastNode;
} else {
_local2 = _prevNode;
}
}
if (_local2 == undefined) {
return(undefined);
}
lastTabFocus = _local2;
setFocus(_local2);
if (_local2.emphasized != undefined) {
if (defPushButton != undefined) {
_local5 = defPushButton;
defPushButton = mx.controls.SimpleButton(_local2);
_local5.emphasized = false;
_local2.emphasized = true;
}
} else if ((defPushButton != undefined) && (defPushButton != __defaultPushButton)) {
_local5 = defPushButton;
defPushButton = __defaultPushButton;
_local5.emphasized = false;
__defaultPushButton.__set__emphasized(true);
}
}
function onKeyDown(Void) {
mx.managers.SystemManager.idleFrames = 0;
if (defaultPushButtonEnabled) {
if (Key.getCode() == 13) {
if (defaultPushButton != undefined) {
doLater(this, "sendDefaultPushButtonEvent");
}
}
}
}
function sendDefaultPushButtonEvent(Void) {
defPushButton.dispatchEvent({type:"click"});
}
function getMousedComponentFromChildren(x, y, o) {
for (var _local7 in o) {
var _local2 = o[_local7];
if (((_local2._visible && (_local2.enabled)) && (_local2._parent == o)) && (_local2._searchKey != _searchKey)) {
_local2._searchKey = _searchKey;
if (_local2.hitTest(x, y, true)) {
if ((_local2.onPress != undefined) || (_local2.onRelease != undefined)) {
return(_local2);
}
var _local3 = getMousedComponentFromChildren(x, y, _local2);
if (_local3 != undefined) {
return(_local3);
}
return(_local2);
}
}
}
return(undefined);
}
function mouseActivate(Void) {
if (!bNeedFocus) {
return(undefined);
}
_searchKey = getTimer();
var _local2 = getMousedComponentFromChildren(lastMouse.x, lastMouse.y, form);
if (_local2 instanceof mx.core.UIComponent) {
return(undefined);
}
_local2 = findFocusFromObject(_local2);
if (_local2 == lastFocus) {
return(undefined);
}
if (_local2 == undefined) {
doLater(this, "restoreFocus");
return(undefined);
}
var _local3 = _local2.hscroll;
if (_local3 != undefined) {
var _local6 = _local2.scroll;
var _local5 = _local2.background;
}
setFocus(_local2);
var _local4 = Selection;
Selection.setSelection(_local4.lastBeginIndex, _local4.lastEndIndex);
if (_local3 != undefined) {
_local2.scroll = _local6;
_local2.hscroll = _local3;
_local2.background = _local5;
}
}
function _onMouseDown(Void) {
bDrawFocus = false;
if (lastFocus != undefined) {
lastFocus.drawFocus(false);
}
mx.managers.SystemManager.idleFrames = 0;
var _local3 = Selection;
_local3.lastBeginIndex = Selection.getBeginIndex();
_local3.lastEndIndex = Selection.getEndIndex();
lastMouse.x = _root._xmouse;
lastMouse.y = _root._ymouse;
_root.localToGlobal(lastMouse);
}
function onMouseUp(Void) {
if (_visible) {
doLater(this, "mouseActivate");
}
}
function handleEvent(e) {
if (e.type == "reveal") {
mx.managers.SystemManager.activate(form);
} else {
mx.managers.SystemManager.deactivate(form);
}
}
static function enableFocusManagement() {
if (!initialized) {
initialized = true;
Object.registerClass("FocusManager", mx.managers.FocusManager);
if (_root.focusManager == undefined) {
_root.createClassObject(mx.managers.FocusManager, "focusManager", mx.managers.DepthManager.highestDepth--);
}
}
}
static var symbolName = "FocusManager";
static var symbolOwner = mx.managers.FocusManager;
static var version = "2.0.2.126";
var className = "FocusManager";
var bNeedFocus = false;
var bDrawFocus = false;
var defaultPushButtonEnabled = true;
var activated = true;
static var initialized = false;
static var UIObjectExtensionsDependency = mx.core.ext.UIObjectExtensions;
}
Symbol 2423 MovieClip [__Packages.mx.controls.SimpleButton] Frame 0
class mx.controls.SimpleButton extends mx.core.UIComponent
{
static var emphasizedStyleDeclaration;
var preset, boundingBox_mc, useHandCursor, skinName, linkLength, iconName, destroyObject, __width, _width, __height, _height, __emphaticStyleName, styleName, enabled, invalidate, pressFocus, dispatchEvent, autoRepeat, interval, getStyle, releaseFocus, createLabel, invalidateStyle;
function SimpleButton () {
super();
}
function init(Void) {
super.init();
if (preset == undefined) {
boundingBox_mc._visible = false;
boundingBox_mc._width = (boundingBox_mc._height = 0);
}
useHandCursor = false;
}
function createChildren(Void) {
if (preset != undefined) {
var _local2 = this[idNames[preset]];
this[refNames[preset]] = _local2;
skinName = _local2;
if (falseOverSkin.length == 0) {
rolloverSkin = fus;
}
if (falseOverIcon.length == 0) {
rolloverIcon = fui;
}
initializing = false;
} else if (__state == true) {
setStateVar(true);
} else {
if (falseOverSkin.length == 0) {
rolloverSkin = fus;
}
if (falseOverIcon.length == 0) {
rolloverIcon = fui;
}
}
}
function setIcon(tag, linkageName) {
return(setSkin(tag + 8, linkageName));
}
function changeIcon(tag, linkageName) {
linkLength = linkageName.length;
var _local2 = stateNames[tag] + "Icon";
this[_local2] = linkageName;
this[idNames[tag + 8]] = _local2;
setStateVar(getState());
}
function changeSkin(tag, linkageName) {
var _local2 = stateNames[tag] + "Skin";
this[_local2] = linkageName;
this[idNames[tag]] = _local2;
setStateVar(getState());
}
function viewIcon(varName) {
var _local4 = varName + "Icon";
var _local3 = this[_local4];
if (typeof(_local3) == "string") {
var _local5 = _local3;
if (__emphasized) {
if (this[_local3 + "Emphasized"].length > 0) {
_local3 = _local3 + "Emphasized";
}
}
if (this[_local3].length == 0) {
return(undefined);
}
_local3 = setIcon(tagMap[_local5], this[_local3]);
if ((_local3 == undefined) && (_global.isLivePreview)) {
_local3 = setIcon(0, "ButtonIcon");
}
this[_local4] = _local3;
}
iconName._visible = false;
iconName = _local3;
iconName._visible = true;
}
function removeIcons() {
var _local3 = 0;
while (_local3 < 2) {
var _local2 = 8;
while (_local2 < 16) {
destroyObject(idNames[_local2]);
this[stateNames[_local2 - 8] + "Icon"] = "";
_local2++;
}
_local3++;
}
refresh();
}
function setSkin(tag, linkageName, initobj) {
var _local3 = super.setSkin(tag, linkageName, ((initobj != undefined) ? (initobj) : ({styleName:this})));
calcSize(tag, _local3);
return(_local3);
}
function calcSize(Void) {
__width = _width;
__height = _height;
}
function viewSkin(varName, initObj) {
var _local3 = varName + "Skin";
var _local2 = this[_local3];
if (typeof(_local2) == "string") {
var _local4 = _local2;
if (__emphasized) {
if (this[_local2 + "Emphasized"].length > 0) {
_local2 = _local2 + "Emphasized";
}
}
if (this[_local2].length == 0) {
return(undefined);
}
_local2 = setSkin(tagMap[_local4], this[_local2], ((initObj != undefined) ? (initObj) : ({styleName:this})));
this[_local3] = _local2;
}
skinName._visible = false;
skinName = _local2;
skinName._visible = true;
}
function showEmphasized(e) {
if (e && (!__emphatic)) {
if (emphasizedStyleDeclaration != undefined) {
__emphaticStyleName = styleName;
styleName = emphasizedStyleDeclaration;
}
__emphatic = true;
} else {
if (__emphatic) {
styleName = __emphaticStyleName;
}
__emphatic = false;
}
}
function refresh(Void) {
var _local2 = getState();
if (enabled == false) {
viewIcon("disabled");
viewSkin("disabled");
} else {
viewSkin(phase);
viewIcon(phase);
}
setView(phase == "down");
iconName.enabled = enabled;
}
function setView(offset) {
if (iconName == undefined) {
return(undefined);
}
var _local2 = (offset ? (btnOffset) : 0);
iconName._x = ((__width - iconName._width) / 2) + _local2;
iconName._y = ((__height - iconName._height) / 2) + _local2;
}
function setStateVar(state) {
if (state) {
if (trueOverSkin.length == 0) {
rolloverSkin = tus;
} else {
rolloverSkin = trs;
}
if (trueOverIcon.length == 0) {
rolloverIcon = tui;
} else {
rolloverIcon = tri;
}
upSkin = tus;
downSkin = tds;
disabledSkin = dts;
upIcon = tui;
downIcon = tdi;
disabledIcon = dti;
} else {
if (falseOverSkin.length == 0) {
rolloverSkin = fus;
} else {
rolloverSkin = frs;
}
if (falseOverIcon.length == 0) {
rolloverIcon = fui;
} else {
rolloverIcon = fri;
}
upSkin = fus;
downSkin = fds;
disabledSkin = dfs;
upIcon = fui;
downIcon = fdi;
disabledIcon = dfi;
}
__state = state;
}
function setState(state) {
if (state != __state) {
setStateVar(state);
invalidate();
}
}
function size(Void) {
refresh();
}
function draw(Void) {
if (initializing) {
initializing = false;
skinName.visible = true;
iconName.visible = true;
}
size();
}
function getState(Void) {
return(__state);
}
function setToggle(val) {
__toggle = val;
if (__toggle == false) {
setState(false);
}
}
function getToggle(Void) {
return(__toggle);
}
function set toggle(val) {
setToggle(val);
//return(toggle);
}
function get toggle() {
return(getToggle());
}
function set value(val) {
setSelected(val);
//return(value);
}
function get value() {
return(getSelected());
}
function set selected(val) {
setSelected(val);
//return(selected);
}
function get selected() {
return(getSelected());
}
function setSelected(val) {
if (__toggle) {
setState(val);
} else {
setState((initializing ? (val) : (__state)));
}
}
function getSelected() {
return(__state);
}
function setEnabled(val) {
if (enabled != val) {
super.setEnabled(val);
invalidate();
}
}
function onPress(Void) {
pressFocus();
phase = "down";
refresh();
dispatchEvent({type:"buttonDown"});
if (autoRepeat) {
interval = setInterval(this, "onPressDelay", getStyle("repeatDelay"));
}
}
function onPressDelay(Void) {
dispatchEvent({type:"buttonDown"});
if (autoRepeat) {
clearInterval(interval);
interval = setInterval(this, "onPressRepeat", getStyle("repeatInterval"));
}
}
function onPressRepeat(Void) {
dispatchEvent({type:"buttonDown"});
updateAfterEvent();
}
function onRelease(Void) {
releaseFocus();
phase = "rollover";
if (interval != undefined) {
clearInterval(interval);
delete interval;
}
if (getToggle()) {
setState(!getState());
} else {
refresh();
}
dispatchEvent({type:"click"});
}
function onDragOut(Void) {
phase = "up";
refresh();
dispatchEvent({type:"buttonDragOut"});
}
function onDragOver(Void) {
if (phase != "up") {
onPress();
return(undefined);
}
phase = "down";
refresh();
}
function onReleaseOutside(Void) {
releaseFocus();
phase = "up";
if (interval != undefined) {
clearInterval(interval);
delete interval;
}
}
function onRollOver(Void) {
phase = "rollover";
refresh();
}
function onRollOut(Void) {
phase = "up";
refresh();
}
function getLabel(Void) {
return(fui.text);
}
function setLabel(val) {
if (typeof(fui) == "string") {
createLabel("fui", 8, val);
fui.styleName = this;
} else {
fui.text = val;
}
var _local4 = fui._getTextFormat();
var _local2 = _local4.getTextExtent2(val);
fui._width = _local2.width + 5;
fui._height = _local2.height + 5;
iconName = fui;
setView(__state);
}
function get emphasized() {
return(__emphasized);
}
function set emphasized(val) {
__emphasized = val;
var _local2 = 0;
while (_local2 < 8) {
this[idNames[_local2]] = stateNames[_local2] + "Skin";
if (typeof(this[idNames[_local2 + 8]]) == "movieclip") {
this[idNames[_local2 + 8]] = stateNames[_local2] + "Icon";
}
_local2++;
}
showEmphasized(__emphasized);
setStateVar(__state);
invalidateStyle();
//return(emphasized);
}
function keyDown(e) {
if (e.code == 32) {
onPress();
}
}
function keyUp(e) {
if (e.code == 32) {
onRelease();
}
}
function onKillFocus(newFocus) {
super.onKillFocus();
if (phase != "up") {
phase = "up";
refresh();
}
}
static var symbolName = "SimpleButton";
static var symbolOwner = mx.controls.SimpleButton;
static var version = "2.0.2.126";
var className = "SimpleButton";
var style3dInset = 4;
var btnOffset = 1;
var __toggle = false;
var __state = false;
var __emphasized = false;
var __emphatic = false;
static var falseUp = 0;
static var falseDown = 1;
static var falseOver = 2;
static var falseDisabled = 3;
static var trueUp = 4;
static var trueDown = 5;
static var trueOver = 6;
static var trueDisabled = 7;
var falseUpSkin = "SimpleButtonUp";
var falseDownSkin = "SimpleButtonIn";
var falseOverSkin = "";
var falseDisabledSkin = "SimpleButtonUp";
var trueUpSkin = "SimpleButtonIn";
var trueDownSkin = "";
var trueOverSkin = "";
var trueDisabledSkin = "SimpleButtonIn";
var falseUpIcon = "";
var falseDownIcon = "";
var falseOverIcon = "";
var falseDisabledIcon = "";
var trueUpIcon = "";
var trueDownIcon = "";
var trueOverIcon = "";
var trueDisabledIcon = "";
var phase = "up";
var fui = "falseUpIcon";
var fus = "falseUpSkin";
var fdi = "falseDownIcon";
var fds = "falseDownSkin";
var frs = "falseOverSkin";
var fri = "falseOverIcon";
var dfi = "falseDisabledIcon";
var dfs = "falseDisabledSkin";
var tui = "trueUpIcon";
var tus = "trueUpSkin";
var tdi = "trueDownIcon";
var tds = "trueDownSkin";
var trs = "trueOverSkin";
var tri = "trueOverIcon";
var dts = "trueDisabledSkin";
var dti = "trueDisabledIcon";
var rolloverSkin = mx.controls.SimpleButton.prototype.frs;
var rolloverIcon = mx.controls.SimpleButton.prototype.fri;
var upSkin = mx.controls.SimpleButton.prototype.fus;
var downSkin = mx.controls.SimpleButton.prototype.fds;
var disabledSkin = mx.controls.SimpleButton.prototype.dfs;
var upIcon = mx.controls.SimpleButton.prototype.fui;
var downIcon = mx.controls.SimpleButton.prototype.fdi;
var disabledIcon = mx.controls.SimpleButton.prototype.dfi;
var initializing = true;
var idNames = ["fus", "fds", "frs", "dfs", "tus", "tds", "trs", "dts", "fui", "fdi", "fri", "dfi", "tui", "tdi", "tri", "dti"];
var stateNames = ["falseUp", "falseDown", "falseOver", "falseDisabled", "trueUp", "trueDown", "trueOver", "trueDisabled"];
var refNames = ["upSkin", "downSkin", "rolloverSkin", "disabledSkin"];
var tagMap = {falseUpSkin:0, falseDownSkin:1, falseOverSkin:2, falseDisabledSkin:3, trueUpSkin:4, trueDownSkin:5, trueOverSkin:6, trueDisabledSkin:7, falseUpIcon:0, falseDownIcon:1, falseOverIcon:2, falseDisabledIcon:3, trueUpIcon:4, trueDownIcon:5, trueOverIcon:6, trueDisabledIcon:7};
}
Symbol 2424 MovieClip [__Packages.mx.managers.SystemManager] Frame 0
class mx.managers.SystemManager
{
static var _xAddEventListener, addEventListener, __addEventListener, _xRemoveEventListener, removeEventListener, __removeEventListener, form, __screen, dispatchEvent;
function SystemManager () {
}
static function init(Void) {
if (_initialized == false) {
_initialized = true;
mx.events.EventDispatcher.initialize(mx.managers.SystemManager);
Mouse.addListener(mx.managers.SystemManager);
Stage.addListener(mx.managers.SystemManager);
_xAddEventListener = addEventListener;
addEventListener = __addEventListener;
_xRemoveEventListener = removeEventListener;
removeEventListener = __removeEventListener;
}
}
static function addFocusManager(f) {
form = f;
f.focusManager.activate();
}
static function removeFocusManager(f) {
}
static function onMouseDown(Void) {
var _local1 = form;
_local1.focusManager._onMouseDown();
}
static function onResize(Void) {
var _local7 = Stage.width;
var _local6 = Stage.height;
var _local9 = _global.origWidth;
var _local8 = _global.origHeight;
var _local3 = Stage.align;
var _local5 = (_local9 - _local7) / 2;
var _local4 = (_local8 - _local6) / 2;
if (_local3 == "T") {
_local4 = 0;
} else if (_local3 == "B") {
_local4 = _local8 - _local6;
} else if (_local3 == "L") {
_local5 = 0;
} else if (_local3 == "R") {
_local5 = _local9 - _local7;
} else if (_local3 == "LT") {
_local4 = 0;
_local5 = 0;
} else if (_local3 == "TR") {
_local4 = 0;
_local5 = _local9 - _local7;
} else if (_local3 == "LB") {
_local4 = _local8 - _local6;
_local5 = 0;
} else if (_local3 == "RB") {
_local4 = _local8 - _local6;
_local5 = _local9 - _local7;
}
if (__screen == undefined) {
__screen = new Object();
}
__screen.x = _local5;
__screen.y = _local4;
__screen.width = _local7;
__screen.height = _local6;
_root.focusManager.relocate();
dispatchEvent({type:"resize"});
}
static function get screen() {
init();
if (__screen == undefined) {
onResize();
}
return(__screen);
}
static var _initialized = false;
static var idleFrames = 0;
static var isMouseDown = false;
static var forms = new Array();
}
Symbol 2425 MovieClip [__Packages.mx.managers.OverlappedWindows] Frame 0
class mx.managers.OverlappedWindows
{
function OverlappedWindows () {
}
static function checkIdle(Void) {
if (mx.managers.SystemManager.idleFrames > 10) {
mx.managers.SystemManager.dispatchEvent({type:"idle"});
} else {
mx.managers.SystemManager.idleFrames++;
}
}
static function __addEventListener(e, o, l) {
if (e == "idle") {
if (mx.managers.SystemManager.interval == undefined) {
mx.managers.SystemManager.interval = setInterval(mx.managers.SystemManager.checkIdle, 100);
}
}
mx.managers.SystemManager._xAddEventListener(e, o, l);
}
static function __removeEventListener(e, o, l) {
if (e == "idle") {
if (mx.managers.SystemManager._xRemoveEventListener(e, o, l) == 0) {
clearInterval(mx.managers.SystemManager.interval);
}
} else {
mx.managers.SystemManager._xRemoveEventListener(e, o, l);
}
}
static function onMouseDown(Void) {
mx.managers.SystemManager.idleFrames = 0;
mx.managers.SystemManager.isMouseDown = true;
var _local5 = _root;
var _local3;
var _local8 = _root._xmouse;
var _local7 = _root._ymouse;
if (mx.managers.SystemManager.form.modalWindow == undefined) {
if (mx.managers.SystemManager.forms.length > 1) {
var _local6 = mx.managers.SystemManager.forms.length;
var _local4;
_local4 = 0;
while (_local4 < _local6) {
var _local2 = mx.managers.SystemManager.forms[_local4];
if (_local2._visible) {
if (_local2.hitTest(_local8, _local7)) {
if (_local3 == undefined) {
_local3 = _local2.getDepth();
_local5 = _local2;
} else if (_local3 < _local2.getDepth()) {
_local3 = _local2.getDepth();
_local5 = _local2;
}
}
}
_local4++;
}
if (_local5 != mx.managers.SystemManager.form) {
mx.managers.SystemManager.activate(_local5);
}
}
}
var _local9 = mx.managers.SystemManager.form;
_local9.focusManager._onMouseDown();
}
static function onMouseMove(Void) {
mx.managers.SystemManager.idleFrames = 0;
}
static function onMouseUp(Void) {
mx.managers.SystemManager.isMouseDown = false;
mx.managers.SystemManager.idleFrames = 0;
}
static function activate(f) {
if (mx.managers.SystemManager.form != undefined) {
if ((mx.managers.SystemManager.form != f) && (mx.managers.SystemManager.forms.length > 1)) {
var _local1 = mx.managers.SystemManager.form;
_local1.focusManager.deactivate();
}
}
mx.managers.SystemManager.form = f;
f.focusManager.activate();
}
static function deactivate(f) {
if (mx.managers.SystemManager.form != undefined) {
if ((mx.managers.SystemManager.form == f) && (mx.managers.SystemManager.forms.length > 1)) {
var _local5 = mx.managers.SystemManager.form;
_local5.focusManager.deactivate();
var _local3 = mx.managers.SystemManager.forms.length;
var _local1;
var _local2;
_local1 = 0;
while (_local1 < _local3) {
if (mx.managers.SystemManager.forms[_local1] == f) {
_local1 = _local1 + 1;
while (_local1 < _local3) {
if (mx.managers.SystemManager.forms[_local1]._visible == true) {
_local2 = mx.managers.SystemManager.forms[_local1];
}
_local1++;
}
mx.managers.SystemManager.form = _local2;
break;
}
if (mx.managers.SystemManager.forms[_local1]._visible == true) {
_local2 = mx.managers.SystemManager.forms[_local1];
}
_local1++;
}
_local5 = mx.managers.SystemManager.form;
_local5.focusManager.activate();
}
}
}
static function addFocusManager(f) {
mx.managers.SystemManager.forms.push(f);
mx.managers.SystemManager.activate(f);
}
static function removeFocusManager(f) {
var _local3 = mx.managers.SystemManager.forms.length;
var _local1;
_local1 = 0;
while (_local1 < _local3) {
if (mx.managers.SystemManager.forms[_local1] == f) {
if (mx.managers.SystemManager.form == f) {
mx.managers.SystemManager.deactivate(f);
}
mx.managers.SystemManager.forms.splice(_local1, 1);
return(undefined);
}
_local1++;
}
}
static function enableOverlappedWindows() {
if (!initialized) {
initialized = true;
mx.managers.SystemManager.checkIdle = checkIdle;
mx.managers.SystemManager.__addEventListener = __addEventListener;
mx.managers.SystemManager.__removeEventListener = __removeEventListener;
mx.managers.SystemManager.onMouseDown = onMouseDown;
mx.managers.SystemManager.onMouseMove = onMouseMove;
mx.managers.SystemManager.onMouseUp = onMouseUp;
mx.managers.SystemManager.activate = activate;
mx.managers.SystemManager.deactivate = deactivate;
mx.managers.SystemManager.addFocusManager = addFocusManager;
mx.managers.SystemManager.removeFocusManager = removeFocusManager;
}
}
static var initialized = false;
static var SystemManagerDependency = mx.managers.SystemManager;
}
Symbol 2426 MovieClip [__Packages.mx.core.ext.UIComponentExtensions] Frame 0
class mx.core.ext.UIComponentExtensions
{
function UIComponentExtensions () {
}
static function Extensions() {
if (bExtended == true) {
return(true);
}
bExtended = true;
TextField.prototype.setFocus = function () {
Selection.setFocus(this);
};
TextField.prototype.onSetFocus = function (oldFocus) {
if (this.tabEnabled != false) {
if (this.getFocusManager().bDrawFocus) {
this.drawFocus(true);
}
}
};
TextField.prototype.onKillFocus = function (oldFocus) {
if (this.tabEnabled != false) {
this.drawFocus(false);
}
};
TextField.prototype.drawFocus = mx.core.UIComponent.prototype.drawFocus;
TextField.prototype.getFocusManager = mx.core.UIComponent.prototype.getFocusManager;
mx.managers.OverlappedWindows.enableOverlappedWindows();
mx.styles.CSSSetStyle.enableRunTimeCSS();
mx.managers.FocusManager.enableFocusManagement();
}
static var bExtended = false;
static var UIComponentExtended = Extensions();
static var UIComponentDependency = mx.core.UIComponent;
static var FocusManagerDependency = mx.managers.FocusManager;
static var OverlappedWindowsDependency = mx.managers.OverlappedWindows;
}
Symbol 2427 MovieClip [__Packages.mx.styles.CSSSetStyle] Frame 0
class mx.styles.CSSSetStyle
{
var styleName, stylecache, _color, setColor, invalidateStyle;
function CSSSetStyle () {
}
function _setStyle(styleProp, newValue) {
this[styleProp] = newValue;
if (mx.styles.StyleManager.TextStyleMap[styleProp] != undefined) {
if (styleProp == "color") {
if (isNaN(newValue)) {
newValue = mx.styles.StyleManager.getColorName(newValue);
this[styleProp] = newValue;
if (newValue == undefined) {
return(undefined);
}
}
}
_level0.changeTextStyleInChildren(styleProp);
return(undefined);
}
if (mx.styles.StyleManager.isColorStyle(styleProp)) {
if (isNaN(newValue)) {
newValue = mx.styles.StyleManager.getColorName(newValue);
this[styleProp] = newValue;
if (newValue == undefined) {
return(undefined);
}
}
if (styleProp == "themeColor") {
var _local7 = mx.styles.StyleManager.colorNames.haloBlue;
var _local6 = mx.styles.StyleManager.colorNames.haloGreen;
var _local8 = mx.styles.StyleManager.colorNames.haloOrange;
var _local4 = {};
_local4[_local7] = 12188666 /* 0xB9FBFA */;
_local4[_local6] = 13500353 /* 0xCDFFC1 */;
_local4[_local8] = 16766319 /* 0xFFD56F */;
var _local5 = {};
_local5[_local7] = 13958653 /* 0xD4FDFD */;
_local5[_local6] = 14942166 /* 0xE3FFD6 */;
_local5[_local8] = 16772787 /* 0xFFEEB3 */;
var _local9 = _local4[newValue];
var _local10 = _local5[newValue];
if (_local9 == undefined) {
_local9 = newValue;
}
if (_local10 == undefined) {
_local10 = newValue;
}
setStyle("selectionColor", _local9);
setStyle("rollOverColor", _local10);
}
_level0.changeColorStyleInChildren(styleName, styleProp, newValue);
} else {
if ((styleProp == "backgroundColor") && (isNaN(newValue))) {
newValue = mx.styles.StyleManager.getColorName(newValue);
this[styleProp] = newValue;
if (newValue == undefined) {
return(undefined);
}
}
_level0.notifyStyleChangeInChildren(styleName, styleProp, newValue);
}
}
function changeTextStyleInChildren(styleProp) {
var _local4 = getTimer();
var _local5;
for (_local5 in this) {
var _local2 = this[_local5];
if (_local2._parent == this) {
if (_local2.searchKey != _local4) {
if (_local2.stylecache != undefined) {
delete _local2.stylecache.tf;
delete _local2.stylecache[styleProp];
}
_local2.invalidateStyle(styleProp);
_local2.changeTextStyleInChildren(styleProp);
_local2.searchKey = _local4;
}
}
}
}
function changeColorStyleInChildren(sheetName, colorStyle, newValue) {
var _local6 = getTimer();
var _local7;
for (_local7 in this) {
var _local2 = this[_local7];
if (_local2._parent == this) {
if (_local2.searchKey != _local6) {
if (((_local2.getStyleName() == sheetName) || (sheetName == undefined)) || (sheetName == "_global")) {
if (_local2.stylecache != undefined) {
delete _local2.stylecache[colorStyle];
}
if (typeof(_local2._color) == "string") {
if (_local2._color == colorStyle) {
var _local4 = _local2.getStyle(colorStyle);
if (colorStyle == "color") {
if (stylecache.tf.color != undefined) {
stylecache.tf.color = _local4;
}
}
_local2.setColor(_local4);
}
} else if (_local2._color[colorStyle] != undefined) {
if (typeof(_local2) != "movieclip") {
_local2._parent.invalidateStyle();
} else {
_local2.invalidateStyle(colorStyle);
}
}
}
_local2.changeColorStyleInChildren(sheetName, colorStyle, newValue);
_local2.searchKey = _local6;
}
}
}
}
function notifyStyleChangeInChildren(sheetName, styleProp, newValue) {
var _local5 = getTimer();
var _local6;
for (_local6 in this) {
var _local2 = this[_local6];
if (_local2._parent == this) {
if (_local2.searchKey != _local5) {
if (((_local2.styleName == sheetName) || ((_local2.styleName != undefined) && (typeof(_local2.styleName) == "movieclip"))) || (sheetName == undefined)) {
if (_local2.stylecache != undefined) {
delete _local2.stylecache[styleProp];
delete _local2.stylecache.tf;
}
delete _local2.enabledColor;
_local2.invalidateStyle(styleProp);
}
_local2.notifyStyleChangeInChildren(sheetName, styleProp, newValue);
_local2.searchKey = _local5;
}
}
}
}
function setStyle(styleProp, newValue) {
if (stylecache != undefined) {
delete stylecache[styleProp];
delete stylecache.tf;
}
this[styleProp] = newValue;
if (mx.styles.StyleManager.isColorStyle(styleProp)) {
if (isNaN(newValue)) {
newValue = mx.styles.StyleManager.getColorName(newValue);
this[styleProp] = newValue;
if (newValue == undefined) {
return(undefined);
}
}
if (styleProp == "themeColor") {
var _local10 = mx.styles.StyleManager.colorNames.haloBlue;
var _local9 = mx.styles.StyleManager.colorNames.haloGreen;
var _local11 = mx.styles.StyleManager.colorNames.haloOrange;
var _local6 = {};
_local6[_local10] = 12188666 /* 0xB9FBFA */;
_local6[_local9] = 13500353 /* 0xCDFFC1 */;
_local6[_local11] = 16766319 /* 0xFFD56F */;
var _local7 = {};
_local7[_local10] = 13958653 /* 0xD4FDFD */;
_local7[_local9] = 14942166 /* 0xE3FFD6 */;
_local7[_local11] = 16772787 /* 0xFFEEB3 */;
var _local12 = _local6[newValue];
var _local13 = _local7[newValue];
if (_local12 == undefined) {
_local12 = newValue;
}
if (_local13 == undefined) {
_local13 = newValue;
}
setStyle("selectionColor", _local12);
setStyle("rollOverColor", _local13);
}
if (typeof(_color) == "string") {
if (_color == styleProp) {
if (styleProp == "color") {
if (stylecache.tf.color != undefined) {
stylecache.tf.color = newValue;
}
}
setColor(newValue);
}
} else if (_color[styleProp] != undefined) {
invalidateStyle(styleProp);
}
changeColorStyleInChildren(undefined, styleProp, newValue);
} else {
if ((styleProp == "backgroundColor") && (isNaN(newValue))) {
newValue = mx.styles.StyleManager.getColorName(newValue);
this[styleProp] = newValue;
if (newValue == undefined) {
return(undefined);
}
}
invalidateStyle(styleProp);
}
if (mx.styles.StyleManager.isInheritingStyle(styleProp) || (styleProp == "styleName")) {
var _local8;
var _local5 = newValue;
if (styleProp == "styleName") {
_local8 = ((typeof(newValue) == "string") ? (_global.styles[newValue]) : (_local5));
_local5 = _local8.themeColor;
if (_local5 != undefined) {
_local8.rollOverColor = (_local8.selectionColor = _local5);
}
}
notifyStyleChangeInChildren(undefined, styleProp, newValue);
}
}
static function enableRunTimeCSS() {
}
static function classConstruct() {
var _local2 = MovieClip.prototype;
var _local3 = mx.styles.CSSSetStyle.prototype;
mx.styles.CSSStyleDeclaration.prototype.setStyle = _local3._setStyle;
_local2.changeTextStyleInChildren = _local3.changeTextStyleInChildren;
_local2.changeColorStyleInChildren = _local3.changeColorStyleInChildren;
_local2.notifyStyleChangeInChildren = _local3.notifyStyleChangeInChildren;
_local2.setStyle = _local3.setStyle;
_global.ASSetPropFlags(_local2, "changeTextStyleInChildren", 1);
_global.ASSetPropFlags(_local2, "changeColorStyleInChildren", 1);
_global.ASSetPropFlags(_local2, "notifyStyleChangeInChildren", 1);
_global.ASSetPropFlags(_local2, "setStyle", 1);
var _local4 = TextField.prototype;
_local4.setStyle = _local2.setStyle;
_local4.changeTextStyleInChildren = _local3.changeTextStyleInChildren;
return(true);
}
static var classConstructed = classConstruct();
static var CSSStyleDeclarationDependency = mx.styles.CSSStyleDeclaration;
}
Symbol 2428 MovieClip [__Packages.it.sephiroth.mloaderWindow] Frame 0
class it.sephiroth.mloaderWindow extends mx.core.UIComponent
{
var progressBar, ls_stage, _x, _y, label_txt, bar_fg, progress, modalWindow, border_mc, __get__borderColor, isModal, centered, title_mc, shadow_mc, dispatchEvent, localToGlobal, _parent;
function mloaderWindow () {
super();
progressBar = true;
ls_stage = new Object();
ls_stage.target = this;
ls_stage.onResize = function () {
if (this.target.centered) {
this.target.setPosition((Stage.width / 2) - (this.target.getSize()[0] / 2), (Stage.height / 2) - (this.target.getSize()[1] / 2));
} else {
this.target.updateModalWindow();
}
};
Stage.addListener(ls_stage);
}
function init(Void) {
super.init();
mx.events.EventDispatcher.initialize(this);
_x = Math.floor(_x);
_y = Math.floor(_y);
label_txt.autoSize = "left";
bar_fg = progress.bar_fg;
bar_fg._width = min_w;
modalWindow._visible = false;
modalWindow.onPress = function () {
};
modalWindow.useHandCursor = false;
modalWindow._width = 0;
modalWindow._height = 0;
}
function draw() {
super.draw();
}
function createChildren(Void) {
super.createChildren();
}
function set value(obj) {
obj = Math.ceil(obj);
if (obj < 0) {
obj = 1;
}
if (obj > 100) {
obj = 100;
}
progress.bar_fg._width = (max_w / 100) * obj;
//return(value);
}
function get value() {
return((bar_fg._width / max_w) * 100);
}
function set label(str) {
label_txt.text = str;
invalidate();
//return(label);
}
function get label() {
return(label_txt.text);
}
function set borderColor(str) {
var _local5 = new Color(border_mc.border_up.line);
var _local3 = new Color(border_mc.border_down.line);
var _local2 = new Color(border_mc.border_middle.line);
_local5.setRGB(str);
_local3.setRGB(str);
_local2.setRGB(str);
//return(__get__borderColor());
}
function open(modal, animate, center) {
if (modal == true) {
isModal = true;
} else {
isModal = false;
}
centered = center;
invalidate();
if (centered) {
setPosition((Stage.width / 2) - (getSize()[0] / 2), (Stage.height / 2) - (getSize()[1] / 2));
}
var target_h = border_mc._height;
if ((animate == true) || (animate == undefined)) {
progress._visible = false;
label_txt._visible = false;
title_mc._visible = false;
shadow_mc._visible = false;
accSize(0);
border_mc.dy = 0;
border_mc.onEnterFrame = function () {
this.dy = (this.dy + ((target_h - this._height) / 1.6)) / 2.3;
this._parent.accSize(this._parent.height + this.dy);
if (Math.abs(this.dy) < 0.2) {
delete this.onEnterFrame;
this._parent.adjustContents();
this._parent.progress._visible = this._parent.progressBar;
this._parent.label_txt._visible = true;
this._parent.title_mc._visible = true;
this._parent.shadow_mc._visible = true;
this._parent.adjustShadow();
this._parent.dispatchEvent({type:"draw", target:this._parent});
}
};
} else {
invalidate();
dispatchEvent({type:"draw", target:this});
}
}
function close(delay) {
if (delay == undefined) {
delay = 0;
}
var t1 = getTimer();
border_mc.onEnterFrame = function () {
if ((getTimer() - t1) > (delay * 1000)) {
this._parent.progress._visible = false;
this._parent.label_txt._visible = false;
this._parent.title_mc._visible = false;
this._parent.shadow_mc._visible = false;
delete this.onEnterFrame;
this.onEnterFrame = function () {
if (this._alpha < 0) {
delete this.onEnterFrame;
this._visible = false;
this._alpha = 100;
this._parent.dispatchEvent({type:"close", target:this._parent});
}
this._alpha = this._alpha - 10;
};
}
};
}
function invalidate() {
var _local2 = new Object();
adjustContents();
_local2 = progress.getBounds(border_mc);
if (progressBar == false) {
progress._visible = false;
_local2.yMax = _local2.yMax - progress._height;
}
if (isModal) {
updateModalWindow();
} else {
modalWindow._visible = false;
}
border_mc.border_down._y = Math.floor(_local2.yMax + 10) + 0.5;
border_mc.border_middle._height = border_mc.border_down._y - border_mc.border_middle._y;
adjustShadow();
}
function updateModalWindow() {
if (isModal) {
modalWindow._visible = true;
modalWindow._width = Stage.width;
modalWindow._height = Stage.height;
var _local2 = new Object();
_local2.x = border_mc._x;
_local2.y = border_mc._y;
localToGlobal(_local2);
var _local3 = _parent.getBounds(border_mc);
modalWindow._x = (-_local2.x) + border_mc._x;
modalWindow._y = (-_local2.y) + border_mc._y;
}
}
function adjustContents() {
var _local2 = new Object();
_local2 = border_mc.border_up.getBounds(this);
title_mc._y = Math.floor(_local2.yMin + 20);
label_txt._y = Math.floor(title_mc._y + 25);
progress._y = Math.ceil((label_txt._y + label_txt.textHeight) + 6);
}
function accSize(size) {
border_mc.border_up._y = (-size) / 2;
border_mc.border_down._y = (border_mc.border_up._y + border_mc.border_up._height) + size;
border_mc.border_middle._y = border_mc.border_up._y + border_mc.border_up._height;
border_mc.border_middle._height = border_mc.border_down._y - border_mc.border_middle._y;
}
function get height() {
return((border_mc.border_down._y - border_mc.border_up._y) - border_mc.border_up._height);
}
function adjustShadow() {
shadow_mc.shadow_up._y = border_mc.border_up._y + 4;
shadow_mc.shadow_down._y = border_mc.border_down._y + 4;
shadow_mc.shadow_middle._height = border_mc.border_middle._height;
shadow_mc.shadow_middle._y = border_mc.border_middle._y + 4;
}
function getSize() {
return([border_mc._x, border_mc._y]);
}
function setPosition(x, y) {
modalWindow._width = 0;
modalWindow._height = 0;
modalWindow._x = border_mc._x;
modalWindow._y = border_mc._y;
_x = Math.round(x - (border_mc._x / 2));
_y = Math.round(y - (border_mc._y / 2));
updateModalWindow();
}
static var symbolName = "mloaderWindow";
static var symbolOwner = it.sephiroth.mloaderWindow;
var className = "it.sephiroth.mloaderWindow";
var max_w = 128;
var min_w = 1;
}
Symbol 2429 MovieClip [__Packages.mx.transitions.OnEnterFrameBeacon] Frame 0
class mx.transitions.OnEnterFrameBeacon
{
function OnEnterFrameBeacon () {
}
static function init() {
var _local4 = _global.MovieClip;
if (!_root.__OnEnterFrameBeacon) {
mx.transitions.BroadcasterMX.initialize(_local4);
var _local3 = _root.createEmptyMovieClip("__OnEnterFrameBeacon", 9876);
_local3.onEnterFrame = function () {
_global.MovieClip.broadcastMessage("onEnterFrame");
};
}
}
static var version = "1.1.0.52";
}
Symbol 2430 MovieClip [__Packages.mx.transitions.BroadcasterMX] Frame 0
class mx.transitions.BroadcasterMX
{
var _listeners;
function BroadcasterMX () {
}
static function initialize(o, dontCreateArray) {
if (o.broadcastMessage != undefined) {
delete o.broadcastMessage;
}
o.addListener = mx.transitions.BroadcasterMX.prototype.addListener;
o.removeListener = mx.transitions.BroadcasterMX.prototype.removeListener;
if (!dontCreateArray) {
o._listeners = new Array();
}
}
function addListener(o) {
removeListener(o);
if (broadcastMessage == undefined) {
broadcastMessage = mx.transitions.BroadcasterMX.prototype.broadcastMessage;
}
return(_listeners.push(o));
}
function removeListener(o) {
var _local2 = _listeners;
var _local3 = _local2.length;
while (_local3--) {
if (_local2[_local3] == o) {
_local2.splice(_local3, 1);
if (!_local2.length) {
broadcastMessage = undefined;
}
return(true);
}
}
return(false);
}
function broadcastMessage() {
var _local5 = String(arguments.shift());
var _local4 = _listeners.concat();
var _local6 = _local4.length;
var _local3 = 0;
while (_local3 < _local6) {
_local4[_local3][_local5].apply(_local4[_local3], arguments);
_local3++;
}
}
static var version = "1.1.0.52";
}
Symbol 2431 MovieClip [__Packages.mx.transitions.Tween] Frame 0
class mx.transitions.Tween
{
var obj, prop, begin, useSeconds, _listeners, addListener, prevTime, _time, looping, _duration, broadcastMessage, isPlaying, _fps, prevPos, _pos, change, _intervalID, _startTime;
function Tween (obj, prop, func, begin, finish, duration, useSeconds) {
mx.transitions.OnEnterFrameBeacon.init();
if (!arguments.length) {
return;
}
this.obj = obj;
this.prop = prop;
this.begin = begin;
position = (begin);
this.duration = (duration);
this.useSeconds = useSeconds;
if (func) {
this.func = func;
}
this.finish = (finish);
_listeners = [];
addListener(this);
start();
}
function set time(t) {
prevTime = _time;
if (t > duration) {
if (looping) {
rewind(t - _duration);
update();
broadcastMessage("onMotionLooped", this);
} else {
if (useSeconds) {
_time = _duration;
update();
}
stop();
broadcastMessage("onMotionFinished", this);
}
} else if (t < 0) {
rewind();
update();
} else {
_time = t;
update();
}
//return(time);
}
function get time() {
return(_time);
}
function set duration(d) {
_duration = (((d == null) || (d <= 0)) ? (_global.Infinity) : (d));
//return(duration);
}
function get duration() {
return(_duration);
}
function set FPS(fps) {
var _local2 = isPlaying;
stopEnterFrame();
_fps = fps;
if (_local2) {
startEnterFrame();
}
//return(FPS);
}
function get FPS() {
return(_fps);
}
function set position(p) {
setPosition(p);
//return(position);
}
function setPosition(p) {
prevPos = _pos;
obj[prop] = (_pos = p);
broadcastMessage("onMotionChanged", this, _pos);
updateAfterEvent();
}
function get position() {
return(getPosition());
}
function getPosition(t) {
if (t == undefined) {
t = _time;
}
return(func(t, begin, change, _duration));
}
function set finish(f) {
change = f - begin;
//return(finish);
}
function get finish() {
return(begin + change);
}
function continueTo(finish, duration) {
begin = position;
this.finish = (finish);
if (duration != undefined) {
this.duration = (duration);
}
start();
}
function yoyo() {
continueTo(begin, time);
}
function startEnterFrame() {
if (_fps == undefined) {
_global.MovieClip.addListener(this);
} else {
_intervalID = setInterval(this, "onEnterFrame", 1000 / _fps);
}
isPlaying = true;
}
function stopEnterFrame() {
if (_fps == undefined) {
_global.MovieClip.removeListener(this);
} else {
clearInterval(_intervalID);
}
isPlaying = false;
}
function start() {
rewind();
startEnterFrame();
broadcastMessage("onMotionStarted", this);
}
function stop() {
stopEnterFrame();
broadcastMessage("onMotionStopped", this);
}
function resume() {
fixTime();
startEnterFrame();
broadcastMessage("onMotionResumed", this);
}
function rewind(t) {
_time = ((t == undefined) ? 0 : (t));
fixTime();
update();
}
function fforward() {
time = (_duration);
fixTime();
}
function nextFrame() {
if (useSeconds) {
time = ((getTimer() - _startTime) / 1000);
} else {
time = (_time + 1);
}
}
function onEnterFrame() {
nextFrame();
}
function prevFrame() {
if (!useSeconds) {
time = (_time - 1);
}
}
function toString() {
return("[Tween]");
}
function fixTime() {
if (useSeconds) {
_startTime = getTimer() - (_time * 1000);
}
}
function update() {
position = (getPosition(_time));
}
static var version = "1.1.0.52";
static var __initBeacon = mx.transitions.OnEnterFrameBeacon.init();
static var __initBroadcaster = mx.transitions.BroadcasterMX.initialize(mx.transitions.Tween.prototype, true);
function func(t, b, c, d) {
return(((c * t) / d) + b);
}
}
Symbol 159 Button
on (press) {
_root.creditsOn = 0;
this.onEnterFrame = function () {
this._alpha = this._alpha - 5;
if (this._alpha <= 0) {
delete this.onEnterFrame;
unloadMovie (this);
}
};
}
Symbol 588 MovieClip [ukDesert_mc] Frame 1
stop();
Symbol 588 MovieClip [ukDesert_mc] Frame 2
stop();
Symbol 596 MovieClip [ukNormal_mc] Frame 1
stop();
Symbol 596 MovieClip [ukNormal_mc] Frame 2
stop();
Symbol 598 MovieClip [usDesert_mc] Frame 1
stop();
Symbol 598 MovieClip [usDesert_mc] Frame 2
stop();
Symbol 606 MovieClip [usNormal_mc] Frame 1
stop();
Symbol 606 MovieClip [usNormal_mc] Frame 2
stop();
Symbol 646 Button
on (release) {
gotoAndPlay (1287);
stopAllSounds();
}
Symbol 1247 MovieClip [nobleHelmet_mc] Frame 1
stop();
Symbol 1247 MovieClip [nobleHelmet_mc] Frame 2
stop();
Symbol 1249 MovieClip [evilKnight_mc] Frame 1
stop();
Symbol 1249 MovieClip [evilKnight_mc] Frame 2
stop();
Symbol 1251 MovieClip [SpikeyHelmet_mc] Frame 1
stop();
Symbol 1251 MovieClip [SpikeyHelmet_mc] Frame 2
stop();
Symbol 1253 MovieClip [medivalHelmet_mc] Frame 1
stop();
Symbol 1253 MovieClip [medivalHelmet_mc] Frame 2
stop();
Symbol 1410 Button
on (release) {
gotoAndPlay (1287);
introSkipV = 1;
}
Symbol 1442 MovieClip [Defaults] Frame 1
#initclip 31
Object.registerClass("Defaults", mx.skins.halo.Defaults);
#endinitclip
Symbol 1443 MovieClip [UIObjectExtensions] Frame 1
#initclip 24
Object.registerClass("UIObjectExtensions", mx.core.ext.UIObjectExtensions);
#endinitclip
Symbol 1444 MovieClip [UIObject] Frame 1
#initclip 25
Object.registerClass("UIObject", mx.core.UIObject);
#endinitclip
stop();
Symbol 1447 Button
on (keyPress "<Tab>") {
this.tabHandler();
}
Symbol 1450 MovieClip [FocusRect] Frame 1
#initclip 26
Object.registerClass("FocusRect", mx.skins.halo.FocusRect);
#endinitclip
Symbol 1451 MovieClip [FocusManager] Frame 1
#initclip 27
Object.registerClass("FocusManager", mx.managers.FocusManager);
#endinitclip
stop();
Symbol 1452 MovieClip [UIComponentExtensions] Frame 1
#initclip 28
Object.registerClass("UIComponentExtensions", mx.core.ext.UIComponentExtensions);
#endinitclip
Symbol 1453 MovieClip [UIComponent] Frame 1
#initclip 29
Object.registerClass("UIComponent", mx.core.UIComponent);
#endinitclip
stop();
Symbol 1454 MovieClip [mloaderWindow] Frame 1
#initclip 30
Object.registerClass("mloaderWindow", it.sephiroth.mloaderWindow);
#endinitclip
stop();
Symbol 1706 MovieClip Frame 1
stop();
bgWhite_btn.onPress = function () {
change_color = new Color(_root.Background);
change_color.setRGB(16777215);
_root.RainbowBG._alpha = 0;
_root.Gradient._alpha = 0;
_root.RedBlackBG._alpha = 0;
_root.WhiteBlackBG._alpha = 0;
};
bgBlack_btn.onPress = function () {
change_color = new Color(_root.Background);
change_color.setRGB(0);
_root.RainbowBG._alpha = 0;
_root.Gradient._alpha = 0;
_root.RedBlackBG._alpha = 0;
_root.WhiteBlackBG._alpha = 0;
};
bgBlue_btn.onPress = function () {
change_color = new Color(_root.Background);
change_color.setRGB(255);
_root.RainbowBG._alpha = 0;
_root.Gradient._alpha = 0;
_root.RedBlackBG._alpha = 0;
_root.WhiteBlackBG._alpha = 0;
};
bgRed_btn.onPress = function () {
change_color = new Color(_root.Background);
change_color.setRGB(16711680);
_root.RainbowBG._alpha = 0;
_root.Gradient._alpha = 0;
_root.RedBlackBG._alpha = 0;
_root.WhiteBlackBG._alpha = 0;
};
bgDarkGreen_btn.onPress = function () {
change_color = new Color(_root.Background);
change_color.setRGB(13056);
_root.RainbowBG._alpha = 0;
_root.Gradient._alpha = 0;
_root.RedBlackBG._alpha = 0;
_root.WhiteBlackBG._alpha = 0;
};
bgGreen_btn.onPress = function () {
change_color = new Color(_root.Background);
change_color.setRGB(65280);
_root.RainbowBG._alpha = 0;
_root.Gradient._alpha = 0;
_root.RedBlackBG._alpha = 0;
_root.WhiteBlackBG._alpha = 0;
};
bgBrown_btn.onPress = function () {
change_color = new Color(_root.Background);
change_color.setRGB(6697728);
_root.RainbowBG._alpha = 0;
_root.Gradient._alpha = 0;
_root.RedBlackBG._alpha = 0;
_root.WhiteBlackBG._alpha = 0;
};
bgGrey_btn.onPress = function () {
change_color = new Color(_root.Background);
change_color.setRGB(6710886);
_root.RainbowBG._alpha = 0;
_root.Gradient._alpha = 0;
_root.RedBlackBG._alpha = 0;
_root.WhiteBlackBG._alpha = 0;
};
bgYellow_btn.onPress = function () {
change_color = new Color(_root.Background);
change_color.setRGB(16776960);
_root.RainbowBG._alpha = 0;
_root.Gradient._alpha = 0;
_root.RedBlackBG._alpha = 0;
_root.WhiteBlackBG._alpha = 0;
};
bgPink_btn.onPress = function () {
change_color = new Color(_root.Background);
change_color.setRGB(16711935);
_root.RainbowBG._alpha = 0;
_root.Gradient._alpha = 0;
_root.RedBlackBG._alpha = 0;
_root.WhiteBlackBG._alpha = 0;
};
bgPink_btn.onPress = function () {
change_color = new Color(_root.Background);
change_color.setRGB(16711935);
_root.RainbowBG._alpha = 0;
_root.Gradient._alpha = 0;
_root.RedBlackBG._alpha = 0;
_root.WhiteBlackBG._alpha = 0;
};
bgWhiteBlack_btn.onPress = function () {
_root.WhiteBlackBG._alpha = 100;
_root.RainbowBG._alpha = 0;
_root.RedBlackBG._alpha = 0;
_root.Gradient._alpha = 0;
};
bgRedBlack_btn.onPress = function () {
_root.RedBlackBG._alpha = 100;
_root.RainbowBG._alpha = 0;
_root.WhiteBlackBG._alpha = 0;
_root.Gradient._alpha = 0;
};
bgGradient_btn.onPress = function () {
_root.Gradient._alpha = 100;
_root.RedBlackBG._alpha = 0;
_root.RainbowBG._alpha = 0;
_root.WhiteBlackBG._alpha = 0;
};
bgMulti_btn.onPress = function () {
_root.RainbowBG._alpha = 100;
_root.Gradient._alpha = 0;
_root.RedBlackBG._alpha = 0;
_root.WhiteBlackBG._alpha = 0;
};
Symbol 1841 Button
on (press) {
getURL ("http://www.teddynation.com", "_blank");
}
Symbol 1884 Button
on (press) {
getURL ("http://www.teddynation.com", "_blank");
}
Symbol 2169 MovieClip [knucklesMetal_mc] Frame 1
stop();
Symbol 2169 MovieClip [knucklesMetal_mc] Frame 2
stop();
Symbol 2172 MovieClip [knucklesMetalBloody_mc] Frame 1
stop();
Symbol 2172 MovieClip [knucklesMetalBloody_mc] Frame 2
stop();
Symbol 2175 MovieClip [knucklesGold_mc] Frame 1
stop();
Symbol 2175 MovieClip [knucklesGold_mc] Frame 2
stop();
Symbol 2178 MovieClip [knucklesGoldBloody_mc] Frame 1
stop();
Symbol 2178 MovieClip [knucklesGoldBloody_mc] Frame 2
stop();
Symbol 2270 MovieClip Frame 1
stop();
Symbol 2270 MovieClip Frame 2
stop();
Symbol 2273 MovieClip Frame 1
stop();
Symbol 2273 MovieClip Frame 2
stop();
Symbol 2275 MovieClip Frame 1
stop();
Symbol 2275 MovieClip Frame 2
stop();
Symbol 2278 Button
on (release) {
if (_root.creditsOn == 0) {
_root.creditsOn = 1;
_root.attachMovie("credits_mc", "credits_mc", 9999919, {_x:190, _y:120});
_root.credits_mc._alpha = 0;
_root.credits_mc.onEnterFrame = function () {
this._alpha = this._alpha + 5;
if (this._alpha >= 100) {
delete this.onEnterFrame;
}
};
} else if (_root.creditsOn == 1) {
_root.creditsOn = 0;
_root.credits_mc.onEnterFrame = function () {
this._alpha = this._alpha - 5;
if (this._alpha <= 0) {
delete this.onEnterFrame;
unloadMovie (this);
}
};
}
}
Symbol 2279 Button
on (release) {
_root.print_me();
}
Symbol 2296 Button
on (press) {
this._parent.popOut();
}
Symbol 2396 MovieClip Frame 1
stop();
Symbol 2400 Button
on (press) {
startDrag (this);
dragging = true;
onGround = 0;
windOn = 0;
}
on (release, releaseOutside) {
stopDrag();
dragging = false;
}
Symbol 2401 MovieClip Frame 1
function ballOn() {
if (ballOnV == 0) {
_root.ball_mc._y = 6;
_root.ball_mc._x = 200;
dragging = false;
} else if (ballOnV == 1) {
dragging = true;
_root.ball_mc._y = 10000;
}
}
function removeBall() {
dragging = true;
_root.ball_mc._y = 10000;
ballOnV = 0;
}
xspeed = 10;
rightedge = 550;
leftedge = 0;
yspeed = 10;
topedge = 0;
bottomedge = 400;
gravity = 2.1;
drag = 0.98;
bounce = 0.9;
onGround = 0;
groundFriction = 0.96;
groundFriction = 0.93;
windOn = 0;
wind = 4;
ballOnV = 0;
dragging = true;
Symbol 2401 MovieClip Frame 2
if (!dragging) {
_x = (_x + xspeed);
if (((_x + (_width / 2)) + 5) > rightedge) {
_x = (rightedge - (_width / 2));
xspeed = (-xspeed) * bounce;
onGround = 0;
windOn = 0;
} else if (_root.snowV == 1) {
if (windOn == 0) {
xspeed = xspeed + wind;
windOn = 1;
}
}
if (((_x - (_width / 2)) - 5) < leftedge) {
_x = (leftedge + (_width / 2));
xspeed = (-xspeed) * bounce;
onGround = 0;
windOn = 0;
}
_y = (_y + yspeed);
if (((_y + (_height / 2)) + 5) > bottomedge) {
_y = (bottomedge - (_height / 2));
yspeed = (-yspeed) * bounce;
onGround++;
if (onGround > 15) {
xspeed = xspeed * groundFriction;
} else if (onGround > 25) {
xspeed = xspeed * groundFriction2;
}
}
if ((_y - (_height / 2)) < topedge) {
_y = (topedge + (_height / 2));
yspeed = (-yspeed) * bounce;
onGround = 0;
windOn = 0;
}
yspeed = (yspeed * drag) + gravity;
xspeed = xspeed * drag;
} else {
xspeed = _x - oldx;
yspeed = _y - oldy;
oldx = _x;
oldy = _y;
}
Symbol 2401 MovieClip Frame 3
gotoAndPlay (2);
Symbol 2406 MovieClip Frame 1
stop();
Symbol 2406 MovieClip Frame 2
var fartSound = new Sound();
fartSound.attachSound("fartSound");
fartSound.start(0, 0);
Symbol 2406 MovieClip Frame 50
stop();
_root.montyFoot_mc._y = -500;
_root.footBG_mc._y = -500;
gotoAndStop (1);