Section 1
//AwardsService (com.spilgames.api.AwardsService)
package com.spilgames.api {
public class AwardsService {
public static function submitAward(_arg1:String, _arg2:Function=null):int{
trace(("AwardSubmt: " + _arg1));
return (SpilGamesServices.getInstance().send("Awards", "submitAward", _arg2, {tag:_arg1, userName:User.getUserName(), userHash:User.getUserHash()}));
}
}
}//package com.spilgames.api
Section 2
//faceOffChristmas (com.spilgames.api.faceOffChristmas)
package com.spilgames.api {
import flash.display.*;
import flash.text.*;
import flash.events.*;
import spill.localisation.*;
import flash.utils.*;
import flash.media.*;
import flash.net.*;
import fl.transitions.*;
import fl.transitions.easing.*;
public class faceOffChristmas extends MovieClip {
private var panel;
private var selectedItemsN:Number;
private var sound:Sound;
private var _scoreCallbackID:int;
private var hatN:Number;// = 1
private var lipN:Number;// = 1
private var giftN:Number;// = 1
private var myLoaderInfo:LoaderInfo;
private var levelMc;
private var eyeN:Number;// = 1
private var sleeveN:Number;// = 1
private var timeOver;
private var gameComplete;
private var nextLevel;
private var timeArr:Array;
private var totalLife:Number;
private var st:SoundTransform;
private var tryAgain;
private var myLook:Array;
private var intro;
private var timeIntervalId:Number;
private var stRef;
private var lowerN:Number;// = 1
private var myItems:Array;
private var currentLevel:Number;
private var score:Number;
private var dLookId:Number;
private var topN:Number;// = 1
private var hairN:Number;// = 1
private var beltN:Number;// = 1
private var shoeN:Number;// = 1
private var desireLook;
private var _debugDisplay:TextField;
private var targetLook:Array;
private var soundCh:SoundChannel;
private var totalGameLevel:Number;
private var audio;
private var _awardsCallbackID:int;
private var gameTime:Number;
private var gameOver;
private var itemInterval:Number;
public function faceOffChristmas(_arg1:Object){
st = new SoundTransform();
myItems = new Array("hair", "top", "lower", "shoe", "eye", "lip", "gift", "hat", "belt", "sleeve");
selectedItemsN = new Number();
targetLook = new Array();
myLook = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
super();
stRef = _arg1;
myLoaderInfo = stRef.loaderInfo;
sound = new Sound();
soundCh = new SoundChannel();
timeIntervalId = new Number();
var _local2:SpilGamesServices = SpilGamesServices.getInstance();
_local2.addEventListener("servicesReady", onServicesReady);
_local2.addEventListener("servicesFailed", onServicesFailed);
_local2.connect(stRef);
itemInterval = new Number();
score = new Number(0);
gameTime = new Number(80);
totalGameLevel = new Number(3);
currentLevel = new Number(1);
_debugDisplay = new TextField();
_debugDisplay.y = -250;
_debugDisplay.x = -200;
_debugDisplay.width = 50;
_debugDisplay.height = 100;
stRef.addChild(_debugDisplay);
preloader();
}
private function myDesireDress(){
desireLook.gotoAndStop(currentLevel);
targetLook = new Array();
desireLook.close_btn.visible = false;
desireLook.done_btn.visible = true;
desireLook.visible = true;
hairN = randomNumber(2, 7, hairN);
topN = randomNumber(1, 7, topN);
lowerN = randomNumber(1, 7, lowerN);
shoeN = randomNumber(1, 7, shoeN);
eyeN = randomNumber(2, 7, eyeN);
lipN = randomNumber(2, 7, lipN);
targetLook[0] = hairN;
targetLook[1] = topN;
targetLook[2] = lowerN;
targetLook[3] = shoeN;
targetLook[4] = eyeN;
targetLook[5] = lipN;
desireLook.girl_mc.hair_mc.gotoAndStop(hairN);
desireLook.girl_mc.top_mc.gotoAndStop(topN);
desireLook.girl_mc.lower_mc.gotoAndStop(lowerN);
desireLook.girl_mc.shoe_mc.gotoAndStop(shoeN);
desireLook.girl_mc.eye_mc.gotoAndStop(eyeN);
desireLook.girl_mc.lip_mc.gotoAndStop(lipN);
if (currentLevel > 1){
beltN = randomNumber(1, 7, beltN);
sleeveN = randomNumber(1, 7, sleeveN);
targetLook[6] = beltN;
targetLook[7] = sleeveN;
desireLook.girl_mc.belt_mc.visible = true;
desireLook.girl_mc.sleeve_mc.visible = true;
desireLook.girl_mc.belt_mc.gotoAndStop(beltN);
desireLook.girl_mc.sleeve_mc.gotoAndStop(sleeveN);
} else {
desireLook.girl_mc.belt_mc.visible = false;
desireLook.girl_mc.sleeve_mc.visible = false;
};
if (currentLevel > 2){
hatN = randomNumber(1, 7, hatN);
giftN = randomNumber(1, 7, giftN);
targetLook[8] = hatN;
targetLook[9] = giftN;
desireLook.girl_mc.hat_mc.visible = true;
desireLook.girl_mc.gift_mc.visible = true;
desireLook.girl_mc.hat_mc.gotoAndStop(hatN);
desireLook.girl_mc.gift_mc.gotoAndStop(giftN);
} else {
desireLook.girl_mc.hat_mc.visible = false;
desireLook.girl_mc.gift_mc.visible = false;
};
dLookId = setInterval(hideDLook, 10000);
}
private function checkGameTime(){
gameTime--;
if (gameTime < 10){
panel.time_txt.htmlText = (("<b>0" + String(gameTime)) + "</b>");
} else {
panel.time_txt.htmlText = (("<b>" + String(gameTime)) + "</b>");
};
if (gameTime <= 0){
clearInterval(timeIntervalId);
showTryAgain();
};
}
private function preload(_arg1:Event){
if ((((myLoaderInfo.bytesLoaded == myLoaderInfo.bytesTotal)) && (!((myLoaderInfo.bytesTotal == 0))))){
stRef.removeEventListener(Event.ENTER_FRAME, preload);
stRef.gotoAndStop("intro");
showIntro();
} else {
stRef.loading_mc.bar.width = Math.round(((myLoaderInfo.bytesLoaded / myLoaderInfo.bytesTotal) * 100));
stRef.loading_mc.txt.text = String((("Loading " + Math.round(((myLoaderInfo.bytesLoaded / myLoaderInfo.bytesTotal) * 100))) + "%"));
};
}
private function hideDLook(){
clearInterval(dLookId);
desireLook.done_btn.visible = false;
desireLook.close_btn.visible = true;
desireLook.visible = false;
showGameLevel();
}
function handle_btnMoreGames(_arg1:MouseEvent):void{
navigateToURL(new URLRequest(SpilGame.getMoreGamesLink("Mainscreen")), "_blank");
}
private function showGameLevel(){
var _local4:*;
if (currentLevel == 1){
_local4 = 6;
myLook = new Array(0, 0, 0, 0, 0, 0);
} else {
if (currentLevel == 2){
_local4 = 8;
myLook = new Array(0, 0, 0, 0, 0, 0, 0, 0);
} else {
if (currentLevel == 3){
_local4 = 10;
myLook = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
};
};
};
var _local1:* = String((("level_" + currentLevel) + "_mc"));
var _local2:* = loadFromLibrary(_local1);
levelMc = new (_local2);
levelMc.items_mc.gotoAndStop(1);
levelMc.girl_mc.gotoAndStop(1);
levelMc.girl_mc.hair_mc.gotoAndStop(1);
levelMc.girl_mc.belt_mc.gotoAndStop(1);
levelMc.girl_mc.sleeve_mc.gotoAndStop(1);
levelMc.girl_mc.top_mc.gotoAndStop(1);
levelMc.girl_mc.lower_mc.gotoAndStop(1);
levelMc.girl_mc.shoe_mc.gotoAndStop(1);
levelMc.girl_mc.hat_mc.gotoAndStop(1);
levelMc.girl_mc.gift_mc.gotoAndStop(1);
levelMc.girl_mc.eye_mc.gotoAndStop(1);
levelMc.girl_mc.lip_mc.gotoAndStop(1);
levelMc.girl_mc.belt_mc.visible = false;
levelMc.girl_mc.sleeve_mc.visible = false;
levelMc.girl_mc.top_mc.visible = false;
levelMc.girl_mc.lower_mc.visible = false;
levelMc.girl_mc.shoe_mc.visible = false;
levelMc.girl_mc.hat_mc.visible = false;
levelMc.girl_mc.gift_mc.visible = false;
levelMc.girl_mc.eye_mc.visible = false;
levelMc.girl_mc.lip_mc.visible = false;
var _local3:* = 1;
while (_local3 <= _local4) {
levelMc.items_mc[("mc_" + _local3)].buttonMode = true;
levelMc.items_mc[("mc_" + _local3)].id = _local3;
levelMc.items_mc[("mc_" + _local3)].addEventListener(MouseEvent.CLICK, showAvalableItems);
_local3++;
};
stRef.gameAssetsMc.addChild(levelMc);
panel = new gamePanel();
panel.progressBar_mc.gotoAndStop(1);
panel.time_txt.htmlText = (("<b>" + String(gameTime)) + "</b>");
panel.progressBar_mc.bar_mc.width = 1;
panel.hint_btn.buttonMode = true;
panel.hint_btn.cnt = 0;
panel.hint_btn.addEventListener(MouseEvent.CLICK, showMeDLook);
stRef.gameAssetsMc.addChild(panel);
timeIntervalId = setInterval(checkGameTime, 1000);
}
private function showDLook(_arg1:MouseEvent){
clearContainer(intro);
showDesireLook();
}
private function onServicesReady(_arg1:Event):void{
_debugDisplay.appendText("SpilGamesServices are ready\n");
}
private function resetIntro(_arg1:MouseEvent){
intro.gotoAndPlay("close");
intro.backBtn.visible = false;
intro.storyBtn.visible = true;
}
private function onAwardRequestProcessed(_arg1:int, _arg2:Object):void{
_debugDisplay.appendText(("onAwardRequestProcessed" + "\n"));
_debugDisplay.appendText((("\tcallbackID: " + _arg1) + "\n"));
if (!_arg2.errorMessage){
_debugDisplay.appendText((("\txml: " + _arg2.xml) + "\n"));
} else {
_debugDisplay.appendText((("\tError in request: " + _arg2.errorMessage) + "\n"));
};
}
private function increaseMeter(_arg1:Number){
if (_arg1 > 149){
trace("next level");
score = (score + (gameTime * 100));
resetAll();
clearInterval(timeIntervalId);
if (currentLevel >= totalGameLevel){
trace("game complete");
gameComplete = new game_complete();
gameComplete.scoreTxt.text = String(score);
gameComplete.playAgainBtn.buttonMode = true;
gameComplete.playAgainBtn.addEventListener(MouseEvent.CLICK, restartGame);
generalFn(gameComplete);
stRef.gameAssetsMc.addChild(gameComplete);
_awardsCallbackID = AwardsService.submitAward(String(("award" + String(currentLevel))), onAwardRequestProcessed);
} else {
nextLevel = new level_complete();
nextLevel.scoreTxt.text = String(score);
nextLevel.nextLevelBtn.buttonMode = true;
nextLevel.nextLevelBtn.addEventListener(MouseEvent.CLICK, changeLevel);
generalFn(nextLevel);
stRef.gameAssetsMc.addChild(nextLevel);
_awardsCallbackID = AwardsService.submitAward(String(("award" + String(currentLevel))), onAwardRequestProcessed);
currentLevel++;
};
clearContainer(levelMc);
clearContainer(panel);
};
}
private function showAvalableItems(_arg1:MouseEvent){
selectedItemsN = (_arg1.currentTarget.id - 1);
levelMc.items_mc.gotoAndStop((_arg1.currentTarget.id + 1));
itemInterval = setInterval(enableItems, 100);
}
private function showIntro(){
intro = new Intro_mc();
intro.backBtn.visible = false;
intro.storyBtn.visible = true;
intro.playBtn.visible = true;
intro.backBtn.buttonMode = true;
intro.storyBtn.buttonMode = true;
intro.playBtn.buttonMode = true;
intro.startBtn.buttonMode = true;
intro.backBtn.addEventListener(MouseEvent.CLICK, resetIntro);
intro.closeBtn.addEventListener(MouseEvent.CLICK, resetIntro);
intro.storyBtn.addEventListener(MouseEvent.CLICK, playIntro);
intro.playBtn.addEventListener(MouseEvent.CLICK, playIntro);
intro.startBtn.addEventListener(MouseEvent.CLICK, showDLook);
generalFn(intro);
intro.gotoAndStop(1);
stRef.gameAssetsMc.addChild(intro);
audio = new audio_mc();
audio.x = 606;
audio.y = 20;
audio.mouseChildren = false;
audio.buttonMode = true;
audio.addEventListener(MouseEvent.CLICK, controlAudio);
stRef.gameSoundMc.addChild(audio);
}
private function startGame(_arg1:MouseEvent){
clearInterval(dLookId);
desireLook.done_btn.visible = false;
desireLook.close_btn.visible = true;
desireLook.visible = false;
showGameLevel();
}
private function preloader(){
stRef.addEventListener(Event.ENTER_FRAME, preload);
}
private function controlAudio(_arg1:MouseEvent){
if (audio.currentFrame == 2){
audio.gotoAndStop(3);
st.volume = 0;
} else {
audio.gotoAndStop(2);
st.volume = 1;
};
SoundMixer.soundTransform = st;
}
private function hideMe(_arg1:MouseEvent){
clearInterval(timeIntervalId);
clearInterval(dLookId);
timeIntervalId = setInterval(checkGameTime, 1000);
desireLook.visible = false;
}
private function showTryAgain(){
tryAgain = new try_again();
tryAgain.tryAgainBtn.buttonMode = true;
tryAgain.scoreTxt.text = String(score);
tryAgain.tryAgainBtn.addEventListener(MouseEvent.CLICK, playCurrentLevel);
generalFn(tryAgain);
stRef.gameAssetsMc.addChild(tryAgain);
clearContainer(levelMc);
clearContainer(panel);
}
private function hideCurrentDLook(){
clearInterval(timeIntervalId);
clearInterval(dLookId);
desireLook.done_btn.visible = false;
desireLook.close_btn.visible = true;
desireLook.visible = false;
timeIntervalId = setInterval(checkGameTime, 1000);
}
private function playIntro(_arg1:MouseEvent){
intro.gotoAndPlay(2);
if (_arg1.currentTarget.name == "playBtn"){
intro.backBtn.visible = false;
intro.storyBtn.visible = false;
intro.startBtn.visible = true;
intro.playBtn.visible = false;
} else {
intro.backBtn.visible = true;
intro.storyBtn.visible = false;
intro.playBtn.visible = false;
intro.startBtn.visible = true;
};
}
private function onScoreRequestProcessed(_arg1:int, _arg2:Object):void{
_debugDisplay.appendText(("onScoreRequestProcessed" + "\n"));
_debugDisplay.appendText((("\tcallbackID: " + _arg1) + "\n"));
if (!_arg2.errorMessage){
_debugDisplay.appendText((("\txml: " + _arg2.xml) + "\n"));
} else {
_debugDisplay.appendText((("\tError in request: " + _arg2.errorMessage) + "\n"));
};
}
private function showDesireLook(){
trace(((desireLook + " :: ") + currentLevel));
desireLook = new d_look_mc();
desireLook.done_btn.buttonMode = true;
desireLook.done_btn.addEventListener(MouseEvent.CLICK, startGame);
desireLook.close_btn.buttonMode = true;
desireLook.close_btn.addEventListener(MouseEvent.CLICK, hideMe);
desireLook.close_btn.visible = false;
desireLook.done_btn.visible = true;
desireLook.gotoAndStop(currentLevel);
stRef.dLookMc.addChild(desireLook);
myDesireDress();
}
private function showMeDLook(_arg1:MouseEvent){
clearInterval(timeIntervalId);
_arg1.currentTarget.cnt++;
trace(("e.currentTarget.cnt " + _arg1.currentTarget.cnt));
desireLook.visible = true;
if (_arg1.currentTarget.cnt >= 2){
_arg1.currentTarget.visible = false;
};
dLookId = setInterval(hideCurrentDLook, 10000);
}
private function restartGame(_arg1:MouseEvent){
clearContainer(gameComplete);
score = 0;
currentLevel = 1;
myDesireDress();
}
private function changeLevel(_arg1:MouseEvent){
trace("show next level");
nextLevel.visible = false;
myDesireDress();
}
private function clearContainer(_arg1:MovieClip):void{
var num:*;
var obj = _arg1;
try {
num = obj.numChildren;
while ((num = (num - 1)), num) {
obj.removeChildAt(num);
};
} catch(e:Error) {
};
}
private function resetAll(){
clearInterval(timeIntervalId);
gameTime = 80;
}
private function generalFn(_arg1:MovieClip){
_arg1.button_moreGames.buttonMode = true;
_arg1.button_moreGames.mouseEnabled = true;
_arg1.button_moreGames.addEventListener(MouseEvent.CLICK, handle_btnMoreGames);
}
private function loadFromLibrary(_arg1){
return ((getDefinitionByName(_arg1) as Class));
}
private function randomNumber(_arg1:Number, _arg2:Number, _arg3:Number):Number{
var _local4:Number = new Number();
var _local5:* = 0;
while (_local5 < 1) {
_local4 = (Math.floor((Math.random() * ((_arg2 - _arg1) + 1))) + _arg1);
trace(((("randomNum " + _local4) + " :: ") + _arg3));
if (_local4 == _arg3){
_local5--;
trace(("i " + _local5));
} else {
trace("break");
break;
};
_local5++;
};
return (_local4);
}
private function playCurrentLevel(_arg1:MouseEvent){
resetAll();
clearInterval(timeIntervalId);
myDesireDress();
tryAgain.visible = false;
clearContainer(tryAgain);
}
private function onServicesFailed(_arg1:ErrorEvent):void{
_debugDisplay.appendText((("SpilGamesServices failed: " + _arg1.text) + "\n"));
}
private function dressupGirl(_arg1:MouseEvent){
var _local4:*;
myLook[selectedItemsN] = _arg1.currentTarget.id;
trace(("myLook " + myLook));
trace(("targetLook " + targetLook));
if (selectedItemsN == 0){
levelMc.girl_mc.hair_mc.visible = true;
levelMc.girl_mc.hair_mc.gotoAndStop(_arg1.currentTarget.id);
levelMc.girl_mc.gotoAndStop(2);
} else {
if (selectedItemsN == 1){
levelMc.girl_mc.top_mc.visible = true;
levelMc.girl_mc.top_mc.gotoAndStop(_arg1.currentTarget.id);
} else {
if (selectedItemsN == 2){
levelMc.girl_mc.lower_mc.visible = true;
levelMc.girl_mc.lower_mc.gotoAndStop(_arg1.currentTarget.id);
} else {
if (selectedItemsN == 3){
levelMc.girl_mc.shoe_mc.visible = true;
levelMc.girl_mc.shoe_mc.gotoAndStop(_arg1.currentTarget.id);
} else {
if (selectedItemsN == 4){
levelMc.girl_mc.eye_mc.visible = true;
levelMc.girl_mc.eye_mc.gotoAndStop(_arg1.currentTarget.id);
} else {
if (selectedItemsN == 5){
levelMc.girl_mc.lip_mc.visible = true;
levelMc.girl_mc.lip_mc.gotoAndStop(_arg1.currentTarget.id);
} else {
if (selectedItemsN == 6){
levelMc.girl_mc.belt_mc.visible = true;
levelMc.girl_mc.belt_mc.gotoAndStop(_arg1.currentTarget.id);
} else {
if (selectedItemsN == 7){
levelMc.girl_mc.sleeve_mc.visible = true;
levelMc.girl_mc.sleeve_mc.gotoAndStop(_arg1.currentTarget.id);
} else {
if (selectedItemsN == 8){
levelMc.girl_mc.hat_mc.visible = true;
levelMc.girl_mc.hat_mc.gotoAndStop(_arg1.currentTarget.id);
} else {
if (selectedItemsN == 9){
levelMc.girl_mc.gift_mc.visible = true;
levelMc.girl_mc.gift_mc.gotoAndStop(_arg1.currentTarget.id);
};
};
};
};
};
};
};
};
};
};
var _local2:* = 0;
trace(("targetLook.length " + targetLook.length));
var _local3:* = 0;
while (_local3 < targetLook.length) {
trace(((((_local3 + " <> ") + targetLook[_local3]) + " :: ") + myLook[_local3]));
if (targetLook[_local3] == myLook[_local3]){
_local2++;
};
_local3++;
};
trace(("cnt " + _local2));
trace(panel.progressBar_mc.currentFrame);
panel.progressBar_mc.gotoAndStop(_local2);
trace(panel.progressBar_mc.currentFrame);
if (currentLevel == 1){
_local4 = 26;
} else {
if (currentLevel == 2){
_local4 = 19;
} else {
if (currentLevel == 3){
_local4 = 16;
};
};
};
trace(("panel.progressBar_mc.bar_mc.width " + panel.progressBar_mc.bar_mc.width));
panel.progressBar_mc.bar_mc.width = (_local2 * _local4);
increaseMeter(panel.progressBar_mc.bar_mc.width);
}
private function enableItems(){
var _local1:* = 1;
while (_local1 <= 8) {
trace(levelMc.items_mc[("btn_" + _local1)].name);
levelMc.items_mc[("btn_" + _local1)].buttonMode = true;
levelMc.items_mc[("btn_" + _local1)].id = _local1;
levelMc.items_mc[("btn_" + _local1)].addEventListener(MouseEvent.CLICK, dressupGirl);
_local1++;
};
clearInterval(itemInterval);
}
}
}//package com.spilgames.api
Section 3
//SpilGamesServices (com.spilgames.api.SpilGamesServices)
package com.spilgames.api {
import flash.display.*;
import flash.events.*;
import flash.utils.*;
import flash.net.*;
import flash.system.*;
public class SpilGamesServices extends MovieClip {
private const DEFAULT_CONNECTION_LOCATION:String = "http://www8.agame.com/games/flash/services/ServicesConnection.swf";
private var previousFrameTime:Number;
private var _connected:Boolean;// = false
private var _numConnectionLoadTries:uint;// = 0
private var _request:URLRequest;
private var currentDelay:Number;// = 0
private var _connecting:Boolean;// = false
private var _loader:Loader;
private var _servicesConnection;// = null
private var _alwaysInFront:Boolean;// = false
public static const INVALID_ID:int = -1;
public static const CONFIGURATION_FAILED:String = "configurationFailure";
private static const MAX_CONNECTION_LOAD_RETRIES:uint = 99;
public static const INVALID_DOMAIN:String = "invalidDomain";
private static var _instance:SpilGamesServices = null;
public function SpilGamesServices(_arg1:Private=null){
if (!_arg1){
throw (new Error("Cannot instantiate this class, use SpilGamesServices.getInstance"));
};
}
private function handleRemovedFromStage(_arg1:Event):void{
trace("WARNING: please do not remove SpilGamesServices from the stage");
}
private function handleLoadComplete(_arg1:Event):void{
_loader.contentLoaderInfo.removeEventListener(Event.COMPLETE, handleLoadComplete);
_loader.contentLoaderInfo.removeEventListener(IOErrorEvent.IO_ERROR, handleIOError);
_servicesConnection = LoaderInfo(_arg1.target).content;
_servicesConnection.addEventListener(Event.COMPLETE, handleServicesReady);
_servicesConnection.addEventListener(ErrorEvent.ERROR, handleServicesFailed);
_servicesConnection.addEventListener("serviceError", handleServiceError);
addChild(_servicesConnection);
}
public function send(_arg1:String, _arg2:String, _arg3:Function, _arg4:Object=null):int{
if (isReady()){
return (_servicesConnection.send(_arg1, _arg2, _arg3, _arg4));
};
return (INVALID_ID);
}
private function handleServicesFailed(_arg1:ErrorEvent):void{
_servicesConnection.addEventListener(Event.COMPLETE, handleServicesReady);
_servicesConnection.addEventListener(ErrorEvent.ERROR, handleServicesFailed);
_servicesConnection.addEventListener("serviceError", handleServiceError);
_connecting = false;
if (hasEventListener("servicesFailed")){
dispatchEvent(new ErrorEvent("servicesFailed", false, false, _arg1.text));
};
}
public function get version():String{
return ("1.1");
}
public function isReady():Boolean{
return (((!((_servicesConnection == null))) && (_servicesConnection.isReady())));
}
private function handleIOError(_arg1:IOErrorEvent):void{
_numConnectionLoadTries++;
if (_numConnectionLoadTries > MAX_CONNECTION_LOAD_RETRIES){
_loader.contentLoaderInfo.removeEventListener(Event.COMPLETE, handleLoadComplete);
_loader.contentLoaderInfo.removeEventListener(IOErrorEvent.IO_ERROR, handleIOError);
_connecting = false;
trace("ERROR: SpilGamesServices failed to load the connection object");
if (hasEventListener(_arg1.type)){
dispatchEvent(_arg1);
};
} else {
trace(("WARN: SpilGamesServices failed to load the connection object, retry #" + _numConnectionLoadTries));
previousFrameTime = getTimer();
addEventListener(Event.ENTER_FRAME, updateConnectionRetry);
};
}
public function disconnect():void{
if (_servicesConnection){
_servicesConnection.removeEventListener(Event.COMPLETE, handleServicesReady);
_servicesConnection.removeEventListener(ErrorEvent.ERROR, handleServicesFailed);
_servicesConnection.removeEventListener("serviceError", handleServiceError);
if (_connected){
_servicesConnection.disconnect();
};
removeChild(_servicesConnection);
};
_servicesConnection = null;
if (_loader){
try {
_loader.close();
} catch(e:Error) {
} finally {
_loader.contentLoaderInfo.removeEventListener(Event.COMPLETE, handleLoadComplete);
_loader.contentLoaderInfo.removeEventListener(IOErrorEvent.IO_ERROR, handleIOError);
};
_loader = null;
};
removeEventListener(Event.ENTER_FRAME, bringToFront);
removeEventListener(Event.REMOVED_FROM_STAGE, handleRemovedFromStage);
if (parent){
parent.removeChild(this);
};
_connected = (_connecting = false);
}
private function handleServicesReady(_arg1:Event):void{
_loader.contentLoaderInfo.removeEventListener(Event.COMPLETE, handleLoadComplete);
_loader.contentLoaderInfo.removeEventListener(IOErrorEvent.IO_ERROR, handleIOError);
_connected = true;
_connecting = false;
dispatchEvent(new Event("servicesReady"));
}
public function get connection(){
return (_servicesConnection);
}
private function updateConnectionRetry(_arg1:Event):void{
var _local2:Number = getTimer();
var _local3:Number = ((_local2 - previousFrameTime) / 1000);
currentDelay = (currentDelay + _local3);
if (currentDelay >= 2){
trace(("WARN: SpilGamesServices trying to reconnect after: " + currentDelay));
_loader.load(_request);
removeEventListener(Event.ENTER_FRAME, updateConnectionRetry);
currentDelay = 0;
};
previousFrameTime = _local2;
}
private function handleServiceError(_arg1:Event):void{
var _local2:String;
if (hasEventListener("serviceError")){
_local2 = "";
if ((_arg1 is ErrorEvent)){
_local2 = ErrorEvent(_arg1).text;
} else {
_local2 = _arg1.toString();
};
dispatchEvent(new ErrorEvent("serviceError", false, false, _local2));
};
}
public function isServiceAvailable(_arg1:String):Boolean{
return (((isReady()) && (_servicesConnection.isServiceAvailable(_arg1))));
}
public function getSiteID():int{
if (_servicesConnection != null){
return (_servicesConnection.getSiteID());
};
return (INVALID_ID);
}
public function getChannelID():int{
if (_servicesConnection != null){
return (_servicesConnection.getChannelID());
};
return (INVALID_ID);
}
public function set alwaysInFront(_arg1:Boolean):void{
if (_alwaysInFront != _arg1){
_alwaysInFront = _arg1;
if (_alwaysInFront){
addEventListener(Event.ENTER_FRAME, bringToFront);
} else {
removeEventListener(Event.ENTER_FRAME, bringToFront);
};
};
}
public function getItemID():int{
if (_servicesConnection != null){
return (_servicesConnection.getItemID());
};
return (INVALID_ID);
}
public function allowDomain(_arg1:String):void{
Security.allowDomain("*");
Security.allowInsecureDomain("*");
}
public function connect(_arg1:DisplayObjectContainer, ... _args):void{
var _local3:String;
var _local4:URLVariables;
var _local5:Date;
if (((!(_connecting)) && (!(_connected)))){
if (!_arg1.stage){
throw (new Error("The given clip must be present in the display list (added to stage)"));
};
_connecting = true;
_arg1.stage.addChild(this);
addEventListener(Event.REMOVED_FROM_STAGE, handleRemovedFromStage);
if (((root.loaderInfo.parameters["servicesLoc"]) && ((root.loaderInfo.parameters["servicesLoc"].length > 0)))){
_local3 = root.loaderInfo.parameters["servicesLoc"];
_request = new URLRequest(_local3);
} else {
_local3 = DEFAULT_CONNECTION_LOCATION;
_local4 = new URLVariables();
_local5 = new Date();
_local4.nocache = ((((_local5.fullYear * 12) + (_local5.month + 1)) * 31) + _local5.day);
_request = new URLRequest(_local3);
_request.data = _local4;
};
allowDomain(_local3);
_loader = new Loader();
_loader.contentLoaderInfo.addEventListener(Event.COMPLETE, handleLoadComplete);
_loader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, handleIOError);
_loader.load(_request);
};
}
public function get alwaysInFront():Boolean{
return (_alwaysInFront);
}
public function get connecting():Boolean{
return (_connecting);
}
public function isDomainAllowed():Boolean{
return (((!((_servicesConnection == null))) && (_servicesConnection.isDomainValid())));
}
public function bringToFront(_arg1:Event=null):void{
var e = _arg1;
if (parent){
try {
parent.setChildIndex(this, (parent.numChildren - 1));
} catch(e:Error) {
removeEventListener(Event.ENTER_FRAME, bringToFront);
};
};
}
public static function getInstance():SpilGamesServices{
if (!_instance){
_instance = new SpilGamesServices(new Private());
};
return (_instance);
}
}
}//package com.spilgames.api
class Private {
private function Private(){
}
}
Section 4
//User (com.spilgames.api.User)
package com.spilgames.api {
import flash.display.*;
public class User {
public static function getUserName():String{
var _local1:* = SpilGamesServices.getInstance().connection;
if (_local1 != null){
return (_local1.getUserName());
};
return ("");
}
public static function isGuest():Boolean{
var _local2:DisplayObject;
var _local3:Object;
var _local1:* = SpilGamesServices.getInstance().connection;
if (_local1 != null){
return (_local1.isGuest());
};
_local2 = SpilGamesServices.getInstance().root;
if (_local2.loaderInfo != null){
_local3 = _local2.loaderInfo.parameters;
return (((((((!(_local3.username)) || ((_local3.username == "")))) || (!(_local3.hash)))) || ((_local3.hash == ""))));
};
return (false);
}
public static function getUserHash():String{
var _local1:* = SpilGamesServices.getInstance().connection;
if (_local1 != null){
return (_local1.getUserHash());
};
return ("");
}
}
}//package com.spilgames.api
Section 5
//belt_45 (fashionista_face_off_christmas_fla.belt_45)
package fashionista_face_off_christmas_fla {
import flash.display.*;
public dynamic class belt_45 extends MovieClip {
public function belt_45(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package fashionista_face_off_christmas_fla
Section 6
//bottam_39 (fashionista_face_off_christmas_fla.bottam_39)
package fashionista_face_off_christmas_fla {
import flash.display.*;
public dynamic class bottam_39 extends MovieClip {
public function bottam_39(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package fashionista_face_off_christmas_fla
Section 7
//cap_60 (fashionista_face_off_christmas_fla.cap_60)
package fashionista_face_off_christmas_fla {
import flash.display.*;
public dynamic class cap_60 extends MovieClip {
public function cap_60(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package fashionista_face_off_christmas_fla
Section 8
//close_btn_29 (fashionista_face_off_christmas_fla.close_btn_29)
package fashionista_face_off_christmas_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import spill.localisation.*;
import flash.utils.*;
import flash.media.*;
import flash.net.*;
import flash.ui.*;
import flash.system.*;
import flash.external.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
public dynamic class close_btn_29 extends MovieClip {
public var __id20_:LocalizedTextField;
public function close_btn_29(){
__setProp___id20__close_btn_Layer2_0();
}
function __setProp___id20__close_btn_Layer2_0(){
try {
__id20_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id20_.text = "{close}";
__id20_.textColor = 0xFFFFFF;
__id20_.textSize = 18;
__id20_.bold = true;
__id20_.disableWordwrap = false;
__id20_.embedFonts = true;
__id20_.font = "";
__id20_.hAlign = "center";
__id20_.multiline = false;
__id20_.vAlign = "middle";
__id20_.antiAliasType = "advanced";
__id20_.glowBlur = 3;
__id20_.glowColor = 0;
__id20_.useGlowFilter = false;
__id20_.glowQuality = 1;
__id20_.glowStrength = 5;
__id20_.gridFitType = "pixel";
__id20_.italic = false;
__id20_.selectable = false;
__id20_.underline = false;
try {
__id20_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package fashionista_face_off_christmas_fla
Section 9
//done_btn_33 (fashionista_face_off_christmas_fla.done_btn_33)
package fashionista_face_off_christmas_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import spill.localisation.*;
import flash.utils.*;
import flash.media.*;
import flash.net.*;
import flash.ui.*;
import flash.system.*;
import flash.external.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
public dynamic class done_btn_33 extends MovieClip {
public var __id19_:LocalizedTextField;
public function done_btn_33(){
__setProp___id19__done_btn_Layer2_0();
}
function __setProp___id19__done_btn_Layer2_0(){
try {
__id19_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id19_.text = "{done}";
__id19_.textColor = 0xFFFFFF;
__id19_.textSize = 18;
__id19_.bold = true;
__id19_.disableWordwrap = false;
__id19_.embedFonts = true;
__id19_.font = "";
__id19_.hAlign = "center";
__id19_.multiline = false;
__id19_.vAlign = "middle";
__id19_.antiAliasType = "advanced";
__id19_.glowBlur = 3;
__id19_.glowColor = 0;
__id19_.useGlowFilter = false;
__id19_.glowQuality = 1;
__id19_.glowStrength = 5;
__id19_.gridFitType = "pixel";
__id19_.italic = false;
__id19_.selectable = false;
__id19_.underline = false;
try {
__id19_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package fashionista_face_off_christmas_fla
Section 10
//eye_43 (fashionista_face_off_christmas_fla.eye_43)
package fashionista_face_off_christmas_fla {
import flash.display.*;
public dynamic class eye_43 extends MovieClip {
public function eye_43(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package fashionista_face_off_christmas_fla
Section 11
//flag_icon_154 (fashionista_face_off_christmas_fla.flag_icon_154)
package fashionista_face_off_christmas_fla {
import flash.display.*;
public dynamic class flag_icon_154 extends MovieClip {
public function flag_icon_154(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package fashionista_face_off_christmas_fla
Section 12
//game_level_1_dress_bar_113 (fashionista_face_off_christmas_fla.game_level_1_dress_bar_113)
package fashionista_face_off_christmas_fla {
import flash.display.*;
public dynamic class game_level_1_dress_bar_113 extends MovieClip {
public var mc_1:MovieClip;
public var mc_2:MovieClip;
public var mc_3:MovieClip;
public var mc_4:MovieClip;
public var mc_5:MovieClip;
public var mc_6:MovieClip;
public var btn_1:MovieClip;
public var btn_2:MovieClip;
public var btn_4:MovieClip;
public var btn_5:MovieClip;
public var btn_6:MovieClip;
public var btn_7:MovieClip;
public var btn_8:MovieClip;
public var btn_3:MovieClip;
public function game_level_1_dress_bar_113(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package fashionista_face_off_christmas_fla
Section 13
//game_level_2_dress_bar_132 (fashionista_face_off_christmas_fla.game_level_2_dress_bar_132)
package fashionista_face_off_christmas_fla {
import flash.display.*;
public dynamic class game_level_2_dress_bar_132 extends MovieClip {
public var mc_1:MovieClip;
public var mc_2:MovieClip;
public var mc_3:MovieClip;
public var mc_4:MovieClip;
public var mc_5:MovieClip;
public var mc_6:MovieClip;
public var mc_7:MovieClip;
public var mc_8:MovieClip;
public var btn_4:MovieClip;
public var btn_5:MovieClip;
public var btn_6:MovieClip;
public var btn_7:MovieClip;
public var btn_8:MovieClip;
public var btn_3:MovieClip;
public var btn_1:MovieClip;
public var btn_2:MovieClip;
public function game_level_2_dress_bar_132(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package fashionista_face_off_christmas_fla
Section 14
//game_level_3_dress_bar_138 (fashionista_face_off_christmas_fla.game_level_3_dress_bar_138)
package fashionista_face_off_christmas_fla {
import flash.display.*;
public dynamic class game_level_3_dress_bar_138 extends MovieClip {
public var mc_1:MovieClip;
public var mc_2:MovieClip;
public var mc_3:MovieClip;
public var mc_4:MovieClip;
public var mc_5:MovieClip;
public var mc_6:MovieClip;
public var mc_7:MovieClip;
public var mc_8:MovieClip;
public var btn_4:MovieClip;
public var btn_5:MovieClip;
public var btn_6:MovieClip;
public var btn_7:MovieClip;
public var btn_8:MovieClip;
public var btn_1:MovieClip;
public var mc_9:MovieClip;
public var btn_2:MovieClip;
public var mc_10:MovieClip;
public var btn_3:MovieClip;
public function game_level_3_dress_bar_138(){
addFrameScript(0, frame1, 10, frame11);
}
function frame1(){
stop();
}
function frame11(){
trace(btn_5.name);
}
}
}//package fashionista_face_off_christmas_fla
Section 15
//gift_all_50 (fashionista_face_off_christmas_fla.gift_all_50)
package fashionista_face_off_christmas_fla {
import flash.display.*;
public dynamic class gift_all_50 extends MovieClip {
public function gift_all_50(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package fashionista_face_off_christmas_fla
Section 16
//glaps_59 (fashionista_face_off_christmas_fla.glaps_59)
package fashionista_face_off_christmas_fla {
import flash.display.*;
public dynamic class glaps_59 extends MovieClip {
public function glaps_59(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package fashionista_face_off_christmas_fla
Section 17
//her_44 (fashionista_face_off_christmas_fla.her_44)
package fashionista_face_off_christmas_fla {
import flash.display.*;
public dynamic class her_44 extends MovieClip {
public function her_44(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package fashionista_face_off_christmas_fla
Section 18
//hint_btn_142 (fashionista_face_off_christmas_fla.hint_btn_142)
package fashionista_face_off_christmas_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import spill.localisation.*;
import flash.utils.*;
import flash.media.*;
import flash.net.*;
import flash.ui.*;
import flash.system.*;
import flash.external.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
public dynamic class hint_btn_142 extends MovieClip {
public var __id6_:LocalizedTextField;
public function hint_btn_142(){
__setProp___id6__hint_btn_Layer2_0();
}
function __setProp___id6__hint_btn_Layer2_0(){
try {
__id6_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id6_.text = "{hint}";
__id6_.textColor = 0xFFFFFF;
__id6_.textSize = 9;
__id6_.bold = false;
__id6_.disableWordwrap = false;
__id6_.embedFonts = true;
__id6_.font = "";
__id6_.hAlign = "center";
__id6_.multiline = false;
__id6_.vAlign = "top";
__id6_.antiAliasType = "advanced";
__id6_.glowBlur = 3;
__id6_.glowColor = 0;
__id6_.useGlowFilter = false;
__id6_.glowQuality = 1;
__id6_.glowStrength = 5;
__id6_.gridFitType = "pixel";
__id6_.italic = false;
__id6_.selectable = false;
__id6_.underline = false;
try {
__id6_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package fashionista_face_off_christmas_fla
Section 19
//INTRO_FINAL_104 (fashionista_face_off_christmas_fla.INTRO_FINAL_104)
package fashionista_face_off_christmas_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import spill.localisation.*;
import flash.utils.*;
import flash.media.*;
import flash.net.*;
import flash.ui.*;
import flash.system.*;
import flash.external.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
public dynamic class INTRO_FINAL_104 extends MovieClip {
public var __id8_:LocalizedTextField;
public function INTRO_FINAL_104(){
__setProp___id8__INTRO_FINAL_Layer9_0();
}
function __setProp___id8__INTRO_FINAL_Layer9_0(){
try {
__id8_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id8_.text = "{title}";
__id8_.textColor = 0xFFFF00;
__id8_.textSize = 30;
__id8_.bold = true;
__id8_.disableWordwrap = false;
__id8_.embedFonts = false;
__id8_.font = "";
__id8_.hAlign = "center";
__id8_.multiline = false;
__id8_.vAlign = "middle";
__id8_.antiAliasType = "advanced";
__id8_.glowBlur = 5;
__id8_.glowColor = 0;
__id8_.useGlowFilter = false;
__id8_.glowQuality = 3;
__id8_.glowStrength = 5;
__id8_.gridFitType = "pixel";
__id8_.italic = false;
__id8_.selectable = false;
__id8_.underline = false;
try {
__id8_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package fashionista_face_off_christmas_fla
Section 20
//lip_42 (fashionista_face_off_christmas_fla.lip_42)
package fashionista_face_off_christmas_fla {
import flash.display.*;
public dynamic class lip_42 extends MovieClip {
public function lip_42(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package fashionista_face_off_christmas_fla
Section 21
//MainTimeline (fashionista_face_off_christmas_fla.MainTimeline)
package fashionista_face_off_christmas_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import spill.localisation.*;
import com.spilgames.api.*;
import flash.utils.*;
import flash.media.*;
import flash.net.*;
import flash.ui.*;
import flash.system.*;
import flash.external.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
public dynamic class MainTimeline extends MovieClip {
public var dLookMc:MovieClip;
public var rootTimeLine;
public var xmlData:XML;
public var i:int;
public var gameAssetsMc:MovieClip;
public var gameSoundMc:MovieClip;
public var fontList:Array;
public var loading_mc:MovieClip;
public function MainTimeline(){
addFrameScript(0, frame1, 9, frame10);
}
function frame1(){
stop();
new faceOffChristmas(this);
rootTimeLine = "rakeshkumar749@gmail.com";
xmlData = <LocalisedText><textItem identifier=""><en_us><![CDATA[]]></en_us><en_uk><![CDATA[]]></en_uk><nl_nl><![CDATA[]]></nl_nl><fr_fr><![CDATA[]]></fr_fr><de_de><![CDATA[]]></de_de><es_es><![CDATA[]]></es_es><pt_br><![CDATA[]]></pt_br><pt_pt><![CDATA[]]></pt_pt><it_it><![CDATA[]]></it_it><sv_se><![CDATA[]]></sv_se><pl_pl><![CDATA[]]></pl_pl><ru_ru><![CDATA[]]></ru_ru><id_id><![CDATA[]]></id_id><en_ar><![CDATA[]]></en_ar><jp_jp><![CDATA[]]></jp_jp><cn_cn><![CDATA[]]></cn_cn><es_mx><![CDATA[]]></es_mx><es_ar><![CDATA[]]></es_ar><tr_tr><![CDATA[]]></tr_tr></textItem><textItem identifier="Branding_More_Games_Sentence_Short"><en_us><![CDATA[More funny games at:]]></en_us><en_uk><![CDATA[More funny games at:]]></en_uk><nl_nl><![CDATA[Meer grappige spelletjes op:]]></nl_nl><fr_fr><![CDATA[Plus de jeux divertissants sur :]]></fr_fr><de_de><![CDATA[Mehr witzige Spiele auf:]]></de_de><es_es><![CDATA[Más juegos divertidos en:]]></es_es><pt_br><![CDATA[Mais jogos divertidos em:]]></pt_br><pt_pt><![CDATA[Mais jogos divertidos em:]]></pt_pt><it_it><![CDATA[Più giochi divertenti su:]]></it_it><sv_se><![CDATA[Fler roliga spel på:]]></sv_se><pl_pl><![CDATA[Więcej zabawnych gier na:]]></pl_pl><ru_ru><![CDATA[Больше веселых игр на:]]></ru_ru><id_id><![CDATA[Permainan lucu lainnya di:]]></id_id><en_ar><![CDATA[]]></en_ar><jp_jp><![CDATA[]]></jp_jp><cn_cn><![CDATA[]]></cn_cn><es_mx><![CDATA[Más juegos divertidos en:]]></es_mx><es_ar><![CDATA[Más juegos divertidos en:]]></es_ar><tr_tr><![CDATA[]]></tr_tr></textItem><textItem identifier="btn_startgame"><en_us><![CDATA[Start Game (English - US)]]></en_us><en_uk><![CDATA[Start Game (English - UK)]]></en_uk><nl_nl><![CDATA[Spel starten (Dutch - Netherlands)]]></nl_nl><fr_fr><![CDATA[Jouer (French - France)]]></fr_fr><de_de><![CDATA[Spiel starten (German - Germany)]]></de_de><es_es><![CDATA[Iniciar partida (Spanish - Spain)]]></es_es><pt_br><![CDATA[Começar (Portuguese - Brazil)]]></pt_br><pt_pt><![CDATA[Iniciar Jogo (Portuguese - Portugal)]]></pt_pt><it_it><![CDATA[Avvia partita (Italian - Italy)]]></it_it><sv_se><![CDATA[Starta spel (Swedish - Sweden)]]></sv_se><pl_pl><![CDATA[Start (Polish - Poland)]]></pl_pl><ru_ru><![CDATA[Начать игру (Russian - Russia)]]></ru_ru><id_id><![CDATA[Memulai permainan (Indonesian - Indonesia)]]></id_id><en_ar><![CDATA[Start game (English - Saudi Arabia)]]></en_ar><jp_jp><![CDATA[ゲームを始める (Japanese - Japan)]]></jp_jp><cn_cn><![CDATA[开始游戏 (Simplified Chinese - China)]]></cn_cn><es_mx><![CDATA[Iniciar partida (Spanish - Mexico)]]></es_mx><es_ar><![CDATA[Iniciar partida (Spanish - Argentina)]]></es_ar><tr_tr><![CDATA[oyunu başlatmak (Turkish - Turky)]]></tr_tr></textItem><textItem identifier="title"><en_us><![CDATA[Fashion Rivals: Christmas]]></en_us><en_uk><![CDATA[Fashion Rivals: Christmas]]></en_uk><nl_nl><![CDATA[Modewedstrijd: Kerstmis]]></nl_nl><fr_fr><![CDATA[Duel de fashionistas : Noël]]></fr_fr><de_de><![CDATA[Fashion Rivals: Weihnachten]]></de_de><es_es><![CDATA[Vístete a la Moda Navideña]]></es_es><pt_br><![CDATA[Desafio Fashion: Natal]]></pt_br><pt_pt><![CDATA[Estilista em Competição: Natal]]></pt_pt><it_it><![CDATA[Sfida modaiola: Natale]]></it_it><sv_se><![CDATA[Modeduell: Jul]]></sv_se><pl_pl><![CDATA[Pojedynek Fashionistek: Święta]]></pl_pl><ru_ru><![CDATA[Состязание модниц: Новый год]]></ru_ru><id_id><![CDATA[Pertarungan Fashionista: Natal]]></id_id><en_ar><![CDATA[]]></en_ar><jp_jp><![CDATA[]]></jp_jp><cn_cn><![CDATA[]]></cn_cn><es_mx><![CDATA[Vístete a la Moda Navideña]]></es_mx><es_ar><![CDATA[Vístete a la Moda Navideña]]></es_ar><tr_tr><![CDATA[Şıklık yüzleşmesi: Noel]]></tr_tr></textItem><textItem identifier="story"><en_us><![CDATA[HOW TO PLAY]]></en_us><en_uk><![CDATA[HOW TO PLAY]]></en_uk><nl_nl><![CDATA[SPELUITLEG]]></nl_nl><fr_fr><![CDATA[INSTRUCTIONS]]></fr_fr><de_de><![CDATA[ANLEITUNG]]></de_de><es_es><![CDATA[CÓMO JUGAR]]></es_es><pt_br><![CDATA[COMO JOGAR]]></pt_br><pt_pt><![CDATA[COMO JOGAR]]></pt_pt><it_it><![CDATA[COME GIOCARE]]></it_it><sv_se><![CDATA[SÅ SPELAR MAN]]></sv_se><pl_pl><![CDATA[JAK GRAĆ]]></pl_pl><ru_ru><![CDATA[КАК ИГРАТЬ]]></ru_ru><id_id><![CDATA[CARA MAIN]]></id_id><en_ar><![CDATA[]]></en_ar><jp_jp><![CDATA[]]></jp_jp><cn_cn><![CDATA[]]></cn_cn><es_mx><![CDATA[CÓMO JUGAR]]></es_mx><es_ar><![CDATA[CÓMO JUGAR]]></es_ar><tr_tr><![CDATA[NASIL OYNANIR]]></tr_tr></textItem><textItem identifier="play"><en_us><![CDATA[START GAME]]></en_us><en_uk><![CDATA[START GAME]]></en_uk><nl_nl><![CDATA[SPEL STARTEN]]></nl_nl><fr_fr><![CDATA[COMMENCER LE JEU]]></fr_fr><de_de><![CDATA[SPIEL STARTEN]]></de_de><es_es><![CDATA[COMENZAR]]></es_es><pt_br><![CDATA[COMEÇAR JOGO]]></pt_br><pt_pt><![CDATA[INICIAR]]></pt_pt><it_it><![CDATA[AVVIA IL GIOCO]]></it_it><sv_se><![CDATA[STARTA SPEL]]></sv_se><pl_pl><![CDATA[START]]></pl_pl><ru_ru><![CDATA[НАЧАТЬ ИГРУ]]></ru_ru><id_id><![CDATA[MULAI GAME]]></id_id><en_ar><![CDATA[]]></en_ar><jp_jp><![CDATA[]]></jp_jp><cn_cn><![CDATA[]]></cn_cn><es_mx><![CDATA[COMENZAR]]></es_mx><es_ar><![CDATA[COMENZAR]]></es_ar><tr_tr><![CDATA[OYUNA BAŞLA]]></tr_tr></textItem><textItem identifier="instruction"><en_us><![CDATA[HOW TO PLAY]]></en_us><en_uk><![CDATA[HOW TO PLAY]]></en_uk><nl_nl><![CDATA[SPELUITLEG]]></nl_nl><fr_fr><![CDATA[INSTRUCTIONS]]></fr_fr><de_de><![CDATA[ANLEITUNG]]></de_de><es_es><![CDATA[CÓMO JUGAR]]></es_es><pt_br><![CDATA[COMO JOGAR]]></pt_br><pt_pt><![CDATA[COMO JOGAR]]></pt_pt><it_it><![CDATA[COME GIOCARE]]></it_it><sv_se><![CDATA[SÅ SPELAR MAN]]></sv_se><pl_pl><![CDATA[JAK GRAĆ]]></pl_pl><ru_ru><![CDATA[КАК ИГРАТЬ]]></ru_ru><id_id><![CDATA[CARA MAIN]]></id_id><en_ar><![CDATA[]]></en_ar><jp_jp><![CDATA[]]></jp_jp><cn_cn><![CDATA[]]></cn_cn><es_mx><![CDATA[CÓMO JUGAR]]></es_mx><es_ar><![CDATA[CÓMO JUGAR]]></es_ar><tr_tr><![CDATA[NASIL OYNANIR]]></tr_tr></textItem><textItem identifier="next"><en_us><![CDATA[START GAME]]></en_us><en_uk><![CDATA[START GAME]]></en_uk><nl_nl><![CDATA[SPEL STARTEN]]></nl_nl><fr_fr><![CDATA[COMMENCER LE JEU]]></fr_fr><de_de><![CDATA[SPIEL STARTEN]]></de_de><es_es><![CDATA[COMENZAR]]></es_es><pt_br><![CDATA[COMEÇAR JOGO]]></pt_br><pt_pt><![CDATA[INICIAR]]></pt_pt><it_it><![CDATA[AVVIA IL GIOCO]]></it_it><sv_se><![CDATA[STARTA SPEL]]></sv_se><pl_pl><![CDATA[START]]></pl_pl><ru_ru><![CDATA[НАЧАТЬ ИГРУ]]></ru_ru><id_id><![CDATA[MULAI GAME]]></id_id><en_ar><![CDATA[]]></en_ar><jp_jp><![CDATA[]]></jp_jp><cn_cn><![CDATA[]]></cn_cn><es_mx><![CDATA[COMENZAR]]></es_mx><es_ar><![CDATA[COMENZAR]]></es_ar><tr_tr><![CDATA[OYUNA BAŞLA]]></tr_tr></textItem><textItem identifier="ins"><en_us><![CDATA[Left-click to browse and select clothes and accessories.]]></en_us><en_uk><![CDATA[Use the left mouse button to browse and select clothing and accessories.]]></en_uk><nl_nl><![CDATA[Gebruik de linkermuisknop om kleding en accessoires te bekijken en te selecteren.]]></nl_nl><fr_fr><![CDATA[Clique sur le bouton de gauche pour parcourir vêtements et accessoires et pour faire ton choix.]]></fr_fr><de_de><![CDATA[Klicke mit links, um Kleidung und Accessoires auszusuchen.]]></de_de><es_es><![CDATA[Selecciona con el botón izquierdo del ratón la ropa y los accesorios.]]></es_es><pt_br><![CDATA[Use o botão do mouse para procurar roupas e acessórios.]]></pt_br><pt_pt><![CDATA[Clica com o botão esquerdo do rato e seleciona vestuário e acessórios.]]></pt_pt><it_it><![CDATA[Clicca il tasto sinistro del mouse per sfogliare e scegliere i vestiti e gli accessori.]]></it_it><sv_se><![CDATA[Vänsterklicka för att bläddra och välja kläder och accessoarer.]]></sv_se><pl_pl><![CDATA[Kliknij lewym przyciskiem, aby przeglądać i wybierać ubrania i dodatki.]]></pl_pl><ru_ru><![CDATA[Щелкай мышью, чтобы перебирать наряды и аксессуары.]]></ru_ru><id_id><![CDATA[Klik kiri untuk menelusur dan pilih pakaian serta aksesoris.]]></id_id><en_ar><![CDATA[]]></en_ar><jp_jp><![CDATA[]]></jp_jp><cn_cn><![CDATA[]]></cn_cn><es_mx><![CDATA[Selecciona con el botón izquierdo del ratón la ropa y los accesorios.]]></es_mx><es_ar><![CDATA[Selecciona con el botón izquierdo del ratón la ropa y los accesorios.]]></es_ar><tr_tr><![CDATA[Taramak ve giysilerle aksesuarları seçmek için sol tıkla.]]></tr_tr></textItem><textItem identifier="instxt"><en_us><![CDATA[]]></en_us><en_uk><![CDATA[]]></en_uk><nl_nl><![CDATA[]]></nl_nl><fr_fr><![CDATA[]]></fr_fr><de_de><![CDATA[]]></de_de><es_es><![CDATA[]]></es_es><pt_br><![CDATA[]]></pt_br><pt_pt><![CDATA[]]></pt_pt><it_it><![CDATA[]]></it_it><sv_se><![CDATA[]]></sv_se><pl_pl><![CDATA[]]></pl_pl><ru_ru><![CDATA[]]></ru_ru><id_id><![CDATA[]]></id_id><en_ar><![CDATA[]]></en_ar><jp_jp><![CDATA[]]></jp_jp><cn_cn><![CDATA[]]></cn_cn><es_mx><![CDATA[]]></es_mx><es_ar><![CDATA[]]></es_ar><tr_tr><![CDATA[]]></tr_tr></textItem><textItem identifier="youwin"><en_us><![CDATA[CONGRATS!]]></en_us><en_uk><![CDATA[CONGRATS!]]></en_uk><nl_nl><![CDATA[GEFELICITEERD!]]></nl_nl><fr_fr><![CDATA[FÉLICITATIONS !]]></fr_fr><de_de><![CDATA[GLÜCKWUNSCH!]]></de_de><es_es><![CDATA[¡ENHORABUENA!]]></es_es><pt_br><![CDATA[PARABÉNS!]]></pt_br><pt_pt><![CDATA[PARABÉNS!]]></pt_pt><it_it><![CDATA[COMPLIMENTI!]]></it_it><sv_se><![CDATA[GRATULERAR!]]></sv_se><pl_pl><![CDATA[GRATULACJE!]]></pl_pl><ru_ru><![CDATA[ПОЗДРАВЛЯЕМ!]]></ru_ru><id_id><![CDATA[SELAMAT!]]></id_id><en_ar><![CDATA[]]></en_ar><jp_jp><![CDATA[]]></jp_jp><cn_cn><![CDATA[]]></cn_cn><es_mx><![CDATA[¡ENHORABUENA!]]></es_mx><es_ar><![CDATA[¡ENHORABUENA!]]></es_ar><tr_tr><![CDATA[TEBRİKLER!]]></tr_tr></textItem><textItem identifier="totalpoint"><en_us><![CDATA[TOTAL SCORE:]]></en_us><en_uk><![CDATA[TOTAL SCORE:]]></en_uk><nl_nl><![CDATA[TOTAALSCORE:]]></nl_nl><fr_fr><![CDATA[SCORE TOTAL :]]></fr_fr><de_de><![CDATA[GESAMTPUNKTZAHL:]]></de_de><es_es><![CDATA[PUNTUACIÓN TOTAL:]]></es_es><pt_br><![CDATA[PONTUAÇÃO TOTAL:]]></pt_br><pt_pt><![CDATA[PONTUAÇÃO TOTAL:]]></pt_pt><it_it><![CDATA[PUNTEGGIO TOTALE:]]></it_it><sv_se><![CDATA[TOTALPOÄNG:]]></sv_se><pl_pl><![CDATA[ŁĄCZNY WYNIK:]]></pl_pl><ru_ru><![CDATA[ОБЩИЙ СЧЕТ:]]></ru_ru><id_id><![CDATA[SKOR TOTAL:]]></id_id><en_ar><![CDATA[]]></en_ar><jp_jp><![CDATA[]]></jp_jp><cn_cn><![CDATA[]]></cn_cn><es_mx><![CDATA[PUNTUACIÓN TOTAL:]]></es_mx><es_ar><![CDATA[PUNTUACIÓN TOTAL:]]></es_ar><tr_tr><![CDATA[TOPLAM PUAN:]]></tr_tr></textItem><textItem identifier="nextlevel"><en_us><![CDATA[NEXT LEVEL]]></en_us><en_uk><![CDATA[NEXT LEVEL]]></en_uk><nl_nl><![CDATA[VOLGEND LEVEL]]></nl_nl><fr_fr><![CDATA[NIVEAU SUIVANT]]></fr_fr><de_de><![CDATA[NÄCHSTER LEVEL]]></de_de><es_es><![CDATA[SIGUIENTE NIVEL]]></es_es><pt_br><![CDATA[PRÓXIMA FASE]]></pt_br><pt_pt><![CDATA[NÍVEL SEGUINTE]]></pt_pt><it_it><![CDATA[PROSSIMO LIVELLO]]></it_it><sv_se><![CDATA[NÄSTA NIVÅ]]></sv_se><pl_pl><![CDATA[NASTĘPNY POZIOM]]></pl_pl><ru_ru><![CDATA[ДАЛЬШЕ]]></ru_ru><id_id><![CDATA[LEVEL BERIKUTNYA]]></id_id><en_ar><![CDATA[]]></en_ar><jp_jp><![CDATA[]]></jp_jp><cn_cn><![CDATA[]]></cn_cn><es_mx><![CDATA[SIGUIENTE NIVEL]]></es_mx><es_ar><![CDATA[SIGUIENTE NIVEL]]></es_ar><tr_tr><![CDATA[SONRAKİ SEVİYE]]></tr_tr></textItem><textItem identifier="oop"><en_us><![CDATA[OOPS!]]></en_us><en_uk><![CDATA[OOPS!]]></en_uk><nl_nl><![CDATA[OEPS!]]></nl_nl><fr_fr><![CDATA[OH OH !]]></fr_fr><de_de><![CDATA[HOPPLA!]]></de_de><es_es><![CDATA[¡UF!]]></es_es><pt_br><![CDATA[OOPS!]]></pt_br><pt_pt><![CDATA[UPS!]]></pt_pt><it_it><![CDATA[OOPS!]]></it_it><sv_se><![CDATA[HOPPSAN!]]></sv_se><pl_pl><![CDATA[UPS!]]></pl_pl><ru_ru><![CDATA[УВЫ...]]></ru_ru><id_id><![CDATA[UPS!]]></id_id><en_ar><![CDATA[]]></en_ar><jp_jp><![CDATA[]]></jp_jp><cn_cn><![CDATA[]]></cn_cn><es_mx><![CDATA[¡UF!]]></es_mx><es_ar><![CDATA[¡UF!]]></es_ar><tr_tr><![CDATA[EYVAH!]]></tr_tr></textItem><textItem identifier="replaylevel"><en_us><![CDATA[REPLAY LEVEL]]></en_us><en_uk><![CDATA[REPLAY LEVEL]]></en_uk><nl_nl><![CDATA[LEVEL OPNIEUW SPELEN]]></nl_nl><fr_fr><![CDATA[REJOUER LE NIVEAU]]></fr_fr><de_de><![CDATA[LEVEL WIEDERHOLEN]]></de_de><es_es><![CDATA[REPETIR NIVEL]]></es_es><pt_br><![CDATA[REPETIR FASE]]></pt_br><pt_pt><![CDATA[REPETIR NÍVEL]]></pt_pt><it_it><![CDATA[RIAVVIA IL LIVELLO]]></it_it><sv_se><![CDATA[SPELA OM NIVÅ]]></sv_se><pl_pl><![CDATA[POWTÓRZ POZIOM]]></pl_pl><ru_ru><![CDATA[ЕЩЕ РАЗ]]></ru_ru><id_id><![CDATA[MENGULANGI PERMAINAN LEVEL]]></id_id><en_ar><![CDATA[]]></en_ar><jp_jp><![CDATA[]]></jp_jp><cn_cn><![CDATA[]]></cn_cn><es_mx><![CDATA[REPETIR NIVEL]]></es_mx><es_ar><![CDATA[REPETIR NIVEL]]></es_ar><tr_tr><![CDATA[SEVİYEYİ TEKRARLA]]></tr_tr></textItem><textItem identifier="desirelook"><en_us><![CDATA[DESIRED LOOK]]></en_us><en_uk><![CDATA[DESIRED LOOK]]></en_uk><nl_nl><![CDATA[VOORBEELD]]></nl_nl><fr_fr><![CDATA[LOOK SOUHAITÉ]]></fr_fr><de_de><![CDATA[GEWÜNSCHTER LOOK]]></de_de><es_es><![CDATA[ASPECTO DESEADO]]></es_es><pt_br><![CDATA[VISUAL DESEJADO]]></pt_br><pt_pt><![CDATA[VISUAL DESEJADO]]></pt_pt><it_it><![CDATA[LOOK DESIDERATO]]></it_it><sv_se><![CDATA[ÖNSKAD LOOK]]></sv_se><pl_pl><![CDATA[WYGLĄD DOCELOWY]]></pl_pl><ru_ru><![CDATA[НУЖНЫЙ ВИД]]></ru_ru><id_id><![CDATA[TAMPILAN DIKEHENDAKI]]></id_id><en_ar><![CDATA[]]></en_ar><jp_jp><![CDATA[]]></jp_jp><cn_cn><![CDATA[]]></cn_cn><es_mx><![CDATA[ASPECTO DESEADO]]></es_mx><es_ar><![CDATA[ASPECTO DESEADO]]></es_ar><tr_tr><![CDATA[İSTENEN GÖRÜNÜM]]></tr_tr></textItem><textItem identifier="memo"><en_us><![CDATA[Memorize this festive look and recreate it before the time's up!]]></en_us><en_uk><![CDATA[Memorise this festive look and recreate it before the time runs out!]]></en_uk><nl_nl><![CDATA[Onthoud deze feestelijke look en maak die voordat de tijd om is precies na!]]></nl_nl><fr_fr><![CDATA[Mémorise ce look festif est recrée-le avant la fin du temps limite !]]></fr_fr><de_de><![CDATA[Merk dir diesen festlichen Look und stelle ihn vor Ablauf der Zeit nach!]]></de_de><es_es><![CDATA[¡Memoriza este modelo festivo y recréalo antes de que se agote el tiempo!]]></es_es><pt_br><![CDATA[Memorise este visual de festa e tente copiá-lo antes que o tempo acabe!]]></pt_br><pt_pt><![CDATA[Memoriza este visual festivo e reprodu-lo antes que o tempo acabe.]]></pt_pt><it_it><![CDATA[Memorizza questo look festivo e ricopialo prima che scada il tempo!]]></it_it><sv_se><![CDATA[Lägg denna festliga look på minnet och återskapa den innan tiden är ute!]]></sv_se><pl_pl><![CDATA[Zapamiętaj ten świąteczny look i odtwórz go, zanim upłynie czas!]]></pl_pl><ru_ru><![CDATA[Запомни этот праздничный наряд и скопируй его за отведенное время!]]></ru_ru><id_id><![CDATA[Ingat-ingat tampilan pesta ini dan kreasikan ulang sebelum waktunya habis!]]></id_id><en_ar><![CDATA[]]></en_ar><jp_jp><![CDATA[]]></jp_jp><cn_cn><![CDATA[]]></cn_cn><es_mx><![CDATA[¡Memoriza este modelo festivo y recréalo antes de que se agote el tiempo!]]></es_mx><es_ar><![CDATA[¡Memoriza este modelo festivo y recréalo antes de que se agote el tiempo!]]></es_ar><tr_tr><![CDATA[Bu neşeli görünümü aklında tut ve süre dolmadan önce yeniden oluştur!]]></tr_tr></textItem><textItem identifier="done"><en_us><![CDATA[PLAY]]></en_us><en_uk><![CDATA[PLAY]]></en_uk><nl_nl><![CDATA[SPELEN]]></nl_nl><fr_fr><![CDATA[JOUER]]></fr_fr><de_de><![CDATA[SPIELEN]]></de_de><es_es><![CDATA[JUGAR]]></es_es><pt_br><![CDATA[JOGAR]]></pt_br><pt_pt><![CDATA[JOGAR]]></pt_pt><it_it><![CDATA[GIOCA]]></it_it><sv_se><![CDATA[SPELA]]></sv_se><pl_pl><![CDATA[ZAGRAJ]]></pl_pl><ru_ru><![CDATA[ИГРАТЬ]]></ru_ru><id_id><![CDATA[MAINKAN]]></id_id><en_ar><![CDATA[]]></en_ar><jp_jp><![CDATA[]]></jp_jp><cn_cn><![CDATA[]]></cn_cn><es_mx><![CDATA[JUGAR]]></es_mx><es_ar><![CDATA[JUGAR]]></es_ar><tr_tr><![CDATA[OYNA]]></tr_tr></textItem><textItem identifier="timer"><en_us><![CDATA[TIME]]></en_us><en_uk><![CDATA[TIME]]></en_uk><nl_nl><![CDATA[TIJD]]></nl_nl><fr_fr><![CDATA[TEMPS]]></fr_fr><de_de><![CDATA[ZEIT]]></de_de><es_es><![CDATA[TIEMPO]]></es_es><pt_br><![CDATA[TEMPO]]></pt_br><pt_pt><![CDATA[TEMPO]]></pt_pt><it_it><![CDATA[TEMPO]]></it_it><sv_se><![CDATA[TID]]></sv_se><pl_pl><![CDATA[CZAS]]></pl_pl><ru_ru><![CDATA[ВРЕМЯ]]></ru_ru><id_id><![CDATA[WAKTU]]></id_id><en_ar><![CDATA[]]></en_ar><jp_jp><![CDATA[]]></jp_jp><cn_cn><![CDATA[]]></cn_cn><es_mx><![CDATA[TIEMPO]]></es_mx><es_ar><![CDATA[TIEMPO]]></es_ar><tr_tr><![CDATA[SÜRE]]></tr_tr></textItem><textItem identifier="hint"><en_us><![CDATA[HINT]]></en_us><en_uk><![CDATA[HINT]]></en_uk><nl_nl><![CDATA[HINT]]></nl_nl><fr_fr><![CDATA[INDICE]]></fr_fr><de_de><![CDATA[TIPP]]></de_de><es_es><![CDATA[PISTA]]></es_es><pt_br><![CDATA[DICA]]></pt_br><pt_pt><![CDATA[DICA]]></pt_pt><it_it><![CDATA[AIUTINO]]></it_it><sv_se><![CDATA[TIPS]]></sv_se><pl_pl><![CDATA[PODPOWIEDŹ]]></pl_pl><ru_ru><![CDATA[ПОДСКАЗКА]]></ru_ru><id_id><![CDATA[PETUNJUK]]></id_id><en_ar><![CDATA[]]></en_ar><jp_jp><![CDATA[]]></jp_jp><cn_cn><![CDATA[]]></cn_cn><es_mx><![CDATA[PISTA]]></es_mx><es_ar><![CDATA[PISTA]]></es_ar><tr_tr><![CDATA[İPUCU]]></tr_tr></textItem><textItem identifier="close"><en_us><![CDATA[CONTINUE]]></en_us><en_uk><![CDATA[CONTINUE]]></en_uk><nl_nl><![CDATA[DOORGAAN]]></nl_nl><fr_fr><![CDATA[CONTINUER]]></fr_fr><de_de><![CDATA[WEITER]]></de_de><es_es><![CDATA[CONTINUAR]]></es_es><pt_br><![CDATA[CONTINUAR]]></pt_br><pt_pt><![CDATA[CONTINUAR]]></pt_pt><it_it><![CDATA[CONTINUA]]></it_it><sv_se><![CDATA[FORTSÄTT]]></sv_se><pl_pl><![CDATA[KONTYNUUJ]]></pl_pl><ru_ru><![CDATA[ПРОДОЛЖИТЬ]]></ru_ru><id_id><![CDATA[LANJUTKAN]]></id_id><en_ar><![CDATA[]]></en_ar><jp_jp><![CDATA[]]></jp_jp><cn_cn><![CDATA[]]></cn_cn><es_mx><![CDATA[CONTINUAR]]></es_mx><es_ar><![CDATA[CONTINUAR]]></es_ar><tr_tr><![CDATA[DEVAM]]></tr_tr></textItem></LocalisedText>
;
SpilGame.importXMLv2(xmlData);
trace("Language Data Succesfully included");
fontList = Font.enumerateFonts();
i = 0;
while (i < fontList.length) {
trace(fontList[i].fontName);
i++;
};
contextMenu = new ContextMenu();
contextMenu.hideBuiltInItems();
SpilGame.initialize("fashionista_face_off_christmas", PortalGroup.GIRL, "fashionista_face_off_christmas.html", this, true);
}
function frame10(){
stop();
}
}
}//package fashionista_face_off_christmas_fla
Section 22
//mc_6_115 (fashionista_face_off_christmas_fla.mc_6_115)
package fashionista_face_off_christmas_fla {
import flash.display.*;
public dynamic class mc_6_115 extends MovieClip {
public function mc_6_115(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package fashionista_face_off_christmas_fla
Section 23
//progerssbar_143 (fashionista_face_off_christmas_fla.progerssbar_143)
package fashionista_face_off_christmas_fla {
import flash.display.*;
public dynamic class progerssbar_143 extends MovieClip {
public var bar_mc:MovieClip;
public function progerssbar_143(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package fashionista_face_off_christmas_fla
Section 24
//shooe_35 (fashionista_face_off_christmas_fla.shooe_35)
package fashionista_face_off_christmas_fla {
import flash.display.*;
public dynamic class shooe_35 extends MovieClip {
public function shooe_35(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package fashionista_face_off_christmas_fla
Section 25
//top_40 (fashionista_face_off_christmas_fla.top_40)
package fashionista_face_off_christmas_fla {
import flash.display.*;
public dynamic class top_40 extends MovieClip {
public function top_40(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package fashionista_face_off_christmas_fla
Section 26
//fdfs56_291 (halloween_fla.fdfs56_291)
package halloween_fla {
import flash.display.*;
public dynamic class fdfs56_291 extends MovieClip {
}
}//package halloween_fla
Section 27
//Brand (spill.localisation.Brand)
package spill.localisation {
import flash.xml.*;
public class Brand {
public var domain:String;
public var emailPage:String;
public var name:String;
public var site_id:uint;
public var isExternal:Boolean;// = false
public var id:Number;
public var hostingDomain:String;// = ""
public var preferedLanguage:String;// = ""
public var moreLink:String;// = ""
public var hasSendToFriendLink:Boolean;// = true
public var emailLink:String;// = "game"
public var portalGroup:uint;
public var useGoogleAnalitics:Boolean;// = true
private static const topLevelDoubles:String = ((((((((((((((("ac.cn,ac.jp,ac.uk,ad.jp,adm.br,adv.br,agr.br," + "ah.cn,am.br,arq.br,art.br,asn.au,ato.br,av.tr,bel.tr,bio.br,biz.tr,bj.cn,bmd.br,") + "cim.br,cng.br,cnt.br,co.at,co.jp,co.uk,com.au,com.br,com.cn,com.eg,com.hk,com.mx,") + "com.ru,com.tr,com.tw,conf.au,cq.cn,csiro.au,dr.tr,ecn.br,edu.au,edu.br,edu.tr,") + "emu.id.au,eng.br,esp.br,etc.br,eti.br,eun.eg,far.br,fj.cn,fm.br,fnd.br,fot.br,") + "fst.br,g12.br,gb.com,gb.net,gd.cn,gen.tr,ggf.br,gob.mx,gov.au,gov.br,gov.cn,") + "gov.hk,gov.tr,gr.jp,gs.cn,gx.cn,gz.cn,ha.cn,hb.cn,he.cn,hi.cn,hk.cn,hl.cn,hn.cn,") + "id.au,idv.tw,imb.br,ind.br,inf.br,info.au,info.tr,jl.cn,jor.br,js.cn,jx.cn,k12.tr,") + "lel.br,ln.cn,ltd.uk,mat.br,me.uk,med.br,mil.br,mil.tr,mo.cn,mus.br,name.tr,ne.jp,") + "net.au,net.br,net.cn,net.eg,net.hk,net.lu,net.mx,net.ru,net.tr,net.tw,net.uk,") + "nm.cn,no.com,nom.br,not.br,ntr.br,nx.cn,odo.br,oop.br,or.at,or.jp,org.au,org.br,") + "org.cn,org.hk,org.lu,org.ru,org.tr,org.tw,org.uk,plc.uk,pol.tr,pp.ru,ppg.br,pro.br,") + "psc.br,psi.br,qh.cn,qsl.br,rec.br,sc.cn,sd.cn,se.com,se.net,sh.cn,slg.br,sn.cn,") + "srv.br,sx.cn,tel.tr,tj.cn,tmp.br,trd.br,tur.br,tv.br,tw.cn,uk.com,uk.net,vet.br,") + "wattle.id.au,web.tr,xj.cn,xz.cn,yn.cn,zj.cn,zlg.br,co.nr,co.nz,com.fr,com.ph,com.ar,") + "com.id,com.in");
private function get utm_campaign():String{
if (isExternal){
return (("utm_campaign=" + hostingDomain));
};
return ("");
}
public function exportXML():XML{
var _local3:XML;
var _local1:XML = <portal/>
;
_local1.@id = site_id;
_local1.@language = preferedLanguage;
_local1.@channel = portalGroup;
var _local2:XML = <domain/>
;
_local2.appendChild(new XMLNode(3, domain));
_local1.appendChild(_local2);
if (moreLink){
_local3 = <more_games_path/>
;
_local3.appendChild(new XMLNode(3, moreLink));
_local1.appendChild(_local3);
};
_local2 = <game_path/>
;
_local2.appendChild(new XMLNode(3, emailLink));
_local1.appendChild(_local2);
if (!useGoogleAnalitics){
_local1.attributes.noGoogleAnalitics = true;
};
if (!hasSendToFriendLink){
_local1.attributes.noSendToFriendLink = true;
};
return (_local1);
}
public function getPromotionLink(_arg1:String, _arg2:String, _arg3:Boolean, _arg4:String="", _arg5:String=""):String{
var _local6:String = ("http://" + domain);
_local6 = (_local6 + ((("/" + emailLink) + "/") + _arg2));
if (useGoogleAnalitics){
_local6 = (_local6 + ("?utm_medium=brandedgames_" + (_arg3) ? "external" : "internal"));
_local6 = (_local6 + ("&utm_campaign=" + _arg1));
_arg4 = stripSubDomain(_arg4);
trace(_arg4);
if (_arg4 == "localhost"){
_arg4 = "offline_play";
};
_local6 = (_local6 + ("&utm_source=" + _arg4));
if (((!((_arg5 == ""))) && (!((_arg5 == null))))){
_local6 = (_local6 + ("&utm_content=" + _arg5));
};
};
return (_local6);
}
private function get utm_source():String{
return (("utm_source=brandedgames_" + (isExternal) ? "external" : "internal"));
}
public function getMoreGamesLink(_arg1:String, _arg2:Boolean, _arg3:String="", _arg4:String=""):String{
var _local5:String = ("http://" + domain);
_local5 = (_local5 + ("/" + moreLink));
if (((useGoogleAnalitics) && (_arg2))){
_local5 = (_local5 + ("?utm_medium=brandedgames_" + (_arg2) ? "external" : "internal"));
_local5 = (_local5 + ("&utm_campaign=" + _arg1));
_arg3 = stripSubDomain(_arg3);
if (_arg3 == "localhost"){
_arg3 = "offline_play";
};
_local5 = (_local5 + ("&utm_source=" + _arg3));
if (((!((_arg4 == ""))) && (!((_arg4 == null))))){
_local5 = (_local5 + ("&utm_content=" + _arg4));
};
};
return (_local5);
}
public function get backgroundColor():uint{
return (PortalGroup.backgroundColors[portalGroup]);
}
private function get utm_term():String{
return ("utm_term=");
}
public function importXML(_arg1:XMLNode):void{
}
public function getSendToFriendLink(_arg1:String, _arg2:String, _arg3:Boolean, _arg4:String=""):String{
if (!hasSendToFriendLink){
return (getMoreGamesLink(_arg1, _arg3));
};
var _local5:String = ("http://" + domain);
_local5 = (_local5 + ((("/" + emailLink) + "/") + _arg2));
if (useGoogleAnalitics){
_local5 = (_local5 + ("?utm_medium=brandedgames_" + (_arg3) ? "external" : "internal"));
_local5 = (_local5 + ("&utm_campaign=" + _arg1));
_arg4 = stripSubDomain(_arg4);
if (_arg4 == "localhost"){
_arg4 = "offline_play";
};
_local5 = (_local5 + ("&utm_source=" + _arg4));
_local5 = (_local5 + "&utm_content=send_to_friend");
};
return (_local5);
}
public static function stripSubDomain(_arg1:String):String{
if (!_arg1){
return ("");
};
var _local2:Array = _arg1.split(".");
if (_local2.length <= 2){
return (_arg1);
};
_local2 = _local2.reverse();
if (topLevelDoubles.indexOf((((_local2[1] + ".") + _local2[0]) + ",")) > 0){
return (((((_local2[2] + ".") + _local2[1]) + ".") + _local2[0]));
};
return (((_local2[1] + ".") + _local2[0]));
}
}
}//package spill.localisation
Section 28
//BrandingLogo (spill.localisation.BrandingLogo)
package spill.localisation {
import flash.display.*;
import flash.events.*;
public class BrandingLogo extends MovieClip {
public function BrandingLogo(){
stop();
mouseEnabled = false;
mouseChildren = false;
addEventListener(Event.ADDED_TO_STAGE, added, false, 0, true);
addEventListener(Event.REMOVED_FROM_STAGE, removed, false, 0, true);
if (stage){
added();
};
brandingChanged();
}
private function added(_arg1:Event=null):void{
SpilGame.addEventListener("brandingChanged", brandingChanged, false, 0, true);
brandingChanged();
}
private function brandingChanged(_arg1:Event=null):void{
if (SpilGame.currentBranding){
gotoAndStop(SpilGame.currentBranding.domain);
};
}
private function removed(_arg1:Event):void{
SpilGame.removeEventListener("brandingChanged", brandingChanged);
}
}
}//package spill.localisation
Section 29
//Brandings (spill.localisation.Brandings)
package spill.localisation {
public class Brandings {
private static var brands_by_id:Object = new Object();
private static var brands_by_domain:Object = new Object();
public static function getBrandByID(_arg1:Number):Brand{
return (brands_by_id[_arg1]);
}
public static function getBrandsArray():Array{
var _local2:Brand;
var _local1:Array = new Array();
for each (_local2 in brands_by_domain) {
_local1.push(_local2);
};
return (_local1);
}
private static function addBrand(_arg1:Brand):Brand{
if (brands_by_domain[_arg1.domain]){
trace(("ERROR: Attempting to add duplicate brand by domain: " + _arg1.domain));
} else {
brands_by_domain[_arg1.domain] = _arg1;
};
if (brands_by_id[_arg1.site_id]){
trace(("ERROR: Attempting to add duplicate brand by id: " + _arg1.site_id));
} else {
brands_by_id[_arg1.site_id] = _arg1;
};
return (_arg1);
}
public static function initialize():void{
var _local1:Brand;
_local1 = new Brand();
_local1.site_id = 79;
_local1.domain = "www.agame.com";
_local1.preferedLanguage = "en_us";
_local1.portalGroup = PortalGroup.TEENS;
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 88;
_local1.domain = "www.gamesgames.com";
_local1.preferedLanguage = "en_us";
_local1.portalGroup = PortalGroup.FAMILY;
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 90;
_local1.domain = "www.girlsgogames.com";
_local1.preferedLanguage = "en_us";
_local1.portalGroup = PortalGroup.GIRL;
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 45;
_local1.domain = "www.a10.com";
_local1.preferedLanguage = "en_us";
_local1.portalGroup = PortalGroup.YOUNG_ADULTS;
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 92;
_local1.domain = "www.games.co.uk";
_local1.preferedLanguage = "en_uk";
_local1.portalGroup = PortalGroup.FAMILY;
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 1000;
_local1.domain = "www.oyunoyna.com";
_local1.preferedLanguage = "tr_tr";
_local1.portalGroup = PortalGroup.TEENS;
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 107;
_local1.domain = "www.agame.co.uk";
_local1.preferedLanguage = "en_uk";
_local1.portalGroup = PortalGroup.TEENS;
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 138;
_local1.domain = "www.giochi.it";
_local1.preferedLanguage = "it_it";
_local1.portalGroup = PortalGroup.TEENS;
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 102;
_local1.domain = "www.girlsgogames.co.uk";
_local1.preferedLanguage = "en_uk";
_local1.portalGroup = PortalGroup.GIRL;
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 2;
_local1.domain = "www.game.com.cn";
_local1.moreLink = "moregames/";
_local1.preferedLanguage = "cn_cn";
_local1.portalGroup = PortalGroup.NONE;
_local1.useGoogleAnalitics = false;
_local1.hasSendToFriendLink = false;
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 25;
_local1.domain = "www.spel.nl";
_local1.portalGroup = PortalGroup.TEENS;
_local1.preferedLanguage = "nl_nl";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 1;
_local1.domain = "www.spelletjes.nl";
_local1.emailLink = "spel";
_local1.portalGroup = PortalGroup.FAMILY;
_local1.preferedLanguage = "nl_nl";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 93;
_local1.domain = "www.girlsgogames.nl";
_local1.emailLink = "spel";
_local1.portalGroup = PortalGroup.GIRL;
_local1.preferedLanguage = "nl_nl";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 12;
_local1.domain = "www.jeu.fr";
_local1.emailLink = "jeu";
_local1.portalGroup = PortalGroup.TEENS;
_local1.preferedLanguage = "fr_fr";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 95;
_local1.domain = "www.girlsgogames.fr";
_local1.emailLink = "jeu";
_local1.portalGroup = PortalGroup.GIRL;
_local1.preferedLanguage = "fr_fr";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 11;
_local1.domain = "www.jeux.fr";
_local1.emailLink = "jeu";
_local1.portalGroup = PortalGroup.FAMILY;
_local1.preferedLanguage = "fr_fr";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 26;
_local1.domain = "www.spielen.com";
_local1.emailLink = "spiel";
_local1.portalGroup = PortalGroup.TEENS;
_local1.preferedLanguage = "de_de";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 94;
_local1.domain = "www.girlsgogames.de";
_local1.emailLink = "spiel";
_local1.portalGroup = PortalGroup.GIRL;
_local1.preferedLanguage = "de_de";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 5;
_local1.domain = "www.jetztspielen.de";
_local1.emailLink = "spiel";
_local1.portalGroup = PortalGroup.FAMILY;
_local1.preferedLanguage = "de_de";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 109;
_local1.domain = "www.minigry.pl";
_local1.emailLink = "gra";
_local1.portalGroup = PortalGroup.TEENS;
_local1.preferedLanguage = "pl_pl";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 16;
_local1.domain = "www.gry.pl";
_local1.emailLink = "gra";
_local1.portalGroup = PortalGroup.FAMILY;
_local1.preferedLanguage = "pl_pl";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 98;
_local1.domain = "www.girlsgogames.pl";
_local1.emailLink = "gra";
_local1.portalGroup = PortalGroup.GIRL;
_local1.preferedLanguage = "pl_pl";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 108;
_local1.domain = "www.spel.se";
_local1.emailLink = "spel_";
_local1.portalGroup = PortalGroup.TEENS;
_local1.preferedLanguage = "sv_se";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 100;
_local1.domain = "www.girlsgogames.se";
_local1.emailLink = "spel_";
_local1.portalGroup = PortalGroup.GIRL;
_local1.preferedLanguage = "sv_se";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 44;
_local1.domain = "www.spela.se";
_local1.emailLink = "spel_";
_local1.preferedLanguage = "sv_se";
_local1.portalGroup = PortalGroup.FAMILY;
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 106;
_local1.domain = "www.giocaregratis.it";
_local1.emailLink = "gioco";
_local1.portalGroup = PortalGroup.TEENS;
_local1.preferedLanguage = "it_it";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 15;
_local1.domain = "www.gioco.it";
_local1.emailLink = "gioco";
_local1.portalGroup = PortalGroup.FAMILY;
_local1.preferedLanguage = "it_it";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 99;
_local1.domain = "www.girlsgogames.it";
_local1.emailLink = "gioco";
_local1.portalGroup = PortalGroup.GIRL;
_local1.preferedLanguage = "it_it";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 97;
_local1.domain = "www.zapjuegos.com";
_local1.emailLink = "juego";
_local1.portalGroup = PortalGroup.TEENS;
_local1.preferedLanguage = "es_es";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 86;
_local1.domain = "www.juegos.com";
_local1.emailLink = "juego";
_local1.portalGroup = PortalGroup.FAMILY;
_local1.preferedLanguage = "es_es";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 96;
_local1.domain = "www.juegosdechicas.com";
_local1.emailLink = "juego";
_local1.portalGroup = PortalGroup.GIRL;
_local1.preferedLanguage = "es_es";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 122;
_local1.domain = "www.girlsgogames.es";
_local1.emailLink = "juego";
_local1.portalGroup = PortalGroup.GIRL;
_local1.preferedLanguage = "es_es";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 125;
_local1.domain = "www.juegos.mx";
_local1.emailLink = "juego";
_local1.portalGroup = PortalGroup.TEENS;
_local1.preferedLanguage = "es_mx";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 126;
_local1.domain = "www.juegosdechicas.mx";
_local1.emailLink = "juego";
_local1.portalGroup = PortalGroup.GIRL;
_local1.preferedLanguage = "es_mx";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 127;
_local1.domain = "www.juegos.com.ar";
_local1.emailLink = "juego";
_local1.portalGroup = PortalGroup.TEENS;
_local1.preferedLanguage = "es_mx";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 128;
_local1.domain = "www.juegosdechicas.com.ar";
_local1.emailLink = "juego";
_local1.portalGroup = PortalGroup.GIRL;
_local1.preferedLanguage = "es_ar";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 91;
_local1.domain = "www.clickjogos.com";
_local1.emailLink = "jogo";
_local1.portalGroup = PortalGroup.TEENS;
_local1.preferedLanguage = "pt_br";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 101;
_local1.domain = "www.girlsgogames.com.br";
_local1.emailLink = "jogo";
_local1.portalGroup = PortalGroup.GIRL;
_local1.preferedLanguage = "pt_br";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 9991;
_local1.domain = "www.girlsgogames.co.id";
_local1.emailLink = "";
_local1.portalGroup = PortalGroup.GIRL;
_local1.preferedLanguage = "id_id";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 50;
_local1.domain = "www.ojogos.com.br";
_local1.emailLink = "jogo";
_local1.portalGroup = PortalGroup.FAMILY;
_local1.preferedLanguage = "pt_br";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 55;
_local1.domain = "www.games.co.id";
_local1.emailLink = "permainanme";
_local1.portalGroup = PortalGroup.TEENS;
_local1.preferedLanguage = "id_id";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 9992;
_local1.domain = "www.permainan.co.id";
_local1.emailLink = "";
_local1.portalGroup = PortalGroup.FAMILY;
_local1.preferedLanguage = "id_id";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 105;
_local1.domain = "www.flashgames.ru";
_local1.emailLink = "igra";
_local1.portalGroup = PortalGroup.TEENS;
_local1.preferedLanguage = "ru_ru";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 104;
_local1.domain = "www.girlsgogames.ru";
_local1.emailLink = "igra";
_local1.portalGroup = PortalGroup.GIRL;
_local1.preferedLanguage = "ru_ru";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 103;
_local1.domain = "www.ourgames.ru";
_local1.emailLink = "igra";
_local1.portalGroup = PortalGroup.FAMILY;
_local1.preferedLanguage = "ru_ru";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 24;
_local1.domain = "www.game.co.in";
_local1.emailLink = "game";
_local1.portalGroup = PortalGroup.TEENS;
_local1.preferedLanguage = "en_uk";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 115;
_local1.domain = "www.girlsgogames.in";
_local1.emailLink = "/game/";
_local1.portalGroup = PortalGroup.GIRL;
_local1.preferedLanguage = "en_in";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 156;
_local1.domain = "www.girlsgogames.com.tr";
_local1.emailLink = "/game/";
_local1.portalGroup = PortalGroup.GIRL;
_local1.preferedLanguage = "tr_tr";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 87;
_local1.domain = "www.ojogos.pt";
_local1.emailLink = "jogo";
_local1.portalGroup = PortalGroup.FAMILY;
_local1.preferedLanguage = "pt_pt";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 120;
_local1.domain = "www.egames.jp";
_local1.emailLink = "game";
_local1.portalGroup = PortalGroup.TEENS;
_local1.preferedLanguage = "jp_jp";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 121;
_local1.domain = "www.dailygame.com";
_local1.emailLink = "/game/";
_local1.portalGroup = PortalGroup.FAMILY;
_local1.preferedLanguage = "en_us";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 123;
_local1.domain = "www.zapapa.com";
_local1.emailLink = "game";
_local1.portalGroup = PortalGroup.ZAPAPA;
_local1.preferedLanguage = "en_us";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 124;
_local1.domain = "www.zapapa.nl";
_local1.emailLink = "game";
_local1.portalGroup = PortalGroup.HYVES;
_local1.preferedLanguage = "nl_nl";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 9993;
_local1.domain = "gamedev.dev.spilgames.com";
_local1.portalGroup = PortalGroup.FAMILY;
_local1.preferedLanguage = "en_us";
addBrand(_local1);
}
public static function exportXML():XML{
var _local2:Brand;
var _local1:XML = <portals/>
;
for each (_local2 in brands_by_domain) {
_local1.appendChild(_local2.exportXML());
};
return (_local1);
}
public static function getBrandByDomain(_arg1:String):Brand{
return (brands_by_domain[_arg1]);
}
public static function hasDomain(_arg1:String):Boolean{
return (!((brands_by_domain[_arg1] == null)));
}
}
}//package spill.localisation
Section 30
//Language (spill.localisation.Language)
package spill.localisation {
import flash.xml.*;
public class Language {
public var portal_groups:Array;
public var references:Array;
public var name:String;
public var embedInputFonts:Boolean;// = true
public var id:uint;
public var forceFont:String;// = null
public var textLanguage:String;
public var bwcId:int;
public var embedFonts:Boolean;// = true
public var displayName:String;// = ""
public var dname:String;
public function Language(_arg1:String, _arg2:String=null){
references = [];
super();
name = _arg1;
dname = _arg2;
portal_groups = new Array();
}
public function exportXML():XMLNode{
var _local1:XMLNode = new XMLNode(1, "language");
_local1.attributes.name = name;
if (textLanguage != null){
_local1.attributes.textLanguage = textLanguage;
};
if (references.length){
_local1.attributes.references = references.toString();
};
_local1.attributes.id = bwcId;
var _local2:XMLNode = new XMLNode(1, "display_name");
_local2.firstChild = new XMLNode(3, displayName);
_local1.appendChild(_local2);
var _local3:Array = [];
var _local4:Array = PortalGroup.channelNames;
var _local5:int;
while (_local5 < _local4.length) {
_local3.push(Brandings.getBrandByDomain(portal_groups[_local5]).site_id);
_local5++;
};
_local1.attributes.channels = _local3.join(",");
return (_local1);
}
public function get p_teen():String{
return (portal_groups[PortalGroup.YOUNG_ADULTS]);
}
public function set p_hyves(_arg1:String):void{
portal_groups[PortalGroup.HYVES] = _arg1;
}
public function set p_teen(_arg1:String):void{
portal_groups[PortalGroup.YOUNG_ADULTS] = _arg1;
}
public function get p_tween():String{
return (portal_groups[PortalGroup.TEENS]);
}
public function get p_family():String{
return (portal_groups[PortalGroup.FAMILY]);
}
public function get p_girl():String{
return (portal_groups[PortalGroup.GIRL]);
}
public function get p_hyves():String{
return (portal_groups[PortalGroup.HYVES]);
}
public function set p_girl(_arg1:String):void{
portal_groups[PortalGroup.GIRL] = _arg1;
}
public function set p_zapapa(_arg1:String):void{
portal_groups[PortalGroup.ZAPAPA] = _arg1;
}
public function get displayAcronim():String{
return ((dname) ? dname : name);
}
public function set p_family(_arg1:String):void{
portal_groups[PortalGroup.FAMILY] = _arg1;
}
public function set p_tween(_arg1:String):void{
portal_groups[PortalGroup.TEENS] = _arg1;
}
public function get p_zapapa():String{
return (portal_groups[PortalGroup.ZAPAPA]);
}
}
}//package spill.localisation
Section 31
//Languages (spill.localisation.Languages)
package spill.localisation {
import flash.xml.*;
public class Languages {
public static var languages:Object = new Object();
private static var _init:Boolean = false;
public static function initialize():void{
var _local1:Language;
if (_init){
return;
};
_init = true;
_local1 = new Language("en_ar", "AR");
_local1.displayName = "English";
_local1.p_family = "www.dailygame.com";
_local1.p_tween = "www.dailygame.com";
_local1.p_girl = "www.dailygame.com";
_local1.p_hyves = "www.zapapa.nl";
_local1.p_zapapa = "www.zapapa.com";
_local1.p_teen = "www.a10.com";
_local1.bwcId = 16;
addLanguage(_local1);
_local1 = new Language("es_ar", "ARG");
_local1.displayName = "Español (AR)";
_local1.p_family = "www.juegos.com";
_local1.p_tween = "www.zapjuegos.com";
_local1.p_girl = "www.juegosdechicas.com";
_local1.p_hyves = "www.zapapa.nl";
_local1.p_zapapa = "www.zapapa.com";
_local1.p_teen = "www.a10.com";
addLanguage(_local1);
_local1 = new Language("pt_br", "BR");
_local1.displayName = "Português (BR)";
_local1.p_family = "www.ojogos.com.br";
_local1.p_tween = "www.clickjogos.com";
_local1.p_girl = "www.girlsgogames.com.br";
_local1.p_hyves = "www.zapapa.nl";
_local1.p_zapapa = "www.zapapa.com";
_local1.p_teen = "www.a10.com";
addLanguage(_local1);
_local1 = new Language("es_cl", "CL");
_local1.displayName = "Español";
_local1.p_family = "www.juegos.com";
_local1.p_tween = "www.zapjuegos.com";
_local1.p_girl = "www.juegosdechicas.com";
_local1.p_hyves = "www.zapapa.nl";
_local1.p_zapapa = "www.zapapa.com";
_local1.p_teen = "www.a10.com";
_local1.textLanguage = "es_es";
addLanguage(_local1);
_local1 = new Language("cn_cn", "CN");
_local1.displayName = "中文";
_local1.p_family = "www.game.com.cn";
_local1.p_tween = "www.game.com.cn";
_local1.p_girl = "www.game.com.cn";
_local1.p_hyves = "www.zapapa.nl";
_local1.p_zapapa = "www.zapapa.com";
_local1.p_teen = "www.a10.com";
_local1.embedInputFonts = false;
addLanguage(_local1);
_local1 = new Language("es_co", "CO");
_local1.displayName = "Español";
_local1.p_family = "www.juegos.com";
_local1.p_tween = "www.zapjuegos.com";
_local1.p_girl = "www.juegosdechicas.com";
_local1.p_hyves = "www.zapapa.nl";
_local1.p_zapapa = "www.zapapa.com";
_local1.p_teen = "www.a10.com";
_local1.textLanguage = "es_es";
addLanguage(_local1);
_local1 = new Language("de_de", "DE");
_local1.displayName = "Deutsch";
_local1.p_family = "www.jetztspielen.de";
_local1.p_tween = "www.spielen.com";
_local1.p_girl = "www.girlsgogames.de";
_local1.p_hyves = "www.zapapa.nl";
_local1.p_zapapa = "www.zapapa.com";
_local1.p_teen = "www.a10.com";
addLanguage(_local1);
_local1 = new Language("es_es", "ES");
_local1.displayName = "Español";
_local1.p_family = "www.juegos.com";
_local1.p_tween = "www.zapjuegos.com";
_local1.p_girl = "www.juegosdechicas.com";
_local1.p_hyves = "www.zapapa.nl";
_local1.p_zapapa = "www.zapapa.com";
_local1.p_teen = "www.a10.com";
addLanguage(_local1);
_local1 = new Language("fr_fr", "FR");
_local1.displayName = "Français";
_local1.p_family = "www.jeux.fr";
_local1.p_tween = "www.jeu.fr";
_local1.p_girl = "www.girlsgogames.fr";
_local1.p_hyves = "www.zapapa.nl";
_local1.p_zapapa = "www.zapapa.com";
_local1.p_teen = "www.a10.com";
addReference(_local1, "en");
addLanguage(_local1);
_local1 = new Language("id_id", "ID");
_local1.displayName = "Bahasa Ind.";
_local1.p_family = "www.permainan.co.id";
_local1.p_tween = "www.games.co.id";
_local1.p_girl = "www.girlsgogames.co.id";
_local1.p_hyves = "www.zapapa.nl";
_local1.p_zapapa = "www.zapapa.com";
_local1.p_teen = "www.a10.com";
addLanguage(_local1);
_local1 = new Language("en_in", "IN");
_local1.displayName = "English";
_local1.p_family = "www.game.co.in";
_local1.p_tween = "www.game.co.in";
_local1.p_girl = "www.game.co.in";
_local1.p_hyves = "www.zapapa.nl";
_local1.p_zapapa = "www.zapapa.com";
_local1.p_teen = "www.a10.com";
_local1.textLanguage = "en_uk";
addLanguage(_local1);
_local1 = new Language("it_it", "IT");
_local1.displayName = "Italiano";
_local1.p_family = "www.gioco.it";
_local1.p_tween = "www.giochi.it";
_local1.p_girl = "www.girlsgogames.it";
_local1.p_hyves = "www.zapapa.nl";
_local1.p_zapapa = "www.zapapa.com";
_local1.p_teen = "www.a10.com";
addLanguage(_local1);
_local1 = new Language("jp_jp", "JP");
_local1.displayName = "日本語";
_local1.p_family = "www.egames.jp";
_local1.p_tween = "www.egames.jp";
_local1.p_girl = "www.egames.jp";
_local1.p_hyves = "www.zapapa.nl";
_local1.p_zapapa = "www.zapapa.com";
_local1.p_teen = "www.a10.com";
addLanguage(_local1);
_local1 = new Language("es_mx", "MX");
_local1.displayName = "Español (MX)";
_local1.p_family = "www.juegos.com";
_local1.p_tween = "www.zapjuegos.com";
_local1.p_girl = "www.juegosdechicas.com";
_local1.p_hyves = "www.zapapa.nl";
_local1.p_zapapa = "www.zapapa.com";
_local1.p_teen = "www.a10.com";
addLanguage(_local1);
_local1 = new Language("nl_nl", "NL");
_local1.displayName = "Nederlands";
_local1.p_family = "www.spelletjes.nl";
_local1.p_tween = "www.spel.nl";
_local1.p_girl = "www.girlsgogames.nl";
_local1.p_hyves = "www.zapapa.nl";
_local1.p_zapapa = "www.zapapa.com";
_local1.p_teen = "www.a10.com";
addLanguage(_local1);
_local1 = new Language("pl_pl", "PL");
_local1.displayName = "Polski";
_local1.p_family = "www.gry.pl";
_local1.p_tween = "www.gry.pl";
_local1.p_girl = "www.girlsgogames.pl";
_local1.p_hyves = "www.zapapa.nl";
_local1.p_zapapa = "www.zapapa.com";
_local1.p_teen = "www.a10.com";
addLanguage(_local1);
_local1 = new Language("pt_pt", "PT");
_local1.displayName = "Português";
_local1.p_family = "www.ojogos.pt";
_local1.p_tween = "www.ojogos.pt";
_local1.p_girl = "www.ojogos.pt";
_local1.p_hyves = "www.zapapa.nl";
_local1.p_zapapa = "www.zapapa.com";
_local1.p_teen = "www.a10.com";
addLanguage(_local1);
_local1 = new Language("ru_ru", "RU");
_local1.displayName = "Русский";
_local1.p_family = "www.ourgames.ru";
_local1.p_tween = "www.flashgames.ru";
_local1.p_girl = "www.girlsgogames.ru";
_local1.p_hyves = "www.zapapa.nl";
_local1.p_zapapa = "www.zapapa.com";
_local1.p_teen = "www.a10.com";
addLanguage(_local1);
_local1 = new Language("sv_se", "SE");
_local1.displayName = "Svenska";
_local1.p_family = "www.spela.se";
_local1.p_tween = "www.spel.se";
_local1.p_girl = "www.girlsgogames.se";
_local1.p_hyves = "www.zapapa.nl";
_local1.p_zapapa = "www.zapapa.com";
_local1.p_teen = "www.a10.com";
addLanguage(_local1);
_local1 = new Language("ru_ua", "UA");
_local1.displayName = "Русский";
_local1.p_family = "www.ourgames.ru";
_local1.p_tween = "www.flashgames.ru";
_local1.p_girl = "www.girlsgogames.ru";
_local1.p_hyves = "www.zapapa.nl";
_local1.p_zapapa = "www.zapapa.com";
_local1.p_teen = "www.a10.com";
_local1.textLanguage = "ru_ru";
addLanguage(_local1);
_local1 = new Language("en_uk", "UK");
_local1.displayName = "English (UK)";
_local1.p_family = "www.games.co.uk";
_local1.p_tween = "www.agame.com";
_local1.p_girl = "www.girlsgogames.co.uk";
_local1.p_hyves = "www.zapapa.nl";
_local1.p_zapapa = "www.zapapa.com";
_local1.p_teen = "www.a10.com";
addLanguage(_local1);
_local1 = new Language("en_us", "US");
_local1.displayName = "English (US)";
_local1.p_family = "www.gamesgames.com";
_local1.p_tween = "www.agame.com";
_local1.p_girl = "www.girlsgogames.com";
_local1.p_hyves = "www.zapapa.nl";
_local1.p_zapapa = "www.zapapa.com";
_local1.p_teen = "www.a10.com";
addLanguage(_local1);
_local1 = new Language("es_ve", "VE");
_local1.displayName = "Español";
_local1.p_family = "www.juegos.com";
_local1.p_tween = "www.zapjuegos.com";
_local1.p_girl = "www.juegosdechicas.com";
_local1.p_hyves = "www.zapapa.nl";
_local1.p_zapapa = "www.zapapa.com";
_local1.p_teen = "www.a10.com";
_local1.textLanguage = "es_es";
addLanguage(_local1);
_local1 = new Language("es_pe", "PE");
_local1.displayName = "Español";
_local1.p_family = "www.juegos.com";
_local1.p_tween = "www.zapjuegos.com";
_local1.p_girl = "www.juegosdechicas.com";
_local1.p_hyves = "www.zapapa.nl";
_local1.p_zapapa = "www.zapapa.com";
_local1.p_teen = "www.a10.com";
_local1.textLanguage = "es_es";
addLanguage(_local1);
_local1 = new Language("tr_tr", "TR");
_local1.displayName = "Türkçe";
_local1.p_family = "www.oyunoyna.com";
_local1.p_tween = "www.oyunoyna.com";
_local1.p_girl = "www.girlsgogames.com.tr";
_local1.p_hyves = "www.zapapa.nl";
_local1.p_zapapa = "www.zapapa.com";
_local1.p_teen = "www.oyunoyna.com";
addReference(_local1, "en");
addLanguage(_local1);
}
public static function exportXML():XMLNode{
var _local3:Language;
var _local1:Array = getLanguagesArray();
var _local2:XMLNode = new XMLNode(1, "languages");
for each (_local3 in _local1) {
_local2.appendChild(_local3.exportXML());
};
return (_local2);
}
public static function getLanguagesArray():Array{
var _local3:Language;
var _local1:Array = new Array();
var _local2:Object = new Object();
for each (_local3 in languages) {
if (!_local2[_local3.name]){
_local1.push(_local3);
_local2[_local3.name] = true;
};
};
return (_local1);
}
public static function getLanguage(_arg1:String):Language{
return (languages[_arg1]);
}
private static function addLanguage(_arg1:Language):void{
languages[_arg1.name] = _arg1;
}
private static function addReference(_arg1:Language, _arg2:String):void{
languages[_arg2] = _arg1;
_arg1.references.push(_arg2);
}
public static function getLanguageByOldID(_arg1:int):Language{
var _local2:Language;
for each (_local2 in languages) {
if (_local2.bwcId == _arg1){
return (_local2);
};
};
return (null);
}
}
}//package spill.localisation
Section 32
//LanguageSelectBox (spill.localisation.LanguageSelectBox)
package spill.localisation {
import flash.display.*;
import flash.text.*;
import flash.events.*;
public class LanguageSelectBox extends MovieClip {
private var flag:MovieClip;
private var languageName_text:TextField;
private var popup:MovieClip;
private var mc:MovieClip;
public function LanguageSelectBox(){
if (numChildren > 0){
removeChildAt(0);
};
addEventListener(Event.ADDED_TO_STAGE, added, false, 0, true);
addEventListener(Event.REMOVED_FROM_STAGE, removed, false, 0, true);
addEventListener(MouseEvent.MOUSE_OVER, mouseOver, false, 0, true);
addEventListener(MouseEvent.MOUSE_OUT, mouseOut, false, 0, true);
Languages.initialize();
popup = new LanguageSelectPopup_mc();
x = Math.round(x);
y = Math.round(y);
popup.y = (-(Math.floor(popup.height)) + 1);
popup.visible = false;
addChild(popup);
mc = new LanguageSelectBox_mc();
addChild(mc);
flag = mc.flag;
languageName_text = mc.languageName_text;
if (stage){
added();
};
init();
languageChanged();
}
private function added(_arg1:Event=null):void{
SpilGame.addEventListener("languageChanged", languageChanged, false, 0, true);
}
private function mouseOut(_arg1:MouseEvent):void{
popup.visible = false;
}
public function set popupLocation(_arg1:String):void{
trace(("popupLocation = " + _arg1));
if (_arg1 == "bottom"){
popup.y = Math.floor(mc.height);
} else {
popup.y = (-(Math.floor(mc.height)) + 1);
};
}
private function removed(_arg1:Event):void{
SpilGame.removeEventListener("languageChanged", languageChanged);
}
public function init():void{
var _local3:MovieClip;
var _local4:Language;
var _local1:Array = new Array(popup.l_en_ar, popup.l_es_ar, popup.l_pt_br, popup.l_es_cl, popup.l_cn_cn, popup.l_es_co, popup.l_de_de, popup.l_es_es, popup.l_fr_fr, popup.l_id_id, popup.l_en_in, popup.l_it_it, popup.l_jp_jp, popup.l_es_mx, popup.l_nl_nl, popup.l_pl_pl, popup.l_pt_pt, popup.l_ru_ru, popup.l_sv_se, popup.l_ru_ua, popup.l_en_uk, popup.l_en_us, popup.l_es_ve, popup.l_es_pe, popup.l_tr_tr);
var _local2:int;
while (_local2 < _local1.length) {
_local3 = MovieClip(_local1[_local2]);
if (_local3){
_local3.addEventListener(MouseEvent.CLICK, itemClicked, true, 0, true);
_local3.flag.gotoAndStop(_local3.name.substr(2));
_local3.flag.mouseEnabled = false;
_local3.text.mouseEnabled = false;
_local4 = Languages.getLanguage(_local3.name.substr(2));
if (_local4){
_local3.text.text = _local4.displayAcronim;
} else {
trace((("Error, '" + _local3.name.substr(2)) + "' language not found"));
};
} else {
trace((((("Error, btn number '" + _local2) + "' is not a MovieClip or there is no button '") + _local1[_local2]) + "'"));
};
_local2++;
};
}
private function itemClicked(_arg1:MouseEvent):void{
SpilGame.changeLanguage(_arg1.currentTarget.name.substr(2));
popup.visible = false;
}
private function mouseOver(_arg1:MouseEvent):void{
popup.visible = true;
}
private function languageChanged(_arg1:Event=null):void{
if (SpilGame.currentLanguage){
if ((((SpilGame.portalGroup == PortalGroup.HYVES)) && ((SpilGame.currentLanguage.name == "nl")))){
this.visible = false;
return;
};
this.visible = true;
flag.gotoAndStop(SpilGame.currentLanguage.name);
languageName_text.text = SpilGame.currentLanguage.displayName;
};
}
}
}//package spill.localisation
Section 33
//LanguageSelectBox_mc (spill.localisation.LanguageSelectBox_mc)
package spill.localisation {
import flash.display.*;
import flash.text.*;
public dynamic class LanguageSelectBox_mc extends MovieClip {
public var languageName_text:TextField;
public var flag:MovieClip;
}
}//package spill.localisation
Section 34
//LanguageSelectPopup_mc (spill.localisation.LanguageSelectPopup_mc)
package spill.localisation {
import flash.display.*;
public dynamic class LanguageSelectPopup_mc extends MovieClip {
public var l_es_cl:MovieClip;
public var l_es_co:MovieClip;
public var l_pl_pl:MovieClip;
public var l_fr_fr:MovieClip;
public var l_sv_se:MovieClip;
public var l_es_pe:MovieClip;
public var l_pt_pt:MovieClip;
public var l_ru_ru:MovieClip;
public var l_id_id:MovieClip;
public var l_it_it:MovieClip;
public var l_es_mx:MovieClip;
public var l_nl_nl:MovieClip;
public var l_es_ve:MovieClip;
public var l_cn_cn:MovieClip;
public var l_es_ar:MovieClip;
public var l_es_es:MovieClip;
public var l_en_uk:MovieClip;
public var l_tr_tr:MovieClip;
public var l_en_us:MovieClip;
public var l_jp_jp:MovieClip;
public var l_pt_br:MovieClip;
public var l_de_de:MovieClip;
public var l_en_in:MovieClip;
public var l_en_ar:MovieClip;
public var l_ru_ua:MovieClip;
}
}//package spill.localisation
Section 35
//LocalizedTextField (spill.localisation.LocalizedTextField)
package spill.localisation {
import flash.events.*;
public class LocalizedTextField extends TextFieldFit {
private var regex:RegExp;
private var originalText:String;
public function LocalizedTextField(){
regex = /{([^{}]*)}/g;
super();
addEventListener(Event.ADDED_TO_STAGE, added, false, 0, true);
addEventListener(Event.REMOVED_FROM_STAGE, removed, false, 0, true);
added();
}
private function added(_arg1:Event=null):void{
SpilGame.addEventListener("languageChanged", languageChanged, false, 0, true);
text = originalText;
}
private function replaceFn():String{
var _local2:String = SpilGame.getString(arguments[1]);
if (((!(_local2)) || ((_local2 == "")))){
return ((("{" + arguments[1]) + "}"));
};
return (_local2);
}
private function removed(_arg1:Event):void{
SpilGame.removeEventListener("languageChanged", languageChanged);
}
override public function set text(_arg1:String):void{
originalText = _arg1;
if ((_arg1 is String)){
super.text = _arg1.replace(regex, replaceFn);
} else {
super.text = "";
};
}
private function languageChanged(_arg1:Event):void{
text = originalText;
updateProperties();
}
}
}//package spill.localisation
Section 36
//PortalGroup (spill.localisation.PortalGroup)
package spill.localisation {
import flash.xml.*;
public class PortalGroup {
public static const YOUNG_ADULTS:uint = 3;
public static const FAMILY:uint = 0;
public static const channelNames:Array = ["family", "tween", "girl", "teen", "zapapa", "hyves"];
public static const ZAPAPA:uint = 4;
public static const HYVES:uint = 5;
public static const TEENS:uint = 1;
public static const GIRL:uint = 2;
public static const backgroundColors:Array = [0xFFFFFF, 0xFFFFFF, 16742331, 0xFFFFFF, 0xFFFFFF, 0xFFFFFF];
public static const NONE:uint = 6;
public static function getName(_arg1:int):String{
return (channelNames[_arg1]);
}
public static function exportXML():XMLNode{
var _local3:XMLNode;
var _local1:XMLNode = new XMLNode(1, "channels");
var _local2:int;
while (_local2 < 5) {
_local3 = new XMLNode(1, "channel");
_local3.attributes.name = channelNames[_local2];
_local3.attributes.id = _local2;
_local1.appendChild(_local3);
_local2++;
};
return (_local1);
}
}
}//package spill.localisation
Section 37
//spil_internal (spill.localisation.spil_internal)
package spill.localisation {
public namespace spil_internal = "spill.localisation";
}//package spill.localisation
Section 38
//SpilGame (spill.localisation.SpilGame)
package spill.localisation {
import flash.display.*;
import flash.text.*;
import flash.events.*;
import flash.net.*;
import flash.ui.*;
import flash.system.*;
import flash.external.*;
public class SpilGame {
private static const cookieName:String = "spilgames_language_v100";
private static const cookiePath:String = "/";
private static const cookieLanguageVar:String = "savedLang";
public static const LANGUAGE_CHANGED:String = "languageChanged";
public static const BRANDING_CHANGED:String = "brandingChanged";
private static var strings:Object = new Object();
public static var currentBranding:Brand;
private static var contexMenuItem:ContextMenuItem;
spil_internal static var gameName:String;
spil_internal static var debugHostDomain:String = "";
private static var localDomains:Object = new Object();
spil_internal static var emailPage:String;
private static var channelLock:Boolean = false;
spil_internal static var debugEmbedDomain:String = "";
private static var eventDispatcher:EventDispatcher;
private static var _init:Boolean = false;
public static var currentLanguage:Language;
spil_internal static var portalGroup:uint;
private static var stage:Sprite;
public static function getSpilCompanyLink():String{
var _local1 = "http://www.gameportal.net/";
if (isExternal){
_local1 = (_local1 + ("?utm_medium=brandedgames_" + (isExternal) ? "external" : "internal"));
_local1 = (_local1 + ("&utm_campaign=" + gameName));
_local1 = (_local1 + ("&utm_source=" + Brand.stripSubDomain((embedDomain) ? embedDomain : hostingDomain)));
_local1 = (_local1 + "&utm_content=Branding_Link");
};
return (_local1);
}
public static function getPromotionLink(_arg1:String="feature_promotion"):String{
var _local2:String = (embedDomain) ? embedDomain : hostingDomain;
return (currentBranding.getPromotionLink(gameName, emailPage, isExternal, _local2, _arg1));
}
public static function traceAllBrands():void{
trace(outputAllBrands());
}
public static function getString(_arg1:String):String{
var _local2:Object = strings[_arg1];
if (_local2){
if (currentLanguage.textLanguage){
return (_local2[currentLanguage.textLanguage]);
};
if (_local2[currentLanguage.name]){
return (_local2[currentLanguage.name]);
};
return (_local2["en_us"]);
//unresolved jump
};
return ("");
}
public static function initialize(_arg1:String, _arg2:int, _arg3:String, _arg4:Sprite, _arg5:Boolean=false):void{
stage = _arg4;
if (_init){
trace("ERROR: LocalisationManager already initialised");
return;
};
_init = true;
localDomains["localhost"] = true;
localDomains["www8.agame.com"] = true;
localDomains["gamedev.dev.spilgames.com"] = true;
localDomains["stg.spel.nl"] = true;
localDomains["stg.girlsgogames.nl"] = true;
localDomains["stg.pl.spel.nl"] = true;
localDomains["stg.pl.girlsgogames.nl"] = true;
trace(localDomains["stg.girlsgogames.nl"]);
Brandings.initialize();
Languages.initialize();
initContexMenu(_arg4);
channelLock = _arg5;
gameName = _arg1.replace(" ", "_");
portalGroup = _arg2;
emailPage = _arg3;
chooseLanguage();
chooseBranding();
if (portalGroup == PortalGroup.HYVES){
changeLanguage("nl");
};
}
public static function get isExternal():Boolean{
return (((((!(Brandings.hasDomain(embedDomain))) && (!(localDomains[embedDomain])))) && (!(isStagingDomain))));
}
private static function initContexMenu(_arg1:Sprite):void{
contexMenuItem = new ContextMenuItem("");
_arg1.contextMenu = new ContextMenu();
_arg1.contextMenu.customItems.push(contexMenuItem);
contexMenuItem.addEventListener(ContextMenuEvent.MENU_ITEM_SELECT, contexMenuClicked);
}
private static function replaceFn():String{
var _local2:String = SpilGame.getString(arguments[1]);
if (((!(_local2)) || ((_local2 == "")))){
return ((("{" + arguments[1]) + "}"));
};
return (_local2);
}
spil_internal static function get hostingDomain():String{
var _local1:LocalConnection;
if (debugHostDomain != ""){
return (debugHostDomain);
};
_local1 = new LocalConnection();
return (_local1.domain);
}
spil_internal static function chooseLanguage():void{
if (cookieLanguage != null){
currentLanguage = cookieLanguage;
} else {
if (isExternal){
currentLanguage = systemLanguage;
trace(("system language = " + currentLanguage));
} else {
currentLanguage = portalLanguage;
if (!currentLanguage){
currentLanguage = systemLanguage;
};
};
};
if (!currentLanguage){
trace("Unable to determine language, using 'English US'");
currentLanguage = Languages.getLanguage("en_us");
};
TextFieldFit.embedFonts = currentLanguage.embedFonts;
TextFieldFit.forceFont = currentLanguage.forceFont;
dispatchEvent(new Event(LANGUAGE_CHANGED));
}
private static function contexMenuClicked(_arg1:ContextMenuEvent):void{
navigateToURL(new URLRequest(getMoreGamesLink("Contex_Menu")));
}
public static function initTextField(_arg1:TextField):void{
var _local2:TextFormat;
_arg1.text = _arg1.text.replace(/{([^{}]*)}/g, replaceFn);
_arg1.embedFonts = currentLanguage.embedFonts;
if (currentLanguage.forceFont != ""){
_local2 = new TextFormat();
_local2.font = currentLanguage.forceFont;
_arg1.setTextFormat(_local2);
};
}
public static function importXMLv2(_arg1:XML):void{
var _local2:XML;
var _local3:Object;
var _local4:XML;
for each (_local2 in _arg1.children()) {
_local3 = (strings[_local2.attribute("identifier")] = new Object());
for each (_local4 in _local2.children()) {
if (_local4.children().length() > 0){
_local3[_local4.name()] = _local4.children()[0].toString();
} else {
_local3[_local4.name()] = "";
};
};
};
}
spil_internal static function changeLanguage(_arg1:String):void{
var _local2:Language = Languages.getLanguage(_arg1);
if (!_local2){
trace("ERROR: Supplied language string does not have a matching language");
} else {
cookieLanguage = _local2;
currentLanguage = _local2;
};
TextFieldFit.embedFonts = currentLanguage.embedFonts;
TextFieldFit.forceFont = currentLanguage.forceFont;
chooseBranding();
dispatchEvent(new Event(LANGUAGE_CHANGED));
}
public static function getSendToFriendLink():String{
return (currentBranding.getSendToFriendLink(gameName, emailPage, isExternal, embedDomain));
}
spil_internal static function chooseBranding():void{
currentBranding = Brandings.getBrandByDomain(currentLanguage.portal_groups[portalGroup]);
if (!(currentBranding is Brand)){
currentBranding = Brandings.getBrandByDomain("www.agame.com");
};
contexMenuItem.caption = ("More Games: " + currentBranding.domain);
dispatchEvent(new Event(BRANDING_CHANGED));
}
spil_internal static function get systemLanguage():Language{
var _local1:Array = new Array();
_local1["cs"] = "en_us";
_local1["da"] = "en_us";
_local1["nl"] = "nl_nl";
_local1["en"] = "en_us";
_local1["fi"] = "en_us";
_local1["fr"] = "fr_fr";
_local1["de"] = "de_de";
_local1["hu"] = "en_us";
_local1["it"] = "it_it";
_local1["ja"] = "jp_jp";
_local1["ko"] = "en_us";
_local1["no"] = "en_us";
_local1["xu"] = "en_us";
_local1["pl"] = "pl_pl";
_local1["pt"] = "pt_pt";
_local1["ru"] = "ru_ru";
_local1["zh_CN"] = "cn_cn";
_local1["es"] = "es_es";
_local1["sv"] = "sv_se";
_local1["zh_TW"] = "cn_cn";
_local1["tr"] = "tr_tr";
if (_local1[Capabilities.language]){
return (Languages.getLanguage(_local1[Capabilities.language]));
};
return (Languages.getLanguage("en_us"));
}
spil_internal static function set cookieLanguage(_arg1:Language):void{
var _local2:SharedObject = SharedObject.getLocal(cookieName, cookiePath);
if (_arg1 == null){
_local2.data[cookieLanguageVar] = null;
} else {
_local2.data[cookieLanguageVar] = _arg1.name;
};
_local2.flush();
}
public static function importXML(_arg1:XML):void{
var _local2:XML;
var _local3:Object;
var _local4:XML;
for each (_local2 in _arg1.children()) {
_local3 = (strings[_local2.identifier] = new Object());
for each (_local4 in _local2.children()) {
_local3[_local4.name()] = _local4.children()[0].toString();
};
};
}
spil_internal static function dispatchEvent(_arg1:Event):void{
if (!eventDispatcher){
eventDispatcher = new EventDispatcher();
};
eventDispatcher.dispatchEvent(_arg1);
}
private static function getDomain(_arg1:String):String{
var _local2:String;
var _local3:uint;
if (_arg1.indexOf("file") == 0){
return ("offline_play");
};
_local2 = new String();
_local3 = 7;
while (_local3 < _arg1.length) {
if (_arg1.charAt(_local3) == "/"){
break;
};
_local2 = (_local2 + _arg1.charAt(_local3));
_local3++;
};
if (_local2 == "localhost"){
_local2 = "offline_play";
};
return (_local2);
}
public static function exportXML():XML{
var _local1:XML = <spil_games/>
;
_local1.appendChild(Brandings.exportXML());
_local1.appendChild(Languages.exportXML());
_local1.appendChild(PortalGroup.exportXML());
return (_local1);
}
public static function removeEventListener(_arg1:String, _arg2:Function, _arg3:Boolean=false):void{
if (!eventDispatcher){
eventDispatcher = new EventDispatcher();
};
eventDispatcher.removeEventListener(_arg1, _arg2, _arg3);
}
public static function outputAllBrands():String{
var _local3:Brand;
var _local1:Array = Brandings.getBrandsArray();
var _local2 = "";
for each (_local3 in _local1) {
_local2 = (_local2 + (_local3.getSendToFriendLink(gameName, emailPage, isExternal, embedDomain) + "\n"));
};
return (_local2);
}
public static function addEventListener(_arg1:String, _arg2:Function, _arg3:Boolean=false, _arg4:int=0, _arg5:Boolean=false):void{
if (!eventDispatcher){
eventDispatcher = new EventDispatcher();
};
eventDispatcher.addEventListener(_arg1, _arg2, _arg3, _arg4, _arg5);
}
public static function getMoreGamesLink(_arg1:String=""):String{
var _local2:String = (embedDomain) ? embedDomain : hostingDomain;
return (currentBranding.getMoreGamesLink(gameName, isExternal, _local2, _arg1));
}
public static function get isStagingDomain():Boolean{
var _local1:String = ("http://" + embedDomain);
return ((_local1.indexOf("http://stg.") >= 0));
}
spil_internal static function get cookieLanguage():Language{
var _local1:SharedObject = SharedObject.getLocal(cookieName, cookiePath);
var _local2:String = String(_local1.data[cookieLanguageVar]);
return (Languages.getLanguage(_local2));
}
private static function get portalLanguage():Language{
var _local1:Brand;
var _local2:String;
var _local3:Language;
if (isExternal){
return (null);
};
if (!embedDomain){
return (null);
};
_local1 = Brandings.getBrandByDomain(embedDomain);
if (!_local1){
return (null);
};
_local2 = _local1.preferedLanguage;
if (!_local2){
return (null);
};
_local3 = Languages.getLanguage(_local2);
if (!_local3){
return (null);
};
return (_local3);
}
spil_internal static function get embedDomain():String{
var loc:String;
if (debugEmbedDomain != ""){
return (debugEmbedDomain);
};
if (ExternalInterface.available){
try {
loc = ExternalInterface.call("window.location.href.toString");
if (((!((loc == ""))) && (!((loc == null))))){
trace(("embed domain = " + getDomain(loc)));
return (getDomain(loc));
};
} catch(e:SecurityError) {
trace(("Security Error connecting to external interface, error = " + e));
} catch(e:Error) {
trace(("Error connecting to external interface, error = " + e));
};
};
return (null);
}
}
}//package spill.localisation
Section 39
//SpilGamesLink (spill.localisation.SpilGamesLink)
package spill.localisation {
import flash.display.*;
import flash.events.*;
import flash.net.*;
public class SpilGamesLink extends SimpleButton {
public function SpilGamesLink(){
addEventListener(MouseEvent.CLICK, buttonClicked);
}
private function buttonClicked(_arg1:MouseEvent):void{
navigateToURL(new URLRequest(SpilGame.getSpilCompanyLink()), "_blank");
}
}
}//package spill.localisation
Section 40
//TextFieldFit (spill.localisation.TextFieldFit)
package spill.localisation {
import flash.display.*;
import flash.text.*;
import flash.events.*;
import flash.utils.*;
import flash.filters.*;
public class TextFieldFit extends MovieClip {
protected var _glowQuality:Number;// = 1
protected var _gridFitType:String;// = "pixel"
protected var _text:String;// = "default"
private var debugBounding:Sprite;
protected var _disableWordwrap:Boolean;// = false
protected var _textSize:Number;// = 12
protected var _multiline:Boolean;// = false
protected var _font:String;// = ""
protected var _embedFonts:Boolean;// = true
protected var _underline:Boolean;// = false
protected var _vAlign:String;// = "top"
protected var _italic:Boolean;// = false
protected var _useGlowFilter:Boolean;// = false
protected var _glowColor:uint;// = 0
protected var _bold:Boolean;// = false
private var h:Number;
protected var _antiAliasType:String;// = "advanced"
private var sizeChanged:Boolean;// = true
private var w:Number;
private var embeddedFonts:Array;
protected var _hAlign:String;// = "left"
protected var _textColor:uint;// = 0
protected var _glowStrength:Number;// = 5
protected var _glowBlur:Number;// = 3
protected var _selectable:Boolean;// = false
private var format:TextFormat;
private var field:TextField;
private var valid:Boolean;// = true
private static const gutter:Number = 2;
spil_internal static var embedFonts:Boolean = true;
spil_internal static var forceAAType:String = null;
spil_internal static var forceFont:String = null;
public static var alwaysCheckWidth:Boolean = false;
public function TextFieldFit(){
var _local1:Boolean = ((!((parent == null))) && ((getQualifiedClassName(parent) == "fl.livepreview::LivePreviewParent")));
var _local2:Number = width;
var _local3:Number = height;
if (numChildren > 0){
removeChildAt(0);
};
if (!field){
field = new TextField();
addChild(field);
};
field.border = false;
field.background = false;
field.type = TextFieldType.DYNAMIC;
mouseEnabled = false;
mouseChildren = false;
format = new TextFormat();
embeddedFonts = Font.enumerateFonts(false);
setSize(_local2, _local3);
validate();
if (stage){
addEventListener(Event.RENDER, init);
stage.invalidate();
};
init();
}
private function resizeText(_arg1:Boolean=false):void{
if (!doesTextFit()){
format.size = Object((Number(format.size) - 1));
if (format.size <= 3){
trace("WARNING: Text resised to 3px, either an error occured or the text just wont fit");
return;
};
field.setTextFormat(format);
resizeText(true);
} else {
if (_arg1 == false){
while (doesTextFit()) {
if (format.size <= textSize){
format.size = Object((Number(format.size) + 1));
field.setTextFormat(format);
if (!doesTextFit()){
format.size = Object((Number(format.size) - 1));
field.setTextFormat(format);
break;
};
} else {
break;
};
};
};
};
}
public function set hAlign(_arg1:String):void{
_hAlign = _arg1;
invalidate();
}
public function set bold(_arg1:Boolean):void{
_bold = _arg1;
invalidate();
}
private function init(_arg1:Event=null):void{
removeEventListener(Event.RENDER, init);
updateProperties();
layoutText();
}
private function validate(_arg1:Event=null):void{
updateProperties();
layoutText();
removeEventListener(Event.ENTER_FRAME, validate);
valid = true;
}
public function set glowBlur(_arg1:Number):void{
_glowBlur = _arg1;
invalidate();
}
public function get vAlign():String{
return (_vAlign);
}
public function get italic():Boolean{
return (_italic);
}
public function get textColor():uint{
return (_textColor);
}
private function invalidate():void{
if (valid){
addEventListener(Event.ENTER_FRAME, validate);
if (stage){
stage.invalidate();
};
valid = false;
};
}
public function get text():String{
return (_text);
}
public function get useGlowFilter():Boolean{
return (_useGlowFilter);
}
public function get selectable():Boolean{
return (_selectable);
}
public function set text(_arg1:String):void{
_text = _arg1;
invalidate();
}
public function set embedFonts(_arg1:Boolean):void{
_embedFonts = _arg1;
invalidate();
}
public function set vAlign(_arg1:String):void{
_vAlign = _arg1;
invalidate();
}
public function set italic(_arg1:Boolean):void{
_italic = _arg1;
invalidate();
}
public function get font():String{
return (_font);
}
public function set multiline(_arg1:Boolean):void{
_multiline = _arg1;
invalidate();
}
public function get disableWordwrap():Boolean{
return (_disableWordwrap);
}
public function set textColor(_arg1:uint):void{
_textColor = _arg1;
invalidate();
}
public function get antiAliasType():String{
return (_antiAliasType);
}
private function layoutText():void{
resizeText();
field.height = (field.textHeight + (gutter * 2));
if (vAlign == "top"){
field.y = 0;
} else {
if (vAlign == "middle"){
field.y = ((h - field.height) / 2);
} else {
if (vAlign == "bottom"){
field.y = (h - field.height);
};
};
};
}
public function set glowQuality(_arg1:Number):void{
_glowQuality = _arg1;
invalidate();
}
public function get hAlign():String{
return (_hAlign);
}
public function setSize(_arg1:Number, _arg2:Number):void{
w = _arg1;
h = _arg2;
scaleX = (scaleY = 1);
field.width = w;
field.height = h;
invalidate();
}
public function get bold():Boolean{
return (_bold);
}
public function set gridFitType(_arg1:String):void{
_gridFitType = _arg1;
invalidate();
}
public function set underline(_arg1:Boolean):void{
_underline = _arg1;
invalidate();
}
public function get glowBlur():Number{
return (_glowBlur);
}
public function set useGlowFilter(_arg1:Boolean):void{
_useGlowFilter = _arg1;
invalidate();
}
public function set textSize(_arg1:Number):void{
_textSize = _arg1;
sizeChanged = true;
invalidate();
}
public function set font(_arg1:String):void{
_font = _arg1;
invalidate();
}
public function set selectable(_arg1:Boolean):void{
_selectable = _arg1;
invalidate();
}
public function get multiline():Boolean{
return (_multiline);
}
public function get embedFonts():Boolean{
return (_embedFonts);
}
public function set glowColor(_arg1:uint):void{
_glowColor = _arg1;
invalidate();
}
public function set disableWordwrap(_arg1:Boolean):void{
_disableWordwrap = _arg1;
invalidate();
}
public function get glowQuality():Number{
return (_glowQuality);
}
public function get gridFitType():String{
return (_gridFitType);
}
public function get underline():Boolean{
return (_underline);
}
public function get textSize():Number{
return (_textSize);
}
public function get textField():TextField{
return (field);
}
public function get glowColor():uint{
return (_glowColor);
}
public function set antiAliasType(_arg1:String):void{
_antiAliasType = _arg1;
invalidate();
}
public function set glowStrength(_arg1:Number):void{
_glowStrength = _arg1;
invalidate();
}
protected function updateProperties():void{
var _local1:Boolean;
var _local2:Font;
field.text = _text;
field.multiline = ((((_text.indexOf(" ") < 0)) && ((_text.length < 14)))) ? false : _multiline;
field.wordWrap = ((field.multiline) && (!(_disableWordwrap)));
field.selectable = _selectable;
field.antiAliasType = (forceAAType) ? forceAAType : _antiAliasType;
field.gridFitType = _gridFitType;
embeddedFonts = Font.enumerateFonts(false);
if (((((_embedFonts) && (!((_font == ""))))) && (TextFieldFit.embedFonts))){
_local1 = false;
for each (_local2 in embeddedFonts) {
if (_font == _local2.fontName){
_local1 = true;
break;
};
};
field.embedFonts = _local1;
if (!_local1){
trace(((("WARNING: Embedded font '" + _font) + "' not found, disabling embedding of fonts, text = ") + _text));
} else {
trace((("Found Embedded font '" + _font) + "' using font"));
};
} else {
field.embedFonts = false;
};
if (TextFieldFit.forceFont){
format.font = TextFieldFit.forceFont;
} else {
format.font = _font;
};
if (sizeChanged){
format.size = _textSize;
};
format.color = _textColor;
format.align = _hAlign;
format.bold = _bold;
format.italic = _italic;
format.underline = _underline;
format.leftMargin = 0;
format.rightMargin = 0;
field.setTextFormat(format);
if (_useGlowFilter){
filters = [new GlowFilter(_glowColor, 1, _glowBlur, _glowBlur, _glowStrength, _glowQuality)];
} else {
filters = [];
};
}
private function doesTextFit():Boolean{
if (((((field.textHeight + (gutter * 2)) > h)) || (((((field.textWidth + (gutter * 2)) > w)) && (((!(field.multiline)) || (alwaysCheckWidth))))))){
return (false);
};
return (true);
}
public function get glowStrength():Number{
return (_glowStrength);
}
}
}//package spill.localisation
Section 41
//audio_mc (audio_mc)
package {
import flash.display.*;
public dynamic class audio_mc extends MovieClip {
public function audio_mc(){
addFrameScript(1, frame2, 2, frame3);
}
function frame2(){
stop();
}
function frame3(){
stop();
}
}
}//package
Section 42
//d_look_mc (d_look_mc)
package {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import spill.localisation.*;
import flash.utils.*;
import flash.media.*;
import flash.net.*;
import flash.ui.*;
import flash.system.*;
import flash.external.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
public dynamic class d_look_mc extends MovieClip {
public var close_btn:MovieClip;
public var girl_mc:MovieClip;
public var __id21_:LocalizedTextField;
public var done_btn:MovieClip;
public function d_look_mc(){
addFrameScript(0, frame1);
__setProp___id21__d_look_mc_Layer7_0();
}
function frame1(){
stop();
}
function __setProp___id21__d_look_mc_Layer7_0(){
try {
__id21_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id21_.text = "{memo}";
__id21_.textColor = 0xFFFFFF;
__id21_.textSize = 22;
__id21_.bold = false;
__id21_.disableWordwrap = false;
__id21_.embedFonts = true;
__id21_.font = "";
__id21_.hAlign = "left";
__id21_.multiline = true;
__id21_.vAlign = "top";
__id21_.antiAliasType = "advanced";
__id21_.glowBlur = 3;
__id21_.glowColor = 0;
__id21_.useGlowFilter = false;
__id21_.glowQuality = 1;
__id21_.glowStrength = 5;
__id21_.gridFitType = "pixel";
__id21_.italic = false;
__id21_.selectable = false;
__id21_.underline = false;
try {
__id21_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package
Section 43
//game_complete (game_complete)
package {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import spill.localisation.*;
import flash.utils.*;
import flash.media.*;
import flash.net.*;
import flash.ui.*;
import flash.system.*;
import flash.external.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
public dynamic class game_complete extends MovieClip {
public var __id17_:LocalizedTextField;
public var button_moreGames:MovieClip;
public var playAgainBtn:MovieClip;
public var __id18_:LocalizedTextField;
public var scoreTxt:TextField;
public var __id16_:LocalizedTextField;
public function game_complete(){
__setProp___id16__game_complete_mc_Layer7_0();
__setProp___id17__game_complete_mc_Layer7_0();
__setProp___id18__game_complete_mc_Layer7_0();
}
function __setProp___id18__game_complete_mc_Layer7_0(){
try {
__id18_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id18_.text = "{youwin}";
__id18_.textColor = 0xFFFF00;
__id18_.textSize = 32;
__id18_.bold = true;
__id18_.disableWordwrap = false;
__id18_.embedFonts = false;
__id18_.font = "";
__id18_.hAlign = "center";
__id18_.multiline = false;
__id18_.vAlign = "middle";
__id18_.antiAliasType = "advanced";
__id18_.glowBlur = 5;
__id18_.glowColor = 0;
__id18_.useGlowFilter = false;
__id18_.glowQuality = 3;
__id18_.glowStrength = 5;
__id18_.gridFitType = "pixel";
__id18_.italic = false;
__id18_.selectable = false;
__id18_.underline = false;
try {
__id18_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function __setProp___id17__game_complete_mc_Layer7_0(){
try {
__id17_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id17_.text = "{totalpoint}";
__id17_.textColor = 0xFFFF00;
__id17_.textSize = 15;
__id17_.bold = true;
__id17_.disableWordwrap = false;
__id17_.embedFonts = false;
__id17_.font = "";
__id17_.hAlign = "right";
__id17_.multiline = false;
__id17_.vAlign = "middle";
__id17_.antiAliasType = "advanced";
__id17_.glowBlur = 5;
__id17_.glowColor = 0;
__id17_.useGlowFilter = false;
__id17_.glowQuality = 3;
__id17_.glowStrength = 5;
__id17_.gridFitType = "pixel";
__id17_.italic = false;
__id17_.selectable = false;
__id17_.underline = false;
try {
__id17_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function __setProp___id16__game_complete_mc_Layer7_0(){
try {
__id16_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id16_.text = "{play}";
__id16_.textColor = 0xFFFF00;
__id16_.textSize = 15;
__id16_.bold = true;
__id16_.disableWordwrap = false;
__id16_.embedFonts = false;
__id16_.font = "";
__id16_.hAlign = "center";
__id16_.multiline = false;
__id16_.vAlign = "middle";
__id16_.antiAliasType = "advanced";
__id16_.glowBlur = 5;
__id16_.glowColor = 0;
__id16_.useGlowFilter = false;
__id16_.glowQuality = 3;
__id16_.glowStrength = 5;
__id16_.gridFitType = "pixel";
__id16_.italic = false;
__id16_.selectable = false;
__id16_.underline = false;
try {
__id16_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package
Section 44
//gamePanel (gamePanel)
package {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import spill.localisation.*;
import flash.utils.*;
import flash.media.*;
import flash.net.*;
import flash.ui.*;
import flash.system.*;
import flash.external.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
public dynamic class gamePanel extends MovieClip {
public var __id7_:LocalizedTextField;
public var hint_btn:MovieClip;
public var time_txt:TextField;
public var progressBar_mc:MovieClip;
public function gamePanel(){
__setProp___id7__game_Panel_mc_Layer4_0();
}
function __setProp___id7__game_Panel_mc_Layer4_0(){
try {
__id7_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id7_.text = "{timer}";
__id7_.textColor = 0xFFFFFF;
__id7_.textSize = 9;
__id7_.bold = false;
__id7_.disableWordwrap = false;
__id7_.embedFonts = true;
__id7_.font = "";
__id7_.hAlign = "right";
__id7_.multiline = false;
__id7_.vAlign = "top";
__id7_.antiAliasType = "advanced";
__id7_.glowBlur = 3;
__id7_.glowColor = 0;
__id7_.useGlowFilter = false;
__id7_.glowQuality = 1;
__id7_.glowStrength = 5;
__id7_.gridFitType = "pixel";
__id7_.italic = false;
__id7_.selectable = false;
__id7_.underline = false;
try {
__id7_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package
Section 45
//Intro_mc (Intro_mc)
package {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import spill.localisation.*;
import flash.utils.*;
import flash.media.*;
import flash.net.*;
import flash.ui.*;
import flash.system.*;
import flash.external.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
public dynamic class Intro_mc extends MovieClip {
public var __id14_:LocalizedTextField;
public var __id12_:LocalizedTextField;
public var closeBtn:SimpleButton;
public var __id10_:LocalizedTextField;
public var playBtn:MovieClip;
public var __id9_:LocalizedTextField;
public var startBtn:MovieClip;
public var __setPropDict:Dictionary;
public var button_moreGames:MovieClip;
public var __id15_:LocalizedTextField;
public var __id13_:LocalizedTextField;
public var storyBtn:MovieClip;
public var backBtn:MovieClip;
public function Intro_mc(){
__setPropDict = new Dictionary(true);
super();
addFrameScript(0, frame1, 2, frame3, 4, frame5, 1, frame2, 3, frame4);
}
function __setProp___id13__Intro_mc_Layer10_2(){
try {
__id13_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id13_.text = "{play}";
__id13_.textColor = 0xFFFF00;
__id13_.textSize = 15;
__id13_.bold = true;
__id13_.disableWordwrap = false;
__id13_.embedFonts = false;
__id13_.font = "";
__id13_.hAlign = "center";
__id13_.multiline = false;
__id13_.vAlign = "middle";
__id13_.antiAliasType = "advanced";
__id13_.glowBlur = 5;
__id13_.glowColor = 0;
__id13_.useGlowFilter = false;
__id13_.glowQuality = 3;
__id13_.glowStrength = 5;
__id13_.gridFitType = "pixel";
__id13_.italic = false;
__id13_.selectable = false;
__id13_.underline = false;
try {
__id13_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function __setProp___id12__Intro_mc_Layer12_2(){
try {
__id12_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id12_.text = "{instruction}";
__id12_.textColor = 0;
__id12_.textSize = 25;
__id12_.bold = true;
__id12_.disableWordwrap = false;
__id12_.embedFonts = false;
__id12_.font = "";
__id12_.hAlign = "center";
__id12_.multiline = false;
__id12_.vAlign = "middle";
__id12_.antiAliasType = "advanced";
__id12_.glowBlur = 5;
__id12_.glowColor = 0;
__id12_.useGlowFilter = false;
__id12_.glowQuality = 3;
__id12_.glowStrength = 5;
__id12_.gridFitType = "pixel";
__id12_.italic = false;
__id12_.selectable = false;
__id12_.underline = false;
try {
__id12_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function __setProp___id15__Intro_mc_Layer10_2(){
try {
__id15_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id15_.text = "{ins}";
__id15_.textColor = 0xFFFFFF;
__id15_.textSize = 18;
__id15_.bold = true;
__id15_.disableWordwrap = false;
__id15_.embedFonts = false;
__id15_.font = "";
__id15_.hAlign = "left";
__id15_.multiline = true;
__id15_.vAlign = "top";
__id15_.antiAliasType = "advanced";
__id15_.glowBlur = 5;
__id15_.glowColor = 0;
__id15_.useGlowFilter = false;
__id15_.glowQuality = 3;
__id15_.glowStrength = 5;
__id15_.gridFitType = "pixel";
__id15_.italic = false;
__id15_.selectable = false;
__id15_.underline = false;
try {
__id15_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function frame5(){
if ((((__setPropDict[__id15_] == undefined)) || (!((((int(__setPropDict[__id15_]) >= 3)) && ((int(__setPropDict[__id15_]) <= 5))))))){
__setPropDict[__id15_] = currentFrame;
__setProp___id15__Intro_mc_Layer10_2();
};
if ((((__setPropDict[__id14_] == undefined)) || (!((((int(__setPropDict[__id14_]) >= 3)) && ((int(__setPropDict[__id14_]) <= 5))))))){
__setPropDict[__id14_] = currentFrame;
__setProp___id14__Intro_mc_Layer10_2();
};
if ((((__setPropDict[__id13_] == undefined)) || (!((((int(__setPropDict[__id13_]) >= 3)) && ((int(__setPropDict[__id13_]) <= 5))))))){
__setPropDict[__id13_] = currentFrame;
__setProp___id13__Intro_mc_Layer10_2();
};
if ((((__setPropDict[__id12_] == undefined)) || (!((((int(__setPropDict[__id12_]) >= 3)) && ((int(__setPropDict[__id12_]) <= 5))))))){
__setPropDict[__id12_] = currentFrame;
__setProp___id12__Intro_mc_Layer12_2();
};
gotoAndStop(1);
}
function frame1(){
if ((((__setPropDict[__id10_] == undefined)) || (!((((int(__setPropDict[__id10_]) >= 1)) && ((int(__setPropDict[__id10_]) <= 2))))))){
__setPropDict[__id10_] = currentFrame;
__setProp___id10__Intro_mc_Layer11_0();
};
if ((((__setPropDict[__id9_] == undefined)) || (!((((int(__setPropDict[__id9_]) >= 1)) && ((int(__setPropDict[__id9_]) <= 2))))))){
__setPropDict[__id9_] = currentFrame;
__setProp___id9__Intro_mc_Layer11_0();
};
stop();
}
function __setProp___id14__Intro_mc_Layer10_2(){
try {
__id14_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id14_.text = "{instruction}";
__id14_.textColor = 0xFFFF00;
__id14_.textSize = 25;
__id14_.bold = true;
__id14_.disableWordwrap = false;
__id14_.embedFonts = false;
__id14_.font = "";
__id14_.hAlign = "center";
__id14_.multiline = false;
__id14_.vAlign = "middle";
__id14_.antiAliasType = "advanced";
__id14_.glowBlur = 5;
__id14_.glowColor = 0;
__id14_.useGlowFilter = false;
__id14_.glowQuality = 3;
__id14_.glowStrength = 5;
__id14_.gridFitType = "pixel";
__id14_.italic = false;
__id14_.selectable = false;
__id14_.underline = false;
try {
__id14_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function frame3(){
if ((((__setPropDict[__id15_] == undefined)) || (!((((int(__setPropDict[__id15_]) >= 3)) && ((int(__setPropDict[__id15_]) <= 5))))))){
__setPropDict[__id15_] = currentFrame;
__setProp___id15__Intro_mc_Layer10_2();
};
if ((((__setPropDict[__id14_] == undefined)) || (!((((int(__setPropDict[__id14_]) >= 3)) && ((int(__setPropDict[__id14_]) <= 5))))))){
__setPropDict[__id14_] = currentFrame;
__setProp___id14__Intro_mc_Layer10_2();
};
if ((((__setPropDict[__id13_] == undefined)) || (!((((int(__setPropDict[__id13_]) >= 3)) && ((int(__setPropDict[__id13_]) <= 5))))))){
__setPropDict[__id13_] = currentFrame;
__setProp___id13__Intro_mc_Layer10_2();
};
if ((((__setPropDict[__id12_] == undefined)) || (!((((int(__setPropDict[__id12_]) >= 3)) && ((int(__setPropDict[__id12_]) <= 5))))))){
__setPropDict[__id12_] = currentFrame;
__setProp___id12__Intro_mc_Layer12_2();
};
stop();
}
function frame4(){
if ((((__setPropDict[__id15_] == undefined)) || (!((((int(__setPropDict[__id15_]) >= 3)) && ((int(__setPropDict[__id15_]) <= 5))))))){
__setPropDict[__id15_] = currentFrame;
__setProp___id15__Intro_mc_Layer10_2();
};
if ((((__setPropDict[__id14_] == undefined)) || (!((((int(__setPropDict[__id14_]) >= 3)) && ((int(__setPropDict[__id14_]) <= 5))))))){
__setPropDict[__id14_] = currentFrame;
__setProp___id14__Intro_mc_Layer10_2();
};
if ((((__setPropDict[__id13_] == undefined)) || (!((((int(__setPropDict[__id13_]) >= 3)) && ((int(__setPropDict[__id13_]) <= 5))))))){
__setPropDict[__id13_] = currentFrame;
__setProp___id13__Intro_mc_Layer10_2();
};
if ((((__setPropDict[__id12_] == undefined)) || (!((((int(__setPropDict[__id12_]) >= 3)) && ((int(__setPropDict[__id12_]) <= 5))))))){
__setPropDict[__id12_] = currentFrame;
__setProp___id12__Intro_mc_Layer12_2();
};
}
function __setProp___id10__Intro_mc_Layer11_0(){
try {
__id10_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id10_.text = "{play}";
__id10_.textColor = 0xFFFF00;
__id10_.textSize = 15;
__id10_.bold = true;
__id10_.disableWordwrap = false;
__id10_.embedFonts = false;
__id10_.font = "";
__id10_.hAlign = "center";
__id10_.multiline = false;
__id10_.vAlign = "middle";
__id10_.antiAliasType = "advanced";
__id10_.glowBlur = 5;
__id10_.glowColor = 0;
__id10_.useGlowFilter = false;
__id10_.glowQuality = 3;
__id10_.glowStrength = 5;
__id10_.gridFitType = "pixel";
__id10_.italic = false;
__id10_.selectable = false;
__id10_.underline = false;
try {
__id10_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function __setProp___id9__Intro_mc_Layer11_0(){
try {
__id9_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id9_.text = "{story}";
__id9_.textColor = 0xFFFF00;
__id9_.textSize = 15;
__id9_.bold = true;
__id9_.disableWordwrap = false;
__id9_.embedFonts = false;
__id9_.font = "";
__id9_.hAlign = "center";
__id9_.multiline = false;
__id9_.vAlign = "middle";
__id9_.antiAliasType = "advanced";
__id9_.glowBlur = 5;
__id9_.glowColor = 0;
__id9_.useGlowFilter = false;
__id9_.glowQuality = 3;
__id9_.glowStrength = 5;
__id9_.gridFitType = "pixel";
__id9_.italic = false;
__id9_.selectable = false;
__id9_.underline = false;
try {
__id9_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function frame2(){
if ((((__setPropDict[__id10_] == undefined)) || (!((((int(__setPropDict[__id10_]) >= 1)) && ((int(__setPropDict[__id10_]) <= 2))))))){
__setPropDict[__id10_] = currentFrame;
__setProp___id10__Intro_mc_Layer11_0();
};
if ((((__setPropDict[__id9_] == undefined)) || (!((((int(__setPropDict[__id9_]) >= 1)) && ((int(__setPropDict[__id9_]) <= 2))))))){
__setPropDict[__id9_] = currentFrame;
__setProp___id9__Intro_mc_Layer11_0();
};
}
}
}//package
Section 46
//level_1_mc (level_1_mc)
package {
import flash.display.*;
public dynamic class level_1_mc extends MovieClip {
public var girl_mc:MovieClip;
public var items_mc:MovieClip;
}
}//package
Section 47
//level_2_mc (level_2_mc)
package {
import flash.display.*;
public dynamic class level_2_mc extends MovieClip {
public var girl_mc:MovieClip;
public var items_mc:MovieClip;
}
}//package
Section 48
//level_3_mc (level_3_mc)
package {
import flash.display.*;
public dynamic class level_3_mc extends MovieClip {
public var girl_mc:MovieClip;
public var items_mc:MovieClip;
}
}//package
Section 49
//level_complete (level_complete)
package {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import spill.localisation.*;
import flash.utils.*;
import flash.media.*;
import flash.net.*;
import flash.ui.*;
import flash.system.*;
import flash.external.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
public dynamic class level_complete extends MovieClip {
public var __id5_:LocalizedTextField;
public var __id4_:LocalizedTextField;
public var __id3_:LocalizedTextField;
public var nextLevelBtn:MovieClip;
public var scoreTxt:TextField;
public var button_moreGames:MovieClip;
public function level_complete(){
__setProp___id3__level_complete_mc_Layer2_0();
__setProp___id4__level_complete_mc_Layer2_0();
__setProp___id5__level_complete_mc_Layer2_0();
}
function __setProp___id4__level_complete_mc_Layer2_0(){
try {
__id4_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id4_.text = "{totalpoint}";
__id4_.textColor = 0xFFFF00;
__id4_.textSize = 15;
__id4_.bold = true;
__id4_.disableWordwrap = false;
__id4_.embedFonts = false;
__id4_.font = "";
__id4_.hAlign = "right";
__id4_.multiline = false;
__id4_.vAlign = "middle";
__id4_.antiAliasType = "advanced";
__id4_.glowBlur = 5;
__id4_.glowColor = 0;
__id4_.useGlowFilter = false;
__id4_.glowQuality = 3;
__id4_.glowStrength = 5;
__id4_.gridFitType = "pixel";
__id4_.italic = false;
__id4_.selectable = false;
__id4_.underline = false;
try {
__id4_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function __setProp___id5__level_complete_mc_Layer2_0(){
try {
__id5_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id5_.text = "{youwin}";
__id5_.textColor = 0xFFFF00;
__id5_.textSize = 32;
__id5_.bold = true;
__id5_.disableWordwrap = false;
__id5_.embedFonts = false;
__id5_.font = "";
__id5_.hAlign = "center";
__id5_.multiline = false;
__id5_.vAlign = "middle";
__id5_.antiAliasType = "advanced";
__id5_.glowBlur = 5;
__id5_.glowColor = 0;
__id5_.useGlowFilter = false;
__id5_.glowQuality = 3;
__id5_.glowStrength = 5;
__id5_.gridFitType = "pixel";
__id5_.italic = false;
__id5_.selectable = false;
__id5_.underline = false;
try {
__id5_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function __setProp___id3__level_complete_mc_Layer2_0(){
try {
__id3_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id3_.text = "{nextlevel}";
__id3_.textColor = 0xFFFF00;
__id3_.textSize = 15;
__id3_.bold = true;
__id3_.disableWordwrap = false;
__id3_.embedFonts = false;
__id3_.font = "";
__id3_.hAlign = "center";
__id3_.multiline = false;
__id3_.vAlign = "middle";
__id3_.antiAliasType = "advanced";
__id3_.glowBlur = 5;
__id3_.glowColor = 0;
__id3_.useGlowFilter = false;
__id3_.glowQuality = 3;
__id3_.glowStrength = 5;
__id3_.gridFitType = "pixel";
__id3_.italic = false;
__id3_.selectable = false;
__id3_.underline = false;
try {
__id3_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package
Section 50
//try_again (try_again)
package {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import spill.localisation.*;
import flash.utils.*;
import flash.media.*;
import flash.net.*;
import flash.ui.*;
import flash.system.*;
import flash.external.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.geom.*;
import flash.printing.*;
import flash.profiler.*;
import flash.sampler.*;
public dynamic class try_again extends MovieClip {
public var __id2_:LocalizedTextField;
public var __id1_:LocalizedTextField;
public var __id0_:LocalizedTextField;
public var tryAgainBtn:MovieClip;
public var scoreTxt:TextField;
public var button_moreGames:MovieClip;
public function try_again(){
__setProp___id0__try_again_mc_Layer5_0();
__setProp___id1__try_again_mc_Layer5_0();
__setProp___id2__try_again_mc_Layer5_0();
}
function __setProp___id0__try_again_mc_Layer5_0(){
try {
__id0_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id0_.text = "{replaylevel}";
__id0_.textColor = 0xFFFF00;
__id0_.textSize = 15;
__id0_.bold = true;
__id0_.disableWordwrap = false;
__id0_.embedFonts = false;
__id0_.font = "";
__id0_.hAlign = "center";
__id0_.multiline = false;
__id0_.vAlign = "middle";
__id0_.antiAliasType = "advanced";
__id0_.glowBlur = 5;
__id0_.glowColor = 0;
__id0_.useGlowFilter = false;
__id0_.glowQuality = 3;
__id0_.glowStrength = 5;
__id0_.gridFitType = "pixel";
__id0_.italic = false;
__id0_.selectable = false;
__id0_.underline = false;
try {
__id0_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function __setProp___id1__try_again_mc_Layer5_0(){
try {
__id1_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id1_.text = "{totalpoint}";
__id1_.textColor = 0xFFFF00;
__id1_.textSize = 15;
__id1_.bold = true;
__id1_.disableWordwrap = false;
__id1_.embedFonts = false;
__id1_.font = "";
__id1_.hAlign = "right";
__id1_.multiline = false;
__id1_.vAlign = "middle";
__id1_.antiAliasType = "advanced";
__id1_.glowBlur = 5;
__id1_.glowColor = 0;
__id1_.useGlowFilter = false;
__id1_.glowQuality = 3;
__id1_.glowStrength = 5;
__id1_.gridFitType = "pixel";
__id1_.italic = false;
__id1_.selectable = false;
__id1_.underline = false;
try {
__id1_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function __setProp___id2__try_again_mc_Layer5_0(){
try {
__id2_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id2_.text = "{oop}";
__id2_.textColor = 0xFFFF00;
__id2_.textSize = 32;
__id2_.bold = true;
__id2_.disableWordwrap = false;
__id2_.embedFonts = false;
__id2_.font = "";
__id2_.hAlign = "center";
__id2_.multiline = false;
__id2_.vAlign = "middle";
__id2_.antiAliasType = "advanced";
__id2_.glowBlur = 5;
__id2_.glowColor = 0;
__id2_.useGlowFilter = false;
__id2_.glowQuality = 3;
__id2_.glowStrength = 5;
__id2_.gridFitType = "pixel";
__id2_.italic = false;
__id2_.selectable = false;
__id2_.underline = false;
try {
__id2_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package