Section 1
//are_you_sure_animation_72 (Cindy_the_hairstylist_SPIL_FINAL_fla.are_you_sure_animation_72)
package Cindy_the_hairstylist_SPIL_FINAL_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import spill.localisation.*;
import flash.media.*;
import flash.net.*;
import flash.utils.*;
import flash.ui.*;
import flash.system.*;
import flash.external.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
public dynamic class are_you_sure_animation_72 extends MovieClip {
public var __id27_:LocalizedTextField;
public var btn_no:SimpleButton;
public var btn_yes:SimpleButton;
public var __setPropDict:Dictionary;
public var _root;
public function are_you_sure_animation_72(){
__setPropDict = new Dictionary(true);
super();
addFrameScript(19, frame20);
}
public function yesclick(_arg1:MouseEvent){
_root.playSound(new soundbutton());
var _local2:* = _root.getChildByName("window_pause");
_local2.visible = false;
this.visible = false;
_root.quit();
}
public function noclick(_arg1:MouseEvent){
_root.playSound(new soundbutton());
this.visible = false;
}
function __setProp___id27__are_you_sure_animation_Layer3_19(){
if ((((__setPropDict[__id27_] == undefined)) || (!((int(__setPropDict[__id27_]) == 20))))){
__setPropDict[__id27_] = 20;
try {
__id27_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id27_.text = "{quit}";
__id27_.textColor = 0xFFFFFF;
__id27_.textSize = 25;
__id27_.bold = false;
__id27_.disableWordwrap = false;
__id27_.embedFonts = true;
__id27_.font = "Arial";
__id27_.hAlign = "center";
__id27_.multiline = true;
__id27_.vAlign = "middle";
__id27_.antiAliasType = "advanced";
__id27_.glowBlur = 3;
__id27_.glowColor = 0;
__id27_.useGlowFilter = false;
__id27_.glowQuality = 1;
__id27_.glowStrength = 5;
__id27_.gridFitType = "pixel";
__id27_.italic = false;
__id27_.selectable = false;
__id27_.underline = false;
try {
__id27_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
};
}
function frame20(){
__setProp___id27__are_you_sure_animation_Layer3_19();
_root = this.root;
stop();
btn_yes.addEventListener("click", yesclick);
btn_no.addEventListener("click", noclick);
}
}
}//package Cindy_the_hairstylist_SPIL_FINAL_fla
Section 2
//are_you_sure_inside_74 (Cindy_the_hairstylist_SPIL_FINAL_fla.are_you_sure_inside_74)
package Cindy_the_hairstylist_SPIL_FINAL_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import spill.localisation.*;
import flash.media.*;
import flash.net.*;
import flash.utils.*;
import flash.ui.*;
import flash.system.*;
import flash.external.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
public dynamic class are_you_sure_inside_74 extends MovieClip {
public var __id28_:LocalizedTextField;
public function are_you_sure_inside_74(){
__setProp___id28__are_you_sure_inside_Layer1_0();
}
function __setProp___id28__are_you_sure_inside_Layer1_0(){
try {
__id28_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id28_.text = "{quit}";
__id28_.textColor = 0xFFFFFF;
__id28_.textSize = 25;
__id28_.bold = false;
__id28_.disableWordwrap = false;
__id28_.embedFonts = true;
__id28_.font = "Arial";
__id28_.hAlign = "center";
__id28_.multiline = true;
__id28_.vAlign = "middle";
__id28_.antiAliasType = "advanced";
__id28_.glowBlur = 3;
__id28_.glowColor = 0;
__id28_.useGlowFilter = false;
__id28_.glowQuality = 1;
__id28_.glowStrength = 5;
__id28_.gridFitType = "pixel";
__id28_.italic = false;
__id28_.selectable = false;
__id28_.underline = false;
try {
__id28_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package Cindy_the_hairstylist_SPIL_FINAL_fla
Section 3
//award_gallery_79 (Cindy_the_hairstylist_SPIL_FINAL_fla.award_gallery_79)
package Cindy_the_hairstylist_SPIL_FINAL_fla {
import flash.display.*;
import flash.events.*;
public dynamic class award_gallery_79 extends MovieClip {
public var cover_1:MovieClip;
public var cover_2:MovieClip;
public var cover_3:MovieClip;
public var cover_4:MovieClip;
public var btn_back:SimpleButton;
public var cover_5:MovieClip;
public function award_gallery_79(){
addFrameScript(0, frame1);
}
public function backclick(_arg1:MouseEvent){
this.visible = false;
}
function frame1(){
cover_1.mouseEnabled = false;
cover_1.mouseChildren = false;
cover_2.mouseEnabled = false;
cover_2.mouseChildren = false;
cover_3.mouseEnabled = false;
cover_3.mouseChildren = false;
cover_4.mouseEnabled = false;
cover_4.mouseChildren = false;
cover_5.mouseEnabled = false;
cover_5.mouseChildren = false;
btn_back.addEventListener("click", backclick);
}
}
}//package Cindy_the_hairstylist_SPIL_FINAL_fla
Section 4
//btn_award_1_82 (Cindy_the_hairstylist_SPIL_FINAL_fla.btn_award_1_82)
package Cindy_the_hairstylist_SPIL_FINAL_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import spill.localisation.*;
import flash.media.*;
import flash.net.*;
import flash.utils.*;
import flash.ui.*;
import flash.system.*;
import flash.external.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
public dynamic class btn_award_1_82 extends SimpleButton {
public var __id32_:LocalizedTextField;
public var __id33_:LocalizedTextField;
public function btn_award_1_82(){
__setProp___id32__btn_award_1_Layer1_1(DisplayObjectContainer(overState).getChildAt(2));
__setProp___id32__btn_award_1_Layer1_1(DisplayObjectContainer(downState).getChildAt(2));
__setProp___id33__btn_award_1_Layer1_1(DisplayObjectContainer(overState).getChildAt(3));
__setProp___id33__btn_award_1_Layer1_1(DisplayObjectContainer(downState).getChildAt(3));
}
function __setProp___id32__btn_award_1_Layer1_1(_arg1:Object){
var __id32_ = _arg1;
try {
__id32_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id32_.text = "{award_name_1}";
__id32_.textColor = 11682193;
__id32_.textSize = 17;
__id32_.bold = false;
__id32_.disableWordwrap = false;
__id32_.embedFonts = true;
__id32_.font = "Arial";
__id32_.hAlign = "center";
__id32_.multiline = true;
__id32_.vAlign = "bottom";
__id32_.antiAliasType = "advanced";
__id32_.glowBlur = 3;
__id32_.glowColor = 0;
__id32_.useGlowFilter = false;
__id32_.glowQuality = 1;
__id32_.glowStrength = 5;
__id32_.gridFitType = "pixel";
__id32_.italic = false;
__id32_.selectable = false;
__id32_.underline = false;
try {
__id32_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function __setProp___id33__btn_award_1_Layer1_1(_arg1:Object){
var __id33_ = _arg1;
try {
__id33_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id33_.text = "{award_desc_1}";
__id33_.textColor = 0;
__id33_.textSize = 13;
__id33_.bold = false;
__id33_.disableWordwrap = false;
__id33_.embedFonts = true;
__id33_.font = "Arial";
__id33_.hAlign = "center";
__id33_.multiline = true;
__id33_.vAlign = "top";
__id33_.antiAliasType = "advanced";
__id33_.glowBlur = 3;
__id33_.glowColor = 0;
__id33_.useGlowFilter = false;
__id33_.glowQuality = 1;
__id33_.glowStrength = 5;
__id33_.gridFitType = "pixel";
__id33_.italic = false;
__id33_.selectable = false;
__id33_.underline = false;
try {
__id33_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package Cindy_the_hairstylist_SPIL_FINAL_fla
Section 5
//btn_award_2_104 (Cindy_the_hairstylist_SPIL_FINAL_fla.btn_award_2_104)
package Cindy_the_hairstylist_SPIL_FINAL_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import spill.localisation.*;
import flash.media.*;
import flash.net.*;
import flash.utils.*;
import flash.ui.*;
import flash.system.*;
import flash.external.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
public dynamic class btn_award_2_104 extends SimpleButton {
public var __id34_:LocalizedTextField;
public var __id35_:LocalizedTextField;
public function btn_award_2_104(){
__setProp___id34__btn_award_2_Layer1_1(DisplayObjectContainer(overState).getChildAt(2));
__setProp___id34__btn_award_2_Layer1_1(DisplayObjectContainer(downState).getChildAt(2));
__setProp___id35__btn_award_2_Layer1_1(DisplayObjectContainer(overState).getChildAt(3));
__setProp___id35__btn_award_2_Layer1_1(DisplayObjectContainer(downState).getChildAt(3));
}
function __setProp___id34__btn_award_2_Layer1_1(_arg1:Object){
var __id34_ = _arg1;
try {
__id34_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id34_.text = "{award_name_2}";
__id34_.textColor = 11682193;
__id34_.textSize = 17;
__id34_.bold = false;
__id34_.disableWordwrap = false;
__id34_.embedFonts = true;
__id34_.font = "Arial";
__id34_.hAlign = "center";
__id34_.multiline = true;
__id34_.vAlign = "bottom";
__id34_.antiAliasType = "advanced";
__id34_.glowBlur = 3;
__id34_.glowColor = 0;
__id34_.useGlowFilter = false;
__id34_.glowQuality = 1;
__id34_.glowStrength = 5;
__id34_.gridFitType = "pixel";
__id34_.italic = false;
__id34_.selectable = false;
__id34_.underline = false;
try {
__id34_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function __setProp___id35__btn_award_2_Layer1_1(_arg1:Object){
var __id35_ = _arg1;
try {
__id35_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id35_.text = "{award_desc_2}";
__id35_.textColor = 0;
__id35_.textSize = 13;
__id35_.bold = false;
__id35_.disableWordwrap = false;
__id35_.embedFonts = true;
__id35_.font = "Arial";
__id35_.hAlign = "center";
__id35_.multiline = true;
__id35_.vAlign = "top";
__id35_.antiAliasType = "advanced";
__id35_.glowBlur = 3;
__id35_.glowColor = 0;
__id35_.useGlowFilter = false;
__id35_.glowQuality = 1;
__id35_.glowStrength = 5;
__id35_.gridFitType = "pixel";
__id35_.italic = false;
__id35_.selectable = false;
__id35_.underline = false;
try {
__id35_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package Cindy_the_hairstylist_SPIL_FINAL_fla
Section 6
//btn_award_3_108 (Cindy_the_hairstylist_SPIL_FINAL_fla.btn_award_3_108)
package Cindy_the_hairstylist_SPIL_FINAL_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import spill.localisation.*;
import flash.media.*;
import flash.net.*;
import flash.utils.*;
import flash.ui.*;
import flash.system.*;
import flash.external.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
public dynamic class btn_award_3_108 extends SimpleButton {
public var __id37_:LocalizedTextField;
public var __id36_:LocalizedTextField;
public function btn_award_3_108(){
__setProp___id36__btn_award_3_Layer1_1(DisplayObjectContainer(overState).getChildAt(2));
__setProp___id36__btn_award_3_Layer1_1(DisplayObjectContainer(downState).getChildAt(2));
__setProp___id37__btn_award_3_Layer1_1(DisplayObjectContainer(overState).getChildAt(3));
__setProp___id37__btn_award_3_Layer1_1(DisplayObjectContainer(downState).getChildAt(3));
}
function __setProp___id36__btn_award_3_Layer1_1(_arg1:Object){
var __id36_ = _arg1;
try {
__id36_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id36_.text = "{award_name_3}";
__id36_.textColor = 11682193;
__id36_.textSize = 17;
__id36_.bold = false;
__id36_.disableWordwrap = false;
__id36_.embedFonts = true;
__id36_.font = "Arial";
__id36_.hAlign = "center";
__id36_.multiline = true;
__id36_.vAlign = "bottom";
__id36_.antiAliasType = "advanced";
__id36_.glowBlur = 3;
__id36_.glowColor = 0;
__id36_.useGlowFilter = false;
__id36_.glowQuality = 1;
__id36_.glowStrength = 5;
__id36_.gridFitType = "pixel";
__id36_.italic = false;
__id36_.selectable = false;
__id36_.underline = false;
try {
__id36_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function __setProp___id37__btn_award_3_Layer1_1(_arg1:Object){
var __id37_ = _arg1;
try {
__id37_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id37_.text = "{award_desc_3}";
__id37_.textColor = 0;
__id37_.textSize = 13;
__id37_.bold = false;
__id37_.disableWordwrap = false;
__id37_.embedFonts = true;
__id37_.font = "Arial";
__id37_.hAlign = "center";
__id37_.multiline = true;
__id37_.vAlign = "top";
__id37_.antiAliasType = "advanced";
__id37_.glowBlur = 3;
__id37_.glowColor = 0;
__id37_.useGlowFilter = false;
__id37_.glowQuality = 1;
__id37_.glowStrength = 5;
__id37_.gridFitType = "pixel";
__id37_.italic = false;
__id37_.selectable = false;
__id37_.underline = false;
try {
__id37_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package Cindy_the_hairstylist_SPIL_FINAL_fla
Section 7
//btn_award_4_111 (Cindy_the_hairstylist_SPIL_FINAL_fla.btn_award_4_111)
package Cindy_the_hairstylist_SPIL_FINAL_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import spill.localisation.*;
import flash.media.*;
import flash.net.*;
import flash.utils.*;
import flash.ui.*;
import flash.system.*;
import flash.external.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
public dynamic class btn_award_4_111 extends SimpleButton {
public var __id38_:LocalizedTextField;
public var __id39_:LocalizedTextField;
public function btn_award_4_111(){
__setProp___id38__btn_award_4_Layer1_1(DisplayObjectContainer(overState).getChildAt(2));
__setProp___id38__btn_award_4_Layer1_1(DisplayObjectContainer(downState).getChildAt(2));
__setProp___id39__btn_award_4_Layer1_1(DisplayObjectContainer(overState).getChildAt(3));
__setProp___id39__btn_award_4_Layer1_1(DisplayObjectContainer(downState).getChildAt(3));
}
function __setProp___id38__btn_award_4_Layer1_1(_arg1:Object){
var __id38_ = _arg1;
try {
__id38_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id38_.text = "{award_name_4}";
__id38_.textColor = 11682193;
__id38_.textSize = 17;
__id38_.bold = false;
__id38_.disableWordwrap = false;
__id38_.embedFonts = true;
__id38_.font = "Arial";
__id38_.hAlign = "center";
__id38_.multiline = true;
__id38_.vAlign = "bottom";
__id38_.antiAliasType = "advanced";
__id38_.glowBlur = 3;
__id38_.glowColor = 0;
__id38_.useGlowFilter = false;
__id38_.glowQuality = 1;
__id38_.glowStrength = 5;
__id38_.gridFitType = "pixel";
__id38_.italic = false;
__id38_.selectable = false;
__id38_.underline = false;
try {
__id38_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function __setProp___id39__btn_award_4_Layer1_1(_arg1:Object){
var __id39_ = _arg1;
try {
__id39_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id39_.text = "{award_desc_4}";
__id39_.textColor = 0;
__id39_.textSize = 13;
__id39_.bold = false;
__id39_.disableWordwrap = false;
__id39_.embedFonts = true;
__id39_.font = "Arial";
__id39_.hAlign = "center";
__id39_.multiline = true;
__id39_.vAlign = "top";
__id39_.antiAliasType = "advanced";
__id39_.glowBlur = 3;
__id39_.glowColor = 0;
__id39_.useGlowFilter = false;
__id39_.glowQuality = 1;
__id39_.glowStrength = 5;
__id39_.gridFitType = "pixel";
__id39_.italic = false;
__id39_.selectable = false;
__id39_.underline = false;
try {
__id39_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package Cindy_the_hairstylist_SPIL_FINAL_fla
Section 8
//btn_award_5_119 (Cindy_the_hairstylist_SPIL_FINAL_fla.btn_award_5_119)
package Cindy_the_hairstylist_SPIL_FINAL_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import spill.localisation.*;
import flash.media.*;
import flash.net.*;
import flash.utils.*;
import flash.ui.*;
import flash.system.*;
import flash.external.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
public dynamic class btn_award_5_119 extends SimpleButton {
public var __id40_:LocalizedTextField;
public var __id41_:LocalizedTextField;
public function btn_award_5_119(){
__setProp___id40__btn_award_5_Layer1_1(DisplayObjectContainer(overState).getChildAt(2));
__setProp___id40__btn_award_5_Layer1_1(DisplayObjectContainer(downState).getChildAt(2));
__setProp___id41__btn_award_5_Layer1_1(DisplayObjectContainer(overState).getChildAt(3));
__setProp___id41__btn_award_5_Layer1_1(DisplayObjectContainer(downState).getChildAt(3));
}
function __setProp___id40__btn_award_5_Layer1_1(_arg1:Object){
var __id40_ = _arg1;
try {
__id40_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id40_.text = "{award_name_5}";
__id40_.textColor = 11682193;
__id40_.textSize = 17;
__id40_.bold = false;
__id40_.disableWordwrap = false;
__id40_.embedFonts = true;
__id40_.font = "Arial";
__id40_.hAlign = "center";
__id40_.multiline = true;
__id40_.vAlign = "bottom";
__id40_.antiAliasType = "advanced";
__id40_.glowBlur = 3;
__id40_.glowColor = 0;
__id40_.useGlowFilter = false;
__id40_.glowQuality = 1;
__id40_.glowStrength = 5;
__id40_.gridFitType = "pixel";
__id40_.italic = false;
__id40_.selectable = false;
__id40_.underline = false;
try {
__id40_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function __setProp___id41__btn_award_5_Layer1_1(_arg1:Object){
var __id41_ = _arg1;
try {
__id41_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id41_.text = "{award_desc_5}";
__id41_.textColor = 0;
__id41_.textSize = 13;
__id41_.bold = false;
__id41_.disableWordwrap = false;
__id41_.embedFonts = true;
__id41_.font = "Arial";
__id41_.hAlign = "center";
__id41_.multiline = true;
__id41_.vAlign = "top";
__id41_.antiAliasType = "advanced";
__id41_.glowBlur = 3;
__id41_.glowColor = 0;
__id41_.useGlowFilter = false;
__id41_.glowQuality = 1;
__id41_.glowStrength = 5;
__id41_.gridFitType = "pixel";
__id41_.italic = false;
__id41_.selectable = false;
__id41_.underline = false;
try {
__id41_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package Cindy_the_hairstylist_SPIL_FINAL_fla
Section 9
//btn_award_inside_2_145 (Cindy_the_hairstylist_SPIL_FINAL_fla.btn_award_inside_2_145)
package Cindy_the_hairstylist_SPIL_FINAL_fla {
import flash.events.*;
import flash.media.*;
import flash.display.*;
import spill.localisation.*;
import flash.utils.*;
import flash.text.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.net.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.system.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class btn_award_inside_2_145 extends MovieClip {
public var __id44_:LocalizedTextField;
public function btn_award_inside_2_145(){
__setProp___id44__btn_award_inside_2_Layer1_0();
}
function __setProp___id44__btn_award_inside_2_Layer1_0(){
try {
__id44_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id44_.text = "{award}";
__id44_.textColor = 16737945;
__id44_.textSize = 45;
__id44_.bold = false;
__id44_.disableWordwrap = false;
__id44_.embedFonts = true;
__id44_.font = "Arial";
__id44_.hAlign = "center";
__id44_.multiline = true;
__id44_.vAlign = "middle";
__id44_.antiAliasType = "advanced";
__id44_.glowBlur = 3;
__id44_.glowColor = 0;
__id44_.useGlowFilter = false;
__id44_.glowQuality = 1;
__id44_.glowStrength = 5;
__id44_.gridFitType = "pixel";
__id44_.italic = false;
__id44_.selectable = false;
__id44_.underline = false;
try {
__id44_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package Cindy_the_hairstylist_SPIL_FINAL_fla
Section 10
//btn_back_inside_1_124 (Cindy_the_hairstylist_SPIL_FINAL_fla.btn_back_inside_1_124)
package Cindy_the_hairstylist_SPIL_FINAL_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import spill.localisation.*;
import flash.media.*;
import flash.net.*;
import flash.utils.*;
import flash.ui.*;
import flash.system.*;
import flash.external.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
public dynamic class btn_back_inside_1_124 extends MovieClip {
public var __id42_:LocalizedTextField;
public function btn_back_inside_1_124(){
__setProp___id42__btn_back_inside_1_Layer1_0();
}
function __setProp___id42__btn_back_inside_1_Layer1_0(){
try {
__id42_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id42_.text = "{btnBack}";
__id42_.textColor = 16737945;
__id42_.textSize = 35;
__id42_.bold = false;
__id42_.disableWordwrap = false;
__id42_.embedFonts = true;
__id42_.font = "Arial";
__id42_.hAlign = "right";
__id42_.multiline = true;
__id42_.vAlign = "middle";
__id42_.antiAliasType = "advanced";
__id42_.glowBlur = 3;
__id42_.glowColor = 0;
__id42_.useGlowFilter = false;
__id42_.glowQuality = 1;
__id42_.glowStrength = 5;
__id42_.gridFitType = "pixel";
__id42_.italic = false;
__id42_.selectable = false;
__id42_.underline = false;
try {
__id42_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package Cindy_the_hairstylist_SPIL_FINAL_fla
Section 11
//btn_ecndless_inside_2_150 (Cindy_the_hairstylist_SPIL_FINAL_fla.btn_ecndless_inside_2_150)
package Cindy_the_hairstylist_SPIL_FINAL_fla {
import flash.events.*;
import flash.media.*;
import flash.display.*;
import spill.localisation.*;
import flash.utils.*;
import flash.text.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.net.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.system.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class btn_ecndless_inside_2_150 extends MovieClip {
public var __id47_:LocalizedTextField;
public function btn_ecndless_inside_2_150(){
__setProp___id47__btn_ecndless_inside_2_Layer1_0();
}
function __setProp___id47__btn_ecndless_inside_2_Layer1_0(){
try {
__id47_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id47_.text = "{endless}";
__id47_.textColor = 16737945;
__id47_.textSize = 45;
__id47_.bold = false;
__id47_.disableWordwrap = false;
__id47_.embedFonts = true;
__id47_.font = "Arial";
__id47_.hAlign = "center";
__id47_.multiline = true;
__id47_.vAlign = "middle";
__id47_.antiAliasType = "advanced";
__id47_.glowBlur = 3;
__id47_.glowColor = 0;
__id47_.useGlowFilter = false;
__id47_.glowQuality = 1;
__id47_.glowStrength = 5;
__id47_.gridFitType = "pixel";
__id47_.italic = false;
__id47_.selectable = false;
__id47_.underline = false;
try {
__id47_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package Cindy_the_hairstylist_SPIL_FINAL_fla
Section 12
//btn_more_games_inside_2_147 (Cindy_the_hairstylist_SPIL_FINAL_fla.btn_more_games_inside_2_147)
package Cindy_the_hairstylist_SPIL_FINAL_fla {
import flash.events.*;
import flash.media.*;
import flash.display.*;
import spill.localisation.*;
import flash.utils.*;
import flash.text.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.net.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.system.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class btn_more_games_inside_2_147 extends MovieClip {
public var __id45_:LocalizedTextField;
public function btn_more_games_inside_2_147(){
__setProp___id45__btn_more_games_inside_2_Layer1_0();
}
function __setProp___id45__btn_more_games_inside_2_Layer1_0(){
try {
__id45_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id45_.text = "{moreGames}";
__id45_.textColor = 16737945;
__id45_.textSize = 45;
__id45_.bold = false;
__id45_.disableWordwrap = false;
__id45_.embedFonts = true;
__id45_.font = "Arial";
__id45_.hAlign = "center";
__id45_.multiline = true;
__id45_.vAlign = "middle";
__id45_.antiAliasType = "advanced";
__id45_.glowBlur = 3;
__id45_.glowColor = 0;
__id45_.useGlowFilter = false;
__id45_.glowQuality = 1;
__id45_.glowStrength = 5;
__id45_.gridFitType = "pixel";
__id45_.italic = false;
__id45_.selectable = false;
__id45_.underline = false;
try {
__id45_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package Cindy_the_hairstylist_SPIL_FINAL_fla
Section 13
//btn_next_inside_1_318 (Cindy_the_hairstylist_SPIL_FINAL_fla.btn_next_inside_1_318)
package Cindy_the_hairstylist_SPIL_FINAL_fla {
import flash.events.*;
import flash.media.*;
import flash.display.*;
import spill.localisation.*;
import flash.utils.*;
import flash.text.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.net.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.system.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class btn_next_inside_1_318 extends MovieClip {
public var __id51_:LocalizedTextField;
public function btn_next_inside_1_318(){
__setProp___id51__btn_next_inside_1_Layer1_0();
}
function __setProp___id51__btn_next_inside_1_Layer1_0(){
try {
__id51_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id51_.text = "{btnNext}";
__id51_.textColor = 13703797;
__id51_.textSize = 17;
__id51_.bold = false;
__id51_.disableWordwrap = false;
__id51_.embedFonts = true;
__id51_.font = "Arial";
__id51_.hAlign = "center";
__id51_.multiline = true;
__id51_.vAlign = "middle";
__id51_.antiAliasType = "advanced";
__id51_.glowBlur = 3;
__id51_.glowColor = 0;
__id51_.useGlowFilter = false;
__id51_.glowQuality = 1;
__id51_.glowStrength = 5;
__id51_.gridFitType = "pixel";
__id51_.italic = false;
__id51_.selectable = false;
__id51_.underline = false;
try {
__id51_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package Cindy_the_hairstylist_SPIL_FINAL_fla
Section 14
//btn_next_inside_2_15 (Cindy_the_hairstylist_SPIL_FINAL_fla.btn_next_inside_2_15)
package Cindy_the_hairstylist_SPIL_FINAL_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import spill.localisation.*;
import flash.media.*;
import flash.net.*;
import flash.utils.*;
import flash.ui.*;
import flash.system.*;
import flash.external.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
public dynamic class btn_next_inside_2_15 extends MovieClip {
public var __id5_:LocalizedTextField;
public function btn_next_inside_2_15(){
__setProp___id5__btn_next_inside_2_Layer1_0();
}
function __setProp___id5__btn_next_inside_2_Layer1_0(){
try {
__id5_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id5_.text = "{btnNext}";
__id5_.textColor = 16724838;
__id5_.textSize = 35;
__id5_.bold = false;
__id5_.disableWordwrap = false;
__id5_.embedFonts = true;
__id5_.font = "Arial";
__id5_.hAlign = "center";
__id5_.multiline = true;
__id5_.vAlign = "middle";
__id5_.antiAliasType = "advanced";
__id5_.glowBlur = 3;
__id5_.glowColor = 0;
__id5_.useGlowFilter = false;
__id5_.glowQuality = 1;
__id5_.glowStrength = 5;
__id5_.gridFitType = "pixel";
__id5_.italic = false;
__id5_.selectable = false;
__id5_.underline = false;
try {
__id5_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package Cindy_the_hairstylist_SPIL_FINAL_fla
Section 15
//btn_no_inside_3_78 (Cindy_the_hairstylist_SPIL_FINAL_fla.btn_no_inside_3_78)
package Cindy_the_hairstylist_SPIL_FINAL_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import spill.localisation.*;
import flash.media.*;
import flash.net.*;
import flash.utils.*;
import flash.ui.*;
import flash.system.*;
import flash.external.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
public dynamic class btn_no_inside_3_78 extends MovieClip {
public var __id30_:LocalizedTextField;
public function btn_no_inside_3_78(){
__setProp___id30__btn_no_inside_3_Layer1_0();
}
function __setProp___id30__btn_no_inside_3_Layer1_0(){
try {
__id30_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id30_.text = "{btnNo}";
__id30_.textColor = 16737945;
__id30_.textSize = 25;
__id30_.bold = false;
__id30_.disableWordwrap = false;
__id30_.embedFonts = true;
__id30_.font = "Arial";
__id30_.hAlign = "center";
__id30_.multiline = true;
__id30_.vAlign = "middle";
__id30_.antiAliasType = "advanced";
__id30_.glowBlur = 3;
__id30_.glowColor = 0;
__id30_.useGlowFilter = false;
__id30_.glowQuality = 1;
__id30_.glowStrength = 5;
__id30_.gridFitType = "pixel";
__id30_.italic = false;
__id30_.selectable = false;
__id30_.underline = false;
try {
__id30_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package Cindy_the_hairstylist_SPIL_FINAL_fla
Section 16
//btn_normal_inside_2_142 (Cindy_the_hairstylist_SPIL_FINAL_fla.btn_normal_inside_2_142)
package Cindy_the_hairstylist_SPIL_FINAL_fla {
import flash.events.*;
import flash.media.*;
import flash.display.*;
import spill.localisation.*;
import flash.utils.*;
import flash.text.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.net.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.system.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class btn_normal_inside_2_142 extends MovieClip {
public var __id43_:LocalizedTextField;
public function btn_normal_inside_2_142(){
__setProp___id43__btn_normal_inside_2_Layer1_0();
}
function __setProp___id43__btn_normal_inside_2_Layer1_0(){
try {
__id43_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id43_.text = "{normal}";
__id43_.textColor = 16737945;
__id43_.textSize = 45;
__id43_.bold = false;
__id43_.disableWordwrap = false;
__id43_.embedFonts = true;
__id43_.font = "Arial";
__id43_.hAlign = "center";
__id43_.multiline = true;
__id43_.vAlign = "middle";
__id43_.antiAliasType = "advanced";
__id43_.glowBlur = 3;
__id43_.glowColor = 0;
__id43_.useGlowFilter = false;
__id43_.glowQuality = 1;
__id43_.glowStrength = 5;
__id43_.gridFitType = "pixel";
__id43_.italic = false;
__id43_.selectable = false;
__id43_.underline = false;
try {
__id43_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package Cindy_the_hairstylist_SPIL_FINAL_fla
Section 17
//btn_pause_inside_1_304 (Cindy_the_hairstylist_SPIL_FINAL_fla.btn_pause_inside_1_304)
package Cindy_the_hairstylist_SPIL_FINAL_fla {
import flash.events.*;
import flash.media.*;
import flash.display.*;
import spill.localisation.*;
import flash.utils.*;
import flash.text.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.net.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.system.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class btn_pause_inside_1_304 extends MovieClip {
public var __id49_:LocalizedTextField;
public function btn_pause_inside_1_304(){
__setProp___id49__btn_pause_inside_1_Layer1_0();
}
function __setProp___id49__btn_pause_inside_1_Layer1_0(){
try {
__id49_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id49_.text = "{btnPause}";
__id49_.textColor = 16737945;
__id49_.textSize = 35;
__id49_.bold = false;
__id49_.disableWordwrap = false;
__id49_.embedFonts = true;
__id49_.font = "Arial";
__id49_.hAlign = "center";
__id49_.multiline = true;
__id49_.vAlign = "middle";
__id49_.antiAliasType = "advanced";
__id49_.glowBlur = 3;
__id49_.glowColor = 0;
__id49_.useGlowFilter = false;
__id49_.glowQuality = 1;
__id49_.glowStrength = 5;
__id49_.gridFitType = "pixel";
__id49_.italic = false;
__id49_.selectable = false;
__id49_.underline = false;
try {
__id49_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package Cindy_the_hairstylist_SPIL_FINAL_fla
Section 18
//btn_play_again_inside_1_332 (Cindy_the_hairstylist_SPIL_FINAL_fla.btn_play_again_inside_1_332)
package Cindy_the_hairstylist_SPIL_FINAL_fla {
import flash.events.*;
import flash.media.*;
import flash.display.*;
import spill.localisation.*;
import flash.utils.*;
import flash.text.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.net.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.system.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class btn_play_again_inside_1_332 extends MovieClip {
public var __id56_:LocalizedTextField;
public function btn_play_again_inside_1_332(){
__setProp___id56__btn_play_again_inside_1_Layer1_0();
}
function __setProp___id56__btn_play_again_inside_1_Layer1_0(){
try {
__id56_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id56_.text = "{btnPlayAgain}";
__id56_.textColor = 16737945;
__id56_.textSize = 35;
__id56_.bold = false;
__id56_.disableWordwrap = false;
__id56_.embedFonts = true;
__id56_.font = "Arial";
__id56_.hAlign = "center";
__id56_.multiline = true;
__id56_.vAlign = "middle";
__id56_.antiAliasType = "advanced";
__id56_.glowBlur = 3;
__id56_.glowColor = 0;
__id56_.useGlowFilter = false;
__id56_.glowQuality = 1;
__id56_.glowStrength = 5;
__id56_.gridFitType = "pixel";
__id56_.italic = false;
__id56_.selectable = false;
__id56_.underline = false;
try {
__id56_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package Cindy_the_hairstylist_SPIL_FINAL_fla
Section 19
//btn_quit_inside_2_59 (Cindy_the_hairstylist_SPIL_FINAL_fla.btn_quit_inside_2_59)
package Cindy_the_hairstylist_SPIL_FINAL_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import spill.localisation.*;
import flash.media.*;
import flash.net.*;
import flash.utils.*;
import flash.ui.*;
import flash.system.*;
import flash.external.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
public dynamic class btn_quit_inside_2_59 extends MovieClip {
public var __id20_:LocalizedTextField;
public function btn_quit_inside_2_59(){
__setProp___id20__btn_quit_inside_2_Layer1_0();
}
function __setProp___id20__btn_quit_inside_2_Layer1_0(){
try {
__id20_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id20_.text = "{btnQuit}";
__id20_.textColor = 16737945;
__id20_.textSize = 32;
__id20_.bold = false;
__id20_.disableWordwrap = false;
__id20_.embedFonts = true;
__id20_.font = "Arial";
__id20_.hAlign = "right";
__id20_.multiline = true;
__id20_.vAlign = "middle";
__id20_.antiAliasType = "advanced";
__id20_.glowBlur = 3;
__id20_.glowColor = 0;
__id20_.useGlowFilter = false;
__id20_.glowQuality = 1;
__id20_.glowStrength = 5;
__id20_.gridFitType = "pixel";
__id20_.italic = false;
__id20_.selectable = false;
__id20_.underline = false;
try {
__id20_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package Cindy_the_hairstylist_SPIL_FINAL_fla
Section 20
//btn_quit_inside_3_71 (Cindy_the_hairstylist_SPIL_FINAL_fla.btn_quit_inside_3_71)
package Cindy_the_hairstylist_SPIL_FINAL_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import spill.localisation.*;
import flash.media.*;
import flash.net.*;
import flash.utils.*;
import flash.ui.*;
import flash.system.*;
import flash.external.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
public dynamic class btn_quit_inside_3_71 extends MovieClip {
public var __id26_:LocalizedTextField;
public function btn_quit_inside_3_71(){
__setProp___id26__btn_quit_inside_3_Layer1_0();
}
function __setProp___id26__btn_quit_inside_3_Layer1_0(){
try {
__id26_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id26_.text = "{btnQuit}";
__id26_.textColor = 16737945;
__id26_.textSize = 32;
__id26_.bold = false;
__id26_.disableWordwrap = false;
__id26_.embedFonts = true;
__id26_.font = "Arial";
__id26_.hAlign = "center";
__id26_.multiline = true;
__id26_.vAlign = "middle";
__id26_.antiAliasType = "advanced";
__id26_.glowBlur = 3;
__id26_.glowColor = 0;
__id26_.useGlowFilter = false;
__id26_.glowQuality = 1;
__id26_.glowStrength = 5;
__id26_.gridFitType = "pixel";
__id26_.italic = false;
__id26_.selectable = false;
__id26_.underline = false;
try {
__id26_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package Cindy_the_hairstylist_SPIL_FINAL_fla
Section 21
//btn_resume_inside_1_68 (Cindy_the_hairstylist_SPIL_FINAL_fla.btn_resume_inside_1_68)
package Cindy_the_hairstylist_SPIL_FINAL_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import spill.localisation.*;
import flash.media.*;
import flash.net.*;
import flash.utils.*;
import flash.ui.*;
import flash.system.*;
import flash.external.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
public dynamic class btn_resume_inside_1_68 extends MovieClip {
public var __id24_:LocalizedTextField;
public function btn_resume_inside_1_68(){
__setProp___id24__btn_resume_inside_1_Layer1_0();
}
function __setProp___id24__btn_resume_inside_1_Layer1_0(){
try {
__id24_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id24_.text = "{btnResume}";
__id24_.textColor = 16737945;
__id24_.textSize = 32;
__id24_.bold = false;
__id24_.disableWordwrap = false;
__id24_.embedFonts = true;
__id24_.font = "Arial";
__id24_.hAlign = "center";
__id24_.multiline = true;
__id24_.vAlign = "middle";
__id24_.antiAliasType = "advanced";
__id24_.glowBlur = 3;
__id24_.glowColor = 0;
__id24_.useGlowFilter = false;
__id24_.glowQuality = 1;
__id24_.glowStrength = 5;
__id24_.gridFitType = "pixel";
__id24_.italic = false;
__id24_.selectable = false;
__id24_.underline = false;
try {
__id24_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package Cindy_the_hairstylist_SPIL_FINAL_fla
Section 22
//btn_retry_inside_1_57 (Cindy_the_hairstylist_SPIL_FINAL_fla.btn_retry_inside_1_57)
package Cindy_the_hairstylist_SPIL_FINAL_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import spill.localisation.*;
import flash.media.*;
import flash.net.*;
import flash.utils.*;
import flash.ui.*;
import flash.system.*;
import flash.external.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
public dynamic class btn_retry_inside_1_57 extends MovieClip {
public var __id19_:LocalizedTextField;
public function btn_retry_inside_1_57(){
__setProp___id19__btn_retry_inside_1_Layer1_0();
}
function __setProp___id19__btn_retry_inside_1_Layer1_0(){
try {
__id19_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id19_.text = "{btnRetry}";
__id19_.textColor = 16737945;
__id19_.textSize = 32;
__id19_.bold = false;
__id19_.disableWordwrap = false;
__id19_.embedFonts = true;
__id19_.font = "Arial";
__id19_.hAlign = "center";
__id19_.multiline = true;
__id19_.vAlign = "middle";
__id19_.antiAliasType = "advanced";
__id19_.glowBlur = 3;
__id19_.glowColor = 0;
__id19_.useGlowFilter = false;
__id19_.glowQuality = 1;
__id19_.glowStrength = 5;
__id19_.gridFitType = "pixel";
__id19_.italic = false;
__id19_.selectable = false;
__id19_.underline = false;
try {
__id19_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package Cindy_the_hairstylist_SPIL_FINAL_fla
Section 23
//btn_submit_inside_1_330 (Cindy_the_hairstylist_SPIL_FINAL_fla.btn_submit_inside_1_330)
package Cindy_the_hairstylist_SPIL_FINAL_fla {
import flash.events.*;
import flash.media.*;
import flash.display.*;
import spill.localisation.*;
import flash.utils.*;
import flash.text.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.net.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.system.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class btn_submit_inside_1_330 extends MovieClip {
public var __id55_:LocalizedTextField;
public function btn_submit_inside_1_330(){
__setProp___id55__btn_submit_inside_1_Layer1_0();
}
function __setProp___id55__btn_submit_inside_1_Layer1_0(){
try {
__id55_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id55_.text = "{btnSubmit}";
__id55_.textColor = 16737945;
__id55_.textSize = 35;
__id55_.bold = false;
__id55_.disableWordwrap = false;
__id55_.embedFonts = true;
__id55_.font = "Arial";
__id55_.hAlign = "center";
__id55_.multiline = true;
__id55_.vAlign = "middle";
__id55_.antiAliasType = "advanced";
__id55_.glowBlur = 3;
__id55_.glowColor = 0;
__id55_.useGlowFilter = false;
__id55_.glowQuality = 1;
__id55_.glowStrength = 5;
__id55_.gridFitType = "pixel";
__id55_.italic = false;
__id55_.selectable = false;
__id55_.underline = false;
try {
__id55_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package Cindy_the_hairstylist_SPIL_FINAL_fla
Section 24
//btnYes_inside_2_76 (Cindy_the_hairstylist_SPIL_FINAL_fla.btnYes_inside_2_76)
package Cindy_the_hairstylist_SPIL_FINAL_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import spill.localisation.*;
import flash.media.*;
import flash.net.*;
import flash.utils.*;
import flash.ui.*;
import flash.system.*;
import flash.external.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
public dynamic class btnYes_inside_2_76 extends MovieClip {
public var __id29_:LocalizedTextField;
public function btnYes_inside_2_76(){
__setProp___id29__btnYes_inside_2_Layer1_0();
}
function __setProp___id29__btnYes_inside_2_Layer1_0(){
try {
__id29_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id29_.text = "{btnYes}";
__id29_.textColor = 16737945;
__id29_.textSize = 25;
__id29_.bold = false;
__id29_.disableWordwrap = false;
__id29_.embedFonts = true;
__id29_.font = "Arial";
__id29_.hAlign = "center";
__id29_.multiline = true;
__id29_.vAlign = "middle";
__id29_.antiAliasType = "advanced";
__id29_.glowBlur = 3;
__id29_.glowColor = 0;
__id29_.useGlowFilter = false;
__id29_.glowQuality = 1;
__id29_.glowStrength = 5;
__id29_.gridFitType = "pixel";
__id29_.italic = false;
__id29_.selectable = false;
__id29_.underline = false;
try {
__id29_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package Cindy_the_hairstylist_SPIL_FINAL_fla
Section 25
//char_tamu_1_wait_sit_375 (Cindy_the_hairstylist_SPIL_FINAL_fla.char_tamu_1_wait_sit_375)
package Cindy_the_hairstylist_SPIL_FINAL_fla {
import flash.display.*;
public dynamic class char_tamu_1_wait_sit_375 extends MovieClip {
public function char_tamu_1_wait_sit_375(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package Cindy_the_hairstylist_SPIL_FINAL_fla
Section 26
//color_panel_305 (Cindy_the_hairstylist_SPIL_FINAL_fla.color_panel_305)
package Cindy_the_hairstylist_SPIL_FINAL_fla {
import flash.events.*;
import flash.media.*;
import flash.display.*;
import flash.utils.*;
import flash.text.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.net.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.system.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class color_panel_305 extends MovieClip {
public var btn_blue:SimpleButton;
public var btn_green:SimpleButton;
public var btn_red:SimpleButton;
public var btn_black:SimpleButton;
public var btn_yellow:SimpleButton;
public var _root;
public function color_panel_305(){
addFrameScript(0, frame1);
}
public function redclick(_arg1:MouseEvent){
_root.playSound(new soundbutton());
_root.color_pick = "red";
}
public function yellowclick(_arg1:MouseEvent){
_root.playSound(new soundbutton());
_root.color_pick = "yellow";
}
public function greenclick(_arg1:MouseEvent){
_root.playSound(new soundbutton());
_root.color_pick = "green";
}
public function blueclick(_arg1:MouseEvent){
_root.playSound(new soundbutton());
_root.color_pick = "blue";
}
public function blackclick(_arg1:MouseEvent){
_root.playSound(new soundbutton());
_root.color_pick = "black";
}
function frame1(){
btn_red.addEventListener("click", redclick);
btn_yellow.addEventListener("click", yellowclick);
btn_green.addEventListener("click", greenclick);
btn_blue.addEventListener("click", blueclick);
btn_black.addEventListener("click", blackclick);
_root = this.root;
}
}
}//package Cindy_the_hairstylist_SPIL_FINAL_fla
Section 27
//cover_depan_139 (Cindy_the_hairstylist_SPIL_FINAL_fla.cover_depan_139)
package Cindy_the_hairstylist_SPIL_FINAL_fla {
import flash.events.*;
import flash.media.*;
import flash.display.*;
import flash.utils.*;
import flash.text.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.net.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.system.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class cover_depan_139 extends MovieClip {
public var btn_more_games:SimpleButton;
public var btn_play:SimpleButton;
public var btn_award:SimpleButton;
public var btn_endless:SimpleButton;
public var _root;
public function cover_depan_139(){
addFrameScript(0, frame1);
}
public function playclick(_arg1:MouseEvent){
_root.playSound(new soundbutton2());
_root.gotoPage(7);
_root.game_mode = 1;
}
public function awardclick(_arg1:MouseEvent){
var _local2:* = _root.getChildByName("gallery");
var _local3:* = _local2.getChildByName("cover_1");
var _local4:* = _local2.getChildByName("cover_2");
var _local5:* = _local2.getChildByName("cover_3");
var _local6:* = _local2.getChildByName("cover_4");
var _local7:* = _local2.getChildByName("cover_5");
if (_root.award_1_achieved){
_local3.visible = false;
};
if (_root.award_2_achieved){
_local4.visible = false;
};
if (_root.award_3_achieved){
_local5.visible = false;
};
if (_root.award_4_achieved){
_local6.visible = false;
};
if (_root.award_5_achieved){
_local7.visible = false;
};
_local2.visible = true;
}
public function endlessclick(_arg1:MouseEvent){
_root.playSound(new soundbutton2());
_root.gotoPage(7);
_root.game_mode = 2;
}
public function moregames(_arg1:MouseEvent){
_root.getmoregames();
}
function frame1(){
_root = this.root;
btn_play.addEventListener("click", playclick);
btn_award.addEventListener("click", awardclick);
btn_endless.addEventListener("click", endlessclick);
btn_more_games.addEventListener("click", moregames);
}
}
}//package Cindy_the_hairstylist_SPIL_FINAL_fla
Section 28
//cover_salon_tect_148 (Cindy_the_hairstylist_SPIL_FINAL_fla.cover_salon_tect_148)
package Cindy_the_hairstylist_SPIL_FINAL_fla {
import flash.events.*;
import flash.media.*;
import flash.display.*;
import spill.localisation.*;
import flash.utils.*;
import flash.text.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.net.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.system.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class cover_salon_tect_148 extends MovieClip {
public var __id46_:LocalizedTextField;
public function cover_salon_tect_148(){
__setProp___id46__cover_salon_tect_Layer1_0();
}
function __setProp___id46__cover_salon_tect_Layer1_0(){
try {
__id46_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id46_.text = "{hairstylist}";
__id46_.textColor = 8068412;
__id46_.textSize = 40;
__id46_.bold = false;
__id46_.disableWordwrap = false;
__id46_.embedFonts = true;
__id46_.font = "Boulder";
__id46_.hAlign = "left";
__id46_.multiline = true;
__id46_.vAlign = "middle";
__id46_.antiAliasType = "advanced";
__id46_.glowBlur = 3;
__id46_.glowColor = 0;
__id46_.useGlowFilter = false;
__id46_.glowQuality = 1;
__id46_.glowStrength = 5;
__id46_.gridFitType = "pixel";
__id46_.italic = false;
__id46_.selectable = false;
__id46_.underline = false;
try {
__id46_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package Cindy_the_hairstylist_SPIL_FINAL_fla
Section 29
//cover_text_inside_151 (Cindy_the_hairstylist_SPIL_FINAL_fla.cover_text_inside_151)
package Cindy_the_hairstylist_SPIL_FINAL_fla {
import flash.events.*;
import flash.media.*;
import flash.display.*;
import spill.localisation.*;
import flash.utils.*;
import flash.text.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.net.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.system.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class cover_text_inside_151 extends MovieClip {
public var __id48_:LocalizedTextField;
public function cover_text_inside_151(){
__setProp___id48__cover_text_inside_Layer1_0();
}
function __setProp___id48__cover_text_inside_Layer1_0(){
try {
__id48_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id48_.text = "{hairstylist}";
__id48_.textColor = 8068412;
__id48_.textSize = 40;
__id48_.bold = false;
__id48_.disableWordwrap = false;
__id48_.embedFonts = true;
__id48_.font = "Arial";
__id48_.hAlign = "right";
__id48_.multiline = true;
__id48_.vAlign = "middle";
__id48_.antiAliasType = "advanced";
__id48_.glowBlur = 3;
__id48_.glowColor = 0;
__id48_.useGlowFilter = false;
__id48_.glowQuality = 1;
__id48_.glowStrength = 5;
__id48_.gridFitType = "pixel";
__id48_.italic = false;
__id48_.selectable = false;
__id48_.underline = false;
try {
__id48_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package Cindy_the_hairstylist_SPIL_FINAL_fla
Section 30
//door_289 (Cindy_the_hairstylist_SPIL_FINAL_fla.door_289)
package Cindy_the_hairstylist_SPIL_FINAL_fla {
import flash.display.*;
public dynamic class door_289 extends MovieClip {
public function door_289(){
addFrameScript(0, frame1, 10, frame11);
}
function frame1(){
stop();
}
function frame11(){
stop();
}
}
}//package Cindy_the_hairstylist_SPIL_FINAL_fla
Section 31
//earn_text_inside_1_328 (Cindy_the_hairstylist_SPIL_FINAL_fla.earn_text_inside_1_328)
package Cindy_the_hairstylist_SPIL_FINAL_fla {
import flash.events.*;
import flash.media.*;
import flash.display.*;
import spill.localisation.*;
import flash.utils.*;
import flash.text.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.net.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.system.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class earn_text_inside_1_328 extends MovieClip {
public var __id54_:LocalizedTextField;
public function earn_text_inside_1_328(){
__setProp___id54__earn_text_inside_1_Layer1_0();
}
function __setProp___id54__earn_text_inside_1_Layer1_0(){
try {
__id54_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id54_.text = "{earn}";
__id54_.textColor = 16777036;
__id54_.textSize = 27;
__id54_.bold = false;
__id54_.disableWordwrap = false;
__id54_.embedFonts = true;
__id54_.font = "Arial";
__id54_.hAlign = "right";
__id54_.multiline = true;
__id54_.vAlign = "middle";
__id54_.antiAliasType = "advanced";
__id54_.glowBlur = 3;
__id54_.glowColor = 0;
__id54_.useGlowFilter = false;
__id54_.glowQuality = 1;
__id54_.glowStrength = 5;
__id54_.gridFitType = "pixel";
__id54_.italic = false;
__id54_.selectable = false;
__id54_.underline = false;
try {
__id54_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package Cindy_the_hairstylist_SPIL_FINAL_fla
Section 32
//expert_goal_inside_1_405 (Cindy_the_hairstylist_SPIL_FINAL_fla.expert_goal_inside_1_405)
package Cindy_the_hairstylist_SPIL_FINAL_fla {
import flash.events.*;
import flash.media.*;
import flash.display.*;
import spill.localisation.*;
import flash.utils.*;
import flash.text.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.net.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.system.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class expert_goal_inside_1_405 extends MovieClip {
public var __id62_:LocalizedTextField;
public function expert_goal_inside_1_405(){
__setProp___id62__expert_goal_inside_1_Layer1_0();
}
function __setProp___id62__expert_goal_inside_1_Layer1_0(){
try {
__id62_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id62_.text = "{expert}";
__id62_.textColor = 16737945;
__id62_.textSize = 80;
__id62_.bold = false;
__id62_.disableWordwrap = false;
__id62_.embedFonts = true;
__id62_.font = "Arial";
__id62_.hAlign = "center";
__id62_.multiline = true;
__id62_.vAlign = "middle";
__id62_.antiAliasType = "advanced";
__id62_.glowBlur = 3;
__id62_.glowColor = 0;
__id62_.useGlowFilter = false;
__id62_.glowQuality = 1;
__id62_.glowStrength = 5;
__id62_.gridFitType = "pixel";
__id62_.italic = false;
__id62_.selectable = false;
__id62_.underline = false;
try {
__id62_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package Cindy_the_hairstylist_SPIL_FINAL_fla
Section 33
//expert_text_inside_1_327 (Cindy_the_hairstylist_SPIL_FINAL_fla.expert_text_inside_1_327)
package Cindy_the_hairstylist_SPIL_FINAL_fla {
import flash.events.*;
import flash.media.*;
import flash.display.*;
import spill.localisation.*;
import flash.utils.*;
import flash.text.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.net.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.system.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class expert_text_inside_1_327 extends MovieClip {
public var __id53_:LocalizedTextField;
public function expert_text_inside_1_327(){
__setProp___id53__expert_text_inside_1_Layer1_0();
}
function __setProp___id53__expert_text_inside_1_Layer1_0(){
try {
__id53_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id53_.text = "{expert}";
__id53_.textColor = 16777036;
__id53_.textSize = 27;
__id53_.bold = false;
__id53_.disableWordwrap = false;
__id53_.embedFonts = true;
__id53_.font = "Arial";
__id53_.hAlign = "right";
__id53_.multiline = true;
__id53_.vAlign = "middle";
__id53_.antiAliasType = "advanced";
__id53_.glowBlur = 3;
__id53_.glowColor = 0;
__id53_.useGlowFilter = false;
__id53_.glowQuality = 1;
__id53_.glowStrength = 5;
__id53_.gridFitType = "pixel";
__id53_.italic = false;
__id53_.selectable = false;
__id53_.underline = false;
try {
__id53_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package Cindy_the_hairstylist_SPIL_FINAL_fla
Section 34
//expert_text_inside_63 (Cindy_the_hairstylist_SPIL_FINAL_fla.expert_text_inside_63)
package Cindy_the_hairstylist_SPIL_FINAL_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import spill.localisation.*;
import flash.media.*;
import flash.net.*;
import flash.utils.*;
import flash.ui.*;
import flash.system.*;
import flash.external.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
public dynamic class expert_text_inside_63 extends MovieClip {
public var __id23_:LocalizedTextField;
public function expert_text_inside_63(){
__setProp___id23__expert_text_inside_Layer1_0();
}
function __setProp___id23__expert_text_inside_Layer1_0(){
try {
__id23_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id23_.text = "{expert}";
__id23_.textColor = 16737945;
__id23_.textSize = 45;
__id23_.bold = false;
__id23_.disableWordwrap = false;
__id23_.embedFonts = true;
__id23_.font = "Arial";
__id23_.hAlign = "center";
__id23_.multiline = true;
__id23_.vAlign = "middle";
__id23_.antiAliasType = "advanced";
__id23_.glowBlur = 3;
__id23_.glowColor = 0;
__id23_.useGlowFilter = false;
__id23_.glowQuality = 1;
__id23_.glowStrength = 5;
__id23_.gridFitType = "pixel";
__id23_.italic = false;
__id23_.selectable = false;
__id23_.underline = false;
try {
__id23_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package Cindy_the_hairstylist_SPIL_FINAL_fla
Section 35
//firecrack_335 (Cindy_the_hairstylist_SPIL_FINAL_fla.firecrack_335)
package Cindy_the_hairstylist_SPIL_FINAL_fla {
import flash.display.*;
public dynamic class firecrack_335 extends MovieClip {
public function firecrack_335(){
addFrameScript(10, frame11);
}
function frame11(){
stop();
}
}
}//package Cindy_the_hairstylist_SPIL_FINAL_fla
Section 36
//firecrack2_336 (Cindy_the_hairstylist_SPIL_FINAL_fla.firecrack2_336)
package Cindy_the_hairstylist_SPIL_FINAL_fla {
import flash.display.*;
public dynamic class firecrack2_336 extends MovieClip {
public function firecrack2_336(){
addFrameScript(10, frame11);
}
function frame11(){
stop();
}
}
}//package Cindy_the_hairstylist_SPIL_FINAL_fla
Section 37
//flag_icon_412 (Cindy_the_hairstylist_SPIL_FINAL_fla.flag_icon_412)
package Cindy_the_hairstylist_SPIL_FINAL_fla {
import flash.display.*;
public dynamic class flag_icon_412 extends MovieClip {
public function flag_icon_412(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package Cindy_the_hairstylist_SPIL_FINAL_fla
Section 38
//goal_movie_inside_1_409 (Cindy_the_hairstylist_SPIL_FINAL_fla.goal_movie_inside_1_409)
package Cindy_the_hairstylist_SPIL_FINAL_fla {
import flash.events.*;
import flash.media.*;
import flash.display.*;
import spill.localisation.*;
import flash.utils.*;
import flash.text.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.net.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.system.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class goal_movie_inside_1_409 extends MovieClip {
public var __id63_:LocalizedTextField;
public function goal_movie_inside_1_409(){
__setProp___id63__goal_movie_inside_1_Layer1_0();
}
function __setProp___id63__goal_movie_inside_1_Layer1_0(){
try {
__id63_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id63_.text = "{goal}";
__id63_.textColor = 16737945;
__id63_.textSize = 80;
__id63_.bold = false;
__id63_.disableWordwrap = false;
__id63_.embedFonts = true;
__id63_.font = "Arial";
__id63_.hAlign = "center";
__id63_.multiline = true;
__id63_.vAlign = "middle";
__id63_.antiAliasType = "advanced";
__id63_.glowBlur = 3;
__id63_.glowColor = 0;
__id63_.useGlowFilter = false;
__id63_.glowQuality = 1;
__id63_.glowStrength = 5;
__id63_.gridFitType = "pixel";
__id63_.italic = false;
__id63_.selectable = false;
__id63_.underline = false;
try {
__id63_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package Cindy_the_hairstylist_SPIL_FINAL_fla
Section 39
//goal_text_inside_1_326 (Cindy_the_hairstylist_SPIL_FINAL_fla.goal_text_inside_1_326)
package Cindy_the_hairstylist_SPIL_FINAL_fla {
import flash.events.*;
import flash.media.*;
import flash.display.*;
import spill.localisation.*;
import flash.utils.*;
import flash.text.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.net.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.system.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class goal_text_inside_1_326 extends MovieClip {
public var __id52_:LocalizedTextField;
public function goal_text_inside_1_326(){
__setProp___id52__goal_text_inside_1_Layer1_0();
}
function __setProp___id52__goal_text_inside_1_Layer1_0(){
try {
__id52_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id52_.text = "{goal}";
__id52_.textColor = 16777036;
__id52_.textSize = 27;
__id52_.bold = false;
__id52_.disableWordwrap = false;
__id52_.embedFonts = true;
__id52_.font = "Arial";
__id52_.hAlign = "right";
__id52_.multiline = true;
__id52_.vAlign = "middle";
__id52_.antiAliasType = "advanced";
__id52_.glowBlur = 3;
__id52_.glowColor = 0;
__id52_.useGlowFilter = false;
__id52_.glowQuality = 1;
__id52_.glowStrength = 5;
__id52_.gridFitType = "pixel";
__id52_.italic = false;
__id52_.selectable = false;
__id52_.underline = false;
try {
__id52_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package Cindy_the_hairstylist_SPIL_FINAL_fla
Section 40
//hair_370 (Cindy_the_hairstylist_SPIL_FINAL_fla.hair_370)
package Cindy_the_hairstylist_SPIL_FINAL_fla {
import flash.display.*;
public dynamic class hair_370 extends MovieClip {
public function hair_370(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package Cindy_the_hairstylist_SPIL_FINAL_fla
Section 41
//heart_371 (Cindy_the_hairstylist_SPIL_FINAL_fla.heart_371)
package Cindy_the_hairstylist_SPIL_FINAL_fla {
import flash.display.*;
public dynamic class heart_371 extends MovieClip {
public function heart_371(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package Cindy_the_hairstylist_SPIL_FINAL_fla
Section 42
//jam_291 (Cindy_the_hairstylist_SPIL_FINAL_fla.jam_291)
package Cindy_the_hairstylist_SPIL_FINAL_fla {
import flash.display.*;
public dynamic class jam_291 extends MovieClip {
public function jam_291(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package Cindy_the_hairstylist_SPIL_FINAL_fla
Section 43
//loading_bar_320 (Cindy_the_hairstylist_SPIL_FINAL_fla.loading_bar_320)
package Cindy_the_hairstylist_SPIL_FINAL_fla {
import flash.display.*;
public dynamic class loading_bar_320 extends MovieClip {
public function loading_bar_320(){
addFrameScript(99, frame100);
}
function frame100(){
stop();
}
}
}//package Cindy_the_hairstylist_SPIL_FINAL_fla
Section 44
//logo_racoon_games_127 (Cindy_the_hairstylist_SPIL_FINAL_fla.logo_racoon_games_127)
package Cindy_the_hairstylist_SPIL_FINAL_fla {
import flash.events.*;
import flash.media.*;
import flash.display.*;
import flash.utils.*;
import flash.text.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.net.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.system.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class logo_racoon_games_127 extends MovieClip {
public var _root;
public function logo_racoon_games_127(){
addFrameScript(62, frame63);
}
function frame63(){
_root = this.root;
_root.gotoPage(4);
stop();
}
}
}//package Cindy_the_hairstylist_SPIL_FINAL_fla
Section 45
//logo_racoon_games_inside_128 (Cindy_the_hairstylist_SPIL_FINAL_fla.logo_racoon_games_inside_128)
package Cindy_the_hairstylist_SPIL_FINAL_fla {
import flash.events.*;
import flash.media.*;
import flash.display.*;
import flash.utils.*;
import flash.text.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.net.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.system.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class logo_racoon_games_inside_128 extends MovieClip {
public var _root;
public function logo_racoon_games_inside_128(){
addFrameScript(0, frame1, 7, frame8, 13, frame14, 19, frame20, 25, frame26, 59, frame60, 64, frame65, 65, frame66, 71, frame72, 77, frame78);
}
function frame1(){
_root = this.root;
}
function frame8(){
_root.playSound(new soundekor());
}
function frame14(){
_root.playSound(new soundekor());
}
function frame20(){
_root.playSound(new soundekor());
}
function frame26(){
_root.playSound(new soundekor());
}
function frame60(){
_root.playSound(new soundekor());
}
function frame65(){
stop();
}
function frame66(){
_root.playSound(new soundekor());
}
function frame72(){
_root.playSound(new soundekor());
}
function frame78(){
_root.playSound(new soundekor());
}
}
}//package Cindy_the_hairstylist_SPIL_FINAL_fla
Section 46
//logo_racoongames_inside_inside_135 (Cindy_the_hairstylist_SPIL_FINAL_fla.logo_racoongames_inside_inside_135)
package Cindy_the_hairstylist_SPIL_FINAL_fla {
import flash.events.*;
import flash.media.*;
import flash.display.*;
import flash.utils.*;
import flash.text.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.net.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.system.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class logo_racoongames_inside_inside_135 extends MovieClip {
public var _root;
public function logo_racoongames_inside_inside_135(){
addFrameScript(0, frame1, 12, frame13, 15, frame16, 62, frame63);
}
function frame1(){
_root = this.root;
}
function frame13(){
_root.playSound(new soundmata());
}
function frame16(){
_root.playSound(new soundmata());
}
function frame63(){
stop();
}
}
}//package Cindy_the_hairstylist_SPIL_FINAL_fla
Section 47
//logo_racoongames_inside_Inside3_138 (Cindy_the_hairstylist_SPIL_FINAL_fla.logo_racoongames_inside_Inside3_138)
package Cindy_the_hairstylist_SPIL_FINAL_fla {
import flash.events.*;
import flash.media.*;
import flash.display.*;
import flash.utils.*;
import flash.text.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.net.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.system.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class logo_racoongames_inside_Inside3_138 extends MovieClip {
public var _root;
public function logo_racoongames_inside_Inside3_138(){
addFrameScript(7, frame8, 11, frame12);
}
function frame8(){
_root = this.root;
_root.playSound(new soundjatuh());
}
function frame12(){
stop();
}
}
}//package Cindy_the_hairstylist_SPIL_FINAL_fla
Section 48
//MainTimeline (Cindy_the_hairstylist_SPIL_FINAL_fla.MainTimeline)
package Cindy_the_hairstylist_SPIL_FINAL_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import spill.localisation.*;
import Playtomic.*;
import flash.media.*;
import com.spilgames.api.*;
import flash.net.*;
import flash.utils.*;
import flash.ui.*;
import flash.system.*;
import flash.external.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
public dynamic class MainTimeline extends MovieClip {
public var btn_submit:SimpleButton;
public var next_tutor:SimpleButton;
public var window_winlose:MovieClip;
public var goal_panel:MovieClip;
public var scissor:SimpleButton;
public var tutorial:MovieClip;
public var cust_holder:MovieClip;
public var __id2_:LocalizedTextField;
public var expert_text:TextField;
public var clock:MovieClip;
public var btn_play_again:SimpleButton;
public var w_chair_2:washingchair;
public var karakter:char;
public var combo_holder:MovieClip;
public var ribbon:SimpleButton;
public var w_chair_3:washingchair;
public var __id1_:LocalizedTextField;
public var color_panel:MovieClip;
public var door:MovieClip;
public var w_chair_1:washingchair;
public var chair_1:chair;
public var btn_spil:SpilGamesLink;
public var border:MovieClip;
public var chair_2:chair;
public var goal_text:TextField;
public var chair_3:chair;
public var bar:MovieClip;
public var color:SimpleButton;
public var slot_1:MovieClip;
public var chair_4:chair;
public var gallery:MovieClip;
public var window_pause:MovieClip;
public var page_motion:MovieClip;
public var expert_panel:MovieClip;
public var pause:SimpleButton;
public var perm:SimpleButton;
public var slot_2:MovieClip;
public var chair_5:chair;
public var window_endless:MovieClip;
public var score_end:TextField;
public var slot_3:MovieClip;
public var btn_moregamesat:SimpleButton;
public var window_sure:MovieClip;
public var ion:SimpleButton;
public var slot_4:MovieClip;
public var ready_fail:TextField;
public var window_notif:MovieClip;
public var window_day:MovieClip;
public var persen:TextField;
public var arrow:MovieClip;
public var score_text:TextField;
public var slot_5:MovieClip;
public var queue_holder:MovieClip;
public var __setPropDict:Dictionary;
public var spilGamesServices:SpilGamesServices;
public var _debugDisplay:TextField;
public var xmlData:XML;
public var game_ready;
public var slot_1_empty;
public var slot_2_empty;
public var slot_3_empty;
public var slot_4_empty;
public var slot_5_empty;
public var color_pick;
public var score;
public var total_score;
public var goal_showing;
public var expert_bonus;
public var time;
public var timeout;
public var level_time_limit;
public var award_1_achieved;
public var award_2_achieved;
public var award_3_achieved;
public var award_4_achieved;
public var award_5_achieved;
public var award_showed;
public var wash_number;
public var cut_combo;
public var perm_number;
public var angry_number;
public var ion_number;
public var goal;
public var expert_goal;
public var expert_achieved;
public var goal_achieved;
public var level;
public var win;
public var lose;
public var spawn_delay;
public var spawn_interval;
public var sound_on;
public var tutor_number;
public var tutor_done;
public var game_mode;
public var life;
public var speed_up;
public var last_score:Number;
public var MySaveData:SharedObject;
public var ch;
public var onlist;
public var onlistnum;
public var i;
public function MainTimeline(){
__setPropDict = new Dictionary(true);
super();
addFrameScript(0, frame1, 2, frame3, 3, frame4, 6, frame7, 7, frame8);
}
public function submitScore(_arg1:Number){
ScoreService.submitScore(_arg1, onScoreRequestProcessed);
}
public function onScoreRequestProcessed(_arg1:int, _arg2:Object):void{
_debugDisplay.appendText(("onScoreRequestProcessed" + "\n"));
_debugDisplay.appendText((("\tcallbackID: " + _arg1) + "\n"));
if (!_arg2.errorMessage){
_debugDisplay.appendText((("\txml: " + _arg2.xml) + "\n"));
} else {
_debugDisplay.appendText((("\tError in request: " + _arg2.errorMessage) + "\n"));
};
}
public function submitAward2(){
AwardsService.submitAward("award2");
}
public function playSound(_arg1:Sound){
_arg1.play();
}
public function playBGM(_arg1:Sound){
SoundMixer.stopAll();
_arg1.play(0, 99999999);
}
public function muteclick(_arg1:MouseEvent){
var _local2:SoundTransform = new SoundTransform(1, 0);
if (sound_on){
sound_on = false;
_local2.volume = 0;
SoundMixer.soundTransform = _local2;
} else {
if (!sound_on){
sound_on = true;
_local2.volume = 1;
SoundMixer.soundTransform = _local2;
};
};
}
public function penyakitLama(_arg1:Event){
var _local2:String = stage.loaderInfo.url;
var _local3:Number = (_local2.indexOf("://") + 3);
var _local4:Number = _local2.indexOf("/", _local3);
var _local5:String = _local2.substring(_local3, _local4);
var _local6:Number = (_local5.lastIndexOf(".") - 1);
var _local7:Number = (_local5.lastIndexOf(".", _local6) + 1);
_local5 = _local5.substring(_local7, _local5.length);
if ((((_local5 == "racoongames.com")) || ((_local5 == "flashgamelicense.com")))){
visible = true;
};
}
public function gotoPage(_arg1){
var page_ENTER_FRAME:*;
var page = _arg1;
var frame_target:* = page;
page_motion.mouseEnabled = true;
page_motion.mouseChildren = true;
page_ENTER_FRAME = function (_arg1:Event){
page_motion.nextFrame();
if (page_motion.currentFrame == 14){
gotoAndStop(page);
};
if (page_motion.currentFrame == 28){
page_motion.gotoAndStop(1);
page_motion.mouseEnabled = false;
page_motion.mouseChildren = false;
page_motion.removeEventListener(Event.ENTER_FRAME, page_ENTER_FRAME);
};
};
page_motion.addEventListener(Event.ENTER_FRAME, page_ENTER_FRAME);
}
public function preloader(_arg1:ProgressEvent){
persen.text = (String(Math.floor(((loaderInfo.bytesLoaded / loaderInfo.bytesTotal) * 100))) + "%");
if (loaderInfo.bytesLoaded == loaderInfo.bytesTotal){
loaderInfo.removeEventListener(ProgressEvent.PROGRESS, preloader);
};
}
public function load_complete(_arg1){
gotoPage(3);
loaderInfo.removeEventListener(Event.COMPLETE, load_complete);
}
public function clearclick(_arg1:MouseEvent){
MySaveData.clear();
award_1_achieved = false;
award_2_achieved = false;
award_3_achieved = false;
award_4_achieved = false;
award_5_achieved = false;
}
public function handle_btnSpil(_arg1:MouseEvent):void{
navigateToURL(new URLRequest(SpilGame.getSpilCompanyLink()));
}
public function handle_btnMoreGames(_arg1:MouseEvent):void{
getmoregames();
}
public function getmoregames(){
navigateToURL(new URLRequest(SpilGame.getMoreGamesLink("Mainscreen")), "_blank");
}
public function tutorclick(_arg1:MouseEvent){
playSound(new soundbutton());
tutor_number++;
if (tutor_number == 3){
next_tutor.y = (next_tutor.y + 20);
};
if (tutor_number == 12){
karakter.x = karakter.x_pos;
karakter.y = karakter.y_pos;
karakter.able_to = "wait";
karakter.gotoAndStop("wait");
tutorial.visible = false;
next_tutor.visible = false;
scissor.visible = true;
perm.visible = true;
ion.visible = true;
color.visible = true;
ribbon.visible = true;
level++;
game_ready = false;
initialize();
};
}
public function scissorclick(_arg1:MouseEvent){
if (game_ready){
playSound(new soundbutton());
if (((!(ch.on_work)) && (!(ch.swap)))){
ch.swap = true;
ch.swap_to = "cut";
ch.swap_delay = 0;
} else {
if (((ch.on_work) || (ch.swap))){
if ((((level > 0)) || ((game_mode == 2)))){
if (ch.queue.length > 0){
i = 0;
while (i < ch.queue.length) {
if ((((((ch.queue[i][0] == ch.x_pos)) && ((ch.queue[i][1] == ch.y_pos)))) && ((ch.queue[i][2] == "cut")))){
onlist = true;
onlistnum = i;
};
i++;
};
if (onlist){
ch.queue.splice(onlistnum, 1);
ch.sort_queue();
} else {
ch.queue[ch.queue.length] = [ch.x_pos, ch.y_pos, "cut"];
ch.sort_queue();
};
} else {
ch.queue[ch.queue.length] = [ch.x_pos, ch.y_pos, "cut"];
ch.sort_queue();
};
};
};
};
};
}
public function permclick(_arg1:MouseEvent){
if (game_ready){
playSound(new soundbutton());
if (((!(ch.on_work)) && (!(ch.swap)))){
ch.swap = true;
ch.swap_to = "perm";
ch.swap_delay = 0;
} else {
if (((ch.on_work) || (ch.swap))){
if ((((level > 0)) || ((game_mode == 2)))){
if (ch.queue.length > 0){
i = 0;
while (i < ch.queue.length) {
if ((((((ch.queue[i][0] == ch.x_pos)) && ((ch.queue[i][1] == ch.y_pos)))) && ((ch.queue[i][2] == "perm")))){
onlist = true;
onlistnum = i;
};
i++;
};
if (onlist){
ch.queue.splice(onlistnum, 1);
ch.sort_queue();
} else {
ch.queue[ch.queue.length] = [ch.x_pos, ch.y_pos, "perm"];
ch.sort_queue();
};
} else {
ch.queue[ch.queue.length] = [ch.x_pos, ch.y_pos, "perm"];
ch.sort_queue();
};
};
};
};
};
}
public function ionclick(_arg1:MouseEvent){
if (game_ready){
playSound(new soundbutton());
if (((!(ch.on_work)) && (!(ch.swap)))){
ch.swap = true;
ch.swap_to = "ion";
ch.swap_delay = 0;
} else {
if (((ch.on_work) || (ch.swap))){
if ((((level > 0)) || ((game_mode == 2)))){
if (ch.queue.length > 0){
i = 0;
while (i < ch.queue.length) {
if ((((((ch.queue[i][0] == ch.x_pos)) && ((ch.queue[i][1] == ch.y_pos)))) && ((ch.queue[i][2] == "ion")))){
onlist = true;
onlistnum = i;
};
i++;
};
if (onlist){
ch.queue.splice(onlistnum, 1);
ch.sort_queue();
} else {
ch.queue[ch.queue.length] = [ch.x_pos, ch.y_pos, "ion"];
ch.sort_queue();
};
} else {
ch.queue[ch.queue.length] = [ch.x_pos, ch.y_pos, "ion"];
ch.sort_queue();
};
};
};
};
};
}
public function colorclick(_arg1:MouseEvent){
if (game_ready){
playSound(new soundbutton());
if (((!(ch.on_work)) && (!(ch.swap)))){
ch.swap = true;
ch.swap_to = "color";
ch.swap_delay = 0;
} else {
if (((ch.on_work) || (ch.swap))){
if ((((level > 0)) || ((game_mode == 2)))){
if (ch.queue.length > 0){
i = 0;
while (i < ch.queue.length) {
if ((((((ch.queue[i][0] == ch.x_pos)) && ((ch.queue[i][1] == ch.y_pos)))) && ((ch.queue[i][2] == "color")))){
onlist = true;
onlistnum = i;
};
i++;
};
if (onlist){
ch.queue.splice(onlistnum, 1);
ch.sort_queue();
} else {
ch.queue[ch.queue.length] = [ch.x_pos, ch.y_pos, "color"];
ch.sort_queue();
};
} else {
ch.queue[ch.queue.length] = [ch.x_pos, ch.y_pos, "color"];
ch.sort_queue();
};
};
};
};
};
}
public function ribbonclick(_arg1:MouseEvent){
if (game_ready){
playSound(new soundbutton());
if (((!(ch.on_work)) && (!(ch.swap)))){
ch.swap = true;
ch.swap_to = "ribbon";
ch.swap_delay = 0;
} else {
if (((ch.on_work) || (ch.swap))){
if ((((level > 0)) || ((game_mode == 2)))){
if (ch.queue.length > 0){
i = 0;
while (i < ch.queue.length) {
if ((((((ch.queue[i][0] == ch.x_pos)) && ((ch.queue[i][1] == ch.y_pos)))) && ((ch.queue[i][2] == "ribbon")))){
onlist = true;
onlistnum = i;
};
i++;
};
if (onlist){
ch.queue.splice(onlistnum, 1);
ch.sort_queue();
} else {
ch.queue[ch.queue.length] = [ch.x_pos, ch.y_pos, "ribbon"];
ch.sort_queue();
};
} else {
ch.queue[ch.queue.length] = [ch.x_pos, ch.y_pos, "ribbon"];
ch.sort_queue();
};
};
};
};
};
}
public function pauseclick(_arg1:MouseEvent){
if (game_ready){
game_ready = false;
playSound(new soundbutton());
swapChildren(window_pause, getChildAt((numChildren - 1)));
window_pause.gotoAndPlay(1);
window_pause.visible = true;
};
}
public function initialize2(){
bar.y = 455;
w_chair_1.x = 210;
w_chair_1.y = 332;
w_chair_2.x = 147;
w_chair_2.y = 224;
w_chair_3.x = -200;
w_chair_3.y = -200;
chair_1.x = 495;
chair_1.y = 326;
chair_2.x = 433;
chair_2.y = 212;
chair_3.x = 572;
chair_3.y = 212;
chair_4.x = 347;
chair_4.y = 326;
chair_5.x = 291;
chair_5.y = 212;
score = 0;
playBGM(new soundplay());
clock.visible = false;
window_endless.visible = true;
window_endless.gotoAndPlay(1);
karakter.combo = [];
karakter.queue = [];
addEventListener(Event.ENTER_FRAME, gameloop2);
tutorial.visible = false;
next_tutor.visible = false;
karakter.x = karakter.x_pos;
karakter.y = karakter.y_pos;
karakter.able_to = "wait";
karakter.gotoAndStop("wait");
scissor.visible = true;
perm.visible = true;
ion.visible = true;
color.visible = true;
ribbon.visible = true;
score = 0;
timeout = false;
goal_text.visible = false;
expert_text.visible = false;
win = false;
lose = false;
expert_achieved = false;
goal_achieved = false;
spawn_delay = 0;
door.gotoAndStop(1);
goal_panel.visible = false;
expert_panel.visible = false;
chair_1.initialize();
chair_2.initialize();
chair_3.initialize();
chair_4.initialize();
chair_5.initialize();
w_chair_1.initialize();
w_chair_2.initialize();
w_chair_3.initialize();
life = 10;
spawn_interval = 250;
}
public function gameloop2(_arg1){
var _local2:*;
var _local3:*;
var _local4:*;
var _local5:*;
bar.gotoAndStop(Math.floor(((life / 20) * 100)));
if (game_ready){
if ((((life <= 0)) && ((game_mode == 2)))){
youlose2();
ScoreService.submitScore(score);
removeEventListener(Event.ENTER_FRAME, gameloop2);
} else {
if ((((life > 0)) && ((game_mode == 2)))){
score_text.text = score;
if (score > 0){
if (((((((score % 3000) == 0)) && (!(speed_up)))) && (!((last_score == score))))){
speed_up = true;
if (spawn_interval > 50){
spawn_interval = (spawn_interval - 15);
last_score = score;
};
} else {
speed_up = false;
};
};
if (((((!(slot_3_empty)) && (!(slot_4_empty)))) && (!(slot_5_empty)))){
spawn_delay = 0;
};
spawn_delay++;
if ((((((spawn_delay % spawn_interval) + 25) == 25)) || ((spawn_delay == 25)))){
_local2 = 0;
if (slot_3_empty){
_local2 = (1 + Math.floor((Math.random() * 3)));
if (_local2 == 1){
_local3 = new tamu_1();
};
if (_local2 == 2){
_local3 = new tamu_2();
};
if (_local2 == 3){
_local3 = new tamu_3();
};
_local3.x = slot_3.x;
_local3.y = slot_3.y;
_local3.alpha = 0;
cust_holder.addChild(_local3);
playSound(new soundspawn());
slot_3_empty = false;
} else {
if (slot_4_empty){
_local2 = (1 + Math.floor((Math.random() * 3)));
if (_local2 == 1){
_local4 = new tamu_1();
};
if (_local2 == 2){
_local4 = new tamu_2();
};
if (_local2 == 3){
_local4 = new tamu_3();
};
_local4.x = slot_4.x;
_local4.y = slot_4.y;
_local4.alpha = 0;
cust_holder.addChild(_local4);
playSound(new soundspawn());
slot_4_empty = false;
} else {
if (slot_5_empty){
_local2 = (1 + Math.floor((Math.random() * 3)));
if (_local2 == 1){
_local5 = new tamu_1();
};
if (_local2 == 2){
_local5 = new tamu_2();
};
if (_local2 == 3){
_local5 = new tamu_3();
};
_local5.x = slot_5.x;
_local5.y = slot_5.y;
_local5.alpha = 0;
cust_holder.addChild(_local5);
playSound(new soundspawn());
slot_5_empty = false;
};
};
};
};
};
};
};
}
public function youlose2(){
game_ready = false;
lose = true;
window_winlose.visible = true;
window_winlose.gotoAndPlay(1);
}
public function initialize(){
bar.y = 555;
clock.visible = true;
karakter.combo = [];
playBGM(new soundplay());
clock.gotoAndStop(1);
if (level == 0){
goal = 0;
expert_goal = 0;
spawn_interval = 0;
level_time_limit = 500;
game_ready = true;
tutorial.visible = true;
next_tutor.visible = true;
};
if (level == 1){
goal = 1000;
expert_goal = 1500;
expert_bonus = 200;
spawn_interval = 250;
level_time_limit = 600;
};
if (level == 2){
goal = 1750;
expert_goal = 2000;
expert_bonus = 300;
spawn_interval = 200;
level_time_limit = 600;
};
if (level == 3){
goal = 1800;
expert_goal = 2200;
expert_bonus = 400;
spawn_interval = 180;
level_time_limit = 600;
};
if (level == 4){
goal = 2500;
expert_goal = 2800;
expert_bonus = 500;
spawn_interval = 170;
level_time_limit = 800;
};
if (level == 5){
goal = 3000;
expert_goal = 3500;
expert_bonus = 600;
spawn_interval = 160;
level_time_limit = 800;
};
if (level == 6){
goal = 3500;
expert_goal = 3900;
expert_bonus = 700;
spawn_interval = 150;
level_time_limit = 800;
};
if (level == 7){
goal = 4200;
expert_goal = 4700;
expert_bonus = 800;
spawn_interval = 140;
level_time_limit = 900;
};
if (level == 8){
goal = 4500;
expert_goal = 5000;
expert_bonus = 900;
spawn_interval = 130;
level_time_limit = 900;
};
if (level == 9){
goal = 4800;
expert_goal = 5200;
expert_bonus = 1000;
spawn_interval = 120;
level_time_limit = 900;
};
if (level == 10){
goal = 5500;
expert_goal = 6000;
expert_bonus = 1100;
spawn_interval = 110;
level_time_limit = 1000;
};
if (level == 11){
goal = 5800;
expert_goal = 6300;
expert_bonus = 1200;
spawn_interval = 100;
level_time_limit = 1000;
};
if (level == 12){
goal = 6200;
expert_goal = 6700;
expert_bonus = 1300;
spawn_interval = 90;
level_time_limit = 1000;
};
if (level == 13){
goal = 6800;
expert_goal = 7200;
expert_bonus = 1400;
spawn_interval = 85;
level_time_limit = 1200;
};
if (level == 14){
goal = 7000;
expert_goal = 7500;
expert_bonus = 1500;
spawn_interval = 80;
level_time_limit = 1200;
};
if (level == 15){
goal = 7500;
expert_goal = 8000;
expert_bonus = 1600;
spawn_interval = 75;
level_time_limit = 1200;
};
if (level > 0){
tutorial.visible = false;
next_tutor.visible = false;
karakter.x = karakter.x_pos;
karakter.y = karakter.y_pos;
karakter.able_to = "wait";
karakter.gotoAndStop("wait");
scissor.visible = true;
perm.visible = true;
ion.visible = true;
color.visible = true;
ribbon.visible = true;
score = 0;
timeout = false;
goal_text.text = goal;
expert_text.text = expert_goal;
window_day.visible = true;
window_day.gotoAndPlay(2);
win = false;
lose = false;
expert_achieved = false;
goal_achieved = false;
spawn_delay = 0;
door.gotoAndStop(1);
goal_panel.visible = true;
expert_panel.visible = true;
goal_text.visible = true;
expert_text.visible = true;
};
set_chair();
chair_1.initialize();
chair_2.initialize();
chair_3.initialize();
chair_4.initialize();
chair_5.initialize();
w_chair_1.initialize();
w_chair_2.initialize();
w_chair_3.initialize();
time = 0;
addEventListener(Event.ENTER_FRAME, gameloop);
trace("INI JALAN LHO!!!!!!!!!!!!!!");
}
public function gameloop(_arg1){
var _local2:*;
var _local3:*;
var _local4:*;
var _local5:*;
var _local6:*;
var _local7:*;
var _local8:*;
var _local9:*;
if (game_ready){
trace(wash_number, perm_number, angry_number, ion_number);
if (wash_number == 10){
if (!award_1_achieved){
award_1_achieved = true;
award_showed = "award_1";
_local2 = new award_notif();
addChild(_local2);
AwardsService.submitAward("award1");
trace("award 1 ke submit");
MySaveData.data.award_1_achieved = true;
MySaveData.flush();
};
};
if (perm_number == 20){
if (!award_3_achieved){
award_3_achieved = true;
award_showed = "award_3";
_local2 = new award_notif();
addChild(_local2);
AwardsService.submitAward("award3");
trace("award 3 ke submit");
MySaveData.data.award_3_achieved = true;
MySaveData.flush();
};
};
if (angry_number == 5){
if (!award_4_achieved){
award_4_achieved = true;
award_showed = "award_4";
_local2 = new award_notif();
addChild(_local2);
AwardsService.submitAward("award4");
trace("award 4 ke submit");
MySaveData.data.award_4_achieved = true;
MySaveData.flush();
};
};
if (ion_number == 20){
if (!award_5_achieved){
award_5_achieved = true;
award_showed = "award_5";
_local2 = new award_notif();
addChild(_local2);
AwardsService.submitAward("award5");
trace("award 5 ke submit");
MySaveData.data.award_5_achieved = true;
MySaveData.flush();
};
};
if (level == 0){
if (tutor_number == 0){
if (tutor_done == 0){
tutor_done++;
tutorial.gotoAndStop(1);
tutorial.x = 343;
tutorial.y = 80;
next_tutor.x = 350;
next_tutor.y = 142;
};
};
if (tutor_number == 1){
if (tutor_done == 1){
tutor_done++;
_local3 = new tamu_tutor();
_local3.name = "tamu1";
_local3.x = slot_1.x;
_local3.y = slot_1.y;
_local3.alpha = 0;
cust_holder.addChild(_local3);
playSound(new soundspawn());
tutorial.gotoAndStop(2);
arrow.x = 412;
arrow.y = 262;
};
};
if (tutor_number == 2){
if (tutor_done == 2){
tutor_done++;
tutorial.gotoAndStop(3);
};
};
if (tutor_number == 3){
if (tutor_done == 3){
tutor_done++;
arrow.x = 0x0100;
arrow.y = 200;
tutorial.gotoAndStop(4);
_local3 = cust_holder.getChildByName("tamu1");
_local3.able_to_drag = true;
next_tutor.visible = false;
tutorial.x = 266;
tutorial.y = 70;
};
};
if (tutor_number == 4){
if (tutor_done == 4){
tutor_done++;
tutorial.gotoAndStop(5);
};
};
if (tutor_number == 5){
if (tutor_done == 5){
tutor_done++;
tutorial.gotoAndStop(6);
tutorial.visible = true;
tutorial.x = 240;
tutorial.y = 361;
next_tutor.visible = true;
next_tutor.x = 250;
next_tutor.y = 426;
arrow.x = 502;
arrow.y = 350;
arrow.visible = true;
};
};
if (tutor_number == 6){
if (tutor_done == 6){
tutor_done++;
tutorial.x = 564;
tutorial.y = 204;
tutorial.gotoAndStop(7);
next_tutor.x = 574;
next_tutor.y = 269;
arrow.x = 469;
arrow.y = (arrow.y + 30);
};
};
if (tutor_number == 7){
if (tutor_done == 7){
tutor_done++;
tutorial.gotoAndStop(8);
};
};
if (tutor_number == 8){
if (tutor_done == 8){
tutor_done++;
tutorial.x = 414;
tutorial.y = 80;
next_tutor.visible = false;
arrow.x = 412;
arrow.y = 190;
tutorial.gotoAndStop(9);
_local3 = cust_holder.getChildByName("tamu1");
_local3.able_to_drag = true;
};
};
if (tutor_number == 9){
if (tutor_done == 9){
tutor_done++;
tutorial.y = (tutorial.y - 30);
tutorial.gotoAndStop(10);
};
};
if (tutor_number == 10){
if (tutor_done == 10){
tutor_done++;
tutorial.gotoAndStop(11);
tutorial.visible = true;
next_tutor.visible = true;
tutorial.x = 339;
tutorial.y = 70;
next_tutor.x = 343;
next_tutor.y = 129;
};
};
if (tutor_number == 11){
if (tutor_done == 11){
tutor_done++;
tutorial.gotoAndStop(12);
};
};
};
if (level > 0){
time++;
if (time == 1){
if (((((((((((((((((((!((level == 3))) && (!((level == 4))))) && (!((level == 7))))) && (!((level == 8))))) && (!((level == 9))))) && (!((level == 10))))) && (!((level == 12))))) && (!((level == 13))))) && (!((level == 14))))) && (!((level == 15))))){
game_ready = false;
window_notif.visible = true;
window_notif.gotoAndPlay(1);
};
};
clock.gotoAndStop((1 + Math.floor(((time / level_time_limit) * 13))));
};
if (score >= goal){
if (level > 0){
if (!goal_achieved){
goal_achieved = true;
_local4 = new goal_movie();
addChild(_local4);
};
};
};
if (score >= expert_goal){
if (level > 0){
if (!expert_achieved){
expert_achieved = true;
_local5 = new expert_movie();
addChild(_local5);
};
};
};
if (time == level_time_limit){
if (level > 0){
timeout = true;
playSound(new soundtimeout());
door.gotoAndPlay(2);
};
};
if (timeout){
if (cust_holder.numChildren == 0){
if (score >= goal){
win = true;
youwin();
removeEventListener(Event.ENTER_FRAME, gameloop);
} else {
lose = true;
youlose();
removeEventListener(Event.ENTER_FRAME, gameloop);
};
};
};
score_text.text = score;
if (((((((((!(slot_1_empty)) && (!(slot_2_empty)))) && (!(slot_3_empty)))) && (!(slot_4_empty)))) && (!(slot_5_empty)))){
spawn_delay = 0;
} else {
if (((!(timeout)) && ((level > 0)))){
spawn_delay++;
if ((((((spawn_delay % spawn_interval) + 25) == 25)) || ((spawn_delay == 25)))){
_local6 = 0;
if (slot_3_empty){
if ((((level > 1)) && ((level < 5)))){
_local6 = (1 + Math.floor((Math.random() * 2)));
} else {
if (level > 4){
_local6 = (1 + Math.floor((Math.random() * 3)));
} else {
_local6 = 1;
};
};
if (_local6 == 1){
_local7 = new tamu_1();
};
if (_local6 == 2){
_local7 = new tamu_2();
};
if (_local6 == 3){
_local7 = new tamu_3();
};
_local7.x = slot_3.x;
_local7.y = slot_3.y;
_local7.alpha = 0;
cust_holder.addChild(_local7);
playSound(new soundspawn());
slot_3_empty = false;
} else {
if (slot_4_empty){
if ((((level > 1)) && ((level < 5)))){
_local6 = (1 + Math.floor((Math.random() * 2)));
} else {
if (level > 4){
_local6 = (1 + Math.floor((Math.random() * 3)));
} else {
_local6 = 1;
};
};
if (_local6 == 1){
_local8 = new tamu_1();
};
if (_local6 == 2){
_local8 = new tamu_2();
};
if (_local6 == 3){
_local8 = new tamu_3();
};
_local8.x = slot_4.x;
_local8.y = slot_4.y;
_local8.alpha = 0;
cust_holder.addChild(_local8);
playSound(new soundspawn());
slot_4_empty = false;
} else {
if (slot_5_empty){
if ((((level > 1)) && ((level < 5)))){
_local6 = (1 + Math.floor((Math.random() * 2)));
} else {
if (level > 4){
_local6 = (1 + Math.floor((Math.random() * 3)));
} else {
_local6 = 1;
};
};
if (_local6 == 1){
_local9 = new tamu_1();
};
if (_local6 == 2){
_local9 = new tamu_2();
};
if (_local6 == 3){
_local9 = new tamu_3();
};
_local9.x = slot_5.x;
_local9.y = slot_5.y;
_local9.alpha = 0;
cust_holder.addChild(_local9);
playSound(new soundspawn());
slot_5_empty = false;
};
};
};
};
};
};
};
}
public function youwin(){
playBGM(new soundwin());
game_ready = false;
window_winlose.visible = true;
window_winlose.gotoAndPlay(1);
if (expert_achieved){
total_score = (total_score + (score + expert_bonus));
} else {
total_score = (total_score + score);
};
}
public function youlose(){
playBGM(new soundlose());
game_ready = false;
window_winlose.visible = true;
window_winlose.gotoAndPlay(1);
total_score = (total_score + score);
}
public function quit(){
var _local1:*;
var _local2:*;
last_score = 0;
level = 0;
score = 0;
total_score = 0;
border.mouseChildren = false;
border.mouseEnabled = false;
if (cust_holder.numChildren > 0){
_local1 = 0;
while (cust_holder.numChildren > 0) {
cust_holder.removeChildAt(0);
_local1++;
};
};
if (queue_holder.numChildren > 0){
_local2 = 0;
while (queue_holder.numChildren > 0) {
queue_holder.removeChildAt(0);
_local2++;
};
};
window_day.visible = false;
window_winlose.visible = false;
window_pause.visible = false;
window_sure.visible = false;
gallery.visible = false;
slot_3_empty = true;
slot_4_empty = true;
slot_5_empty = true;
wash_number = 0;
perm_number = 0;
cut_combo = 0;
ion_number = 0;
angry_number = 0;
gotoPage(4);
karakter.combo = [];
karakter.queue = [];
win = false;
lose = false;
timeout = false;
tutor_done = 0;
tutor_number = 0;
spawn_delay = 0;
spawn_interval = 0;
game_mode = 0;
life = 0;
speed_up = false;
last_score = 0;
}
public function set_chair(){
if (level == 0){
w_chair_1.x = -200;
w_chair_1.y = -200;
w_chair_2.x = 0x0100;
w_chair_2.y = 297;
w_chair_3.x = -200;
w_chair_3.y = -200;
chair_1.x = -200;
chair_1.y = -200;
chair_2.x = 410;
chair_2.y = 309;
chair_3.x = -200;
chair_3.y = -200;
chair_4.x = -200;
chair_4.y = -200;
chair_5.x = -200;
chair_5.y = -200;
};
if (level == 1){
w_chair_1.x = 210;
w_chair_1.y = 332;
w_chair_2.x = -200;
w_chair_2.y = -200;
w_chair_3.x = -200;
w_chair_3.y = -200;
chair_1.x = 495;
chair_1.y = 326;
chair_2.x = -200;
chair_2.y = -200;
chair_3.x = -200;
chair_3.y = -200;
chair_4.x = 347;
chair_4.y = 326;
chair_5.x = -200;
chair_5.y = -200;
};
if (level == 2){
w_chair_1.x = 210;
w_chair_1.y = 332;
w_chair_2.x = -200;
w_chair_2.y = -200;
w_chair_3.x = -200;
w_chair_3.y = -200;
chair_1.x = 495;
chair_1.y = 326;
chair_2.x = -200;
chair_2.y = -200;
chair_3.x = -200;
chair_3.y = -200;
chair_4.x = 347;
chair_4.y = 326;
chair_5.x = -200;
chair_5.y = -200;
};
if (level == 3){
w_chair_1.x = 210;
w_chair_1.y = 332;
w_chair_2.x = -200;
w_chair_2.y = -200;
w_chair_3.x = -200;
w_chair_3.y = -200;
chair_1.x = 495;
chair_1.y = 326;
chair_2.x = -200;
chair_2.y = -200;
chair_3.x = -200;
chair_3.y = -200;
chair_4.x = 347;
chair_4.y = 326;
chair_5.x = -200;
chair_5.y = -200;
};
if (level == 4){
w_chair_1.x = 210;
w_chair_1.y = 332;
w_chair_2.x = -200;
w_chair_2.y = -200;
w_chair_3.x = -200;
w_chair_3.y = -200;
chair_1.x = 495;
chair_1.y = 326;
chair_2.x = -200;
chair_2.y = -200;
chair_3.x = -200;
chair_3.y = -200;
chair_4.x = 347;
chair_4.y = 326;
chair_5.x = -200;
chair_5.y = -200;
};
if (level == 5){
w_chair_1.x = 210;
w_chair_1.y = 332;
w_chair_2.x = -200;
w_chair_2.y = -200;
w_chair_3.x = -200;
w_chair_3.y = -200;
chair_1.x = 495;
chair_1.y = 326;
chair_2.x = -200;
chair_2.y = -200;
chair_3.x = -200;
chair_3.y = -200;
chair_4.x = 347;
chair_4.y = 326;
chair_5.x = -200;
chair_5.y = -200;
};
if (level == 6){
w_chair_1.x = 210;
w_chair_1.y = 332;
w_chair_2.x = 147;
w_chair_2.y = 224;
w_chair_3.x = -200;
w_chair_3.y = -200;
chair_1.x = 495;
chair_1.y = 326;
chair_2.x = 433;
chair_2.y = 212;
chair_3.x = -200;
chair_3.y = -200;
chair_4.x = 347;
chair_4.y = 326;
chair_5.x = -200;
chair_5.y = -200;
};
if (level == 7){
w_chair_1.x = 210;
w_chair_1.y = 332;
w_chair_2.x = 147;
w_chair_2.y = 224;
w_chair_3.x = -200;
w_chair_3.y = -200;
chair_1.x = 495;
chair_1.y = 326;
chair_2.x = 433;
chair_2.y = 212;
chair_3.x = -200;
chair_3.y = -200;
chair_4.x = 347;
chair_4.y = 326;
chair_5.x = -200;
chair_5.y = -200;
};
if (level == 8){
w_chair_1.x = 210;
w_chair_1.y = 332;
w_chair_2.x = 147;
w_chair_2.y = 224;
w_chair_3.x = -200;
w_chair_3.y = -200;
chair_1.x = 495;
chair_1.y = 326;
chair_2.x = 433;
chair_2.y = 212;
chair_3.x = -200;
chair_3.y = -200;
chair_4.x = 347;
chair_4.y = 326;
chair_5.x = -200;
chair_5.y = -200;
};
if (level == 9){
w_chair_1.x = 210;
w_chair_1.y = 332;
w_chair_2.x = 147;
w_chair_2.y = 224;
w_chair_3.x = -200;
w_chair_3.y = -200;
chair_1.x = 495;
chair_1.y = 326;
chair_2.x = 433;
chair_2.y = 212;
chair_3.x = -200;
chair_3.y = -200;
chair_4.x = 347;
chair_4.y = 326;
chair_5.x = -200;
chair_5.y = -200;
};
if (level == 10){
w_chair_1.x = 210;
w_chair_1.y = 332;
w_chair_2.x = 147;
w_chair_2.y = 224;
w_chair_3.x = -200;
w_chair_3.y = -200;
chair_1.x = 495;
chair_1.y = 326;
chair_2.x = 433;
chair_2.y = 212;
chair_3.x = -200;
chair_3.y = -200;
chair_4.x = 347;
chair_4.y = 326;
chair_5.x = -200;
chair_5.y = -200;
};
if (level == 11){
w_chair_1.x = 210;
w_chair_1.y = 332;
w_chair_2.x = 147;
w_chair_2.y = 224;
w_chair_3.x = -200;
w_chair_3.y = -200;
chair_1.x = 495;
chair_1.y = 326;
chair_2.x = 433;
chair_2.y = 212;
chair_3.x = 572;
chair_3.y = 212;
chair_4.x = 347;
chair_4.y = 326;
chair_5.x = 291;
chair_5.y = 212;
};
if (level == 12){
w_chair_1.x = 210;
w_chair_1.y = 332;
w_chair_2.x = 147;
w_chair_2.y = 224;
w_chair_3.x = -200;
w_chair_3.y = -200;
chair_1.x = 495;
chair_1.y = 326;
chair_2.x = 433;
chair_2.y = 212;
chair_3.x = 572;
chair_3.y = 212;
chair_4.x = 347;
chair_4.y = 326;
chair_5.x = 291;
chair_5.y = 212;
};
if (level == 13){
w_chair_1.x = 210;
w_chair_1.y = 332;
w_chair_2.x = 147;
w_chair_2.y = 224;
w_chair_3.x = -200;
w_chair_3.y = -200;
chair_1.x = 495;
chair_1.y = 326;
chair_2.x = 433;
chair_2.y = 212;
chair_3.x = 572;
chair_3.y = 212;
chair_4.x = 347;
chair_4.y = 326;
chair_5.x = 291;
chair_5.y = 212;
};
if (level == 14){
w_chair_1.x = 210;
w_chair_1.y = 332;
w_chair_2.x = 147;
w_chair_2.y = 224;
w_chair_3.x = -200;
w_chair_3.y = -200;
chair_1.x = 495;
chair_1.y = 326;
chair_2.x = 433;
chair_2.y = 212;
chair_3.x = 572;
chair_3.y = 212;
chair_4.x = 347;
chair_4.y = 326;
chair_5.x = 291;
chair_5.y = 212;
};
if (level == 15){
w_chair_1.x = 210;
w_chair_1.y = 332;
w_chair_2.x = 147;
w_chair_2.y = 224;
w_chair_3.x = -200;
w_chair_3.y = -200;
chair_1.x = 495;
chair_1.y = 326;
chair_2.x = 433;
chair_2.y = 212;
chair_3.x = 572;
chair_3.y = 212;
chair_4.x = 347;
chair_4.y = 326;
chair_5.x = 291;
chair_5.y = 212;
};
}
public function submitclick(_arg1:MouseEvent){
}
public function playagainclick(_arg1:MouseEvent){
quit();
}
function __setProp___id1__Scene1_action_7(){
if ((((__setPropDict[__id1_] == undefined)) || (!((int(__setPropDict[__id1_]) == 8))))){
__setPropDict[__id1_] = 8;
try {
__id1_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id1_.text = "{score}";
__id1_.textColor = 6750516;
__id1_.textSize = 30;
__id1_.bold = false;
__id1_.disableWordwrap = false;
__id1_.embedFonts = true;
__id1_.font = "Arial";
__id1_.hAlign = "center";
__id1_.multiline = true;
__id1_.vAlign = "bottom";
__id1_.antiAliasType = "advanced";
__id1_.glowBlur = 3;
__id1_.glowColor = 0;
__id1_.useGlowFilter = false;
__id1_.glowQuality = 1;
__id1_.glowStrength = 5;
__id1_.gridFitType = "pixel";
__id1_.italic = false;
__id1_.selectable = false;
__id1_.underline = false;
try {
__id1_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
};
}
function __setProp___id2__Scene1_action_7(){
if ((((__setPropDict[__id2_] == undefined)) || (!((int(__setPropDict[__id2_]) == 8))))){
__setPropDict[__id2_] = 8;
try {
__id2_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id2_.text = "{goodJob}";
__id2_.textColor = 7541833;
__id2_.textSize = 45;
__id2_.bold = false;
__id2_.disableWordwrap = false;
__id2_.embedFonts = true;
__id2_.font = "Arial";
__id2_.hAlign = "center";
__id2_.multiline = true;
__id2_.vAlign = "middle";
__id2_.antiAliasType = "advanced";
__id2_.glowBlur = 5;
__id2_.glowColor = 0xFFFFFF;
__id2_.useGlowFilter = false;
__id2_.glowQuality = 1;
__id2_.glowStrength = 8;
__id2_.gridFitType = "pixel";
__id2_.italic = false;
__id2_.selectable = false;
__id2_.underline = false;
try {
__id2_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
};
}
function frame1(){
spilGamesServices = SpilGamesServices.getInstance();
spilGamesServices.connect(stage, "d52f715c56c76726f58be0f34dc897c1");
xmlData = <LocalisedText><textItem identifier="hairstylist"><en_us><![CDATA[Cindy The Hairstylist]]></en_us><en_uk><![CDATA[Cindy The Hairstylist]]></en_uk><nl><![CDATA[Cindy's kapsalon]]></nl><fr><![CDATA[Cindy La coiffeuse]]></fr><de><![CDATA[Friseurin Cindy]]></de><es><![CDATA[Celia la Peluquera]]></es><br><![CDATA[Cindy, A Cabeleireira]]></br><pt><![CDATA[Cindy Cabeleireira]]></pt><it><![CDATA[Cindy la parrucchiera]]></it><se><![CDATA[Hårstylisten Sara]]></se><pl><![CDATA[Fryzjerka Sylwia]]></pl><ru><![CDATA[Парикмахерская Сони]]></ru><id><![CDATA[Cindy si Penata Rambut]]></id><ar><![CDATA[Cindy The Hairstylist]]></ar><jp><![CDATA[Cindy The Hairstylist]]></jp><cn><![CDATA[Cindy The Hairstylist]]></cn><es_mx><![CDATA[Celia la Peluquera]]></es_mx><es_ar><![CDATA[Celia la Peluquera]]></es_ar></textItem><textItem identifier="normal"><en_us><![CDATA[Normal]]></en_us><en_uk><![CDATA[Normal]]></en_uk><nl><![CDATA[Normaal]]></nl><fr><![CDATA[Normal]]></fr><de><![CDATA[Normal]]></de><es><![CDATA[Normal]]></es><br><![CDATA[Normal]]></br><pt><![CDATA[Normal]]></pt><it><![CDATA[Normale]]></it><se><![CDATA[Normalt]]></se><pl><![CDATA[Normalny]]></pl><ru><![CDATA[Обычная игра]]></ru><id><![CDATA[Normal]]></id><ar><![CDATA[Normal]]></ar><jp><![CDATA[Normal]]></jp><cn><![CDATA[Normal]]></cn><es_mx><![CDATA[Normal]]></es_mx><es_ar><![CDATA[Normal]]></es_ar></textItem><textItem identifier="endless"><en_us><![CDATA[Endless]]></en_us><en_uk><![CDATA[Endless]]></en_uk><nl><![CDATA[Eindeloos]]></nl><fr><![CDATA[Illimité]]></fr><de><![CDATA[Endlos]]></de><es><![CDATA[Sin fin]]></es><br><![CDATA[Infinito]]></br><pt><![CDATA[Interminável]]></pt><it><![CDATA[Infinita]]></it><se><![CDATA[Oändligt]]></se><pl><![CDATA[Nieskończony]]></pl><ru><![CDATA[Бесконечная игра]]></ru><id><![CDATA[Tanpa Akhir]]></id><ar><![CDATA[Endless]]></ar><jp><![CDATA[Endless]]></jp><cn><![CDATA[Endless]]></cn><es_mx><![CDATA[Sin fin]]></es_mx><es_ar><![CDATA[Sin fin]]></es_ar></textItem><textItem identifier="award"><en_us><![CDATA[Awards]]></en_us><en_uk><![CDATA[Awards]]></en_uk><nl><![CDATA[Prijzen]]></nl><fr><![CDATA[Prix]]></fr><de><![CDATA[Preise]]></de><es><![CDATA[Premios]]></es><br><![CDATA[Prêmios]]></br><pt><![CDATA[Prémios]]></pt><it><![CDATA[Premi]]></it><se><![CDATA[Priser]]></se><pl><![CDATA[Trofea]]></pl><ru><![CDATA[Награды]]></ru><id><![CDATA[Hadiah]]></id><ar><![CDATA[Awards]]></ar><jp><![CDATA[Awards]]></jp><cn><![CDATA[Awards]]></cn><es_mx><![CDATA[Premios]]></es_mx><es_ar><![CDATA[Premios]]></es_ar></textItem><textItem identifier="moreGames"><en_us><![CDATA[More Games]]></en_us><en_uk><![CDATA[More Games]]></en_uk><nl><![CDATA[Meer spelletjes]]></nl><fr><![CDATA[Plus de jeux]]></fr><de><![CDATA[Mehr Spiele]]></de><es><![CDATA[Más juegos]]></es><br><![CDATA[Mais Jogos]]></br><pt><![CDATA[Mais jogos]]></pt><it><![CDATA[Altri giochi]]></it><se><![CDATA[Fler spel]]></se><pl><![CDATA[Więcej gier]]></pl><ru><![CDATA[Другие игры]]></ru><id><![CDATA[Game Lainnya]]></id><ar><![CDATA[More Games]]></ar><jp><![CDATA[More Games]]></jp><cn><![CDATA[More Games]]></cn><es_mx><![CDATA[Más juegos]]></es_mx><es_ar><![CDATA[Más juegos]]></es_ar></textItem><textItem identifier="award1"><en_us><![CDATA[]]></en_us><en_uk><![CDATA[]]></en_uk><nl><![CDATA[]]></nl><fr><![CDATA[]]></fr><de><![CDATA[]]></de><es><![CDATA[]]></es><br><![CDATA[]]></br><pt><![CDATA[]]></pt><it><![CDATA[]]></it><se><![CDATA[]]></se><pl><![CDATA[]]></pl><ru><![CDATA[]]></ru><id><![CDATA[]]></id><ar><![CDATA[]]></ar><jp><![CDATA[]]></jp><cn><![CDATA[]]></cn><es_mx><![CDATA[]]></es_mx><es_ar><![CDATA[]]></es_ar></textItem><textItem identifier="award1_pop"><en_us><![CDATA[]]></en_us><en_uk><![CDATA[]]></en_uk><nl><![CDATA[]]></nl><fr><![CDATA[]]></fr><de><![CDATA[]]></de><es><![CDATA[]]></es><br><![CDATA[]]></br><pt><![CDATA[]]></pt><it><![CDATA[]]></it><se><![CDATA[]]></se><pl><![CDATA[]]></pl><ru><![CDATA[]]></ru><id><![CDATA[]]></id><ar><![CDATA[]]></ar><jp><![CDATA[]]></jp><cn><![CDATA[]]></cn><es_mx><![CDATA[]]></es_mx><es_ar><![CDATA[]]></es_ar></textItem><textItem identifier="award2"><en_us><![CDATA[]]></en_us><en_uk><![CDATA[]]></en_uk><nl><![CDATA[]]></nl><fr><![CDATA[]]></fr><de><![CDATA[]]></de><es><![CDATA[]]></es><br><![CDATA[]]></br><pt><![CDATA[]]></pt><it><![CDATA[]]></it><se><![CDATA[]]></se><pl><![CDATA[]]></pl><ru><![CDATA[]]></ru><id><![CDATA[]]></id><ar><![CDATA[]]></ar><jp><![CDATA[]]></jp><cn><![CDATA[]]></cn><es_mx><![CDATA[]]></es_mx><es_ar><![CDATA[]]></es_ar></textItem><textItem identifier="award2_pop"><en_us><![CDATA[]]></en_us><en_uk><![CDATA[]]></en_uk><nl><![CDATA[]]></nl><fr><![CDATA[]]></fr><de><![CDATA[]]></de><es><![CDATA[]]></es><br><![CDATA[]]></br><pt><![CDATA[]]></pt><it><![CDATA[]]></it><se><![CDATA[]]></se><pl><![CDATA[]]></pl><ru><![CDATA[]]></ru><id><![CDATA[]]></id><ar><![CDATA[]]></ar><jp><![CDATA[]]></jp><cn><![CDATA[]]></cn><es_mx><![CDATA[]]></es_mx><es_ar><![CDATA[]]></es_ar></textItem><textItem identifier="award3"><en_us><![CDATA[]]></en_us><en_uk><![CDATA[]]></en_uk><nl><![CDATA[]]></nl><fr><![CDATA[]]></fr><de><![CDATA[]]></de><es><![CDATA[]]></es><br><![CDATA[]]></br><pt><![CDATA[]]></pt><it><![CDATA[]]></it><se><![CDATA[]]></se><pl><![CDATA[]]></pl><ru><![CDATA[]]></ru><id><![CDATA[]]></id><ar><![CDATA[]]></ar><jp><![CDATA[]]></jp><cn><![CDATA[]]></cn><es_mx><![CDATA[]]></es_mx><es_ar><![CDATA[]]></es_ar></textItem><textItem identifier="award3_pop"><en_us><![CDATA[]]></en_us><en_uk><![CDATA[]]></en_uk><nl><![CDATA[]]></nl><fr><![CDATA[]]></fr><de><![CDATA[]]></de><es><![CDATA[]]></es><br><![CDATA[]]></br><pt><![CDATA[]]></pt><it><![CDATA[]]></it><se><![CDATA[]]></se><pl><![CDATA[]]></pl><ru><![CDATA[]]></ru><id><![CDATA[]]></id><ar><![CDATA[]]></ar><jp><![CDATA[]]></jp><cn><![CDATA[]]></cn><es_mx><![CDATA[]]></es_mx><es_ar><![CDATA[]]></es_ar></textItem><textItem identifier="award4"><en_us><![CDATA[]]></en_us><en_uk><![CDATA[]]></en_uk><nl><![CDATA[]]></nl><fr><![CDATA[]]></fr><de><![CDATA[]]></de><es><![CDATA[]]></es><br><![CDATA[]]></br><pt><![CDATA[]]></pt><it><![CDATA[]]></it><se><![CDATA[]]></se><pl><![CDATA[]]></pl><ru><![CDATA[]]></ru><id><![CDATA[]]></id><ar><![CDATA[]]></ar><jp><![CDATA[]]></jp><cn><![CDATA[]]></cn><es_mx><![CDATA[]]></es_mx><es_ar><![CDATA[]]></es_ar></textItem><textItem identifier="award4_pop"><en_us><![CDATA[]]></en_us><en_uk><![CDATA[]]></en_uk><nl><![CDATA[]]></nl><fr><![CDATA[]]></fr><de><![CDATA[]]></de><es><![CDATA[]]></es><br><![CDATA[]]></br><pt><![CDATA[]]></pt><it><![CDATA[]]></it><se><![CDATA[]]></se><pl><![CDATA[]]></pl><ru><![CDATA[]]></ru><id><![CDATA[]]></id><ar><![CDATA[]]></ar><jp><![CDATA[]]></jp><cn><![CDATA[]]></cn><es_mx><![CDATA[]]></es_mx><es_ar><![CDATA[]]></es_ar></textItem><textItem identifier="award5"><en_us><![CDATA[]]></en_us><en_uk><![CDATA[]]></en_uk><nl><![CDATA[]]></nl><fr><![CDATA[]]></fr><de><![CDATA[]]></de><es><![CDATA[]]></es><br><![CDATA[]]></br><pt><![CDATA[]]></pt><it><![CDATA[]]></it><se><![CDATA[]]></se><pl><![CDATA[]]></pl><ru><![CDATA[]]></ru><id><![CDATA[]]></id><ar><![CDATA[]]></ar><jp><![CDATA[]]></jp><cn><![CDATA[]]></cn><es_mx><![CDATA[]]></es_mx><es_ar><![CDATA[]]></es_ar></textItem><textItem identifier="award5_pop"><en_us><![CDATA[]]></en_us><en_uk><![CDATA[]]></en_uk><nl><![CDATA[]]></nl><fr><![CDATA[]]></fr><de><![CDATA[]]></de><es><![CDATA[]]></es><br><![CDATA[]]></br><pt><![CDATA[]]></pt><it><![CDATA[]]></it><se><![CDATA[]]></se><pl><![CDATA[]]></pl><ru><![CDATA[]]></ru><id><![CDATA[]]></id><ar><![CDATA[]]></ar><jp><![CDATA[]]></jp><cn><![CDATA[]]></cn><es_mx><![CDATA[]]></es_mx><es_ar><![CDATA[]]></es_ar></textItem><textItem identifier="btnBack"><en_us><![CDATA[Back]]></en_us><en_uk><![CDATA[Back]]></en_uk><nl><![CDATA[Terug]]></nl><fr><![CDATA[Retour]]></fr><de><![CDATA[Zurück]]></de><es><![CDATA[Atrás]]></es><br><![CDATA[Voltar]]></br><pt><![CDATA[Atrás]]></pt><it><![CDATA[Indietro]]></it><se><![CDATA[Tillbaka]]></se><pl><![CDATA[Powrót]]></pl><ru><![CDATA[Назад]]></ru><id><![CDATA[Kembali]]></id><ar><![CDATA[Back]]></ar><jp><![CDATA[Back]]></jp><cn><![CDATA[Back]]></cn><es_mx><![CDATA[Atrás]]></es_mx><es_ar><![CDATA[Atrás]]></es_ar></textItem><textItem identifier="tutorial1"><en_us><![CDATA[Here's how you run a beauty salon!]]></en_us><en_uk><![CDATA[Here's how to run a beauty salon!]]></en_uk><nl><![CDATA[Zo run je een schoonheidssalon!]]></nl><fr><![CDATA[Voyons comment tu gères un salon de beauté !]]></fr><de><![CDATA[Hör zu, so leitest du einen Friseursalon!]]></de><es><![CDATA[¡Así se lleva un salón de belleza!]]></es><br><![CDATA[É assim que se administra um salão de beleza!]]></br><pt><![CDATA[Aqui está como se deve gerir um cabeleireiro!]]></pt><it><![CDATA[Ecco come si gestisce un salone di bellezza!]]></it><se><![CDATA[Så här driver du en skönhetssalong!]]></se><pl><![CDATA[Oto, jak prowadzić salon piękności!]]></pl><ru><![CDATA[Хочешь знать, как управлять салоном красоты?]]></ru><id><![CDATA[Ini caranya menjalankan salon kecantikan!]]></id><ar><![CDATA[Here's how you run a beauty salon!]]></ar><jp><![CDATA[Here's how you run a beauty salon!]]></jp><cn><![CDATA[Here's how you run a beauty salon!]]></cn><es_mx><![CDATA[¡Así se lleva un salón de belleza!]]></es_mx><es_ar><![CDATA[¡Así se lleva un salón de belleza!]]></es_ar></textItem><textItem identifier="tutorial2"><en_us><![CDATA[See what the customer wants.]]></en_us><en_uk><![CDATA[First, find out what the customer wants.]]></en_uk><nl><![CDATA[Kijk eerst wat de klant wil.]]></nl><fr><![CDATA[Fais attention aux besoins de la clientèle.]]></fr><de><![CDATA[Finde als Erstes heraus, was deine Kundin wünscht.]]></de><es><![CDATA[Comprueba qué quiere la clienta.]]></es><br><![CDATA[Veja o que a cliente quer.]]></br><pt><![CDATA[Vê o que a cliente quer.]]></pt><it><![CDATA[Guarda cosa desidera la cliente.]]></it><se><![CDATA[Se vad kunden vill ha.]]></se><pl><![CDATA[Sprawdź, czego pragną klientki.]]></pl><ru><![CDATA[Посмотри, чего хочет клиентка.]]></ru><id><![CDATA[Lihat apa yang diinginkan pelanggan.]]></id><ar><![CDATA[See what the customer wants.]]></ar><jp><![CDATA[See what the customer wants.]]></jp><cn><![CDATA[See what the customer wants.]]></cn><es_mx><![CDATA[Comprueba qué quiere la clienta.]]></es_mx><es_ar><![CDATA[Comprueba qué quiere la clienta.]]></es_ar></textItem><textItem identifier="tutorial3"><en_us><![CDATA[She wants her hair washed.]]></en_us><en_uk><![CDATA[She wants her hair washed.]]></en_uk><nl><![CDATA[Ze wil haar haar gewassen hebben.]]></nl><fr><![CDATA[Elle souhaite se faire laver les cheveux.]]></fr><de><![CDATA[Sie möchte die Haare gewaschen bekommen.]]></de><es><![CDATA[Quiere que le laven el pelo.]]></es><br><![CDATA[Ela quer lavar o cabelo.]]></br><pt><![CDATA[Quer lavar o cabelo.]]></pt><it><![CDATA[Vuole lavarsi i capelli.]]></it><se><![CDATA[Hon vill tvätta håret.]]></se><pl><![CDATA[Ona chce, żebyś umyła jej włosy.]]></pl><ru><![CDATA[Она хочет вымыть голову.]]></ru><id><![CDATA[Dia ingin rambutnya dikeramasi.]]></id><ar><![CDATA[She wants her hair washed.]]></ar><jp><![CDATA[She wants her hair washed.]]></jp><cn><![CDATA[She wants her hair washed.]]></cn><es_mx><![CDATA[Quiere que le laven el pelo.]]></es_mx><es_ar><![CDATA[Quiere que le laven el pelo.]]></es_ar></textItem><textItem identifier="tutorial4"><en_us><![CDATA[Drag her to a washing station.]]></en_us><en_uk><![CDATA[Drag her to a washing station.]]></en_uk><nl><![CDATA[Sleep haar naar een wastafel.]]></nl><fr><![CDATA[Fais-la glisser vers une station de lavage.]]></fr><de><![CDATA[Ziehe sie an den Waschplatz.]]></de><es><![CDATA[Arrástrala a una zona de lavado.]]></es><br><![CDATA[Arraste-a para a estação de lavagem.]]></br><pt><![CDATA[Leva-a para um lavatório.]]></pt><it><![CDATA[Trascinala sulla poltrona per lavaggio.]]></it><se><![CDATA[Dra henne till tvättstationen.]]></se><pl><![CDATA[Przeciągnij ją na stanowisko do mycia.]]></pl><ru><![CDATA[Перетащи ее к раковине для мойки.]]></ru><id><![CDATA[Tarik dia ke tempat keramas.]]></id><ar><![CDATA[Drag her to a washing station.]]></ar><jp><![CDATA[Drag her to a washing station.]]></jp><cn><![CDATA[Drag her to a washing station.]]></cn><es_mx><![CDATA[Arrástrala a una zona de lavado.]]></es_mx><es_ar><![CDATA[Arrástrala a una zona de lavado.]]></es_ar></textItem><textItem identifier="tutorial5"><en_us><![CDATA[Click the customer.]]></en_us><en_uk><![CDATA[Click on the customer.]]></en_uk><nl><![CDATA[Klik op de klant.]]></nl><fr><![CDATA[Clique sur la cliente.]]></fr><de><![CDATA[Klicke die Kundin an.]]></de><es><![CDATA[Haz clic en la clienta.]]></es><br><![CDATA[Clique na cliente.]]></br><pt><![CDATA[Clica na cliente.]]></pt><it><![CDATA[Clicca sulla cliente.]]></it><se><![CDATA[Klicka på kunden.]]></se><pl><![CDATA[Kliknij na klientkę.]]></pl><ru><![CDATA[Щелкни по клиентке.]]></ru><id><![CDATA[Klik pelanggannya.]]></id><ar><![CDATA[Click the customer.]]></ar><jp><![CDATA[Click the customer.]]></jp><cn><![CDATA[Click the customer.]]></cn><es_mx><![CDATA[Haz clic en la clienta.]]></es_mx><es_ar><![CDATA[Haz clic en la clienta.]]></es_ar></textItem><textItem identifier="tutorial6"><en_us><![CDATA[Perform different services by using the right tools.]]></en_us><en_uk><![CDATA[Perform different services by using the correct tools.]]></en_uk><nl><![CDATA[Kies de juiste hulpmiddelen om de verschillende behandelingen te geven.]]></nl><fr><![CDATA[Accomplis diverses tâches à l'aide des outils situés à droite.]]></fr><de><![CDATA[Erbringe mit den richtigen Werkzeugen verschiedene Dienstleistungen.]]></de><es><![CDATA[Realiza distintos servicios usando las herramientas adecuadas.]]></es><br><![CDATA[Faça serviços diferentes usando as ferramentas certas.]]></br><pt><![CDATA[Efetua diferentes serviços escolhendo as ferramentas certas.]]></pt><it><![CDATA[Realizza le azioni con gli strumenti giusti.]]></it><se><![CDATA[Utför olika tjänster med hjälp av rätt verktyg.]]></se><pl><![CDATA[Wykonuj różne uslugi, używając odpowiednich narzędzi.]]></pl><ru><![CDATA[Для оказания разных услуг используй нужные инструменты.]]></ru><id><![CDATA[Berikan layanan yang berbeda dengan menggunakan peralatan yang tepat.]]></id><ar><![CDATA[Perform different services by using the right tools.]]></ar><jp><![CDATA[Perform different services by using the right tools.]]></jp><cn><![CDATA[Perform different services by using the right tools.]]></cn><es_mx><![CDATA[Realiza distintos servicios usando las herramientas adecuadas.]]></es_mx><es_ar><![CDATA[Realiza distintos servicios usando las herramientas adecuadas.]]></es_ar></textItem><textItem identifier="tutorial7"><en_us><![CDATA[She wants a haircut. Go grab the scissors!]]></en_us><en_uk><![CDATA[She wants a haircut. Grab the scissors!]]></en_uk><nl><![CDATA[Zij wil een knipbeurt. Pak de schaar!]]></nl><fr><![CDATA[Elle souhaite se faire couper les cheveux. Prends les ciseaux !]]></fr><de><![CDATA[Sie wünscht einen Haarschnitt. Schnapp dir die Schere!]]></de><es><![CDATA[Quiere un corte de pelo. ¡Ve a coger las tijeras!]]></es><br><![CDATA[Ela quer um corte de cabelo. Pegue a tesoura!]]></br><pt><![CDATA[Ela quer cortar o cabelo. Então, agarra a tesoura!]]></pt><it><![CDATA[Vuole un taglio. Prendi le forbici!]]></it><se><![CDATA[Hon vill klippa håret. Ta saxen!]]></se><pl><![CDATA[Ona chce, żebyś obcięła jej włosy. Weź nożyczki!]]></pl><ru><![CDATA[Она хочет сделать прическу. Возьми ножницы!]]></ru><id><![CDATA[Dia ingin rambutnya dipotong. Ambil gunting!]]></id><ar><![CDATA[She wants a haircut. Go grab the scissors!]]></ar><jp><![CDATA[She wants a haircut. Go grab the scissors!]]></jp><cn><![CDATA[She wants a haircut. Go grab the scissors!]]></cn><es_mx><![CDATA[Quiere un corte de pelo. ¡Ve a coger las tijeras!]]></es_mx><es_ar><![CDATA[Quiere un corte de pelo. ¡Ve a coger las tijeras!]]></es_ar></textItem><textItem identifier="tutorial8"><en_us><![CDATA[Click a tool to equip it.]]></en_us><en_uk><![CDATA[Click a tool to equip it.]]></en_uk><nl><![CDATA[Klik op een hulpmiddel om het te gebruiken.]]></nl><fr><![CDATA[Clique sur un outil pour l'utiliser.]]></fr><de><![CDATA[Klicke ein Werkzeug an, um es zu verwenden.]]></de><es><![CDATA[Haz clic en un objeto para equiparlo.]]></es><br><![CDATA[Clique em uma ferramenta para usá-la.]]></br><pt><![CDATA[Clica num instrumento para o utilizares.]]></pt><it><![CDATA[Clicca su uno strumento per prenderlo.]]></it><se><![CDATA[Klicka på ett verktyg för att ta det.]]></se><pl><![CDATA[Kliknij na narzędzie, aby go użyć.]]></pl><ru><![CDATA[Чтобы взять инструмент, щелкни по нему.]]></ru><id><![CDATA[Klik alat untuk menggunakannya.]]></id><ar><![CDATA[Click a tool to equip it.]]></ar><jp><![CDATA[Click a tool to equip it.]]></jp><cn><![CDATA[Click a tool to equip it.]]></cn><es_mx><![CDATA[Haz clic en un objeto para equiparlo.]]></es_mx><es_ar><![CDATA[Haz clic en un objeto para equiparlo.]]></es_ar></textItem><textItem identifier="tutorial9"><en_us><![CDATA[Drag the customer to a styling station.]]></en_us><en_uk><![CDATA[Drag the customer to a styling station.]]></en_uk><nl><![CDATA[Sleep de klant naar een kappersstoel.]]></nl><fr><![CDATA[Fais glisser la cliente vers une station de coiffure.]]></fr><de><![CDATA[Ziehe die Kundin an den Style-Platz.]]></de><es><![CDATA[Arrastra a la clienta a una zona de estilismo.]]></es><br><![CDATA[Arraste a cliente para uma estação de penteados.]]></br><pt><![CDATA[Arrasta a cliente para um posto de penteado.]]></pt><it><![CDATA[Trascina la cliente su una postazione di lavoro.]]></it><se><![CDATA[Dra kunden till stylingstationen.]]></se><pl><![CDATA[Przeciągnij klientkę na stanowisko do stylizacji.]]></pl><ru><![CDATA[Перетащи клиентку в кресло.]]></ru><id><![CDATA[Tarik pelanggannya ke tempat menata rambut.]]></id><ar><![CDATA[Drag the customer to a styling station.]]></ar><jp><![CDATA[Drag the customer to a styling station.]]></jp><cn><![CDATA[Drag the customer to a styling station.]]></cn><es_mx><![CDATA[Arrastra a la clienta a una zona de estilismo.]]></es_mx><es_ar><![CDATA[Arrastra a la clienta a una zona de estilismo.]]></es_ar></textItem><textItem identifier="tutorial10"><en_us><![CDATA[Click the customer once you've equipped the right tool.]]></en_us><en_uk><![CDATA[Click the customer once you have equipped the correct tool.]]></en_uk><nl><![CDATA[Als je het juiste hulpmiddel hebt, klik je op de klant.]]></nl><fr><![CDATA[Clique sur la cliente dès que tu as pris le bon outil.]]></fr><de><![CDATA[Klicke die Kundin an, nachdem du das richtige Werkzeug ausgewählt hast.]]></de><es><![CDATA[Haz clic en la clienta cuando hayas equipado el objeto correcto.]]></es><br><![CDATA[Clique na cliente assim que tiver equipado a ferramenta certa.]]></br><pt><![CDATA[Clica na cliente depois de teres agarrado o instrumento certo.]]></pt><it><![CDATA[Clicca sulla cliente dopo aver preso lo strumento giusto.]]></it><se><![CDATA[Klicka på kunden när du har tagit rätt verktyg.]]></se><pl><![CDATA[Kliknij na klientkę, kiedy już weźmiesz odpowiednie narzędzie.]]></pl><ru><![CDATA[Выбрав нужный инструмент, щелкни по клиентке.]]></ru><id><![CDATA[Klik pelanggannya begitu kamu telah melengkapi diri dengan alat yang tepat.]]></id><ar><![CDATA[Click the customer once you've equipped the right tool.]]></ar><jp><![CDATA[Click the customer once you've equipped the right tool.]]></jp><cn><![CDATA[Click the customer once you've equipped the right tool.]]></cn><es_mx><![CDATA[Haz clic en la clienta cuando hayas equipado el objeto correcto.]]></es_mx><es_ar><![CDATA[Haz clic en la clienta cuando hayas equipado el objeto correcto.]]></es_ar></textItem><textItem identifier="tutorial11"><en_us><![CDATA[Great! Now you're ready for business!]]></en_us><en_uk><![CDATA[Great! Now you're ready for business!]]></en_uk><nl><![CDATA[Ziezo! Je bent er helemaal klaar voor!]]></nl><fr><![CDATA[Super ! Tu peux maintenant travailler !]]></fr><de><![CDATA[Prima! Jetzt kann das Spiel beginnen!]]></de><es><![CDATA[¡Genial! ¡Ya estás lista para tu negocio!]]></es><br><![CDATA[Ótimo! Agora está tudo pronto para negócio!]]></br><pt><![CDATA[Ótimo! Estás preparada para fazer negócio!]]></pt><it><![CDATA[Grande! Adesso sei pronta a fare affari!]]></it><se><![CDATA[Bra! Nu är du redo att börja jobba!]]></se><pl><![CDATA[Wspaniale! Teraz jesteś gotowa, by poprowadzić interes!]]></pl><ru><![CDATA[Отлично! Теперь ты знаешь все, что нужно!]]></ru><id><![CDATA[Hebat! Sekarang kamu siap berbisnis!]]></id><ar><![CDATA[Great! Now you're ready for business!]]></ar><jp><![CDATA[Great! Now you're ready for business!]]></jp><cn><![CDATA[Great! Now you're ready for business!]]></cn><es_mx><![CDATA[¡Genial! ¡Ya estás lista para tu negocio!]]></es_mx><es_ar><![CDATA[¡Genial! ¡Ya estás lista para tu negocio!]]></es_ar></textItem><textItem identifier="tutorial12"><en_us><![CDATA[Good luck!]]></en_us><en_uk><![CDATA[Good luck!]]></en_uk><nl><![CDATA[Veel succes!]]></nl><fr><![CDATA[Bonne chance !]]></fr><de><![CDATA[Viel Glück!]]></de><es><![CDATA[¡Buena suerte!]]></es><br><![CDATA[Boa sorte!]]></br><pt><![CDATA[Boa sorte!]]></pt><it><![CDATA[Buona fortuna!]]></it><se><![CDATA[Lycka till!]]></se><pl><![CDATA[Powodzenia!]]></pl><ru><![CDATA[Удачи!]]></ru><id><![CDATA[Semoga Berhasil!]]></id><ar><![CDATA[Good luck!]]></ar><jp><![CDATA[Good luck!]]></jp><cn><![CDATA[Good luck!]]></cn><es_mx><![CDATA[¡Buena suerte!]]></es_mx><es_ar><![CDATA[¡Buena suerte!]]></es_ar></textItem><textItem identifier="btnNext"><en_us><![CDATA[NEXT]]></en_us><en_uk><![CDATA[NEXT]]></en_uk><nl><![CDATA[VOLGENDE]]></nl><fr><![CDATA[SUIVANT]]></fr><de><![CDATA[WEITER]]></de><es><![CDATA[SIGUIENTE]]></es><br><![CDATA[SEGUINTE]]></br><pt><![CDATA[SEGUINTE]]></pt><it><![CDATA[AVANTI]]></it><se><![CDATA[NÄSTA]]></se><pl><![CDATA[DALEJ]]></pl><ru><![CDATA[ДАЛЬШЕ]]></ru><id><![CDATA[BERIKUTNYA]]></id><ar><![CDATA[NEXT]]></ar><jp><![CDATA[NEXT]]></jp><cn><![CDATA[NEXT]]></cn><es_mx><![CDATA[SIGUIENTE]]></es_mx><es_ar><![CDATA[SIGUIENTE]]></es_ar></textItem><textItem identifier="target"><en_us><![CDATA[GOAL]]></en_us><en_uk><![CDATA[GOAL]]></en_uk><nl><![CDATA[DOEL]]></nl><fr><![CDATA[BUT]]></fr><de><![CDATA[ZIEL]]></de><es><![CDATA[OBJETIVO]]></es><br><![CDATA[OBJETIVO]]></br><pt><![CDATA[OBJETIVO]]></pt><it><![CDATA[OBIETTIVO]]></it><se><![CDATA[MÅL]]></se><pl><![CDATA[CEL]]></pl><ru><![CDATA[ЦЕЛЬ]]></ru><id><![CDATA[GOL]]></id><ar><![CDATA[GOAL]]></ar><jp><![CDATA[GOAL]]></jp><cn><![CDATA[GOAL]]></cn><es_mx><![CDATA[OBJETIVO]]></es_mx><es_ar><![CDATA[OBJETIVO]]></es_ar></textItem><textItem identifier="level"><en_us><![CDATA[Level ]]></en_us><en_uk><![CDATA[Level ]]></en_uk><nl><![CDATA[Level ]]></nl><fr><![CDATA[Niveau ]]></fr><de><![CDATA[Level ]]></de><es><![CDATA[Nivel ]]></es><br><![CDATA[Fase ]]></br><pt><![CDATA[Nível ]]></pt><it><![CDATA[Livello ]]></it><se><![CDATA[Nivå ]]></se><pl><![CDATA[Poziom ]]></pl><ru><![CDATA[Уровень ]]></ru><id><![CDATA[Level ]]></id><ar><![CDATA[Level ]]></ar><jp><![CDATA[Level ]]></jp><cn><![CDATA[Level ]]></cn><es_mx><![CDATA[Nivel ]]></es_mx><es_ar><![CDATA[Nivel ]]></es_ar></textItem><textItem identifier="todaysTarget"><en_us><![CDATA[Target]]></en_us><en_uk><![CDATA[Target]]></en_uk><nl><![CDATA[Doel]]></nl><fr><![CDATA[Cible ]]></fr><de><![CDATA[Ziel]]></de><es><![CDATA[Objetivo]]></es><br><![CDATA[Objetivo]]></br><pt><![CDATA[Alvo]]></pt><it><![CDATA[Obiettivo]]></it><se><![CDATA[Mål]]></se><pl><![CDATA[Cel]]></pl><ru><![CDATA[Цель]]></ru><id><![CDATA[Sasaran]]></id><ar><![CDATA[Target]]></ar><jp><![CDATA[Target]]></jp><cn><![CDATA[Target]]></cn><es_mx><![CDATA[Objetivo]]></es_mx><es_ar><![CDATA[Objetivo]]></es_ar></textItem><textItem identifier="expertGoal"><en_us><![CDATA[Expert Target]]></en_us><en_uk><![CDATA[Expert Target]]></en_uk><nl><![CDATA[Expertdoel]]></nl><fr><![CDATA[Cible expert ]]></fr><de><![CDATA[Expertenziel]]></de><es><![CDATA[Objetivo experto]]></es><br><![CDATA[Objetivo de Perito]]></br><pt><![CDATA[Alvo de perito]]></pt><it><![CDATA[Obiettivo esperto]]></it><se><![CDATA[Expertmål]]></se><pl><![CDATA[Cel eksperta]]></pl><ru><![CDATA[Цель для профи]]></ru><id><![CDATA[Sasaran Ahli]]></id><ar><![CDATA[Expert Target]]></ar><jp><![CDATA[Expert Target]]></jp><cn><![CDATA[Expert Target]]></cn><es_mx><![CDATA[Objetivo experto]]></es_mx><es_ar><![CDATA[Objetivo experto]]></es_ar></textItem><textItem identifier="btnPause"><en_us><![CDATA[Pause]]></en_us><en_uk><![CDATA[Pause]]></en_uk><nl><![CDATA[Pauze]]></nl><fr><![CDATA[Pause]]></fr><de><![CDATA[Pause]]></de><es><![CDATA[Pausa]]></es><br><![CDATA[Pausa]]></br><pt><![CDATA[Pausa]]></pt><it><![CDATA[Pausa]]></it><se><![CDATA[Pausa]]></se><pl><![CDATA[Pauza]]></pl><ru><![CDATA[Пауза]]></ru><id><![CDATA[Jeda]]></id><ar><![CDATA[Pause]]></ar><jp><![CDATA[Pause]]></jp><cn><![CDATA[Pause]]></cn><es_mx><![CDATA[Pausa]]></es_mx><es_ar><![CDATA[Pausa]]></es_ar></textItem><textItem identifier="goal"><en_us><![CDATA[Goal]]></en_us><en_uk><![CDATA[Goal]]></en_uk><nl><![CDATA[Doel]]></nl><fr><![CDATA[But ]]></fr><de><![CDATA[Ziel]]></de><es><![CDATA[Objetivo]]></es><br><![CDATA[Objetivo]]></br><pt><![CDATA[Objetivo]]></pt><it><![CDATA[Obiettivo]]></it><se><![CDATA[Mål]]></se><pl><![CDATA[Cel]]></pl><ru><![CDATA[Цель]]></ru><id><![CDATA[Gol]]></id><ar><![CDATA[Goal]]></ar><jp><![CDATA[Goal]]></jp><cn><![CDATA[Goal]]></cn><es_mx><![CDATA[Objetivo]]></es_mx><es_ar><![CDATA[Objetivo]]></es_ar></textItem><textItem identifier="expert"><en_us><![CDATA[Expert]]></en_us><en_uk><![CDATA[Expert]]></en_uk><nl><![CDATA[Expert]]></nl><fr><![CDATA[Expert ]]></fr><de><![CDATA[Experte]]></de><es><![CDATA[Experto]]></es><br><![CDATA[Perito]]></br><pt><![CDATA[Perito]]></pt><it><![CDATA[Avanzato]]></it><se><![CDATA[Expert]]></se><pl><![CDATA[Ekspert]]></pl><ru><![CDATA[Профи]]></ru><id><![CDATA[Ahli]]></id><ar><![CDATA[Expert]]></ar><jp><![CDATA[Expert]]></jp><cn><![CDATA[Expert]]></cn><es_mx><![CDATA[Experto]]></es_mx><es_ar><![CDATA[Experto]]></es_ar></textItem><textItem identifier="earn"><en_us><![CDATA[Earnings]]></en_us><en_uk><![CDATA[Earnings]]></en_uk><nl><![CDATA[Winst]]></nl><fr><![CDATA[Gains ]]></fr><de><![CDATA[Einnahmen]]></de><es><![CDATA[Ganancias]]></es><br><![CDATA[Lucros]]></br><pt><![CDATA[Ganhos]]></pt><it><![CDATA[Guadagni]]></it><se><![CDATA[Tjänat]]></se><pl><![CDATA[Zarobki]]></pl><ru><![CDATA[Деньги]]></ru><id><![CDATA[Pendapatan]]></id><ar><![CDATA[Earnings]]></ar><jp><![CDATA[Earnings]]></jp><cn><![CDATA[Earnings]]></cn><es_mx><![CDATA[Ganancias]]></es_mx><es_ar><![CDATA[Ganancias]]></es_ar></textItem><textItem identifier="youGot"><en_us><![CDATA[You got]]></en_us><en_uk><![CDATA[You've got]]></en_uk><nl><![CDATA[Je hebt]]></nl><fr><![CDATA[Tu as ]]></fr><de><![CDATA[Du erhältst]]></de><es><![CDATA[Tienes]]></es><br><![CDATA[Você ganhou]]></br><pt><![CDATA[Obtiveste]]></pt><it><![CDATA[Ottieni...]]></it><se><![CDATA[Du har]]></se><pl><![CDATA[Masz]]></pl><ru><![CDATA[У тебя]]></ru><id><![CDATA[Kamu mendapat]]></id><ar><![CDATA[You got]]></ar><jp><![CDATA[You got]]></jp><cn><![CDATA[You got]]></cn><es_mx><![CDATA[Tienes]]></es_mx><es_ar><![CDATA[Tienes]]></es_ar></textItem><textItem identifier="newChair"><en_us><![CDATA[A new styling station!]]></en_us><en_uk><![CDATA[A new styling station!]]></en_uk><nl><![CDATA[Een nieuwe kappersstoel!]]></nl><fr><![CDATA[Une nouvelle station de coiffure !]]></fr><de><![CDATA[einen neuen Style-Platz!]]></de><es><![CDATA[¡Una nueva zona de estilismo!]]></es><br><![CDATA[Uma nova estação de penteados!]]></br><pt><![CDATA[Um novo posto de penteado!]]></pt><it><![CDATA[Una nuova postazione di lavoro!]]></it><se><![CDATA[En ny stylingsalong!]]></se><pl><![CDATA[Nowy stanowisko do stylizacji!]]></pl><ru><![CDATA[новое кресло!]]></ru><id><![CDATA[Tempat penataan rambut baru!]]></id><ar><![CDATA[A new styling station!]]></ar><jp><![CDATA[A new styling station!]]></jp><cn><![CDATA[A new styling station!]]></cn><es_mx><![CDATA[¡Una nueva zona de estilismo!]]></es_mx><es_ar><![CDATA[¡Una nueva zona de estilismo!]]></es_ar></textItem><textItem identifier="newCustomer"><en_us><![CDATA[A new customer!]]></en_us><en_uk><![CDATA[A new customer!]]></en_uk><nl><![CDATA[Een nieuwe klant!]]></nl><fr><![CDATA[Une nouvelle cliente !]]></fr><de><![CDATA[eine neue Kundin!]]></de><es><![CDATA[¡Una nueva clienta!]]></es><br><![CDATA[Uma nova cliente!]]></br><pt><![CDATA[Uma nova cliente!]]></pt><it><![CDATA[Una nuova cliente!]]></it><se><![CDATA[En ny kund!]]></se><pl><![CDATA[Nowa klientka!]]></pl><ru><![CDATA[новый клиент!]]></ru><id><![CDATA[Pelanggan baru!]]></id><ar><![CDATA[A new customer!]]></ar><jp><![CDATA[A new customer!]]></jp><cn><![CDATA[A new customer!]]></cn><es_mx><![CDATA[¡Una nueva clienta!]]></es_mx><es_ar><![CDATA[¡Una nueva clienta!]]></es_ar></textItem><textItem identifier="newHairwash"><en_us><![CDATA[A new washing station!]]></en_us><en_uk><![CDATA[A new washing station!]]></en_uk><nl><![CDATA[Een nieuwe wastafel!]]></nl><fr><![CDATA[Une nouvelle station de lavage !]]></fr><de><![CDATA[einen neuen Waschplatz!]]></de><es><![CDATA[¡Una nueva zona de lavado!]]></es><br><![CDATA[Uma nova estação de lavagem!]]></br><pt><![CDATA[Um lavatório novo!]]></pt><it><![CDATA[Una nuova poltrona per lavaggio!]]></it><se><![CDATA[En ny tvättstation!]]></se><pl><![CDATA[Nowe stanowisko do mycia!]]></pl><ru><![CDATA[новая раковина!]]></ru><id><![CDATA[Tempat keramas baru!]]></id><ar><![CDATA[A new washing station!]]></ar><jp><![CDATA[A new washing station!]]></jp><cn><![CDATA[A new washing station!]]></cn><es_mx><![CDATA[¡Una nueva zona de lavado!]]></es_mx><es_ar><![CDATA[¡Una nueva zona de lavado!]]></es_ar></textItem><textItem identifier="pause"><en_us><![CDATA[Paused]]></en_us><en_uk><![CDATA[Paused]]></en_uk><nl><![CDATA[Pauze]]></nl><fr><![CDATA[En pause]]></fr><de><![CDATA[Angehalten]]></de><es><![CDATA[Pausa]]></es><br><![CDATA[Pausado]]></br><pt><![CDATA[Em pausa]]></pt><it><![CDATA[Pausa]]></it><se><![CDATA[Pausat]]></se><pl><![CDATA[Pauza]]></pl><ru><![CDATA[Пауза]]></ru><id><![CDATA[Jeda]]></id><ar><![CDATA[Paused]]></ar><jp><![CDATA[Paused]]></jp><cn><![CDATA[Paused]]></cn><es_mx><![CDATA[Pausa]]></es_mx><es_ar><![CDATA[Pausa]]></es_ar></textItem><textItem identifier="btnResume"><en_us><![CDATA[Resume]]></en_us><en_uk><![CDATA[Continue]]></en_uk><nl><![CDATA[Doorgaan]]></nl><fr><![CDATA[Reprendre]]></fr><de><![CDATA[Weiter]]></de><es><![CDATA[Reanudar]]></es><br><![CDATA[Continuar]]></br><pt><![CDATA[Continuar]]></pt><it><![CDATA[Riprendi]]></it><se><![CDATA[Återgå]]></se><pl><![CDATA[Kontynuuj]]></pl><ru><![CDATA[Играть]]></ru><id><![CDATA[Lanjutkan Lagi]]></id><ar><![CDATA[Resume]]></ar><jp><![CDATA[Resume]]></jp><cn><![CDATA[Resume]]></cn><es_mx><![CDATA[Reanudar]]></es_mx><es_ar><![CDATA[Reanudar]]></es_ar></textItem><textItem identifier="btnQuit"><en_us><![CDATA[Quit]]></en_us><en_uk><![CDATA[Quit]]></en_uk><nl><![CDATA[Stoppen]]></nl><fr><![CDATA[Quitter]]></fr><de><![CDATA[Beenden]]></de><es><![CDATA[Abandonar]]></es><br><![CDATA[Sair]]></br><pt><![CDATA[Sair]]></pt><it><![CDATA[Esci]]></it><se><![CDATA[Avsluta]]></se><pl><![CDATA[Zakończ]]></pl><ru><![CDATA[Выход]]></ru><id><![CDATA[Keluar]]></id><ar><![CDATA[Quit]]></ar><jp><![CDATA[Quit]]></jp><cn><![CDATA[Quit]]></cn><es_mx><![CDATA[Abandonar]]></es_mx><es_ar><![CDATA[Abandonar]]></es_ar></textItem><textItem identifier="quit"><en_us><![CDATA[You sure?]]></en_us><en_uk><![CDATA[Are you sure?]]></en_uk><nl><![CDATA[Weet je het zeker?]]></nl><fr><![CDATA[Es-tu sûre ?]]></fr><de><![CDATA[Bist du sicher?]]></de><es><![CDATA[¿Estás segura?]]></es><br><![CDATA[Tem certeza?]]></br><pt><![CDATA[Tens a certeza?]]></pt><it><![CDATA[Davvero?]]></it><se><![CDATA[Är du säker?]]></se><pl><![CDATA[Czy na pewno?]]></pl><ru><![CDATA[Закончить?]]></ru><id><![CDATA[Kamu yakin?]]></id><ar><![CDATA[You sure?]]></ar><jp><![CDATA[You sure?]]></jp><cn><![CDATA[You sure?]]></cn><es_mx><![CDATA[¿Estás segura?]]></es_mx><es_ar><![CDATA[¿Estás segura?]]></es_ar></textItem><textItem identifier="btnYes"><en_us><![CDATA[YES]]></en_us><en_uk><![CDATA[YES]]></en_uk><nl><![CDATA[JA]]></nl><fr><![CDATA[OUI]]></fr><de><![CDATA[JA]]></de><es><![CDATA[SÍ]]></es><br><![CDATA[SIM]]></br><pt><![CDATA[SIM]]></pt><it><![CDATA[SÌ]]></it><se><![CDATA[JA]]></se><pl><![CDATA[TAK]]></pl><ru><![CDATA[ДА]]></ru><id><![CDATA[YA]]></id><ar><![CDATA[YES]]></ar><jp><![CDATA[YES]]></jp><cn><![CDATA[YES]]></cn><es_mx><![CDATA[SÍ]]></es_mx><es_ar><![CDATA[SÍ]]></es_ar></textItem><textItem identifier="btnNo"><en_us><![CDATA[NO]]></en_us><en_uk><![CDATA[NO]]></en_uk><nl><![CDATA[NEE]]></nl><fr><![CDATA[NON]]></fr><de><![CDATA[NEIN]]></de><es><![CDATA[NO]]></es><br><![CDATA[NÃO]]></br><pt><![CDATA[NÃO]]></pt><it><![CDATA[NO]]></it><se><![CDATA[NEJ]]></se><pl><![CDATA[NIE]]></pl><ru><![CDATA[НЕТ]]></ru><id><![CDATA[TIDAK]]></id><ar><![CDATA[NO]]></ar><jp><![CDATA[NO]]></jp><cn><![CDATA[NO]]></cn><es_mx><![CDATA[NO]]></es_mx><es_ar><![CDATA[NO]]></es_ar></textItem><textItem identifier="win"><en_us><![CDATA[You Win!]]></en_us><en_uk><![CDATA[You Win!]]></en_uk><nl><![CDATA[Je hebt gewonnen!]]></nl><fr><![CDATA[Tu as gagné !]]></fr><de><![CDATA[Du hast gewonnen!]]></de><es><![CDATA[¡Has ganado!]]></es><br><![CDATA[Venceu!]]></br><pt><![CDATA[Ganhaste!]]></pt><it><![CDATA[Hai vinto!]]></it><se><![CDATA[Du vann!]]></se><pl><![CDATA[Wygrałaś!]]></pl><ru><![CDATA[Получилось!]]></ru><id><![CDATA[Kamu Menang!]]></id><ar><![CDATA[You Win!]]></ar><jp><![CDATA[You Win!]]></jp><cn><![CDATA[You Win!]]></cn><es_mx><![CDATA[¡Has ganado!]]></es_mx><es_ar><![CDATA[¡Has ganado!]]></es_ar></textItem><textItem identifier="Lose"><en_us><![CDATA[You Lose…]]></en_us><en_uk><![CDATA[You Lose…]]></en_uk><nl><![CDATA[Je hebt verloren...]]></nl><fr><![CDATA[Tu as perdu…]]></fr><de><![CDATA[Du hast verloren...]]></de><es><![CDATA[Has perdido...]]></es><br><![CDATA[Perdeu...]]></br><pt><![CDATA[Perdeste…]]></pt><it><![CDATA[Hai perso...]]></it><se><![CDATA[Du förlorade ...]]></se><pl><![CDATA[Przegrałaś...]]></pl><ru><![CDATA[Не вышло...]]></ru><id><![CDATA[Kamu Kalah…]]></id><ar><![CDATA[You Lose…]]></ar><jp><![CDATA[You Lose…]]></jp><cn><![CDATA[You Lose…]]></cn><es_mx><![CDATA[Has perdido...]]></es_mx><es_ar><![CDATA[Has perdido...]]></es_ar></textItem><textItem identifier="todaysScore"><en_us><![CDATA[Score]]></en_us><en_uk><![CDATA[Score]]></en_uk><nl><![CDATA[Score]]></nl><fr><![CDATA[Score ]]></fr><de><![CDATA[Punkte]]></de><es><![CDATA[Puntuación]]></es><br><![CDATA[Pontuação]]></br><pt><![CDATA[Pontuação]]></pt><it><![CDATA[Punteggio]]></it><se><![CDATA[Poäng]]></se><pl><![CDATA[Wynik]]></pl><ru><![CDATA[Счет]]></ru><id><![CDATA[Skor]]></id><ar><![CDATA[Score]]></ar><jp><![CDATA[Score]]></jp><cn><![CDATA[Score]]></cn><es_mx><![CDATA[Puntuación]]></es_mx><es_ar><![CDATA[Puntuación]]></es_ar></textItem><textItem identifier="expertBonus"><en_us><![CDATA[Expert Bonus]]></en_us><en_uk><![CDATA[Expert Bonus]]></en_uk><nl><![CDATA[Expertbonus]]></nl><fr><![CDATA[Bonus expert ]]></fr><de><![CDATA[Expertenbonus]]></de><es><![CDATA[Bonificación experto]]></es><br><![CDATA[Bônus de Perito]]></br><pt><![CDATA[Bónus de perito]]></pt><it><![CDATA[Bonus esperto]]></it><se><![CDATA[Expertbonus]]></se><pl><![CDATA[Bonus eksperta]]></pl><ru><![CDATA[Бонус профи]]></ru><id><![CDATA[Bonus Ahli]]></id><ar><![CDATA[Expert Bonus]]></ar><jp><![CDATA[Expert Bonus]]></jp><cn><![CDATA[Expert Bonus]]></cn><es_mx><![CDATA[Bonificación experto]]></es_mx><es_ar><![CDATA[Bonificación experto]]></es_ar></textItem><textItem identifier="todaysTotal"><en_us><![CDATA[Today's Score]]></en_us><en_uk><![CDATA[Today's Score]]></en_uk><nl><![CDATA[Score vandaag]]></nl><fr><![CDATA[Score du jour ]]></fr><de><![CDATA[Punkte heute]]></de><es><![CDATA[Puntuación de hoy]]></es><br><![CDATA[Pontuação de Hoje]]></br><pt><![CDATA[Pontuação de hoje]]></pt><it><![CDATA[Punteggio di oggi]]></it><se><![CDATA[Dagens poäng]]></se><pl><![CDATA[Dzisiejszy wynik]]></pl><ru><![CDATA[Счет за сегодня]]></ru><id><![CDATA[Skor Hari Ini]]></id><ar><![CDATA[Today's Score]]></ar><jp><![CDATA[Today's Score]]></jp><cn><![CDATA[Today's Score]]></cn><es_mx><![CDATA[Puntuación de hoy]]></es_mx><es_ar><![CDATA[Puntuación de hoy]]></es_ar></textItem><textItem identifier="totalScore"><en_us><![CDATA[Total Score]]></en_us><en_uk><![CDATA[Total Score]]></en_uk><nl><![CDATA[Totaalscore]]></nl><fr><![CDATA[Score total ]]></fr><de><![CDATA[Punkte insgesamt]]></de><es><![CDATA[Puntuación total]]></es><br><![CDATA[Pontuação Total]]></br><pt><![CDATA[Pontuação total]]></pt><it><![CDATA[Punteggio totale]]></it><se><![CDATA[Totalpoäng]]></se><pl><![CDATA[Łączny wynik]]></pl><ru><![CDATA[Общий счет]]></ru><id><![CDATA[Skor Total]]></id><ar><![CDATA[Total Score]]></ar><jp><![CDATA[Total Score]]></jp><cn><![CDATA[Total Score]]></cn><es_mx><![CDATA[Puntuación total]]></es_mx><es_ar><![CDATA[Puntuación total]]></es_ar></textItem><textItem identifier="btnRetry"><en_us><![CDATA[Retry]]></en_us><en_uk><![CDATA[Retry]]></en_uk><nl><![CDATA[Opnieuw proberen]]></nl><fr><![CDATA[Essayer à nouveau ]]></fr><de><![CDATA[Erneut versuchen]]></de><es><![CDATA[Volver a intentar]]></es><br><![CDATA[Repetir]]></br><pt><![CDATA[Repetir]]></pt><it><![CDATA[Riprova]]></it><se><![CDATA[Försök igen]]></se><pl><![CDATA[Spróbuj ponownie]]></pl><ru><![CDATA[Сначала]]></ru><id><![CDATA[Coba Lagi]]></id><ar><![CDATA[Retry]]></ar><jp><![CDATA[Retry]]></jp><cn><![CDATA[Retry]]></cn><es_mx><![CDATA[Volver a intentar]]></es_mx><es_ar><![CDATA[Volver a intentar]]></es_ar></textItem><textItem identifier="endlessPop"><en_us><![CDATA[Score as many points as possible! Don't let the beauty meter run out or it's game over!]]></en_us><en_uk><![CDATA[Score as many points as possible! Don't let the beauty meter run out or it's game over!]]></en_uk><nl><![CDATA[Scoor zo veel mogelijk punten! Houd de schoonheidsmeter altijd gevuld, anders is het game over!]]></nl><fr><![CDATA[Remporte le plus de points possible ! Ne laisse pas le compteur de beauté se vider, sinon la partie sera terminée !]]></fr><de><![CDATA[Sammle möglichst viele Punkte! Lass die Schönheitsanzeige nicht leerlaufen, sonst ist das Spiel zu Ende!]]></de><es><![CDATA[¡Obtén tantos puntos como puedas! ¡No dejes que se acabe el medidor de belleza o se acabó la partida!]]></es><br><![CDATA[Faça mais pontos o possível! Não deixe o medidor de beleza esvaziar ou o jogo acabará!]]></br><pt><![CDATA[Marca o máximo de pontos possíveis! Não deixes o medidor de beleza esgotar-se ou o jogo acaba!]]></pt><it><![CDATA[Fai più punti che puoi! Non far esaurire l'indicatore di bellezza o perderai!]]></it><se><![CDATA[Få så många poäng som möjligt! Låt inte skönhetsmätaren nå noll, då är spelet över!]]></se><pl><![CDATA[Zdobądź jak najwięcej punktów! Nie pozwól, by wskaźnik urody wyczerpał się, w przeciwnym razie gra dobiegnie końca!]]></pl><ru><![CDATA[Старайся набрать как можно больше очков! Если полоска внизу уменьшится до нуля, игра закончится!]]></ru><id><![CDATA[Cetak poin sebanyak mungkin! Jangan sampai meteran kecantikan habis atau game tamat!]]></id><ar><![CDATA[Score as many points as possible! Don't let the beauty meter run out or it's game over!]]></ar><jp><![CDATA[Score as many points as possible! Don't let the beauty meter run out or it's game over!]]></jp><cn><![CDATA[Score as many points as possible! Don't let the beauty meter run out or it's game over!]]></cn><es_mx><![CDATA[¡Obtén tantos puntos como puedas! ¡No dejes que se acabe el medidor de belleza o se acabó la partida!]]></es_mx><es_ar><![CDATA[¡Obtén tantos puntos como puedas! ¡No dejes que se acabe el medidor de belleza o se acabó la partida!]]></es_ar></textItem><textItem identifier="goodJob"><en_us><![CDATA[Fantastic!]]></en_us><en_uk><![CDATA[Fantastic!]]></en_uk><nl><![CDATA[Fantastisch!]]></nl><fr><![CDATA[Formidable !]]></fr><de><![CDATA[Fantastisch!]]></de><es><![CDATA[¡Fantástico!]]></es><br><![CDATA[Fantástico!]]></br><pt><![CDATA[Fantástico!]]></pt><it><![CDATA[Fantastico!]]></it><se><![CDATA[Fantastiskt!]]></se><pl><![CDATA[Fantastycznie!]]></pl><ru><![CDATA[Потрясающе!]]></ru><id><![CDATA[Fantastis!]]></id><ar><![CDATA[Fantastic!]]></ar><jp><![CDATA[Fantastic!]]></jp><cn><![CDATA[Fantastic!]]></cn><es_mx><![CDATA[¡Fantástico!]]></es_mx><es_ar><![CDATA[¡Fantástico!]]></es_ar></textItem><textItem identifier="score"><en_us><![CDATA[Score]]></en_us><en_uk><![CDATA[Score]]></en_uk><nl><![CDATA[Score]]></nl><fr><![CDATA[Score ]]></fr><de><![CDATA[Punkte]]></de><es><![CDATA[Puntuación]]></es><br><![CDATA[Pontuação]]></br><pt><![CDATA[Pontuação]]></pt><it><![CDATA[Punteggio]]></it><se><![CDATA[Poäng]]></se><pl><![CDATA[Wynik]]></pl><ru><![CDATA[Счет]]></ru><id><![CDATA[Skor]]></id><ar><![CDATA[Score]]></ar><jp><![CDATA[Score]]></jp><cn><![CDATA[Score]]></cn><es_mx><![CDATA[Puntuación]]></es_mx><es_ar><![CDATA[Puntuación]]></es_ar></textItem><textItem identifier="btnSubmit"><en_us><![CDATA[Submit]]></en_us><en_uk><![CDATA[Submit]]></en_uk><nl><![CDATA[Verzenden]]></nl><fr><![CDATA[Soumettre]]></fr><de><![CDATA[Eintragen]]></de><es><![CDATA[Enviar]]></es><br><![CDATA[Enviar]]></br><pt><![CDATA[Enviar]]></pt><it><![CDATA[Invia]]></it><se><![CDATA[Skicka]]></se><pl><![CDATA[Zapisz]]></pl><ru><![CDATA[Сохранить]]></ru><id><![CDATA[Kirim]]></id><ar><![CDATA[Submit]]></ar><jp><![CDATA[Submit]]></jp><cn><![CDATA[Submit]]></cn><es_mx><![CDATA[Enviar]]></es_mx><es_ar><![CDATA[Enviar]]></es_ar></textItem><textItem identifier="btnPlayAgain"><en_us><![CDATA[Play Again]]></en_us><en_uk><![CDATA[Play Again]]></en_uk><nl><![CDATA[Opnieuw spelen]]></nl><fr><![CDATA[Rejouer]]></fr><de><![CDATA[Nochmal spielen]]></de><es><![CDATA[Volver a jugar]]></es><br><![CDATA[Jogar de Novo]]></br><pt><![CDATA[Jogar outra vez]]></pt><it><![CDATA[Gioca ancora]]></it><se><![CDATA[Spela igen]]></se><pl><![CDATA[Zagraj ponownie]]></pl><ru><![CDATA[Еще раз]]></ru><id><![CDATA[Main Lagi]]></id><ar><![CDATA[Play Again]]></ar><jp><![CDATA[Play Again]]></jp><cn><![CDATA[Play Again]]></cn><es_mx><![CDATA[Volver a jugar]]></es_mx><es_ar><![CDATA[Volver a jugar]]></es_ar></textItem><textItem identifier="wait"><en_us><![CDATA[Loading…]]></en_us><en_uk><![CDATA[Loading…]]></en_uk><nl><![CDATA[Laden...]]></nl><fr><![CDATA[En chargement…]]></fr><de><![CDATA[Laden...]]></de><es><![CDATA[Cargando...]]></es><br><![CDATA[Carregando...]]></br><pt><![CDATA[A carregar…]]></pt><it><![CDATA[Caricamento...]]></it><se><![CDATA[Laddar ...]]></se><pl><![CDATA[Ładowanie...]]></pl><ru><![CDATA[Загрузка...]]></ru><id><![CDATA[Memuatkan…]]></id><ar><![CDATA[Loading…]]></ar><jp><![CDATA[Loading…]]></jp><cn><![CDATA[Loading…]]></cn><es_mx><![CDATA[Cargando...]]></es_mx><es_ar><![CDATA[Cargando...]]></es_ar></textItem><textItem identifier="award_name_1"><en_us><![CDATA[Washin' Wiz]]></en_us><en_uk><![CDATA[Washin' Wiz]]></en_uk><nl><![CDATA[Superschuim]]></nl><fr><![CDATA[Génie du lavage]]></fr><de><![CDATA[Waschkünstlerin]]></de><es><![CDATA[Maga del Lavado]]></es><br><![CDATA[Mestre da Lavagem]]></br><pt><![CDATA[Mago da Lavagem]]></pt><it><![CDATA[Maga dello shampoo]]></it><se><![CDATA[Tvättmästare]]></se><pl><![CDATA[Czarodziejka mycia]]></pl><ru><![CDATA[Головомойка]]></ru><id><![CDATA[Pesulap Keramas]]></id><ar><![CDATA[Washin' Wiz]]></ar><jp><![CDATA[Washin' Wiz]]></jp><cn><![CDATA[Washin' Wiz]]></cn><es_mx><![CDATA[Washin' Wiz]]></es_mx><es_ar><![CDATA[Washin' Wiz]]></es_ar></textItem><textItem identifier="award_desc_1"><en_us><![CDATA[10 customers' hair washed in 1 level.]]></en_us><en_uk><![CDATA[Washed 10 customers' hair in 1 level.]]></en_uk><nl><![CDATA[10 wasbeurten gegeven in 1 level.]]></nl><fr><![CDATA[10 lavages de cheveux au niveau 1.]]></fr><de><![CDATA[10x Haare gewaschen in 1 Level.]]></de><es><![CDATA[Lava el pelo de 10 clientas en 1 nivel.]]></es><br><![CDATA[Lavou o cabelo de 10 clientes em 1 fase.]]></br><pt><![CDATA[Lavado o cabelo de 10 clientes em 1 só nível.]]></pt><it><![CDATA[Lavati i capelli a 10 clienti in un livello.]]></it><se><![CDATA[Tvättade 10 kunders hår på 1 nivå.]]></se><pl><![CDATA[Umyto włosy 10 klientkom na 1 poziomie.]]></pl><ru><![CDATA[На 1 уровне вымыты головы 10 клиентов.]]></ru><id><![CDATA[10 pelanggan dikeramasi dalam 1 level.]]></id><ar><![CDATA[10 customers' hair washed in 1 level.]]></ar><jp><![CDATA[10 customers' hair washed in 1 level.]]></jp><cn><![CDATA[10 customers' hair washed in 1 level.]]></cn><es_mx><![CDATA[10 customers' hair washed in 1 level.]]></es_mx><es_ar><![CDATA[10 customers' hair washed in 1 level.]]></es_ar></textItem><textItem identifier="award_name_2"><en_us><![CDATA[Short 'n' Snappy]]></en_us><en_uk><![CDATA[Scissor Skills]]></en_uk><nl><![CDATA[Knappe knipper]]></nl><fr><![CDATA[Court & Rapide]]></fr><de><![CDATA[Kurz und bündig]]></de><es><![CDATA[Corto y Precioso]]></es><br><![CDATA[Gênio da Tesoura]]></br><pt><![CDATA[Curto e Rápido]]></pt><it><![CDATA[Taglio in stile]]></it><se><![CDATA[Kort och fint]]></se><pl><![CDATA[Krótko i modnie]]></pl><ru><![CDATA[В моде ежик]]></ru><id><![CDATA[Singkat dan Cepat]]></id><ar><![CDATA[Short 'n' Snappy]]></ar><jp><![CDATA[Short 'n' Snappy]]></jp><cn><![CDATA[Short 'n' Snappy]]></cn><es_mx><![CDATA[Short 'n' Snappy]]></es_mx><es_ar><![CDATA[Short 'n' Snappy]]></es_ar></textItem><textItem identifier="award_desc_2"><en_us><![CDATA[5 customers' hair cut in 1 level.]]></en_us><en_uk><![CDATA[Cut 5 customers' hair in 1 combo.]]></en_uk><nl><![CDATA[5 klanten geknipt in 1 combo.]]></nl><fr><![CDATA[5 coupes de cheveux au niveau 1.]]></fr><de><![CDATA[5x Haare geschnitten in 1 Level.]]></de><es><![CDATA[Corta el pelo de 5 clientas en 1 nivel.]]></es><br><![CDATA[Cortou o cabelo de 5 clientes em 1 fase.]]></br><pt><![CDATA[Cabelo cortado a 5 clientes em 1 só nível.]]></pt><it><![CDATA[Tagliati i capelli a 5 clienti in un livello.]]></it><se><![CDATA[Klippte 5 kunders hår på 1 nivå.]]></se><pl><![CDATA[Obcięto włosy 5 klientkom na 1 poziomie.]]></pl><ru><![CDATA[На 1 уровне подстрижено 5 клиентов.]]></ru><id><![CDATA[5 pelanggan rambutnya dipotong dalam 1 level.]]></id><ar><![CDATA[5 customers' hair cut in 1 level.]]></ar><jp><![CDATA[5 customers' hair cut in 1 level.]]></jp><cn><![CDATA[5 customers' hair cut in 1 level.]]></cn><es_mx><![CDATA[5 customers' hair cut in 1 level.]]></es_mx><es_ar><![CDATA[5 customers' hair cut in 1 level.]]></es_ar></textItem><textItem identifier="award_name_3"><en_us><![CDATA[80s Fabulous]]></en_us><en_uk><![CDATA[80s Throwback]]></en_uk><nl><![CDATA[Jaren '80]]></nl><fr><![CDATA[Super 80s]]></fr><de><![CDATA[Fabelhafte 80er]]></de><es><![CDATA[Vuelven los 80]]></es><br><![CDATA[Volta Aos Anos 80]]></br><pt><![CDATA[Fabulosos anos 80]]></pt><it><![CDATA[Fantastici '80]]></it><se><![CDATA[Härligt 80-tal]]></se><pl><![CDATA[Wspaniałe lata 80]]></pl><ru><![CDATA[Славные 80-е]]></ru><id><![CDATA[Hebat di 80-an]]></id><ar><![CDATA[80s Fabulous]]></ar><jp><![CDATA[80s Fabulous]]></jp><cn><![CDATA[80s Fabulous]]></cn><es_mx><![CDATA[80s Fabulous]]></es_mx><es_ar><![CDATA[80s Fabulous]]></es_ar></textItem><textItem identifier="award_desc_3"><en_us><![CDATA[20 customers' hair permed.]]></en_us><en_uk><![CDATA[Permed 20 customers' hair.]]></en_uk><nl><![CDATA[20 klanten een permanent gegeven.]]></nl><fr><![CDATA[20 permanentes réalisées.]]></fr><de><![CDATA[20 Dauerwellen frisiert.]]></de><es><![CDATA[Haz la permanente a 20 clientas.]]></es><br><![CDATA[Cacheou o cabelo de 20 clientes.]]></br><pt><![CDATA[20 permanentes efetuadas.]]></pt><it><![CDATA[Fatta la permanente a 20 clienti.]]></it><se><![CDATA[Permanentade 20 kunders hår.]]></se><pl><![CDATA[Wykonano trwałą na 20 klientkach.]]></pl><ru><![CDATA[20 клиентам сделана завивка.]]></ru><id><![CDATA[20 pelanggan dikeriting.]]></id><ar><![CDATA[20 customers' hair permed.]]></ar><jp><![CDATA[20 customers' hair permed.]]></jp><cn><![CDATA[20 customers' hair permed.]]></cn><es_mx><![CDATA[20 customers' hair permed.]]></es_mx><es_ar><![CDATA[20 customers' hair permed.]]></es_ar></textItem><textItem identifier="award_name_4"><en_us><![CDATA[Broken Hearts Club]]></en_us><en_uk><![CDATA[Cranky Customer]]></en_uk><nl><![CDATA[Klagende klanten]]></nl><fr><![CDATA[Les grincheuses]]></fr><de><![CDATA[Gebrochene Herzen]]></de><es><![CDATA[Corazones Rotos]]></es><br><![CDATA[Clientes Raivosos]]></br><pt><![CDATA[Clube do Desespero]]></pt><it><![CDATA[Cuori spezzati]]></it><se><![CDATA[Krossade hjärtan]]></se><pl><![CDATA[Klub złamanych serc]]></pl><ru><![CDATA[Дайте книгу жалоб!]]></ru><id><![CDATA[Klub Patah Hati]]></id><ar><![CDATA[Broken Hearts Club]]></ar><jp><![CDATA[Broken Hearts Club]]></jp><cn><![CDATA[Broken Hearts Club]]></cn><es_mx><![CDATA[Broken Hearts Club]]></es_mx><es_ar><![CDATA[Broken Hearts Club]]></es_ar></textItem><textItem identifier="award_desc_4"><en_us><![CDATA[5 customers angered in 1 level.]]></en_us><en_uk><![CDATA[Made 5 customers angry in 1 level.]]></en_uk><nl><![CDATA[5 klanten boos gemaakt in 1 level.]]></nl><fr><![CDATA[5 clientes en colère au niveau 1.]]></fr><de><![CDATA[5 Kunden in 1 Level verärgert.]]></de><es><![CDATA[Enfada a 5 clientas en 1 nivel.]]></es><br><![CDATA[Deixou 5 clientes com raiva em 1 fase.]]></br><pt><![CDATA[5 clientes furiosos em 1 só nível.]]></pt><it><![CDATA[Fatti arrabbiare 5 clienti in un livello.]]></it><se><![CDATA[Gjorde 5 kunder arga på 1 nivå.]]></se><pl><![CDATA[5 rozzłoszczonych klientek na 1 poziomie.]]></pl><ru><![CDATA[На 1 уровне остались недовольными 5 клиентов.]]></ru><id><![CDATA[5 pelanggan marah dalam 1 level.]]></id><ar><![CDATA[5 customers angered in 1 level.]]></ar><jp><![CDATA[5 customers angered in 1 level.]]></jp><cn><![CDATA[5 customers angered in 1 level.]]></cn><es_mx><![CDATA[5 customers angered in 1 level.]]></es_mx><es_ar><![CDATA[5 customers angered in 1 level.]]></es_ar></textItem><textItem identifier="award_name_5"><en_us><![CDATA[Straight Sensation]]></en_us><en_uk><![CDATA[Straight Sensation]]></en_uk><nl><![CDATA[Steil in stijl]]></nl><fr><![CDATA[Cheveux raides]]></fr><de><![CDATA[Alles glatt]]></de><es><![CDATA[Sensación Lisa]]></es><br><![CDATA[Alisamento Perfeito]]></br><pt><![CDATA[Sensação Lisa]]></pt><it><![CDATA[Sensazione liscia]]></it><se><![CDATA[Tillplattare]]></se><pl><![CDATA[Urok prostoty]]></pl><ru><![CDATA[Выпрямитель]]></ru><id><![CDATA[Sensasi Lurus]]></id><ar><![CDATA[Straight Sensation]]></ar><jp><![CDATA[Straight Sensation]]></jp><cn><![CDATA[Straight Sensation]]></cn><es_mx><![CDATA[Straight Sensation]]></es_mx><es_ar><![CDATA[Straight Sensation]]></es_ar></textItem><textItem identifier="award_desc_5"><en_us><![CDATA[20 customers' hair straightened.]]></en_us><en_uk><![CDATA[Straightened 20 customers' hair.]]></en_uk><nl><![CDATA[Stijltang gebruikt bij 20 klanten.]]></nl><fr><![CDATA[20 chevelures défrisées.]]></fr><de><![CDATA[20 Kunden die Haare geglättet.]]></de><es><![CDATA[Alisa el pelo de 20 clientas.]]></es><br><![CDATA[Alisou o cabelo de 20 clientes.]]></br><pt><![CDATA[Alisado o cabelo a 20 clientes.]]></pt><it><![CDATA[Lisciati i capelli a 20 clienti.]]></it><se><![CDATA[Plattade 20 kunders hår.]]></se><pl><![CDATA[Wyprostowano włosy 20 klientkom.]]></pl><ru><![CDATA[Выпрямлены волосы 20 клиентов.]]></ru><id><![CDATA[20 pelanggan direbonding.]]></id><ar><![CDATA[20 customers' hair straightened.]]></ar><jp><![CDATA[20 customers' hair straightened.]]></jp><cn><![CDATA[20 customers' hair straightened.]]></cn><es_mx><![CDATA[20 customers' hair straightened.]]></es_mx><es_ar><![CDATA[20 customers' hair straightened.]]></es_ar></textItem></LocalisedText>
;
SpilGame.importXMLv2(xmlData);
trace("Language Data Succesfully included");
Languages.initialize();
SpilGame.initialize("Cindy_The_Hairstylist", PortalGroup.GIRL, "Cindy_The_Hairstylist.html", this, true);
game_ready = false;
slot_1_empty = true;
slot_2_empty = true;
slot_3_empty = true;
slot_4_empty = true;
slot_5_empty = true;
color_pick = "none";
score = 0;
total_score = 0;
goal_showing = false;
expert_bonus = 0;
time = 0;
timeout = false;
level_time_limit = 0;
window_day.visible = false;
window_winlose.visible = false;
window_pause.visible = false;
window_sure.visible = false;
window_notif.visible = false;
gallery.visible = false;
award_1_achieved = false;
award_2_achieved = false;
award_3_achieved = false;
award_4_achieved = false;
award_5_achieved = false;
award_showed = "";
wash_number = 0;
cut_combo = 0;
perm_number = 0;
angry_number = 0;
ion_number = 0;
goal = 0;
expert_goal = 0;
expert_achieved = false;
goal_achieved = false;
level = 0;
win = false;
lose = false;
spawn_delay = 0;
spawn_interval = 0;
sound_on = true;
tutor_number = 0;
tutor_done = 0;
game_mode = 0;
window_endless.visible = false;
life = 0;
speed_up = false;
last_score = 0;
border.mouseChildren = false;
border.mouseEnabled = false;
MySaveData = SharedObject.getLocal("salon_save");
if (MySaveData.data.award_1_achieved != null){
award_1_achieved = MySaveData.data.award_1_achieved;
};
if (MySaveData.data.award_2_achieved != null){
award_2_achieved = MySaveData.data.award_2_achieved;
};
if (MySaveData.data.award_3_achieved != null){
award_3_achieved = MySaveData.data.award_3_achieved;
};
if (MySaveData.data.award_4_achieved != null){
award_4_achieved = MySaveData.data.award_4_achieved;
};
if (MySaveData.data.award_5_achieved != null){
award_5_achieved = MySaveData.data.award_5_achieved;
};
addEventListener(Event.ENTER_FRAME, penyakitLama);
stop();
Log.View(3356, "40b7ed53ee544939", root.loaderInfo.loaderURL);
loaderInfo.addEventListener(ProgressEvent.PROGRESS, preloader);
loaderInfo.addEventListener(Event.COMPLETE, load_complete);
}
function frame3(){
stop();
}
function frame4(){
gallery.visible = false;
window_sure.visible = false;
window_pause.visible = false;
border.mouseChildren = false;
border.mouseEnabled = false;
stop();
playBGM(new soundmenu());
btn_spil.addEventListener(MouseEvent.CLICK, handle_btnSpil);
btn_moregamesat.addEventListener(MouseEvent.CLICK, handle_btnMoreGames);
}
function frame7(){
queue_holder.mouseChildren = false;
queue_holder.mouseEnabled = false;
combo_holder.mouseChildren = false;
combo_holder.mouseEnabled = false;
scissor.addEventListener("click", scissorclick);
perm.addEventListener("click", permclick);
ion.addEventListener("click", ionclick);
color.addEventListener("click", colorclick);
ribbon.addEventListener("click", ribbonclick);
ch = getChildByName("karakter");
onlist = false;
onlistnum = 0;
i = 0;
tutorial.mouseEnabled = false;
tutorial.mouseChildren = false;
next_tutor.addEventListener("click", tutorclick);
pause.addEventListener("click", pauseclick);
if (game_mode == 1){
initialize();
} else {
if (game_mode == 2){
initialize2();
};
};
}
function frame8(){
__setProp___id2__Scene1_action_7();
__setProp___id1__Scene1_action_7();
stop();
score_end.text = total_score;
btn_submit.addEventListener("click", submitclick);
btn_play_again.addEventListener("click", playagainclick);
}
}
}//package Cindy_the_hairstylist_SPIL_FINAL_fla
Section 49
//notification_27 (Cindy_the_hairstylist_SPIL_FINAL_fla.notification_27)
package Cindy_the_hairstylist_SPIL_FINAL_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import spill.localisation.*;
import flash.media.*;
import flash.net.*;
import flash.utils.*;
import flash.ui.*;
import flash.system.*;
import flash.external.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
public dynamic class notification_27 extends MovieClip {
public var __id11_:LocalizedTextField;
public var __id12_:LocalizedTextField;
public var __id13_:LocalizedTextField;
public var __setPropDict:Dictionary;
public function notification_27(){
__setPropDict = new Dictionary(true);
super();
addFrameScript(0, frame1, 1, frame2, 4, frame5, 5, frame6, 10, frame11);
}
function __setProp___id11__notification_Layer1_0(){
if ((((__setPropDict[__id11_] == undefined)) || (!((int(__setPropDict[__id11_]) == 1))))){
__setPropDict[__id11_] = 1;
try {
__id11_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id11_.text = "{newChair}";
__id11_.textColor = 0xFFFFFF;
__id11_.textSize = 14;
__id11_.bold = false;
__id11_.disableWordwrap = false;
__id11_.embedFonts = true;
__id11_.font = "Arial";
__id11_.hAlign = "center";
__id11_.multiline = true;
__id11_.vAlign = "top";
__id11_.antiAliasType = "advanced";
__id11_.glowBlur = 3;
__id11_.glowColor = 0;
__id11_.useGlowFilter = false;
__id11_.glowQuality = 1;
__id11_.glowStrength = 5;
__id11_.gridFitType = "pixel";
__id11_.italic = false;
__id11_.selectable = false;
__id11_.underline = false;
try {
__id11_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
};
}
function __setProp___id11__notification_Layer1_1(){
if ((((__setPropDict[__id11_] == undefined)) || (!((int(__setPropDict[__id11_]) == 2))))){
__setPropDict[__id11_] = 2;
try {
__id11_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id11_.text = "{newCustomer}";
__id11_.textColor = 0xFFFFFF;
__id11_.textSize = 12;
__id11_.bold = false;
__id11_.disableWordwrap = false;
__id11_.embedFonts = true;
__id11_.font = "Arial";
__id11_.hAlign = "center";
__id11_.multiline = true;
__id11_.vAlign = "top";
__id11_.antiAliasType = "advanced";
__id11_.glowBlur = 3;
__id11_.glowColor = 0;
__id11_.useGlowFilter = false;
__id11_.glowQuality = 1;
__id11_.glowStrength = 5;
__id11_.gridFitType = "pixel";
__id11_.italic = false;
__id11_.selectable = false;
__id11_.underline = false;
try {
__id11_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
};
}
function __setProp___id12__notification_Layer1_4(){
if ((((__setPropDict[__id12_] == undefined)) || (!((int(__setPropDict[__id12_]) == 5))))){
__setPropDict[__id12_] = 5;
try {
__id12_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id12_.text = "{newCustomer}";
__id12_.textColor = 0xFFFFFF;
__id12_.textSize = 12;
__id12_.bold = false;
__id12_.disableWordwrap = false;
__id12_.embedFonts = true;
__id12_.font = "Arial";
__id12_.hAlign = "center";
__id12_.multiline = true;
__id12_.vAlign = "top";
__id12_.antiAliasType = "advanced";
__id12_.glowBlur = 3;
__id12_.glowColor = 0;
__id12_.useGlowFilter = false;
__id12_.glowQuality = 1;
__id12_.glowStrength = 5;
__id12_.gridFitType = "pixel";
__id12_.italic = false;
__id12_.selectable = false;
__id12_.underline = false;
try {
__id12_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
};
}
function __setProp___id12__notification_Layer1_5(){
if ((((__setPropDict[__id12_] == undefined)) || (!((int(__setPropDict[__id12_]) == 6))))){
__setPropDict[__id12_] = 6;
try {
__id12_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id12_.text = "{newHairwash}";
__id12_.textColor = 0xFFFFFF;
__id12_.textSize = 12;
__id12_.bold = false;
__id12_.disableWordwrap = false;
__id12_.embedFonts = true;
__id12_.font = "Arial";
__id12_.hAlign = "center";
__id12_.multiline = true;
__id12_.vAlign = "top";
__id12_.antiAliasType = "advanced";
__id12_.glowBlur = 3;
__id12_.glowColor = 0;
__id12_.useGlowFilter = false;
__id12_.glowQuality = 1;
__id12_.glowStrength = 5;
__id12_.gridFitType = "pixel";
__id12_.italic = false;
__id12_.selectable = false;
__id12_.underline = false;
try {
__id12_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
};
}
function __setProp___id13__notification_Layer1_10(){
if ((((__setPropDict[__id13_] == undefined)) || (!((int(__setPropDict[__id13_]) == 11))))){
__setPropDict[__id13_] = 11;
try {
__id13_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id13_.text = "{newChair}";
__id13_.textColor = 0xFFFFFF;
__id13_.textSize = 12;
__id13_.bold = false;
__id13_.disableWordwrap = false;
__id13_.embedFonts = true;
__id13_.font = "Arial";
__id13_.hAlign = "center";
__id13_.multiline = true;
__id13_.vAlign = "top";
__id13_.antiAliasType = "advanced";
__id13_.glowBlur = 3;
__id13_.glowColor = 0;
__id13_.useGlowFilter = false;
__id13_.glowQuality = 1;
__id13_.glowStrength = 5;
__id13_.gridFitType = "pixel";
__id13_.italic = false;
__id13_.selectable = false;
__id13_.underline = false;
try {
__id13_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
};
}
function frame1(){
__setProp___id11__notification_Layer1_0();
}
function frame2(){
__setProp___id11__notification_Layer1_1();
}
function frame5(){
__setProp___id12__notification_Layer1_4();
}
function frame6(){
__setProp___id12__notification_Layer1_5();
}
function frame11(){
__setProp___id13__notification_Layer1_10();
}
}
}//package Cindy_the_hairstylist_SPIL_FINAL_fla
Section 50
//PageMotion_64 (Cindy_the_hairstylist_SPIL_FINAL_fla.PageMotion_64)
package Cindy_the_hairstylist_SPIL_FINAL_fla {
import flash.display.*;
public dynamic class PageMotion_64 extends MovieClip {
public function PageMotion_64(){
addFrameScript(0, frame1);
}
function frame1(){
this.mouseEnabled = false;
this.mouseChildren = false;
stop();
}
}
}//package Cindy_the_hairstylist_SPIL_FINAL_fla
Section 51
//tutorial_316 (Cindy_the_hairstylist_SPIL_FINAL_fla.tutorial_316)
package Cindy_the_hairstylist_SPIL_FINAL_fla {
import flash.events.*;
import flash.media.*;
import flash.display.*;
import spill.localisation.*;
import flash.utils.*;
import flash.text.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.net.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.system.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class tutorial_316 extends MovieClip {
public var __id50_:LocalizedTextField;
public var __setPropDict:Dictionary;
public function tutorial_316(){
__setPropDict = new Dictionary(true);
super();
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 8, frame9, 9, frame10, 10, frame11, 11, frame12);
}
function __setProp___id50__tutorial_Layer1_0(){
if ((((__setPropDict[__id50_] == undefined)) || (!((int(__setPropDict[__id50_]) == 1))))){
__setPropDict[__id50_] = 1;
try {
__id50_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id50_.text = "{tutorial1}";
__id50_.textColor = 0xCCCCCC;
__id50_.textSize = 17;
__id50_.bold = false;
__id50_.disableWordwrap = false;
__id50_.embedFonts = true;
__id50_.font = "Arial";
__id50_.hAlign = "center";
__id50_.multiline = true;
__id50_.vAlign = "bottom";
__id50_.antiAliasType = "advanced";
__id50_.glowBlur = 4;
__id50_.glowColor = 0x666666;
__id50_.useGlowFilter = true;
__id50_.glowQuality = 1;
__id50_.glowStrength = 5;
__id50_.gridFitType = "pixel";
__id50_.italic = false;
__id50_.selectable = false;
__id50_.underline = false;
try {
__id50_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
};
}
function __setProp___id50__tutorial_Layer1_1(){
if ((((__setPropDict[__id50_] == undefined)) || (!((int(__setPropDict[__id50_]) == 2))))){
__setPropDict[__id50_] = 2;
try {
__id50_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id50_.text = "{tutorial2}";
__id50_.textColor = 0xCCCCCC;
__id50_.textSize = 17;
__id50_.bold = false;
__id50_.disableWordwrap = false;
__id50_.embedFonts = true;
__id50_.font = "Arial";
__id50_.hAlign = "center";
__id50_.multiline = true;
__id50_.vAlign = "bottom";
__id50_.antiAliasType = "advanced";
__id50_.glowBlur = 4;
__id50_.glowColor = 0x666666;
__id50_.useGlowFilter = true;
__id50_.glowQuality = 1;
__id50_.glowStrength = 5;
__id50_.gridFitType = "pixel";
__id50_.italic = false;
__id50_.selectable = false;
__id50_.underline = false;
try {
__id50_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
};
}
function __setProp___id50__tutorial_Layer1_2(){
if ((((__setPropDict[__id50_] == undefined)) || (!((int(__setPropDict[__id50_]) == 3))))){
__setPropDict[__id50_] = 3;
try {
__id50_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id50_.text = "{tutorial3}";
__id50_.textColor = 0xCCCCCC;
__id50_.textSize = 17;
__id50_.bold = false;
__id50_.disableWordwrap = false;
__id50_.embedFonts = true;
__id50_.font = "Arial";
__id50_.hAlign = "center";
__id50_.multiline = true;
__id50_.vAlign = "bottom";
__id50_.antiAliasType = "advanced";
__id50_.glowBlur = 4;
__id50_.glowColor = 0x666666;
__id50_.useGlowFilter = true;
__id50_.glowQuality = 1;
__id50_.glowStrength = 5;
__id50_.gridFitType = "pixel";
__id50_.italic = false;
__id50_.selectable = false;
__id50_.underline = false;
try {
__id50_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
};
}
function __setProp___id50__tutorial_Layer1_3(){
if ((((__setPropDict[__id50_] == undefined)) || (!((int(__setPropDict[__id50_]) == 4))))){
__setPropDict[__id50_] = 4;
try {
__id50_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id50_.text = "{tutorial4}";
__id50_.textColor = 0xCCCCCC;
__id50_.textSize = 17;
__id50_.bold = false;
__id50_.disableWordwrap = false;
__id50_.embedFonts = true;
__id50_.font = "Arial";
__id50_.hAlign = "center";
__id50_.multiline = true;
__id50_.vAlign = "bottom";
__id50_.antiAliasType = "advanced";
__id50_.glowBlur = 4;
__id50_.glowColor = 0x666666;
__id50_.useGlowFilter = true;
__id50_.glowQuality = 1;
__id50_.glowStrength = 5;
__id50_.gridFitType = "pixel";
__id50_.italic = false;
__id50_.selectable = false;
__id50_.underline = false;
try {
__id50_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
};
}
function __setProp___id50__tutorial_Layer1_4(){
if ((((__setPropDict[__id50_] == undefined)) || (!((int(__setPropDict[__id50_]) == 5))))){
__setPropDict[__id50_] = 5;
try {
__id50_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id50_.text = "{tutorial5}";
__id50_.textColor = 0xCCCCCC;
__id50_.textSize = 17;
__id50_.bold = false;
__id50_.disableWordwrap = false;
__id50_.embedFonts = true;
__id50_.font = "Arial";
__id50_.hAlign = "center";
__id50_.multiline = true;
__id50_.vAlign = "middle";
__id50_.antiAliasType = "advanced";
__id50_.glowBlur = 4;
__id50_.glowColor = 0x666666;
__id50_.useGlowFilter = true;
__id50_.glowQuality = 1;
__id50_.glowStrength = 5;
__id50_.gridFitType = "pixel";
__id50_.italic = false;
__id50_.selectable = false;
__id50_.underline = false;
try {
__id50_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
};
}
function __setProp___id50__tutorial_Layer1_5(){
if ((((__setPropDict[__id50_] == undefined)) || (!((int(__setPropDict[__id50_]) == 6))))){
__setPropDict[__id50_] = 6;
try {
__id50_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id50_.text = "{tutorial6}";
__id50_.textColor = 0xCCCCCC;
__id50_.textSize = 17;
__id50_.bold = false;
__id50_.disableWordwrap = false;
__id50_.embedFonts = true;
__id50_.font = "Arial";
__id50_.hAlign = "center";
__id50_.multiline = true;
__id50_.vAlign = "middle";
__id50_.antiAliasType = "advanced";
__id50_.glowBlur = 4;
__id50_.glowColor = 0x666666;
__id50_.useGlowFilter = true;
__id50_.glowQuality = 1;
__id50_.glowStrength = 5;
__id50_.gridFitType = "pixel";
__id50_.italic = false;
__id50_.selectable = false;
__id50_.underline = false;
try {
__id50_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
};
}
function __setProp___id50__tutorial_Layer1_6(){
if ((((__setPropDict[__id50_] == undefined)) || (!((int(__setPropDict[__id50_]) == 7))))){
__setPropDict[__id50_] = 7;
try {
__id50_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id50_.text = "{tutorial7}";
__id50_.textColor = 0xCCCCCC;
__id50_.textSize = 17;
__id50_.bold = false;
__id50_.disableWordwrap = false;
__id50_.embedFonts = true;
__id50_.font = "Arial";
__id50_.hAlign = "center";
__id50_.multiline = true;
__id50_.vAlign = "bottom";
__id50_.antiAliasType = "advanced";
__id50_.glowBlur = 4;
__id50_.glowColor = 0x666666;
__id50_.useGlowFilter = true;
__id50_.glowQuality = 1;
__id50_.glowStrength = 5;
__id50_.gridFitType = "pixel";
__id50_.italic = false;
__id50_.selectable = false;
__id50_.underline = false;
try {
__id50_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
};
}
function __setProp___id50__tutorial_Layer1_7(){
if ((((__setPropDict[__id50_] == undefined)) || (!((int(__setPropDict[__id50_]) == 8))))){
__setPropDict[__id50_] = 8;
try {
__id50_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id50_.text = "{tutorial8}";
__id50_.textColor = 0xCCCCCC;
__id50_.textSize = 17;
__id50_.bold = false;
__id50_.disableWordwrap = false;
__id50_.embedFonts = true;
__id50_.font = "Arial";
__id50_.hAlign = "center";
__id50_.multiline = true;
__id50_.vAlign = "bottom";
__id50_.antiAliasType = "advanced";
__id50_.glowBlur = 4;
__id50_.glowColor = 0x666666;
__id50_.useGlowFilter = true;
__id50_.glowQuality = 1;
__id50_.glowStrength = 5;
__id50_.gridFitType = "pixel";
__id50_.italic = false;
__id50_.selectable = false;
__id50_.underline = false;
try {
__id50_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
};
}
function __setProp___id50__tutorial_Layer1_8(){
if ((((__setPropDict[__id50_] == undefined)) || (!((int(__setPropDict[__id50_]) == 9))))){
__setPropDict[__id50_] = 9;
try {
__id50_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id50_.text = "{tutorial9}";
__id50_.textColor = 0xCCCCCC;
__id50_.textSize = 17;
__id50_.bold = false;
__id50_.disableWordwrap = false;
__id50_.embedFonts = true;
__id50_.font = "Arial";
__id50_.hAlign = "center";
__id50_.multiline = true;
__id50_.vAlign = "bottom";
__id50_.antiAliasType = "advanced";
__id50_.glowBlur = 4;
__id50_.glowColor = 0x666666;
__id50_.useGlowFilter = true;
__id50_.glowQuality = 1;
__id50_.glowStrength = 5;
__id50_.gridFitType = "pixel";
__id50_.italic = false;
__id50_.selectable = false;
__id50_.underline = false;
try {
__id50_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
};
}
function __setProp___id50__tutorial_Layer1_9(){
if ((((__setPropDict[__id50_] == undefined)) || (!((int(__setPropDict[__id50_]) == 10))))){
__setPropDict[__id50_] = 10;
try {
__id50_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id50_.text = "{tutorial10}";
__id50_.textColor = 0xCCCCCC;
__id50_.textSize = 17;
__id50_.bold = false;
__id50_.disableWordwrap = false;
__id50_.embedFonts = true;
__id50_.font = "Arial";
__id50_.hAlign = "center";
__id50_.multiline = true;
__id50_.vAlign = "bottom";
__id50_.antiAliasType = "advanced";
__id50_.glowBlur = 4;
__id50_.glowColor = 0x666666;
__id50_.useGlowFilter = true;
__id50_.glowQuality = 1;
__id50_.glowStrength = 5;
__id50_.gridFitType = "pixel";
__id50_.italic = false;
__id50_.selectable = false;
__id50_.underline = false;
try {
__id50_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
};
}
function __setProp___id50__tutorial_Layer1_10(){
if ((((__setPropDict[__id50_] == undefined)) || (!((int(__setPropDict[__id50_]) == 11))))){
__setPropDict[__id50_] = 11;
try {
__id50_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id50_.text = "{tutorial11}";
__id50_.textColor = 0xCCCCCC;
__id50_.textSize = 17;
__id50_.bold = false;
__id50_.disableWordwrap = false;
__id50_.embedFonts = true;
__id50_.font = "Arial";
__id50_.hAlign = "center";
__id50_.multiline = true;
__id50_.vAlign = "bottom";
__id50_.antiAliasType = "advanced";
__id50_.glowBlur = 4;
__id50_.glowColor = 0x666666;
__id50_.useGlowFilter = true;
__id50_.glowQuality = 1;
__id50_.glowStrength = 5;
__id50_.gridFitType = "pixel";
__id50_.italic = false;
__id50_.selectable = false;
__id50_.underline = false;
try {
__id50_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
};
}
function __setProp___id50__tutorial_Layer1_11(){
if ((((__setPropDict[__id50_] == undefined)) || (!((int(__setPropDict[__id50_]) == 12))))){
__setPropDict[__id50_] = 12;
try {
__id50_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id50_.text = "{tutorial12}";
__id50_.textColor = 0xCCCCCC;
__id50_.textSize = 48;
__id50_.bold = false;
__id50_.disableWordwrap = false;
__id50_.embedFonts = true;
__id50_.font = "Arial";
__id50_.hAlign = "center";
__id50_.multiline = true;
__id50_.vAlign = "bottom";
__id50_.antiAliasType = "advanced";
__id50_.glowBlur = 4;
__id50_.glowColor = 0x666666;
__id50_.useGlowFilter = true;
__id50_.glowQuality = 1;
__id50_.glowStrength = 5;
__id50_.gridFitType = "pixel";
__id50_.italic = false;
__id50_.selectable = false;
__id50_.underline = false;
try {
__id50_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
};
}
function frame1(){
__setProp___id50__tutorial_Layer1_0();
stop();
}
function frame2(){
__setProp___id50__tutorial_Layer1_1();
stop();
}
function frame3(){
__setProp___id50__tutorial_Layer1_2();
stop();
}
function frame4(){
__setProp___id50__tutorial_Layer1_3();
stop();
}
function frame5(){
__setProp___id50__tutorial_Layer1_4();
stop();
}
function frame6(){
__setProp___id50__tutorial_Layer1_5();
stop();
}
function frame7(){
__setProp___id50__tutorial_Layer1_6();
stop();
}
function frame8(){
__setProp___id50__tutorial_Layer1_7();
stop();
}
function frame9(){
__setProp___id50__tutorial_Layer1_8();
stop();
}
function frame10(){
__setProp___id50__tutorial_Layer1_9();
stop();
}
function frame11(){
__setProp___id50__tutorial_Layer1_10();
stop();
}
function frame12(){
__setProp___id50__tutorial_Layer1_11();
stop();
}
}
}//package Cindy_the_hairstylist_SPIL_FINAL_fla
Section 52
//window_award_80 (Cindy_the_hairstylist_SPIL_FINAL_fla.window_award_80)
package Cindy_the_hairstylist_SPIL_FINAL_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import spill.localisation.*;
import flash.media.*;
import flash.net.*;
import flash.utils.*;
import flash.ui.*;
import flash.system.*;
import flash.external.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
public dynamic class window_award_80 extends MovieClip {
public var __id31_:LocalizedTextField;
public function window_award_80(){
__setProp___id31__window_award_Layer1_0();
}
function __setProp___id31__window_award_Layer1_0(){
try {
__id31_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id31_.text = "{award}";
__id31_.textColor = 0x990033;
__id31_.textSize = 35;
__id31_.bold = false;
__id31_.disableWordwrap = false;
__id31_.embedFonts = true;
__id31_.font = "Arial";
__id31_.hAlign = "center";
__id31_.multiline = true;
__id31_.vAlign = "middle";
__id31_.antiAliasType = "advanced";
__id31_.glowBlur = 3;
__id31_.glowColor = 0;
__id31_.useGlowFilter = false;
__id31_.glowQuality = 1;
__id31_.glowStrength = 5;
__id31_.gridFitType = "pixel";
__id31_.italic = false;
__id31_.selectable = false;
__id31_.underline = false;
try {
__id31_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package Cindy_the_hairstylist_SPIL_FINAL_fla
Section 53
//window_day_22 (Cindy_the_hairstylist_SPIL_FINAL_fla.window_day_22)
package Cindy_the_hairstylist_SPIL_FINAL_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import spill.localisation.*;
import flash.media.*;
import flash.net.*;
import flash.utils.*;
import flash.ui.*;
import flash.system.*;
import flash.external.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
public dynamic class window_day_22 extends MovieClip {
public var goal:TextField;
public var level_text:TextField;
public var Level_text:LocalizedTextField;
public var __id6_:LocalizedTextField;
public var __id7_:LocalizedTextField;
public var btn_next:SimpleButton;
public var expert_goal:TextField;
public var __setPropDict:Dictionary;
public var _root;
public function window_day_22(){
__setPropDict = new Dictionary(true);
super();
addFrameScript(0, frame1, 24, frame25);
}
public function nextclick(_arg1:MouseEvent){
_root.playSound(new soundbutton2());
var _local2:* = _root.getChildByName("karakter");
_local2.visible = true;
this.visible = false;
_root.game_ready = true;
}
function __setProp___id6__window_day_Layer3_24(){
if ((((__setPropDict[__id6_] == undefined)) || (!((int(__setPropDict[__id6_]) == 25))))){
__setPropDict[__id6_] = 25;
try {
__id6_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id6_.text = "{todaysTarget}";
__id6_.textColor = 0xFFFFFF;
__id6_.textSize = 20;
__id6_.bold = false;
__id6_.disableWordwrap = false;
__id6_.embedFonts = true;
__id6_.font = "Arial";
__id6_.hAlign = "left";
__id6_.multiline = true;
__id6_.vAlign = "middle";
__id6_.antiAliasType = "advanced";
__id6_.glowBlur = 3;
__id6_.glowColor = 0;
__id6_.useGlowFilter = false;
__id6_.glowQuality = 1;
__id6_.glowStrength = 5;
__id6_.gridFitType = "pixel";
__id6_.italic = false;
__id6_.selectable = false;
__id6_.underline = false;
try {
__id6_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
};
}
function __setProp___id7__window_day_Layer3_24(){
if ((((__setPropDict[__id7_] == undefined)) || (!((int(__setPropDict[__id7_]) == 25))))){
__setPropDict[__id7_] = 25;
try {
__id7_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id7_.text = "{expertGoal}";
__id7_.textColor = 0xFFFFFF;
__id7_.textSize = 20;
__id7_.bold = false;
__id7_.disableWordwrap = false;
__id7_.embedFonts = true;
__id7_.font = "Arial";
__id7_.hAlign = "left";
__id7_.multiline = true;
__id7_.vAlign = "middle";
__id7_.antiAliasType = "advanced";
__id7_.glowBlur = 3;
__id7_.glowColor = 0;
__id7_.useGlowFilter = false;
__id7_.glowQuality = 1;
__id7_.glowStrength = 5;
__id7_.gridFitType = "pixel";
__id7_.italic = false;
__id7_.selectable = false;
__id7_.underline = false;
try {
__id7_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
};
}
function __setProp_Level_text_window_day_Layer3_24(){
if ((((__setPropDict[Level_text] == undefined)) || (!((int(__setPropDict[Level_text]) == 25))))){
__setPropDict[Level_text] = 25;
try {
Level_text["componentInspectorSetting"] = true;
} catch(e:Error) {
};
Level_text.text = "{level}";
Level_text.textColor = 13703797;
Level_text.textSize = 30;
Level_text.bold = false;
Level_text.disableWordwrap = false;
Level_text.embedFonts = true;
Level_text.font = "Arial";
Level_text.hAlign = "center";
Level_text.multiline = true;
Level_text.vAlign = "middle";
Level_text.antiAliasType = "advanced";
Level_text.glowBlur = 3;
Level_text.glowColor = 0;
Level_text.useGlowFilter = false;
Level_text.glowQuality = 1;
Level_text.glowStrength = 5;
Level_text.gridFitType = "pixel";
Level_text.italic = false;
Level_text.selectable = false;
Level_text.underline = false;
try {
Level_text["componentInspectorSetting"] = false;
} catch(e:Error) {
};
};
}
function frame1(){
stop();
}
function frame25(){
__setProp_Level_text_window_day_Layer3_24();
__setProp___id7__window_day_Layer3_24();
__setProp___id6__window_day_Layer3_24();
stop();
_root = this.root;
goal.text = _root.goal;
level_text.text = (Level_text.text + String(_root.level));
expert_goal.text = _root.expert_goal;
btn_next.addEventListener("click", nextclick);
}
}
}//package Cindy_the_hairstylist_SPIL_FINAL_fla
Section 54
//window_day_inside_1_24 (Cindy_the_hairstylist_SPIL_FINAL_fla.window_day_inside_1_24)
package Cindy_the_hairstylist_SPIL_FINAL_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import spill.localisation.*;
import flash.media.*;
import flash.net.*;
import flash.utils.*;
import flash.ui.*;
import flash.system.*;
import flash.external.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
public dynamic class window_day_inside_1_24 extends MovieClip {
public var __id10_:LocalizedTextField;
public function window_day_inside_1_24(){
__setProp___id10__window_day_inside_1_Layer1_0();
}
function __setProp___id10__window_day_inside_1_Layer1_0(){
try {
__id10_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id10_.text = "{target}";
__id10_.textColor = 13703797;
__id10_.textSize = 30;
__id10_.bold = false;
__id10_.disableWordwrap = false;
__id10_.embedFonts = true;
__id10_.font = "Arial";
__id10_.hAlign = "center";
__id10_.multiline = true;
__id10_.vAlign = "middle";
__id10_.antiAliasType = "advanced";
__id10_.glowBlur = 3;
__id10_.glowColor = 0;
__id10_.useGlowFilter = false;
__id10_.glowQuality = 1;
__id10_.glowStrength = 5;
__id10_.gridFitType = "pixel";
__id10_.italic = false;
__id10_.selectable = false;
__id10_.underline = false;
try {
__id10_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package Cindy_the_hairstylist_SPIL_FINAL_fla
Section 55
//window_day_inside_23 (Cindy_the_hairstylist_SPIL_FINAL_fla.window_day_inside_23)
package Cindy_the_hairstylist_SPIL_FINAL_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import spill.localisation.*;
import flash.media.*;
import flash.net.*;
import flash.utils.*;
import flash.ui.*;
import flash.system.*;
import flash.external.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
public dynamic class window_day_inside_23 extends MovieClip {
public var __id8_:LocalizedTextField;
public var __id9_:LocalizedTextField;
public function window_day_inside_23(){
__setProp___id8__window_day_inside_Layer1_0();
__setProp___id9__window_day_inside_Layer1_0();
}
function __setProp___id8__window_day_inside_Layer1_0(){
try {
__id8_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id8_.text = "{todaysTarget}";
__id8_.textColor = 0xFFFFFF;
__id8_.textSize = 20;
__id8_.bold = false;
__id8_.disableWordwrap = false;
__id8_.embedFonts = true;
__id8_.font = "Arial";
__id8_.hAlign = "left";
__id8_.multiline = true;
__id8_.vAlign = "middle";
__id8_.antiAliasType = "advanced";
__id8_.glowBlur = 3;
__id8_.glowColor = 0;
__id8_.useGlowFilter = false;
__id8_.glowQuality = 1;
__id8_.glowStrength = 5;
__id8_.gridFitType = "pixel";
__id8_.italic = false;
__id8_.selectable = false;
__id8_.underline = false;
try {
__id8_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function __setProp___id9__window_day_inside_Layer1_0(){
try {
__id9_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id9_.text = "{expertGoal}";
__id9_.textColor = 0xFFFFFF;
__id9_.textSize = 20;
__id9_.bold = false;
__id9_.disableWordwrap = false;
__id9_.embedFonts = true;
__id9_.font = "Arial";
__id9_.hAlign = "left";
__id9_.multiline = true;
__id9_.vAlign = "middle";
__id9_.antiAliasType = "advanced";
__id9_.glowBlur = 3;
__id9_.glowColor = 0;
__id9_.useGlowFilter = false;
__id9_.glowQuality = 1;
__id9_.glowStrength = 5;
__id9_.gridFitType = "pixel";
__id9_.italic = false;
__id9_.selectable = false;
__id9_.underline = false;
try {
__id9_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package Cindy_the_hairstylist_SPIL_FINAL_fla
Section 56
//window_endless_12 (Cindy_the_hairstylist_SPIL_FINAL_fla.window_endless_12)
package Cindy_the_hairstylist_SPIL_FINAL_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import spill.localisation.*;
import flash.media.*;
import flash.net.*;
import flash.utils.*;
import flash.ui.*;
import flash.system.*;
import flash.external.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
public dynamic class window_endless_12 extends MovieClip {
public var __id3_:LocalizedTextField;
public var __id4_:LocalizedTextField;
public var btn_next:SimpleButton;
public var __setPropDict:Dictionary;
public var _root;
public function window_endless_12(){
__setPropDict = new Dictionary(true);
super();
addFrameScript(24, frame25);
}
public function nextclick(_arg1:MouseEvent){
_root.playSound(new soundbutton2());
var _local2:* = _root.getChildByName("karakter");
_local2.visible = true;
this.visible = false;
_root.game_ready = true;
}
function __setProp___id3__window_endless_Layer3_24(){
if ((((__setPropDict[__id3_] == undefined)) || (!((int(__setPropDict[__id3_]) == 25))))){
__setPropDict[__id3_] = 25;
try {
__id3_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id3_.text = "{endless}";
__id3_.textColor = 13382553;
__id3_.textSize = 32;
__id3_.bold = false;
__id3_.disableWordwrap = false;
__id3_.embedFonts = true;
__id3_.font = "Arial";
__id3_.hAlign = "center";
__id3_.multiline = true;
__id3_.vAlign = "middle";
__id3_.antiAliasType = "advanced";
__id3_.glowBlur = 5;
__id3_.glowColor = 0xFFFFFF;
__id3_.useGlowFilter = true;
__id3_.glowQuality = 1;
__id3_.glowStrength = 8;
__id3_.gridFitType = "pixel";
__id3_.italic = false;
__id3_.selectable = false;
__id3_.underline = false;
try {
__id3_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
};
}
function __setProp___id4__window_endless_Layer3_24(){
if ((((__setPropDict[__id4_] == undefined)) || (!((int(__setPropDict[__id4_]) == 25))))){
__setPropDict[__id4_] = 25;
try {
__id4_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id4_.text = "{endlessPop}";
__id4_.textColor = 0xFFFFFF;
__id4_.textSize = 18;
__id4_.bold = false;
__id4_.disableWordwrap = false;
__id4_.embedFonts = true;
__id4_.font = "Arial";
__id4_.hAlign = "center";
__id4_.multiline = true;
__id4_.vAlign = "top";
__id4_.antiAliasType = "advanced";
__id4_.glowBlur = 5;
__id4_.glowColor = 0xFFFFFF;
__id4_.useGlowFilter = false;
__id4_.glowQuality = 1;
__id4_.glowStrength = 8;
__id4_.gridFitType = "pixel";
__id4_.italic = false;
__id4_.selectable = false;
__id4_.underline = false;
try {
__id4_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
};
}
function frame25(){
__setProp___id4__window_endless_Layer3_24();
__setProp___id3__window_endless_Layer3_24();
stop();
_root = this.root;
btn_next.addEventListener("click", nextclick);
}
}
}//package Cindy_the_hairstylist_SPIL_FINAL_fla
Section 57
//window_notify_full_25 (Cindy_the_hairstylist_SPIL_FINAL_fla.window_notify_full_25)
package Cindy_the_hairstylist_SPIL_FINAL_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import flash.media.*;
import flash.net.*;
import flash.utils.*;
import flash.ui.*;
import flash.system.*;
import flash.external.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
public dynamic class window_notify_full_25 extends MovieClip {
public var btn_next:SimpleButton;
public var notification:MovieClip;
public var _root;
public function window_notify_full_25(){
addFrameScript(14, frame15);
}
public function nextclick(_arg1:MouseEvent){
this.visible = false;
_root.game_ready = true;
_root.playSound(new soundbutton2());
}
function frame15(){
stop();
_root = this.root;
notification.gotoAndStop(_root.level);
btn_next.addEventListener("click", nextclick);
}
}
}//package Cindy_the_hairstylist_SPIL_FINAL_fla
Section 58
//window_pause_animation_65 (Cindy_the_hairstylist_SPIL_FINAL_fla.window_pause_animation_65)
package Cindy_the_hairstylist_SPIL_FINAL_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import flash.media.*;
import flash.net.*;
import flash.utils.*;
import flash.ui.*;
import flash.system.*;
import flash.external.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
public dynamic class window_pause_animation_65 extends MovieClip {
public var btn_resume:SimpleButton;
public var btn_quit:SimpleButton;
public var _root;
public function window_pause_animation_65(){
addFrameScript(19, frame20);
}
public function resumeclick(_arg1:MouseEvent){
_root.playSound(new soundbutton());
this.visible = false;
_root.game_ready = true;
}
public function quitclick(_arg1:MouseEvent){
var _local2:* = _root.getChildByName("window_sure");
_root.playSound(new soundbutton());
_local2.visible = true;
_local2.gotoAndPlay(1);
_root.swapChildren(_local2, _root.getChildAt((_root.numChildren - 1)));
}
function frame20(){
stop();
btn_resume.addEventListener("click", resumeclick);
btn_quit.addEventListener("click", quitclick);
_root = this.root;
}
}
}//package Cindy_the_hairstylist_SPIL_FINAL_fla
Section 59
//window_pause_inside_1_69 (Cindy_the_hairstylist_SPIL_FINAL_fla.window_pause_inside_1_69)
package Cindy_the_hairstylist_SPIL_FINAL_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import spill.localisation.*;
import flash.media.*;
import flash.net.*;
import flash.utils.*;
import flash.ui.*;
import flash.system.*;
import flash.external.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
public dynamic class window_pause_inside_1_69 extends MovieClip {
public var __id25_:LocalizedTextField;
public function window_pause_inside_1_69(){
__setProp___id25__window_pause_inside_1_Layer1_0();
}
function __setProp___id25__window_pause_inside_1_Layer1_0(){
try {
__id25_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id25_.text = "{pause}";
__id25_.textColor = 13382553;
__id25_.textSize = 40;
__id25_.bold = false;
__id25_.disableWordwrap = false;
__id25_.embedFonts = true;
__id25_.font = "Arial";
__id25_.hAlign = "center";
__id25_.multiline = true;
__id25_.vAlign = "middle";
__id25_.antiAliasType = "advanced";
__id25_.glowBlur = 3;
__id25_.glowColor = 0;
__id25_.useGlowFilter = false;
__id25_.glowQuality = 1;
__id25_.glowStrength = 5;
__id25_.gridFitType = "pixel";
__id25_.italic = false;
__id25_.selectable = false;
__id25_.underline = false;
try {
__id25_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package Cindy_the_hairstylist_SPIL_FINAL_fla
Section 60
//window_you_win_lose_48 (Cindy_the_hairstylist_SPIL_FINAL_fla.window_you_win_lose_48)
package Cindy_the_hairstylist_SPIL_FINAL_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import spill.localisation.*;
import flash.media.*;
import flash.net.*;
import flash.utils.*;
import flash.ui.*;
import flash.system.*;
import flash.external.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
public dynamic class window_you_win_lose_48 extends MovieClip {
public var __id16_:LocalizedTextField;
public var __id17_:LocalizedTextField;
public var today_total:TextField;
public var total_score_text:TextField;
public var __id15_:LocalizedTextField;
public var __id18_:LocalizedTextField;
public var btn_next:SimpleButton;
public var expert_bonus:TextField;
public var btn_quit:SimpleButton;
public var score_text:TextField;
public var btn_retry:SimpleButton;
public var winlose_text:MovieClip;
public var __setPropDict:Dictionary;
public var _root;
public function window_you_win_lose_48(){
__setPropDict = new Dictionary(true);
super();
addFrameScript(24, frame25);
}
public function quitclick(_arg1:MouseEvent){
var _local2:* = _root.getChildByName("window_sure");
_local2.visible = true;
_local2.gotoAndPlay(1);
}
public function retryclick(_arg1:MouseEvent){
this.visible = false;
if (_root.game_mode == 1){
_root.total_score = (_root.total_score - _root.score);
_root.initialize();
};
if (_root.game_mode == 2){
_root.score = 0;
_root.initialize2();
};
}
public function nextclick(_arg1:MouseEvent){
this.visible = false;
_root.level++;
if (_root.level <= 15){
_root.initialize();
};
if (_root.level > 15){
_root.gotoAndStop(8);
};
}
function __setProp___id15__window_you_win_lose_Layer3_24(){
if ((((__setPropDict[__id15_] == undefined)) || (!((int(__setPropDict[__id15_]) == 25))))){
__setPropDict[__id15_] = 25;
try {
__id15_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id15_.text = "{todaysScore}";
__id15_.textColor = 0x660066;
__id15_.textSize = 14;
__id15_.bold = false;
__id15_.disableWordwrap = false;
__id15_.embedFonts = true;
__id15_.font = "Arial";
__id15_.hAlign = "left";
__id15_.multiline = true;
__id15_.vAlign = "middle";
__id15_.antiAliasType = "advanced";
__id15_.glowBlur = 5;
__id15_.glowColor = 0xFFFFFF;
__id15_.useGlowFilter = true;
__id15_.glowQuality = 1;
__id15_.glowStrength = 8;
__id15_.gridFitType = "pixel";
__id15_.italic = false;
__id15_.selectable = false;
__id15_.underline = false;
try {
__id15_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
};
}
function __setProp___id16__window_you_win_lose_Layer3_24(){
if ((((__setPropDict[__id16_] == undefined)) || (!((int(__setPropDict[__id16_]) == 25))))){
__setPropDict[__id16_] = 25;
try {
__id16_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id16_.text = "{expertBonus}";
__id16_.textColor = 0x660066;
__id16_.textSize = 14;
__id16_.bold = false;
__id16_.disableWordwrap = false;
__id16_.embedFonts = true;
__id16_.font = "Arial";
__id16_.hAlign = "left";
__id16_.multiline = true;
__id16_.vAlign = "middle";
__id16_.antiAliasType = "advanced";
__id16_.glowBlur = 5;
__id16_.glowColor = 0xFFFFFF;
__id16_.useGlowFilter = true;
__id16_.glowQuality = 1;
__id16_.glowStrength = 8;
__id16_.gridFitType = "pixel";
__id16_.italic = false;
__id16_.selectable = false;
__id16_.underline = false;
try {
__id16_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
};
}
function __setProp___id17__window_you_win_lose_Layer3_24(){
if ((((__setPropDict[__id17_] == undefined)) || (!((int(__setPropDict[__id17_]) == 25))))){
__setPropDict[__id17_] = 25;
try {
__id17_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id17_.text = "{todaysTotal}";
__id17_.textColor = 0x660066;
__id17_.textSize = 14;
__id17_.bold = false;
__id17_.disableWordwrap = false;
__id17_.embedFonts = true;
__id17_.font = "Arial";
__id17_.hAlign = "left";
__id17_.multiline = true;
__id17_.vAlign = "middle";
__id17_.antiAliasType = "advanced";
__id17_.glowBlur = 5;
__id17_.glowColor = 0xFFFFFF;
__id17_.useGlowFilter = true;
__id17_.glowQuality = 1;
__id17_.glowStrength = 8;
__id17_.gridFitType = "pixel";
__id17_.italic = false;
__id17_.selectable = false;
__id17_.underline = false;
try {
__id17_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
};
}
function __setProp___id18__window_you_win_lose_Layer3_24(){
if ((((__setPropDict[__id18_] == undefined)) || (!((int(__setPropDict[__id18_]) == 25))))){
__setPropDict[__id18_] = 25;
try {
__id18_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id18_.text = "{totalScore}";
__id18_.textColor = 0x660066;
__id18_.textSize = 14;
__id18_.bold = false;
__id18_.disableWordwrap = false;
__id18_.embedFonts = true;
__id18_.font = "Arial";
__id18_.hAlign = "left";
__id18_.multiline = true;
__id18_.vAlign = "middle";
__id18_.antiAliasType = "advanced";
__id18_.glowBlur = 5;
__id18_.glowColor = 0xFFFFFF;
__id18_.useGlowFilter = true;
__id18_.glowQuality = 1;
__id18_.glowStrength = 8;
__id18_.gridFitType = "pixel";
__id18_.italic = false;
__id18_.selectable = false;
__id18_.underline = false;
try {
__id18_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
};
}
function frame25(){
__setProp___id18__window_you_win_lose_Layer3_24();
__setProp___id17__window_you_win_lose_Layer3_24();
__setProp___id16__window_you_win_lose_Layer3_24();
__setProp___id15__window_you_win_lose_Layer3_24();
_root = this.root;
stop();
score_text.text = String(_root.score);
if (_root.win){
btn_retry.visible = false;
btn_next.visible = true;
btn_quit.visible = false;
if (_root.expert_achieved){
today_total.text = String((_root.score + _root.expert_bonus));
expert_bonus.text = String(_root.expert_bonus);
} else {
today_total.text = String((_root.score + _root.expert_bonus));
expert_bonus.text = "0";
};
if (_root.expert_achieved){
winlose_text.gotoAndStop("expert");
} else {
winlose_text.gotoAndStop("win");
};
total_score_text.text = String(_root.total_score);
};
if (_root.lose){
today_total.text = String(_root.score);
expert_bonus.text = "0";
total_score_text.text = String(_root.total_score);
btn_retry.visible = true;
btn_next.visible = false;
btn_quit.visible = true;
winlose_text.gotoAndStop("lose");
};
btn_quit.addEventListener("click", quitclick);
btn_retry.addEventListener("click", retryclick);
btn_next.addEventListener("click", nextclick);
}
}
}//package Cindy_the_hairstylist_SPIL_FINAL_fla
Section 61
//you_got_text_inside_29 (Cindy_the_hairstylist_SPIL_FINAL_fla.you_got_text_inside_29)
package Cindy_the_hairstylist_SPIL_FINAL_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import spill.localisation.*;
import flash.media.*;
import flash.net.*;
import flash.utils.*;
import flash.ui.*;
import flash.system.*;
import flash.external.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
public dynamic class you_got_text_inside_29 extends MovieClip {
public var __id14_:LocalizedTextField;
public function you_got_text_inside_29(){
__setProp___id14__you_got_text_inside_Layer1_0();
}
function __setProp___id14__you_got_text_inside_Layer1_0(){
try {
__id14_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id14_.text = "{youGot}";
__id14_.textColor = 13382553;
__id14_.textSize = 27;
__id14_.bold = false;
__id14_.disableWordwrap = false;
__id14_.embedFonts = true;
__id14_.font = "Arial";
__id14_.hAlign = "center";
__id14_.multiline = true;
__id14_.vAlign = "bottom";
__id14_.antiAliasType = "advanced";
__id14_.glowBlur = 3;
__id14_.glowColor = 0;
__id14_.useGlowFilter = false;
__id14_.glowQuality = 1;
__id14_.glowStrength = 5;
__id14_.gridFitType = "pixel";
__id14_.italic = false;
__id14_.selectable = false;
__id14_.underline = false;
try {
__id14_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package Cindy_the_hairstylist_SPIL_FINAL_fla
Section 62
//you_lose_inside_62 (Cindy_the_hairstylist_SPIL_FINAL_fla.you_lose_inside_62)
package Cindy_the_hairstylist_SPIL_FINAL_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import spill.localisation.*;
import flash.media.*;
import flash.net.*;
import flash.utils.*;
import flash.ui.*;
import flash.system.*;
import flash.external.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
public dynamic class you_lose_inside_62 extends MovieClip {
public var __id22_:LocalizedTextField;
public function you_lose_inside_62(){
__setProp___id22__you_lose_inside_Layer1_0();
}
function __setProp___id22__you_lose_inside_Layer1_0(){
try {
__id22_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id22_.text = "{Lose}";
__id22_.textColor = 16737945;
__id22_.textSize = 45;
__id22_.bold = false;
__id22_.disableWordwrap = false;
__id22_.embedFonts = true;
__id22_.font = "Arial";
__id22_.hAlign = "center";
__id22_.multiline = true;
__id22_.vAlign = "middle";
__id22_.antiAliasType = "advanced";
__id22_.glowBlur = 3;
__id22_.glowColor = 0;
__id22_.useGlowFilter = false;
__id22_.glowQuality = 1;
__id22_.glowStrength = 5;
__id22_.gridFitType = "pixel";
__id22_.italic = false;
__id22_.selectable = false;
__id22_.underline = false;
try {
__id22_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package Cindy_the_hairstylist_SPIL_FINAL_fla
Section 63
//you_win_inside_1_61 (Cindy_the_hairstylist_SPIL_FINAL_fla.you_win_inside_1_61)
package Cindy_the_hairstylist_SPIL_FINAL_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import spill.localisation.*;
import flash.media.*;
import flash.net.*;
import flash.utils.*;
import flash.ui.*;
import flash.system.*;
import flash.external.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
public dynamic class you_win_inside_1_61 extends MovieClip {
public var __id21_:LocalizedTextField;
public function you_win_inside_1_61(){
__setProp___id21__you_win_inside_1_Layer1_0();
}
function __setProp___id21__you_win_inside_1_Layer1_0(){
try {
__id21_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id21_.text = "{win}";
__id21_.textColor = 16737945;
__id21_.textSize = 45;
__id21_.bold = false;
__id21_.disableWordwrap = false;
__id21_.embedFonts = true;
__id21_.font = "Arial";
__id21_.hAlign = "center";
__id21_.multiline = true;
__id21_.vAlign = "middle";
__id21_.antiAliasType = "advanced";
__id21_.glowBlur = 3;
__id21_.glowColor = 0;
__id21_.useGlowFilter = false;
__id21_.glowQuality = 1;
__id21_.glowStrength = 5;
__id21_.gridFitType = "pixel";
__id21_.italic = false;
__id21_.selectable = false;
__id21_.underline = false;
try {
__id21_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package Cindy_the_hairstylist_SPIL_FINAL_fla
Section 64
//AlbumService (com.spilgames.api.AlbumService)
package com.spilgames.api {
import flash.display.*;
public dynamic class AlbumService extends MovieClip {
}
}//package com.spilgames.api
Section 65
//AwardsService (com.spilgames.api.AwardsService)
package com.spilgames.api {
import flash.display.*;
public class AwardsService extends MovieClip {
public static function submitAward(_arg1:String, _arg2:Function=null):int{
return (SpilGamesServices.getInstance().send("Awards", "submitAward", _arg2, {tag:_arg1, userName:User.getUserName(), userHash:User.getUserHash()}));
}
}
}//package com.spilgames.api
Section 66
//AvatarService (com.spilgames.api.AvatarService)
package com.spilgames.api {
import flash.display.*;
public dynamic class AvatarService extends MovieClip {
}
}//package com.spilgames.api
Section 67
//DateService (com.spilgames.api.DateService)
package com.spilgames.api {
import flash.display.*;
public dynamic class DateService extends MovieClip {
}
}//package com.spilgames.api
Section 68
//ScoreService (com.spilgames.api.ScoreService)
package com.spilgames.api {
import flash.display.*;
public class ScoreService extends MovieClip {
public static function submitScore(_arg1:int, _arg2:Function=null):int{
return (SpilGamesServices.getInstance().send("Score", "submitScore", _arg2, {score:_arg1, userName:User.getUserName(), userHash:User.getUserHash()}));
}
}
}//package com.spilgames.api
Section 69
//SpilGamesServices (com.spilgames.api.SpilGamesServices)
package com.spilgames.api {
import flash.display.*;
import flash.events.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
public class SpilGamesServices extends MovieClip {
private const DEFAULT_CONNECTION_LOCATION:String = "http://www8.agame.com/games/flash/services/ServicesConnection.swf";
private var _servicesConnection;// = null
private var _loader:Loader;
private var _connecting:Boolean;// = false
private var _connected:Boolean;// = false
private var _request:URLRequest;
private var _numConnectionLoadTries:uint;// = 0
private var _alwaysInFront:Boolean;// = false
private var currentDelay:Number;// = 0
private var previousFrameTime:Number;
public static const INVALID_ID:int = -1;
public static const INVALID_DOMAIN:String = "invalidDomain";
public static const CONFIGURATION_FAILED:String = "configurationFailure";
private static const MAX_CONNECTION_LOAD_RETRIES:uint = 99;
private static var _instance:SpilGamesServices = null;
public function SpilGamesServices(_arg1:Private=null){
if (!_arg1){
throw (new Error("Cannot instantiate this class, use SpilGamesServices.getInstance"));
};
}
public function get version():String{
return ("1.1");
}
public function get connecting():Boolean{
return (_connecting);
}
public function get connection(){
return (_servicesConnection);
}
public function set alwaysInFront(_arg1:Boolean):void{
if (_alwaysInFront != _arg1){
_alwaysInFront = _arg1;
if (_alwaysInFront){
addEventListener(Event.ENTER_FRAME, bringToFront);
} else {
removeEventListener(Event.ENTER_FRAME, bringToFront);
};
};
}
public function get alwaysInFront():Boolean{
return (_alwaysInFront);
}
public function connect(_arg1:DisplayObjectContainer, ... _args):void{
var _local3:String;
var _local4:URLVariables;
var _local5:Date;
if (((!(_connecting)) && (!(_connected)))){
if (!_arg1.stage){
throw (new Error("The given clip must be present in the display list (added to stage)"));
};
_connecting = true;
_arg1.stage.addChild(this);
addEventListener(Event.REMOVED_FROM_STAGE, handleRemovedFromStage);
if (((root.loaderInfo.parameters["servicesLoc"]) && ((root.loaderInfo.parameters["servicesLoc"].length > 0)))){
_local3 = root.loaderInfo.parameters["servicesLoc"];
_request = new URLRequest(_local3);
} else {
_local3 = DEFAULT_CONNECTION_LOCATION;
_local4 = new URLVariables();
_local5 = new Date();
_local4.nocache = ((((_local5.fullYear * 12) + (_local5.month + 1)) * 31) + _local5.day);
_request = new URLRequest(_local3);
_request.data = _local4;
};
allowDomain(_local3);
_loader = new Loader();
_loader.contentLoaderInfo.addEventListener(Event.COMPLETE, handleLoadComplete);
_loader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, handleIOError);
_loader.load(_request);
};
}
public function disconnect():void{
if (_servicesConnection){
_servicesConnection.removeEventListener(Event.COMPLETE, handleServicesReady);
_servicesConnection.removeEventListener(ErrorEvent.ERROR, handleServicesFailed);
_servicesConnection.removeEventListener("serviceError", handleServiceError);
if (_connected){
_servicesConnection.disconnect();
};
removeChild(_servicesConnection);
};
_servicesConnection = null;
if (_loader){
try {
_loader.close();
} catch(e:Error) {
} finally {
_loader.contentLoaderInfo.removeEventListener(Event.COMPLETE, handleLoadComplete);
_loader.contentLoaderInfo.removeEventListener(IOErrorEvent.IO_ERROR, handleIOError);
};
_loader = null;
};
removeEventListener(Event.ENTER_FRAME, bringToFront);
removeEventListener(Event.REMOVED_FROM_STAGE, handleRemovedFromStage);
if (parent){
parent.removeChild(this);
};
_connected = (_connecting = false);
}
public function getChannelID():int{
if (_servicesConnection != null){
return (_servicesConnection.getChannelID());
};
return (INVALID_ID);
}
public function getSiteID():int{
if (_servicesConnection != null){
return (_servicesConnection.getSiteID());
};
return (INVALID_ID);
}
public function getItemID():int{
if (_servicesConnection != null){
return (_servicesConnection.getItemID());
};
return (INVALID_ID);
}
public function isReady():Boolean{
return (((!((_servicesConnection == null))) && (_servicesConnection.isReady())));
}
public function isDomainAllowed():Boolean{
return (((!((_servicesConnection == null))) && (_servicesConnection.isDomainValid())));
}
public function isServiceAvailable(_arg1:String):Boolean{
return (((isReady()) && (_servicesConnection.isServiceAvailable(_arg1))));
}
public function send(_arg1:String, _arg2:String, _arg3:Function, _arg4:Object=null):int{
if (isReady()){
return (_servicesConnection.send(_arg1, _arg2, _arg3, _arg4));
};
return (INVALID_ID);
}
public function bringToFront(_arg1:Event=null):void{
var e = _arg1;
if (parent){
try {
parent.setChildIndex(this, (parent.numChildren - 1));
} catch(e:Error) {
removeEventListener(Event.ENTER_FRAME, bringToFront);
};
};
}
public function allowDomain(_arg1:String):void{
Security.allowDomain("*");
Security.allowInsecureDomain("*");
}
private function handleRemovedFromStage(_arg1:Event):void{
trace("WARNING: please do not remove SpilGamesServices from the stage");
}
private function handleLoadComplete(_arg1:Event):void{
_loader.contentLoaderInfo.removeEventListener(Event.COMPLETE, handleLoadComplete);
_loader.contentLoaderInfo.removeEventListener(IOErrorEvent.IO_ERROR, handleIOError);
_servicesConnection = LoaderInfo(_arg1.target).content;
_servicesConnection.addEventListener(Event.COMPLETE, handleServicesReady);
_servicesConnection.addEventListener(ErrorEvent.ERROR, handleServicesFailed);
_servicesConnection.addEventListener("serviceError", handleServiceError);
addChild(_servicesConnection);
}
private function handleIOError(_arg1:IOErrorEvent):void{
_numConnectionLoadTries++;
if (_numConnectionLoadTries > MAX_CONNECTION_LOAD_RETRIES){
_loader.contentLoaderInfo.removeEventListener(Event.COMPLETE, handleLoadComplete);
_loader.contentLoaderInfo.removeEventListener(IOErrorEvent.IO_ERROR, handleIOError);
_connecting = false;
trace("ERROR: SpilGamesServices failed to load the connection object");
if (hasEventListener(_arg1.type)){
dispatchEvent(_arg1);
};
} else {
trace(("WARN: SpilGamesServices failed to load the connection object, retry #" + _numConnectionLoadTries));
previousFrameTime = getTimer();
addEventListener(Event.ENTER_FRAME, updateConnectionRetry);
};
}
private function updateConnectionRetry(_arg1:Event):void{
var _local2:Number = getTimer();
var _local3:Number = ((_local2 - previousFrameTime) / 1000);
currentDelay = (currentDelay + _local3);
if (currentDelay >= 2){
trace(("WARN: SpilGamesServices trying to reconnect after: " + currentDelay));
_loader.load(_request);
removeEventListener(Event.ENTER_FRAME, updateConnectionRetry);
currentDelay = 0;
};
previousFrameTime = _local2;
}
private function handleServicesReady(_arg1:Event):void{
_loader.contentLoaderInfo.removeEventListener(Event.COMPLETE, handleLoadComplete);
_loader.contentLoaderInfo.removeEventListener(IOErrorEvent.IO_ERROR, handleIOError);
_connected = true;
_connecting = false;
dispatchEvent(new Event("servicesReady"));
}
private function handleServicesFailed(_arg1:ErrorEvent):void{
_servicesConnection.addEventListener(Event.COMPLETE, handleServicesReady);
_servicesConnection.addEventListener(ErrorEvent.ERROR, handleServicesFailed);
_servicesConnection.addEventListener("serviceError", handleServiceError);
_connecting = false;
if (hasEventListener("servicesFailed")){
dispatchEvent(new ErrorEvent("servicesFailed", false, false, _arg1.text));
};
}
private function handleServiceError(_arg1:Event):void{
var _local2:String;
if (hasEventListener("serviceError")){
_local2 = "";
if ((_arg1 is ErrorEvent)){
_local2 = ErrorEvent(_arg1).text;
} else {
_local2 = _arg1.toString();
};
dispatchEvent(new ErrorEvent("serviceError", false, false, _local2));
};
}
public static function getInstance():SpilGamesServices{
if (!_instance){
_instance = new SpilGamesServices(new Private());
};
return (_instance);
}
}
}//package com.spilgames.api
class Private {
private function Private(){
}
}
Section 70
//User (com.spilgames.api.User)
package com.spilgames.api {
import flash.display.*;
public class User {
public static function isGuest():Boolean{
var _local2:DisplayObject;
var _local3:Object;
var _local1:* = SpilGamesServices.getInstance().connection;
if (_local1 != null){
return (_local1.isGuest());
};
_local2 = SpilGamesServices.getInstance().root;
if (_local2.loaderInfo != null){
_local3 = _local2.loaderInfo.parameters;
return (((((((!(_local3.username)) || ((_local3.username == "")))) || (!(_local3.hash)))) || ((_local3.hash == ""))));
};
return (false);
}
public static function getUserName():String{
var _local1:* = SpilGamesServices.getInstance().connection;
if (_local1 != null){
return (_local1.getUserName());
};
return ("");
}
public static function getUserHash():String{
var _local1:* = SpilGamesServices.getInstance().connection;
if (_local1 != null){
return (_local1.getUserHash());
};
return ("");
}
}
}//package com.spilgames.api
Section 71
//Log (Playtomic.Log)
package Playtomic {
import flash.events.*;
import flash.net.*;
import flash.utils.*;
import flash.system.*;
import flash.external.*;
public final class Log {
private static const PingF:Timer = new Timer(60000);
private static const PingR:Timer = new Timer(30000);
public static var Enabled:Boolean = false;
public static var Queue:Boolean = true;
public static var SWFID:int = 0;
public static var GUID:String = "";
public static var SourceUrl:String;
public static var BaseUrl:String;
public static var Cookie:SharedObject;
public static var Request:LogRequest;
private static var FirstPing:Boolean = true;
private static var Pings:int = 0;
private static var Plays:int = 0;
private static var HighestGoal:int = 0;
private static var Frozen:Boolean = false;
private static var FrozenQueue:Array = new Array();
private static var Customs:Array = new Array();
private static var LevelCounters:Array = new Array();
private static var LevelAverages:Array = new Array();
private static var LevelRangeds:Array = new Array();
public static function View(_arg1:int=0, _arg2:String="", _arg3:String=""):void{
if (SWFID > 0){
return;
};
SWFID = _arg1;
GUID = _arg2;
Enabled = true;
if ((((SWFID == 0)) || ((GUID == "")))){
Enabled = false;
return;
};
if (((((!((_arg3.indexOf("http://") == 0))) && (!((Security.sandboxType == "localWithNetwork"))))) && (!((Security.sandboxType == "localTrusted"))))){
Enabled = false;
return;
};
SourceUrl = GetUrl(_arg3);
if ((((((SourceUrl == null)) || ((SourceUrl == "")))) || ((SourceUrl.indexOf("https://") == 0)))){
Enabled = false;
return;
};
Security.allowDomain((("http://g" + Log.GUID) + ".api.playtomic.com/"));
Security.allowInsecureDomain((("http://g" + Log.GUID) + ".api.playtomic.com/"));
Security.loadPolicyFile((("http://g" + Log.GUID) + ".api.playtomic.com/crossdomain.xml"));
Request = LogRequest.Create();
Cookie = SharedObject.getLocal("playtomic");
var _local4:int = GetCookie("views");
Send(("v/" + (_local4 + 1)), true);
PingF.addEventListener(TimerEvent.TIMER, PingServer);
PingF.start();
}
public static function IncreaseViews():void{
var _local1:int = GetCookie("views");
_local1++;
SaveCookie("views", _local1);
}
public static function IncreasePlays():void{
Plays++;
}
public static function Play():void{
if (!Enabled){
return;
};
LevelCounters = new Array();
LevelAverages = new Array();
LevelRangeds = new Array();
Send(("p/" + (Plays + 1)), true);
}
private static function PingServer(... _args):void{
if (!Enabled){
return;
};
Pings++;
Send(((("t/" + (FirstPing) ? "y" : "n") + "/") + Pings), true);
if (FirstPing){
PingF.stop();
PingR.addEventListener(TimerEvent.TIMER, PingServer);
PingR.start();
FirstPing = false;
};
}
public static function CustomMetric(_arg1:String, _arg2:String=null, _arg3:Boolean=false):void{
if (!Enabled){
return;
};
if (_arg2 == null){
_arg2 = "";
};
if (_arg3){
if (Customs.indexOf(_arg1) > -1){
return;
};
Customs.push(_arg1);
};
Send(((("c/" + Clean(_arg1)) + "/") + Clean(_arg2)));
}
public static function LevelCounterMetric(_arg1:String, _arg2, _arg3:Boolean=false):void{
if (!Enabled){
return;
};
if (_arg3){
if (LevelCounters.indexOf(_arg1) > -1){
return;
};
LevelCounters.push(_arg1);
};
Send(((("lc/" + Clean(_arg1)) + "/") + Clean(_arg2)));
}
public static function LevelRangedMetric(_arg1:String, _arg2, _arg3:int, _arg4:Boolean=false):void{
if (!Enabled){
return;
};
if (_arg4){
if (LevelRangeds.indexOf(_arg1) > -1){
return;
};
LevelRangeds.push(_arg1);
};
Send(((((("lr/" + Clean(_arg1)) + "/") + Clean(_arg2)) + "/") + _arg3));
}
public static function LevelAverageMetric(_arg1:String, _arg2, _arg3:int, _arg4:Boolean=false):void{
if (!Enabled){
return;
};
if (_arg4){
if (LevelAverages.indexOf(_arg1) > -1){
return;
};
LevelAverages.push(_arg1);
};
Send(((((("la/" + Clean(_arg1)) + "/") + Clean(_arg2)) + "/") + _arg3));
}
public static function Link(_arg1:String, _arg2:String, _arg3:String, _arg4:int, _arg5:int, _arg6:int):void{
if (!Enabled){
return;
};
Send(((((((((((("l/" + Clean(_arg2)) + "/") + Clean(_arg3)) + "/") + Clean(_arg1)) + "/") + _arg4) + "/") + _arg5) + "/") + _arg6));
}
public static function Freeze():void{
Frozen = true;
}
public static function UnFreeze():void{
Frozen = false;
Request.MassQueue(FrozenQueue);
}
public static function ForceSend():void{
if (!Enabled){
return;
};
Request.Send();
Request = LogRequest.Create();
if (FrozenQueue.length > 0){
Request.MassQueue(FrozenQueue);
};
}
private static function Send(_arg1:String, _arg2:Boolean=false):void{
if (Frozen){
FrozenQueue.push(_arg1);
return;
};
Request.Queue(_arg1);
if (((((Request.Ready) || (_arg2))) || (!(Queue)))){
Request.Send();
Request = LogRequest.Create();
};
}
private static function Clean(_arg1:String):String{
while (_arg1.indexOf("/") > -1) {
_arg1 = _arg1.replace("/", "\\");
};
while (_arg1.indexOf("~") > -1) {
_arg1 = _arg1.replace("~", "-");
};
return (escape(_arg1));
}
private static function GetCookie(_arg1:String):int{
if (Cookie.data[_arg1] == undefined){
return (0);
};
return (int(Cookie.data[_arg1]));
}
private static function SaveCookie(_arg1:String, _arg2:int):void{
var _local3:SharedObject = SharedObject.getLocal("swfstats");
_local3.data[_arg1] = _arg2.toString();
_local3.flush();
}
private static function GetUrl(_arg1:String):String{
var url:String;
var defaulturl = _arg1;
if (ExternalInterface.available){
try {
url = String(ExternalInterface.call("window.location.href.toString"));
} catch(s:Error) {
url = defaulturl;
};
} else {
if ((((defaulturl.indexOf("http://") == 0)) || ((defaulturl.indexOf("https://") == 0)))){
url = defaulturl;
};
};
if ((((((url == null)) || ((url == "")))) || ((url == "null")))){
if ((((Security.sandboxType == "localWithNetwork")) || ((Security.sandboxType == "localTrusted")))){
url = "http://local-testing/";
} else {
url = null;
};
};
return (escape(url));
}
}
}//package Playtomic
Section 72
//LogRequest (Playtomic.LogRequest)
package Playtomic {
import flash.events.*;
import flash.net.*;
public final class LogRequest {
private var Sender:URLLoader;
private var Target:URLRequest;
private var Data:String;// = ""
private var BaseUrl:String;
public var Ready:Boolean;// = false
private static var Failed:int = 0;
private static var Pool:Array = new Array();
public function LogRequest(){
this.Sender = new URLLoader();
this.Sender.addEventListener(Event.COMPLETE, this.Complete, false, 1, false);
this.Sender.addEventListener(IOErrorEvent.IO_ERROR, this.IOErrorHandler, false, 0, true);
this.Sender.addEventListener(HTTPStatusEvent.HTTP_STATUS, this.StatusChange, false, 0, true);
this.Sender.addEventListener(SecurityErrorEvent.SECURITY_ERROR, this.SecurityErrorHandler, false, 0, true);
this.Target = new URLRequest();
this.BaseUrl = ((("http://g" + Log.GUID) + ".api.playtomic.com/tracker/q.aspx?swfid=") + Log.SWFID);
}
public function MassQueue(_arg1:Array):void{
var _local3:LogRequest;
if (Failed > 3){
return;
};
var _local2:int = (_arg1.length - 1);
while (_local2 > -1) {
this.Data = (this.Data + (((this.Data == "")) ? "" : "~" + _arg1[_local2]));
_arg1.splice(_local2, 1);
if (this.Data.length > 300){
_local3 = Create();
_local3.MassQueue(_arg1);
this.Ready = true;
this.Send();
return;
};
_local2--;
};
Log.Request = this;
}
public function Queue(_arg1:String):void{
if (Failed > 3){
return;
};
this.Data = (this.Data + (((this.Data == "")) ? "" : "~" + _arg1));
if (this.Data.length > 300){
this.Ready = true;
};
}
public function Send():void{
this.Target.url = (((((((this.BaseUrl + "&q=") + this.Data) + "&url=") + Log.SourceUrl) + "&") + Math.random()) + "z");
this.Sender.load(this.Target);
}
private function Complete(_arg1:Event=null):void{
if ((((this.Data.indexOf("v/") == 0)) || ((this.Data.indexOf("~v/") > -1)))){
Log.IncreaseViews();
};
if ((((this.Data.indexOf("p/") == 0)) || ((this.Data.indexOf("~p/") > -1)))){
Log.IncreasePlays();
};
Pool.push(this);
}
private function IOErrorHandler(_arg1:IOErrorEvent):void{
Failed++;
}
private function SecurityErrorHandler(_arg1:SecurityErrorEvent):void{
}
private function StatusChange(_arg1:HTTPStatusEvent):void{
}
public static function Create():LogRequest{
var _local1:LogRequest = ((Pool.length > 0)) ? (Pool.pop() as LogRequest) : new (LogRequest);
_local1.Data = "";
_local1.Ready = false;
return (_local1);
}
}
}//package Playtomic
Section 73
//Brand (spill.localisation.Brand)
package spill.localisation {
import flash.xml.*;
public class Brand {
public var domain:String;
public var site_id:uint;
public var moreLink:String;// = ""
public var emailLink:String;// = "game"
public var emailPage:String;
public var id:Number;
public var name:String;
public var portalGroup:uint;
public var useGoogleAnalitics:Boolean;// = true
public var hasSendToFriendLink:Boolean;// = true
public var preferedLanguage:String;// = ""
public var isExternal:Boolean;// = false
public var hostingDomain:String;// = ""
private static const topLevelDoubles:String = ((((((((((((((("ac.cn,ac.jp,ac.uk,ad.jp,adm.br,adv.br,agr.br," + "ah.cn,am.br,arq.br,art.br,asn.au,ato.br,av.tr,bel.tr,bio.br,biz.tr,bj.cn,bmd.br,") + "cim.br,cng.br,cnt.br,co.at,co.jp,co.uk,com.au,com.br,com.cn,com.eg,com.hk,com.mx,") + "com.ru,com.tr,com.tw,conf.au,cq.cn,csiro.au,dr.tr,ecn.br,edu.au,edu.br,edu.tr,") + "emu.id.au,eng.br,esp.br,etc.br,eti.br,eun.eg,far.br,fj.cn,fm.br,fnd.br,fot.br,") + "fst.br,g12.br,gb.com,gb.net,gd.cn,gen.tr,ggf.br,gob.mx,gov.au,gov.br,gov.cn,") + "gov.hk,gov.tr,gr.jp,gs.cn,gx.cn,gz.cn,ha.cn,hb.cn,he.cn,hi.cn,hk.cn,hl.cn,hn.cn,") + "id.au,idv.tw,imb.br,ind.br,inf.br,info.au,info.tr,jl.cn,jor.br,js.cn,jx.cn,k12.tr,") + "lel.br,ln.cn,ltd.uk,mat.br,me.uk,med.br,mil.br,mil.tr,mo.cn,mus.br,name.tr,ne.jp,") + "net.au,net.br,net.cn,net.eg,net.hk,net.lu,net.mx,net.ru,net.tr,net.tw,net.uk,") + "nm.cn,no.com,nom.br,not.br,ntr.br,nx.cn,odo.br,oop.br,or.at,or.jp,org.au,org.br,") + "org.cn,org.hk,org.lu,org.ru,org.tr,org.tw,org.uk,plc.uk,pol.tr,pp.ru,ppg.br,pro.br,") + "psc.br,psi.br,qh.cn,qsl.br,rec.br,sc.cn,sd.cn,se.com,se.net,sh.cn,slg.br,sn.cn,") + "srv.br,sx.cn,tel.tr,tj.cn,tmp.br,trd.br,tur.br,tv.br,tw.cn,uk.com,uk.net,vet.br,") + "wattle.id.au,web.tr,xj.cn,xz.cn,yn.cn,zj.cn,zlg.br,co.nr,co.nz,com.fr,com.ph,com.ar,") + "com.id,com.in");
public function getMoreGamesLink(_arg1:String, _arg2:Boolean, _arg3:String="", _arg4:String=""):String{
var _local5:String = ("http://" + domain);
_local5 = (_local5 + ("/" + moreLink));
if (useGoogleAnalitics){
_local5 = (_local5 + ("?utm_medium=brandedgames_" + (_arg2) ? "external" : "internal"));
_local5 = (_local5 + ("&utm_campaign=" + _arg1));
_arg3 = stripSubDomain(_arg3);
if (_arg3 == "localhost"){
_arg3 = "offline_play";
};
_local5 = (_local5 + ("&utm_source=" + _arg3));
if (((!((_arg4 == ""))) && (!((_arg4 == null))))){
_local5 = (_local5 + ("&utm_content=" + _arg4));
};
};
return (_local5);
}
public function getSendToFriendLink(_arg1:String, _arg2:String, _arg3:Boolean, _arg4:String=""):String{
if (!hasSendToFriendLink){
return (getMoreGamesLink(_arg1, _arg3));
};
var _local5:String = ("http://" + domain);
_local5 = (_local5 + ((("/" + emailLink) + "/") + _arg2));
if (useGoogleAnalitics){
_local5 = (_local5 + ("?utm_medium=brandedgames_" + (_arg3) ? "external" : "internal"));
_local5 = (_local5 + ("&utm_campaign=" + _arg1));
_arg4 = stripSubDomain(_arg4);
if (_arg4 == "localhost"){
_arg4 = "offline_play";
};
_local5 = (_local5 + ("&utm_source=" + _arg4));
_local5 = (_local5 + "&utm_content=send_to_friend");
};
return (_local5);
}
public function getPromotionLink(_arg1:String, _arg2:String, _arg3:Boolean, _arg4:String="", _arg5:String=""):String{
var _local6:String = ("http://" + domain);
_local6 = (_local6 + ((("/" + emailLink) + "/") + _arg2));
if (useGoogleAnalitics){
_local6 = (_local6 + ("?utm_medium=brandedgames_" + (_arg3) ? "external" : "internal"));
_local6 = (_local6 + ("&utm_campaign=" + _arg1));
_arg4 = stripSubDomain(_arg4);
trace(_arg4);
if (_arg4 == "localhost"){
_arg4 = "offline_play";
};
_local6 = (_local6 + ("&utm_source=" + _arg4));
if (((!((_arg5 == ""))) && (!((_arg5 == null))))){
_local6 = (_local6 + ("&utm_content=" + _arg5));
};
};
return (_local6);
}
public function get backgroundColor():uint{
return (PortalGroup.backgroundColors[portalGroup]);
}
public function exportXML():XML{
var _local3:XML;
var _local1:XML = <portal/>
;
_local1.@id = site_id;
_local1.@language = preferedLanguage;
_local1.@channel = portalGroup;
var _local2:XML = <domain/>
;
_local2.appendChild(new XMLNode(3, domain));
_local1.appendChild(_local2);
if (moreLink){
_local3 = <more_games_path/>
;
_local3.appendChild(new XMLNode(3, moreLink));
_local1.appendChild(_local3);
};
_local2 = <game_path/>
;
_local2.appendChild(new XMLNode(3, emailLink));
_local1.appendChild(_local2);
if (!useGoogleAnalitics){
_local1.attributes.noGoogleAnalitics = true;
};
if (!hasSendToFriendLink){
_local1.attributes.noSendToFriendLink = true;
};
return (_local1);
}
public function importXML(_arg1:XMLNode):void{
}
private function get utm_source():String{
return (("utm_source=brandedgames_" + (isExternal) ? "external" : "internal"));
}
private function get utm_term():String{
return ("utm_term=");
}
private function get utm_campaign():String{
if (isExternal){
return (("utm_campaign=" + hostingDomain));
};
return ("");
}
public static function stripSubDomain(_arg1:String):String{
if (!_arg1){
return ("");
};
var _local2:Array = _arg1.split(".");
if (_local2.length <= 2){
return (_arg1);
};
_local2 = _local2.reverse();
if (topLevelDoubles.indexOf((((_local2[1] + ".") + _local2[0]) + ",")) > 0){
return (((((_local2[2] + ".") + _local2[1]) + ".") + _local2[0]));
};
return (((_local2[1] + ".") + _local2[0]));
}
}
}//package spill.localisation
Section 74
//BrandingLogo (spill.localisation.BrandingLogo)
package spill.localisation {
import flash.events.*;
import flash.display.*;
public class BrandingLogo extends MovieClip {
public function BrandingLogo(){
addFrameScript(0, frame1);
super();
stop();
mouseEnabled = false;
mouseChildren = false;
addEventListener(Event.ADDED_TO_STAGE, added, false, 0, true);
addEventListener(Event.REMOVED_FROM_STAGE, removed, false, 0, true);
if (stage){
added();
};
brandingChanged();
}
private function added(_arg1:Event=null):void{
SpilGame.addEventListener("brandingChanged", brandingChanged, false, 0, true);
brandingChanged();
}
private function removed(_arg1:Event):void{
SpilGame.removeEventListener("brandingChanged", brandingChanged);
}
private function brandingChanged(_arg1:Event=null):void{
if (SpilGame.currentBranding){
gotoAndStop(SpilGame.currentBranding.domain);
};
}
function frame1(){
stop();
}
}
}//package spill.localisation
Section 75
//Brandings (spill.localisation.Brandings)
package spill.localisation {
public class Brandings {
private static var brands_by_id:Object = new Object();
private static var brands_by_domain:Object = new Object();
public static function initialize():void{
var _local1:Brand;
_local1 = new Brand();
_local1.site_id = 79;
_local1.domain = "www.agame.com";
_local1.preferedLanguage = "en_us";
_local1.portalGroup = PortalGroup.TEENS;
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 88;
_local1.domain = "www.gamesgames.com";
_local1.preferedLanguage = "en_us";
_local1.portalGroup = PortalGroup.FAMILY;
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 90;
_local1.domain = "www.girlsgogames.com";
_local1.preferedLanguage = "en_us";
_local1.portalGroup = PortalGroup.GIRL;
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 45;
_local1.domain = "www.a10.com";
_local1.preferedLanguage = "en_us";
_local1.portalGroup = PortalGroup.YOUNG_ADULTS;
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 92;
_local1.domain = "www.games.co.uk";
_local1.preferedLanguage = "en_uk";
_local1.portalGroup = PortalGroup.FAMILY;
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 107;
_local1.domain = "www.agame.co.uk";
_local1.preferedLanguage = "en_uk";
_local1.portalGroup = PortalGroup.TEENS;
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 102;
_local1.domain = "www.girlsgogames.co.uk";
_local1.preferedLanguage = "en_uk";
_local1.portalGroup = PortalGroup.GIRL;
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 2;
_local1.domain = "www.game.com.cn";
_local1.moreLink = "moregames/";
_local1.preferedLanguage = "cn";
_local1.portalGroup = PortalGroup.NONE;
_local1.useGoogleAnalitics = false;
_local1.hasSendToFriendLink = false;
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 25;
_local1.domain = "www.spel.nl";
_local1.portalGroup = PortalGroup.TEENS;
_local1.preferedLanguage = "nl";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 1;
_local1.domain = "www.spelletjes.nl";
_local1.emailLink = "spel";
_local1.portalGroup = PortalGroup.FAMILY;
_local1.preferedLanguage = "nl";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 93;
_local1.domain = "www.girlsgogames.nl";
_local1.emailLink = "spel";
_local1.portalGroup = PortalGroup.GIRL;
_local1.preferedLanguage = "nl";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 12;
_local1.domain = "www.jeu.fr";
_local1.emailLink = "jeu";
_local1.portalGroup = PortalGroup.TEENS;
_local1.preferedLanguage = "fr";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 95;
_local1.domain = "www.girlsgogames.fr";
_local1.emailLink = "jeu";
_local1.portalGroup = PortalGroup.GIRL;
_local1.preferedLanguage = "fr";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 11;
_local1.domain = "www.jeux.fr";
_local1.emailLink = "jeu";
_local1.portalGroup = PortalGroup.FAMILY;
_local1.preferedLanguage = "fr";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 26;
_local1.domain = "www.spielen.com";
_local1.emailLink = "spiel";
_local1.portalGroup = PortalGroup.TEENS;
_local1.preferedLanguage = "de";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 94;
_local1.domain = "www.girlsgogames.de";
_local1.emailLink = "spiel";
_local1.portalGroup = PortalGroup.GIRL;
_local1.preferedLanguage = "de";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 5;
_local1.domain = "www.jetztspielen.de";
_local1.emailLink = "spiel";
_local1.portalGroup = PortalGroup.FAMILY;
_local1.preferedLanguage = "de";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 109;
_local1.domain = "www.minigry.pl";
_local1.emailLink = "gra";
_local1.portalGroup = PortalGroup.TEENS;
_local1.preferedLanguage = "pl";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 16;
_local1.domain = "www.gry.pl";
_local1.emailLink = "gra";
_local1.portalGroup = PortalGroup.FAMILY;
_local1.preferedLanguage = "pl";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 98;
_local1.domain = "www.girlsgogames.pl";
_local1.emailLink = "gra";
_local1.portalGroup = PortalGroup.GIRL;
_local1.preferedLanguage = "pl";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 108;
_local1.domain = "www.spel.se";
_local1.emailLink = "spel_";
_local1.portalGroup = PortalGroup.TEENS;
_local1.preferedLanguage = "se";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 100;
_local1.domain = "www.girlsgogames.se";
_local1.emailLink = "spel_";
_local1.portalGroup = PortalGroup.GIRL;
_local1.preferedLanguage = "se";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 44;
_local1.domain = "www.spela.se";
_local1.emailLink = "spel_";
_local1.preferedLanguage = "se";
_local1.portalGroup = PortalGroup.FAMILY;
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 106;
_local1.domain = "www.giocaregratis.it";
_local1.emailLink = "gioco";
_local1.portalGroup = PortalGroup.TEENS;
_local1.preferedLanguage = "it";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 15;
_local1.domain = "www.gioco.it";
_local1.emailLink = "gioco";
_local1.portalGroup = PortalGroup.FAMILY;
_local1.preferedLanguage = "it";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 99;
_local1.domain = "www.girlsgogames.it";
_local1.emailLink = "gioco";
_local1.portalGroup = PortalGroup.GIRL;
_local1.preferedLanguage = "it";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 97;
_local1.domain = "www.zapjuegos.com";
_local1.emailLink = "juego";
_local1.portalGroup = PortalGroup.TEENS;
_local1.preferedLanguage = "es";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 86;
_local1.domain = "www.juegos.com";
_local1.emailLink = "juego";
_local1.portalGroup = PortalGroup.FAMILY;
_local1.preferedLanguage = "es";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 96;
_local1.domain = "www.juegosdechicas.com";
_local1.emailLink = "juego";
_local1.portalGroup = PortalGroup.GIRL;
_local1.preferedLanguage = "es";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 122;
_local1.domain = "www.girlsgogames.es";
_local1.emailLink = "juego";
_local1.portalGroup = PortalGroup.GIRL;
_local1.preferedLanguage = "es";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 125;
_local1.domain = "www.juegos.mx";
_local1.emailLink = "juego";
_local1.portalGroup = PortalGroup.TEENS;
_local1.preferedLanguage = "es";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 126;
_local1.domain = "www.juegosdechicas.mx";
_local1.emailLink = "juego";
_local1.portalGroup = PortalGroup.GIRL;
_local1.preferedLanguage = "es";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 127;
_local1.domain = "www.juegos.com.ar";
_local1.emailLink = "juego";
_local1.portalGroup = PortalGroup.TEENS;
_local1.preferedLanguage = "es";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 128;
_local1.domain = "www.juegosdechicas.com.ar";
_local1.emailLink = "juego";
_local1.portalGroup = PortalGroup.GIRL;
_local1.preferedLanguage = "es";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 91;
_local1.domain = "www.clickjogos.com";
_local1.emailLink = "jogo";
_local1.portalGroup = PortalGroup.TEENS;
_local1.preferedLanguage = "br";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 101;
_local1.domain = "www.girlsgogames.com.br";
_local1.emailLink = "jogo";
_local1.portalGroup = PortalGroup.GIRL;
_local1.preferedLanguage = "br";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 50;
_local1.domain = "www.ojogos.com.br";
_local1.emailLink = "jogo";
_local1.portalGroup = PortalGroup.FAMILY;
_local1.preferedLanguage = "br";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 55;
_local1.domain = "www.games.co.id";
_local1.emailLink = "permainanme";
_local1.portalGroup = PortalGroup.TEENS;
_local1.preferedLanguage = "id";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 105;
_local1.domain = "www.flashgames.ru";
_local1.emailLink = "igra";
_local1.portalGroup = PortalGroup.TEENS;
_local1.preferedLanguage = "ru";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 104;
_local1.domain = "www.girlsgogames.ru";
_local1.emailLink = "igra";
_local1.portalGroup = PortalGroup.GIRL;
_local1.preferedLanguage = "ru";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 103;
_local1.domain = "www.ourgames.ru";
_local1.emailLink = "igra";
_local1.portalGroup = PortalGroup.FAMILY;
_local1.preferedLanguage = "ru";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 24;
_local1.domain = "www.game.co.in";
_local1.emailLink = "game";
_local1.portalGroup = PortalGroup.TEENS;
_local1.preferedLanguage = "in";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 87;
_local1.domain = "www.ojogos.pt";
_local1.emailLink = "jogo";
_local1.portalGroup = PortalGroup.FAMILY;
_local1.preferedLanguage = "pt";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 120;
_local1.domain = "www.egames.jp";
_local1.emailLink = "game";
_local1.portalGroup = PortalGroup.TEENS;
_local1.preferedLanguage = "jp";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 121;
_local1.domain = "www.dailygame.com";
_local1.emailLink = "/game/";
_local1.portalGroup = PortalGroup.FAMILY;
_local1.preferedLanguage = "en_us";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 123;
_local1.domain = "www.zapapa.com";
_local1.emailLink = "game";
_local1.portalGroup = PortalGroup.ZAPAPA;
_local1.preferedLanguage = "en_us";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 124;
_local1.domain = "www.zapapa.nl";
_local1.emailLink = "game";
_local1.portalGroup = PortalGroup.HYVES;
_local1.preferedLanguage = "nl";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 0;
_local1.domain = "gamedev.dev.spilgames.com";
_local1.portalGroup = PortalGroup.FAMILY;
_local1.preferedLanguage = "en_us";
addBrand(_local1);
}
public static function hasDomain(_arg1:String):Boolean{
return (!((brands_by_domain[_arg1] == null)));
}
public static function getBrandByDomain(_arg1:String):Brand{
return (brands_by_domain[_arg1]);
}
public static function getBrandByID(_arg1:Number):Brand{
return (brands_by_id[_arg1]);
}
private static function addBrand(_arg1:Brand):Brand{
if (brands_by_domain[_arg1.domain]){
trace(("ERROR: Attempting to add duplicate brand by domain: " + _arg1.domain));
} else {
brands_by_domain[_arg1.domain] = _arg1;
};
if (brands_by_id[_arg1.site_id]){
trace(("ERROR: Attempting to add duplicate brand by id: " + _arg1.site_id));
} else {
brands_by_id[_arg1.site_id] = _arg1;
};
return (_arg1);
}
public static function getBrandsArray():Array{
var _local2:Brand;
var _local1:Array = new Array();
for each (_local2 in brands_by_domain) {
_local1.push(_local2);
};
return (_local1);
}
public static function exportXML():XML{
var _local2:Brand;
var _local1:XML = <portals/>
;
for each (_local2 in brands_by_domain) {
_local1.appendChild(_local2.exportXML());
};
return (_local1);
}
}
}//package spill.localisation
Section 76
//Language (spill.localisation.Language)
package spill.localisation {
import flash.xml.*;
public class Language {
public var name:String;
public var dname:String;
public var id:uint;
public var portal_groups:Array;
public var textLanguage:String;
public var embedFonts:Boolean;// = true
public var embedInputFonts:Boolean;// = true
public var forceFont:String;// = null
public var bwcId:int;
public var references:Array;
public var displayName:String;// = ""
public function Language(_arg1:String, _arg2:String=null){
references = [];
super();
name = _arg1;
dname = _arg2;
portal_groups = new Array();
}
public function get displayAcronim():String{
return ((dname) ? dname : name);
}
public function set p_family(_arg1:String):void{
portal_groups[PortalGroup.FAMILY] = _arg1;
}
public function get p_family():String{
return (portal_groups[PortalGroup.FAMILY]);
}
public function set p_tween(_arg1:String):void{
portal_groups[PortalGroup.TEENS] = _arg1;
}
public function get p_tween():String{
return (portal_groups[PortalGroup.TEENS]);
}
public function set p_girl(_arg1:String):void{
portal_groups[PortalGroup.GIRL] = _arg1;
}
public function get p_girl():String{
trace("Language", portal_groups[PortalGroup.GIRL]);
return (portal_groups[PortalGroup.GIRL]);
}
public function set p_teen(_arg1:String):void{
portal_groups[PortalGroup.YOUNG_ADULTS] = _arg1;
}
public function get p_teen():String{
return (portal_groups[PortalGroup.YOUNG_ADULTS]);
}
public function set p_zapapa(_arg1:String):void{
portal_groups[PortalGroup.ZAPAPA] = _arg1;
}
public function get p_zapapa():String{
return (portal_groups[PortalGroup.ZAPAPA]);
}
public function set p_hyves(_arg1:String):void{
portal_groups[PortalGroup.HYVES] = _arg1;
}
public function get p_hyves():String{
return (portal_groups[PortalGroup.HYVES]);
}
public function exportXML():XMLNode{
var _local1:XMLNode = new XMLNode(1, "language");
_local1.attributes.name = name;
if (textLanguage != null){
_local1.attributes.textLanguage = textLanguage;
};
if (references.length){
_local1.attributes.references = references.toString();
};
_local1.attributes.id = bwcId;
var _local2:XMLNode = new XMLNode(1, "display_name");
_local2.firstChild = new XMLNode(3, displayName);
_local1.appendChild(_local2);
var _local3:Array = [];
var _local4:Array = PortalGroup.channelNames;
var _local5:int;
while (_local5 < _local4.length) {
_local3.push(Brandings.getBrandByDomain(portal_groups[_local5]).site_id);
_local5++;
};
_local1.attributes.channels = _local3.join(",");
return (_local1);
}
}
}//package spill.localisation
Section 77
//Languages (spill.localisation.Languages)
package spill.localisation {
import flash.xml.*;
public class Languages {
public static var languages:Object = new Object();
private static var _init:Boolean = false;
public static function initialize():void{
var _local1:Language;
if (_init){
return;
};
_init = true;
_local1 = new Language("nl");
_local1.displayName = "Nederlands";
_local1.p_family = "www.spelletjes.nl";
_local1.p_tween = "www.spel.nl";
_local1.p_girl = "www.girlsgogames.nl";
_local1.p_teen = "www.a10.com";
_local1.p_zapapa = "www.zapapa.com";
_local1.p_hyves = "www.zapapa.nl";
_local1.bwcId = 3;
addLanguage(_local1);
_local1 = new Language("es");
_local1.displayName = "Español";
_local1.p_family = "www.juegos.com";
_local1.p_tween = "www.zapjuegos.com";
_local1.p_girl = "www.girlsgogames.es";
_local1.p_teen = "www.a10.com";
_local1.p_zapapa = "www.zapapa.com";
_local1.bwcId = 9;
addLanguage(_local1);
_local1 = new Language("pl");
_local1.displayName = "Polski";
_local1.p_family = "www.gry.pl";
_local1.p_tween = "www.gry.pl";
_local1.p_girl = "www.girlsgogames.pl";
_local1.p_teen = "www.a10.com";
_local1.p_zapapa = "www.zapapa.com";
_local1.bwcId = 6;
addLanguage(_local1);
_local1 = new Language("fr");
_local1.displayName = "Français";
_local1.p_family = "www.jeux.fr";
_local1.p_tween = "www.jeu.fr";
_local1.p_girl = "www.girlsgogames.fr";
_local1.p_teen = "www.a10.com";
_local1.p_zapapa = "www.zapapa.com";
_local1.bwcId = 4;
addLanguage(_local1);
_local1 = new Language("en_us", "us");
_local1.displayName = "English";
_local1.p_family = "www.gamesgames.com";
_local1.p_tween = "www.agame.com";
_local1.p_girl = "www.girlsgogames.com";
_local1.p_teen = "www.a10.com";
_local1.p_zapapa = "www.zapapa.com";
_local1.bwcId = 1;
addLanguage(_local1);
addReference(_local1, "en");
_local1 = new Language("id");
_local1.displayName = "Bahasa Ind.";
_local1.p_family = "www.games.co.id";
_local1.p_tween = "www.games.co.id";
_local1.p_girl = "www.games.co.id";
_local1.p_teen = "www.a10.com";
_local1.p_zapapa = "www.zapapa.com";
_local1.bwcId = 11;
addLanguage(_local1);
_local1 = new Language("ru");
_local1.displayName = "Русский";
_local1.p_family = "www.ourgames.ru";
_local1.p_tween = "www.flashgames.ru";
_local1.p_girl = "www.girlsgogames.ru";
_local1.p_teen = "www.a10.com";
_local1.p_zapapa = "www.zapapa.com";
_local1.bwcId = 12;
addLanguage(_local1);
_local1 = new Language("se");
_local1.displayName = "Svenska";
_local1.p_family = "www.spela.se";
_local1.p_tween = "www.spel.se";
_local1.p_girl = "www.girlsgogames.se";
_local1.p_teen = "www.a10.com";
_local1.p_zapapa = "www.zapapa.com";
_local1.bwcId = 7;
addLanguage(_local1);
addReference(_local1, "sv");
_local1 = new Language("it");
_local1.displayName = "Italiano";
_local1.p_family = "www.gioco.it";
_local1.p_tween = "www.gioco.it";
_local1.p_girl = "www.girlsgogames.it";
_local1.p_teen = "www.a10.com";
_local1.p_zapapa = "www.zapapa.com";
_local1.bwcId = 8;
addLanguage(_local1);
_local1 = new Language("en_uk", "uk");
_local1.displayName = "English";
_local1.p_family = "www.games.co.uk";
_local1.p_tween = "www.agame.com";
_local1.p_girl = "www.girlsgogames.co.uk";
_local1.p_teen = "www.a10.com";
_local1.p_zapapa = "www.zapapa.com";
_local1.bwcId = 13;
addLanguage(_local1);
_local1 = new Language("cn");
_local1.displayName = "中文";
_local1.p_family = "www.game.com.cn";
_local1.p_tween = "www.game.com.cn";
_local1.p_girl = "www.game.com.cn";
_local1.p_teen = "www.game.com.cn";
_local1.p_zapapa = "www.zapapa.com";
_local1.bwcId = 2;
_local1.embedInputFonts = false;
addLanguage(_local1);
addReference(_local1, "zh-CN");
addReference(_local1, "zh-TW");
_local1 = new Language("pt");
_local1.displayName = "Português";
_local1.p_family = "www.ojogos.pt";
_local1.p_tween = "www.ojogos.pt";
_local1.p_girl = "www.ojogos.pt";
_local1.p_teen = "www.a10.com";
_local1.p_zapapa = "www.zapapa.com";
_local1.bwcId = 17;
addLanguage(_local1);
_local1 = new Language("in");
_local1.displayName = "English";
_local1.p_family = "www.game.co.in";
_local1.p_tween = "www.game.co.in";
_local1.p_girl = "www.game.co.in";
_local1.p_teen = "www.a10.com";
_local1.p_zapapa = "www.zapapa.com";
_local1.textLanguage = "en_uk";
_local1.bwcId = 14;
addLanguage(_local1);
_local1 = new Language("de");
_local1.displayName = "Deutsch";
_local1.p_family = "www.jetztspielen.de";
_local1.p_tween = "www.spielen.com";
_local1.p_girl = "www.girlsgogames.de";
_local1.p_teen = "www.a10.com";
_local1.p_zapapa = "www.zapapa.com";
_local1.bwcId = 5;
addLanguage(_local1);
_local1 = new Language("br");
_local1.displayName = "Português (BR)";
_local1.p_family = "www.ojogos.com.br";
_local1.p_tween = "www.clickjogos.com";
_local1.p_girl = "www.girlsgogames.com.br";
_local1.p_teen = "www.a10.com";
_local1.p_zapapa = "www.zapapa.com";
_local1.bwcId = 10;
addLanguage(_local1);
_local1 = new Language("jp");
_local1.displayName = "日本語";
_local1.p_family = "www.egames.jp";
_local1.p_tween = "www.egames.jp";
_local1.p_girl = "www.egames.jp";
_local1.p_teen = "www.a10.com";
_local1.p_zapapa = "www.zapapa.com";
_local1.embedInputFonts = false;
_local1.bwcId = 19;
addLanguage(_local1);
addReference(_local1, "ja");
_local1 = new Language("ar");
_local1.displayName = "English";
_local1.p_family = "www.dailygame.com";
_local1.p_tween = "www.dailygame.com";
_local1.p_girl = "www.dailygame.com";
_local1.p_teen = "www.a10.com";
_local1.p_zapapa = "www.zapapa.com";
_local1.bwcId = 20;
addLanguage(_local1);
addReference(_local1, "ar");
_local1 = new Language("es_mx", "mx");
_local1.displayName = "Español (mx)";
_local1.p_family = "www.juegos.mx";
_local1.p_tween = "www.juegos.mx";
_local1.p_girl = "www.juegosdechicas.mx";
_local1.p_teen = "www.a10.com";
_local1.p_zapapa = "www.zapapa.com";
addLanguage(_local1);
addReference(_local1, "mx");
_local1 = new Language("es_ar", "arg");
_local1.displayName = "Español (ar)";
_local1.p_family = "www.juegos.com.ar";
_local1.p_tween = "www.juegos.com.ar";
_local1.p_girl = "www.juegosdechicas.com.ar";
_local1.p_teen = "www.a10.com";
_local1.p_zapapa = "www.zapapa.com";
addLanguage(_local1);
addReference(_local1, "arg");
}
private static function addReference(_arg1:Language, _arg2:String):void{
languages[_arg2] = _arg1;
_arg1.references.push(_arg2);
}
private static function addLanguage(_arg1:Language):void{
languages[_arg1.name] = _arg1;
}
public static function getLanguage(_arg1:String):Language{
return (languages[_arg1]);
}
public static function getLanguageByOldID(_arg1:int):Language{
var _local2:Language;
for each (_local2 in languages) {
if (_local2.bwcId == _arg1){
return (_local2);
};
};
return (null);
}
public static function getLanguagesArray():Array{
var _local3:Language;
var _local1:Array = new Array();
var _local2:Object = new Object();
for each (_local3 in languages) {
if (!_local2[_local3.name]){
_local1.push(_local3);
_local2[_local3.name] = true;
};
};
return (_local1);
}
public static function exportXML():XMLNode{
var _local3:Language;
var _local1:Array = getLanguagesArray();
var _local2:XMLNode = new XMLNode(1, "languages");
for each (_local3 in _local1) {
_local2.appendChild(_local3.exportXML());
};
return (_local2);
}
}
}//package spill.localisation
Section 78
//LanguageSelectBox (spill.localisation.LanguageSelectBox)
package spill.localisation {
import flash.events.*;
import flash.display.*;
import flash.text.*;
public class LanguageSelectBox extends MovieClip {
private var popup:MovieClip;
private var flag:MovieClip;
private var languageName_text:TextField;
private var mc:MovieClip;
public function LanguageSelectBox(){
trace("new langselecbox");
super();
if (numChildren > 0){
removeChildAt(0);
};
addEventListener(Event.ADDED_TO_STAGE, added, false, 0, true);
addEventListener(Event.REMOVED_FROM_STAGE, removed, false, 0, true);
addEventListener(MouseEvent.MOUSE_OVER, mouseOver, false, 0, true);
addEventListener(MouseEvent.MOUSE_OUT, mouseOut, false, 0, true);
Languages.initialize();
popup = new LanguageSelectPopup_mc();
x = Math.round(x);
y = Math.round(y);
popup.y = (-(Math.floor(popup.height)) + 1);
popup.visible = false;
addChild(popup);
mc = new LanguageSelectBox_mc();
addChild(mc);
flag = mc.flag;
languageName_text = mc.languageName_text;
if (stage){
added();
};
init();
languageChanged();
}
public function init():void{
var _local3:MovieClip;
var _local4:Language;
trace("initselectbox");
var _local1:Array = new Array(popup.l_br, popup.l_de, popup.l_en_us, popup.l_fr, popup.l_in, popup.l_jp, popup.l_pt, popup.l_ru, popup.l_ar, popup.l_cn, popup.l_en_uk, popup.l_es, popup.l_id, popup.l_it, popup.l_nl, popup.l_pl, popup.l_se, popup.l_es_mx, popup.l_es_ar);
var _local2:int;
while (_local2 < _local1.length) {
_local3 = MovieClip(_local1[_local2]);
if (_local3){
_local3.addEventListener(MouseEvent.CLICK, itemClicked, true, 0, true);
_local3.flag.gotoAndStop(_local3.name.substr(2));
_local3.flag.mouseEnabled = false;
_local3.text.mouseEnabled = false;
_local4 = Languages.getLanguage(_local3.name.substr(2));
if (_local4){
_local3.text.text = _local4.displayAcronim;
} else {
trace((("Error, '" + _local3.name.substr(2)) + "' language not found"));
};
} else {
trace((((("Error, btn number '" + _local2) + "' is not a MovieClip or there is no button '") + _local1[_local2]) + "'"));
};
_local2++;
};
}
private function itemClicked(_arg1:MouseEvent):void{
SpilGame.changeLanguage(_arg1.currentTarget.name.substr(2));
popup.visible = false;
}
private function mouseOver(_arg1:MouseEvent):void{
popup.visible = true;
}
private function mouseOut(_arg1:MouseEvent):void{
popup.visible = false;
}
private function added(_arg1:Event=null):void{
trace("addedselebnox");
SpilGame.addEventListener("languageChanged", languageChanged, false, 0, true);
}
private function removed(_arg1:Event):void{
SpilGame.removeEventListener("languageChanged", languageChanged);
}
private function languageChanged(_arg1:Event=null):void{
if (SpilGame.currentLanguage){
if ((((SpilGame.portalGroup == PortalGroup.HYVES)) && ((SpilGame.currentLanguage.name == "nl")))){
this.visible = false;
return;
};
this.visible = true;
flag.gotoAndStop(SpilGame.currentLanguage.name);
languageName_text.text = SpilGame.currentLanguage.displayName;
languageName_text.embedFonts = SpilGame.currentLanguage.embedInputFonts;
};
}
public function set popupLocation(_arg1:String):void{
trace(("popupLocation = " + _arg1));
if (_arg1 == "bottom"){
popup.y = Math.floor(mc.height);
} else {
popup.y = (-(Math.floor(mc.height)) + 1);
};
}
}
}//package spill.localisation
Section 79
//LanguageSelectBox_mc (spill.localisation.LanguageSelectBox_mc)
package spill.localisation {
import flash.display.*;
import flash.text.*;
public dynamic class LanguageSelectBox_mc extends MovieClip {
public var languageName_text:TextField;
public var flag:MovieClip;
}
}//package spill.localisation
Section 80
//LanguageSelectPopup_mc (spill.localisation.LanguageSelectPopup_mc)
package spill.localisation {
import flash.display.*;
public dynamic class LanguageSelectPopup_mc extends MovieClip {
public var l_ar:MovieClip;
public var l_pt:MovieClip;
public var l_en_uk:MovieClip;
public var l_br:MovieClip;
public var l_ru:MovieClip;
public var l_se:MovieClip;
public var l_in:MovieClip;
public var l_es:MovieClip;
public var l_fr:MovieClip;
public var l_de:MovieClip;
public var l_jp:MovieClip;
public var l_nl:MovieClip;
public var l_pl:MovieClip;
public var l_es_ar:MovieClip;
public var l_id:MovieClip;
public var l_en_us:MovieClip;
public var l_it:MovieClip;
public var l_es_mx:MovieClip;
public var l_cn:MovieClip;
}
}//package spill.localisation
Section 81
//LocalizedTextField (spill.localisation.LocalizedTextField)
package spill.localisation {
import flash.events.*;
public class LocalizedTextField extends TextFieldFit {
private var originalText:String;
private var regex:RegExp;
public function LocalizedTextField(){
regex = /{([^{}]*)}/g;
super();
addEventListener(Event.ADDED_TO_STAGE, added, false, 0, true);
addEventListener(Event.REMOVED_FROM_STAGE, removed, false, 0, true);
added();
}
private function added(_arg1:Event=null):void{
SpilGame.addEventListener("languageChanged", languageChanged, false, 0, true);
text = originalText;
}
private function removed(_arg1:Event):void{
SpilGame.removeEventListener("languageChanged", languageChanged);
}
private function languageChanged(_arg1:Event):void{
text = originalText;
updateProperties();
}
override public function set text(_arg1:String):void{
originalText = _arg1;
if ((_arg1 is String)){
super.text = _arg1.replace(regex, replaceFn);
} else {
super.text = "";
};
trace(super.text);
}
private function replaceFn():String{
var _local2:String = SpilGame.getString(arguments[1]);
if (((!(_local2)) || ((_local2 == "")))){
return ((("{" + arguments[1]) + "}"));
};
return (_local2);
}
}
}//package spill.localisation
Section 82
//PortalGroup (spill.localisation.PortalGroup)
package spill.localisation {
import flash.xml.*;
public class PortalGroup {
public static const FAMILY:uint = 0;
public static const TEENS:uint = 1;
public static const GIRL:uint = 2;
public static const YOUNG_ADULTS:uint = 3;
public static const ZAPAPA:uint = 4;
public static const HYVES:uint = 5;
public static const NONE:uint = 6;
public static const channelNames:Array = ["family", "tween", "girl", "teen", "zapapa", "hyves"];
public static const backgroundColors:Array = [0xFFFFFF, 0xFFFFFF, 16742331, 0xFFFFFF, 0xFFFFFF, 0xFFFFFF];
public static function getName(_arg1:int):String{
return (channelNames[_arg1]);
}
public static function exportXML():XMLNode{
var _local3:XMLNode;
var _local1:XMLNode = new XMLNode(1, "channels");
var _local2:int;
while (_local2 < 5) {
_local3 = new XMLNode(1, "channel");
_local3.attributes.name = channelNames[_local2];
_local3.attributes.id = _local2;
_local1.appendChild(_local3);
_local2++;
};
return (_local1);
}
}
}//package spill.localisation
Section 83
//spil_internal (spill.localisation.spil_internal)
package spill.localisation {
public namespace spil_internal = "spill.localisation";
}//package spill.localisation
Section 84
//SpilGame (spill.localisation.SpilGame)
package spill.localisation {
import flash.display.*;
import flash.text.*;
import flash.events.*;
import flash.net.*;
import flash.ui.*;
import flash.system.*;
import flash.external.*;
public class SpilGame {
private static const cookiePath:String = "/";
private static const cookieName:String = "spilgames_language_v100";
private static const cookieLanguageVar:String = "savedLang";
public static const LANGUAGE_CHANGED:String = "languageChanged";
public static const BRANDING_CHANGED:String = "brandingChanged";
spil_internal static var gameName:String;
public static var currentBranding:Brand;
public static var currentLanguage:Language;
spil_internal static var emailPage:String;
spil_internal static var portalGroup:uint;
private static var channelLock:Boolean = false;
private static var _init:Boolean = false;
private static var eventDispatcher:EventDispatcher;
private static var localDomains:Object = new Object();
private static var strings:Object = new Object();
private static var contexMenuItem:ContextMenuItem;
private static var stage:Sprite;
spil_internal static var debugHostDomain:String = "";
spil_internal static var debugEmbedDomain:String = "";
public static function initialize(_arg1:String, _arg2:int, _arg3:String, _arg4:Sprite, _arg5:Boolean=false):void{
stage = _arg4;
if (_init){
trace("ERROR: LocalisationManager already initialised");
return;
};
_init = true;
localDomains["localhost"] = true;
localDomains["www8.agame.com"] = true;
localDomains["gamedev.dev.spilgames.com"] = true;
localDomains["stg.spel.nl"] = true;
localDomains["stg.girlsgogames.nl"] = true;
localDomains["stg.pl.spel.nl"] = true;
localDomains["stg.pl.girlsgogames.nl"] = true;
trace(localDomains["stg.girlsgogames.nl"]);
Brandings.initialize();
Languages.initialize();
initContexMenu(_arg4);
channelLock = _arg5;
gameName = _arg1.replace(" ", "_");
portalGroup = _arg2;
emailPage = _arg3;
chooseLanguage();
chooseBranding();
if (portalGroup == PortalGroup.HYVES){
changeLanguage("nl");
};
}
public static function initTextField(_arg1:TextField):void{
var _local2:TextFormat;
trace(_arg1.text);
_arg1.text = _arg1.text.replace(/{([^{}]*)}/g, replaceFn);
trace(_arg1.text);
_arg1.embedFonts = currentLanguage.embedFonts;
if (currentLanguage.forceFont != ""){
_local2 = new TextFormat();
_local2.font = currentLanguage.forceFont;
_arg1.setTextFormat(_local2);
};
}
private static function replaceFn():String{
var _local2:String = SpilGame.getString(arguments[1]);
if (((!(_local2)) || ((_local2 == "")))){
return ((("{" + arguments[1]) + "}"));
};
return (_local2);
}
public static function outputAllBrands():String{
var _local3:Brand;
var _local1:Array = Brandings.getBrandsArray();
var _local2 = "";
for each (_local3 in _local1) {
_local2 = (_local2 + (_local3.getSendToFriendLink(gameName, emailPage, isExternal, embedDomain) + "\n"));
};
return (_local2);
}
public static function traceAllBrands():void{
trace(outputAllBrands());
}
public static function getMoreGamesLink(_arg1:String=""):String{
var _local2:String = (embedDomain) ? embedDomain : hostingDomain;
return (currentBranding.getMoreGamesLink(gameName, isExternal, _local2, _arg1));
}
public static function getSendToFriendLink():String{
return (currentBranding.getSendToFriendLink(gameName, emailPage, isExternal, embedDomain));
}
public static function getPromotionLink(_arg1:String="feature_promotion"):String{
var _local2:String = (embedDomain) ? embedDomain : hostingDomain;
return (currentBranding.getPromotionLink(gameName, emailPage, isExternal, _local2, _arg1));
}
public static function getSpilCompanyLink():String{
var _local1 = "http://www.gameportal.net/";
_local1 = (_local1 + ("?utm_medium=brandedgames_" + (isExternal) ? "external" : "internal"));
_local1 = (_local1 + ("&utm_campaign=" + gameName));
_local1 = (_local1 + ("&utm_source=" + Brand.stripSubDomain((embedDomain) ? embedDomain : hostingDomain)));
_local1 = (_local1 + "&utm_content=Branding_Link");
return (_local1);
}
public static function importXML(_arg1:XML):void{
var _local2:XML;
var _local3:Object;
var _local4:XML;
for each (_local2 in _arg1.children()) {
_local3 = (strings[_local2.identifier] = new Object());
for each (_local4 in _local2.children()) {
_local3[_local4.name()] = _local4.children()[0].toString();
};
};
}
public static function importXMLv2(_arg1:XML):void{
var _local2:XML;
var _local3:Object;
var _local4:XML;
for each (_local2 in _arg1.children()) {
_local3 = (strings[_local2.attribute("identifier")] = new Object());
for each (_local4 in _local2.children()) {
if (_local4.children().length() > 0){
_local3[_local4.name()] = _local4.children()[0].toString();
} else {
_local3[_local4.name()] = "";
};
};
};
}
public static function getString(_arg1:String):String{
var _local2:Object = strings[_arg1];
if (_local2){
if (currentLanguage.textLanguage){
return (_local2[currentLanguage.textLanguage]);
};
if (_local2[currentLanguage.name]){
return (_local2[currentLanguage.name]);
};
return (_local2["en_us"]);
//unresolved jump
};
return ("");
}
private static function initContexMenu(_arg1:Sprite):void{
contexMenuItem = new ContextMenuItem("");
_arg1.contextMenu = new ContextMenu();
_arg1.contextMenu.customItems.push(contexMenuItem);
contexMenuItem.addEventListener(ContextMenuEvent.MENU_ITEM_SELECT, contexMenuClicked);
}
private static function contexMenuClicked(_arg1:ContextMenuEvent):void{
navigateToURL(new URLRequest(getMoreGamesLink("Contex_Menu")));
}
spil_internal static function chooseLanguage():void{
if (cookieLanguage != null){
currentLanguage = cookieLanguage;
} else {
if (isExternal){
currentLanguage = systemLanguage;
} else {
currentLanguage = portalLanguage;
if (!currentLanguage){
currentLanguage = systemLanguage;
};
};
};
if (!currentLanguage){
trace("Unable to determine language, using 'English US'");
currentLanguage = Languages.getLanguage("en_us");
};
TextFieldFit.embedFonts = currentLanguage.embedFonts;
TextFieldFit.forceFont = currentLanguage.forceFont;
dispatchEvent(new Event(LANGUAGE_CHANGED));
}
spil_internal static function chooseBranding():void{
currentBranding = Brandings.getBrandByDomain(currentLanguage.portal_groups[portalGroup]);
if (!(currentBranding is Brand)){
currentBranding = Brandings.getBrandByDomain("www.agame.com");
};
contexMenuItem.caption = ("More Games: " + currentBranding.domain);
dispatchEvent(new Event(BRANDING_CHANGED));
}
spil_internal static function changeLanguage(_arg1:String):void{
var _local2:Language = Languages.getLanguage(_arg1);
if (!_local2){
trace("ERROR: Supplied language string does not have a matching language");
} else {
cookieLanguage = _local2;
currentLanguage = _local2;
};
TextFieldFit.embedFonts = currentLanguage.embedFonts;
TextFieldFit.forceFont = currentLanguage.forceFont;
chooseBranding();
dispatchEvent(new Event(LANGUAGE_CHANGED));
}
private static function get portalLanguage():Language{
var _local1:Brand;
var _local2:String;
var _local3:Language;
if (isExternal){
return (null);
};
if (!embedDomain){
return (null);
};
_local1 = Brandings.getBrandByDomain(embedDomain);
if (!_local1){
return (null);
};
_local2 = _local1.preferedLanguage;
if (!_local2){
return (null);
};
_local3 = Languages.getLanguage(_local2);
if (!_local3){
return (null);
};
return (_local3);
}
spil_internal static function get systemLanguage():Language{
return (Languages.getLanguage(Capabilities.language));
}
spil_internal static function get cookieLanguage():Language{
var _local1:SharedObject = SharedObject.getLocal(cookieName, cookiePath);
var _local2:String = String(_local1.data[cookieLanguageVar]);
return (Languages.getLanguage(_local2));
}
spil_internal static function set cookieLanguage(_arg1:Language):void{
var _local2:SharedObject = SharedObject.getLocal(cookieName, cookiePath);
if (_arg1 == null){
_local2.data[cookieLanguageVar] = null;
} else {
_local2.data[cookieLanguageVar] = _arg1.name;
};
_local2.flush();
}
public static function get isExternal():Boolean{
return (((((!(Brandings.hasDomain(embedDomain))) && (!(localDomains[embedDomain])))) && (!(isStagingDomain))));
}
public static function get isStagingDomain():Boolean{
var _local1:String = ("http://" + embedDomain);
return ((_local1.indexOf("http://stg.") >= 0));
}
spil_internal static function get hostingDomain():String{
var _local1:LocalConnection;
if (debugHostDomain != ""){
return (debugHostDomain);
};
_local1 = new LocalConnection();
return (_local1.domain);
}
spil_internal static function get embedDomain():String{
var loc:String;
if (debugEmbedDomain != ""){
return (debugEmbedDomain);
};
if (ExternalInterface.available){
try {
loc = ExternalInterface.call("window.location.href.toString");
if (((!((loc == ""))) && (!((loc == null))))){
trace(("embed domain = " + getDomain(loc)));
return (getDomain(loc));
};
} catch(e:SecurityError) {
trace(("Security Error connecting to external interface, error = " + e));
} catch(e:Error) {
trace(("Error connecting to external interface, error = " + e));
};
};
return (null);
}
public static function addEventListener(_arg1:String, _arg2:Function, _arg3:Boolean=false, _arg4:int=0, _arg5:Boolean=false):void{
if (!eventDispatcher){
eventDispatcher = new EventDispatcher();
};
eventDispatcher.addEventListener(_arg1, _arg2, _arg3, _arg4, _arg5);
}
public static function removeEventListener(_arg1:String, _arg2:Function, _arg3:Boolean=false):void{
if (!eventDispatcher){
eventDispatcher = new EventDispatcher();
};
eventDispatcher.removeEventListener(_arg1, _arg2, _arg3);
}
spil_internal static function dispatchEvent(_arg1:Event):void{
if (!eventDispatcher){
eventDispatcher = new EventDispatcher();
};
eventDispatcher.dispatchEvent(_arg1);
}
public static function exportXML():XML{
var _local1:XML = <spil_games/>
;
_local1.appendChild(Brandings.exportXML());
_local1.appendChild(Languages.exportXML());
_local1.appendChild(PortalGroup.exportXML());
return (_local1);
}
private static function getDomain(_arg1:String):String{
var _local2:String;
var _local3:uint;
if (_arg1.indexOf("file") == 0){
return ("offline_play");
};
_local2 = new String();
_local3 = 7;
while (_local3 < _arg1.length) {
if (_arg1.charAt(_local3) == "/"){
break;
};
_local2 = (_local2 + _arg1.charAt(_local3));
_local3++;
};
if (_local2 == "localhost"){
_local2 = "offline_play";
};
return (_local2);
}
}
}//package spill.localisation
Section 85
//SpilGamesLink (spill.localisation.SpilGamesLink)
package spill.localisation {
import flash.display.*;
import flash.events.*;
import flash.net.*;
public class SpilGamesLink extends SimpleButton {
public function SpilGamesLink(){
addEventListener(MouseEvent.CLICK, buttonClicked);
}
private function buttonClicked(_arg1:MouseEvent):void{
navigateToURL(new URLRequest(SpilGame.getSpilCompanyLink()), "_blank");
}
}
}//package spill.localisation
Section 86
//TextFieldFit (spill.localisation.TextFieldFit)
package spill.localisation {
import flash.display.*;
import flash.text.*;
import flash.events.*;
import flash.utils.*;
import flash.filters.*;
public class TextFieldFit extends MovieClip {
private var field:TextField;
private var w:Number;
private var h:Number;
private var format:TextFormat;
private var embeddedFonts:Array;
private var sizeChanged:Boolean;// = true
private var debugBounding:Sprite;
private var valid:Boolean;// = true
protected var _text:String;// = "default"
protected var _textColor:uint;// = 0
protected var _textSize:Number;// = 12
protected var _multiline:Boolean;// = false
protected var _disableWordwrap:Boolean;// = false
protected var _hAlign:String;// = "left"
protected var _vAlign:String;// = "top"
protected var _bold:Boolean;// = false
protected var _underline:Boolean;// = false
protected var _italic:Boolean;// = false
protected var _selectable:Boolean;// = false
protected var _font:String;// = ""
protected var _embedFonts:Boolean;// = true
protected var _antiAliasType:String;// = "advanced"
protected var _gridFitType:String;// = "pixel"
protected var _useGlowFilter:Boolean;// = false
protected var _glowBlur:Number;// = 3
protected var _glowColor:uint;// = 0
protected var _glowStrength:Number;// = 5
protected var _glowQuality:Number;// = 1
private static const gutter:Number = 2;
spil_internal static var embedFonts:Boolean = true;
spil_internal static var forceFont:String = null;
spil_internal static var forceAAType:String = null;
public static var alwaysCheckWidth:Boolean = false;
public function TextFieldFit(){
var _local1:Boolean = ((!((parent == null))) && ((getQualifiedClassName(parent) == "fl.livepreview::LivePreviewParent")));
var _local2:Number = width;
var _local3:Number = height;
if (numChildren > 0){
removeChildAt(0);
};
if (!field){
field = new TextField();
addChild(field);
};
field.border = false;
field.background = false;
field.type = TextFieldType.DYNAMIC;
mouseEnabled = false;
mouseChildren = false;
format = new TextFormat();
embeddedFonts = Font.enumerateFonts(false);
setSize(_local2, _local3);
validate();
if (stage){
addEventListener(Event.RENDER, init);
stage.invalidate();
};
init();
}
public function get textField():TextField{
return (field);
}
private function init(_arg1:Event=null):void{
removeEventListener(Event.RENDER, init);
updateProperties();
layoutText();
}
protected function updateProperties():void{
var _local1:Boolean;
var _local2:Font;
field.text = _text;
field.multiline = ((((_text.indexOf(" ") < 0)) && ((_text.length < 14)))) ? false : _multiline;
field.wordWrap = ((field.multiline) && (!(_disableWordwrap)));
field.selectable = _selectable;
field.antiAliasType = (forceAAType) ? forceAAType : _antiAliasType;
field.gridFitType = _gridFitType;
embeddedFonts = Font.enumerateFonts(false);
if (((((_embedFonts) && (!((_font == ""))))) && (TextFieldFit.embedFonts))){
_local1 = false;
for each (_local2 in embeddedFonts) {
if (_font == _local2.fontName){
_local1 = true;
break;
};
};
field.embedFonts = _local1;
if (!_local1){
trace(((("WARNING: Embedded font '" + _font) + "' not found, disabling embedding of fonts, text = ") + _text));
} else {
trace((("Found Embedded font '" + _font) + "' using font"));
};
} else {
field.embedFonts = false;
};
if (TextFieldFit.forceFont){
format.font = TextFieldFit.forceFont;
} else {
format.font = _font;
};
if (sizeChanged){
format.size = _textSize;
};
format.color = _textColor;
format.align = _hAlign;
format.bold = _bold;
format.italic = _italic;
format.underline = _underline;
format.leftMargin = 0;
format.rightMargin = 0;
field.setTextFormat(format);
if (_useGlowFilter){
filters = [new GlowFilter(_glowColor, 1, _glowBlur, _glowBlur, _glowStrength, _glowQuality)];
} else {
filters = [];
};
}
public function setSize(_arg1:Number, _arg2:Number):void{
w = _arg1;
h = _arg2;
scaleX = (scaleY = 1);
field.width = w;
field.height = h;
invalidate();
}
private function layoutText():void{
resizeText();
field.height = (field.textHeight + (gutter * 2));
if (vAlign == "top"){
field.y = 0;
} else {
if (vAlign == "middle"){
field.y = ((h - field.height) / 2);
} else {
if (vAlign == "bottom"){
field.y = (h - field.height);
};
};
};
}
private function resizeText(_arg1:Boolean=false):void{
if (!doesTextFit()){
format.size = Object((Number(format.size) - 1));
if (format.size <= 3){
trace("WARNING: Text resised to 3px, either an error occured or the text just wont fit");
return;
};
field.setTextFormat(format);
resizeText(true);
} else {
if (_arg1 == false){
while (doesTextFit()) {
if (format.size <= textSize){
format.size = Object((Number(format.size) + 1));
field.setTextFormat(format);
if (!doesTextFit()){
format.size = Object((Number(format.size) - 1));
field.setTextFormat(format);
break;
};
} else {
break;
};
};
};
};
}
private function doesTextFit():Boolean{
if (((((field.textHeight + (gutter * 2)) > h)) || (((((field.textWidth + (gutter * 2)) > w)) && (((!(field.multiline)) || (alwaysCheckWidth))))))){
return (false);
};
return (true);
}
private function invalidate():void{
if (valid){
addEventListener(Event.ENTER_FRAME, validate);
if (stage){
stage.invalidate();
};
valid = false;
};
}
private function validate(_arg1:Event=null):void{
updateProperties();
layoutText();
removeEventListener(Event.ENTER_FRAME, validate);
valid = true;
}
public function set text(_arg1:String):void{
_text = _arg1;
invalidate();
}
public function get text():String{
return (_text);
}
public function set textColor(_arg1:uint):void{
_textColor = _arg1;
invalidate();
}
public function get textColor():uint{
return (_textColor);
}
public function set textSize(_arg1:Number):void{
_textSize = _arg1;
sizeChanged = true;
invalidate();
}
public function get textSize():Number{
return (_textSize);
}
public function set multiline(_arg1:Boolean):void{
_multiline = _arg1;
invalidate();
}
public function get multiline():Boolean{
return (_multiline);
}
public function set disableWordwrap(_arg1:Boolean):void{
_disableWordwrap = _arg1;
invalidate();
}
public function get disableWordwrap():Boolean{
return (_disableWordwrap);
}
public function set hAlign(_arg1:String):void{
_hAlign = _arg1;
invalidate();
}
public function get hAlign():String{
return (_hAlign);
}
public function set vAlign(_arg1:String):void{
_vAlign = _arg1;
invalidate();
}
public function get vAlign():String{
return (_vAlign);
}
public function set bold(_arg1:Boolean):void{
_bold = _arg1;
invalidate();
}
public function get bold():Boolean{
return (_bold);
}
public function set underline(_arg1:Boolean):void{
_underline = _arg1;
invalidate();
}
public function get underline():Boolean{
return (_underline);
}
public function set italic(_arg1:Boolean):void{
_italic = _arg1;
invalidate();
}
public function get italic():Boolean{
return (_italic);
}
public function set selectable(_arg1:Boolean):void{
_selectable = _arg1;
invalidate();
}
public function get selectable():Boolean{
return (_selectable);
}
public function set font(_arg1:String):void{
_font = _arg1;
invalidate();
}
public function get font():String{
return (_font);
}
public function set embedFonts(_arg1:Boolean):void{
_embedFonts = _arg1;
invalidate();
}
public function get embedFonts():Boolean{
return (_embedFonts);
}
public function set antiAliasType(_arg1:String):void{
_antiAliasType = _arg1;
invalidate();
}
public function get antiAliasType():String{
return (_antiAliasType);
}
public function set gridFitType(_arg1:String):void{
_gridFitType = _arg1;
invalidate();
}
public function get gridFitType():String{
return (_gridFitType);
}
public function set useGlowFilter(_arg1:Boolean):void{
_useGlowFilter = _arg1;
invalidate();
}
public function get useGlowFilter():Boolean{
return (_useGlowFilter);
}
public function set glowBlur(_arg1:Number):void{
_glowBlur = _arg1;
invalidate();
}
public function get glowBlur():Number{
return (_glowBlur);
}
public function set glowColor(_arg1:uint):void{
_glowColor = _arg1;
invalidate();
}
public function get glowColor():uint{
return (_glowColor);
}
public function set glowStrength(_arg1:Number):void{
_glowStrength = _arg1;
invalidate();
}
public function get glowStrength():Number{
return (_glowStrength);
}
public function set glowQuality(_arg1:Number):void{
_glowQuality = _arg1;
invalidate();
}
public function get glowQuality():Number{
return (_glowQuality);
}
}
}//package spill.localisation
Section 87
//award_notif (award_notif)
package {
import flash.display.*;
import flash.events.*;
import spill.localisation.*;
import flash.utils.*;
public class award_notif extends MovieClip {
public var __id60_:LocalizedTextField;
public var __id61_:LocalizedTextField;
public var __id57_:LocalizedTextField;
public var bg:MovieClip;
public var __id58_:LocalizedTextField;
public var __id59_:LocalizedTextField;
public var __setPropDict:Dictionary;
private var delay:Number;// = 0
private var _root:Object;
private var g:Number;// = 5
private var yv:Number;// = 0
private var _bg:Object;
public function award_notif(){
__setPropDict = new Dictionary(true);
super();
addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5);
addEventListener(Event.ADDED_TO_STAGE, onadd);
__setProp___id57__award_alert_Layer2_0();
__setProp___id58__award_alert_Layer2_0();
__setProp___id61__award_alert_Layer1_0();
}
private function onadd(_arg1){
addEventListener(Event.ENTER_FRAME, loop);
_root = MovieClip(root);
_root.game_ready = false;
x = 350;
y = -200;
if (_root.award_showed == "award_1"){
gotoAndStop(1);
};
if (_root.award_showed == "award_2"){
gotoAndStop(2);
};
if (_root.award_showed == "award_3"){
gotoAndStop(3);
};
if (_root.award_showed == "award_4"){
gotoAndStop(4);
};
if (_root.award_showed == "award_5"){
gotoAndStop(5);
};
}
private function loop(_arg1){
delay++;
if (delay < 13){
yv = (yv + g);
y = (y + yv);
};
if (delay == 30){
yv = 0;
};
if (delay > 60){
yv = (yv + g);
y = (y - yv);
if (y < -200){
_root.game_ready = true;
removeEventListener(Event.ENTER_FRAME, loop);
parent.removeChild(this);
};
};
}
function __setProp___id57__award_alert_Layer2_0(){
try {
__id57_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id57_.text = "{award_name_1}";
__id57_.textColor = 11682193;
__id57_.textSize = 17;
__id57_.bold = false;
__id57_.disableWordwrap = false;
__id57_.embedFonts = true;
__id57_.font = "Arial";
__id57_.hAlign = "center";
__id57_.multiline = true;
__id57_.vAlign = "bottom";
__id57_.antiAliasType = "advanced";
__id57_.glowBlur = 3;
__id57_.glowColor = 0;
__id57_.useGlowFilter = false;
__id57_.glowQuality = 1;
__id57_.glowStrength = 5;
__id57_.gridFitType = "pixel";
__id57_.italic = false;
__id57_.selectable = false;
__id57_.underline = false;
try {
__id57_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function __setProp___id58__award_alert_Layer2_0(){
try {
__id58_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id58_.text = "{award_desc_1}";
__id58_.textColor = 0;
__id58_.textSize = 13;
__id58_.bold = false;
__id58_.disableWordwrap = false;
__id58_.embedFonts = true;
__id58_.font = "Arial";
__id58_.hAlign = "center";
__id58_.multiline = true;
__id58_.vAlign = "top";
__id58_.antiAliasType = "advanced";
__id58_.glowBlur = 3;
__id58_.glowColor = 0;
__id58_.useGlowFilter = false;
__id58_.glowQuality = 1;
__id58_.glowStrength = 5;
__id58_.gridFitType = "pixel";
__id58_.italic = false;
__id58_.selectable = false;
__id58_.underline = false;
try {
__id58_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function __setProp___id59__award_alert_Layer1_0(){
if ((((__setPropDict[__id59_] == undefined)) || (!((int(__setPropDict[__id59_]) == 1))))){
__setPropDict[__id59_] = 1;
try {
__id59_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id59_.text = "{award_name_1}";
__id59_.textColor = 11682193;
__id59_.textSize = 17;
__id59_.bold = false;
__id59_.disableWordwrap = false;
__id59_.embedFonts = true;
__id59_.font = "Arial";
__id59_.hAlign = "center";
__id59_.multiline = true;
__id59_.vAlign = "bottom";
__id59_.antiAliasType = "advanced";
__id59_.glowBlur = 3;
__id59_.glowColor = 0;
__id59_.useGlowFilter = false;
__id59_.glowQuality = 1;
__id59_.glowStrength = 5;
__id59_.gridFitType = "pixel";
__id59_.italic = false;
__id59_.selectable = false;
__id59_.underline = false;
try {
__id59_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
};
}
function __setProp___id59__award_alert_Layer1_1(){
if ((((__setPropDict[__id59_] == undefined)) || (!((int(__setPropDict[__id59_]) == 2))))){
__setPropDict[__id59_] = 2;
try {
__id59_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id59_.text = "{award_name_2}";
__id59_.textColor = 11682193;
__id59_.textSize = 17;
__id59_.bold = false;
__id59_.disableWordwrap = false;
__id59_.embedFonts = true;
__id59_.font = "Arial";
__id59_.hAlign = "center";
__id59_.multiline = true;
__id59_.vAlign = "bottom";
__id59_.antiAliasType = "advanced";
__id59_.glowBlur = 3;
__id59_.glowColor = 0;
__id59_.useGlowFilter = false;
__id59_.glowQuality = 1;
__id59_.glowStrength = 5;
__id59_.gridFitType = "pixel";
__id59_.italic = false;
__id59_.selectable = false;
__id59_.underline = false;
try {
__id59_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
};
}
function __setProp___id59__award_alert_Layer1_2(){
if ((((__setPropDict[__id59_] == undefined)) || (!((int(__setPropDict[__id59_]) == 3))))){
__setPropDict[__id59_] = 3;
try {
__id59_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id59_.text = "{award_name_3}";
__id59_.textColor = 11682193;
__id59_.textSize = 17;
__id59_.bold = false;
__id59_.disableWordwrap = false;
__id59_.embedFonts = true;
__id59_.font = "Arial";
__id59_.hAlign = "center";
__id59_.multiline = true;
__id59_.vAlign = "bottom";
__id59_.antiAliasType = "advanced";
__id59_.glowBlur = 3;
__id59_.glowColor = 0;
__id59_.useGlowFilter = false;
__id59_.glowQuality = 1;
__id59_.glowStrength = 5;
__id59_.gridFitType = "pixel";
__id59_.italic = false;
__id59_.selectable = false;
__id59_.underline = false;
try {
__id59_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
};
}
function __setProp___id59__award_alert_Layer1_3(){
if ((((__setPropDict[__id59_] == undefined)) || (!((int(__setPropDict[__id59_]) == 4))))){
__setPropDict[__id59_] = 4;
try {
__id59_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id59_.text = "{award_name_4}";
__id59_.textColor = 11682193;
__id59_.textSize = 17;
__id59_.bold = false;
__id59_.disableWordwrap = false;
__id59_.embedFonts = true;
__id59_.font = "Arial";
__id59_.hAlign = "center";
__id59_.multiline = true;
__id59_.vAlign = "bottom";
__id59_.antiAliasType = "advanced";
__id59_.glowBlur = 3;
__id59_.glowColor = 0;
__id59_.useGlowFilter = false;
__id59_.glowQuality = 1;
__id59_.glowStrength = 5;
__id59_.gridFitType = "pixel";
__id59_.italic = false;
__id59_.selectable = false;
__id59_.underline = false;
try {
__id59_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
};
}
function __setProp___id59__award_alert_Layer1_4(){
if ((((__setPropDict[__id59_] == undefined)) || (!((int(__setPropDict[__id59_]) == 5))))){
__setPropDict[__id59_] = 5;
try {
__id59_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id59_.text = "{award_name_5}";
__id59_.textColor = 11682193;
__id59_.textSize = 17;
__id59_.bold = false;
__id59_.disableWordwrap = false;
__id59_.embedFonts = true;
__id59_.font = "Arial";
__id59_.hAlign = "center";
__id59_.multiline = true;
__id59_.vAlign = "bottom";
__id59_.antiAliasType = "advanced";
__id59_.glowBlur = 3;
__id59_.glowColor = 0;
__id59_.useGlowFilter = false;
__id59_.glowQuality = 1;
__id59_.glowStrength = 5;
__id59_.gridFitType = "pixel";
__id59_.italic = false;
__id59_.selectable = false;
__id59_.underline = false;
try {
__id59_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
};
}
function __setProp___id60__award_alert_Layer1_0(){
if ((((__setPropDict[__id60_] == undefined)) || (!((int(__setPropDict[__id60_]) == 1))))){
__setPropDict[__id60_] = 1;
try {
__id60_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id60_.text = "{award_desc_1}";
__id60_.textColor = 0;
__id60_.textSize = 13;
__id60_.bold = false;
__id60_.disableWordwrap = false;
__id60_.embedFonts = true;
__id60_.font = "Arial";
__id60_.hAlign = "center";
__id60_.multiline = true;
__id60_.vAlign = "top";
__id60_.antiAliasType = "advanced";
__id60_.glowBlur = 3;
__id60_.glowColor = 0;
__id60_.useGlowFilter = false;
__id60_.glowQuality = 1;
__id60_.glowStrength = 5;
__id60_.gridFitType = "pixel";
__id60_.italic = false;
__id60_.selectable = false;
__id60_.underline = false;
try {
__id60_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
};
}
function __setProp___id60__award_alert_Layer1_1(){
if ((((__setPropDict[__id60_] == undefined)) || (!((int(__setPropDict[__id60_]) == 2))))){
__setPropDict[__id60_] = 2;
try {
__id60_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id60_.text = "{award_desc_2}";
__id60_.textColor = 0;
__id60_.textSize = 13;
__id60_.bold = false;
__id60_.disableWordwrap = false;
__id60_.embedFonts = true;
__id60_.font = "Arial";
__id60_.hAlign = "center";
__id60_.multiline = true;
__id60_.vAlign = "top";
__id60_.antiAliasType = "advanced";
__id60_.glowBlur = 3;
__id60_.glowColor = 0;
__id60_.useGlowFilter = false;
__id60_.glowQuality = 1;
__id60_.glowStrength = 5;
__id60_.gridFitType = "pixel";
__id60_.italic = false;
__id60_.selectable = false;
__id60_.underline = false;
try {
__id60_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
};
}
function __setProp___id60__award_alert_Layer1_2(){
if ((((__setPropDict[__id60_] == undefined)) || (!((int(__setPropDict[__id60_]) == 3))))){
__setPropDict[__id60_] = 3;
try {
__id60_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id60_.text = "{award_desc_3}";
__id60_.textColor = 0;
__id60_.textSize = 13;
__id60_.bold = false;
__id60_.disableWordwrap = false;
__id60_.embedFonts = true;
__id60_.font = "Arial";
__id60_.hAlign = "center";
__id60_.multiline = true;
__id60_.vAlign = "top";
__id60_.antiAliasType = "advanced";
__id60_.glowBlur = 3;
__id60_.glowColor = 0;
__id60_.useGlowFilter = false;
__id60_.glowQuality = 1;
__id60_.glowStrength = 5;
__id60_.gridFitType = "pixel";
__id60_.italic = false;
__id60_.selectable = false;
__id60_.underline = false;
try {
__id60_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
};
}
function __setProp___id60__award_alert_Layer1_3(){
if ((((__setPropDict[__id60_] == undefined)) || (!((int(__setPropDict[__id60_]) == 4))))){
__setPropDict[__id60_] = 4;
try {
__id60_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id60_.text = "{award_desc_4}";
__id60_.textColor = 0;
__id60_.textSize = 13;
__id60_.bold = false;
__id60_.disableWordwrap = false;
__id60_.embedFonts = true;
__id60_.font = "Arial";
__id60_.hAlign = "center";
__id60_.multiline = true;
__id60_.vAlign = "top";
__id60_.antiAliasType = "advanced";
__id60_.glowBlur = 3;
__id60_.glowColor = 0;
__id60_.useGlowFilter = false;
__id60_.glowQuality = 1;
__id60_.glowStrength = 5;
__id60_.gridFitType = "pixel";
__id60_.italic = false;
__id60_.selectable = false;
__id60_.underline = false;
try {
__id60_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
};
}
function __setProp___id60__award_alert_Layer1_4(){
if ((((__setPropDict[__id60_] == undefined)) || (!((int(__setPropDict[__id60_]) == 5))))){
__setPropDict[__id60_] = 5;
try {
__id60_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id60_.text = "{award_desc_5}";
__id60_.textColor = 0;
__id60_.textSize = 13;
__id60_.bold = false;
__id60_.disableWordwrap = false;
__id60_.embedFonts = true;
__id60_.font = "Arial";
__id60_.hAlign = "center";
__id60_.multiline = true;
__id60_.vAlign = "top";
__id60_.antiAliasType = "advanced";
__id60_.glowBlur = 3;
__id60_.glowColor = 0;
__id60_.useGlowFilter = false;
__id60_.glowQuality = 1;
__id60_.glowStrength = 5;
__id60_.gridFitType = "pixel";
__id60_.italic = false;
__id60_.selectable = false;
__id60_.underline = false;
try {
__id60_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
};
}
function __setProp___id61__award_alert_Layer1_0(){
try {
__id61_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id61_.text = "{award}";
__id61_.textColor = 0x990033;
__id61_.textSize = 35;
__id61_.bold = false;
__id61_.disableWordwrap = false;
__id61_.embedFonts = true;
__id61_.font = "Arial";
__id61_.hAlign = "center";
__id61_.multiline = true;
__id61_.vAlign = "middle";
__id61_.antiAliasType = "advanced";
__id61_.glowBlur = 3;
__id61_.glowColor = 0;
__id61_.useGlowFilter = false;
__id61_.glowQuality = 1;
__id61_.glowStrength = 5;
__id61_.gridFitType = "pixel";
__id61_.italic = false;
__id61_.selectable = false;
__id61_.underline = false;
try {
__id61_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function frame1(){
__setProp___id60__award_alert_Layer1_0();
__setProp___id59__award_alert_Layer1_0();
}
function frame2(){
__setProp___id60__award_alert_Layer1_1();
__setProp___id59__award_alert_Layer1_1();
}
function frame3(){
__setProp___id60__award_alert_Layer1_2();
__setProp___id59__award_alert_Layer1_2();
}
function frame4(){
__setProp___id60__award_alert_Layer1_3();
__setProp___id59__award_alert_Layer1_3();
}
function frame5(){
__setProp___id60__award_alert_Layer1_4();
__setProp___id59__award_alert_Layer1_4();
}
}
}//package
Section 88
//bubles (bubles)
package {
import flash.display.*;
public dynamic class bubles extends MovieClip {
}
}//package
Section 89
//chair (chair)
package {
import flash.display.*;
import flash.events.*;
public class chair extends MovieClip {
private var _root:Object;
private var c_holder:Object;
private var cust:Object;
private var c_req:Object;
private var occupied:Boolean;// = false
public var on_process:Boolean;// = false
private var on_process_delay:Number;// = 0
private var bln:Object;
private var ch:Object;
private var s:String;
private var s1:String;
private var s2:String;
private var s3:String;
private var r:Number;// = 0
private var heart:Object;
private var fxcombo:Object;
private var _chair:Object;
private var cmb_holder:Object;
public function chair(){
addEventListener(Event.ADDED_TO_STAGE, onadd);
}
private function onadd(_arg1){
}
public function initialize(){
_root = MovieClip(root);
c_holder = _root.getChildByName("cust_holder");
cmb_holder = _root.getChildByName("combo_holder");
ch = _root.getChildByName("karakter");
addEventListener(Event.ENTER_FRAME, loop);
}
private function loop(_arg1){
var _local2:*;
var _local3:*;
var _local4:*;
var _local5:*;
var _local6:*;
var _local7:*;
var _local8:*;
var _local9:*;
var _local10:*;
var _local11:*;
var _local12:*;
var _local13:*;
var _local14:*;
var _local15:*;
if (_root.game_ready){
if (c_holder.numChildren > 0){
_local2 = 0;
_local3 = 0;
while (_local3 < c_holder.numChildren) {
_local4 = c_holder.getChildAt(_local3);
if ((((_local4.x == x)) && ((_local4.y == (y + 10))))){
_local2++;
};
_local3++;
};
if (_local2 != 0){
occupied = true;
} else {
occupied = false;
};
};
if (c_holder.numChildren > 0){
cust = c_holder.getChildAt((c_holder.numChildren - 1));
c_req = cust.getChildByName("balon");
if (((((!(cust.on_drag)) && (!((cust.x == cust.x_pos))))) && (!((cust.y == cust.y_pos))))){
_local5 = Math.sqrt(((cust.x - x) * (cust.x - x)));
_local6 = Math.sqrt(((cust.y - y) * (cust.y - y)));
if ((((_local5 < 80)) && ((_local6 < 80)))){
if (!occupied){
occupied = true;
if (c_req.currentLabel != "wash"){
_local7 = _root.getChildByName("slot_1");
_local8 = _root.getChildByName("slot_2");
_local9 = _root.getChildByName("slot_3");
_local10 = _root.getChildByName("slot_4");
_local11 = _root.getChildByName("slot_5");
if (cust.x_pos == _local9.x){
_root.slot_3_empty = true;
} else {
if (cust.x_pos == _local10.x){
_root.slot_4_empty = true;
} else {
if (cust.x_pos == _local11.x){
_root.slot_5_empty = true;
} else {
(cust.x_pos == (_local10.x - 60));
if (4){
_root.slot_4_empty = true;
} else {
(cust.x_pos == (_local11.x - 119));
if (9){
_root.slot_5_empty = true;
};
};
};
};
};
cust.x = x;
cust.y = (y + 10);
cust.x_pos = x;
cust.y_pos = cust.y;
if (!cust.sit){
cust.sit = true;
} else {
cust.sitdelay = 0;
};
cust.able_to_drag = false;
cust.sit_on = this.name;
_root.playSound(new soundsit());
};
};
};
};
};
if (on_process){
on_process_delay++;
if (on_process_delay == 1){
ch.on_work = true;
_local3 = 0;
while (_local3 < c_holder.numChildren) {
cust = c_holder.getChildAt(_local3);
if (cust.sit_on == this.name){
bln = cust.getChildByName("balon");
_local12 = cust.getChildByName("hair");
};
_local3++;
};
};
if (bln.currentLabel == "cut"){
if (ch.able_to == "cut"){
if (on_process_delay == 1){
_root.playSound(new soundcut());
ch.on_work = true;
};
};
if (on_process_delay == 50){
if (ch.combo.length > 0){
if (ch.combo[(length - 1)] == bln.currentLabel){
if (ch.combo.length < 4){
_root.cut_combo++;
ch.combo.push(bln.currentLabel);
if (ch.combo.length == 2){
fxcombo = new combo_2();
fxcombo.x = (x - 10);
fxcombo.y = (y - 80);
cmb_holder.addChild(fxcombo);
_root.score = (_root.score + (100 * 2));
};
if (ch.combo.length == 3){
fxcombo = new combo_3();
fxcombo.x = (x - 10);
fxcombo.y = (y - 80);
cmb_holder.addChild(fxcombo);
_root.score = (_root.score + (100 * 3));
};
if (ch.combo.length == 4){
fxcombo = new combo_4();
fxcombo.x = (x - 10);
fxcombo.y = (y - 80);
cmb_holder.addChild(fxcombo);
_root.score = (_root.score + (100 * 4));
};
} else {
_root.cut_combo++;
fxcombo = new combo_4();
fxcombo.x = (x - 10);
fxcombo.y = (y - 80);
cmb_holder.addChild(fxcombo);
_root.score = (_root.score + (100 * 4));
};
} else {
_root.cut_combo++;
ch.combo = [bln.currentLabel];
_root.score = (_root.score + 100);
};
} else {
ch.combo = [bln.currentLabel];
_root.score = (_root.score + 100);
};
_local3 = 0;
while (_local3 < c_holder.numChildren) {
cust = c_holder.getChildAt(_local3);
if (cust.sit_on == this.name){
heart = new fxheart();
heart.x = cust.x;
heart.y = (cust.y - 80);
_root.addChild(heart);
if (cust.heart_level < 3){
cust.heart_level++;
cust.sitdelay = 0;
};
cust.task.splice(0, 1);
_local12 = cust.getChildByName("hair");
_local12 = cust.getChildByName("hair");
s = _local12.currentLabel;
s1 = s.slice(0, 7);
s2 = s.slice(7, 8);
s3 = s.slice(8, s.length);
_local12.gotoAndStop(((s1 + "c") + s3));
bln = cust.getChildByName("balon");
if (cust.task.length != 0){
if (cust.task[0] != "color"){
bln.gotoAndStop(cust.task[0]);
} else {
r = (1 + Math.floor((Math.random() * 5)));
if (r == 1){
bln.gotoAndStop("red");
};
if (r == 2){
bln.gotoAndStop("yellow");
};
if (r == 3){
bln.gotoAndStop("green");
};
if (r == 4){
bln.gotoAndStop("blue");
};
if (r == 5){
bln.gotoAndStop("black");
};
};
bln.visible = true;
if (cust.task[0] == "wash"){
cust.able_to_drag = true;
};
cust.sit = true;
};
if (cust.task.length == 0){
if (cust.heart_level == 1){
_root.score = (_root.score + 100);
};
if (cust.heart_level == 2){
_root.score = (_root.score + 300);
};
if (cust.heart_level == 3){
_root.score = (_root.score + 500);
};
cust.happy = true;
};
};
_local3++;
};
if (ch.queue.length > 0){
ch.on_work = false;
on_process_delay = 0;
on_process = false;
if ((((ch.queue[0][0] == ch.x_pos)) && ((ch.queue[0][1] == ch.y_pos)))){
ch.x = ch.x_pos;
ch.y = ch.y_pos;
ch.swap = true;
ch.swap_to = ch.queue[0][2];
ch.swap_delay = 0;
ch.queue.splice(0, 1);
ch.sort_queue();
} else {
if (ch.queue[0][2] == "wash"){
ch.x = ch.queue[0][0];
ch.y = (ch.queue[0][1] - 60);
ch.able_to = "wash";
_local3 = 0;
while (_local3 < c_holder.numChildren) {
cust = c_holder.getChildAt(_local3);
bln = cust.getChildByName("balon");
if ((((ch.queue[0][0] == cust.x)) && ((ch.queue[0][1] == cust.y)))){
bln.visible = false;
cust.wash = false;
_local13 = _root.getChildByName(cust.sit_on);
_local13.on_process = true;
_local13.on_process_delay = 0;
_local14 = new bubles();
_local14.x = cust.x;
_local14.y = (cust.y - 140);
_local14.name = "bub";
_root.addChild(_local14);
ch.queue.splice(0, 1);
ch.sort_queue();
break;
};
_local3++;
};
} else {
ch.x = (ch.queue[0][0] + 30);
ch.y = (ch.queue[0][1] - 30);
if (ch.able_to == ch.queue[0][2]){
_local3 = 0;
while (_local3 < c_holder.numChildren) {
cust = c_holder.getChildAt(_local3);
bln = cust.getChildByName("balon");
if ((((ch.queue[0][0] == cust.x)) && ((ch.queue[0][1] == cust.y)))){
bln.visible = false;
cust.sit = false;
_local13 = _root.getChildByName(cust.sit_on);
_local13.on_process = true;
ch.queue.splice(0, 1);
ch.sort_queue();
break;
};
_local3++;
};
} else {
if ((((((((((ch.queue[0][2] == "red")) || ((ch.queue[0][2] == "blue")))) || ((ch.queue[0][2] == "yellow")))) || ((ch.queue[0][2] == "black")))) || ((ch.queue[0][2] == "green")))){
if (ch.able_to == "color"){
_local3 = 0;
while (_local3 < c_holder.numChildren) {
cust = c_holder.getChildAt(_local3);
bln = cust.getChildByName("balon");
if ((((ch.queue[0][0] == cust.x)) && ((ch.queue[0][1] == cust.y)))){
cust.sit = false;
if (cust.heart_level < 3){
cust.heart_level++;
cust.sitdelay = 0;
};
cust.choose_color = true;
ch.choose_color = true;
ch.on_work = true;
ch.queue.splice(0, 1);
ch.sort_queue();
break;
};
_local3++;
};
} else {
if (ch.able_to != "color"){
ch.clear_queue();
ch.combo = [];
ch.on_work = false;
on_process = false;
on_process_delay = 0;
};
};
} else {
if (ch.able_to != ch.queue[0][2]){
ch.clear_queue();
ch.combo = [];
};
};
};
};
};
} else {
ch.on_work = false;
on_process = false;
on_process_delay = 0;
};
};
} else {
if (bln.currentLabel == "perm"){
if (ch.able_to == "perm"){
if (on_process_delay == 1){
_root.playSound(new soundperm());
};
ch.on_work = true;
};
if (on_process_delay == 50){
_root.cut_combo = 0;
if (ch.combo.length > 0){
if (ch.combo[(length - 1)] == bln.currentLabel){
if (ch.combo.length < 4){
ch.combo.push(bln.currentLabel);
if (ch.combo.length == 2){
fxcombo = new combo_2();
fxcombo.x = (x - 10);
fxcombo.y = (y - 80);
cmb_holder.addChild(fxcombo);
_root.score = (_root.score + (100 * 2));
};
if (ch.combo.length == 3){
fxcombo = new combo_3();
fxcombo.x = (x - 10);
fxcombo.y = (y - 80);
cmb_holder.addChild(fxcombo);
_root.score = (_root.score + (100 * 3));
};
if (ch.combo.length == 4){
fxcombo = new combo_4();
fxcombo.x = (x - 10);
fxcombo.y = (y - 80);
cmb_holder.addChild(fxcombo);
_root.score = (_root.score + (100 * 4));
};
} else {
fxcombo = new combo_4();
fxcombo.x = (x - 10);
fxcombo.y = (y - 80);
cmb_holder.addChild(fxcombo);
_root.score = (_root.score + (100 * 4));
};
} else {
ch.combo = [bln.currentLabel];
_root.score = (_root.score + 100);
};
} else {
ch.combo = [bln.currentLabel];
_root.score = (_root.score + 100);
};
_local3 = 0;
while (_local3 < c_holder.numChildren) {
cust = c_holder.getChildAt(_local3);
if (cust.sit_on == this.name){
heart = new fxheart();
heart.x = cust.x;
heart.y = (cust.y - 80);
_root.addChild(heart);
if (cust.heart_level < 3){
cust.heart_level++;
cust.sitdelay = 0;
};
cust.task.splice(0, 1);
bln = cust.getChildByName("balon");
_local12 = cust.getChildByName("hair");
_local12 = cust.getChildByName("hair");
s = _local12.currentLabel;
s1 = s.slice(0, 7);
s2 = s.slice(7, 8);
s3 = s.slice(8, s.length);
_local12.gotoAndStop((("hair_2_" + s2) + s3));
if (cust.task.length != 0){
if (cust.task[0] != "color"){
bln.gotoAndStop(cust.task[0]);
} else {
r = (1 + Math.floor((Math.random() * 5)));
if (r == 1){
bln.gotoAndStop("red");
};
if (r == 2){
bln.gotoAndStop("yellow");
};
if (r == 3){
bln.gotoAndStop("green");
};
if (r == 4){
bln.gotoAndStop("blue");
};
if (r == 5){
bln.gotoAndStop("black");
};
};
bln.visible = true;
if (cust.task[0] == "wash"){
cust.able_to_drag = true;
};
cust.sit = true;
};
if (cust.task.length == 0){
if (cust.heart_level == 1){
_root.score = (_root.score + 100);
};
if (cust.heart_level == 2){
_root.score = (_root.score + 300);
};
if (cust.heart_level == 3){
_root.score = (_root.score + 500);
};
cust.happy = true;
};
};
_local3++;
};
if (ch.queue.length > 0){
ch.on_work = false;
on_process_delay = 0;
on_process = false;
if ((((ch.queue[0][0] == ch.x_pos)) && ((ch.queue[0][1] == ch.y_pos)))){
ch.x = ch.x_pos;
ch.y = ch.y_pos;
ch.swap = true;
ch.swap_to = ch.queue[0][2];
ch.swap_delay = 0;
ch.queue.splice(0, 1);
ch.sort_queue();
} else {
if (ch.queue[0][2] == "wash"){
ch.x = ch.queue[0][0];
ch.y = (ch.queue[0][1] - 60);
ch.able_to = "wash";
_local3 = 0;
while (_local3 < c_holder.numChildren) {
cust = c_holder.getChildAt(_local3);
bln = cust.getChildByName("balon");
if ((((ch.queue[0][0] == cust.x)) && ((ch.queue[0][1] == cust.y)))){
bln.visible = false;
cust.wash = false;
_local13 = _root.getChildByName(cust.sit_on);
_local13.on_process = true;
_local13.on_process_delay = 0;
_local14 = new bubles();
_local14.x = cust.x;
_local14.y = (cust.y - 140);
_local14.name = "bub";
_root.addChild(_local14);
ch.queue.splice(0, 1);
ch.sort_queue();
break;
};
_local3++;
};
} else {
ch.x = (ch.queue[0][0] + 30);
ch.y = (ch.queue[0][1] - 30);
if (ch.able_to == ch.queue[0][2]){
_local3 = 0;
while (_local3 < c_holder.numChildren) {
cust = c_holder.getChildAt(_local3);
bln = cust.getChildByName("balon");
if ((((ch.queue[0][0] == cust.x)) && ((ch.queue[0][1] == cust.y)))){
bln.visible = false;
cust.sit = false;
_local13 = _root.getChildByName(cust.sit_on);
_local13.on_process = true;
ch.queue.splice(0, 1);
ch.sort_queue();
break;
};
_local3++;
};
} else {
if ((((((((((ch.queue[0][2] == "red")) || ((ch.queue[0][2] == "blue")))) || ((ch.queue[0][2] == "yellow")))) || ((ch.queue[0][2] == "black")))) || ((ch.queue[0][2] == "green")))){
if (ch.able_to == "color"){
_local3 = 0;
while (_local3 < c_holder.numChildren) {
cust = c_holder.getChildAt(_local3);
bln = cust.getChildByName("balon");
if ((((ch.queue[0][0] == cust.x)) && ((ch.queue[0][1] == cust.y)))){
cust.sit = false;
if (cust.heart_level < 3){
cust.heart_level++;
cust.sitdelay = 0;
};
cust.choose_color = true;
ch.choose_color = true;
ch.on_work = true;
ch.queue.splice(0, 1);
ch.sort_queue();
break;
};
_local3++;
};
};
} else {
if (ch.able_to != ch.queue[0][2]){
ch.clear_queue();
ch.combo = [];
};
};
};
};
};
} else {
ch.on_work = false;
on_process = false;
on_process_delay = 0;
};
_root.perm_number++;
};
} else {
if (bln.currentLabel == "ion"){
if (ch.able_to == "ion"){
if (on_process_delay == 1){
_root.playSound(new soundion());
};
ch.on_work = true;
};
if (on_process_delay == 50){
_root.cut_combo = 0;
if (ch.combo.length > 0){
if (ch.combo[(length - 1)] == bln.currentLabel){
if (ch.combo.length < 4){
ch.combo.push(bln.currentLabel);
if (ch.combo.length == 2){
fxcombo = new combo_2();
fxcombo.x = (x - 10);
fxcombo.y = (y - 80);
cmb_holder.addChild(fxcombo);
_root.score = (_root.score + (100 * 2));
};
if (ch.combo.length == 3){
fxcombo = new combo_3();
fxcombo.x = (x - 10);
fxcombo.y = (y - 80);
cmb_holder.addChild(fxcombo);
_root.score = (_root.score + (100 * 3));
};
if (ch.combo.length == 4){
fxcombo = new combo_4();
fxcombo.x = (x - 10);
fxcombo.y = (y - 80);
cmb_holder.addChild(fxcombo);
_root.score = (_root.score + (100 * 4));
};
} else {
fxcombo = new combo_4();
fxcombo.x = (x - 10);
fxcombo.y = (y - 80);
cmb_holder.addChild(fxcombo);
_root.score = (_root.score + (100 * 4));
};
} else {
ch.combo = [bln.currentLabel];
_root.score = (_root.score + 100);
};
} else {
ch.combo = [bln.currentLabel];
_root.score = (_root.score + 100);
};
_local3 = 0;
while (_local3 < c_holder.numChildren) {
cust = c_holder.getChildAt(_local3);
if (cust.sit_on == this.name){
heart = new fxheart();
heart.x = cust.x;
heart.y = (cust.y - 80);
_root.addChild(heart);
if (cust.heart_level < 3){
cust.heart_level++;
cust.sitdelay = 0;
};
cust.task.splice(0, 1);
bln = cust.getChildByName("balon");
_local12 = cust.getChildByName("hair");
_local12 = cust.getChildByName("hair");
s = _local12.currentLabel;
s1 = s.slice(0, 7);
s2 = s.slice(7, 8);
s3 = s.slice(8, s.length);
_local12.gotoAndStop((("hair_1_" + s2) + s3));
if (cust.task.length != 0){
if (cust.task[0] != "color"){
bln.gotoAndStop(cust.task[0]);
} else {
r = (1 + Math.floor((Math.random() * 5)));
if (r == 1){
bln.gotoAndStop("red");
};
if (r == 2){
bln.gotoAndStop("yellow");
};
if (r == 3){
bln.gotoAndStop("green");
};
if (r == 4){
bln.gotoAndStop("blue");
};
if (r == 5){
bln.gotoAndStop("black");
};
};
bln.visible = true;
if (cust.task[0] == "wash"){
cust.able_to_drag = true;
};
cust.sit = true;
};
if (cust.task.length == 0){
if (cust.heart_level == 1){
_root.score = (_root.score + 100);
};
if (cust.heart_level == 2){
_root.score = (_root.score + 300);
};
if (cust.heart_level == 3){
_root.score = (_root.score + 500);
};
cust.happy = true;
};
};
_local3++;
};
if (ch.queue.length > 0){
ch.on_work = false;
on_process_delay = 0;
on_process = false;
if ((((ch.queue[0][0] == ch.x_pos)) && ((ch.queue[0][1] == ch.y_pos)))){
ch.x = ch.x_pos;
ch.y = ch.y_pos;
ch.swap = true;
ch.swap_to = ch.queue[0][2];
ch.swap_delay = 0;
ch.queue.splice(0, 1);
ch.sort_queue();
} else {
if (ch.queue[0][2] == "wash"){
ch.x = ch.queue[0][0];
ch.y = (ch.queue[0][1] - 60);
ch.able_to = "wash";
_local3 = 0;
while (_local3 < c_holder.numChildren) {
cust = c_holder.getChildAt(_local3);
bln = cust.getChildByName("balon");
if ((((ch.queue[0][0] == cust.x)) && ((ch.queue[0][1] == cust.y)))){
bln.visible = false;
cust.wash = false;
_local13 = _root.getChildByName(cust.sit_on);
_local13.on_process = true;
_local13.on_process_delay = 0;
_local14 = new bubles();
_local14.x = cust.x;
_local14.y = (cust.y - 140);
_local14.name = "bub";
_root.addChild(_local14);
ch.queue.splice(0, 1);
ch.sort_queue();
break;
};
_local3++;
};
} else {
ch.x = (ch.queue[0][0] + 30);
ch.y = (ch.queue[0][1] - 30);
if (ch.able_to == ch.queue[0][2]){
_local3 = 0;
while (_local3 < c_holder.numChildren) {
cust = c_holder.getChildAt(_local3);
bln = cust.getChildByName("balon");
if ((((ch.queue[0][0] == cust.x)) && ((ch.queue[0][1] == cust.y)))){
bln.visible = false;
cust.sit = false;
_local13 = _root.getChildByName(cust.sit_on);
_local13.on_process = true;
ch.queue.splice(0, 1);
ch.sort_queue();
break;
};
_local3++;
};
} else {
if ((((((((((ch.queue[0][2] == "red")) || ((ch.queue[0][2] == "blue")))) || ((ch.queue[0][2] == "yellow")))) || ((ch.queue[0][2] == "black")))) || ((ch.queue[0][2] == "green")))){
if (ch.able_to == "color"){
_local3 = 0;
while (_local3 < c_holder.numChildren) {
cust = c_holder.getChildAt(_local3);
bln = cust.getChildByName("balon");
if ((((ch.queue[0][0] == cust.x)) && ((ch.queue[0][1] == cust.y)))){
cust.sit = false;
if (cust.heart_level < 3){
cust.heart_level++;
cust.sitdelay = 0;
};
cust.choose_color = true;
ch.choose_color = true;
ch.on_work = true;
ch.queue.splice(0, 1);
ch.sort_queue();
break;
};
_local3++;
};
};
} else {
if (ch.able_to != ch.queue[0][2]){
ch.clear_queue();
ch.combo = [];
};
};
};
};
};
} else {
ch.on_work = false;
on_process = false;
on_process_delay = 0;
};
_root.ion_number++;
};
} else {
if (bln.currentLabel == "ribbon"){
if (ch.able_to == "ribbon"){
ch.on_work = true;
};
if (on_process_delay == 50){
_root.playSound(new soundribbon());
_root.cut_combo = 0;
if (ch.combo.length > 0){
if (ch.combo[(length - 1)] == bln.currentLabel){
if (ch.combo.length < 4){
ch.combo.push(bln.currentLabel);
if (ch.combo.length == 2){
fxcombo = new combo_2();
fxcombo.x = (x - 10);
fxcombo.y = (y - 80);
cmb_holder.addChild(fxcombo);
_root.score = (_root.score + (100 * 2));
};
if (ch.combo.length == 3){
fxcombo = new combo_3();
fxcombo.x = (x - 10);
fxcombo.y = (y - 80);
cmb_holder.addChild(fxcombo);
_root.score = (_root.score + (100 * 3));
};
if (ch.combo.length == 4){
fxcombo = new combo_4();
fxcombo.x = (x - 10);
fxcombo.y = (y - 80);
cmb_holder.addChild(fxcombo);
_root.score = (_root.score + (100 * 4));
};
} else {
fxcombo = new combo_4();
fxcombo.x = (x - 10);
fxcombo.y = (y - 80);
cmb_holder.addChild(fxcombo);
_root.score = (_root.score + (100 * 4));
};
} else {
ch.combo = [bln.currentLabel];
_root.score = (_root.score + 100);
};
} else {
ch.combo = [bln.currentLabel];
_root.score = (_root.score + 100);
};
_local3 = 0;
while (_local3 < c_holder.numChildren) {
cust = c_holder.getChildAt(_local3);
if (cust.sit_on == this.name){
heart = new fxheart();
heart.x = cust.x;
heart.y = (cust.y - 80);
_root.addChild(heart);
if (cust.heart_level < 3){
cust.heart_level++;
cust.sitdelay = 0;
};
cust.task.splice(0, 1);
bln = cust.getChildByName("balon");
_local12 = cust.getChildByName("hair");
_local12 = cust.getChildByName("hair");
s = _local12.currentLabel;
s1 = s.slice(0, 7);
s2 = s.slice(7, 8);
s3 = s.slice(8, s.length);
_local12.gotoAndStop(((s1 + "r") + s3));
if (cust.task.length != 0){
if (cust.task[0] != "color"){
bln.gotoAndStop(cust.task[0]);
} else {
r = (1 + Math.floor((Math.random() * 5)));
if (r == 1){
bln.gotoAndStop("red");
};
if (r == 2){
bln.gotoAndStop("yellow");
};
if (r == 3){
bln.gotoAndStop("green");
};
if (r == 4){
bln.gotoAndStop("blue");
};
if (r == 5){
bln.gotoAndStop("black");
};
};
bln.visible = true;
if (cust.task[0] == "wash"){
cust.able_to_drag = true;
};
cust.sit = true;
};
if (cust.task.length == 0){
if (cust.heart_level == 1){
_root.score = (_root.score + 100);
};
if (cust.heart_level == 2){
_root.score = (_root.score + 300);
};
if (cust.heart_level == 3){
_root.score = (_root.score + 500);
};
cust.happy = true;
};
};
_local3++;
};
if (ch.queue.length > 0){
ch.on_work = false;
on_process_delay = 0;
on_process = false;
if ((((ch.queue[0][0] == ch.x_pos)) && ((ch.queue[0][1] == ch.y_pos)))){
ch.x = ch.x_pos;
ch.y = ch.y_pos;
ch.swap = true;
ch.swap_to = ch.queue[0][2];
ch.swap_delay = 0;
ch.queue.splice(0, 1);
ch.sort_queue();
} else {
if (ch.queue[0][2] == "wash"){
ch.x = ch.queue[0][0];
ch.y = (ch.queue[0][1] - 60);
ch.able_to = "wash";
_local3 = 0;
while (_local3 < c_holder.numChildren) {
cust = c_holder.getChildAt(_local3);
bln = cust.getChildByName("balon");
if ((((ch.queue[0][0] == cust.x)) && ((ch.queue[0][1] == cust.y)))){
bln.visible = false;
cust.wash = false;
_local13 = _root.getChildByName(cust.sit_on);
_local13.on_process = true;
_local13.on_process_delay = 0;
_local14 = new bubles();
_local14.x = cust.x;
_local14.y = (cust.y - 140);
_local14.name = "bub";
_root.addChild(_local14);
ch.queue.splice(0, 1);
ch.sort_queue();
break;
};
_local3++;
};
} else {
ch.x = (ch.queue[0][0] + 30);
ch.y = (ch.queue[0][1] - 30);
if (ch.able_to == ch.queue[0][2]){
_local3 = 0;
while (_local3 < c_holder.numChildren) {
cust = c_holder.getChildAt(_local3);
bln = cust.getChildByName("balon");
if ((((ch.queue[0][0] == cust.x)) && ((ch.queue[0][1] == cust.y)))){
bln.visible = false;
cust.sit = false;
_local13 = _root.getChildByName(cust.sit_on);
_local13.on_process = true;
ch.queue.splice(0, 1);
ch.sort_queue();
break;
};
_local3++;
};
} else {
if ((((((((((ch.queue[0][2] == "red")) || ((ch.queue[0][2] == "blue")))) || ((ch.queue[0][2] == "yellow")))) || ((ch.queue[0][2] == "black")))) || ((ch.queue[0][2] == "green")))){
if (ch.able_to == "color"){
_local3 = 0;
while (_local3 < c_holder.numChildren) {
cust = c_holder.getChildAt(_local3);
bln = cust.getChildByName("balon");
if ((((ch.queue[0][0] == cust.x)) && ((ch.queue[0][1] == cust.y)))){
cust.sit = false;
if (cust.heart_level < 3){
cust.heart_level++;
cust.sitdelay = 0;
};
cust.choose_color = true;
ch.choose_color = true;
ch.on_work = true;
ch.queue.splice(0, 1);
ch.sort_queue();
break;
};
_local3++;
};
};
} else {
if (ch.able_to != ch.queue[0][2]){
ch.clear_queue();
ch.combo = [];
};
};
};
};
};
} else {
ch.on_work = false;
on_process = false;
on_process_delay = 0;
};
};
} else {
if (on_process_delay == 50){
_root.cut_combo = 0;
if (ch.combo.length > 0){
if (ch.combo[(length - 1)] == "color"){
if (ch.combo.length < 4){
ch.combo.push("color");
if (ch.combo.length == 2){
fxcombo = new combo_2();
fxcombo.x = (x - 10);
fxcombo.y = (y - 80);
cmb_holder.addChild(fxcombo);
_root.score = (_root.score + (100 * 2));
};
if (ch.combo.length == 3){
fxcombo = new combo_3();
fxcombo.x = (x - 10);
fxcombo.y = (y - 80);
cmb_holder.addChild(fxcombo);
_root.score = (_root.score + (100 * 3));
};
if (ch.combo.length == 4){
fxcombo = new combo_4();
fxcombo.x = (x - 10);
fxcombo.y = (y - 80);
cmb_holder.addChild(fxcombo);
_root.score = (_root.score + (100 * 4));
};
} else {
fxcombo = new combo_4();
fxcombo.x = (x - 10);
fxcombo.y = (y - 80);
cmb_holder.addChild(fxcombo);
_root.score = (_root.score + (100 * 4));
};
} else {
ch.combo = ["color"];
_root.score = (_root.score + 100);
};
} else {
ch.combo = ["color"];
_root.score = (_root.score + 100);
};
_local3 = 0;
while (_local3 < c_holder.numChildren) {
cust = c_holder.getChildAt(_local3);
if (cust.sit_on == this.name){
heart = new fxheart();
heart.x = cust.x;
heart.y = (cust.y - 80);
_root.addChild(heart);
if (cust.heart_level < 3){
cust.heart_level++;
cust.sitdelay = 0;
};
bln = cust.getChildByName("balon");
_local15 = bln.currentLabel;
cust.task.splice(0, 1);
bln = cust.getChildByName("balon");
_local12 = cust.getChildByName("hair");
_local12 = cust.getChildByName("hair");
s = _local12.currentLabel;
s1 = s.slice(0, 7);
s2 = s.slice(7, 8);
s3 = s.slice(8, s.length);
_local12.gotoAndStop((((s1 + s2) + "_") + _local15));
if (cust.task.length != 0){
if (cust.task[0] != "color"){
bln.gotoAndStop(cust.task[0]);
} else {
r = (1 + Math.floor((Math.random() * 5)));
if (r == 1){
bln.gotoAndStop("red");
};
if (r == 2){
bln.gotoAndStop("yellow");
};
if (r == 3){
bln.gotoAndStop("green");
};
if (r == 4){
bln.gotoAndStop("blue");
};
if (r == 5){
bln.gotoAndStop("black");
};
};
bln.visible = true;
if (cust.task[0] == "wash"){
cust.able_to_drag = true;
};
cust.sit = true;
};
if (cust.task.length == 0){
if (cust.heart_level == 1){
_root.score = (_root.score + 100);
};
if (cust.heart_level == 2){
_root.score = (_root.score + 300);
};
if (cust.heart_level == 3){
_root.score = (_root.score + 500);
};
cust.happy = true;
};
};
_local3++;
};
if (ch.queue.length > 0){
ch.on_work = false;
on_process_delay = 0;
on_process = false;
if ((((ch.queue[0][0] == ch.x_pos)) && ((ch.queue[0][1] == ch.y_pos)))){
ch.x = ch.x_pos;
ch.y = ch.y_pos;
ch.swap = true;
ch.swap_to = ch.queue[0][2];
ch.swap_delay = 0;
ch.queue.splice(0, 1);
ch.sort_queue();
} else {
if (ch.queue[0][2] == "wash"){
ch.x = ch.queue[0][0];
ch.y = (ch.queue[0][1] - 60);
ch.able_to = "wash";
_local3 = 0;
while (_local3 < c_holder.numChildren) {
cust = c_holder.getChildAt(_local3);
bln = cust.getChildByName("balon");
if ((((ch.queue[0][0] == cust.x)) && ((ch.queue[0][1] == cust.y)))){
bln.visible = false;
cust.wash = false;
_local13 = _root.getChildByName(cust.sit_on);
_local13.on_process = true;
_local13.on_process_delay = 0;
_local14 = new bubles();
_local14.x = cust.x;
_local14.y = (cust.y - 140);
_local14.name = "bub";
_root.addChild(_local14);
ch.queue.splice(0, 1);
ch.sort_queue();
break;
};
_local3++;
};
} else {
ch.x = (ch.queue[0][0] + 30);
ch.y = (ch.queue[0][1] - 30);
if (ch.able_to == ch.queue[0][2]){
_local3 = 0;
while (_local3 < c_holder.numChildren) {
cust = c_holder.getChildAt(_local3);
bln = cust.getChildByName("balon");
if ((((ch.queue[0][0] == cust.x)) && ((ch.queue[0][1] == cust.y)))){
bln.visible = false;
cust.sit = false;
_local13 = _root.getChildByName(cust.sit_on);
_local13.on_process = true;
ch.queue.splice(0, 1);
ch.sort_queue();
break;
};
_local3++;
};
} else {
if ((((((((((ch.queue[0][2] == "red")) || ((ch.queue[0][2] == "blue")))) || ((ch.queue[0][2] == "yellow")))) || ((ch.queue[0][2] == "black")))) || ((ch.queue[0][2] == "green")))){
if (ch.able_to == "color"){
_local3 = 0;
while (_local3 < c_holder.numChildren) {
cust = c_holder.getChildAt(_local3);
bln = cust.getChildByName("balon");
if ((((ch.queue[0][0] == cust.x)) && ((ch.queue[0][1] == cust.y)))){
cust.sit = false;
if (cust.heart_level < 3){
cust.heart_level++;
cust.sitdelay = 0;
};
cust.choose_color = true;
ch.choose_color = true;
ch.on_work = true;
ch.queue.splice(0, 1);
ch.sort_queue();
break;
};
_local3++;
};
};
} else {
if (ch.able_to != ch.queue[0][2]){
ch.clear_queue();
ch.combo = [];
};
};
};
};
};
} else {
ch.on_work = false;
on_process = false;
on_process_delay = 0;
};
};
};
};
};
};
};
};
}
}
}//package
Section 90
//char (char)
package {
import flash.display.*;
import flash.events.*;
public class char extends MovieClip {
public var girl:MovieClip;
private var _root:Object;
public var able_to:String;// = "wait"
private var able_to_delay:Number;// = 0
public var on_work:Boolean;// = false
public var on_wash:Boolean;// = false
private var _scissor:Object;
private var _perm:Object;
private var _ion:Object;
private var _color:Object;
private var _ribbon:Object;
private var gr:Object;
public var x_pos:Number;// = 0
public var y_pos:Number;// = 0
public var queue:Array;
public var combo:Array;
public var choose_color:Boolean;// = false
private var q_holder:Object;
public var swap:Boolean;// = false
public var swap_delay:Number;// = 0
public var swap_to:String;
private var i:Number;// = 0
private var number:Object;
private var _s:Object;
private var _p:Object;
private var _i:Object;
private var _c:Object;
private var _r:Object;
private var num:Object;
private var cust:Object;
private var c_holder:Object;
private var bln:Object;
private var _chair:Object;
public function char(){
queue = [];
combo = [];
super();
addFrameScript(0, frame1);
addEventListener(Event.ADDED_TO_STAGE, onadd);
}
private function onadd(_arg1){
_root = MovieClip(root);
x_pos = x;
y_pos = y;
q_holder = _root.getChildByName("queue_holder");
c_holder = _root.getChildByName("cust_holder");
_s = _root.getChildByName("scissor");
_p = _root.getChildByName("perm");
_i = _root.getChildByName("ion");
_c = _root.getChildByName("color");
_r = _root.getChildByName("ribbon");
addEventListener(Event.ENTER_FRAME, loop);
}
public function sort_queue(){
q_holder = _root.getChildByName("queue_holder");
_s = _root.getChildByName("scissor");
_p = _root.getChildByName("perm");
_i = _root.getChildByName("ion");
_c = _root.getChildByName("color");
_r = _root.getChildByName("ribbon");
if (q_holder.numChildren > 0){
i = 0;
while (q_holder.numChildren > 0) {
q_holder.removeChildAt(0);
i++;
};
};
i = 0;
while (i < queue.length) {
if ((((queue[i][0] == x_pos)) && ((queue[i][1] == y_pos)))){
if (queue[i][2] == "cut"){
number = new queue_number();
number.x = _s.x;
number.y = _s.y;
num = number.getChildByName("num");
num.text = String((i + 1));
number.name = ("queue_" + String((i + 1)));
q_holder.addChild(number);
} else {
if (queue[i][2] == "perm"){
number = new queue_number();
number.x = _p.x;
number.y = _p.y;
num = number.getChildByName("num");
num.text = String((i + 1));
number.name = ("queue_" + String((i + 1)));
q_holder.addChild(number);
} else {
if (queue[i][2] == "ion"){
number = new queue_number();
number.x = _i.x;
number.y = _i.y;
num = number.getChildByName("num");
num.text = String((i + 1));
number.name = ("queue_" + String((i + 1)));
q_holder.addChild(number);
} else {
if (queue[i][2] == "color"){
number = new queue_number();
number.x = _c.x;
number.y = _c.y;
num = number.getChildByName("num");
num.text = String((i + 1));
number.name = ("queue_" + String((i + 1)));
q_holder.addChild(number);
} else {
if (queue[i][2] == "ribbon"){
number = new queue_number();
number.x = _r.x;
number.y = _r.y;
num = number.getChildByName("num");
num.text = String((i + 1));
number.name = ("queue_" + String((i + 1)));
q_holder.addChild(number);
};
};
};
};
};
} else {
number = new queue_number();
number.x = queue[i][0];
number.y = (queue[i][1] - 70);
num = number.getChildByName("num");
num.text = String((i + 1));
number.name = ("queue_" + String((i + 1)));
q_holder.addChild(number);
};
i++;
};
}
public function clear_queue(){
if (q_holder.numChildren > 0){
i = 0;
while (q_holder.numChildren > 0) {
q_holder.removeChildAt(0);
i++;
};
};
queue = [];
}
private function loop(_arg1){
var _local2:*;
var _local3:*;
c_holder = _root.getChildByName("cust_holder");
if (_root.game_ready){
_scissor = _root.getChildByName("scissor");
_perm = _root.getChildByName("perm");
_ion = _root.getChildByName("ion");
_color = _root.getChildByName("color");
_ribbon = _root.getChildByName("ribbon");
if (swap){
swap_delay++;
if (swap_delay == 1){
x = x_pos;
y = y_pos;
};
if (swap_delay == 5){
gotoAndStop("wait");
};
if (swap_delay == 10){
able_to = swap_to;
if (queue.length > 0){
if ((((queue[0][0] == x_pos)) && ((queue[0][1] == y_pos)))){
swap_delay = 0;
swap_to = queue[0][2];
queue.splice(0, 1);
sort_queue();
} else {
swap = false;
if (queue[0][2] == "wash"){
x = queue[0][0];
y = (queue[0][1] - 60);
able_to = "wash";
i = 0;
while (i < c_holder.numChildren) {
cust = c_holder.getChildAt(i);
bln = cust.getChildByName("balon");
if ((((queue[0][0] == cust.x)) && ((queue[0][1] == cust.y)))){
bln.visible = false;
cust.wash = false;
_local2 = _root.getChildByName(cust.sit_on);
_local2.on_process = true;
_local2.on_process_delay = 0;
_local3 = new bubles();
_local3.x = cust.x;
_local3.y = (cust.y - 140);
_local3.name = "bub";
_root.addChild(_local3);
queue.splice(0, 1);
sort_queue();
break;
};
i++;
};
} else {
x = (queue[0][0] + 30);
y = (queue[0][1] - 30);
if (able_to == queue[0][2]){
i = 0;
while (i < c_holder.numChildren) {
cust = c_holder.getChildAt(i);
bln = cust.getChildByName("balon");
if ((((queue[0][0] == cust.x)) && ((queue[0][1] == cust.y)))){
bln.visible = false;
cust.sit = false;
_local2 = _root.getChildByName(cust.sit_on);
_local2.on_process = true;
queue.splice(0, 1);
sort_queue();
break;
};
i++;
};
} else {
if ((((((((((queue[0][2] == "red")) || ((queue[0][2] == "blue")))) || ((queue[0][2] == "yellow")))) || ((queue[0][2] == "black")))) || ((queue[0][2] == "green")))){
if (able_to == "color"){
i = 0;
while (i < c_holder.numChildren) {
cust = c_holder.getChildAt(i);
bln = cust.getChildByName("balon");
if ((((queue[0][0] == cust.x)) && ((queue[0][1] == cust.y)))){
cust.sit = false;
if (cust.heart_level < 3){
cust.heart_level++;
};
cust.choose_color = true;
choose_color = true;
on_work = true;
queue.splice(0, 1);
sort_queue();
break;
};
i++;
};
} else {
if (able_to != "color"){
clear_queue();
combo = [];
on_work = false;
};
};
} else {
if (able_to != queue[0][2]){
clear_queue();
combo = [];
};
};
};
};
};
} else {
swap = false;
swap_delay = 0;
};
};
};
if (able_to == "wash"){
if (currentLabel != "wash"){
gotoAndStop("wash");
_scissor.visible = true;
_perm.visible = true;
_ion.visible = true;
_color.visible = true;
_ribbon.visible = true;
};
};
if (able_to == "wait"){
if (currentLabel != "wait"){
gotoAndStop("wait");
_scissor.visible = true;
_perm.visible = true;
_ion.visible = true;
_color.visible = true;
_ribbon.visible = true;
};
};
if (able_to == "cut"){
if (currentLabel != "cut"){
gotoAndStop("cut");
_scissor.visible = false;
_perm.visible = true;
_ion.visible = true;
_color.visible = true;
_ribbon.visible = true;
};
if (!on_work){
gr = getChildByName("girl");
if (gr != null){
if (gr.currentLabel != "wait"){
gr.gotoAndStop("wait");
};
};
};
if (((on_work) && (!(swap)))){
gr = getChildByName("girl");
if (gr != null){
if (gr.currentLabel != "work"){
gr.gotoAndStop("work");
};
};
};
};
if (able_to == "perm"){
if (currentLabel != "perm"){
gotoAndStop("perm");
_scissor.visible = true;
_perm.visible = false;
_ion.visible = true;
_color.visible = true;
_ribbon.visible = true;
};
if (!on_work){
gr = getChildByName("girl");
if (gr != null){
if (gr.currentLabel != "wait"){
gr.gotoAndStop("wait");
};
};
};
if (((on_work) && (!(swap)))){
gr = getChildByName("girl");
if (gr != null){
if (gr.currentLabel != "work"){
gr.gotoAndStop("work");
};
};
};
};
if (able_to == "ion"){
if (currentLabel != "ion"){
gotoAndStop("ion");
_scissor.visible = true;
_perm.visible = true;
_ion.visible = false;
_color.visible = true;
_ribbon.visible = true;
};
if (!on_work){
gr = getChildByName("girl");
if (gr != null){
if (gr.currentLabel != "wait"){
gr.gotoAndStop("wait");
};
};
};
if (((on_work) && (!(swap)))){
gr = getChildByName("girl");
if (gr != null){
if (gr.currentLabel != "work"){
gr.gotoAndStop("work");
};
};
};
};
if (able_to == "color"){
if (currentLabel != "color"){
gotoAndStop("color");
_scissor.visible = true;
_perm.visible = true;
_ion.visible = true;
_color.visible = false;
_ribbon.visible = true;
};
if (!on_work){
gr = getChildByName("girl");
if (gr != null){
if (gr.currentLabel != "wait"){
gr.gotoAndStop("wait");
};
};
};
if (((on_work) && (!(swap)))){
gr = getChildByName("girl");
if (gr != null){
if (!choose_color){
if (gr.currentLabel != "work"){
gr.gotoAndStop("work");
};
} else {
if (gr.currentLabel != "wait"){
gr.gotoAndStop("wait");
};
};
};
};
};
if (able_to == "ribbon"){
if (currentLabel != "ribbon"){
gotoAndStop("ribbon");
_scissor.visible = true;
_perm.visible = true;
_ion.visible = true;
_color.visible = true;
_ribbon.visible = false;
};
if (!on_work){
gr = getChildByName("girl");
if (gr != null){
if (gr.currentLabel != "wait"){
gr.gotoAndStop("wait");
};
};
};
if (((on_work) && (!(swap)))){
gr = getChildByName("girl");
if (gr != null){
if (gr.currentLabel != "work"){
gr.gotoAndStop("work");
};
};
};
};
};
}
function frame1(){
stop();
}
}
}//package
Section 91
//combo_2 (combo_2)
package {
import flash.display.*;
import flash.events.*;
public class combo_2 extends MovieClip {
private var time:Number;// = 0
private var _root:Object;
public function combo_2(){
addFrameScript(14, frame15);
addEventListener(Event.ADDED_TO_STAGE, onadd);
}
private function onadd(_arg1){
_root = MovieClip(root);
addEventListener(Event.ENTER_FRAME, loop);
_root.playSound(new soundcombo());
}
private function loop(_arg1){
if (_root.game_ready){
time++;
if (time == 30){
removeEventListener(Event.ENTER_FRAME, loop);
parent.removeChild(this);
};
};
}
function frame15(){
stop();
}
}
}//package
Section 92
//combo_3 (combo_3)
package {
import flash.display.*;
import flash.events.*;
public class combo_3 extends MovieClip {
private var time:Number;// = 0
private var _root:Object;
public function combo_3(){
addFrameScript(14, frame15);
addEventListener(Event.ADDED_TO_STAGE, onadd);
}
private function onadd(_arg1){
_root = MovieClip(root);
addEventListener(Event.ENTER_FRAME, loop);
_root.playSound(new soundcombo());
}
private function loop(_arg1){
if (_root.game_ready){
time++;
if (time == 30){
removeEventListener(Event.ENTER_FRAME, loop);
parent.removeChild(this);
};
};
}
function frame15(){
stop();
}
}
}//package
Section 93
//combo_4 (combo_4)
package {
import flash.display.*;
import flash.events.*;
public class combo_4 extends MovieClip {
private var time:Number;// = 0
private var _root:Object;
private var myData;
public function combo_4(){
addFrameScript(14, frame15);
addEventListener(Event.ADDED_TO_STAGE, onadd);
}
private function onadd(_arg1){
_root = MovieClip(root);
addEventListener(Event.ENTER_FRAME, loop);
myData = _root.MySaveData;
_root.playSound(new soundcombo());
}
private function loop(_arg1){
var _local2:*;
var _local3:*;
if (_root.game_ready){
time++;
if (time == 30){
if (_root.cut_combo == 5){
if (_root.game_mode == 1){
if (!_root.award_2_achieved){
_root.award_2_achieved = true;
_root.award_showed = "award_2";
_root.submitAward2();
_local2 = new award_notif();
_root.addChild(_local2);
_local3 = _root.MySaveData;
_local3.data.award_2_achieved = true;
_local3.flush();
};
};
};
removeEventListener(Event.ENTER_FRAME, loop);
parent.removeChild(this);
};
};
}
function frame15(){
stop();
}
}
}//package
Section 94
//expert_movie (expert_movie)
package {
import flash.display.*;
import flash.events.*;
public class expert_movie extends MovieClip {
private var delay:Number;// = 0
private var _root:Object;
public function expert_movie(){
addEventListener(Event.ADDED_TO_STAGE, onadd);
}
private function onadd(_arg1){
_root = MovieClip(root);
addEventListener(Event.ENTER_FRAME, loop);
x = 350;
y = 240;
this.visible = false;
}
private function loop(_arg1){
if (!_root.goal_showing){
delay++;
if (delay == 1){
this.visible = true;
gotoAndPlay(1);
_root.playSound(new soundheart());
};
if (delay == 30){
removeEventListener(Event.ENTER_FRAME, loop);
parent.removeChild(this);
};
};
}
}
}//package
Section 95
//fxheart (fxheart)
package {
import flash.display.*;
import flash.events.*;
public class fxheart extends MovieClip {
private var time:Number;// = 0
private var _root:Object;
public function fxheart(){
addFrameScript(0, frame1, 14, frame15);
addEventListener(Event.ADDED_TO_STAGE, onadd);
}
private function onadd(_arg1){
_root = MovieClip(root);
addEventListener(Event.ENTER_FRAME, loop);
}
private function loop(_arg1){
if (_root.game_ready){
time++;
if (time == 15){
removeEventListener(Event.ENTER_FRAME, loop);
parent.removeChild(this);
};
};
}
function frame1(){
}
function frame15(){
stop();
}
}
}//package
Section 96
//goal_movie (goal_movie)
package {
import flash.display.*;
import flash.events.*;
public class goal_movie extends MovieClip {
private var delay:Number;// = 0
private var _root:Object;
public function goal_movie(){
addEventListener(Event.ADDED_TO_STAGE, onadd);
}
private function onadd(_arg1){
_root = MovieClip(root);
addEventListener(Event.ENTER_FRAME, loop);
x = 400;
y = 240;
_root.goal_showing = true;
}
private function loop(_arg1){
delay++;
if (delay == 1){
gotoAndPlay(1);
_root.playSound(new soundheart());
};
if (delay == 30){
removeEventListener(Event.ENTER_FRAME, loop);
parent.removeChild(this);
_root.goal_showing = false;
};
}
}
}//package
Section 97
//queue_number (queue_number)
package {
import flash.display.*;
import flash.text.*;
public dynamic class queue_number extends MovieClip {
public var num:TextField;
}
}//package
Section 98
//sound_happy (sound_happy)
package {
import flash.media.*;
public dynamic class sound_happy extends Sound {
}
}//package
Section 99
//soundbutton (soundbutton)
package {
import flash.media.*;
public dynamic class soundbutton extends Sound {
}
}//package
Section 100
//soundbutton2 (soundbutton2)
package {
import flash.media.*;
public dynamic class soundbutton2 extends Sound {
}
}//package
Section 101
//soundcombo (soundcombo)
package {
import flash.media.*;
public dynamic class soundcombo extends Sound {
}
}//package
Section 102
//soundcut (soundcut)
package {
import flash.media.*;
public dynamic class soundcut extends Sound {
}
}//package
Section 103
//soundekor (soundekor)
package {
import flash.media.*;
public dynamic class soundekor extends Sound {
}
}//package
Section 104
//soundheart (soundheart)
package {
import flash.media.*;
public dynamic class soundheart extends Sound {
}
}//package
Section 105
//soundion (soundion)
package {
import flash.media.*;
public dynamic class soundion extends Sound {
}
}//package
Section 106
//soundjatuh (soundjatuh)
package {
import flash.media.*;
public dynamic class soundjatuh extends Sound {
}
}//package
Section 107
//soundlose (soundlose)
package {
import flash.media.*;
public dynamic class soundlose extends Sound {
}
}//package
Section 108
//soundmata (soundmata)
package {
import flash.media.*;
public dynamic class soundmata extends Sound {
}
}//package
Section 109
//soundmenu (soundmenu)
package {
import flash.media.*;
public dynamic class soundmenu extends Sound {
}
}//package
Section 110
//soundperm (soundperm)
package {
import flash.media.*;
public dynamic class soundperm extends Sound {
}
}//package
Section 111
//soundplay (soundplay)
package {
import flash.media.*;
public dynamic class soundplay extends Sound {
}
}//package
Section 112
//soundribbon (soundribbon)
package {
import flash.media.*;
public dynamic class soundribbon extends Sound {
}
}//package
Section 113
//soundsit (soundsit)
package {
import flash.media.*;
public dynamic class soundsit extends Sound {
}
}//package
Section 114
//soundspawn (soundspawn)
package {
import flash.media.*;
public dynamic class soundspawn extends Sound {
}
}//package
Section 115
//soundtimeout (soundtimeout)
package {
import flash.media.*;
public dynamic class soundtimeout extends Sound {
}
}//package
Section 116
//soundwash (soundwash)
package {
import flash.media.*;
public dynamic class soundwash extends Sound {
}
}//package
Section 117
//soundwin (soundwin)
package {
import flash.media.*;
public dynamic class soundwin extends Sound {
}
}//package
Section 118
//SpilGamesCopyrightProxy (SpilGamesCopyrightProxy)
package {
import flash.display.*;
public dynamic class SpilGamesCopyrightProxy extends MovieClip {
}
}//package
Section 119
//SpilGamesLanguageSelectProxy (SpilGamesLanguageSelectProxy)
package {
import flash.display.*;
public dynamic class SpilGamesLanguageSelectProxy extends MovieClip {
}
}//package
Section 120
//SpilGamesLinkProxy (SpilGamesLinkProxy)
package {
import flash.display.*;
public dynamic class SpilGamesLinkProxy extends MovieClip {
}
}//package
Section 121
//SpilGamesLogoProxy (SpilGamesLogoProxy)
package {
import flash.display.*;
public dynamic class SpilGamesLogoProxy extends MovieClip {
}
}//package
Section 122
//SpilGamesLTFButtonProxy (SpilGamesLTFButtonProxy)
package {
import flash.events.*;
import flash.media.*;
import flash.display.*;
import flash.utils.*;
import flash.text.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.net.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
import flash.system.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class SpilGamesLTFButtonProxy extends MovieClip {
public var txt_moreGames:SpilGamesLTFProxy;
public function SpilGamesLTFButtonProxy(){
__setProp_txt_moreGames_SpilGamesLTFButtonProxy_Layer2_0();
}
function __setProp_txt_moreGames_SpilGamesLTFButtonProxy_Layer2_0(){
try {
txt_moreGames["componentInspectorSetting"] = true;
} catch(e:Error) {
};
txt_moreGames.bold = false;
txt_moreGames.disableWordWrap = false;
txt_moreGames.embedFonts = true;
txt_moreGames.fontName = "Calibri";
txt_moreGames.horizontalAlign = "center";
txt_moreGames.invertHorizontalAlignmentOnDirectionChange = true;
txt_moreGames.italic = false;
txt_moreGames.languageBundle = "SpilGames_Internal";
txt_moreGames.multiline = true;
txt_moreGames.selectable = false;
txt_moreGames.text = "{btn_moregamesat}";
txt_moreGames.textColor = 0;
txt_moreGames.textSize = 16;
txt_moreGames.underline = false;
txt_moreGames.verticalAlign = "middle";
try {
txt_moreGames["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package
Section 123
//SpilGamesLTFProxy (SpilGamesLTFProxy)
package {
import flash.display.*;
public dynamic class SpilGamesLTFProxy extends MovieClip {
}
}//package
Section 124
//tamu_1 (tamu_1)
package {
import flash.display.*;
import flash.events.*;
public class tamu_1 extends MovieClip {
public var hair:MovieClip;
public var orang:MovieClip;
public var balon:MovieClip;
public var heart:MovieClip;
public var task:Array;
private var _hair:Object;
private var bln:Object;
private var _root:Object;
private var org:Object;
private var c_holder:Object;
public var sit_on:String;
public var on_drag:Boolean;// = false
public var able_to_drag:Boolean;// = true
public var x_pos:Number;// = 0
public var y_pos:Number;// = 0
private var cp:Object;
public var sit:Boolean;// = false
public var wash:Boolean;// = false
private var choose_delay:Number;// = 0
public var choose_color:Boolean;// = false
public var washdelay:Number;// = 0
private var wait:Boolean;// = false
private var entering:Boolean;// = false
private var entering_delay:Number;// = 0
private var wait_delay:Number;// = 0
public var sitdelay:Number;// = 0
public var happy:Boolean;// = false
private var happy_delay:Number;// = 0
private var leave:Boolean;// = false
private var leave_delay:Number;// = 0
public var heart_level:Number;// = 3
private var clickable:Boolean;// = false
private var ch:Object;
private var hrt:Object;
private var _chair:Object;
private var rand_task:Number;
private var i:Number;// = 0
private var onlist:Boolean;// = false
private var onlistnum:Number;// = 0
private var q_holder:Object;
public function tamu_1(){
task = [];
super();
addEventListener(Event.ADDED_TO_STAGE, onadd);
}
private function onadd(_arg1){
_root = MovieClip(root);
ch = _root.getChildByName("karakter");
hrt = getChildByName("heart");
hrt.gotoAndStop(1);
c_holder = _root.getChildByName("cust_holder");
q_holder = _root.getChildByName("queue_holder");
_hair = getChildByName("hair");
var _local2:* = (1 + Math.floor((Math.random() * 3)));
if (_local2 == 1){
_hair.gotoAndStop("hair_1_u_brown");
};
if (_local2 == 2){
_hair.gotoAndStop("hair_2_u_brown");
};
if (_local2 == 3){
_hair.gotoAndStop("hair_3_u_brown");
};
gotoAndStop("wait");
org = getChildByName("orang");
org.gotoAndStop(1);
x_pos = x;
y_pos = y;
entering = true;
if (_root.game_mode == 1){
if (_root.level == 1){
rand_task = (1 + Math.floor((Math.random() * 1)));
};
if (_root.level == 2){
rand_task = (1 + Math.floor((Math.random() * 3)));
};
if (_root.level == 3){
rand_task = (1 + Math.floor((Math.random() * 9)));
};
if (_root.level == 4){
rand_task = (1 + Math.floor((Math.random() * 9)));
};
if (_root.level == 5){
rand_task = (6 + Math.floor((Math.random() * 9)));
};
if (_root.level == 6){
rand_task = (9 + Math.floor((Math.random() * 5)));
};
if (_root.level == 7){
rand_task = (10 + Math.floor((Math.random() * 5)));
};
if (_root.level == 8){
rand_task = (10 + Math.floor((Math.random() * 5)));
};
if (_root.level == 9){
rand_task = (10 + Math.floor((Math.random() * 5)));
};
if (_root.level == 10){
rand_task = (12 + Math.floor((Math.random() * 5)));
};
if (_root.level == 11){
rand_task = (12 + Math.floor((Math.random() * 5)));
};
if (_root.level == 12){
rand_task = (15 + Math.floor((Math.random() * 4)));
};
if (_root.level == 13){
rand_task = (15 + Math.floor((Math.random() * 4)));
};
if (_root.level == 14){
rand_task = (19 + Math.floor((Math.random() * 3)));
};
if (_root.level == 15){
rand_task = (19 + Math.floor((Math.random() * 3)));
};
};
if (_root.game_mode == 2){
rand_task = Math.floor((Math.random() * 21));
};
if (rand_task == 1){
task = ["wash", "cut"];
};
if (rand_task == 2){
task = ["wash", "color"];
};
if (rand_task == 3){
if (_local2 == 2){
task = ["cut", "ion"];
} else {
task = ["cut", "perm"];
};
};
if (rand_task == 4){
task = ["cut", "color"];
};
if (rand_task == 5){
task = ["wash", "ribbon"];
};
if (rand_task == 6){
if (_local2 != 2){
task = ["perm", "color"];
} else {
task = ["ion", "color"];
};
};
if (rand_task == 7){
if (_local2 == 2){
task = ["cut", "ion"];
} else {
task = ["cut", "perm"];
};
};
if (rand_task == 8){
task = ["cut", "wash"];
};
if (rand_task == 9){
task = ["cut", "ribbon"];
};
if (rand_task == 10){
if (_local2 != 2){
task = ["cut", "perm", "ribbon"];
} else {
task = ["cut", "ion", "ribbon"];
};
};
if (rand_task == 11){
if (_local2 == 2){
task = ["cut", "color", "ion"];
} else {
task = ["cut", "color", "perm"];
};
};
if (rand_task == 12){
task = ["cut", "wash", "ribbon"];
};
if (rand_task == 13){
task = ["cut", "color", "ribbon"];
};
if (rand_task == 14){
task = ["wash", "cut", "color"];
};
if (rand_task == 15){
if (_local2 == 2){
task = ["ion", "cut", "ribbon"];
} else {
task = ["perm", "cut", "ribbon"];
};
};
if (rand_task == 16){
if (_local2 == 2){
task = ["wash", "ion", "color", "ribbon"];
} else {
task = ["wash", "perm", "color", "ribbon"];
};
};
if (rand_task == 17){
if (_local2 == 2){
task = ["ion", "color", "cut", "ribbon"];
} else {
task = ["perm", "color", "cut", "ribbon"];
};
};
if (rand_task == 18){
if (_local2 == 2){
task = ["ion", "color", "cut"];
} else {
task = ["perm", "color", "cut"];
};
};
if (rand_task == 19){
if (_local2 == 2){
task = ["wash", "cut", "color", "ion", "ribbon"];
} else {
task = ["wash", "cut", "color", "perm", "ribbon"];
};
};
if (rand_task == 20){
if (_local2 == 2){
task = ["ion", "color", "cut", "ribbon"];
} else {
task = ["perm", "color", "cut", "ribbon"];
};
};
if (rand_task == 21){
if (_local2 == 2){
task = ["cut", "ion", "color", "ribbon"];
} else {
task = ["cut", "perm", "color", "ribbon"];
};
};
bln = getChildByName("balon");
bln.gotoAndStop(task[0]);
addEventListener(Event.ENTER_FRAME, loop);
addEventListener(MouseEvent.MOUSE_DOWN, onmousedown);
addEventListener(MouseEvent.MOUSE_UP, onmouseup);
addEventListener(MouseEvent.MOUSE_DOWN, onclick);
}
private function onclick(_arg1:MouseEvent){
var _local2:*;
if (_root.game_ready){
if (!able_to_drag){
if (bln.visible){
if (((!(ch.on_work)) && (!(ch.swap)))){
if (bln.currentLabel == "wash"){
if (sit_on.slice(0, 1) == "w"){
if (ch.able_to != "wash"){
wash = false;
ch.able_to = "wash";
ch.x = x;
ch.y = (y - 60);
ch.on_work = true;
bln.visible = false;
_chair = _root.getChildByName(sit_on);
_chair.on_process = true;
_local2 = new bubles();
_local2.x = x;
_local2.y = (y - 140);
_local2.name = "bub";
_root.addChild(_local2);
};
};
};
if (bln.currentLabel == "cut"){
if (ch.able_to == "cut"){
sit = false;
ch.x = (x + 30);
ch.y = (y - 30);
bln.visible = false;
_chair = _root.getChildByName(sit_on);
_chair.on_process = true;
};
};
if (bln.currentLabel == "perm"){
if (ch.able_to == "perm"){
sit = false;
ch.x = (x + 30);
ch.y = (y - 30);
bln.visible = false;
_chair = _root.getChildByName(sit_on);
_chair.on_process = true;
};
};
if (bln.currentLabel == "ion"){
if (ch.able_to == "ion"){
sit = false;
ch.x = (x + 30);
ch.y = (y - 30);
bln.visible = false;
_chair = _root.getChildByName(sit_on);
_chair.on_process = true;
};
};
if (bln.currentLabel == "ribbon"){
if (ch.able_to == "ribbon"){
sit = false;
ch.x = (x + 30);
ch.y = (y - 30);
bln.visible = false;
_chair = _root.getChildByName(sit_on);
_chair.on_process = true;
};
};
if ((((((((((bln.currentLabel == "red")) || ((bln.currentLabel == "green")))) || ((bln.currentLabel == "blue")))) || ((bln.currentLabel == "black")))) || ((bln.currentLabel == "yellow")))){
if (ch.able_to == "color"){
sit = false;
ch.x = (x + 30);
ch.y = (y - 30);
if (heart_level < 3){
heart_level++;
};
choose_color = true;
ch.choose_color = true;
ch.on_work = true;
};
};
} else {
if (((ch.on_work) || (ch.swap))){
if (ch.queue.length > 0){
i = 0;
while (i < ch.queue.length) {
if ((((ch.queue[i][0] == x)) && ((ch.queue[i][1] == y)))){
onlist = true;
onlistnum = i;
};
i++;
};
if (onlist){
ch.queue.splice(onlistnum, 1);
ch.sort_queue();
} else {
if (!able_to_drag){
ch.queue[ch.queue.length] = [x, y, bln.currentLabel];
ch.sort_queue();
};
};
} else {
if (!able_to_drag){
ch.queue[ch.queue.length] = [x, y, bln.currentLabel];
ch.sort_queue();
};
};
};
};
};
};
};
}
private function onmousedown(_arg1:MouseEvent){
if (able_to_drag){
on_drag = true;
};
}
private function onmouseup(_arg1:MouseEvent){
on_drag = false;
}
private function loop(_arg1){
var _local2:*;
var _local3:*;
var _local4:*;
var _local5:*;
var _local6:*;
var _local7:*;
var _local8:*;
var _local9:*;
if (heart_level == 3){
if (hrt.currentFrame != 1){
hrt.gotoAndStop(1);
};
};
if (heart_level == 2){
if (hrt.currentFrame != 2){
hrt.gotoAndStop(2);
};
};
if (heart_level == 1){
if (hrt.currentFrame != 3){
hrt.gotoAndStop(3);
};
};
if (_root.game_ready){
org = getChildByName("orang");
if (on_drag){
if (c_holder.numChildren > 0){
_local2 = c_holder.getChildAt((c_holder.numChildren - 1));
if (_local2 != null){
c_holder.swapChildren(this, _local2);
};
};
x = _root.mouseX;
y = (_root.mouseY + 50);
};
if (!on_drag){
if (!entering){
x = x_pos;
y = y_pos;
};
};
if (entering){
entering_delay++;
if (entering_delay == 1){
x = (x - 100);
alpha = 0.5;
};
if (entering_delay == 2){
x = (x + 40);
alpha = (alpha + 0.05);
};
if (entering_delay == 3){
x = (x + 30);
alpha = (alpha + 0.05);
};
if (entering_delay == 4){
x = (x + 20);
alpha = (alpha + 0.05);
};
if (entering_delay == 5){
x = (x + 10);
alpha = (alpha + 0.05);
};
if (entering_delay == 6){
alpha = 1;
wait = true;
entering = false;
entering_delay = 0;
x_pos = x;
y_pos = y;
};
};
if (wait){
if (!on_drag){
wait_delay++;
if (wait_delay == 250){
org.gotoAndStop(2);
if (heart_level > 1){
heart_level--;
};
};
if (wait_delay == 450){
org.gotoAndStop(3);
if (heart_level > 1){
heart_level--;
};
};
if (wait_delay == 575){
leave = true;
if (bln.visible){
bln.visible = false;
hrt.visible = false;
};
if (heart_level > 1){
heart_level--;
};
};
};
};
if (wash){
_local3 = 0;
while (_local3 < (c_holder.numChildren - 1)) {
if (c_holder.getChildIndex(this) != 0){
_local4 = c_holder.getChildAt((c_holder.getChildIndex(this) - 1));
if (!on_drag){
c_holder.swapChildren(this, _local4);
};
};
_local3++;
};
if (!on_drag){
wait = false;
sit = false;
washdelay++;
if (washdelay == 1){
if (heart_level < 3){
heart_level++;
};
};
if (washdelay < 250){
if (currentLabel != "sit"){
gotoAndStop("sit");
};
if (heart_level == 3){
if (org.currentFrame != 1){
org.gotoAndStop(1);
};
};
if (heart_level == 2){
washdelay = 250;
};
if (heart_level == 1){
washdelay = 450;
};
};
if (washdelay == 250){
if (heart_level > 2){
heart_level--;
};
};
if ((((washdelay > 250)) && ((washdelay < 450)))){
if (org.currentFrame != 2){
org.gotoAndStop(2);
};
};
if (washdelay == 450){
if (heart_level > 1){
heart_level--;
};
};
if ((((washdelay > 450)) && ((washdelay < 575)))){
if (org.currentFrame != 3){
org.gotoAndStop(3);
if (heart_level > 1){
heart_level--;
};
};
};
if (washdelay > 575){
if (currentFrame != 4){
if (heart_level > 1){
heart_level--;
};
gotoAndStop(4);
leave = true;
if (bln.visible){
bln.visible = false;
hrt.visible = false;
};
y = (y - 5);
};
};
};
};
if (choose_color){
_local3 = 0;
while (_local3 < (c_holder.numChildren - 1)) {
if (c_holder.getChildIndex(this) != 0){
_local4 = c_holder.getChildAt((c_holder.getChildIndex(this) - 1));
if (!on_drag){
c_holder.swapChildren(this, _local4);
};
};
_local3++;
};
if (!on_drag){
wait = false;
wash = false;
choose_delay++;
if (bln.currentLabel == _root.color_pick){
choose_color = false;
ch.choose_color = false;
_chair = _root.getChildByName(sit_on);
_chair.on_process = true;
_root.playSound(new soundperm());
bln.visible = false;
cp.x = -50;
cp.y = -200;
_root.color_pick = "none";
} else {
if (((!((bln.currentLabel == _root.color_pick))) && (!((_root.color_pick == "none"))))){
if (heart_level > 1){
choose_delay = 300;
} else {
choose_delay = 600;
};
_root.color_pick = "none";
};
};
if (choose_delay == 1){
cp = _root.getChildByName("color_panel");
cp.x = (x - 30);
cp.y = (y - 40);
};
if (choose_delay < 300){
if (heart_level == 3){
if (org.currentFrame != 1){
org.gotoAndStop(1);
};
};
if (heart_level == 2){
choose_delay = 300;
};
if (heart_level == 1){
choose_delay = 600;
};
};
if (choose_delay == 300){
if (heart_level > 2){
heart_level--;
};
};
if ((((choose_delay > 300)) && ((choose_delay < 600)))){
if (org.currentFrame != 2){
org.gotoAndStop(2);
};
};
if (choose_delay == 600){
if (heart_level > 1){
heart_level--;
};
};
if (choose_delay == 800){
if (org.currentFrame != 3){
org.gotoAndStop(3);
if (heart_level > 1){
heart_level--;
};
};
};
if (choose_delay > 800){
if (currentFrame != 4){
if (heart_level > 1){
heart_level--;
};
gotoAndStop(4);
leave = true;
ch.on_work = false;
ch.x = ch.x_pos;
ch.y = ch.y_pos;
ch.choose_color = false;
cp.x = -50;
cp.y = -200;
_root.color_pick = "none";
if (bln.visible){
bln.visible = false;
hrt.visible = false;
};
y = (y - 5);
};
};
};
};
if (sit){
_local3 = 0;
while (_local3 < (c_holder.numChildren - 1)) {
if (c_holder.getChildIndex(this) != 0){
_local4 = c_holder.getChildAt((c_holder.getChildIndex(this) - 1));
if (!on_drag){
c_holder.swapChildren(this, _local4);
};
};
_local3++;
};
if (!on_drag){
wait = false;
wash = false;
sitdelay++;
if (sitdelay == 1){
if (heart_level < 3){
heart_level++;
};
};
if (sitdelay < 300){
if (currentLabel != "sit"){
gotoAndStop("sit");
};
if (heart_level == 3){
if (org.currentFrame != 1){
org.gotoAndStop(1);
};
} else {
if (heart_level == 2){
sitdelay = 300;
} else {
if (heart_level == 1){
sitdelay = 600;
};
};
};
};
if (sitdelay == 300){
if (heart_level > 2){
heart_level--;
};
};
if ((((sitdelay > 300)) && ((sitdelay < 600)))){
if (org.currentFrame != 2){
org.gotoAndStop(2);
};
};
if (sitdelay == 600){
if (heart_level > 1){
heart_level--;
};
};
if (sitdelay == 800){
if (org.currentFrame != 3){
org.gotoAndStop(3);
if (heart_level > 1){
heart_level--;
};
};
};
if (sitdelay > 800){
if (currentFrame != 4){
if (heart_level > 1){
heart_level--;
};
gotoAndStop(4);
leave = true;
if (bln.visible){
bln.visible = false;
hrt.visible = false;
};
y = (y - 5);
};
};
};
};
if (happy){
able_to_drag = false;
happy_delay++;
if (happy_delay == 1){
org.gotoAndStop(1);
_root.playSound(new sound_happy());
};
if (happy_delay == 15){
y = (y - 5);
gotoAndStop("happy");
};
if (happy_delay == 30){
};
if (happy_delay == 35){
alpha = (alpha - 0.1);
};
if (happy_delay == 36){
alpha = (alpha - 0.1);
};
if (happy_delay == 37){
alpha = (alpha - 0.1);
};
if (happy_delay == 38){
alpha = (alpha - 0.2);
};
if (happy_delay == 39){
_local5 = _root.getChildByName("slot_1");
_local6 = _root.getChildByName("slot_2");
_local7 = _root.getChildByName("slot_3");
_local8 = _root.getChildByName("slot_4");
_local9 = _root.getChildByName("slot_5");
if ((((x == _local5.x)) && ((y == _local5.y)))){
_root.slot_1_empty = true;
};
if ((((x == _local6.x)) && ((y == _local6.y)))){
_root.slot_2_empty = true;
};
if ((((x == _local7.x)) && ((y == _local7.y)))){
_root.slot_3_empty = true;
};
if ((((x == _local8.x)) && ((y == _local8.y)))){
_root.slot_4_empty = true;
};
if ((((x == _local9.x)) && ((y == _local9.y)))){
_root.slot_5_empty = true;
};
removeEventListener(Event.ENTER_FRAME, loop);
parent.removeChild(this);
_root.life++;
};
};
if (leave){
able_to_drag = false;
leave_delay++;
if (leave_delay == 25){
alpha = (alpha - 0.1);
};
if (leave_delay == 26){
alpha = (alpha - 0.1);
};
if (leave_delay == 27){
alpha = (alpha - 0.1);
};
if (leave_delay == 28){
alpha = (alpha - 0.2);
};
if (leave_delay == 29){
_local3 = 0;
while (_local3 < ch.queue.length) {
if ((((ch.queue[_local3][0] == x)) && ((ch.queue[_local3][1] == y)))){
onlist = true;
onlistnum = _local3;
};
_local3++;
};
if (onlist){
ch.queue.splice(onlistnum, 1);
ch.sort_queue();
};
_local5 = _root.getChildByName("slot_1");
_local6 = _root.getChildByName("slot_2");
_local7 = _root.getChildByName("slot_3");
_local8 = _root.getChildByName("slot_4");
_local9 = _root.getChildByName("slot_5");
if ((((x == _local5.x)) && ((y == _local5.y)))){
_root.slot_1_empty = true;
};
if ((((x == _local6.x)) && ((y == _local6.y)))){
_root.slot_2_empty = true;
};
if ((((x == _local7.x)) && ((y == _local7.y)))){
_root.slot_3_empty = true;
};
if ((((x == _local8.x)) && ((y == _local8.y)))){
_root.slot_4_empty = true;
};
if ((((x == _local9.x)) && ((y == _local9.y)))){
_root.slot_5_empty = true;
};
removeEventListener(Event.ENTER_FRAME, loop);
parent.removeChild(this);
_root.angry_number++;
if (_root.game_mode == 2){
_root.life = (_root.life - 2);
};
};
};
};
}
}
}//package
Section 125
//tamu_2 (tamu_2)
package {
import flash.display.*;
import flash.events.*;
public class tamu_2 extends MovieClip {
public var hair:MovieClip;
public var orang:MovieClip;
public var balon:MovieClip;
public var heart:MovieClip;
public var task:Array;
private var _hair:Object;
private var bln:Object;
private var _root:Object;
private var org:Object;
private var c_holder:Object;
public var sit_on:String;
public var on_drag:Boolean;// = false
public var able_to_drag:Boolean;// = true
public var x_pos:Number;// = 0
public var y_pos:Number;// = 0
private var cp:Object;
public var sit:Boolean;// = false
public var wash:Boolean;// = false
private var choose_delay:Number;// = 0
public var choose_color:Boolean;// = false
public var washdelay:Number;// = 0
private var wait:Boolean;// = false
private var entering:Boolean;// = false
private var entering_delay:Number;// = 0
private var wait_delay:Number;// = 0
public var sitdelay:Number;// = 0
public var happy:Boolean;// = false
private var happy_delay:Number;// = 0
private var leave:Boolean;// = false
private var leave_delay:Number;// = 0
public var heart_level:Number;// = 3
private var clickable:Boolean;// = false
private var ch:Object;
private var hrt:Object;
private var _chair:Object;
private var rand_task:Number;
private var i:Number;// = 0
private var onlist:Boolean;// = false
private var onlistnum:Number;// = 0
private var q_holder:Object;
public function tamu_2(){
task = [];
super();
addEventListener(Event.ADDED_TO_STAGE, onadd);
}
private function onadd(_arg1){
_root = MovieClip(root);
ch = _root.getChildByName("karakter");
hrt = getChildByName("heart");
hrt.gotoAndStop(1);
c_holder = _root.getChildByName("cust_holder");
q_holder = _root.getChildByName("queue_holder");
_hair = getChildByName("hair");
var _local2:* = (1 + Math.floor((Math.random() * 3)));
if (_local2 == 1){
_hair.gotoAndStop("hair_1_u_brown");
};
if (_local2 == 2){
_hair.gotoAndStop("hair_2_u_brown");
};
if (_local2 == 3){
_hair.gotoAndStop("hair_3_u_brown");
};
gotoAndStop("wait");
org = getChildByName("orang");
org.gotoAndStop(1);
x_pos = x;
y_pos = y;
entering = true;
if (_root.game_mode == 1){
if (_root.level == 1){
rand_task = (1 + Math.floor((Math.random() * 1)));
};
if (_root.level == 2){
rand_task = (1 + Math.floor((Math.random() * 3)));
};
if (_root.level == 3){
rand_task = (1 + Math.floor((Math.random() * 9)));
};
if (_root.level == 4){
rand_task = (1 + Math.floor((Math.random() * 9)));
};
if (_root.level == 5){
rand_task = (6 + Math.floor((Math.random() * 9)));
};
if (_root.level == 6){
rand_task = (9 + Math.floor((Math.random() * 5)));
};
if (_root.level == 7){
rand_task = (10 + Math.floor((Math.random() * 5)));
};
if (_root.level == 8){
rand_task = (10 + Math.floor((Math.random() * 5)));
};
if (_root.level == 9){
rand_task = (10 + Math.floor((Math.random() * 5)));
};
if (_root.level == 10){
rand_task = (12 + Math.floor((Math.random() * 5)));
};
if (_root.level == 11){
rand_task = (12 + Math.floor((Math.random() * 5)));
};
if (_root.level == 12){
rand_task = (15 + Math.floor((Math.random() * 4)));
};
if (_root.level == 13){
rand_task = (15 + Math.floor((Math.random() * 4)));
};
if (_root.level == 14){
rand_task = (19 + Math.floor((Math.random() * 3)));
};
if (_root.level == 15){
rand_task = (19 + Math.floor((Math.random() * 3)));
};
};
if (_root.game_mode == 2){
rand_task = Math.floor((Math.random() * 21));
};
if (rand_task == 1){
task = ["wash", "cut"];
};
if (rand_task == 2){
task = ["wash", "color"];
};
if (rand_task == 3){
if (_local2 == 2){
task = ["cut", "ion"];
} else {
task = ["cut", "perm"];
};
};
if (rand_task == 4){
task = ["cut", "color"];
};
if (rand_task == 5){
task = ["wash", "ribbon"];
};
if (rand_task == 6){
if (_local2 != 2){
task = ["perm", "color"];
} else {
task = ["ion", "color"];
};
};
if (rand_task == 7){
if (_local2 == 2){
task = ["cut", "ion"];
} else {
task = ["cut", "perm"];
};
};
if (rand_task == 8){
task = ["cut", "wash"];
};
if (rand_task == 9){
task = ["cut", "ribbon"];
};
if (rand_task == 10){
if (_local2 != 2){
task = ["cut", "perm", "ribbon"];
} else {
task = ["cut", "ion", "ribbon"];
};
};
if (rand_task == 11){
if (_local2 == 2){
task = ["cut", "color", "ion"];
} else {
task = ["cut", "color", "perm"];
};
};
if (rand_task == 12){
task = ["cut", "wash", "ribbon"];
};
if (rand_task == 13){
task = ["cut", "color", "ribbon"];
};
if (rand_task == 14){
task = ["wash", "cut", "color"];
};
if (rand_task == 15){
if (_local2 == 2){
task = ["ion", "cut", "ribbon"];
} else {
task = ["perm", "cut", "ribbon"];
};
};
if (rand_task == 16){
if (_local2 == 2){
task = ["wash", "ion", "color", "ribbon"];
} else {
task = ["wash", "perm", "color", "ribbon"];
};
};
if (rand_task == 17){
if (_local2 == 2){
task = ["ion", "color", "cut", "ribbon"];
} else {
task = ["perm", "color", "cut", "ribbon"];
};
};
if (rand_task == 18){
if (_local2 == 2){
task = ["ion", "color", "cut"];
} else {
task = ["perm", "color", "cut"];
};
};
if (rand_task == 19){
if (_local2 == 2){
task = ["wash", "cut", "color", "ion", "ribbon"];
} else {
task = ["wash", "cut", "color", "perm", "ribbon"];
};
};
if (rand_task == 20){
if (_local2 == 2){
task = ["ion", "color", "cut", "ribbon"];
} else {
task = ["perm", "color", "cut", "ribbon"];
};
};
if (rand_task == 21){
if (_local2 == 2){
task = ["cut", "ion", "color", "ribbon"];
} else {
task = ["cut", "perm", "color", "ribbon"];
};
};
bln = getChildByName("balon");
bln.gotoAndStop(task[0]);
addEventListener(Event.ENTER_FRAME, loop);
addEventListener(MouseEvent.MOUSE_DOWN, onmousedown);
addEventListener(MouseEvent.MOUSE_UP, onmouseup);
addEventListener(MouseEvent.MOUSE_DOWN, onclick);
}
private function onclick(_arg1:MouseEvent){
var _local2:*;
if (_root.game_ready){
if (!able_to_drag){
if (bln.visible){
if (((!(ch.on_work)) && (!(ch.swap)))){
if (bln.currentLabel == "wash"){
if (sit_on.slice(0, 1) == "w"){
if (ch.able_to != "wash"){
wash = false;
ch.able_to = "wash";
ch.x = x;
ch.y = (y - 60);
ch.on_work = true;
bln.visible = false;
_chair = _root.getChildByName(sit_on);
_chair.on_process = true;
_local2 = new bubles();
_local2.x = x;
_local2.y = (y - 140);
_local2.name = "bub";
_root.addChild(_local2);
};
};
};
if (bln.currentLabel == "cut"){
if (ch.able_to == "cut"){
sit = false;
ch.x = (x + 30);
ch.y = (y - 30);
bln.visible = false;
_chair = _root.getChildByName(sit_on);
_chair.on_process = true;
};
};
if (bln.currentLabel == "perm"){
if (ch.able_to == "perm"){
sit = false;
ch.x = (x + 30);
ch.y = (y - 30);
bln.visible = false;
_chair = _root.getChildByName(sit_on);
_chair.on_process = true;
};
};
if (bln.currentLabel == "ion"){
if (ch.able_to == "ion"){
sit = false;
ch.x = (x + 30);
ch.y = (y - 30);
bln.visible = false;
_chair = _root.getChildByName(sit_on);
_chair.on_process = true;
};
};
if (bln.currentLabel == "ribbon"){
if (ch.able_to == "ribbon"){
sit = false;
ch.x = (x + 30);
ch.y = (y - 30);
bln.visible = false;
_chair = _root.getChildByName(sit_on);
_chair.on_process = true;
};
};
if ((((((((((bln.currentLabel == "red")) || ((bln.currentLabel == "green")))) || ((bln.currentLabel == "blue")))) || ((bln.currentLabel == "black")))) || ((bln.currentLabel == "yellow")))){
if (ch.able_to == "color"){
sit = false;
ch.x = (x + 30);
ch.y = (y - 30);
if (heart_level < 3){
heart_level++;
};
choose_color = true;
ch.choose_color = true;
ch.on_work = true;
};
};
} else {
if (((ch.on_work) || (ch.swap))){
if (ch.queue.length > 0){
i = 0;
while (i < ch.queue.length) {
if ((((ch.queue[i][0] == x)) && ((ch.queue[i][1] == y)))){
onlist = true;
onlistnum = i;
};
i++;
};
if (onlist){
ch.queue.splice(onlistnum, 1);
ch.sort_queue();
} else {
if (!able_to_drag){
ch.queue[ch.queue.length] = [x, y, bln.currentLabel];
ch.sort_queue();
};
};
} else {
if (!able_to_drag){
ch.queue[ch.queue.length] = [x, y, bln.currentLabel];
ch.sort_queue();
};
};
};
};
};
};
};
}
private function onmousedown(_arg1:MouseEvent){
if (able_to_drag){
on_drag = true;
};
}
private function onmouseup(_arg1:MouseEvent){
on_drag = false;
}
private function loop(_arg1){
var _local2:*;
var _local3:*;
var _local4:*;
var _local5:*;
var _local6:*;
var _local7:*;
var _local8:*;
var _local9:*;
if (heart_level == 3){
if (hrt.currentFrame != 1){
hrt.gotoAndStop(1);
};
};
if (heart_level == 2){
if (hrt.currentFrame != 2){
hrt.gotoAndStop(2);
};
};
if (heart_level == 1){
if (hrt.currentFrame != 3){
hrt.gotoAndStop(3);
};
};
if (_root.game_ready){
org = getChildByName("orang");
if (on_drag){
if (c_holder.numChildren > 0){
_local2 = c_holder.getChildAt((c_holder.numChildren - 1));
if (_local2 != null){
c_holder.swapChildren(this, _local2);
};
};
x = _root.mouseX;
y = (_root.mouseY + 50);
};
if (!on_drag){
if (!entering){
x = x_pos;
y = y_pos;
};
};
if (entering){
entering_delay++;
if (entering_delay == 1){
x = (x - 100);
alpha = 0.5;
};
if (entering_delay == 2){
x = (x + 40);
alpha = (alpha + 0.05);
};
if (entering_delay == 3){
x = (x + 30);
alpha = (alpha + 0.05);
};
if (entering_delay == 4){
x = (x + 20);
alpha = (alpha + 0.05);
};
if (entering_delay == 5){
x = (x + 10);
alpha = (alpha + 0.05);
};
if (entering_delay == 6){
alpha = 1;
wait = true;
entering = false;
entering_delay = 0;
x_pos = x;
y_pos = y;
};
};
if (wait){
if (!on_drag){
wait_delay++;
if (wait_delay == 250){
org.gotoAndStop(2);
if (heart_level > 1){
heart_level--;
};
};
if (wait_delay == 450){
org.gotoAndStop(3);
if (heart_level > 1){
heart_level--;
};
};
if (wait_delay == 575){
leave = true;
if (bln.visible){
bln.visible = false;
hrt.visible = false;
};
if (heart_level > 1){
heart_level--;
};
};
};
};
if (wash){
_local3 = 0;
while (_local3 < (c_holder.numChildren - 1)) {
if (c_holder.getChildIndex(this) != 0){
_local4 = c_holder.getChildAt((c_holder.getChildIndex(this) - 1));
if (!on_drag){
c_holder.swapChildren(this, _local4);
};
};
_local3++;
};
if (!on_drag){
wait = false;
sit = false;
washdelay++;
if (washdelay == 1){
if (heart_level < 3){
heart_level++;
};
};
if (washdelay < 250){
if (currentLabel != "sit"){
gotoAndStop("sit");
};
if (heart_level == 3){
if (org.currentFrame != 1){
org.gotoAndStop(1);
};
};
if (heart_level == 2){
washdelay = 250;
};
if (heart_level == 1){
washdelay = 450;
};
};
if (washdelay == 250){
if (heart_level > 2){
heart_level--;
};
};
if ((((washdelay > 250)) && ((washdelay < 450)))){
if (org.currentFrame != 2){
org.gotoAndStop(2);
};
};
if (washdelay == 450){
if (heart_level > 1){
heart_level--;
};
};
if ((((washdelay > 450)) && ((washdelay < 575)))){
if (org.currentFrame != 3){
org.gotoAndStop(3);
if (heart_level > 1){
heart_level--;
};
};
};
if (washdelay > 575){
if (currentFrame != 4){
if (heart_level > 1){
heart_level--;
};
gotoAndStop(4);
leave = true;
if (bln.visible){
bln.visible = false;
hrt.visible = false;
};
y = (y - 5);
};
};
};
};
if (choose_color){
_local3 = 0;
while (_local3 < (c_holder.numChildren - 1)) {
if (c_holder.getChildIndex(this) != 0){
_local4 = c_holder.getChildAt((c_holder.getChildIndex(this) - 1));
if (!on_drag){
c_holder.swapChildren(this, _local4);
};
};
_local3++;
};
if (!on_drag){
wait = false;
wash = false;
choose_delay++;
if (bln.currentLabel == _root.color_pick){
choose_color = false;
ch.choose_color = false;
_chair = _root.getChildByName(sit_on);
_chair.on_process = true;
_root.playSound(new soundperm());
bln.visible = false;
cp.x = -50;
cp.y = -200;
_root.color_pick = "none";
} else {
if (((!((bln.currentLabel == _root.color_pick))) && (!((_root.color_pick == "none"))))){
if (heart_level > 1){
choose_delay = 300;
} else {
choose_delay = 600;
};
_root.color_pick = "none";
};
};
if (choose_delay == 1){
cp = _root.getChildByName("color_panel");
cp.x = (x - 30);
cp.y = (y - 40);
};
if (choose_delay < 300){
if (heart_level == 3){
if (org.currentFrame != 1){
org.gotoAndStop(1);
};
};
if (heart_level == 2){
choose_delay = 300;
};
if (heart_level == 1){
choose_delay = 600;
};
};
if (choose_delay == 300){
if (heart_level > 2){
heart_level--;
};
};
if ((((choose_delay > 300)) && ((choose_delay < 600)))){
if (org.currentFrame != 2){
org.gotoAndStop(2);
};
};
if (choose_delay == 600){
if (heart_level > 1){
heart_level--;
};
};
if (choose_delay == 800){
if (org.currentFrame != 3){
org.gotoAndStop(3);
if (heart_level > 1){
heart_level--;
};
};
};
if (choose_delay > 800){
if (currentFrame != 4){
if (heart_level > 1){
heart_level--;
};
gotoAndStop(4);
leave = true;
ch.on_work = false;
ch.x = ch.x_pos;
ch.y = ch.y_pos;
ch.choose_color = false;
cp.x = -50;
cp.y = -200;
_root.color_pick = "none";
if (bln.visible){
bln.visible = false;
hrt.visible = false;
};
y = (y - 5);
};
};
};
};
if (sit){
_local3 = 0;
while (_local3 < (c_holder.numChildren - 1)) {
if (c_holder.getChildIndex(this) != 0){
_local4 = c_holder.getChildAt((c_holder.getChildIndex(this) - 1));
if (!on_drag){
c_holder.swapChildren(this, _local4);
};
};
_local3++;
};
if (!on_drag){
wait = false;
wash = false;
sitdelay++;
if (sitdelay == 1){
if (heart_level < 3){
heart_level++;
};
};
if (sitdelay < 300){
if (currentLabel != "sit"){
gotoAndStop("sit");
};
if (heart_level == 3){
if (org.currentFrame != 1){
org.gotoAndStop(1);
};
} else {
if (heart_level == 2){
sitdelay = 300;
} else {
if (heart_level == 1){
sitdelay = 600;
};
};
};
};
if (sitdelay == 300){
if (heart_level > 2){
heart_level--;
};
};
if ((((sitdelay > 300)) && ((sitdelay < 600)))){
if (org.currentFrame != 2){
org.gotoAndStop(2);
};
};
if (sitdelay == 600){
if (heart_level > 1){
heart_level--;
};
};
if (sitdelay == 800){
if (org.currentFrame != 3){
org.gotoAndStop(3);
if (heart_level > 1){
heart_level--;
};
};
};
if (sitdelay > 800){
if (currentFrame != 4){
if (heart_level > 1){
heart_level--;
};
gotoAndStop(4);
leave = true;
if (bln.visible){
bln.visible = false;
hrt.visible = false;
};
y = (y - 5);
};
};
};
};
if (happy){
able_to_drag = false;
happy_delay++;
if (happy_delay == 1){
org.gotoAndStop(1);
_root.playSound(new sound_happy());
};
if (happy_delay == 15){
y = (y - 5);
gotoAndStop("happy");
};
if (happy_delay == 30){
};
if (happy_delay == 35){
alpha = (alpha - 0.1);
};
if (happy_delay == 36){
alpha = (alpha - 0.1);
};
if (happy_delay == 37){
alpha = (alpha - 0.1);
};
if (happy_delay == 38){
alpha = (alpha - 0.2);
};
if (happy_delay == 39){
_local5 = _root.getChildByName("slot_1");
_local6 = _root.getChildByName("slot_2");
_local7 = _root.getChildByName("slot_3");
_local8 = _root.getChildByName("slot_4");
_local9 = _root.getChildByName("slot_5");
if ((((x == _local5.x)) && ((y == _local5.y)))){
_root.slot_1_empty = true;
};
if ((((x == _local6.x)) && ((y == _local6.y)))){
_root.slot_2_empty = true;
};
if ((((x == _local7.x)) && ((y == _local7.y)))){
_root.slot_3_empty = true;
};
if ((((x == _local8.x)) && ((y == _local8.y)))){
_root.slot_4_empty = true;
};
if ((((x == _local9.x)) && ((y == _local9.y)))){
_root.slot_5_empty = true;
};
removeEventListener(Event.ENTER_FRAME, loop);
parent.removeChild(this);
_root.life++;
};
};
if (leave){
able_to_drag = false;
leave_delay++;
if (leave_delay == 25){
alpha = (alpha - 0.1);
};
if (leave_delay == 26){
alpha = (alpha - 0.1);
};
if (leave_delay == 27){
alpha = (alpha - 0.1);
};
if (leave_delay == 28){
alpha = (alpha - 0.2);
};
if (leave_delay == 29){
_local3 = 0;
while (_local3 < ch.queue.length) {
if ((((ch.queue[_local3][0] == x)) && ((ch.queue[_local3][1] == y)))){
onlist = true;
onlistnum = _local3;
};
_local3++;
};
if (onlist){
ch.queue.splice(onlistnum, 1);
ch.sort_queue();
};
_local5 = _root.getChildByName("slot_1");
_local6 = _root.getChildByName("slot_2");
_local7 = _root.getChildByName("slot_3");
_local8 = _root.getChildByName("slot_4");
_local9 = _root.getChildByName("slot_5");
if ((((x == _local5.x)) && ((y == _local5.y)))){
_root.slot_1_empty = true;
};
if ((((x == _local6.x)) && ((y == _local6.y)))){
_root.slot_2_empty = true;
};
if ((((x == _local7.x)) && ((y == _local7.y)))){
_root.slot_3_empty = true;
};
if ((((x == _local8.x)) && ((y == _local8.y)))){
_root.slot_4_empty = true;
};
if ((((x == _local9.x)) && ((y == _local9.y)))){
_root.slot_5_empty = true;
};
removeEventListener(Event.ENTER_FRAME, loop);
parent.removeChild(this);
_root.angry_number++;
if (_root.game_mode == 2){
_root.life = (_root.life - 2);
};
};
};
};
}
}
}//package
Section 126
//tamu_3 (tamu_3)
package {
import flash.display.*;
import flash.events.*;
public class tamu_3 extends MovieClip {
public var hair:MovieClip;
public var orang:MovieClip;
public var balon:MovieClip;
public var heart:MovieClip;
public var task:Array;
private var _hair:Object;
private var bln:Object;
private var _root:Object;
private var org:Object;
private var c_holder:Object;
public var sit_on:String;
public var on_drag:Boolean;// = false
public var able_to_drag:Boolean;// = true
public var x_pos:Number;// = 0
public var y_pos:Number;// = 0
private var cp:Object;
public var sit:Boolean;// = false
public var wash:Boolean;// = false
private var choose_delay:Number;// = 0
public var choose_color:Boolean;// = false
public var washdelay:Number;// = 0
private var wait:Boolean;// = false
private var entering:Boolean;// = false
private var entering_delay:Number;// = 0
private var wait_delay:Number;// = 0
public var sitdelay:Number;// = 0
public var happy:Boolean;// = false
private var happy_delay:Number;// = 0
private var leave:Boolean;// = false
private var leave_delay:Number;// = 0
public var heart_level:Number;// = 3
private var clickable:Boolean;// = false
private var ch:Object;
private var hrt:Object;
private var _chair:Object;
private var rand_task:Number;
private var i:Number;// = 0
private var onlist:Boolean;// = false
private var onlistnum:Number;// = 0
private var q_holder:Object;
public function tamu_3(){
task = [];
super();
addEventListener(Event.ADDED_TO_STAGE, onadd);
}
private function onadd(_arg1){
_root = MovieClip(root);
ch = _root.getChildByName("karakter");
hrt = getChildByName("heart");
hrt.gotoAndStop(1);
c_holder = _root.getChildByName("cust_holder");
q_holder = _root.getChildByName("queue_holder");
_hair = getChildByName("hair");
var _local2:* = (1 + Math.floor((Math.random() * 3)));
if (_local2 == 1){
_hair.gotoAndStop("hair_1_u_brown");
};
if (_local2 == 2){
_hair.gotoAndStop("hair_2_u_brown");
};
if (_local2 == 3){
_hair.gotoAndStop("hair_3_u_brown");
};
gotoAndStop("wait");
org = getChildByName("orang");
org.gotoAndStop(1);
x_pos = x;
y_pos = y;
entering = true;
if (_root.game_mode == 1){
if (_root.level == 1){
rand_task = (1 + Math.floor((Math.random() * 1)));
};
if (_root.level == 2){
rand_task = (1 + Math.floor((Math.random() * 3)));
};
if (_root.level == 3){
rand_task = (1 + Math.floor((Math.random() * 9)));
};
if (_root.level == 4){
rand_task = (1 + Math.floor((Math.random() * 9)));
};
if (_root.level == 5){
rand_task = (6 + Math.floor((Math.random() * 9)));
};
if (_root.level == 6){
rand_task = (9 + Math.floor((Math.random() * 5)));
};
if (_root.level == 7){
rand_task = (10 + Math.floor((Math.random() * 5)));
};
if (_root.level == 8){
rand_task = (10 + Math.floor((Math.random() * 5)));
};
if (_root.level == 9){
rand_task = (10 + Math.floor((Math.random() * 5)));
};
if (_root.level == 10){
rand_task = (12 + Math.floor((Math.random() * 5)));
};
if (_root.level == 11){
rand_task = (12 + Math.floor((Math.random() * 5)));
};
if (_root.level == 12){
rand_task = (15 + Math.floor((Math.random() * 4)));
};
if (_root.level == 13){
rand_task = (15 + Math.floor((Math.random() * 4)));
};
if (_root.level == 14){
rand_task = (19 + Math.floor((Math.random() * 3)));
};
if (_root.level == 15){
rand_task = (19 + Math.floor((Math.random() * 3)));
};
};
if (_root.game_mode == 2){
rand_task = Math.floor((Math.random() * 21));
};
if (rand_task == 1){
task = ["wash", "cut"];
};
if (rand_task == 2){
task = ["wash", "color"];
};
if (rand_task == 3){
if (_local2 == 2){
task = ["cut", "ion"];
} else {
task = ["cut", "perm"];
};
};
if (rand_task == 4){
task = ["cut", "color"];
};
if (rand_task == 5){
task = ["wash", "ribbon"];
};
if (rand_task == 6){
if (_local2 != 2){
task = ["perm", "color"];
} else {
task = ["ion", "color"];
};
};
if (rand_task == 7){
if (_local2 == 2){
task = ["cut", "ion"];
} else {
task = ["cut", "perm"];
};
};
if (rand_task == 8){
task = ["cut", "wash"];
};
if (rand_task == 9){
task = ["cut", "ribbon"];
};
if (rand_task == 10){
if (_local2 != 2){
task = ["cut", "perm", "ribbon"];
} else {
task = ["cut", "ion", "ribbon"];
};
};
if (rand_task == 11){
if (_local2 == 2){
task = ["cut", "color", "ion"];
} else {
task = ["cut", "color", "perm"];
};
};
if (rand_task == 12){
task = ["cut", "wash", "ribbon"];
};
if (rand_task == 13){
task = ["cut", "color", "ribbon"];
};
if (rand_task == 14){
task = ["wash", "cut", "color"];
};
if (rand_task == 15){
if (_local2 == 2){
task = ["ion", "cut", "ribbon"];
} else {
task = ["perm", "cut", "ribbon"];
};
};
if (rand_task == 16){
if (_local2 == 2){
task = ["wash", "ion", "color", "ribbon"];
} else {
task = ["wash", "perm", "color", "ribbon"];
};
};
if (rand_task == 17){
if (_local2 == 2){
task = ["ion", "color", "cut", "ribbon"];
} else {
task = ["perm", "color", "cut", "ribbon"];
};
};
if (rand_task == 18){
if (_local2 == 2){
task = ["ion", "color", "cut"];
} else {
task = ["perm", "color", "cut"];
};
};
if (rand_task == 19){
if (_local2 == 2){
task = ["wash", "cut", "color", "ion", "ribbon"];
} else {
task = ["wash", "cut", "color", "perm", "ribbon"];
};
};
if (rand_task == 20){
if (_local2 == 2){
task = ["ion", "color", "cut", "ribbon"];
} else {
task = ["perm", "color", "cut", "ribbon"];
};
};
if (rand_task == 21){
if (_local2 == 2){
task = ["cut", "ion", "color", "ribbon"];
} else {
task = ["cut", "perm", "color", "ribbon"];
};
};
bln = getChildByName("balon");
bln.gotoAndStop(task[0]);
addEventListener(Event.ENTER_FRAME, loop);
addEventListener(MouseEvent.MOUSE_DOWN, onmousedown);
addEventListener(MouseEvent.MOUSE_UP, onmouseup);
addEventListener(MouseEvent.MOUSE_DOWN, onclick);
}
private function onclick(_arg1:MouseEvent){
var _local2:*;
if (_root.game_ready){
if (!able_to_drag){
if (bln.visible){
if (((!(ch.on_work)) && (!(ch.swap)))){
if (bln.currentLabel == "wash"){
if (sit_on.slice(0, 1) == "w"){
if (ch.able_to != "wash"){
wash = false;
ch.able_to = "wash";
ch.x = x;
ch.y = (y - 60);
ch.on_work = true;
bln.visible = false;
_chair = _root.getChildByName(sit_on);
_chair.on_process = true;
_local2 = new bubles();
_local2.x = x;
_local2.y = (y - 140);
_local2.name = "bub";
_root.addChild(_local2);
};
};
};
if (bln.currentLabel == "cut"){
if (ch.able_to == "cut"){
sit = false;
ch.x = (x + 30);
ch.y = (y - 30);
bln.visible = false;
_chair = _root.getChildByName(sit_on);
_chair.on_process = true;
};
};
if (bln.currentLabel == "perm"){
if (ch.able_to == "perm"){
sit = false;
ch.x = (x + 30);
ch.y = (y - 30);
bln.visible = false;
_chair = _root.getChildByName(sit_on);
_chair.on_process = true;
};
};
if (bln.currentLabel == "ion"){
if (ch.able_to == "ion"){
sit = false;
ch.x = (x + 30);
ch.y = (y - 30);
bln.visible = false;
_chair = _root.getChildByName(sit_on);
_chair.on_process = true;
};
};
if (bln.currentLabel == "ribbon"){
if (ch.able_to == "ribbon"){
sit = false;
ch.x = (x + 30);
ch.y = (y - 30);
bln.visible = false;
_chair = _root.getChildByName(sit_on);
_chair.on_process = true;
};
};
if ((((((((((bln.currentLabel == "red")) || ((bln.currentLabel == "green")))) || ((bln.currentLabel == "blue")))) || ((bln.currentLabel == "black")))) || ((bln.currentLabel == "yellow")))){
if (ch.able_to == "color"){
sit = false;
ch.x = (x + 30);
ch.y = (y - 30);
if (heart_level < 3){
heart_level++;
};
choose_color = true;
ch.choose_color = true;
ch.on_work = true;
};
};
} else {
if (((ch.on_work) || (ch.swap))){
if (ch.queue.length > 0){
i = 0;
while (i < ch.queue.length) {
if ((((ch.queue[i][0] == x)) && ((ch.queue[i][1] == y)))){
onlist = true;
onlistnum = i;
};
i++;
};
if (onlist){
ch.queue.splice(onlistnum, 1);
ch.sort_queue();
} else {
if (!able_to_drag){
ch.queue[ch.queue.length] = [x, y, bln.currentLabel];
ch.sort_queue();
};
};
} else {
if (!able_to_drag){
ch.queue[ch.queue.length] = [x, y, bln.currentLabel];
ch.sort_queue();
};
};
};
};
};
};
};
}
private function onmousedown(_arg1:MouseEvent){
if (able_to_drag){
on_drag = true;
};
}
private function onmouseup(_arg1:MouseEvent){
on_drag = false;
}
private function loop(_arg1){
var _local2:*;
var _local3:*;
var _local4:*;
var _local5:*;
var _local6:*;
var _local7:*;
var _local8:*;
var _local9:*;
if (heart_level == 3){
if (hrt.currentFrame != 1){
hrt.gotoAndStop(1);
};
};
if (heart_level == 2){
if (hrt.currentFrame != 2){
hrt.gotoAndStop(2);
};
};
if (heart_level == 1){
if (hrt.currentFrame != 3){
hrt.gotoAndStop(3);
};
};
if (_root.game_ready){
org = getChildByName("orang");
if (on_drag){
if (c_holder.numChildren > 0){
_local2 = c_holder.getChildAt((c_holder.numChildren - 1));
if (_local2 != null){
c_holder.swapChildren(this, _local2);
};
};
x = _root.mouseX;
y = (_root.mouseY + 50);
};
if (!on_drag){
if (!entering){
x = x_pos;
y = y_pos;
};
};
if (entering){
entering_delay++;
if (entering_delay == 1){
x = (x - 100);
alpha = 0.5;
};
if (entering_delay == 2){
x = (x + 40);
alpha = (alpha + 0.05);
};
if (entering_delay == 3){
x = (x + 30);
alpha = (alpha + 0.05);
};
if (entering_delay == 4){
x = (x + 20);
alpha = (alpha + 0.05);
};
if (entering_delay == 5){
x = (x + 10);
alpha = (alpha + 0.05);
};
if (entering_delay == 6){
alpha = 1;
wait = true;
entering = false;
entering_delay = 0;
x_pos = x;
y_pos = y;
};
};
if (wait){
if (!on_drag){
wait_delay++;
if (wait_delay == 250){
org.gotoAndStop(2);
if (heart_level > 1){
heart_level--;
};
};
if (wait_delay == 450){
org.gotoAndStop(3);
if (heart_level > 1){
heart_level--;
};
};
if (wait_delay == 575){
leave = true;
if (bln.visible){
bln.visible = false;
hrt.visible = false;
};
if (heart_level > 1){
heart_level--;
};
};
};
};
if (wash){
_local3 = 0;
while (_local3 < (c_holder.numChildren - 1)) {
if (c_holder.getChildIndex(this) != 0){
_local4 = c_holder.getChildAt((c_holder.getChildIndex(this) - 1));
if (!on_drag){
c_holder.swapChildren(this, _local4);
};
};
_local3++;
};
if (!on_drag){
wait = false;
sit = false;
washdelay++;
if (washdelay == 1){
if (heart_level < 3){
heart_level++;
};
};
if (washdelay < 250){
if (currentLabel != "sit"){
gotoAndStop("sit");
};
if (heart_level == 3){
if (org.currentFrame != 1){
org.gotoAndStop(1);
};
};
if (heart_level == 2){
washdelay = 250;
};
if (heart_level == 1){
washdelay = 450;
};
};
if (washdelay == 250){
if (heart_level > 2){
heart_level--;
};
};
if ((((washdelay > 250)) && ((washdelay < 450)))){
if (org.currentFrame != 2){
org.gotoAndStop(2);
};
};
if (washdelay == 450){
if (heart_level > 1){
heart_level--;
};
};
if ((((washdelay > 450)) && ((washdelay < 575)))){
if (org.currentFrame != 3){
org.gotoAndStop(3);
if (heart_level > 1){
heart_level--;
};
};
};
if (washdelay > 575){
if (currentFrame != 4){
if (heart_level > 1){
heart_level--;
};
gotoAndStop(4);
leave = true;
if (bln.visible){
bln.visible = false;
hrt.visible = false;
};
y = (y - 5);
};
};
};
};
if (choose_color){
_local3 = 0;
while (_local3 < (c_holder.numChildren - 1)) {
if (c_holder.getChildIndex(this) != 0){
_local4 = c_holder.getChildAt((c_holder.getChildIndex(this) - 1));
if (!on_drag){
c_holder.swapChildren(this, _local4);
};
};
_local3++;
};
if (!on_drag){
wait = false;
wash = false;
choose_delay++;
if (bln.currentLabel == _root.color_pick){
choose_color = false;
ch.choose_color = false;
_chair = _root.getChildByName(sit_on);
_chair.on_process = true;
_root.playSound(new soundperm());
bln.visible = false;
cp.x = -50;
cp.y = -200;
_root.color_pick = "none";
} else {
if (((!((bln.currentLabel == _root.color_pick))) && (!((_root.color_pick == "none"))))){
if (heart_level > 1){
choose_delay = 300;
} else {
choose_delay = 600;
};
_root.color_pick = "none";
};
};
if (choose_delay == 1){
cp = _root.getChildByName("color_panel");
cp.x = (x - 30);
cp.y = (y - 40);
};
if (choose_delay < 300){
if (heart_level == 3){
if (org.currentFrame != 1){
org.gotoAndStop(1);
};
};
if (heart_level == 2){
choose_delay = 300;
};
if (heart_level == 1){
choose_delay = 600;
};
};
if (choose_delay == 300){
if (heart_level > 2){
heart_level--;
};
};
if ((((choose_delay > 300)) && ((choose_delay < 600)))){
if (org.currentFrame != 2){
org.gotoAndStop(2);
};
};
if (choose_delay == 600){
if (heart_level > 1){
heart_level--;
};
};
if (choose_delay == 800){
if (org.currentFrame != 3){
org.gotoAndStop(3);
if (heart_level > 1){
heart_level--;
};
};
};
if (choose_delay > 800){
if (currentFrame != 4){
if (heart_level > 1){
heart_level--;
};
gotoAndStop(4);
leave = true;
ch.on_work = false;
ch.x = ch.x_pos;
ch.y = ch.y_pos;
ch.choose_color = false;
cp.x = -50;
cp.y = -200;
_root.color_pick = "none";
if (bln.visible){
bln.visible = false;
hrt.visible = false;
};
y = (y - 5);
};
};
};
};
if (sit){
_local3 = 0;
while (_local3 < (c_holder.numChildren - 1)) {
if (c_holder.getChildIndex(this) != 0){
_local4 = c_holder.getChildAt((c_holder.getChildIndex(this) - 1));
if (!on_drag){
c_holder.swapChildren(this, _local4);
};
};
_local3++;
};
if (!on_drag){
wait = false;
wash = false;
sitdelay++;
if (sitdelay == 1){
if (heart_level < 3){
heart_level++;
};
};
if (sitdelay < 300){
if (currentLabel != "sit"){
gotoAndStop("sit");
};
if (heart_level == 3){
if (org.currentFrame != 1){
org.gotoAndStop(1);
};
} else {
if (heart_level == 2){
sitdelay = 300;
} else {
if (heart_level == 1){
sitdelay = 600;
};
};
};
};
if (sitdelay == 300){
if (heart_level > 2){
heart_level--;
};
};
if ((((sitdelay > 300)) && ((sitdelay < 600)))){
if (org.currentFrame != 2){
org.gotoAndStop(2);
};
};
if (sitdelay == 600){
if (heart_level > 1){
heart_level--;
};
};
if (sitdelay == 800){
if (org.currentFrame != 3){
org.gotoAndStop(3);
if (heart_level > 1){
heart_level--;
};
};
};
if (sitdelay > 800){
if (currentFrame != 4){
if (heart_level > 1){
heart_level--;
};
gotoAndStop(4);
leave = true;
if (bln.visible){
bln.visible = false;
hrt.visible = false;
};
y = (y - 5);
};
};
};
};
if (happy){
able_to_drag = false;
happy_delay++;
if (happy_delay == 1){
org.gotoAndStop(1);
_root.playSound(new sound_happy());
};
if (happy_delay == 15){
y = (y - 5);
gotoAndStop("happy");
};
if (happy_delay == 30){
};
if (happy_delay == 35){
alpha = (alpha - 0.1);
};
if (happy_delay == 36){
alpha = (alpha - 0.1);
};
if (happy_delay == 37){
alpha = (alpha - 0.1);
};
if (happy_delay == 38){
alpha = (alpha - 0.2);
};
if (happy_delay == 39){
_local5 = _root.getChildByName("slot_1");
_local6 = _root.getChildByName("slot_2");
_local7 = _root.getChildByName("slot_3");
_local8 = _root.getChildByName("slot_4");
_local9 = _root.getChildByName("slot_5");
if ((((x == _local5.x)) && ((y == _local5.y)))){
_root.slot_1_empty = true;
};
if ((((x == _local6.x)) && ((y == _local6.y)))){
_root.slot_2_empty = true;
};
if ((((x == _local7.x)) && ((y == _local7.y)))){
_root.slot_3_empty = true;
};
if ((((x == _local8.x)) && ((y == _local8.y)))){
_root.slot_4_empty = true;
};
if ((((x == _local9.x)) && ((y == _local9.y)))){
_root.slot_5_empty = true;
};
removeEventListener(Event.ENTER_FRAME, loop);
parent.removeChild(this);
_root.life++;
};
};
if (leave){
able_to_drag = false;
leave_delay++;
if (leave_delay == 25){
alpha = (alpha - 0.1);
};
if (leave_delay == 26){
alpha = (alpha - 0.1);
};
if (leave_delay == 27){
alpha = (alpha - 0.1);
};
if (leave_delay == 28){
alpha = (alpha - 0.2);
};
if (leave_delay == 29){
_local3 = 0;
while (_local3 < ch.queue.length) {
if ((((ch.queue[_local3][0] == x)) && ((ch.queue[_local3][1] == y)))){
onlist = true;
onlistnum = _local3;
};
_local3++;
};
if (onlist){
ch.queue.splice(onlistnum, 1);
ch.sort_queue();
};
_local5 = _root.getChildByName("slot_1");
_local6 = _root.getChildByName("slot_2");
_local7 = _root.getChildByName("slot_3");
_local8 = _root.getChildByName("slot_4");
_local9 = _root.getChildByName("slot_5");
if ((((x == _local5.x)) && ((y == _local5.y)))){
_root.slot_1_empty = true;
};
if ((((x == _local6.x)) && ((y == _local6.y)))){
_root.slot_2_empty = true;
};
if ((((x == _local7.x)) && ((y == _local7.y)))){
_root.slot_3_empty = true;
};
if ((((x == _local8.x)) && ((y == _local8.y)))){
_root.slot_4_empty = true;
};
if ((((x == _local9.x)) && ((y == _local9.y)))){
_root.slot_5_empty = true;
};
removeEventListener(Event.ENTER_FRAME, loop);
parent.removeChild(this);
_root.angry_number++;
if (_root.game_mode == 2){
_root.life = (_root.life - 2);
};
};
};
};
}
}
}//package
Section 127
//tamu_tutor (tamu_tutor)
package {
import flash.display.*;
import flash.events.*;
public class tamu_tutor extends MovieClip {
public var hair:MovieClip;
public var orang:MovieClip;
public var balon:MovieClip;
private var _root:Object;
private var ch:Object;
public var sit_on:String;
public var able_to_drag:Boolean;// = false
public var on_drag:Boolean;// = false
public var x_pos:Number;// = 0
public var y_pos:Number;// = 0
public var sit:Boolean;// = false
public var wait:Boolean;// = false
private var entering:Boolean;// = false
private var entering_delay:Number;// = 0
private var org:Object;
private var _chair:Object;
private var tutor:Object;
private var _hair:Object;
private var bln:Object;
public var wash:Boolean;// = false
private var arr:Object;
private var on_wash:Boolean;// = false
private var on_wash_delay:Number;// = 0
private var on_cut:Boolean;// = false
private var on_cut_delay:Number;// = 0
private var happy:Boolean;// = false
private var happy_delay:Number;// = 0
public function tamu_tutor(){
addEventListener(Event.ADDED_TO_STAGE, onadd);
}
private function onadd(_arg1){
_root = MovieClip(root);
x_pos = x;
y_pos = y;
ch = _root.getChildByName("karakter");
_hair = getChildByName("hair");
entering = true;
gotoAndStop("wait");
org = getChildByName("orang");
org.gotoAndStop(1);
bln = getChildByName("balon");
bln.gotoAndStop("wash");
tutor = _root.getChildByName("tutorial");
arr = _root.getChildByName("arrow");
addEventListener(Event.ENTER_FRAME, loop);
addEventListener(MouseEvent.MOUSE_DOWN, onmousedown);
addEventListener(MouseEvent.MOUSE_UP, onmouseup);
addEventListener("click", onclick);
}
private function onmousedown(_arg1:MouseEvent){
trace("AA");
if (able_to_drag){
on_drag = true;
};
}
private function onmouseup(_arg1:MouseEvent){
on_drag = false;
}
private function onclick(_arg1:MouseEvent){
var _local2:*;
if (_root.game_ready){
if (_root.tutor_number == 4){
on_wash = true;
bln.visible = false;
ch.able_to = "wash";
ch.x = x;
ch.y = (y - 60);
ch.on_work = true;
_local2 = new bubles();
_local2.x = x;
_local2.y = (y - 140);
_local2.name = "bub";
_root.addChild(_local2);
_root.playSound(new soundwash());
tutor.visible = false;
arr.visible = false;
};
if (_root.tutor_number == 9){
if (ch.able_to == "cut"){
on_cut = true;
bln.visible = false;
ch.able_to = "cut";
ch.x = (x + 30);
ch.y = (y - 30);
ch.on_work = true;
_root.playSound(new soundcut());
tutor.visible = false;
arr.visible = false;
};
};
};
}
private function loop(_arg1){
var _local2:*;
var _local3:*;
var _local4:*;
var _local5:*;
var _local6:*;
var _local7:*;
if (happy){
able_to_drag = false;
happy_delay++;
if (happy_delay == 1){
org.gotoAndStop(1);
};
if (happy_delay == 15){
y = (y - 5);
gotoAndStop("happy");
};
if (happy_delay == 30){
};
if (happy_delay == 35){
alpha = (alpha - 0.1);
};
if (happy_delay == 36){
alpha = (alpha - 0.1);
};
if (happy_delay == 37){
alpha = (alpha - 0.1);
};
if (happy_delay == 38){
alpha = (alpha - 0.2);
};
if (happy_delay == 39){
_local2 = _root.getChildByName("slot_1");
_local3 = _root.getChildByName("slot_2");
_local4 = _root.getChildByName("slot_3");
_local5 = _root.getChildByName("slot_4");
_local6 = _root.getChildByName("slot_5");
if ((((x == _local2.x)) && ((y == _local2.y)))){
_root.slot_1_empty = true;
};
if ((((x == _local3.x)) && ((y == _local3.y)))){
_root.slot_2_empty = true;
};
if ((((x == _local4.x)) && ((y == _local4.y)))){
_root.slot_3_empty = true;
};
if ((((x == _local5.x)) && ((y == _local5.y)))){
_root.slot_4_empty = true;
};
if ((((x == _local6.x)) && ((y == _local6.y)))){
_root.slot_5_empty = true;
};
removeEventListener(Event.ENTER_FRAME, loop);
parent.removeChild(this);
};
};
if (_root.game_ready){
org = getChildByName("orang");
if (on_drag){
x = _root.mouseX;
y = (_root.mouseY + 50);
};
if (!on_drag){
if (!entering){
x = x_pos;
y = y_pos;
};
};
if (entering){
entering_delay++;
if (entering_delay == 1){
x = (x - 100);
alpha = 0.5;
};
if (entering_delay == 2){
x = (x + 40);
alpha = (alpha + 0.05);
};
if (entering_delay == 3){
x = (x + 30);
alpha = (alpha + 0.05);
};
if (entering_delay == 4){
x = (x + 20);
alpha = (alpha + 0.05);
};
if (entering_delay == 5){
x = (x + 10);
alpha = (alpha + 0.05);
};
if (entering_delay == 6){
alpha = 1;
wait = true;
entering = false;
entering_delay = 0;
x_pos = x;
y_pos = y;
};
};
if (wait){
if (currentLabel != "wait"){
gotoAndStop("wait");
};
};
if (sit){
if (_root.tutor_number == 8){
able_to_drag = false;
_root.tutor_number++;
arr.x = x;
arr.y = (y - 150);
};
};
if (wash){
if (currentLabel != "sit"){
gotoAndStop("sit");
wait = false;
};
if (_root.tutor_number == 3){
able_to_drag = false;
_root.tutor_number++;
arr.x = x;
arr.y = (y - 150);
};
};
if (on_wash){
on_wash_delay++;
if (on_wash_delay == 50){
_root.tutor_number++;
ch.on_work = false;
ch.able_to = "wait";
wash = true;
_local7 = _root.getChildByName("bub");
_root.removeChild(_local7);
bln.gotoAndStop("cut");
bln.visible = true;
};
};
if (on_cut){
on_cut_delay++;
if (on_cut_delay == 50){
_hair.gotoAndStop(19);
_root.tutor_number++;
ch.on_work = false;
wash = false;
wait = false;
sit = false;
happy = true;
};
};
};
}
}
}//package
Section 128
//washingchair (washingchair)
package {
import flash.display.*;
import flash.events.*;
public class washingchair extends MovieClip {
private var _root:Object;
private var c_holder:Object;
private var cust:Object;
private var c_req:Object;
private var ch:Object;
private var heart:Object;
private var occupied:Boolean;// = false
public var on_process:Boolean;// = false
public var on_process_delay:Number;// = 0
private var fxcombo:Object;
private var i:Number;// = 0
private var chair:Object;
private var cmb_holder:Object;
private var test:Number;// = 0
public function washingchair(){
addEventListener(Event.ADDED_TO_STAGE, onadd);
}
private function onadd(_arg1){
}
public function initialize(){
_root = MovieClip(root);
ch = _root.getChildByName("karakter");
c_holder = _root.getChildByName("cust_holder");
cmb_holder = _root.getChildByName("combo_holder");
addEventListener(Event.ENTER_FRAME, loop);
}
private function loop(_arg1){
var _local2:*;
var _local3:*;
var _local4:*;
var _local5:*;
var _local6:*;
var _local7:*;
var _local8:*;
var _local9:*;
var _local10:*;
var _local11:*;
var _local12:*;
var _local13:*;
var _local14:*;
if (_root.game_ready){
if (c_holder.numChildren > 0){
_local2 = 0;
i = 0;
while (i < c_holder.numChildren) {
_local3 = c_holder.getChildAt(i);
if ((((_local3.x == x)) && ((_local3.y == (y + 10))))){
_local2++;
};
i++;
};
if (_local2 != 0){
occupied = true;
} else {
occupied = false;
};
};
if (c_holder.numChildren > 0){
cust = c_holder.getChildAt((c_holder.numChildren - 1));
c_req = cust.getChildByName("balon");
if (((((!(cust.on_drag)) && (!((cust.x == cust.x_pos))))) && (!((cust.y == cust.y_pos))))){
_local4 = Math.sqrt(((cust.x - x) * (cust.x - x)));
_local5 = Math.sqrt(((cust.y - y) * (cust.y - y)));
if ((((_local4 < 80)) && ((_local5 < 80)))){
if (!occupied){
occupied = true;
if (c_req.currentLabel == "wash"){
_local6 = _root.getChildByName("slot_1");
_local7 = _root.getChildByName("slot_2");
_local8 = _root.getChildByName("slot_3");
_local9 = _root.getChildByName("slot_4");
_local10 = _root.getChildByName("slot_5");
if (cust.x_pos == _local8.x){
_root.slot_3_empty = true;
} else {
if (cust.x_pos == _local9.x){
_root.slot_4_empty = true;
} else {
if (cust.x_pos == _local10.x){
_root.slot_5_empty = true;
} else {
(cust.x_pos == (_local9.x - 60));
if (4){
_root.slot_4_empty = true;
} else {
(cust.x_pos == (_local10.x - 119));
if (9){
_root.slot_5_empty = true;
};
};
};
};
};
cust.x = x;
cust.y = (y + 10);
cust.x_pos = x;
cust.y_pos = cust.y;
if (!cust.wash){
cust.wash = true;
} else {
cust.washdelay = 0;
};
cust.able_to_drag = false;
cust.sit_on = this.name;
_root.playSound(new soundsit());
};
};
};
};
};
if (on_process){
on_process_delay++;
if (on_process_delay == 1){
_root.playSound(new soundwash());
ch.on_work = true;
};
if (on_process_delay == 50){
_root.cut_combo = 0;
_local11 = _root.getChildByName("bub");
_root.removeChild(_local11);
if (ch.combo.length > 0){
if (ch.combo[(length - 1)] == "wash"){
if (ch.combo.length < 4){
ch.combo.push("wash");
if (ch.combo.length == 2){
fxcombo = new combo_2();
fxcombo.x = (x - 10);
fxcombo.y = (y - 80);
cmb_holder.addChild(fxcombo);
_root.score = (_root.score + (100 * 2));
};
if (ch.combo.length == 3){
fxcombo = new combo_3();
fxcombo.x = (x - 10);
fxcombo.y = (y - 80);
cmb_holder.addChild(fxcombo);
_root.score = (_root.score + (100 * 3));
};
if (ch.combo.length == 4){
fxcombo = new combo_4();
fxcombo.x = (x - 10);
fxcombo.y = (y - 80);
cmb_holder.addChild(fxcombo);
_root.score = (_root.score + (100 * 4));
};
} else {
fxcombo = new combo_4();
fxcombo.x = (x - 10);
fxcombo.y = (y - 80);
cmb_holder.addChild(fxcombo);
_root.score = (_root.score + (100 * 4));
};
} else {
ch.combo = ["wash"];
_root.score = (_root.score + 100);
};
} else {
ch.combo = ["wash"];
_root.score = (_root.score + 100);
};
i = 0;
while (i < c_holder.numChildren) {
cust = c_holder.getChildAt(i);
if (cust.sit_on == this.name){
heart = new fxheart();
heart.x = cust.x;
heart.y = (cust.y - 80);
_root.addChild(heart);
cust.task.splice(0, 1);
if (cust.task.length != 0){
_local12 = cust.getChildByName("balon");
if (cust.task[0] != "color"){
_local12.gotoAndStop(cust.task[0]);
} else {
_local13 = (1 + Math.floor((Math.random() * 5)));
if (_local13 == 1){
_local12.gotoAndStop("red");
};
if (_local13 == 2){
_local12.gotoAndStop("yellow");
};
if (_local13 == 3){
_local12.gotoAndStop("green");
};
if (_local13 == 4){
_local12.gotoAndStop("blue");
};
if (_local13 == 5){
_local12.gotoAndStop("black");
};
};
_local12.visible = true;
if (cust.heart_level < 3){
cust.heart_level++;
};
cust.sit = true;
cust.able_to_drag = true;
};
if (cust.task.length == 0){
if (cust.heart_level == 1){
_root.score = (_root.score + 100);
};
if (cust.heart_level == 2){
_root.score = (_root.score + 300);
};
if (cust.heart_level == 3){
_root.score = (_root.score + 500);
};
cust.happy = true;
};
};
i++;
};
if (ch.queue.length > 0){
ch.able_to = "wait";
ch.on_work = false;
on_process_delay = 0;
on_process = false;
if ((((ch.queue[0][0] == ch.x_pos)) && ((ch.queue[0][1] == ch.y_pos)))){
ch.x = ch.x_pos;
ch.y = ch.y_pos;
ch.swap = true;
ch.swap_to = ch.queue[0][2];
ch.swap_delay = 0;
ch.queue.splice(0, 1);
ch.sort_queue();
} else {
if (ch.queue[0][2] == "wash"){
ch.x = ch.queue[0][0];
ch.y = (ch.queue[0][1] - 60);
ch.able_to = "wash";
i = 0;
while (i < c_holder.numChildren) {
cust = c_holder.getChildAt(i);
_local12 = cust.getChildByName("balon");
if ((((ch.queue[0][0] == cust.x)) && ((ch.queue[0][1] == cust.y)))){
_local12.visible = false;
cust.wash = false;
chair = _root.getChildByName(cust.sit_on);
chair.on_process = true;
chair.on_process_delay = 0;
_local14 = new bubles();
_local14.x = cust.x;
_local14.y = (cust.y - 140);
_local14.name = "bub";
_root.addChild(_local14);
ch.queue.splice(0, 1);
ch.sort_queue();
break;
};
i++;
};
} else {
ch.x = (ch.queue[0][0] + 30);
ch.y = (ch.queue[0][1] - 30);
if (ch.able_to == ch.queue[0][2]){
i = 0;
while (i < c_holder.numChildren) {
cust = c_holder.getChildAt(i);
_local12 = cust.getChildByName("balon");
if ((((ch.queue[0][0] == cust.x)) && ((ch.queue[0][1] == cust.y)))){
_local12.visible = false;
cust.sit = false;
chair = _root.getChildByName(cust.sit_on);
chair.on_process = true;
ch.queue.splice(0, 1);
ch.sort_queue();
};
i++;
};
};
if ((((((((((ch.queue[0][2] == "red")) || ((ch.queue[0][2] == "blue")))) || ((ch.queue[0][2] == "yellow")))) || ((ch.queue[0][2] == "black")))) || ((ch.queue[0][2] == "green")))){
if (ch.able_to == "color"){
i = 0;
while (i < c_holder.numChildren) {
cust = c_holder.getChildAt(i);
_local12 = cust.getChildByName("balon");
if ((((ch.queue[0][0] == cust.x)) && ((ch.queue[0][1] == cust.y)))){
cust.sit = false;
if (cust.heart_level < 3){
cust.heart_level++;
};
cust.choose_color = true;
ch.choose_color = true;
ch.on_work = true;
ch.queue.splice(0, 1);
ch.sort_queue();
break;
};
i++;
};
};
};
if (ch.able_to != ch.queue[0][2]){
ch.clear_queue();
ch.combo = [];
};
};
};
} else {
ch.on_wash = false;
ch.able_to = "wait";
ch.on_work = false;
on_process_delay = 0;
on_process = false;
};
_root.wash_number++;
};
};
};
}
}
}//package