Section 1
//mcBackground (mcBackground)
package {
import flash.display.*;
public dynamic class mcBackground extends MovieClip {
}
}//package
Section 2
//mcBodyColor (mcBodyColor)
package {
import flash.display.*;
public dynamic class mcBodyColor extends MovieClip {
}
}//package
Section 3
//mcButtonSnd (mcButtonSnd)
package {
import flash.media.*;
public dynamic class mcButtonSnd extends Sound {
}
}//package
Section 4
//mcCami (mcCami)
package {
import flash.display.*;
public dynamic class mcCami extends MovieClip {
}
}//package
Section 5
//mcCami1 (mcCami1)
package {
import flash.display.*;
public dynamic class mcCami1 extends MovieClip {
}
}//package
Section 6
//mcCami2 (mcCami2)
package {
import flash.display.*;
public dynamic class mcCami2 extends MovieClip {
}
}//package
Section 7
//mcCami3 (mcCami3)
package {
import flash.display.*;
public dynamic class mcCami3 extends MovieClip {
}
}//package
Section 8
//mcCami4 (mcCami4)
package {
import flash.display.*;
public dynamic class mcCami4 extends MovieClip {
}
}//package
Section 9
//mcCami5 (mcCami5)
package {
import flash.display.*;
public dynamic class mcCami5 extends MovieClip {
}
}//package
Section 10
//mcCami6 (mcCami6)
package {
import flash.display.*;
public dynamic class mcCami6 extends MovieClip {
}
}//package
Section 11
//mcClear (mcClear)
package {
import flash.display.*;
public dynamic class mcClear extends MovieClip {
}
}//package
Section 12
//mcColor (mcColor)
package {
import flash.display.*;
public dynamic class mcColor extends MovieClip {
}
}//package
Section 13
//mcColorSelect (mcColorSelect)
package {
import flash.display.*;
public dynamic class mcColorSelect extends MovieClip {
}
}//package
Section 14
//mcDoll (mcDoll)
package {
import flash.display.*;
public dynamic class mcDoll extends MovieClip {
}
}//package
Section 15
//mcDone (mcDone)
package {
import flash.display.*;
public dynamic class mcDone extends MovieClip {
}
}//package
Section 16
//mcDress (mcDress)
package {
import flash.display.*;
public dynamic class mcDress extends MovieClip {
}
}//package
Section 17
//mcDress1 (mcDress1)
package {
import flash.display.*;
public dynamic class mcDress1 extends MovieClip {
}
}//package
Section 18
//mcDress2 (mcDress2)
package {
import flash.display.*;
public dynamic class mcDress2 extends MovieClip {
}
}//package
Section 19
//mcDress3 (mcDress3)
package {
import flash.display.*;
public dynamic class mcDress3 extends MovieClip {
}
}//package
Section 20
//mcDress4 (mcDress4)
package {
import flash.display.*;
public dynamic class mcDress4 extends MovieClip {
}
}//package
Section 21
//mcDress5 (mcDress5)
package {
import flash.display.*;
public dynamic class mcDress5 extends MovieClip {
}
}//package
Section 22
//mcEyeBase (mcEyeBase)
package {
import flash.display.*;
public dynamic class mcEyeBase extends MovieClip {
}
}//package
Section 23
//mcEyeColor (mcEyeColor)
package {
import flash.display.*;
public dynamic class mcEyeColor extends MovieClip {
}
}//package
Section 24
//mcEyeMakeup1 (mcEyeMakeup1)
package {
import flash.display.*;
public dynamic class mcEyeMakeup1 extends MovieClip {
}
}//package
Section 25
//mcEyeMakeup2 (mcEyeMakeup2)
package {
import flash.display.*;
public dynamic class mcEyeMakeup2 extends MovieClip {
}
}//package
Section 26
//mcEyeMakeup3 (mcEyeMakeup3)
package {
import flash.display.*;
public dynamic class mcEyeMakeup3 extends MovieClip {
}
}//package
Section 27
//mcEyeMakeup4 (mcEyeMakeup4)
package {
import flash.display.*;
public dynamic class mcEyeMakeup4 extends MovieClip {
}
}//package
Section 28
//mcEyeMakeup5 (mcEyeMakeup5)
package {
import flash.display.*;
public dynamic class mcEyeMakeup5 extends MovieClip {
}
}//package
Section 29
//mcEyeMakeupColor (mcEyeMakeupColor)
package {
import flash.display.*;
public dynamic class mcEyeMakeupColor extends MovieClip {
}
}//package
Section 30
//mcEyes (mcEyes)
package {
import flash.display.*;
public dynamic class mcEyes extends MovieClip {
}
}//package
Section 31
//mcHair1 (mcHair1)
package {
import flash.display.*;
public dynamic class mcHair1 extends MovieClip {
}
}//package
Section 32
//mcHair2 (mcHair2)
package {
import flash.display.*;
public dynamic class mcHair2 extends MovieClip {
}
}//package
Section 33
//mcHair3 (mcHair3)
package {
import flash.display.*;
public dynamic class mcHair3 extends MovieClip {
}
}//package
Section 34
//mcHair4 (mcHair4)
package {
import flash.display.*;
public dynamic class mcHair4 extends MovieClip {
}
}//package
Section 35
//mcHair5 (mcHair5)
package {
import flash.display.*;
public dynamic class mcHair5 extends MovieClip {
}
}//package
Section 36
//mcHair6 (mcHair6)
package {
import flash.display.*;
public dynamic class mcHair6 extends MovieClip {
}
}//package
Section 37
//mcHair7 (mcHair7)
package {
import flash.display.*;
public dynamic class mcHair7 extends MovieClip {
}
}//package
Section 38
//mcHairButton (mcHairButton)
package {
import flash.display.*;
public dynamic class mcHairButton extends MovieClip {
}
}//package
Section 39
//mcHat1 (mcHat1)
package {
import flash.display.*;
public dynamic class mcHat1 extends MovieClip {
}
}//package
Section 40
//mcHat2 (mcHat2)
package {
import flash.display.*;
public dynamic class mcHat2 extends MovieClip {
}
}//package
Section 41
//mcHat3 (mcHat3)
package {
import flash.display.*;
public dynamic class mcHat3 extends MovieClip {
}
}//package
Section 42
//mcHat4 (mcHat4)
package {
import flash.display.*;
public dynamic class mcHat4 extends MovieClip {
}
}//package
Section 43
//mcHat5 (mcHat5)
package {
import flash.display.*;
public dynamic class mcHat5 extends MovieClip {
}
}//package
Section 44
//mcHats (mcHats)
package {
import flash.display.*;
public dynamic class mcHats extends MovieClip {
}
}//package
Section 45
//mcHover (mcHover)
package {
import flash.display.*;
public dynamic class mcHover extends MovieClip {
}
}//package
Section 46
//mcJacket (mcJacket)
package {
import flash.display.*;
public dynamic class mcJacket extends MovieClip {
}
}//package
Section 47
//mcJacket1 (mcJacket1)
package {
import flash.display.*;
public dynamic class mcJacket1 extends MovieClip {
}
}//package
Section 48
//mcJacket2 (mcJacket2)
package {
import flash.display.*;
public dynamic class mcJacket2 extends MovieClip {
}
}//package
Section 49
//mcJacket3 (mcJacket3)
package {
import flash.display.*;
public dynamic class mcJacket3 extends MovieClip {
}
}//package
Section 50
//mcJacket4 (mcJacket4)
package {
import flash.display.*;
public dynamic class mcJacket4 extends MovieClip {
}
}//package
Section 51
//mcJacket5 (mcJacket5)
package {
import flash.display.*;
public dynamic class mcJacket5 extends MovieClip {
}
}//package
Section 52
//mcJewelry1 (mcJewelry1)
package {
import flash.display.*;
public dynamic class mcJewelry1 extends MovieClip {
}
}//package
Section 53
//mcJewelry2 (mcJewelry2)
package {
import flash.display.*;
public dynamic class mcJewelry2 extends MovieClip {
}
}//package
Section 54
//mcJewelry3 (mcJewelry3)
package {
import flash.display.*;
public dynamic class mcJewelry3 extends MovieClip {
}
}//package
Section 55
//mcJewelry4 (mcJewelry4)
package {
import flash.display.*;
public dynamic class mcJewelry4 extends MovieClip {
}
}//package
Section 56
//mcJewelry5 (mcJewelry5)
package {
import flash.display.*;
public dynamic class mcJewelry5 extends MovieClip {
}
}//package
Section 57
//mcJewelryButton (mcJewelryButton)
package {
import flash.display.*;
public dynamic class mcJewelryButton extends MovieClip {
}
}//package
Section 58
//mcLayer (mcLayer)
package {
import flash.display.*;
public dynamic class mcLayer extends MovieClip {
}
}//package
Section 59
//mcLips (mcLips)
package {
import flash.display.*;
public dynamic class mcLips extends MovieClip {
}
}//package
Section 60
//mcLipsButton (mcLipsButton)
package {
import flash.display.*;
public dynamic class mcLipsButton extends MovieClip {
}
}//package
Section 61
//mcLogoBG (mcLogoBG)
package {
import flash.display.*;
public dynamic class mcLogoBG extends MovieClip {
}
}//package
Section 62
//mcMoreGames (mcMoreGames)
package {
import flash.display.*;
public dynamic class mcMoreGames extends MovieClip {
}
}//package
Section 63
//mcMusic (mcMusic)
package {
import flash.display.*;
public dynamic class mcMusic extends MovieClip {
}
}//package
Section 64
//mcMusicSnd (mcMusicSnd)
package {
import flash.media.*;
public dynamic class mcMusicSnd extends Sound {
}
}//package
Section 65
//mcPlayAgain (mcPlayAgain)
package {
import flash.display.*;
public dynamic class mcPlayAgain extends MovieClip {
}
}//package
Section 66
//mcPrint (mcPrint)
package {
import flash.display.*;
public dynamic class mcPrint extends MovieClip {
}
}//package
Section 67
//mcRandom (mcRandom)
package {
import flash.display.*;
public dynamic class mcRandom extends MovieClip {
}
}//package
Section 68
//mcShoes (mcShoes)
package {
import flash.display.*;
public dynamic class mcShoes extends MovieClip {
}
}//package
Section 69
//mcShoes1 (mcShoes1)
package {
import flash.display.*;
public dynamic class mcShoes1 extends MovieClip {
}
}//package
Section 70
//mcShoes2 (mcShoes2)
package {
import flash.display.*;
public dynamic class mcShoes2 extends MovieClip {
}
}//package
Section 71
//mcShoes3 (mcShoes3)
package {
import flash.display.*;
public dynamic class mcShoes3 extends MovieClip {
}
}//package
Section 72
//mcShoes4 (mcShoes4)
package {
import flash.display.*;
public dynamic class mcShoes4 extends MovieClip {
}
}//package
Section 73
//mcShoes5 (mcShoes5)
package {
import flash.display.*;
public dynamic class mcShoes5 extends MovieClip {
}
}//package
Section 74
//mcShoes6 (mcShoes6)
package {
import flash.display.*;
public dynamic class mcShoes6 extends MovieClip {
}
}//package
Section 75
//mcStateClick (mcStateClick)
package {
import flash.display.*;
public dynamic class mcStateClick extends MovieClip {
}
}//package
Section 76
//mcStocking (mcStocking)
package {
import flash.display.*;
public dynamic class mcStocking extends MovieClip {
}
}//package
Section 77
//mcStocking1 (mcStocking1)
package {
import flash.display.*;
public dynamic class mcStocking1 extends MovieClip {
}
}//package
Section 78
//mcStocking2 (mcStocking2)
package {
import flash.display.*;
public dynamic class mcStocking2 extends MovieClip {
}
}//package
Section 79
//mcStocking3 (mcStocking3)
package {
import flash.display.*;
public dynamic class mcStocking3 extends MovieClip {
}
}//package
Section 80
//mcStocking4 (mcStocking4)
package {
import flash.display.*;
public dynamic class mcStocking4 extends MovieClip {
}
}//package
Section 81
//mcStocking5 (mcStocking5)
package {
import flash.display.*;
public dynamic class mcStocking5 extends MovieClip {
}
}//package
Section 82
//preloader (preloader)
package {
import flash.display.*;
import flash.events.*;
import flash.net.*;
public dynamic class preloader extends MovieClip {
public var loadbar:MovieClip;
public function preloader(){
addFrameScript(0, frame1, 1, frame2, 294, frame295);
}
public function loader(_arg1:Event){
var _local2:*;
var _local3:*;
_local2 = MovieClip(root).loaderInfo.bytesLoaded;
_local3 = MovieClip(root).loaderInfo.bytesTotal;
loadbar.scaleX = (_local2 / _local3);
if (_local2 == _local3){
this.play();
this.removeEventListener(Event.ENTER_FRAME, loader);
};
}
function frame295(){
this.removeEventListener(MouseEvent.CLICK, sitelink);
MovieClip(root).play();
}
function frame1(){
MovieClip(root).stop();
this.stop();
this.addEventListener(Event.ENTER_FRAME, loader);
}
function frame2(){
this.buttonMode = true;
this.addEventListener(MouseEvent.CLICK, sitelink);
}
public function sitelink(_arg1:MouseEvent){
var _local2:String;
var _local3:URLRequest;
_local2 = "http://www.dressupwho.com";
_local3 = new URLRequest(_local2);
navigateToURL(_local3, "_blank");
}
}
}//package
Section 83
//Vampire (Vampire)
package {
import flash.display.*;
import flash.events.*;
import flash.media.*;
import flash.utils.*;
import flash.text.*;
import flash.printing.*;
import flash.geom.*;
import flash.net.*;
public class Vampire extends MovieClip {
private const startSpeed:int = 30;
private var hatColorIndex:int;
public var printButton:mcPrint;
public var lips:mcLips;
private var eyeColorIndex:int;
public var dressButton:mcDress;
public var mcJacketColor1:mcColor;
public var mcJacketColor4:mcColor;
public var mcJacketColor2:mcColor;
public var mcJacketColor3:mcColor;
public var mcJacketColor5:mcColor;
public var eyes:mcEyes;
private var shoeColorIndex:int;
public var mcStockingColor1:mcColor;
public var mcStockingColor2:mcColor;
public var mcStockingColor3:mcColor;
public var mcStockingColor4:mcColor;
public var mcStockingColor5:mcColor;
private var shoeIndex:int;
private var jacketColorSelect;
public var mcLipColor1:mcColor;
public var mcLipColor3:mcColor;
public var mcLipColor4:mcColor;
public var mcLipColor5:mcColor;
public var mcLipColor2:mcColor;
private var deletedLayer:Boolean;
private var jewelryColorIndex:int;
public var dressmeupButton:SimpleButton;
public var eyeButton:mcEyeColor;
public var mainDoll:mcDoll;
private var hairColorIndex:int;
private var dressColorIndex:int;
private var hatColorSelect;
private var dressIndex:int;
private var jacketIndex:int;
private var hairColorList:Array;
private var hairColorSelect;
private var buttonSound:mcButtonSnd;
private var stageClick:Boolean;
public var background:mcBackground;
private var jewelryIndex:int;
private var eyeMakeupColorList:Array;
private var camiColorList:Array;
private var camiColorIndex:int;
private var lipColorList:Array;
private var layer;
public var doneButton:mcDone;
private var gameSprite:Sprite;
private var stockingColorIndex:int;
private var deletedLogo:Boolean;
private var eyeMakeupColorIndex:int;
private var jacketColorList:Array;
private var jewelryList:Array;
private var stockingColorSelect;
public var jewelryButton:mcJewelryButton;
public var jacketButton:mcJacket;
private var lipColorSelect;
public var hatButton:mcHats;
private var logo;
public var hairButton:mcHairButton;
public var musicButton:mcMusic;
public var mcEyeColor1:mcColor;
public var mcEyeColor2:mcColor;
public var mcEyeColor4:mcColor;
public var mcEyeColor5:mcColor;
public var mcEyeColor3:mcColor;
public var randomButton:mcRandom;
private var hatList:Array;
public var mcHairColor1:mcColor;
public var mcHairColor2:mcColor;
public var mcHairColor3:mcColor;
public var mcHairColor4:mcColor;
public var mcHairColor5:mcColor;
private var musicSound:mcMusicSnd;
public var shoeButton:mcShoes;
private var hairIndex:int;
private var jewelryColorSelect;
private var channelButton:SoundChannel;
private var lipColorIndex:int;
private var shoeList:Array;
private var dressColorList:Array;
public var mcShoeColor1:mcColor;
public var mcShoeColor2:mcColor;
public var mcShoeColor3:mcColor;
public var mcShoeColor4:mcColor;
public var mcShoeColor5:mcColor;
private var camiList:Array;
private var hatColorList:Array;
public var camiButton:mcCami;
private var eyeMakeupList:Array;
private var shoeColorSelect;
private var eyeMakeupIndex:int;
private var bodyColorIndex:int;
public var eyeMakeupButton:mcEyeMakeupColor;
private var camiIndex:int;
private var gameTimer:Timer;
public var mcCamiColor1:mcColor;
public var mcCamiColor2:mcColor;
public var mcCamiColor3:mcColor;
public var mcCamiColor4:mcColor;
private var jacketList:Array;
public var mcCamiColor5:mcColor;
private var jacketColorIndex:int;
public var mcHatColor1:mcColor;
public var mcHatColor2:mcColor;
public var mcHatColor3:mcColor;
public var mcHatColor4:mcColor;
public var mcHatColor5:mcColor;
public var mcDressColor1:mcColor;
public var mcDressColor2:mcColor;
public var mcDressColor3:mcColor;
public var mcDressColor4:mcColor;
public var mcDressColor5:mcColor;
public var moregamesButton:mcMoreGames;
private var channelMusic:SoundChannel;
private var bMusic:Boolean;
private var stockingColorList:Array;
private var hatIndex:int;
public var playagainButton:mcPlayAgain;
private var bDone:Boolean;
private var stockingIndex:int;
private var bodyColorList:Array;
private var logoBG;
private var bodyColorSelect;
private var eyeMakeupColorSelect;
private var eyeLiner;
private var eyeColorSelect;
public var stockingButton:mcStocking;
private var camiColorSelect;
private var eyeColorList:Array;
private var dressList:Array;
public var bodyButton:mcBodyColor;
private var dressColorSelect;
private var hairList:Array;
public var mcBodyColor1:mcColor;
public var mcBodyColor2:mcColor;
public var mcBodyColor3:mcColor;
public var mcBodyColor4:mcColor;
public var lipButton:mcLipsButton;
public var mcBodyColor5:mcColor;
private var stockingList:Array;
public var clearButton:mcClear;
public var mcEyeMakeupColor1:mcColor;
public var mcEyeMakeupColor3:mcColor;
public var mcEyeMakeupColor4:mcColor;
private var shoeColorList:Array;
public var mcEyeMakeupColor2:mcColor;
public var mcEyeMakeupColor5:mcColor;
public function Vampire(){
logo = new preloader();
logoBG = new mcLogoBG();
layer = new mcLayer();
eyeLiner = new mcEyeBase();
eyeMakeupList = new Array();
stockingList = new Array();
shoeList = new Array();
camiList = new Array();
dressList = new Array();
jewelryList = new Array();
jacketList = new Array();
hairList = new Array();
hatList = new Array();
bodyColorList = new Array();
eyeColorList = new Array();
eyeMakeupColorList = new Array();
lipColorList = new Array();
hairColorList = new Array();
hatColorList = new Array();
camiColorList = new Array();
dressColorList = new Array();
shoeColorList = new Array();
jacketColorList = new Array();
stockingColorList = new Array();
bodyColorSelect = new mcColorSelect();
eyeColorSelect = new mcColorSelect();
eyeMakeupColorSelect = new mcColorSelect();
lipColorSelect = new mcColorSelect();
stockingColorSelect = new mcColorSelect();
shoeColorSelect = new mcColorSelect();
camiColorSelect = new mcColorSelect();
dressColorSelect = new mcColorSelect();
jewelryColorSelect = new mcColorSelect();
jacketColorSelect = new mcColorSelect();
hairColorSelect = new mcColorSelect();
hatColorSelect = new mcColorSelect();
musicSound = new mcMusicSnd();
buttonSound = new mcButtonSnd();
super();
bDone = false;
bMusic = true;
stageClick = false;
gameSprite = new Sprite();
addChild(gameSprite);
logoBG.x = 0;
logoBG.y = 0;
logoBG.width = 700;
logoBG.height = 550;
gameSprite.addChild(logoBG);
logoBG.addEventListener(MouseEvent.MOUSE_DOWN, LogoBGClick);
logo.x = 350;
logo.y = 275;
logo.startFrame = 0;
logo.endFrame = 295;
logo.curFrame = logo.startFrame;
gameSprite.addChild(logo);
gameTimer = new Timer(startSpeed);
gameTimer.addEventListener(TimerEvent.TIMER, GameLoop);
gameTimer.start();
deletedLogo = false;
stage.addEventListener(MouseEvent.MOUSE_UP, StageOut);
stage.addEventListener(MouseEvent.MOUSE_DOWN, StageDown);
}
public function EyeMakeupColor4Click(_arg1:MouseEvent){
eyeMakeupColorSelect.x = mcEyeMakeupColor4.x;
eyeMakeupColorSelect.y = mcEyeMakeupColor4.y;
ChangeColor(eyeMakeupList[eyeMakeupIndex], eyeMakeupColorList[3].red, eyeMakeupColorList[3].green, eyeMakeupColorList[3].blue, eyeMakeupColorList[3].tint);
eyeMakeupColorIndex = 3;
}
public function EyeColor4Click(_arg1:MouseEvent){
eyeColorSelect.x = mcEyeColor4.x;
eyeColorSelect.y = mcEyeColor4.y;
ChangeColor(eyes, eyeColorList[3].red, eyeColorList[3].green, eyeColorList[3].blue, eyeColorList[3].tint);
eyeColorIndex = 3;
}
public function LogoBGClick(_arg1:MouseEvent){
navigateToURL(new URLRequest("http://www.dressupwho.com/"), "_blank");
}
public function HatColor2Click(_arg1:MouseEvent){
hatColorSelect.x = mcHatColor2.x;
hatColorSelect.y = mcHatColor2.y;
ChangeColor(hatList[hatIndex], hatColorList[1].red, hatColorList[1].green, hatColorList[1].blue, hatColorList[1].tint);
hatColorIndex = 1;
}
public function StockingColor1Click(_arg1:MouseEvent){
stockingColorSelect.x = mcStockingColor1.x;
stockingColorSelect.y = mcStockingColor1.y;
ChangeColor(stockingList[stockingIndex], stockingColorList[0].red, stockingColorList[0].green, stockingColorList[0].blue, stockingColorList[0].tint);
stockingColorIndex = 0;
}
public function HairColor2Click(_arg1:MouseEvent){
hairColorSelect.x = mcHairColor2.x;
hairColorSelect.y = mcHairColor2.y;
ChangeColor(hairList[hairIndex], hairColorList[1].red, hairColorList[1].green, hairColorList[1].blue, hairColorList[1].tint);
hairColorIndex = 1;
}
public function DressColor4Click(_arg1:MouseEvent){
dressColorSelect.x = mcDressColor4.x;
dressColorSelect.y = mcDressColor4.y;
ChangeColor(dressList[dressIndex], dressColorList[3].red, dressColorList[3].green, dressColorList[3].blue, dressColorList[3].tint);
dressColorIndex = 3;
}
public function JacketColor3Click(_arg1:MouseEvent){
jacketColorSelect.x = mcJacketColor3.x;
jacketColorSelect.y = mcJacketColor3.y;
ChangeColor(jacketList[jacketIndex], jacketColorList[2].red, jacketColorList[2].green, jacketColorList[2].blue, jacketColorList[2].tint);
jacketColorIndex = 2;
}
public function BodyColor5Click(_arg1:MouseEvent){
bodyColorSelect.x = mcBodyColor5.x;
bodyColorSelect.y = mcBodyColor5.y;
ChangeColor(mainDoll, bodyColorList[4].red, bodyColorList[4].green, bodyColorList[4].blue, bodyColorList[4].tint);
bodyColorIndex = 4;
}
public function CamiColor5Click(_arg1:MouseEvent){
camiColorSelect.x = mcCamiColor5.x;
camiColorSelect.y = mcCamiColor5.y;
ChangeColor(camiList[camiIndex], camiColorList[4].red, camiColorList[4].green, camiColorList[4].blue, camiColorList[4].tint);
camiColorIndex = 4;
}
public function PlayAgainClick(_arg1:MouseEvent){
Clear();
channelButton = buttonSound.play(0, 1);
playagainButton.gotoAndStop(3);
bDone = false;
ShowObjects(true);
printButton.visible = false;
moregamesButton.visible = false;
playagainButton.visible = false;
}
public function LipColor1Click(_arg1:MouseEvent){
lipColorSelect.x = mcLipColor1.x;
lipColorSelect.y = mcLipColor1.y;
ChangeColor(lips, lipColorList[0].red, lipColorList[0].green, lipColorList[0].blue, lipColorList[0].tint);
lipColorIndex = 0;
}
public function InitDoll(){
var _local1:*;
var _local2:*;
var _local3:*;
var _local4:*;
var _local5:*;
_local1 = new mcDoll();
_local2 = new mcDoll();
_local3 = new mcDoll();
_local4 = new mcDoll();
_local5 = new mcDoll();
_local1.red = 0xFF;
_local1.green = 226;
_local1.blue = 204;
_local1.tint = 0.2;
_local2.red = 0xFF;
_local2.green = 180;
_local2.blue = 134;
_local2.tint = 0.3;
_local3.red = 124;
_local3.green = 80;
_local3.blue = 35;
_local3.tint = 0.38;
_local4.red = 62;
_local4.green = 36;
_local4.blue = 12;
_local4.tint = 0.4;
_local5.red = 62;
_local5.green = 36;
_local5.blue = 12;
_local5.tint = 0.55;
bodyColorList.push(_local1);
bodyColorList.push(_local2);
bodyColorList.push(_local3);
bodyColorList.push(_local4);
bodyColorList.push(_local5);
ChangeColor(mainDoll, bodyColorList[0].red, bodyColorList[0].green, bodyColorList[0].blue, 0.3);
ChangeColor(mcBodyColor1, _local1.red, _local1.green, _local1.blue, _local1.tint);
ChangeColor(mcBodyColor2, _local2.red, _local2.green, _local2.blue, _local2.tint);
ChangeColor(mcBodyColor3, _local3.red, _local3.green, _local3.blue, _local3.tint);
ChangeColor(mcBodyColor4, _local4.red, _local4.green, _local4.blue, _local4.tint);
ChangeColor(mcBodyColor5, _local5.red, _local5.green, _local5.blue, _local5.tint);
bodyColorSelect.x = mcBodyColor1.x;
bodyColorSelect.y = mcBodyColor1.y;
bodyColorIndex = 0;
gameSprite.addChild(bodyColorSelect);
mcBodyColor1.addEventListener(MouseEvent.CLICK, BodyColor1Click);
mcBodyColor2.addEventListener(MouseEvent.CLICK, BodyColor2Click);
mcBodyColor3.addEventListener(MouseEvent.CLICK, BodyColor3Click);
mcBodyColor4.addEventListener(MouseEvent.CLICK, BodyColor4Click);
mcBodyColor5.addEventListener(MouseEvent.CLICK, BodyColor5Click);
}
public function EyeMakeupColor5Click(_arg1:MouseEvent){
eyeMakeupColorSelect.x = mcEyeMakeupColor5.x;
eyeMakeupColorSelect.y = mcEyeMakeupColor5.y;
ChangeColor(eyeMakeupList[eyeMakeupIndex], eyeMakeupColorList[4].red, eyeMakeupColorList[4].green, eyeMakeupColorList[4].blue, eyeMakeupColorList[4].tint);
eyeMakeupColorIndex = 4;
}
public function EyeColor5Click(_arg1:MouseEvent){
eyeColorSelect.x = mcEyeColor5.x;
eyeColorSelect.y = mcEyeColor5.y;
ChangeColor(eyes, eyeColorList[4].red, eyeColorList[4].green, eyeColorList[4].blue, eyeColorList[4].tint);
eyeColorIndex = 4;
}
public function HatColor3Click(_arg1:MouseEvent){
hatColorSelect.x = mcHatColor3.x;
hatColorSelect.y = mcHatColor3.y;
ChangeColor(hatList[hatIndex], hatColorList[2].red, hatColorList[2].green, hatColorList[2].blue, hatColorList[2].tint);
hatColorIndex = 2;
}
public function MoreGamesClick(_arg1:MouseEvent){
channelButton = buttonSound.play(0, 1);
moregamesButton.gotoAndStop(3);
navigateToURL(new URLRequest("http://www.dressupwho.com/"), "_blank");
}
public function StageDown(_arg1:MouseEvent){
stageClick = true;
}
public function StockingColor2Click(_arg1:MouseEvent){
stockingColorSelect.x = mcStockingColor2.x;
stockingColorSelect.y = mcStockingColor2.y;
ChangeColor(stockingList[stockingIndex], stockingColorList[1].red, stockingColorList[1].green, stockingColorList[1].blue, stockingColorList[1].tint);
stockingColorIndex = 1;
}
public function HairColor3Click(_arg1:MouseEvent){
hairColorSelect.x = mcHairColor3.x;
hairColorSelect.y = mcHairColor3.y;
ChangeColor(hairList[hairIndex], hairColorList[2].red, hairColorList[2].green, hairColorList[2].blue, hairColorList[2].tint);
hairColorIndex = 2;
}
public function DressColor5Click(_arg1:MouseEvent){
dressColorSelect.x = mcDressColor5.x;
dressColorSelect.y = mcDressColor5.y;
ChangeColor(dressList[dressIndex], dressColorList[4].red, dressColorList[4].green, dressColorList[4].blue, dressColorList[4].tint);
dressColorIndex = 4;
}
public function ShoeColor1Click(_arg1:MouseEvent){
shoeColorSelect.x = mcShoeColor1.x;
shoeColorSelect.y = mcShoeColor1.y;
ChangeColor(shoeList[shoeIndex], shoeColorList[0].red, shoeColorList[0].green, shoeColorList[0].blue, shoeColorList[0].tint);
shoeColorIndex = 0;
}
public function JacketColor4Click(_arg1:MouseEvent){
jacketColorSelect.x = mcJacketColor4.x;
jacketColorSelect.y = mcJacketColor4.y;
ChangeColor(jacketList[jacketIndex], jacketColorList[3].red, jacketColorList[3].green, jacketColorList[3].blue, jacketColorList[3].tint);
jacketColorIndex = 3;
}
public function LipColor2Click(_arg1:MouseEvent){
lipColorSelect.x = mcLipColor2.x;
lipColorSelect.y = mcLipColor2.y;
ChangeColor(lips, lipColorList[1].red, lipColorList[1].green, lipColorList[1].blue, lipColorList[1].tint);
lipColorIndex = 1;
}
public function InitHair(){
var _local1:*;
var _local2:*;
var _local3:*;
var _local4:*;
var _local5:*;
var _local6:*;
var _local7:*;
var _local8:int;
var _local9:*;
var _local10:*;
var _local11:*;
var _local12:*;
var _local13:*;
_local1 = new mcHair1();
_local1.x = 107;
_local1.y = 67;
_local1.width = 120;
_local1.height = 107;
hairList.push(_local1);
gameSprite.addChild(_local1);
_local2 = new mcHair2();
_local2.x = 122;
_local2.y = 66;
_local2.width = 78;
_local2.height = 87;
hairList.push(_local2);
gameSprite.addChild(_local2);
_local3 = new mcHair3();
_local3.x = 112;
_local3.y = 66;
_local3.width = 118;
_local3.height = 191;
hairList.push(_local3);
gameSprite.addChild(_local3);
_local4 = new mcHair4();
_local4.x = 121;
_local4.y = 66;
_local4.width = 83;
_local4.height = 172;
hairList.push(_local4);
gameSprite.addChild(_local4);
_local5 = new mcHair5();
_local5.x = 122;
_local5.y = 65;
_local5.width = 76;
_local5.height = 85;
hairList.push(_local5);
gameSprite.addChild(_local5);
_local6 = new mcHair6();
_local6.x = 121;
_local6.y = 52;
_local6.width = 79;
_local6.height = 148;
hairList.push(_local6);
gameSprite.addChild(_local6);
_local7 = new mcHair7();
_local7.x = 111;
_local7.y = 68;
_local7.width = 111;
_local7.height = 194;
hairList.push(_local7);
gameSprite.addChild(_local7);
_local8 = 0;
while (_local8 < hairList.length) {
hairList[_local8].visible = false;
_local8++;
};
hairList[0].visible = true;
hairIndex = 0;
hairColorIndex = 0;
_local9 = new mcDoll();
_local10 = new mcDoll();
_local11 = new mcDoll();
_local12 = new mcDoll();
_local13 = new mcDoll();
_local9.red = 0;
_local9.green = 0;
_local9.blue = 0;
_local9.tint = 0.3;
_local10.red = 0xFF;
_local10.green = 94;
_local10.blue = 43;
_local10.tint = 0.23;
_local11.red = 0xFF;
_local11.green = 248;
_local11.blue = 0;
_local11.tint = 0.2;
_local12.red = 0xFF;
_local12.green = 162;
_local12.blue = 0;
_local12.tint = 0.15;
_local13.red = 58;
_local13.green = 37;
_local13.blue = 0;
_local13.tint = 0.6;
hairColorList.push(_local9);
hairColorList.push(_local10);
hairColorList.push(_local11);
hairColorList.push(_local12);
hairColorList.push(_local13);
ChangeColor(hairList[hairIndex], hairColorList[0].red, hairColorList[0].green, hairColorList[0].blue, 0.3);
ChangeColor(mcHairColor1, _local9.red, _local9.green, _local9.blue, _local9.tint);
ChangeColor(mcHairColor2, _local10.red, _local10.green, _local10.blue, _local10.tint);
ChangeColor(mcHairColor3, _local11.red, _local11.green, _local11.blue, _local11.tint);
ChangeColor(mcHairColor4, _local12.red, _local12.green, _local12.blue, _local12.tint);
ChangeColor(mcHairColor5, _local13.red, _local13.green, _local13.blue, _local13.tint);
hairColorSelect.x = mcHairColor1.x;
hairColorSelect.y = mcHairColor1.y;
gameSprite.addChild(hairColorSelect);
hairButton.gotoAndStop(1);
hairButton.addEventListener(MouseEvent.MOUSE_DOWN, HairClick);
mcHairColor1.addEventListener(MouseEvent.CLICK, HairColor1Click);
mcHairColor2.addEventListener(MouseEvent.CLICK, HairColor2Click);
mcHairColor3.addEventListener(MouseEvent.CLICK, HairColor3Click);
mcHairColor4.addEventListener(MouseEvent.CLICK, HairColor4Click);
mcHairColor5.addEventListener(MouseEvent.CLICK, HairColor5Click);
}
public function ShoeClick(_arg1:MouseEvent){
var _local2:int;
channelButton = buttonSound.play(0, 1);
shoeButton.gotoAndStop(3);
_local2 = 0;
while (_local2 < shoeList.length) {
shoeList[_local2].visible = false;
_local2++;
};
shoeIndex++;
if (shoeIndex > 5){
shoeIndex = 0;
};
shoeList[shoeIndex].visible = true;
ChangeColor(shoeList[shoeIndex], shoeColorList[shoeColorIndex].red, shoeColorList[shoeColorIndex].green, shoeColorList[shoeColorIndex].blue, shoeColorList[shoeColorIndex].tint);
}
public function JacketClick(_arg1:MouseEvent){
var _local2:int;
channelButton = buttonSound.play(0, 1);
jacketButton.gotoAndStop(3);
_local2 = 0;
while (_local2 < jacketList.length) {
jacketList[_local2].visible = false;
_local2++;
};
jacketIndex++;
if (jacketIndex > 5){
jacketIndex = 0;
};
if (jacketIndex != 5){
jacketList[jacketIndex].visible = true;
ChangeColor(jacketList[jacketIndex], shoeColorList[jacketColorIndex].red, shoeColorList[jacketColorIndex].green, shoeColorList[jacketColorIndex].blue, shoeColorList[jacketColorIndex].tint);
};
}
public function HatColor4Click(_arg1:MouseEvent){
hatColorSelect.x = mcHatColor4.x;
hatColorSelect.y = mcHatColor4.y;
ChangeColor(hatList[hatIndex], hatColorList[3].red, hatColorList[3].green, hatColorList[3].blue, hatColorList[3].tint);
hatColorIndex = 3;
}
public function ChangeColor(_arg1:MovieClip, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number){
var _local6:*;
var _local7:*;
var _local8:*;
var _local9:*;
var _local10:ColorTransform;
_local6 = (1 - _arg5);
_local7 = (_arg2 * _arg5);
_local8 = (_arg3 * _arg5);
_local9 = (_arg4 * _arg5);
_local10 = new ColorTransform(_local6, _local6, _local6, 1, _local7, _local8, _local9, 0);
_arg1.transform.colorTransform = _local10;
}
public function StockingColor3Click(_arg1:MouseEvent){
stockingColorSelect.x = mcStockingColor3.x;
stockingColorSelect.y = mcStockingColor3.y;
ChangeColor(stockingList[stockingIndex], stockingColorList[2].red, stockingColorList[2].green, stockingColorList[2].blue, stockingColorList[2].tint);
stockingColorIndex = 2;
}
public function HairColor4Click(_arg1:MouseEvent){
hairColorSelect.x = mcHairColor4.x;
hairColorSelect.y = mcHairColor4.y;
ChangeColor(hairList[hairIndex], hairColorList[3].red, hairColorList[3].green, hairColorList[3].blue, hairColorList[3].tint);
hairColorIndex = 3;
}
public function ShoeColor2Click(_arg1:MouseEvent){
shoeColorSelect.x = mcShoeColor2.x;
shoeColorSelect.y = mcShoeColor2.y;
ChangeColor(shoeList[shoeIndex], shoeColorList[1].red, shoeColorList[1].green, shoeColorList[1].blue, shoeColorList[1].tint);
shoeColorIndex = 1;
}
public function InitLips(){
var _local1:*;
var _local2:*;
var _local3:*;
var _local4:*;
var _local5:*;
_local1 = new mcDoll();
_local2 = new mcDoll();
_local3 = new mcDoll();
_local4 = new mcDoll();
_local5 = new mcDoll();
_local1.red = 200;
_local1.green = 55;
_local1.blue = 114;
_local1.tint = 2;
_local2.red = 0xFF;
_local2.green = 0;
_local2.blue = 0;
_local2.tint = 2.2;
_local3.red = 0xFF;
_local3.green = 138;
_local3.blue = 0;
_local3.tint = 2;
_local4.red = 0xFF;
_local4.green = 60;
_local4.blue = 252;
_local4.tint = 2;
_local5.red = 42;
_local5.green = 0;
_local5.blue = 0;
_local5.tint = 2;
lipColorList.push(_local1);
lipColorList.push(_local2);
lipColorList.push(_local3);
lipColorList.push(_local4);
lipColorList.push(_local5);
ChangeColor(lips, lipColorList[0].red, lipColorList[0].green, lipColorList[0].blue, 0.3);
ChangeColor(mcLipColor1, _local1.red, _local1.green, _local1.blue, _local1.tint);
ChangeColor(mcLipColor2, _local2.red, _local2.green, _local2.blue, _local2.tint);
ChangeColor(mcLipColor3, _local3.red, _local3.green, _local3.blue, _local3.tint);
ChangeColor(mcLipColor4, _local4.red, _local4.green, _local4.blue, _local4.tint);
ChangeColor(mcLipColor5, _local5.red, _local5.green, _local5.blue, _local5.tint);
lipColorSelect.x = mcLipColor1.x;
lipColorSelect.y = mcLipColor1.y;
gameSprite.addChild(lipColorSelect);
lipColorIndex = 0;
mcLipColor1.addEventListener(MouseEvent.CLICK, LipColor1Click);
mcLipColor2.addEventListener(MouseEvent.CLICK, LipColor2Click);
mcLipColor3.addEventListener(MouseEvent.CLICK, LipColor3Click);
mcLipColor4.addEventListener(MouseEvent.CLICK, LipColor4Click);
mcLipColor5.addEventListener(MouseEvent.CLICK, LipColor5Click);
}
public function Randomize(){
var _local1:int;
_local1 = 0;
_local1 = 0;
while (_local1 < eyeMakeupList.length) {
eyeMakeupList[_local1].visible = false;
_local1++;
};
_local1 = 0;
while (_local1 < stockingList.length) {
stockingList[_local1].visible = false;
_local1++;
};
_local1 = 0;
while (_local1 < shoeList.length) {
shoeList[_local1].visible = false;
_local1++;
};
_local1 = 0;
while (_local1 < camiList.length) {
camiList[_local1].visible = false;
_local1++;
};
_local1 = 0;
while (_local1 < dressList.length) {
dressList[_local1].visible = false;
_local1++;
};
_local1 = 0;
while (_local1 < jewelryList.length) {
jewelryList[_local1].visible = false;
_local1++;
};
_local1 = 0;
while (_local1 < jacketList.length) {
jacketList[_local1].visible = false;
_local1++;
};
_local1 = 0;
while (_local1 < hairList.length) {
hairList[_local1].visible = false;
_local1++;
};
_local1 = 0;
while (_local1 < hatList.length) {
hatList[_local1].visible = false;
_local1++;
};
bodyColorIndex = Math.floor((Math.random() * 5));
eyeColorIndex = Math.floor((Math.random() * 5));
eyeMakeupColorIndex = Math.floor((Math.random() * 5));
lipColorIndex = Math.floor((Math.random() * 5));
shoeColorIndex = Math.floor((Math.random() * 5));
stockingColorIndex = Math.floor((Math.random() * 5));
camiColorIndex = Math.floor((Math.random() * 5));
dressColorIndex = Math.floor((Math.random() * 5));
jacketColorIndex = Math.floor((Math.random() * 5));
hairColorIndex = Math.floor((Math.random() * 5));
hatColorIndex = Math.floor((Math.random() * 5));
eyeMakeupIndex = Math.floor((Math.random() * eyeMakeupList.length));
eyeMakeupList[eyeMakeupIndex].visible = true;
stockingIndex = Math.floor((Math.random() * stockingList.length));
stockingList[stockingIndex].visible = true;
shoeIndex = Math.floor((Math.random() * shoeList.length));
shoeList[shoeIndex].visible = true;
camiIndex = Math.floor((Math.random() * camiList.length));
camiList[camiIndex].visible = true;
dressIndex = Math.floor((Math.random() * dressList.length));
dressList[dressIndex].visible = true;
jewelryIndex = Math.floor((Math.random() * jewelryList.length));
jewelryList[jewelryIndex].visible = true;
jacketIndex = Math.floor((Math.random() * jacketList.length));
jacketList[jacketIndex].visible = true;
hairIndex = Math.floor((Math.random() * hairList.length));
hairList[hairIndex].visible = true;
hatIndex = Math.floor((Math.random() * hatList.length));
hatList[hatIndex].visible = true;
ChangeColor(mainDoll, bodyColorList[bodyColorIndex].red, bodyColorList[bodyColorIndex].green, bodyColorList[bodyColorIndex].blue, bodyColorList[bodyColorIndex].tint);
ChangeColor(eyes, eyeColorList[eyeColorIndex].red, eyeColorList[eyeColorIndex].green, eyeColorList[eyeColorIndex].blue, eyeColorList[eyeColorIndex].tint);
ChangeColor(lips, lipColorList[lipColorIndex].red, lipColorList[lipColorIndex].green, lipColorList[lipColorIndex].blue, lipColorList[lipColorIndex].tint);
ChangeColor(eyeMakeupList[eyeMakeupIndex], eyeMakeupColorList[eyeMakeupColorIndex].red, eyeMakeupColorList[eyeMakeupColorIndex].green, eyeMakeupColorList[eyeMakeupColorIndex].blue, eyeMakeupColorList[eyeMakeupColorIndex].tint);
ChangeColor(stockingList[stockingIndex], stockingColorList[stockingColorIndex].red, stockingColorList[stockingColorIndex].green, stockingColorList[stockingColorIndex].blue, stockingColorList[stockingColorIndex].tint);
ChangeColor(shoeList[shoeIndex], shoeColorList[shoeColorIndex].red, shoeColorList[shoeColorIndex].green, shoeColorList[shoeColorIndex].blue, shoeColorList[shoeColorIndex].tint);
ChangeColor(camiList[camiIndex], camiColorList[camiColorIndex].red, camiColorList[camiColorIndex].green, camiColorList[camiColorIndex].blue, camiColorList[camiColorIndex].tint);
ChangeColor(dressList[dressIndex], dressColorList[dressColorIndex].red, dressColorList[dressColorIndex].green, dressColorList[dressColorIndex].blue, dressColorList[dressColorIndex].tint);
ChangeColor(jacketList[jacketIndex], jacketColorList[jacketColorIndex].red, jacketColorList[jacketColorIndex].green, jacketColorList[jacketColorIndex].blue, jacketColorList[jacketColorIndex].tint);
ChangeColor(hairList[hairIndex], hairColorList[hairColorIndex].red, hairColorList[hairColorIndex].green, hairColorList[hairColorIndex].blue, hairColorList[hairColorIndex].tint);
ChangeColor(hatList[hatIndex], camiColorList[hatColorIndex].red, camiColorList[hatColorIndex].green, camiColorList[hatColorIndex].blue, camiColorList[hatColorIndex].tint);
SelectColors();
}
public function InitStockings(){
var _local1:*;
var _local2:*;
var _local3:*;
var _local4:*;
var _local5:*;
var _local6:int;
var _local7:*;
var _local8:*;
var _local9:*;
var _local10:*;
var _local11:*;
_local1 = new mcStocking1();
_local1.x = 191;
_local1.y = 261;
_local1.width = 184;
_local1.height = 0x0100;
stockingList.push(_local1);
gameSprite.addChild(_local1);
_local2 = new mcStocking2();
_local2.x = 191;
_local2.y = 261;
_local2.width = 180;
_local2.height = 262;
stockingList.push(_local2);
gameSprite.addChild(_local2);
_local3 = new mcStocking3();
_local3.x = 172;
_local3.y = 237;
_local3.width = 150;
_local3.height = 151;
stockingList.push(_local3);
gameSprite.addChild(_local3);
_local4 = new mcStocking4();
_local4.x = 156;
_local4.y = 237;
_local4.width = 167;
_local4.height = 151;
stockingList.push(_local4);
gameSprite.addChild(_local4);
_local5 = new mcStocking5();
_local5.x = 188;
_local5.y = 258;
_local5.width = 186;
_local5.height = 258;
stockingList.push(_local5);
gameSprite.addChild(_local5);
_local6 = 0;
while (_local6 < stockingList.length) {
stockingList[_local6].visible = false;
_local6++;
};
stockingList[0].visible = true;
stockingIndex = 0;
stockingColorIndex = 0;
_local7 = new mcDoll();
_local8 = new mcDoll();
_local9 = new mcDoll();
_local10 = new mcDoll();
_local11 = new mcDoll();
_local7.red = 0;
_local7.green = 0;
_local7.blue = 0;
_local7.tint = 0.2;
_local8.red = 0xFF;
_local8.green = 0;
_local8.blue = 0;
_local8.tint = 0.07;
_local9.red = 246;
_local9.green = 0;
_local9.blue = 0xFF;
_local9.tint = 0.07;
_local10.red = 0;
_local10.green = 60;
_local10.blue = 0xFF;
_local10.tint = 0.07;
_local11.red = 0xFF;
_local11.green = 168;
_local11.blue = 0;
_local11.tint = 0.07;
stockingColorList.push(_local7);
stockingColorList.push(_local8);
stockingColorList.push(_local9);
stockingColorList.push(_local10);
stockingColorList.push(_local11);
ChangeColor(stockingList[stockingIndex], stockingColorList[0].red, stockingColorList[0].green, stockingColorList[0].blue, 0.3);
ChangeColor(mcStockingColor1, _local7.red, _local7.green, _local7.blue, _local7.tint);
ChangeColor(mcStockingColor2, _local8.red, _local8.green, _local8.blue, _local8.tint);
ChangeColor(mcStockingColor3, _local9.red, _local9.green, _local9.blue, _local9.tint);
ChangeColor(mcStockingColor4, _local10.red, _local10.green, _local10.blue, _local10.tint);
ChangeColor(mcStockingColor5, _local11.red, _local11.green, _local11.blue, _local11.tint);
stockingColorSelect.x = mcStockingColor1.x;
stockingColorSelect.y = mcStockingColor1.y;
gameSprite.addChild(stockingColorSelect);
stockingButton.gotoAndStop(1);
stockingButton.addEventListener(MouseEvent.MOUSE_DOWN, StockingClick);
mcStockingColor1.addEventListener(MouseEvent.CLICK, StockingColor1Click);
mcStockingColor2.addEventListener(MouseEvent.CLICK, StockingColor2Click);
mcStockingColor3.addEventListener(MouseEvent.CLICK, StockingColor3Click);
mcStockingColor4.addEventListener(MouseEvent.CLICK, StockingColor4Click);
mcStockingColor5.addEventListener(MouseEvent.CLICK, StockingColor5Click);
}
public function JacketColor5Click(_arg1:MouseEvent){
jacketColorSelect.x = mcJacketColor5.x;
jacketColorSelect.y = mcJacketColor5.y;
ChangeColor(jacketList[jacketIndex], jacketColorList[4].red, jacketColorList[4].green, jacketColorList[4].blue, jacketColorList[4].tint);
jacketColorIndex = 4;
}
public function DressClick(_arg1:MouseEvent){
var _local2:int;
channelButton = buttonSound.play(0, 1);
dressButton.gotoAndStop(3);
_local2 = 0;
while (_local2 < dressList.length) {
dressList[_local2].visible = false;
_local2++;
};
dressIndex++;
if (dressIndex > 5){
dressIndex = 0;
};
if (dressIndex != 5){
dressList[dressIndex].visible = true;
ChangeColor(dressList[dressIndex], dressColorList[dressColorIndex].red, dressColorList[dressColorIndex].green, dressColorList[dressColorIndex].blue, dressColorList[dressColorIndex].tint);
};
}
public function SelectColors(){
if (bodyColorIndex == 0){
bodyColorSelect.x = mcBodyColor1.x;
bodyColorSelect.y = mcBodyColor1.y;
} else {
if (bodyColorIndex == 1){
bodyColorSelect.x = mcBodyColor2.x;
bodyColorSelect.y = mcBodyColor2.y;
} else {
if (bodyColorIndex == 2){
bodyColorSelect.x = mcBodyColor3.x;
bodyColorSelect.y = mcBodyColor3.y;
} else {
if (bodyColorIndex == 3){
bodyColorSelect.x = mcBodyColor3.x;
bodyColorSelect.y = mcBodyColor3.y;
} else {
if (bodyColorIndex == 4){
bodyColorSelect.x = mcBodyColor3.x;
bodyColorSelect.y = mcBodyColor3.y;
};
};
};
};
};
if (eyeColorIndex == 0){
eyeColorSelect.x = mcEyeColor1.x;
eyeColorSelect.y = mcEyeColor1.y;
} else {
if (eyeColorIndex == 1){
eyeColorSelect.x = mcEyeColor2.x;
eyeColorSelect.y = mcEyeColor2.y;
} else {
if (eyeColorIndex == 2){
eyeColorSelect.x = mcEyeColor3.x;
eyeColorSelect.y = mcEyeColor3.y;
} else {
if (eyeColorIndex == 3){
eyeColorSelect.x = mcEyeColor3.x;
eyeColorSelect.y = mcEyeColor3.y;
} else {
if (eyeColorIndex == 4){
eyeColorSelect.x = mcEyeColor3.x;
eyeColorSelect.y = mcEyeColor3.y;
};
};
};
};
};
if (eyeMakeupColorIndex == 0){
eyeMakeupColorSelect.x = mcEyeMakeupColor1.x;
eyeMakeupColorSelect.y = mcEyeMakeupColor1.y;
} else {
if (eyeMakeupColorIndex == 1){
eyeMakeupColorSelect.x = mcEyeMakeupColor2.x;
eyeMakeupColorSelect.y = mcEyeMakeupColor2.y;
} else {
if (eyeMakeupColorIndex == 2){
eyeMakeupColorSelect.x = mcEyeMakeupColor3.x;
eyeMakeupColorSelect.y = mcEyeMakeupColor3.y;
} else {
if (eyeMakeupColorIndex == 3){
eyeMakeupColorSelect.x = mcEyeMakeupColor3.x;
eyeMakeupColorSelect.y = mcEyeMakeupColor3.y;
} else {
if (eyeMakeupColorIndex == 4){
eyeMakeupColorSelect.x = mcEyeMakeupColor3.x;
eyeMakeupColorSelect.y = mcEyeMakeupColor3.y;
};
};
};
};
};
if (lipColorIndex == 0){
lipColorSelect.x = mcLipColor1.x;
lipColorSelect.y = mcLipColor1.y;
} else {
if (lipColorIndex == 1){
lipColorSelect.x = mcLipColor2.x;
lipColorSelect.y = mcLipColor2.y;
} else {
if (lipColorIndex == 2){
lipColorSelect.x = mcLipColor3.x;
lipColorSelect.y = mcLipColor3.y;
} else {
if (lipColorIndex == 3){
lipColorSelect.x = mcLipColor3.x;
lipColorSelect.y = mcLipColor3.y;
} else {
if (lipColorIndex == 4){
lipColorSelect.x = mcLipColor3.x;
lipColorSelect.y = mcLipColor3.y;
};
};
};
};
};
if (stockingColorIndex == 0){
stockingColorSelect.x = mcStockingColor1.x;
stockingColorSelect.y = mcStockingColor1.y;
} else {
if (stockingColorIndex == 1){
stockingColorSelect.x = mcStockingColor2.x;
stockingColorSelect.y = mcStockingColor2.y;
} else {
if (stockingColorIndex == 2){
stockingColorSelect.x = mcStockingColor3.x;
stockingColorSelect.y = mcStockingColor3.y;
} else {
if (stockingColorIndex == 3){
stockingColorSelect.x = mcStockingColor3.x;
stockingColorSelect.y = mcStockingColor3.y;
} else {
if (stockingColorIndex == 4){
stockingColorSelect.x = mcStockingColor3.x;
stockingColorSelect.y = mcStockingColor3.y;
};
};
};
};
};
if (shoeColorIndex == 0){
shoeColorSelect.x = mcShoeColor1.x;
shoeColorSelect.y = mcShoeColor1.y;
} else {
if (shoeColorIndex == 1){
shoeColorSelect.x = mcShoeColor2.x;
shoeColorSelect.y = mcShoeColor2.y;
} else {
if (shoeColorIndex == 2){
shoeColorSelect.x = mcShoeColor3.x;
shoeColorSelect.y = mcShoeColor3.y;
} else {
if (shoeColorIndex == 3){
shoeColorSelect.x = mcShoeColor3.x;
shoeColorSelect.y = mcShoeColor3.y;
} else {
if (shoeColorIndex == 4){
shoeColorSelect.x = mcShoeColor3.x;
shoeColorSelect.y = mcShoeColor3.y;
};
};
};
};
};
if (camiColorIndex == 0){
camiColorSelect.x = mcCamiColor1.x;
camiColorSelect.y = mcCamiColor1.y;
} else {
if (camiColorIndex == 1){
camiColorSelect.x = mcCamiColor2.x;
camiColorSelect.y = mcCamiColor2.y;
} else {
if (camiColorIndex == 2){
camiColorSelect.x = mcCamiColor3.x;
camiColorSelect.y = mcCamiColor3.y;
} else {
if (camiColorIndex == 3){
camiColorSelect.x = mcCamiColor3.x;
camiColorSelect.y = mcCamiColor3.y;
} else {
if (camiColorIndex == 4){
camiColorSelect.x = mcCamiColor3.x;
camiColorSelect.y = mcCamiColor3.y;
};
};
};
};
};
if (dressColorIndex == 0){
dressColorSelect.x = mcDressColor1.x;
dressColorSelect.y = mcDressColor1.y;
} else {
if (dressColorIndex == 1){
dressColorSelect.x = mcDressColor2.x;
dressColorSelect.y = mcDressColor2.y;
} else {
if (dressColorIndex == 2){
dressColorSelect.x = mcDressColor3.x;
dressColorSelect.y = mcDressColor3.y;
} else {
if (dressColorIndex == 3){
dressColorSelect.x = mcDressColor3.x;
dressColorSelect.y = mcDressColor3.y;
} else {
if (dressColorIndex == 4){
dressColorSelect.x = mcDressColor3.x;
dressColorSelect.y = mcDressColor3.y;
};
};
};
};
};
if (jacketColorIndex == 0){
jacketColorSelect.x = mcJacketColor1.x;
jacketColorSelect.y = mcJacketColor1.y;
} else {
if (jacketColorIndex == 1){
jacketColorSelect.x = mcJacketColor2.x;
jacketColorSelect.y = mcJacketColor2.y;
} else {
if (jacketColorIndex == 2){
jacketColorSelect.x = mcJacketColor3.x;
jacketColorSelect.y = mcJacketColor3.y;
} else {
if (jacketColorIndex == 3){
jacketColorSelect.x = mcJacketColor3.x;
jacketColorSelect.y = mcJacketColor3.y;
} else {
if (jacketColorIndex == 4){
jacketColorSelect.x = mcJacketColor3.x;
jacketColorSelect.y = mcJacketColor3.y;
};
};
};
};
};
if (hairColorIndex == 0){
hairColorSelect.x = mcHairColor1.x;
hairColorSelect.y = mcHairColor1.y;
} else {
if (hairColorIndex == 1){
hairColorSelect.x = mcHairColor2.x;
hairColorSelect.y = mcHairColor2.y;
} else {
if (hairColorIndex == 2){
hairColorSelect.x = mcHairColor3.x;
hairColorSelect.y = mcHairColor3.y;
} else {
if (hairColorIndex == 3){
hairColorSelect.x = mcHairColor3.x;
hairColorSelect.y = mcHairColor3.y;
} else {
if (hairColorIndex == 4){
hairColorSelect.x = mcHairColor3.x;
hairColorSelect.y = mcHairColor3.y;
};
};
};
};
};
if (hatColorIndex == 0){
hatColorSelect.x = mcHatColor1.x;
hatColorSelect.y = mcHatColor1.y;
} else {
if (hatColorIndex == 1){
hatColorSelect.x = mcHatColor2.x;
hatColorSelect.y = mcHatColor2.y;
} else {
if (hatColorIndex == 2){
hatColorSelect.x = mcHatColor3.x;
hatColorSelect.y = mcHatColor3.y;
} else {
if (hatColorIndex == 3){
hatColorSelect.x = mcHatColor3.x;
hatColorSelect.y = mcHatColor3.y;
} else {
if (hatColorIndex == 4){
hatColorSelect.x = mcHatColor3.x;
hatColorSelect.y = mcHatColor3.y;
};
};
};
};
};
}
public function InitEyes(){
var _local1:*;
var _local2:*;
var _local3:*;
var _local4:*;
var _local5:*;
_local1 = new mcDoll();
_local2 = new mcDoll();
_local3 = new mcDoll();
_local4 = new mcDoll();
_local5 = new mcDoll();
_local1.red = 0;
_local1.green = 0;
_local1.blue = 0;
_local1.tint = 0.3;
_local2.red = 0xFF;
_local2.green = 0;
_local2.blue = 0;
_local2.tint = 0.3;
_local3.red = 246;
_local3.green = 0;
_local3.blue = 0xFF;
_local3.tint = 0.3;
_local4.red = 0;
_local4.green = 60;
_local4.blue = 0xFF;
_local4.tint = 0.3;
_local5.red = 0xFF;
_local5.green = 168;
_local5.blue = 0;
_local5.tint = 0.3;
eyeColorList.push(_local1);
eyeColorList.push(_local2);
eyeColorList.push(_local3);
eyeColorList.push(_local4);
eyeColorList.push(_local5);
eyeColorIndex = 0;
ChangeColor(eyes, eyeColorList[0].red, eyeColorList[0].green, eyeColorList[0].blue, 0.3);
ChangeColor(mcEyeColor1, _local1.red, _local1.green, _local1.blue, _local1.tint);
ChangeColor(mcEyeColor2, _local2.red, _local2.green, _local2.blue, _local2.tint);
ChangeColor(mcEyeColor3, _local3.red, _local3.green, _local3.blue, _local3.tint);
ChangeColor(mcEyeColor4, _local4.red, _local4.green, _local4.blue, _local4.tint);
ChangeColor(mcEyeColor5, _local5.red, _local5.green, _local5.blue, _local5.tint);
eyeColorSelect.x = mcEyeColor1.x;
eyeColorSelect.y = mcEyeColor1.y;
gameSprite.addChild(eyeColorSelect);
mcEyeColor1.addEventListener(MouseEvent.CLICK, EyeColor1Click);
mcEyeColor2.addEventListener(MouseEvent.CLICK, EyeColor2Click);
mcEyeColor3.addEventListener(MouseEvent.CLICK, EyeColor3Click);
mcEyeColor4.addEventListener(MouseEvent.CLICK, EyeColor4Click);
mcEyeColor5.addEventListener(MouseEvent.CLICK, EyeColor5Click);
}
public function LipColor3Click(_arg1:MouseEvent){
lipColorSelect.x = mcLipColor3.x;
lipColorSelect.y = mcLipColor3.y;
ChangeColor(lips, lipColorList[2].red, lipColorList[2].green, lipColorList[2].blue, lipColorList[2].tint);
lipColorIndex = 2;
}
public function GameLoop(_arg1:TimerEvent){
if (deletedLogo){
if (!deletedLayer){
if (layer.alpha > 0){
layer.alpha = (layer.alpha - 0.015);
} else {
gameSprite.removeChild(layer);
deletedLayer = true;
};
} else {
if (!stageClick){
if (!bDone){
if (eyeMakeupButton.hitTestPoint(mouseX, mouseY, true)){
eyeMakeupButton.gotoAndStop(2);
} else {
eyeMakeupButton.gotoAndStop(1);
};
if (hairButton.hitTestPoint(mouseX, mouseY, true)){
hairButton.gotoAndStop(2);
} else {
hairButton.gotoAndStop(1);
};
if (hatButton.hitTestPoint(mouseX, mouseY, true)){
hatButton.gotoAndStop(2);
} else {
hatButton.gotoAndStop(1);
};
if (camiButton.hitTestPoint(mouseX, mouseY, true)){
camiButton.gotoAndStop(2);
} else {
camiButton.gotoAndStop(1);
};
if (dressButton.hitTestPoint(mouseX, mouseY, true)){
dressButton.gotoAndStop(2);
} else {
dressButton.gotoAndStop(1);
};
if (shoeButton.hitTestPoint(mouseX, mouseY, true)){
shoeButton.gotoAndStop(2);
} else {
shoeButton.gotoAndStop(1);
};
if (stockingButton.hitTestPoint(mouseX, mouseY, true)){
stockingButton.gotoAndStop(2);
} else {
stockingButton.gotoAndStop(1);
};
if (jacketButton.hitTestPoint(mouseX, mouseY, true)){
jacketButton.gotoAndStop(2);
} else {
jacketButton.gotoAndStop(1);
};
if (jewelryButton.hitTestPoint(mouseX, mouseY, true)){
jewelryButton.gotoAndStop(2);
} else {
jewelryButton.gotoAndStop(1);
};
if (clearButton.hitTestPoint(mouseX, mouseY, true)){
clearButton.gotoAndStop(2);
} else {
clearButton.gotoAndStop(1);
};
if (randomButton.hitTestPoint(mouseX, mouseY, true)){
randomButton.gotoAndStop(2);
} else {
randomButton.gotoAndStop(1);
};
if (doneButton.hitTestPoint(mouseX, mouseY, true)){
doneButton.gotoAndStop(2);
} else {
doneButton.gotoAndStop(1);
};
} else {
if (printButton.hitTestPoint(mouseX, mouseY, true)){
printButton.gotoAndStop(2);
} else {
printButton.gotoAndStop(1);
};
if (moregamesButton.hitTestPoint(mouseX, mouseY, true)){
moregamesButton.gotoAndStop(2);
} else {
moregamesButton.gotoAndStop(1);
};
if (playagainButton.hitTestPoint(mouseX, mouseY, true)){
playagainButton.gotoAndStop(2);
} else {
playagainButton.gotoAndStop(1);
};
};
};
};
} else {
logo.gotoAndStop(logo.curFrame);
if (logo.curFrame < 295){
logo.curFrame++;
} else {
deletedLogo = true;
gameSprite.removeChild(logoBG);
gameSprite.removeChild(logo);
InitDoll();
eyeLiner.x = 147;
eyeLiner.y = 113;
eyeLiner.width = 40;
eyeLiner.height = 6;
gameSprite.addChild(eyeLiner);
InitEyes();
InitEyeMakeup();
InitLips();
InitStockings();
InitShoes();
InitCamis();
InitDresses();
InitJewelry();
InitJackets();
InitHair();
InitHats();
clearButton.gotoAndStop(1);
clearButton.addEventListener(MouseEvent.MOUSE_DOWN, ClearClick);
randomButton.gotoAndStop(1);
randomButton.addEventListener(MouseEvent.MOUSE_DOWN, RandomClick);
musicButton.gotoAndStop(1);
musicButton.addEventListener(MouseEvent.MOUSE_DOWN, MusicClick);
doneButton.gotoAndStop(1);
doneButton.addEventListener(MouseEvent.MOUSE_DOWN, DoneClick);
moregamesButton.gotoAndStop(1);
moregamesButton.visible = false;
moregamesButton.addEventListener(MouseEvent.MOUSE_DOWN, MoreGamesClick);
playagainButton.gotoAndStop(1);
playagainButton.visible = false;
playagainButton.addEventListener(MouseEvent.MOUSE_DOWN, PlayAgainClick);
printButton.gotoAndStop(1);
printButton.visible = false;
printButton.addEventListener(MouseEvent.MOUSE_DOWN, PrintClick);
dressmeupButton.addEventListener(MouseEvent.MOUSE_DOWN, LogoBGClick);
layer.x = 0;
layer.y = 0;
layer.width = 700;
layer.height = 550;
gameSprite.addChild(layer);
deletedLayer = false;
channelMusic = musicSound.play(0, 999999);
};
};
}
public function BodyColor1Click(_arg1:MouseEvent){
bodyColorSelect.x = mcBodyColor1.x;
bodyColorSelect.y = mcBodyColor1.y;
ChangeColor(mainDoll, bodyColorList[0].red, bodyColorList[0].green, bodyColorList[0].blue, bodyColorList[0].tint);
bodyColorIndex = 0;
}
public function InitDresses(){
var _local1:*;
var _local2:*;
var _local3:*;
var _local4:*;
var _local5:*;
var _local6:int;
var _local7:*;
var _local8:*;
var _local9:*;
var _local10:*;
var _local11:*;
_local1 = new mcDress1();
_local1.x = 170;
_local1.y = 237;
_local1.width = 164;
_local1.height = 150;
dressList.push(_local1);
gameSprite.addChild(_local1);
_local2 = new mcDress2();
_local2.x = 123;
_local2.y = 146;
_local2.width = 180;
_local2.height = 203;
dressList.push(_local2);
gameSprite.addChild(_local2);
_local3 = new mcDress3();
_local3.x = 125;
_local3.y = 153;
_local3.width = 226;
_local3.height = 230;
dressList.push(_local3);
gameSprite.addChild(_local3);
_local4 = new mcDress4();
_local4.x = 73;
_local4.y = 118;
_local4.width = 234;
_local4.height = 235;
dressList.push(_local4);
gameSprite.addChild(_local4);
_local5 = new mcDress5();
_local5.x = 128;
_local5.y = 149;
_local5.width = 223;
_local5.height = 345;
dressList.push(_local5);
gameSprite.addChild(_local5);
_local6 = 0;
while (_local6 < dressList.length) {
dressList[_local6].visible = false;
_local6++;
};
dressList[0].visible = true;
dressIndex = 0;
dressColorIndex = 0;
_local7 = new mcDoll();
_local8 = new mcDoll();
_local9 = new mcDoll();
_local10 = new mcDoll();
_local11 = new mcDoll();
_local7.red = 0;
_local7.green = 0;
_local7.blue = 0;
_local7.tint = 0.2;
_local8.red = 0xFF;
_local8.green = 0;
_local8.blue = 0;
_local8.tint = 0.07;
_local9.red = 246;
_local9.green = 0;
_local9.blue = 0xFF;
_local9.tint = 0.07;
_local10.red = 0;
_local10.green = 60;
_local10.blue = 0xFF;
_local10.tint = 0.07;
_local11.red = 0xFF;
_local11.green = 168;
_local11.blue = 0;
_local11.tint = 0.07;
dressColorList.push(_local7);
dressColorList.push(_local8);
dressColorList.push(_local9);
dressColorList.push(_local10);
dressColorList.push(_local11);
ChangeColor(dressList[dressIndex], dressColorList[0].red, dressColorList[0].green, dressColorList[0].blue, 0.3);
ChangeColor(mcDressColor1, _local7.red, _local7.green, _local7.blue, _local7.tint);
ChangeColor(mcDressColor2, _local8.red, _local8.green, _local8.blue, _local8.tint);
ChangeColor(mcDressColor3, _local9.red, _local9.green, _local9.blue, _local9.tint);
ChangeColor(mcDressColor4, _local10.red, _local10.green, _local10.blue, _local10.tint);
ChangeColor(mcDressColor5, _local11.red, _local11.green, _local11.blue, _local11.tint);
dressColorSelect.x = mcDressColor1.x;
dressColorSelect.y = mcDressColor1.y;
gameSprite.addChild(dressColorSelect);
dressButton.gotoAndStop(1);
dressButton.addEventListener(MouseEvent.MOUSE_DOWN, DressClick);
mcDressColor1.addEventListener(MouseEvent.CLICK, DressColor1Click);
mcDressColor2.addEventListener(MouseEvent.CLICK, DressColor2Click);
mcDressColor3.addEventListener(MouseEvent.CLICK, DressColor3Click);
mcDressColor4.addEventListener(MouseEvent.CLICK, DressColor4Click);
mcDressColor5.addEventListener(MouseEvent.CLICK, DressColor5Click);
}
public function InitCamis(){
var _local1:*;
var _local2:*;
var _local3:*;
var _local4:*;
var _local5:*;
var _local6:*;
var _local7:int;
var _local8:*;
var _local9:*;
var _local10:*;
var _local11:*;
var _local12:*;
_local1 = new mcCami1();
_local1.x = 131;
_local1.y = 152;
_local1.width = 121;
_local1.height = 133;
camiList.push(_local1);
gameSprite.addChild(_local1);
_local2 = new mcCami2();
_local2.x = 131;
_local2.y = 152;
_local2.width = 140;
_local2.height = 153;
camiList.push(_local2);
gameSprite.addChild(_local2);
_local3 = new mcCami3();
_local3.x = 131;
_local3.y = 151;
_local3.width = 97;
_local3.height = 122;
camiList.push(_local3);
gameSprite.addChild(_local3);
_local4 = new mcCami4();
_local4.x = 129;
_local4.y = 148;
_local4.width = 133;
_local4.height = 168;
camiList.push(_local4);
gameSprite.addChild(_local4);
_local5 = new mcCami5();
_local5.x = 48;
_local5.y = 92;
_local5.width = 212;
_local5.height = 196;
camiList.push(_local5);
gameSprite.addChild(_local5);
_local6 = new mcCami6();
_local6.x = 48;
_local6.y = 92;
_local6.width = 212;
_local6.height = 196;
camiList.push(_local6);
gameSprite.addChild(_local6);
_local7 = 0;
while (_local7 < camiList.length) {
camiList[_local7].visible = false;
_local7++;
};
camiList[0].visible = true;
camiIndex = 0;
camiColorIndex = 0;
_local8 = new mcDoll();
_local9 = new mcDoll();
_local10 = new mcDoll();
_local11 = new mcDoll();
_local12 = new mcDoll();
_local8.red = 0;
_local8.green = 0;
_local8.blue = 0;
_local8.tint = 0.2;
_local9.red = 0xFF;
_local9.green = 0;
_local9.blue = 0;
_local9.tint = 0.07;
_local10.red = 246;
_local10.green = 0;
_local10.blue = 0xFF;
_local10.tint = 0.07;
_local11.red = 0;
_local11.green = 60;
_local11.blue = 0xFF;
_local11.tint = 0.07;
_local12.red = 0xFF;
_local12.green = 168;
_local12.blue = 0;
_local12.tint = 0.07;
camiColorList.push(_local8);
camiColorList.push(_local9);
camiColorList.push(_local10);
camiColorList.push(_local11);
camiColorList.push(_local12);
ChangeColor(camiList[camiIndex], camiColorList[0].red, camiColorList[0].green, camiColorList[0].blue, 0.3);
ChangeColor(mcCamiColor1, _local8.red, _local8.green, _local8.blue, _local8.tint);
ChangeColor(mcCamiColor2, _local9.red, _local9.green, _local9.blue, _local9.tint);
ChangeColor(mcCamiColor3, _local10.red, _local10.green, _local10.blue, _local10.tint);
ChangeColor(mcCamiColor4, _local11.red, _local11.green, _local11.blue, _local11.tint);
ChangeColor(mcCamiColor5, _local12.red, _local12.green, _local12.blue, _local12.tint);
camiColorSelect.x = mcCamiColor1.x;
camiColorSelect.y = mcCamiColor1.y;
gameSprite.addChild(camiColorSelect);
camiButton.gotoAndStop(1);
camiButton.addEventListener(MouseEvent.MOUSE_DOWN, CamiClick);
mcCamiColor1.addEventListener(MouseEvent.CLICK, CamiColor1Click);
mcCamiColor2.addEventListener(MouseEvent.CLICK, CamiColor2Click);
mcCamiColor3.addEventListener(MouseEvent.CLICK, CamiColor3Click);
mcCamiColor4.addEventListener(MouseEvent.CLICK, CamiColor4Click);
mcCamiColor5.addEventListener(MouseEvent.CLICK, CamiColor5Click);
}
public function HatColor5Click(_arg1:MouseEvent){
hatColorSelect.x = mcHatColor5.x;
hatColorSelect.y = mcHatColor5.y;
ChangeColor(hatList[hatIndex], hatColorList[4].red, hatColorList[4].green, hatColorList[4].blue, hatColorList[4].tint);
hatColorIndex = 4;
}
public function JewelryClick(_arg1:MouseEvent){
var _local2:int;
channelButton = buttonSound.play(0, 1);
jewelryButton.gotoAndStop(3);
_local2 = 0;
while (_local2 < jewelryList.length) {
jewelryList[_local2].visible = false;
_local2++;
};
jewelryIndex++;
if (jewelryIndex > 5){
jewelryIndex = 0;
};
if (jewelryIndex != 5){
jewelryList[jewelryIndex].visible = true;
ChangeColor(jewelryList[jewelryIndex], 200, 170, 90, 0.3);
};
}
public function CamiColor1Click(_arg1:MouseEvent){
camiColorSelect.x = mcCamiColor1.x;
camiColorSelect.y = mcCamiColor1.y;
ChangeColor(camiList[camiIndex], camiColorList[0].red, camiColorList[0].green, camiColorList[0].blue, camiColorList[0].tint);
camiColorIndex = 0;
}
public function StockingColor4Click(_arg1:MouseEvent){
stockingColorSelect.x = mcStockingColor4.x;
stockingColorSelect.y = mcStockingColor4.y;
ChangeColor(stockingList[stockingIndex], stockingColorList[3].red, stockingColorList[3].green, stockingColorList[3].blue, stockingColorList[3].tint);
stockingColorIndex = 3;
}
public function HairColor5Click(_arg1:MouseEvent){
hairColorSelect.x = mcHairColor5.x;
hairColorSelect.y = mcHairColor5.y;
ChangeColor(hairList[hairIndex], hairColorList[4].red, hairColorList[4].green, hairColorList[4].blue, hairColorList[4].tint);
hairColorIndex = 4;
}
public function EyeMakeupColor1Click(_arg1:MouseEvent){
eyeMakeupColorSelect.x = mcEyeMakeupColor1.x;
eyeMakeupColorSelect.y = mcEyeMakeupColor1.y;
ChangeColor(eyeMakeupList[eyeMakeupIndex], eyeMakeupColorList[0].red, eyeMakeupColorList[0].green, eyeMakeupColorList[0].blue, eyeMakeupColorList[0].tint);
eyeMakeupColorIndex = 0;
}
public function InitJackets(){
var _local1:*;
var _local2:*;
var _local3:*;
var _local4:*;
var _local5:*;
var _local6:int;
var _local7:*;
var _local8:*;
var _local9:*;
var _local10:*;
var _local11:*;
_local1 = new mcJacket1();
_local1.x = 91;
_local1.y = 127;
_local1.width = 151;
_local1.height = 165;
jacketList.push(_local1);
gameSprite.addChild(_local1);
_local2 = new mcJacket2();
_local2.x = 77;
_local2.y = 119;
_local2.width = 176;
_local2.height = 165;
jacketList.push(_local2);
gameSprite.addChild(_local2);
_local3 = new mcJacket3();
_local3.x = 38;
_local3.y = 89;
_local3.width = 244;
_local3.height = 226;
jacketList.push(_local3);
gameSprite.addChild(_local3);
_local4 = new mcJacket4();
_local4.x = 70;
_local4.y = 110;
_local4.width = 227;
_local4.height = 233;
jacketList.push(_local4);
gameSprite.addChild(_local4);
_local5 = new mcJacket5();
_local5.x = 38;
_local5.y = 90;
_local5.width = 220;
_local5.height = 200;
jacketList.push(_local5);
gameSprite.addChild(_local5);
_local6 = 0;
while (_local6 < jacketList.length) {
jacketList[_local6].visible = false;
_local6++;
};
jacketList[0].visible = true;
jacketIndex = 0;
jacketColorIndex = 0;
_local7 = new mcDoll();
_local8 = new mcDoll();
_local9 = new mcDoll();
_local10 = new mcDoll();
_local11 = new mcDoll();
_local7.red = 0;
_local7.green = 0;
_local7.blue = 0;
_local7.tint = 0.2;
_local8.red = 0xFF;
_local8.green = 0;
_local8.blue = 0;
_local8.tint = 0.07;
_local9.red = 246;
_local9.green = 0;
_local9.blue = 0xFF;
_local9.tint = 0.07;
_local10.red = 0;
_local10.green = 60;
_local10.blue = 0xFF;
_local10.tint = 0.07;
_local11.red = 0xFF;
_local11.green = 168;
_local11.blue = 0;
_local11.tint = 0.07;
jacketColorList.push(_local7);
jacketColorList.push(_local8);
jacketColorList.push(_local9);
jacketColorList.push(_local10);
jacketColorList.push(_local11);
ChangeColor(jacketList[jacketIndex], jacketColorList[0].red, jacketColorList[0].green, jacketColorList[0].blue, 0.3);
ChangeColor(mcJacketColor1, _local7.red, _local7.green, _local7.blue, _local7.tint);
ChangeColor(mcJacketColor2, _local8.red, _local8.green, _local8.blue, _local8.tint);
ChangeColor(mcJacketColor3, _local9.red, _local9.green, _local9.blue, _local9.tint);
ChangeColor(mcJacketColor4, _local10.red, _local10.green, _local10.blue, _local10.tint);
ChangeColor(mcJacketColor5, _local11.red, _local11.green, _local11.blue, _local11.tint);
jacketColorSelect.x = mcJacketColor1.x;
jacketColorSelect.y = mcJacketColor1.y;
gameSprite.addChild(jacketColorSelect);
jacketButton.gotoAndStop(1);
jacketButton.addEventListener(MouseEvent.MOUSE_DOWN, JacketClick);
mcJacketColor1.addEventListener(MouseEvent.CLICK, JacketColor1Click);
mcJacketColor2.addEventListener(MouseEvent.CLICK, JacketColor2Click);
mcJacketColor3.addEventListener(MouseEvent.CLICK, JacketColor3Click);
mcJacketColor4.addEventListener(MouseEvent.CLICK, JacketColor4Click);
mcJacketColor5.addEventListener(MouseEvent.CLICK, JacketColor5Click);
}
public function Clear(){
var _local1:int;
_local1 = 0;
_local1 = 0;
while (_local1 < eyeMakeupList.length) {
eyeMakeupList[_local1].visible = false;
_local1++;
};
_local1 = 0;
while (_local1 < stockingList.length) {
stockingList[_local1].visible = false;
_local1++;
};
_local1 = 0;
while (_local1 < shoeList.length) {
shoeList[_local1].visible = false;
_local1++;
};
_local1 = 0;
while (_local1 < camiList.length) {
camiList[_local1].visible = false;
_local1++;
};
_local1 = 0;
while (_local1 < dressList.length) {
dressList[_local1].visible = false;
_local1++;
};
_local1 = 0;
while (_local1 < jewelryList.length) {
jewelryList[_local1].visible = false;
_local1++;
};
_local1 = 0;
while (_local1 < jacketList.length) {
jacketList[_local1].visible = false;
_local1++;
};
_local1 = 0;
while (_local1 < hairList.length) {
hairList[_local1].visible = false;
_local1++;
};
_local1 = 0;
while (_local1 < hatList.length) {
hatList[_local1].visible = false;
_local1++;
};
bodyColorIndex = 0;
eyeColorIndex = 0;
eyeMakeupColorIndex = 0;
lipColorIndex = 0;
shoeColorIndex = 0;
stockingColorIndex = 0;
camiColorIndex = 0;
dressColorIndex = 0;
jacketColorIndex = 0;
hairColorIndex = 0;
hatColorIndex = 0;
eyeMakeupIndex = 0;
eyeMakeupList[eyeMakeupIndex].visible = true;
stockingIndex = 0;
stockingList[stockingIndex].visible = true;
shoeIndex = 0;
shoeList[shoeIndex].visible = true;
camiIndex = 0;
camiList[camiIndex].visible = true;
dressIndex = 0;
dressList[dressIndex].visible = true;
jewelryIndex = 0;
jewelryList[jewelryIndex].visible = true;
jacketIndex = 0;
jacketList[jacketIndex].visible = true;
hairIndex = 0;
hairList[hairIndex].visible = true;
hatIndex = 0;
hatList[hatIndex].visible = true;
ChangeColor(mainDoll, bodyColorList[bodyColorIndex].red, bodyColorList[bodyColorIndex].green, bodyColorList[bodyColorIndex].blue, bodyColorList[bodyColorIndex].tint);
ChangeColor(eyes, eyeColorList[eyeColorIndex].red, eyeColorList[eyeColorIndex].green, eyeColorList[eyeColorIndex].blue, eyeColorList[eyeColorIndex].tint);
ChangeColor(lips, lipColorList[lipColorIndex].red, lipColorList[lipColorIndex].green, lipColorList[lipColorIndex].blue, lipColorList[lipColorIndex].tint);
ChangeColor(eyeMakeupList[eyeMakeupIndex], eyeMakeupColorList[eyeMakeupColorIndex].red, eyeMakeupColorList[eyeMakeupColorIndex].green, eyeMakeupColorList[eyeMakeupColorIndex].blue, eyeMakeupColorList[eyeMakeupColorIndex].tint);
ChangeColor(stockingList[stockingIndex], stockingColorList[stockingColorIndex].red, stockingColorList[stockingColorIndex].green, stockingColorList[stockingColorIndex].blue, stockingColorList[stockingColorIndex].tint);
ChangeColor(shoeList[shoeIndex], shoeColorList[shoeColorIndex].red, shoeColorList[shoeColorIndex].green, shoeColorList[shoeColorIndex].blue, shoeColorList[shoeColorIndex].tint);
ChangeColor(camiList[camiIndex], camiColorList[camiColorIndex].red, camiColorList[camiColorIndex].green, camiColorList[camiColorIndex].blue, camiColorList[camiColorIndex].tint);
ChangeColor(dressList[dressIndex], dressColorList[dressColorIndex].red, dressColorList[dressColorIndex].green, dressColorList[dressColorIndex].blue, dressColorList[dressColorIndex].tint);
ChangeColor(jacketList[jacketIndex], jacketColorList[jacketColorIndex].red, jacketColorList[jacketColorIndex].green, jacketColorList[jacketColorIndex].blue, jacketColorList[jacketColorIndex].tint);
ChangeColor(hairList[hairIndex], hairColorList[hairColorIndex].red, hairColorList[hairColorIndex].green, hairColorList[hairColorIndex].blue, hairColorList[hairColorIndex].tint);
ChangeColor(hatList[hatIndex], camiColorList[hatColorIndex].red, camiColorList[hatColorIndex].green, camiColorList[hatColorIndex].blue, camiColorList[hatColorIndex].tint);
SelectColors();
}
public function ShoeColor3Click(_arg1:MouseEvent){
shoeColorSelect.x = mcShoeColor3.x;
shoeColorSelect.y = mcShoeColor3.y;
ChangeColor(shoeList[shoeIndex], shoeColorList[2].red, shoeColorList[2].green, shoeColorList[2].blue, shoeColorList[2].tint);
shoeColorIndex = 2;
}
public function EyeColor1Click(_arg1:MouseEvent){
eyeColorSelect.x = mcEyeColor1.x;
eyeColorSelect.y = mcEyeColor1.y;
ChangeColor(eyes, eyeColorList[0].red, eyeColorList[0].green, eyeColorList[0].blue, eyeColorList[0].tint);
eyeColorIndex = 0;
}
public function DressColor1Click(_arg1:MouseEvent){
dressColorSelect.x = mcDressColor1.x;
dressColorSelect.y = mcDressColor1.y;
ChangeColor(dressList[dressIndex], dressColorList[0].red, dressColorList[0].green, dressColorList[0].blue, dressColorList[0].tint);
dressColorIndex = 0;
}
public function LipColor4Click(_arg1:MouseEvent){
lipColorSelect.x = mcLipColor4.x;
lipColorSelect.y = mcLipColor4.y;
ChangeColor(lips, lipColorList[3].red, lipColorList[3].green, lipColorList[3].blue, lipColorList[3].tint);
lipColorIndex = 3;
}
public function RandomClick(_arg1:MouseEvent){
randomButton.gotoAndStop(3);
channelButton = buttonSound.play(0, 1);
Randomize();
}
public function BodyColor2Click(_arg1:MouseEvent){
bodyColorSelect.x = mcBodyColor2.x;
bodyColorSelect.y = mcBodyColor2.y;
ChangeColor(mainDoll, bodyColorList[1].red, bodyColorList[1].green, bodyColorList[1].blue, bodyColorList[1].tint);
bodyColorIndex = 1;
}
public function MusicClick(_arg1:MouseEvent){
if (bMusic){
musicButton.gotoAndStop(2);
bMusic = false;
channelMusic.stop();
} else {
if (!bMusic){
musicButton.gotoAndStop(1);
bMusic = true;
channelMusic = musicSound.play(0, 999999);
};
};
}
public function InitHats(){
var _local1:*;
var _local2:*;
var _local3:*;
var _local4:*;
var _local5:*;
var _local6:int;
var _local7:*;
var _local8:*;
var _local9:*;
var _local10:*;
var _local11:*;
_local1 = new mcHat1();
_local1.x = 133;
_local1.y = 68;
_local1.width = 62;
_local1.height = 39;
hatList.push(_local1);
gameSprite.addChild(_local1);
_local2 = new mcHat2();
_local2.x = 133;
_local2.y = 57;
_local2.width = 60;
_local2.height = 49;
hatList.push(_local2);
gameSprite.addChild(_local2);
_local3 = new mcHat3();
_local3.x = 118;
_local3.y = 63;
_local3.width = 81;
_local3.height = 67;
hatList.push(_local3);
gameSprite.addChild(_local3);
_local4 = new mcHat4();
_local4.x = 112;
_local4.y = 31;
_local4.width = 86;
_local4.height = 85;
hatList.push(_local4);
gameSprite.addChild(_local4);
_local5 = new mcHat5();
_local5.x = 121;
_local5.y = 39;
_local5.width = 95;
_local5.height = 111;
hatList.push(_local5);
gameSprite.addChild(_local5);
_local6 = 0;
while (_local6 < hatList.length) {
hatList[_local6].visible = false;
_local6++;
};
hatList[0].visible = true;
hatIndex = 0;
hatColorIndex = 0;
_local7 = new mcDoll();
_local8 = new mcDoll();
_local9 = new mcDoll();
_local10 = new mcDoll();
_local11 = new mcDoll();
_local7.red = 0;
_local7.green = 0;
_local7.blue = 0;
_local7.tint = 0.02;
_local8.red = 0xFF;
_local8.green = 0;
_local8.blue = 0;
_local8.tint = 0.07;
_local9.red = 246;
_local9.green = 0;
_local9.blue = 0xFF;
_local9.tint = 0.07;
_local10.red = 0;
_local10.green = 60;
_local10.blue = 0xFF;
_local10.tint = 0.07;
_local11.red = 0xFF;
_local11.green = 168;
_local11.blue = 0;
_local11.tint = 0.07;
hatColorList.push(_local7);
hatColorList.push(_local8);
hatColorList.push(_local9);
hatColorList.push(_local10);
hatColorList.push(_local11);
ChangeColor(hatList[hatIndex], hatColorList[0].red, hatColorList[0].green, hatColorList[0].blue, 0.3);
ChangeColor(mcHatColor1, _local7.red, _local7.green, _local7.blue, _local7.tint);
ChangeColor(mcHatColor2, _local8.red, _local8.green, _local8.blue, _local8.tint);
ChangeColor(mcHatColor3, _local9.red, _local9.green, _local9.blue, _local9.tint);
ChangeColor(mcHatColor4, _local10.red, _local10.green, _local10.blue, _local10.tint);
ChangeColor(mcHatColor5, _local11.red, _local11.green, _local11.blue, _local11.tint);
hatColorSelect.x = mcHatColor1.x;
hatColorSelect.y = mcHatColor1.y;
gameSprite.addChild(hatColorSelect);
hatButton.gotoAndStop(1);
hatButton.addEventListener(MouseEvent.MOUSE_DOWN, HatClick);
mcHatColor1.addEventListener(MouseEvent.CLICK, HatColor1Click);
mcHatColor2.addEventListener(MouseEvent.CLICK, HatColor2Click);
mcHatColor3.addEventListener(MouseEvent.CLICK, HatColor3Click);
mcHatColor4.addEventListener(MouseEvent.CLICK, HatColor4Click);
mcHatColor5.addEventListener(MouseEvent.CLICK, HatColor5Click);
}
public function CamiColor2Click(_arg1:MouseEvent){
camiColorSelect.x = mcCamiColor2.x;
camiColorSelect.y = mcCamiColor2.y;
ChangeColor(camiList[camiIndex], camiColorList[1].red, camiColorList[1].green, camiColorList[1].blue, camiColorList[1].tint);
camiColorIndex = 1;
}
public function HairClick(_arg1:MouseEvent){
var _local2:int;
channelButton = buttonSound.play(0, 1);
hairButton.gotoAndStop(3);
_local2 = 0;
while (_local2 < hairList.length) {
hairList[_local2].visible = false;
_local2++;
};
hairIndex++;
if (hairIndex > 6){
hairIndex = 0;
};
hairList[hairIndex].visible = true;
ChangeColor(hairList[hairIndex], hairColorList[hairColorIndex].red, hairColorList[hairColorIndex].green, hairColorList[hairColorIndex].blue, hairColorList[hairColorIndex].tint);
}
public function InitJewelry(){
var _local1:*;
var _local2:*;
var _local3:*;
var _local4:*;
var _local5:*;
var _local6:int;
_local1 = new mcJewelry1();
_local1.x = 60;
_local1.y = 151;
_local1.width = 127;
_local1.height = 26;
jewelryList.push(_local1);
gameSprite.addChild(_local1);
_local2 = new mcJewelry2();
_local2.x = 61;
_local2.y = 146;
_local2.width = 123;
_local2.height = 59;
jewelryList.push(_local2);
gameSprite.addChild(_local2);
_local3 = new mcJewelry3();
_local3.x = 146;
_local3.y = 154;
_local3.width = 39;
_local3.height = 34;
jewelryList.push(_local3);
gameSprite.addChild(_local3);
_local4 = new mcJewelry4();
_local4.x = 64;
_local4.y = 152;
_local4.width = 127;
_local4.height = 45;
jewelryList.push(_local4);
gameSprite.addChild(_local4);
_local5 = new mcJewelry5();
_local5.x = 145;
_local5.y = 154;
_local5.width = 43;
_local5.height = 23;
jewelryList.push(_local5);
gameSprite.addChild(_local5);
_local6 = 0;
while (_local6 < jewelryList.length) {
jewelryList[_local6].visible = false;
_local6++;
};
jewelryList[0].visible = true;
jewelryIndex = 0;
jewelryColorIndex = 0;
jewelryButton.gotoAndStop(1);
jewelryButton.addEventListener(MouseEvent.MOUSE_DOWN, JewelryClick);
}
public function StockingColor5Click(_arg1:MouseEvent){
stockingColorSelect.x = mcStockingColor5.x;
stockingColorSelect.y = mcStockingColor5.y;
ChangeColor(stockingList[stockingIndex], stockingColorList[4].red, stockingColorList[4].green, stockingColorList[4].blue, stockingColorList[4].tint);
stockingColorIndex = 4;
}
public function EyeMakeupColor2Click(_arg1:MouseEvent){
eyeMakeupColorSelect.x = mcEyeMakeupColor2.x;
eyeMakeupColorSelect.y = mcEyeMakeupColor2.y;
ChangeColor(eyeMakeupList[eyeMakeupIndex], eyeMakeupColorList[1].red, eyeMakeupColorList[1].green, eyeMakeupColorList[1].blue, eyeMakeupColorList[1].tint);
eyeMakeupColorIndex = 1;
}
public function ShoeColor4Click(_arg1:MouseEvent){
shoeColorSelect.x = mcShoeColor4.x;
shoeColorSelect.y = mcShoeColor4.y;
ChangeColor(shoeList[shoeIndex], shoeColorList[3].red, shoeColorList[3].green, shoeColorList[3].blue, shoeColorList[3].tint);
shoeColorIndex = 3;
}
public function PrintClick(_arg1:MouseEvent){
var _local2:PrintJob;
channelButton = buttonSound.play(0, 1);
printButton.gotoAndStop(3);
_local2 = new PrintJob();
_local2.start();
_local2.addPage(gameSprite, null, null);
_local2.send();
}
public function EyeColor2Click(_arg1:MouseEvent){
eyeColorSelect.x = mcEyeColor2.x;
eyeColorSelect.y = mcEyeColor2.y;
ChangeColor(eyes, eyeColorList[1].red, eyeColorList[1].green, eyeColorList[1].blue, eyeColorList[1].tint);
eyeColorIndex = 1;
}
public function DressColor2Click(_arg1:MouseEvent){
dressColorSelect.x = mcDressColor2.x;
dressColorSelect.y = mcDressColor2.y;
ChangeColor(dressList[dressIndex], dressColorList[1].red, dressColorList[1].green, dressColorList[1].blue, dressColorList[1].tint);
dressColorIndex = 1;
}
public function LipColor5Click(_arg1:MouseEvent){
lipColorSelect.x = mcLipColor5.x;
lipColorSelect.y = mcLipColor5.y;
ChangeColor(lips, lipColorList[4].red, lipColorList[4].green, lipColorList[4].blue, lipColorList[4].tint);
lipColorIndex = 4;
}
public function DoneClick(_arg1:MouseEvent){
channelButton = buttonSound.play(0, 1);
doneButton.gotoAndStop(3);
bDone = true;
ShowObjects(false);
printButton.visible = true;
moregamesButton.visible = true;
playagainButton.visible = true;
}
public function CamiClick(_arg1:MouseEvent){
var _local2:int;
channelButton = buttonSound.play(0, 1);
camiButton.gotoAndStop(3);
_local2 = 0;
while (_local2 < camiList.length) {
camiList[_local2].visible = false;
_local2++;
};
camiIndex++;
if (camiIndex > 5){
camiIndex = 0;
};
camiList[camiIndex].visible = true;
ChangeColor(camiList[camiIndex], camiColorList[camiColorIndex].red, camiColorList[camiColorIndex].green, camiColorList[camiColorIndex].blue, camiColorList[camiColorIndex].tint);
}
public function BodyColor3Click(_arg1:MouseEvent){
bodyColorSelect.x = mcBodyColor3.x;
bodyColorSelect.y = mcBodyColor3.y;
ChangeColor(mainDoll, bodyColorList[2].red, bodyColorList[2].green, bodyColorList[2].blue, bodyColorList[2].tint);
bodyColorIndex = 2;
}
public function JacketColor1Click(_arg1:MouseEvent){
jacketColorSelect.x = mcJacketColor1.x;
jacketColorSelect.y = mcJacketColor1.y;
ChangeColor(jacketList[jacketIndex], jacketColorList[0].red, jacketColorList[0].green, jacketColorList[0].blue, jacketColorList[0].tint);
jacketColorIndex = 0;
}
public function EyeMakeupClick(_arg1:MouseEvent){
var _local2:int;
channelButton = buttonSound.play(0, 1);
eyeMakeupButton.gotoAndStop(3);
_local2 = 0;
while (_local2 < eyeMakeupList.length) {
eyeMakeupList[_local2].visible = false;
_local2++;
};
eyeMakeupIndex++;
if (eyeMakeupIndex > 5){
eyeMakeupIndex = 0;
};
if (eyeMakeupIndex != 5){
eyeMakeupList[eyeMakeupIndex].visible = true;
ChangeColor(eyeMakeupList[eyeMakeupIndex], eyeMakeupColorList[eyeMakeupColorIndex].red, eyeMakeupColorList[eyeMakeupColorIndex].green, eyeMakeupColorList[eyeMakeupColorIndex].blue, eyeMakeupColorList[eyeMakeupColorIndex].tint);
};
}
public function ShowObjects(_arg1:Boolean){
doneButton.visible = _arg1;
musicButton.visible = _arg1;
randomButton.visible = _arg1;
clearButton.visible = _arg1;
bodyButton.visible = _arg1;
eyeButton.visible = _arg1;
eyeMakeupButton.visible = _arg1;
lipButton.visible = _arg1;
hairButton.visible = _arg1;
hatButton.visible = _arg1;
camiButton.visible = _arg1;
dressButton.visible = _arg1;
shoeButton.visible = _arg1;
stockingButton.visible = _arg1;
jacketButton.visible = _arg1;
jewelryButton.visible = _arg1;
mcBodyColor1.visible = _arg1;
mcBodyColor2.visible = _arg1;
mcBodyColor3.visible = _arg1;
mcBodyColor4.visible = _arg1;
mcBodyColor5.visible = _arg1;
mcEyeColor1.visible = _arg1;
mcEyeColor2.visible = _arg1;
mcEyeColor3.visible = _arg1;
mcEyeColor4.visible = _arg1;
mcEyeColor5.visible = _arg1;
mcEyeMakeupColor1.visible = _arg1;
mcEyeMakeupColor2.visible = _arg1;
mcEyeMakeupColor3.visible = _arg1;
mcEyeMakeupColor4.visible = _arg1;
mcEyeMakeupColor5.visible = _arg1;
mcLipColor1.visible = _arg1;
mcLipColor2.visible = _arg1;
mcLipColor3.visible = _arg1;
mcLipColor4.visible = _arg1;
mcLipColor5.visible = _arg1;
mcHairColor1.visible = _arg1;
mcHairColor2.visible = _arg1;
mcHairColor3.visible = _arg1;
mcHairColor4.visible = _arg1;
mcHairColor5.visible = _arg1;
mcHatColor1.visible = _arg1;
mcHatColor2.visible = _arg1;
mcHatColor3.visible = _arg1;
mcHatColor4.visible = _arg1;
mcHatColor5.visible = _arg1;
mcCamiColor1.visible = _arg1;
mcCamiColor2.visible = _arg1;
mcCamiColor3.visible = _arg1;
mcCamiColor4.visible = _arg1;
mcCamiColor5.visible = _arg1;
mcDressColor1.visible = _arg1;
mcDressColor2.visible = _arg1;
mcDressColor3.visible = _arg1;
mcDressColor4.visible = _arg1;
mcDressColor5.visible = _arg1;
mcShoeColor1.visible = _arg1;
mcShoeColor2.visible = _arg1;
mcShoeColor3.visible = _arg1;
mcShoeColor4.visible = _arg1;
mcShoeColor5.visible = _arg1;
mcJacketColor1.visible = _arg1;
mcJacketColor2.visible = _arg1;
mcJacketColor3.visible = _arg1;
mcJacketColor4.visible = _arg1;
mcJacketColor5.visible = _arg1;
mcStockingColor1.visible = _arg1;
mcStockingColor2.visible = _arg1;
mcStockingColor3.visible = _arg1;
mcStockingColor4.visible = _arg1;
mcStockingColor5.visible = _arg1;
bodyColorSelect.visible = _arg1;
eyeColorSelect.visible = _arg1;
eyeMakeupColorSelect.visible = _arg1;
lipColorSelect.visible = _arg1;
stockingColorSelect.visible = _arg1;
shoeColorSelect.visible = _arg1;
camiColorSelect.visible = _arg1;
dressColorSelect.visible = _arg1;
jewelryColorSelect.visible = _arg1;
jacketColorSelect.visible = _arg1;
hairColorSelect.visible = _arg1;
hatColorSelect.visible = _arg1;
}
public function CamiColor3Click(_arg1:MouseEvent){
camiColorSelect.x = mcCamiColor3.x;
camiColorSelect.y = mcCamiColor3.y;
ChangeColor(camiList[camiIndex], camiColorList[2].red, camiColorList[2].green, camiColorList[2].blue, camiColorList[2].tint);
camiColorIndex = 2;
}
public function ClearClick(_arg1:MouseEvent){
clearButton.gotoAndStop(3);
channelButton = buttonSound.play(0, 1);
Clear();
}
public function InitEyeMakeup(){
var _local1:*;
var _local2:*;
var _local3:*;
var _local4:*;
var _local5:*;
var _local6:int;
var _local7:*;
var _local8:*;
var _local9:*;
var _local10:*;
var _local11:*;
_local1 = new mcEyeMakeup1();
_local1.x = 144;
_local1.y = 109;
_local1.width = 46;
_local1.height = 22;
eyeMakeupList.push(_local1);
gameSprite.addChild(_local1);
_local2 = new mcEyeMakeup2();
_local2.x = 143;
_local2.y = 105;
_local2.width = 47;
_local2.height = 15;
eyeMakeupList.push(_local2);
gameSprite.addChild(_local2);
_local3 = new mcEyeMakeup3();
_local3.x = 138;
_local3.y = 109;
_local3.width = 55;
_local3.height = 15;
eyeMakeupList.push(_local3);
gameSprite.addChild(_local3);
_local4 = new mcEyeMakeup4();
_local4.x = 147;
_local4.y = 105;
_local4.width = 42;
_local4.height = 23;
eyeMakeupList.push(_local4);
gameSprite.addChild(_local4);
_local5 = new mcEyeMakeup5();
_local5.x = 145;
_local5.y = 108;
_local5.width = 43;
_local5.height = 11;
eyeMakeupList.push(_local5);
gameSprite.addChild(_local5);
_local6 = 0;
while (_local6 < eyeMakeupList.length) {
eyeMakeupList[_local6].visible = false;
_local6++;
};
eyeMakeupList[0].visible = true;
eyeMakeupIndex = 0;
eyeMakeupColorIndex = 0;
eyeMakeupButton.gotoAndStop(0);
eyeMakeupButton.addEventListener(MouseEvent.MOUSE_DOWN, EyeMakeupClick);
_local7 = new mcDoll();
_local8 = new mcDoll();
_local9 = new mcDoll();
_local10 = new mcDoll();
_local11 = new mcDoll();
_local7.red = 153;
_local7.green = 153;
_local7.blue = 153;
_local7.tint = 0.25;
_local8.red = 0xFF;
_local8.green = 0;
_local8.blue = 0;
_local8.tint = 0.25;
_local9.red = 246;
_local9.green = 0;
_local9.blue = 0xFF;
_local9.tint = 0.25;
_local10.red = 0;
_local10.green = 60;
_local10.blue = 0xFF;
_local10.tint = 0.5;
_local11.red = 0xFF;
_local11.green = 168;
_local11.blue = 0;
_local11.tint = 0.25;
eyeMakeupColorList.push(_local7);
eyeMakeupColorList.push(_local8);
eyeMakeupColorList.push(_local9);
eyeMakeupColorList.push(_local10);
eyeMakeupColorList.push(_local11);
ChangeColor(eyes, eyeColorList[0].red, eyeColorList[0].green, eyeColorList[0].blue, 0.3);
ChangeColor(mcEyeMakeupColor1, _local7.red, _local7.green, _local7.blue, _local7.tint);
ChangeColor(mcEyeMakeupColor2, _local8.red, _local8.green, _local8.blue, _local8.tint);
ChangeColor(mcEyeMakeupColor3, _local9.red, _local9.green, _local9.blue, _local9.tint);
ChangeColor(mcEyeMakeupColor4, _local10.red, _local10.green, _local10.blue, _local10.tint);
ChangeColor(mcEyeMakeupColor5, _local11.red, _local11.green, _local11.blue, _local11.tint);
eyeMakeupColorSelect.x = mcEyeMakeupColor1.x;
eyeMakeupColorSelect.y = mcEyeMakeupColor1.y;
gameSprite.addChild(eyeMakeupColorSelect);
mcEyeMakeupColor1.addEventListener(MouseEvent.CLICK, EyeMakeupColor1Click);
mcEyeMakeupColor2.addEventListener(MouseEvent.CLICK, EyeMakeupColor2Click);
mcEyeMakeupColor3.addEventListener(MouseEvent.CLICK, EyeMakeupColor3Click);
mcEyeMakeupColor4.addEventListener(MouseEvent.CLICK, EyeMakeupColor4Click);
mcEyeMakeupColor5.addEventListener(MouseEvent.CLICK, EyeMakeupColor5Click);
}
public function EyeColor3Click(_arg1:MouseEvent){
eyeColorSelect.x = mcEyeColor3.x;
eyeColorSelect.y = mcEyeColor3.y;
ChangeColor(eyes, eyeColorList[2].red, eyeColorList[2].green, eyeColorList[2].blue, eyeColorList[2].tint);
eyeColorIndex = 2;
}
public function ShoeColor5Click(_arg1:MouseEvent){
shoeColorSelect.x = mcShoeColor5.x;
shoeColorSelect.y = mcShoeColor5.y;
ChangeColor(shoeList[shoeIndex], shoeColorList[4].red, shoeColorList[4].green, shoeColorList[4].blue, shoeColorList[4].tint);
shoeColorIndex = 4;
}
public function EyeMakeupColor3Click(_arg1:MouseEvent){
eyeMakeupColorSelect.x = mcEyeMakeupColor3.x;
eyeMakeupColorSelect.y = mcEyeMakeupColor3.y;
ChangeColor(eyeMakeupList[eyeMakeupIndex], eyeMakeupColorList[2].red, eyeMakeupColorList[2].green, eyeMakeupColorList[2].blue, eyeMakeupColorList[2].tint);
eyeMakeupColorIndex = 2;
}
public function HatColor1Click(_arg1:MouseEvent){
hatColorSelect.x = mcHatColor1.x;
hatColorSelect.y = mcHatColor1.y;
ChangeColor(hatList[hatIndex], hatColorList[0].red, hatColorList[0].green, hatColorList[0].blue, hatColorList[0].tint);
hatColorIndex = 0;
}
public function StageOut(_arg1:MouseEvent){
stageClick = false;
}
public function InitShoes(){
var _local1:*;
var _local2:*;
var _local3:*;
var _local4:*;
var _local5:*;
var _local6:*;
var _local7:int;
var _local8:*;
var _local9:*;
var _local10:*;
var _local11:*;
var _local12:*;
_local1 = new mcShoes1();
_local1.x = 244;
_local1.y = 351;
_local1.width = 138;
_local1.height = 173;
shoeList.push(_local1);
gameSprite.addChild(_local1);
_local2 = new mcShoes2();
_local2.x = 284;
_local2.y = 436;
_local2.width = 94;
_local2.height = 91;
shoeList.push(_local2);
gameSprite.addChild(_local2);
_local3 = new mcShoes3();
_local3.x = 278;
_local3.y = 436;
_local3.width = 100;
_local3.height = 91;
shoeList.push(_local3);
gameSprite.addChild(_local3);
_local4 = new mcShoes4();
_local4.x = 281;
_local4.y = 431;
_local4.width = 94;
_local4.height = 88;
shoeList.push(_local4);
gameSprite.addChild(_local4);
_local5 = new mcShoes5();
_local5.x = 284;
_local5.y = 436;
_local5.width = 91;
_local5.height = 89;
shoeList.push(_local5);
gameSprite.addChild(_local5);
_local6 = new mcShoes6();
_local6.x = 273;
_local6.y = 396;
_local6.width = 102;
_local6.height = 124;
shoeList.push(_local6);
gameSprite.addChild(_local6);
_local7 = 0;
while (_local7 < shoeList.length) {
shoeList[_local7].visible = false;
_local7++;
};
shoeList[0].visible = true;
shoeIndex = 0;
shoeColorIndex = 0;
_local8 = new mcDoll();
_local9 = new mcDoll();
_local10 = new mcDoll();
_local11 = new mcDoll();
_local12 = new mcDoll();
_local8.red = 0;
_local8.green = 0;
_local8.blue = 0;
_local8.tint = 0.2;
_local9.red = 0xFF;
_local9.green = 0;
_local9.blue = 0;
_local9.tint = 0.07;
_local10.red = 246;
_local10.green = 0;
_local10.blue = 0xFF;
_local10.tint = 0.07;
_local11.red = 0;
_local11.green = 60;
_local11.blue = 0xFF;
_local11.tint = 0.07;
_local12.red = 0xFF;
_local12.green = 168;
_local12.blue = 0;
_local12.tint = 0.07;
shoeColorList.push(_local8);
shoeColorList.push(_local9);
shoeColorList.push(_local10);
shoeColorList.push(_local11);
shoeColorList.push(_local12);
ChangeColor(shoeList[dressIndex], shoeColorList[0].red, shoeColorList[0].green, shoeColorList[0].blue, 0.3);
ChangeColor(mcShoeColor1, _local8.red, _local8.green, _local8.blue, _local8.tint);
ChangeColor(mcShoeColor2, _local9.red, _local9.green, _local9.blue, _local9.tint);
ChangeColor(mcShoeColor3, _local10.red, _local10.green, _local10.blue, _local10.tint);
ChangeColor(mcShoeColor4, _local11.red, _local11.green, _local11.blue, _local11.tint);
ChangeColor(mcShoeColor5, _local12.red, _local12.green, _local12.blue, _local12.tint);
shoeColorSelect.x = mcShoeColor1.x;
shoeColorSelect.y = mcShoeColor1.y;
gameSprite.addChild(shoeColorSelect);
shoeButton.gotoAndStop(1);
shoeButton.addEventListener(MouseEvent.MOUSE_DOWN, ShoeClick);
mcShoeColor1.addEventListener(MouseEvent.CLICK, ShoeColor1Click);
mcShoeColor2.addEventListener(MouseEvent.CLICK, ShoeColor2Click);
mcShoeColor3.addEventListener(MouseEvent.CLICK, ShoeColor3Click);
mcShoeColor4.addEventListener(MouseEvent.CLICK, ShoeColor4Click);
mcShoeColor5.addEventListener(MouseEvent.CLICK, ShoeColor5Click);
}
public function DressColor3Click(_arg1:MouseEvent){
dressColorSelect.x = mcDressColor3.x;
dressColorSelect.y = mcDressColor3.y;
ChangeColor(dressList[dressIndex], dressColorList[2].red, dressColorList[2].green, dressColorList[2].blue, dressColorList[2].tint);
dressColorIndex = 2;
}
public function HairColor1Click(_arg1:MouseEvent){
hairColorSelect.x = mcHairColor1.x;
hairColorSelect.y = mcHairColor1.y;
ChangeColor(hairList[hairIndex], hairColorList[0].red, hairColorList[0].green, hairColorList[0].blue, hairColorList[0].tint);
hairColorIndex = 0;
}
public function BodyColor4Click(_arg1:MouseEvent){
bodyColorSelect.x = mcBodyColor4.x;
bodyColorSelect.y = mcBodyColor4.y;
ChangeColor(mainDoll, bodyColorList[3].red, bodyColorList[3].green, bodyColorList[3].blue, bodyColorList[3].tint);
bodyColorIndex = 3;
}
public function StockingClick(_arg1:MouseEvent){
var _local2:int;
channelButton = buttonSound.play(0, 1);
stockingButton.gotoAndStop(3);
_local2 = 0;
while (_local2 < stockingList.length) {
stockingList[_local2].visible = false;
_local2++;
};
stockingIndex++;
if (stockingIndex > 4){
stockingIndex = 0;
};
stockingList[stockingIndex].visible = true;
ChangeColor(stockingList[stockingIndex], stockingColorList[stockingColorIndex].red, stockingColorList[stockingColorIndex].green, stockingColorList[stockingColorIndex].blue, stockingColorList[stockingColorIndex].tint);
}
public function JacketColor2Click(_arg1:MouseEvent){
jacketColorSelect.x = mcJacketColor2.x;
jacketColorSelect.y = mcJacketColor2.y;
ChangeColor(jacketList[jacketIndex], jacketColorList[1].red, jacketColorList[1].green, jacketColorList[1].blue, jacketColorList[1].tint);
jacketColorIndex = 1;
}
public function HatClick(_arg1:MouseEvent){
var _local2:int;
channelButton = buttonSound.play(0, 1);
hatButton.gotoAndStop(3);
_local2 = 0;
while (_local2 < hatList.length) {
hatList[_local2].visible = false;
_local2++;
};
hatIndex++;
if (hatIndex > 5){
hatIndex = 0;
};
if (hatIndex != 5){
hatList[hatIndex].visible = true;
ChangeColor(hatList[hatIndex], hatColorList[hatColorIndex].red, hatColorList[hatColorIndex].green, hatColorList[hatColorIndex].blue, hatColorList[hatColorIndex].tint);
};
}
public function CamiColor4Click(_arg1:MouseEvent){
camiColorSelect.x = mcCamiColor4.x;
camiColorSelect.y = mcCamiColor4.y;
ChangeColor(camiList[camiIndex], camiColorList[3].red, camiColorList[3].green, camiColorList[3].blue, camiColorList[3].tint);
camiColorIndex = 3;
}
}
}//package