public function InGameMenu() : void
{
var _loc_2:Function = null;
var _loc_3:Function = null;
this.y = this.slideOut;
this.storedCharsBackup = new FileReference();
this.storedCharsBackup.addEventListener(Event.COMPLETE, this.storedCharsCompleteHandler);
this.storedCharsBackup.addEventListener(Event.SELECT, this.storedCharsSelectHandler);
this.storedCharsBackup.addEventListener(Event.CANCEL, this.storedCharsCancelHandler);
this.dialogueFile = new FileReference();
this.dialogueFile.addEventListener(Event.COMPLETE, this.dialogueCompleteHandler);
this.dialogueFile.addEventListener(Event.SELECT, this.dialogueSelectHandler);
this.dialogueFile.addEventListener(Event.CANCEL, this.dialogueCancelHandler);
this.clipboardSwatch = new PickerSwatch();
this.clipboardSwatch.cross.visible = false;
this.clipboardSwatch.visible = false;
addChild(this.clipboardSwatch);
this.lipstickSwatch = new Array();
this.lipstickSwatch[0] = {r:0, g:0, b:0, a:0};
this.lipstickSwatch[1] = {r:84, g:0, b:6, a:1};
this.lipstickSwatch[2] = {r:197, g:64, b:109, a:1};
this.lipstickSwatch[3] = {r:255, g:167, b:188, a:1};
this.lipstickSwatch[4] = {r:232, g:188, b:242, a:1};
this.lipstickSwatch[5] = {r:105, g:39, b:178, a:1};
this.lipstickSwatch[6] = {r:63, g:118, b:162, a:1};
this.lipstickSwatch[7] = {r:0, g:0, b:0, a:1};
this.lipstickSwatch[8] = {r:255, g:255, b:255, a:1};
this.irisSwatch = new Array();
this.irisSwatch[0] = {r:0, g:0, b:0, a:0};
this.irisSwatch[1] = {r:56, g:100, b:137, a:1};
this.irisSwatch[2] = {r:66, g:90, b:120, a:1};
this.irisSwatch[3] = {r:46, g:111, b:100, a:1};
this.irisSwatch[4] = {r:23, g:57, b:102, a:1};
this.irisSwatch[5] = {r:71, g:18, b:28, a:1};
this.irisSwatch[6] = {r:62, g:39, b:29, a:1};
this.irisSwatch[7] = {r:70, g:100, b:37, a:1};
this.irisSwatch[8] = {r:0, g:0, b:0, a:1};
this.eyebrowSwatch = new Array();
this.eyebrowSwatch[0] = {r:0, g:0, b:0, a:0};
this.eyebrowSwatch[1] = {r:89, g:67, b:51, a:1};
this.eyebrowSwatch[2] = {r:189, g:142, b:61, a:1};
this.eyebrowSwatch[3] = {r:87, g:53, b:32, a:1};
this.eyebrowSwatch[4] = {r:105, g:121, b:137, a:1};
this.eyebrowSwatch[5] = {r:33, g:33, b:51, a:1};
this.eyebrowSwatch[6] = {r:50, g:34, b:33, a:1};
this.eyebrowSwatch[7] = {r:0, g:0, b:0, a:1};
this.eyebrowSwatch[8] = {r:255, g:255, b:255, a:1};
this.eyeShadowSwatch = new Array();
this.eyeShadowSwatch[0] = {r:0, g:0, b:0, a:0};
this.eyeShadowSwatch[1] = {r:55, g:26, b:99, a:1};
this.eyeShadowSwatch[2] = {r:124, g:20, b:178, a:1};
this.eyeShadowSwatch[3] = {r:24, g:12, b:90, a:1};
this.eyeShadowSwatch[4] = {r:255, g:48, b:109, a:1}; this.eyeShadowSwatch[5] = {r:0, g:66, b:137, a:1};
this.eyeShadowSwatch[6] = {r:16, g:58, b:24, a:1};
this.eyeShadowSwatch[7] = {r:0, g:0, b:0, a:1};
this.eyeShadowSwatch[8] = {r:255, g:255, b:255, a:1};
this.legwearSwatch = new Array();
this.legwearSwatch[0] = {r:0, g:0, b:0, a:0};
this.legwearSwatch[1] = {r:22, g:8, b:0, a:1};
this.legwearSwatch[2] = {r:82, g:0, b:6, a:1};
this.legwearSwatch[3] = {r:255, g:126, b:167, a:0.8};
this.legwearSwatch[4] = {r:0, g:26, b:114, a:1};
this.legwearSwatch[5] = {r:74, g:20, b:126, a:0.9};
this.legwearSwatch[6] = {r:63, g:118, b:162, a:1};
this.legwearSwatch[7] = {r:0, g:0, b:0, a:1};
this.legwearSwatch[8] = {r:255, g:255, b:255, a:0.8};
this.underwearSwatch = this.lipstickSwatch.slice(1);
this.underwearSwatch.splice(-2, 0, {r:128, g:128, b:128, a:1});
this.blushSwatch = this.eyeShadowSwatch.slice();
this.blushSwatch[0] = {r:196, g:80, b:77, a:0.35};
var _loc_1:uint = 0;
while (_loc_1 <= 8)
{
this.rgbPicker["swatch" + _loc_1].cross.visible = false;
_loc_2 = this.getSwatchHandler(_loc_1);
this.rgbPicker["swatch" + _loc_1].addEventListener(MouseEvent.CLICK, _loc_2);
_loc_1 = _loc_1 + 1;
}
this.rgbPicker.visible = false;
this.rgbPicker.rSlider.giveLabel(this.rgbPicker.rLabel);
this.rgbPicker.gSlider.giveLabel(this.rgbPicker.gLabel);
this.rgbPicker.bSlider.giveLabel(this.rgbPicker.bLabel);
this.rgbPicker.alphaControls.aSlider.giveLabel(this.rgbPicker.alphaControls.aLabel);
this.hslPicker.visible = false;
this.hslPicker.swatch0.cross.visible = true;
this.hslPicker.swatch0.swatchFill.alpha = 0;
this.hslPicker.hSlider.giveLabel(this.hslPicker.hLabel);
this.hslPicker.sSlider.giveLabel(this.hslPicker.sLabel);
this.hslPicker.lSlider.giveLabel(this.hslPicker.lLabel);
this.hslPicker.cSlider.giveLabel(this.hslPicker.cLabel);
this.hslPicker.hSlider.setLabelRange(-180, 360);
this.hslPicker.sSlider.setLabelRange(0, 400);
this.hslPicker.lSlider.setLabelRange(0, 400);
this.hslPicker.cSlider.setLabelRange(0, 400);
this.hslPicker.swatch0.addEventListener(MouseEvent.CLICK, this.hslRemoveClicked);
this.tabLabels.mouseEnabled = false;
this.tabLabels.mouseChildren = false;
this.addEventListener(Event.ENTER_FRAME, this.tick);
this.addEventListener(MouseEvent.ROLL_OVER, this.rolledOver);
this.addEventListener(MouseEvent.ROLL_OUT, this.rolledOut);
this.addEventListener(MouseEvent.CLICK, this.menuClicked);
this.menuDrawerLip.arrow.addEventListener(MouseEvent.CLICK, this.drawerArrowClicked);
this.tab1.addEventListener(MouseEvent.CLICK, this.tab1Clicked);
this.tab2.addEventListener(MouseEvent.CLICK, this.tab2Clicked);
this.tab3.addEventListener(MouseEvent.CLICK, this.tab3Clicked);
this.tab4.addEventListener(MouseEvent.CLICK, this.tab4Clicked);
this.tab5.addEventListener(MouseEvent.CLICK, this.tab5Clicked);
this.closeButton.addEventListener(MouseEvent.CLICK, this.closeClicked);
this.characterMenu.closeButton.addEventListener(MouseEvent.CLICK, this.characterMenuCloseClicked);
this.characterMenu.giveButton(this.sceneMenu.mbCharacterMenu);
this.charNames = g.characterControl.getCharacterList();
this.characterMenu.instanceBaseChars(this.charNames);
this.characterMenu.visible = false;
this.sceneMenu.mbCharacterMenu.addEventListener(MouseEvent.CLICK, this.mbCharacterMenuClicked);
_loc_1 = 1;
while (_loc_1 <= g.bgNum)
{
_loc_3 = this.getBGHandler(_loc_1);
this.sceneMenu["cbBG" + _loc_1].addEventListener(MouseEvent.CLICK, _loc_3);
_loc_1 = _loc_1 + 1;
}
this.sceneMenu.cbStyle1.addEventListener(MouseEvent.CLICK, this.style1Clicked);
this.sceneMenu.cbStyle2.addEventListener(MouseEvent.CLICK, this.style2Clicked);
this.sceneMenu.cbMoodNormal.addEventListener(MouseEvent.CLICK, this.moodNormalClicked);
this.sceneMenu.cbMoodHappy.addEventListener(MouseEvent.CLICK, this.moodHappyClicked);
this.sceneMenu.cbMoodAngry.addEventListener(MouseEvent.CLICK, this.moodAngryClicked);
this.sceneMenu.cbMoodAhegao.addEventListener(MouseEvent.CLICK, this.moodAhegaoClicked);
this.sceneMenu.zoomSlider.setRangeEnd(75);
this.sceneMenu.zoomSlider.addEventListener("handleReleased", this.zoomSliderReleased);
this.sceneMenu.zoomSlider.addEventListener("sliderChanged", this.zoomSliderChanged);
this.sceneMenu.mbDefaultZoom.addEventListener(MouseEvent.CLICK, this.mbDefaultZoomClicked);
this.himMenu = this.sceneMenu.himMenu;
HimBody.bodyMenuContainer = this.himMenu.bodyMenuContainer;
this.himMenuScroller = new ScrollingArea(200, 180, this.himMenu, 60);
this.himMenuScroller.x = 135;
this.himMenuScroller.y = -91;
this.sceneMenu.addChild(this.himMenuScroller);
g.him.setHimMenu(this.himMenu, this.underwearSwatch);
this.himMenu.penisLengthSlider.setRangeEnd(98);
this.himMenu.penisLengthSlider.addEventListener("handleReleased", this.penisLengthSliderReleased);
this.himMenu.penisLengthSlider.addEventListener("sliderChanged", this.penisLengthSliderChanged);
this.himMenu.mbDefaultPenisLength.addEventListener(MouseEvent.CLICK, this.mbDefaultPenisLengthClicked);
this.himMenu.penisWidthSlider.setRangeEnd(98);
this.himMenu.penisWidthSlider.addEventListener("handleReleased", this.penisWidthSliderReleased);
this.himMenu.penisWidthSlider.addEventListener("sliderChanged", this.penisWidthSliderChanged);
this.himMenu.mbDefaultPenisWidth.addEventListener(MouseEvent.CLICK, this.mbDefaultPenisWidthClicked);
this.himMenu.mlBody.leftArrow.addEventListener(MouseEvent.CLICK, this.hisBodyLeftClicked);
this.himMenu.mlBody.rightArrow.addEventListener(MouseEvent.CLICK, this.hisBodyRightClicked);
this.himMenu.mlHisArm.leftArrow.addEventListener(MouseEvent.CLICK, this.hisArmLeftClicked);
this.himMenu.mlHisArm.rightArrow.addEventListener(MouseEvent.CLICK, this.hisArmRightClicked);
this.himMenu.mlHisLeftArm.leftArrow.addEventListener(MouseEvent.CLICK, this.hisLeftArmLeftClicked);
this.himMenu.mlHisLeftArm.rightArrow.addEventListener(MouseEvent.CLICK, this.hisLeftArmRightClicked);
this.himMenu.mlBalls.leftArrow.addEventListener(MouseEvent.CLICK, this.ballsLeftClicked);
this.himMenu.mlBalls.rightArrow.addEventListener(MouseEvent.CLICK, this.ballsRightClicked);
this.himMenu.ballSizeSlider.setRangeEnd(98);
this.himMenu.ballSizeSlider.addEventListener("handleReleased", this.ballSizeSliderReleased);
this.himMenu.ballSizeSlider.addEventListener("sliderChanged", this.ballSizeSliderChanged);
this.himMenu.mbDefaultBallSize.addEventListener(MouseEvent.CLICK, this.mbDefaultBallSizeClicked);
this.costumeMenu = this.sceneMenu.costumeMenu;
this.costumeMenuScroller = new ScrollingArea(220, 180, this.costumeMenu, 60);
this.costumeMenuScroller.x = -98;
this.costumeMenuScroller.y = -91;
this.sceneMenu.addChild(this.costumeMenuScroller);
g.her.setMenu(this.costumeMenu, this.underwearSwatch);
this.costumeMenu.resistanceSlider.setRangeEnd(119);
this.costumeMenu.resistanceSlider.addEventListener("handleReleased", this.resistanceSliderReleased);
this.costumeMenu.resistanceSlider.addEventListener("sliderChanged", this.resistanceSliderChanged);
this.costumeMenu.cbResetResistance.addEventListener(MouseEvent.CLICK, this.cbResetResistanceClicked);
this.costumeMenu.mbDefaultResistance.addEventListener(MouseEvent.CLICK, this.mbDefaultResistanceClicked);
this.costumeMenu.throatResistanceSlider.setRangeEnd(119);
this.costumeMenu.throatResistanceSlider.addEventListener("handleReleased", this.throatResistanceSliderReleased);
this.costumeMenu.throatResistanceSlider.addEventListener("sliderChanged", this.throatResistanceSliderChanged);
this.costumeMenu.mbDefaultThroatResistance.addEventListener(MouseEvent.CLICK, this.mbDefaultThroatResistanceClicked);
this.costumeMenu.mlArms.leftArrow.addEventListener(MouseEvent.CLICK, this.armsLeftClicked);
this.costumeMenu.mlArms.rightArrow.addEventListener(MouseEvent.CLICK, this.armsRightClicked);
g.her.tan.registerMenuItems(this.costumeMenu.mlTan, this.costumeMenu.tanAlphaSlider);
this.costumeMenu.mbSelectCostume.addEventListener(MouseEvent.CLICK, this.selectCostumeClicked);
g.characterControl.collarControl.registerMenuList(this.costumeMenu.mlCollar);
g.characterControl.collarControl.registerRGBButton(this.costumeMenu.rgbCollar, this.underwearSwatch, 256, false);
g.characterControl.collarControl.registerSecondaryRGBButton(this.costumeMenu.rgbCollar2, this.underwearSwatch, 256, false);
g.characterControl.gagControl.registerMenuList(this.costumeMenu.mlGag);
g.characterControl.gagControl.registerRGBButton(this.costumeMenu.rgbGag, this.underwearSwatch, 256, false);
g.characterControl.cuffsControl.registerMenuList(this.costumeMenu.mlCuffs);
g.characterControl.cuffsControl.registerRGBButton(this.costumeMenu.rgbCuffs, this.underwearSwatch, 256, false);
g.characterControl.cuffsControl.registerSecondaryRGBButton(this.costumeMenu.rgbCuffs2, this.underwearSwatch, 256, false);
g.characterControl.ankleCuffsControl.registerMenuList(this.costumeMenu.mlAnkleCuffs);
g.characterControl.ankleCuffsControl.registerRGBButton(this.costumeMenu.rgbAnkleCuffs, this.underwearSwatch, 256, false);
g.characterControl.ankleCuffsControl.registerSecondaryRGBButton(this.costumeMenu.rgbAnkleCuffs2, this.underwearSwatch, 256, false);
g.characterControl.armwearControl.registerMenuList(this.costumeMenu.mlArmwear);
g.characterControl.armwearControl.registerRGBButton(this.costumeMenu.rgbArmwear, this.underwearSwatch, 256, false);
g.characterControl.topControl.registerMenuList(this.costumeMenu.mlTop);
g.characterControl.topControl.registerRGBButton(this.costumeMenu.rgbTop, this.underwearSwatch, 256);
g.characterControl.bottomsControl.registerMenuList(this.costumeMenu.mlBottoms);
g.characterControl.bottomsControl.registerRGBButton(this.costumeMenu.rgbBottoms, this.underwearSwatch, 256, false);
g.characterControl.bottomsControl.registerSecondaryRGBButton(this.costumeMenu.rgbBottoms2, this.underwearSwatch, 256, false);
g.characterControl.legwearControl.registerMenuList(this.costumeMenu.mlLegwear);
g.characterControl.legwearControl.registerRGBButton(this.costumeMenu.rgbLegwear, this.legwearSwatch, 256);
g.characterControl.legwearControl.registerSecondaryRGBButton(this.costumeMenu.rgbLegwear2, this.legwearSwatch, 256);
g.characterControl.legwearBControl.registerMenuList(this.costumeMenu.mlLegwearB);
g.characterControl.legwearBControl.registerRGBButton(this.costumeMenu.rgbLegwearB, this.legwearSwatch, 256);
g.characterControl.legwearBControl.registerSecondaryRGBButton(this.costumeMenu.rgbLegwearB2, this.legwearSwatch, 256);
g.characterControl.footwearControl.registerMenuList(this.costumeMenu.mlFootwear);
g.characterControl.footwearControl.registerRGBButton(this.costumeMenu.rgbFootwear, this.underwearSwatch, 256, false);
g.characterControl.footwearControl.registerSecondaryRGBButton(this.costumeMenu.rgbFootwear2, this.underwearSwatch, 256, false);
g.characterControl.eyewearControl.registerMenuList(this.costumeMenu.mlEyewear);
g.characterControl.eyewearControl.registerRGBButton(this.costumeMenu.rgbEyewear, this.underwearSwatch, 256, false);
g.characterControl.pantiesControl.registerMenuList(this.costumeMenu.mlPanties);
g.characterControl.pantiesControl.registerRGBButton(this.costumeMenu.rgbPanties, this.underwearSwatch, 256, false);
g.characterControl.braControl.registerMenuList(this.costumeMenu.mlBra);
g.characterControl.braControl.registerRGBButton(this.costumeMenu.rgbBra, this.underwearSwatch, 256, false);
g.characterControl.tonguePiercingControl.registerMenuList(this.costumeMenu.mlTonguePiercing);
g.characterControl.tonguePiercingControl.registerRGBButton(this.costumeMenu.rgbTonguePiercing, this.underwearSwatch, 256, false);
g.characterControl.nipplePiercingControl.registerMenuList(this.costumeMenu.mlNipplePiercing);
g.characterControl.nipplePiercingControl.registerRGBButton(this.costumeMenu.rgbNipplePiercing, this.underwearSwatch, 256, false);
g.characterControl.bellyPiercingControl.registerMenuList(this.costumeMenu.mlBellyPiercing);
g.characterControl.bellyPiercingControl.registerRGBButton(this.costumeMenu.rgbBellyPiercing, this.underwearSwatch, 256, false);
g.characterControl.earringControl.registerMenuList(this.costumeMenu.mlEarring);
g.characterControl.earringControl.registerRGBButton(this.costumeMenu.rgbEarring, this.underwearSwatch, 256, false);
g.characterControl.headwearControl.registerMenuList(this.costumeMenu.mlHeadwear);
g.characterControl.headwearControl.registerRGBButton(this.costumeMenu.rgbHeadwear, this.underwearSwatch, 256, false);
g.characterControl.headwearControl.registerSecondaryRGBButton(this.costumeMenu.rgbHeadwear2, this.underwearSwatch, 256, false);
this.sceneMenu.cbAuto.addEventListener(MouseEvent.CLICK, this.cbAutoClicked);
this.sceneMenu.mlAuto.leftArrow.addEventListener(MouseEvent.CLICK, this.autoLeftClicked);
this.sceneMenu.mlAuto.rightArrow.addEventListener(MouseEvent.CLICK, this.autoRightClicked);
this.customMenu.mlHair.leftArrow.addEventListener(MouseEvent.CLICK, this.hairLeftClicked);
this.customMenu.mlHair.rightArrow.addEventListener(MouseEvent.CLICK, this.hairRightClicked);
this.customMenu.mlIris.leftArrow.addEventListener(MouseEvent.CLICK, this.irisLeftClicked);
this.customMenu.mlIris.rightArrow.addEventListener(MouseEvent.CLICK, this.irisRightClicked);
this.customMenu.mlSkin.leftArrow.addEventListener(MouseEvent.CLICK, this.skinLeftClicked);
this.customMenu.mlSkin.rightArrow.addEventListener(MouseEvent.CLICK, this.skinRightClicked);
this.customMenu.mlNose.leftArrow.addEventListener(MouseEvent.CLICK, this.noseLeftClicked);
this.customMenu.mlNose.rightArrow.addEventListener(MouseEvent.CLICK, this.noseRightClicked);
this.customMenu.mlEar.leftArrow.addEventListener(MouseEvent.CLICK, this.earLeftClicked);
this.customMenu.mlEar.rightArrow.addEventListener(MouseEvent.CLICK, this.earRightClicked);
this.customMenu.mlEyebrows.leftArrow.addEventListener(MouseEvent.CLICK, this.eyebrowsLeftClicked);
this.customMenu.mlEyebrows.rightArrow.addEventListener(MouseEvent.CLICK, this.eyebrowsRightClicked);
this.customMenu.breastSlider.setRangeEnd(100);
this.customMenu.breastSlider.addEventListener("handleReleased", this.breastSliderReleased);
this.customMenu.breastSlider.addEventListener("sliderChanged", this.breastSliderChanged);
this.customMenu.bodySlider.setRangeEnd(100);
this.customMenu.bodySlider.addEventListener("handleReleased", this.bodySliderReleased);
this.customMenu.bodySlider.addEventListener("sliderChanged", this.bodySliderChanged);
this.customMenu.mbDefaultBodyScale.addEventListener(MouseEvent.CLICK, this.mbDefaultBodyScaleClicked);
this.customMenu.mascaraSlider.setRangeEnd(70);
this.customMenu.mascaraSlider.addEventListener("handleReleased", this.mascaraSliderReleased);
this.customMenu.mascaraSlider.addEventListener("sliderChanged", this.mascaraSliderChanged);
this.customMenu.mbDefaultMascara.addEventListener(MouseEvent.CLICK, this.defaultMascaraClicked);
this.customMenu.frecklesSlider.setRangeEnd(70);
this.customMenu.frecklesSlider.addEventListener("handleReleased", this.frecklesSliderReleased);
this.customMenu.frecklesSlider.addEventListener("sliderChanged", this.frecklesSliderChanged);
this.customMenu.mbDefaultFreckles.addEventListener(MouseEvent.CLICK, this.defaultFrecklesClicked);
this.customMenu.rgbEyeShadow.addEventListener(MouseEvent.CLICK, this.rgbEyeShadowClicked);
this.customMenu.rgbLipstick.addEventListener(MouseEvent.CLICK, this.rgbLipstickClicked);
this.customMenu.rgbIris.addEventListener(MouseEvent.CLICK, this.rgbIrisClicked);
this.customMenu.rgbEyebrowFill.addEventListener(MouseEvent.CLICK, this.rgbEyebrowFillClicked);
this.customMenu.rgbEyebrowLine.addEventListener(MouseEvent.CLICK, this.rgbEyebrowLineClicked);
this.customMenu.rgbSclera.addEventListener(MouseEvent.CLICK, this.rgbScleraClicked);
this.customMenu.rgbBlush.addEventListener(MouseEvent.CLICK, this.rgbBlushClicked);
this.customMenu.rgbMascara.addEventListener(MouseEvent.CLICK, this.rgbMascaraClicked);
this.customMenu.rgbFreckles.addEventListener(MouseEvent.CLICK, this.rgbFrecklesClicked);
this.customMenu.rgbNailPolish.addEventListener(MouseEvent.CLICK, this.rgbNailPolishClicked);
this.customMenu.dialogueNameTF.addEventListener(Event.CHANGE, this.dialogueNameChanged);
this.customMenu.dialogueNameTF.addEventListener(FocusEvent.FOCUS_IN, this.textFieldFocusIn);
this.customMenu.dialogueNameTF.addEventListener(FocusEvent.FOCUS_OUT, this.textFieldFocusOut);
this.customMenu.mbClearDialogueName.addEventListener(MouseEvent.CLICK, this.mbClearDialogueNameClicked);
this.customMenu.hslHerSkin.addEventListener(MouseEvent.CLICK, this.hslHerSkinClicked);
this.customMenu.hslHerHair.addEventListener(MouseEvent.CLICK, this.hslHerHairClicked);
this.customMenu.hslHisSkin.addEventListener(MouseEvent.CLICK, this.hslHisSkinClicked);
this.customMenu.mbClearTints.addEventListener(MouseEvent.CLICK, this.clearTintsClicked);
this.rgbPicker.closeButton.addEventListener(MouseEvent.CLICK, this.rgbPickerCloseClicked);
this.rgbPicker.rSlider.addEventListener("handleReleased", this.rgbPickerReleased);
this.rgbPicker.gSlider.addEventListener("handleReleased", this.rgbPickerReleased);
this.rgbPicker.bSlider.addEventListener("handleReleased", this.rgbPickerReleased);
this.rgbPicker.alphaControls.aSlider.addEventListener("handleReleased", this.rgbPickerReleased);
this.rgbPicker.rSlider.addEventListener("sliderChanged", this.rgbPickerChanged);
this.rgbPicker.gSlider.addEventListener("sliderChanged", this.rgbPickerChanged);
this.rgbPicker.bSlider.addEventListener("sliderChanged", this.rgbPickerChanged);
this.rgbPicker.alphaControls.aSlider.addEventListener("sliderChanged", this.rgbPickerChanged);
this.rgbPicker.rLabel.addEventListener(Event.CHANGE, this.rgbPickerLabelChanged);
this.rgbPicker.gLabel.addEventListener(Event.CHANGE, this.rgbPickerLabelChanged);
this.rgbPicker.bLabel.addEventListener(Event.CHANGE, this.rgbPickerLabelChanged);
this.rgbPicker.alphaControls.aLabel.addEventListener(Event.CHANGE, this.rgbPickerLabelChanged);
this.rgbPicker.mbCopySwatch.addEventListener(MouseEvent.CLICK, this.copyRGBSwatchClicked);
this.rgbPicker.mbPasteSwatch.addEventListener(MouseEvent.CLICK, this.pasteRGBSwatchClicked);
this.rgbPicker.mbEyedropper.addEventListener(MouseEvent.CLICK, this.eyedropperClicked);
this.hslPicker.closeButton.addEventListener(MouseEvent.CLICK, this.hslPickerCloseClicked);
this.hslPicker.hSlider.addEventListener("handleReleased", this.hslPickerReleased);
this.hslPicker.sSlider.addEventListener("handleReleased", this.hslPickerReleased);
this.hslPicker.lSlider.addEventListener("handleReleased", this.hslPickerReleased);
this.hslPicker.cSlider.addEventListener("handleReleased", this.hslPickerReleased);
this.hslPicker.hSlider.addEventListener("sliderChanged", this.hslPickerChanged);
this.hslPicker.sSlider.addEventListener("sliderChanged", this.hslPickerChanged);
this.hslPicker.lSlider.addEventListener("sliderChanged", this.hslPickerChanged);
this.hslPicker.cSlider.addEventListener("sliderChanged", this.hslPickerChanged);
this.hslPicker.hLabel.addEventListener(Event.CHANGE, this.hslPickerLabelChanged);
this.hslPicker.sLabel.addEventListener(Event.CHANGE, this.hslPickerLabelChanged);
this.hslPicker.lLabel.addEventListener(Event.CHANGE, this.hslPickerLabelChanged);
this.hslPicker.cLabel.addEventListener(Event.CHANGE, this.hslPickerLabelChanged);
this.customMenu.cbLipstickSmearing.addEventListener(MouseEvent.CLICK, this.lipstickSmearingClicked);
this.customMenu.mbShuffle.addEventListener(MouseEvent.CLICK, this.shuffleClicked);
this.moddingMenu.mbGenerate.addEventListener(MouseEvent.CLICK, this.generateClicked);
this.moddingMenu.mbLoad.addEventListener(MouseEvent.CLICK, this.loadClicked);
this.moddingMenu.mbSaveDialogue.addEventListener(MouseEvent.CLICK, this.saveDialogueClicked);
this.moddingMenu.mbLoadDialogue.addEventListener(MouseEvent.CLICK, this.loadDialogueClicked);
this.moddingMenu.mbResetDefaultDialogue.addEventListener(MouseEvent.CLICK, this.resetDefaultDialogueClicked);
this.moddingMenu.mbEditDialogue.addEventListener(MouseEvent.CLICK, this.editDialogueClicked);
this.moddingMenu.mbStoreChar.addEventListener(MouseEvent.CLICK, this.storeCharClicked);
this.moddingMenu.mbSaveBackup.addEventListener(MouseEvent.CLICK, this.saveBackupClicked);
this.moddingMenu.mbLoadBackup.addEventListener(MouseEvent.CLICK, this.loadBackupClicked);
this.moddingMenu.cbOverwriteCharList.addEventListener(MouseEvent.CLICK, this.cbOverwriteCharListClicked);
this.moddingMenu.saveDataTF.addEventListener(FocusEvent.FOCUS_IN, this.textFieldFocusIn);
this.moddingMenu.saveDataTF.addEventListener(FocusEvent.FOCUS_OUT, this.textFieldFocusOut);
this.moddingMenu.dialogueLibraryName.addEventListener(FocusEvent.FOCUS_IN, this.textFieldFocusIn);
this.moddingMenu.dialogueLibraryName.addEventListener(FocusEvent.FOCUS_OUT, this.textFieldFocusOut);
this.moddingMenu.dialogueLibraryName.addEventListener(Event.CHANGE, this.dialogueLibraryNameChanged);
this.charStoring.addEventListener("CHAR_STORED", this.characterStoredSuccessfully);
this.charStoring.addEventListener("CHAR_DELETED", this.characterDeleted);
this.charStoring.closeButton.addEventListener(MouseEvent.CLICK, this.charStoringCloseClicked);
this.charStoring.visible = false;
this.optionsMenu.cbStrandShaders.addEventListener(MouseEvent.CLICK, this.cbStrandShadersClicked);
this.optionsMenu.cbShowMouse.addEventListener(MouseEvent.CLICK, this.cbShowMouseClicked);
this.optionsMenu.cbHoverOptions.addEventListener(MouseEvent.CLICK, this.cbHoverOptionsClicked);
this.optionsMenu.cbLowQuality.addEventListener(MouseEvent.CLICK, this.cbLowQualityClicked);
this.optionsMenu.cbMedQuality.addEventListener(MouseEvent.CLICK, this.cbMedQualityClicked);
this.optionsMenu.cbHighQuality.addEventListener(MouseEvent.CLICK, this.cbHighQualityClicked);
this.optionsMenu.cbMirrored.addEventListener(MouseEvent.CLICK, this.cbMirroredClicked);
this.optionsMenu.volumeSlider.addEventListener("handleReleased", this.volumeChanged);
this.optionsMenu.cbSpit.addEventListener(MouseEvent.CLICK, this.cbSpitClicked);
this.optionsMenu.cbTears.addEventListener(MouseEvent.CLICK, this.cbTearsClicked);
this.optionsMenu.cbMascara.addEventListener(MouseEvent.CLICK, this.cbMascaraClicked);
this.optionsMenu.cbSmudging.addEventListener(MouseEvent.CLICK, this.cbSmudgingClicked);
this.optionsMenu.cbNostrilSpray.addEventListener(MouseEvent.CLICK, this.cbNostrilSprayClicked);
this.optionsMenu.cbSweat.addEventListener(MouseEvent.CLICK, this.cbSweatClicked);
this.optionsMenu.cbDialogue.addEventListener(MouseEvent.CLICK, this.cbDialogueClicked);
this.optionsMenu.throatBulgeSlider.setRangeEnd(100);
this.optionsMenu.throatBulgeSlider.addEventListener("handleReleased", this.throatBulgeSliderReleased);
this.optionsMenu.throatBulgeSlider.addEventListener("sliderChanged", this.throatBulgeSliderChanged);
this.optionsMenu.mbDefaultThroatBulge.addEventListener(MouseEvent.CLICK, this.mbDefaultThroatBulgeClicked);
this.optionsMenu.cbInvertControls.addEventListener(MouseEvent.CLICK, this.cbInvertControlsClicked);
this.optionsMenu.cbDoubleSizeScreenshot.addEventListener(MouseEvent.CLICK, this.cbDoubleSizeScreenshotClicked);
this.optionsMenu.cbIntroSound.addEventListener(MouseEvent.CLICK, this.cbIntroSoundClicked);
this.optionsMenu.cbBreathing.addEventListener(MouseEvent.CLICK, this.cbBreathingClicked);
this.optionsMenu.cbGagging.addEventListener(MouseEvent.CLICK, this.cbGaggingClicked);
this.optionsMenu.cbCoughing.addEventListener(MouseEvent.CLICK, this.cbCoughingClicked);
this.optionsMenu.cbTongue.addEventListener(MouseEvent.CLICK, this.cbTongueClicked);
this.optionsMenu.mbClearSpit.addEventListener(MouseEvent.CLICK, this.clearSpitClicked);
this.optionsMenu.mbClearCum.addEventListener(MouseEvent.CLICK, this.clearCumClicked);
this.optionsMenu.mbClearMascara.addEventListener(MouseEvent.CLICK, this.clearMascaraClicked);
this.optionsMenu.mbClearLipstick.addEventListener(MouseEvent.CLICK, this.clearLipstickClicked);
this.optionsMenu.mbClearAll.addEventListener(MouseEvent.CLICK, this.clearAllClicked);
this.optionsMenu.secretOptions.cbBukkakeMode.addEventListener(MouseEvent.CLICK, this.cbBukkakeModeClicked);
this.costumeMenu.mbSelectCostume.labelContainer.buttonLabel.text = "Select...";
this.optionsMenu.mbClearSpit.labelContainer.buttonLabel.text = "Spit";
this.optionsMenu.mbClearCum.labelContainer.buttonLabel.text = "Cum";
this.optionsMenu.mbClearMascara.labelContainer.buttonLabel.text = "Mascara";
this.optionsMenu.mbClearAll.labelContainer.buttonLabel.text = "All";
this.optionsMenu.mbClearLipstick.labelContainer.buttonLabel.text = "Lipstick";
this.customMenu.mbShuffle.labelContainer.buttonLabel.text = "Shuffle";
this.customMenu.mbClearTints.labelContainer.buttonLabel.text = "Clear All";
this.moddingMenu.mbGenerate.labelContainer.buttonLabel.text = "Generate";
this.moddingMenu.mbLoad.labelContainer.buttonLabel.text = "Load";
this.moddingMenu.mbSaveDialogue.labelContainer.buttonLabel.text = "Save...";
this.moddingMenu.mbLoadDialogue.labelContainer.buttonLabel.text = "Load...";
this.moddingMenu.mbEditDialogue.labelContainer.buttonLabel.text = "Edit...";
this.moddingMenu.mbImportHair.labelContainer.buttonLabel.text = "Hair...";
this.moddingMenu.mbImportBackground.labelContainer.buttonLabel.text = "Background...";
this.moddingMenu.mbImportMod.labelContainer.buttonLabel.text = "Swf mod...";
this.moddingMenu.mbStoreChar.labelContainer.buttonLabel.text = "Save Character...";
this.moddingMenu.mbSaveBackup.labelContainer.buttonLabel.text = "Save...";
this.moddingMenu.mbLoadBackup.labelContainer.buttonLabel.text = "Load...";
this.eyedropperCursor = new EyedropperIcon();
addChild(this.eyedropperCursor);
this.eyedropperCursor.visible = false;
this.updateMoods();
this.updateHisBodyList();
this.updateArmsList();
this.updateHisArmList();
this.updateHisLeftArmList();
this.updateBallsList();
this.updateResistanceSlider();
this.setCBResetResistance();
this.updateThroatResistanceSlider();
this.setCBAuto();
this.updateAutoList();
this.updateZoomSlider();
this.updatePenisLengthSlider();
this.updatePenisWidthSlider();
this.updateBallSizeSlider();
this.updateHairList();
this.irisTypes = g.characterControl.getIrisList();
this.updateIrisList();
this.skinTypes = g.characterControl.getSkinList();
this.updateSkinList();
this.updateNoseList();
this.updateEyebrowsList();
this.updateEarList();
this.updateBreastSlider();
this.updateBodySlider();
this.updateMascaraSlider();
this.updateFrecklesSlider();
this.updateLipstickSmearing();
this.updateCBSpit();
this.updateCBSweat();
this.updateCBTears();
this.updateCBMascara();
this.updateCBSmudging();
this.updateCBNostrilSpray();
this.updateCBIntroSound();
this.updateCBBreathing();
this.updateCBGagging();
this.updateCBCoughing();
this.updateCBTongue();
this.updateThroatBulgeSlider();
this.updateCBDialogue();
this.updateCBDoubleSizeScreenshot();
this.updateTabs();
this.setcbStrandShaders();
this.setcbShowMouse();
this.setQualityCBs();
this.setcbHoverOptions();
this.setcbMirrored();
this.setBGCheckboxes();
this.setStyleCheckboxes();
this.setDialogueLibraryName("Default");
this.updateOverwriteCharList();
return;
}// end function