Section 1
//ScoreService (com.spilgames.api.ScoreService)
package com.spilgames.api {
public class ScoreService {
public static function submitScore(_arg1:int, _arg2:Function=null):int{
return (SpilGamesServices.getInstance().send("Score", "submitScore", _arg2, {score:_arg1, userName:User.getUserName(), userHash:User.getUserHash()}));
}
}
}//package com.spilgames.api
Section 2
//SpilGamesServices (com.spilgames.api.SpilGamesServices)
package com.spilgames.api {
import flash.display.*;
import flash.events.*;
import flash.net.*;
import flash.system.*;
public class SpilGamesServices extends MovieClip {
private var DEFAULT_CONNECTION_LOCATION:String;// = "http://www8.agame.com/games/flash/services/ServicesConnection.swf"
private var _loader:Loader;
private var _connecting:Boolean;// = false
private var _servicesConnection;// = null
private var _connected:Boolean;// = false
public static const INVALID_ID:int = -1;
private static var _instance:SpilGamesServices = null;
public function SpilGamesServices(_arg1:Private=null){
DEFAULT_CONNECTION_LOCATION = "http://www8.agame.com/games/flash/services/ServicesConnection.swf";
_servicesConnection = null;
_connecting = false;
_connected = false;
super();
if (!_arg1){
throw (new Error("Cannot instantiate this class, use SpilGamesServices.getInstance"));
};
}
public function get version():String{
return ("1.0");
}
private function handleRemovedFromStage(_arg1:Event):void{
trace("WARNING: please do not remove SpilGamesServices from the stage");
}
private function handleIOError(_arg1:IOErrorEvent):void{
_loader.contentLoaderInfo.removeEventListener(Event.COMPLETE, handleLoadComplete);
_loader.contentLoaderInfo.removeEventListener(IOErrorEvent.IO_ERROR, handleIOError);
_connecting = false;
if (hasEventListener(_arg1.type)){
dispatchEvent(_arg1);
};
}
public function allowDomain(_arg1:String):void{
Security.allowDomain("*");
Security.allowInsecureDomain("*");
}
public function getItemID():int{
if (_servicesConnection != null){
return (_servicesConnection.getItemID());
};
return (INVALID_ID);
}
public function bringToFront(_arg1:Event=null):void{
var e = _arg1;
if (parent){
try {
parent.setChildIndex(this, (parent.numChildren - 1));
} catch(e:Error) {
removeEventListener(Event.ENTER_FRAME, bringToFront);
};
};
}
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);
}
public function getSiteID():int{
if (_servicesConnection != null){
return (_servicesConnection.getSiteID());
};
return (INVALID_ID);
}
public function isReady():Boolean{
return (((!((_servicesConnection == null))) && (_servicesConnection.isReady())));
}
public function isDomainAllowed():Boolean{
return (((!((_servicesConnection == null))) && (_servicesConnection.isDomainValid())));
}
public function getChannelID():int{
if (_servicesConnection != null){
return (_servicesConnection.getChannelID());
};
return (INVALID_ID);
}
private function handleServicesReady(_arg1:Event):void{
_loader.contentLoaderInfo.removeEventListener(Event.COMPLETE, handleLoadComplete);
_loader.contentLoaderInfo.removeEventListener(IOErrorEvent.IO_ERROR, handleIOError);
_connected = true;
_connecting = false;
dispatchEvent(new Event("servicesReady"));
}
private function 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 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.REMOVED_FROM_STAGE, handleRemovedFromStage);
if (parent){
parent.removeChild(this);
};
_connected = (_connecting = false);
}
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 connecting():Boolean{
return (_connecting);
}
public function get connection(){
return (_servicesConnection);
}
public function connect(_arg1:DisplayObjectContainer):void{
var _local2:URLRequest;
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"];
_local2 = new URLRequest(_local3);
} else {
_local3 = DEFAULT_CONNECTION_LOCATION;
_local4 = new URLVariables();
_local5 = new Date();
_local4.nocache = (((_local5.month + 1) * 31) + _local5.day);
_local2 = new URLRequest(_local3);
_local2.data = _local4;
};
allowDomain(_local3);
_loader = new Loader();
_loader.contentLoaderInfo.addEventListener(Event.COMPLETE, handleLoadComplete);
_loader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, handleIOError);
_loader.load(_local2);
};
}
public static function getInstance():SpilGamesServices{
if (!_instance){
_instance = new SpilGamesServices(new Private());
};
return (_instance);
}
}
}//package com.spilgames.api
class Private {
private function Private(){
}
}
Section 3
//User (com.spilgames.api.User)
package com.spilgames.api {
import flash.display.*;
public class User {
public static function getUserName():String{
var _local1:*;
_local1 = SpilGamesServices.getInstance().connection;
if (_local1 != null){
return (_local1.getUserName());
};
return ("");
}
public static function isGuest():Boolean{
var _local1:*;
var _local2:DisplayObject;
var _local3:Object;
_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:*;
_local1 = SpilGamesServices.getInstance().connection;
if (_local1 != null){
return (_local1.getUserHash());
};
return ("");
}
}
}//package com.spilgames.api
Section 4
//a1_118 (Elfsolitare_leukstespellen_fla.a1_118)
package Elfsolitare_leukstespellen_fla {
import flash.display.*;
public dynamic class a1_118 extends MovieClip {
public var d_Select:MovieClip;
}
}//package Elfsolitare_leukstespellen_fla
Section 5
//bt_Hints_144 (Elfsolitare_leukstespellen_fla.bt_Hints_144)
package Elfsolitare_leukstespellen_fla {
import flash.display.*;
import spill.localisation.*;
public dynamic class bt_Hints_144 extends MovieClip {
public var __id11_:LocalizedTextField;
public function bt_Hints_144(){
__setProp___id11__bt_Hints__1();
}
function __setProp___id11__bt_Hints__1(){
try {
__id11_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id11_.text = "{d_hint}";
__id11_.textColor = 0x9900;
__id11_.textSize = 20;
__id11_.bold = true;
__id11_.disableWordwrap = false;
__id11_.embedFonts = false;
__id11_.font = "";
__id11_.hAlign = "center";
__id11_.multiline = false;
__id11_.vAlign = "middle";
__id11_.antiAliasType = "advanced";
__id11_.glowBlur = 3;
__id11_.glowColor = 0;
__id11_.useGlowFilter = false;
__id11_.glowQuality = 1;
__id11_.glowStrength = 5;
__id11_.gridFitType = "pixel";
__id11_.italic = false;
__id11_.selectable = false;
__id11_.underline = false;
try {
__id11_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package Elfsolitare_leukstespellen_fla
Section 6
//bt_mc_fscreen_112 (Elfsolitare_leukstespellen_fla.bt_mc_fscreen_112)
package Elfsolitare_leukstespellen_fla {
import flash.display.*;
public dynamic class bt_mc_fscreen_112 extends MovieClip {
public function bt_mc_fscreen_112(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package Elfsolitare_leukstespellen_fla
Section 7
//bt_Undo_145 (Elfsolitare_leukstespellen_fla.bt_Undo_145)
package Elfsolitare_leukstespellen_fla {
import flash.display.*;
import spill.localisation.*;
public dynamic class bt_Undo_145 extends MovieClip {
public var __id12_:LocalizedTextField;
public function bt_Undo_145(){
__setProp___id12__bt_Undo__1();
}
function __setProp___id12__bt_Undo__1(){
try {
__id12_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id12_.text = "{d_undo}";
__id12_.textColor = 0x993300;
__id12_.textSize = 20;
__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 = 3;
__id12_.glowColor = 0;
__id12_.useGlowFilter = false;
__id12_.glowQuality = 1;
__id12_.glowStrength = 5;
__id12_.gridFitType = "pixel";
__id12_.italic = false;
__id12_.selectable = false;
__id12_.underline = false;
try {
__id12_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package Elfsolitare_leukstespellen_fla
Section 8
//dot_95 (Elfsolitare_leukstespellen_fla.dot_95)
package Elfsolitare_leukstespellen_fla {
import flash.display.*;
public dynamic class dot_95 extends MovieClip {
public function dot_95(){
addFrameScript(104, frame105);
}
function frame105(){
stop();
}
}
}//package Elfsolitare_leukstespellen_fla
Section 9
//Emit_147 (Elfsolitare_leukstespellen_fla.Emit_147)
package Elfsolitare_leukstespellen_fla {
import flash.display.*;
public dynamic class Emit_147 extends MovieClip {
public var d_Reset:SimpleButton;
}
}//package Elfsolitare_leukstespellen_fla
Section 10
//flag_icon_187 (Elfsolitare_leukstespellen_fla.flag_icon_187)
package Elfsolitare_leukstespellen_fla {
import flash.display.*;
public dynamic class flag_icon_187 extends MovieClip {
public function flag_icon_187(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package Elfsolitare_leukstespellen_fla
Section 11
//flower_99 (Elfsolitare_leukstespellen_fla.flower_99)
package Elfsolitare_leukstespellen_fla {
import flash.display.*;
public dynamic class flower_99 extends MovieClip {
public function flower_99(){
addFrameScript(19, frame20);
}
function frame20(){
stop();
}
}
}//package Elfsolitare_leukstespellen_fla
Section 12
//HelpAnimation_117 (Elfsolitare_leukstespellen_fla.HelpAnimation_117)
package Elfsolitare_leukstespellen_fla {
import flash.display.*;
public dynamic class HelpAnimation_117 extends MovieClip {
public var d_Select:MovieClip;
public var d_UndoBack:MovieClip;
public var d_UndoMask:MovieClip;
}
}//package Elfsolitare_leukstespellen_fla
Section 13
//l_br_189 (Elfsolitare_leukstespellen_fla.l_br_189)
package Elfsolitare_leukstespellen_fla {
import flash.display.*;
import flash.text.*;
public dynamic class l_br_189 extends MovieClip {
public var text:TextField;
public var flag:MovieClip;
}
}//package Elfsolitare_leukstespellen_fla
Section 14
//level_156 (Elfsolitare_leukstespellen_fla.level_156)
package Elfsolitare_leukstespellen_fla {
import flash.display.*;
import flash.text.*;
import spill.localisation.*;
public dynamic class level_156 extends MovieClip {
public var __id18_:LocalizedTextField;
public var d_Play:SimpleButton;
public var d_TimeScore:TextField;
public function level_156(){
__setProp___id18__level_1();
}
function __setProp___id18__level_1(){
try {
__id18_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id18_.text = "{d_nextlevel}";
__id18_.textColor = 0;
__id18_.textSize = 15;
__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 = 3;
__id18_.glowColor = 0;
__id18_.useGlowFilter = false;
__id18_.glowQuality = 1;
__id18_.glowStrength = 5;
__id18_.gridFitType = "pixel";
__id18_.italic = false;
__id18_.selectable = false;
__id18_.underline = false;
try {
__id18_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package Elfsolitare_leukstespellen_fla
Section 15
//mahjong_119 (Elfsolitare_leukstespellen_fla.mahjong_119)
package Elfsolitare_leukstespellen_fla {
import flash.display.*;
public dynamic class mahjong_119 extends MovieClip {
public function mahjong_119(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package Elfsolitare_leukstespellen_fla
Section 16
//MainTimeline (Elfsolitare_leukstespellen_fla.MainTimeline)
package Elfsolitare_leukstespellen_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import spill.localisation.*;
import flash.geom.*;
import com.spilgames.api.*;
import flash.media.*;
import flash.utils.*;
import flash.ui.*;
import flash.net.*;
import flash.system.*;
import flash.external.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.printing.*;
public dynamic class MainTimeline extends MovieClip {
public var __id5_:LocalizedTextField;
public var __id6_:LocalizedTextField;
public var lbar:MovieClip;
public var d_Fscreen:MovieClip;
public var __setPropDict:Dictionary;
public var lpc:TextField;
public var d_RePlay:SimpleButton;
public var xmlData:XML;
public var __id24_:LocalizedTextField;
public var d_Submit:SimpleButton;
public var d_MainLogo:SimpleButton;
public var __id25_:LocalizedTextField;
public var _spilGamesServices:SpilGamesServices;
public var d_OverLogo:SimpleButton;
public var d_HelpPlay:SimpleButton;
public var isfull:String;
public var Logo:BrandingLogo;
public var d_Score:TextField;
public var ss2;
public function MainTimeline(){
__setPropDict = new Dictionary(true);
super();
addFrameScript(0, frame1, 2, frame3, 3, frame4, 4, frame5, 5, frame6);
}
public function onServicesFailed(_arg1:Event):void{
trace("Submitter failed to load");
trace(_spilGamesServices.isDomainAllowed());
}
public function fnLogoUrl(_arg1:MouseEvent){
var _local2:*;
_local2 = SpilGame.getMoreGamesLink("logo_intro");
navigateToURL(new URLRequest(_local2), "_blank");
}
public function onMainLogo(_arg1){
var _local2:*;
_local2 = SpilGame.getMoreGamesLink("button_mainscreen_moregames");
navigateToURL(new URLRequest(_local2), "_blank");
}
public function onHelpPlay(_arg1){
gotoAndStop("game");
}
public function enterFrameHandler(_arg1:Event):void{
lpc.text = (Math.floor((lbar.currentFrame / 2)) + "%");
if (lbar.currentFrame >= 200){
lbar.removeEventListener(Event.ENTER_FRAME, enterFrameHandler);
stage.removeEventListener(MouseEvent.CLICK, fnLogoUrl);
gotoAndStop(3);
};
}
function frame3(){
stop();
Layout.init();
SoundMixer.stopAll();
Config.soundChannel = null;
if (Config.SSound){
};
d_Fscreen.addEventListener(MouseEvent.CLICK, onFscreen);
d_Fscreen.buttonMode = true;
try {
isfull = String(EmbedObject.getParamViaExternal("allowFullScreen"));
isfull = isfull.toLowerCase();
if (isfull != "true"){
d_Fscreen.visible = false;
};
} catch(e) {
};
}
function frame1(){
stop();
xmlData = <LocalisedText><textItem identifier="d_play"><en_us>Play</en_us><en_uk>Play</en_uk><nl>Spelen</nl><fr>Jouer</fr><de>Spielen</de><es>Jugar</es><br>Jogar</br><pt>Jogar</pt><it>Gioca</it><se>Spela</se><pl>Graj</pl><ru>Играть</ru><id>Main</id><ar>Play</ar><jp>Play</jp><cn>Play</cn></textItem><textItem identifier="d_howtoplay"><en_us>How to Play</en_us><en_uk>How to Play</en_uk><nl>Spelregels</nl><fr>Instructions</fr><de>Anleitung</de><es>Cómo jugar</es><br>Como Jogar</br><pt>Como jogar</pt><it>Come giocare</it><se>Spelregler</se><pl>Jak grać</pl><ru>Как играть</ru><id>Cara main</id><ar>How to Play</ar><jp>How to Play</jp><cn>How to Play</cn></textItem><textItem identifier="d_moregames"><en_us>More Games</en_us><en_uk>More Games</en_uk><nl>Meer spellen</nl><fr>Plus de jeux</fr><de>Mehr Spiele</de><es>Más juegos</es><br>Mais Jogos</br><pt>Mais jogos</pt><it>Più giochi</it><se>Fler spel</se><pl>Więcej gier</pl><ru>Другие игры</ru><id>Game lainnya</id><ar>More Games</ar><jp>More Games</jp><cn>More Games</cn></textItem><textItem identifier="d_helptext"><en_us>Click 2 tiles with the same image to remove them. Remove all tiles from the board. When you run out of matches, click the stack to get more tiles.</en_us><en_uk>Click 2 tiles with the same image to remove them. Remove all the tiles from the board. When you run out of matches, click the stack to obtain more tiles.</en_uk><nl>Klik op 2 stenen met hetzelfde plaatje om ze weg te spelen. Doel is om alle stenen weg te spelen. Als je geen combinaties meer kunt maken, klik je op het stapeltje voor meer stenen.</nl><fr>Clique sur 2 tuiles portant le même motif afin de les éliminer. Elimine du jeu toutes les tuiles. Si tu ne peux plus trouver de paires, clique sur la pioche pour obtenir davantage de tuiles.</fr><de>Klicke 2 Steine mit demselben Bild an, um sie abzuräumen. Räume alle Steine vom Spielfeld ab. Wenn es keine zueinander passenden Steine mehr gebt, klicke den Stapel an, um mehr Steine zu erhalten.</de><es>Haz clic en dos fichas con la misma imagen para quitarlas. Quita todas las fichas del tablero. Cuando no puedas hacer más combinaciones, haz clic en el montón para conseguir más fichas.</es><br>Clique em 2 peças com a mesma imagem para removê-las. Remova todas as peças da tela. Se ficar sem pares, clique na pilha para abrir mais peças.</br><pt>Clica em 2 peças com a mesma imagem para as removeres. Remove todas as peças do tabuleiro. Quando acabarem as peças iguais, clica nas pilhas para obteres mais peças.</pt><it>Clicca su 2 tessere con la stessa immagine per eliminarle. Elimina tutte le tessere uguali dalla scacchiera. Quando finisci gli abbinamenti clicca sulla pila per avere più tessere.</it><se>Klicka på 2 brickor med samma bild för att ta bort dem. Ta bort alla brickor på brädet. Klicka på högen för att få fler brickor om du fastnar.</se><pl>Kliknij na 2 płytki z identycznym rysunkiem, aby je usunąć. Usuń wszystkie płytki z planszy. Kiedy zabraknie ci par, kliknij na stosik płytek, aby otrzymać nowe.</pl><ru>Щелкай мышью по паре одинаковых плиток, чтобы удалить их с экрана. Твоя задача – удалить все плитки с поля. Когда у тебя не останется парных плиток, щелкни по стопке.</ru><id>Klik 2 tile bergambar sama untuk menghilangkannya. Hilangkan semua tile dari papan. Kalau kamu kehabisan tile yang cocok, klik tumpukan untuk mendapatkan lagi tile.</id><ar>Click 2 tiles with the same image to remove them. Remove all tiles from the board. When you run out of matches, click the stack to get more tiles.</ar><jp>Click 2 tiles with the same image to remove them. Remove all tiles from the board. When you run out of matches, click the stack to get more tiles.</jp><cn>Click 2 tiles with the same image to remove them. Remove all tiles from the board. When you run out of matches, click the stack to get more tiles.</cn></textItem><textItem identifier="d_pause"><en_us>Pause</en_us><en_uk>Pause</en_uk><nl>Pauze</nl><fr>Pause</fr><de>Pause</de><es>Pausar</es><br>Pausar</br><pt>Pausa</pt><it>Pausa</it><se>Pausa</se><pl>Pauza</pl><ru>Пауза</ru><id>Jeda</id><ar>Pause</ar><jp>Pause</jp><cn>Pause</cn></textItem><textItem identifier="d_paused"><en_us>Paused</en_us><en_uk>Paused</en_uk><nl>Gepauzeerd</nl><fr>En pause</fr><de>Angehalten</de><es>En pausa</es><br>Em pausa</br><pt>Em Pausa</pt><it>In pausa</it><se>Pausat</se><pl>Pauza</pl><ru>Пауза</ru><id>Dijeda</id><ar>Paused</ar><jp>Paused</jp><cn>Paused</cn></textItem><textItem identifier="d_hint"><en_us>Hint</en_us><en_uk>Hint</en_uk><nl>Hint</nl><fr>Astuce</fr><de>Tipp</de><es>Pista</es><br>Dica</br><pt>Dica</pt><it>Aiutino</it><se>Tips</se><pl>Podpowiedź</pl><ru>Помощь</ru><id>Petunjuk</id><ar>Hint</ar><jp>Hint</jp><cn>Hint</cn></textItem><textItem identifier="d_shuffle"><en_us>Shuffle</en_us><en_uk>Shuffle</en_uk><nl>Schudden</nl><fr>Mélanger</fr><de>Mischen</de><es>Remover</es><br>Embaralhar</br><pt>Baralhar</pt><it>Mischia</it><se>Blanda</se><pl>Przetasuj</pl><ru>Перемешать</ru><id>Kocok</id><ar>Shuffle</ar><jp>Shuffle</jp><cn>Shuffle</cn></textItem><textItem identifier="d_undo"><en_us>Undo</en_us><en_uk>Undo</en_uk><nl>Ongedaan maken</nl><fr>Défaire</fr><de>Zurück</de><es>Deshacer</es><br>Desfaz</br><pt>Anular</pt><it>Annulla</it><se>Ångra</se><pl>Cofnij</pl><ru>Откат</ru><id>Urung</id><ar>Undo</ar><jp>Undo</jp><cn>Undo</cn></textItem><textItem identifier="d_time"><en_us>Time</en_us><en_uk>Time</en_uk><nl>Tijd</nl><fr>Temps</fr><de>Zeit</de><es>Tiempo</es><br>Tempo</br><pt>Tempo</pt><it>Tempo</it><se>Tid</se><pl>Czas</pl><ru>Время</ru><id>Waktu</id><ar>Time</ar><jp>Time</jp><cn>Time</cn></textItem><textItem identifier="d_level"><en_us>Level</en_us><en_uk>Level</en_uk><nl>Level</nl><fr>Niveau</fr><de>Level</de><es>Nivel</es><br>Fase</br><pt>Nível</pt><it>Livello</it><se>Nivå</se><pl>Poziom</pl><ru>Уровень</ru><id>Level</id><ar>Level</ar><jp>Level</jp><cn>Level</cn></textItem><textItem identifier="d_score"><en_us>Score</en_us><en_uk>Score</en_uk><nl>Score</nl><fr>Score</fr><de>Punkte</de><es>Puntuación</es><br>Pontos</br><pt>Pontuação</pt><it>Punteggio</it><se>Poäng</se><pl>Wynik</pl><ru>Счет</ru><id>Skor</id><ar>Score</ar><jp>Score</jp><cn>Score</cn></textItem><textItem identifier="d_levelcompleted"><en_us>Level Completed!</en_us><en_uk>Level completed!</en_uk><nl>Level uitgespeeld!</nl><fr>Niveau réussi !</fr><de>Level beendet!</de><es>¡Nivel completado!</es><br>Fase Concluída!</br><pt>Nível Acabado!</pt><it>Livello completato!</it><se>Nivå klarad!</se><pl>Poziom ukończony!</pl><ru>Уровень пройден</ru><id>Level Selesai!</id><ar>Level Completed!</ar><jp>Level Completed!</jp><cn>Level Completed!</cn></textItem><textItem identifier="d_timebonus"><en_us>Time Bonus</en_us><en_uk>Time bonus</en_uk><nl>Tijdsbonus</nl><fr>Bonus de temps</fr><de>Zeitbonus</de><es>Bonificación de tiempo</es><br>Bônus de Tempo</br><pt>Bónus de Tempo</pt><it>Bonus di tempo</it><se>Tidsbonus</se><pl>Bonus za czas</pl><ru>Бонус за время</ru><id>Bonus Waktu</id><ar>Time Bonus</ar><jp>Time Bonus</jp><cn>Time Bonus</cn></textItem><textItem identifier="d_nextlevel"><en_us>Next Level</en_us><en_uk>Next Level</en_uk><nl>Volgende level</nl><fr>Niveau suivant</fr><de>Nächster Level</de><es>Siguiente nivel</es><br>Próx. Fase</br><pt>Nível Seguinte</pt><it>Prossimo livello</it><se>Nästa nivå</se><pl>Następny poziom</pl><ru>След.ур-нь</ru><id>Level Berikutnya</id><ar>Next Level</ar><jp>Next Level</jp><cn>Next Level</cn></textItem><textItem identifier="d_youscore"><en_us>Your Score</en_us><en_uk>Your score</en_uk><nl>Je score</nl><fr>Ton score</fr><de>Deine Punkte</de><es>Tu puntuación</es><br>Seus Pontos</br><pt>A tua pontuação</pt><it>Il tuo punteggio</it><se>Din poäng</se><pl>Twój wynik</pl><ru>Ваш счет</ru><id>Skor Kamu</id><ar>Your Score</ar><jp>Your Score</jp><cn>Your Score</cn></textItem><textItem identifier="d_submitscore"><en_us>Submit Score</en_us><en_uk>Submit Score</en_uk><nl>Score verzenden</nl><fr>Enregistrer le score</fr><de>Punkte eintragen</de><es>Enviar puntuación</es><br>Enviar Pontos</br><pt>Enviar Pontuação</pt><it>Invia punteggio</it><se>Skicka poäng</se><pl>Zapisz wynik</pl><ru>Сохранить</ru><id>Kirim Skor</id><ar>Submit Score</ar><jp>Submit Score</jp><cn>Submit Score</cn></textItem><textItem identifier="d_playagain"><en_us>Play Again</en_us><en_uk>Play Again</en_uk><nl>Opnieuw spelen</nl><fr>Rejouer</fr><de>Nochmal spielen</de><es>Volver a jugar</es><br>Jogar de Novo</br><pt>Jogar Novamente</pt><it>Rigioca</it><se>Spela om</se><pl>Zagraj ponownie</pl><ru>Еще раз</ru><id>Main Lagi</id><ar>Play Again</ar><jp>Play Again</jp><cn>Play Again</cn></textItem><textItem identifier="d_back"><en_us>Back</en_us><en_uk>Back</en_uk><nl>Terug</nl><fr>Retour</fr><de>Zurück</de><es>Atrás</es><br>Voltar</br><pt>Voltar</pt><it>Indietro</it><se>Bakåt</se><pl>Powrót</pl><ru>Продолжить</ru><id>Kembali</id><ar>Back</ar><jp>Back</jp><cn>Back</cn></textItem><textItem identifier="d_title"><en_us>Moon Elf Mahjong</en_us><en_uk>Luna Elf Mahjong</en_uk><nl>Elfjesmahjong</nl><fr>Mah-jong de l'elfe de lune</fr><de>Mondelfen-Mahjong</de><es>Mahjong, la elfa lunar</es><br>Mahjong dos Elfos</br><pt>Mahjonh Elfo Lunar</pt><it>Mahjong dell'Elfo della Luna</it><se>Månalvens mahjong</se><pl>Mahjong Księżycowego Elfa</pl><ru>Эльфийский маджонг</ru><id>Mahjong Peri Bulan</id><ar>Moon Elf Mahjong</ar><jp>Moon Elf Mahjong</jp><cn>Moon Elf Mahjong</cn></textItem><textItem identifier="d_gameover"><en_us>Game Over</en_us><en_uk>Game Over</en_uk><nl>Game over</nl><fr>Game over</fr><de>Game over</de><es>Fin de partida</es><br>Acabou</br><pt>Fim do Jogo</pt><it>Gioco finito </it><se>Game over</se><pl>Koniec gry</pl><ru>Конец игры</ru><id>Game Tamat</id><ar>Game Over</ar><jp>Game Over</jp><cn>Game Over</cn></textItem></LocalisedText>
;
SpilGame.importXMLv2(xmlData);
trace("Language Data Succesfully included");
trace(xmlData);
Languages.initialize();
SpilGame.initialize("Elf_solitare_gamesonly", PortalGroup.FAMILY, "Elf_solitare_gamesonly.html", this, true);
_spilGamesServices = SpilGamesServices.getInstance();
_spilGamesServices.addEventListener("servicesReady", onServicesReady);
_spilGamesServices.addEventListener("servicesFailed", onServicesFailed);
_spilGamesServices.connect(this);
stage.addEventListener(MouseEvent.CLICK, fnLogoUrl);
Logo.addEventListener(MouseEvent.CLICK, fnLogoUrl);
lbar.addEventListener(Event.ENTER_FRAME, enterFrameHandler);
}
function frame4(){
if ((((__setPropDict[__id5_] == undefined)) || (!((int(__setPropDict[__id5_]) == 4))))){
__setPropDict[__id5_] = currentFrame;
__setProp___id5__Scene1_Layer1_4();
};
if ((((__setPropDict[__id6_] == undefined)) || (!((int(__setPropDict[__id6_]) == 4))))){
__setPropDict[__id6_] = currentFrame;
__setProp___id6__Scene1_Layer1_4();
};
stop();
d_HelpPlay.addEventListener(MouseEvent.CLICK, onHelpPlay);
}
function frame5(){
d_MainLogo.addEventListener(MouseEvent.CLICK, onMainLogo);
}
public function onServicesReady(_arg1:Event):void{
trace("ok", _spilGamesServices.isDomainAllowed());
}
function __setProp___id24__Scene1_Layer1_6(){
try {
__id24_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id24_.text = "{d_submitscore}";
__id24_.textColor = 0;
__id24_.textSize = 16;
__id24_.bold = true;
__id24_.disableWordwrap = false;
__id24_.embedFonts = false;
__id24_.font = "";
__id24_.hAlign = "center";
__id24_.multiline = false;
__id24_.vAlign = "middle";
__id24_.antiAliasType = "advanced";
__id24_.glowBlur = 3;
__id24_.glowColor = 0;
__id24_.useGlowFilter = false;
__id24_.glowQuality = 1;
__id24_.glowStrength = 5;
__id24_.gridFitType = "pixel";
__id24_.italic = false;
__id24_.selectable = false;
__id24_.underline = false;
try {
__id24_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
public function onFscreen(_arg1:MouseEvent):void{
var event = _arg1;
try {
switch (stage.displayState){
case "normal":
stage.displayState = "fullScreen";
d_Fscreen.gotoAndStop(2);
break;
case "fullScreen":
default:
stage.displayState = "normal";
d_Fscreen.gotoAndStop(1);
break;
};
} catch(e:SecurityError) {
trace("<param name=\"allowFullScreen\" value=\"true\" />");
};
}
function frame6(){
if ((((__setPropDict[__id25_] == undefined)) || (!((int(__setPropDict[__id25_]) == 6))))){
__setPropDict[__id25_] = currentFrame;
__setProp___id25__Scene1_Layer1_6();
};
if ((((__setPropDict[__id24_] == undefined)) || (!((int(__setPropDict[__id24_]) == 6))))){
__setPropDict[__id24_] = currentFrame;
__setProp___id24__Scene1_Layer1_6();
};
stop();
SoundMixer.stopAll();
Config.soundChannel = null;
if (Config.SSound){
ss2 = new SOver();
ss2.play();
};
d_Score.text = String(Game.AllScore);
d_RePlay.addEventListener(MouseEvent.CLICK, onClick);
d_Submit.addEventListener(MouseEvent.CLICK, onSubmit);
d_OverLogo.addEventListener(MouseEvent.CLICK, onOverLogo);
}
public function onOverLogo(_arg1){
var _local2:*;
_local2 = SpilGame.getMoreGamesLink("button_gameover_moregames");
navigateToURL(new URLRequest(_local2), "_blank");
}
function __setProp___id25__Scene1_Layer1_6(){
try {
__id25_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id25_.text = "{d_playagain}";
__id25_.textColor = 0;
__id25_.textSize = 16;
__id25_.bold = true;
__id25_.disableWordwrap = false;
__id25_.embedFonts = false;
__id25_.font = "";
__id25_.hAlign = "center";
__id25_.multiline = false;
__id25_.vAlign = "middle";
__id25_.antiAliasType = "advanced";
__id25_.glowBlur = 3;
__id25_.glowColor = 0;
__id25_.useGlowFilter = false;
__id25_.glowQuality = 1;
__id25_.glowStrength = 5;
__id25_.gridFitType = "pixel";
__id25_.italic = false;
__id25_.selectable = false;
__id25_.underline = false;
try {
__id25_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function __setProp___id5__Scene1_Layer1_4(){
try {
__id5_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id5_.text = "{d_helptext}";
__id5_.textColor = 0;
__id5_.textSize = 18;
__id5_.bold = true;
__id5_.disableWordwrap = false;
__id5_.embedFonts = false;
__id5_.font = "";
__id5_.hAlign = "left";
__id5_.multiline = true;
__id5_.vAlign = "top";
__id5_.antiAliasType = "advanced";
__id5_.glowBlur = 3;
__id5_.glowColor = 0;
__id5_.useGlowFilter = false;
__id5_.glowQuality = 1;
__id5_.glowStrength = 5;
__id5_.gridFitType = "pixel";
__id5_.italic = false;
__id5_.selectable = false;
__id5_.underline = false;
try {
__id5_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
public function onSubmit(_arg1){
ScoreService.submitScore(int(d_Score.text));
}
public function onClick(_arg1){
gotoAndStop("start");
}
function __setProp___id6__Scene1_Layer1_4(){
try {
__id6_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id6_.text = "{d_play}";
__id6_.textColor = 0;
__id6_.textSize = 25;
__id6_.bold = true;
__id6_.disableWordwrap = false;
__id6_.embedFonts = false;
__id6_.font = "";
__id6_.hAlign = "center";
__id6_.multiline = false;
__id6_.vAlign = "middle";
__id6_.antiAliasType = "advanced";
__id6_.glowBlur = 3;
__id6_.glowColor = 0;
__id6_.useGlowFilter = false;
__id6_.glowQuality = 1;
__id6_.glowStrength = 5;
__id6_.gridFitType = "pixel";
__id6_.italic = false;
__id6_.selectable = false;
__id6_.underline = false;
try {
__id6_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package Elfsolitare_leukstespellen_fla
Section 17
//menu_141 (Elfsolitare_leukstespellen_fla.menu_141)
package Elfsolitare_leukstespellen_fla {
import flash.display.*;
import spill.localisation.*;
public dynamic class menu_141 extends MovieClip {
public var __id9_:LocalizedTextField;
public function menu_141(){
__setProp___id9__menu__1();
}
function __setProp___id9__menu__1(){
try {
__id9_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id9_.text = "{d_back}";
__id9_.textColor = 6697830;
__id9_.textSize = 20;
__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 = 3;
__id9_.glowColor = 0;
__id9_.useGlowFilter = false;
__id9_.glowQuality = 1;
__id9_.glowStrength = 5;
__id9_.gridFitType = "pixel";
__id9_.italic = false;
__id9_.selectable = false;
__id9_.underline = false;
try {
__id9_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package Elfsolitare_leukstespellen_fla
Section 18
//music_140 (Elfsolitare_leukstespellen_fla.music_140)
package Elfsolitare_leukstespellen_fla {
import flash.display.*;
public dynamic class music_140 extends MovieClip {
public function music_140(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
if (!Config.SSound){
gotoAndStop(2);
};
}
}
}//package Elfsolitare_leukstespellen_fla
Section 19
//pause_142 (Elfsolitare_leukstespellen_fla.pause_142)
package Elfsolitare_leukstespellen_fla {
import flash.display.*;
import spill.localisation.*;
public dynamic class pause_142 extends MovieClip {
public var __id10_:LocalizedTextField;
public function pause_142(){
__setProp___id10__pause__1();
}
function __setProp___id10__pause__1(){
try {
__id10_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id10_.text = "{d_pause}";
__id10_.textColor = 0xFF0099;
__id10_.textSize = 20;
__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 = 3;
__id10_.glowColor = 0;
__id10_.useGlowFilter = false;
__id10_.glowQuality = 1;
__id10_.glowStrength = 5;
__id10_.gridFitType = "pixel";
__id10_.italic = false;
__id10_.selectable = false;
__id10_.underline = false;
try {
__id10_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package Elfsolitare_leukstespellen_fla
Section 20
//pause_162 (Elfsolitare_leukstespellen_fla.pause_162)
package Elfsolitare_leukstespellen_fla {
import flash.display.*;
import spill.localisation.*;
public dynamic class pause_162 extends MovieClip {
public var __id20_:LocalizedTextField;
public var d_Pause:SimpleButton;
public function pause_162(){
__setProp___id20__pause_1();
}
function __setProp___id20__pause_1(){
try {
__id20_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id20_.text = "{d_pause}";
__id20_.textColor = 0;
__id20_.textSize = 21;
__id20_.bold = true;
__id20_.disableWordwrap = false;
__id20_.embedFonts = false;
__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 Elfsolitare_leukstespellen_fla
Section 21
//reshuffle_139 (Elfsolitare_leukstespellen_fla.reshuffle_139)
package Elfsolitare_leukstespellen_fla {
import flash.display.*;
import spill.localisation.*;
public dynamic class reshuffle_139 extends MovieClip {
public var __id8_:LocalizedTextField;
public function reshuffle_139(){
__setProp___id8__reshuffle__1();
}
function __setProp___id8__reshuffle__1(){
try {
__id8_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id8_.text = "{d_shuffle}";
__id8_.textColor = 0x3300;
__id8_.textSize = 22;
__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 = 3;
__id8_.glowColor = 0;
__id8_.useGlowFilter = false;
__id8_.glowQuality = 1;
__id8_.glowStrength = 5;
__id8_.gridFitType = "pixel";
__id8_.italic = false;
__id8_.selectable = false;
__id8_.underline = false;
try {
__id8_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package Elfsolitare_leukstespellen_fla
Section 22
//shuffle_160 (Elfsolitare_leukstespellen_fla.shuffle_160)
package Elfsolitare_leukstespellen_fla {
import flash.display.*;
import flash.events.*;
public dynamic class shuffle_160 extends MovieClip {
public function shuffle_160(){
addFrameScript(0, frame1, 19, frame20);
}
function frame1(){
stop();
}
function frame20(){
dispatchEvent(new Event("reshuffling_over", true));
stop();
}
}
}//package Elfsolitare_leukstespellen_fla
Section 23
//sound_143 (Elfsolitare_leukstespellen_fla.sound_143)
package Elfsolitare_leukstespellen_fla {
import flash.display.*;
public dynamic class sound_143 extends MovieClip {
public function sound_143(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
if (!Config.SMusic){
gotoAndStop(2);
};
}
}
}//package Elfsolitare_leukstespellen_fla
Section 24
//Timeline_111 (Elfsolitare_leukstespellen_fla.Timeline_111)
package Elfsolitare_leukstespellen_fla {
import flash.display.*;
import spill.localisation.*;
public dynamic class Timeline_111 extends MovieClip {
public var __id4_:LocalizedTextField;
public function Timeline_111(){
__setProp___id4___1();
}
function __setProp___id4___1(){
try {
__id4_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id4_.text = "{d_title}";
__id4_.textColor = 0;
__id4_.textSize = 45;
__id4_.bold = true;
__id4_.disableWordwrap = false;
__id4_.embedFonts = false;
__id4_.font = "";
__id4_.hAlign = "center";
__id4_.multiline = false;
__id4_.vAlign = "middle";
__id4_.antiAliasType = "advanced";
__id4_.glowBlur = 3;
__id4_.glowColor = 0;
__id4_.useGlowFilter = false;
__id4_.glowQuality = 1;
__id4_.glowStrength = 5;
__id4_.gridFitType = "pixel";
__id4_.italic = false;
__id4_.selectable = false;
__id4_.underline = false;
try {
__id4_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package Elfsolitare_leukstespellen_fla
Section 25
//Timeline_134 (Elfsolitare_leukstespellen_fla.Timeline_134)
package Elfsolitare_leukstespellen_fla {
import flash.display.*;
import spill.localisation.*;
public dynamic class Timeline_134 extends MovieClip {
public var __id7_:LocalizedTextField;
public function Timeline_134(){
__setProp___id7___1();
}
function __setProp___id7___1(){
try {
__id7_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id7_.text = "{d_howtoplay}";
__id7_.textColor = 0;
__id7_.textSize = 40;
__id7_.bold = true;
__id7_.disableWordwrap = false;
__id7_.embedFonts = false;
__id7_.font = "";
__id7_.hAlign = "center";
__id7_.multiline = false;
__id7_.vAlign = "middle";
__id7_.antiAliasType = "advanced";
__id7_.glowBlur = 3;
__id7_.glowColor = 0;
__id7_.useGlowFilter = false;
__id7_.glowQuality = 1;
__id7_.glowStrength = 5;
__id7_.gridFitType = "pixel";
__id7_.italic = false;
__id7_.selectable = false;
__id7_.underline = false;
try {
__id7_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package Elfsolitare_leukstespellen_fla
Section 26
//Timeline_146 (Elfsolitare_leukstespellen_fla.Timeline_146)
package Elfsolitare_leukstespellen_fla {
import flash.display.*;
import spill.localisation.*;
public dynamic class Timeline_146 extends MovieClip {
public var __id13_:LocalizedTextField;
public var __id14_:LocalizedTextField;
public var __id15_:LocalizedTextField;
public function Timeline_146(){
__setProp___id13___1();
__setProp___id14___1();
__setProp___id15___1();
}
function __setProp___id15___1(){
try {
__id15_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id15_.text = "{d_level}";
__id15_.textColor = 4132880;
__id15_.textSize = 18;
__id15_.bold = true;
__id15_.disableWordwrap = false;
__id15_.embedFonts = false;
__id15_.font = "";
__id15_.hAlign = "center";
__id15_.multiline = false;
__id15_.vAlign = "middle";
__id15_.antiAliasType = "advanced";
__id15_.glowBlur = 3;
__id15_.glowColor = 0;
__id15_.useGlowFilter = false;
__id15_.glowQuality = 1;
__id15_.glowStrength = 5;
__id15_.gridFitType = "pixel";
__id15_.italic = false;
__id15_.selectable = false;
__id15_.underline = false;
try {
__id15_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function __setProp___id14___1(){
try {
__id14_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id14_.text = "{d_time}";
__id14_.textColor = 4132880;
__id14_.textSize = 18;
__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 = 3;
__id14_.glowColor = 0;
__id14_.useGlowFilter = false;
__id14_.glowQuality = 1;
__id14_.glowStrength = 5;
__id14_.gridFitType = "pixel";
__id14_.italic = false;
__id14_.selectable = false;
__id14_.underline = false;
try {
__id14_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function __setProp___id13___1(){
try {
__id13_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id13_.text = "{d_score}";
__id13_.textColor = 4132880;
__id13_.textSize = 18;
__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 = 3;
__id13_.glowColor = 0;
__id13_.useGlowFilter = false;
__id13_.glowQuality = 1;
__id13_.glowStrength = 5;
__id13_.gridFitType = "pixel";
__id13_.italic = false;
__id13_.selectable = false;
__id13_.underline = false;
try {
__id13_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package Elfsolitare_leukstespellen_fla
Section 27
//Timeline_158 (Elfsolitare_leukstespellen_fla.Timeline_158)
package Elfsolitare_leukstespellen_fla {
import flash.display.*;
import spill.localisation.*;
public dynamic class Timeline_158 extends MovieClip {
public var __id16_:LocalizedTextField;
public function Timeline_158(){
__setProp___id16___1();
}
function __setProp___id16___1(){
try {
__id16_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id16_.text = "{d_levelcompleted}";
__id16_.textColor = 0;
__id16_.textSize = 22;
__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 = 3;
__id16_.glowColor = 0;
__id16_.useGlowFilter = false;
__id16_.glowQuality = 1;
__id16_.glowStrength = 5;
__id16_.gridFitType = "pixel";
__id16_.italic = false;
__id16_.selectable = false;
__id16_.underline = false;
try {
__id16_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package Elfsolitare_leukstespellen_fla
Section 28
//Timeline_159 (Elfsolitare_leukstespellen_fla.Timeline_159)
package Elfsolitare_leukstespellen_fla {
import flash.display.*;
import spill.localisation.*;
public dynamic class Timeline_159 extends MovieClip {
public var __id17_:LocalizedTextField;
public function Timeline_159(){
__setProp___id17___1();
}
function __setProp___id17___1(){
try {
__id17_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id17_.text = "{d_timebonus}";
__id17_.textColor = 0;
__id17_.textSize = 14;
__id17_.bold = true;
__id17_.disableWordwrap = false;
__id17_.embedFonts = false;
__id17_.font = "";
__id17_.hAlign = "center";
__id17_.multiline = false;
__id17_.vAlign = "middle";
__id17_.antiAliasType = "advanced";
__id17_.glowBlur = 3;
__id17_.glowColor = 0;
__id17_.useGlowFilter = false;
__id17_.glowQuality = 1;
__id17_.glowStrength = 5;
__id17_.gridFitType = "pixel";
__id17_.italic = false;
__id17_.selectable = false;
__id17_.underline = false;
try {
__id17_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package Elfsolitare_leukstespellen_fla
Section 29
//Timeline_161 (Elfsolitare_leukstespellen_fla.Timeline_161)
package Elfsolitare_leukstespellen_fla {
import flash.display.*;
import spill.localisation.*;
public dynamic class Timeline_161 extends MovieClip {
public var __id19_:LocalizedTextField;
public function Timeline_161(){
__setProp___id19___1();
}
function __setProp___id19___1(){
try {
__id19_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id19_.text = "{d_shuffle}";
__id19_.textColor = 0;
__id19_.textSize = 40;
__id19_.bold = true;
__id19_.disableWordwrap = false;
__id19_.embedFonts = false;
__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 Elfsolitare_leukstespellen_fla
Section 30
//Timeline_164 (Elfsolitare_leukstespellen_fla.Timeline_164)
package Elfsolitare_leukstespellen_fla {
import flash.display.*;
import spill.localisation.*;
public dynamic class Timeline_164 extends MovieClip {
public var __id21_:LocalizedTextField;
public function Timeline_164(){
__setProp___id21___1();
}
function __setProp___id21___1(){
try {
__id21_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id21_.text = "{d_paused}";
__id21_.textColor = 0;
__id21_.textSize = 33;
__id21_.bold = true;
__id21_.disableWordwrap = false;
__id21_.embedFonts = false;
__id21_.font = "";
__id21_.hAlign = "center";
__id21_.multiline = false;
__id21_.vAlign = "middle";
__id21_.antiAliasType = "advanced";
__id21_.glowBlur = 3;
__id21_.glowColor = 0;
__id21_.useGlowFilter = false;
__id21_.glowQuality = 1;
__id21_.glowStrength = 5;
__id21_.gridFitType = "pixel";
__id21_.italic = false;
__id21_.selectable = false;
__id21_.underline = false;
try {
__id21_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package Elfsolitare_leukstespellen_fla
Section 31
//Timeline_168 (Elfsolitare_leukstespellen_fla.Timeline_168)
package Elfsolitare_leukstespellen_fla {
import flash.display.*;
import spill.localisation.*;
public dynamic class Timeline_168 extends MovieClip {
public var __id22_:LocalizedTextField;
public function Timeline_168(){
__setProp___id22___1();
}
function __setProp___id22___1(){
try {
__id22_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id22_.text = "{d_gameover}";
__id22_.textColor = 0;
__id22_.textSize = 38;
__id22_.bold = true;
__id22_.disableWordwrap = false;
__id22_.embedFonts = false;
__id22_.font = "";
__id22_.hAlign = "center";
__id22_.multiline = false;
__id22_.vAlign = "middle";
__id22_.antiAliasType = "advanced";
__id22_.glowBlur = 3;
__id22_.glowColor = 0;
__id22_.useGlowFilter = false;
__id22_.glowQuality = 1;
__id22_.glowStrength = 5;
__id22_.gridFitType = "pixel";
__id22_.italic = false;
__id22_.selectable = false;
__id22_.underline = false;
try {
__id22_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package Elfsolitare_leukstespellen_fla
Section 32
//Timeline_169 (Elfsolitare_leukstespellen_fla.Timeline_169)
package Elfsolitare_leukstespellen_fla {
import flash.display.*;
import spill.localisation.*;
public dynamic class Timeline_169 extends MovieClip {
public var __id23_:LocalizedTextField;
public function Timeline_169(){
__setProp___id23___1();
}
function __setProp___id23___1(){
try {
__id23_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id23_.text = "{d_youscore}";
__id23_.textColor = 0xFFFFFF;
__id23_.textSize = 33;
__id23_.bold = true;
__id23_.disableWordwrap = false;
__id23_.embedFonts = false;
__id23_.font = "";
__id23_.hAlign = "center";
__id23_.multiline = false;
__id23_.vAlign = "middle";
__id23_.antiAliasType = "advanced";
__id23_.glowBlur = 3;
__id23_.glowColor = 0;
__id23_.useGlowFilter = false;
__id23_.glowQuality = 1;
__id23_.glowStrength = 5;
__id23_.gridFitType = "pixel";
__id23_.italic = false;
__id23_.selectable = false;
__id23_.underline = false;
try {
__id23_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package Elfsolitare_leukstespellen_fla
Section 33
//Timeline_77 (Elfsolitare_leukstespellen_fla.Timeline_77)
package Elfsolitare_leukstespellen_fla {
import flash.display.*;
public dynamic class Timeline_77 extends MovieClip {
public function Timeline_77(){
addFrameScript(199, frame200);
}
function frame200(){
stop();
}
}
}//package Elfsolitare_leukstespellen_fla
Section 34
//Timeline_79 (Elfsolitare_leukstespellen_fla.Timeline_79)
package Elfsolitare_leukstespellen_fla {
import flash.display.*;
public dynamic class Timeline_79 extends MovieClip {
public function Timeline_79(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package Elfsolitare_leukstespellen_fla
Section 35
//titile_80 (Elfsolitare_leukstespellen_fla.titile_80)
package Elfsolitare_leukstespellen_fla {
import flash.xml.*;
import flash.display.*;
import flash.text.*;
import flash.events.*;
import spill.localisation.*;
import flash.geom.*;
import com.spilgames.api.*;
import flash.media.*;
import flash.utils.*;
import flash.ui.*;
import flash.net.*;
import flash.system.*;
import flash.external.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.filters.*;
import flash.printing.*;
public dynamic class titile_80 extends MovieClip {
public var __setPropDict:Dictionary;
public var d_Help:SimpleButton;
public var d_Play:SimpleButton;
public var d_More:SimpleButton;
public var __id1_:LocalizedTextField;
public var __id2_:LocalizedTextField;
public var __id3_:LocalizedTextField;
public var Logo:SimpleButton;
public var d_MoreS:SimpleButton;
public var d_Highscore:SimpleButton;
public function titile_80(){
__setPropDict = new Dictionary(true);
super();
addFrameScript(0, frame1, 135, frame136, 142, frame143, 92, frame93, 93, frame94, 94, frame95, 95, frame96, 96, frame97, 97, frame98, 98, frame99, 99, frame100, 100, frame101, 101, frame102, 102, frame103, 103, frame104, 104, frame105, 105, frame106, 106, frame107, 107, frame108, 108, frame109, 109, frame110, 110, frame111, 111, frame112, 112, frame113, 113, frame114, 114, frame115, 115, frame116, 116, frame117, 117, frame118, 118, frame119, 119, frame120, 120, frame121, 121, frame122, 122, frame123, 123, frame124, 124, frame125, 125, frame126, 126, frame127, 127, frame128, 128, frame129, 129, frame130, 130, frame131, 131, frame132, 132, frame133, 133, frame134, 134, frame135, 136, frame137, 137, frame138, 138, frame139, 139, frame140, 140, frame141, 141, frame142);
}
function frame1(){
this.stage.addEventListener(MouseEvent.CLICK, onGotoOver);
}
function __setProp___id3__titile_93(){
try {
__id3_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id3_.text = "{d_moregames}";
__id3_.textColor = 0;
__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 = 3;
__id3_.glowColor = 0;
__id3_.useGlowFilter = false;
__id3_.glowQuality = 1;
__id3_.glowStrength = 5;
__id3_.gridFitType = "pixel";
__id3_.italic = false;
__id3_.selectable = false;
__id3_.underline = false;
try {
__id3_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
public function onClick(_arg1){
var _local2:*;
switch (_arg1.currentTarget.name){
case "d_Play":
MovieClip(parent).gotoAndStop("game");
break;
case "d_Help":
MovieClip(parent).gotoAndStop("help");
break;
case "d_More":
_local2 = SpilGame.getMoreGamesLink("logo_intro");
navigateToURL(new URLRequest(_local2), "_blank");
break;
};
}
public function onHighScore(_arg1){
navigateToURL(new URLRequest("http://www.leukstespellen.nl/highscore.php?game=moonelfmahjong"), "_blank");
}
function frame93(){
if ((((__setPropDict[__id3_] == undefined)) || (!((((int(__setPropDict[__id3_]) >= 93)) && ((int(__setPropDict[__id3_]) <= 143))))))){
__setPropDict[__id3_] = currentFrame;
__setProp___id3__titile_93();
};
if ((((__setPropDict[__id2_] == undefined)) || (!((((int(__setPropDict[__id2_]) >= 93)) && ((int(__setPropDict[__id2_]) <= 143))))))){
__setPropDict[__id2_] = currentFrame;
__setProp___id2__titile_93();
};
if ((((__setPropDict[__id1_] == undefined)) || (!((((int(__setPropDict[__id1_]) >= 93)) && ((int(__setPropDict[__id1_]) <= 143))))))){
__setPropDict[__id1_] = currentFrame;
__setProp___id1__titile_93();
};
}
function frame94(){
if ((((__setPropDict[__id3_] == undefined)) || (!((((int(__setPropDict[__id3_]) >= 93)) && ((int(__setPropDict[__id3_]) <= 143))))))){
__setPropDict[__id3_] = currentFrame;
__setProp___id3__titile_93();
};
if ((((__setPropDict[__id2_] == undefined)) || (!((((int(__setPropDict[__id2_]) >= 93)) && ((int(__setPropDict[__id2_]) <= 143))))))){
__setPropDict[__id2_] = currentFrame;
__setProp___id2__titile_93();
};
if ((((__setPropDict[__id1_] == undefined)) || (!((((int(__setPropDict[__id1_]) >= 93)) && ((int(__setPropDict[__id1_]) <= 143))))))){
__setPropDict[__id1_] = currentFrame;
__setProp___id1__titile_93();
};
}
function frame95(){
if ((((__setPropDict[__id3_] == undefined)) || (!((((int(__setPropDict[__id3_]) >= 93)) && ((int(__setPropDict[__id3_]) <= 143))))))){
__setPropDict[__id3_] = currentFrame;
__setProp___id3__titile_93();
};
if ((((__setPropDict[__id2_] == undefined)) || (!((((int(__setPropDict[__id2_]) >= 93)) && ((int(__setPropDict[__id2_]) <= 143))))))){
__setPropDict[__id2_] = currentFrame;
__setProp___id2__titile_93();
};
if ((((__setPropDict[__id1_] == undefined)) || (!((((int(__setPropDict[__id1_]) >= 93)) && ((int(__setPropDict[__id1_]) <= 143))))))){
__setPropDict[__id1_] = currentFrame;
__setProp___id1__titile_93();
};
}
function frame98(){
if ((((__setPropDict[__id3_] == undefined)) || (!((((int(__setPropDict[__id3_]) >= 93)) && ((int(__setPropDict[__id3_]) <= 143))))))){
__setPropDict[__id3_] = currentFrame;
__setProp___id3__titile_93();
};
if ((((__setPropDict[__id2_] == undefined)) || (!((((int(__setPropDict[__id2_]) >= 93)) && ((int(__setPropDict[__id2_]) <= 143))))))){
__setPropDict[__id2_] = currentFrame;
__setProp___id2__titile_93();
};
if ((((__setPropDict[__id1_] == undefined)) || (!((((int(__setPropDict[__id1_]) >= 93)) && ((int(__setPropDict[__id1_]) <= 143))))))){
__setPropDict[__id1_] = currentFrame;
__setProp___id1__titile_93();
};
}
function frame99(){
if ((((__setPropDict[__id3_] == undefined)) || (!((((int(__setPropDict[__id3_]) >= 93)) && ((int(__setPropDict[__id3_]) <= 143))))))){
__setPropDict[__id3_] = currentFrame;
__setProp___id3__titile_93();
};
if ((((__setPropDict[__id2_] == undefined)) || (!((((int(__setPropDict[__id2_]) >= 93)) && ((int(__setPropDict[__id2_]) <= 143))))))){
__setPropDict[__id2_] = currentFrame;
__setProp___id2__titile_93();
};
if ((((__setPropDict[__id1_] == undefined)) || (!((((int(__setPropDict[__id1_]) >= 93)) && ((int(__setPropDict[__id1_]) <= 143))))))){
__setPropDict[__id1_] = currentFrame;
__setProp___id1__titile_93();
};
}
function frame97(){
if ((((__setPropDict[__id3_] == undefined)) || (!((((int(__setPropDict[__id3_]) >= 93)) && ((int(__setPropDict[__id3_]) <= 143))))))){
__setPropDict[__id3_] = currentFrame;
__setProp___id3__titile_93();
};
if ((((__setPropDict[__id2_] == undefined)) || (!((((int(__setPropDict[__id2_]) >= 93)) && ((int(__setPropDict[__id2_]) <= 143))))))){
__setPropDict[__id2_] = currentFrame;
__setProp___id2__titile_93();
};
if ((((__setPropDict[__id1_] == undefined)) || (!((((int(__setPropDict[__id1_]) >= 93)) && ((int(__setPropDict[__id1_]) <= 143))))))){
__setPropDict[__id1_] = currentFrame;
__setProp___id1__titile_93();
};
}
function frame96(){
if ((((__setPropDict[__id3_] == undefined)) || (!((((int(__setPropDict[__id3_]) >= 93)) && ((int(__setPropDict[__id3_]) <= 143))))))){
__setPropDict[__id3_] = currentFrame;
__setProp___id3__titile_93();
};
if ((((__setPropDict[__id2_] == undefined)) || (!((((int(__setPropDict[__id2_]) >= 93)) && ((int(__setPropDict[__id2_]) <= 143))))))){
__setPropDict[__id2_] = currentFrame;
__setProp___id2__titile_93();
};
if ((((__setPropDict[__id1_] == undefined)) || (!((((int(__setPropDict[__id1_]) >= 93)) && ((int(__setPropDict[__id1_]) <= 143))))))){
__setPropDict[__id1_] = currentFrame;
__setProp___id1__titile_93();
};
}
function frame100(){
if ((((__setPropDict[__id3_] == undefined)) || (!((((int(__setPropDict[__id3_]) >= 93)) && ((int(__setPropDict[__id3_]) <= 143))))))){
__setPropDict[__id3_] = currentFrame;
__setProp___id3__titile_93();
};
if ((((__setPropDict[__id2_] == undefined)) || (!((((int(__setPropDict[__id2_]) >= 93)) && ((int(__setPropDict[__id2_]) <= 143))))))){
__setPropDict[__id2_] = currentFrame;
__setProp___id2__titile_93();
};
if ((((__setPropDict[__id1_] == undefined)) || (!((((int(__setPropDict[__id1_]) >= 93)) && ((int(__setPropDict[__id1_]) <= 143))))))){
__setPropDict[__id1_] = currentFrame;
__setProp___id1__titile_93();
};
}
function frame101(){
if ((((__setPropDict[__id3_] == undefined)) || (!((((int(__setPropDict[__id3_]) >= 93)) && ((int(__setPropDict[__id3_]) <= 143))))))){
__setPropDict[__id3_] = currentFrame;
__setProp___id3__titile_93();
};
if ((((__setPropDict[__id2_] == undefined)) || (!((((int(__setPropDict[__id2_]) >= 93)) && ((int(__setPropDict[__id2_]) <= 143))))))){
__setPropDict[__id2_] = currentFrame;
__setProp___id2__titile_93();
};
if ((((__setPropDict[__id1_] == undefined)) || (!((((int(__setPropDict[__id1_]) >= 93)) && ((int(__setPropDict[__id1_]) <= 143))))))){
__setPropDict[__id1_] = currentFrame;
__setProp___id1__titile_93();
};
}
function frame102(){
if ((((__setPropDict[__id3_] == undefined)) || (!((((int(__setPropDict[__id3_]) >= 93)) && ((int(__setPropDict[__id3_]) <= 143))))))){
__setPropDict[__id3_] = currentFrame;
__setProp___id3__titile_93();
};
if ((((__setPropDict[__id2_] == undefined)) || (!((((int(__setPropDict[__id2_]) >= 93)) && ((int(__setPropDict[__id2_]) <= 143))))))){
__setPropDict[__id2_] = currentFrame;
__setProp___id2__titile_93();
};
if ((((__setPropDict[__id1_] == undefined)) || (!((((int(__setPropDict[__id1_]) >= 93)) && ((int(__setPropDict[__id1_]) <= 143))))))){
__setPropDict[__id1_] = currentFrame;
__setProp___id1__titile_93();
};
}
function frame105(){
if ((((__setPropDict[__id3_] == undefined)) || (!((((int(__setPropDict[__id3_]) >= 93)) && ((int(__setPropDict[__id3_]) <= 143))))))){
__setPropDict[__id3_] = currentFrame;
__setProp___id3__titile_93();
};
if ((((__setPropDict[__id2_] == undefined)) || (!((((int(__setPropDict[__id2_]) >= 93)) && ((int(__setPropDict[__id2_]) <= 143))))))){
__setPropDict[__id2_] = currentFrame;
__setProp___id2__titile_93();
};
if ((((__setPropDict[__id1_] == undefined)) || (!((((int(__setPropDict[__id1_]) >= 93)) && ((int(__setPropDict[__id1_]) <= 143))))))){
__setPropDict[__id1_] = currentFrame;
__setProp___id1__titile_93();
};
}
function frame106(){
if ((((__setPropDict[__id3_] == undefined)) || (!((((int(__setPropDict[__id3_]) >= 93)) && ((int(__setPropDict[__id3_]) <= 143))))))){
__setPropDict[__id3_] = currentFrame;
__setProp___id3__titile_93();
};
if ((((__setPropDict[__id2_] == undefined)) || (!((((int(__setPropDict[__id2_]) >= 93)) && ((int(__setPropDict[__id2_]) <= 143))))))){
__setPropDict[__id2_] = currentFrame;
__setProp___id2__titile_93();
};
if ((((__setPropDict[__id1_] == undefined)) || (!((((int(__setPropDict[__id1_]) >= 93)) && ((int(__setPropDict[__id1_]) <= 143))))))){
__setPropDict[__id1_] = currentFrame;
__setProp___id1__titile_93();
};
}
function frame107(){
if ((((__setPropDict[__id3_] == undefined)) || (!((((int(__setPropDict[__id3_]) >= 93)) && ((int(__setPropDict[__id3_]) <= 143))))))){
__setPropDict[__id3_] = currentFrame;
__setProp___id3__titile_93();
};
if ((((__setPropDict[__id2_] == undefined)) || (!((((int(__setPropDict[__id2_]) >= 93)) && ((int(__setPropDict[__id2_]) <= 143))))))){
__setPropDict[__id2_] = currentFrame;
__setProp___id2__titile_93();
};
if ((((__setPropDict[__id1_] == undefined)) || (!((((int(__setPropDict[__id1_]) >= 93)) && ((int(__setPropDict[__id1_]) <= 143))))))){
__setPropDict[__id1_] = currentFrame;
__setProp___id1__titile_93();
};
}
function frame109(){
if ((((__setPropDict[__id3_] == undefined)) || (!((((int(__setPropDict[__id3_]) >= 93)) && ((int(__setPropDict[__id3_]) <= 143))))))){
__setPropDict[__id3_] = currentFrame;
__setProp___id3__titile_93();
};
if ((((__setPropDict[__id2_] == undefined)) || (!((((int(__setPropDict[__id2_]) >= 93)) && ((int(__setPropDict[__id2_]) <= 143))))))){
__setPropDict[__id2_] = currentFrame;
__setProp___id2__titile_93();
};
if ((((__setPropDict[__id1_] == undefined)) || (!((((int(__setPropDict[__id1_]) >= 93)) && ((int(__setPropDict[__id1_]) <= 143))))))){
__setPropDict[__id1_] = currentFrame;
__setProp___id1__titile_93();
};
}
function frame103(){
if ((((__setPropDict[__id3_] == undefined)) || (!((((int(__setPropDict[__id3_]) >= 93)) && ((int(__setPropDict[__id3_]) <= 143))))))){
__setPropDict[__id3_] = currentFrame;
__setProp___id3__titile_93();
};
if ((((__setPropDict[__id2_] == undefined)) || (!((((int(__setPropDict[__id2_]) >= 93)) && ((int(__setPropDict[__id2_]) <= 143))))))){
__setPropDict[__id2_] = currentFrame;
__setProp___id2__titile_93();
};
if ((((__setPropDict[__id1_] == undefined)) || (!((((int(__setPropDict[__id1_]) >= 93)) && ((int(__setPropDict[__id1_]) <= 143))))))){
__setPropDict[__id1_] = currentFrame;
__setProp___id1__titile_93();
};
}
function frame104(){
if ((((__setPropDict[__id3_] == undefined)) || (!((((int(__setPropDict[__id3_]) >= 93)) && ((int(__setPropDict[__id3_]) <= 143))))))){
__setPropDict[__id3_] = currentFrame;
__setProp___id3__titile_93();
};
if ((((__setPropDict[__id2_] == undefined)) || (!((((int(__setPropDict[__id2_]) >= 93)) && ((int(__setPropDict[__id2_]) <= 143))))))){
__setPropDict[__id2_] = currentFrame;
__setProp___id2__titile_93();
};
if ((((__setPropDict[__id1_] == undefined)) || (!((((int(__setPropDict[__id1_]) >= 93)) && ((int(__setPropDict[__id1_]) <= 143))))))){
__setPropDict[__id1_] = currentFrame;
__setProp___id1__titile_93();
};
}
function __setProp___id2__titile_93(){
try {
__id2_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id2_.text = "{d_howtoplay}";
__id2_.textColor = 0;
__id2_.textSize = 17;
__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 = 3;
__id2_.glowColor = 0;
__id2_.useGlowFilter = false;
__id2_.glowQuality = 1;
__id2_.glowStrength = 5;
__id2_.gridFitType = "pixel";
__id2_.italic = false;
__id2_.selectable = false;
__id2_.underline = false;
try {
__id2_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
function frame108(){
if ((((__setPropDict[__id3_] == undefined)) || (!((((int(__setPropDict[__id3_]) >= 93)) && ((int(__setPropDict[__id3_]) <= 143))))))){
__setPropDict[__id3_] = currentFrame;
__setProp___id3__titile_93();
};
if ((((__setPropDict[__id2_] == undefined)) || (!((((int(__setPropDict[__id2_]) >= 93)) && ((int(__setPropDict[__id2_]) <= 143))))))){
__setPropDict[__id2_] = currentFrame;
__setProp___id2__titile_93();
};
if ((((__setPropDict[__id1_] == undefined)) || (!((((int(__setPropDict[__id1_]) >= 93)) && ((int(__setPropDict[__id1_]) <= 143))))))){
__setPropDict[__id1_] = currentFrame;
__setProp___id1__titile_93();
};
}
function frame110(){
if ((((__setPropDict[__id3_] == undefined)) || (!((((int(__setPropDict[__id3_]) >= 93)) && ((int(__setPropDict[__id3_]) <= 143))))))){
__setPropDict[__id3_] = currentFrame;
__setProp___id3__titile_93();
};
if ((((__setPropDict[__id2_] == undefined)) || (!((((int(__setPropDict[__id2_]) >= 93)) && ((int(__setPropDict[__id2_]) <= 143))))))){
__setPropDict[__id2_] = currentFrame;
__setProp___id2__titile_93();
};
if ((((__setPropDict[__id1_] == undefined)) || (!((((int(__setPropDict[__id1_]) >= 93)) && ((int(__setPropDict[__id1_]) <= 143))))))){
__setPropDict[__id1_] = currentFrame;
__setProp___id1__titile_93();
};
}
function frame111(){
if ((((__setPropDict[__id3_] == undefined)) || (!((((int(__setPropDict[__id3_]) >= 93)) && ((int(__setPropDict[__id3_]) <= 143))))))){
__setPropDict[__id3_] = currentFrame;
__setProp___id3__titile_93();
};
if ((((__setPropDict[__id2_] == undefined)) || (!((((int(__setPropDict[__id2_]) >= 93)) && ((int(__setPropDict[__id2_]) <= 143))))))){
__setPropDict[__id2_] = currentFrame;
__setProp___id2__titile_93();
};
if ((((__setPropDict[__id1_] == undefined)) || (!((((int(__setPropDict[__id1_]) >= 93)) && ((int(__setPropDict[__id1_]) <= 143))))))){
__setPropDict[__id1_] = currentFrame;
__setProp___id1__titile_93();
};
}
function frame112(){
if ((((__setPropDict[__id3_] == undefined)) || (!((((int(__setPropDict[__id3_]) >= 93)) && ((int(__setPropDict[__id3_]) <= 143))))))){
__setPropDict[__id3_] = currentFrame;
__setProp___id3__titile_93();
};
if ((((__setPropDict[__id2_] == undefined)) || (!((((int(__setPropDict[__id2_]) >= 93)) && ((int(__setPropDict[__id2_]) <= 143))))))){
__setPropDict[__id2_] = currentFrame;
__setProp___id2__titile_93();
};
if ((((__setPropDict[__id1_] == undefined)) || (!((((int(__setPropDict[__id1_]) >= 93)) && ((int(__setPropDict[__id1_]) <= 143))))))){
__setPropDict[__id1_] = currentFrame;
__setProp___id1__titile_93();
};
}
function frame114(){
if ((((__setPropDict[__id3_] == undefined)) || (!((((int(__setPropDict[__id3_]) >= 93)) && ((int(__setPropDict[__id3_]) <= 143))))))){
__setPropDict[__id3_] = currentFrame;
__setProp___id3__titile_93();
};
if ((((__setPropDict[__id2_] == undefined)) || (!((((int(__setPropDict[__id2_]) >= 93)) && ((int(__setPropDict[__id2_]) <= 143))))))){
__setPropDict[__id2_] = currentFrame;
__setProp___id2__titile_93();
};
if ((((__setPropDict[__id1_] == undefined)) || (!((((int(__setPropDict[__id1_]) >= 93)) && ((int(__setPropDict[__id1_]) <= 143))))))){
__setPropDict[__id1_] = currentFrame;
__setProp___id1__titile_93();
};
}
function frame116(){
if ((((__setPropDict[__id3_] == undefined)) || (!((((int(__setPropDict[__id3_]) >= 93)) && ((int(__setPropDict[__id3_]) <= 143))))))){
__setPropDict[__id3_] = currentFrame;
__setProp___id3__titile_93();
};
if ((((__setPropDict[__id2_] == undefined)) || (!((((int(__setPropDict[__id2_]) >= 93)) && ((int(__setPropDict[__id2_]) <= 143))))))){
__setPropDict[__id2_] = currentFrame;
__setProp___id2__titile_93();
};
if ((((__setPropDict[__id1_] == undefined)) || (!((((int(__setPropDict[__id1_]) >= 93)) && ((int(__setPropDict[__id1_]) <= 143))))))){
__setPropDict[__id1_] = currentFrame;
__setProp___id1__titile_93();
};
}
function frame117(){
if ((((__setPropDict[__id3_] == undefined)) || (!((((int(__setPropDict[__id3_]) >= 93)) && ((int(__setPropDict[__id3_]) <= 143))))))){
__setPropDict[__id3_] = currentFrame;
__setProp___id3__titile_93();
};
if ((((__setPropDict[__id2_] == undefined)) || (!((((int(__setPropDict[__id2_]) >= 93)) && ((int(__setPropDict[__id2_]) <= 143))))))){
__setPropDict[__id2_] = currentFrame;
__setProp___id2__titile_93();
};
if ((((__setPropDict[__id1_] == undefined)) || (!((((int(__setPropDict[__id1_]) >= 93)) && ((int(__setPropDict[__id1_]) <= 143))))))){
__setPropDict[__id1_] = currentFrame;
__setProp___id1__titile_93();
};
}
function frame118(){
if ((((__setPropDict[__id3_] == undefined)) || (!((((int(__setPropDict[__id3_]) >= 93)) && ((int(__setPropDict[__id3_]) <= 143))))))){
__setPropDict[__id3_] = currentFrame;
__setProp___id3__titile_93();
};
if ((((__setPropDict[__id2_] == undefined)) || (!((((int(__setPropDict[__id2_]) >= 93)) && ((int(__setPropDict[__id2_]) <= 143))))))){
__setPropDict[__id2_] = currentFrame;
__setProp___id2__titile_93();
};
if ((((__setPropDict[__id1_] == undefined)) || (!((((int(__setPropDict[__id1_]) >= 93)) && ((int(__setPropDict[__id1_]) <= 143))))))){
__setPropDict[__id1_] = currentFrame;
__setProp___id1__titile_93();
};
}
function frame115(){
if ((((__setPropDict[__id3_] == undefined)) || (!((((int(__setPropDict[__id3_]) >= 93)) && ((int(__setPropDict[__id3_]) <= 143))))))){
__setPropDict[__id3_] = currentFrame;
__setProp___id3__titile_93();
};
if ((((__setPropDict[__id2_] == undefined)) || (!((((int(__setPropDict[__id2_]) >= 93)) && ((int(__setPropDict[__id2_]) <= 143))))))){
__setPropDict[__id2_] = currentFrame;
__setProp___id2__titile_93();
};
if ((((__setPropDict[__id1_] == undefined)) || (!((((int(__setPropDict[__id1_]) >= 93)) && ((int(__setPropDict[__id1_]) <= 143))))))){
__setPropDict[__id1_] = currentFrame;
__setProp___id1__titile_93();
};
}
function frame113(){
if ((((__setPropDict[__id3_] == undefined)) || (!((((int(__setPropDict[__id3_]) >= 93)) && ((int(__setPropDict[__id3_]) <= 143))))))){
__setPropDict[__id3_] = currentFrame;
__setProp___id3__titile_93();
};
if ((((__setPropDict[__id2_] == undefined)) || (!((((int(__setPropDict[__id2_]) >= 93)) && ((int(__setPropDict[__id2_]) <= 143))))))){
__setPropDict[__id2_] = currentFrame;
__setProp___id2__titile_93();
};
if ((((__setPropDict[__id1_] == undefined)) || (!((((int(__setPropDict[__id1_]) >= 93)) && ((int(__setPropDict[__id1_]) <= 143))))))){
__setPropDict[__id1_] = currentFrame;
__setProp___id1__titile_93();
};
}
function frame119(){
if ((((__setPropDict[__id3_] == undefined)) || (!((((int(__setPropDict[__id3_]) >= 93)) && ((int(__setPropDict[__id3_]) <= 143))))))){
__setPropDict[__id3_] = currentFrame;
__setProp___id3__titile_93();
};
if ((((__setPropDict[__id2_] == undefined)) || (!((((int(__setPropDict[__id2_]) >= 93)) && ((int(__setPropDict[__id2_]) <= 143))))))){
__setPropDict[__id2_] = currentFrame;
__setProp___id2__titile_93();
};
if ((((__setPropDict[__id1_] == undefined)) || (!((((int(__setPropDict[__id1_]) >= 93)) && ((int(__setPropDict[__id1_]) <= 143))))))){
__setPropDict[__id1_] = currentFrame;
__setProp___id1__titile_93();
};
}
function frame120(){
if ((((__setPropDict[__id3_] == undefined)) || (!((((int(__setPropDict[__id3_]) >= 93)) && ((int(__setPropDict[__id3_]) <= 143))))))){
__setPropDict[__id3_] = currentFrame;
__setProp___id3__titile_93();
};
if ((((__setPropDict[__id2_] == undefined)) || (!((((int(__setPropDict[__id2_]) >= 93)) && ((int(__setPropDict[__id2_]) <= 143))))))){
__setPropDict[__id2_] = currentFrame;
__setProp___id2__titile_93();
};
if ((((__setPropDict[__id1_] == undefined)) || (!((((int(__setPropDict[__id1_]) >= 93)) && ((int(__setPropDict[__id1_]) <= 143))))))){
__setPropDict[__id1_] = currentFrame;
__setProp___id1__titile_93();
};
}
function frame122(){
if ((((__setPropDict[__id3_] == undefined)) || (!((((int(__setPropDict[__id3_]) >= 93)) && ((int(__setPropDict[__id3_]) <= 143))))))){
__setPropDict[__id3_] = currentFrame;
__setProp___id3__titile_93();
};
if ((((__setPropDict[__id2_] == undefined)) || (!((((int(__setPropDict[__id2_]) >= 93)) && ((int(__setPropDict[__id2_]) <= 143))))))){
__setPropDict[__id2_] = currentFrame;
__setProp___id2__titile_93();
};
if ((((__setPropDict[__id1_] == undefined)) || (!((((int(__setPropDict[__id1_]) >= 93)) && ((int(__setPropDict[__id1_]) <= 143))))))){
__setPropDict[__id1_] = currentFrame;
__setProp___id1__titile_93();
};
}
function frame124(){
if ((((__setPropDict[__id3_] == undefined)) || (!((((int(__setPropDict[__id3_]) >= 93)) && ((int(__setPropDict[__id3_]) <= 143))))))){
__setPropDict[__id3_] = currentFrame;
__setProp___id3__titile_93();
};
if ((((__setPropDict[__id2_] == undefined)) || (!((((int(__setPropDict[__id2_]) >= 93)) && ((int(__setPropDict[__id2_]) <= 143))))))){
__setPropDict[__id2_] = currentFrame;
__setProp___id2__titile_93();
};
if ((((__setPropDict[__id1_] == undefined)) || (!((((int(__setPropDict[__id1_]) >= 93)) && ((int(__setPropDict[__id1_]) <= 143))))))){
__setPropDict[__id1_] = currentFrame;
__setProp___id1__titile_93();
};
}
function frame125(){
if ((((__setPropDict[__id3_] == undefined)) || (!((((int(__setPropDict[__id3_]) >= 93)) && ((int(__setPropDict[__id3_]) <= 143))))))){
__setPropDict[__id3_] = currentFrame;
__setProp___id3__titile_93();
};
if ((((__setPropDict[__id2_] == undefined)) || (!((((int(__setPropDict[__id2_]) >= 93)) && ((int(__setPropDict[__id2_]) <= 143))))))){
__setPropDict[__id2_] = currentFrame;
__setProp___id2__titile_93();
};
if ((((__setPropDict[__id1_] == undefined)) || (!((((int(__setPropDict[__id1_]) >= 93)) && ((int(__setPropDict[__id1_]) <= 143))))))){
__setPropDict[__id1_] = currentFrame;
__setProp___id1__titile_93();
};
}
function frame126(){
if ((((__setPropDict[__id3_] == undefined)) || (!((((int(__setPropDict[__id3_]) >= 93)) && ((int(__setPropDict[__id3_]) <= 143))))))){
__setPropDict[__id3_] = currentFrame;
__setProp___id3__titile_93();
};
if ((((__setPropDict[__id2_] == undefined)) || (!((((int(__setPropDict[__id2_]) >= 93)) && ((int(__setPropDict[__id2_]) <= 143))))))){
__setPropDict[__id2_] = currentFrame;
__setProp___id2__titile_93();
};
if ((((__setPropDict[__id1_] == undefined)) || (!((((int(__setPropDict[__id1_]) >= 93)) && ((int(__setPropDict[__id1_]) <= 143))))))){
__setPropDict[__id1_] = currentFrame;
__setProp___id1__titile_93();
};
}
function frame127(){
if ((((__setPropDict[__id3_] == undefined)) || (!((((int(__setPropDict[__id3_]) >= 93)) && ((int(__setPropDict[__id3_]) <= 143))))))){
__setPropDict[__id3_] = currentFrame;
__setProp___id3__titile_93();
};
if ((((__setPropDict[__id2_] == undefined)) || (!((((int(__setPropDict[__id2_]) >= 93)) && ((int(__setPropDict[__id2_]) <= 143))))))){
__setPropDict[__id2_] = currentFrame;
__setProp___id2__titile_93();
};
if ((((__setPropDict[__id1_] == undefined)) || (!((((int(__setPropDict[__id1_]) >= 93)) && ((int(__setPropDict[__id1_]) <= 143))))))){
__setPropDict[__id1_] = currentFrame;
__setProp___id1__titile_93();
};
}
function frame128(){
if ((((__setPropDict[__id3_] == undefined)) || (!((((int(__setPropDict[__id3_]) >= 93)) && ((int(__setPropDict[__id3_]) <= 143))))))){
__setPropDict[__id3_] = currentFrame;
__setProp___id3__titile_93();
};
if ((((__setPropDict[__id2_] == undefined)) || (!((((int(__setPropDict[__id2_]) >= 93)) && ((int(__setPropDict[__id2_]) <= 143))))))){
__setPropDict[__id2_] = currentFrame;
__setProp___id2__titile_93();
};
if ((((__setPropDict[__id1_] == undefined)) || (!((((int(__setPropDict[__id1_]) >= 93)) && ((int(__setPropDict[__id1_]) <= 143))))))){
__setPropDict[__id1_] = currentFrame;
__setProp___id1__titile_93();
};
}
function frame123(){
if ((((__setPropDict[__id3_] == undefined)) || (!((((int(__setPropDict[__id3_]) >= 93)) && ((int(__setPropDict[__id3_]) <= 143))))))){
__setPropDict[__id3_] = currentFrame;
__setProp___id3__titile_93();
};
if ((((__setPropDict[__id2_] == undefined)) || (!((((int(__setPropDict[__id2_]) >= 93)) && ((int(__setPropDict[__id2_]) <= 143))))))){
__setPropDict[__id2_] = currentFrame;
__setProp___id2__titile_93();
};
if ((((__setPropDict[__id1_] == undefined)) || (!((((int(__setPropDict[__id1_]) >= 93)) && ((int(__setPropDict[__id1_]) <= 143))))))){
__setPropDict[__id1_] = currentFrame;
__setProp___id1__titile_93();
};
}
function frame129(){
if ((((__setPropDict[__id3_] == undefined)) || (!((((int(__setPropDict[__id3_]) >= 93)) && ((int(__setPropDict[__id3_]) <= 143))))))){
__setPropDict[__id3_] = currentFrame;
__setProp___id3__titile_93();
};
if ((((__setPropDict[__id2_] == undefined)) || (!((((int(__setPropDict[__id2_]) >= 93)) && ((int(__setPropDict[__id2_]) <= 143))))))){
__setPropDict[__id2_] = currentFrame;
__setProp___id2__titile_93();
};
if ((((__setPropDict[__id1_] == undefined)) || (!((((int(__setPropDict[__id1_]) >= 93)) && ((int(__setPropDict[__id1_]) <= 143))))))){
__setPropDict[__id1_] = currentFrame;
__setProp___id1__titile_93();
};
}
function frame121(){
if ((((__setPropDict[__id3_] == undefined)) || (!((((int(__setPropDict[__id3_]) >= 93)) && ((int(__setPropDict[__id3_]) <= 143))))))){
__setPropDict[__id3_] = currentFrame;
__setProp___id3__titile_93();
};
if ((((__setPropDict[__id2_] == undefined)) || (!((((int(__setPropDict[__id2_]) >= 93)) && ((int(__setPropDict[__id2_]) <= 143))))))){
__setPropDict[__id2_] = currentFrame;
__setProp___id2__titile_93();
};
if ((((__setPropDict[__id1_] == undefined)) || (!((((int(__setPropDict[__id1_]) >= 93)) && ((int(__setPropDict[__id1_]) <= 143))))))){
__setPropDict[__id1_] = currentFrame;
__setProp___id1__titile_93();
};
}
function frame130(){
if ((((__setPropDict[__id3_] == undefined)) || (!((((int(__setPropDict[__id3_]) >= 93)) && ((int(__setPropDict[__id3_]) <= 143))))))){
__setPropDict[__id3_] = currentFrame;
__setProp___id3__titile_93();
};
if ((((__setPropDict[__id2_] == undefined)) || (!((((int(__setPropDict[__id2_]) >= 93)) && ((int(__setPropDict[__id2_]) <= 143))))))){
__setPropDict[__id2_] = currentFrame;
__setProp___id2__titile_93();
};
if ((((__setPropDict[__id1_] == undefined)) || (!((((int(__setPropDict[__id1_]) >= 93)) && ((int(__setPropDict[__id1_]) <= 143))))))){
__setPropDict[__id1_] = currentFrame;
__setProp___id1__titile_93();
};
}
function frame131(){
if ((((__setPropDict[__id3_] == undefined)) || (!((((int(__setPropDict[__id3_]) >= 93)) && ((int(__setPropDict[__id3_]) <= 143))))))){
__setPropDict[__id3_] = currentFrame;
__setProp___id3__titile_93();
};
if ((((__setPropDict[__id2_] == undefined)) || (!((((int(__setPropDict[__id2_]) >= 93)) && ((int(__setPropDict[__id2_]) <= 143))))))){
__setPropDict[__id2_] = currentFrame;
__setProp___id2__titile_93();
};
if ((((__setPropDict[__id1_] == undefined)) || (!((((int(__setPropDict[__id1_]) >= 93)) && ((int(__setPropDict[__id1_]) <= 143))))))){
__setPropDict[__id1_] = currentFrame;
__setProp___id1__titile_93();
};
}
function frame132(){
if ((((__setPropDict[__id3_] == undefined)) || (!((((int(__setPropDict[__id3_]) >= 93)) && ((int(__setPropDict[__id3_]) <= 143))))))){
__setPropDict[__id3_] = currentFrame;
__setProp___id3__titile_93();
};
if ((((__setPropDict[__id2_] == undefined)) || (!((((int(__setPropDict[__id2_]) >= 93)) && ((int(__setPropDict[__id2_]) <= 143))))))){
__setPropDict[__id2_] = currentFrame;
__setProp___id2__titile_93();
};
if ((((__setPropDict[__id1_] == undefined)) || (!((((int(__setPropDict[__id1_]) >= 93)) && ((int(__setPropDict[__id1_]) <= 143))))))){
__setPropDict[__id1_] = currentFrame;
__setProp___id1__titile_93();
};
}
function frame134(){
if ((((__setPropDict[__id3_] == undefined)) || (!((((int(__setPropDict[__id3_]) >= 93)) && ((int(__setPropDict[__id3_]) <= 143))))))){
__setPropDict[__id3_] = currentFrame;
__setProp___id3__titile_93();
};
if ((((__setPropDict[__id2_] == undefined)) || (!((((int(__setPropDict[__id2_]) >= 93)) && ((int(__setPropDict[__id2_]) <= 143))))))){
__setPropDict[__id2_] = currentFrame;
__setProp___id2__titile_93();
};
if ((((__setPropDict[__id1_] == undefined)) || (!((((int(__setPropDict[__id1_]) >= 93)) && ((int(__setPropDict[__id1_]) <= 143))))))){
__setPropDict[__id1_] = currentFrame;
__setProp___id1__titile_93();
};
}
function frame136(){
if ((((__setPropDict[__id3_] == undefined)) || (!((((int(__setPropDict[__id3_]) >= 93)) && ((int(__setPropDict[__id3_]) <= 143))))))){
__setPropDict[__id3_] = currentFrame;
__setProp___id3__titile_93();
};
if ((((__setPropDict[__id2_] == undefined)) || (!((((int(__setPropDict[__id2_]) >= 93)) && ((int(__setPropDict[__id2_]) <= 143))))))){
__setPropDict[__id2_] = currentFrame;
__setProp___id2__titile_93();
};
if ((((__setPropDict[__id1_] == undefined)) || (!((((int(__setPropDict[__id1_]) >= 93)) && ((int(__setPropDict[__id1_]) <= 143))))))){
__setPropDict[__id1_] = currentFrame;
__setProp___id1__titile_93();
};
gotoAndStop(143);
}
function frame137(){
if ((((__setPropDict[__id3_] == undefined)) || (!((((int(__setPropDict[__id3_]) >= 93)) && ((int(__setPropDict[__id3_]) <= 143))))))){
__setPropDict[__id3_] = currentFrame;
__setProp___id3__titile_93();
};
if ((((__setPropDict[__id2_] == undefined)) || (!((((int(__setPropDict[__id2_]) >= 93)) && ((int(__setPropDict[__id2_]) <= 143))))))){
__setPropDict[__id2_] = currentFrame;
__setProp___id2__titile_93();
};
if ((((__setPropDict[__id1_] == undefined)) || (!((((int(__setPropDict[__id1_]) >= 93)) && ((int(__setPropDict[__id1_]) <= 143))))))){
__setPropDict[__id1_] = currentFrame;
__setProp___id1__titile_93();
};
}
function frame138(){
if ((((__setPropDict[__id3_] == undefined)) || (!((((int(__setPropDict[__id3_]) >= 93)) && ((int(__setPropDict[__id3_]) <= 143))))))){
__setPropDict[__id3_] = currentFrame;
__setProp___id3__titile_93();
};
if ((((__setPropDict[__id2_] == undefined)) || (!((((int(__setPropDict[__id2_]) >= 93)) && ((int(__setPropDict[__id2_]) <= 143))))))){
__setPropDict[__id2_] = currentFrame;
__setProp___id2__titile_93();
};
if ((((__setPropDict[__id1_] == undefined)) || (!((((int(__setPropDict[__id1_]) >= 93)) && ((int(__setPropDict[__id1_]) <= 143))))))){
__setPropDict[__id1_] = currentFrame;
__setProp___id1__titile_93();
};
}
function frame139(){
if ((((__setPropDict[__id3_] == undefined)) || (!((((int(__setPropDict[__id3_]) >= 93)) && ((int(__setPropDict[__id3_]) <= 143))))))){
__setPropDict[__id3_] = currentFrame;
__setProp___id3__titile_93();
};
if ((((__setPropDict[__id2_] == undefined)) || (!((((int(__setPropDict[__id2_]) >= 93)) && ((int(__setPropDict[__id2_]) <= 143))))))){
__setPropDict[__id2_] = currentFrame;
__setProp___id2__titile_93();
};
if ((((__setPropDict[__id1_] == undefined)) || (!((((int(__setPropDict[__id1_]) >= 93)) && ((int(__setPropDict[__id1_]) <= 143))))))){
__setPropDict[__id1_] = currentFrame;
__setProp___id1__titile_93();
};
}
function frame133(){
if ((((__setPropDict[__id3_] == undefined)) || (!((((int(__setPropDict[__id3_]) >= 93)) && ((int(__setPropDict[__id3_]) <= 143))))))){
__setPropDict[__id3_] = currentFrame;
__setProp___id3__titile_93();
};
if ((((__setPropDict[__id2_] == undefined)) || (!((((int(__setPropDict[__id2_]) >= 93)) && ((int(__setPropDict[__id2_]) <= 143))))))){
__setPropDict[__id2_] = currentFrame;
__setProp___id2__titile_93();
};
if ((((__setPropDict[__id1_] == undefined)) || (!((((int(__setPropDict[__id1_]) >= 93)) && ((int(__setPropDict[__id1_]) <= 143))))))){
__setPropDict[__id1_] = currentFrame;
__setProp___id1__titile_93();
};
}
function frame135(){
if ((((__setPropDict[__id3_] == undefined)) || (!((((int(__setPropDict[__id3_]) >= 93)) && ((int(__setPropDict[__id3_]) <= 143))))))){
__setPropDict[__id3_] = currentFrame;
__setProp___id3__titile_93();
};
if ((((__setPropDict[__id2_] == undefined)) || (!((((int(__setPropDict[__id2_]) >= 93)) && ((int(__setPropDict[__id2_]) <= 143))))))){
__setPropDict[__id2_] = currentFrame;
__setProp___id2__titile_93();
};
if ((((__setPropDict[__id1_] == undefined)) || (!((((int(__setPropDict[__id1_]) >= 93)) && ((int(__setPropDict[__id1_]) <= 143))))))){
__setPropDict[__id1_] = currentFrame;
__setProp___id1__titile_93();
};
}
public function onGotoOver(_arg1){
gotoAndStop(143);
}
public function fnLogoUrl(_arg1:MouseEvent){
var _local2:*;
_local2 = SpilGame.getMoreGamesLink("logo_intro");
navigateToURL(new URLRequest(_local2), "_blank");
}
function frame140(){
if ((((__setPropDict[__id3_] == undefined)) || (!((((int(__setPropDict[__id3_]) >= 93)) && ((int(__setPropDict[__id3_]) <= 143))))))){
__setPropDict[__id3_] = currentFrame;
__setProp___id3__titile_93();
};
if ((((__setPropDict[__id2_] == undefined)) || (!((((int(__setPropDict[__id2_]) >= 93)) && ((int(__setPropDict[__id2_]) <= 143))))))){
__setPropDict[__id2_] = currentFrame;
__setProp___id2__titile_93();
};
if ((((__setPropDict[__id1_] == undefined)) || (!((((int(__setPropDict[__id1_]) >= 93)) && ((int(__setPropDict[__id1_]) <= 143))))))){
__setPropDict[__id1_] = currentFrame;
__setProp___id1__titile_93();
};
}
function frame141(){
if ((((__setPropDict[__id3_] == undefined)) || (!((((int(__setPropDict[__id3_]) >= 93)) && ((int(__setPropDict[__id3_]) <= 143))))))){
__setPropDict[__id3_] = currentFrame;
__setProp___id3__titile_93();
};
if ((((__setPropDict[__id2_] == undefined)) || (!((((int(__setPropDict[__id2_]) >= 93)) && ((int(__setPropDict[__id2_]) <= 143))))))){
__setPropDict[__id2_] = currentFrame;
__setProp___id2__titile_93();
};
if ((((__setPropDict[__id1_] == undefined)) || (!((((int(__setPropDict[__id1_]) >= 93)) && ((int(__setPropDict[__id1_]) <= 143))))))){
__setPropDict[__id1_] = currentFrame;
__setProp___id1__titile_93();
};
}
function frame142(){
if ((((__setPropDict[__id3_] == undefined)) || (!((((int(__setPropDict[__id3_]) >= 93)) && ((int(__setPropDict[__id3_]) <= 143))))))){
__setPropDict[__id3_] = currentFrame;
__setProp___id3__titile_93();
};
if ((((__setPropDict[__id2_] == undefined)) || (!((((int(__setPropDict[__id2_]) >= 93)) && ((int(__setPropDict[__id2_]) <= 143))))))){
__setPropDict[__id2_] = currentFrame;
__setProp___id2__titile_93();
};
if ((((__setPropDict[__id1_] == undefined)) || (!((((int(__setPropDict[__id1_]) >= 93)) && ((int(__setPropDict[__id1_]) <= 143))))))){
__setPropDict[__id1_] = currentFrame;
__setProp___id1__titile_93();
};
}
function frame143(){
if ((((__setPropDict[__id3_] == undefined)) || (!((((int(__setPropDict[__id3_]) >= 93)) && ((int(__setPropDict[__id3_]) <= 143))))))){
__setPropDict[__id3_] = currentFrame;
__setProp___id3__titile_93();
};
if ((((__setPropDict[__id2_] == undefined)) || (!((((int(__setPropDict[__id2_]) >= 93)) && ((int(__setPropDict[__id2_]) <= 143))))))){
__setPropDict[__id2_] = currentFrame;
__setProp___id2__titile_93();
};
if ((((__setPropDict[__id1_] == undefined)) || (!((((int(__setPropDict[__id1_]) >= 93)) && ((int(__setPropDict[__id1_]) <= 143))))))){
__setPropDict[__id1_] = currentFrame;
__setProp___id1__titile_93();
};
stop();
this.stage.removeEventListener(MouseEvent.CLICK, onGotoOver);
d_Play.addEventListener(MouseEvent.CLICK, onClick);
d_Help.addEventListener(MouseEvent.CLICK, onClick);
d_More.addEventListener(MouseEvent.CLICK, onClick);
d_MoreS.addEventListener(MouseEvent.CLICK, onClick);
d_Highscore.addEventListener(MouseEvent.CLICK, onHighScore);
Logo.addEventListener(MouseEvent.CLICK, fnLogoUrl);
}
function __setProp___id1__titile_93(){
try {
__id1_["componentInspectorSetting"] = true;
} catch(e:Error) {
};
__id1_.text = "{d_play}";
__id1_.textColor = 0;
__id1_.textSize = 21;
__id1_.bold = true;
__id1_.disableWordwrap = false;
__id1_.embedFonts = false;
__id1_.font = "";
__id1_.hAlign = "center";
__id1_.multiline = false;
__id1_.vAlign = "middle";
__id1_.antiAliasType = "advanced";
__id1_.glowBlur = 3;
__id1_.glowColor = 0;
__id1_.useGlowFilter = false;
__id1_.glowQuality = 1;
__id1_.glowStrength = 5;
__id1_.gridFitType = "pixel";
__id1_.italic = false;
__id1_.selectable = false;
__id1_.underline = false;
try {
__id1_["componentInspectorSetting"] = false;
} catch(e:Error) {
};
}
}
}//package Elfsolitare_leukstespellen_fla
Section 36
//AutoAlphaPlugin (gs.plugins.AutoAlphaPlugin)
package gs.plugins {
import flash.display.*;
import gs.*;
public class AutoAlphaPlugin extends TweenPlugin {
protected var _tweenVisible:Boolean;
protected var _tween:TweenLite;
protected var _visible:Boolean;
protected var _target:Object;
public static const VERSION:Number = 1;
public static const API:Number = 1;
public function AutoAlphaPlugin(){
this.propName = "autoAlpha";
this.overwriteProps = ["alpha", "visible"];
this.onComplete = onCompleteTween;
}
override public function set changeFactor(_arg1:Number):void{
updateTweens(_arg1);
if (((!((_target.visible == true))) && (_tweenVisible))){
_target.visible = true;
};
}
public function onCompleteTween():void{
if (((((_tweenVisible) && (!((_tween.vars.runBackwards == true))))) && ((_tween.ease == _tween.vars.ease)))){
_target.visible = _visible;
};
}
override public function onInitTween(_arg1:Object, _arg2, _arg3:TweenLite):Boolean{
_target = _arg1;
_tween = _arg3;
_visible = Boolean(!((_arg2 == 0)));
_tweenVisible = true;
addTween(_arg1, "alpha", _arg1.alpha, _arg2, "alpha");
return (true);
}
override public function killProps(_arg1:Object):void{
super.killProps(_arg1);
_tweenVisible = !(Boolean(("visible" in _arg1)));
}
}
}//package gs.plugins
Section 37
//EndArrayPlugin (gs.plugins.EndArrayPlugin)
package gs.plugins {
import gs.*;
import gs.utils.tween.*;
public class EndArrayPlugin extends TweenPlugin {
protected var _info:Array;
protected var _a:Array;
public static const VERSION:Number = 1.01;
public static const API:Number = 1;
public function EndArrayPlugin(){
_info = [];
super();
this.propName = "endArray";
this.overwriteProps = ["endArray"];
}
override public function set changeFactor(_arg1:Number):void{
var _local2:int;
var _local3:ArrayTweenInfo;
var _local4:Number;
var _local5:int;
if (this.round){
_local2 = (_info.length - 1);
while (_local2 > -1) {
_local3 = _info[_local2];
_local4 = (_local3.start + (_local3.change * _arg1));
_local5 = ((_local4)<0) ? -1 : 1;
_a[_local3.index] = ((((_local4 % 1) * _local5))>0.5) ? (int(_local4) + _local5) : int(_local4);
_local2--;
};
} else {
_local2 = (_info.length - 1);
while (_local2 > -1) {
_local3 = _info[_local2];
_a[_local3.index] = (_local3.start + (_local3.change * _arg1));
_local2--;
};
};
}
public function init(_arg1:Array, _arg2:Array):void{
var _local3:int;
_a = _arg1;
_local3 = (_arg2.length - 1);
while (_local3 > -1) {
if (((!((_arg1[_local3] == _arg2[_local3]))) && (!((_arg1[_local3] == null))))){
_info[_info.length] = new ArrayTweenInfo(_local3, _a[_local3], (_arg2[_local3] - _a[_local3]));
};
_local3--;
};
}
override public function onInitTween(_arg1:Object, _arg2, _arg3:TweenLite):Boolean{
if (((!((_arg1 is Array))) || (!((_arg2 is Array))))){
return (false);
};
init((_arg1 as Array), _arg2);
return (true);
}
}
}//package gs.plugins
Section 38
//FramePlugin (gs.plugins.FramePlugin)
package gs.plugins {
import flash.display.*;
import gs.*;
public class FramePlugin extends TweenPlugin {
public var frame:int;
protected var _target:MovieClip;
public static const VERSION:Number = 1.01;
public static const API:Number = 1;
public function FramePlugin(){
this.propName = "frame";
this.overwriteProps = ["frame"];
this.round = true;
}
override public function set changeFactor(_arg1:Number):void{
updateTweens(_arg1);
_target.gotoAndStop(this.frame);
}
override public function onInitTween(_arg1:Object, _arg2, _arg3:TweenLite):Boolean{
if (((!((_arg1 is MovieClip))) || (isNaN(_arg2)))){
return (false);
};
_target = (_arg1 as MovieClip);
this.frame = _target.currentFrame;
addTween(this, "frame", this.frame, _arg2, "frame");
return (true);
}
}
}//package gs.plugins
Section 39
//RemoveTintPlugin (gs.plugins.RemoveTintPlugin)
package gs.plugins {
public class RemoveTintPlugin extends TintPlugin {
public static const VERSION:Number = 1.01;
public static const API:Number = 1;
public function RemoveTintPlugin(){
this.propName = "removeTint";
}
}
}//package gs.plugins
Section 40
//TintPlugin (gs.plugins.TintPlugin)
package gs.plugins {
import flash.display.*;
import gs.*;
import flash.geom.*;
import gs.utils.tween.*;
public class TintPlugin extends TweenPlugin {
protected var _ct:ColorTransform;
protected var _ignoreAlpha:Boolean;
protected var _target:DisplayObject;
public static const VERSION:Number = 1.1;
public static const API:Number = 1;
protected static var _props:Array = ["redMultiplier", "greenMultiplier", "blueMultiplier", "alphaMultiplier", "redOffset", "greenOffset", "blueOffset", "alphaOffset"];
public function TintPlugin(){
this.propName = "tint";
this.overwriteProps = ["tint"];
}
override public function set changeFactor(_arg1:Number):void{
var _local2:ColorTransform;
updateTweens(_arg1);
if (_ignoreAlpha){
_local2 = _target.transform.colorTransform;
_ct.alphaMultiplier = _local2.alphaMultiplier;
_ct.alphaOffset = _local2.alphaOffset;
};
_target.transform.colorTransform = _ct;
}
public function init(_arg1:DisplayObject, _arg2:ColorTransform):void{
var _local3:int;
var _local4:String;
_target = _arg1;
_ct = _target.transform.colorTransform;
_local3 = (_props.length - 1);
while (_local3 > -1) {
_local4 = _props[_local3];
if (_ct[_local4] != _arg2[_local4]){
_tweens[_tweens.length] = new TweenInfo(_ct, _local4, _ct[_local4], (_arg2[_local4] - _ct[_local4]), "tint", false);
};
_local3--;
};
}
override public function onInitTween(_arg1:Object, _arg2, _arg3:TweenLite):Boolean{
var _local4:ColorTransform;
if (!(_arg1 is DisplayObject)){
return (false);
};
_local4 = new ColorTransform();
if (((!((_arg2 == null))) && (!((_arg3.exposedVars.removeTint == true))))){
_local4.color = uint(_arg2);
};
_ignoreAlpha = true;
init((_arg1 as DisplayObject), _local4);
return (true);
}
}
}//package gs.plugins
Section 41
//TweenPlugin (gs.plugins.TweenPlugin)
package gs.plugins {
import gs.*;
import gs.utils.tween.*;
public class TweenPlugin {
public var overwriteProps:Array;
protected var _tweens:Array;
public var round:Boolean;
public var onComplete:Function;
public var propName:String;
protected var _changeFactor:Number;// = 0
public static const VERSION:Number = 1.03;
public static const API:Number = 1;
public function TweenPlugin(){
_tweens = [];
_changeFactor = 0;
super();
}
protected function updateTweens(_arg1:Number):void{
var _local2:int;
var _local3:TweenInfo;
var _local4:Number;
var _local5:int;
if (this.round){
_local2 = (_tweens.length - 1);
while (_local2 > -1) {
_local3 = _tweens[_local2];
_local4 = (_local3.start + (_local3.change * _arg1));
_local5 = ((_local4)<0) ? -1 : 1;
_local3.target[_local3.property] = ((((_local4 % 1) * _local5))>0.5) ? (int(_local4) + _local5) : int(_local4);
_local2--;
};
} else {
_local2 = (_tweens.length - 1);
while (_local2 > -1) {
_local3 = _tweens[_local2];
_local3.target[_local3.property] = (_local3.start + (_local3.change * _arg1));
_local2--;
};
};
}
public function set changeFactor(_arg1:Number):void{
updateTweens(_arg1);
_changeFactor = _arg1;
}
protected function addTween(_arg1:Object, _arg2:String, _arg3:Number, _arg4, _arg5:String=null):void{
var _local6:Number;
if (_arg4 != null){
_local6 = ((typeof(_arg4))=="number") ? (_arg4 - _arg3) : Number(_arg4);
if (_local6 != 0){
_tweens[_tweens.length] = new TweenInfo(_arg1, _arg2, _arg3, _local6, ((_arg5) || (_arg2)), false);
};
};
}
public function killProps(_arg1:Object):void{
var _local2:int;
_local2 = (this.overwriteProps.length - 1);
while (_local2 > -1) {
if ((this.overwriteProps[_local2] in _arg1)){
this.overwriteProps.splice(_local2, 1);
};
_local2--;
};
_local2 = (_tweens.length - 1);
while (_local2 > -1) {
if ((_tweens[_local2].name in _arg1)){
_tweens.splice(_local2, 1);
};
_local2--;
};
}
public function onInitTween(_arg1:Object, _arg2, _arg3:TweenLite):Boolean{
addTween(_arg1, this.propName, _arg1[this.propName], _arg2, this.propName);
return (true);
}
public function get changeFactor():Number{
return (_changeFactor);
}
public static function activate(_arg1:Array):Boolean{
var _local2:int;
var _local3:Object;
_local2 = (_arg1.length - 1);
while (_local2 > -1) {
_local3 = new (_arg1[_local2]);
TweenLite.plugins[_local3.propName] = _arg1[_local2];
_local2--;
};
return (true);
}
}
}//package gs.plugins
Section 42
//VisiblePlugin (gs.plugins.VisiblePlugin)
package gs.plugins {
import flash.display.*;
import gs.*;
public class VisiblePlugin extends TweenPlugin {
protected var _tween:TweenLite;
protected var _visible:Boolean;
protected var _target:Object;
public static const VERSION:Number = 1;
public static const API:Number = 1;
public function VisiblePlugin(){
this.propName = "visible";
this.overwriteProps = ["visible"];
this.onComplete = onCompleteTween;
}
override public function set changeFactor(_arg1:Number):void{
if (_target.visible != true){
_target.visible = true;
};
}
public function onCompleteTween():void{
if (((!((_tween.vars.runBackwards == true))) && ((_tween.ease == _tween.vars.ease)))){
_target.visible = _visible;
};
}
override public function onInitTween(_arg1:Object, _arg2, _arg3:TweenLite):Boolean{
_target = _arg1;
_tween = _arg3;
_visible = Boolean(_arg2);
return (true);
}
}
}//package gs.plugins
Section 43
//VolumePlugin (gs.plugins.VolumePlugin)
package gs.plugins {
import flash.display.*;
import gs.*;
import flash.media.*;
public class VolumePlugin extends TweenPlugin {
protected var _st:SoundTransform;
protected var _target:Object;
public static const VERSION:Number = 1.01;
public static const API:Number = 1;
public function VolumePlugin(){
this.propName = "volume";
this.overwriteProps = ["volume"];
}
override public function set changeFactor(_arg1:Number):void{
updateTweens(_arg1);
_target.soundTransform = _st;
}
override public function onInitTween(_arg1:Object, _arg2, _arg3:TweenLite):Boolean{
if (((isNaN(_arg2)) || (!(_arg1.hasOwnProperty("soundTransform"))))){
return (false);
};
_target = _arg1;
_st = _target.soundTransform;
addTween(_st, "volume", _st.volume, _arg2, "volume");
return (true);
}
}
}//package gs.plugins
Section 44
//ArrayTweenInfo (gs.utils.tween.ArrayTweenInfo)
package gs.utils.tween {
public class ArrayTweenInfo {
public var change:Number;
public var index:uint;
public var start:Number;
public function ArrayTweenInfo(_arg1:uint, _arg2:Number, _arg3:Number){
this.index = _arg1;
this.start = _arg2;
this.change = _arg3;
}
}
}//package gs.utils.tween
Section 45
//TweenInfo (gs.utils.tween.TweenInfo)
package gs.utils.tween {
public class TweenInfo {
public var start:Number;
public var name:String;
public var change:Number;
public var target:Object;
public var property:String;
public var isPlugin:Boolean;
public function TweenInfo(_arg1:Object, _arg2:String, _arg3:Number, _arg4:Number, _arg5:String, _arg6:Boolean){
this.target = _arg1;
this.property = _arg2;
this.start = _arg3;
this.change = _arg4;
this.name = _arg5;
this.isPlugin = _arg6;
}
}
}//package gs.utils.tween
Section 46
//TweenLite (gs.TweenLite)
package gs {
import flash.display.*;
import flash.events.*;
import gs.utils.tween.*;
import gs.plugins.*;
import flash.utils.*;
public class TweenLite {
public var delay:Number;
protected var _hasUpdate:Boolean;
protected var _hasPlugins:Boolean;
public var started:Boolean;
public var initted:Boolean;
public var active:Boolean;
public var startTime:Number;
public var target:Object;
public var duration:Number;
public var gc:Boolean;
public var vars:Object;
public var ease:Function;
public var tweens:Array;
public var exposedVars:Object;
public var combinedTimeScale:Number;
public var initTime:Number;
public static const version:Number = 10.092;
private static var _timer:Timer = new Timer(2000);
public static var defaultEase:Function = TweenLite.easeOut;
public static var plugins:Object = {};
public static var currentTime:uint;
public static var masterList:Dictionary = new Dictionary(false);
protected static var _reservedProps:Object = {ease:1, delay:1, overwrite:1, onComplete:1, onCompleteParams:1, runBackwards:1, startAt:1, onUpdate:1, onUpdateParams:1, roundProps:1, onStart:1, onStartParams:1, persist:1, renderOnStart:1, proxiedEase:1, easeParams:1, yoyo:1, loop:1, onCompleteListener:1, onUpdateListener:1, onStartListener:1, orientToBezier:1, timeScale:1};
public static var killDelayedCallsTo:Function = TweenLite.killTweensOf;
public static var timingSprite:Sprite = new Sprite();
public static var overwriteManager:Object;
private static var _tlInitted:Boolean;
public function TweenLite(_arg1:Object, _arg2:Number, _arg3:Object){
var _local4:int;
super();
if (_arg1 == null){
return;
};
if (!_tlInitted){
TweenPlugin.activate([TintPlugin, RemoveTintPlugin, FramePlugin, AutoAlphaPlugin, VisiblePlugin, VolumePlugin, EndArrayPlugin]);
currentTime = getTimer();
timingSprite.addEventListener(Event.ENTER_FRAME, updateAll, false, 0, true);
if (overwriteManager == null){
overwriteManager = {mode:1, enabled:false};
};
_timer.addEventListener("timer", killGarbage, false, 0, true);
_timer.start();
_tlInitted = true;
};
this.vars = _arg3;
this.duration = ((_arg2) || (0.001));
this.delay = ((_arg3.delay) || (0));
this.combinedTimeScale = ((_arg3.timeScale) || (1));
this.active = Boolean((((_arg2 == 0)) && ((this.delay == 0))));
this.target = _arg1;
if (typeof(this.vars.ease) != "function"){
this.vars.ease = defaultEase;
};
if (this.vars.easeParams != null){
this.vars.proxiedEase = this.vars.ease;
this.vars.ease = easeProxy;
};
this.ease = this.vars.ease;
this.exposedVars = ((this.vars.isTV)==true) ? this.vars.exposedVars : this.vars;
this.tweens = [];
this.initTime = currentTime;
this.startTime = (this.initTime + (this.delay * 1000));
_local4 = ((((_arg3.overwrite == undefined)) || (((!(overwriteManager.enabled)) && ((_arg3.overwrite > 1)))))) ? overwriteManager.mode : int(_arg3.overwrite);
if (((!((_arg1 in masterList))) || ((_local4 == 1)))){
masterList[_arg1] = [this];
} else {
masterList[_arg1].push(this);
};
if ((((((this.vars.runBackwards == true)) && (!((this.vars.renderOnStart == true))))) || (this.active))){
initTweenVals();
if (this.active){
render((this.startTime + 1));
} else {
render(this.startTime);
};
if (((((!((this.exposedVars.visible == null))) && ((this.vars.runBackwards == true)))) && ((this.target is DisplayObject)))){
this.target.visible = this.exposedVars.visible;
};
};
}
public function set enabled(_arg1:Boolean):void{
var _local2:Array;
var _local3:Boolean;
var _local4:int;
if (_arg1){
if (!(this.target in masterList)){
masterList[this.target] = [this];
} else {
_local2 = masterList[this.target];
_local4 = (_local2.length - 1);
while (_local4 > -1) {
if (_local2[_local4] == this){
_local3 = true;
break;
};
_local4--;
};
if (!_local3){
_local2[_local2.length] = this;
};
};
};
this.gc = (_arg1) ? false : true;
if (this.gc){
this.active = false;
} else {
this.active = this.started;
};
}
public function clear():void{
this.tweens = [];
this.vars = (this.exposedVars = {ease:this.vars.ease});
_hasUpdate = false;
}
public function render(_arg1:uint):void{
var _local2:Number;
var _local3:Number;
var _local4:TweenInfo;
var _local5:int;
_local2 = ((_arg1 - this.startTime) * 0.001);
if (_local2 >= this.duration){
_local2 = this.duration;
_local3 = ((((this.ease == this.vars.ease)) || ((this.duration == 0.001)))) ? 1 : 0;
} else {
_local3 = this.ease(_local2, 0, 1, this.duration);
};
_local5 = (this.tweens.length - 1);
while (_local5 > -1) {
_local4 = this.tweens[_local5];
_local4.target[_local4.property] = (_local4.start + (_local3 * _local4.change));
_local5--;
};
if (_hasUpdate){
this.vars.onUpdate.apply(null, this.vars.onUpdateParams);
};
if (_local2 == this.duration){
complete(true);
};
}
public function activate():void{
this.started = (this.active = true);
if (!this.initted){
initTweenVals();
};
if (this.vars.onStart != null){
this.vars.onStart.apply(null, this.vars.onStartParams);
};
if (this.duration == 0.001){
this.startTime = (this.startTime - 1);
};
}
public function get enabled():Boolean{
return ((this.gc) ? false : true);
}
public function initTweenVals():void{
var _local1:String;
var _local2:int;
var _local3:*;
var _local4:TweenInfo;
if (((!((this.exposedVars.timeScale == undefined))) && (this.target.hasOwnProperty("timeScale")))){
this.tweens[this.tweens.length] = new TweenInfo(this.target, "timeScale", this.target.timeScale, (this.exposedVars.timeScale - this.target.timeScale), "timeScale", false);
};
for (_local1 in this.exposedVars) {
if ((_local1 in _reservedProps)){
} else {
if ((_local1 in plugins)){
_local3 = new (plugins[_local1]);
if (_local3.onInitTween(this.target, this.exposedVars[_local1], this) == false){
this.tweens[this.tweens.length] = new TweenInfo(this.target, _local1, this.target[_local1], ((typeof(this.exposedVars[_local1]))=="number") ? (this.exposedVars[_local1] - this.target[_local1]) : Number(this.exposedVars[_local1]), _local1, false);
} else {
this.tweens[this.tweens.length] = new TweenInfo(_local3, "changeFactor", 0, 1, ((_local3.overwriteProps.length)==1) ? _local3.overwriteProps[0] : "_MULTIPLE_", true);
_hasPlugins = true;
};
} else {
this.tweens[this.tweens.length] = new TweenInfo(this.target, _local1, this.target[_local1], ((typeof(this.exposedVars[_local1]))=="number") ? (this.exposedVars[_local1] - this.target[_local1]) : Number(this.exposedVars[_local1]), _local1, false);
};
};
};
if (this.vars.runBackwards == true){
_local2 = (this.tweens.length - 1);
while (_local2 > -1) {
_local4 = this.tweens[_local2];
this.tweens[_local2].start = (_local4.start + _local4.change);
_local4.change = -(_local4.change);
_local2--;
};
};
if (this.vars.onUpdate != null){
_hasUpdate = true;
};
if (((TweenLite.overwriteManager.enabled) && ((this.target in masterList)))){
overwriteManager.manageOverwrites(this, masterList[this.target]);
};
this.initted = true;
}
protected function easeProxy(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{
return (this.vars.proxiedEase.apply(null, arguments.concat(this.vars.easeParams)));
}
public function killVars(_arg1:Object):void{
if (overwriteManager.enabled){
overwriteManager.killVars(_arg1, this.exposedVars, this.tweens);
};
}
public function complete(_arg1:Boolean=false):void{
var _local2:int;
if (!_arg1){
if (!this.initted){
initTweenVals();
};
this.startTime = (currentTime - ((this.duration * 1000) / this.combinedTimeScale));
render(currentTime);
return;
};
if (_hasPlugins){
_local2 = (this.tweens.length - 1);
while (_local2 > -1) {
if (((this.tweens[_local2].isPlugin) && (!((this.tweens[_local2].target.onComplete == null))))){
this.tweens[_local2].target.onComplete();
};
_local2--;
};
};
if (this.vars.persist != true){
this.enabled = false;
};
if (this.vars.onComplete != null){
this.vars.onComplete.apply(null, this.vars.onCompleteParams);
};
}
public static function updateAll(_arg1:Event=null):void{
var _local2:uint;
var _local3:Dictionary;
var _local4:Array;
var _local5:int;
var _local6:TweenLite;
_local2 = (currentTime = getTimer());
_local3 = masterList;
for each (_local4 in _local3) {
_local5 = (_local4.length - 1);
while (_local5 > -1) {
_local6 = _local4[_local5];
if (_local6.active){
_local6.render(_local2);
} else {
if (_local6.gc){
_local4.splice(_local5, 1);
} else {
if (_local2 >= _local6.startTime){
_local6.activate();
_local6.render(_local2);
};
};
};
_local5--;
};
};
}
public static function removeTween(_arg1:TweenLite, _arg2:Boolean=true):void{
if (_arg1 != null){
if (_arg2){
_arg1.clear();
};
_arg1.enabled = false;
};
}
public static function killTweensOf(_arg1:Object=null, _arg2:Boolean=false):void{
var _local3:Array;
var _local4:int;
var _local5:TweenLite;
if (((!((_arg1 == null))) && ((_arg1 in masterList)))){
_local3 = masterList[_arg1];
_local4 = (_local3.length - 1);
while (_local4 > -1) {
_local5 = _local3[_local4];
if (((_arg2) && (!(_local5.gc)))){
_local5.complete(false);
};
_local5.clear();
_local4--;
};
delete masterList[_arg1];
};
}
public static function from(_arg1:Object, _arg2:Number, _arg3:Object):TweenLite{
_arg3.runBackwards = true;
return (new TweenLite(_arg1, _arg2, _arg3));
}
public static function easeOut(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):Number{
_arg1 = (_arg1 / _arg4);
return ((((-(_arg3) * _arg1) * (_arg1 - 2)) + _arg2));
}
protected static function killGarbage(_arg1:TimerEvent):void{
var _local2:Dictionary;
var _local3:Object;
_local2 = masterList;
for (_local3 in _local2) {
if (_local2[_local3].length == 0){
delete _local2[_local3];
};
};
}
public static function delayedCall(_arg1:Number, _arg2:Function, _arg3:Array=null):TweenLite{
return (new TweenLite(_arg2, 0, {delay:_arg1, onComplete:_arg2, onCompleteParams:_arg3, overwrite:0}));
}
public static function to(_arg1:Object, _arg2:Number, _arg3:Object):TweenLite{
return (new TweenLite(_arg1, _arg2, _arg3));
}
}
}//package gs
Section 47
//Brand (spill.localisation.Brand)
package spill.localisation {
import flash.xml.*;
public class Brand {
public var domain:String;
public var useGoogleAnalitics:Boolean;// = true
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 portalGroup:uint;
public var emailLink:String;// = "game"
private static const topLevelDoubles:String = ((((((((((((((("ac.cn,ac.jp,ac.uk,ad.jp,adm.br,adv.br,agr.br," + "ah.cn,am.br,arq.br,art.br,asn.au,ato.br,av.tr,bel.tr,bio.br,biz.tr,bj.cn,bmd.br,") + "cim.br,cng.br,cnt.br,co.at,co.jp,co.uk,com.au,com.br,com.cn,com.eg,com.hk,com.mx,") + "com.ru,com.tr,com.tw,conf.au,cq.cn,csiro.au,dr.tr,ecn.br,edu.au,edu.br,edu.tr,") + "emu.id.au,eng.br,esp.br,etc.br,eti.br,eun.eg,far.br,fj.cn,fm.br,fnd.br,fot.br,") + "fst.br,g12.br,gb.com,gb.net,gd.cn,gen.tr,ggf.br,gob.mx,gov.au,gov.br,gov.cn,") + "gov.hk,gov.tr,gr.jp,gs.cn,gx.cn,gz.cn,ha.cn,hb.cn,he.cn,hi.cn,hk.cn,hl.cn,hn.cn,") + "id.au,idv.tw,imb.br,ind.br,inf.br,info.au,info.tr,jl.cn,jor.br,js.cn,jx.cn,k12.tr,") + "lel.br,ln.cn,ltd.uk,mat.br,me.uk,med.br,mil.br,mil.tr,mo.cn,mus.br,name.tr,ne.jp,") + "net.au,net.br,net.cn,net.eg,net.hk,net.lu,net.mx,net.ru,net.tr,net.tw,net.uk,") + "nm.cn,no.com,nom.br,not.br,ntr.br,nx.cn,odo.br,oop.br,or.at,or.jp,org.au,org.br,") + "org.cn,org.hk,org.lu,org.ru,org.tr,org.tw,org.uk,plc.uk,pol.tr,pp.ru,ppg.br,pro.br,") + "psc.br,psi.br,qh.cn,qsl.br,rec.br,sc.cn,sd.cn,se.com,se.net,sh.cn,slg.br,sn.cn,") + "srv.br,sx.cn,tel.tr,tj.cn,tmp.br,trd.br,tur.br,tv.br,tw.cn,uk.com,uk.net,vet.br,") + "wattle.id.au,web.tr,xj.cn,xz.cn,yn.cn,zj.cn,zlg.br,co.nr,co.nz,com.fr,com.ph,com.ar,") + "com.id,com.in");
public function Brand(){
moreLink = "";
emailLink = "game";
useGoogleAnalitics = true;
hasSendToFriendLink = true;
preferedLanguage = "";
isExternal = false;
hostingDomain = "";
super();
}
public function exportXML():XML{
var _local1:XML;
var _local2:XML;
var _local3:XML;
_local1 = <portal/>
;
_local1.@id = site_id;
_local1.@language = preferedLanguage;
_local1.@channel = portalGroup;
_local2 = <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);
}
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;
_local5 = ("http://" + domain);
_local5 = (_local5 + ("/" + moreLink));
if (useGoogleAnalitics){
_local5 = (_local5 + ("?utm_medium=brandedgames_" + (_arg2) ? "external" : "internal"));
_local5 = (_local5 + ("&utm_campaign=" + _arg1));
_arg3 = stripSubDomain(_arg3);
if (_arg3 == "localhost"){
_arg3 = "offline_play";
};
_local5 = (_local5 + ("&utm_source=" + _arg3));
if (((!((_arg4 == ""))) && (!((_arg4 == null))))){
_local5 = (_local5 + ("&utm_content=" + _arg4));
};
};
return (_local5);
}
private function get utm_campaign():String{
if (isExternal){
return (("utm_campaign=" + hostingDomain));
};
return ("");
}
public function get backgroundColor():uint{
return (PortalGroup.backgroundColors[portalGroup]);
}
public function getPromotionLink(_arg1:String, _arg2:String, _arg3:Boolean, _arg4:String="", _arg5:String=""):String{
var _local6:String;
_local6 = ("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_term():String{
return ("utm_term=");
}
public function importXML(_arg1:XMLNode):void{
}
public function getSendToFriendLink(_arg1:String, _arg2:String, _arg3:Boolean, _arg4:String=""):String{
var _local5:String;
if (!hasSendToFriendLink){
return (getMoreGamesLink(_arg1, _arg3));
};
_local5 = ("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);
}
private static function stripSubDomain(_arg1:String):String{
var _local2:Array;
if (!_arg1){
return ("");
};
_local2 = _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 48
//BrandingLogo (spill.localisation.BrandingLogo)
package spill.localisation {
import flash.display.*;
import flash.events.*;
public class BrandingLogo extends MovieClip {
public function BrandingLogo(){
addFrameScript(0, frame1);
super();
stop();
mouseEnabled = false;
mouseChildren = false;
addEventListener(Event.ADDED_TO_STAGE, added, false, 0, true);
addEventListener(Event.REMOVED_FROM_STAGE, removed, false, 0, true);
if (stage){
added();
};
brandingChanged();
}
private function added(_arg1:Event=null):void{
SpilGame.addEventListener("brandingChanged", brandingChanged, false, 0, true);
brandingChanged();
}
private function brandingChanged(_arg1:Event=null):void{
if (SpilGame.currentBranding){
gotoAndStop(SpilGame.currentBranding.domain);
};
}
function frame1(){
stop();
}
private function removed(_arg1:Event):void{
SpilGame.removeEventListener("brandingChanged", brandingChanged);
}
}
}//package spill.localisation
Section 49
//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 _local1:Array;
var _local2:Brand;
_local1 = 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 = 107;
_local1.domain = "www.agame.co.uk";
_local1.preferedLanguage = "en_uk";
_local1.portalGroup = PortalGroup.TEENS;
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 102;
_local1.domain = "www.girlsgogames.co.uk";
_local1.preferedLanguage = "en_uk";
_local1.portalGroup = PortalGroup.GIRL;
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 2;
_local1.domain = "www.game.com.cn";
_local1.moreLink = "moregames/";
_local1.preferedLanguage = "cn";
_local1.portalGroup = PortalGroup.NONE;
_local1.useGoogleAnalitics = false;
_local1.hasSendToFriendLink = false;
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 25;
_local1.domain = "www.spel.nl";
_local1.portalGroup = PortalGroup.TEENS;
_local1.preferedLanguage = "nl";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 1;
_local1.domain = "www.spelletjes.nl";
_local1.emailLink = "spel";
_local1.portalGroup = PortalGroup.FAMILY;
_local1.preferedLanguage = "nl";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 93;
_local1.domain = "www.girlsgogames.nl";
_local1.emailLink = "spel";
_local1.portalGroup = PortalGroup.GIRL;
_local1.preferedLanguage = "nl";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 12;
_local1.domain = "www.jeu.fr";
_local1.emailLink = "jeu";
_local1.portalGroup = PortalGroup.TEENS;
_local1.preferedLanguage = "fr";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 95;
_local1.domain = "www.girlsgogames.fr";
_local1.emailLink = "jeu";
_local1.portalGroup = PortalGroup.GIRL;
_local1.preferedLanguage = "fr";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 11;
_local1.domain = "www.jeux.fr";
_local1.emailLink = "jeu";
_local1.portalGroup = PortalGroup.FAMILY;
_local1.preferedLanguage = "fr";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 26;
_local1.domain = "www.spielen.com";
_local1.emailLink = "spiel";
_local1.portalGroup = PortalGroup.TEENS;
_local1.preferedLanguage = "de";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 94;
_local1.domain = "www.girlsgogames.de";
_local1.emailLink = "spiel";
_local1.portalGroup = PortalGroup.GIRL;
_local1.preferedLanguage = "de";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 5;
_local1.domain = "www.jetztspielen.de";
_local1.emailLink = "spiel";
_local1.portalGroup = PortalGroup.FAMILY;
_local1.preferedLanguage = "de";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 109;
_local1.domain = "www.minigry.pl";
_local1.emailLink = "gra";
_local1.portalGroup = PortalGroup.TEENS;
_local1.preferedLanguage = "pl";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 16;
_local1.domain = "www.gry.pl";
_local1.emailLink = "gra";
_local1.portalGroup = PortalGroup.FAMILY;
_local1.preferedLanguage = "pl";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 98;
_local1.domain = "www.girlsgogames.pl";
_local1.emailLink = "gra";
_local1.portalGroup = PortalGroup.GIRL;
_local1.preferedLanguage = "pl";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 108;
_local1.domain = "www.spel.se";
_local1.emailLink = "spel_";
_local1.portalGroup = PortalGroup.TEENS;
_local1.preferedLanguage = "se";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 100;
_local1.domain = "www.girlsgogames.se";
_local1.emailLink = "spel_";
_local1.portalGroup = PortalGroup.GIRL;
_local1.preferedLanguage = "se";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 44;
_local1.domain = "www.spela.se";
_local1.emailLink = "spel_";
_local1.preferedLanguage = "se";
_local1.portalGroup = PortalGroup.FAMILY;
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 106;
_local1.domain = "www.giocaregratis.it";
_local1.emailLink = "gioco";
_local1.portalGroup = PortalGroup.TEENS;
_local1.preferedLanguage = "it";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 15;
_local1.domain = "www.gioco.it";
_local1.emailLink = "gioco";
_local1.portalGroup = PortalGroup.FAMILY;
_local1.preferedLanguage = "it";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 99;
_local1.domain = "www.girlsgogames.it";
_local1.emailLink = "gioco";
_local1.portalGroup = PortalGroup.GIRL;
_local1.preferedLanguage = "it";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 97;
_local1.domain = "www.zapjuegos.com";
_local1.emailLink = "juego";
_local1.portalGroup = PortalGroup.TEENS;
_local1.preferedLanguage = "es";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 86;
_local1.domain = "www.juegos.com";
_local1.emailLink = "juego";
_local1.portalGroup = PortalGroup.FAMILY;
_local1.preferedLanguage = "es";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 96;
_local1.domain = "www.juegosdechicas.com";
_local1.emailLink = "juego";
_local1.portalGroup = PortalGroup.GIRL;
_local1.preferedLanguage = "es";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 122;
_local1.domain = "www.girlsgogames.es";
_local1.emailLink = "juego";
_local1.portalGroup = PortalGroup.GIRL;
_local1.preferedLanguage = "es";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 125;
_local1.domain = "www.juegos.mx";
_local1.emailLink = "juego";
_local1.portalGroup = PortalGroup.TEENS;
_local1.preferedLanguage = "es";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 126;
_local1.domain = "www.juegosdechicas.mx";
_local1.emailLink = "juego";
_local1.portalGroup = PortalGroup.GIRL;
_local1.preferedLanguage = "es";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 127;
_local1.domain = "www.juegos.com.ar";
_local1.emailLink = "juego";
_local1.portalGroup = PortalGroup.TEENS;
_local1.preferedLanguage = "es";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 128;
_local1.domain = "www.juegosdechicas.com.ar";
_local1.emailLink = "juego";
_local1.portalGroup = PortalGroup.GIRL;
_local1.preferedLanguage = "es";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 91;
_local1.domain = "www.clickjogos.com";
_local1.emailLink = "jogo";
_local1.portalGroup = PortalGroup.TEENS;
_local1.preferedLanguage = "br";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 101;
_local1.domain = "www.girlsgogames.com.br";
_local1.emailLink = "jogo";
_local1.portalGroup = PortalGroup.GIRL;
_local1.preferedLanguage = "br";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 50;
_local1.domain = "www.ojogos.com.br";
_local1.emailLink = "jogo";
_local1.portalGroup = PortalGroup.FAMILY;
_local1.preferedLanguage = "br";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 55;
_local1.domain = "www.games.co.id";
_local1.emailLink = "permainanme";
_local1.portalGroup = PortalGroup.TEENS;
_local1.preferedLanguage = "id";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 105;
_local1.domain = "www.flashgames.ru";
_local1.emailLink = "igra";
_local1.portalGroup = PortalGroup.TEENS;
_local1.preferedLanguage = "ru";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 104;
_local1.domain = "www.girlsgogames.ru";
_local1.emailLink = "igra";
_local1.portalGroup = PortalGroup.GIRL;
_local1.preferedLanguage = "ru";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 103;
_local1.domain = "www.ourgames.ru";
_local1.emailLink = "igra";
_local1.portalGroup = PortalGroup.FAMILY;
_local1.preferedLanguage = "ru";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 24;
_local1.domain = "www.game.co.in";
_local1.emailLink = "game";
_local1.portalGroup = PortalGroup.TEENS;
_local1.preferedLanguage = "in";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 87;
_local1.domain = "www.ojogos.pt";
_local1.emailLink = "jogo";
_local1.portalGroup = PortalGroup.FAMILY;
_local1.preferedLanguage = "pt";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 120;
_local1.domain = "www.egames.jp";
_local1.emailLink = "game";
_local1.portalGroup = PortalGroup.TEENS;
_local1.preferedLanguage = "jp";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 121;
_local1.domain = "www.dailygame.com";
_local1.emailLink = "/game/";
_local1.portalGroup = PortalGroup.FAMILY;
_local1.preferedLanguage = "en_us";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 123;
_local1.domain = "www.zapapa.com";
_local1.emailLink = "game";
_local1.portalGroup = PortalGroup.ZAPAPA;
_local1.preferedLanguage = "en_us";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 124;
_local1.domain = "www.zapapa.nl";
_local1.emailLink = "game";
_local1.portalGroup = PortalGroup.HYVES;
_local1.preferedLanguage = "nl";
addBrand(_local1);
_local1 = new Brand();
_local1.site_id = 0;
_local1.domain = "gamedev.dev.spilgames.com";
_local1.portalGroup = PortalGroup.FAMILY;
_local1.preferedLanguage = "en_us";
addBrand(_local1);
}
public static function exportXML():XML{
var _local1:XML;
var _local2:Brand;
_local1 = <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 50
//Language (spill.localisation.Language)
package spill.localisation {
import flash.xml.*;
public class Language {
public var references:Array;
public var name:String;
public var embedInputFonts:Boolean;// = true
public var forceFont:String;// = null
public var id:uint;
public var portal_groups:Array;
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){
embedFonts = true;
embedInputFonts = true;
forceFont = null;
references = [];
displayName = "";
super();
name = _arg1;
dname = _arg2;
portal_groups = new Array();
}
public function exportXML():XMLNode{
var _local1:XMLNode;
var _local2:XMLNode;
var _local3:Array;
var _local4:Array;
var _local5:int;
_local1 = 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;
_local2 = new XMLNode(1, "display_name");
_local2.firstChild = new XMLNode(3, displayName);
_local1.appendChild(_local2);
_local3 = [];
_local4 = PortalGroup.channelNames;
_local5 = 0;
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{
trace("Language", portal_groups[PortalGroup.GIRL]);
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 51
//Languages (spill.localisation.Languages)
package spill.localisation {
import flash.xml.*;
public class Languages {
public static var languages:Object = new Object();
private static var _init:Boolean = false;
public static function initialize():void{
var _local1:Language;
if (_init){
return;
};
_init = true;
_local1 = new Language("nl");
_local1.displayName = "Nederlands";
_local1.p_family = "www.spelletjes.nl";
_local1.p_tween = "www.spel.nl";
_local1.p_girl = "www.girlsgogames.nl";
_local1.p_teen = "www.a10.com";
_local1.p_zapapa = "www.zapapa.com";
_local1.p_hyves = "www.zapapa.nl";
_local1.bwcId = 3;
addLanguage(_local1);
_local1 = new Language("es");
_local1.displayName = "Español";
_local1.p_family = "www.juegos.com";
_local1.p_tween = "www.zapjuegos.com";
_local1.p_girl = "www.girlsgogames.es";
_local1.p_teen = "www.a10.com";
_local1.p_zapapa = "www.zapapa.com";
_local1.bwcId = 9;
addLanguage(_local1);
_local1 = new Language("pl");
_local1.displayName = "Polski";
_local1.p_family = "www.gry.pl";
_local1.p_tween = "www.gry.pl";
_local1.p_girl = "www.girlsgogames.pl";
_local1.p_teen = "www.a10.com";
_local1.p_zapapa = "www.zapapa.com";
_local1.bwcId = 6;
addLanguage(_local1);
_local1 = new Language("fr");
_local1.displayName = "Français";
_local1.p_family = "www.jeux.fr";
_local1.p_tween = "www.jeu.fr";
_local1.p_girl = "www.girlsgogames.fr";
_local1.p_teen = "www.a10.com";
_local1.p_zapapa = "www.zapapa.com";
_local1.bwcId = 4;
addLanguage(_local1);
_local1 = new Language("en_us", "us");
_local1.displayName = "English";
_local1.p_family = "www.gamesgames.com";
_local1.p_tween = "www.agame.com";
_local1.p_girl = "www.girlsgogames.com";
_local1.p_teen = "www.a10.com";
_local1.p_zapapa = "www.zapapa.com";
_local1.bwcId = 1;
addLanguage(_local1);
addReference(_local1, "en");
_local1 = new Language("id");
_local1.displayName = "Bahasa Ind.";
_local1.p_family = "www.games.co.id";
_local1.p_tween = "www.games.co.id";
_local1.p_girl = "www.games.co.id";
_local1.p_teen = "www.a10.com";
_local1.p_zapapa = "www.zapapa.com";
_local1.bwcId = 11;
addLanguage(_local1);
_local1 = new Language("ru");
_local1.displayName = "Русский";
_local1.p_family = "www.ourgames.ru";
_local1.p_tween = "www.flashgames.ru";
_local1.p_girl = "www.girlsgogames.ru";
_local1.p_teen = "www.a10.com";
_local1.p_zapapa = "www.zapapa.com";
_local1.bwcId = 12;
addLanguage(_local1);
_local1 = new Language("se");
_local1.displayName = "Svenska";
_local1.p_family = "www.spela.se";
_local1.p_tween = "www.spel.se";
_local1.p_girl = "www.girlsgogames.se";
_local1.p_teen = "www.a10.com";
_local1.p_zapapa = "www.zapapa.com";
_local1.bwcId = 7;
addLanguage(_local1);
addReference(_local1, "sv");
_local1 = new Language("it");
_local1.displayName = "Italiano";
_local1.p_family = "www.gioco.it";
_local1.p_tween = "www.gioco.it";
_local1.p_girl = "www.girlsgogames.it";
_local1.p_teen = "www.a10.com";
_local1.p_zapapa = "www.zapapa.com";
_local1.bwcId = 8;
addLanguage(_local1);
_local1 = new Language("en_uk", "uk");
_local1.displayName = "English";
_local1.p_family = "www.games.co.uk";
_local1.p_tween = "www.agame.com";
_local1.p_girl = "www.girlsgogames.co.uk";
_local1.p_teen = "www.a10.com";
_local1.p_zapapa = "www.zapapa.com";
_local1.bwcId = 13;
addLanguage(_local1);
_local1 = new Language("cn");
_local1.displayName = "中文";
_local1.p_family = "www.game.com.cn";
_local1.p_tween = "www.game.com.cn";
_local1.p_girl = "www.game.com.cn";
_local1.p_teen = "www.game.com.cn";
_local1.p_zapapa = "www.zapapa.com";
_local1.bwcId = 2;
_local1.embedFonts = false;
_local1.embedInputFonts = false;
_local1.forceFont = "_sans";
addLanguage(_local1);
addReference(_local1, "zh-CN");
addReference(_local1, "zh-TW");
_local1 = new Language("pt");
_local1.displayName = "Português";
_local1.p_family = "www.ojogos.pt";
_local1.p_tween = "www.agame.com";
_local1.p_girl = "www.ojogos.pt";
_local1.p_teen = "www.a10.com";
_local1.p_zapapa = "www.zapapa.com";
_local1.bwcId = 17;
addLanguage(_local1);
_local1 = new Language("in");
_local1.displayName = "English";
_local1.p_family = "www.game.co.in";
_local1.p_tween = "www.game.co.in";
_local1.p_girl = "www.game.co.in";
_local1.p_teen = "www.a10.com";
_local1.p_zapapa = "www.zapapa.com";
_local1.textLanguage = "en_uk";
_local1.bwcId = 14;
addLanguage(_local1);
_local1 = new Language("de");
_local1.displayName = "Deutsch";
_local1.p_family = "www.jetztspielen.de";
_local1.p_tween = "www.spielen.com";
_local1.p_girl = "www.girlsgogames.de";
_local1.p_teen = "www.a10.com";
_local1.p_zapapa = "www.zapapa.com";
_local1.bwcId = 5;
addLanguage(_local1);
_local1 = new Language("br");
_local1.displayName = "Português (BR)";
_local1.p_family = "www.ojogos.com.br";
_local1.p_tween = "www.clickjogos.com";
_local1.p_girl = "www.girlsgogames.com.br";
_local1.p_teen = "www.a10.com";
_local1.p_zapapa = "www.zapapa.com";
_local1.bwcId = 10;
addLanguage(_local1);
_local1 = new Language("jp");
_local1.displayName = "日本語";
_local1.p_family = "www.egames.jp";
_local1.p_tween = "www.egames.jp";
_local1.p_girl = "www.egames.jp";
_local1.p_teen = "www.a10.com";
_local1.p_zapapa = "www.zapapa.com";
_local1.embedFonts = true;
_local1.embedInputFonts = false;
_local1.forceFont = "MS UI Gothic";
_local1.bwcId = 19;
addLanguage(_local1);
addReference(_local1, "ja");
_local1 = new Language("ar");
_local1.displayName = "English";
_local1.p_family = "www.dailygame.com";
_local1.p_tween = "www.dailygame.com";
_local1.p_girl = "www.dailygame.com";
_local1.p_teen = "www.a10.com";
_local1.p_zapapa = "www.zapapa.com";
_local1.bwcId = 20;
addLanguage(_local1);
addReference(_local1, "ar");
_local1 = new Language("es_mx", "mx");
_local1.displayName = "Español";
_local1.p_family = "www.juegos.mx";
_local1.p_tween = "www.juegos.mx";
_local1.p_girl = "www.juegosdechicas.mx";
_local1.p_teen = "www.a10.com";
_local1.p_zapapa = "www.zapapa.com";
_local1.textLanguage = "es";
addLanguage(_local1);
addReference(_local1, "mx");
_local1 = new Language("es_ar", "arg");
_local1.displayName = "Español";
_local1.p_family = "www.juegos.com.ar";
_local1.p_tween = "www.juegos.com.ar";
_local1.p_girl = "www.juegosdechicas.com.ar";
_local1.p_teen = "www.a10.com";
_local1.p_zapapa = "www.zapapa.com";
_local1.textLanguage = "es";
addLanguage(_local1);
addReference(_local1, "arg");
}
public static function exportXML():XMLNode{
var _local1:Array;
var _local2:XMLNode;
var _local3:Language;
_local1 = getLanguagesArray();
_local2 = new XMLNode(1, "languages");
for each (_local3 in _local1) {
_local2.appendChild(_local3.exportXML());
};
return (_local2);
}
public static function getLanguagesArray():Array{
var _local1:Array;
var _local2:Object;
var _local3:Language;
_local1 = new Array();
_local2 = 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 52
//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 mc:MovieClip;
private var popup:MovieClip;
private var languageName_text:TextField;
public function LanguageSelectBox(){
trace("new langselecbox");
super();
if (numChildren > 0){
removeChildAt(0);
};
addEventListener(Event.ADDED_TO_STAGE, added, false, 0, true);
addEventListener(Event.REMOVED_FROM_STAGE, removed, false, 0, true);
addEventListener(MouseEvent.MOUSE_OVER, mouseOver, false, 0, true);
addEventListener(MouseEvent.MOUSE_OUT, mouseOut, false, 0, true);
Languages.initialize();
popup = new LanguageSelectPopup_mc();
x = Math.round(x);
y = Math.round(y);
popup.y = (-(Math.floor(popup.height)) + 1);
popup.visible = false;
addChild(popup);
mc = new LanguageSelectBox_mc();
addChild(mc);
flag = mc.flag;
languageName_text = mc.languageName_text;
if (stage){
added();
};
init();
languageChanged();
}
private function added(_arg1:Event=null):void{
trace("addedselebnox");
SpilGame.addEventListener("languageChanged", languageChanged, false, 0, true);
}
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);
};
}
public function init():void{
var _local1:Array;
var _local2:int;
var _local3:MovieClip;
var _local4:Language;
trace("initselectbox");
_local1 = new Array(popup.l_br, popup.l_de, popup.l_en_us, popup.l_fr, popup.l_in, popup.l_jp, popup.l_pt, popup.l_ru, popup.l_ar, popup.l_cn, popup.l_en_uk, popup.l_es, popup.l_id, popup.l_it, popup.l_nl, popup.l_pl, popup.l_se, popup.l_es_mx, popup.l_es_ar);
_local2 = 0;
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 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;
languageName_text.embedFonts = SpilGame.currentLanguage.embedInputFonts;
};
}
private function mouseOut(_arg1:MouseEvent):void{
popup.visible = false;
}
private function removed(_arg1:Event):void{
SpilGame.removeEventListener("languageChanged", languageChanged);
}
private function itemClicked(_arg1:MouseEvent):void{
SpilGame.changeLanguage(_arg1.currentTarget.name.substr(2));
popup.visible = false;
}
}
}//package spill.localisation
Section 53
//LanguageSelectBox_mc (spill.localisation.LanguageSelectBox_mc)
package spill.localisation {
import flash.display.*;
import flash.text.*;
public dynamic class LanguageSelectBox_mc extends MovieClip {
public var flag:MovieClip;
public var languageName_text:TextField;
}
}//package spill.localisation
Section 54
//LanguageSelectPopup_mc (spill.localisation.LanguageSelectPopup_mc)
package spill.localisation {
import flash.display.*;
public dynamic class LanguageSelectPopup_mc extends MovieClip {
public var l_se:MovieClip;
public var l_ar:MovieClip;
public var l_br:MovieClip;
public var l_in:MovieClip;
public var l_cn:MovieClip;
public var l_de:MovieClip;
public var l_es_mx:MovieClip;
public var l_es:MovieClip;
public var l_en_uk:MovieClip;
public var l_fr:MovieClip;
public var l_en_us:MovieClip;
public var l_pl:MovieClip;
public var l_pt:MovieClip;
public var l_nl:MovieClip;
public var l_id:MovieClip;
public var l_es_ar:MovieClip;
public var l_it:MovieClip;
public var l_jp:MovieClip;
public var l_ru:MovieClip;
}
}//package spill.localisation
Section 55
//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 languageChanged(_arg1:Event):void{
text = originalText;
updateProperties();
}
override public function set text(_arg1:String):void{
originalText = _arg1;
if ((_arg1 is String)){
super.text = _arg1.replace(regex, replaceFn);
} else {
super.text = "";
};
}
private function removed(_arg1:Event):void{
SpilGame.removeEventListener("languageChanged", languageChanged);
}
private function replaceFn():String{
var _local2:String;
_local2 = SpilGame.getString(arguments[1]);
if (((!(_local2)) || ((_local2 == "")))){
return ((("{" + arguments[1]) + "}"));
};
return (_local2);
}
private function added(_arg1:Event=null):void{
SpilGame.addEventListener("languageChanged", languageChanged, false, 0, true);
text = originalText;
}
}
}//package spill.localisation
Section 56
//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 _local1:XMLNode;
var _local2:int;
var _local3:XMLNode;
_local1 = new XMLNode(1, "channels");
_local2 = 0;
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 57
//spil_internal (spill.localisation.spil_internal)
package spill.localisation {
public namespace spil_internal = "spill.localisation";
}//package spill.localisation
Section 58
//SpilGame (spill.localisation.SpilGame)
package spill.localisation {
import flash.display.*;
import flash.text.*;
import flash.events.*;
import flash.ui.*;
import flash.net.*;
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{
if (currentLanguage.name == "cn"){
return ("http://www.game.com.cn/downloads/");
};
return ("http://www.gameportal.net");
}
public static function getPromotionLink(_arg1:String="feature_promotion"):String{
var _local2:String;
_local2 = (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;
_local2 = strings[_arg1];
if (_local2){
if (currentLanguage.textLanguage){
return (_local2[currentLanguage.textLanguage]);
};
return (_local2[currentLanguage.name]);
//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;
_local2 = 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;
} 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;
trace(_arg1.text);
_arg1.text = _arg1.text.replace(/{([^{}]*)}/g, replaceFn);
trace(_arg1.text);
_arg1.embedFonts = currentLanguage.embedFonts;
if (currentLanguage.forceFont != ""){
_local2 = new TextFormat();
_local2.font = currentLanguage.forceFont;
_arg1.setTextFormat(_local2);
};
}
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;
_local2 = 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{
return (Languages.getLanguage(Capabilities.language));
}
spil_internal static function set cookieLanguage(_arg1:Language):void{
var _local2:SharedObject;
_local2 = 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;
_local1 = <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 _local1:Array;
var _local2:String;
var _local3:Brand;
_local1 = Brandings.getBrandsArray();
_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;
_local2 = (embedDomain) ? embedDomain : hostingDomain;
return (currentBranding.getMoreGamesLink(gameName, isExternal, _local2, _arg1));
}
public static function get isStagingDomain():Boolean{
var _local1:String;
_local1 = ("http://" + embedDomain);
return ((_local1.indexOf("http://stg.") >= 0));
}
spil_internal static function get cookieLanguage():Language{
var _local1:SharedObject;
var _local2:String;
_local1 = SharedObject.getLocal(cookieName, cookiePath);
_local2 = 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 59
//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 60
//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 _text:String;// = "default"
protected var _textSize:Number;// = 12
protected var _embedFonts:Boolean;// = true
protected var _glowColor:uint;// = 0
private var h:Number;
protected var _antiAliasType:String;// = "advanced"
private var w:Number;
protected var _useGlowFilter:Boolean;// = false
protected var _hAlign:String;// = "left"
protected var _textColor:uint;// = 0
protected var _glowStrength:Number;// = 5
protected var _glowBlur:Number;// = 3
private var field:TextField;
protected var _gridFitType:String;// = "pixel"
protected var _glowQuality:Number;// = 1
private var debugBounding:Sprite;
protected var _disableWordwrap:Boolean;// = false
protected var _multiline:Boolean;// = false
protected var _font:String;// = ""
protected var _underline:Boolean;// = false
protected var _vAlign:String;// = "top"
protected var _italic:Boolean;// = false
protected var _bold:Boolean;// = false
private var sizeChanged:Boolean;// = true
private var embeddedFonts:Array;
protected var _selectable:Boolean;// = false
private var format:TextFormat;
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;
var _local2:Number;
var _local3:Number;
sizeChanged = true;
valid = true;
_text = "default";
_textColor = 0;
_textSize = 12;
_multiline = false;
_disableWordwrap = false;
_hAlign = "left";
_vAlign = "top";
_bold = false;
_underline = false;
_italic = false;
_selectable = false;
_font = "";
_embedFonts = true;
_antiAliasType = "advanced";
_gridFitType = "pixel";
_useGlowFilter = false;
_glowBlur = 3;
_glowColor = 0;
_glowStrength = 5;
_glowQuality = 1;
super();
_local1 = ((!((parent == null))) && ((getQualifiedClassName(parent) == "fl.livepreview::LivePreviewParent")));
_local2 = width;
_local3 = 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 get italic():Boolean{
return (_italic);
}
public function get textColor():uint{
return (_textColor);
}
public function get vAlign():String{
return (_vAlign);
}
public function get useGlowFilter():Boolean{
return (_useGlowFilter);
}
public function get selectable():Boolean{
return (_selectable);
}
public function set italic(_arg1:Boolean):void{
_italic = _arg1;
invalidate();
}
public function set text(_arg1:String):void{
_text = _arg1;
invalidate();
}
public function set vAlign(_arg1:String):void{
_vAlign = _arg1;
invalidate();
}
public function get font():String{
return (_font);
}
public function set textColor(_arg1:uint):void{
_textColor = _arg1;
invalidate();
}
public function get antiAliasType():String{
return (_antiAliasType);
}
public function get bold():Boolean{
return (_bold);
}
public function set useGlowFilter(_arg1:Boolean):void{
_useGlowFilter = _arg1;
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 set disableWordwrap(_arg1:Boolean):void{
_disableWordwrap = _arg1;
invalidate();
}
public function get glowQuality():Number{
return (_glowQuality);
}
public function get embedFonts():Boolean{
return (_embedFonts);
}
public function get gridFitType():String{
return (_gridFitType);
}
public function get underline():Boolean{
return (_underline);
}
public function get textSize():Number{
return (_textSize);
}
public function set antiAliasType(_arg1:String):void{
_antiAliasType = _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 {
field.embedFonts = false;
};
if (TextFieldFit.forceFont){
format.font = TextFieldFit.forceFont;
} else {
if (_font != ""){
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);
}
public function set hAlign(_arg1:String):void{
_hAlign = _arg1;
invalidate();
}
private function init(_arg1:Event=null):void{
removeEventListener(Event.RENDER, init);
updateProperties();
layoutText();
}
public function set bold(_arg1:Boolean):void{
_bold = _arg1;
invalidate();
}
private function validate(_arg1:Event=null):void{
updateProperties();
layoutText();
removeEventListener(Event.ENTER_FRAME, validate);
valid = true;
}
public function get text():String{
return (_text);
}
public function set glowBlur(_arg1:Number):void{
_glowBlur = _arg1;
invalidate();
}
private function invalidate():void{
if (valid){
addEventListener(Event.ENTER_FRAME, validate);
if (stage){
stage.invalidate();
};
valid = false;
};
}
public function set embedFonts(_arg1:Boolean):void{
_embedFonts = _arg1;
invalidate();
}
public function set multiline(_arg1:Boolean):void{
_multiline = _arg1;
invalidate();
}
public function get disableWordwrap():Boolean{
return (_disableWordwrap);
}
public function set glowQuality(_arg1:Number):void{
_glowQuality = _arg1;
invalidate();
}
private function layoutText():void{
resizeText();
field.height = (field.textHeight + (gutter * 2));
if (vAlign == "top"){
field.y = 0;
} else {
if (vAlign == "middle"){
field.y = ((h - field.height) / 2);
} else {
if (vAlign == "bottom"){
field.y = (h - field.height);
};
};
};
}
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 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 textSize(_arg1:Number):void{
_textSize = _arg1;
sizeChanged = true;
invalidate();
}
public function set glowColor(_arg1:uint):void{
_glowColor = _arg1;
invalidate();
}
public function get glowColor():uint{
return (_glowColor);
}
public function set glowStrength(_arg1:Number):void{
_glowStrength = _arg1;
invalidate();
}
}
}//package spill.localisation
Section 61
//Bobm (Bobm)
package {
import flash.display.*;
public dynamic class Bobm extends MovieClip {
public function Bobm(){
addFrameScript(11, frame12);
}
function frame12(){
stop();
if (this.parent != null){
MovieClip(this.parent).removeChild(this);
};
}
}
}//package
Section 62
//Card (Card)
package {
import flash.display.*;
import flash.events.*;
public class Card extends MovieClip {
public var Undo:Boolean;// = false
public var OR:Number;
private var Back:Boolean;// = false
public var Layer:Number;
public var Pos:uint;
public var d_Select:MovieClip;
public var InitID:Boolean;
private var ParentList:Array;
private var ChildList:Array;
private var _ID:uint;
public var OX:Number;
public var d_Over:MovieClip;
public var OY:Number;
public static var ColorNum:uint = 3;
public static var TypeNum:uint = 9;
public function Card(){
ChildList = new Array();
ParentList = new Array();
Undo = false;
Back = false;
super();
addFrameScript(0, frame1);
d_Over.visible = false;
d_Select.visible = false;
}
public function setSelect(_arg1:Boolean){
d_Select.visible = _arg1;
}
public function get ID(){
return (_ID);
}
public function getChildList():Array{
return (ChildList);
}
public function checkMate(_arg1:Card){
return ((this.ID == _arg1.ID));
}
public function set ID(_arg1){
_ID = _arg1;
updataState();
}
public function addToChildList(_arg1){
if (ChildList.indexOf(_arg1) == -1){
ChildList.push(_arg1);
};
}
public function breakChild(){
var _local1:*;
var _local2:*;
_local1 = 0;
while (_local1 < ChildList.length) {
_local2 = ChildList[_local1];
_local2.removeFromParentList(this);
_local2.updataState();
_local1++;
};
}
public function get Num(){
return (Math.floor((((_ID - 1) / ColorNum) + 1)));
}
public function checkParemtInit():Boolean{
var _local1:*;
var _local2:Card;
_local1 = 0;
while (_local1 < ParentList.length) {
_local2 = ParentList[_local1];
if (!_local2.InitID){
return (false);
};
_local1++;
};
return (true);
}
function frame1(){
stop();
}
public function getParentList():Array{
return (ParentList);
}
public function setBack(_arg1:Boolean){
Back = _arg1;
this.updataState();
}
public function addToParentList(_arg1){
if (ParentList.indexOf(_arg1) == -1){
ParentList.push(_arg1);
};
}
public function checkClick():Boolean{
return ((ParentList.length == 0));
}
public function clear(){
ChildList.splice(0);
ParentList.splice(0);
}
public function removeFromParentList(_arg1){
var _local2:*;
_local2 = ParentList.indexOf(_arg1);
if (_local2 != -1){
ParentList.splice(_local2, 1);
};
}
public function setOver(_arg1:Boolean){
d_Over.visible = _arg1;
}
public function updataState(){
if (((checkClick()) && (!(Back)))){
gotoAndStop(ID);
} else {
gotoAndStop(53);
};
}
public function bindChild(){
var _local1:*;
var _local2:*;
_local1 = 0;
while (_local1 < ChildList.length) {
_local2 = ChildList[_local1];
_local2.addToParentList(this);
_local2.updataState();
_local1++;
};
}
}
}//package
Section 63
//Config (Config)
package {
public class Config {
public static var SMusic:Boolean = true;
public static var soundChannel;
public static var SSound:Boolean = true;
}
}//package
Section 64
//EmbedObject (EmbedObject)
package {
import flash.system.*;
import flash.external.*;
public class EmbedObject {
private var attemptedPropsRetrieval:Boolean;// = false
private var embedObjectProps:Object;
private static var _singleton:EmbedObject;
private static var SET_CALLBACK_NAME:String = "asorg_setEmbedObjectProps";
public function EmbedObject(){
attemptedPropsRetrieval = false;
super();
initialize();
}
public function external_SetEmbedObjectProps(_arg1:Object){
this.embedObjectProps = _arg1;
}
private function initialize(){
ExternalInterface.addCallback(SET_CALLBACK_NAME, external_SetEmbedObjectProps);
}
public function _getEmbedObjectProps():Object{
if (!attemptedPropsRetrieval){
retrieveEmbedObjectProps();
attemptedPropsRetrieval = true;
};
return (embedObjectProps);
}
public function retrieveEmbedObjectProps(){
retrieveEmbedObjectPropsForTagname("embed");
if (!embedObjectProps){
retrieveEmbedObjectPropsForTagname("object");
};
}
public function executeJS(_arg1:String):Object{
return (ExternalInterface.call((("function() {" + _arg1) + "}")));
}
public function retrieveEmbedObjectPropsForTagname(_arg1:String){
var _local2:String;
if ((((Capabilities.playerType == "PlugIn")) || ((Capabilities.playerType == "ActiveX")))){
_local2 = (((((("var elts = document.getElementsByTagName('" + _arg1) + "'); for (var i=0;i<elts.length;i++) {if(typeof elts[i].") + SET_CALLBACK_NAME) + " != 'undefined') { if (!elts[i].getAttribute('id')) {elts[i].setAttribute('id','asorgid_'+Math.floor(Math.random()*100000));} var props = {}; props.id = elts[i].getAttribute('id'); for (var x=0; x < elts[i].attributes.length; x++) { props[elts[i].attributes[x].nodeName] = elts[i].attributes[x].nodeValue;} elts[i].") + SET_CALLBACK_NAME) + "(props); }}");
singleton.executeJS(_local2);
} else {
singleton.external_SetEmbedObjectProps({});
};
}
public static function getId():String{
return (getEnumerableParam("id"));
}
public static function getEnumerableParams():Object{
if (!singleton.embedObjectProps){
singleton._getEmbedObjectProps();
};
return (singleton.embedObjectProps);
}
public static function getSingleton():EmbedObject{
if (_singleton == null){
_singleton = new (EmbedObject);
};
return (_singleton);
}
private static function testFunc(){
}
public static function getParamViaExternal(_arg1:String):Object{
return (Object(singleton.executeJS((((("return document.getElementById('" + getEnumerableParam("id")) + "').getAttribute('") + _arg1) + "');"))));
}
public static function get singleton():EmbedObject{
return (getSingleton());
}
public static function getEnumerableParam(_arg1:String):String{
return (String(getEnumerableParams()[_arg1]));
}
}
}//package
Section 65
//EmitList (EmitList)
package {
import flash.display.*;
import gs.*;
public class EmitList {
public var posX:Number;
public var posY:Number;
public var container:DisplayObjectContainer;
private var currentList:Array;
private var list:Array;
public function EmitList(){
list = new Array();
currentList = new Array();
super();
clear();
}
public function addToList(_arg1:Card){
list.push(_arg1);
_arg1.Pos = 3;
_arg1.x = posX;
_arg1.y = posY;
_arg1.OX = _arg1.x;
_arg1.OY = _arg1.y;
_arg1.setBack(true);
_arg1.setSelect(false);
container.setChildIndex(_arg1, (container.numChildren - 1));
}
public function isTop(_arg1:Card):Boolean{
if (currentList[_arg1.Pos][(currentList[_arg1.Pos].length - 1)] == _arg1){
return (true);
};
return (false);
}
public function clear(){
list.splice(0);
currentList[0] = new Array();
currentList[1] = new Array();
currentList[2] = new Array();
}
public function getList():Array{
var _local1:Array;
_local1 = list.concat(currentList[0]);
_local1 = _local1.concat(currentList[1]);
return (_local1.concat(currentList[2]));
}
public function reset(){
var _local1:Array;
var _local2:uint;
var _local3:uint;
var _local4:uint;
var _local5:Card;
_local1 = new Array();
_local2 = Math.max(currentList[0].length, currentList[1].length);
_local2 = Math.max(_local2, currentList[2].length);
_local3 = 0;
while (_local3 < _local2) {
_local4 = 0;
while (_local4 < 3) {
if (currentList[_local4].length > 0){
_local1.push(currentList[_local4].pop());
};
_local4++;
};
_local3++;
};
_local3 = 0;
while (_local3 < _local1.length) {
_local5 = _local1[_local3];
addToList(_local5);
_local3++;
};
}
public function removeFromCurrentList(_arg1):void{
currentList[_arg1].pop();
}
public function emit(){
var _local1:*;
var _local2:Card;
if (list.length == 0){
return;
};
_local1 = 0;
while (_local1 < 3) {
_local2 = list.pop();
if (_local2 != null){
addToCurrentList(_local2, _local1);
};
_local1++;
};
}
public function addToCurrentList(_arg1:Card, _arg2:uint){
_arg1.Pos = _arg2;
currentList[_arg2].push(_arg1);
_arg1.OX = ((posX + 14) + (58 * (_arg2 + 1)));
_arg1.OY = posY;
_arg1.setBack(false);
_arg1.setSelect(false);
container.setChildIndex(_arg1, (container.numChildren - 1));
TweenLite.to(_arg1, 0.3, {x:_arg1.OX, y:_arg1.OY});
}
public function getTopList():Array{
var _local1:Array;
var _local2:uint;
_local1 = new Array();
_local2 = 0;
while (_local2 < 3) {
if (currentList[_local2].length > 0){
_local1.push(currentList[_local2][(currentList[_local2].length - 1)]);
};
_local2++;
};
return (_local1);
}
}
}//package
Section 66
//FHitTest (FHitTest)
package {
import flash.display.*;
import flash.geom.*;
public class FHitTest {
protected static function getDrawMatrix(_arg1:DisplayObject, _arg2:Rectangle, _arg3:Number):Matrix{
var _local4:Point;
var _local5:Matrix;
var _local6:Matrix;
var _local7:*;
_local6 = _arg1.root.transform.concatenatedMatrix;
_local7 = _arg1.root.localToGlobal(new Point(_arg2.x, _arg2.y));
_local4 = _arg1.localToGlobal(new Point());
_local5 = _arg1.transform.concatenatedMatrix;
_local5.tx = (_local4.x - _local7.x);
_local5.ty = (_local4.y - _local7.y);
_local5.a = (_local5.a / _local6.a);
_local5.d = (_local5.d / _local6.d);
if (_arg3 != 1){
_local5.scale(_arg3, _arg3);
};
return (_local5);
}
public static function complexHitTestObject(_arg1:DisplayObject, _arg2:DisplayObject, _arg3:Number=1):Boolean{
return (!((complexIntersectionRectangle(_arg1, _arg2, _arg3).width == 0)));
}
public static function complexIntersectionRectangle(_arg1:DisplayObject, _arg2:DisplayObject, _arg3:Number=1):Rectangle{
var _local4:Rectangle;
var _local5:BitmapData;
var _local6:Rectangle;
if (_arg3 <= 0){
throw (new Error("ArgumentError: Error #5001: Invalid value for accurracy", 5001));
};
if (!_arg1.hitTestObject(_arg2)){
return (new Rectangle());
};
_local4 = intersectionRectangle(_arg1, _arg2);
if (((((_local4.width * _arg3) < 1)) || (((_local4.height * _arg3) < 1)))){
return (new Rectangle());
};
_local5 = new BitmapData((_local4.width * _arg3), (_local4.height * _arg3), false, 0);
_local5.draw(_arg1, FHitTest.getDrawMatrix(_arg1, _local4, _arg3), new ColorTransform(1, 1, 1, 1, 0xFF, -255, -255, 0xFF));
_local5.draw(_arg2, FHitTest.getDrawMatrix(_arg2, _local4, _arg3), new ColorTransform(1, 1, 1, 1, 0xFF, 0xFF, 0xFF, 0xFF), BlendMode.DIFFERENCE);
_local6 = _local5.getColorBoundsRect(4294967295, 4278255615);
_local5.dispose();
if (_arg3 != 1){
_local6.x = (_local6.x / _arg3);
_local6.y = (_local6.y / _arg3);
_local6.width = (_local6.width / _arg3);
_local6.height = (_local6.height / _arg3);
};
_local6.x = (_local6.x + _local4.x);
_local6.y = (_local6.y + _local4.y);
return (_local6);
}
public static function intersectionRectangle(_arg1:DisplayObject, _arg2:DisplayObject):Rectangle{
var _local3:Rectangle;
var _local4:Rectangle;
var _local5:Rectangle;
if (((((!(_arg1.root)) || (!(_arg2.root)))) || (!(_arg1.hitTestObject(_arg2))))){
return (new Rectangle());
};
_local3 = _arg1.getBounds(_arg1.root);
_local4 = _arg2.getBounds(_arg2.root);
_local5 = new Rectangle();
_local5.x = Math.max(_local3.x, _local4.x);
_local5.y = Math.max(_local3.y, _local4.y);
_local5.width = Math.min(((_local3.x + _local3.width) - _local5.x), ((_local4.x + _local4.width) - _local5.x));
_local5.height = Math.min(((_local3.y + _local3.height) - _local5.y), ((_local4.y + _local4.height) - _local5.y));
return (_local5);
}
}
}//package
Section 67
//Game (Game)
package {
import flash.display.*;
import flash.text.*;
import flash.events.*;
import gs.*;
import flash.media.*;
import flash.utils.*;
public class Game extends MovieClip {
public var d_PauseWindow:MovieClip;
public var d_Next:SimpleButton;
public var d_Pause:MovieClip;
public var d_LevelUp:MovieClip;
public var d_Container:MovieClip;
public var d_Exit:MovieClip;
private var _oldTime:int;
public var d_Music:MovieClip;
public var d_Score:TextField;
public var d_EmitBack:MovieClip;
public var d_ReshuffleWindow:MovieClip;
private var emitList:EmitList;
private var StartEmit:Boolean;
private var timer:Timer;
public var d_Sound:MovieClip;
private var level:int;
public var d_UndoMask:MovieClip;
public var d_UndoBack:MovieClip;
private var num;// = 0
public var d_Hint:MovieClip;
private var undoList:UndoList;
public var d_Level:TextField;
private var cardList:Array;
public var d_Time:TextField;
private var curSel:Card;// = null
public var d_Shuffle:MovieClip;
public var d_Undo:MovieClip;
public static var AllScore:int = 0;
public function Game(){
num = 0;
curSel = null;
super();
while (d_Container.numChildren != 0) {
d_Container.removeChildAt(0);
};
d_PauseWindow.visible = false;
d_PauseWindow.d_Pause.addEventListener(MouseEvent.CLICK, onPause);
d_Pause.addEventListener(MouseEvent.CLICK, onPause);
d_Pause.buttonMode = true;
d_Hint.addEventListener(MouseEvent.CLICK, onHint);
d_Hint.buttonMode = true;
d_Undo.addEventListener(MouseEvent.CLICK, onUndo);
d_Undo.buttonMode = true;
d_Exit.addEventListener(MouseEvent.CLICK, onExit);
d_Exit.buttonMode = true;
d_Sound.addEventListener(MouseEvent.CLICK, onSound);
d_Sound.buttonMode = true;
d_Music.addEventListener(MouseEvent.CLICK, onMusic);
d_Music.buttonMode = true;
d_LevelUp.visible = false;
d_LevelUp.d_Play.addEventListener(MouseEvent.CLICK, onPlay);
d_Shuffle.addEventListener(MouseEvent.CLICK, onReshuffling);
d_Shuffle.buttonMode = true;
d_ReshuffleWindow.addEventListener("reshuffling_over", onReshuffling_Over);
d_ReshuffleWindow.visible = false;
timer = new Timer(1000);
timer.addEventListener(TimerEvent.TIMER, onTimer);
emitList = new EmitList();
emitList.container = d_Container;
undoList = new UndoList();
undoList.container = d_Container;
d_EmitBack.d_Reset.addEventListener(MouseEvent.CLICK, onEmitReset);
d_Next.addEventListener(MouseEvent.CLICK, onNextLevel);
Score = 0;
level = 1;
d_Level.text = String(level);
Layout.selLayout = 0;
SoundMixer.stopAll();
onPlay();
}
function onMouseOver(_arg1){
var _local2:Card;
_local2 = _arg1.currentTarget;
if (((((_local2.checkClick()) && (!((_local2.Pos == 3))))) && (!(_local2.Undo)))){
_local2.setOver(true);
};
}
function findClear(_arg1:Boolean=false):Array{
var _local2:Array;
var _local3:int;
var _local4:*;
var _local5:*;
_local2 = new Array();
_local3 = 0;
while (_local3 < cardList.length) {
_local4 = cardList[_local3];
if (_local4.checkClick()){
_local2.push(_local4);
};
_local3++;
};
if (_arg1){
_local2 = _local2.concat(emitList.getList());
} else {
_local2 = _local2.concat(emitList.getTopList());
};
_local3 = 0;
while (_local3 < (_local2.length - 1)) {
_local5 = (_local3 + 1);
while (_local5 < _local2.length) {
if (_local2[_local3].checkMate(_local2[_local5])){
return ([_local2[_local3], _local2[_local5]]);
};
_local5++;
};
_local3++;
};
return (null);
}
function onEmitReset(_arg1){
if (StartEmit){
return;
};
emitList.reset();
}
function initCard(_arg1=null){
var card:Card;
var mpos:Array;
var tempID:Array;
var i:*;
var maxnum:*;
var e = _arg1;
while (d_Container.numChildren != 0) {
card = Card(d_Container.removeChildAt(0));
card.removeEventListener(MouseEvent.MOUSE_OVER, onMouseOver);
card.removeEventListener(MouseEvent.MOUSE_OUT, onMouseOut);
card.removeEventListener(MouseEvent.CLICK, onMouseClick);
card.clear();
};
curSel = null;
cardList = new Array();
mpos = Layout.initLayout(Layout.selLayout, d_Container, cardList);
num = d_Container.numChildren;
tempID = new Array();
i = 0;
while (i < cardList.length) {
card = cardList[i];
card.updataState();
tempID.push(card.ID);
card.addEventListener(MouseEvent.MOUSE_OVER, onMouseOver);
card.addEventListener(MouseEvent.MOUSE_OUT, onMouseOut);
card.addEventListener(MouseEvent.CLICK, onMouseClick);
i = (i + 1);
};
tempID.sort(Array.NUMERIC);
d_EmitBack.y = ((mpos[0] * 10) + d_Container.y);
d_EmitBack.x = ((mpos[1] * 10) + d_Container.x);
d_UndoBack.y = ((mpos[2] * 10) + d_Container.y);
d_UndoBack.x = ((mpos[3] * 10) + d_Container.x);
d_UndoMask.y = ((mpos[2] * 10) + d_Container.y);
d_UndoMask.x = ((mpos[3] * 10) + d_Container.x);
emitList.posY = ((d_EmitBack.y - d_Container.y) + 45);
emitList.posX = ((d_EmitBack.x - d_Container.x) + 30);
undoList.posY = ((d_UndoBack.y - d_Container.y) + 45);
undoList.posX = ((d_UndoBack.x - d_Container.x) + 30);
emitList.clear();
maxnum = (Card.ColorNum * Card.TypeNum);
i = 0;
while (i < 12) {
if (tempID.length == 0){
tempID.push((Math.floor((Math.random() * maxnum)) + 1));
tempID.push(tempID[0]);
};
card = new Card();
card.ID = tempID.pop();
card.buttonMode = true;
d_Container.addChild(card);
card.addEventListener(MouseEvent.MOUSE_OVER, onMouseOver);
card.addEventListener(MouseEvent.MOUSE_OUT, onMouseOut);
card.addEventListener(MouseEvent.CLICK, onMouseClick);
emitList.addToList(card);
i = (i + 1);
};
undoList.clear();
TweenLite.delayedCall(0.3, emitList.emit);
StartEmit = true;
TweenLite.delayedCall(0.3, function (){
StartEmit = false;
});
randCard();
}
public function clear(){
emitList.container = null;
emitList.clear();
undoList.container = null;
undoList.clear();
}
function onSound(_arg1){
var _local2:*;
if (d_Sound.currentFrame == 1){
d_Sound.gotoAndStop(2);
Config.SSound = false;
if (Config.soundChannel == null){
return;
};
Config.soundChannel.soundTransform = new SoundTransform(0);
} else {
d_Sound.gotoAndStop(1);
Config.SSound = true;
if (Config.soundChannel == null){
_local2 = new SBack();
Config.soundChannel = _local2.play(0, 100000);
};
Config.soundChannel.soundTransform = new SoundTransform(1);
};
}
public function get Score(){
return (Game.AllScore);
}
function onTimer(_arg1){
oldTime--;
if (oldTime <= 1){
timer.stop();
timer.removeEventListener(TimerEvent.TIMER, onTimer);
MovieClip(parent).gotoAndStop("over");
};
if (d_PauseWindow.visible == true){
timer.stop();
} else {
if (d_PauseWindow.visible == false){
timer.start();
};
};
}
private function randCard(){
var _local1:uint;
var _local2:Card;
var _local3:Array;
var _local4:Array;
var _local5:Array;
var _local6:Array;
var _local7:Card;
var _local8:Card;
if (num == 0){
return;
};
_local4 = new Array();
_local5 = new Array();
_local1 = 0;
while (_local1 < cardList.length) {
_local2 = cardList[_local1];
_local2.InitID = false;
_local4.push(_local2.ID);
if (_local2.checkClick()){
_local5.push(_local2);
};
_local1++;
};
_local3 = emitList.getList();
_local1 = 0;
while (_local1 < _local3.length) {
_local2 = _local3[_local1];
_local4.push(_local2.ID);
_local1++;
};
_local4.sort(Array.NUMERIC);
_local6 = new Array();
while (_local4.length > 0) {
_local6.push(_local4.pop());
_local4.pop();
};
disorder(_local6);
disorder(_local6);
while (_local6.length > 0) {
_local4.push(_local6.pop());
_local4.push(_local4[(_local4.length - 1)]);
};
_local5 = _local5.concat(emitList.getList());
while (_local5.length > 0) {
disorder(_local5);
_local3 = new Array();
if (_local5.length == 1){
_local2 = _local5.pop();
_local2.InitID = true;
_local2.ID = _local4.pop();
if (_local2.Pos == 4){
_local3 = _local2.getChildList();
};
} else {
_local7 = _local5.pop();
_local8 = _local5.pop();
_local7.ID = _local4.pop();
_local8.ID = _local4.pop();
_local7.InitID = true;
_local8.InitID = true;
if (_local7.Pos == 4){
_local3 = _local7.getChildList();
};
if (_local8.Pos == 4){
_local3 = _local3.concat(_local8.getChildList());
};
};
_local1 = 0;
while (_local1 < _local3.length) {
_local2 = _local3[_local1];
if ((((_local5.indexOf(_local2) == -1)) && (_local2.checkParemtInit()))){
_local5.push(_local2);
};
_local1++;
};
};
}
public function set Score(_arg1){
Game.AllScore = _arg1;
d_Score.text = String(_arg1);
}
function clearCard(_arg1:Card, _arg2:Card){
var _local3:int;
var _local4:*;
var _local5:*;
if (_arg1.Pos == 4){
_local3 = cardList.indexOf(_arg1);
cardList.splice(_local3, 1);
} else {
emitList.removeFromCurrentList(_arg1.Pos);
};
if (_arg2.Pos == 4){
_local3 = cardList.indexOf(_arg2);
cardList.splice(_local3, 1);
} else {
emitList.removeFromCurrentList(_arg2.Pos);
};
if (_arg1.Pos == 4){
num--;
};
if (_arg2.Pos == 4){
num--;
};
Score = (Score + 100);
undoList.add(_arg1, _arg2);
if (Config.SMusic){
_local4 = new SClear();
_local4.play();
};
if ((((num == 0)) || ((((getClearNum() == 1)) && ((emitList.getList().length == 0)))))){
timer.stop();
Layout.setNextLayout();
level++;
d_Level.text = String(level);
d_LevelUp.visible = true;
d_LevelUp.d_TimeScore.text = (oldTime * 10);
Score = (Score + (oldTime * 10));
if (Config.SMusic){
if (Config.soundChannel != null){
Config.soundChannel.stop();
Config.soundChannel = null;
};
_local5 = new SLevel();
_local5.play();
};
} else {
if (findClear(true) == null){
onReshuffling();
};
};
}
function onHint(_arg1){
var _local2:Array;
if (num == 0){
return;
};
_local2 = findClear();
if (_local2 != null){
Score = (Score - 100);
_local2[0].setOver(true);
_local2[1].setOver(true);
};
}
private function onReshuffling_Over(_arg1){
randCard();
d_ReshuffleWindow.visible = false;
timer.start();
}
function onMouseClick(_arg1){
var card:Card;
var s4:*;
var s:*;
var e = _arg1;
card = e.currentTarget;
if (card.Undo){
return;
};
trace(card.Num, card.ID);
if (card.Pos == 3){
if (StartEmit){
return;
};
if (Config.SMusic){
s4 = new SDeck();
s4.play();
};
emitList.emit();
StartEmit = true;
TweenLite.delayedCall(0.3, function (){
StartEmit = false;
});
if (this.curSel != null){
curSel.setSelect(false);
curSel = null;
};
return;
};
if ((((card.Pos == 4)) && (!(card.checkClick())))){
return;
};
if ((((card.Pos <= 2)) && (!(emitList.isTop(card))))){
return;
};
if (card == curSel){
return;
};
if (curSel == null){
curSel = card;
curSel.setSelect(true);
if (Config.SMusic){
};
} else {
if (curSel.checkMate(card)){
curSel.setSelect(false);
card.setSelect(false);
clearCard(curSel, card);
curSel = null;
} else {
if (Config.SMusic){
s = new SClickErr();
s.play();
};
curSel.setSelect(false);
card.setSelect(true);
curSel = card;
};
};
}
public function set oldTime(_arg1){
var _local2:String;
var _local3:String;
_oldTime = _arg1;
_local2 = String(Math.floor((_arg1 / 60)));
if (_local2.length == 1){
_local2 = ("0" + _local2);
};
_local3 = String(Math.floor((_arg1 % 60)));
if (_local3.length == 1){
_local3 = ("0" + _local3);
};
d_Time.text = ((_local2 + ":") + _local3);
}
function onNextLevel(_arg1){
level++;
d_Level.text = String(level);
Layout.setNextLayout();
onPlay();
}
private function onPause(_arg1){
if (timer.running){
timer.stop();
d_PauseWindow.visible = true;
} else {
timer.start();
d_PauseWindow.visible = false;
};
}
function onUndo(_arg1){
var _local2:Array;
var _local3:Card;
_local2 = undoList.undo();
if (_local2 != null){
Score = (Score - 200);
while (_local2.length > 0) {
_local3 = _local2.pop();
if (_local3.Pos == 4){
cardList.push(_local3);
num++;
} else {
emitList.addToCurrentList(_local3, _local3.Pos);
};
};
if (this.curSel != null){
curSel.setSelect(false);
curSel = null;
};
};
}
private function onReshuffling(_arg1=null){
if (_arg1 != null){
Score = (Score - 300);
};
timer.stop();
d_ReshuffleWindow.visible = true;
d_ReshuffleWindow.gotoAndPlay(2);
}
function onMouseOut(_arg1){
var _local2:*;
_local2 = _arg1.currentTarget;
_local2.setOver(false);
}
public function getClearNum(){
var _local1:*;
var _local2:int;
var _local3:*;
_local1 = 0;
_local2 = 0;
while (_local2 < cardList.length) {
_local3 = cardList[_local2];
if (((!((_local3 == null))) && (_local3.checkClick()))){
_local1++;
};
_local2++;
};
return (_local1);
}
public function disorder(_arg1:Array):Array{
var _local2:uint;
var _local3:*;
var _local4:uint;
var _local5:uint;
_local2 = _arg1.length;
_local5 = 0;
while (_local5 < _local2) {
_local4 = int((Math.random() * _local2));
_local3 = _arg1[_local5];
_arg1[_local5] = _arg1[_local4];
_arg1[_local4] = _local3;
_local5++;
};
while (--_local5 >= 0) {
_local4 = int((Math.random() * _local2));
_local3 = _arg1[_local5];
_arg1[_local5] = _arg1[_local4];
_arg1[_local4] = _local3;
};
return (_arg1);
}
public function get oldTime(){
return (_oldTime);
}
function onExit(_arg1){
timer.stop();
timer.removeEventListener(TimerEvent.TIMER, onTimer);
SoundMixer.stopAll();
Config.soundChannel = null;
MovieClip(parent).gotoAndPlay("start");
}
function onMusic(_arg1){
if (d_Music.currentFrame == 1){
d_Music.gotoAndStop(2);
Config.SMusic = false;
} else {
d_Music.gotoAndStop(1);
Config.SMusic = true;
};
}
function onPlay(_arg1=null){
var _local2:*;
if (((Config.SSound) && ((Config.soundChannel == null)))){
_local2 = new SBack();
Config.soundChannel = _local2.play(0, 100000);
};
oldTime = ((3 * 60) - ((level - 1) * 7));
if (oldTime < 30){
oldTime = 30;
};
timer.start();
d_LevelUp.visible = false;
initCard();
}
}
}//package
Section 68
//Layout (Layout)
package {
import flash.display.*;
public class Layout {
public static var selLayout:int = 0;
public static var data:Array;
public static function getLayout(_arg1):String{
return (data[_arg1]);
}
public static function initLayout(_arg1:uint, _arg2:DisplayObjectContainer, _arg3:Array):Array{
var _local4:Array;
var _local5:uint;
var _local6:Card;
var _local7:Array;
var _local8:Array;
var _local9:*;
var _local10:Array;
var _local11:*;
var _local12:Array;
var _local13:Array;
var _local14:*;
var _local15:Card;
var _local16:*;
var _local17:Card;
_local4 = getLayout(_arg1).split("|");
_local7 = new Array();
_local8 = new Array();
_local9 = (Card.ColorNum * Card.TypeNum);
_local5 = 0;
while (_local5 < 5) {
_local8[_local5] = new Array();
_local10 = _local4[_local5].split(",");
if ((_local10.length % 3) != 0){
_local10.pop();
};
_local11 = 0;
while (_local11 < _local10.length) {
if (_local7.length == 0){
_local7.push((Math.floor((Math.random() * _local9)) + 1));
_local7.push(_local7[0]);
};
_local6 = new Card();
_local6.ID = _local7.pop();
_local6.y = (int(_local10[_local11]) * 10);
_local6.x = (int(_local10[(_local11 + 1)]) * 10);
_local6.OX = _local6.x;
_local6.OY = _local6.y;
_local6.Layer = _local5;
_local6.rotation = int(_local10[(_local11 + 2)]);
_local6.OR = _local6.rotation;
_local6.Pos = 4;
_local6.buttonMode = true;
_arg2.addChild(_local6);
_local8[_local5].push(_local6);
_arg3.push(_local6);
_local11 = (_local11 + 3);
};
_local5++;
};
_local5 = 4;
while (_local5 > 0) {
_local12 = _local8[_local5];
_local13 = _local8[(_local5 - 1)];
_local14 = 0;
while (_local14 < _local12.length) {
_local15 = _local12[_local14];
_local16 = 0;
while (_local16 < _local13.length) {
_local17 = _local13[_local16];
if (FHitTest.complexHitTestObject(_local15, _local17)){
_local15.addToChildList(_local17);
};
_local16++;
};
_local15.bindChild();
_local14++;
};
_local5--;
};
return (String(_local4[5]).split(",").concat(String(_local4[6]).split(",")));
}
public static function init(){
if (data != null){
return;
};
data = new Array();
data.push("7,6,-30,7,14,30,15,10,0,37,5,60,29,10,0,37,15,-60,29,21,-60,7,57,30,7,49,-30,15,53,0,37,58,-60,29,53,0,37,48,60,29,44,60,30,32,0,|18,5,30,10,10,0,18,14,-30,34,10,0,25,22,-45,18,58,-30,10,53,0,18,49,30,34,53,0,25,42,45,|21,25,-30,21,39,30,|18,28,-15,18,36,15,|16,32,0,|1,19|35,26|");
data.push("10,4,0,7,18,0,7,28,0,30,24,0,30,5,0,10,60,0,7,46,0,7,36,0,30,40,0,30,59,0,|8,6,15,6,19,0,6,27,0,32,22,0,32,7,0,8,58,-15,6,45,0,6,37,0,32,42,0,32,57,0,|7,9,30,5,23,0,34,20,0,34,9,0,7,55,-30,5,41,0,34,44,0,34,55,0,|36,18,0,36,11,0,36,46,0,36,53,0,|38,15,0,38,49,0,|15,7|15,39|");
data.push("17,3,0,28,11,0,28,26,0,5,11,0,5,26,0,17,61,0,28,53,0,28,38,0,5,53,0,5,38,0,|26,13,0,26,24,0,7,13,0,7,24,0,18,4,15,26,51,0,26,40,0,7,51,0,7,40,0,18,60,-15,|24,22,0,24,15,0,10,15,0,10,22,0,19,5,30,24,42,0,24,49,0,10,49,0,10,42,0,19,59,-30,|22,19,0,12,19,0,22,45,0,12,45,0,|17,19,0,17,45,0,|36,11|36,41|");
data.push("6,7,-60,6,17,60,14,12,0,31,10,0,39,5,60,39,15,-60,6,56,60,6,46,-60,14,51,0,31,53,0,39,58,-60,39,48,60,32,31,0,41,31,0,|4,12,0,12,7,60,12,17,-60,33,15,60,33,5,-60,41,10,0,4,51,0,12,56,-60,12,46,60,33,48,-60,33,58,60,41,53,0,34,37,60,34,26,-60,|9,12,0,36,10,0,9,51,0,36,53,0,38,37,-60,38,26,60,|||16,19|4,25|");
data.push("5,6,-30,16,6,30,27,6,-30,38,6,30,15,17,-30,29,17,30,40,17,-30,5,57,30,16,57,-30,27,57,30,38,57,-30,15,46,30,29,46,-30,40,47,30,|11,6,0,21,6,0,32,6,0,15,20,-30,29,20,30,40,21,30,11,57,0,21,57,0,32,57,0,15,43,30,29,43,-30,40,43,-30,|15,23,-30,29,23,30,15,40,30,29,40,-30,|15,26,-30,29,26,30,15,37,30,29,37,-30,||0,18|36,26|");
data.push("4,3,0,4,11,0,4,19,0,4,27,0,41,3,0,41,11,0,31,4,15,22,7,15,31,12,15,27,21,60,4,60,0,4,52,0,4,44,0,4,36,0,41,60,0,41,52,0,31,59,-15,22,56,-15,31,51,-15,27,42,-60,|7,23,15,7,7,-15,6,15,0,38,7,0,27,9,15,27,25,60,7,40,-15,7,56,15,6,48,0,38,56,0,27,54,-15,27,38,-60,|10,12,-15,10,19,15,10,51,15,10,44,-15,|14,15,0,14,48,0,||35,20|12,26|");
data.push("14,4,15,32,4,-15,41,4,15,5,13,15,14,13,-15,32,13,15,41,13,-15,16,23,0,30,23,0,5,59,15,14,59,-15,32,59,15,41,59,-15,5,50,-15,14,50,15,32,50,-15,41,50,15,16,40,0,30,40,0,16,32,0,30,32,0,5,4,-15,|9,5,0,36,5,0,9,12,0,36,12,0,18,25,0,28,25,0,9,58,0,9,51,0,18,38,0,28,38,0,28,32,0,18,32,0,36,58,0,36,51,0,|23,28,15,23,35,-15,|||36,20|0,25|");
data.push("15,11,-30,15,27,30,26,27,30,5,11,-30,5,27,30,26,11,-30,18,5,-30,7,5,-30,15,52,30,15,36,-30,26,36,-30,5,52,30,5,36,-30,26,52,30,18,58,30,7,58,30,|9,13,0,9,19,0,9,25,0,19,13,0,19,25,0,29,13,0,29,19,0,29,25,0,9,50,0,9,44,0,9,38,0,19,50,0,19,38,0,29,50,0,29,44,0,29,38,0,|15,22,0,15,16,0,24,16,0,24,22,0,15,41,0,15,47,0,24,47,0,24,41,0,|19,19,0,19,44,0,||35,8|35,42|");
data.push("4,2,0,10,16,30,8,25,0,20,5,30,30,5,-30,40,5,30,40,24,15,4,60,0,10,47,-30,8,38,0,20,58,-30,30,58,30,40,58,-30,40,39,-15,|6,4,0,10,16,-30,6,27,0,20,9,30,30,9,-30,40,9,30,40,28,15,6,59,0,10,47,30,6,36,0,20,54,-30,30,54,30,40,54,-30,40,35,-15,|8,6,0,4,29,0,20,13,30,30,13,-30,40,13,30,8,57,0,4,34,0,20,50,-30,30,50,30,40,50,-30,|10,8,0,10,55,0,||14,19|24,26|");
data.push("5,16,0,18,5,0,27,8,0,32,14,0,7,22,0,11,28,0,41,28,0,39,21,0,5,47,0,18,58,0,27,55,0,32,49,0,7,41,0,11,35,0,41,35,0,39,42,0,7,8,0,7,55,0,|9,19,0,9,25,0,11,6,0,20,9,0,36,18,0,40,24,0,29,10,0,9,44,0,9,38,0,11,57,0,20,54,0,36,45,0,40,39,0,29,53,0,8,32,0,41,31,0,8,12,0,8,51,0,|9,9,0,23,12,0,33,14,0,38,21,0,9,54,0,23,51,0,33,49,0,38,42,0,10,16,0,11,23,0,|||16,19|26,26|");
data.push("29,4,0,23,10,0,17,16,0,8,21,0,17,26,0,10,4,15,29,59,0,23,53,0,17,47,0,8,42,0,17,37,0,10,59,-15,26,31,0,|26,7,0,20,13,0,11,18,0,11,24,0,9,6,30,26,56,0,20,50,0,11,45,0,11,39,0,9,57,-30,20,34,0,20,28,0,29,31,0,|14,21,0,16,15,0,24,9,0,9,8,45,14,42,0,16,48,0,24,54,0,9,55,-45,15,27,0,15,36,0,|20,12,0,17,19,0,20,51,0,17,44,0,17,25,0,17,38,0,|19,22,0,19,41,0,|35,8|35,43|");
data.push("16,5,-60,11,8,-60,6,11,-60,6,21,60,11,24,60,16,27,60,25,5,60,30,8,60,35,11,60,16,58,60,11,55,60,6,52,60,6,42,-60,11,39,-60,16,36,-60,25,58,-60,30,55,-60,35,52,-60,|9,11,-60,14,8,-60,9,21,60,14,24,60,26,8,60,31,11,60,9,52,60,14,55,60,9,42,-60,14,39,-60,26,55,-60,31,52,-60,|12,11,-60,12,21,60,28,11,60,12,52,60,12,42,-60,28,52,-60,|16,16,0,25,14,30,16,47,0,25,49,-30,||36,19|26,26|");
data.push("10,5,0,14,11,0,14,17,0,14,23,0,5,11,0,5,17,0,5,23,0,25,5,0,10,58,0,14,52,0,14,46,0,14,40,0,5,52,0,5,46,0,5,40,0,25,58,0,18,32,0,29,32,0,|8,8,0,8,14,0,8,20,0,8,26,0,18,14,0,18,20,0,23,29,0,28,7,0,8,55,0,8,49,0,8,43,0,8,37,0,18,49,0,18,43,0,28,56,0,23,35,0,|12,11,0,12,23,0,6,17,0,15,17,0,27,26,0,29,11,0,12,52,0,12,40,0,6,46,0,15,46,0,29,52,0,27,38,0,|30,15,0,30,48,0,||36,5|36,40|");
data.push("22,4,-15,20,10,-15,18,16,-15,16,22,-15,10,4,-15,8,10,-15,6,16,-15,31,16,-15,29,22,-15,33,10,-15,35,4,-15,22,59,15,20,53,15,18,47,15,16,41,15,10,59,15,8,53,15,6,47,15,31,47,15,29,41,15,33,53,15,35,59,15,28,28,0,28,35,0,|25,24,-15,27,18,-15,19,6,-15,17,12,-15,15,18,-15,6,6,-15,29,12,-15,31,6,-15,25,39,15,27,45,15,19,57,15,17,51,15,15,45,15,6,57,15,29,51,15,31,57,15,4,12,-15,4,51,15,||||35,19|4,26|");
data.push("5,4,-30,5,11,-30,5,18,-30,5,25,-30,15,4,-30,15,11,-30,15,18,-30,15,25,-30,25,4,-30,25,11,-30,25,18,-30,25,25,-30,5,59,30,5,52,30,5,45,30,5,38,30,15,59,30,15,52,30,15,45,30,15,38,30,25,59,30,25,52,30,25,45,30,25,38,30,|5,12,30,5,19,30,5,26,30,15,5,30,15,12,30,15,19,30,15,26,30,25,5,30,25,12,30,25,19,30,25,26,30,5,5,30,5,51,-30,5,44,-30,5,37,-30,15,58,-30,15,51,-30,15,44,-30,15,37,-30,25,58,-30,25,51,-30,25,44,-30,25,37,-30,5,58,-30,|10,5,0,10,12,0,10,19,0,10,26,0,21,5,0,21,12,0,21,19,0,21,26,0,10,58,0,10,51,0,10,44,0,10,37,0,21,58,0,21,51,0,21,44,0,21,37,0,|15,8,0,15,15,0,15,22,0,15,55,0,15,48,0,15,41,0,|18,11,0,18,19,0,18,52,0,18,44,0,|33,3|33,43|");
}
public static function setNextLayout(){
selLayout++;
if (selLayout >= data.length){
selLayout = 0;
};
}
}
}//package
Section 69
//SBack (SBack)
package {
import flash.media.*;
public dynamic class SBack extends Sound {
}
}//package
Section 70
//SClear (SClear)
package {
import flash.media.*;
public dynamic class SClear extends Sound {
}
}//package
Section 71
//SClickErr (SClickErr)
package {
import flash.media.*;
public dynamic class SClickErr extends Sound {
}
}//package
Section 72
//SDeck (SDeck)
package {
import flash.media.*;
public dynamic class SDeck extends Sound {
}
}//package
Section 73
//SLevel (SLevel)
package {
import flash.media.*;
public dynamic class SLevel extends Sound {
}
}//package
Section 74
//SOver (SOver)
package {
import flash.media.*;
public dynamic class SOver extends Sound {
}
}//package
Section 75
//UndoList (UndoList)
package {
import flash.display.*;
import gs.*;
public class UndoList {
public var container:DisplayObjectContainer;
public var posX:Number;
public var posY:Number;
private var list:Array;
public function UndoList(){
list = new Array();
super();
}
public function undo():Array{
var _local1:Array;
var _local2:Card;
var _local3:Card;
_local1 = list.pop();
if (_local1 == null){
return (null);
};
_local2 = _local1[0];
_local3 = _local1[1];
_local2.Undo = false;
_local3.Undo = false;
_local2.bindChild();
_local3.bindChild();
TweenLite.to(_local2, 0.3, {x:_local2.OX, y:_local2.OY, rotation:_local2.OR});
TweenLite.to(_local3, 0.3, {x:_local3.OX, y:_local3.OY, rotation:_local3.OR});
container.setChildIndex(_local2, (container.numChildren - 1));
container.setChildIndex(_local3, (container.numChildren - 1));
return (_local1);
}
public function clear(){
list.splice(0);
}
public function add(_arg1:Card, _arg2:Card){
_arg1.Undo = true;
_arg2.Undo = true;
_arg1.breakChild();
_arg2.breakChild();
TweenLite.to(_arg1, 0.3, {x:posX, y:posY, rotation:0});
TweenLite.to(_arg2, 0.3, {x:(posX + 60), y:posY, rotation:0});
container.setChildIndex(_arg1, (container.numChildren - 1));
container.setChildIndex(_arg2, (container.numChildren - 1));
list.push([_arg1, _arg2]);
}
}
}//package