Section 1
//GameEvent (com.ubi.events.GameEvent)
package com.ubi.events {
import flash.events.*;
public class GameEvent extends Event {
public var score:Number;
public static const SUBMIT_SCORE:String = "submitScore";
public static const GET_HIGH_SCORES:String = "getHIgheScores";
public function GameEvent(type:String, score:Number=0){
super(type, bubbles, cancelable);
this.score = score;
}
override public function toString():String{
return (formatToString("GameEvent", "score"));
}
override public function clone():Event{
return (new GameEvent(type, score));
}
}
}//package com.ubi.events
Section 2
//GameBase (com.ubi.game.GameBase)
package com.ubi.game {
import flash.display.*;
import com.ubi.events.*;
public class GameBase extends MovieClip {
public function GameBase(){
super();
}
public function destroy():void{
}
public function submitScore(score:Number):void{
dispatchEvent(new GameEvent(GameEvent.SUBMIT_SCORE, score));
}
public function validateUbiland():void{
}
}
}//package com.ubi.game
Section 3
//button_panel_okay_433 (FashionWorldTour_fla.button_panel_okay_433)
package FashionWorldTour_fla {
import flash.display.*;
public dynamic class button_panel_okay_433 extends MovieClip {
public function button_panel_okay_433(){
super();
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package FashionWorldTour_fla
Section 4
//characters_fashionDesigner_315 (FashionWorldTour_fla.characters_fashionDesigner_315)
package FashionWorldTour_fla {
import flash.display.*;
import pl.fabrykagier.game.fashiondesigner.*;
public dynamic class characters_fashionDesigner_315 extends MovieClip {
public function characters_fashionDesigner_315(){
super();
addFrameScript(0, frame1);
}
function frame1(){
stop();
this.gotoAndStop(MainScene.DESTINATION);
}
}
}//package FashionWorldTour_fla
Section 5
//characters_fashionDesigner_eyeLids_259 (FashionWorldTour_fla.characters_fashionDesigner_eyeLids_259)
package FashionWorldTour_fla {
import flash.display.*;
public dynamic class characters_fashionDesigner_eyeLids_259 extends MovieClip {
public function characters_fashionDesigner_eyeLids_259(){
super();
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package FashionWorldTour_fla
Section 6
//characters_fashionDesignerGameOver_558 (FashionWorldTour_fla.characters_fashionDesignerGameOver_558)
package FashionWorldTour_fla {
import flash.display.*;
import pl.fabrykagier.game.fashiondesigner.*;
public dynamic class characters_fashionDesignerGameOver_558 extends MovieClip {
public function characters_fashionDesignerGameOver_558(){
super();
addFrameScript(0, frame1);
}
function frame1(){
stop();
this.gotoAndStop(MainScene.DESTINATION);
}
}
}//package FashionWorldTour_fla
Section 7
//characters_fashionDesignerWelcome_276 (FashionWorldTour_fla.characters_fashionDesignerWelcome_276)
package FashionWorldTour_fla {
import flash.display.*;
import pl.fabrykagier.game.fashiondesigner.*;
public dynamic class characters_fashionDesignerWelcome_276 extends MovieClip {
public function characters_fashionDesignerWelcome_276(){
super();
addFrameScript(0, frame1);
}
function frame1(){
stop();
this.gotoAndStop(MainScene.DESTINATION);
}
}
}//package FashionWorldTour_fla
Section 8
//copy_button_submit_576 (FashionWorldTour_fla.copy_button_submit_576)
package FashionWorldTour_fla {
import flash.display.*;
import flash.text.*;
public dynamic class copy_button_submit_576 extends MovieClip {
public var Quit:TextField;
public function copy_button_submit_576(){
super();
}
}
}//package FashionWorldTour_fla
Section 9
//dressup_circle_539 (FashionWorldTour_fla.dressup_circle_539)
package FashionWorldTour_fla {
import flash.display.*;
public dynamic class dressup_circle_539 extends MovieClip {
public function dressup_circle_539(){
super();
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package FashionWorldTour_fla
Section 10
//dressup_gwiazdka_01_541 (FashionWorldTour_fla.dressup_gwiazdka_01_541)
package FashionWorldTour_fla {
import flash.display.*;
public dynamic class dressup_gwiazdka_01_541 extends MovieClip {
public function dressup_gwiazdka_01_541(){
super();
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package FashionWorldTour_fla
Section 11
//dressup_gwiazdka_02_543 (FashionWorldTour_fla.dressup_gwiazdka_02_543)
package FashionWorldTour_fla {
import flash.display.*;
public dynamic class dressup_gwiazdka_02_543 extends MovieClip {
public function dressup_gwiazdka_02_543(){
super();
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package FashionWorldTour_fla
Section 12
//dressup_gwiazdka_03_545 (FashionWorldTour_fla.dressup_gwiazdka_03_545)
package FashionWorldTour_fla {
import flash.display.*;
public dynamic class dressup_gwiazdka_03_545 extends MovieClip {
public function dressup_gwiazdka_03_545(){
super();
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package FashionWorldTour_fla
Section 13
//dressup_gwiazdka_MAIN_540 (FashionWorldTour_fla.dressup_gwiazdka_MAIN_540)
package FashionWorldTour_fla {
import flash.display.*;
public dynamic class dressup_gwiazdka_MAIN_540 extends MovieClip {
public var _star:MovieClip;
public function dressup_gwiazdka_MAIN_540(){
super();
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package FashionWorldTour_fla
Section 14
//dressup_modelPortrait_538 (FashionWorldTour_fla.dressup_modelPortrait_538)
package FashionWorldTour_fla {
import flash.display.*;
import flash.text.*;
public dynamic class dressup_modelPortrait_538 extends MovieClip {
public var nameField:TextField;
public var modelka:dressup_model;
public var dressup_circle:MovieClip;
public var star_mc:MovieClip;
public function dressup_modelPortrait_538(){
super();
}
}
}//package FashionWorldTour_fla
Section 15
//dressup_window_accessories_457 (FashionWorldTour_fla.dressup_window_accessories_457)
package FashionWorldTour_fla {
import flash.display.*;
public dynamic class dressup_window_accessories_457 extends MovieClip {
public var _panel:dressup_panel;
public function dressup_window_accessories_457(){
super();
}
}
}//package FashionWorldTour_fla
Section 16
//dressup_window_shoes_443 (FashionWorldTour_fla.dressup_window_shoes_443)
package FashionWorldTour_fla {
import flash.display.*;
public dynamic class dressup_window_shoes_443 extends MovieClip {
public var _panel:dressup_panel;
public function dressup_window_shoes_443(){
super();
}
}
}//package FashionWorldTour_fla
Section 17
//dressup_window_tops_454 (FashionWorldTour_fla.dressup_window_tops_454)
package FashionWorldTour_fla {
import flash.display.*;
public dynamic class dressup_window_tops_454 extends MovieClip {
public var _panel:dressup_panel;
public function dressup_window_tops_454(){
super();
}
}
}//package FashionWorldTour_fla
Section 18
//dressup_windows_bottoms_451 (FashionWorldTour_fla.dressup_windows_bottoms_451)
package FashionWorldTour_fla {
import flash.display.*;
public dynamic class dressup_windows_bottoms_451 extends MovieClip {
public var _panel:dressup_panel;
public function dressup_windows_bottoms_451(){
super();
}
}
}//package FashionWorldTour_fla
Section 19
//effects_arenaPresentation_311 (FashionWorldTour_fla.effects_arenaPresentation_311)
package FashionWorldTour_fla {
import flash.display.*;
public dynamic class effects_arenaPresentation_311 extends MovieClip {
public function effects_arenaPresentation_311(){
super();
addFrameScript(72, frame73);
}
function frame73(){
stop();
}
}
}//package FashionWorldTour_fla
Section 20
//effects_modelPresentation_547 (FashionWorldTour_fla.effects_modelPresentation_547)
package FashionWorldTour_fla {
import flash.display.*;
public dynamic class effects_modelPresentation_547 extends MovieClip {
public function effects_modelPresentation_547(){
super();
addFrameScript(56, frame57);
}
function frame57(){
stop();
}
}
}//package FashionWorldTour_fla
Section 21
//eye01_498 (FashionWorldTour_fla.eye01_498)
package FashionWorldTour_fla {
import flash.display.*;
public dynamic class eye01_498 extends MovieClip {
public var eyes_1:MovieClip;
public function eye01_498(){
super();
}
}
}//package FashionWorldTour_fla
Section 22
//eye02_500 (FashionWorldTour_fla.eye02_500)
package FashionWorldTour_fla {
import flash.display.*;
public dynamic class eye02_500 extends MovieClip {
public var eyes_2:MovieClip;
public function eye02_500(){
super();
}
}
}//package FashionWorldTour_fla
Section 23
//eye03_501 (FashionWorldTour_fla.eye03_501)
package FashionWorldTour_fla {
import flash.display.*;
public dynamic class eye03_501 extends MovieClip {
public var eyes_3:MovieClip;
public function eye03_501(){
super();
}
}
}//package FashionWorldTour_fla
Section 24
//eye04_502 (FashionWorldTour_fla.eye04_502)
package FashionWorldTour_fla {
import flash.display.*;
public dynamic class eye04_502 extends MovieClip {
public var eyes_4:MovieClip;
public function eye04_502(){
super();
}
}
}//package FashionWorldTour_fla
Section 25
//eye05_503 (FashionWorldTour_fla.eye05_503)
package FashionWorldTour_fla {
import flash.display.*;
public dynamic class eye05_503 extends MovieClip {
public var eyes_5:MovieClip;
public function eye05_503(){
super();
}
}
}//package FashionWorldTour_fla
Section 26
//eye06_504 (FashionWorldTour_fla.eye06_504)
package FashionWorldTour_fla {
import flash.display.*;
public dynamic class eye06_504 extends MovieClip {
public var eyes_6:MovieClip;
public function eye06_504(){
super();
}
}
}//package FashionWorldTour_fla
Section 27
//eye07_505 (FashionWorldTour_fla.eye07_505)
package FashionWorldTour_fla {
import flash.display.*;
public dynamic class eye07_505 extends MovieClip {
public var eyes_7:MovieClip;
public function eye07_505(){
super();
}
}
}//package FashionWorldTour_fla
Section 28
//eye08_506 (FashionWorldTour_fla.eye08_506)
package FashionWorldTour_fla {
import flash.display.*;
public dynamic class eye08_506 extends MovieClip {
public var eyes_8:MovieClip;
public function eye08_506(){
super();
}
}
}//package FashionWorldTour_fla
Section 29
//eye09_507 (FashionWorldTour_fla.eye09_507)
package FashionWorldTour_fla {
import flash.display.*;
public dynamic class eye09_507 extends MovieClip {
public var eyes_9:MovieClip;
public function eye09_507(){
super();
}
}
}//package FashionWorldTour_fla
Section 30
//eye10_508 (FashionWorldTour_fla.eye10_508)
package FashionWorldTour_fla {
import flash.display.*;
public dynamic class eye10_508 extends MovieClip {
public var eyes_10:MovieClip;
public function eye10_508(){
super();
}
}
}//package FashionWorldTour_fla
Section 31
//EyeLid_378 (FashionWorldTour_fla.EyeLid_378)
package FashionWorldTour_fla {
import flash.display.*;
public dynamic class EyeLid_378 extends MovieClip {
public function EyeLid_378(){
super();
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package FashionWorldTour_fla
Section 32
//Face_376 (FashionWorldTour_fla.Face_376)
package FashionWorldTour_fla {
import flash.display.*;
public dynamic class Face_376 extends MovieClip {
public var shade:MovieClip;
public var eyes:MovieClip;
public var lips:MovieClip;
public function Face_376(){
super();
}
}
}//package FashionWorldTour_fla
Section 33
//interface_popup_gameOver_563 (FashionWorldTour_fla.interface_popup_gameOver_563)
package FashionWorldTour_fla {
import pl.fabrykagier.framework.media.*;
import flash.display.*;
import pl.fabrykagier.game.fashiondesigner.*;
public dynamic class interface_popup_gameOver_563 extends MovieClip {
public function interface_popup_gameOver_563(){
super();
addFrameScript(0, frame1, 1, frame2, 15, frame16, 34, frame35, 42, frame43);
}
function frame16(){
stop();
}
function frame1(){
if (MainScene.CURRENTSELECTION == 3){
MovieClip(this.parent).stop();
} else {
stop();
};
}
function frame2(){
SoundManager.playSound({name:"popup", loops:1});
}
function frame35(){
SoundManager.playSound({name:"popup", loops:1});
}
function frame43(){
MovieClip(parent).gotoAndPlay("advertsIn");
}
}
}//package FashionWorldTour_fla
Section 34
//interface_popup_info_afterPreshow_466 (FashionWorldTour_fla.interface_popup_info_afterPreshow_466)
package FashionWorldTour_fla {
import pl.fabrykagier.framework.media.*;
import flash.display.*;
import pl.fabrykagier.game.fashiondesigner.*;
public dynamic class interface_popup_info_afterPreshow_466 extends MovieClip {
public function interface_popup_info_afterPreshow_466(){
super();
addFrameScript(0, frame1, 1, frame2, 15, frame16, 33, frame34, 42, frame43);
}
function frame16(){
stop();
}
function frame1(){
if (((MainScene.getInstance().firstTimeDressing) && (MainScene.getInstance().wasInPRESHOW))){
MainScene.getInstance().firstTimeDressing = false;
} else {
stop();
if (((!(MainScene.getInstance().firstTimeDressing)) && (MainScene.getInstance().wasInPRESHOW))){
MovieClip(parent).gotoAndStop("Dressup");
};
};
}
function frame2(){
SoundManager.playSound({name:"popup", loops:1});
}
function frame34(){
SoundManager.playSound({name:"popup", loops:1});
}
function frame43(){
MovieClip(parent).gotoAndStop("Dressup");
}
}
}//package FashionWorldTour_fla
Section 35
//interface_popup_info_afterPreshow_panel_467 (FashionWorldTour_fla.interface_popup_info_afterPreshow_panel_467)
package FashionWorldTour_fla {
import flash.display.*;
public dynamic class interface_popup_info_afterPreshow_panel_467 extends MovieClip {
public var gotoAndPlayGrandparent_popupOut$:button_Okay;
public function interface_popup_info_afterPreshow_panel_467(){
super();
}
}
}//package FashionWorldTour_fla
Section 36
//interface_popup_info_dressUp_462 (FashionWorldTour_fla.interface_popup_info_dressUp_462)
package FashionWorldTour_fla {
import pl.fabrykagier.framework.media.*;
import flash.display.*;
import pl.fabrykagier.game.fashiondesigner.*;
public dynamic class interface_popup_info_dressUp_462 extends MovieClip {
public function interface_popup_info_dressUp_462(){
super();
addFrameScript(0, frame1, 1, frame2, 15, frame16, 34, frame35, 42, frame43);
}
function frame16(){
stop();
}
function frame1(){
if (((MainScene.getInstance().firstTimeDressing) && (!(MainScene.getInstance().wasInPRESHOW)))){
MainScene.getInstance().firstTimeDressing = false;
} else {
stop();
if (((!(MainScene.getInstance().firstTimeDressing)) && (!(MainScene.getInstance().wasInPRESHOW)))){
MovieClip(parent).gotoAndStop("Dressup");
};
};
}
function frame2(){
SoundManager.playSound({name:"popup", loops:1});
}
function frame35(){
SoundManager.playSound({name:"popup", loops:1});
}
function frame43(){
MovieClip(parent).gotoAndStop("Dressup");
}
}
}//package FashionWorldTour_fla
Section 37
//interface_popup_info_dressUp_panel_463 (FashionWorldTour_fla.interface_popup_info_dressUp_panel_463)
package FashionWorldTour_fla {
import flash.display.*;
public dynamic class interface_popup_info_dressUp_panel_463 extends MovieClip {
public var gotoAndPlayGrandparent_popupOut$:button_Okay;
public function interface_popup_info_dressUp_panel_463(){
super();
}
}
}//package FashionWorldTour_fla
Section 38
//interface_popup_info_feedback_483 (FashionWorldTour_fla.interface_popup_info_feedback_483)
package FashionWorldTour_fla {
import pl.fabrykagier.framework.media.*;
import flash.display.*;
public dynamic class interface_popup_info_feedback_483 extends MovieClip {
public var popup_feedback:popup_info_feedback_panel;
public function interface_popup_info_feedback_483(){
super();
addFrameScript(0, frame1, 2, frame3, 15, frame16, 34, frame35, 43, frame44);
}
function frame3(){
SoundManager.playSound({name:"popup", loops:1});
}
function frame16(){
stop();
}
function frame1(){
stop();
}
function frame35(){
SoundManager.playSound({name:"popup", loops:1});
}
function frame44(){
if (MovieClip(this.parent).currentFrame == 58){
MovieClip(this.parent).gotoAndStop("Dressup");
} else {
MovieClip(this.parent).gotoAndStop("MakeUp");
};
this.gotoAndStop(1);
}
}
}//package FashionWorldTour_fla
Section 39
//interface_popup_info_hints_480 (FashionWorldTour_fla.interface_popup_info_hints_480)
package FashionWorldTour_fla {
import pl.fabrykagier.framework.media.*;
import flash.display.*;
public dynamic class interface_popup_info_hints_480 extends MovieClip {
public function interface_popup_info_hints_480(){
super();
addFrameScript(0, frame1, 1, frame2, 15, frame16, 34, frame35, 43, frame44);
}
function frame16(){
stop();
}
function frame1(){
stop();
}
function frame2(){
SoundManager.playSound({name:"popup", loops:1});
}
function frame35(){
SoundManager.playSound({name:"popup", loops:1});
}
function frame44(){
if (MovieClip(this.parent).currentFrame == 58){
MovieClip(this.parent).gotoAndStop("Dressup");
} else {
MovieClip(this.parent).gotoAndStop("MakeUp");
};
this.gotoAndStop(1);
}
}
}//package FashionWorldTour_fla
Section 40
//interface_popup_info_nodress_486 (FashionWorldTour_fla.interface_popup_info_nodress_486)
package FashionWorldTour_fla {
import pl.fabrykagier.framework.media.*;
import flash.display.*;
public dynamic class interface_popup_info_nodress_486 extends MovieClip {
public var whole_mc:MovieClip;
public function interface_popup_info_nodress_486(){
super();
addFrameScript(0, frame1, 2, frame3, 15, frame16, 34, frame35, 43, frame44);
}
function frame3(){
SoundManager.playSound({name:"popup", loops:1});
}
function frame16(){
stop();
}
function frame1(){
stop();
}
function frame35(){
SoundManager.playSound({name:"popup", loops:1});
}
function frame44(){
if (MovieClip(this.parent).currentFrame == 58){
MovieClip(this.parent).gotoAndStop("Dressup");
} else {
MovieClip(this.parent).gotoAndStop("MakeUp");
};
this.gotoAndStop(1);
}
}
}//package FashionWorldTour_fla
Section 41
//interface_popup_info_nodress_panel_487 (FashionWorldTour_fla.interface_popup_info_nodress_panel_487)
package FashionWorldTour_fla {
import flash.display.*;
public dynamic class interface_popup_info_nodress_panel_487 extends MovieClip {
public var gotoAndPlayGrandparent_PopupOut$:button_Okay;
public var nodress_txt:popup_info_nodress_texts;
public function interface_popup_info_nodress_panel_487(){
super();
}
}
}//package FashionWorldTour_fla
Section 42
//interface_popup_info_preShow_469 (FashionWorldTour_fla.interface_popup_info_preShow_469)
package FashionWorldTour_fla {
import pl.fabrykagier.framework.media.*;
import flash.display.*;
import pl.fabrykagier.game.fashiondesigner.*;
public dynamic class interface_popup_info_preShow_469 extends MovieClip {
public function interface_popup_info_preShow_469(){
super();
addFrameScript(0, frame1, 1, frame2, 15, frame16, 34, frame35, 43, frame44);
}
function frame16(){
stop();
}
function frame1(){
stop();
}
function frame2(){
SoundManager.playSound({name:"popup", loops:1});
}
function frame35(){
SoundManager.playSound({name:"popup", loops:1});
}
function frame44(){
if (MovieClip(this.parent).currentFrame == 58){
if (MainScene.getInstance().repeatMC){
MovieClip(this.parent).gotoAndStop("Dressup");
} else {
MovieClip(this.parent).gotoAndPlay("DressUpOutro");
};
} else {
if (MainScene.getInstance().repeatMC){
MovieClip(this.parent).gotoAndStop("MakeUp");
} else {
MovieClip(this.parent).gotoAndPlay("MakeUpOutro");
};
};
this.gotoAndStop(1);
}
}
}//package FashionWorldTour_fla
Section 43
//interface_popup_info_preShow_panel_470 (FashionWorldTour_fla.interface_popup_info_preShow_panel_470)
package FashionWorldTour_fla {
import flash.display.*;
public dynamic class interface_popup_info_preShow_panel_470 extends MovieClip {
public var gotoAndPlayGrandparent_PopupOut$:button_NotYet;
public function interface_popup_info_preShow_panel_470(){
super();
}
}
}//package FashionWorldTour_fla
Section 44
//interface_popup_info_show_476 (FashionWorldTour_fla.interface_popup_info_show_476)
package FashionWorldTour_fla {
import pl.fabrykagier.framework.media.*;
import flash.display.*;
import pl.fabrykagier.game.fashiondesigner.*;
public dynamic class interface_popup_info_show_476 extends MovieClip {
public var panel:MovieClip;
public function interface_popup_info_show_476(){
super();
addFrameScript(0, frame1, 2, frame3, 15, frame16, 34, frame35, 43, frame44);
}
function frame3(){
SoundManager.playSound({name:"popup", loops:1});
}
function frame16(){
stop();
}
function frame1(){
stop();
}
function frame35(){
SoundManager.playSound({name:"popup", loops:1});
}
function frame44(){
if (MovieClip(this.parent).currentFrame == 58){
if (MainScene.getInstance().repeatMC){
MovieClip(this.parent).gotoAndStop("Dressup");
} else {
MovieClip(this.parent).gotoAndPlay("DressUpOutro");
};
} else {
if (MainScene.getInstance().repeatMC){
MovieClip(this.parent).gotoAndStop("MakeUp");
} else {
MovieClip(this.parent).gotoAndPlay("MakeUpOutro");
};
};
this.gotoAndStop(1);
}
}
}//package FashionWorldTour_fla
Section 45
//interface_popup_info_show_panel_477 (FashionWorldTour_fla.interface_popup_info_show_panel_477)
package FashionWorldTour_fla {
import flash.display.*;
import flash.text.*;
public dynamic class interface_popup_info_show_panel_477 extends MovieClip {
public var gotoAndPlayGrandparent_PopupOut$:button_NotYet;
public var collection_txt:TextField;
public function interface_popup_info_show_panel_477(){
super();
}
}
}//package FashionWorldTour_fla
Section 46
//interface_popup_LanguageSelector_255 (FashionWorldTour_fla.interface_popup_LanguageSelector_255)
package FashionWorldTour_fla {
import flash.display.*;
public dynamic class interface_popup_LanguageSelector_255 extends MovieClip {
public var language_de$:Button_selectLanguage;
public var language_fr$:Button_selectLanguage;
public var language_es$:Button_selectLanguage;
public var language_nl$:Button_selectLanguage;
public var language_us$:Button_selectLanguage;
public var language_uk$:Button_selectLanguage;
public var language_it$:Button_selectLanguage;
public function interface_popup_LanguageSelector_255(){
super();
}
}
}//package FashionWorldTour_fla
Section 47
//interface_popup_mask2_465 (FashionWorldTour_fla.interface_popup_mask2_465)
package FashionWorldTour_fla {
import flash.display.*;
public dynamic class interface_popup_mask2_465 extends MovieClip {
public function interface_popup_mask2_465(){
super();
addFrameScript(0, frame1);
}
function frame1(){
this.useHandCursor = false;
mouseEnabled = false;
}
}
}//package FashionWorldTour_fla
Section 48
//interface_popup_sendToAFriend_579 (FashionWorldTour_fla.interface_popup_sendToAFriend_579)
package FashionWorldTour_fla {
import pl.fabrykagier.framework.media.*;
import flash.display.*;
public dynamic class interface_popup_sendToAFriend_579 extends MovieClip {
public function interface_popup_sendToAFriend_579(){
super();
addFrameScript(0, frame1, 1, frame2, 15, frame16, 34, frame35, 42, frame43);
}
function frame16(){
stop();
}
function frame1(){
stop();
}
function frame2(){
SoundManager.playSound({name:"popup", loops:1});
}
function frame35(){
SoundManager.playSound({name:"popup", loops:1});
}
function frame43(){
stop();
}
}
}//package FashionWorldTour_fla
Section 49
//interface_popup_show_welcome_556 (FashionWorldTour_fla.interface_popup_show_welcome_556)
package FashionWorldTour_fla {
import pl.fabrykagier.framework.media.*;
import flash.display.*;
import pl.fabrykagier.game.fashiondesigner.*;
public dynamic class interface_popup_show_welcome_556 extends MovieClip {
public function interface_popup_show_welcome_556(){
super();
addFrameScript(0, frame1, 2, frame3, 15, frame16, 34, frame35, 42, frame43);
}
function frame3(){
SoundManager.playSound({name:"popup", loops:1});
}
function frame16(){
stop();
}
function frame1(){
if (MainScene.getInstance().firstTimeShow){
MainScene.getInstance().firstTimeShow = false;
} else {
stop();
MovieClip(parent).gotoAndPlay("ShowIn");
};
}
function frame35(){
SoundManager.playSound({name:"popup", loops:1});
}
function frame43(){
MovieClip(parent).gotoAndPlay("ShowIn");
}
}
}//package FashionWorldTour_fla
Section 50
//interface_popup_start_275 (FashionWorldTour_fla.interface_popup_start_275)
package FashionWorldTour_fla {
import flash.display.*;
public dynamic class interface_popup_start_275 extends MovieClip {
public var gotoAndPlayGrandparent_choiceIn$:button_Okay;
public function interface_popup_start_275(){
super();
}
}
}//package FashionWorldTour_fla
Section 51
//lips01_525 (FashionWorldTour_fla.lips01_525)
package FashionWorldTour_fla {
import flash.display.*;
public dynamic class lips01_525 extends MovieClip {
public var lips_1:MovieClip;
public function lips01_525(){
super();
}
}
}//package FashionWorldTour_fla
Section 52
//lips02_526 (FashionWorldTour_fla.lips02_526)
package FashionWorldTour_fla {
import flash.display.*;
public dynamic class lips02_526 extends MovieClip {
public var lips_2:MovieClip;
public function lips02_526(){
super();
}
}
}//package FashionWorldTour_fla
Section 53
//lips03_527 (FashionWorldTour_fla.lips03_527)
package FashionWorldTour_fla {
import flash.display.*;
public dynamic class lips03_527 extends MovieClip {
public var lips_3:MovieClip;
public function lips03_527(){
super();
}
}
}//package FashionWorldTour_fla
Section 54
//lips04_528 (FashionWorldTour_fla.lips04_528)
package FashionWorldTour_fla {
import flash.display.*;
public dynamic class lips04_528 extends MovieClip {
public var lips_4:MovieClip;
public function lips04_528(){
super();
}
}
}//package FashionWorldTour_fla
Section 55
//lips05_529 (FashionWorldTour_fla.lips05_529)
package FashionWorldTour_fla {
import flash.display.*;
public dynamic class lips05_529 extends MovieClip {
public var lips_5:MovieClip;
public function lips05_529(){
super();
}
}
}//package FashionWorldTour_fla
Section 56
//lips06_530 (FashionWorldTour_fla.lips06_530)
package FashionWorldTour_fla {
import flash.display.*;
public dynamic class lips06_530 extends MovieClip {
public var lips_6:MovieClip;
public function lips06_530(){
super();
}
}
}//package FashionWorldTour_fla
Section 57
//lips07_531 (FashionWorldTour_fla.lips07_531)
package FashionWorldTour_fla {
import flash.display.*;
public dynamic class lips07_531 extends MovieClip {
public var lips_7:MovieClip;
public function lips07_531(){
super();
}
}
}//package FashionWorldTour_fla
Section 58
//lips08_532 (FashionWorldTour_fla.lips08_532)
package FashionWorldTour_fla {
import flash.display.*;
public dynamic class lips08_532 extends MovieClip {
public var lips_8:MovieClip;
public function lips08_532(){
super();
}
}
}//package FashionWorldTour_fla
Section 59
//lips09_533 (FashionWorldTour_fla.lips09_533)
package FashionWorldTour_fla {
import flash.display.*;
public dynamic class lips09_533 extends MovieClip {
public var lips_9:MovieClip;
public function lips09_533(){
super();
}
}
}//package FashionWorldTour_fla
Section 60
//lips10_534 (FashionWorldTour_fla.lips10_534)
package FashionWorldTour_fla {
import flash.display.*;
public dynamic class lips10_534 extends MovieClip {
public var lips_10:MovieClip;
public function lips10_534(){
super();
}
}
}//package FashionWorldTour_fla
Section 61
//makeUp_panel_eyes_497 (FashionWorldTour_fla.makeUp_panel_eyes_497)
package FashionWorldTour_fla {
import flash.display.*;
public dynamic class makeUp_panel_eyes_497 extends MovieClip {
public var eyes_10:MovieClip;
public var eyes_2:MovieClip;
public var eyes_4:MovieClip;
public var eyes_5:MovieClip;
public var eyes_6:MovieClip;
public var eyes_7:MovieClip;
public var eyes_3:MovieClip;
public var eyes_1:MovieClip;
public var eyes_8:MovieClip;
public var eyes_9:MovieClip;
public function makeUp_panel_eyes_497(){
super();
}
}
}//package FashionWorldTour_fla
Section 62
//makeUp_panel_lips_524 (FashionWorldTour_fla.makeUp_panel_lips_524)
package FashionWorldTour_fla {
import flash.display.*;
public dynamic class makeUp_panel_lips_524 extends MovieClip {
public var lips_4:MovieClip;
public var lips_6:MovieClip;
public var lips_9:MovieClip;
public var lips_1:MovieClip;
public var lips_2:MovieClip;
public var lips_3:MovieClip;
public var lips_10:MovieClip;
public var lips_8:MovieClip;
public var lips_5:MovieClip;
public var lips_7:MovieClip;
public function makeUp_panel_lips_524(){
super();
}
}
}//package FashionWorldTour_fla
Section 63
//makeUp_panel_shade_510 (FashionWorldTour_fla.makeUp_panel_shade_510)
package FashionWorldTour_fla {
import flash.display.*;
public dynamic class makeUp_panel_shade_510 extends MovieClip {
public var shade_10:MovieClip;
public var shade_1:MovieClip;
public var shade_3:MovieClip;
public var shade_8:MovieClip;
public var shade_9:MovieClip;
public var shade_4:MovieClip;
public var shade_7:MovieClip;
public var shade_2:MovieClip;
public var shade_6:MovieClip;
public var shade_5:MovieClip;
public function makeUp_panel_shade_510(){
super();
}
}
}//package FashionWorldTour_fla
Section 64
//pickModel_modelName_432 (FashionWorldTour_fla.pickModel_modelName_432)
package FashionWorldTour_fla {
import flash.display.*;
import flash.text.*;
import pl.fabrykagier.game.fashiondesigner.gameInterface.*;
public dynamic class pickModel_modelName_432 extends MovieClip {
public var modelName_txt:TextField;
public function pickModel_modelName_432(){
super();
addFrameScript(0, frame1, 6, frame7, 10, frame11, 27, frame28);
}
function frame7(){
modelName_txt.text = ChooseModel(this.parent).modelName;
}
function frame1(){
this.visible = false;
stop();
}
function frame28(){
this.visible = false;
stop();
}
function frame11(){
stop();
}
}
}//package FashionWorldTour_fla
Section 65
//pickModel_modelsKind_428 (FashionWorldTour_fla.pickModel_modelsKind_428)
package FashionWorldTour_fla {
import flash.display.*;
public dynamic class pickModel_modelsKind_428 extends MovieClip {
public function pickModel_modelsKind_428(){
super();
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package FashionWorldTour_fla
Section 66
//preloader_progress_2 (FashionWorldTour_fla.preloader_progress_2)
package FashionWorldTour_fla {
import flash.display.*;
import flash.text.*;
public dynamic class preloader_progress_2 extends MovieClip {
public var progress_txt:TextField;
public function preloader_progress_2(){
super();
}
}
}//package FashionWorldTour_fla
Section 67
//shade01_511 (FashionWorldTour_fla.shade01_511)
package FashionWorldTour_fla {
import flash.display.*;
public dynamic class shade01_511 extends MovieClip {
public var shade_1:MovieClip;
public function shade01_511(){
super();
}
}
}//package FashionWorldTour_fla
Section 68
//shade02_512 (FashionWorldTour_fla.shade02_512)
package FashionWorldTour_fla {
import flash.display.*;
public dynamic class shade02_512 extends MovieClip {
public var shade_2:MovieClip;
public function shade02_512(){
super();
}
}
}//package FashionWorldTour_fla
Section 69
//shade03_513 (FashionWorldTour_fla.shade03_513)
package FashionWorldTour_fla {
import flash.display.*;
public dynamic class shade03_513 extends MovieClip {
public var shade_3:MovieClip;
public function shade03_513(){
super();
}
}
}//package FashionWorldTour_fla
Section 70
//shade04_514 (FashionWorldTour_fla.shade04_514)
package FashionWorldTour_fla {
import flash.display.*;
public dynamic class shade04_514 extends MovieClip {
public var shade_4:MovieClip;
public function shade04_514(){
super();
}
}
}//package FashionWorldTour_fla
Section 71
//shade05_515 (FashionWorldTour_fla.shade05_515)
package FashionWorldTour_fla {
import flash.display.*;
public dynamic class shade05_515 extends MovieClip {
public var shade_5:MovieClip;
public function shade05_515(){
super();
}
}
}//package FashionWorldTour_fla
Section 72
//shade06_516 (FashionWorldTour_fla.shade06_516)
package FashionWorldTour_fla {
import flash.display.*;
public dynamic class shade06_516 extends MovieClip {
public var shade_6:MovieClip;
public function shade06_516(){
super();
}
}
}//package FashionWorldTour_fla
Section 73
//shade07_517 (FashionWorldTour_fla.shade07_517)
package FashionWorldTour_fla {
import flash.display.*;
public dynamic class shade07_517 extends MovieClip {
public var shade_7:MovieClip;
public function shade07_517(){
super();
}
}
}//package FashionWorldTour_fla
Section 74
//shade08_518 (FashionWorldTour_fla.shade08_518)
package FashionWorldTour_fla {
import flash.display.*;
public dynamic class shade08_518 extends MovieClip {
public var shade_8:MovieClip;
public function shade08_518(){
super();
}
}
}//package FashionWorldTour_fla
Section 75
//shade09_519 (FashionWorldTour_fla.shade09_519)
package FashionWorldTour_fla {
import flash.display.*;
public dynamic class shade09_519 extends MovieClip {
public var shade_9:MovieClip;
public function shade09_519(){
super();
}
}
}//package FashionWorldTour_fla
Section 76
//shade10_520 (FashionWorldTour_fla.shade10_520)
package FashionWorldTour_fla {
import flash.display.*;
public dynamic class shade10_520 extends MovieClip {
public var shade_10:MovieClip;
public function shade10_520(){
super();
}
}
}//package FashionWorldTour_fla
Section 77
//show_background_299 (FashionWorldTour_fla.show_background_299)
package FashionWorldTour_fla {
import flash.display.*;
public dynamic class show_background_299 extends MovieClip {
public function show_background_299(){
super();
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package FashionWorldTour_fla
Section 78
//title_suitcase_1_264 (FashionWorldTour_fla.title_suitcase_1_264)
package FashionWorldTour_fla {
import flash.display.*;
public dynamic class title_suitcase_1_264 extends MovieClip {
public function title_suitcase_1_264(){
super();
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package FashionWorldTour_fla
Section 79
//title_suitcase_2_268 (FashionWorldTour_fla.title_suitcase_2_268)
package FashionWorldTour_fla {
import flash.display.*;
public dynamic class title_suitcase_2_268 extends MovieClip {
public function title_suitcase_2_268(){
super();
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package FashionWorldTour_fla
Section 80
//title_suitcase_3_267 (FashionWorldTour_fla.title_suitcase_3_267)
package FashionWorldTour_fla {
import flash.display.*;
public dynamic class title_suitcase_3_267 extends MovieClip {
public function title_suitcase_3_267(){
super();
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package FashionWorldTour_fla
Section 81
//title_suitcase_4_263 (FashionWorldTour_fla.title_suitcase_4_263)
package FashionWorldTour_fla {
import flash.display.*;
public dynamic class title_suitcase_4_263 extends MovieClip {
public function title_suitcase_4_263(){
super();
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package FashionWorldTour_fla
Section 82
//TRASH_13 (FashionWorldTour_fla.TRASH_13)
package FashionWorldTour_fla {
import flash.display.*;
public dynamic class TRASH_13 extends MovieClip {
public function TRASH_13(){
super();
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package FashionWorldTour_fla
Section 83
//DressUpManager (pl.fabrykagier.engines.dressUp.DressUpManager)
package pl.fabrykagier.engines.dressUp {
import flash.events.*;
import flash.display.*;
import pl.fabrykagier.framework.gameCharacters.model.*;
import pl.fabrykagier.game.fashiondesigner.*;
import pl.fabrykagier.game.fashiondesigner.dressing.*;
public class DressUpManager extends MovieClip {
protected var draggingItem:MovieClip;
protected var model:Model;
protected var mouseDrag:Boolean;
protected var wardrobe:Wardrobe;
public function DressUpManager(){
super();
setIt();
this.addEventListener(Event.REMOVED_FROM_STAGE, destroy);
}
private function destroy(event:Event):void{
this.removeEventListener(Event.REMOVED_FROM_STAGE, destroy);
wardrobe.stage.removeEventListener(MouseEvent.MOUSE_DOWN, mouseDown);
this.stage.removeEventListener(MouseEvent.MOUSE_UP, stopDragging);
this.stage.removeEventListener(MouseEvent.MOUSE_MOVE, dragMove);
}
protected function wardrobeToModel(item:String):void{
var swapedItem:Array;
var itm:String;
swapedItem = model.setItem(item);
wardrobe.lockItem(item);
for each (itm in swapedItem) {
wardrobe.unLockItem(itm);
model.removeItem(itm);
};
DressThumbsPanel(MainScene.getInstance().getChildByName("thumbPanel")).updateCurrentModel();
model.update();
}
private function dragMove(event:MouseEvent):void{
draggingItem.x = this.mouseX;
draggingItem.y = this.mouseY;
event.updateAfterEvent();
}
public function mousePressModel(item:String):void{
model.removeItem(item);
startDragging(item);
}
protected function setIt():void{
}
public function makeUnDraggable():void{
wardrobe.stage.removeEventListener(MouseEvent.MOUSE_DOWN, mouseDown);
}
public function makeDraggable():void{
wardrobe.stage.addEventListener(MouseEvent.MOUSE_DOWN, mouseDown);
}
public function mouseRelase():void{
}
public function stopDragging(event:MouseEvent):void{
this.stage.removeEventListener(MouseEvent.MOUSE_UP, stopDragging);
this.stage.removeEventListener(MouseEvent.MOUSE_MOVE, dragMove);
this.addEventListener(MouseEvent.MOUSE_DOWN, mouseDown);
draggingItem.visible = false;
wardrobe.clearHighlight(draggingItem.currentLabel);
if (toModel()){
wardrobeToModel(draggingItem.currentLabel);
} else {
modelToWardrobe(draggingItem.currentLabel);
};
}
private function toModel():Boolean{
if (draggingItem.hitTestObject(model)){
return (true);
};
return (false);
}
protected function modelToWardrobe(item:String):void{
model.removeItem(item);
wardrobe.unLockItem(item);
}
public function mousePressWardrobe(item:String):void{
startDragging(item);
}
public function startDragging(item:String):void{
wardrobe.highlightItem(item);
draggingItem.visible = true;
draggingItem.scaleX = 0.6;
draggingItem.scaleY = 0.6;
draggingItem.gotoAndStop(item);
this.stage.addEventListener(MouseEvent.MOUSE_MOVE, dragMove);
this.addEventListener(MouseEvent.MOUSE_DOWN, mouseDown);
draggingItem.x = this.mouseX;
draggingItem.y = this.mouseY;
this.stage.addEventListener(MouseEvent.MOUSE_UP, stopDragging);
}
public function InitTest(event:Event):void{
var isOK:Boolean;
var itemObject:WardrobeItem;
var f:FrameLabel;
for each (itemObject in wardrobe._itemsList) {
isOK = false;
for each (f in draggingItem.currentLabels) {
if (f.name == itemObject.currentLabel){
isOK = true;
break;
};
};
if (!isOK){
trace("NO dragging item object for: ", itemObject.currentLabel);
};
if (model._aviableItems.indexOf(itemObject.currentLabel) < 0){
trace("NO model item object for: ", itemObject.currentLabel);
};
};
}
private function mouseDown(event:MouseEvent):void{
if ((event.target is WardrobeItem)){
if (WardrobeItem(event.target).isAviable()){
mousePressWardrobe(WardrobeItem(event.target).currentLabel);
};
};
if ((event.target is ModelItem)){
mousePressModel(ModelItem(event.target).currentLabel);
};
}
}
}//package pl.fabrykagier.engines.dressUp
Section 84
//Wardrobe (pl.fabrykagier.engines.dressUp.Wardrobe)
package pl.fabrykagier.engines.dressUp {
import flash.events.*;
import flash.display.*;
import flash.utils.*;
public class Wardrobe extends MovieClip {
protected var startItem:Object;
protected var itemsList:Array;
public function Wardrobe(){
itemsList = [];
super();
this.addEventListener(Event.REMOVED_FROM_STAGE, destroy);
}
private function destroy(event:Event):void{
this.removeEventListener(Event.REMOVED_FROM_STAGE, destroy);
itemsList = null;
}
public function get _itemsList():Array{
return (itemsList);
}
public function clearArray():void{
itemsList = [];
}
private function fillSingleItem(item:WardrobeItem):void{
var classRef:Class;
var tmp:WardrobeItem;
var f:FrameLabel;
for each (f in item.currentLabels) {
classRef = (getDefinitionByName(getQualifiedClassName(item)) as Class);
tmp = WardrobeItem(new (classRef));
tmp.gotoAndStop(f.name);
itemsList.push(tmp);
setPosition(tmp);
};
}
public function getItemObject(item:String):WardrobeItem{
var i:WardrobeItem;
for each (i in itemsList) {
if (i.currentLabel == item){
return (i);
};
};
return (null);
}
public function fill(items:Object):void{
var tmp:WardrobeItem;
var classRef:Class;
var i:String;
var j:WardrobeItem;
if (!itemsList.length){
startItem = items;
if ((items is Array)){
if ((items[0] is String)){
for each (i in items) {
classRef = (getDefinitionByName(i) as Class);
tmp = WardrobeItem(new (classRef));
fillSingleItem(tmp);
};
} else {
for each (j in items) {
fillSingleItem(j);
};
};
} else {
if ((items is String)){
classRef = (getDefinitionByName(String(items)) as Class);
tmp = WardrobeItem(new (classRef));
} else {
tmp = WardrobeItem(items);
};
fillSingleItem(tmp);
};
};
}
public function removeAll():void{
while (itemsList.length > 0) {
this.removeChild(itemsList.shift());
};
}
public function unLockItem(item:String):void{
getItemObject(item).unlcok();
}
protected function setPosition(item:WardrobeItem):void{
}
public function removeItem(item:String):void{
this.removeChild(getItemObject(item));
this.itemsList.splice(this.itemsList.indexOf(getItemObject(item)), 1);
}
public function getItemObjectClassName(item:String):String{
var i:WardrobeItem;
for each (i in itemsList) {
if (i.currentLabel == item){
return (getQualifiedClassName(i));
};
};
return (null);
}
public function lockItem(item:String):void{
getItemObject(item).lock();
}
public function highlightItem(item:String):void{
}
public function clearHighlight(item:String):void{
}
}
}//package pl.fabrykagier.engines.dressUp
Section 85
//WardrobeItem (pl.fabrykagier.engines.dressUp.WardrobeItem)
package pl.fabrykagier.engines.dressUp {
import flash.display.*;
public class WardrobeItem extends MovieClip {
private var aviable:Boolean;// = true
public function WardrobeItem(){
aviable = true;
super();
this.mouseChildren = false;
}
public function lock():void{
this.aviable = false;
}
public function unlcok():void{
this.aviable = true;
}
public function isAviable():Boolean{
return (aviable);
}
}
}//package pl.fabrykagier.engines.dressUp
Section 86
//FrameworkLoader (pl.fabrykagier.framework.elements.loader.FrameworkLoader)
package pl.fabrykagier.framework.elements.loader {
import flash.events.*;
import pl.fabrykagier.framework.events.*;
import flash.display.*;
import flash.net.*;
import pl.fabrykagier.framework.main.*;
public class FrameworkLoader extends GameObject {
private var swfLoader:Loader;
private var selfReference:DisplayObject;
private var selfLoad:Boolean;
public static var FRAMEWORK_COMPLETE_EVENT:String = "loadIsComplete";
public static var FRAMEWORK_PROGRESS_EVENT:String = "loaderIsLoading";
public static var LOADER_PARAMETER_PERCENTS_ROUNDED:String = "percentsRounded";
public function FrameworkLoader(selfLoad_:Boolean=false, url:String="", selfReference_:DisplayObject=null):void{
var request:URLRequest;
super();
selfLoad = selfLoad_;
if (selfLoad_){
selfReference = selfReference_;
selfReference.loaderInfo.addEventListener(IOErrorEvent.IO_ERROR, IOHandler);
} else {
swfLoader = new Loader();
request = new URLRequest(url);
swfLoader.load(request);
};
addEventListener(Event.ENTER_FRAME, onLoaderProgress);
}
public function getLoader():LoaderInfo{
if (!selfLoad){
return (swfLoader.contentLoaderInfo);
};
return (selfReference.loaderInfo);
}
private function onLoaderProgress(e:Event):void{
var loaderEvent:FrameworkEvent;
var bytesTotal:Number;
var bytesLoaded:Number;
loaderEvent = new FrameworkEvent(FRAMEWORK_PROGRESS_EVENT);
if (selfLoad){
bytesTotal = selfReference.loaderInfo.bytesTotal;
bytesLoaded = selfReference.loaderInfo.bytesLoaded;
} else {
bytesTotal = swfLoader.contentLoaderInfo.bytesTotal;
bytesLoaded = swfLoader.contentLoaderInfo.bytesLoaded;
};
if (bytesTotal == 0){
return;
};
loaderEvent.addParameter("selfLoad", selfLoad);
loaderEvent.addParameter("bytesTotal", bytesTotal);
loaderEvent.addParameter("bytesLoaded", bytesLoaded);
loaderEvent.addParameter("percents", ((bytesLoaded / bytesTotal) * 100));
loaderEvent.addParameter("percentsRounded", Math.floor(((bytesLoaded / bytesTotal) * 100)));
if (selfLoad){
loaderEvent.addParameter("framesLoaded", MovieClip(selfReference).framesLoaded);
};
dispatchEvent(loaderEvent);
if (bytesLoaded == bytesTotal){
onComplete();
};
}
private function onComplete():void{
dispatchEvent(new FrameworkEvent(FRAMEWORK_COMPLETE_EVENT));
removeEventListener(Event.ENTER_FRAME, onLoaderProgress);
}
public function getContent():DisplayObject{
if (!selfLoad){
return (swfLoader.contentLoaderInfo.content);
};
return (selfReference.loaderInfo.content);
}
private function IOHandler(e:IOErrorEvent):void{
trace("IO ERROR");
}
}
}//package pl.fabrykagier.framework.elements.loader
Section 87
//FrameworkError (pl.fabrykagier.framework.error.FrameworkError)
package pl.fabrykagier.framework.error {
public class FrameworkError extends Error {
public static var LIST_NOOBJECT:String = "Can't find object with specific parameters";
public static var SM_NOOBJECT:String = "Object with this name dosen't exist.";
public static var SO_NAME:String = "FlashCookies Error: First you have to call static method 'init' and set object name.";
public static var LANGUAGE_TEXTFIELD_ERROR:String = "When you use LanguageObject you must have text field named 'languageField' in root directory of linkaged object";
public static var LANGUAGE_INSTANCENAME_ERROR:String = "When you use LanguageObject you must type instance name of linkaged object";
public static var SM_NONAME:String = "Can't find 'name' variable in parameteres object.";
public static var CANT_FIND_STAGE:String = "Can't find stage object.";
public static var CANT_FIND_PARENT:String = "Can't find object parent.";
public static var XML_IO_ERROR:String = "XML IO Error. Probably xml file doesn't exist.";
public static var LANGUAGE_EMPTY_POLL:String = "Elements doesn't exist in xml language file.";
public static var COUNTER:String = "You can't use two kind of counter in one time.";
public static var SO_ID:String = "ID already set to ";
public static var EXTERNAL_NOT_AVAILABLE:String = "External Interface is not available!";
public static var LOADER_NULL:String = "Reference to loaded DisplayObject is null.";
public static var LIST_WRONGTYPE:String = "Wrong type of object. You can use this method only when object type is ";
public static var XML_HAS_NO_CHILDREN:String = "XML node hasn't got any children.";
public static var XML_SECURITY_ERROR:String = "XML Security Error. Probably xml is on other server, try use crossdomain file.";
public static var DESTRUCTOR_ERROR:String = "You must implements destructor method!";
public static var SO_NAME_EMPTY:String = "FlashCookies Error: Object name must have at least one letter.";
public function FrameworkError(message:String){
super(message);
}
}
}//package pl.fabrykagier.framework.error
Section 88
//FrameworkEvent (pl.fabrykagier.framework.events.FrameworkEvent)
package pl.fabrykagier.framework.events {
import flash.events.*;
public class FrameworkEvent extends Event {
private var parametersArray:Array;
public function FrameworkEvent(type, bubbles=false, cancelable=false){
parametersArray = new Array();
super(type, bubbles, cancelable);
}
public function getParameter(parameterName:String){
return (parametersArray[parameterName]);
}
public function addParameter(parameterName:String, parameterValue):void{
parametersArray[parameterName] = parameterValue;
}
}
}//package pl.fabrykagier.framework.events
Section 89
//XMLParser (pl.fabrykagier.framework.external.XMLParser)
package pl.fabrykagier.framework.external {
import flash.events.*;
import pl.fabrykagier.framework.events.*;
import pl.fabrykagier.framework.error.*;
import flash.net.*;
public class XMLParser extends EventDispatcher {
private var lastPath:String;
private var xmlPath:String;
private var xmlLoader:URLLoader;
private var xmlFile:XML;
public static var STATE_EVENT_LOAD_ERROR:String = "state:error";
public static var STATE_EVENT_LOADING:String = "state:loading";
public static var STATE_EVENT_LOAD_COMPLETE:String = "state:complete";
public function XMLParser(xmlToLoad:String){
xmlFile = new XML();
super();
xmlPath = xmlToLoad;
load(xmlPath);
}
public function parseNodesToArray(mainNode:String):Array{
var nodeList:XMLList;
var children:XMLList;
var returnArray:Array;
var i:*;
nodeList = xmlFile.elements(mainNode);
if (((((!(nodeList)) || (!(nodeList.children())))) || ((nodeList.children().length() == 0)))){
throw (new FrameworkError(FrameworkError.XML_HAS_NO_CHILDREN));
};
children = nodeList.children();
returnArray = new Array();
for each (i in children) {
returnArray[i.name()] = i;
};
return (returnArray);
}
private function xmlSecurityError(event:Event){
var loadEvent:FrameworkEvent;
loadEvent = new FrameworkEvent(STATE_EVENT_LOAD_ERROR);
loadEvent.addParameter("xmlName", xmlPath);
dispatchEvent(loadEvent);
throw (new FrameworkError(FrameworkError.XML_SECURITY_ERROR));
}
public function load(_xmlPath:String){
var loadEventHaving:FrameworkEvent;
var xmlURL:URLRequest;
var loadEvent:FrameworkEvent;
trace("LAST: ", lastPath);
trace("PATH: ", _xmlPath);
if (lastPath == _xmlPath){
trace("HAVING DATA!");
loadEventHaving = new FrameworkEvent(STATE_EVENT_LOAD_COMPLETE);
loadEventHaving.addParameter("xmlName", xmlPath);
dispatchEvent(loadEventHaving);
} else {
lastPath = _xmlPath;
trace("LOADING... ", lastPath);
xmlPath = _xmlPath;
xmlURL = new URLRequest(xmlPath);
xmlLoader = new URLLoader(xmlURL);
xmlLoader.addEventListener("complete", xmlLoaded);
xmlLoader.addEventListener("ioError", xmlIoError);
xmlLoader.addEventListener("securityError", xmlSecurityError);
loadEvent = new FrameworkEvent(STATE_EVENT_LOADING);
loadEvent.addParameter("xmlName", xmlPath);
dispatchEvent(loadEvent);
};
}
private function xmlIoError(event:Event){
var loadEvent:FrameworkEvent;
loadEvent = new FrameworkEvent(STATE_EVENT_LOAD_ERROR);
loadEvent.addParameter("xmlName", xmlPath);
dispatchEvent(loadEvent);
throw (new FrameworkError(FrameworkError.XML_IO_ERROR));
}
private function xmlLoaded(event:Event):void{
var loadEvent:FrameworkEvent;
xmlFile = XML(xmlLoader.data);
loadEvent = new FrameworkEvent(STATE_EVENT_LOAD_COMPLETE);
loadEvent.addParameter("xmlName", xmlPath);
dispatchEvent(loadEvent);
}
}
}//package pl.fabrykagier.framework.external
Section 90
//Model (pl.fabrykagier.framework.gameCharacters.model.Model)
package pl.fabrykagier.framework.gameCharacters.model {
import flash.events.*;
import flash.display.*;
import flash.utils.*;
public class Model extends MovieClip {
protected var styleSplitPosition:int;// = 1
protected var styleExeptions:Array;
private var aviableItems:Array;
private var itemsList:Array;
public static var RENDER:String = "render";
public function Model(){
itemsList = [];
styleExeptions = [];
styleSplitPosition = 1;
aviableItems = [];
super();
}
public function itemOnList(item:String):Boolean{
if (itemsList.indexOf(item) > -1){
return (true);
};
return (false);
}
public function get _aviableItems():Array{
return (aviableItems);
}
public function saveItems():Array{
var saveArray:Array;
var item:String;
saveArray = [];
for each (item in itemsList) {
saveArray.push(item);
};
return (saveArray);
}
public function removeAll():void{
itemsList = [];
update();
}
public function setItem(item:String):Array{
var split:Array;
var splitItem:Array;
var exeptions:Array;
var tmpItem:String;
var toExept:String;
if (itemsList.indexOf(item) == -1){
itemsList.push(item);
};
update();
splitItem = item.split("_");
exeptions = [];
for each (tmpItem in itemsList) {
if (tmpItem == item){
} else {
split = tmpItem.split("_");
if (splitItem[this.styleSplitPosition] == split[this.styleSplitPosition]){
exeptions.push(tmpItem);
};
for each (toExept in styleExeptions[splitItem[this.styleSplitPosition]]) {
if (toExept == split[this.styleSplitPosition]){
exeptions.push(tmpItem);
};
};
};
};
return (exeptions);
}
public function getItemObject(item:String):ModelItem{
var obj:int;
obj = 0;
while (obj < this.numChildren) {
if ((obj is ModelItem)){
if (ModelItem(obj).name == item){
return (ModelItem(obj));
};
};
obj++;
};
return (null);
}
public function get _itemList():Array{
return (itemsList);
}
public function loadItems(items:Array):void{
removeAll();
setItems(items);
}
public function removeItem(item:String):void{
if (itemsList.indexOf(item) > -1){
itemsList.splice(itemsList.indexOf(item), 1);
update();
};
}
public function update():void{
this.dispatchEvent(new Event(RENDER));
}
public function setItems(items:Array):void{
var item:String;
for each (item in items) {
if (itemsList.indexOf(item) == -1){
itemsList.push(item);
};
};
update();
}
public function getItemObjectClassName(item:String):String{
var obj:ModelItem;
obj = getItemObject(item);
if (!obj){
return (null);
};
return (getQualifiedClassName(obj));
}
}
}//package pl.fabrykagier.framework.gameCharacters.model
Section 91
//ModelItem (pl.fabrykagier.framework.gameCharacters.model.ModelItem)
package pl.fabrykagier.framework.gameCharacters.model {
import flash.events.*;
import flash.display.*;
public class ModelItem extends MovieClip {
private var model:Model;
private var alreadySet:Boolean;// = false
public function ModelItem(){
alreadySet = false;
super();
this.mouseChildren = false;
this.visible = false;
this.addEventListener(Event.ADDED_TO_STAGE, setIt);
this.addEventListener(Event.REMOVED_FROM_STAGE, destroy);
}
private function destroy(event:Event):void{
this.removeEventListener(Event.REMOVED_FROM_STAGE, destroy);
if (model){
model.removeEventListener(Model.RENDER, render);
};
model = null;
}
private function setIt(event:Event):void{
var f:FrameLabel;
this.addEventListener(Event.ADDED_TO_STAGE, setIt);
findModel();
if (model){
model.addEventListener(Model.RENDER, render);
if (!this.alreadySet){
this.alreadySet = true;
for each (f in this.currentLabels) {
model._aviableItems.push(f.name);
};
};
};
render(null);
}
protected function hide():void{
this.visible = false;
}
public function render(event:Event):void{
var f:FrameLabel;
if (!model){
return;
};
for each (f in this.currentLabels) {
if (model.itemOnList(f.name)){
this.gotoAndStop(f.name);
show();
return;
};
};
hide();
}
protected function show():void{
this.visible = true;
}
private function findModel():void{
var tmp:DisplayObject;
tmp = this.parent;
while (tmp != this.stage) {
if ((tmp is Model)){
model = Model(tmp);
break;
};
tmp = tmp.parent;
};
}
}
}//package pl.fabrykagier.framework.gameCharacters.model
Section 92
//ModelItemFirstFrame (pl.fabrykagier.framework.gameCharacters.model.ModelItemFirstFrame)
package pl.fabrykagier.framework.gameCharacters.model {
public class ModelItemFirstFrame extends ModelItem {
public function ModelItemFirstFrame(){
super();
this.visible = true;
}
override protected function hide():void{
this.gotoAndStop(1);
this.mouseChildren = false;
this.mouseEnabled = false;
}
override protected function show():void{
this.mouseChildren = true;
this.mouseEnabled = true;
}
}
}//package pl.fabrykagier.framework.gameCharacters.model
Section 93
//LanguageButton (pl.fabrykagier.framework.language.LanguageButton)
package pl.fabrykagier.framework.language {
import pl.fabrykagier.framework.media.*;
import flash.events.*;
import flash.display.*;
import pl.fabrykagier.game.fashiondesigner.*;
import pl.fabrykagier.framework.utils.*;
import pl.fabrykagier.framework.error.*;
import pl.fabrykagier.framework.ui.graphical.*;
public class LanguageButton extends InterfaceButton {
private var flagIcon:MovieClip;
private var language:String;// = ""
public var flag:MovieClip;
private var country:String;// = ""
public function LanguageButton(){
var parameters:ParametersObject;
var label:String;
var isOK:Boolean;
var l:FrameLabel;
country = "";
language = "";
super();
this.buttonMode = true;
flagIcon = (this.getChildByName("flag") as MovieClip);
parameters = new ParametersObject(this.name);
if (parameters.getValue("country") != null){
country = parameters.getValue("country");
};
if (parameters.getValue("language") != null){
language = parameters.getValue("language");
};
if (flagIcon != null){
if (country != ""){
label = country;
} else {
if (language != ""){
label = LanguageTranslations.getCoutryByLanguage(language);
};
};
isOK = false;
for each (l in flagIcon.currentLabels) {
if (l.name == label){
isOK = true;
break;
};
};
if (isOK){
flagIcon.gotoAndStop(label);
} else {
new FrameworkError(((("In LanguageButton: " + this.name) + " is no flag like: ") + label));
};
};
if ((((country == "")) && ((language == "")))){
new FrameworkError((("In LanguageButton: " + this.name) + " no language or country is set"));
} else {
if (country == ""){
country = LanguageTranslations.getCoutryByLanguage(language);
};
if (language == ""){
language = LanguageTranslations.getLanguageByCoutry(country);
};
};
}
override protected function onClick(e:MouseEvent):void{
super.onClick(e);
SoundManager.playSound({name:"btn_click", loops:1});
LanguageManager.getInstance().changeCountry(country);
LanguageManager.getInstance().changeLanguage(language);
MainScene.INSTANCE.onSetLanguage();
}
}
}//package pl.fabrykagier.framework.language
Section 94
//LanguageManager (pl.fabrykagier.framework.language.LanguageManager)
package pl.fabrykagier.framework.language {
import flash.events.*;
import pl.fabrykagier.framework.events.*;
import pl.fabrykagier.framework.error.*;
import pl.fabrykagier.framework.external.*;
public class LanguageManager extends EventDispatcher {
private var currentLanguage_:String;// = "us"
private var findPattern:Array;
private var parser:XMLParser;
private var languageArray:Array;
private var currentCountry_:String;// = "UnitedStatesOfAmerica"
private var xmlPath:String;// = ""
private var defaultLanguage:String;// = "us"
private static var instance:LanguageManager;
private static var fileType:String = ".xml";
public static var CHANGE_LANGUAGE:String = "onChangeLanguage";
private static var allLanguage:String = "languages";
public static var LANGUAGE_LOADED:String = "onLoadedLanguage";
public function LanguageManager(lock:PrivateClass):void{
var i:*;
defaultLanguage = "us";
xmlPath = "";
findPattern = LanguageTranslations._language;
languageArray = new Array();
currentLanguage_ = "us";
currentCountry_ = "UnitedStatesOfAmerica";
super();
for (i in findPattern) {
(languageArray[i] == new Array());
};
}
public function getDefaultLanguage():String{
return (defaultLanguage);
}
public function get currentLanguageID():int{
return (findPattern.indexOf(currentLanguage_));
}
private function tryParseLanguages(e:FrameworkEvent):void{
var i:String;
for (i in findPattern) {
languageArray[findPattern[i]] = parser.parseNodesToArray(findPattern[i]);
};
dispatchEvent(new FrameworkEvent(LANGUAGE_LOADED));
}
public function setFindPattern(arg:Array):void{
var i:*;
findPattern = arg;
languageArray = new Array();
for (i in findPattern) {
(languageArray[i] == new Array());
};
}
public function loadLanguages(data:XML=null):void{
var i:String;
if (data){
for (i in findPattern) {
languageArray[findPattern[i]] = parseNodesToArray(findPattern[i], data);
};
} else {
if (!parser){
parser = new XMLParser(((xmlPath + allLanguage) + fileType));
} else {
parser.load(((xmlPath + allLanguage) + fileType));
};
parser.addEventListener(XMLParser.STATE_EVENT_LOAD_COMPLETE, tryParseLanguages);
};
}
public function get currentCountry():String{
return (currentCountry_);
}
public function parseNodesToArray(mainNode:String, data:XML):Array{
var nodeList:XMLList;
var children:XMLList;
var returnArray:Array;
var i:*;
nodeList = data.elements(mainNode);
if (((((!(nodeList)) || (!(nodeList.children())))) || ((nodeList.children().length() == 0)))){
throw (new FrameworkError(FrameworkError.XML_HAS_NO_CHILDREN));
};
children = nodeList.children();
returnArray = new Array();
for each (i in children) {
returnArray[i.name()] = i;
};
return (returnArray);
}
public function getText(elementId:String, language:String="_current"):String{
if (language == "_current"){
language = currentLanguage;
};
if ((((languageArray[language] == undefined)) || ((languageArray[language][elementId] == "")))){
return ("");
};
return (languageArray[language][elementId]);
}
public function loadLanguage(languageName:Array):void{
}
public function changeLanguage(language:String):void{
var e:FrameworkEvent;
if (language == currentLanguage_){
return;
};
currentLanguage_ = language;
e = new FrameworkEvent(CHANGE_LANGUAGE);
e.addParameter("language", language);
dispatchEvent(e);
}
public function getFindPatter():Array{
return (findPattern);
}
public function get currentLanguage():String{
return (currentLanguage_);
}
public function setDefaultLanguage(_defaultLanguage:String):void{
defaultLanguage = _defaultLanguage;
}
public function changeCountry(country:String):void{
currentCountry_ = country;
}
public static function getInstance():LanguageManager{
if (!instance){
instance = new LanguageManager(new PrivateClass());
};
return (instance);
}
}
}//package pl.fabrykagier.framework.language
class PrivateClass {
private function PrivateClass(){
super();
}
}
Section 95
//LanguageObjectFrameSwitch (pl.fabrykagier.framework.language.LanguageObjectFrameSwitch)
package pl.fabrykagier.framework.language {
import pl.fabrykagier.framework.events.*;
import flash.text.*;
import pl.fabrykagier.framework.main.*;
public class LanguageObjectFrameSwitch extends GameObject {
public var playAgain:TextField;
public function LanguageObjectFrameSwitch(){
super();
addEventListener(LanguageManager.CHANGE_LANGUAGE, onChangeLanguage);
LanguageManager.getInstance().addEventListener(LanguageManager.CHANGE_LANGUAGE, onChangeLanguage);
changeLanguage();
}
private function changeLanguage():void{
this.gotoAndStop((LanguageManager.getInstance().currentLanguageID + 1));
}
private function onChangeLanguage(e:FrameworkEvent):void{
changeLanguage();
}
}
}//package pl.fabrykagier.framework.language
Section 96
//LanguageTranslations (pl.fabrykagier.framework.language.LanguageTranslations)
package pl.fabrykagier.framework.language {
import pl.fabrykagier.framework.error.*;
public class LanguageTranslations {
private static var data:XML = <text>
<us>
<ArrayHint1> When choosing clothing, remember to make them match well. </ArrayHint1>
<ArrayHint2> Dress up a model according to her beauty. </ArrayHint2>
<ArrayHint3> Remember that make-up has an effect on your final reviews. </ArrayHint3>
<ArrayHint4> Try to choose clothing items that have matching colors. </ArrayHint4>
<ArrayHint5> Try to choose clothing items so the styles harmonize with each other. </ArrayHint5>
<ArrayHint6> Mixing two bright colors is very risky. </ArrayHint6>
<ArrayHint7> Deep blue, juicy green, intense red and grey colors look best on blonde models. </ArrayHint7>
<ArrayHint8> Be sure to always do the make up before going to show. A good make up will add to the overall look of the creation and gain you extra points. </ArrayHint8>
<MakeupOK>This model’s makeup looks just right! </MakeupOK>
<MakeupDark>That makeup is a little dark for this outfit. Try using something a little lighter. </MakeupDark>
<MakeupLight>That makeup is a little light for this outfit. Try using something a little darker. </MakeupLight>
<AccNice>I like the way that accessory looks with these clothes. </AccNice>
<AccBad>Your accessory doesn’t quite match the outfit. Maybe you should try something that looks a little more </AccBad>
<AccBad2> </AccBad2>
<AccLack>This model could use an accessory. </AccLack>
<Good1Part1>I think the </Good1Part1>
<Good1Part2> ok. </Good1Part2>
<Bad1Part1>I think the </Bad1Part1>
<Bad1Part2> a little too </Bad1Part2>
<Bad1Part3>. Maybe you should try a different items. </Bad1Part3>
<AllGreat1>I love those top, bottom and shoes! It looks perfect on that model!</AllGreat1>
<AllGreat2>I think the top, buttom and shoes are ok. </AllGreat2>
<AllBad1>You need to change the top, bottom and shoes. Something's not quite right. </AllBad1>
<AllBad2>The combination of top, bottom and shoez doesn't go well together. </AllBad2>
<AllBad3>The combination of top, bottom and shoes, isn't a good choice. </AllBad3>
<FinalScoreBad>Unfortunately, this outfit just does not match the style at all. The designer needs to make sure that they are picking clothes that match the style of the model. Maybe next time! </FinalScoreBad>
<FinalScoreMedium>I see what the designer was trying to do but some of the elements of this outfit just don’t quite fit. With a few tweaks, this model could look much better. All good designers need to trust their instinct but also listen to their advisors. </FinalScoreMedium>
<FinalScoreNice1>This outfit is fabulous! The designer has really captured the essence of the </FinalScoreNice1>
<FinalScoreNice2> style and created something original. You’ll be seeing this look on plenty of magazine covers! I can’t wait to see what else this designer is going to create. </FinalScoreNice2>
<TotalScore>Total score :</TotalScore>
<LetCNextModel>Let's see the next model! </LetCNextModel>
<LetCFinalScore>So, let's see the final score! </LetCFinalScore>
<PopupShowWelcome1>Hello and welcome to the </PopupShowWelcome1>
<PopupShowWelcome2> Fashion Show! I am your host Jaye Davidson, editor-in-chief of Looking Good magazine. But enough about me, let’s get on with the show!</PopupShowWelcome2>
<PopupNoDressStop>Whoa!</PopupNoDressStop>
<PopupNoDress>still need some work.</PopupNoDress>
<EnterName>Enter your First Name</EnterName>
<Hello>Hello</Hello>
<And>and</And>
<London>London</London>
<Tokyo>Tokyo</Tokyo>
<Paris>Paris</Paris>
<NewYork>New York</NewYork>
<casual>casual</casual>
<dressy>dressy</dressy>
<professional>professional</professional>
<loading>loading game...</loading>
<Style>Style: </Style>
<top>top</top>
<bottom>bottom</bottom>
<shoes>shoes</shoes>
<is>is</is>
<are>are</are>
<BuyNowLink>http://imagine.ubi.com/artistbuynow/?utm_source=partnersites&utm_medium=flashgame_buynow&utm_campaign=artist</BuyNowLink>
<mochi>13b4f6ee</mochi>
<eMailAdress>[receiver’s e-mail address]</eMailAdress>
</us>
<uk>
<ArrayHint1> When choosing garments, remember to match them well. </ArrayHint1>
<ArrayHint2> Dress a model based on her beauty type. </ArrayHint2>
<ArrayHint3> Remember that make-up has an effect on your final reviews. </ArrayHint3>
<ArrayHint4> When choosing items try colours that go together. </ArrayHint4>
<ArrayHint5> Try to choose garment styles that go well with each other. </ArrayHint5>
<ArrayHint6> Mixing two bright colours together is very risky. </ArrayHint6>
<ArrayHint7> Deep blue, sparkly green, intense red and grey look best on blonde models. </ArrayHint7>
<ArrayHint8> Be sure to always do the make-up before the show. Good make-up will add to the overall look of your creation and win you extra points. </ArrayHint8>
<MakeupOK>This model’s make-up looks just right! </MakeupOK>
<MakeupDark>That make-up is a little dark for this outfit. Try using something a little lighter. </MakeupDark>
<MakeupLight>That make-up is a little light for this outfit. Try using something a little darker. </MakeupLight>
<AccNice>I like the way that accessory looks with these clothes. </AccNice>
<AccBad>Your accessory doesn’t quite match the outfit. Maybe you should try something that looks a little more </AccBad>
<AccBad2> </AccBad2>
<AccLack>This model could use an accessory. </AccLack>
<Good1Part1>I think the </Good1Part1>
<Good1Part2> ok. </Good1Part2>
<Bad1Part1>I think the </Bad1Part1>
<Bad1Part2> a little too </Bad1Part2>
<Bad1Part3>. Maybe you should try a different items. </Bad1Part3>
<AllGreat1>I love those top, bottom and shoes! They look perfect on that model!</AllGreat1>
<AllGreat2>I think the top, bottom and shoes are ok.</AllGreat2>
<AllBad1>You need to change the top, bottom and shoes. Something's not quite right. </AllBad1>
<AllBad2>The combination of top, bottom and shoes doesn't go well together. </AllBad2>
<AllBad3>The combination of top, bottom and shoes, isn't a good choice. </AllBad3>
<FinalScoreBad>Unfortunately, this outfit just doesn't match the style at all. The designer needs to make sure they choose the clothes that match the model's style. Maybe next time!</FinalScoreBad>
<FinalScoreMedium>I see what the designer was trying to do, but some of the elements in this outfit just don’t quite fit. With a few tweaks, this model could look so much better. All good designers need to trust their instincts, but also listen to advice. </FinalScoreMedium>
<FinalScoreNice1>This outfit is fabulous! The designer has really captured the essence of the </FinalScoreNice1>
<FinalScoreNice2> style and created something original. You’ll be seeing this look on plenty of magazine covers! I can’t wait to see what else this designer is going to create. </FinalScoreNice2>
<TotalScore>Total score :</TotalScore>
<LetCNextModel>Let's see the next model! </LetCNextModel>
<LetCFinalScore>So, let's see the final score! </LetCFinalScore>
<PopupShowWelcome1>Hello and welcome to the </PopupShowWelcome1>
<PopupShowWelcome2> Fashion Show! I'm your host Jaye Davidson, Editor-in-Chief of Looking Good magazine. But enough about me, let’s get on with the show!</PopupShowWelcome2>
<PopupNoDressStop>Whoa!</PopupNoDressStop>
<PopupNoDress>still need some work.</PopupNoDress>
<EnterName>Enter your First Name</EnterName>
<Hello>Hello</Hello>
<And>and</And>
<London>London</London>
<Tokyo>Tokyo</Tokyo>
<Paris>Paris</Paris>
<NewYork>New York</NewYork>
<casual>casual</casual>
<dressy>dressy</dressy>
<professional>professional</professional>
<loading>loading game...</loading>
<Style>Style: </Style>
<top>top</top>
<bottom>bottom</bottom>
<shoes>shoes</shoes>
<is>is</is>
<are>are</are>
<BuyNowLink>https://secure.ubi.com/login/?lang=en-GB&skin=imagineemea</BuyNowLink>
<mochi>bcc468f7</mochi>
<eMailAdress>[receiver’s e-mail address]</eMailAdress>
</uk>
<de>
<ArrayHint1> Achte bei der Wahl der Kleidung auf den Anlass. </ArrayHint1>
<ArrayHint2> Kleide ein Model entsprechend ihrem Stil und ihrer Schönheit. </ArrayHint2>
<ArrayHint3> Bedenke, dass sich das Make-up auf deine Schlussbeurteilung auswirkt. </ArrayHint3>
<ArrayHint4> Wähle am besten Kleidung mit zueinander passenden Farben. </ArrayHint4>
<ArrayHint5> Wähle am besten Kleidung deren Stil zueinander passt. </ArrayHint5>
<ArrayHint6> Zwei auffällige Farben zu kombinieren, ist sehr riskant. </ArrayHint6>
<ArrayHint7> Dunkelblau, sattes Grün, intesives Rot und Grau sind die perfekten Farben für blonde Models. </ArrayHint7>
<ArrayHint8> Vergiss das Make-up nicht, bevor du zur Show antrittst. Ein gutes Make-up rundet deinen Auftritt ab und verschafft dir Extrapunkte. </ArrayHint8>
<MakeupOK>Das Make-up des Models ist perfekt! </MakeupOK>
<MakeupDark>Das Make-up ist etwas zu dunkel für das Outfit. Probiere ein helleres aus. </MakeupDark>
<MakeupLight>Das Make-up ist etwas zu hell für das Outfit. Probiere ein dunkleres aus. </MakeupLight>
<AccNice>Ich mag es, wie sich Assessoire und Outfit ergänzen. </AccNice>
<AccBad>Das Assessoire passt nicht gut zum Outfit. Vielleicht probierst du etwas im </AccBad>
<AccBad2> Stil. </AccBad2>
<AccLack>Dieses Model könnte ein Assessoire vertragen. </AccLack>
<Good1Part1>Ich finde, </Good1Part1>
<Good1Part2> okay. </Good1Part2>
<Bad1Part1>Ich glaube, </Bad1Part1>
<Bad1Part2> etwas zu sehr im </Bad1Part2>
<Bad1Part3>Stil. Vielleicht versuchst du ein anderes Kleidungsstück. </Bad1Part3>
<AllGreat1>Ich liebe dieses Oberteil, dieses Unterteil und diese Schuhe! Sie passen perfekt zum Model!</AllGreat1>
<AllGreat2>Ich finde, dieses Oberteil, dieses Unterteil und diese Schuhe sind okay.</AllGreat2>
<AllBad1>Du musst dieses Oberteil, dieses Unterteil und diese Schuhe wechseln. Da passt was nicht zusammen. </AllBad1>
<AllBad2>Die Kombination dieses Oberteils, dieses Unterteils und dieser Schuhe harmoniert nicht gut. </AllBad2>
<AllBad3>Die Kombination dieses Oberteils, dieses Unterteils und dieser Schuhe ist keine gute Wahl. </AllBad3>
<FinalScoreBad>Leider trifft dieses Outfit den Stil überhaupt nicht. Die Designerin muss sichergehen, dass die ausgewählten Kleidungsstücke zum Stil des Models passen. Vielleicht nächstes mal! </FinalScoreBad>
<FinalScoreMedium>Ich verstehe, was die Designerin versucht hat umzusetzen, aber einige Elemente des Outfit passen einfach nicht zusammen. Mit ein paar kleinen Verbesserungen würde das Model viel besser aussehen. Jede gute Designerin vertraut auf ihr Gespühr, muss aber auch ein Ohr für Ratschläge haben. </FinalScoreMedium>
<FinalScoreNice1>Dieses Outfit ist fabelhaft! Die Designerin hat das Wesen des </FinalScoreNice1>
<FinalScoreNice2> Stils gut umgesetzt und was richtig originelles erschaffen. Diesen Look wirst du noch auf vielen Modemagazinen wiedersehen! Ich kann es kaum erwarten, was diese Designerin noch entwerfen wird. </FinalScoreNice2>
<TotalScore>Gesamtpunkte :</TotalScore>
<LetCNextModel>Wie sieht das nächste Model aus? </LetCNextModel>
<LetCFinalScore>Wie sieht deine Gesamtpunktzahl aus? </LetCFinalScore>
<PopupShowWelcome1>Hallo und Willkommen zur </PopupShowWelcome1>
<PopupShowWelcome2>-Modenshow! Ich bin der Moderator Jaye Davidson, Chefredakteur vom "Looking Good"-Magazin. Aber genug von mir, lass die Show beginnen!</PopupShowWelcome2>
<PopupNoDressStop>Halt!</PopupNoDressStop>
<PopupNoDress>müssen noch verbessert werden.</PopupNoDress>
<EnterName>Wie heißt du?</EnterName>
<Hello>Hallo</Hello>
<And>und</And>
<London>London</London>
<Tokyo>Tokyo</Tokyo>
<Paris>Paris</Paris>
<NewYork>New York</NewYork>
<casual>Freizeit</casual>
<dressy>Glamour</dressy>
<professional>Business</professional>
<loading>Lädt Spiel...</loading>
<Style>Stil: </Style>
<top>dieses Oberteil</top>
<bottom>dieses Unterteil</bottom>
<shoes>diese Schuhe</shoes>
<is>ist</is>
<are>sind</are>
<BuyNowLink>https://secure.ubi.com/login/?lang=de-DE&skin=imagineemea</BuyNowLink>
<mochi>66158347</mochi>
<eMailAdress>[E-mail Adresse des Empfängers]</eMailAdress>
</de>
<it>
<ArrayHint1> Quando scegli dei vestiti, cerca di abbinarli. </ArrayHint1>
<ArrayHint2> Vesti una modella in base alla sua bellezza. </ArrayHint2>
<ArrayHint3> Ricordati che il trucco contribuisce al risultato finale. </ArrayHint3>
<ArrayHint4> Scegli i capi abbinando i colori. </ArrayHint4>
<ArrayHint5> Scegli i vari capi cercando di armonizzare lo stile. </ArrayHint5>
<ArrayHint6> Abbinare due colori accesi è piuttosto rischioso. </ArrayHint6>
<ArrayHint7> Il blu scuro, il verde brillante, il rosso intenso e il grigio stanno meglio sulle modelle bionde. </ArrayHint7>
<ArrayHint8> Prima della sfilata ricordati sempre di truccare la modella. Un buon trucco contribuirà al risultato facendoti guadagnare più punti. </ArrayHint8>
<MakeupOK>Il trucco di questa modella è perfetto! </MakeupOK>
<MakeupDark>Quel trucco è un po' troppo scuro per questo completo. Prova qualcosa di più chiaro. </MakeupDark>
<MakeupLight> Quel trucco è un po' troppo chiaro per questo completo. Prova qualcosa di più scuro. </MakeupLight>
<AccNice>Quell'accessorio si abbina benissimo a questi vestiti. </AccNice>
<AccBad>L'accessorio non si abbina al completo. Cerca qualcosa che abbia uno stile più </AccBad>
<AccBad2> </AccBad2>
<AccLack>Servirebbe un accessorio... </AccLack>
<Good1Part1></Good1Part1>
<Good1Part2> bene. </Good1Part2>
<Bad1Part1> </Bad1Part1>
<Bad1Part2> lo stile un po' troppo </Bad1Part2>
<Bad1Part3>Forse è meglio provare qualcosa di diverso. </Bad1Part3>
<AllGreat1>Sopra, sotto e scarpe si abbinano alla perfezione! Stanno benissimo a quella modella!</AllGreat1>
<AllGreat2>Sopra, sotto e scarpe vanno bene.</AllGreat2>
<AllBad1>Cambia l'abbinamento sopra, sotto e scarpe. C'è qualcosa che stona. </AllBad1>
<AllBad2>L'abbinamento sopra, sotto e scarpe non va affatto bene.</AllBad2>
<AllBad3>L'abbinamento sopra, sotto e scarpe è tutto sbagliato.</AllBad3>
<FinalScoreBad>Purtroppo questo completo non va bene! Una stilista deve abbinare gli abiti allo stile della modella. Andrà meglio la prossima volta! </FinalScoreBad>
<FinalScoreMedium>L'idea della stilista emerge in parte, ma alcuni elementi stonano. Bisognerebbe apportare qualche ritocco. Una brava stilista deve fidarsi del proprio istinto, ma anche ascoltare i consulenti. </FinalScoreMedium>
<FinalScoreNice1>Che completo stupendo! La stilista ha davvero catturato l'essenza dello stile </FinalScoreNice1>
<FinalScoreNice2> realizzando un abito originale. Sarà su tutte le copertine! Non vediamo l'ora di vedere la sua prossima creazione... </FinalScoreNice2>
<TotalScore>Punteggio totale :</TotalScore>
<LetCNextModel>Vediamo la prossima modella! </LetCNextModel>
<LetCFinalScore>Vediamo il punteggio finale! </LetCFinalScore>
<PopupShowWelcome1>Benvenuti alla sfilata di </PopupShowWelcome1>
<PopupShowWelcome2> ! Sono Jaye Davidson, redattrice capo della rivista Looking Good. Diamo il via alla sfilata!</PopupShowWelcome2>
<PopupNoDressStop>Ehi!</PopupNoDressStop>
<PopupNoDress>Bisogna ancora preparare</PopupNoDress>
<EnterName>Inserisci il tuo nome</EnterName>
<Hello>Ciao</Hello>
<And>e</And>
<London>Londra</London>
<Tokyo>Tokyo</Tokyo>
<Paris>Parigi</Paris>
<NewYork>New York</NewYork>
<casual>casual</casual>
<dressy>elegante</dressy>
<professional>professionale</professional>
<loading>Caricamento partita...</loading>
<Style>Stile: </Style>
<top>sopra</top>
<bottom>sotto</bottom>
<shoes>scarpe</shoes>
<is>va</is>
<are>vanno</are>
<BuyNowLink>https://secure.ubi.com/login/?lang=it-IT&skin=imagineemea</BuyNowLink>
<mochi>6370ab2b</mochi>
<eMailAdress>[indirizzo di e-mail del destinatario]</eMailAdress>
</it>
<es>
<ArrayHint1> Cuando elijas las prendas, acuérdate de que combinen bien. </ArrayHint1>
<ArrayHint2> Viste a la modelo de acuerdo con su belleza. </ArrayHint2>
<ArrayHint3> Recuerda que el maquillaje tiene efecto en tus críticas finales. </ArrayHint3>
<ArrayHint4> Intenta elegir prendas que tengan colores que combinen. </ArrayHint4>
<ArrayHint5> Intenta elegir las prendas de modo que haya armonía entre los estilos. </ArrayHint5>
<ArrayHint6> Mezclar dos colores fuertes es muy arriesgado. </ArrayHint6>
<ArrayHint7> Los colores azul oscuro, verde manzana, rojo intenso y gris quedan mejor en las modelos rubias. </ArrayHint7>
<ArrayHint8> Asegúrate de poner el maquillaje antes de comenzar el desfile. Un buen maquillaje mejorará el aspecto global de la creación y te proporcionará puntos extra. </ArrayHint8>
<MakeupOK>¡El maquillaje de esta modelo queda muy bien! </MakeupOK>
<MakeupDark>Ese maquillaje es un poco oscuro para este conjunto. Prueba a usar algo más claro. </MakeupDark>
<MakeupLight>Ese maquillaje es un poco claro para este conjunto. Prueba a usar algo más oscuro. </MakeupLight>
<AccNice>Me gusta como queda ese accesorio con esta ropa. </AccNice>
<AccBad>Tu accesorio no queda del todo bien con el conjunto. Quizá deberías probar algo que parezca más </AccBad>
<AccBad2> </AccBad2>
<AccLack>A esta modelo le quedaría bien un accesorio. </AccLack>
<Good1Part1>Creo que </Good1Part1>
<Good1Part2> bien. </Good1Part2>
<Bad1Part1>Creo que </Bad1Part1>
<Bad1Part2> demasiado </Bad1Part2>
<Bad1Part3>. Podrías probar con una prenda diferente. </Bad1Part3>
<AllGreat1>¡Me encantan esa prenda superior, esa prenda inferior y esos zapatos! ¡Quedan geniales en la modelo!</AllGreat1>
<AllGreat2>Creo que esa prenda superior, esa prenda inferior y esos zapatos están bien.</AllGreat2>
<AllBad1>Has de cambiar la combinación de prenda superior, prenda inferior y zapatos. Hay algo que no encaja. </AllBad1>
<AllBad2>La combinación de prenda superior, prenda inferior y zapatos no encaja.</AllBad2>
<AllBad3>La combinación de prenda superior, prenda inferior y zapatos es una buena elección. </AllBad3>
<FinalScoreBad>Por desgracia, este conjunto no encaja nada bien con el estilo. La diseñadora debería asegurarse de escoger ropa que vaya con el estilo de la modelo. ¡Quizá la próxima vez! </FinalScoreBad>
<FinalScoreMedium>Entiendo qué era lo que intentaba conseguir la diseñadora, pero algunos elementos de este conjunto no encajan. Con unos retoques, esta modelo podría quedar mucho mejor. Todos los buenos diseñadores deben confiar en su instinto, pero también escuchar a sus asesores. </FinalScoreMedium>
<FinalScoreNice1>¡Este conjunto es fabuloso! La diseñadora ha captado la esencia del estilo </FinalScoreNice1>
<FinalScoreNice2> y ha creado algo original. ¡Encontrarás este look en multitud de portadas de revistas! Estoy deseando ver qué más crea esta diseñadora. </FinalScoreNice2>
<TotalScore>Puntuación total :</TotalScore>
<LetCNextModel>¡Veamos la siguiente modelo! </LetCNextModel>
<LetCFinalScore>¡Veamos la puntuación final! </LetCFinalScore>
<PopupShowWelcome1>¡Hola y bienvenidos al desfile de </PopupShowWelcome1>
<PopupShowWelcome2>! Soy Jaye Davidson, editora jefe de la revista Tu aspecto, y presentadora de este acto. Basta de hablar de mí, ¡sigamos con el pase!</PopupShowWelcome2>
<PopupNoDressStop>¡Un momento!</PopupNoDressStop>
<PopupNoDress>aún necesitan arreglos.</PopupNoDress>
<EnterName>Introduce tu nombre de pila.</EnterName>
<Hello>¡Hola</Hello>
<And>y</And>
<London>Londres</London>
<Tokyo>Tokio</Tokyo>
<Paris>París</Paris>
<NewYork>Nueva York</NewYork>
<casual>informal</casual>
<dressy>elegante</dressy>
<professional>profesional</professional>
<loading>cargando el juego...</loading>
<Style>Estilo: </Style>
<top>prenda superior</top>
<bottom>prenda inferior</bottom>
<shoes>zapatos</shoes>
<is>está</is>
<are>están</are>
<BuyNowLink>https://secure.ubi.com/login/?lang=es-ES&skin=imagineemea</BuyNowLink>
<mochi>2d0a6af9</mochi>
<eMailAdress>[dirección de correo del destinatario]</eMailAdress>
</es>
<fr>
<ArrayHint1> Lorsque tu choisis des vêtements, pense à bien les coordonner. </ArrayHint1>
<ArrayHint2> Habille un mannequin selon son type de beauté. </ArrayHint2>
<ArrayHint3> Souviens-toi que le maquillage compte pour les critiques finales. </ArrayHint3>
<ArrayHint4> Essaie de choisir des vêtements qui ont des couleurs coordonnées. </ArrayHint4>
<ArrayHint5> Essaie de choisir des vêtements dont les styles se marient bien. </ArrayHint5>
<ArrayHint6> Mélanger deux couleurs vives est très risqué. </ArrayHint6>
<ArrayHint7> Le bleu foncé, le vert pétillant, le rouge intense et le gris vont parfaitement aux mannequins blonds. </ArrayHint7>
<ArrayHint8> N'oublie pas de maquiller ton mannequin avant le défilé. Un maquillage réussi rehausse ton look et te fait gagner des points supplémentaires. </ArrayHint8>
<MakeupOK>Ce maquillage est tout simplement parfait !</MakeupOK>
<MakeupDark>Ce maquillage est un peu trop foncé pour cette tenue. Utilise un maquillage plus clair.</MakeupDark>
<MakeupLight>Ce maquillage est un peu trop clair pour cette tenue. Utilise un maquillage plus foncé.</MakeupLight>
<AccNice>Cet accessoire va parfaitement avec cette tenue !</AccNice>
<AccBad>Choisis un accessoire putôt dans le style </AccBad>
<AccBad2> </AccBad2>
<AccLack>Ajoute un accessoire pour sublimer ta tenue !</AccLack>
<Good1Part1>Je pense que </Good1Part1>
<Good1Part2> bien. </Good1Part2>
<Bad1Part1> </Bad1Part1>
<Bad1Part2> un style un peu trop </Bad1Part2>
<Bad1Part3>. Essaye avec autre chose.</Bad1Part3>
<AllGreat1>J'adore ce haut, ce bas et ces chaussures ! Ce look est très tendance.</AllGreat1>
<AllGreat2>Le haut, le bas et les chaussures vont très bien ensemble!</AllGreat2>
<AllBad1>Tu dois changer le haut, le bas et les chaussures. Il y a quelque chose qui cloche. </AllBad1>
<AllBad2>Ce haut, ce bas et ce chaussures ne vont pas bien ensemble.</AllBad2>
<AllBad3>L'association de ce haut, ce bas et ces chaussures n'est pas une bonne idée.</AllBad3>
<FinalScoreBad>Voici une tenue qui ne correspond pas au style. Essaye avec des vêtements et un maquillage qui correspondent au style de ta mannequin. </FinalScoreBad>
<FinalScoreMedium>Une démarche intéressante, mais pas encore tout à fait aboutie. Avec quelques petites retouches, ce mannequin aura un look parfait ! Suis les précieux conseils de ton agent. </FinalScoreMedium>
<FinalScoreNice1>Cette tenue est parfaite ! Tu as vraiment su capturer l'essence du style </FinalScoreNice1>
<FinalScoreNice2> et as fait preuve de créativité ! Ce style va envahir les magazines !</FinalScoreNice2>
<TotalScore>Score total :</TotalScore>
<LetCNextModel>Passons au mannequin suivant ! </LetCNextModel>
<LetCFinalScore>Voyons le score final ! </LetCFinalScore>
<PopupShowWelcome1>Bonjour et bienvenue à la Semaine de la Mode de</PopupShowWelcome1>
<PopupShowWelcome2> ! Je suis votre hôte, Mark Davidson, rédacteur en chef du magazine Style & Glam. Que le grand défilé commence !</PopupShowWelcome2>
<PopupNoDressStop>Oups !</PopupNoDressStop>
<PopupNoDress>ne sont pas tout à fait prêtes.</PopupNoDress>
<EnterName>Saisis ton prénom.</EnterName>
<Hello>Coucou</Hello>
<And>et</And>
<London>Londres</London>
<Tokyo>Tokyo</Tokyo>
<Paris>Paris</Paris>
<NewYork>New York</NewYork>
<casual>décontracté</casual>
<dressy>elégant</dressy>
<professional>professionnel</professional>
<loading>Chargement du jeu...</loading>
<Style>Style: </Style>
<top>haut</top>
<bottom>bas</bottom>
<shoes>chaussures</shoes>
<is>est</is>
<are>sont</are>
<BuyNowLink>https://secure.ubi.com/login/Login.aspx</BuyNowLink>
<mochi>b747c139</mochi>
<eMailAdress>[adresse e-mail du destinataire]</eMailAdress>
</fr>
<nl>
<ArrayHint1> Als je kleding kiest, zorg er dan voor dat de kledingstukken bij elkaar passen. </ArrayHint1>
<ArrayHint2> Hou rekening met de natuurlijke schoonheid van je model als je haar aankleedt. </ArrayHint2>
<ArrayHint3> Vergeet niet dat de make-up ook invloed heeft op je eindscore. </ArrayHint3>
<ArrayHint4> Probeer kleding te kiezen die goed bij elkaar kleurt. </ArrayHint4>
<ArrayHint5> Probeer kledingstukken te kiezen die qua stijl bij elkaar passen. </ArrayHint5>
<ArrayHint6> Probeer geen felle kleuren te combineren. </ArrayHint6>
<ArrayHint7> Felblauw, felgroen, knalrood en grijze kleuren staan een blond model het beste. </ArrayHint7>
<ArrayHint8> Zorg ervoor dat je altijd aan de make-up denkt als je een show doet Goede make-up maakt de outfit af en je verdient er extra punten mee. </ArrayHint8>
<MakeupOK>De make-up van dit model ziet er fantastisch uit. </MakeupOK>
<MakeupDark>Die make-up is aan de donkere kant voor deze outfit. Probeer eens iets lichtere kleuren. </MakeupDark>
<MakeupLight>Deze make-up is iets te licht voor deze outfit. Probeer eens iets donkere kleuren. </MakeupLight>
<AccNice>Ik vind dat accessoire heel goed bij deze outfit passen. </AccNice>
<AccBad>Je accessoire past niet echt bij de outfit. Misschien moet je iets proberen dat meer </AccBad>
<AccBad2> is. </AccBad2>
<AccLack>Dit model kan wel een accessoire gebruiken. </AccLack>
<Good1Part1></Good1Part1>
<Good1Part2> wel oké. </Good1Part2>
<Bad1Part1>Ik vind </Bad1Part1>
<Bad1Part2> een beetje te </Bad1Part2>
<Bad1Part3>. Probeer eens een ander kledingstuk. </Bad1Part3>
<AllGreat1>Dat bovenstuk, onderstuk en paar schoenen zijn prachtig! Het staat het model heel goed!</AllGreat1>
<AllGreat2>Het bovenstuk, het onderstuk en de schoenen zijn wel oké.</AllGreat2>
<AllBad1>Kies een ander bovenstuk, onderstuk en paar schoenen. Er klopt iets niet aan deze combinatie.</AllBad1>
<AllBad2>Die combinatie bovenstuk, onderstuk en paar schoenen is niet zo mooi.</AllBad2>
<AllBad3>Die combinatie bovenstuk, onderstuk en paar schoenen is geen goed idee.</AllBad3>
<FinalScoreBad>Helaas past deze outfit totaal niet bij de stijl. De ontwerpster moet ervoor zorgen dat ze kleding uitkiest die bij de stijl van het model past. Volgende keer beter! </FinalScoreBad>
<FinalScoreMedium>Ik snap wat de ontwerpster ermee wilde bereiken, maar een aantal delen van deze outfit passen niet bij elkaar. Met een paar kleine aanpassingen hier en daar ziet dit model er veel beter uit. Alle goede ontwerpsters vertrouwen op hun intuïtie, maar ze moeten ook naar hun adviseurs luisteren. </FinalScoreMedium>
<FinalScoreNice1>Deze outfit is fantastisch! De ontwerper heeft echt de essentie van een </FinalScoreNice1>
<FinalScoreNice2> stijl op een originele manier weten te vangen. Deze look komt op heel veel covers te staan! Ik kan niet wachten op nieuwe creaties van deze ontwerper. </FinalScoreNice2>
<TotalScore>Eindscore :</TotalScore>
<LetCNextModel>Laat het volgende model lopen! </LetCNextModel>
<LetCFinalScore>Wat is je eindscore? </LetCFinalScore>
<PopupShowWelcome1>Hallo en welkom bij de modeshow van </PopupShowWelcome1>
<PopupShowWelcome2>. Ik ben uw gastheer, Jaye Davidson, hoofdredacteur van het modeblad Looking Good. Genoeg over mij, laat de show maar beginnen!</PopupShowWelcome2>
<PopupNoDressStop>Wow!</PopupNoDressStop>
<PopupNoDress>moeten nog onder handen worden genomen.</PopupNoDress>
<EnterName>Je voornaam aub</EnterName>
<Hello>Hallo</Hello>
<And>en</And>
<London>Londen</London>
<Tokyo>Tokio</Tokyo>
<Paris>Parijs</Paris>
<NewYork>New York</NewYork>
<casual>casual</casual>
<dressy>chic</dressy>
<professional>professioneel</professional>
<loading>Spel laden...</loading>
<Style>Stijl: </Style>
<top>bovenstuk</top>
<bottom>onderstuk</bottom>
<shoes>schoenen</shoes>
<is>is</is>
<are>zijn</are>
<BuyNowLink>https://secure.ubi.com/login/?lang=nl-NL&skin=imagineemea</BuyNowLink>
<mochi>59fb820b</mochi>
<eMailAdress>[e-mailadres ontvanger]</eMailAdress>
</nl>
</text>
;
private static var country:Array = ["UnitedStatesOfAmerica", "UnitedKingdom", "Germany", "Italy", "Spain", "France", "Netherlands"];
private static var language:Array = ["us", "uk", "de", "it", "es", "fr", "nl"];
public function LanguageTranslations(){
super();
}
public static function get _language():Array{
return (language);
}
public static function get _data():XML{
return (data);
}
public static function get _coutry():Array{
return (country);
}
public static function getCoutryByLanguage(languageName:String):String{
var index:int;
index = language.indexOf(languageName);
if ((((index > -1)) && ((country.length > index)))){
return (country[index]);
};
new FrameworkError(("Can't get Coutry By Language: " + languageName));
return ("");
}
public static function getLanguageByCoutry(countryName:String):String{
var index:int;
index = country.indexOf(countryName);
if ((((index > -1)) && ((language.length > index)))){
return (language[index]);
};
new FrameworkError(("Can't get Language By Coutry: " + countryName));
return ("");
}
}
}//package pl.fabrykagier.framework.language
Section 97
//GameObject (pl.fabrykagier.framework.main.GameObject)
package pl.fabrykagier.framework.main {
import flash.events.*;
import flash.display.*;
public class GameObject extends MovieClip {
private var listenerArray:Array;
private var automaticRemoveListeners:Boolean;// = true
private var _state:String;
private var arrayIndex:Array;
public static var STATE_STOP:String = "stop";
public static var STATE_PLAY:String = "play";
public static var STATE_PAUSE:String = "pause";
public function GameObject():void{
automaticRemoveListeners = true;
_state = STATE_STOP;
listenerArray = new Array();
arrayIndex = new Array();
super();
initObject();
}
override public function stop():void{
_state = STATE_STOP;
super.stop();
}
private function callDestructor(e:Event):void{
onRemoved();
super.removeEventListener(Event.REMOVED_FROM_STAGE, callDestructor);
if (automaticRemoveListeners){
removeListeners();
};
}
public function removeListeners():void{
var listener:Array;
for each (listener in listenerArray) {
removeEventListener(listener[0], listener[1], listener[2]);
};
listenerArray = new Array();
arrayIndex = new Array();
}
public function set automaticRemove(value:Boolean):void{
if (((!(automaticRemoveListeners)) && (value))){
addEventListener(Event.REMOVED_FROM_STAGE, callDestructor);
};
if (((automaticRemoveListeners) && (!(value)))){
removeEventListener(Event.REMOVED_FROM_STAGE, callDestructor);
};
automaticRemoveListeners = value;
}
public function resume():void{
if (_state == STATE_PAUSE){
_state = STATE_PLAY;
super.play();
};
}
override public function play():void{
_state = STATE_PLAY;
super.play();
}
override public function removeEventListener(type:String, listener:Function, useCapture:Boolean=false):void{
super.removeEventListener(type, listener, useCapture);
listenerArray.splice(arrayIndex[type], 1);
}
override public function addEventListener(type:String, listener:Function, useCapture:Boolean=false, prioryty:int=0, useWeakReference:Boolean=false):void{
if (!hasEventListener(type)){
arrayIndex[type] = (listenerArray.push(new Array(type, listener, useCapture, prioryty, useWeakReference)) - 1);
super.addEventListener(type, listener, useCapture, prioryty, useWeakReference);
};
}
public function initObject():void{
super.addEventListener(Event.REMOVED_FROM_STAGE, callDestructor);
}
public function get listenersNumber():int{
return (listenerArray.length);
}
protected function onRemoved(){
}
public function get state():String{
return (_state);
}
override public function gotoAndStop(frame:Object, scene:String=null):void{
_state = STATE_PLAY;
super.gotoAndStop(frame, scene);
}
public function traceListeners():void{
var listener:Array;
trace("=== FGF LISTENERS BEGIN ===");
for each (listener in listenerArray) {
trace("Listener type: ", listener[0], " | Function: ", listener[1]);
};
trace("=== FGF LISTENERS END ===");
}
public function get automaticRemove():Boolean{
return (automaticRemoveListeners);
}
public function get grandparent():DisplayObject{
return (parent.parent);
}
override public function gotoAndPlay(frame:Object, scene:String=null):void{
_state = STATE_PLAY;
super.gotoAndPlay(frame, scene);
}
public function pause():void{
_state = STATE_PAUSE;
super.stop();
}
}
}//package pl.fabrykagier.framework.main
Section 98
//SoundManager (pl.fabrykagier.framework.media.SoundManager)
package pl.fabrykagier.framework.media {
import flash.media.*;
import pl.fabrykagier.framework.error.*;
import flash.net.*;
import flash.utils.*;
public class SoundManager {
public static var soundsObjects:Array = new Array();
private static var staticMuteArray:Array = new Array();
private static var muteMode:Boolean;
private static var nextIndex:int = 0;
public function SoundManager(){
super();
}
public static function get muteArray():Array{
return (staticMuteArray);
}
public static function stopAllSounds():void{
var i:int;
i = 0;
while (i < soundsObjects.length) {
SoundObject(soundsObjects[i]).setVolume(0);
i++;
};
}
public static function stopGroup(parameters:Object){
var ref:SoundObject;
for each (ref in soundsObjects) {
if (ref.group == parameters["group"]){
ref.setVolume(0);
};
};
}
private static function checkSound(soundName:String):Boolean{
var i:*;
for (i in soundsObjects) {
if (SoundObject(soundsObjects[i]).soundName == soundName){
return (true);
};
};
return (false);
}
public static function initMute():void{
var object:SharedObject;
var i:*;
object = SharedObject.getLocal("muteArray");
for (i in object.data) {
staticMuteArray[i] = object.data[i];
};
}
public static function playSound(parameters:Object):SoundObject{
var soundObj:SoundObject;
if (!parameters["name"]){
return (null);
};
if (!parameters["startTime"]){
parameters["startTime"] = 0;
};
if (!parameters["loops"]){
parameters["loops"] = 0;
};
if (!parameters["transform"]){
parameters["transform"] = null;
};
if (!parameters["group"]){
parameters["group"] = "default";
};
if (muteArray[parameters["group"]]){
parameters["transform"] = new SoundTransform(0);
};
if (parameters["duplicate"] !== true){
if (checkSound(parameters["name"])){
soundObj = getSoundByName(parameters["name"]);
if (soundObj.state != SoundObject.STATE_PLAY){
soundObj.play(parameters["startTime"], parameters["loops"], parameters["transform"]);
};
} else {
soundObj = addSound(parameters);
if (soundObj.state != SoundObject.STATE_PLAY){
soundObj.play(parameters["startTime"], parameters["loops"], parameters["transform"]);
};
};
} else {
soundObj = addSound(parameters);
soundObj.play(parameters["startTime"], parameters["loops"], parameters["transform"]);
};
if (parameters["pause"] === true){
soundObj.pause = true;
} else {
soundObj.pause = false;
};
return (soundObj);
}
private static function getSoundByID(soundID:int):SoundObject{
var i:*;
for (i in soundsObjects) {
if (SoundObject(soundsObjects[i]).id == soundID){
return (SoundObject(soundsObjects[i]));
};
};
return (null);
}
public static function playPausedSound():void{
var i:int;
i = 0;
while (i < soundsObjects.length) {
SoundObject(soundsObjects[i]).setVolume(1);
i++;
};
}
public static function addSound(parameters:Object):SoundObject{
var SoundClass:Class;
var obj:SoundObject;
var parameters = parameters;
if (!parameters["name"]){
throw (new FrameworkError(FrameworkError.SM_NONAME));
};
SoundClass = (getDefinitionByName(parameters["name"]) as Class);
//unresolved jump
var _slot1 = e;
throw (new FrameworkError(((FrameworkError.SM_NOOBJECT + " Sound name: ") + parameters["name"])));
obj = new (SoundClass);
obj.id = nextIndex;
obj.soundName = parameters["name"];
obj.group = parameters["group"];
soundsObjects.push(obj);
nextIndex++;
if (parameters["pause"] === true){
obj.pause = true;
} else {
obj.pause = false;
};
return (obj);
}
public static function refresh():void{
var i:int;
var j:int;
i = 0;
while (i < soundsObjects.length) {
j = 0;
while (j < soundsObjects.length) {
if (i == j){
} else {
if (((SoundObject(soundsObjects[i])) && ((SoundObject(soundsObjects[i]).soundName == SoundObject(soundsObjects[j]).soundName)))){
soundsObjects.splice(j, 1);
};
};
j++;
};
i++;
};
}
public static function stopSound(parameters:Object):void{
var sound:SoundObject;
if (parameters["name"]){
sound = getSoundByName(parameters["name"]);
};
if (parameters["id"]){
sound = getSoundByID(parameters["id"]);
};
if (sound){
sound.stop();
};
}
public static function muteOff(parameters:Object):void{
var object:SharedObject;
if (!parameters["group"]){
parameters["group"] = "default";
};
object = SharedObject.getLocal("muteArray");
object.data[parameters["group"]] = false;
staticMuteArray[parameters["group"]] = false;
object.flush(10);
playPausedGroup(parameters);
muteMode = false;
}
public static function muteOn(parameters:Object):void{
var object:SharedObject;
if (!parameters["group"]){
parameters["group"] = "default";
};
object = SharedObject.getLocal("muteArray");
object.data[parameters["group"]] = true;
staticMuteArray[parameters["group"]] = true;
object.flush(10);
stopGroup(parameters);
muteMode = true;
}
public static function get mute():Boolean{
return (muteMode);
}
public static function getSoundByName(soundName:String):SoundObject{
var i:*;
for (i in soundsObjects) {
if (SoundObject(soundsObjects[i]).soundName == soundName){
return (SoundObject(soundsObjects[i]));
};
};
return (null);
}
public static function playPausedGroup(parameters:Object){
var ref:SoundObject;
for each (ref in soundsObjects) {
if (ref.group == parameters["group"]){
ref.setVolume(1);
};
};
}
}
}//package pl.fabrykagier.framework.media
Section 99
//SoundObject (pl.fabrykagier.framework.media.SoundObject)
package pl.fabrykagier.framework.media {
import flash.events.*;
import flash.media.*;
import pl.fabrykagier.framework.error.*;
public class SoundObject extends Sound {
private var locked:Boolean;
private var name:String;
private var sndTransform:SoundTransform;
private var id_:int;// = -1
private var myChannel:SoundChannel;
private var loops:int;
private var pauseMode:Boolean;
private var pauseTime:int;
private var toAddListener:Boolean;
private var state_:String;
public var group:String;
public static var STATE_STOP:String = "sound_is_stop";
public static var STATE_PLAY:String = "sound_is_play";
public static var STATE_PAUSE:String = "state_is_pause";
public static var STATE_END:String = "sound_is_end";
public function SoundObject(){
id_ = -1;
super();
state_ = STATE_STOP;
}
public function stop():void{
state_ = STATE_STOP;
if (pauseMode){
pauseSound();
};
if (myChannel){
myChannel.stop();
};
}
public function get state():String{
return (state_);
}
public function get id():int{
return (id_);
}
public function setVolume(volume:Number){
if (myChannel){
myChannel.soundTransform = new SoundTransform(volume);
};
}
public function get lock():Boolean{
return (locked);
}
public function resume():void{
if (pauseMode){
state_ = STATE_PLAY;
play(pauseTime, loops, sndTransform);
};
}
override public function play(startTime:Number=0, loops:int=0, sndTransform:SoundTransform=null):SoundChannel{
state_ = STATE_PLAY;
this.loops = loops;
this.sndTransform = sndTransform;
myChannel = super.play(startTime, loops, sndTransform);
if (myChannel){
myChannel.addEventListener(Event.SOUND_COMPLETE, onComplete);
};
return (myChannel);
}
public function set id(value:int){
if (id_ == -1){
id_ = value;
} else {
throw (new FrameworkError(FrameworkError.SO_ID));
};
}
private function onComplete(e:Event):void{
state_ = STATE_END;
}
private function pauseSound():void{
state_ = STATE_PAUSE;
pauseTime = myChannel.position;
}
public function get soundName():String{
return (name);
}
public function set lock(value:Boolean){
locked = value;
}
public function set pause(value:Boolean):void{
pauseMode = value;
}
public function addListener(listener:Function, useCapture:Boolean=false, prioryty:int=0, useWeakReference:Boolean=false):void{
}
public function get pause():Boolean{
return (pauseMode);
}
public function set soundName(value:String){
name = value;
}
}
}//package pl.fabrykagier.framework.media
Section 100
//GotoButton (pl.fabrykagier.framework.ui.graphical.GotoButton)
package pl.fabrykagier.framework.ui.graphical {
import pl.fabrykagier.framework.media.*;
import flash.events.*;
import flash.display.*;
import pl.fabrykagier.game.fashiondesigner.*;
import pl.fabrykagier.framework.utils.*;
import pl.fabrykagier.framework.error.*;
public class GotoButton extends InterfaceButton {
public function GotoButton(){
super();
buttonMode = true;
}
override protected function onClick(e:MouseEvent):void{
var parameters:ParametersObject;
if (this.name == "SendToAFriendButton"){
MovieClip(MainScene.INSTANCE.getChildByName("SendToFriendPopup")).gotoAndPlay(2);
};
SoundManager.playSound({name:"btn_click", loops:1});
parameters = new ParametersObject(this.name);
if (parameters.getValue("gotoAndStopStage") != null){
if (root != null){
MovieClip(root).gotoAndStop(parameters.getValue("gotoAndStopStage"));
} else {
new FrameworkError(FrameworkError.CANT_FIND_STAGE);
};
removeEventListener(MouseEvent.CLICK, onClick);
};
if (parameters.getValue("gotoAndPlayStage") != null){
if (root != null){
MovieClip(root).gotoAndPlay(parameters.getValue("gotoAndPlayStage"));
} else {
new FrameworkError(FrameworkError.CANT_FIND_STAGE);
};
};
if (parameters.getValue("gotoAndStopParent") != null){
if (parent != null){
MovieClip(parent).gotoAndStop(parameters.getValue("gotoAndStopParent"));
} else {
new FrameworkError(FrameworkError.CANT_FIND_PARENT);
};
};
if (parameters.getValue("gotoAndPlayParent") != null){
if (parent != null){
MovieClip(parent).gotoAndPlay(parameters.getValue("gotoAndPlayParent"));
} else {
new FrameworkError(FrameworkError.CANT_FIND_PARENT);
};
};
if (parameters.getValue("gotoAndPlayGrandparent") != null){
if (grandparent != null){
MovieClip(grandparent).gotoAndPlay(parameters.getValue("gotoAndPlayGrandparent"));
} else {
new FrameworkError(FrameworkError.CANT_FIND_PARENT);
};
};
if (parameters.getValue("call") != null){
if (parameters.getValue("callParameter") != null){
MainScene.getInstance().addParameterToFunction(parameters.getValue("call"), parameters.getValue("callParameter"));
};
MainScene.getInstance().callRegisteredFunction(parameters.getValue("call"));
} else {
removeEventListener(MouseEvent.CLICK, onClick);
};
}
}
}//package pl.fabrykagier.framework.ui.graphical
Section 101
//InterfaceButton (pl.fabrykagier.framework.ui.graphical.InterfaceButton)
package pl.fabrykagier.framework.ui.graphical {
import pl.fabrykagier.framework.media.*;
import flash.events.*;
import pl.fabrykagier.framework.main.*;
public class InterfaceButton extends GameObject {
protected var mouseOutLabel;// = "off"
protected var mouseOverLabel;// = "on"
protected var mouseOn:Boolean;
protected var mouseDownLabel;// = "click"
public function InterfaceButton(){
mouseDownLabel = "click";
mouseOverLabel = "on";
mouseOutLabel = "off";
super();
buttonMode = true;
addEventListener(MouseEvent.CLICK, onClick);
addEventListener(MouseEvent.MOUSE_DOWN, onButtonDown);
addEventListener(MouseEvent.MOUSE_UP, onButtonUp);
addEventListener(MouseEvent.MOUSE_OVER, onButtonOver);
addEventListener(MouseEvent.MOUSE_OUT, onButtonOut);
}
protected function onButtonUp(e:MouseEvent):void{
gotoAndStop(mouseOverLabel);
}
protected function onButtonDown(e:MouseEvent):void{
gotoAndStop(mouseDownLabel);
}
protected function onButtonOut(e:MouseEvent):void{
mouseOn = false;
gotoAndStop(mouseOutLabel);
}
protected function onButtonOver(e:MouseEvent):void{
SoundManager.playSound({name:"btn_over", loops:1});
mouseOn = true;
gotoAndStop(mouseOverLabel);
}
protected function onClick(e:MouseEvent):void{
SoundManager.playSound({name:"btn_click", loops:1});
}
}
}//package pl.fabrykagier.framework.ui.graphical
Section 102
//MutteButton (pl.fabrykagier.framework.ui.graphical.MutteButton)
package pl.fabrykagier.framework.ui.graphical {
import pl.fabrykagier.framework.media.*;
import flash.events.*;
public class MutteButton extends InterfaceButton {
public function MutteButton(){
super();
buttonMode = true;
changeLabels();
gotoAndStop(mouseOutLabel);
}
protected function changeLabels(){
if (SoundManager.mute){
mouseDownLabel = "on_on";
mouseOverLabel = "on_on";
mouseOutLabel = "off_on";
} else {
mouseDownLabel = "off_off";
mouseOverLabel = "on_off";
mouseOutLabel = "off_off";
};
}
override protected function onClick(e:MouseEvent):void{
if (SoundManager.mute){
SoundManager.muteOff({group:"default"});
} else {
SoundManager.muteOn({group:"default"});
};
changeLabels();
gotoAndStop(mouseOverLabel);
}
}
}//package pl.fabrykagier.framework.ui.graphical
Section 103
//ParametersObject (pl.fabrykagier.framework.utils.ParametersObject)
package pl.fabrykagier.framework.utils {
public class ParametersObject {
private var handledObject:Object;
private var handledString:String;
public function ParametersObject(hs:String){
handledObject = new Object();
super();
handledString = hs;
if (hs.indexOf("$") != -1){
unserialize();
};
}
public function serialize():String{
return (handledString);
}
public function getValue(valueName:String){
if (handledObject){
return (handledObject[valueName]);
};
return (null);
}
private function unserialize():void{
var partsArray:*;
var index:*;
var values:Array;
partsArray = handledString.split("$");
for (index in partsArray) {
if (String(partsArray[int(index)]).indexOf("_") != -1){
values = String(partsArray[int(index)]).split("_");
handledObject[values[0]] = values[1];
};
};
}
}
}//package pl.fabrykagier.framework.utils
Section 104
//FemaleModel (pl.fabrykagier.game.fashiondesigner.character.FemaleModel)
package pl.fabrykagier.game.fashiondesigner.character {
import flash.events.*;
import flash.display.*;
import pl.fabrykagier.framework.gameCharacters.model.*;
public class FemaleModel extends Model {
public var makeupScore:String;
public var modelType:String;
public var modelShadeColor:Number;
public var modelName:String;
public var face:MovieClip;
public var hairFront:MovieClip;
public var modelHairColor:Number;
public var modelEyeColor:Number;
public var modelSkin:Number;
public var dressScore:String;
public var hairTypes:Array;
public var modelHair:Number;
public var modelLipsColor:Number;
public var hairBack:MovieClip;
public var finalPoints:Number;// = 0
public function FemaleModel(){
dressScore = new String();
makeupScore = new String();
finalPoints = 0;
super();
this.styleExeptions["dresses"] = ["skirts", "trousers", "blouses"];
this.styleExeptions["skirts"] = ["dresses", "trousers"];
this.styleExeptions["trousers"] = ["skirts", "dresses"];
this.styleExeptions["blouses"] = ["dresses"];
addEventListener(Event.REMOVED_FROM_STAGE, CleanUp);
}
public function setSkin(){
this.gotoAndStop(this.modelSkin);
}
public function setEyeColor(eyeColor:Number=0){
if (eyeColor != 0){
this.modelEyeColor = eyeColor;
};
MovieClip(MovieClip(this.getChildByName("face")).getChildByName("eyes")).gotoAndStop(this.modelEyeColor);
}
public function _setAllFrames():void{
setSkin();
setHair();
setEyeColor();
setShadowColor();
setLipsColor();
}
public function setShadowColor(shadowColor:Number=0){
if (shadowColor != 0){
this.modelShadeColor = shadowColor;
};
if (this.modelShadeColor){
MovieClip(MovieClip(this.getChildByName("face")).getChildByName("shade")).gotoAndStop((this.modelShadeColor + 1));
};
}
public function setHair(hairNumber:Number=0){
if (hairNumber != 0){
this.modelHair = hairNumber;
};
MovieClip(this.getChildByName("hairBack")).gotoAndStop(this.modelHair);
MovieClip(this.getChildByName("hairFront")).gotoAndStop(this.modelHair);
}
public function _copyAllFromModel(sourceModel:FemaleModel){
this.removeAll();
this.modelName = sourceModel.modelName;
this.modelSkin = sourceModel.modelSkin;
setSkin();
this.modelHair = sourceModel.modelHair;
setHair();
this.modelHairColor = sourceModel.modelHairColor;
this.modelEyeColor = sourceModel.modelEyeColor;
setEyeColor();
this.modelLipsColor = sourceModel.modelLipsColor;
setLipsColor();
this.modelShadeColor = sourceModel.modelShadeColor;
setShadowColor();
this.hairTypes = sourceModel.hairTypes;
this.setItems(sourceModel._itemList);
}
public function setLipsColor(lipsColor:Number=0){
if (lipsColor != 0){
this.modelLipsColor = lipsColor;
};
MovieClip(MovieClip(this.getChildByName("face")).getChildByName("lips")).gotoAndStop(this.modelLipsColor);
}
public function _copyToTabModel(sourceModel:FemaleModel){
this.removeAll();
this.modelName = sourceModel.modelName;
this.modelSkin = sourceModel.modelSkin;
this.modelHair = sourceModel.modelHair;
this.modelHairColor = sourceModel.modelHairColor;
this.modelEyeColor = sourceModel.modelEyeColor;
this.modelLipsColor = sourceModel.modelLipsColor;
this.modelShadeColor = sourceModel.modelShadeColor;
this.hairTypes = sourceModel.hairTypes;
this.setItems(sourceModel._itemList);
}
private function CleanUp(e:Event):void{
removeEventListener(Event.REMOVED_FROM_STAGE, CleanUp);
}
}
}//package pl.fabrykagier.game.fashiondesigner.character
Section 105
//ModelList (pl.fabrykagier.game.fashiondesigner.character.ModelList)
package pl.fabrykagier.game.fashiondesigner.character {
import flash.display.*;
import pl.fabrykagier.game.fashiondesigner.*;
public class ModelList extends MovieClip {
public var hairsArray:Array;
public var eyesArray:Array;
public var skinsArray:Array;
public var modelArray:Array;
public var namesArray:Array;
public function ModelList(){
var i:*;
modelArray = new Array();
namesArray = new Array("Kate", "Isabel", "Victoria", "Nicole", "Lucy", "Sophie", "Sarah", "Cindy", "Rebecca", "Emily", "Julie", "Jane");
skinsArray = new Array(1, 2, 3, 4, 5, 6);
hairsArray = new Array(1, 2, 3, 4, 5, 6, 7, 8, 9, 10);
eyesArray = new Array(1, 3, 6, 9);
super();
trace("Wszystkie wlosy -> ", hairsArray);
this.namesArray = MainScene.getInstance().shuffleArray(namesArray);
this.skinsArray = MainScene.getInstance().shuffleArray(skinsArray);
this.hairsArray = MainScene.getInstance().shuffleArray(hairsArray);
i = 0;
while (i < (this.hairsArray.length - 1)) {
this.hairsArray[i] = int(this.hairsArray[i]);
i++;
};
trace("Po szuflu -> ", hairsArray);
MainScene.getInstance().hairsArray = null;
MainScene.getInstance().hairsArray = hairsArray.slice();
setModels();
}
private function setModels():void{
var i:*;
i = 0;
while (i < 6) {
modelArray[namesArray[i]] = new FemaleModel();
FemaleModel(modelArray[namesArray[i]]).modelName = namesArray[i];
FemaleModel(modelArray[namesArray[i]]).modelSkin = skinsArray[i];
FemaleModel(modelArray[namesArray[i]]).setSkin();
FemaleModel(modelArray[namesArray[i]]).modelHair = hairsArray[i];
FemaleModel(modelArray[namesArray[i]]).modelHairColor = (Math.floor((Math.random() * 3)) + 1);
FemaleModel(modelArray[namesArray[i]]).modelEyeColor = eyesArray[Math.floor((Math.random() * 4))];
FemaleModel(modelArray[namesArray[i]]).modelShadeColor = (Math.floor((Math.random() * 10)) + 1);
FemaleModel(modelArray[namesArray[i]]).modelLipsColor = 1;
i++;
};
}
}
}//package pl.fabrykagier.game.fashiondesigner.character
Section 106
//DressModelContainer (pl.fabrykagier.game.fashiondesigner.dressing.DressModelContainer)
package pl.fabrykagier.game.fashiondesigner.dressing {
import flash.events.*;
import flash.display.*;
import pl.fabrykagier.game.fashiondesigner.*;
import pl.fabrykagier.game.fashiondesigner.character.*;
import pl.fabrykagier.game.fashiondesigner.gameObjects.*;
public class DressModelContainer extends MovieClip {
private var counter:Number;// = 0
public var currentSelection:Number;// = 0
public var modelka:model_MAIN;
public function DressModelContainer(){
counter = 0;
currentSelection = 0;
super();
if (MainScene.getInstance().wasInPRESHOW){
currentSelection = MainScene.CURRENTSELECTION;
};
addEventListener(Event.ADDED_TO_STAGE, setScene);
addEventListener(Event.REMOVED_FROM_STAGE, cleanUp);
}
private function clicked(e:MouseEvent):void{
var ref:MovieClip;
ref = MovieClip(MainScene.getInstance().getChildByName("dressing_wardobe1"));
if (((ref) && ((((ref.currentFrame == 23)) || ((ref.currentFrame == 66)))))){
removeChild(MainScene.getInstance().SelectedModels[this.counter]);
if (this.counter == 2){
this.counter = 0;
} else {
this.counter++;
};
addChild(MainScene.getInstance().SelectedModels[this.counter]);
MainScene.getInstance().restartDress();
if (ref.currentFrame == 66){
MakeUpHairs(ref.getChildByName("hairPanel")).setHairs();
};
};
}
private function setScene(e:Event):void{
removeEventListener(Event.ADDED_TO_STAGE, setScene);
FemaleModel(this.getChildByName("modelka"))._copyAllFromModel(FemaleModel(MainScene.getInstance().SelectedModels[this.currentSelection]));
}
private function cleanUp(e:Event):void{
removeEventListener(Event.ADDED_TO_STAGE, setScene);
removeEventListener(Event.REMOVED_FROM_STAGE, cleanUp);
}
}
}//package pl.fabrykagier.game.fashiondesigner.dressing
Section 107
//DressThumbsPanel (pl.fabrykagier.game.fashiondesigner.dressing.DressThumbsPanel)
package pl.fabrykagier.game.fashiondesigner.dressing {
import pl.fabrykagier.framework.media.*;
import flash.events.*;
import flash.display.*;
import pl.fabrykagier.game.fashiondesigner.*;
import pl.fabrykagier.game.fashiondesigner.character.*;
import flash.text.*;
import pl.fabrykagier.game.fashiondesigner.gameObjects.*;
public class DressThumbsPanel extends MovieClip {
public var thumb_1:MovieClip;
public var thumb_2:MovieClip;
public var thumb_0:MovieClip;
public var currentlySelected:Number;// = 0
public function DressThumbsPanel(){
currentlySelected = 0;
super();
addEventListener(Event.ADDED_TO_STAGE, setScene);
addEventListener(Event.REMOVED_FROM_STAGE, CleanUp);
}
private function clicked(e:MouseEvent):void{
var ref:MovieClip;
var split:Array;
ref = MovieClip(MainScene.getInstance().getChildByName("dressing_wardobe"));
split = String(e.currentTarget.name).split("_");
if (((((ref) && ((((ref.currentFrame == 46)) || ((ref.currentFrame == 96)))))) && (!((this.currentlySelected == split[1]))))){
SoundManager.playSound({name:"btn_click", loops:1});
saveCurrentModel();
if (ref.currentFrame == 96){
DressWardobe(MainScene.getInstance().getChildByName("dressing_wardobe")).removeGlow(FemaleModel(MainScene.getInstance().SelectedModels[this.currentlySelected]).modelEyeColor, FemaleModel(MainScene.getInstance().SelectedModels[this.currentlySelected]).modelShadeColor, FemaleModel(MainScene.getInstance().SelectedModels[this.currentlySelected]).modelLipsColor);
};
FemaleModel(MainScene.getInstance().SelectedModels[this.currentlySelected])._copyToTabModel(FemaleModel(MovieClip(MainScene.getInstance().getChildByName("dressingModel")).getChildByName("modelka")));
DressUpMngr(MainScene.getInstance().dressManager).unlockItems(FemaleModel(MovieClip(MainScene.getInstance().getChildByName("dressingModel")).getChildByName("modelka")));
MovieClip(MovieClip(this.getChildByName(("thumb_" + this.currentlySelected))).getChildByName("dressup_circle")).gotoAndStop(1);
this.currentlySelected = split[1];
FemaleModel(MovieClip(MainScene.getInstance().getChildByName("dressingModel")).getChildByName("modelka"))._copyAllFromModel(MainScene.getInstance().SelectedModels[this.currentlySelected]);
DressUpMngr(MainScene.getInstance().dressManager).lockItems(MainScene.getInstance().SelectedModels[this.currentlySelected]);
MovieClip(MovieClip(this.getChildByName(("thumb_" + this.currentlySelected))).getChildByName("dressup_circle")).gotoAndStop(2);
if (ref.currentFrame == 96){
MakeUpHairs(ref.getChildByName("hairPanel")).setHairs();
FemaleModel(MovieClip(MovieClip(ref.getChildByName("mirror_mc")).getChildByName("head")).getChildAt(0))._copyAllFromModel(FemaleModel(MovieClip(MainScene.getInstance().getChildByName("dressingModel")).getChildByName("modelka")));
DressWardobe(MainScene.getInstance().getChildByName("dressing_wardobe")).setGlow(FemaleModel(MainScene.getInstance().SelectedModels[this.currentlySelected]).modelEyeColor, FemaleModel(MainScene.getInstance().SelectedModels[this.currentlySelected]).modelShadeColor, FemaleModel(MainScene.getInstance().SelectedModels[this.currentlySelected]).modelLipsColor);
};
};
}
private function mouseOver(e:MouseEvent):void{
if ((((MovieClip(MainScene.getInstance().getChildByName("dressing_wardobe")).currentFrame == 46)) || ((MovieClip(MainScene.getInstance().getChildByName("dressing_wardobe")).currentFrame == 96)))){
SoundManager.playSound({name:"btn_over", loops:1});
MovieClip(MovieClip(MovieClip(this.getChildByName(e.currentTarget.name)).getChildByName("star_mc")).getChildByName("_star")).gotoAndStop("on");
};
}
public function setThumbEyeColor(EyeColorNumber:Number=0):void{
FemaleModel(MovieClip(MovieClip(this.getChildByName(("thumb_" + this.currentlySelected))).getChildByName("modelka")).getChildByName("modelka")).setEyeColor(EyeColorNumber);
}
private function mouseOut(e:MouseEvent):void{
MovieClip(MovieClip(MovieClip(this.getChildByName(e.currentTarget.name)).getChildByName("star_mc")).getChildByName("_star")).gotoAndStop("off");
}
private function setScene(e:Event):void{
var i:*;
var refSelectedModels:FemaleModel;
var ref:MovieClip;
removeEventListener(Event.ADDED_TO_STAGE, setScene);
i = 0;
while (i < 3) {
refSelectedModels = FemaleModel(MainScene.getInstance().SelectedModels[i]);
ref = MovieClip(this.getChildByName(("thumb_" + i)));
TextField(ref.getChildByName("nameField")).text = refSelectedModels.modelName;
FemaleModel(MovieClip(ref.getChildByName("modelka")).getChildByName("modelka"))._copyAllFromModel(refSelectedModels);
MovieClip(ref.getChildByName("star_mc")).gotoAndStop(refSelectedModels.modelType);
ref.buttonMode = true;
ref.addEventListener(MouseEvent.CLICK, clicked);
ref.addEventListener(MouseEvent.MOUSE_OVER, mouseOver);
ref.addEventListener(MouseEvent.MOUSE_OUT, mouseOut);
i++;
};
MovieClip(MovieClip(this.getChildByName(("thumb_" + this.currentlySelected))).getChildByName("dressup_circle")).gotoAndStop(2);
}
public function updateCurrentModel():void{
FemaleModel(MovieClip(MovieClip(this.getChildByName(("thumb_" + this.currentlySelected))).getChildByName("modelka")).getChildByName("modelka"))._copyAllFromModel(FemaleModel(MovieClip(MainScene.getInstance().getChildByName("dressingModel")).getChildByName("modelka")));
}
public function setThumbHair(hairNumber:Number=0):void{
FemaleModel(MovieClip(MovieClip(this.getChildByName(("thumb_" + this.currentlySelected))).getChildByName("modelka")).getChildByName("modelka")).setHair(hairNumber);
}
public function saveCurrentModel():void{
FemaleModel(MainScene.getInstance().SelectedModels[this.currentlySelected])._copyToTabModel(FemaleModel(MovieClip(MainScene.getInstance().getChildByName("dressingModel")).getChildByName("modelka")));
}
private function CleanUp(e:Event):void{
var i:*;
var refSelectedModels:FemaleModel;
var ref:MovieClip;
removeEventListener(Event.REMOVED_FROM_STAGE, CleanUp);
i = 0;
while (i < 3) {
refSelectedModels = FemaleModel(MainScene.getInstance().SelectedModels[i]);
ref = MovieClip(this.getChildByName(("thumb_" + i)));
if (ref){
ref.removeEventListener(MouseEvent.CLICK, clicked);
ref.removeEventListener(MouseEvent.MOUSE_OVER, mouseOver);
ref.removeEventListener(MouseEvent.MOUSE_OUT, mouseOut);
};
i++;
};
}
public function setThumbLipsColor(LipsColorNumber:Number=0):void{
FemaleModel(MovieClip(MovieClip(this.getChildByName(("thumb_" + this.currentlySelected))).getChildByName("modelka")).getChildByName("modelka")).setLipsColor(LipsColorNumber);
}
public function setThumbShadowColor(ShadowColorNumber:Number=0):void{
FemaleModel(MovieClip(MovieClip(this.getChildByName(("thumb_" + this.currentlySelected))).getChildByName("modelka")).getChildByName("modelka")).setShadowColor(ShadowColorNumber);
}
}
}//package pl.fabrykagier.game.fashiondesigner.dressing
Section 108
//DressUpMngr (pl.fabrykagier.game.fashiondesigner.dressing.DressUpMngr)
package pl.fabrykagier.game.fashiondesigner.dressing {
import flash.display.*;
import pl.fabrykagier.engines.dressUp.*;
import pl.fabrykagier.framework.gameCharacters.model.*;
import pl.fabrykagier.game.fashiondesigner.*;
import pl.fabrykagier.game.fashiondesigner.character.*;
import pl.fabrykagier.game.fashiondesigner.gameInterface.*;
import flash.utils.*;
public class DressUpMngr extends DressUpManager {
public function DressUpMngr(){
super();
}
override protected function setIt():void{
var tmpDest:String;
var tmpWard:String;
var classRef:Class;
var tmpLength:Number;
var i:*;
super.setIt();
model = Model(MovieClip(MainScene.getInstance().getChildByName("dressingModel")).getChildByName("modelka"));
wardrobe = Wardrobe(MainScene.getInstance().getChildByName("dressing_wardobe"));
tmpDest = MainScene.DESTINATION;
tmpWard = ("WardobeItemSet_" + tmpDest);
wardrobe.fill(tmpWard);
classRef = (getDefinitionByName(tmpWard) as Class);
draggingItem = MovieClip(new (classRef));
draggingItem.visible = false;
draggingItem.mouseChildren = false;
draggingItem.mouseEnabled = false;
draggingItem.stop();
this.addChild(draggingItem);
tmpLength = MainScene.getInstance().scrollPanels.length;
i = 0;
while (i < tmpLength) {
ScrollPanel(MainScene.getInstance().scrollPanels[i]).setArrowStatus();
i++;
};
}
public function lockItems(srcModel:FemaleModel):void{
var i:String;
for each (i in srcModel._itemList) {
wardrobe.lockItem(i);
};
}
public function unlockItems(srcModel:FemaleModel):void{
var i:String;
for each (i in srcModel._itemList) {
wardrobe.unLockItem(i);
};
}
public function setItemsAgain():void{
setIt();
this.removeChild(draggingItem);
this.addChild(draggingItem);
}
public function massiveUnlockandLock():void{
var i:String;
var j:String;
var k:String;
for each (i in FemaleModel(MainScene.getInstance().SelectedModels[0])._itemList) {
wardrobe.unLockItem(i);
};
for each (j in FemaleModel(MainScene.getInstance().SelectedModels[1])._itemList) {
wardrobe.unLockItem(j);
};
for each (k in FemaleModel(MainScene.getInstance().SelectedModels[2])._itemList) {
wardrobe.unLockItem(k);
};
}
}
}//package pl.fabrykagier.game.fashiondesigner.dressing
Section 109
//DressWardobe (pl.fabrykagier.game.fashiondesigner.dressing.DressWardobe)
package pl.fabrykagier.game.fashiondesigner.dressing {
import flash.events.*;
import flash.display.*;
import pl.fabrykagier.engines.dressUp.*;
import pl.fabrykagier.game.fashiondesigner.*;
import pl.fabrykagier.game.fashiondesigner.character.*;
import pl.fabrykagier.game.fashiondesigner.gameObjects.*;
import flash.filters.*;
public class DressWardobe extends Wardrobe {
public var gloss_mc:MovieClip;
public var EyeShade_mc:MovieClip;
public var mirror_mc:MakeUpMirror;
public var Dress_btn:button_panel_dresses;
public var accessories:MovieClip;
public var MakeUp_btn:button_panel_makeUp;
public var withoutDress:Array;
public var popup_nodress:MovieClip;
public var lenses_mc:MovieClip;
public var popup_hint:MovieClip;
public var bottoms:MovieClip;
public var firstTime:Boolean;// = true
public var popup_preshow:MovieClip;
public var popup_show:MovieClip;
public var hairPanel:MakeUpHairs;
private var filter2:GlowFilter;
public var tops:MovieClip;
public var popup_feedback:MovieClip;
public var shoes:MovieClip;
public function DressWardobe(){
firstTime = true;
withoutDress = new Array();
filter2 = new GlowFilter(0xFFFFFF, 1, 2, 2, 50, 3, false, false);
super();
}
override public function clearHighlight(item:String):void{
super.clearHighlight(item);
getItemObject(item).visible = true;
}
public function setGlow(eyeColor:Number, shadeColor:Number, lipsColor:Number):void{
MovieClip(this.getChildByName("lenses_mc")).getChildByName(("eyes_" + eyeColor)).filters = [filter2];
MovieClip(this.getChildByName("EyeShade_mc")).getChildByName(("shade_" + shadeColor)).filters = [filter2];
MovieClip(this.getChildByName("gloss_mc")).getChildByName(("lips_" + lipsColor)).filters = [filter2];
}
private function setButtonMode():void{
var ref:MovieClip;
ref = MovieClip(this.getChildByName("lenses_mc"));
if (ref){
MovieClip(ref.getChildByName("eyes_1")).buttonMode = true;
MovieClip(ref.getChildByName("eyes_2")).buttonMode = true;
MovieClip(ref.getChildByName("eyes_3")).buttonMode = true;
MovieClip(ref.getChildByName("eyes_4")).buttonMode = true;
MovieClip(ref.getChildByName("eyes_5")).buttonMode = true;
MovieClip(ref.getChildByName("eyes_6")).buttonMode = true;
MovieClip(ref.getChildByName("eyes_7")).buttonMode = true;
MovieClip(ref.getChildByName("eyes_8")).buttonMode = true;
MovieClip(ref.getChildByName("eyes_9")).buttonMode = true;
MovieClip(ref.getChildByName("eyes_10")).buttonMode = true;
};
ref = MovieClip(this.getChildByName("EyeShade_mc"));
if (ref){
MovieClip(ref.getChildByName("shade_1")).buttonMode = true;
MovieClip(ref.getChildByName("shade_2")).buttonMode = true;
MovieClip(ref.getChildByName("shade_3")).buttonMode = true;
MovieClip(ref.getChildByName("shade_4")).buttonMode = true;
MovieClip(ref.getChildByName("shade_5")).buttonMode = true;
MovieClip(ref.getChildByName("shade_6")).buttonMode = true;
MovieClip(ref.getChildByName("shade_7")).buttonMode = true;
MovieClip(ref.getChildByName("shade_8")).buttonMode = true;
MovieClip(ref.getChildByName("shade_9")).buttonMode = true;
MovieClip(ref.getChildByName("shade_10")).buttonMode = true;
};
ref = MovieClip(this.getChildByName("gloss_mc"));
if (ref){
MovieClip(ref.getChildByName("lips_1")).buttonMode = true;
MovieClip(ref.getChildByName("lips_2")).buttonMode = true;
MovieClip(ref.getChildByName("lips_3")).buttonMode = true;
MovieClip(ref.getChildByName("lips_4")).buttonMode = true;
MovieClip(ref.getChildByName("lips_5")).buttonMode = true;
MovieClip(ref.getChildByName("lips_6")).buttonMode = true;
MovieClip(ref.getChildByName("lips_7")).buttonMode = true;
MovieClip(ref.getChildByName("lips_8")).buttonMode = true;
MovieClip(ref.getChildByName("lips_9")).buttonMode = true;
MovieClip(ref.getChildByName("lips_10")).buttonMode = true;
};
}
public function removeGlow(eyeColor:Number, shadeColor:Number, lipsColor:Number):void{
MovieClip(this.getChildByName("lenses_mc")).getChildByName(("eyes_" + eyeColor)).filters = [];
MovieClip(this.getChildByName("EyeShade_mc")).getChildByName(("shade_" + shadeColor)).filters = [];
MovieClip(this.getChildByName("gloss_mc")).getChildByName(("lips_" + lipsColor)).filters = [];
}
private function clicked(e:MouseEvent):void{
if (this.getChildByName("MakeUp_btn")){
MovieClip(this.getChildByName("MakeUp_btn")).removeEventListener(MouseEvent.CLICK, clicked);
};
if (this.getChildByName("Dress_btn")){
MovieClip(this.getChildByName("Dress_btn")).removeEventListener(MouseEvent.CLICK, clicked);
if (this.getChildByName("lenses_mc")){
MovieClip(this.getChildByName("lenses_mc")).removeEventListener(MouseEvent.CLICK, makeMeUp);
};
if (this.getChildByName("EyeShade_mc")){
MovieClip(this.getChildByName("EyeShade_mc")).removeEventListener(MouseEvent.CLICK, makeMeUp);
};
if (this.getChildByName("gloss_mc")){
MovieClip(this.getChildByName("gloss_mc")).removeEventListener(MouseEvent.CLICK, makeMeUp);
};
if (this.getChildByName("hairPanel")){
MovieClip(this.getChildByName("hairPanel")).removeEventListener(MouseEvent.CLICK, hairMeUp);
};
};
}
public function setMakeupInterface():void{
if (this.getChildByName("lenses_mc")){
MovieClip(this.getChildByName("lenses_mc")).addEventListener(MouseEvent.CLICK, makeMeUp);
MovieClip(this.getChildByName("lenses_mc")).getChildByName(("eyes_" + FemaleModel(MovieClip(MainScene.getInstance().getChildByName("dressingModel")).getChildByName("modelka")).modelEyeColor)).filters = [filter2];
};
if (this.getChildByName("EyeShade_mc")){
MovieClip(this.getChildByName("EyeShade_mc")).addEventListener(MouseEvent.CLICK, makeMeUp);
MovieClip(this.getChildByName("EyeShade_mc")).getChildByName(("shade_" + FemaleModel(MovieClip(MainScene.getInstance().getChildByName("dressingModel")).getChildByName("modelka")).modelShadeColor)).filters = [filter2];
};
if (this.getChildByName("gloss_mc")){
MovieClip(this.getChildByName("gloss_mc")).addEventListener(MouseEvent.CLICK, makeMeUp);
MovieClip(this.getChildByName("gloss_mc")).getChildByName(("lips_" + FemaleModel(MovieClip(MainScene.getInstance().getChildByName("dressingModel")).getChildByName("modelka")).modelLipsColor)).filters = [filter2];
};
if (this.getChildByName("hairPanel")){
MovieClip(this.getChildByName("hairPanel")).addEventListener(MouseEvent.CLICK, hairMeUp);
};
setButtonMode();
}
private function makeMeUp(e:MouseEvent):void{
var split:Array;
split = MovieClip(e.target).name.split("_");
switch (split[0]){
case "eyes":
MovieClip(this.getChildByName("lenses_mc")).getChildByName(("eyes_" + FemaleModel(MovieClip(MainScene.getInstance().getChildByName("dressingModel")).getChildByName("modelka")).modelEyeColor)).filters = [];
FemaleModel(MovieClip(MainScene.getInstance().getChildByName("dressingModel")).getChildByName("modelka")).setEyeColor(split[1]);
DressThumbsPanel(MainScene.getInstance().getChildByName("thumbPanel")).setThumbEyeColor(int(split[1]));
FemaleModel(MovieClip(MovieClip(getChildByName("mirror_mc")).getChildByName("head")).getChildAt(0)).setEyeColor(split[1]);
MovieClip(this.getChildByName("lenses_mc")).getChildByName(("eyes_" + split[1])).filters = [filter2];
break;
case "lips":
MovieClip(this.getChildByName("gloss_mc")).getChildByName(("lips_" + FemaleModel(MovieClip(MainScene.getInstance().getChildByName("dressingModel")).getChildByName("modelka")).modelLipsColor)).filters = [];
FemaleModel(MovieClip(MainScene.getInstance().getChildByName("dressingModel")).getChildByName("modelka")).setLipsColor(split[1]);
DressThumbsPanel(MainScene.getInstance().getChildByName("thumbPanel")).setThumbLipsColor(int(split[1]));
FemaleModel(MovieClip(MovieClip(getChildByName("mirror_mc")).getChildByName("head")).getChildAt(0)).setLipsColor(split[1]);
MovieClip(this.getChildByName("gloss_mc")).getChildByName(("lips_" + split[1])).filters = [filter2];
break;
case "shade":
MovieClip(this.getChildByName("EyeShade_mc")).getChildByName(("shade_" + FemaleModel(MovieClip(MainScene.getInstance().getChildByName("dressingModel")).getChildByName("modelka")).modelShadeColor)).filters = [];
FemaleModel(MovieClip(MainScene.getInstance().getChildByName("dressingModel")).getChildByName("modelka")).setShadowColor(split[1]);
DressThumbsPanel(MainScene.getInstance().getChildByName("thumbPanel")).setThumbShadowColor(int(split[1]));
FemaleModel(MovieClip(MovieClip(getChildByName("mirror_mc")).getChildByName("head")).getChildAt(0)).setShadowColor(split[1]);
MovieClip(this.getChildByName("EyeShade_mc")).getChildByName(("shade_" + split[1])).filters = [filter2];
break;
};
}
private function loadItems():void{
var tmpCounter:Number;
var i:Number;
tmpCounter = MovieClip(MovieClip(MovieClip(this.getChildByName("accessories")).getChildByName("_panel")).getChildByName("contener")).numChildren;
i = 0;
while (i < tmpCounter) {
itemsList.push(MovieClip(MovieClip(MovieClip(this.getChildByName("accessories")).getChildByName("_panel")).getChildByName("contener")).getChildAt(i));
i++;
};
tmpCounter = MovieClip(MovieClip(MovieClip(this.getChildByName("tops")).getChildByName("_panel")).getChildByName("contener")).numChildren;
i = 0;
while (i < tmpCounter) {
itemsList.push(MovieClip(MovieClip(MovieClip(this.getChildByName("tops")).getChildByName("_panel")).getChildByName("contener")).getChildAt(i));
i++;
};
tmpCounter = MovieClip(MovieClip(MovieClip(this.getChildByName("bottoms")).getChildByName("_panel")).getChildByName("contener")).numChildren;
i = 0;
while (i < tmpCounter) {
itemsList.push(MovieClip(MovieClip(MovieClip(this.getChildByName("bottoms")).getChildByName("_panel")).getChildByName("contener")).getChildAt(i));
i++;
};
tmpCounter = MovieClip(MovieClip(MovieClip(this.getChildByName("shoes")).getChildByName("_panel")).getChildByName("contener")).numChildren;
i = 0;
while (i < tmpCounter) {
itemsList.push(MovieClip(MovieClip(MovieClip(this.getChildByName("shoes")).getChildByName("_panel")).getChildByName("contener")).getChildAt(i));
i++;
};
}
private function hairMeUp(e:MouseEvent):void{
var split:Array;
split = MovieClip(e.target).name.split("_");
switch (split[0]){
case "hair":
MakeUpHairs(this.getChildByName("hairPanel")).removeFilter();
FemaleModel(MovieClip(MainScene.getInstance().getChildByName("dressingModel")).getChildByName("modelka")).setHair(int(split[1]));
DressThumbsPanel(MainScene.getInstance().getChildByName("thumbPanel")).setThumbHair(int(split[1]));
FemaleModel(MovieClip(MovieClip(getChildByName("mirror_mc")).getChildByName("head")).getChildAt(0)).setHair(int(split[1]));
MakeUpHairs(this.getChildByName("hairPanel")).setFilter();
break;
};
}
override protected function setPosition(item:WardrobeItem):void{
var split:Array;
var contenerName:String;
var ref:MovieClip;
var tmpCounter:Number;
split = item.currentLabel.split("_");
switch (split[1]){
case "accesories":
contenerName = "accessories";
break;
case "blouses":
contenerName = "tops";
break;
case "boots":
contenerName = "shoes";
break;
case "dresses":
contenerName = "tops";
break;
case "skirts":
contenerName = "bottoms";
break;
case "trousers":
contenerName = "bottoms";
break;
};
if (item.height > 50){
item.scaleX = (item.scaleY = (50 / item.height));
};
if (item.width > 100){
item.scaleX = (item.scaleY = (100 / item.width));
};
ref = MovieClip(MovieClip(MovieClip(this.getChildByName(contenerName)).getChildByName("_panel")).getChildByName("contener"));
tmpCounter = ref.numChildren;
if (tmpCounter == 0){
item.x = (item.width / 2);
} else {
item.x = (((ref.getChildAt((tmpCounter - 1)).x + (ref.getChildAt((tmpCounter - 1)).width / 2)) + (item.width / 2)) + 20);
};
item.x = (item.x + 5);
item.y = (item.y + (item.height / 2));
item.buttonMode = true;
ref.addChild(item);
}
public function removeListenersAndGo(targetButton:String):void{
if (this.getChildByName("Dress_btn")){
MovieClip(this.getChildByName("Dress_btn")).removeEventListener(MouseEvent.CLICK, clicked);
if (this.getChildByName("lenses_mc")){
MovieClip(this.getChildByName("lenses_mc")).removeEventListener(MouseEvent.CLICK, makeMeUp);
};
if (this.getChildByName("EyeShade_mc")){
MovieClip(this.getChildByName("EyeShade_mc")).removeEventListener(MouseEvent.CLICK, makeMeUp);
};
if (this.getChildByName("gloss_mc")){
MovieClip(this.getChildByName("gloss_mc")).removeEventListener(MouseEvent.CLICK, makeMeUp);
};
if (this.getChildByName("hairPanel")){
MovieClip(this.getChildByName("hairPanel")).removeEventListener(MouseEvent.CLICK, hairMeUp);
};
};
switch (targetButton){
case "MakeUp_btn":
gotoAndPlay("DressUpOutro");
break;
case "Dress_btn":
gotoAndPlay("MakeUpOutro");
break;
};
}
override public function highlightItem(item:String):void{
super.highlightItem(item);
getItemObject(item).visible = false;
}
}
}//package pl.fabrykagier.game.fashiondesigner.dressing
Section 110
//DressWardobeItem (pl.fabrykagier.game.fashiondesigner.dressing.DressWardobeItem)
package pl.fabrykagier.game.fashiondesigner.dressing {
import pl.fabrykagier.engines.dressUp.*;
public class DressWardobeItem extends WardrobeItem {
public function DressWardobeItem(){
var split:Array;
super();
split = this.name.split("_");
if (split[0] == "wardobe"){
gotoAndStop(int(split[1]));
};
}
override public function lock():void{
super.lock();
this.alpha = 0.3;
}
override public function unlcok():void{
super.unlcok();
this.alpha = 1;
}
}
}//package pl.fabrykagier.game.fashiondesigner.dressing
Section 111
//ChooseModel (pl.fabrykagier.game.fashiondesigner.gameInterface.ChooseModel)
package pl.fabrykagier.game.fashiondesigner.gameInterface {
import pl.fabrykagier.framework.media.*;
import flash.events.*;
import flash.display.*;
import pl.fabrykagier.game.fashiondesigner.*;
import pl.fabrykagier.game.fashiondesigner.character.*;
public class ChooseModel extends MovieClip {
public var modelka:model_MAIN;
public var modelName:String;
public var modelKind:MovieClip;
public var modelName_mc:MovieClip;
private var selected:String;// = ""
public function ChooseModel(){
selected = "";
super();
this.buttonMode = true;
addEventListener(Event.ADDED_TO_STAGE, setScene);
addEventListener(Event.REMOVED_FROM_STAGE, cleanUp);
}
public function removeListeners():void{
removeEventListener(MouseEvent.MOUSE_OVER, mouseOver);
removeEventListener(MouseEvent.MOUSE_OUT, mouseOut);
removeEventListener(MouseEvent.CLICK, clicked);
if (this.parent.getChildByName("OkayButton")){
MovieClip(this.parent.getChildByName("OkayButton")).removeEventListener(MouseEvent.CLICK, modelChoosen);
MovieClip(this.parent.getChildByName("OkayButton")).removeEventListener(MouseEvent.MOUSE_OVER, btnMouseOver);
MovieClip(this.parent.getChildByName("OkayButton")).removeEventListener(MouseEvent.MOUSE_OUT, btnMouseOut);
};
}
private function btnMouseOver(e:MouseEvent):void{
if (MainScene.getInstance().ToSelect.length == 0){
SoundManager.playSound({name:"btn_over", loops:1});
MovieClip(this.parent.getChildByName("OkayButton")).gotoAndStop("on");
};
}
private function clicked(e:MouseEvent):void{
selectModel();
}
private function mouseOver(e:MouseEvent):void{
MovieClip(this.getChildByName("modelName_mc")).visible = true;
MovieClip(this.getChildByName("modelName_mc")).gotoAndPlay("on");
}
private function mouseOut(e:MouseEvent):void{
MovieClip(this.getChildByName("modelName_mc")).gotoAndPlay("off");
}
private function setScene(e:Event):void{
var tmpName:String;
var ref:FemaleModel;
var refStage:FemaleModel;
removeEventListener(Event.ADDED_TO_STAGE, setScene);
this.gotoAndStop(MainScene.DESTINATION);
addEventListener(MouseEvent.MOUSE_OVER, mouseOver);
addEventListener(MouseEvent.MOUSE_OUT, mouseOut);
addEventListener(MouseEvent.CLICK, clicked);
tmpName = ModelList(MainScene.getInstance().Models).namesArray[(int(this.name.charAt((this.name.length - 1))) - 1)];
ref = ModelList(MainScene.getInstance().Models).modelArray[tmpName];
refStage = FemaleModel(this.getChildByName("modelka"));
refStage._copyAllFromModel(ref);
this.modelName = ref.modelName;
refStage._setAllFrames();
this.getChildByName("modelKind").visible = false;
}
private function selectModel():void{
var tmpName:String;
var refModel:FemaleModel;
var ref:MovieClip;
var i:*;
tmpName = ModelList(MainScene.getInstance().Models).namesArray[(int(this.name.charAt((this.name.length - 1))) - 1)];
refModel = ModelList(MainScene.getInstance().Models).modelArray[tmpName];
if (this.selected.length == 0){
if (MainScene.getInstance().ToSelect.length > 0){
this.selected = MainScene.getInstance().ToSelect.shift();
this.getChildByName("modelKind").visible = true;
MovieClip(this.getChildByName("modelKind")).gotoAndStop(this.selected);
MainScene.getInstance().SelectedModels.push(refModel);
};
} else {
i = 0;
while (i < MainScene.getInstance().SelectedModels.length) {
if (FemaleModel(MainScene.getInstance().SelectedModels[i]).modelName == tmpName){
MainScene.getInstance().SelectedModels.splice(i, 1);
};
i++;
};
MainScene.getInstance().ToSelect.push(this.selected);
this.getChildByName("modelKind").visible = false;
this.selected = "";
};
refModel.modelType = this.selected;
ref = MovieClip(this.parent.getChildByName("OkayButton"));
if (((((ref) && ((MainScene.getInstance().ToSelect.length == 0)))) && (!((ref.alpha == 1))))){
ref.alpha = 1;
ref.buttonMode = true;
ref.addEventListener(MouseEvent.CLICK, modelChoosen);
ref.addEventListener(MouseEvent.MOUSE_OVER, btnMouseOver);
ref.addEventListener(MouseEvent.MOUSE_OUT, btnMouseOut);
} else {
if (((ref) && (!((MainScene.getInstance().ToSelect.length == 0))))){
ref.alpha = 0.4;
ref.buttonMode = false;
ref.removeEventListener(MouseEvent.CLICK, modelChoosen);
};
};
}
private function modelChoosen(e:MouseEvent):void{
var ref:MainScene;
var tmpbtn:MovieClip;
var i:*;
ref = MainScene.getInstance();
trace("HairArray length: ", ref.hairsArray.length);
if (ref.hairsArray.length > 7){
trace("** Inside ** ");
SoundManager.playSound({name:"btn_click", loops:1});
tmpbtn = MovieClip(this.parent.getChildByName("OkayButton"));
if (tmpbtn){
tmpbtn.removeEventListener(MouseEvent.CLICK, modelChoosen);
};
if (MainScene.getInstance().ToSelect.length == 0){
if (MovieClip(this.parent.getChildByName("OkayButton"))){
MovieClip(this.parent.getChildByName("OkayButton")).removeEventListener(MouseEvent.CLICK, modelChoosen);
};
i = 1;
while (i < 7) {
ChooseModel(this.parent.getChildByName(("model" + i))).removeListeners();
i++;
};
ref.hairsArray.splice(ref.hairsArray.indexOf(ref.SelectedModels[0].modelHair), 1);
ref.hairsArray.splice(ref.hairsArray.indexOf(ref.SelectedModels[1].modelHair), 1);
ref.hairsArray.splice(ref.hairsArray.indexOf(ref.SelectedModels[2].modelHair), 1);
trace("Po wyciagnieciu uzywanych -> ", ref.hairsArray);
i = 0;
while (i < 3) {
FemaleModel(ref.SelectedModels[i]).hairTypes = [];
FemaleModel(ref.SelectedModels[i]).hairTypes = new Array();
FemaleModel(ref.SelectedModels[i]).hairTypes.push(FemaleModel(ref.SelectedModels[i]).modelHair);
FemaleModel(ref.SelectedModels[i]).hairTypes.push(ref.hairsArray[(i * 2)]);
FemaleModel(ref.SelectedModels[i]).hairTypes.push(ref.hairsArray[((i * 2) + 1)]);
i++;
};
MovieClip(this.parent).gotoAndPlay("pickModelOut");
};
};
}
private function cleanUp(e:Event):void{
var tmpName:String;
removeEventListener(Event.REMOVED_FROM_STAGE, cleanUp);
removeEventListener(Event.ADDED_TO_STAGE, setScene);
removeEventListener(MouseEvent.MOUSE_OVER, mouseOver);
removeEventListener(MouseEvent.MOUSE_OUT, mouseOut);
removeEventListener(MouseEvent.CLICK, clicked);
tmpName = ModelList(MainScene.getInstance().Models).namesArray[(int(this.name.charAt((this.name.length - 1))) - 1)];
}
private function btnMouseOut(e:MouseEvent):void{
MovieClip(this.parent.getChildByName("OkayButton")).gotoAndStop("off");
}
}
}//package pl.fabrykagier.game.fashiondesigner.gameInterface
Section 112
//ConfirmNameButton (pl.fabrykagier.game.fashiondesigner.gameInterface.ConfirmNameButton)
package pl.fabrykagier.game.fashiondesigner.gameInterface {
import pl.fabrykagier.framework.media.*;
import flash.events.*;
import pl.fabrykagier.framework.language.*;
import flash.display.*;
import pl.fabrykagier.game.fashiondesigner.*;
import flash.text.*;
import pl.fabrykagier.framework.ui.graphical.*;
public class ConfirmNameButton extends InterfaceButton {
public function ConfirmNameButton(){
super();
}
override protected function onClick(e:MouseEvent):void{
var ref:TextField;
SoundManager.playSound({name:"btn_click", loops:1});
ref = TextField(this.parent.getChildByName("nameField"));
if (((!((ref.text == ""))) && (!((ref.text == LanguageManager.getInstance().getText("EnterName")))))){
MainScene.NAME = ref.text;
MovieClip(this.parent.parent).gotoAndPlay("nameOut");
};
}
}
}//package pl.fabrykagier.game.fashiondesigner.gameInterface
Section 113
//ConfirmSendButton (pl.fabrykagier.game.fashiondesigner.gameInterface.ConfirmSendButton)
package pl.fabrykagier.game.fashiondesigner.gameInterface {
import pl.fabrykagier.framework.media.*;
import flash.events.*;
import pl.fabrykagier.framework.language.*;
import pl.fabrykagier.game.fashiondesigner.*;
import flash.text.*;
import pl.fabrykagier.framework.ui.graphical.*;
public class ConfirmSendButton extends InterfaceButton {
public function ConfirmSendButton(){
super();
buttonMode = true;
}
override protected function onClick(e:MouseEvent):void{
var ref:TextField;
SoundManager.playSound({name:"btn_click", loops:1});
ref = TextField(this.parent.getChildByName("mailField"));
if (((!((ref.text == ""))) && (!((ref.text == LanguageManager.getInstance().getText("eMailAdress")))))){
MainScene.INSTANCE.sendMail(ref.text);
removeEventListener(MouseEvent.CLICK, onClick);
};
}
}
}//package pl.fabrykagier.game.fashiondesigner.gameInterface
Section 114
//DressupArrowButton (pl.fabrykagier.game.fashiondesigner.gameInterface.DressupArrowButton)
package pl.fabrykagier.game.fashiondesigner.gameInterface {
import flash.events.*;
import flash.display.*;
public class DressupArrowButton extends MovieClip {
public function DressupArrowButton(){
super();
addEventListener(Event.REMOVED_FROM_STAGE, cleanUp);
addEventListener(Event.ADDED_TO_STAGE, setButton);
}
private function mouseOver(e:MouseEvent):void{
this.gotoAndStop(2);
}
private function setButton(e:Event):void{
removeEventListener(Event.ADDED_TO_STAGE, setButton);
addEventListener(MouseEvent.MOUSE_OVER, mouseOver);
addEventListener(MouseEvent.MOUSE_OUT, mouseOut);
}
private function mouseOut(e:MouseEvent):void{
this.gotoAndStop(1);
}
private function cleanUp(e:Event):void{
removeEventListener(Event.REMOVED_FROM_STAGE, cleanUp);
removeEventListener(MouseEvent.MOUSE_OVER, mouseOver);
removeEventListener(MouseEvent.MOUSE_OUT, mouseOut);
}
}
}//package pl.fabrykagier.game.fashiondesigner.gameInterface
Section 115
//HintsButton (pl.fabrykagier.game.fashiondesigner.gameInterface.HintsButton)
package pl.fabrykagier.game.fashiondesigner.gameInterface {
import pl.fabrykagier.framework.media.*;
import flash.events.*;
import flash.display.*;
import pl.fabrykagier.game.fashiondesigner.*;
import pl.fabrykagier.framework.ui.graphical.*;
public class HintsButton extends InterfaceButton {
public function HintsButton(){
super();
if (MainScene.getInstance().wasInPRESHOW){
mouseOverLabel = "on2";
mouseOutLabel = "off2";
mouseDownLabel = "click2";
gotoAndStop("off2");
};
}
override protected function onClick(e:MouseEvent):void{
if (MovieClip(this.parent).currentFrame == 46){
SoundManager.playSound({name:"btn_click", loops:1});
MovieClip(this.parent).gotoAndStop("DressUpOutro");
if (MainScene.getInstance().wasInPRESHOW){
MovieClip(MovieClip(this.parent).getChildByName("popup_feedback")).gotoAndPlay(1);
} else {
MovieClip(MovieClip(this.parent).getChildByName("popup_hint")).gotoAndPlay(1);
};
} else {
if (MovieClip(this.parent).currentFrame == 96){
SoundManager.playSound({name:"btn_click", loops:1});
MovieClip(this.parent).gotoAndStop("MakeUpOutro");
if (MainScene.getInstance().wasInPRESHOW){
MovieClip(MovieClip(this.parent).getChildByName("popup_feedback")).gotoAndPlay(1);
} else {
MovieClip(MovieClip(this.parent).getChildByName("popup_hint")).gotoAndPlay(1);
};
};
};
}
}
}//package pl.fabrykagier.game.fashiondesigner.gameInterface
Section 116
//HintsOnPopup (pl.fabrykagier.game.fashiondesigner.gameInterface.HintsOnPopup)
package pl.fabrykagier.game.fashiondesigner.gameInterface {
import flash.events.*;
import pl.fabrykagier.framework.language.*;
import flash.display.*;
import pl.fabrykagier.game.fashiondesigner.*;
import flash.text.*;
public class HintsOnPopup extends MovieClip {
public var gotoAndPlayGrandparent_PopupOut$:button_Okay;
public var hint_txt:TextField;
public function HintsOnPopup(){
super();
addEventListener(Event.ADDED_TO_STAGE, setScene);
}
private function setScene(e:Event):void{
var hintsArray:*;
var num:Number;
removeEventListener(Event.ADDED_TO_STAGE, setScene);
hintsArray = new Array(LanguageManager.getInstance().getText("ArrayHint1"), LanguageManager.getInstance().getText("ArrayHint2"), LanguageManager.getInstance().getText("ArrayHint3"), LanguageManager.getInstance().getText("ArrayHint4"), LanguageManager.getInstance().getText("ArrayHint5"), LanguageManager.getInstance().getText("ArrayHint6"), LanguageManager.getInstance().getText("ArrayHint7"), LanguageManager.getInstance().getText("ArrayHint8"));
num = Math.floor((Math.random() * hintsArray.length));
do {
num = Math.floor((Math.random() * hintsArray.length));
} while (num == MainScene.INSTANCE.lastHint);
MainScene.INSTANCE.lastHint = num;
TextField(getChildByName("hint_txt")).text = hintsArray[num];
}
}
}//package pl.fabrykagier.game.fashiondesigner.gameInterface
Section 117
//MakeUpButton (pl.fabrykagier.game.fashiondesigner.gameInterface.MakeUpButton)
package pl.fabrykagier.game.fashiondesigner.gameInterface {
import pl.fabrykagier.framework.media.*;
import flash.events.*;
import flash.display.*;
import pl.fabrykagier.game.fashiondesigner.dressing.*;
import pl.fabrykagier.framework.ui.graphical.*;
public class MakeUpButton extends InterfaceButton {
public function MakeUpButton(){
super();
}
override protected function onClick(e:MouseEvent):void{
if ((((MovieClip(this.parent).currentFrame == 46)) || ((MovieClip(this.parent).currentFrame == 96)))){
SoundManager.playSound({name:"btn_click", loops:1});
DressWardobe(this.parent).removeListenersAndGo(this.name);
};
}
}
}//package pl.fabrykagier.game.fashiondesigner.gameInterface
Section 118
//NextModelButton (pl.fabrykagier.game.fashiondesigner.gameInterface.NextModelButton)
package pl.fabrykagier.game.fashiondesigner.gameInterface {
import pl.fabrykagier.framework.media.*;
import flash.events.*;
import flash.display.*;
import pl.fabrykagier.game.fashiondesigner.show.*;
import pl.fabrykagier.framework.ui.graphical.*;
public class NextModelButton extends InterfaceButton {
public function NextModelButton(){
super();
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
override protected function onClick(e:MouseEvent):void{
if (MovieClip(this.parent).currentLabel == "PreshowMoment"){
SoundManager.playSound({name:"btn_click", loops:1});
ShowThumbContainer(MovieClip(this.parent).getChildByName("ShowThumb")).nextModel();
};
}
}
}//package pl.fabrykagier.game.fashiondesigner.gameInterface
Section 119
//PickDestinationButton (pl.fabrykagier.game.fashiondesigner.gameInterface.PickDestinationButton)
package pl.fabrykagier.game.fashiondesigner.gameInterface {
import pl.fabrykagier.framework.media.*;
import flash.events.*;
import flash.display.*;
import pl.fabrykagier.game.fashiondesigner.*;
public class PickDestinationButton extends MovieClip {
public function PickDestinationButton(){
super();
buttonMode = true;
addEventListener(MouseEvent.ROLL_OVER, mouseOver);
addEventListener(MouseEvent.ROLL_OUT, mouseOut);
addEventListener(MouseEvent.CLICK, mouseClick);
addEventListener(Event.REMOVED_FROM_STAGE, removedFromStage);
}
private function mouseClick(e:MouseEvent):void{
var ref:MainScene;
var split:Array;
SoundManager.playSound({name:"btn_click", loops:1});
ref = MainScene.getInstance();
if (ref.getChildByName("pick_london")){
PickDestinationButton(ref.getChildByName("pick_london")).removeClickListener();
};
if (ref.getChildByName("pick_tokyo")){
PickDestinationButton(ref.getChildByName("pick_tokyo")).removeClickListener();
};
if (ref.getChildByName("pick_paris")){
PickDestinationButton(ref.getChildByName("pick_paris")).removeClickListener();
};
if (ref.getChildByName("pick_ny")){
PickDestinationButton(ref.getChildByName("pick_ny")).removeClickListener();
};
split = this.name.split("_");
MainScene.DESTINATION = split[1];
ref.gotoAndPlay("choiceOut");
}
private function removedFromStage(e:Event):void{
removeEventListener(Event.REMOVED_FROM_STAGE, removedFromStage);
removeEventListener(MouseEvent.ROLL_OVER, mouseOver);
removeEventListener(MouseEvent.ROLL_OUT, mouseOut);
removeEventListener(MouseEvent.CLICK, mouseClick);
}
private function mouseOver(e:MouseEvent):void{
SoundManager.playSound({name:"btn_over", loops:1});
e.stopImmediatePropagation();
if ((((currentFrame == 7)) || ((currentFrame == 21)))){
gotoAndPlay(8);
} else {
gotoAndPlay(((totalFrames - currentFrame) + 7));
};
}
public function removeClickListener():void{
removeEventListener(MouseEvent.CLICK, mouseClick);
}
private function mouseOut(e:MouseEvent):void{
e.stopImmediatePropagation();
gotoAndPlay(((totalFrames - currentFrame) + 7));
}
public function startBtn():void{
gotoAndPlay(8);
}
}
}//package pl.fabrykagier.game.fashiondesigner.gameInterface
Section 120
//PopupHello (pl.fabrykagier.game.fashiondesigner.gameInterface.PopupHello)
package pl.fabrykagier.game.fashiondesigner.gameInterface {
import flash.events.*;
import pl.fabrykagier.framework.language.*;
import flash.display.*;
import pl.fabrykagier.game.fashiondesigner.*;
import flash.text.*;
public class PopupHello extends MovieClip {
public var playerName:TextField;
public var thumb_face_mc:MovieClip;
public var gotoAndPlayGrandparent_pickModelIn$:button_Okay;
public function PopupHello(){
super();
addEventListener(Event.ADDED_TO_STAGE, onAdded);
}
private function onAdded(e:Event):void{
removeEventListener(Event.ADDED_TO_STAGE, onAdded);
TextField(getChildByName("playerName")).text = (((LanguageManager.getInstance().getText("Hello") + ", ") + MainScene.NAME) + "!");
}
}
}//package pl.fabrykagier.game.fashiondesigner.gameInterface
Section 121
//PopupKonnichiwa (pl.fabrykagier.game.fashiondesigner.gameInterface.PopupKonnichiwa)
package pl.fabrykagier.game.fashiondesigner.gameInterface {
import flash.events.*;
import pl.fabrykagier.framework.language.*;
import flash.display.*;
import flash.text.*;
import pl.fabrykagier.framework.main.*;
public class PopupKonnichiwa extends GameObject {
public var nameField:TextField;
public var thumb_face_mc:MovieClip;
public function PopupKonnichiwa(){
super();
addEventListener(Event.ADDED_TO_STAGE, onAdded);
TextField(getChildByName("nameField")).addEventListener(Event.CHANGE, textChanged);
addEventListener(Event.REMOVED_FROM_STAGE, cleanUp);
}
private function clicked(e:MouseEvent):void{
TextField(getChildByName("nameField")).removeEventListener(MouseEvent.CLICK, clicked);
TextField(getChildByName("nameField")).text = "";
}
private function onAdded(e:Event):void{
removeEventListener(Event.ADDED_TO_STAGE, onAdded);
TextField(getChildByName("nameField")).text = LanguageManager.getInstance().getText("EnterName");
TextField(getChildByName("nameField")).addEventListener(MouseEvent.CLICK, clicked);
}
private function textChanged(e:Event):void{
var ref:TextField;
var split:Array;
var tmpTxt:String;
var i:String;
ref = TextField(getChildByName("nameField"));
split = ref.text.split(" ");
tmpTxt = new String();
for each (i in split) {
tmpTxt = (tmpTxt + i);
};
ref.text = tmpTxt;
}
private function cleanUp(e:Event):void{
TextField(getChildByName("nameField")).removeEventListener(Event.CHANGE, textChanged);
removeEventListener(Event.REMOVED_FROM_STAGE, cleanUp);
}
}
}//package pl.fabrykagier.game.fashiondesigner.gameInterface
Section 122
//PopupNodressText (pl.fabrykagier.game.fashiondesigner.gameInterface.PopupNodressText)
package pl.fabrykagier.game.fashiondesigner.gameInterface {
import flash.events.*;
import pl.fabrykagier.framework.language.*;
import flash.display.*;
import pl.fabrykagier.game.fashiondesigner.*;
import flash.text.*;
import pl.fabrykagier.game.fashiondesigner.dressing.*;
public class PopupNodressText extends MovieClip {
public var nodressWhoa_txt:TextField;
public var nodress_txt:TextField;
public function PopupNodressText(){
super();
addEventListener(Event.ADDED_TO_STAGE, setScene);
}
private function setScene(e:Event):void{
var cdu:Array;
var tmpTextfield:TextField;
removeEventListener(Event.ADDED_TO_STAGE, setScene);
cdu = DressWardobe(MainScene.getInstance().getChildByName("dressing_wardobe")).withoutDress;
tmpTextfield = TextField(getChildByName("nodress_txt"));
TextField(getChildByName("nodressWhoa_txt")).text = LanguageManager.getInstance().getText("PopupNoDressStop");
switch (cdu.length){
case 1:
if (LanguageManager.getInstance().currentLanguage == "it"){
tmpTextfield.text = (((LanguageManager.getInstance().getText("PopupNoDress") + " ") + cdu[0]) + "!");
} else {
tmpTextfield.text = ((cdu[0] + " ") + LanguageManager.getInstance().getText("PopupNoDress"));
};
break;
case 2:
if (LanguageManager.getInstance().currentLanguage == "it"){
tmpTextfield.text = (((((((LanguageManager.getInstance().getText("PopupNoDress") + " ") + cdu[0]) + " ") + LanguageManager.getInstance().getText("And")) + " ") + cdu[1]) + "!");
} else {
tmpTextfield.text = ((((((cdu[0] + " ") + LanguageManager.getInstance().getText("And")) + " ") + cdu[1]) + " ") + LanguageManager.getInstance().getText("PopupNoDress"));
};
break;
case 3:
if (LanguageManager.getInstance().currentLanguage == "it"){
tmpTextfield.text = ((((((((((LanguageManager.getInstance().getText("PopupNoDress") + " ") + cdu[0]) + ", ") + " ") + cdu[1]) + " ") + LanguageManager.getInstance().getText("And")) + " ") + cdu[2]) + "!");
} else {
tmpTextfield.text = ((((((((cdu[0] + ", ") + cdu[1]) + " ") + LanguageManager.getInstance().getText("And")) + " ") + cdu[2]) + " ") + LanguageManager.getInstance().getText("PopupNoDress"));
};
break;
};
}
}
}//package pl.fabrykagier.game.fashiondesigner.gameInterface
Section 123
//PopupSendToAFriend (pl.fabrykagier.game.fashiondesigner.gameInterface.PopupSendToAFriend)
package pl.fabrykagier.game.fashiondesigner.gameInterface {
import flash.events.*;
import pl.fabrykagier.framework.language.*;
import flash.text.*;
import pl.fabrykagier.framework.main.*;
public class PopupSendToAFriend extends GameObject {
public var gotoAndPlayGrandparent_popupOut$:button_Okay_confirm_send;
public var mailField:TextField;
public function PopupSendToAFriend(){
super();
addEventListener(Event.ADDED_TO_STAGE, onAdded);
TextField(getChildByName("mailField")).addEventListener(Event.CHANGE, textChanged);
addEventListener(Event.REMOVED_FROM_STAGE, cleanUp);
}
private function clicked(e:MouseEvent):void{
TextField(getChildByName("mailField")).removeEventListener(MouseEvent.CLICK, clicked);
TextField(getChildByName("mailField")).text = "";
}
private function onAdded(e:Event):void{
removeEventListener(Event.ADDED_TO_STAGE, onAdded);
TextField(getChildByName("mailField")).text = LanguageManager.getInstance().getText("eMailAdress");
TextField(getChildByName("mailField")).addEventListener(MouseEvent.CLICK, clicked);
}
private function textChanged(e:Event):void{
var ref:TextField;
var split:Array;
var tmpTxt:String;
var i:String;
ref = TextField(getChildByName("mailField"));
split = ref.text.split(" ");
tmpTxt = new String();
for each (i in split) {
tmpTxt = (tmpTxt + i);
};
ref.text = tmpTxt;
}
private function cleanUp(e:Event):void{
TextField(getChildByName("mailField")).removeEventListener(Event.CHANGE, textChanged);
removeEventListener(Event.REMOVED_FROM_STAGE, cleanUp);
}
}
}//package pl.fabrykagier.game.fashiondesigner.gameInterface
Section 124
//PopupShowWelcome (pl.fabrykagier.game.fashiondesigner.gameInterface.PopupShowWelcome)
package pl.fabrykagier.game.fashiondesigner.gameInterface {
import flash.events.*;
import pl.fabrykagier.framework.language.*;
import flash.display.*;
import pl.fabrykagier.game.fashiondesigner.*;
import flash.text.*;
public class PopupShowWelcome extends MovieClip {
public var welcome_txt:TextField;
public var gotoAndPlayGrandparent_popupOut$:button_Okay;
public function PopupShowWelcome(){
super();
addEventListener(Event.ADDED_TO_STAGE, setScene);
addEventListener(Event.REMOVED_FROM_STAGE, CleanUp);
}
private function setScene(e:Event):void{
var tmpLocation:String;
removeEventListener(Event.ADDED_TO_STAGE, setScene);
switch (MainScene.DESTINATION){
case "london":
tmpLocation = "London";
break;
case "tokyo":
tmpLocation = "Tokyo";
break;
case "paris":
tmpLocation = "Paris";
break;
case "ny":
tmpLocation = "NewYork";
break;
};
TextField(this.getChildByName("welcome_txt")).text = ((((LanguageManager.getInstance().getText("PopupShowWelcome1") + " ") + LanguageManager.getInstance().getText(tmpLocation)) + " ") + LanguageManager.getInstance().getText("PopupShowWelcome2"));
}
private function CleanUp(e:Event):void{
removeEventListener(Event.REMOVED_FROM_STAGE, CleanUp);
removeEventListener(Event.ADDED_TO_STAGE, setScene);
}
}
}//package pl.fabrykagier.game.fashiondesigner.gameInterface
Section 125
//PreshowButton (pl.fabrykagier.game.fashiondesigner.gameInterface.PreshowButton)
package pl.fabrykagier.game.fashiondesigner.gameInterface {
import pl.fabrykagier.framework.media.*;
import flash.events.*;
import flash.display.*;
import pl.fabrykagier.game.fashiondesigner.*;
import pl.fabrykagier.game.fashiondesigner.character.*;
import pl.fabrykagier.game.fashiondesigner.dressing.*;
import pl.fabrykagier.framework.ui.graphical.*;
public class PreshowButton extends InterfaceButton {
private var itemList:Array;
public function PreshowButton(){
itemList = new Array();
super();
if (MainScene.getInstance().wasInPRESHOW){
mouseOverLabel = "on2";
mouseOutLabel = "off2";
mouseDownLabel = "click2";
gotoAndStop("off2");
};
}
private function gotoShow():void{
if (MovieClip(this.parent).currentFrame == 46){
MovieClip(this.parent).gotoAndStop("DressUpOutro");
MovieClip(MovieClip(this.parent).getChildByName("popup_show")).gotoAndPlay(1);
} else {
MovieClip(this.parent).gotoAndStop("MakeUpOutro");
MovieClip(MovieClip(this.parent).getChildByName("popup_show")).gotoAndPlay(1);
};
}
private function gotoPreshow():void{
if (MovieClip(this.parent).currentFrame == 46){
MovieClip(this.parent).gotoAndStop("DressUpOutro");
MovieClip(MovieClip(this.parent).getChildByName("popup_preshow")).gotoAndPlay(1);
} else {
MovieClip(this.parent).gotoAndStop("MakeUpOutro");
MovieClip(MovieClip(this.parent).getChildByName("popup_preshow")).gotoAndPlay(1);
};
}
override protected function onClick(e:MouseEvent):void{
var i:*;
var itemListLength:Number;
var tmpBlouses:Boolean;
var tmpBoots:Boolean;
var tmpDress:Boolean;
var tmpSkirt:Boolean;
var tmpTrousers:Boolean;
var j:*;
var split:Array;
if ((((MovieClip(this.parent).currentFrame == 46)) || ((MovieClip(this.parent).currentFrame == 96)))){
SoundManager.playSound({name:"btn_click", loops:1});
DressThumbsPanel(MainScene.getInstance().getChildByName("thumbPanel")).saveCurrentModel();
DressWardobe(this.parent).withoutDress = [];
i = 0;
while (i < 3) {
this.itemList = FemaleModel(MainScene.getInstance().SelectedModels[i])._itemList;
itemListLength = this.itemList.length;
tmpBlouses = false;
tmpBoots = false;
tmpDress = false;
tmpSkirt = false;
tmpTrousers = false;
j = 0;
while (j < itemListLength) {
split = itemList[j].split("_");
if ((((split[1] == "blouses")) && (!(tmpBlouses)))){
tmpBlouses = true;
};
if ((((split[1] == "boots")) && (!(tmpBoots)))){
tmpBoots = true;
};
if ((((split[1] == "dresses")) && (!(tmpDress)))){
tmpDress = true;
};
if ((((split[1] == "skirts")) && (!(tmpSkirt)))){
tmpSkirt = true;
};
if ((((split[1] == "trousers")) && (!(tmpTrousers)))){
tmpTrousers = true;
};
j++;
};
if (((tmpDress) && (tmpBoots))){
} else {
if (((((tmpSkirt) && (tmpBlouses))) && (tmpBoots))){
} else {
if (((((tmpTrousers) && (tmpBlouses))) && (tmpBoots))){
} else {
DressWardobe(this.parent).withoutDress.push(FemaleModel(MainScene.getInstance().SelectedModels[i]).modelName);
};
};
};
i++;
};
if (DressWardobe(this.parent).withoutDress.length > 0){
if (MovieClip(this.parent).currentFrame == 46){
MovieClip(this.parent).gotoAndStop("DressUpOutro");
MovieClip(MovieClip(this.parent).getChildByName("popup_nodress")).gotoAndPlay(1);
} else {
MovieClip(this.parent).gotoAndStop("MakeUpOutro");
MovieClip(MovieClip(this.parent).getChildByName("popup_nodress")).gotoAndPlay(1);
};
} else {
if (DressWardobe(this.parent).withoutDress.length == 0){
if (MainScene.getInstance().wasInPRESHOW){
gotoShow();
} else {
gotoPreshow();
};
};
};
};
}
}
}//package pl.fabrykagier.game.fashiondesigner.gameInterface
Section 126
//ReadyForPreshowButton (pl.fabrykagier.game.fashiondesigner.gameInterface.ReadyForPreshowButton)
package pl.fabrykagier.game.fashiondesigner.gameInterface {
import pl.fabrykagier.framework.media.*;
import flash.events.*;
import flash.display.*;
import pl.fabrykagier.game.fashiondesigner.*;
import pl.fabrykagier.framework.ui.graphical.*;
public class ReadyForPreshowButton extends InterfaceButton {
public function ReadyForPreshowButton(){
super();
}
override protected function onClick(e:MouseEvent):void{
SoundManager.playSound({name:"btn_click", loops:1});
MainScene.getInstance().repeatMC = false;
MovieClip(grandparent).gotoAndPlay("PopupOut");
}
}
}//package pl.fabrykagier.game.fashiondesigner.gameInterface
Section 127
//ReadyForShowButton (pl.fabrykagier.game.fashiondesigner.gameInterface.ReadyForShowButton)
package pl.fabrykagier.game.fashiondesigner.gameInterface {
import pl.fabrykagier.framework.media.*;
import flash.events.*;
import flash.display.*;
import pl.fabrykagier.game.fashiondesigner.*;
import flash.text.*;
import pl.fabrykagier.framework.ui.graphical.*;
public class ReadyForShowButton extends InterfaceButton {
public function ReadyForShowButton(){
super();
}
override protected function onClick(e:MouseEvent):void{
var ref:TextField;
if (MovieClip(MovieClip(this.parent).parent).currentFrame == 16){
SoundManager.playSound({name:"btn_click", loops:1});
ref = TextField(this.parent.getChildByName("collection_txt"));
if (ref.text != ""){
MainScene.COLLECTION = ref.text;
MainScene.getInstance().repeatMC = false;
MovieClip(grandparent).gotoAndPlay("PopupOut");
};
};
}
}
}//package pl.fabrykagier.game.fashiondesigner.gameInterface
Section 128
//ScrollPanel (pl.fabrykagier.game.fashiondesigner.gameInterface.ScrollPanel)
package pl.fabrykagier.game.fashiondesigner.gameInterface {
import flash.events.*;
import flash.display.*;
import pl.fabrykagier.game.fashiondesigner.*;
public class ScrollPanel extends MovieClip {
public var _right:dressup_button_arrow_right;
public var contener:MovieClip;
private var leftArrow:MovieClip;// = null
private var clothContener:MovieClip;// = null
private var rightArrow:MovieClip;// = null
public var _left:dressup_button_arrow_left;
public function ScrollPanel(){
leftArrow = null;
rightArrow = null;
clothContener = null;
super();
addEventListener(Event.ADDED_TO_STAGE, setScroller);
addEventListener(Event.REMOVED_FROM_STAGE, cleanUp);
}
private function moveMe(e:MouseEvent):void{
addEventListener(MouseEvent.MOUSE_UP, stopMoving);
switch (MovieClip(e.currentTarget).name){
case "_right":
addEventListener(Event.ENTER_FRAME, scrollLeft);
break;
case "_left":
addEventListener(Event.ENTER_FRAME, scrollRight);
break;
};
}
private function scrollRight(e:Event):void{
this.leftArrow.gotoAndStop(2);
if (this.clothContener.x > 25){
removeEventListener(Event.ENTER_FRAME, scrollRight);
this.leftArrow.gotoAndStop(1);
this.leftArrow.alpha = 0;
this.leftArrow.buttonMode = false;
} else {
this.clothContener.x = (this.clothContener.x + 5);
this.rightArrow.alpha = 100;
this.rightArrow.buttonMode = true;
};
}
private function scrollLeft(e:Event):void{
this.rightArrow.gotoAndStop(2);
if ((this.clothContener.x - 380) < -(this.clothContener.width)){
removeEventListener(Event.ENTER_FRAME, scrollLeft);
this.rightArrow.gotoAndStop(1);
this.rightArrow.alpha = 0;
this.rightArrow.buttonMode = false;
} else {
this.clothContener.x = (this.clothContener.x - 5);
this.leftArrow.alpha = 100;
this.leftArrow.buttonMode = true;
};
}
public function setArrowStatus():void{
if (this.clothContener.width > 380){
this.rightArrow.alpha = 100;
this.rightArrow.buttonMode = true;
};
}
private function setScroller(e:Event):void{
MainScene.getInstance().scrollPanels.push(this);
removeEventListener(Event.ADDED_TO_STAGE, setScroller);
this.leftArrow = MovieClip(this.getChildByName("_left"));
this.leftArrow.addEventListener(MouseEvent.MOUSE_DOWN, moveMe);
this.leftArrow.addEventListener(MouseEvent.MOUSE_OUT, stopMoving);
this.rightArrow = MovieClip(this.getChildByName("_right"));
this.rightArrow.addEventListener(MouseEvent.MOUSE_DOWN, moveMe);
this.rightArrow.addEventListener(MouseEvent.MOUSE_OUT, stopMoving);
addEventListener(MouseEvent.MOUSE_UP, stopMoving);
this.clothContener = MovieClip(MovieClip(this.getChildByName("contener")));
this.leftArrow.alpha = 0;
this.leftArrow.buttonMode = false;
this.rightArrow.alpha = 0;
this.rightArrow.buttonMode = false;
}
private function cleanUp(e:Event):void{
removeEventListener(Event.REMOVED_FROM_STAGE, cleanUp);
removeEventListener(Event.ADDED_TO_STAGE, setScroller);
removeEventListener(Event.ENTER_FRAME, scrollLeft);
removeEventListener(Event.ENTER_FRAME, scrollLeft);
removeEventListener(MouseEvent.MOUSE_UP, stopMoving);
if (this.leftArrow){
this.leftArrow.removeEventListener(MouseEvent.MOUSE_DOWN, moveMe);
this.leftArrow.removeEventListener(MouseEvent.MOUSE_OUT, stopMoving);
};
if (this.rightArrow){
this.rightArrow.removeEventListener(MouseEvent.MOUSE_DOWN, moveMe);
};
this.rightArrow.removeEventListener(MouseEvent.MOUSE_OUT, stopMoving);
}
private function stopMoving(e:MouseEvent):void{
removeEventListener(Event.ENTER_FRAME, scrollLeft);
removeEventListener(Event.ENTER_FRAME, scrollRight);
if (this.getChildByName("_left")){
MovieClip(this.getChildByName("_left")).gotoAndStop(1);
};
if (this.getChildByName("_right")){
MovieClip(this.getChildByName("_right")).gotoAndStop(1);
};
}
}
}//package pl.fabrykagier.game.fashiondesigner.gameInterface
Section 129
//ShowNextModelButton (pl.fabrykagier.game.fashiondesigner.gameInterface.ShowNextModelButton)
package pl.fabrykagier.game.fashiondesigner.gameInterface {
import pl.fabrykagier.framework.media.*;
import flash.events.*;
import flash.display.*;
import pl.fabrykagier.game.fashiondesigner.*;
import pl.fabrykagier.framework.ui.graphical.*;
public class ShowNextModelButton extends InterfaceButton {
public function ShowNextModelButton(){
super();
if (MainScene.CURRENTSELECTION == 2){
mouseOverLabel = "on2";
mouseOutLabel = "off2";
mouseDownLabel = "click2";
gotoAndStop("off2");
};
}
override protected function onClick(e:MouseEvent):void{
if (MovieClip(this.parent).currentLabel == "ShowMoment"){
SoundManager.playSound({name:"btn_click", loops:1});
MainScene.CURRENTSELECTION++;
MovieClip(this.parent).gotoAndPlay("ShowOut");
};
}
}
}//package pl.fabrykagier.game.fashiondesigner.gameInterface
Section 130
//StartGameButton (pl.fabrykagier.game.fashiondesigner.gameInterface.StartGameButton)
package pl.fabrykagier.game.fashiondesigner.gameInterface {
import pl.fabrykagier.framework.media.*;
import flash.events.*;
import flash.display.*;
public class StartGameButton extends MovieClip {
public function StartGameButton(){
super();
buttonMode = true;
addEventListener(Event.REMOVED_FROM_STAGE, cleanUp);
addEventListener(MouseEvent.CLICK, onClick);
}
private function cleanUp(e:Event):void{
removeEventListener(MouseEvent.CLICK, onClick);
removeEventListener(Event.REMOVED_FROM_STAGE, cleanUp);
}
private function onClick(e:MouseEvent):void{
SoundManager.playSound({name:"btn_click", loops:1});
MovieClip(this.parent).gotoAndPlay("titleOut");
}
}
}//package pl.fabrykagier.game.fashiondesigner.gameInterface
Section 131
//HairObject (pl.fabrykagier.game.fashiondesigner.gameObjects.HairObject)
package pl.fabrykagier.game.fashiondesigner.gameObjects {
import flash.events.*;
import flash.display.*;
import pl.fabrykagier.game.fashiondesigner.character.*;
public class HairObject extends MovieClip {
public var hair_02:MovieClip;
public var hair_06:MovieClip;
public var hair_07:MovieClip;
public var hair_03:MovieClip;
public var hair_04:MovieClip;
public var hair_05:MovieClip;
public var hair_09:MovieClip;
public var hair_08:MovieClip;
public var hair_01:MovieClip;
public var hair_10:MovieClip;
public function HairObject(){
super();
addEventListener(Event.ADDED_TO_STAGE, setHair);
addEventListener(Event.REMOVED_FROM_STAGE, CleanUp);
}
private function setHair(e:Event):void{
removeEventListener(Event.ADDED_TO_STAGE, setHair);
if (this.parent.name != "hair_contener"){
gotoAndStop(FemaleModel(this.parent.parent).modelHairColor);
};
}
private function CleanUp(e:Event):void{
removeEventListener(Event.REMOVED_FROM_STAGE, CleanUp);
}
}
}//package pl.fabrykagier.game.fashiondesigner.gameObjects
Section 132
//MakeUpHairs (pl.fabrykagier.game.fashiondesigner.gameObjects.MakeUpHairs)
package pl.fabrykagier.game.fashiondesigner.gameObjects {
import flash.events.*;
import flash.display.*;
import pl.fabrykagier.game.fashiondesigner.*;
import pl.fabrykagier.game.fashiondesigner.character.*;
import flash.filters.*;
import flash.utils.*;
public class MakeUpHairs extends MovieClip {
public var hair_contener:MovieClip;
private var ref:FemaleModel;
private var filter2:GlowFilter;
private var ref2:MovieClip;
public function MakeUpHairs(){
filter2 = new GlowFilter(0xFFFFFF, 1, 2, 2, 50, 3, false, false);
super();
addEventListener(Event.ADDED_TO_STAGE, setScene);
addEventListener(Event.REMOVED_FROM_STAGE, cleanUp);
}
public function removeFilter():void{
MovieClip(ref2.getChildByName(("hair_" + this.ref.modelHair.toString()))).filters = [];
}
private function setScene(e:Event):void{
removeEventListener(Event.ADDED_TO_STAGE, setScene);
setHairs();
}
public function setHairs():void{
var hair11:String;
var hair12:String;
var hair13:String;
var class11:Class;
var class12:Class;
var class13:Class;
var tmp_hair11:*;
var tmp_hair12:*;
var tmp_hair13:*;
var tmp_height:*;
var i:*;
this.ref = FemaleModel(MovieClip(MainScene.getInstance().getChildByName("dressingModel")).getChildByName("modelka"));
this.ref2 = MovieClip(this.getChildByName("hair_contener"));
removeChildren();
hair11 = (("Hair_" + ref.hairTypes[0].toString()) + "_Top_");
hair12 = (("Hair_" + ref.hairTypes[1].toString()) + "_Top_");
hair13 = (("Hair_" + ref.hairTypes[2].toString()) + "_Top_");
class11 = Class(getDefinitionByName(hair11));
class12 = Class(getDefinitionByName(hair12));
class13 = Class(getDefinitionByName(hair13));
tmp_hair11 = new (class11);
tmp_hair12 = new (class12);
tmp_hair13 = new (class13);
tmp_height = 0;
ref2.x = 15;
ref2.y = 15;
ref2.addChild(tmp_hair11);
ref2.addChild(tmp_hair12);
ref2.addChild(tmp_hair13);
ref2.getChildAt(0).name = ("hair_" + ref.hairTypes[0].toString());
ref2.getChildAt(1).name = ("hair_" + ref.hairTypes[1].toString());
ref2.getChildAt(2).name = ("hair_" + ref.hairTypes[2].toString());
i = 0;
while (i < 3) {
ref2.getChildAt(i).scaleX = 0.35;
ref2.getChildAt(i).scaleY = 0.35;
ref2.getChildAt(i).x = (ref2.getChildAt(i).x + 5);
ref2.getChildAt(i).y = tmp_height;
tmp_height = (tmp_height + (ref2.getChildAt(i).height + 10));
MovieClip(ref2.getChildAt(i)).gotoAndStop(ref.modelHairColor);
MovieClip(ref2.getChildAt(i)).buttonMode = true;
i++;
};
setFilter();
}
public function setFilter():void{
var refModel:FemaleModel;
refModel = FemaleModel(MovieClip(MainScene.getInstance().getChildByName("dressingModel")).getChildByName("modelka"));
MovieClip(ref2.getChildByName(("hair_" + refModel.modelHair.toString()))).filters = [filter2];
}
private function removeChildren():void{
var ref2:MovieClip;
var childrenNumber:Number;
var i:*;
ref2 = MovieClip(this.getChildByName("hair_contener"));
childrenNumber = ref2.numChildren;
if (childrenNumber > 0){
i = (childrenNumber - 1);
while (i >= 0) {
ref2.removeChildAt(i);
i--;
};
};
}
private function cleanUp(e:Event):void{
removeEventListener(Event.REMOVED_FROM_STAGE, cleanUp);
removeEventListener(Event.ADDED_TO_STAGE, setScene);
this.ref = null;
}
}
}//package pl.fabrykagier.game.fashiondesigner.gameObjects
Section 133
//MakeUpMirror (pl.fabrykagier.game.fashiondesigner.gameObjects.MakeUpMirror)
package pl.fabrykagier.game.fashiondesigner.gameObjects {
import flash.events.*;
import flash.display.*;
import pl.fabrykagier.game.fashiondesigner.*;
import pl.fabrykagier.game.fashiondesigner.character.*;
public class MakeUpMirror extends MovieClip {
private var ref:FemaleModel;
public var head:MovieClip;
public function MakeUpMirror(){
super();
addEventListener(Event.ADDED_TO_STAGE, setScene);
addEventListener(Event.REMOVED_FROM_STAGE, cleanUp);
}
private function setScene(e:Event):void{
var refCurrentModelOnStage:FemaleModel;
removeEventListener(Event.ADDED_TO_STAGE, setScene);
refCurrentModelOnStage = FemaleModel(MovieClip(MainScene.getInstance().getChildByName("dressingModel")).getChildByName("modelka"));
this.ref = new model_MAIN();
this.ref._copyAllFromModel(refCurrentModelOnStage);
MovieClip(this.getChildByName("head")).addChild(this.ref);
MovieClip(this.getChildByName("head")).scaleX = 1.5;
MovieClip(this.getChildByName("head")).scaleY = 1.5;
MovieClip(this.getChildByName("head")).x = (MovieClip(this.getChildByName("head")).x + 50);
MovieClip(this.getChildByName("head")).y = (MovieClip(this.getChildByName("head")).y + 20);
}
private function cleanUp(e:Event):void{
removeEventListener(Event.REMOVED_FROM_STAGE, cleanUp);
removeEventListener(Event.ADDED_TO_STAGE, setScene);
MovieClip(this.getChildByName("head")).removeChild(this.ref);
this.ref = null;
}
}
}//package pl.fabrykagier.game.fashiondesigner.gameObjects
Section 134
//CountStyleMatching (pl.fabrykagier.game.fashiondesigner.show.CountStyleMatching)
package pl.fabrykagier.game.fashiondesigner.show {
import pl.fabrykagier.framework.language.*;
import flash.display.*;
import pl.fabrykagier.game.fashiondesigner.*;
import pl.fabrykagier.game.fashiondesigner.character.*;
public class CountStyleMatching extends MovieClip {
private var tokyoStyleList:Array;
private var color:Array;
private var newyorkStyleList:Array;
private var tipsTextPositive:Array;
private var parisStyleList:Array;
private var londonStyleList:Array;
private var tipsTextNegative:Array;
private var mColor:Array;
public function CountStyleMatching(){
tokyoStyleList = new Array();
londonStyleList = new Array();
newyorkStyleList = new Array();
parisStyleList = new Array();
color = new Array();
mColor = new Array();
tipsTextPositive = new Array();
tipsTextNegative = new Array();
super();
tipsTextPositive.push(new Array("The combination of ", ", ", " and ", " looks really nice. "));
tipsTextPositive.push(new Array("The combination of ", ", ", " and ", " is great. "));
tipsTextPositive.push(new Array("The combination of ", ", ", " and ", " is good choice. "));
tipsTextNegative.push(new Array("The combination of ", ", ", " and ", " don't go well together. "));
tipsTextNegative.push(new Array("The combination of ", ", ", " and ", ", it isn't good choice. "));
tipsTextNegative.push(new Array("You need to change ", ", ", " and ", ". It does not look quite right. "));
tokyoStyleList["casual"] = new Array("tokyo_accesories_01", "tokyo_accesories_02", "tokyo_blouses_01", "tokyo_blouses_02", "tokyo_boots_01", "tokyo_boots_02", "tokyo_dresses_01", "tokyo_dresses_02", "tokyo_skirts_01", "tokyo_skirts_02", "tokyo_trousers_01", "tokyo_trousers_02");
tokyoStyleList["dressy"] = new Array("tokyo_accesories_03", "tokyo_accesories_04", "tokyo_blouses_03", "tokyo_blouses_04", "tokyo_boots_03", "tokyo_boots_04", "tokyo_dresses_03", "tokyo_dresses_04", "tokyo_skirts_03", "tokyo_skirts_04", "tokyo_trousers_03", "tokyo_trousers_04", "tokyo_trousers_07");
tokyoStyleList["professional"] = new Array("tokyo_accesories_05", "tokyo_accesories_06", "tokyo_blouses_05", "tokyo_blouses_06", "tokyo_boots_05", "tokyo_boots_06", "tokyo_dresses_05", "tokyo_dresses_06", "tokyo_skirts_05", "tokyo_skirts_06", "tokyo_trousers_05", "tokyo_trousers_06");
tokyoStyleList["accessories"] = new Array("tokyo_accesories_01", "tokyo_accesories_02", "tokyo_accesories_03", "tokyo_accesories_04", "tokyo_accesories_05", "tokyo_accesories_06");
tokyoStyleList["tops"] = new Array("tokyo_blouses_01", "tokyo_blouses_02", "tokyo_blouses_03", "tokyo_blouses_04", "tokyo_blouses_05", "tokyo_blouses_06", "tokyo_dresses_01", "tokyo_dresses_02", "tokyo_dresses_03", "tokyo_dresses_04", "tokyo_dresses_05", "tokyo_dresses_06");
tokyoStyleList["bottoms"] = new Array("tokyo_skirts_01", "tokyo_skirts_02", "tokyo_skirts_03", "tokyo_skirts_04", "tokyo_skirts_05", "tokyo_skirts_06", "tokyo_trousers_01", "tokyo_trousers_02", "tokyo_trousers_03", "tokyo_trousers_04", "tokyo_trousers_05", "tokyo_trousers_06", "tokyo_trousers_07");
tokyoStyleList["shoes"] = new Array("tokyo_boots_01", "tokyo_boots_02", "tokyo_boots_03", "tokyo_boots_04", "tokyo_boots_05", "tokyo_boots_06");
color["tokyo_accesories_01"] = 1;
color["tokyo_accesories_02"] = 1;
color["tokyo_accesories_03"] = 1;
color["tokyo_accesories_04"] = 1;
color["tokyo_accesories_05"] = 1;
color["tokyo_accesories_06"] = 0;
color["tokyo_blouses_01"] = 0;
color["tokyo_blouses_02"] = 1;
color["tokyo_blouses_03"] = 1;
color["tokyo_blouses_04"] = 0;
color["tokyo_blouses_05"] = 1;
color["tokyo_blouses_06"] = 0;
color["tokyo_boots_01"] = 0;
color["tokyo_boots_02"] = 1;
color["tokyo_boots_03"] = 0;
color["tokyo_boots_04"] = 1;
color["tokyo_boots_05"] = 0;
color["tokyo_boots_06"] = 0;
color["tokyo_dresses_01"] = 0;
color["tokyo_dresses_02"] = 1;
color["tokyo_dresses_03"] = 1;
color["tokyo_dresses_04"] = 0;
color["tokyo_dresses_05"] = 0;
color["tokyo_dresses_06"] = 1;
color["tokyo_skirts_01"] = 1;
color["tokyo_skirts_02"] = 0;
color["tokyo_skirts_03"] = 0;
color["tokyo_skirts_04"] = 1;
color["tokyo_skirts_05"] = 1;
color["tokyo_skirts_06"] = 0;
color["tokyo_trousers_01"] = 1;
color["tokyo_trousers_02"] = 1;
color["tokyo_trousers_03"] = 1;
color["tokyo_trousers_04"] = 1;
color["tokyo_trousers_05"] = 0;
color["tokyo_trousers_06"] = 0;
color["tokyo_trousers_07"] = 0;
londonStyleList["casual"] = new Array("london_accesories_01", "london_accesories_02", "london_blouses_01", "london_blouses_02", "london_blouses_03", "london_boots_01", "london_boots_02", "london_dresses_01", "london_dresses_03", "london_skirts_01", "london_skirts_02", "london_trousers_02", "london_trousers_04");
londonStyleList["dressy"] = new Array("london_accesories_04", "london_accesories_05", "london_blouses_04", "london_blouses_05", "london_boots_03", "london_boots_04", "london_dresses_02", "london_dresses_04", "london_skirts_03", "london_skirts_04", "london_trousers_01", "london_trousers_03");
londonStyleList["professional"] = new Array("london_accesories_03", "london_accesories_06", "london_blouses_06", "london_blouses_07", "london_boots_05", "london_boots_06", "london_dresses_05", "london_dresses_06", "london_skirts_05", "london_skirts_06", "london_trousers_05", "london_trousers_06");
londonStyleList["accessories"] = new Array("london_accesories_01", "london_accesories_02", "london_accesories_03", "london_accesories_04", "london_accesories_05", "london_accesories_06");
londonStyleList["tops"] = new Array("london_blouses_01", "london_blouses_2", "london_blouses_03", "london_blouses_04", "london_blouses_05", "london_blouses_06", "london_blouses_07", "london_dresses_01", "london_dresses_02", "london_dresses_03", "london_dresses_04", "london_dresses_05", "london_dresses_06");
londonStyleList["bottoms"] = new Array("london_skirts_01", "london_skirts_02", "london_skirts_03", "london_skirts_04", "london_skirts_05", "london_skirts_06", "london_trousers_01", "london_trousers_02", "london_trousers_03", "london_trousers_04", "london_trousers_05", "london_trousers_06");
londonStyleList["shoes"] = new Array("london_boots_01", "london_boots_02", "london_boots_03", "london_boots_04", "london_boots_05", "london_boots_06");
color["london_accesories_01"] = 0;
color["london_accesories_02"] = 0;
color["london_accesories_03"] = 0;
color["london_accesories_04"] = 0;
color["london_accesories_05"] = 1;
color["london_accesories_06"] = 1;
color["london_blouses_01"] = 0;
color["london_blouses_02"] = 0;
color["london_blouses_03"] = 1;
color["london_blouses_04"] = 0;
color["london_blouses_05"] = 1;
color["london_blouses_06"] = 1;
color["london_blouses_07"] = 0;
color["london_boots_01"] = 0;
color["london_boots_02"] = 0;
color["london_boots_03"] = 0;
color["london_boots_04"] = 0;
color["london_boots_05"] = 0;
color["london_boots_06"] = 0;
color["london_dresses_01"] = 0;
color["london_dresses_02"] = 1;
color["london_dresses_03"] = 1;
color["london_dresses_04"] = 1;
color["london_dresses_05"] = 1;
color["london_dresses_06"] = 0;
color["london_skirts_01"] = 1;
color["london_skirts_02"] = 0;
color["london_skirts_03"] = 0;
color["london_skirts_04"] = 0;
color["london_skirts_05"] = 0;
color["london_skirts_06"] = 1;
color["london_trousers_01"] = 0;
color["london_trousers_02"] = 0;
color["london_trousers_03"] = 1;
color["london_trousers_04"] = 0;
color["london_trousers_05"] = 0;
color["london_trousers_06"] = 0;
newyorkStyleList["casual"] = new Array("newyork_accesories_01", "newyork_accesories_02", "newyork_blouses_01", "newyork_blouses_02", "newyork_dresses_01", "newyork_dresses_02", "newyork_boots_01", "newyork_boots_02", "newyork_skirts_01", "newyork_skirts_02", "newyork_trousers_02", "newyork_trousers_06");
newyorkStyleList["dressy"] = new Array("newyork_accesories_03", "newyork_accesories_04", "newyork_blouses_03", "newyork_blouses_04", "newyork_dresses_03", "newyork_dresses_04", "newyork_boots_03", "newyork_boots_04", "newyork_skirts_03", "newyork_skirts_04", "newyork_trousers_01", "newyork_trousers_03");
newyorkStyleList["professional"] = new Array("newyork_accesories_05", "newyork_accesories_06", "newyork_blouses_05", "newyork_blouses_06", "newyork_dresses_05", "newyork_dresses_06", "newyork_boots_05", "newyork_boots_06", "newyork_skirts_05", "newyork_skirts_06", "newyork_trousers_04", "newyork_trousers_05");
newyorkStyleList["accessories"] = new Array("newyork_accesories_01", "newyork_accesories_02", "newyork_accesories_03", "newyork_accesories_04", "newyork_accesories_05", "newyork_accesories_06");
newyorkStyleList["tops"] = new Array("newyork_blouses_01", "newyork_blouses_02", "newyork_blouses_03", "newyork_blouses_04", "newyork_blouses_05", "newyork_blouses_06", "newyork_dresses_01", "newyork_dresses_02", "newyork_dresses_03", "newyork_dresses_05", "newyork_dresses_06");
newyorkStyleList["bottoms"] = new Array("newyork_skirts_01", "newyork_skirts_02", "newyork_skirts_03", "newyork_skirts_04", "newyork_skirts_05", "newyork_skirts_06", "newyork_trousers_01", "newyork_trousers_02", "newyork_trousers_03", "newyork_trousers_04", "newyork_trousers_05", "newyork_trousers_06");
newyorkStyleList["shoes"] = new Array("newyork_boots_01", "newyork_boots_02", "newyork_boots_03", "newyork_boots_04", "newyork_boots_05", "newyork_boots_06");
color["newyork_accesories_01"] = 1;
color["newyork_accesories_02"] = 1;
color["newyork_accesories_03"] = 1;
color["newyork_accesories_04"] = 0;
color["newyork_accesories_05"] = 0;
color["newyork_accesories_06"] = 1;
color["newyork_blouses_01"] = 1;
color["newyork_blouses_02"] = 1;
color["newyork_blouses_03"] = 1;
color["newyork_blouses_04"] = 1;
color["newyork_blouses_05"] = 0;
color["newyork_blouses_06"] = 1;
color["newyork_boots_01"] = 1;
color["newyork_boots_02"] = 1;
color["newyork_boots_03"] = 1;
color["newyork_boots_04"] = 1;
color["newyork_boots_05"] = 0;
color["newyork_boots_06"] = 0;
color["newyork_dresses_01"] = 0;
color["newyork_dresses_02"] = 1;
color["newyork_dresses_03"] = 0;
color["newyork_dresses_04"] = 1;
color["newyork_dresses_05"] = 0;
color["newyork_dresses_06"] = 1;
color["newyork_skirts_01"] = 0;
color["newyork_skirts_02"] = 1;
color["newyork_skirts_03"] = 1;
color["newyork_skirts_04"] = 1;
color["newyork_skirts_05"] = 1;
color["newyork_skirts_06"] = 0;
color["newyork_trousers_01"] = 1;
color["newyork_trousers_02"] = 1;
color["newyork_trousers_03"] = 0;
color["newyork_trousers_04"] = 1;
color["newyork_trousers_05"] = 0;
color["newyork_trousers_06"] = 1;
parisStyleList["casual"] = new Array("paris_accesories_01", "paris_accesories_02", "paris_blouses_01", "paris_blouses_02", "paris_boots_01", "paris_boots_02", "paris_dresses_01", "paris_dresses_02", "paris_skirts_01", "paris_skirts_02", "paris_trousers_02", "paris_trousers_04");
parisStyleList["dressy"] = new Array("paris_accesories_03", "paris_accesories_04", "paris_blouses_03", "paris_blouses_04", "paris_boots_03", "paris_boots_04", "paris_dresses_03", "paris_dresses_04", "paris_skirts_03", "paris_skirts_04", "paris_trousers_01", "paris_trousers_06");
parisStyleList["professional"] = new Array("paris_accesories_05", "paris_accesories_06", "paris_blouses_05", "paris_blouses_01", "paris_boots_05", "paris_boots_06", "paris_dresses_05", "paris_dresses_06", "paris_skirts_05", "paris_skirts_06", "paris_trousers_03", "paris_trousers_05");
parisStyleList["accessories"] = new Array("paris_accesories_01", "paris_accesories_02", "paris_accesories_03", "paris_accesories_04", "paris_accesories_05", "paris_accesories_06");
parisStyleList["tops"] = new Array("paris_blouses_01", "paris_blouses_02", "paris_blouses_03", "paris_blouses_04", "paris_blouses_05", "paris_blouses_06", "paris_dresses_01", "paris_dresses_02", "paris_dresses_03", "paris_dresses_04", "paris_dresses_05", "paris_dresses_06");
parisStyleList["bottoms"] = new Array("paris_skirts_01", "paris_skirts_02", "paris_skirts_03", "paris_skirts_04", "paris_skirts_05", "paris_skirts_06", "paris_trousers_01", "paris_trousers_02", "paris_trousers_03", "paris_trousers_04", "paris_trousers_05", "paris_trousers_06");
parisStyleList["shoes"] = new Array("paris_boots_01", "paris_boots_02", "paris_boots_03", "paris_boots_04", "paris_boots_05", "paris_boots_06");
color["paris_accesories_01"] = 1;
color["paris_accesories_02"] = 0;
color["paris_accesories_03"] = 0;
color["paris_accesories_04"] = 1;
color["paris_accesories_05"] = 0;
color["paris_accesories_06"] = 1;
color["paris_blouses_01"] = 0;
color["paris_blouses_02"] = 1;
color["paris_blouses_03"] = 0;
color["paris_blouses_04"] = 0;
color["paris_blouses_05"] = 0;
color["paris_blouses_06"] = 1;
color["paris_boots_01"] = 0;
color["paris_boots_02"] = 1;
color["paris_boots_03"] = 1;
color["paris_boots_04"] = 0;
color["paris_boots_05"] = 0;
color["paris_boots_06"] = 1;
color["paris_dresses_01"] = 1;
color["paris_dresses_02"] = 1;
color["paris_dresses_03"] = 1;
color["paris_dresses_04"] = 1;
color["paris_dresses_05"] = 1;
color["paris_dresses_06"] = 0;
color["paris_skirts_01"] = 1;
color["paris_skirts_02"] = 0;
color["paris_skirts_03"] = 1;
color["paris_skirts_04"] = 1;
color["paris_skirts_05"] = 1;
color["paris_skirts_06"] = 0;
color["paris_trousers_01"] = 0;
color["paris_trousers_02"] = 0;
color["paris_trousers_03"] = 1;
color["paris_trousers_04"] = 1;
color["paris_trousers_05"] = 0;
color["paris_trousers_06"] = 1;
mColor["eye_01"] = 0;
mColor["eye_02"] = 1;
mColor["eye_03"] = 0;
mColor["eye_04"] = 1;
mColor["eye_05"] = 1;
mColor["eye_06"] = 0;
mColor["eye_07"] = 1;
mColor["eye_08"] = 1;
mColor["eye_09"] = 1;
mColor["eye_10"] = 1;
mColor["lips_01"] = 1;
mColor["lips_02"] = 1;
mColor["lips_03"] = 1;
mColor["lips_04"] = 1;
mColor["lips_05"] = 0;
mColor["lips_06"] = 0;
mColor["lips_07"] = 1;
mColor["lips_08"] = 0;
mColor["lips_09"] = 1;
mColor["lips_10"] = 1;
mColor["shade_01"] = 0;
mColor["shade_02"] = 1;
mColor["shade_03"] = 1;
mColor["shade_04"] = 0;
mColor["shade_05"] = 0;
mColor["shade_06"] = 1;
mColor["shade_07"] = 1;
mColor["shade_08"] = 0;
mColor["shade_09"] = 0;
mColor["shade_10"] = 1;
}
public function countStyle():void{
var styleList:Array;
var i:*;
var ref:FemaleModel;
var itemList:*;
var itemListLength:Number;
var currentModelStyle:String;
var tmpClothes:Array;
var tmpMakeup:Array;
var topGood:Boolean;
var bottomGood:Boolean;
var shoesGood:Boolean;
var accesoryGood:Boolean;
var tmpTOP:String;
var TOP:*;
var BOTTOM:*;
var SHOES:*;
var STYLES:Array;
var goodOnes:Array;
var badOnes:Array;
var accOnes:Array;
var j:*;
var randomTip:*;
var hintsArray:Array;
var goodLenght:Number;
var preText:*;
var preText1:*;
var preText2:*;
var k:*;
var accLenght:Number;
var eC:Number;
var yC:Number;
var lC:Number;
var tmpEyeColor:Number;
var tmpShadeColor:Number;
var tmpLipColor:Number;
var topColor:Number;
var toSendF:*;
var clothesPairs:Number;
var allesPunkten:Number;
var makeupPairs:Number;
var split:Array;
var num:Number;
var badLenght:Number;
var addText:String;
switch (MainScene.DESTINATION){
case "london":
styleList = londonStyleList;
break;
case "tokyo":
styleList = tokyoStyleList;
break;
case "paris":
styleList = parisStyleList;
break;
case "ny":
styleList = newyorkStyleList;
break;
};
i = 0;
while (i < 3) {
ref = FemaleModel(MainScene.getInstance().SelectedModels[i]);
itemList = ref._itemList;
itemListLength = itemList.length;
currentModelStyle = ref.modelType;
tmpClothes = new Array();
tmpMakeup = new Array();
tmpClothes["TOP"] = "";
tmpClothes["BOTTOM"] = "";
tmpClothes["BOOTS"] = "";
tmpClothes["ACC"] = "";
tmpMakeup["EYE"] = "";
tmpMakeup["SHADE"] = "";
tmpMakeup["LIPS"] = "";
topGood = false;
bottomGood = false;
shoesGood = false;
accesoryGood = false;
tmpTOP = new String();
TOP = new Array("dresses", "blouses");
BOTTOM = new Array("trousers", "skirts", "dresses");
SHOES = new Array("boots");
STYLES = new Array("casual", "dressy", "professional");
STYLES.splice(STYLES.indexOf(currentModelStyle), 1);
goodOnes = new Array();
badOnes = new Array();
accOnes = new Array();
goodOnes[currentModelStyle] = new Array();
badOnes[STYLES[0]] = new Array();
badOnes[STYLES[1]] = new Array();
j = 0;
while (j < itemListLength) {
split = itemList[j].split("_");
if ((((split[1] == "dresses")) || ((split[1] == "blouses")))){
if (styleList[currentModelStyle].indexOf(itemList[j]) != -1){
topGood = true;
goodOnes[currentModelStyle].push(LanguageManager.getInstance().getText("top"));
tmpClothes["TOP"] = currentModelStyle;
} else {
topGood = false;
if (styleList[STYLES[0]].indexOf(itemList[j]) != -1){
badOnes[STYLES[0]].push(LanguageManager.getInstance().getText("top"));
tmpClothes["TOP"] = STYLES[0];
} else {
badOnes[STYLES[1]].push(LanguageManager.getInstance().getText("top"));
tmpClothes["TOP"] = STYLES[1];
};
};
tmpTOP = itemList[j];
};
if ((((((split[1] == "dresses")) || ((split[1] == "skirts")))) || ((split[1] == "trousers")))){
if (styleList[currentModelStyle].indexOf(itemList[j]) != -1){
bottomGood = true;
goodOnes[currentModelStyle].push(LanguageManager.getInstance().getText("bottom"));
tmpClothes["BOTTOM"] = currentModelStyle;
} else {
bottomGood = false;
if (styleList[STYLES[0]].indexOf(itemList[j]) != -1){
badOnes[STYLES[0]].push(LanguageManager.getInstance().getText("bottom"));
tmpClothes["BOTTOM"] = STYLES[0];
} else {
badOnes[STYLES[1]].push(LanguageManager.getInstance().getText("bottom"));
tmpClothes["BOTTOM"] = STYLES[1];
};
};
};
if (split[1] == "boots"){
if (styleList[currentModelStyle].indexOf(itemList[j]) != -1){
shoesGood = true;
goodOnes[currentModelStyle].push(LanguageManager.getInstance().getText("shoes"));
tmpClothes["BOOTS"] = currentModelStyle;
} else {
shoesGood = false;
if (styleList[STYLES[0]].indexOf(itemList[j]) != -1){
badOnes[STYLES[0]].push(LanguageManager.getInstance().getText("shoes"));
tmpClothes["BOOTS"] = STYLES[0];
} else {
badOnes[STYLES[1]].push(LanguageManager.getInstance().getText("shoes"));
tmpClothes["BOOTS"] = STYLES[1];
};
};
};
if (split[1] == "accesories"){
if (styleList[currentModelStyle].indexOf(itemList[j]) != -1){
accesoryGood = true;
accOnes.push("accesories", currentModelStyle);
tmpClothes["ACC"] = currentModelStyle;
} else {
accesoryGood = false;
if (styleList[STYLES[0]].indexOf(itemList[j]) != -1){
accOnes.push("accesories", STYLES[0]);
tmpClothes["ACC"] = STYLES[0];
} else {
accOnes.push("accesories", STYLES[1]);
tmpClothes["ACC"] = STYLES[1];
};
};
};
j++;
};
if (((((topGood) && (bottomGood))) && (shoesGood))){
randomTip = tipsTextPositive[Math.floor((Math.random() * tipsTextPositive.length))];
hintsArray = new Array(LanguageManager.getInstance().getText("AllGreat1"), LanguageManager.getInstance().getText("AllGreat2"));
num = Math.floor((Math.random() * hintsArray.length));
ref.dressScore = (ref.dressScore + hintsArray[num]);
goodOnes = [];
(badOnes[STYLES[0]] == []);
(badOnes[STYLES[1]] == []);
} else {
if (((((!(topGood)) && (!(bottomGood)))) && (!(shoesGood)))){
randomTip = tipsTextNegative[Math.floor((Math.random() * tipsTextNegative.length))];
hintsArray = new Array(LanguageManager.getInstance().getText("AllBad1"), LanguageManager.getInstance().getText("AllBad2"), LanguageManager.getInstance().getText("AllBad3"));
num = Math.floor((Math.random() * hintsArray.length));
ref.dressScore = (ref.dressScore + hintsArray[num]);
goodOnes = [];
(badOnes[STYLES[0]] == []);
(badOnes[STYLES[1]] == []);
};
};
goodLenght = 0;
if (goodOnes[currentModelStyle]){
goodLenght = goodOnes[currentModelStyle].length;
};
preText = "";
preText1 = "";
preText2 = "";
if (goodLenght > 0){
switch (goodLenght){
case 1:
if (goodOnes[currentModelStyle][0] == LanguageManager.getInstance().getText("shoes")){
preText = LanguageManager.getInstance().getText("are");
if (LanguageManager.getInstance().currentLanguage == "it"){
preText1 = "Le";
};
if (LanguageManager.getInstance().currentLanguage == "es"){
preText1 = "esos";
};
if (LanguageManager.getInstance().currentLanguage == "fr"){
preText1 = "Les";
};
if (LanguageManager.getInstance().currentLanguage == "nl"){
preText1 = "De";
};
} else {
preText = LanguageManager.getInstance().getText("is");
if (LanguageManager.getInstance().currentLanguage == "it"){
preText1 = "Il";
};
if (LanguageManager.getInstance().currentLanguage == "es"){
preText1 = "esa";
};
if (LanguageManager.getInstance().currentLanguage == "fr"){
preText1 = "Le";
};
if (LanguageManager.getInstance().currentLanguage == "nl"){
preText1 = "Het";
};
};
if ((((LanguageManager.getInstance().currentLanguage == "it")) || ((LanguageManager.getInstance().currentLanguage == "es")))){
ref.dressScore = (ref.dressScore + (((((((((LanguageManager.getInstance().getText("Good1Part1") + " ") + preText1) + " ") + goodOnes[currentModelStyle][0]) + " ") + preText) + " ") + LanguageManager.getInstance().getText("Good1Part2")) + " "));
} else {
if (LanguageManager.getInstance().currentLanguage == "nl"){
ref.dressScore = (ref.dressScore + (((((((preText1 + " ") + goodOnes[currentModelStyle][0]) + " ") + preText) + " ") + LanguageManager.getInstance().getText("Good1Part2")) + " "));
} else {
if (LanguageManager.getInstance().currentLanguage == "fr"){
ref.dressScore = (ref.dressScore + (((((preText1 + " ") + goodOnes[currentModelStyle][0]) + " ") + preText) + " parfaites ! "));
} else {
ref.dressScore = (ref.dressScore + (((((((LanguageManager.getInstance().getText("Good1Part1") + " ") + goodOnes[currentModelStyle][0]) + " ") + preText) + " ") + LanguageManager.getInstance().getText("Good1Part2")) + " "));
};
};
};
break;
case 2:
if (goodOnes[currentModelStyle][0] == LanguageManager.getInstance().getText("shoes")){
if (LanguageManager.getInstance().currentLanguage == "it"){
preText1 = "Le";
};
if (LanguageManager.getInstance().currentLanguage == "es"){
preText1 = "esos";
};
if (LanguageManager.getInstance().currentLanguage == "fr"){
preText1 = "Les";
};
if (LanguageManager.getInstance().currentLanguage == "nl"){
preText1 = "De";
};
} else {
if (LanguageManager.getInstance().currentLanguage == "it"){
preText1 = "Il";
};
if (LanguageManager.getInstance().currentLanguage == "es"){
preText1 = "esa";
};
if (LanguageManager.getInstance().currentLanguage == "fr"){
preText1 = "Le";
};
if (LanguageManager.getInstance().currentLanguage == "nl"){
preText1 = "Het";
};
};
if (goodOnes[currentModelStyle][1] == LanguageManager.getInstance().getText("shoes")){
if (LanguageManager.getInstance().currentLanguage == "it"){
preText2 = "le";
};
if (LanguageManager.getInstance().currentLanguage == "es"){
preText2 = "esos";
};
if (LanguageManager.getInstance().currentLanguage == "fr"){
preText2 = "les";
};
if (LanguageManager.getInstance().currentLanguage == "nl"){
preText1 = "de";
};
} else {
if (LanguageManager.getInstance().currentLanguage == "it"){
preText2 = "il";
};
if (LanguageManager.getInstance().currentLanguage == "es"){
preText2 = "esa";
};
if (LanguageManager.getInstance().currentLanguage == "fr"){
preText2 = "le";
};
if (LanguageManager.getInstance().currentLanguage == "nl"){
preText1 = "het";
};
};
if ((((LanguageManager.getInstance().currentLanguage == "it")) || ((LanguageManager.getInstance().currentLanguage == "es")))){
ref.dressScore = (ref.dressScore + (((((((((((((((LanguageManager.getInstance().getText("Good1Part1") + " ") + preText1) + " ") + goodOnes[currentModelStyle][0]) + " ") + LanguageManager.getInstance().getText("And")) + " ") + preText2) + " ") + goodOnes[currentModelStyle][1]) + " ") + LanguageManager.getInstance().getText("are")) + " ") + LanguageManager.getInstance().getText("Good1Part2")) + " "));
} else {
if (LanguageManager.getInstance().currentLanguage == "nl"){
ref.dressScore = (ref.dressScore + (((((((((((((preText1 + " ") + goodOnes[currentModelStyle][0]) + " ") + LanguageManager.getInstance().getText("And")) + " ") + preText2) + " ") + goodOnes[currentModelStyle][1]) + " ") + LanguageManager.getInstance().getText("are")) + " ") + LanguageManager.getInstance().getText("Good1Part2")) + " "));
} else {
if (LanguageManager.getInstance().currentLanguage == "fr"){
ref.dressScore = (ref.dressScore + (((((((((preText1 + " ") + goodOnes[currentModelStyle][0]) + " ") + LanguageManager.getInstance().getText("And")) + " ") + preText2) + " ") + goodOnes[currentModelStyle][1]) + " sont top ! "));
} else {
ref.dressScore = (ref.dressScore + (((((((((((LanguageManager.getInstance().getText("Good1Part1") + " ") + goodOnes[currentModelStyle][0]) + " ") + LanguageManager.getInstance().getText("And")) + " ") + goodOnes[currentModelStyle][1]) + " ") + LanguageManager.getInstance().getText("are")) + " ") + LanguageManager.getInstance().getText("Good1Part2")) + " "));
};
};
};
break;
};
};
k = 0;
while (k < 2) {
badLenght = 0;
if (badOnes[STYLES[k]]){
badLenght = badOnes[STYLES[k]].length;
};
preText = "";
preText1 = "";
preText2 = "";
addText = "";
if (badLenght > 0){
switch (badLenght){
case 1:
if (badOnes[STYLES[k]][0] == LanguageManager.getInstance().getText("shoes")){
preText = LanguageManager.getInstance().getText("are");
if (LanguageManager.getInstance().currentLanguage == "it"){
preText1 = "Le";
addText = "rendono";
};
if (LanguageManager.getInstance().currentLanguage == "es"){
preText1 = "esos";
addText = "son";
};
if (LanguageManager.getInstance().currentLanguage == "fr"){
preText1 = "Les";
};
addText = "ont";
if (LanguageManager.getInstance().currentLanguage == "nl"){
preText1 = "de";
};
} else {
preText = LanguageManager.getInstance().getText("is");
if (LanguageManager.getInstance().currentLanguage == "it"){
preText1 = "Il";
addText = "rende";
};
if (LanguageManager.getInstance().currentLanguage == "es"){
preText1 = "esa";
addText = "es";
};
if (LanguageManager.getInstance().currentLanguage == "fr"){
preText1 = "Le";
};
addText = "a";
if (LanguageManager.getInstance().currentLanguage == "nl"){
preText1 = "het";
};
};
if ((((((((LanguageManager.getInstance().currentLanguage == "it")) || ((LanguageManager.getInstance().currentLanguage == "es")))) || ((LanguageManager.getInstance().currentLanguage == "fr")))) || ((LanguageManager.getInstance().currentLanguage == "nl")))){
ref.dressScore = (ref.dressScore + (((((((((((((((LanguageManager.getInstance().getText("Bad1Part1") + " ") + preText1) + " ") + badOnes[STYLES[k]][0]) + " ") + addText) + " ") + LanguageManager.getInstance().getText("Bad1Part2")) + " ") + preText2) + " ") + LanguageManager.getInstance().getText(STYLES[k])) + " ") + LanguageManager.getInstance().getText("Bad1Part3")) + " "));
} else {
ref.dressScore = (ref.dressScore + (((((((((((LanguageManager.getInstance().getText("Bad1Part1") + " ") + badOnes[STYLES[k]][0]) + " ") + preText) + " ") + LanguageManager.getInstance().getText("Bad1Part2")) + " ") + LanguageManager.getInstance().getText(STYLES[k])) + ". ") + LanguageManager.getInstance().getText("Bad1Part3")) + " "));
};
break;
case 2:
if (badOnes[STYLES[k]][0] == LanguageManager.getInstance().getText("shoes")){
if (LanguageManager.getInstance().currentLanguage == "it"){
preText1 = "Le";
addText = "rendono";
};
if (LanguageManager.getInstance().currentLanguage == "es"){
preText1 = "esos";
addText = "son";
};
if (LanguageManager.getInstance().currentLanguage == "fr"){
preText1 = "les";
};
if (LanguageManager.getInstance().currentLanguage == "nl"){
preText1 = "de";
};
} else {
if (LanguageManager.getInstance().currentLanguage == "it"){
preText1 = "Il";
addText = "rendono";
};
if (LanguageManager.getInstance().currentLanguage == "es"){
preText1 = "esa";
addText = "son";
};
if (LanguageManager.getInstance().currentLanguage == "fr"){
preText1 = "le";
};
if (LanguageManager.getInstance().currentLanguage == "nl"){
preText1 = "het";
};
};
if (badOnes[STYLES[k]][1] == LanguageManager.getInstance().getText("shoes")){
if (LanguageManager.getInstance().currentLanguage == "it"){
preText2 = "le";
};
if (LanguageManager.getInstance().currentLanguage == "es"){
preText2 = "esos";
};
if (LanguageManager.getInstance().currentLanguage == "fr"){
preText2 = "les";
};
if (LanguageManager.getInstance().currentLanguage == "nl"){
preText2 = "de";
};
} else {
if (LanguageManager.getInstance().currentLanguage == "it"){
preText2 = "il";
};
if (LanguageManager.getInstance().currentLanguage == "es"){
preText2 = "esa";
};
if (LanguageManager.getInstance().currentLanguage == "fr"){
preText2 = "le";
};
if (LanguageManager.getInstance().currentLanguage == "nl"){
preText2 = "het";
};
};
if ((((((((LanguageManager.getInstance().currentLanguage == "it")) || ((LanguageManager.getInstance().currentLanguage == "es")))) || ((LanguageManager.getInstance().currentLanguage == "fr")))) || ((LanguageManager.getInstance().currentLanguage == "nl")))){
ref.dressScore = (ref.dressScore + (((((((((((((((((((LanguageManager.getInstance().getText("Bad1Part1") + " ") + preText1) + " ") + badOnes[STYLES[k]][0]) + " ") + LanguageManager.getInstance().getText("And")) + " ") + preText2) + " ") + badOnes[STYLES[k]][1]) + " ") + addText) + " ") + LanguageManager.getInstance().getText("Bad1Part2")) + " ") + LanguageManager.getInstance().getText(STYLES[k])) + " ") + LanguageManager.getInstance().getText("Bad1Part3")) + " "));
} else {
ref.dressScore = (ref.dressScore + (((((((((((((((LanguageManager.getInstance().getText("Bad1Part1") + " ") + badOnes[STYLES[k]][0]) + " ") + LanguageManager.getInstance().getText("And")) + " ") + badOnes[STYLES[k]][1]) + " ") + LanguageManager.getInstance().getText("are")) + " ") + LanguageManager.getInstance().getText("Bad1Part2")) + " ") + LanguageManager.getInstance().getText(STYLES[k])) + ". ") + LanguageManager.getInstance().getText("Bad1Part3")) + " "));
};
break;
};
};
k++;
};
accLenght = 0;
if (accOnes){
badLenght = accOnes.length;
};
if (badLenght > 0){
if (accOnes[1] == currentModelStyle){
ref.dressScore = (ref.dressScore + (LanguageManager.getInstance().getText("AccNice") + " "));
} else {
if ((((LanguageManager.getInstance().currentLanguage == "de")) || ((LanguageManager.getInstance().currentLanguage == "nl")))){
ref.dressScore = (ref.dressScore + (((((LanguageManager.getInstance().getText("AccBad") + " ") + LanguageManager.getInstance().getText(currentModelStyle)) + " ") + LanguageManager.getInstance().getText("AccBad2")) + " "));
} else {
ref.dressScore = (ref.dressScore + (((LanguageManager.getInstance().getText("AccBad") + " ") + LanguageManager.getInstance().getText(currentModelStyle)) + ". "));
};
};
} else {
ref.dressScore = (ref.dressScore + (LanguageManager.getInstance().getText("AccLack") + " "));
};
eC = 0;
yC = 0;
lC = 0;
tmpEyeColor = ref.modelEyeColor;
if (String(tmpEyeColor).length == 1){
eC = mColor[("eye_0" + tmpEyeColor)];
} else {
eC = mColor["eye_10"];
};
tmpShadeColor = ref.modelShadeColor;
if (String(tmpShadeColor).length == 1){
yC = mColor[("shade_0" + tmpShadeColor)];
} else {
yC = mColor["shade_10"];
};
tmpLipColor = ref.modelLipsColor;
if (String(tmpLipColor).length == 1){
lC = mColor[("lips_0" + tmpLipColor)];
} else {
lC = mColor["lips_10"];
};
topColor = 0;
topColor = color[tmpTOP];
toSendF = "";
if ((((((topColor == eC)) && ((yC == topColor)))) && ((lC == topColor)))){
ref.makeupScore = (ref.makeupScore + LanguageManager.getInstance().getText("MakeupOK"));
} else {
if (topColor == 1){
ref.makeupScore = (ref.makeupScore + LanguageManager.getInstance().getText("MakeupDark"));
} else {
ref.makeupScore = (ref.makeupScore + LanguageManager.getInstance().getText("MakeupLight"));
};
};
clothesPairs = 0;
allesPunkten = 0;
if ((((tmpClothes["TOP"] == tmpClothes["BOTTOM"])) && ((tmpClothes["TOP"] == currentModelStyle)))){
clothesPairs++;
};
if ((((tmpClothes["TOP"] == tmpClothes["BOOTS"])) && ((tmpClothes["TOP"] == currentModelStyle)))){
clothesPairs++;
};
if ((((tmpClothes["TOP"] == tmpClothes["ACC"])) && ((tmpClothes["TOP"] == currentModelStyle)))){
clothesPairs++;
};
if ((((tmpClothes["BOTTOM"] == tmpClothes["BOOTS"])) && ((tmpClothes["BOTTOM"] == currentModelStyle)))){
clothesPairs++;
};
if ((((tmpClothes["BOTTOM"] == tmpClothes["ACC"])) && ((tmpClothes["BOTTOM"] == currentModelStyle)))){
clothesPairs++;
};
if ((((tmpClothes["BOOTS"] == tmpClothes["ACC"])) && ((tmpClothes["BOOTS"] == currentModelStyle)))){
clothesPairs++;
};
ref.finalPoints = 0;
allesPunkten = (allesPunkten + (clothesPairs * 20));
makeupPairs = 0;
if ((((((topColor == eC)) && ((yC == topColor)))) && ((lC == topColor)))){
allesPunkten = (allesPunkten + 30);
};
ref.finalPoints = allesPunkten;
i++;
};
}
}
}//package pl.fabrykagier.game.fashiondesigner.show
Section 135
//FeedbackPanel (pl.fabrykagier.game.fashiondesigner.show.FeedbackPanel)
package pl.fabrykagier.game.fashiondesigner.show {
import flash.events.*;
import flash.display.*;
import pl.fabrykagier.game.fashiondesigner.*;
import pl.fabrykagier.game.fashiondesigner.character.*;
import flash.text.*;
public class FeedbackPanel extends MovieClip {
public var dress_txt:TextField;
public var makeup_txt:TextField;
public function FeedbackPanel(){
super();
addEventListener(Event.ADDED_TO_STAGE, setScene);
addEventListener(Event.REMOVED_FROM_STAGE, CleanUp);
}
private function setScene(e:Event):void{
removeEventListener(Event.ADDED_TO_STAGE, setScene);
setText(MainScene.CURRENTSELECTION);
}
public function setText(modelNumber:Number):void{
TextField(this.getChildByName("dress_txt")).text = FemaleModel(MainScene.getInstance().SelectedModels[modelNumber]).dressScore;
TextField(this.getChildByName("makeup_txt")).text = FemaleModel(MainScene.getInstance().SelectedModels[modelNumber]).makeupScore;
}
private function CleanUp(e:Event):void{
removeEventListener(Event.REMOVED_FROM_STAGE, CleanUp);
}
}
}//package pl.fabrykagier.game.fashiondesigner.show
Section 136
//GameOverPopup (pl.fabrykagier.game.fashiondesigner.show.GameOverPopup)
package pl.fabrykagier.game.fashiondesigner.show {
import flash.events.*;
import pl.fabrykagier.framework.language.*;
import flash.display.*;
import pl.fabrykagier.game.fashiondesigner.*;
import pl.fabrykagier.game.fashiondesigner.character.*;
import flash.text.*;
public class GameOverPopup extends MovieClip {
public var gotoAndPlayGrandparent_popupOut$:button_Okay;
public var finalScore_txt:TextField;
public function GameOverPopup(){
super();
addEventListener(Event.ADDED_TO_STAGE, setScene);
addEventListener(Event.REMOVED_FROM_STAGE, CleanUp);
}
private function setScene(e:Event):void{
var tmpPoints:Number;
removeEventListener(Event.ADDED_TO_STAGE, setScene);
tmpPoints = ((FemaleModel(MainScene.getInstance().SelectedModels[0]).finalPoints + FemaleModel(MainScene.getInstance().SelectedModels[1]).finalPoints) + FemaleModel(MainScene.getInstance().SelectedModels[2]).finalPoints);
MainScene.getInstance().POINTS = tmpPoints;
TextField(getChildByName("finalScore_txt")).text = ((LanguageManager.getInstance().getText("TotalScore") + " ") + tmpPoints.toString());
}
private function CleanUp(e:Event):void{
removeEventListener(Event.REMOVED_FROM_STAGE, CleanUp);
}
}
}//package pl.fabrykagier.game.fashiondesigner.show
Section 137
//PopupFeedback (pl.fabrykagier.game.fashiondesigner.show.PopupFeedback)
package pl.fabrykagier.game.fashiondesigner.show {
import flash.events.*;
import flash.display.*;
import pl.fabrykagier.game.fashiondesigner.*;
import pl.fabrykagier.game.fashiondesigner.character.*;
import flash.text.*;
import pl.fabrykagier.game.fashiondesigner.dressing.*;
public class PopupFeedback extends MovieClip {
public var gotoAndPlayGrandparent_PopupOut$:button_Okay;
public var nodress_txt:TextField;
public function PopupFeedback(){
super();
addEventListener(Event.ADDED_TO_STAGE, setScene);
addEventListener(Event.REMOVED_FROM_STAGE, CleanUp);
}
private function setScene(e:Event):void{
removeEventListener(Event.ADDED_TO_STAGE, setScene);
setText(DressThumbsPanel(MainScene.getInstance().getChildByName("thumbPanel")).currentlySelected);
}
public function setText(modelNumber:Number):void{
TextField(this.getChildByName("nodress_txt")).text = FemaleModel(MainScene.getInstance().SelectedModels[modelNumber]).dressScore;
}
private function CleanUp(e:Event):void{
removeEventListener(Event.REMOVED_FROM_STAGE, CleanUp);
}
}
}//package pl.fabrykagier.game.fashiondesigner.show
Section 138
//PopupShowPanel (pl.fabrykagier.game.fashiondesigner.show.PopupShowPanel)
package pl.fabrykagier.game.fashiondesigner.show {
import flash.events.*;
import pl.fabrykagier.framework.language.*;
import flash.display.*;
import pl.fabrykagier.game.fashiondesigner.*;
import pl.fabrykagier.game.fashiondesigner.character.*;
import flash.text.*;
public class PopupShowPanel extends MovieClip {
public var textStyle_txt:TextField;
public var score_txt:TextField;
public var textNext_txt:TextField;
public var textDetails_txt:TextField;
public function PopupShowPanel(){
super();
addEventListener(Event.ADDED_TO_STAGE, setScene);
}
private function setScene(e:Event):void{
var tmpStyle:*;
var tmpPoints:Number;
removeEventListener(Event.ADDED_TO_STAGE, setScene);
tmpStyle = FemaleModel(MainScene.getInstance().SelectedModels[MainScene.CURRENTSELECTION]).modelType;
TextField(getChildByName("textStyle_txt")).text = ((LanguageManager.getInstance().getText("Style") + " ") + LanguageManager.getInstance().getText(tmpStyle));
tmpPoints = FemaleModel(MainScene.getInstance().SelectedModels[MainScene.CURRENTSELECTION]).finalPoints;
TextField(getChildByName("score_txt")).text = tmpPoints.toString();
if (tmpPoints < 40){
TextField(getChildByName("textDetails_txt")).text = LanguageManager.getInstance().getText("FinalScoreBad");
} else {
if ((((tmpPoints >= 40)) && ((tmpPoints <= 80)))){
TextField(getChildByName("textDetails_txt")).text = LanguageManager.getInstance().getText("FinalScoreMedium");
} else {
TextField(getChildByName("textDetails_txt")).text = ((((LanguageManager.getInstance().getText("FinalScoreNice1") + " ") + LanguageManager.getInstance().getText(tmpStyle)) + " ") + LanguageManager.getInstance().getText("FinalScoreNice2"));
};
};
if (MainScene.CURRENTSELECTION == 2){
TextField(getChildByName("textNext_txt")).text = LanguageManager.getInstance().getText("LetCFinalScore");
} else {
TextField(getChildByName("textNext_txt")).text = LanguageManager.getInstance().getText("LetCNextModel");
};
}
}
}//package pl.fabrykagier.game.fashiondesigner.show
Section 139
//ShowThumbContainer (pl.fabrykagier.game.fashiondesigner.show.ShowThumbContainer)
package pl.fabrykagier.game.fashiondesigner.show {
import flash.events.*;
import flash.display.*;
import pl.fabrykagier.game.fashiondesigner.*;
import pl.fabrykagier.game.fashiondesigner.character.*;
import flash.text.*;
public class ShowThumbContainer extends MovieClip {
public var thumb_1:MovieClip;
public var thumb_2:MovieClip;
public var thumb_0:MovieClip;
public var currentlySelected:Number;// = 0
public function ShowThumbContainer(){
currentlySelected = 0;
super();
addEventListener(Event.ADDED_TO_STAGE, setScene);
addEventListener(Event.REMOVED_FROM_STAGE, CleanUp);
}
private function clicked(e:MouseEvent):void{
var split:Array;
split = String(e.currentTarget.name).split("_");
if ((((((MovieClip(this.parent).currentLabel == "PreshowMoment")) || ((MovieClip(this.parent).currentLabel == "ShowMoment")))) && (!((this.currentlySelected == split[1]))))){
MovieClip(MovieClip(this.getChildByName(("thumb_" + this.currentlySelected))).getChildByName("dressup_circle")).gotoAndStop(1);
this.currentlySelected = split[1];
FeedbackPanel(parent.getChildByName("feedbackPanel")).setText(this.currentlySelected);
FemaleModel(MovieClip(MainScene.getInstance().getChildByName("modelka")).getChildByName("modelka"))._copyAllFromModel(MainScene.getInstance().SelectedModels[this.currentlySelected]);
MovieClip(MovieClip(this.getChildByName(("thumb_" + this.currentlySelected))).getChildByName("dressup_circle")).gotoAndStop(2);
};
}
private function setScene(e:Event):void{
var i:*;
var refSelectedModels:FemaleModel;
var ref:MovieClip;
removeEventListener(Event.ADDED_TO_STAGE, setScene);
i = 0;
while (i < 3) {
refSelectedModels = FemaleModel(MainScene.getInstance().SelectedModels[i]);
ref = MovieClip(this.getChildByName(("thumb_" + i)));
TextField(ref.getChildByName("nameField")).text = refSelectedModels.modelName;
FemaleModel(MovieClip(ref.getChildByName("modelka")).getChildByName("modelka"))._copyAllFromModel(refSelectedModels);
MovieClip(ref.getChildByName("star_mc")).visible = false;
ref.buttonMode = true;
ref.addEventListener(MouseEvent.CLICK, clicked);
i++;
};
MovieClip(MovieClip(this.getChildByName(("thumb_" + this.currentlySelected))).getChildByName("dressup_circle")).gotoAndStop(2);
}
private function CleanUp(e:Event):void{
var i:*;
var ref:MovieClip;
removeEventListener(Event.REMOVED_FROM_STAGE, CleanUp);
i = 0;
while (i < 3) {
ref = MovieClip(this.getChildByName(("thumb_" + i)));
if (ref){
ref.removeEventListener(MouseEvent.CLICK, clicked);
};
i++;
};
}
public function nextModel():void{
MovieClip(MovieClip(this.getChildByName(("thumb_" + this.currentlySelected))).getChildByName("dressup_circle")).gotoAndStop(1);
this.currentlySelected++;
if (this.currentlySelected == 3){
this.currentlySelected = 0;
};
FeedbackPanel(parent.getChildByName("feedbackPanel")).setText(this.currentlySelected);
FemaleModel(MovieClip(MainScene.getInstance().getChildByName("modelka")).getChildByName("modelka"))._copyAllFromModel(MainScene.getInstance().SelectedModels[this.currentlySelected]);
MovieClip(MovieClip(this.getChildByName(("thumb_" + this.currentlySelected))).getChildByName("dressup_circle")).gotoAndStop(2);
}
}
}//package pl.fabrykagier.game.fashiondesigner.show
Section 140
//MainScene (pl.fabrykagier.game.fashiondesigner.MainScene)
package pl.fabrykagier.game.fashiondesigner {
import pl.fabrykagier.framework.media.*;
import flash.events.*;
import pl.fabrykagier.framework.language.*;
import pl.fabrykagier.framework.events.*;
import flash.display.*;
import pl.fabrykagier.engines.dressUp.*;
import pl.fabrykagier.game.fashiondesigner.character.*;
import flash.net.*;
import flash.text.*;
import pl.fabrykagier.game.fashiondesigner.gameInterface.*;
import pl.fabrykagier.game.fashiondesigner.dressing.*;
import pl.fabrykagier.game.fashiondesigner.show.*;
import com.ubi.game.*;
import pl.fabrykagier.framework.elements.loader.*;
import flash.utils.*;
public class MainScene extends GameBase {
public var case_london:MovieClip;
public var hairsArray:Array;
private var loader:FrameworkLoader;
private var inUbi:Boolean;
public var scrollPanels:Array;
private var HTMLLanguage:Boolean;// = false
public var model1:pickModel_model;
public var model2:pickModel_model;
public var model4:pickModel_model;
public var model5:pickModel_model;
public var model6:pickModel_model;
public var model3:pickModel_model;
public var modelka:dressup_model;
public var lastHint:Number;// = 0
public var bg:MovieClip;
public var firstTimeShow;// = true
public var wasInPRESHOW:Boolean;// = false
private var functionReference:Array;
public var SendToFriendPopup:MovieClip;
public var repeatMC:Boolean;// = true
public var Models:ModelList;
public var case_tokyo:MovieClip;
public var nextModel_btn:NextModelButton;
public var pick_ny:button_pickDestination_newYork;
public var gotoAndPlayStage_advertsOut$:button_hud_playNow;
public var ShowThumb:preshow_panel_modelsChoice;
public var pick_tokyo:button_pickDestination_tokyo;
public var call_buyNow$:button_hud_buyNow;
public var progress_mc:MovieClip;
public var POINTS:Number;// = 0
public var SendToAFriendButton:button_hud_sendToFriend;
public var dressing_wardobe:dressup_closet;
public var SelectedModels:Array;
public var firstTimeDressing;// = true
public var call_visitWebsite$:button_hud_visit;
public var case_ny:MovieClip;
public var gotoAndPlayStage_advertsOut$call_submitScoreToUBI$:button_hud_quit;
private var languageSelector:MovieClip;
public var dressManager:DressUpManager;
public var ToSelect:Array;
public var feedbackPanel:feedback_panel;
public var gotoAndPlayParent_PreshowOut$:button_panel_backToDresses;
public var OkayButton:MovieClip;
public var dressingModel:dressup_model;
public var case_paris:MovieClip;
public var thumbPanel:dressup_panel_modelsChoice;
public var pick_paris:button_pickDestination_paris;
public var pick_london:button_pickDestination_london;
public static var CURRENTSELECTION:Number = 0;
public static var INSTANCE:MainScene = null;
public static var NAME:String;
public static var COLLECTION:String;
public static var DESTINATION:String;
public function MainScene(){
var flashVarParams:Array;
var langs:Array;
var language:String;
ToSelect = new Array("casual", "dressy", "professional");
lastHint = 0;
SelectedModels = new Array();
POINTS = 0;
firstTimeDressing = true;
firstTimeShow = true;
repeatMC = true;
wasInPRESHOW = false;
scrollPanels = new Array();
HTMLLanguage = false;
functionReference = [];
super();
addFrameScript(20, frame21, 81, frame82, 83, frame84, 94, frame95, 96, frame97, 142, frame143, 179, frame180, 193, frame194, 215, frame216, 254, frame255, 266, frame267, 302, frame303, 321, frame322, 370, frame371, 384, frame385, 403, frame404, 414, frame415, 428, frame429, 447, frame448, 456, frame457, 497, frame498, 615, frame616, 692, frame693, 710, frame711, 801, frame802, 808, frame809, 816, frame817, 839, frame840, 840, frame841, 857, frame858, 936, frame937, 949, frame950, 956, frame957, 964, frame965, 999, frame1000, 0x0404, frame1029, 1075, frame1076);
LanguageManager.getInstance().loadLanguages(LanguageTranslations._data);
if (LoaderInfo(this.loaderInfo).parameters.locale){
flashVarParams = ["en-US", "en-GB", "de-DE", "es-ES", "fr-FR", "it-IT", "nl-NL"];
langs = ["us", "uk", "de", "es", "fr", "it", "nl"];
language = langs[[flashVarParams.indexOf(LoaderInfo(this.loaderInfo).parameters.locale)]];
LanguageManager.getInstance().changeCountry(LanguageTranslations.getCoutryByLanguage(language));
LanguageManager.getInstance().changeLanguage(language);
HTMLLanguage = true;
};
this.tabEnabled = false;
this.tabChildren = false;
INSTANCE = this;
registerFunction(buyNow, "buyNow");
registerFunction(visitWebsite, "visitWebsite");
loader = new FrameworkLoader(true, "", this);
loader.addEventListener(FrameworkLoader.FRAMEWORK_PROGRESS_EVENT, onProgress);
loader.addEventListener(FrameworkLoader.FRAMEWORK_COMPLETE_EVENT, onComplete);
}
function frame385(){
stop();
}
public function showWhatWeGot():void{
trace("Destination = ", DESTINATION);
trace("-=SELECTED MODELS=-");
if (this.SelectedModels[0]){
trace("MODEL 1 :");
trace("Imie = ", FemaleModel(this.SelectedModels[0]).modelName);
trace("Typ = ", FemaleModel(this.SelectedModels[0]).modelType);
trace("Wlosy = ", FemaleModel(this.SelectedModels[0]).hairTypes);
};
if (this.SelectedModels[1]){
trace("MODEL 2 :");
trace("Imie = ", FemaleModel(this.SelectedModels[1]).modelName);
trace("Typ = ", FemaleModel(this.SelectedModels[1]).modelType);
trace("Wlosy = ", FemaleModel(this.SelectedModels[1]).hairTypes);
};
if (this.SelectedModels[2]){
trace("MODEL 3 :");
trace("Imie = ", FemaleModel(this.SelectedModels[2]).modelName);
trace("Typ = ", FemaleModel(this.SelectedModels[2]).modelType);
trace("Wlosy = ", FemaleModel(this.SelectedModels[2]).hairTypes);
};
}
function frame950(){
SoundManager.playSound({name:"popup", loops:1});
}
public function removeDress():void{
removeChild(this.dressManager);
this.dressManager = null;
}
function frame957(){
stop();
}
public function resumeDress():void{
this.dressManager.makeDraggable();
}
function frame840(){
MainScene.getInstance().repeatMC = true;
MainScene.getInstance().wasInPRESHOW = true;
MainScene.getInstance().firstTimeDressing = true;
gotoAndPlay("DressUpLoop");
}
function frame711(){
switch ((Math.floor((Math.random() * 3)) + 1)){
case 1:
SoundManager.playSound({name:"blysk1", loops:1});
break;
case 2:
SoundManager.playSound({name:"blysk2", loops:1});
break;
case 3:
SoundManager.playSound({name:"blysk3", loops:1});
break;
};
}
function frame965(){
SoundManager.playSound({name:"popup", loops:1});
}
function frame841(){
setBackGround();
countStyle();
}
function frame180(){
SoundManager.playSound({name:"popup", loops:1});
}
private function onComplete(e:Event):void{
gotoAndPlay("preloader_out");
SoundManager.playSound({name:"MUSIC_MENU", loops:250});
}
public function RESTARTgame():void{
DESTINATION = "";
NAME = "";
COLLECTION = "";
CURRENTSELECTION = 0;
Models = null;
ToSelect = [];
ToSelect = new Array("casual", "dressy", "professional");
SelectedModels = [];
SelectedModels = new Array();
hairsArray = [];
hairsArray = new Array();
firstTimeDressing = true;
firstTimeShow = true;
repeatMC = true;
wasInPRESHOW = false;
POINTS = 0;
removeDress();
gotoAndPlay("titleIn");
}
private function showResponse(e:Event):void{
e.currentTarget.removeEventListener(Event.COMPLETE, showResponse);
trace("poszlo");
MovieClip(MainScene.INSTANCE.getChildByName("SendToFriendPopup")).play();
}
public function buyNow():void{
trace("BUY now");
navigateToURL(new URLRequest("http://imagine.ubi.com/worldfashionbuynow/"));
}
function frame21(){
stop();
}
function frame194(){
stop();
}
protected function languageSelect():void{
if (HTMLLanguage){
this.gotoAndPlay("LanguageSelectorOut");
MochiBot.track(this, LanguageManager.getInstance().getText("mochi"));
};
}
function frame616(){
stop();
showWhatWeGot();
}
function frame858(){
switch ((Math.floor((Math.random() * 3)) + 1)){
case 1:
SoundManager.playSound({name:"blysk1", loops:1});
break;
case 2:
SoundManager.playSound({name:"blysk2", loops:1});
break;
case 3:
SoundManager.playSound({name:"blysk3", loops:1});
break;
};
}
public function onSetLanguage():void{
this.play();
MochiBot.track(this, LanguageManager.getInstance().getText("mochi"));
}
function frame404(){
SoundManager.playSound({name:"popup", loops:1});
}
function frame1076(){
RESTARTgame();
}
function frame415(){
SoundManager.playSound({name:"popup", loops:1});
}
public function visitWebsite():void{
trace("VISIT now");
navigateToURL(new URLRequest("http://imagine.ubi.com/worldfashion/"));
}
public function shuffleArray(srcArray:Array):Array{
var sourceArray:Array;
var sourceArrayLength:*;
var resultArray:Array;
var tmpNumber:Number;
sourceArray = srcArray.slice();
sourceArrayLength = sourceArray.length;
resultArray = new Array();
while (sourceArrayLength > 0) {
tmpNumber = (Math.floor((Math.random() * (sourceArrayLength - 1))) + 0);
resultArray.push(sourceArray.splice(tmpNumber, 1));
sourceArrayLength--;
};
return (resultArray);
}
function frame429(){
stop();
}
function frame303(){
setBackGround();
}
public function startDress():void{
if (!this.dressManager){
this.dressManager = new DressUpMngr();
addChild(this.dressManager);
if (wasInPRESHOW){
restartDress();
};
} else {
restartDress();
};
}
function frame84(){
SoundManager.playSound({name:"popup", loops:1});
}
function frame448(){
SoundManager.playSound({name:"popup", loops:1});
}
private function onProgress(e:FrameworkEvent):void{
var progress:MovieClip;
progress = MovieClip(getChildByName("progress_mc"));
if (progress){
TextField(progress.getChildByName("progress_txt")).text = (("loading game... " + e.getParameter(FrameworkLoader.LOADER_PARAMETER_PERCENTS_ROUNDED)) + "%");
};
}
function frame322(){
switch ((Math.floor((Math.random() * 3)) + 1)){
case 1:
SoundManager.playSound({name:"blysk1", loops:1});
break;
case 2:
SoundManager.playSound({name:"blysk2", loops:1});
break;
case 3:
SoundManager.playSound({name:"blysk3", loops:1});
break;
};
}
public function get _inUbi():Boolean{
return (inUbi);
}
function frame82(){
languageSelect();
if (MainScene.INSTANCE.inUbi){
gotoAndPlay("TitleIn");
};
}
public function setModelList():void{
this.Models = new ModelList();
}
function frame693(){
countStyle();
}
function frame95(){
stop();
}
function frame1000(){
gotoAndPlay("Show");
}
public function setBackGround():void{
if (wasInPRESHOW){
MovieClip(this.getChildByName("bg")).gotoAndStop((DESTINATION + "_show"));
} else {
MovieClip(this.getChildByName("bg")).gotoAndStop(DESTINATION);
};
}
public function sendMail(mailTo:String):void{
var request:URLRequest;
var tmpArray:Array;
var tmpLoader:URLLoader;
var ba:ByteArray;
request = new URLRequest("http://imagine.ubi.com/worldfashion/sendtoafriend.php");
tmpArray = new Array("en-US", "fr-FR", "it-IT", "de-DE", "es-ES", "nl-NL", "en-UK");
request.method = URLRequestMethod.POST;
tmpLoader = new URLLoader(request);
tmpLoader.addEventListener(Event.COMPLETE, showResponse);
ba = new ByteArray();
ba.writeUTF(((("locale=" + tmpArray[LanguageManager.getInstance().currentLanguageID]) + "&email_address=") + mailTo));
request.data = ba;
tmpLoader.load(request);
}
function frame216(){
SoundManager.playSound({name:"popup", loops:1});
}
function frame97(){
SoundManager.playSound({name:"popup", loops:1});
}
function frame457(){
setModelList();
}
public function restartDress():void{
Wardrobe(getChildByName("dressing_wardobe")).clearArray();
DressUpMngr(this.dressManager).setItemsAgain();
DressUpMngr(this.dressManager).lockItems(FemaleModel(MovieClip(getChildByName("dressingModel")).getChildByName("modelka")));
removeChild(this.dressManager);
addChild(this.dressManager);
}
override public function validateUbiland():void{
inUbi = true;
}
public function callRegisteredFunction(name:String):void{
if (functionReference[name]){
functionReference[name].apply(null, functionReference[(name + "_params")]);
};
}
function frame1029(){
stop();
}
public function registerFunction(fn:Function, name:String, args:Array=null):void{
functionReference[name] = fn;
functionReference[(name + "_params")] = args;
}
public function addParameterToFunction(name:String, args):void{
functionReference[(name + "_params")] = [args];
}
function frame802(){
SoundManager.playSound({name:"popup", loops:1});
}
function frame809(){
stop();
}
function frame371(){
SoundManager.playSound({name:"popup", loops:1});
}
function frame255(){
putGlowOnCases();
}
public function putGlowOnCases():void{
MovieClip(this.getChildByName("case_london")).gotoAndStop(2);
MovieClip(this.getChildByName("case_paris")).gotoAndStop(2);
MovieClip(this.getChildByName("case_tokyo")).gotoAndStop(2);
MovieClip(this.getChildByName("case_ny")).gotoAndStop(2);
if (MovieClip(this.getChildByName("pick_london")).hitTestPoint(mouseX, mouseY)){
PickDestinationButton(MovieClip(this.getChildByName("pick_london"))).startBtn();
};
if (MovieClip(this.getChildByName("pick_paris")).hitTestPoint(mouseX, mouseY)){
PickDestinationButton(MovieClip(this.getChildByName("pick_paris"))).startBtn();
};
if (MovieClip(this.getChildByName("pick_tokyo")).hitTestPoint(mouseX, mouseY)){
PickDestinationButton(MovieClip(this.getChildByName("pick_tokyo"))).startBtn();
};
if (MovieClip(this.getChildByName("pick_ny")).hitTestPoint(mouseX, mouseY)){
PickDestinationButton(MovieClip(this.getChildByName("pick_ny"))).startBtn();
};
}
function frame817(){
SoundManager.playSound({name:"popup", loops:1});
}
function frame498(){
stop();
}
public function submitScoreToUBI():void{
submitScore(POINTS);
}
function frame937(){
stop();
}
public function pauseDress():void{
this.dressManager.makeUnDraggable();
}
public function countStyle():void{
var StyleMatcher:CountStyleMatching;
StyleMatcher = new CountStyleMatching();
StyleMatcher.countStyle();
}
function frame267(){
stop();
}
function frame143(){
stop();
}
public static function getInstance():MainScene{
return (INSTANCE);
}
}
}//package pl.fabrykagier.game.fashiondesigner
Section 141
//blysk1 (blysk1)
package {
import pl.fabrykagier.framework.media.*;
public dynamic class blysk1 extends SoundObject {
public function blysk1(){
super();
}
}
}//package
Section 142
//blysk2 (blysk2)
package {
import pl.fabrykagier.framework.media.*;
public dynamic class blysk2 extends SoundObject {
public function blysk2(){
super();
}
}
}//package
Section 143
//blysk3 (blysk3)
package {
import pl.fabrykagier.framework.media.*;
public dynamic class blysk3 extends SoundObject {
public function blysk3(){
super();
}
}
}//package
Section 144
//btn_click (btn_click)
package {
import pl.fabrykagier.framework.media.*;
public dynamic class btn_click extends SoundObject {
public function btn_click(){
super();
}
}
}//package
Section 145
//btn_over (btn_over)
package {
import pl.fabrykagier.framework.media.*;
public dynamic class btn_over extends SoundObject {
public function btn_over(){
super();
}
}
}//package
Section 146
//button_hud_buyNow (button_hud_buyNow)
package {
import pl.fabrykagier.framework.ui.graphical.*;
public dynamic class button_hud_buyNow extends GotoButton {
public function button_hud_buyNow(){
super();
addFrameScript(0, frame1, 1, frame2, 2, frame3);
}
function frame3(){
stop();
}
function frame1(){
stop();
}
function frame2(){
stop();
}
}
}//package
Section 147
//button_hud_playNow (button_hud_playNow)
package {
import pl.fabrykagier.framework.ui.graphical.*;
public dynamic class button_hud_playNow extends GotoButton {
public function button_hud_playNow(){
super();
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package
Section 148
//button_hud_quit (button_hud_quit)
package {
import pl.fabrykagier.game.fashiondesigner.*;
import pl.fabrykagier.framework.ui.graphical.*;
public dynamic class button_hud_quit extends GotoButton {
public function button_hud_quit(){
super();
addFrameScript(0, frame1, 1, frame2, 2, frame3);
}
function frame3(){
stop();
}
function frame1(){
if (!MainScene.getInstance()._inUbi){
this.visible = false;
};
stop();
}
function frame2(){
stop();
}
}
}//package
Section 149
//button_hud_sendToFriend (button_hud_sendToFriend)
package {
import pl.fabrykagier.framework.ui.graphical.*;
public dynamic class button_hud_sendToFriend extends GotoButton {
public function button_hud_sendToFriend(){
super();
addFrameScript(0, frame1, 1, frame2, 2, frame3);
}
function frame3(){
stop();
}
function frame1(){
stop();
}
function frame2(){
stop();
}
}
}//package
Section 150
//button_hud_visit (button_hud_visit)
package {
import pl.fabrykagier.game.fashiondesigner.*;
import pl.fabrykagier.framework.ui.graphical.*;
public dynamic class button_hud_visit extends GotoButton {
public function button_hud_visit(){
super();
addFrameScript(0, frame1, 1, frame2, 2, frame3);
}
function frame3(){
stop();
}
function frame1(){
if (MainScene.getInstance()._inUbi){
this.visible = false;
};
stop();
}
function frame2(){
stop();
}
}
}//package
Section 151
//button_ImReady (button_ImReady)
package {
import pl.fabrykagier.game.fashiondesigner.gameInterface.*;
public dynamic class button_ImReady extends ReadyForPreshowButton {
public function button_ImReady(){
super();
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package
Section 152
//button_ImReady_show (button_ImReady_show)
package {
import pl.fabrykagier.game.fashiondesigner.gameInterface.*;
public dynamic class button_ImReady_show extends ReadyForShowButton {
public function button_ImReady_show(){
super();
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package
Section 153
//button_NotYet (button_NotYet)
package {
import pl.fabrykagier.framework.ui.graphical.*;
public dynamic class button_NotYet extends GotoButton {
public function button_NotYet(){
super();
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package
Section 154
//button_Okay (button_Okay)
package {
import pl.fabrykagier.framework.ui.graphical.*;
public dynamic class button_Okay extends GotoButton {
public function button_Okay(){
super();
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package
Section 155
//button_Okay_confirm_name (button_Okay_confirm_name)
package {
import pl.fabrykagier.game.fashiondesigner.gameInterface.*;
public dynamic class button_Okay_confirm_name extends ConfirmNameButton {
public function button_Okay_confirm_name(){
super();
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package
Section 156
//button_Okay_confirm_send (button_Okay_confirm_send)
package {
import pl.fabrykagier.game.fashiondesigner.gameInterface.*;
public dynamic class button_Okay_confirm_send extends ConfirmSendButton {
public function button_Okay_confirm_send(){
super();
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package
Section 157
//button_panel_backToDresses (button_panel_backToDresses)
package {
import pl.fabrykagier.framework.ui.graphical.*;
public dynamic class button_panel_backToDresses extends GotoButton {
public function button_panel_backToDresses(){
super();
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package
Section 158
//button_panel_dresses (button_panel_dresses)
package {
import pl.fabrykagier.game.fashiondesigner.gameInterface.*;
public dynamic class button_panel_dresses extends MakeUpButton {
public function button_panel_dresses(){
super();
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package
Section 159
//button_panel_hints (button_panel_hints)
package {
import pl.fabrykagier.game.fashiondesigner.gameInterface.*;
public dynamic class button_panel_hints extends HintsButton {
public function button_panel_hints(){
super();
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package
Section 160
//button_panel_makeUp (button_panel_makeUp)
package {
import pl.fabrykagier.game.fashiondesigner.gameInterface.*;
public dynamic class button_panel_makeUp extends MakeUpButton {
public function button_panel_makeUp(){
super();
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package
Section 161
//button_panel_preShow (button_panel_preShow)
package {
import pl.fabrykagier.game.fashiondesigner.gameInterface.*;
public dynamic class button_panel_preShow extends PreshowButton {
public function button_panel_preShow(){
super();
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package
Section 162
//button_pickDestination_london (button_pickDestination_london)
package {
import pl.fabrykagier.game.fashiondesigner.gameInterface.*;
public dynamic class button_pickDestination_london extends PickDestinationButton {
public function button_pickDestination_london(){
super();
addFrameScript(6, frame7, 13, frame14, 20, frame21);
}
function frame14(){
stop();
}
function frame7(){
stop();
}
function frame21(){
gotoAndStop(7);
}
}
}//package
Section 163
//button_pickDestination_newYork (button_pickDestination_newYork)
package {
import pl.fabrykagier.game.fashiondesigner.gameInterface.*;
public dynamic class button_pickDestination_newYork extends PickDestinationButton {
public function button_pickDestination_newYork(){
super();
addFrameScript(6, frame7, 13, frame14, 20, frame21);
}
function frame14(){
stop();
}
function frame7(){
stop();
}
function frame21(){
gotoAndStop(7);
}
}
}//package
Section 164
//button_pickDestination_paris (button_pickDestination_paris)
package {
import pl.fabrykagier.game.fashiondesigner.gameInterface.*;
public dynamic class button_pickDestination_paris extends PickDestinationButton {
public function button_pickDestination_paris(){
super();
addFrameScript(6, frame7, 13, frame14, 20, frame21);
}
function frame14(){
stop();
}
function frame7(){
stop();
}
function frame21(){
gotoAndStop(7);
}
}
}//package
Section 165
//button_pickDestination_tokyo (button_pickDestination_tokyo)
package {
import pl.fabrykagier.game.fashiondesigner.gameInterface.*;
public dynamic class button_pickDestination_tokyo extends PickDestinationButton {
public function button_pickDestination_tokyo(){
super();
addFrameScript(6, frame7, 13, frame14, 20, frame21);
}
function frame14(){
stop();
}
function frame7(){
stop();
}
function frame21(){
gotoAndStop(7);
}
}
}//package
Section 166
//Button_selectLanguage (Button_selectLanguage)
package {
import pl.fabrykagier.framework.language.*;
public dynamic class Button_selectLanguage extends LanguageButton {
public function Button_selectLanguage(){
super();
addFrameScript(0, frame1, 1, frame2, 2, frame3);
}
function frame3(){
stop();
}
function frame1(){
stop();
}
function frame2(){
stop();
}
}
}//package
Section 167
//button_show_nextModel (button_show_nextModel)
package {
import pl.fabrykagier.game.fashiondesigner.gameInterface.*;
public dynamic class button_show_nextModel extends ShowNextModelButton {
public function button_show_nextModel(){
super();
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package
Section 168
//button_start (button_start)
package {
import pl.fabrykagier.game.fashiondesigner.gameInterface.*;
public dynamic class button_start extends StartGameButton {
public function button_start(){
super();
}
}
}//package
Section 169
//button_title_sound (button_title_sound)
package {
import pl.fabrykagier.framework.ui.graphical.*;
public dynamic class button_title_sound extends MutteButton {
public function button_title_sound(){
super();
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package
Section 170
//copy_Button_BackToDress (copy_Button_BackToDress)
package {
import pl.fabrykagier.framework.language.*;
public dynamic class copy_Button_BackToDress extends LanguageObjectFrameSwitch {
public function copy_Button_BackToDress(){
super();
}
}
}//package
Section 171
//copy_button_buyNow (copy_button_buyNow)
package {
import pl.fabrykagier.framework.language.*;
public dynamic class copy_button_buyNow extends LanguageObjectFrameSwitch {
public function copy_button_buyNow(){
super();
}
}
}//package
Section 172
//copy_button_dresses (copy_button_dresses)
package {
import pl.fabrykagier.framework.language.*;
public dynamic class copy_button_dresses extends LanguageObjectFrameSwitch {
public function copy_button_dresses(){
super();
}
}
}//package
Section 173
//copy_button_Feedback (copy_button_Feedback)
package {
import pl.fabrykagier.framework.language.*;
public dynamic class copy_button_Feedback extends LanguageObjectFrameSwitch {
public function copy_button_Feedback(){
super();
}
}
}//package
Section 174
//copy_button_FinalScore (copy_button_FinalScore)
package {
import pl.fabrykagier.framework.language.*;
public dynamic class copy_button_FinalScore extends LanguageObjectFrameSwitch {
public function copy_button_FinalScore(){
super();
}
}
}//package
Section 175
//copy_button_hints (copy_button_hints)
package {
import pl.fabrykagier.framework.language.*;
public dynamic class copy_button_hints extends LanguageObjectFrameSwitch {
public function copy_button_hints(){
super();
}
}
}//package
Section 176
//copy_button_ImReady (copy_button_ImReady)
package {
import pl.fabrykagier.framework.language.*;
public dynamic class copy_button_ImReady extends LanguageObjectFrameSwitch {
public function copy_button_ImReady(){
super();
}
}
}//package
Section 177
//copy_button_makeup (copy_button_makeup)
package {
import pl.fabrykagier.framework.language.*;
public dynamic class copy_button_makeup extends LanguageObjectFrameSwitch {
public function copy_button_makeup(){
super();
}
}
}//package
Section 178
//Copy_Button_muteOFF (Copy_Button_muteOFF)
package {
import pl.fabrykagier.framework.language.*;
public dynamic class Copy_Button_muteOFF extends LanguageObjectFrameSwitch {
public function Copy_Button_muteOFF(){
super();
}
}
}//package
Section 179
//Copy_Button_muteON (Copy_Button_muteON)
package {
import pl.fabrykagier.framework.language.*;
public dynamic class Copy_Button_muteON extends LanguageObjectFrameSwitch {
public function Copy_Button_muteON(){
super();
}
}
}//package
Section 180
//copy_Button_NextModel (copy_Button_NextModel)
package {
import pl.fabrykagier.framework.language.*;
public dynamic class copy_Button_NextModel extends LanguageObjectFrameSwitch {
public function copy_Button_NextModel(){
super();
}
}
}//package
Section 181
//copy_button_NotYet (copy_button_NotYet)
package {
import pl.fabrykagier.framework.language.*;
public dynamic class copy_button_NotYet extends LanguageObjectFrameSwitch {
public function copy_button_NotYet(){
super();
}
}
}//package
Section 182
//Copy_Button_OK (Copy_Button_OK)
package {
import pl.fabrykagier.framework.language.*;
public dynamic class Copy_Button_OK extends LanguageObjectFrameSwitch {
public function Copy_Button_OK(){
super();
}
}
}//package
Section 183
//copy_button_playAgain (copy_button_playAgain)
package {
import pl.fabrykagier.framework.language.*;
public dynamic class copy_button_playAgain extends LanguageObjectFrameSwitch {
public function copy_button_playAgain(){
super();
}
}
}//package
Section 184
//copy_button_PreShow (copy_button_PreShow)
package {
import pl.fabrykagier.framework.language.*;
public dynamic class copy_button_PreShow extends LanguageObjectFrameSwitch {
public function copy_button_PreShow(){
super();
}
}
}//package
Section 185
//copy_button_quit2 (copy_button_quit2)
package {
import pl.fabrykagier.framework.language.*;
public dynamic class copy_button_quit2 extends LanguageObjectFrameSwitch {
public function copy_button_quit2(){
super();
}
}
}//package
Section 186
//copy_button_send_to_friend (copy_button_send_to_friend)
package {
import pl.fabrykagier.framework.language.*;
public dynamic class copy_button_send_to_friend extends LanguageObjectFrameSwitch {
public function copy_button_send_to_friend(){
super();
}
}
}//package
Section 187
//copy_button_TheShow (copy_button_TheShow)
package {
import pl.fabrykagier.framework.language.*;
public dynamic class copy_button_TheShow extends LanguageObjectFrameSwitch {
public function copy_button_TheShow(){
super();
}
}
}//package
Section 188
//copy_pickDestination_ticketToLondon (copy_pickDestination_ticketToLondon)
package {
import pl.fabrykagier.framework.language.*;
public dynamic class copy_pickDestination_ticketToLondon extends LanguageObjectFrameSwitch {
public function copy_pickDestination_ticketToLondon(){
super();
}
}
}//package
Section 189
//copy_pickDestination_ticketToNewYork (copy_pickDestination_ticketToNewYork)
package {
import pl.fabrykagier.framework.language.*;
public dynamic class copy_pickDestination_ticketToNewYork extends LanguageObjectFrameSwitch {
public function copy_pickDestination_ticketToNewYork(){
super();
}
}
}//package
Section 190
//copy_pickDestination_ticketToParis (copy_pickDestination_ticketToParis)
package {
import pl.fabrykagier.framework.language.*;
public dynamic class copy_pickDestination_ticketToParis extends LanguageObjectFrameSwitch {
public function copy_pickDestination_ticketToParis(){
super();
}
}
}//package
Section 191
//copy_pickDestination_ticketToTokyo (copy_pickDestination_ticketToTokyo)
package {
import pl.fabrykagier.framework.language.*;
public dynamic class copy_pickDestination_ticketToTokyo extends LanguageObjectFrameSwitch {
public function copy_pickDestination_ticketToTokyo(){
super();
}
}
}//package
Section 192
//copy_popup_FinalScore_txt (copy_popup_FinalScore_txt)
package {
import pl.fabrykagier.framework.language.*;
public dynamic class copy_popup_FinalScore_txt extends LanguageObjectFrameSwitch {
public function copy_popup_FinalScore_txt(){
super();
}
}
}//package
Section 193
//copy_popup_sendToAFriend (copy_popup_sendToAFriend)
package {
import pl.fabrykagier.framework.language.*;
public dynamic class copy_popup_sendToAFriend extends LanguageObjectFrameSwitch {
public function copy_popup_sendToAFriend(){
super();
}
}
}//package
Section 194
//copy_popup_show_panel_ModelScore (copy_popup_show_panel_ModelScore)
package {
import pl.fabrykagier.framework.language.*;
public dynamic class copy_popup_show_panel_ModelScore extends LanguageObjectFrameSwitch {
public function copy_popup_show_panel_ModelScore(){
super();
}
}
}//package
Section 195
//copy_text_pickModel_Pick_three_models (copy_text_pickModel_Pick_three_models)
package {
import pl.fabrykagier.framework.language.*;
public dynamic class copy_text_pickModel_Pick_three_models extends LanguageObjectFrameSwitch {
public function copy_text_pickModel_Pick_three_models(){
super();
}
}
}//package
Section 196
//copy_text_pickYourDestination (copy_text_pickYourDestination)
package {
import pl.fabrykagier.framework.language.*;
public dynamic class copy_text_pickYourDestination extends LanguageObjectFrameSwitch {
public function copy_text_pickYourDestination(){
super();
}
}
}//package
Section 197
//copy_text_popup_feedback (copy_text_popup_feedback)
package {
import pl.fabrykagier.framework.language.*;
public dynamic class copy_text_popup_feedback extends LanguageObjectFrameSwitch {
public function copy_text_popup_feedback(){
super();
}
}
}//package
Section 198
//copy_text_popup_HelloPlayername (copy_text_popup_HelloPlayername)
package {
import pl.fabrykagier.framework.language.*;
public dynamic class copy_text_popup_HelloPlayername extends LanguageObjectFrameSwitch {
public function copy_text_popup_HelloPlayername(){
super();
}
}
}//package
Section 199
//copy_title_ifYouLikedThisGame (copy_title_ifYouLikedThisGame)
package {
import pl.fabrykagier.framework.language.*;
public dynamic class copy_title_ifYouLikedThisGame extends LanguageObjectFrameSwitch {
public function copy_title_ifYouLikedThisGame(){
super();
}
}
}//package
Section 200
//copy_txt_dressUp_accessories (copy_txt_dressUp_accessories)
package {
import pl.fabrykagier.framework.language.*;
public dynamic class copy_txt_dressUp_accessories extends LanguageObjectFrameSwitch {
public function copy_txt_dressUp_accessories(){
super();
}
}
}//package
Section 201
//copy_txt_dressUp_bottoms (copy_txt_dressUp_bottoms)
package {
import pl.fabrykagier.framework.language.*;
public dynamic class copy_txt_dressUp_bottoms extends LanguageObjectFrameSwitch {
public function copy_txt_dressUp_bottoms(){
super();
}
}
}//package
Section 202
//copy_txt_dressUp_shoes (copy_txt_dressUp_shoes)
package {
import pl.fabrykagier.framework.language.*;
public dynamic class copy_txt_dressUp_shoes extends LanguageObjectFrameSwitch {
public function copy_txt_dressUp_shoes(){
super();
}
}
}//package
Section 203
//copy_txt_dressUp_tops (copy_txt_dressUp_tops)
package {
import pl.fabrykagier.framework.language.*;
public dynamic class copy_txt_dressUp_tops extends LanguageObjectFrameSwitch {
public function copy_txt_dressUp_tops(){
super();
}
}
}//package
Section 204
//copy_txt_FirstPopup_ohBoy (copy_txt_FirstPopup_ohBoy)
package {
import pl.fabrykagier.framework.language.*;
public dynamic class copy_txt_FirstPopup_ohBoy extends LanguageObjectFrameSwitch {
public function copy_txt_FirstPopup_ohBoy(){
super();
}
}
}//package
Section 205
//copy_txt_FirstPopup_txt (copy_txt_FirstPopup_txt)
package {
import pl.fabrykagier.framework.language.*;
public dynamic class copy_txt_FirstPopup_txt extends LanguageObjectFrameSwitch {
public function copy_txt_FirstPopup_txt(){
super();
}
}
}//package
Section 206
//copy_txt_makeUp_EyeShade (copy_txt_makeUp_EyeShade)
package {
import pl.fabrykagier.framework.language.*;
public dynamic class copy_txt_makeUp_EyeShade extends LanguageObjectFrameSwitch {
public function copy_txt_makeUp_EyeShade(){
super();
}
}
}//package
Section 207
//copy_txt_makeUp_Gloss (copy_txt_makeUp_Gloss)
package {
import pl.fabrykagier.framework.language.*;
public dynamic class copy_txt_makeUp_Gloss extends LanguageObjectFrameSwitch {
public function copy_txt_makeUp_Gloss(){
super();
}
}
}//package
Section 208
//copy_txt_makeUp_hirDress (copy_txt_makeUp_hirDress)
package {
import pl.fabrykagier.framework.language.*;
public dynamic class copy_txt_makeUp_hirDress extends LanguageObjectFrameSwitch {
public function copy_txt_makeUp_hirDress(){
super();
}
}
}//package
Section 209
//copy_txt_makeUp_Lenses (copy_txt_makeUp_Lenses)
package {
import pl.fabrykagier.framework.language.*;
public dynamic class copy_txt_makeUp_Lenses extends LanguageObjectFrameSwitch {
public function copy_txt_makeUp_Lenses(){
super();
}
}
}//package
Section 210
//copy_txt_modelKind_casual (copy_txt_modelKind_casual)
package {
import pl.fabrykagier.framework.language.*;
public dynamic class copy_txt_modelKind_casual extends LanguageObjectFrameSwitch {
public function copy_txt_modelKind_casual(){
super();
}
}
}//package
Section 211
//copy_txt_modelKind_dressy (copy_txt_modelKind_dressy)
package {
import pl.fabrykagier.framework.language.*;
public dynamic class copy_txt_modelKind_dressy extends LanguageObjectFrameSwitch {
public function copy_txt_modelKind_dressy(){
super();
}
}
}//package
Section 212
//copy_txt_modelKind_pro (copy_txt_modelKind_pro)
package {
import pl.fabrykagier.framework.language.*;
public dynamic class copy_txt_modelKind_pro extends LanguageObjectFrameSwitch {
public function copy_txt_modelKind_pro(){
super();
}
}
}//package
Section 213
//copy_txt_modelKind_thumbs_casual (copy_txt_modelKind_thumbs_casual)
package {
import pl.fabrykagier.framework.language.*;
public dynamic class copy_txt_modelKind_thumbs_casual extends LanguageObjectFrameSwitch {
public function copy_txt_modelKind_thumbs_casual(){
super();
}
}
}//package
Section 214
//copy_txt_modelKind_thumbs_dressy (copy_txt_modelKind_thumbs_dressy)
package {
import pl.fabrykagier.framework.language.*;
public dynamic class copy_txt_modelKind_thumbs_dressy extends LanguageObjectFrameSwitch {
public function copy_txt_modelKind_thumbs_dressy(){
super();
}
}
}//package
Section 215
//copy_txt_modelKind_thumbs_pro (copy_txt_modelKind_thumbs_pro)
package {
import pl.fabrykagier.framework.language.*;
public dynamic class copy_txt_modelKind_thumbs_pro extends LanguageObjectFrameSwitch {
public function copy_txt_modelKind_thumbs_pro(){
super();
}
}
}//package
Section 216
//copy_txt_popup_areUShure (copy_txt_popup_areUShure)
package {
import pl.fabrykagier.framework.language.*;
public dynamic class copy_txt_popup_areUShure extends LanguageObjectFrameSwitch {
public function copy_txt_popup_areUShure(){
super();
}
}
}//package
Section 217
//copy_txt_popup_FinalChanges (copy_txt_popup_FinalChanges)
package {
import pl.fabrykagier.framework.language.*;
public dynamic class copy_txt_popup_FinalChanges extends LanguageObjectFrameSwitch {
public function copy_txt_popup_FinalChanges(){
super();
}
}
}//package
Section 218
//copy_txt_popup_FriendlyHint (copy_txt_popup_FriendlyHint)
package {
import pl.fabrykagier.framework.language.*;
public dynamic class copy_txt_popup_FriendlyHint extends LanguageObjectFrameSwitch {
public function copy_txt_popup_FriendlyHint(){
super();
}
}
}//package
Section 219
//copy_txt_popup_hello_01_UK (copy_txt_popup_hello_01_UK)
package {
import pl.fabrykagier.framework.language.*;
public dynamic class copy_txt_popup_hello_01_UK extends LanguageObjectFrameSwitch {
public function copy_txt_popup_hello_01_UK(){
super();
}
}
}//package
Section 220
//copy_txt_popup_hello_01_UK_HI (copy_txt_popup_hello_01_UK_HI)
package {
import pl.fabrykagier.framework.language.*;
public dynamic class copy_txt_popup_hello_01_UK_HI extends LanguageObjectFrameSwitch {
public function copy_txt_popup_hello_01_UK_HI(){
super();
}
}
}//package
Section 221
//copy_txt_popup_hello_02_TOKYO (copy_txt_popup_hello_02_TOKYO)
package {
import pl.fabrykagier.framework.language.*;
public dynamic class copy_txt_popup_hello_02_TOKYO extends LanguageObjectFrameSwitch {
public function copy_txt_popup_hello_02_TOKYO(){
super();
}
}
}//package
Section 222
//copy_txt_popup_hello_02_TOKYO_HI (copy_txt_popup_hello_02_TOKYO_HI)
package {
import pl.fabrykagier.framework.language.*;
public dynamic class copy_txt_popup_hello_02_TOKYO_HI extends LanguageObjectFrameSwitch {
public function copy_txt_popup_hello_02_TOKYO_HI(){
super();
}
}
}//package
Section 223
//copy_txt_popup_hello_03_FRANCE (copy_txt_popup_hello_03_FRANCE)
package {
import pl.fabrykagier.framework.language.*;
public dynamic class copy_txt_popup_hello_03_FRANCE extends LanguageObjectFrameSwitch {
public function copy_txt_popup_hello_03_FRANCE(){
super();
}
}
}//package
Section 224
//copy_txt_popup_hello_03_FRANCE_HI (copy_txt_popup_hello_03_FRANCE_HI)
package {
import pl.fabrykagier.framework.language.*;
public dynamic class copy_txt_popup_hello_03_FRANCE_HI extends LanguageObjectFrameSwitch {
public function copy_txt_popup_hello_03_FRANCE_HI(){
super();
}
}
}//package
Section 225
//copy_txt_popup_hello_04_US (copy_txt_popup_hello_04_US)
package {
import pl.fabrykagier.framework.language.*;
public dynamic class copy_txt_popup_hello_04_US extends LanguageObjectFrameSwitch {
public function copy_txt_popup_hello_04_US(){
super();
}
}
}//package
Section 226
//copy_txt_popup_hello_04_US_HI (copy_txt_popup_hello_04_US_HI)
package {
import pl.fabrykagier.framework.language.*;
public dynamic class copy_txt_popup_hello_04_US_HI extends LanguageObjectFrameSwitch {
public function copy_txt_popup_hello_04_US_HI(){
super();
}
}
}//package
Section 227
//copy_txt_popup_PreShowAreUReady (copy_txt_popup_PreShowAreUReady)
package {
import pl.fabrykagier.framework.language.*;
public dynamic class copy_txt_popup_PreShowAreUReady extends LanguageObjectFrameSwitch {
public function copy_txt_popup_PreShowAreUReady(){
super();
}
}
}//package
Section 228
//copy_txt_popup_ThisIsOurBackstage (copy_txt_popup_ThisIsOurBackstage)
package {
import pl.fabrykagier.framework.language.*;
public dynamic class copy_txt_popup_ThisIsOurBackstage extends LanguageObjectFrameSwitch {
public function copy_txt_popup_ThisIsOurBackstage(){
super();
}
}
}//package
Section 229
//copy_txt_Preshow_theDress_txt (copy_txt_Preshow_theDress_txt)
package {
import pl.fabrykagier.framework.language.*;
public dynamic class copy_txt_Preshow_theDress_txt extends LanguageObjectFrameSwitch {
public function copy_txt_Preshow_theDress_txt(){
super();
}
}
}//package
Section 230
//copy_txt_Preshow_theMakeUp_txt (copy_txt_Preshow_theMakeUp_txt)
package {
import pl.fabrykagier.framework.language.*;
public dynamic class copy_txt_Preshow_theMakeUp_txt extends LanguageObjectFrameSwitch {
public function copy_txt_Preshow_theMakeUp_txt(){
super();
}
}
}//package
Section 231
//dressup_button_arrow_left (dressup_button_arrow_left)
package {
import pl.fabrykagier.game.fashiondesigner.gameInterface.*;
public dynamic class dressup_button_arrow_left extends DressupArrowButton {
public function dressup_button_arrow_left(){
super();
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package
Section 232
//dressup_button_arrow_right (dressup_button_arrow_right)
package {
import pl.fabrykagier.game.fashiondesigner.gameInterface.*;
public dynamic class dressup_button_arrow_right extends DressupArrowButton {
public function dressup_button_arrow_right(){
super();
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package
Section 233
//dressup_closet (dressup_closet)
package {
import flash.display.*;
import pl.fabrykagier.game.fashiondesigner.*;
import pl.fabrykagier.game.fashiondesigner.dressing.*;
public dynamic class dressup_closet extends DressWardobe {
public function dressup_closet(){
super();
addFrameScript(10, frame11, 44, frame45, 45, frame46, 57, frame58, 74, frame75, 95, frame96, 120, frame121);
}
function frame75(){
if (!MainScene.getInstance().repeatMC){
gotoAndStop(121);
};
}
function frame11(){
MainScene.getInstance().startDress();
}
function frame121(){
if (MainScene.getInstance().repeatMC){
gotoAndPlay("DressUpLoop");
} else {
stop();
if (MainScene.getInstance().wasInPRESHOW){
MovieClip(this.parent).gotoAndPlay("Show");
} else {
MovieClip(this.parent).gotoAndPlay("PreShow");
};
};
}
function frame45(){
stop();
}
function frame96(){
stop();
setMakeupInterface();
}
function frame46(){
MainScene.getInstance().resumeDress();
}
function frame58(){
MainScene.getInstance().pauseDress();
}
}
}//package
Section 234
//dressup_model (dressup_model)
package {
import pl.fabrykagier.game.fashiondesigner.dressing.*;
public dynamic class dressup_model extends DressModelContainer {
public function dressup_model(){
super();
}
}
}//package
Section 235
//dressup_panel (dressup_panel)
package {
import pl.fabrykagier.game.fashiondesigner.gameInterface.*;
public dynamic class dressup_panel extends ScrollPanel {
public function dressup_panel(){
super();
}
}
}//package
Section 236
//dressup_panel_modelsChoice (dressup_panel_modelsChoice)
package {
import pl.fabrykagier.game.fashiondesigner.dressing.*;
public dynamic class dressup_panel_modelsChoice extends DressThumbsPanel {
public function dressup_panel_modelsChoice(){
super();
}
}
}//package
Section 237
//feedback_panel (feedback_panel)
package {
import pl.fabrykagier.game.fashiondesigner.show.*;
public dynamic class feedback_panel extends FeedbackPanel {
public function feedback_panel(){
super();
}
}
}//package
Section 238
//Hair_01_Bottom (Hair_01_Bottom)
package {
import pl.fabrykagier.game.fashiondesigner.gameObjects.*;
public dynamic class Hair_01_Bottom extends HairObject {
public function Hair_01_Bottom(){
super();
}
}
}//package
Section 239
//Hair_01_Top (Hair_01_Top)
package {
import pl.fabrykagier.game.fashiondesigner.gameObjects.*;
public dynamic class Hair_01_Top extends HairObject {
public function Hair_01_Top(){
super();
}
}
}//package
Section 240
//Hair_02_Bottom (Hair_02_Bottom)
package {
import pl.fabrykagier.game.fashiondesigner.gameObjects.*;
public dynamic class Hair_02_Bottom extends HairObject {
public function Hair_02_Bottom(){
super();
}
}
}//package
Section 241
//Hair_02_Top (Hair_02_Top)
package {
import pl.fabrykagier.game.fashiondesigner.gameObjects.*;
public dynamic class Hair_02_Top extends HairObject {
public function Hair_02_Top(){
super();
}
}
}//package
Section 242
//Hair_03_Top (Hair_03_Top)
package {
import pl.fabrykagier.game.fashiondesigner.gameObjects.*;
public dynamic class Hair_03_Top extends HairObject {
public function Hair_03_Top(){
super();
}
}
}//package
Section 243
//Hair_04_Top (Hair_04_Top)
package {
import pl.fabrykagier.game.fashiondesigner.gameObjects.*;
public dynamic class Hair_04_Top extends HairObject {
public function Hair_04_Top(){
super();
}
}
}//package
Section 244
//Hair_05_Top (Hair_05_Top)
package {
import pl.fabrykagier.game.fashiondesigner.gameObjects.*;
public dynamic class Hair_05_Top extends HairObject {
public function Hair_05_Top(){
super();
}
}
}//package
Section 245
//Hair_06_Bottom (Hair_06_Bottom)
package {
import pl.fabrykagier.game.fashiondesigner.gameObjects.*;
public dynamic class Hair_06_Bottom extends HairObject {
public function Hair_06_Bottom(){
super();
}
}
}//package
Section 246
//Hair_06_Top (Hair_06_Top)
package {
import pl.fabrykagier.game.fashiondesigner.gameObjects.*;
public dynamic class Hair_06_Top extends HairObject {
public function Hair_06_Top(){
super();
}
}
}//package
Section 247
//Hair_07_Bottom (Hair_07_Bottom)
package {
import pl.fabrykagier.game.fashiondesigner.gameObjects.*;
public dynamic class Hair_07_Bottom extends HairObject {
public function Hair_07_Bottom(){
super();
}
}
}//package
Section 248
//Hair_07_Top (Hair_07_Top)
package {
import pl.fabrykagier.game.fashiondesigner.gameObjects.*;
public dynamic class Hair_07_Top extends HairObject {
public function Hair_07_Top(){
super();
}
}
}//package
Section 249
//Hair_08_Bottom (Hair_08_Bottom)
package {
import pl.fabrykagier.game.fashiondesigner.gameObjects.*;
public dynamic class Hair_08_Bottom extends HairObject {
public function Hair_08_Bottom(){
super();
}
}
}//package
Section 250
//Hair_08_Top (Hair_08_Top)
package {
import pl.fabrykagier.game.fashiondesigner.gameObjects.*;
public dynamic class Hair_08_Top extends HairObject {
public function Hair_08_Top(){
super();
}
}
}//package
Section 251
//Hair_09_Bottom (Hair_09_Bottom)
package {
import pl.fabrykagier.game.fashiondesigner.gameObjects.*;
public dynamic class Hair_09_Bottom extends HairObject {
public function Hair_09_Bottom(){
super();
}
}
}//package
Section 252
//Hair_09_Top (Hair_09_Top)
package {
import pl.fabrykagier.game.fashiondesigner.gameObjects.*;
public dynamic class Hair_09_Top extends HairObject {
public function Hair_09_Top(){
super();
}
}
}//package
Section 253
//Hair_1_Top_ (Hair_1_Top_)
package {
import pl.fabrykagier.game.fashiondesigner.gameObjects.*;
public dynamic class Hair_1_Top_ extends HairObject {
public function Hair_1_Top_(){
super();
}
}
}//package
Section 254
//Hair_10_Bottom (Hair_10_Bottom)
package {
import pl.fabrykagier.game.fashiondesigner.gameObjects.*;
public dynamic class Hair_10_Bottom extends HairObject {
public function Hair_10_Bottom(){
super();
}
}
}//package
Section 255
//Hair_10_Top (Hair_10_Top)
package {
import pl.fabrykagier.game.fashiondesigner.gameObjects.*;
public dynamic class Hair_10_Top extends HairObject {
public function Hair_10_Top(){
super();
}
}
}//package
Section 256
//Hair_10_Top_ (Hair_10_Top_)
package {
import pl.fabrykagier.game.fashiondesigner.gameObjects.*;
public dynamic class Hair_10_Top_ extends HairObject {
public function Hair_10_Top_(){
super();
}
}
}//package
Section 257
//Hair_2_Top_ (Hair_2_Top_)
package {
import pl.fabrykagier.game.fashiondesigner.gameObjects.*;
public dynamic class Hair_2_Top_ extends HairObject {
public function Hair_2_Top_(){
super();
}
}
}//package
Section 258
//Hair_3_Top_ (Hair_3_Top_)
package {
import pl.fabrykagier.game.fashiondesigner.gameObjects.*;
public dynamic class Hair_3_Top_ extends HairObject {
public function Hair_3_Top_(){
super();
}
}
}//package
Section 259
//Hair_4_Top_ (Hair_4_Top_)
package {
import pl.fabrykagier.game.fashiondesigner.gameObjects.*;
public dynamic class Hair_4_Top_ extends HairObject {
public function Hair_4_Top_(){
super();
}
}
}//package
Section 260
//Hair_5_Top_ (Hair_5_Top_)
package {
import pl.fabrykagier.game.fashiondesigner.gameObjects.*;
public dynamic class Hair_5_Top_ extends HairObject {
public function Hair_5_Top_(){
super();
}
}
}//package
Section 261
//Hair_6_Top_ (Hair_6_Top_)
package {
import pl.fabrykagier.game.fashiondesigner.gameObjects.*;
public dynamic class Hair_6_Top_ extends HairObject {
public function Hair_6_Top_(){
super();
}
}
}//package
Section 262
//Hair_7_Top_ (Hair_7_Top_)
package {
import pl.fabrykagier.game.fashiondesigner.gameObjects.*;
public dynamic class Hair_7_Top_ extends HairObject {
public function Hair_7_Top_(){
super();
}
}
}//package
Section 263
//Hair_8_Top_ (Hair_8_Top_)
package {
import pl.fabrykagier.game.fashiondesigner.gameObjects.*;
public dynamic class Hair_8_Top_ extends HairObject {
public function Hair_8_Top_(){
super();
}
}
}//package
Section 264
//Hair_9_Top_ (Hair_9_Top_)
package {
import pl.fabrykagier.game.fashiondesigner.gameObjects.*;
public dynamic class Hair_9_Top_ extends HairObject {
public function Hair_9_Top_(){
super();
}
}
}//package
Section 265
//logo_game (logo_game)
package {
import pl.fabrykagier.framework.language.*;
public dynamic class logo_game extends LanguageObjectFrameSwitch {
public function logo_game(){
super();
}
}
}//package
Section 266
//logo_imagine (logo_imagine)
package {
import pl.fabrykagier.framework.language.*;
public dynamic class logo_imagine extends LanguageObjectFrameSwitch {
public function logo_imagine(){
super();
}
}
}//package
Section 267
//MochiBot (MochiBot)
package {
import flash.display.*;
import flash.net.*;
import flash.system.*;
public dynamic class MochiBot extends Sprite {
public function MochiBot(){
super();
}
public static function track(parent:Sprite, tag:String):MochiBot{
var self:MochiBot;
var server:String;
var lv:URLVariables;
var url:String;
var req:URLRequest;
var loader:Loader;
if (Security.sandboxType == "localWithFile"){
return (null);
};
self = new (MochiBot);
parent.addChild(self);
Security.allowDomain("*");
Security.allowInsecureDomain("*");
server = "http://core.mochibot.com/my/core.swf";
lv = new URLVariables();
lv["sb"] = Security.sandboxType;
lv["v"] = Capabilities.version;
lv["swfid"] = tag;
lv["mv"] = "8";
lv["fv"] = "9";
url = self.root.loaderInfo.loaderURL;
if (url.indexOf("http") == 0){
lv["url"] = url;
} else {
lv["url"] = "local";
};
req = new URLRequest(server);
req.contentType = "application/x-www-form-urlencoded";
req.method = URLRequestMethod.POST;
req.data = lv;
loader = new Loader();
self.addChild(loader);
loader.load(req);
return (self);
}
}
}//package
Section 268
//model_MAIN (model_MAIN)
package {
import pl.fabrykagier.game.fashiondesigner.character.*;
public dynamic class model_MAIN extends FemaleModel {
public function model_MAIN(){
super();
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package
Section 269
//MUSIC_MENU (MUSIC_MENU)
package {
import pl.fabrykagier.framework.media.*;
public dynamic class MUSIC_MENU extends SoundObject {
public function MUSIC_MENU(){
super();
}
}
}//package
Section 270
//packshotLarge (packshotLarge)
package {
import pl.fabrykagier.framework.language.*;
public dynamic class packshotLarge extends LanguageObjectFrameSwitch {
public function packshotLarge(){
super();
}
}
}//package
Section 271
//pickModel_model (pickModel_model)
package {
import pl.fabrykagier.game.fashiondesigner.gameInterface.*;
public dynamic class pickModel_model extends ChooseModel {
public function pickModel_model(){
super();
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package
Section 272
//popup (popup)
package {
import pl.fabrykagier.framework.media.*;
public dynamic class popup extends SoundObject {
public function popup(){
super();
}
}
}//package
Section 273
//popup_gameOver_panel (popup_gameOver_panel)
package {
import pl.fabrykagier.game.fashiondesigner.show.*;
public dynamic class popup_gameOver_panel extends GameOverPopup {
public function popup_gameOver_panel(){
super();
}
}
}//package
Section 274
//popup_info_feedback_panel (popup_info_feedback_panel)
package {
import pl.fabrykagier.game.fashiondesigner.show.*;
public dynamic class popup_info_feedback_panel extends PopupFeedback {
public function popup_info_feedback_panel(){
super();
}
}
}//package
Section 275
//popup_info_hints_panel (popup_info_hints_panel)
package {
import pl.fabrykagier.game.fashiondesigner.gameInterface.*;
public dynamic class popup_info_hints_panel extends HintsOnPopup {
public function popup_info_hints_panel(){
super();
}
}
}//package
Section 276
//popup_info_nodress_texts (popup_info_nodress_texts)
package {
import pl.fabrykagier.game.fashiondesigner.gameInterface.*;
public dynamic class popup_info_nodress_texts extends PopupNodressText {
public function popup_info_nodress_texts(){
super();
}
}
}//package
Section 277
//popup_sendToAFriend_panel (popup_sendToAFriend_panel)
package {
import pl.fabrykagier.game.fashiondesigner.gameInterface.*;
public dynamic class popup_sendToAFriend_panel extends PopupSendToAFriend {
public function popup_sendToAFriend_panel(){
super();
}
}
}//package
Section 278
//popup_show_welcome (popup_show_welcome)
package {
import pl.fabrykagier.game.fashiondesigner.gameInterface.*;
public dynamic class popup_show_welcome extends PopupShowWelcome {
public function popup_show_welcome(){
super();
}
}
}//package
Section 279
//popup_task (popup_task)
package {
import pl.fabrykagier.game.fashiondesigner.gameInterface.*;
public dynamic class popup_task extends PopupHello {
public function popup_task(){
super();
}
}
}//package
Section 280
//popup_welcome (popup_welcome)
package {
import pl.fabrykagier.game.fashiondesigner.*;
import pl.fabrykagier.game.fashiondesigner.gameInterface.*;
public dynamic class popup_welcome extends PopupKonnichiwa {
public function popup_welcome(){
super();
addFrameScript(0, frame1);
}
function frame1(){
stop();
this.gotoAndStop(MainScene.DESTINATION);
}
}
}//package
Section 281
//preshow_panel_modelsChoice (preshow_panel_modelsChoice)
package {
import pl.fabrykagier.game.fashiondesigner.show.*;
public dynamic class preshow_panel_modelsChoice extends ShowThumbContainer {
public function preshow_panel_modelsChoice(){
super();
}
}
}//package
Section 282
//show_panel (show_panel)
package {
import pl.fabrykagier.game.fashiondesigner.show.*;
public dynamic class show_panel extends PopupShowPanel {
public function show_panel(){
super();
}
}
}//package
Section 283
//title_cover (title_cover)
package {
import pl.fabrykagier.framework.language.*;
public dynamic class title_cover extends LanguageObjectFrameSwitch {
public function title_cover(){
super();
}
}
}//package
Section 284
//title_text_clickToContinue (title_text_clickToContinue)
package {
import pl.fabrykagier.framework.language.*;
public dynamic class title_text_clickToContinue extends LanguageObjectFrameSwitch {
public function title_text_clickToContinue(){
super();
}
}
}//package
Section 285
//Tokyo_Accesories_2 (Tokyo_Accesories_2)
package {
import pl.fabrykagier.framework.gameCharacters.model.*;
public dynamic class Tokyo_Accesories_2 extends ModelItemFirstFrame {
public function Tokyo_Accesories_2(){
super();
}
}
}//package
Section 286
//Tokyo_Accesories_Back (Tokyo_Accesories_Back)
package {
import pl.fabrykagier.framework.gameCharacters.model.*;
public dynamic class Tokyo_Accesories_Back extends ModelItemFirstFrame {
public function Tokyo_Accesories_Back(){
super();
}
}
}//package
Section 287
//Tokyo_Accesories_Front (Tokyo_Accesories_Front)
package {
import pl.fabrykagier.framework.gameCharacters.model.*;
public dynamic class Tokyo_Accesories_Front extends ModelItemFirstFrame {
public function Tokyo_Accesories_Front(){
super();
}
}
}//package
Section 288
//Tokyo_Blouses_Back (Tokyo_Blouses_Back)
package {
import pl.fabrykagier.framework.gameCharacters.model.*;
public dynamic class Tokyo_Blouses_Back extends ModelItemFirstFrame {
public function Tokyo_Blouses_Back(){
super();
}
}
}//package
Section 289
//Tokyo_Blouses_Front (Tokyo_Blouses_Front)
package {
import pl.fabrykagier.framework.gameCharacters.model.*;
public dynamic class Tokyo_Blouses_Front extends ModelItemFirstFrame {
public function Tokyo_Blouses_Front(){
super();
}
}
}//package
Section 290
//Tokyo_Boots_Back (Tokyo_Boots_Back)
package {
import pl.fabrykagier.framework.gameCharacters.model.*;
public dynamic class Tokyo_Boots_Back extends ModelItemFirstFrame {
public function Tokyo_Boots_Back(){
super();
}
}
}//package
Section 291
//Tokyo_Boots_Front (Tokyo_Boots_Front)
package {
import pl.fabrykagier.framework.gameCharacters.model.*;
public dynamic class Tokyo_Boots_Front extends ModelItemFirstFrame {
public function Tokyo_Boots_Front(){
super();
}
}
}//package
Section 292
//Tokyo_Dresses_Back (Tokyo_Dresses_Back)
package {
import pl.fabrykagier.framework.gameCharacters.model.*;
public dynamic class Tokyo_Dresses_Back extends ModelItemFirstFrame {
public function Tokyo_Dresses_Back(){
super();
}
}
}//package
Section 293
//Tokyo_Dresses_Front (Tokyo_Dresses_Front)
package {
import pl.fabrykagier.framework.gameCharacters.model.*;
public dynamic class Tokyo_Dresses_Front extends ModelItemFirstFrame {
public function Tokyo_Dresses_Front(){
super();
}
}
}//package
Section 294
//Tokyo_Skirts (Tokyo_Skirts)
package {
import pl.fabrykagier.framework.gameCharacters.model.*;
public dynamic class Tokyo_Skirts extends ModelItemFirstFrame {
public function Tokyo_Skirts(){
super();
}
}
}//package
Section 295
//Tokyo_Trousers (Tokyo_Trousers)
package {
import pl.fabrykagier.framework.gameCharacters.model.*;
public dynamic class Tokyo_Trousers extends ModelItemFirstFrame {
public function Tokyo_Trousers(){
super();
}
}
}//package
Section 296
//WardobeItemSet (WardobeItemSet)
package {
import pl.fabrykagier.game.fashiondesigner.dressing.*;
public dynamic class WardobeItemSet extends DressWardobeItem {
public function WardobeItemSet(){
super();
}
}
}//package
Section 297
//WardobeItemSet_london (WardobeItemSet_london)
package {
import pl.fabrykagier.game.fashiondesigner.dressing.*;
public dynamic class WardobeItemSet_london extends DressWardobeItem {
public function WardobeItemSet_london(){
super();
}
}
}//package
Section 298
//WardobeItemSet_ny (WardobeItemSet_ny)
package {
import pl.fabrykagier.game.fashiondesigner.dressing.*;
public dynamic class WardobeItemSet_ny extends DressWardobeItem {
public function WardobeItemSet_ny(){
super();
}
}
}//package
Section 299
//WardobeItemSet_paris (WardobeItemSet_paris)
package {
import pl.fabrykagier.game.fashiondesigner.dressing.*;
public dynamic class WardobeItemSet_paris extends DressWardobeItem {
public function WardobeItemSet_paris(){
super();
}
}
}//package
Section 300
//WardobeItemSet_tokyo (WardobeItemSet_tokyo)
package {
import pl.fabrykagier.game.fashiondesigner.dressing.*;
public dynamic class WardobeItemSet_tokyo extends DressWardobeItem {
public function WardobeItemSet_tokyo(){
super();
}
}
}//package