STORY   LOOP   FURRY   PORN   GAMES
• C •   SERVICES [?] [R] RND   POPULAR
Archived flashes:
228114
/disc/ · /res/     /show/ · /fap/ · /gg/ · /swf/P0001 · P2561 · P5121

<div style="position:absolute;top:-99px;left:-99px;"><img src="http://swfchan.com:57475/73832851?noj=FRM73832851-9DC" width="1" height="1"></div>

Jane's Hotel.swf

This is the info page for
Flash #42551

(Click the ID number above for more basic data on this flash file.)


Text
<p align="center"><font face="Arial Black" size="12" color="#ffffff" letterSpacing="4.000000" kerning="0">LOADING 0%</font></p>

Jane's Hotel

Let Jane's dream come true – become the owner of the hotel and try to win the contest «The best hotel of the town» You have to start from the 2 star hotel and grade it up till 5 star hotel. You have all the opportunities to create the hotel of your dream, furnish it by your taste and be generally recognized. Make your customers happy with the help of perfect service and comfortable rooms. Let us make your stay unforgettable.

Copyright © 2002-2007 Realore Studios
Developed by Alexandr Yakovin [xandrx (dog) gmail.com]
Release date: 2007.10.04

$000

$000

<text>

<text>

День 5

Цель: 350

Популярность: 35

Нажмите любую клавишу

ПОЗДРАВЛЕНИЯ!

Обслуженные клиенты:

0

Потерянные клиенты:

0

Продажи за сегодня:

0

Всего:

0

УРОВЕНЬ 1

Download now to get:
- You can grade your hotel
up from 2 star till 5 star.
- 40 levels\n
- You can upgrade your decor
- Fun sounds, cool visual style,
and humorous animations.

<p align="center"><font face="Arial Black" size="17" color="#ffffff" letterSpacing="1.000000" kerning="0">&lt;text&gt;</font></p>

<text>

<text>

ёйцукенгшщзхъфывапролджэячсмитьбюЁЙЦУКЕНГШЩЗХЪФЫВАПРОЛДЖЭЯЧСМИТЬБЮ

00

<text>

<text>

Популярность:

5

0

1000

$ 100

Надо 30 очков популярности

Деньги:

Надо

Дает

0

0

Свежие газеты

These wonderful flowers make the hotel more beautiful and comfortable. Watching them, customers would not be so concerned with their worries.

$ 100

EXCELLENT

EXCELLENT

R

R

R

Show tips...

This is your new customer. She/he can only occupy a clean room. You have to perform cleaning before the room can be occupied by a customer.

ПОЗДРАВЛЕНИЯ!

Обслуженные клиенты:

0

Потерянные клиенты:

0

Продажи за сегодня:

0

Всего:

0

УРОВЕНЬ 1

_sounds_export_

SELECT YOUR
LANGUAGE

ENTER NAME

Player

SOUND

MUSIC

ПОКАЗЫВАТЬ ПОДСКАЗКИ

status...

1
2
3
4
5
6
7
8
9
10

Xandr
Xandr
Xandr
Xandr
Xandr

1
2
3
4
5
6
7
8
9
10

LOADING

<text>

<text>

000

1

000

Цель

+0

SOUND

MUSIC

PAUSE

ПОКАЗЫВАТЬ ПОДСКАЗКИ

Are you sure want to exit?

Player

SUBMIT SCORE

ENTER NAME

000

YOU SCORE

ActionScript [AS1/AS2]

Frame 1
function getRoot() { var retStr = _root._url; if (retStr.indexOf("file:") != -1) { retStr = "localFile"; } return(retStr); } function __com_mochibot__(swfid, mc, lv, trk) { var x; var g; var s; var fv; var sb; var u; var res; var mb; var mbc; mb = "__mochibot__"; mbc = "mochibot.com"; g = (_global ? (_global) : (_level0._root)); if (g[mb + swfid]) { return(g[mb + swfid]); } s = System.security; x = mc._root.getSWFVersion; fv = (x ? (mc.getSWFVersion()) : ((_global ? 6 : 5))); if (!s) { s = {}; } sb = s.sandboxType; if (sb == "localWithFile") { return(null); } x = s.allowDomain; if (x) { s.allowDomain(mbc); } x = s.allowInsecureDomain; if (x) { s.allowInsecureDomain(mbc); } u = (((((((((((("http://" + mbc) + "/my/core.swf?mv=7&fv=") + fv) + "&v=") + escape(getVersion())) + "&swfid=") + escape(swfid)) + "&l=") + lv) + "&f=") + mc) + (sb ? ("&sb=" + sb) : "")) + (trk ? "&t=1" : ""); lv = ((fv > 6) ? (mc.getNextHighestDepth()) : ((g[mb + "level"] ? (g[mb + "level"] + 1) : (lv)))); g[mb + "level"] = lv; if (fv == 5) { res = "_level" + lv; if (!eval (res)) { loadMovieNum (u, lv); } } else { res = mc.createEmptyMovieClip(mb + swfid, lv); res.loadMovie(u); } return(res); } SINGLEFILE = true; ADSLINK = ("http://realore.com/bitrix/redirect.php?event1=FLA_ADS&event2=" + getRoot()) + "&event3=HotelOnline&goto=http://realore.com"; INGAMECLICK = true; __com_mochibot__("05eddf7f", this, 10301, true); Stage.scaleMode = "noScale"; var OnMovieBlur; sliderLoading.ReadOnly = true; _root.loadingPhase = 0; var loading_target = _root; EndLoading = function () { _root.gotoAndStop("frameLoadPhase2"); }; if (SINGLEFILE != true) { var languageXml = new XML(); var urlXml = new XML(); var levelsXml = new XML(); _root.languageXml.ignoreWhite = true; _root.languageXml.load("languages.xml"); _root.urlXml.ignoreWhite = true; _root.urlXml.load("url.xml"); _root.levelsXml.ignoreWhite = true; _root.levelsXml.load("levels.xml"); } else { var languageXml = new XML(StaticXML.languageXml); var urlXml = new XML(StaticXML.urlXml); var levelsXml = new XML(StaticXML.levelsXml); } var loaded = 0; var total = 100; _root.onEnterFrame = function () { var swf_loaded = _root.getBytesLoaded(); var swf_total = _root.getBytesTotal(); if (SINGLEFILE != true) { var languageXml_loaded = _root.languageXml.getBytesLoaded(); var languageXml_total = _root.languageXml.getBytesTotal(); var urlXml_loaded = _root.urlXml.getBytesLoaded(); var urlXml_total = _root.urlXml.getBytesTotal(); var levelsXml_loaded = _root.levelsXml.getBytesLoaded(); var levelsXml_total = _root.levelsXml.getBytesTotal(); } var percs = 0; if ((swf_total != 0) && (swf_total != undefined)) { percs = percs + Math.floor((swf_loaded * 100) / swf_total); } if (SINGLEFILE != true) { if ((languageXml_total != 0) && (languageXml_total != undefined)) { percs = percs + Math.floor((languageXml_loaded * 5) / languageXml_total); } if ((urlXml_total != 0) && (urlXml_total != undefined)) { percs = percs + Math.floor((urlXml_loaded * 4) / urlXml_total); } if ((levelsXml_total != 0) && (levelsXml_total != undefined)) { percs = percs + Math.floor((levelsXml_loaded * 1) / levelsXml_total); } } if (!((percs >= 0) && (percs <= 100))) { percs = 0; } if (isNaN(percs)) { percs = 0; } sliderLoading.SetValue(percs); if (!((percs >= 0) && (percs <= 100))) { percs = 0; } var out_percs = 0; if (percs >= 0) { if (percs <= 100) { out_percs = percs; } } if (out_percs == Number.NaN) { out_percs = 0; } var percs_str = String(out_percs); if (percs_str == "NaN") { percs_str = "0"; } strLoading = ("LOADING " + percs_str) + "%"; if (percs == 100) { _root.EndLoading(); } }; _root.createEmptyMovieClip("custom_logo", _root.getNextHighestDepth()); _root.custom_logo._x = 5; _root.custom_logo._y = 5; loadMovie ("customlogo.jpg", custom_logo); if (INGAMECLICK == true) { mc_Btn.onPress = function () { getURL (Helper.ADSLINK, "_blank"); }; } stop();
Frame 2
delete _root.onEnterFrame; gotoAndStop ("frameIntro");
Frame 3
function testingClose(aString) { gotoAndPlay ("frameInit"); } function initFrame() { gotoAndPlay ("frameInit"); } _exported_.visible = false; Language.SetLangXML(languageXml); Helper.LoadUrlXML(urlXml); LevelsConfig.SetXML(levelsXml); if (Helper.MOCHI_SHOW_PRELOADER == true) { MochiAd.showPreGameAd({id:"9d5719ed7edb9420", res:"640x480", ad_finished:initFrame}); } else { initFrame(); }
Frame 4
_root.custom_logo.removeMovieClip(); if (Helper.SKIP_MENU) { Language.LoadLanguage(); gotoAndStop ("frameStartGame"); return(undefined); }
Frame 24
if (Language.GetLanguagesCount() > 1) { gotoAndStop ("frameSelectLang"); } else { Language.LoadLanguage(); gotoAndStop ("framePlayer"); }
Frame 25
stop(); var langxml = Language.GetLangXML(); var node = langxml.firstChild; OnLangBtnClick = function (instance) { Language.LoadLanguage(instance.lang_id); gotoAndStop ("framePlayer"); }; var i = 0; while (i < node.childNodes.length) { var lang_id = node.childNodes[i].attributes.id; var lang_name = node.childNodes[i].attributes.name; var lang_intname = node.childNodes[i].attributes.intname; var lang_btn = mcOrientierFirstButton.attachMovie("ButtonStartGame", "lang_btn_" + i, mcOrientierFirstButton.getNextHighestDepth()); lang_btn._x = 0; lang_btn._y = (lang_btn._height + 10) * i; lang_btn.buttonText = ((lang_name != lang_intname) ? (lang_name) : (lang_name)); lang_btn.lang_id = lang_id; lang_btn.OnClick = OnLangBtnClick; i++; }
Frame 27
textYourName = Language.Transl("enter name"); if ((Helper.__get__PlayerName() == undefined) || (Helper.__get__PlayerName() == "")) { playerName = Language.Transl("default player name"); } else { playerName = Helper.PlayerName; } btnOk.buttonText = Language.Transl("ok"); btnOk.OnClick = mx.utils.Delegate.create(this, function () { Helper.__set__PlayerName(playerName); gotoAndStop ("frameMainMenu"); });
Frame 29
stop(); btnStart.buttonText = Language.Transl("start"); btnOptions.buttonText = Language.Transl("options"); btnGetIt.buttonText = Language.Transl("get it"); btnScores.buttonText = Language.Transl("scores"); btnStart.OnClick = mx.utils.Delegate.create(this, function () { if (Helper.__get__isMusicLoaded() || (!Helper.MusicEnabled)) { gotoAndStop ("frameStartGame"); } else { gotoAndStop ("framePreGameLoader"); } }); btnOptions.OnClick = mx.utils.Delegate.create(this, function () { gotoAndStop ("frameOptions"); }); btnChangePlayer.onPress = mx.utils.Delegate.create(this, function () { gotoAndStop ("framePlayer"); }); if ((Helper.FREEARCADESCORES == true) || (Helper.NO_SCORES == true)) { btnScores._visible = false; } else { btnScores.OnClick = mx.utils.Delegate.create(this, function () { gotoAndStop ("frameScores"); }); } btnGetIt.OnClick = function () { Helper.GetIt(); };
Frame 31
textSoundVolume = Language.Transl("sound volume"); textMusicVolume = Language.Transl("music volume"); btnOk.buttonText = Language.Transl("ok"); btnOk.OnClick = mx.utils.Delegate.create(this, function () { gotoAndStop ("frameMainMenu"); }); mcSoundVolume.Value = Helper.SoundVolume; mcSoundVolume.OnValueChanged = function () { Helper.SoundVolume = this.Value; Helper.PlaySound("soundMenuHit"); }; mcMusicButton.Value = Helper.MusicEnabled; mcMusicButton.OnValueChanged = function () { Helper.MusicEnabled = this.Value; if (Helper.MusicEnabled) { Helper.PlayMusic(); } else { Helper.StopMusic(); } }; textOptionsTips = Language.Transl("menu tips"); btnShowTips.Value = TipsWindow.TipsEnabled; btnShowTips.OnValueChanged = function () { TipsWindow.TipsEnabled = this.Value; }; stop();
Frame 33
function closedClick() { mcWndEndLevel.removeMovieClip(); gotoAndStop ("frameMainMenu"); } function moreGamesClick() { getURL (Helper.ADSLINK, "_blank"); } function RefreshScores() { var table = new TextScoreTable(this.mcScoresTable); table.reset("Fetching high scores..."); var hasNetwork = MochiAd.fetchHighScores({id:Helper.MochiAdId}, table, "gotScores"); if (!hasNetwork) { table.reset("Local sandbox does not allow network, try playing online."); } } btnOk.buttonText = Language.Transl("ok"); btnOk.OnClick = mx.utils.Delegate.create(this, function () { var movie_name = "EndLevelWinWindowTrial"; mcWndEndLevel = this.attachMovie(movie_name, "mcWndEndLevel", LEVEL_END_DIALOG_DEPTH); mcWndEndLevel.afterScores = true; mcWndEndLevel.OnClosed = closedClick; mcWndEndLevel.OnMenuClick = closedClick; mcWndEndLevel.OnMoreGames = moreGamesClick; }); this.mcScoresTable.names_text = ""; this.mcScoresTable.ranks_text = ""; this.mcScoresTable.scores_text = ""; this.mcScoresTable.status_text = ""; var TextScoreTable = function (mc, max_scores) { this.mc = mc; this.max_scores = max_scores || 10; this.reset(""); }; TextScoreTable.prototype.reset = function (statusText) { this.mc.ranks_text = ""; this.mc.names_text = ""; this.mc.scores_text = ""; this.mc.dates_text = ""; this.mc.status_text = statusText; }; TextScoreTable.prototype.gotScores = function (scores, playerIndex) { this.reset(""); if (playerIndex === undefined) { playerIndex = -1; } var num_scores = scores.length; if (num_scores == 0) { this.mc.status_text = "No high scores yet!"; } var counter = 0; var i = 0; var counter = 0; while (i < num_scores , counter < 10) { var item = scores[i]; var rank = ((counter + 1) + "."); if (i === playerIndex) { rank = "*" + rank; } var name = item[0]; var score_ = commafy(String(item[1])); var datestr = msecToDateString(item[2]); if (Number(item[1]) < 1000000) { counter++; this.mc.ranks_text = this.mc.ranks_text + (rank + newline); this.mc.names_text = this.mc.names_text + (name + newline); this.mc.scores_text = this.mc.scores_text + (score_ + newline); this.mc.dates_text = this.mc.dates_text + (datestr + newline); } i++; } }; var commafy = function (n) { var s = (parseInt(n, 10) + ""); var res = new Array(); while (s.length > 3) { res.unshift(s.slice(s.length - 3, s.length)); s = s.slice(0, s.length - 3); } res.unshift(s); return(res.join(" ")); }; var msecToDateString = function (msec) { var d = new Date(msec); return([d.getFullYear(), 1 + d.getMonth(), d.getDate()].join("-")); }; _root.RefreshScores();
Frame 35
stop(); btnAbort._visible = false; mcLoadingProgress.ReadOnly = true; Helper.OnMusicLoaded = mx.utils.Delegate.create(this, function (success) { if (success) { gotoAndStop ("framePreGameLoaded"); } else { Helper.MusicEnabled = false; } }); _root.onEnterFrame = function () { var loaded = Helper.__get__Music().getBytesLoaded(); var total = Helper.__get__Music().getBytesTotal(); var percs = 0; if ((total != 0) && (total != undefined)) { percs = percs + Math.floor((loaded * 100) / total); } if (!((percs >= 0) && (percs <= 100))) { percs = 0; } if ((percs == Number.NaN) || (percs == undefined)) { percs = 0; } if (isNaN(percs)) { percs = 0; } var percs_str = ""; percs_str = String(percs); if (percs_str == "NaN") { percs_str = "0"; } mcLoadingProgress.SetValue(percs); textLoading = ((((Language.Transl("loading") + " ") + Language.Transl("of music")) + " ") + percs_str) + "%"; }; Helper.LoadMusic("music_gameplay.mp3");
Frame 36
delete _root.onEnterFrame; gotoAndStop ("frameStartGame");
Frame 37
mcGame.OnGameExit = function () { gotoAndStop ("frameSubmitScores"); }; mcGame.OnMenu = function () { gotoAndStop ("frameGameMenu"); }; var mcGame; OnMovieBlur = function () { if ((mcGame != undefined) && (!mcGame.__get__inPause())) { mcGame.OpenGameMenu(); } }; stop();
Frame 38
mcGame.CloseGameMenu(); stop();
Frame 41
textPause = Language.Transl("pause"); btnContinue.buttonText = Language.Transl("resume"); btnContinue.OnClick = mx.utils.Delegate.create(this, function () { gotoAndStop ("frameGameContinue"); }); btnAbort.buttonText = Language.Transl("abort"); btnGetIt.buttonText = Language.Transl("get it"); btnAbort.OnClick = mx.utils.Delegate.create(this, function () { gotoAndStop ("frameAbortQuestion"); }); btnGetIt.OnClick = function () { Helper.GetIt(); }; textSoundVolume = Language.Transl("sound volume"); textMusicVolume = Language.Transl("music volume"); mcSoundVolume.Value = Helper.SoundVolume; mcSoundVolume.OnValueChanged = function () { Helper.SoundVolume = this.Value; Helper.PlaySound("soundMenuHit"); }; mcMusicButton.Value = Helper.MusicEnabled; mcMusicButton.OnValueChanged = function () { Helper.MusicEnabled = this.Value; if (Helper.MusicEnabled) { Helper.PlayMusic(); } else { Helper.StopMusic(); } }; textOptionsTips = Language.Transl("menu tips"); btnShowTips.Value = TipsWindow.TipsEnabled; btnShowTips.OnValueChanged = function () { TipsWindow.TipsEnabled = this.Value; }; stop();
Frame 43
textQuestion = Language.Transl("want to exit"); btnYes.buttonText = Language.Transl("yes"); btnYes.OnClick = mx.utils.Delegate.create(this, function () { gotoAndStop ("frameMainMenu"); }); btnNo.buttonText = Language.Transl("no"); btnNo.OnClick = mx.utils.Delegate.create(this, function () { gotoAndStop ("frameGameMenu"); }); stop();
Frame 45
shop.game = mcGame;
Frame 48
function closedClick() { mcWndEndLevel.removeMovieClip(); gotoAndStop ("frameMainMenu"); } function moreGamesClick() { getURL (Helper.ADSLINK, "_blank"); } textTitle = Language.Transl("send score title"); textYourName = Language.Transl("player name"); textYourScore = Language.Transl("player score"); playerName = Helper.PlayerName; playerScore = Helper.globalGameScore; btnOk.buttonText = Language.Transl("ok"); btnOk.OnClick = mx.utils.Delegate.create(this, function () { if (Helper.FREEARCADESCORES == true) { createEmptyMovieClip("submitClip", 1); submitClip.name = playerName; submitClip.score = playerScore; submitClip.gameName = "Jane's Hotel Online"; submitClip.loadVariables("/cgi-bin/<gamename>_record.cgi", "POST"); var movie_name = "EndLevelWinWindowTrial"; mcWndEndLevel = this.attachMovie(movie_name, "mcWndEndLevel", LEVEL_END_DIALOG_DEPTH); mcWndEndLevel.afterScores = true; mcWndEndLevel.OnClosed = closedClick; mcWndEndLevel.OnMenuClick = closedClick; mcWndEndLevel.OnMoreGames = moreGamesClick; } else { var mochi_id = Helper.MochiAdId; var return_obj = function () { }; return_obj.prototype.DoAction = function () { gotoAndStop ("frameScores"); }; var retobj = new return_obj(); MochiAd.sendHighScore({id:mochi_id, name:playerName, score:Helper.globalGameScore}, retobj, "DoAction"); } btnOk.enabled = false; }); btnCancel.buttonText = Language.Transl("cancel"); btnCancel.OnClick = mx.utils.Delegate.create(this, function () { var movie_name = "EndLevelWinWindowTrial"; mcWndEndLevel = this.attachMovie(movie_name, "mcWndEndLevel", LEVEL_END_DIALOG_DEPTH); mcWndEndLevel.afterScores = true; mcWndEndLevel.OnClosed = closedClick; mcWndEndLevel.OnMenuClick = closedClick; mcWndEndLevel.OnMoreGames = moreGamesClick; });
Symbol 3 MovieClip Frame 1
this._visible = false; stop();
Symbol 9 MovieClip [Slider] Frame 1
function SetValue(val, initializing) { this.Value = Math.floor(Math.max(0, Math.min(100, val))); Tracer.trace("set val=" + val); Update(); if ((initializing == false) || (initializing == undefined)) { if (OnValueChanged != undefined) { OnValueChanged(); } } } function Update() { var tox = (((-mcMask._width) * (100 - Value)) / 100); mcMask._x = tox; var oldvis = mcAllocator._visible; mcAllocator._visible = false; mcAllocator._visible = true; mcAllocator._visible = oldvis; } var Value; var ReadOnly; var OnValueChanged; if (ReadOnly == undefined) { ReadOnly = false; } mcAllocator._visible = false; SetValue(Value, true); if (!ReadOnly) { this.hitArea = this; this.onPress = function () { SetValue(100 - (((mcHit._width - this._xmouse) * 100) / mcHit._width)); }; this.onRollOver = function () { Helper.PlaySound("soundMenuToggle"); mcAllocator._visible = true; }; this.onRollOut = function () { mcAllocator._visible = false; }; } mcHit._visible = false;
Symbol 1375 MovieClip [__Packages.Tracer] Frame 0
class Tracer { static var _traceBox, trace, traceProperties, info, error; function Tracer () { } static function Init(rootMC) { var traceBox; traceBox = rootMC.createTextField("traceBox", 11000, 0, 10, 150, 400); with (traceBox) { backgroundColor = 16777215 /* 0xFFFFFF */; background = true; multiline = true; wordWrap = true; html = true; } var traceBoxFormat = new TextFormat(); traceBoxFormat.font = "Courier"; traceBoxFormat.size = 12; traceBox.setNewTextFormat(traceBoxFormat); _traceBox = traceBox; rootMC.tr = function (obj) { var s = newline; var i = 0; while (i < arguments.length) { s = s + String(arguments[i]); if (i != (arguments.length - 1)) { s = s + ", "; } i++; } rootMC.traceBox.text = rootMC.traceBox.text + s; traceBox.scroll = traceBox.maxscroll; }; rootMC.trprops = function (obj) { rootMC.traceBox.text = rootMC.traceBox.text + ("\n---Trace props of: " + String(obj)); for (var prop in obj) { rootMC.traceBox.text = rootMC.traceBox.text + (((newline + String(prop)) + ":") + String(obj[prop])); } traceBox.scroll = traceBox.maxscroll; }; rootMC.err = function (obj) { var s = String(obj); rootMC.traceBox.htmlText = rootMC.traceBox.htmlText + (("\n<b>" + s) + "</b>"); traceBox.scroll = traceBox.maxscroll; }; trace = mx.utils.Delegate.create(rootMC, rootMC.tr); traceProperties = mx.utils.Delegate.create(rootMC, rootMC.trprops); info = trace; error = mx.utils.Delegate.create(rootMC, rootMC.err); trace("---Start tracing---"); var btnToggleVisible; btnToggleVisible = rootMC.createEmptyMovieClip("btnToggleVisible", 11001); with (btnToggleVisible) { _x = 0; _y = 0; beginFill(16776960); lineStyle(0, 16777215); moveTo(0, 0); lineTo(10, 0); lineTo(10, 10); lineTo(0, 10); lineTo(0, 0); } btnToggleVisible.onPress = function () { rootMC.traceBox._visible = !rootMC.traceBox._visible; }; var btnClearTrace; btnClearTrace = rootMC.createEmptyMovieClip("btnClearTrace", 11002); with (btnClearTrace) { _x = 12; _y = 0; beginFill(16711935); lineStyle(0, 16777215); moveTo(0, 0); lineTo(10, 0); lineTo(10, 10); lineTo(0, 10); lineTo(0, 0); } btnClearTrace.onPress = function () { rootMC.traceBox.text = ""; }; } static function Show() { if (_traceBox != undefined) { _traceBox._visible = true; } } static function Hide() { if (_traceBox != undefined) { _traceBox._visible = false; } } }
Symbol 1376 MovieClip [__Packages.mx.utils.Delegate] Frame 0
class mx.utils.Delegate extends Object { var func; function Delegate (f) { super(); func = f; } static function create(obj, func) { var f = function () { var target = arguments.callee.target; var func = arguments.callee.func; return(func.apply(target, arguments)); }; f.target = obj; f.func = func; return(f); } function createDelegate(obj) { return(create(obj, func)); } }
Symbol 1377 MovieClip [__Packages.Helper] Frame 0
class Helper { static var _Music, _Music_name, OnMusicLoaded, _get_it_url, _get_it_target; function Helper () { } static function getRoot() { var retStr = _root._url; if (retStr.indexOf("file:") != -1) { retStr = "localFile"; } return(retStr); } static function get PlayerName() { return(_playerName); } static function set PlayerName(value) { _playerName = value; globalSharedObject.data.PlayerName = _playerName; //return(PlayerName); } static function get isMusicLoaded() { return((_Music != undefined) && (_Music.getBytesTotal() == _Music.getBytesLoaded())); } static function get isMusicPlaying() { return(_Music_playing); } static function get Music() { return(_Music); } static function PlaySound(name, loop) { var snd = new Sound(); snd.attachSound(name); snd.setVolume(SoundVolume); snd.start(0, loop); } static function PlayMusic(name) { if (name == undefined) { name = _Music_name; } else { _Music_name = name; } Tracer.info("Play music: " + _Music_name); if ((_Music != undefined) && (_Music_playing == false)) { _Music.setVolume(SoundVolume); var mySoundTransformObject = new Object(); mySoundTransformObject.ll = MUSIC_LOUD_VALUE; mySoundTransformObject.lr = 0; mySoundTransformObject.rr = MUSIC_LOUD_VALUE; mySoundTransformObject.rl = 0; _Music.setTransform(mySoundTransformObject); _Music.start(0, 1000); _Music_playing = true; } } static function StopMusic() { Tracer.info("Stop music"); if ((_Music != undefined) && (_Music_playing == true)) { _Music.stop(); _Music_playing = false; } } static function LoadMusic(url) { if (SINGLEFILE != true) { Tracer.info("Start load music from: " + url); _Music_name = url; if (_Music == undefined) { _Music = new Sound(); } _Music.onLoad = function (success) { var mySoundTransformObject = new Object(); mySoundTransformObject.ll = Helper.MUSIC_LOUD_VALUE; mySoundTransformObject.lr = Helper.MUSIC_LOUD_VALUE; mySoundTransformObject.rr = 0; mySoundTransformObject.rl = 0; Helper._Music.setTransform(mySoundTransformObject); if (Helper.OnMusicLoaded != undefined) { Helper.OnMusicLoaded(success); } }; _Music.loadSound(url, false); } else { _Music = new Sound(); _Music.attachSound(url); OnMusicLoaded(true); } } static function AbortMusicLoad() { if (_Music != undefined) { delete _Music; _Music = undefined; if (OnMusicLoaded != undefined) { OnMusicLoaded(false); } } } static function ConvertSeconds2TimeString(seconds) { var remine_time_secs = seconds; var remine_time_mins = Math.floor(remine_time_secs / 60); remine_time_secs = remine_time_secs % 60; return((((Math.abs(remine_time_mins) < 10) ? ("0" + remine_time_mins) : (remine_time_mins)) + ":") + ((Math.abs(remine_time_secs) < 10) ? ("0" + remine_time_secs) : (remine_time_secs))); } static function LoadUrlXML(xml) { var node = xml.firstChild; _get_it_url = node.attributes.url; _get_it_target = node.attributes.window; Tracer.info(((("UrlXML loaded: \"" + _get_it_url) + "\", \"") + _get_it_target) + "\""); } static function GetIt() { getURL (DNLDLINK, "_blank"); } static function SubtractArray(from, what) { if (what.length == 0) { return(from); } var ret = new Array(); var i = 0; while (i < from.length) { var j = 0; while (j < what.length) { if (from[i] == what[j]) { break; } if (j == (what.length - 1)) { ret.push(from[i]); } j++; } i++; } return(ret); } static function IntersectArray(from, what) { if (what.length == 0) { return(null); } if (from.length == 0) { return(null); } var ret = new Array(); var i = 0; while (i < from.length) { var j = 0; while (j < what.length) { if (from[i] == what[j]) { ret.push(from[i]); break; } j++; } i++; } return(ret); } static function SearchArray(arr, what) { var i = 0; while (i < arr.length) { if (arr[i] == what) { return(i); } i++; } return(-1); } static function SearchArray2(needle, arr) { var i = 0; while (i < arr.length) { if (arr[i] == needle) { return(i); } i++; } return(-1); } static function GetRandomFromArray(arr) { if (arr.length == 0) { return(undefined); } return(arr[Math.floor(arr.length * Math.random())]); } static function ClearArray(arr) { if (arr == undefined) { return(undefined); } while (arr.length != 0) { arr.pop(); } } static function ClearArray2(arr) { if (arr == undefined) { return(undefined); } while (arr.length != 0) { var obj = arr.pop(); if (((obj != null) && (obj != undefined)) && (obj instanceof MovieClip)) { MovieClip(obj).removeMovieClip(); obj = undefined; } } } static function FillArray(arr, filler) { if (arr == undefined) { return(undefined); } var i = 0; while (i < arr.length) { arr[i] = filler; i++; } } static function CopyArray(arr) { var a = new Array(); for (var i in arr) { if (arr[i] instanceof Array) { a[i] = Array(arr[i]).slice(); } else { a[i] = arr[i]; } } return(a); } static function CreateFPSCounter() { _root._fps = 0; var fpsmc = _root.createEmptyMovieClip("fps_mc", 20000); fpsmc.onEnterFrame = function () { _root._fps++; }; fpsmc._x = 200; fpsmc.createTextField("tf", 10000, 0, 0, 60, 20); fpsmc.tf.selectable = false; fpsmc.tf.backgroundColor = 16777215 /* 0xFFFFFF */; fpsmc.tf.background = true; setInterval(function () { _root.fps_mc.tf.text = "fps:" + _root._fps; _root._fps = 0; }, 1000); } static function setTimeout(functionReference, delay, args) { return(_global.setTimeout(functionReference, delay, args)); } static function StopMovies(mc) { for (var propname in mc) { if (mc[propname] instanceof MovieClip) { MovieClip(mc[propname]).stop(); StopMovies(MovieClip(mc[propname])); } } } static function PlayMovies(mc) { for (var name in mc) { if ((mc[name] instanceof MovieClip) && (name != "mcCarryObject")) { MovieClip(mc[name]).play(); PlayMovies(MovieClip(mc[name])); } } } static function SetHighlite(mc) { mc.filters = HighliteFilterOn; } static function ClearHighlite(mc) { mc.filters = HighliteFilterOff; } static function SetGrayscale(mc) { mc.filters = GrayscaleFilterOn; } static function ClearGrayscale(mc) { mc.filters = GrayscaleFilterOff; } static var DEBUG = false; static var DEBUG_START_LEVEL = 4; static var DEBUG2 = false; static var DEBUG_MAP = false; static var GAMEID = "HotelOnline"; static var FREEARCADESCORES = false; static var INGAMECLICK = true; static var SINGLEFILE = true; static var SHOW_MOCHIADS = true; static var SHOW_INGAMEADS = true; static var MOCHI_EVERY_LEVEL = false; static var MOCHI_SHOW_PRELOADER = false; static var GOTOPATH = "http://realore.com"; static var DOWNLOADPATH = "http://www.realore.com/janeshotel.exe"; static var ADSLINK = (((("http://realore.com/bitrix/redirect.php?event1=FLA_ADS&event2=" + getRoot()) + "&event3=") + GAMEID) + "&goto=") + GOTOPATH; static var DNLDLINK = (((("http://realore.com/bitrix/redirect.php?event1=FLA_GET&event2=" + getRoot()) + "&event3=") + GAMEID) + "&goto=") + DOWNLOADPATH; static var NO_SCORES = false; static var SKIP_MENU = false; static var DEBUG_CLIENT_IN_FIRST_ROOM = false; static var DEBUG_FLOWERS = false; static var DEBUG_ALL_UPGRADES_AVAILABLE = false; static var DEBUG_START_MONEYS = 5000; static var MochiAdId = "9d5719ed7edb9420"; static var GLOBAL_STORE_ID = "RealoreFlashGames"; static var GLOBAL_GAME_ID = "JanesHoteliYZIdgwg"; static var globalSharedObject = SharedObject.getLocal(GLOBAL_STORE_ID); static var globalGameSharedObject = SharedObject.getLocal(GLOBAL_GAME_ID); static var _playerName = ((globalSharedObject.data.PlayerName != undefined) ? (globalSharedObject.data.PlayerName) : ""); static var globalGameScore = 0; static var globalGameLevelStartScore = 0; static var globalGameLevelStartSpend = 0; static var globalGameLevelStartUpgrades = new Array(); static var globalGameLevelStartLevel = 0; static var MUSIC_LOUD_VALUE = 50; static var SoundVolume = 100; static var _MusicVolume = 100; static var _Music_playing = false; static var MusicEnabled = true; static var HighliteFilter = new flash.filters.GlowFilter(16773263, 0.9, 5, 5, 100, 1); static var HighliteFilterOn = new Array(HighliteFilter); static var HighliteFilterOff = new Array(); static var grayscale_matrix = [0.308600038290024, 0.609399974346161, 0.0820000022649765, 0, 0, 0.308600008487701, 0.609399974346161, 0.0820000022649765, 0, 0, 0.308600008487701, 0.609399974346161, 0.0820000246167183, 0, 0, 0, 0, 0, 1, 0]; static var GrayscaleFilter = new flash.filters.ColorMatrixFilter(grayscale_matrix); static var GrayscaleFilterOn = new Array(GrayscaleFilter); static var GrayscaleFilterOff = new Array(); }
Symbol 1378 MovieClip [__Packages.StaticXML] Frame 0
class StaticXML { function StaticXML () { } static var urlXml = "<?xml version=\"1.0\" encoding=\"utf-8\"?><data url=\"http://www.realore.com/janeshotel.exe\" window=\"_blank\"/>"; static var levelsXml = "<?xml version=\"1.0\" encoding=\"utf-8\"?><levels_cfg><config><CleaningTime>4000</CleaningTime><TimeDryCleaning>5000</TimeDryCleaning><MaxSuccessPerReputation>5,10,15,20</MaxSuccessPerReputation><!-- Nenoaia inoaaeaiey aaiaa ca auoia ec ioaey 0-25|26-50|51-75|76-100 --><LeaveHotelPayPerReputation>5,10,15,20</LeaveHotelPayPerReputation></config><levels><level id=\"1\"><Goal>50</Goal><CloseTime>25</CloseTime><ActionCountForClients>2</ActionCountForClients><ActionCountForClients2>4</ActionCountForClients2><MaxClient>2</MaxClient><Clients>SimpleWoman,Audioboy</Clients></level><level id=\"2\"><Goal>100</Goal><CloseTime>60</CloseTime><ActionCountForClients>3</ActionCountForClients><MaxClient>3</MaxClient><Clients>SimpleWoman,Audioboy</Clients><Upgrade>flower</Upgrade></level><level id=\"3\"><Goal>150</Goal><CloseTime>60</CloseTime><ActionCountForClients>4</ActionCountForClients><MaxClient>4</MaxClient><Clients>SimpleWoman,Audioboy</Clients></level><level id=\"4\"><Goal>180</Goal><CloseTime>70</CloseTime><ActionCountForClients>4</ActionCountForClients><MaxClient>4</MaxClient><Clients>SimpleWoman,Audioboy</Clients><Clients2>SimpleWoman,Audioboy,Badguy</Clients2><Upgrade>picture</Upgrade></level><level id=\"5\"><Goal>350</Goal><CloseTime>100</CloseTime><ActionCountForClients>5</ActionCountForClients><MaxClient>6</MaxClient><Clients>SimpleWoman,Audioboy</Clients><Clients2>SimpleWoman,Audioboy,Badguy</Clients2></level><level id=\"6\"><Goal>650</Goal><CloseTime>160</CloseTime><ActionCountForClients>6</ActionCountForClients><MaxClient>15</MaxClient><Clients>SimpleWoman,Audioboy</Clients><Clients2>SimpleWoman,Audioboy,Badguy</Clients2><Upgrade>aquarium</Upgrade></level><level id=\"7\"><Goal>1000</Goal><CloseTime>220</CloseTime><ActionCountForClients>7</ActionCountForClients><MaxClient>15</MaxClient><Clients>SimpleWoman,Audioboy</Clients><Clients2>SimpleWoman,Audioboy,Badguy,Tourist</Clients2></level><level id=\"8\"><Goal>1300</Goal><CloseTime>250</CloseTime><ActionCountForClients>8</ActionCountForClients><MaxClient>15</MaxClient><Clients>SimpleWoman,Audioboy</Clients><Clients2>SimpleWoman,Audioboy,Badguy,Tourist</Clients2></level><level id=\"9\"><Goal>2000</Goal><CloseTime>330</CloseTime><ActionCountForClients>9</ActionCountForClients><MaxClient>20</MaxClient><Clients>SimpleWoman,Audioboy</Clients><Clients2>SimpleWoman,Audioboy,Badguy,Tourist</Clients2></level><level id=\"10\"><Goal>2200</Goal><CloseTime>370</CloseTime><ActionCountForClients>8</ActionCountForClients><MaxClient>20</MaxClient><Clients>SimpleWoman,Audioboy</Clients><Clients2>SimpleWoman,Audioboy,Badguy,Tourist</Clients2></level></levels><clients><Audioboy><!-- normal --><!-- <reception2>0|20|200|1|8|35</reception2> --><!-- test --><reception>0|20|250|1|8|35</reception><away>50</away><magazine>15|5|15|1|2|32|2</magazine><phone>20|5|15|1|2|32|2</phone><coffee>20|5|15|1|2|32|2</coffee><fruit>0|5|15|1|2|32|2</fruit><DrinkToRoom>0|5|15|1|2|32|2</DrinkToRoom><DryCleaning>0|5|15|1|2|32|2</DryCleaning><CleanRoom>5|5|15|1|2|32|3</CleanRoom><bedclothes>0|5|15|1|2|32|100</bedclothes><golf>0|5|15|1|2|32|2</golf><tv>20|5|15|1|2|32|2</tv><table>15|5|15|1|2|32|2</table><delay>3500</delay><speed>220</speed></Audioboy><SimpleWoman><!-- normal --><!-- <reception2>0|20|200|1|8|35</reception2>\t --><!-- test --><reception>0|20|250|1|8|35</reception><away>50</away><magazine>5|5|15|1|2|35|2</magazine><phone>20|5|15|1|2|35|2</phone><coffee>15|5|15|1|2|35|2</coffee><fruit>0|5|15|1|2|35|3</fruit><DrinkToRoom>0|5|15|1|2|35|2</DrinkToRoom><DryCleaning>10|5|15|1|2|35|3</DryCleaning><CleanRoom>20|5|15|1|2|35|2</CleanRoom><bedclothes>0|5|15|1|2|35|100</bedclothes><golf>0|5|15|1|2|35|2</golf><tv>15|5|15|1|2|35|2</tv><table>10|5|15|1|2|35|2</table><delay>4000</delay><speed>220</speed></SimpleWoman><Badguy><reception>0|20|250|1|8|40</reception><away>50</away><magazine>15|5|15|1|3|40|2</magazine><phone>5|5|15|1|3|40|3</phone><coffee>15|5|15|1|3|40|2</coffee><fruit>0|5|15|1|3|40|3</fruit><DrinkToRoom>10|5|15|1|3|40|2</DrinkToRoom><DryCleaning>115|5|15|1|3|45|4</DryCleaning><CleanRoom>5|5|15|1|3|45|3</CleanRoom><bedclothes>5|5|15|1|3|45|4</bedclothes><golf>0|5|15|1|3|40|2</golf><tv>10|5|15|1|3|40|2</tv><table>20|5|15|1|3|40|2</table><delay>4000</delay><speed>140</speed></Badguy><Tourist><reception>0|20|250|1|8|40</reception><away>50</away><magazine>15|5|15|1|2|40|3</magazine><phone>5|5|15|1|2|40|2</phone><coffee>10|5|15|1|2|40|2</coffee><fruit>10|5|15|1|2|40|2</fruit><DrinkToRoom>10|5|15|1|2|40|2</DrinkToRoom><DryCleaning>10|5|15|1|2|45|3</DryCleaning><CleanRoom>5|5|15|1|2|45|3</CleanRoom><bedclothes>5|5|15|1|2|45|3</bedclothes><golf>10|5|15|1|2|40|4</golf><tv>5|5|15|1|2|40|3</tv><table>10|5|15|1|2|40|3</table><delay>4000</delay><speed>140</speed></Tourist></clients><upgrades><!--price | reputation gived | reputation requared | x_offset | y_offset | path_to_object | path_to_obj_ignore--><coffee> 0,0,5,0,-12</coffee><flowers> 60,5,5,0,-12</flowers><daily> 100,5,10,-3,-12</daily><picture> 70,5,20,0,-13</picture><divan> 300,10,30,4,-13</divan><aqua> 100,5,40,0,-13</aqua><table> 800,10,55,3,-11</table><bra> 350,5,70,0,-18</bra><phone> 950,10,80,-1,-13</phone><star>0,0,100,3,-13</star></upgrades></levels_cfg>"; static var languageXml = "<?xml version=\"1.0\" encoding=\"utf-8\"?><languages><language id=\"ENG\" name=\"English\" intname=\"English\"><![CDATA[game name:Jane's Hotel\nmenu:MENU\nresume:RESUME\npause:PAUSE\nopen:OPEN\nclose:CLOSE\nstart:START\noptions:OPTIONS\nget it:GET FULL\nlater:LATER\nplayer:PLAYER\nenter name:ENTER YOUR NAME\ndefault player name:Player\nmore games:MORE GAMES\nok:OK\nyes:YES\nno:NO\nloading:LOADING\nselect language:SELECT YOUR LANGUAGE\nwelcome:WELCOME\nmenu:MENU\ngame over:GAME OVER\nsound volume:SOUND VOLUME\nmusic volume:Music ON/OFF\nskip loading:SKIP\nof music:LEVEL\nobjective:TODAY`S GOAL\nmaster:MASTER:\nexpert:EXPERT:\nsales:Sales:\nformaster:For master:\nforexpert:For expert:\nstrLevel:LEVEL\ngreeting:CONGRATULATIONS!\nyoulose:LET`S TRY AGAIN!\nstrServed:Customers served:\nstrLosted:Customers lost:\nstrTToys:Toys discarded:\nstrTPacks:Wrapping discarded:strSales:Today sales:\nstrObjMaster:Master Goal:\nstrObjExpert:Expert Goal:\nstrBonus:Happiness bonus:\nstrTotal:Today`s total:\nnext level:NEXT\nexit:MENU\ntry again:TRY AGAIN\nget it text:Download now to get:\\n\n- You can grade your hotel\\n\n up from 2 star till 5 star.\\n\n- 40 levels\\n\n- You can upgrade your decor\\n\n- Fun sounds, cool visual style,\\n\n and humorous animations. \nwant to exit:Are you sure you want\\n\nto abort the game?\nresume:RESUME\nabort:ABORT\nday:Day\nstart goal:Goal:\nstart popular:Popularity:\npress any key:Press any key\ngame goal:Goal\nstrServed:Customers served:\nstrLosted:Customers lost:\nstrSales:Day score:\nstrTotal:Total score:\nshop popular:Popularity:\nshop money:Money:\nshop warning1:Requires \nshop warning2: popularity\nshop butt play:PLAY\nshop butt menu:MENU\ndetail require:Requires\ndetail take:Add\nshop back button:BACK\nshop buy button:BUY\ngood0name:Flowers\ngood0descr:These wonderful flowers make the hotel more beautiful and comfortable. Watching them, customers would not be so concerned with their worries.\ngood1name:Newspapers\ngood1descr:Fresh newspapers. Customers could read fresh press at any time.\ngood2name:Picture\ngood2descr:The pictures on the walls of the hall make it more comfortable for customers.\ngood3name:Sofa and TV Set\ngood3descr:Allow customers watch TV and drink coffee sitting in the hall.\ngood4name:Aquarium\ngood4descr:Customers like observing attractive and blazing fish.\ngood5name:Restaurant\ngood5descr:Customers can drink coffee and read newspapers not only in their rooms, but also in the hall.\ngood6name:Sconce\ngood6descr:These lamp brackets make your hotel more cosy.\ngood7name:Telephone\ngood7descr:Customers can make phone calls at any time.\ngood8name:The Star\ngood8descr:When you get the star, your hotel becomes 3 star hotel. The number of rooms in your hotel increased, the interior became more exquisite.\nstimul good:GOOD\nstimul excellent:EXCELLENT\nstimul impressive:IMPRESSIVE\nstimul incredible:INCREDIBLE\nmessage get ready:GET READY\nmessage go:GO!\nmessage goal complete:GOAL REACHED\nscores:SCORES\nsend score title:Submit your score?\nplayer name:Name\nplayer score:Score\ncancel:CANCEL\nshow tips: Show tips...\ntip1text:This is a customer who wishes to take a room. Click on the reception to get the key.\ntip2text:Give the key to the customer and she/he will occupy the room.\ntip3text:The customer wants to take a cup of coffee. Click on the coffee-machine and Jane will make some coffee.\ntip4text:Click on the door of the room and Jane will bring the cup of coffee to the customer.\ntip5text:Every morning the hotel rooms need to be cleaned. You have to order the chambermaid to do it.\ntip15text:You've earned your first money and now you can spend it to improve your hotel.\nmenu tips:SHOW TIPS\n]]></language></languages>"; }
Symbol 1379 MovieClip [__Packages.LevelsConfig] Frame 0
class LevelsConfig { static var _xml; function LevelsConfig () { } static function SetXML(xml) { _xml = xml; } static function GetXML() { return(_xml); } static function ParseXML() { } }
Symbol 1380 MovieClip [__Packages.Hashtable] Frame 0
class Hashtable { var keys, values; function Hashtable () { keys = new Array(); values = new Array(); } function containsKey(key) { var exists = false; var i = 0; while (i < keys.length) { if (keys == key) { exists = true; } i++; } return(exists); } function putValue(key, value) { var exists = false; var i = 0; while (i < keys.length) { if (keys == key) { values = value; exists = true; break; } i++; } if (!exists) { keys.push(key); values.push(value); } } function size() { return(keys.length); } function getValue(key) { var i = 0; while (i < keys.length) { if (keys[i] == key) { return(values[i]); } i++; } } function remove(key) { var i = 0; while (i < keys.length) { if (keys == key) { keys.splice(i, 1); values.splice(i, 1); } i++; } } function getKeys() { return(keys); } function getValues() { return(values); } function clear() { delete values; delete keys; keys = new Array(); values = new Array(); } }
Symbol 1381 MovieClip [__Packages.Language] Frame 0
class Language { static var langs_xml, currentLang, OnLoaded; function Language () { } static function LoadLanguage(lang, xmlfile) { if (xmlfile != undefined) { SetLangXML(xmlfile); } if (lang == undefined) { if (langs_xml != undefined) { lang = XMLNode(langs_xml.firstChild.childNodes[0]).attributes.id; } } Tracer.info((("Loading language \"" + lang) + "\" from file ") + langs_file); currentLang = lang; strings.clear(); if (langs_xml == undefined) { langs_xml = new XML(); langs_xml.ignoreWhite = true; langs_xml.onLoad = ParseLanguageXML; langs_xml.load(langs_file); } else { ParseLanguageXML(true); } } static function SetLangXML(xml) { langs_xml = xml; } static function GetLangXML() { return(langs_xml); } static function GetLanguagesCount() { var node = langs_xml.firstChild; return(node.childNodes.length); } static function ParseLanguageXML(success) { var node = langs_xml.firstChild; var langNode; Tracer.info("Language xml loaded"); var hash = strings; var i = 0; while (i < node.childNodes.length) { if (XMLNode(node.childNodes[i]).attributes.id == currentLang) { langNode = XMLNode(node.childNodes[i]); break; } i++; } if (langNode == undefined) { Tracer.trace(("Language " + currentLang) + " not found!"); return(undefined); } var data = langNode.firstChild.nodeValue; var arr = data.split(newline); var str; var key; var val; var val_multiline; var multiline = false; var ind = 0; for ( ; ind < arr.length ; ind++) { str = arr[ind]; if ((str.indexOf("//", 0) == 0) || (str.indexOf(";", 0) == 0)) { } else { var delim = str.indexOf(":", 0); if (!multiline) { if (delim <= 0) { continue; } } else { delim = 0; } if (!multiline) { key = str.substring(0, delim); } val = str.substring(((delim > 0) ? (delim + 1) : 0), str.length); var j = (val.length - 1); while ((val.charCodeAt(j) == 13) || (val.charCodeAt(j) == 10)) { j--; } val = val.substring(0, j + 1); if (val.substr(-2, 2) == "\\n") { val = val.substr(0, val.length - 2); if (!multiline) { val_multiline = val; multiline = true; } else { val_multiline = val_multiline + val; } } else { if (multiline) { val_multiline = val_multiline + val; val = val_multiline; } multiline = false; } if (!multiline) { strings.putValue(key, val); } else { val_multiline = val_multiline + newline; } } } if (OnLoaded != undefined) { OnLoaded(); } } static function Transl(key) { var ret = strings.getValue(key); if (ret == undefined) { Tracer.trace(((("Translation of \"" + key) + "\" not found(LANG=") + currentLang) + ")"); } return(((ret != undefined) ? (ret) : (("<" + key) + ">"))); } static var langs_file = "languages.xml"; static var strings = new Hashtable(); }
Symbol 1382 MovieClip [__Packages.MochiAd] Frame 0
class MochiAd { function MochiAd () { } static function getVersion() { return("2.2"); } static function showPreGameAd(options) { var DEFAULTS = {clip:_root, ad_timeout:3000, fadeout_time:250, regpt:"o", method:"showPreloaderAd", color:16747008, background:16777161, outline:13994812, ad_started:function () { this.clip.stop(); }, ad_finished:function () { this.clip.play(); }}; options = _parseOptions(options, DEFAULTS); var clip = options.clip; var ad_msec = 11000; var ad_timeout = options.ad_timeout; delete options.ad_timeout; var fadeout_time = options.fadeout_time; delete options.fadeout_time; if (!load(options)) { options.ad_finished(); return(undefined); } options.ad_started(); var mc = clip._mochiad; mc.onUnload = function () { options.ad_finished(); }; var wh = _getRes(options); var w = wh[0]; var h = wh[1]; mc._x = w * 0.5; mc._y = h * 0.5; var chk = mc.createEmptyMovieClip("_mochiad_wait", 3); chk._x = w * -0.5; chk._y = h * -0.5; var bar = chk.createEmptyMovieClip("_mochiad_bar", 4); bar._x = 10; bar._y = h - 20; var bar_color = options.color; delete options.color; var bar_background = options.background; delete options.background; var bar_outline = options.outline; delete options.outline; var backing = bar.createEmptyMovieClip("_outline", 1); backing.beginFill(bar_background); backing.moveTo(0, 0); backing.lineTo(w - 20, 0); backing.lineTo(w - 20, 10); backing.lineTo(0, 10); backing.lineTo(0, 0); backing.endFill(); var inside = bar.createEmptyMovieClip("_inside", 2); inside.beginFill(bar_color); inside.moveTo(0, 0); inside.lineTo(w - 20, 0); inside.lineTo(w - 20, 10); inside.lineTo(0, 10); inside.lineTo(0, 0); inside.endFill(); inside._xscale = 0; var outline = bar.createEmptyMovieClip("_outline", 3); outline.lineStyle(0, bar_outline, 100); outline.moveTo(0, 0); outline.lineTo(w - 20, 0); outline.lineTo(w - 20, 10); outline.lineTo(0, 10); outline.lineTo(0, 0); chk.ad_msec = ad_msec; chk.ad_timeout = ad_timeout; chk.started = getTimer(); chk.showing = false; chk.last_pcnt = 0; chk.fadeout_time = fadeout_time; chk.fadeFunction = function () { var p = (100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time))); if (p > 0) { this._parent._alpha = p; } else { var _clip = this._parent._parent; MochiAd.unload(_clip); delete this.onEnterFrame; } }; mc.lc.adLoaded = function (width, height) { }; mc.lc.adjustProgress = function (msec) { var _chk = this.mc._mochiad_wait; _chk.server_control = true; _chk.started = getTimer(); _chk.ad_msec = msec; }; chk.onEnterFrame = function () { var _clip = this._parent._parent; var ad_clip = this._parent._mochiad_ctr; var elapsed = (getTimer() - this.started); var finished = false; var clip_total = _clip.getBytesTotal(); var clip_loaded = _clip.getBytesLoaded(); var clip_pcnt = ((100 * clip_loaded) / clip_total); var ad_pcnt = ((100 * elapsed) / chk.ad_msec); var _inside = this._mochiad_bar._inside; var pcnt = Math.min(100, Math.min(clip_pcnt || 0, ad_pcnt)); pcnt = Math.max(this.last_pcnt, pcnt); this.last_pcnt = pcnt; _inside._xscale = pcnt; if (!chk.showing) { var total = ad_clip.getBytesTotal(); if ((total > 0) || (typeof(total) == "undefined")) { chk.showing = true; chk.started = getTimer(); } else if (elapsed > chk.ad_timeout) { finished = true; } } if (elapsed > chk.ad_msec) { finished = true; } if (((clip_total > 0) && (clip_loaded >= clip_total)) && (finished)) { if (this.server_control) { delete this.onEnterFrame; } else { this.fadeout_start = getTimer(); this.onEnterFrame = chk.fadeFunction; } } }; } static function showInterLevelAd(options) { var DEFAULTS = {clip:_root, ad_timeout:2000, fadeout_time:250, regpt:"o", method:"showTimedAd", ad_started:function () { this.clip.stop(); }, ad_finished:function () { this.clip.play(); }}; options = _parseOptions(options, DEFAULTS); var clip = options.clip; var ad_msec = 11000; var ad_timeout = options.ad_timeout; delete options.ad_timeout; var fadeout_time = options.fadeout_time; delete options.fadeout_time; if (!load(options)) { options.ad_finished(); return(undefined); } options.ad_started(); var mc = clip._mochiad; mc.onUnload = function () { options.ad_finished(); }; var wh = _getRes(options); var w = wh[0]; var h = wh[1]; mc._x = w * 0.5; mc._y = h * 0.5; var chk = mc.createEmptyMovieClip("_mochiad_wait", 3); chk.ad_msec = ad_msec; chk.ad_timeout = ad_timeout; chk.started = getTimer(); chk.showing = false; chk.fadeout_time = fadeout_time; chk.fadeFunction = function () { var p = (100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time))); if (p > 0) { this._parent._alpha = p; } else { var _clip = this._parent._parent; MochiAd.unload(_clip); delete this.onEnterFrame; } }; mc.lc.adLoaded = function (width, height) { }; mc.lc.adjustProgress = function (msec) { var _chk = this.mc._mochiad_wait; _chk.server_control = true; _chk.started = getTimer(); _chk.ad_msec = msec - 250; }; chk.onEnterFrame = function () { var ad_clip = this._parent._mochiad_ctr; var elapsed = (getTimer() - this.started); var finished = false; if (!chk.showing) { var total = ad_clip.getBytesTotal(); if ((total > 0) || (typeof(total) == "undefined")) { chk.showing = true; chk.started = getTimer(); } else if (elapsed > chk.ad_timeout) { finished = true; } } if (elapsed > chk.ad_msec) { finished = true; } if (finished) { if (this.server_control) { delete this.onEnterFrame; } else { this.fadeout_start = getTimer(); this.onEnterFrame = this.fadeFunction; } } }; } static function showTimedAd(options) { showInterLevelAd(options); } static function showPreloaderAd(options) { showPreGameAd(options); } static function _allowDomains(server) { var hostname = server.split("/")[2].split(":")[0]; if (System.security) { if (System.security.allowDomain) { System.security.allowDomain("*"); System.security.allowDomain(hostname); } if (System.security.allowInsecureDomain) { System.security.allowInsecureDomain("*"); System.security.allowInsecureDomain(hostname); } } return(hostname); } static function _loadCommunicator(options) { var DEFAULTS = {clip:_root, com_server:"http://x.mochiads.com/com/1/", method:"loadCommunicator", depth:10337, id:"_UNKNOWN_"}; options = _parseOptions(options, DEFAULTS); options.swfv = options.clip.getSWFVersion() || 6; options.mav = getVersion(); var clip = options.clip; var clipname = ("_mochiad_com_" + options.id); if (!_isNetworkAvailable()) { return(null); } if (clip[clipname]) { return(clip[clipname].lc); } var server = (options.com_server + options.id); _allowDomains(server); delete options.id; delete options.com_server; var depth = options.depth; delete options.depth; var mc = clip.createEmptyMovieClip(clipname, depth); var lv = mc.createEmptyMovieClip("_mochiad_com", 1); for (var k in options) { lv[k] = options[k]; } var lc = new LocalConnection(); var name = ["", Math.floor(new Date().getTime()), random(999999)].join("_"); lc.mc = mc; lc.name = name; lc.allowDomain = function (d) { return(true); }; lc.allowInsecureDomain = lc.allowDomain; lc.connect(name); mc.lc = lc; lv.lc = name; lc._id = 0; lc._queue = []; lc.rpcResult = function (cb_arg) { var cb = parseInt(cb_arg); var cblst = this._callbacks[cb]; if (!cblst) { return(undefined); } delete this._callbacks[cb]; var args = []; var i = 2; while (i < cblst.length) { args.push(cblst[i]); i++; } var i = 1; while (i < arguments.length) { args.push(arguments[i]); i++; } var method = cblst[1]; var obj = cblst[0]; if (obj && (typeof(method) == "string")) { method = obj[method]; } if (method) { method.apply(obj, args); } }; lc._didConnect = function (endpoint) { this._endpoint = endpoint; var q = this._queue; delete this._queue; var ds = this.doSend; var i = 0; while (i < q.length) { var item = q[i]; ds.apply(this, item); i++; } }; lc.doSend = function (args, cbobj, cbfn) { if (this._endpoint == null) { var qargs = []; var i = 0; while (i < arguments.length) { qargs.push(arguments[i]); i++; } this._queue.push(qargs); return(undefined); } this._id = this._id + 1; var id = this._id; if ((cbfn === undefined) || (cbfn === null)) { cbfn = cbobj; } this._callbacks[id] = [cbobj, cbfn]; var slc = new LocalConnection(); var ss = slc.send(this._endpoint, "rpc", id, args); }; lc._callbacks = {}; lc._callbacks[0] = [lc, "_didConnect"]; lv.st = getTimer(); lv.loadMovie(server + ".swf", "POST"); return(lc); } static function fetchHighScores(options, callbackObj, callbackMethod) { var lc = _loadCommunicator({id:options.id}); if (!lc) { return(false); } var fncall = ["fetchHighScores", options]; lc.doSend(["fetchHighScores", options], callbackObj, callbackMethod); return(true); } static function sendHighScore(options, callbackObj, callbackMethod) { var lc = _loadCommunicator({id:options.id}); if (!lc) { return(false); } var fncall = ["sendHighScore", options]; lc.doSend(["sendHighScore", options], callbackObj, callbackMethod); return(true); } static function load(options) { var DEFAULTS = {clip:_root, server:"http://x.mochiads.com/srv/1/", method:"load", depth:10333, id:"_UNKNOWN_"}; options = _parseOptions(options, DEFAULTS); options.swfv = options.clip.getSWFVersion() || 6; options.mav = getVersion(); var clip = options.clip; if (!_isNetworkAvailable()) { return(null); } if (clip._mochiad_loaded) { return(null); } var depth = options.depth; delete options.depth; var mc = clip.createEmptyMovieClip("_mochiad", depth); var wh = _getRes(options); options.res = (wh[0] + "x") + wh[1]; options.server = options.server + options.id; delete options.id; clip._mochiad_loaded = true; var lv = mc.createEmptyMovieClip("_mochiad_ctr", 1); for (var k in options) { lv[k] = options[k]; } var server = lv.server; delete lv.server; var hostname = _allowDomains(server); mc.onEnterFrame = function () { if (this._mochiad_ctr._url != this._url) { this.onEnterFrame = function () { if (!this._mochiad_ctr) { delete this.onEnterFrame; MochiAd.unload(this._parent); } }; } }; var lc = new LocalConnection(); var name = ["", Math.floor(new Date().getTime()), random(999999)].join("_"); lc.mc = mc; lc.name = name; lc.hostname = hostname; lc.allowDomain = function (d) { return(true); }; lc.allowInsecureDomain = lc.allowDomain; lc.connect(name); mc.lc = lc; lv.lc = name; lv.st = getTimer(); lv.loadMovie(server + ".swf", "POST"); return(mc); } static function unload(clip) { if (typeof(clip) == "undefined") { clip = _root; } if (clip.clip && (clip.clip._mochiad)) { clip = clip.clip; } if (!clip._mochiad) { return(false); } clip._mochiad.removeMovieClip(); delete clip._mochiad_loaded; delete clip._mochiad; return(true); } static function _isNetworkAvailable() { if (System.security) { var o = System.security; if (o.sandboxType == "localWithFile") { return(false); } } return(true); } static function _getRes(options) { var b = options.clip.getBounds(); var w = 0; var h = 0; if (typeof(options.res) != "undefined") { var xy = options.res.split("x"); w = parseFloat(xy[0]); h = parseFloat(xy[1]); } else { w = b.xMax - b.xMin; h = b.yMax - b.yMin; } if ((w == 0) || (h == 0)) { w = Stage.width; h = Stage.height; } return([w, h]); } static function _parseOptions(options, defaults) { var optcopy = {}; for (var k in defaults) { optcopy[k] = defaults[k]; } if (options) { for (var k in options) { optcopy[k] = options[k]; } } if (_root.mochiad_options) { var pairs = _root.mochiad_options.split("&"); var i = 0; while (i < pairs.length) { var kv = pairs[i].split("="); optcopy[unescape(kv[0])] = unescape(kv[1]); i++; } } if (optcopy.id == "test") { } return(optcopy); } }
Symbol 1383 MovieClip [__Packages.Game] Frame 0
class Game extends MovieClip { static var GAMEINSTANCE; var btnMenu, mcAvailableArea, _quant_interval_id, mapObjects, _pause, _game_in_process, mcEnabledButton, customers, hero, maid, attachMovie, _success, succesBar, _max_success, _popularity, orientierMapCenter, _time_last_user_active, _clients_in_hotel, _rount_time, _round_max_time, _client_count, _last_client_arrive_time, _MaxClient, mebelDver, mebelReceiption, mebelFlower0, mebelFlower1, OnMenu, strSales, strObjective, map, createEmptyMovieClip, getNextHighestDepth, _rooms, mebelCoffee, mebelPhone, mebelDaily, mebelTV, mebelDivan, mebelTable, mebelAquarium, mebelBra0, mebelBra1, mebelPicture, _available_upgrades, mcGornichnayaPanel, mcBlackBox, _score, _spend_score, _current_level, _round_finished, _time_is_lefted, _score_in_round, orientierStartPosition, mcClock, _scores2master, _ActionCountForClients, _Clients, _Clients_configs, _wish_cleaning_time, success_maxes, LeaveHotelPay_maxes, _available_wishes, upgrades_config, _moneys_per_exit, mebelKWall, _buyed_goods, _shop_window, _winned, stat_served_clients, stat_losted_clients, stat_trashed_toys, stat_trashed_packs, stat_bonus_score, _complete_wishes, _fast_complete_wishes, orientierRoom0, mapDepthLevel, _time_tick_interval_id, OnGameExit, _xmouse, _ymouse, _gragging, textScore, textScoreTarget, _keys_from_room, actionOptional1, mcWndStartLevel, mcWndEndLevel, _cursor_movie, orientierKeys, orientierCoffee, orientierPhone, orientierRead, orientierTvSet, orientierTv, orientierTable, orientierFlower0, orientierFlower1, orientierDoor, orientierKitchenIn, orientierKitchenOut, _tip_high; function Game () { super(); Key.addListener(this); btnMenu.OnClick = mx.utils.Delegate.create(this, MenuButtonOnPress); mcAvailableArea.onPress = mx.utils.Delegate.create(this, MoveheroToMouse); mcAvailableArea.hitArea = mcAvailableArea; Enabled = (false); _quant_interval_id = setInterval(this, "OnQuant", 10); mapObjects = new Array(); com.mosesSupposes.fuse.ZigoEngine.register(com.mosesSupposes.fuse.Fuse, com.mosesSupposes.fuse.PennerEasing); } function get inPause() { return(_pause); } function EnablePause() { if (!_pause) { __pause_enabled_in = getTimer(); } _pause = true; } function DisablePause() { _pause = false; __game_in_pause_time = __game_in_pause_time + (getTimer() - __pause_enabled_in); } function get UserCanInterract() { return(_game_in_process && (!_pause)); } function set Enabled(val) { __enabled = val; if (__enabled && (mcEnabledButton != undefined)) { mcEnabledButton.Hide(); mcEnabledButton = undefined; var i = 0; while (i < customers.length) { var cl = Client(customers[i]); cl.ResumeAnimation(); i++; } hero.ResumeAnimation(); maid.ResumeAnimation(); } else if ((!__enabled) && (mcEnabledButton == undefined)) { mcEnabledButton = attachMovie("FullscreenButton", "mcEnabledButton", LEVEL_END_DIALOG_DEPTH - 1); mcEnabledButton.Show(); var i = 0; while (i < customers.length) { var cl = Client(customers[i]); cl.PauseAnimation(); i++; } hero.PauseAnimation(); maid.PauseAnimation(); } //return(Enabled); } function get Enabled() { return(__enabled); } function get Success() { return(_success); } function set Success(value) { _success = Math.min(100, Math.max(0, value)); succesBar.__set__Progress(_success); succesBar.__set__Text("+" + SuccessCoins); //return(Success); } function AddSuccess(value) { if (isNaN(value)) { return(undefined); } if (value < 0) { Helper.PlaySound("minus"); } Success = Success + value; } function get SuccessCoins() { return(Math.max(_extra_success, Math.floor((_success * _max_success) / 100))); } function get Popularity() { return(_popularity); } function set Popularity(value) { if (isNaN(value)) { return; } _popularity = value; //return(Popularity); } function MenuButtonOnPress() { OpenGameMenu(); } function SetInStageCenter(mc) { mc._x = orientierMapCenter._x - (mc._width / 2); mc._y = orientierMapCenter._y - (mc._height / 2); } function SetInStageCenterEx(mc, w, h) { mc._x = orientierMapCenter._x - (w / 2); mc._y = orientierMapCenter._y - (h / 2); } function OnQuant() { if (___prev_pause != _pause) { if (_pause == true) { } } Quant(); } function Quant() { if ((!_pause) && (_game_in_process)) { heroDoNextAction(); if (_prev_quant_time < 0) { _prev_quant_time = getGameTimer(); } var dtime = Math.min(200, getGameTimer() - _prev_quant_time); var k = 0; while (k < mapObjects.length) { MapObject(mapObjects[k]).Quant(dtime); k++; } _prev_quant_time = getGameTimer(); _time_last_user_active = _time_last_user_active + Math.min(100, dtime); if (((((!maid.__get__InKitchen()) && (maid.__get__State() != Maid.STATE_WAITING)) || (hero.__get__InMoving())) || (_actions_queue.length != 0)) || (_clients_in_hotel == 0)) { _time_last_user_active = 0; } else { var all_wo_wish = true; var i = 0; while (i < customers.length) { var cl = Client(customers[i]); if ((cl.__get__Live() && (!cl.__get__InMoving())) && (cl.Wish != Client.WISH_NONE)) { all_wo_wish = false; break; } i++; } if (all_wo_wish) { _time_last_user_active = 0; } } if (_time_last_user_active > 1000) { } if ((_time_last_user_active > UNACTIVE_TIME_TO_OPEN_GAME_MENU) && ((_round_max_time - _rount_time) > 5)) { OpenGameMenu(); _time_last_user_active = 0; } if (ShopOpened && ((_client_count == 0) || ((_last_client_arrive_time + CLIENT_ARRIVE_INTERVAL) < getGameTimer()))) { if ((((_client_count < _MaxClient) && (_clients_in_hotel < CUSTOMERS_NUM)) && (!mebelDver.__get__HasChar())) && (HallIsFree())) { CreateCustomer(); _last_client_arrive_time = getGameTimer(); } } } } function onEnterFrame() { if (_launsh_state == 1) { Launch2(); } if (!_pause) { if (_game_in_process) { if (__update_objects_depth_counter == 0) { UpdateMapObjectsDepth(); } __update_objects_depth_counter++; if (__update_objects_depth_counter > 2) { __update_objects_depth_counter = 0; } if ((((((!ShopOpened) && (_clients_in_hotel <= 0)) && (!mebelReceiption.__get__HasMoneyOnTable())) && (!mebelFlower0.__get__InIll())) && (!mebelFlower1.__get__InIll())) && (AllRoomsCleared)) { OnRoundFinished(); } } } return(undefined); } function SortMapObjects(a, b) { if (!a.__get__Enabled()) { return(-1); } if (!b.__get__Enabled()) { return(1); } if (a._y < b._y) { return(-1); } if (a._y > b._y) { return(1); } return(0); } function OpenGameMenu() { if (OnMenu != undefined) { EnablePause(); Enabled = (false); OnMenu(); } } function CloseGameMenu() { _time_last_user_active = 0; Enabled = (true); DisablePause(); if ((_game_in_process && (Helper.MusicEnabled)) && (Helper.__get__isMusicLoaded())) { Helper.PlayMusic(); } } function Init() { btnMenu.buttonText = Language.Transl("menu"); strSales = Language.Transl("game goal"); strObjective = Language.Transl("formaster"); map = new Map(); map.W = (mcAvailableArea._width / Map.CELL_SIZE) + 1; map.H = (mcAvailableArea._height / Map.CELL_SIZE) + 1; map.X = mcAvailableArea._x - (Map.CELL_SIZE / 2); map.Y = mcAvailableArea._y - (Map.CELL_SIZE / 2); mcAvailableArea.hitArea = mcAvailableArea; RebuildMapWalkArea(); mcAvailableArea._alpha = 0; if (Helper.DEBUG_MAP) { var canvas = createEmptyMovieClip("canvas_mc", getNextHighestDepth()); canvas.lineStyle(1, 16711680, 100); var y = 0; while (y < map.H) { var x = 0; while (x < map.W) { if (map.map[y][x] > 0) { var cellx = (map.X + (x * Map.CELL_SIZE)); var celly = (map.Y + (y * Map.CELL_SIZE)); canvas.moveTo(cellx, celly); canvas.lineTo(cellx + Map.CELL_SIZE, celly); canvas.lineTo(cellx + Map.CELL_SIZE, celly + Map.CELL_SIZE); canvas.lineTo(cellx, celly + Map.CELL_SIZE); canvas.lineTo(cellx, celly); } x++; } y++; } } hero = Hero(attachMovie("Hero", "hero", DEPTH_LEVEL_3)); hero.map = map; hero.OnTargetReached = mx.utils.Delegate.create(this, heroReachTarget); customers = new Array(); var i = 0; while (i < CUSTOMERS_NUM) { var c = Client(attachMovie("Client", "client_" + i, DEPTH_LEVEL_2 + i)); c.__set__Map(map); c.OnClick = mx.utils.Delegate.create(this, ClientClicked); c.OnWishComplete = mx.utils.Delegate.create(this, ClientWishComplete); c.OnWishFail = mx.utils.Delegate.create(this, ClientWishFail); c.OnWishDelivered = mx.utils.Delegate.create(this, ClientWishDelivered); RegisterMapObject(c); customers.push(c); i++; } _rooms = new Array(); var i = 0; while (i < ROOMS_NUM) { var room = Room(this["mcRoom" + i]); room.orientierEnter = Orientir(this["orientierRoom" + i]); room.__set__Num(i); room.OnClick = mx.utils.Delegate.create(this, RoomClicked); _rooms.push(room); i++; } mebelDver.Close(); mebelDver.CharEntered = mx.utils.Delegate.create(this, CharEnteredInDoor); mebelDver.CharExited = mx.utils.Delegate.create(this, CharExitedFromHotel); mebelReceiption.OnClick = mx.utils.Delegate.create(this, ReceiptionClicked); mebelReceiption.OnMoneyClick = mx.utils.Delegate.create(this, ReceiptionMoneysClicked); mebelCoffee.OnClick = mx.utils.Delegate.create(this, CoffeeClicked); mebelPhone.OnClick = mx.utils.Delegate.create(this, PhoneClicked); mebelDaily.OnClick = mx.utils.Delegate.create(this, DailyClicked); mebelTV.OnClick = mx.utils.Delegate.create(this, TVClicked); mebelDivan.OnClick = mx.utils.Delegate.create(this, DivanClicked); mebelTable.OnClick = mx.utils.Delegate.create(this, TableClicked); mebelFlower0.OnDeathFail = mx.utils.Delegate.create(this, FlowerFailed); mebelFlower1.OnDeathFail = mx.utils.Delegate.create(this, FlowerFailed); mebelFlower0.OnClick = mx.utils.Delegate.create(this, Flower0Clicked); mebelFlower1.OnClick = mx.utils.Delegate.create(this, Flower1Clicked); mebelAquarium._active = false; mebelAquarium._enabled = false; mebelBra0._active = false; mebelBra0._enabled = false; mebelBra1._active = false; mebelBra1._enabled = false; mebelPicture._active = false; mebelPicture._enabled = false; _available_upgrades = new Array(UPGRADE_MAX); var i = 0; while (i < _available_upgrades.length) { _available_upgrades[i] = UPGRADE_UNAVAILABLE; if (Helper.DEBUG_ALL_UPGRADES_AVAILABLE) { _available_upgrades[i] = UPGRADE_AVAILABLE; } i++; } _available_upgrades[UPGRADE_COFFEE] = UPGRADE_AVAILABLE; if (Helper.DEBUG_FLOWERS) { _available_upgrades[UPGRADE_FLOWERS] = UPGRADE_AVAILABLE; } mcGornichnayaPanel._visible = false; Button(mcGornichnayaPanel.btnClean).onPress = mx.utils.Delegate.create(this, GornichnayaCleanClicked); Button(mcGornichnayaPanel.btnFlower).onPress = mx.utils.Delegate.create(this, GornichnayaFlowerClicked); maid._game = this; maid.Reset(); } function StartNewGame() { mcBlackBox._visible = false; _score = 0; _spend_score = 0; _popularity = 0; if (Helper.DEBUG) { _score = Helper.DEBUG_START_MONEYS; LoadLevel(Helper.DEBUG_START_LEVEL); } else { LoadLevel(0); } } function Launch() { _launsh_state = 1; Init(); Enabled = (true); } function Launch2() { _launsh_state = 2; StartNewGame(); } function StartNextLevel() { _current_level++; LoadLevel(_current_level); } function StartPrevLevel() { _current_level--; LoadLevel(_current_level); } function LoadLevel(level) { _time_last_user_active = 0; var i = 0; while (i < customers.length) { Client(customers[i]).Die(); i++; } _round_finished = false; _time_is_lefted = false; _current_level = level; _score_in_round = 0; _client_count = 0; _clients_in_hotel = 0; _last_client_arrive_time = 0; hero.GoTo(Point.FromMovie(orientierStartPosition), true); Tracer.trace(("--LoadLevel: " + level) + "--"); mcClock.__set__Day(level + 1); _round_max_time = 60; var root = LevelsConfig.GetXML().firstChild; var levels_node = GetNodeByName(root, "levels"); var level_node = getArrayNodesById(levels_node, level + 1)[0]; _round_max_time = Number(GetNodeByName(level_node, "CloseTime").firstChild.nodeValue); _scores2master = Number(GetNodeByName(level_node, "Goal").firstChild.nodeValue); _ActionCountForClients = Number(GetNodeByName(level_node, "ActionCountForClients").firstChild.nodeValue); _MaxClient = Number(GetNodeByName(level_node, "MaxClient").firstChild.nodeValue); var clients_names = String(GetNodeByName(level_node, "Clients").firstChild.nodeValue).split(","); _Clients = new Array(); for (var ind in clients_names) { _Clients.push(Helper.SearchArray2(clients_names[ind], CLIENTS_TYPES)); } _Clients_configs = new Array(CLIENTS_TYPES.length); var clients_node = GetNodeByName(root, "clients"); var i = 0; while (i < CLIENTS_TYPES.length) { _Clients_configs[i] = new Object(); _Clients_configs[i].wishes = new Array(Client.WISHES.length); var conf_node = GetNodeByName(clients_node, CLIENTS_TYPES[i]); var j = 0; while (j < Client.WISHES.length) { var wish_name = Client.WISHES[j]; var wish_node = GetNodeByName(conf_node, wish_name); _Clients_configs[i].wishes[j] = wish_node.firstChild.nodeValue.split("|"); j++; } _Clients_configs[i].delay = Number(GetNodeByName(conf_node, "delay").firstChild.nodeValue); _Clients_configs[i].speed = Number(GetNodeByName(conf_node, "speed").firstChild.nodeValue) * SPEED_PORTABLE_COEFF; i++; } var opened_rooms = [[false, false, false, false], [true, false, false, false], [true, false, false, true], [true, false, true, true], [true, true, true, true]]; var opened_rooms2 = opened_rooms[Math.min(4, _MaxClient)]; var i = 0; while (i < _rooms.length) { var r = Room(_rooms[i]); if (opened_rooms2[i]) { r.__set__Status(Room.FREE); } else { r.__set__Status(Room.CLOSED); } i++; } var config_node = GetNodeByName(root, "config"); _wish_cleaning_time = Number(GetNodeByName(config_node, "CleaningTime").firstChild.nodeValue); success_maxes = GetNodeByName(config_node, "MaxSuccessPerReputation").firstChild.nodeValue.split(","); var arr_ind; _extra_success = 0; Success = (0); LeaveHotelPay_maxes = GetNodeByName(config_node, "LeaveHotelPayPerReputation").firstChild.nodeValue.split(","); _available_wishes = new Array(); if (_current_level > 0) { _available_wishes.push(Client.WISH_CLEAN); } ClearMapObjects(); RegisterMapObject(hero); RegisterMapObject(maid); var i = 0; while (i < CUSTOMERS_NUM) { RegisterMapObject(MapObject(customers[i])); i++; } if (mebelReceiption._moneys != undefined) { Helper.ClearArray2(mebelReceiption._moneys); } mebelReceiption._moneys = new Array(CUSTOMERS_NUM); var upgrades_node = GetNodeByName(root, "upgrades"); upgrades_config = new Array(ShopGood.GOOD_MAX); var i = 0; while (i < ShopGood.GOOD_MAX) { upgrades_config[i] = GetNodeByName(upgrades_node, ShopGood.GOODS_NAMES[i]).firstChild.nodeValue.split(","); i++; } Helper.globalGameLevelStartScore = _score; Helper.globalGameLevelStartSpend = _spend_score; Helper.globalGameLevelStartUpgrades = Helper.CopyArray(_available_upgrades); Helper.globalGameLevelStartLevel = level; if (_current_level > 0) { if ((((_current_level == 4) || (_current_level == 8)) || (_current_level == 10)) && (Helper.SHOW_INGAMEADS == true)) { mc_ADS.showIngameAds(_root, ShowShop, this); } else { ShowShop(); } } else { LoadingLevelPhase2(); } } function GetMaxChaevie(popular) { var arr_ind; if (popular < 41) { arr_ind = 0; } else if (popular < 66) { arr_ind = 1; } else if (popular < 91) { arr_ind = 2; } else { arr_ind = 3; } return(parseInt(success_maxes[arr_ind])); } function LoadingLevelPhase2() { _max_success = GetMaxChaevie(Popularity); Success = (0); var arr_ind; if (Popularity < 26) { arr_ind = 0; } else if (Popularity < 51) { arr_ind = 1; } else if (Popularity < 76) { arr_ind = 2; } else { arr_ind = 3; } _moneys_per_exit = parseInt(LeaveHotelPay_maxes[arr_ind]); RegisterMapObject(mebelReceiption); RegisterMapObject(mebelDver); RegisterMapObject(mebelKWall); if (_available_upgrades[UPGRADE_TV] == UPGRADE_AVAILABLE) { RegisterMapObject(mebelDivan); RegisterMapObject(mebelTV); mebelDivan._visible = true; mebelTV._visible = true; _available_wishes.push(Client.WISH_TV); if (Helper.SearchArray(_buyed_goods, UPGRADE_TV) != -1) { mebelDivan.PrepareAppearAnimation(); mebelTV.PrepareAppearAnimation(); } } else { mebelDivan._visible = false; mebelTV._visible = false; } if (_available_upgrades[UPGRADE_TABLE] == UPGRADE_AVAILABLE) { RegisterMapObject(mebelTable); mebelTable._visible = true; if (Helper.SearchArray(_buyed_goods, UPGRADE_TABLE) != -1) { mebelTable.PrepareAppearAnimation(); } } else { mebelTable._visible = false; } if (_available_upgrades[UPGRADE_READ] == UPGRADE_AVAILABLE) { RegisterMapObject(mebelDaily); mebelDaily._visible = true; _available_wishes.push(Client.WISH_READ); if (Helper.SearchArray(_buyed_goods, UPGRADE_READ) != -1) { mebelDaily.PrepareAppearAnimation(); } } else { mebelDaily._visible = false; } if (_available_upgrades[UPGRADE_COFFEE] == UPGRADE_AVAILABLE) { RegisterMapObject(mebelCoffee); mebelCoffee._visible = true; _available_wishes.push(Client.WISH_COFFEE); } else { mebelCoffee._visible = false; } if (_available_upgrades[UPGRADE_PHONE] == UPGRADE_AVAILABLE) { RegisterMapObject(mebelPhone); mebelPhone._visible = true; _available_wishes.push(Client.WISH_PHONE); if (Helper.SearchArray(_buyed_goods, UPGRADE_PHONE) != -1) { mebelPhone.PrepareAppearAnimation(); } } else { mebelPhone._visible = false; } if (_available_upgrades[UPGRADE_FLOWERS] == UPGRADE_AVAILABLE) { RegisterMapObject(mebelFlower0); RegisterMapObject(mebelFlower1); mebelFlower0._visible = true; mebelFlower1._visible = true; mebelFlower0.Respawn(); mebelFlower1.Respawn(); if (Helper.SearchArray(_buyed_goods, UPGRADE_FLOWERS) != -1) { mebelFlower0.PrepareAppearAnimation(); mebelFlower1.PrepareAppearAnimation(); } } else { mebelFlower0._visible = false; mebelFlower1._visible = false; mebelFlower0.Disable(); mebelFlower1.Disable(); } if (_available_upgrades[UPGRADE_PICTURE] == UPGRADE_AVAILABLE) { mebelPicture._visible = true; if (Helper.SearchArray(_buyed_goods, UPGRADE_PICTURE) != -1) { mebelPicture.PrepareAppearAnimation(); } } else { mebelPicture._visible = false; } if (_available_upgrades[UPGRADE_AQUARIUM] == UPGRADE_AVAILABLE) { mebelAquarium._visible = true; if (Helper.SearchArray(_buyed_goods, UPGRADE_AQUARIUM) != -1) { mebelAquarium.PrepareAppearAnimation(); } } else { mebelAquarium._visible = false; } if (_available_upgrades[UPGRADE_LAMP] == UPGRADE_AVAILABLE) { mebelBra0._visible = true; mebelBra1._visible = true; if (Helper.SearchArray(_buyed_goods, UPGRADE_LAMP) != -1) { mebelBra0.PrepareAppearAnimation(); mebelBra1.PrepareAppearAnimation(); } } else { mebelBra0._visible = false; mebelBra1._visible = false; } RebuildMapWalkArea(); mcGornichnayaPanel._visible = Helper.SearchArray(_available_wishes, Client.WISH_CLEAN) != -1; mcGornichnayaPanel.btnClean._visible = Helper.SearchArray(_available_wishes, Client.WISH_CLEAN) != -1; mcGornichnayaPanel.btnFlower._visible = _available_upgrades[UPGRADE_FLOWERS] == UPGRADE_AVAILABLE; Start(); } function ShowShop() { GAMEINSTANCE = this; _shop_window = Shop(attachMovie("Shop", "shop_window", getNextHighestDepth())); _shop_window.OnClose = mx.utils.Delegate.create(this, OnShopClosed); _shop_window.OnMenu = mx.utils.Delegate.create(this, OnShopMenuClicked); _shop_window.__set__game(this); ShowTip(TipsWindow.TIP_SHOP); } function OnShopClosed() { _buyed_goods = _shop_window.BayedGoods; _shop_window.removeMovieClip(); _shop_window = undefined; LoadingLevelPhase2(); } function OnShopMenuClicked() { _root.gotoAndStop("frameGameMenu"); } function SplitToNumberArray(s) { var a = s.split(","); var ret = new Array(a.length); var i = 0; while (i < ret.length) { ret[i] = new Number(0); ret[i] = parseInt(a[i]); i++; } return(ret); } function GetNodeByName(node, name) { var x = node; var len = node.childNodes.length; var i = 0; while (i < len) { var obj = node.childNodes[i]; if (obj.nodeName == name) { return(obj); } i++; } return(null); } function getArrayNodesById(node, val, deep) { if (deep == undefined) { deep = false; } var i = 0; var arr = node.childNodes; var nod; var len = arr.length; var a = []; while (i < len) { nod = arr[i++]; ((nod.attributes.id == val) ? (a.push(nod)) : ""); ((deep && (nod.firstChild != null)) ? ((a = a.concat(getArrayNodesById(nod, val, true)))) : ""); } return(a); } function Start() { _rount_time = _round_max_time; _winned = false; stat_served_clients = 0; stat_losted_clients = 0; stat_trashed_toys = 0; stat_trashed_packs = 0; stat_bonus_score = 0; _extra_success = 0; _complete_wishes = 0; _fast_complete_wishes = 0; SetCursorMode(CURSOR_NORMAL); maid.Reset(); if (Helper.DEBUG_CLIENT_IN_FIRST_ROOM) { var cl = CreateCustomer(); mebelDver.DeattachChar(cl); mebelDver.Close(); cl.SetAnimation(Bot.ANIM_STAY); cl.GoTo(orientierRoom0.GetPoint(), true); cl.__set__room(Room(_rooms[0])); cl.GoState(Client.STATE_AT_ROOM); cl.RequestWish(); } var k = 0; while (k < mapObjects.length) { if (mapObjects[k] instanceof Mebel) { var meb = Mebel(mapObjects[k]); meb.__set__Enabled(false); } k++; } var k = 0; while (k < _rooms.length) { var rm = Room(_rooms[k]); rm.__set__Enabled(false); rm.ClearTicks(); k++; } Button(mcGornichnayaPanel.btnClean).enabled = false; Button(mcGornichnayaPanel.btnFlower).enabled = false; UpdateScore(); ShowStartLevelMessage(); } function Start2() { _extra_success = 0; ShopOpened = true; if (Helper.MusicEnabled && (Helper.__get__isMusicLoaded())) { Helper.PlayMusic(); } mebelReceiption.Init(); if (_available_upgrades[UPGRADE_FLOWERS] == UPGRADE_AVAILABLE) { mebelFlower0.Respawn(); mebelFlower1.Respawn(); } else { mebelFlower0.Disable(); mebelFlower1.Disable(); } mapDepthLevel = LEVEL_MAP_OBJECTS_DEPTH; mcClock.swapDepths(LEVEL_GAME_INTERFACE_DEPTH + DEPTH_FOR_CLOCK); } function StartLevelMessageClosed() { if (Helper.SearchArray(_buyed_goods, UPGRADE_TV) != -1) { mebelDivan.PlayAppearAnimation(); mebelTV.PlayAppearAnimation(); } if (Helper.SearchArray(_buyed_goods, UPGRADE_TABLE) != -1) { mebelTable.PlayAppearAnimation(); } if (Helper.SearchArray(_buyed_goods, UPGRADE_READ) != -1) { mebelDaily.PlayAppearAnimation(); } if (Helper.SearchArray(_buyed_goods, UPGRADE_PHONE) != -1) { mebelPhone.PlayAppearAnimation(); } if (Helper.SearchArray(_buyed_goods, UPGRADE_FLOWERS) != -1) { mebelFlower0.PlayAppearAnimation(); mebelFlower1.PlayAppearAnimation(); } if (Helper.SearchArray(_buyed_goods, UPGRADE_PICTURE) != -1) { mebelPicture.PlayAppearAnimation(); } if (Helper.SearchArray(_buyed_goods, UPGRADE_AQUARIUM) != -1) { mebelAquarium.PlayAppearAnimation(); } if (Helper.SearchArray(_buyed_goods, UPGRADE_LAMP) != -1) { mebelBra0.PlayAppearAnimation(); mebelBra1.PlayAppearAnimation(); } ShowStartTextAnimation(Language.Transl("message get ready"), mx.utils.Delegate.create(this, function () { Helper.setTimeout(mx.utils.Delegate.create(this, this.BeginGameProcess), 500); this.ShowStartTextAnimation(Language.Transl("message go")); })); } function BeginGameProcess() { Start2(); _time_last_user_active = 0; UpdateRemainTime(); if (_time_tick_interval_id != undefined) { clearInterval(_time_tick_interval_id); _time_tick_interval_id = undefined; } _time_tick_interval_id = setInterval(this, "OnTimerTick", 1000); _game_in_process = true; var k = 0; while (k < mapObjects.length) { if (mapObjects[k] instanceof Mebel) { var meb = Mebel(mapObjects[k]); meb.__set__Enabled(true); } k++; } Button(mcGornichnayaPanel.btnClean).enabled = true; Button(mcGornichnayaPanel.btnFlower).enabled = true; maid.Reset(); if (_current_level == 1) { Room(_rooms[3]).RequestClean(); ShowTip(TipsWindow.TIP_CLEAN_ROOM); } ClearHeroActions(); UpdateMapObjectsDepth(); } function OnRoundFinished() { _winned = _score_in_round >= _scores2master; _game_in_process = false; ClearHeroActions(); SetCursorMode(CURSOR_NORMAL); hero.StopMove(); ShowLevelEndMessage(); } function YouWinMessageClosed() { CloseLevelEndMessage(); StartNextLevel(); } function GameOverMessageClosed() { GotoMainMenu(); } function GotoMainMenu() { OnGameExit(); } function onMouseDown(Void) { } function MoveheroToMouse(Void) { if ((UserCanInterract || (Helper.DEBUG)) || (Helper.DEBUG2)) { if (CursorMode == CURSOR_KEYS) { mebelReceiption.ReturnKey(); SetCursorMode(CURSOR_NORMAL); } else if ((_actions_queue.length <= 0) && (hero.moving_type == Hero.MOVING_TYPE_WALK)) { var mouse_p = new Point(_xmouse, _ymouse); if (mcAvailableArea.hitTest(mouse_p.x, mouse_p.y, true)) { heroDoAction(Hero.MOVING_TYPE_WALK, mouse_p); _repeat_current_action = false; } } } } function onMouseUp(Void) { _gragging = false; } function onMouseMove(Void) { _time_last_user_active = 0; UpdateCursorPosition(); } function onKeyDown() { Tracer.trace(Key.getCode()); if (!(Key.getCode() === 80)) { } else { OpenGameMenu(); } if (Helper.DEBUG) { switch (Key.getCode()) { case 49 : Fx.CreateTrailToPoint(this, new Point(_xmouse, _ymouse), succesBar.__get__DiskPosition(), "StarGreen", "AddGreen"); return; case 51 : _round_finished = true; OnRoundFinished(); return; case 52 : var i = 0; while (i < customers.length) { i++; } return; case 83 : } } } function AddScore(score) { if (isNaN(score)) { return(undefined); } var score__norm = ((score != Number.NaN) ? (score) : 0); if ((((score__norm > 0) || (score__norm < 0)) && (score__norm < 100000)) && (score__norm.toString() != "NaN")) { score__norm = score__norm; } else { score__norm = 0; } score = score__norm; var prev_score = _score_in_round; _score_in_round = _score_in_round + score; if (_score_in_round < 0) { _score_in_round = 0; } if ((prev_score < _scores2master) && (_score_in_round >= _scores2master)) { ShowStartTextAnimation(Language.Transl("message goal complete")); Helper.PlaySound("goal"); } _score = _score + (_score_in_round - prev_score); UpdateScore(); } function UpdateScore() { textScore.text = String(_score_in_round); textScoreTarget.text = String(_scores2master); Helper.globalGameScore = _score; } function UpdateCompleteBar() { mcClock.__set__Progress((_rount_time * 100) / _round_max_time); } function OnTimerTick() { if ((_game_in_process && (!_pause)) && (ShopOpened)) { _rount_time--; if (!HasTime()) { CloseShop(); } UpdateRemainTime(); } if (!_pause) { OnCustomerReduceHood(); } } function HasTime() { return(_rount_time > 0); } function UpdateRemainTime() { UpdateCompleteBar(); } function CloseShop() { ShopOpened = false; Shop.SHOPDISABLED = false; } function heroReachTarget() { _repeat_current_action = false; switch (hero.moving_type) { case Hero.MOVING_KEYS : mebelReceiption.HideTick(); if (mebelReceiption.__get__HasKeys() && (CursorMode != CURSOR_KEYS)) { if (HasWishesWith(Client.WISH_KEYS)) { _keys_from_room = GetFreeRoom(); if (_keys_from_room != null) { _keys_from_room.Open(); mebelReceiption.TakeKey(); SetCursorMode(CURSOR_KEYS); Helper.PlaySound("key_set"); ShowTip(TipsWindow.TIP_TAKE_KEYS); } else { Helper.PlaySound("key_denied"); } } } else if (CursorMode == CURSOR_KEYS) { mebelReceiption.ReturnKey(); SetCursorMode(CURSOR_NORMAL); } else { Helper.PlaySound("key_denied"); } break; case Hero.MOVING_COFFEE : mebelCoffee.HideTick(); hero.__set__CarryngMode(Hero.CARRYNG_COFFEE); hero.UpdateAnimation(); Helper.PlaySound("pickup_coffee"); ShowTip(TipsWindow.TIP_CLICK_DOOR); break; case Hero.MOVING_PHONE : mebelPhone.HideTick(); hero.__set__CarryngMode(Hero.CARRYNG_PHONE); Helper.PlaySound("pickup_phone"); break; case Hero.MOVING_READ : mebelDaily.HideTick(); hero.__set__CarryngMode(Hero.CARRYNG_READ); Helper.PlaySound("pickup_newspaper"); break; case Hero.MOVING_TV : mebelTV.ClearTicks(); if ((mebelDivan.__get__HasChar() && (mebelDivan.__get__Char().Wish == Client.WISH_TV)) && (!mebelDivan.__get__Char().__get__WishInProcess())) { mebelTV.TurnOn(); mebelDivan.__get__Char().TakeTV(); Helper.PlaySound("pickup_tv"); } break; case Hero.MOVING_DIVAN : mebelDivan.HideTick(); if (mebelDivan.__get__HasChar() && (hero.__get__CarryngMode() == Hero.CARRYNG_COFFEE)) { mebelDivan.__get__Char().TakeCoffee(); hero.CarryngItemUsed = true; var next_action_wish = getNextHeroActionWish(); } break; case Hero.MOVING_TABLE : mebelTable.HideTick(); if (mebelTable.__get__HasChar()) { var next_action_wish = getNextHeroActionWish(); if ((hero.__get__CarryngMode() == Hero.CARRYNG_COFFEE) && (mebelTable.__get__Char().Wish == Client.WISH_COFFEE)) { mebelTable.__get__Char().TakeCoffee(); hero.CarryngItemUsed = true; } else if ((hero.__get__CarryngMode() == Hero.CARRYNG_READ) && (mebelTable.__get__Char().Wish == Client.WISH_READ)) { mebelTable.__get__Char().TakeRead(); hero.CarryngItemUsed = true; } else { hero.__set__CarryngMode(Hero.CARRYNG_NONE); NoActionAvailable(); } } else { NoActionAvailable(); } break; case Hero.MOVING_ROOM0 : case Hero.MOVING_ROOM1 : case Hero.MOVING_ROOM2 : case Hero.MOVING_ROOM3 : var rm = Room(_rooms[hero.moving_type - Hero.MOVING_ROOM0]); rm.ClearTicks(); var cl = GetClientOfRoom(rm); if ((cl != null) && (cl.State == Client.STATE_AT_ROOM)) { if ((cl.Wish == Client.WISH_COFFEE) && (hero.__get__CarryngMode() == Hero.CARRYNG_COFFEE)) { cl.TakeCoffee(); hero.CarryngItemUsed = true; rm.HideTick(); HeroMoveAvayFromRoom(rm); } else if ((cl.Wish == Client.WISH_PHONE) && (hero.__get__CarryngMode() == Hero.CARRYNG_PHONE)) { cl.TakePhone(); hero.CarryngItemUsed = true; rm.HideTick(); HeroMoveAvayFromRoom(rm); } else if ((cl.Wish == Client.WISH_READ) && (hero.__get__CarryngMode() == Hero.CARRYNG_READ)) { cl.TakeRead(); hero.CarryngItemUsed = true; rm.HideTick(); HeroMoveAvayFromRoom(rm); } else { NoActionAvailable(); } } else { NoActionAvailable(); } break; case Hero.MOVING_CLIENT_AT_RECEIPTION : var cl = Client(actionOptional1); if (CursorMode == CURSOR_KEYS) { if ((((cl.State == Client.STATE_AT_RECEIPTION) && (!cl.__get__InMoving())) && (cl.__get__room() == null)) && (_keys_from_room != null)) { cl.TakeKeys(_keys_from_room); SetCursorMode(CURSOR_NORMAL); mebelReceiption.ReleaseKey(); } else { NoActionAvailable(); } } else { NoActionAvailable(); } cl.HideTick(); break; case Hero.MOVING_MONEYS_ON_TABLE : var mn = Moneys(actionOptional1); if (!((mn != undefined) && (mn.__get__Value() != undefined))) { break; } mn.HideTick(); AddScore(mn.__get__Value()); var p = new Point(mebelReceiption._x, mebelReceiption._y); p.x = p.x + mn._x; p.y = p.y + mn._y; PlayMoneyTakedAnimation(mn.__get__Value().toString(), p); mebelReceiption.RemoveMoneys(mn); Helper.PlaySound("pickup_money"); } switch (hero.__get__CarryngMode()) { case Hero.CARRYNG_COFFEE : if (!HasWishesWith(Client.WISH_COFFEE)) { hero.__set__CarryngMode(Hero.CARRYNG_NONE); } break; case Hero.CARRYNG_READ : if (!HasWishesWith(Client.WISH_READ)) { hero.__set__CarryngMode(Hero.CARRYNG_NONE); } break; case Hero.CARRYNG_PHONE : if (HasWishesWith(Client.WISH_PHONE)) { break; } hero.__set__CarryngMode(Hero.CARRYNG_NONE); } if (!_repeat_current_action) { hero.moving_type = Hero.MOVING_TYPE_WALK; } } function HeroMoveAvayFromRoom(rm) { if (_actions_queue.length == 0) { var p = rm.orientierEnter.GetPoint(); p.x = p.x + 40; p.y = p.y + 40; heroDoActionNOW(Hero.MOVING_TYPE_WALK, p); } } function RepearAction() { _repeat_current_action = true; } function heroDoNextAction() { if (_repeat_current_action) { return(undefined); } if ((_actions_queue.length != 0) && (hero.moving_type == Hero.MOVING_TYPE_WALK)) { var action_item = _actions_queue.shift(); if (heroCanDoAction(action_item.mtype)) { heroDoActionNOW(Number(action_item.mtype), MovieClip(action_item.orient), action_item.opt1); } else { ClearHeroActions(); BeepError(); } } else if ((_actions_queue.length == 0) && (hero.moving_type == Hero.MOVING_TYPE_WALK)) { if (hero.__get__CarryngMode() != Hero.CARRYNG_NONE) { if (hero.CarryngItemUsed) { hero.__set__CarryngMode(Hero.CARRYNG_NONE); hero.UpdateAnimation(); } } } } function getNextHeroAction() { if (_actions_queue.length > 0) { return(_actions_queue[0]); } return(null); } function getNextHeroActionWish() { var arr = getNextHeroAction(); return(GetActionWish(arr)); } function getCurrentHeroActionWish(action) { var arr = new Array(); arr.mtype = action; return(GetActionWish(arr)); } function GetActionWish(arr) { if (arr == null) { return(Client.WISH_NONE); } var action_type = Number(arr.mtype); if ((action_type >= Hero.MOVING_ROOM0) && (action_type <= Hero.MOVING_ROOM3)) { var room_num = (action_type - Hero.MOVING_ROOM0); var cl = GetClientOfRoom(Room(_rooms[room_num])); return(cl.Wish); } if (action_type == Hero.MOVING_DIVAN) { if (mebelDivan.__get__Char() != null) { return(mebelDivan.__get__Char().Wish); } } else if (action_type == Hero.MOVING_TABLE) { if (mebelTable.__get__Char() != null) { return(mebelTable.__get__Char().Wish); } } return(Client.WISH_NONE); } function HasWishesWith(wish) { var i = 0; while (i < customers.length) { var cl = Client(customers[i]); if (cl.__get__Live() && (cl.Wish == wish)) { return(true); } i++; } return(false); } function HasWishesWithCarryngMode(cmode) { if (cmode == Hero.CARRYNG_COFFEE) { return(HasWishesWith(Client.WISH_COFFEE)); } if (cmode == Hero.CARRYNG_PHONE) { return(HasWishesWith(Client.WISH_PHONE)); } if (cmode == Hero.CARRYNG_READ) { return(HasWishesWith(Client.WISH_READ)); } return(false); } function heroCanDoAction(movingtype) { var ret = false; return(!ret); } function heroDoAction(movingtype, orientier, optional1) { var attion_perfomed = false; if (attion_perfomed) { return(undefined); } if ((_actions_queue.length == 0) && (hero.moving_type == Hero.MOVING_TYPE_WALK)) { if (heroCanDoAction(movingtype)) { heroDoActionNOW(movingtype, orientier, optional1); return; } BeepError(); return(undefined); } var action_item = {mtype:movingtype, orient:orientier, opt1:optional1}; _actions_queue.push(action_item); } function heroDoActionNOW(movingtype, orientier, optional1) { var curr_action_wish = getCurrentHeroActionWish(movingtype); var next_action_wish = getNextHeroActionWish(); switch (hero.__get__CarryngMode()) { case Hero.CARRYNG_COFFEE : if ((curr_action_wish != Client.WISH_COFFEE) && (movingtype == Hero.MOVING_COFFEE)) { mebelCoffee.HideTick(); return(undefined); } if ((!HasWishesWith(Client.WISH_COFFEE)) || ((next_action_wish != Client.WISH_COFFEE) && (curr_action_wish != Client.WISH_COFFEE))) { hero.__set__CarryngMode(Hero.CARRYNG_NONE); } break; case Hero.CARRYNG_READ : if ((curr_action_wish != Client.WISH_READ) && (movingtype == Hero.MOVING_READ)) { mebelDaily.HideTick(); return(undefined); } if ((!HasWishesWith(Client.WISH_READ)) || ((next_action_wish != Client.WISH_READ) && (curr_action_wish != Client.WISH_READ))) { hero.__set__CarryngMode(Hero.CARRYNG_NONE); } break; case Hero.CARRYNG_PHONE : if ((curr_action_wish != Client.WISH_PHONE) && (movingtype == Hero.MOVING_PHONE)) { mebelPhone.HideTick(); return(undefined); } if (!((!HasWishesWith(Client.WISH_PHONE)) || ((next_action_wish != Client.WISH_PHONE) && (curr_action_wish != Client.WISH_PHONE)))) { break; } hero.__set__CarryngMode(Hero.CARRYNG_NONE); } actionOptional1 = optional1; hero.moving_type = movingtype; MoveHeroToOrientir(orientier); } function OnCustomerReduceHood() { } function MoveHeroToOrientir(orientir) { var move_to_x; var move_to_y; if (orientir instanceof MovieClip) { move_to_x = MovieClip(orientir)._x; move_to_y = MovieClip(orientir)._y; } else if (orientir instanceof Point) { move_to_x = Point(orientir).x; move_to_y = Point(orientir).y; } hero.MoveToPath(Pathfinding.findPath(map.map, map.YConvertToMap(hero._y), map.XConvertToMap(hero._x), map.YConvertToMap(move_to_y), map.XConvertToMap(move_to_x))); } function CreateCustomer() { var i; i = 0; while (i < CUSTOMERS_NUM) { if (!Client(customers[i]).__get__Live()) { break; } i++; } if (i >= CUSTOMERS_NUM) { return(null); } var c = Client(customers[i]); var cl_model = Number(Helper.GetRandomFromArray(_Clients)); c.Init(cl_model, _Clients_configs[cl_model]); mebelDver.PlayCharComin(c); _client_count++; _clients_in_hotel++; Helper.PlaySound("door_main_bell"); return(c); } function ChashaCandyClicked(id) { } function UpdateCandyCursorPosition() { } function PlayOpenDoorAnimate() { } function BeepError() { Helper.PlaySound("soundError"); } function ShowStartLevelMessage() { Enabled = (false); Helper.StopMusic(); mcWndStartLevel = attachMovie("StartLevelWindow", "mcWndStartLevel", LEVEL_END_DIALOG_DEPTH); mcWndStartLevel.Level = _current_level; mcWndStartLevel.MasterObj = _scores2master; mcWndStartLevel.Popularity = _popularity; mcWndStartLevel.OnClosed = mx.utils.Delegate.create(this, CloseStartLevelMessage); } function CloseStartLevelMessage() { Enabled = (true); mcWndStartLevel.removeMovieClip(); mcWndStartLevel = undefined; StartLevelMessageClosed(); } function showLEMessage(trial) { Enabled = (false); Helper.StopMusic(); if (_winned) { Helper.PlaySound("levelup"); } else { Helper.PlaySound("leveldefeat"); } var movie_name = "EndLevelWinWindow"; if (_current_level >= MAX_LEVEL_NUMBER) { movie_name = "EndLevelWinWindowLast"; } if (trial == true) { movie_name = "EndLevelWinWindowTrial"; } mcWndEndLevel = attachMovie(movie_name, "mcWndEndLevel", LEVEL_END_DIALOG_DEPTH); mcWndEndLevel.Winned = _winned; mcWndEndLevel.OnTryAgain = mx.utils.Delegate.create(this, ReplayLevel); mcWndEndLevel.level = _current_level; mcWndEndLevel.server_clients = stat_served_clients; mcWndEndLevel.losted_clients = stat_losted_clients; mcWndEndLevel.sales = _score_in_round; mcWndEndLevel.master_obj = _scores2master; mcWndEndLevel.total = _score - _spend_score; if (_current_level >= MAX_LEVEL_NUMBER) { mcWndEndLevel.ShowNextLevelButton = false; mcWndEndLevel.OnClosed = mx.utils.Delegate.create(this, GotoMainMenu); } else { mcWndEndLevel.OnClosed = mx.utils.Delegate.create(this, CloseLevelEndMessage); } } function ShowLevelEndMessage() { showLEMessage(); } function CloseLevelEndMessage() { Enabled = (true); mcWndEndLevel.removeMovieClip(); mcWndEndLevel = undefined; if (_winned) { StartNextLevel(); } else { GotoMainMenu(); } } function ReplayLevel() { Enabled = (true); mcWndEndLevel.removeMovieClip(); mcWndEndLevel = undefined; _score = Helper.globalGameLevelStartScore; _spend_score = Helper.globalGameLevelStartSpend; _available_upgrades = Helper.CopyArray(Helper.globalGameLevelStartUpgrades); LoadLevel(Helper.globalGameLevelStartLevel); } function ClientSuccessServed() { } static function getGameTimer() { return(getTimer() - __game_in_pause_time); } function RegisterMapObject(mo) { if (mo instanceof Bot) { Bot(mo).game = this; } mapObjects.push(mo); } function ClearMapObjects() { var tempDepth = LEVEL_TEMP_DEPTH; var mo; var i = 0; while (i < mapObjects.length) { mo = MapObject(mapObjects[i]); mo.swapDepths(tempDepth); tempDepth++; i++; } Helper.ClearArray(mapObjects); } function RebuildMapWalkArea() { var walkable; map.map = new Array(map.H); var i = 0; while (i < map.map.length) { map.map[i] = new Array(map.W); i++; } var y = 0; while (y < map.H) { var x = 0; while (x < map.W) { if (mcAvailableArea.hitTest(map.X + (x * Map.CELL_SIZE), map.Y + (y * Map.CELL_SIZE), true)) { walkable = 1; var k = 0; while (k < mapObjects.length) { if (mapObjects[k] instanceof Mebel) { var meb = Mebel(mapObjects[k]); if (meb.mcHitArea.hitTest(map.X + (x * Map.CELL_SIZE), map.Y + (y * Map.CELL_SIZE), true)) { walkable = 0; break; } } k++; } } else { walkable = 0; } map.map[y][x] = walkable; x++; } y++; } } function UpdateMapObjectsDepth() { mapObjects.sort(mx.utils.Delegate.create(this, SortMapObjects)); var tempDepth = LEVEL_TEMP_DEPTH; var curLevel = mapDepthLevel; var mo; var i = 0; while (i < mapObjects.length) { mo = MapObject(mapObjects[i]); mo.swapDepths(tempDepth); mo.swapDepths(curLevel); curLevel++; i++; } } function ReceiptionIsFree() { var i = 0; while (i < customers.length) { if (Client(customers[i]).State == Client.STATE_AT_RECEIPTION) { return(false); } i++; } return(true); } function get DivanIsVacant() { if (_available_upgrades[UPGRADE_TV] == UPGRADE_UNAVAILABLE) { return(false); } var cl; var i = 0; while (i < customers.length) { cl = Client(customers[i]); if ((((cl.State == Client.STATE_COFFEE_ON_DIVAN) || (cl.State == Client.STATE_READ_ON_DIVAN)) || (cl.State == Client.STATE_SIT_ON_DIVAN)) || (cl.State == Client.STATE_WALK_TO_TV)) { return(false); } i++; } return(true); } function get TableIsVacant() { if (_available_upgrades[UPGRADE_TABLE] == UPGRADE_UNAVAILABLE) { return(false); } var cl; var i = 0; while (i < customers.length) { cl = Client(customers[i]); if ((((cl.State == Client.STATE_COFFEE_ON_TABLE) || (cl.State == Client.STATE_READ_ON_TABLE)) || (cl.State == Client.STATE_SIT_ON_TABLE)) || (cl.State == Client.STATE_WALK_TO_TABLE)) { return(false); } i++; } return(true); } function HallIsFree() { var i = 0; while (i < customers.length) { if (Client(customers[i]).State == Client.STATE_AT_HALL) { return(false); } i++; } return(true); } function GetFreeRoom() { var i = 0; while (i < _rooms.length) { var rm = Room(_rooms[i]); if ((rm.__get__Status() == Room.FREE) && (!rm.__get__CleanRequired())) { return(Room(_rooms[i])); } i++; } return(null); } function PlayMoneyTakedAnimation(str, cl) { var d = getNextHighestDepth(); var mc = attachMovie("MoneysTakedAnim", "moneysTakedAnim_" + d, d); if (cl instanceof Client) { var cli = Client(cl); mc._x = cl._x + cl.orientierHead.x; mc._y = cl._y + cl.orientierHead.y; } else if (cl instanceof Point) { var p = Point(cl); mc._x = p.x; mc._y = p.y; } mc.strValue = str; com.mosesSupposes.fuse.ZigoEngine.doTween(mc, "_y,_alpha", [mc._y - 30, 10], 1, mx.transitions.easing.Regular.easeIn, 0, {scope:this, func:"MoneyTakedAnimationFinishedCallback", args:mc}); } function MoneyTakedAnimationFinishedCallback(mc) { mc.unloadMovie(); mc = undefined; } function ShowStimulationText(str) { var d = getNextHighestDepth(); var mc = attachMovie("StimulationTextAnim", "stimulationTextAnim_" + d, d); mc._x = hero._x; mc._y = hero._y - 130; mc.strValue = str; mc.strValue2 = str; MovieClip(mc.mcMasked).setMask(mc.textMask); com.mosesSupposes.fuse.ZigoEngine.doTween(mc, "_y,_alpha", [mc._y - 30, 10], 1, mx.transitions.easing.Regular.easeIn, 0, {scope:this, func:"MoneyTakedAnimationFinishedCallback", args:mc}); } function ShowStartTextAnimation(str, callback) { var between_chars = 34; var char_x = (orientierMapCenter._x - ((str.length * between_chars) / 2)); var char_y = orientierMapCenter._y; var start_fall_dy_min = 100; var start_fall_dy_diff = 50; var fall_time = (StartTextAnimation_TIME / 1000); var fade_time = ((StartTextAnimation_TIME / 1000) * 0.2); var i = 0; while (i < str.length) { var ch = str.charAt(i); var d = getNextHighestDepth(); var mc = attachMovie("BeginTextSymbolAnim", "beginTextSymbolAnim" + d, d); mc._x = char_x; mc._y = char_y - (start_fall_dy_min + (Math.random() * start_fall_dy_diff)); mc.strValue = ch; mc.strValue2 = ch; mc.strValue3 = ch; MovieClip(mc.mcMasked).setMask(mc.textMask); var f = (new com.mosesSupposes.fuse.Fuse()); f.__set__target(mc); f.push({label:"appear", y:char_y, start_alpha:0, time:fall_time, ease:mx.transitions.easing.Elastic.easeOut}); f.push({_alpha:0, time:fade_time}); f.push({scope:this, func:"MoneyTakedAnimationFinishedCallback", args:mc}); f.start(true); char_x = char_x + between_chars; i++; } if (callback != undefined) { Helper.setTimeout(mx.utils.Delegate.create(this, callback), StartTextAnimation_TIME); } } function ShowStartTextAnimationFinished(callback) { callback(); } function SetCursorMode(newmode) { if (_cursor_mode == newmode) { return(undefined); } if (!(_cursor_mode === CURSOR_KEYS)) { } else if (_keys_from_room != null) { _keys_from_room.Close(); _keys_from_room = null; } _cursor_mode = newmode; if (_cursor_movie != undefined) { _cursor_movie.removeMovieClip(); delete _cursor_movie; _cursor_movie = undefined; } switch (_cursor_mode) { case CURSOR_NORMAL : return; case CURSOR_KEYS : _cursor_movie = attachMovie("KeysCursor", "_cursor_movie", getNextHighestDepth()); UpdateCursorPosition(); } } function get CursorMode() { return(_cursor_mode); } function UpdateCursorPosition() { if (_cursor_movie != undefined) { _cursor_movie._x = _xmouse; _cursor_movie._y = _ymouse; } } function GetClientOfRoom(rm) { var i = 0; while (i < customers.length) { if (Client(customers[i]).__get__room() == rm) { return(Client(customers[i])); } i++; } return(null); } function get AllRoomsCleared() { var i = 0; while (i < _rooms.length) { var r = Room(_rooms[i]); if (r.__get__CleanRequired()) { return(false); } i++; } return(true); } function PlaceMoneyOnTable() { var value = _moneys_per_exit; var free_place_ind = -1; var i = 0; while (i < CUSTOMERS_NUM) { if (mebelReceiption._moneys[i] == undefined) { free_place_ind = i; break; } i++; } if (free_place_ind >= 0) { var d = mebelReceiption.getNextHighestDepth(); var mon = Moneys(mebelReceiption.attachMovie("Moneys", "Moneys_" + d, d)); mon._y = mebelReceiption.orientierMoneysPlace._y; mon._x = mebelReceiption.orientierMoneysPlace._x + ((mebelReceiption.orientierMoneysPlace2._x - mebelReceiption.orientierMoneysPlace._x) * free_place_ind); mon.__set__Value(value); mebelReceiption._moneys[free_place_ind] = mon; } else { Moneys(mebelReceiption._moneys[CUSTOMERS_NUM - 1]).Value = Moneys(mebelReceiption._moneys[CUSTOMERS_NUM - 1]).Value + value; } Helper.PlaySound("checkout"); } function ReceiptionClicked() { if (HasWishesWith(Client.WISH_KEYS)) { heroDoAction(Hero.MOVING_KEYS, orientierKeys); mebelReceiption.ShowTick(); } else { NoActionAvailable(); } } function ReceiptionMoneysClicked(ind) { var mn = mebelReceiption._moneys[ind]; if ((mn != null) && (mn != undefined)) { mn.ShowTick(); heroDoAction(Hero.MOVING_MONEYS_ON_TABLE, orientierKeys, mn); } } function CoffeeClicked() { if (HasWishesWith(Client.WISH_COFFEE)) { heroDoAction(Hero.MOVING_COFFEE, orientierCoffee); mebelCoffee.ShowTick(); } else { NoActionAvailable(); } } function PhoneClicked() { if (HasWishesWith(Client.WISH_PHONE)) { heroDoAction(Hero.MOVING_PHONE, orientierPhone); mebelPhone.ShowTick(); } else { NoActionAvailable(); } } function DailyClicked() { if (HasWishesWith(Client.WISH_READ)) { heroDoAction(Hero.MOVING_READ, orientierRead); mebelDaily.ShowTick(); } else { NoActionAvailable(); } } function TVClicked() { if (mebelDivan.__get__HasChar() && (mebelDivan.__get__Char().Wish == Client.WISH_TV)) { heroDoAction(Hero.MOVING_TV, orientierTvSet); mebelTV.ShowTick(); } else { NoActionAvailable(); } } function DivanClicked() { if ((mebelDivan.__get__HasChar() && (mebelDivan.__get__Char().Wish == Client.WISH_COFFEE)) && (CanDoWish(mebelDivan.__get__Char().Wish))) { heroDoAction(Hero.MOVING_DIVAN, orientierTv); mebelDivan.ShowTick(); } else { NoActionAvailable(); } } function TableClicked() { if ((mebelTable.__get__HasChar() && (mebelTable.__get__Char().Wish != Client.WISH_NONE)) && (CanDoWish(mebelTable.__get__Char().Wish))) { heroDoAction(Hero.MOVING_TABLE, orientierTable); mebelTable.ShowTick(); } else { NoActionAvailable(); } } function FlowerFailed(flw) { AddSuccess(WISH_FAIL_SUCCESS_COST); Fx.CreateTrailToPoint(this, Point.FromMovie(flw), succesBar.__get__DiskPosition(), "StarRed", "MinusRed"); } function Flower0Clicked() { if (mebelFlower0.__get__InIll()) { if (maid.__get__InHall() && (maid.GetQueueMode() == Maid.MODE_FLOWERS)) { mebelFlower0.ShowTick(); maid.DoAction(Maid.STATE_GO_WATER_FLOWERS, orientierFlower0, mebelFlower0); } } else { NoActionAvailable(); } } function Flower1Clicked() { if (mebelFlower1.__get__InIll()) { if (maid.__get__InHall() && (maid.GetQueueMode() == Maid.MODE_FLOWERS)) { mebelFlower1.ShowTick(); maid.DoAction(Maid.STATE_GO_WATER_FLOWERS, orientierFlower1, mebelFlower1); } } else { NoActionAvailable(); } } function ClearHeroActions() { Helper.ClearArray(_actions_queue); var mebels = [mebelCoffee, mebelDaily, mebelDivan, mebelFlower0, mebelFlower1, mebelPhone]; var i = 0; while (i < mebels.length) { var meb = Mebel(mebels[i]); meb.ClearTicks(); i++; } var k = 0; while (k < mapObjects.length) { if (mapObjects[k] instanceof Mebel) { var meb = Mebel(mapObjects[k]); meb.ClearTicks(); } k++; } var i = 0; while (i < CUSTOMERS_NUM) { Client(customers[i]).ClearTicks(); i++; } var i = 0; while (i < _rooms.length) { Room(_rooms[i]).ClearTicks(); i++; } mebelReceiption.ClearMoneyTicks(); } function CharEnteredInDoor(c) { mebelDver.DeattachChar(c); c.GoTo(orientierDoor.GetPoint(), true); c.GoState(Client.STATE_AT_HALL); } function CharExitedFromHotel(c) { if (c.__get__Mood() > 0) { stat_served_clients++; } else { stat_losted_clients++; } mebelDver.DeattachChar(c); c.Die(); _clients_in_hotel--; } function ClientClicked(cl) { if (cl == undefined) { var i = 0; while (i < customers.length) { var c = Client(customers[i]); if (c.State == Client.STATE_AT_RECEIPTION) { cl = c; break; } i++; } } if (cl != undefined) { heroDoAction(Hero.MOVING_CLIENT_AT_RECEIPTION, orientierKeys, cl); cl.ShowTick(); } } function ClientWishDelivered(cl) { var wish_cost = cl._model_config.wishes[cl.Wish][Client.CONFIG_COST_ZA_USPEH]; var wish_cost_multiply = 1; var succes_cost = 0; var chaevie_cost = SuccessCoins; if (cl.__get__Progress() < 26) { succes_cost = 2; } else if (cl.__get__Progress() > 75) { } var fast_wish = false; if (cl.Wish != Client.WISH_KEYS) { if (cl.__get__Progress() < 26) { wish_cost_multiply = 1.2; fast_wish = true; } else if (cl.__get__Progress() > 75) { wish_cost_multiply = 0.8; } } if (fast_wish) { _fast_complete_wishes++; if (_fast_complete_wishes == 2) { ShowStimulationText(Language.Transl("stimul good")); } else if (_fast_complete_wishes == 4) { ShowStimulationText(Language.Transl("stimul excellent")); } else if (_fast_complete_wishes == 6) { ShowStimulationText(Language.Transl("stimul impressive")); } else if (_fast_complete_wishes >= 8) { ShowStimulationText(Language.Transl("stimul incredible")); } } else { _fast_complete_wishes = 0; } wish_cost = wish_cost * wish_cost_multiply; AddSuccess(succes_cost); AddScore(wish_cost + chaevie_cost); PlayMoneyTakedAnimation(wish_cost.toString() + ((chaevie_cost > 0) ? ("+" + chaevie_cost) : ""), cl); if (succes_cost > 0) { Fx.CreateTrailToPoint(this, cl.orientierHead.GetPointAtParent(), succesBar.__get__DiskPosition(), "StarGreen", "AddGreen"); } else if (succes_cost < 0) { } _complete_wishes++; if ((_complete_wishes > 2) && (_extra_success == 0)) { _extra_success = 1; } Helper.PlaySound("service_accepted"); } function ClientWishComplete(cl) { var mood_cost = cl._model_config.wishes[cl.Wish][Client.CONFIG_NASTROENIE_ZA_USPEH]; cl.Mood = cl.Mood + mood_cost; Fx.CreateGrowUp(this, cl.orientierHead.GetPointAtParent(), "HearthFx", mood_cost); } function ClientWishFail(cl) { var wish_cost = cl._model_config.wishes[cl.Wish][Client.CONFIG_COST_ZA_NEUDACHU]; var mood_cost = cl._model_config.wishes[cl.Wish][Client.CONFIG_NASTROENIE_ZA_NEUDACHU]; AddSuccess(WISH_FAIL_SUCCESS_COST); if (cl.Wish == Client.WISH_KEYS) { if (((wish_cost != Number.NaN) && (wish_cost.toString() != "NaN")) && (wish_cost > 0)) { AddScore(-wish_cost); } } cl.Mood = cl.Mood - mood_cost; Fx.CreateTrailToPoint(this, cl.orientierHead.GetPointAtParent(), succesBar.__get__DiskPosition(), "StarRed", "MinusRed"); } function RoomClicked(rm) { if (rm == undefined) { rm = _rooms[0]; } if (rm.__get__HasTick()) { NoActionAvailable(); } var cl = GetClientOfRoom(rm); if (((cl != null) && (cl.Wish == Client.WISH_CLEAN)) || ((cl == null) && (rm.__get__CleanRequired()))) { if (maid.__get__InHall() && (maid.GetQueueMode() == Maid.MODE_CLEANER)) { rm.ShowTick(); maid.DoAction(Maid.STATE_CLEAN_ROOM, rm.orientierEnter, rm); } } else if ((cl != null) && (CanDoWish(cl.Wish))) { heroDoAction(Hero.MOVING_ROOM0 + rm.__get__Num(), rm.orientierEnter); rm.ShowTick(); } else { NoActionAvailable(); } } function HeroStateToCarryngType(hstate) { switch (hstate) { case Hero.MOVING_COFFEE : return(Hero.CARRYNG_COFFEE); case Hero.MOVING_READ : return(Hero.CARRYNG_READ); case Hero.MOVING_PHONE : return(Hero.CARRYNG_PHONE); } return(Hero.CARRYNG_NONE); } function CanDoWish(wish) { var hero_mode = Hero.CARRYNG_NONE; var i = (_actions_queue.length - 1); while (i >= 0) { var act = _actions_queue[i]; hero_mode = HeroStateToCarryngType(act.mtype); if (hero_mode != Hero.CARRYNG_NONE) { break; } i--; } if (hero_mode == Hero.CARRYNG_NONE) { hero_mode = HeroStateToCarryngType(hero.moving_type); } if (hero_mode == Hero.CARRYNG_NONE) { hero_mode = hero.CarryngMode; } switch (hero_mode) { case Hero.CARRYNG_COFFEE : return(wish == Client.WISH_COFFEE); case Hero.CARRYNG_READ : return(wish == Client.WISH_READ); case Hero.CARRYNG_PHONE : return(wish == Client.WISH_PHONE); } return(false); } function NoActionAvailable() { Helper.PlaySound("key_denied"); } function GornichnayaCleanClicked() { Helper.PlaySound("soundMenuHit"); if (maid.__get__InKitchen()) { maid.DoActionNow({action:Maid.STATE_GO_TO_HALL, orient:orientierKitchenIn, optional1:Maid.MODE_CLEANER}); } else if (maid.GetQueueMode() != Maid.MODE_CLEANER) { maid.DoAction(Maid.STATE_GO_TO_HALL, orientierKitchenOut, Maid.MODE_CLEANER); maid.DoAction(Maid.STATE_GO_TO_HALL, orientierKitchenIn, Maid.MODE_CLEANER); } } function GornichnayaFlowerClicked() { Helper.PlaySound("soundMenuHit"); if (maid.__get__InKitchen()) { maid.DoActionNow({action:Maid.STATE_GO_TO_HALL, orient:orientierKitchenIn, optional1:Maid.MODE_FLOWERS}); } else if (maid.GetQueueMode() != Maid.MODE_FLOWERS) { maid.DoAction(Maid.STATE_GO_TO_HALL, orientierKitchenOut, Maid.MODE_FLOWERS); maid.DoAction(Maid.STATE_GO_TO_HALL, orientierKitchenIn, Maid.MODE_FLOWERS); } } function ShowTip(tip) { var twnd = TipsWindow.ShowTip(this, tip); if ((twnd != null) && (twnd != undefined)) { twnd.OnClose = mx.utils.Delegate.create(this, TipClosed); Enabled = (false); EnablePause(); if ((this["orientierTip" + tip] != undefined) || (this[("orientierTip" + tip) + "REV"] != undefined)) { var ort = Orientir(this["orientierTip" + tip]); var flip_horiz = false; if (ort == undefined) { ort = Orientir(this[("orientierTip" + tip) + "REV"]); flip_horiz = true; } var d = getNextHighestDepth(); var mc = attachMovie("TipHighlite", "TipHighlite" + d, d); mc._x = ort.x; mc._y = ort.y; mc._xscale = -100; mc.twnd = twnd; mc.CloseTip = mx.utils.Delegate.create(twnd, twnd.Close); mc.btnClose.onPress = mx.utils.Delegate.create(this, function () { var tip_id = TipsWindow(this._tip_high.twnd).__get__Id(); this._tip_high.CloseTip(); var tip_fun = this._tip_click_target[tip_id]; if (tip_fun != undefined) { tip_fun.call(this); } }); _tip_high = mc; } } } function TipClosed(twnd) { if (_tip_high != undefined) { _tip_high.removeMovieClip(); _tip_high = undefined; } DisablePause(); Enabled = (true); hero.UpdateAnimation(); hero.SetAnimation(hero.animation_direction); hero.UpdateAnimation(); } static var DEBUG = Helper.DEBUG; static var GAMEID = "HotelOnline"; var UNACTIVE_TIME_TO_OPEN_GAME_MENU = 6000; var LEVEL_TEMP_DEPTH = 1000; var LEVEL_MAP_OBJECTS_DEPTH = 7500; var LEVEL_GAME_INTERFACE_DEPTH = 8000; var DEPTH_FOR_CLOCK = 10; var LEVEL_END_DIALOG_DEPTH = 8500; var StartTextAnimation_TIME = 3800; var DEPTH_LEVEL_1 = 20000; var DEPTH_LEVEL_2 = 7600; var DEPTH_LEVEL_3 = 7610; var DEPTH_LEVEL_4 = 20300; var DEPTH_LEVEL_5 = 20400; var DEPTH_LEVEL_6 = 20500; var DEPTH_LEVEL_7 = 20600; var DEPTH_LEVEL_8 = 20700; var DEPTH_LEVEL_9 = 20800; static var CURSOR_DISABLE = -1; static var CURSOR_NORMAL = 0; static var CURSOR_KEYS = 1; var _cursor_mode = CURSOR_DISABLE; var CUSTOMERS_NUM = 4; var ROOMS_NUM = 4; var CLIENTS_TYPES = new Array("Audioboy", "SimpleWoman", "Badguy", "Tourist"); var WISH_FAIL_SUCCESS_COST = -15; static var SHOW_TRIAL_MESSAGE_AFTER_LEVEL = 0; static var MAX_LEVEL_NUMBER = 9; static var UPGRADE_UNAVAILABLE = 0; static var UPGRADE_AVAILABLE = 1; static var UPGRADE_COFFEE = 10; static var UPGRADE_CLEAN = 11; static var UPGRADE_FLOWERS = 0; static var UPGRADE_READ = 1; static var UPGRADE_PICTURE = 2; static var UPGRADE_TV = 3; static var UPGRADE_AQUARIUM = 4; static var UPGRADE_TABLE = 5; static var UPGRADE_LAMP = 6; static var UPGRADE_PHONE = 7; static var UPGRADE_STARS = 8; static var UPGRADE_MAX = 15; static var SPEED_PORTABLE_COEFF = 0.000625; static var CLIENT_ARRIVE_INTERVAL = 7000; var __enabled = true; var ShopOpened = false; var _launsh_state = 0; var _extra_success = 0; var __pause_enabled_in = 0; var ___prev_pause = false; var _prev_quant_time = -1; var __update_objects_depth_counter = 0; var _repeat_current_action = false; var _actions_queue = new Array(); static var __game_in_pause_time = 0; var _tip_click_target = [undefined, Game.prototype.ReceiptionClicked, Game.prototype.ClientClicked, Game.prototype.CoffeeClicked, Game.prototype.RoomClicked, Game.prototype.GornichnayaCleanClicked]; }
Symbol 1384 MovieClip [__Packages.Map] Frame 0
class Map { var X, Y; function Map () { } function XConvertToLocal(mapx) { return(X + (mapx * CELL_SIZE)); } function YConvertToLocal(mapy) { return(Y + (mapy * CELL_SIZE)); } function XConvertToMap(locx) { return(Math.round((locx - X) / CELL_SIZE)); } function YConvertToMap(locy) { return(Math.round((locy - Y) / CELL_SIZE)); } static var CELL_SIZE = 20; }
Symbol 1385 MovieClip [__Packages.MapObject] Frame 0
class MapObject extends MovieClip { function MapObject () { super(); } function Quant(dtime) { } function get Enabled() { return(false); } }
Symbol 1386 MovieClip [__Packages.Hero] Frame 0
class Hero extends MapObject { var speed, package, map, __get__Map, target_move, moving_direction, animation_direction, mcAnim, _carryng_mode, CarryngItemUsed, _x, _y, path, OnTargetReached; function Hero () { super(); speed = SANDY_MOVING_SPEED; SetAnimation(ANIM_STAY); CarryngMode = (CARRYNG_NONE); } function get HasToy() { return(CarryngMode != CARRYNG_NONE); } function get HasBox() { return(package != undefined); } function set Map(value) { map = value; //return(__get__Map()); } function get Enabled() { return(true); } function get InMoving() { return(target_move != undefined); } function UpdateAnimation() { var new_direction; if (InMoving) { if (moving_direction < -1.8) { new_direction = ANIM_LEFT; } else if ((moving_direction >= -1.8) && (moving_direction < -1)) { new_direction = ANIM_UP; } else if ((moving_direction >= -1) && (moving_direction < 1)) { new_direction = ANIM_RIGHT; } else if ((moving_direction >= 1) && (moving_direction < 1.8)) { new_direction = ANIM_DOWN; } else { new_direction = ANIM_LEFT; } } else { new_direction = ANIM_STAY; } if (HasToy) { new_direction = new_direction + ANIMS_WITH_BOX; } if (animation_direction != new_direction) { SetAnimation(new_direction); } } function SetAnimation(anim) { animation_direction = anim; mcAnim.gotoAndStop(animation_direction + 1); if (_carryng_mode != CARRYNG_NONE) { var fr = ((((_carryng_mode - 1) * ANIMS_WITH_BOX) + 1) + (animation_direction - ANIMS_WITH_BOX)); MovieClip(mcAnim.mcCarryObject).gotoAndStop(fr); UpdateBoxPosition(); } } function get CarryngMode() { return(_carryng_mode); } function set CarryngMode(value) { if (_carryng_mode != value) { _carryng_mode = value; var co = MovieClip(mcAnim.mcCarryObject); if (_carryng_mode == CARRYNG_NONE) { co._visible = false; co.stop(); } else { co._visible = true; var fr = ((((_carryng_mode - 1) * ANIMS_WITH_BOX) + 1) + (animation_direction - ANIMS_WITH_BOX)); co.gotoAndStop(fr); } CarryngItemUsed = false; } UpdateAnimation(); //return(CarryngMode); } function Quant() { var __quant_time = getTimer(); var _time_diff = (__quant_time - __prev_quant_time); speed = SANDY_MOVING_SPEED * _time_diff; __prev_quant_time = __quant_time; var prev_moving_dir = moving_direction; if (target_move == undefined) { return(undefined); } var dx = (target_move.x - _x); var dy = (target_move.y - _y); if ((Math.abs(dx) <= speed) && (Math.abs(dy) <= speed)) { if (HasPath()) { DoPathMove(); } else { StopMove(); } } else { var ang = Math.atan2(dy, dx); moving_direction = ang; var speedx = (Math.cos(ang) * speed); var speedy = (Math.sin(ang) * speed); _x = _x + speedx; _y = _y + speedy; } if (Math.abs(moving_direction - prev_moving_dir) > 0.01) { UpdateAnimation(); } } function GoToPath(path_array) { moving_type = 0; MoveToPath(path_array); } function GoTo(p, instantly) { moving_type = 0; MoveTo(p); if ((instantly != undefined) && (instantly == true)) { _x = target_move.x; _y = target_move.y; StopMove(); UpdateAnimation(); } } function MoveTo(p) { target_move = p; } function MoveToPath(path_array) { path = path_array; DoPathMove(); } function DoPathMove() { if (HasPath()) { var nextpoint = path.shift(); target_move = new Point(map.XConvertToLocal(nextpoint[1]), map.YConvertToLocal(nextpoint[0])); } } function HasPath() { return((path != undefined) && (path.length > 0)); } function StopMove() { target_move = undefined; moving_direction = -4; if (OnTargetReached != undefined) { OnTargetReached(); } } function UpdateBoxPosition() { } function PauseAnimation() { Helper.StopMovies(mcAnim); } function ResumeAnimation() { Helper.PlayMovies(mcAnim); } static var SANDY_MOVING_SPEED = 0.24; static var ANIM_STAY = 0; static var ANIM_RIGHT = 1; static var ANIM_DOWN = 2; static var ANIM_LEFT = 3; static var ANIM_UP = 4; static var ANIMS_WITH_BOX = 5; static var MOVING_TYPE_WALK = 0; static var MOVING_KEYS = 1; static var MOVING_COFFEE = 2; static var MOVING_ROOM0 = 3; static var MOVING_ROOM1 = 4; static var MOVING_ROOM2 = 5; static var MOVING_ROOM3 = 6; static var MOVING_CLIENT_AT_RECEIPTION = 7; static var MOVING_MONEYS_ON_TABLE = 8; static var MOVING_PHONE = 9; static var MOVING_READ = 10; static var MOVING_TV = 11; static var MOVING_DIVAN = 12; static var MOVING_TABLE = 13; static var CARRYNG_NONE = 0; static var CARRYNG_COFFEE = 1; static var CARRYNG_READ = 2; static var CARRYNG_PHONE = 3; var moving_type = 0; var box_orientiers = new Array(ANIMS_WITH_BOX); var __prev_quant_time = 0; }
Symbol 1387 MovieClip [__Packages.Point] Frame 0
class Point { var x, y; function Point (x, y) { this.x = x; this.y = y; } function offset(dx, dy) { x = x + dx; y = y + dy; } function equals(toCompare) { return((x == toCompare.x) && (y == toCompare.y)); } function subtractPoint(v) { return(new Point(x - v.x, y - v.y)); } function addPoint(v) { return(new Point(x + v.x, y + v.y)); } function normalize(length) { } function toString() { return(((("Point {x=" + x) + ", y=") + y) + "}"); } static function FromMovie(mc) { var p = new Point(); p.x = mc._x; p.y = mc._y; return(p); } }
Symbol 1388 MovieClip [__Packages.Toy] Frame 0
class Toy extends MovieClip { var mcDesignModeControl, HighliteFilter, graphic, attachMovie, type, getNextHighestDepth, color, upgrade, enabled, hitArea, mcNullMask, OnClick; function Toy () { super(); mcDesignModeControl._visible = false; HighliteFilter = new flash.filters.GlowFilter(16776960, 0.8, 4, 4, 50, 1); } function LoadGraphic(toyType) { if (graphic != undefined) { graphic.removeMovieClip(); graphic.unloadMovie(); graphic = undefined; } graphic = attachMovie(toys[type], "graphic", getNextHighestDepth()); SetColor(COLOR_WHITE); } function SetType(toyType) { if ((toyType >= 0) && (toyType < toys.length)) { type = toyType; LoadGraphic(type); ClearUpgrades(); } } function SetColor(colorNum) { color = colorNum; graphic.gotoAndStop(colorNum + 1); } function ClearUpgrades() { if (toys_upgrades[type][0] == 1) { graphic.mcFlag._visible = false; } if (toys_upgrades[type][1] == 1) { graphic.mcShar._visible = false; } upgrade = 0; } function GetUpgrade() { return(upgrade); } function SetUpgrade(upgrade_num) { upgrade = upgrade_num; switch (upgrade_num) { case UPGRADE_FLAG : if (toys_upgrades[type][0] == 1) { graphic.mcFlag._visible = true; } else { Tracer.error(("Toy type=" + type) + " cannot upgraded to Flag"); } return; case UPGRADE_SHAR : if (toys_upgrades[type][1] == 1) { graphic.mcShar._visible = true; } else { Tracer.error(("Toy type=" + type) + " cannot upgraded to Shar"); } return; default : ClearUpgrades(); } } function CanUpgrade(upgrade_num) { switch (upgrade_num) { case UPGRADE_FLAG : return(toys_upgrades[type][0] == 1); case UPGRADE_SHAR : return(toys_upgrades[type][1] == 1); } return(false); } function Equal(toy) { return(((color == toy.color) && (GetUpgrade() == toy.GetUpgrade())) && (type == toy.type)); } function ClearHighlite() { if (highlited) { var myFilters = graphic.filters; var i = 0; while (i < myFilters.length) { myFilters.pop(); i++; } graphic.filters = myFilters; highlited = false; } } function SetHighlite() { if (!highlited) { var myFilters = graphic.filters; myFilters.push(HighliteFilter); graphic.filters = myFilters; highlited = true; } } function set Enabled(val) { enabled = val; if (enabled) { hitArea = graphic; } else { hitArea = mcNullMask; } //return(Enabled); } function get Enabled() { return(enabled); } static function Copy(from, to) { to.SetType(from.type); to.SetColor(from.color); to.conveier_num = from.conveier_num; to.conveier_anchor_mc = from.conveier_anchor_mc; to.SetUpgrade(from.GetUpgrade()); } static function TransferToy(toy, from_obj, to_object, new_depth) { if (new_depth == undefined) { new_depth = to_object.getNextHighestDepth(); } var newtoy = Toy(to_object.attachMovie("Toy", "toy" + (_toy_id_++), new_depth)); Copy(toy, newtoy); RemoveToy(toy, from_obj); return(newtoy); } static function RemoveToy(toy, where) { for (var name in where) { if (where[name] == toy) { where[name].removeMovieClip(); where[name].unloadMovie(); delete where[name]; where[name] = undefined; toy.removeMovieClip(); delete toy; toy = undefined; break; } } } function onRollOver() { if (enabled) { SetHighlite(); } } function onRollOut() { if (enabled) { ClearHighlite(); } } function onPress(Void) { if (enabled && (OnClick != undefined)) { OnClick(this); } } static var _toy_id_ = 3330; static var TYPES = 7; static var COLOR_WHITE = 0; static var COLOR_BLUE = 1; static var COLOR_RED = 2; static var COLOR_FIOLET = 3; static var COLOR_YELLOW = 4; static var COLORS = 5; static var COLOR_BALLON = 5; static var COLOR_FLAG = 6; static var UPGRADE_NONE = 0; static var UPGRADE_FLAG = 1; static var UPGRADE_SHAR = 2; static var UPGRADES = 3; static var toys = ["ToyCat", "ToyAeroplan", "ToyCat", "ToyBigcar", "ToyDoll", "ToyHare", "ToyHorse"]; static var toys_upgrades = [[0, 1], [1, 0], [0, 1], [1, 1], [1, 1], [0, 1], [1, 1]]; var highlited = false; }
Symbol 1389 MovieClip [__Packages.Orientir] Frame 0
class Orientir extends MovieClip { var x, y, depth, _x, _y, _parent; function Orientir (mc) { super(); if (mc == undefined) { GetFromMC(this); } } function GetFromMC(mc) { x = mc._x; y = mc._y; depth = mc.getDepth(); } function Set(orient) { x = orient.x; y = orient.y; depth = orient.depth; } function GetPoint() { return(new Point(_x, _y)); } function GetPointAtParent() { return(new Point(_x + _parent._x, _y + _parent._y)); } }
Symbol 1390 MovieClip [__Packages.Package] Frame 0
class Package extends MovieClip { var type, mcAnim, HighliteFilter, enabled, OnClick; function Package () { super(); Type = (PACK_NONE); } function get Type() { return(type); } function set Type(val) { type = val; UpdateAnim(); //return(Type); } function UpdateAnim() { if (type == PACK_NONE) { mcAnim._visible = false; } else { mcAnim._visible = true; mcAnim.gotoAndStop(type); switch (type) { case PACK_CIRCLE : HighliteFilter = new flash.filters.GlowFilter(38893, 0.6, 5, 5, 30, 1); return; case PACK_TRIANGLE : HighliteFilter = new flash.filters.GlowFilter(11369726, 0.6, 5, 5, 30, 1); } } } function onRollOver() { if (!enabled) { return(undefined); } SetHighlite(); } function onRollOut() { if (!enabled) { return(undefined); } ClearHighlite(); } function onPress(Void) { if (!enabled) { return(undefined); } if (OnClick != undefined) { OnClick(); } } function ClearHighlite() { if (highlited) { var myFilters = mcAnim.filters; var i = 0; while (i < myFilters.length) { myFilters.pop(); i++; } mcAnim.filters = myFilters; highlited = false; } } function SetHighlite() { if (!highlited) { var myFilters = mcAnim.filters; myFilters.push(HighliteFilter); mcAnim.filters = myFilters; highlited = true; } } static function Transfer(pack, from_obj, to_object, new_depth) { if (new_depth == undefined) { new_depth = to_object.getNextHighestDepth(); } var newpack = Package(to_object.attachMovie("Package", "pack" + (_pack_id_++), new_depth)); newpack.__set__Type(pack.Type); Remove(pack, from_obj); return(newpack); } static function Remove(toy, where) { for (var name in where) { if (where[name] == toy) { where[name].removeMovieClip(); where[name].unloadMovie(); delete where[name]; where[name] = undefined; toy.removeMovieClip(); delete toy; toy = undefined; break; } } } static var _pack_id_ = 5550; static var PACK_NONE = 0; static var PACK_CIRCLE = 1; static var PACK_TRIANGLE = 2; static var PACKS = 3; var highlited = false; }
Symbol 1391 MovieClip [__Packages.Clock] Frame 0
class Clock extends MovieClip { var mcClosed, progress, mcArrow, day, textDay; function Clock () { super(); mcClosed._visible = false; Day = (1); closed_state = 0; } function set Progress(val) { progress = val; mcArrow._rotation = ((-val) * 360) / 100; if (progress < 0) { progress = 0; } if (progress <= 0) { if (mcClosed._visible == false) { Helper.PlaySound("hotel_close"); } mcClosed._visible = true; } else { mcClosed._visible = false; } //return(Progress); } function get Progress() { return(progress); } function get Day() { return(day); } function set Day(value) { day = value; textDay.text = day.toString(); //return(Day); } var closed_state = 0; }
Symbol 1392 MovieClip [__Packages.Timer] Frame 0
class Timer extends MovieClip { var Value, frames_num, mcAnim, stop, OnValueChanged, time, start_time, OnElapdes; function Timer () { super(); if (Value == undefined) { Value = 0; } SetValue(Value, true); frames_num = mcAnim._totalframes; stop(); } function SetValue(val, initializing) { Value = val; var frame = Math.floor(((frames_num - 1) * Math.max(0, Math.min(100, val))) / 100); if (isNaN(frame)) { frame = 0; } frame = frame + 1; mcAnim.gotoAndStop(frame); if ((initializing == false) || (initializing == undefined)) { if (OnValueChanged != undefined) { OnValueChanged(); } } } function Start(time_in_ms) { time = time_in_ms; start_time = Game.getGameTimer(); Enabled = (true); } function Stop() { Enabled = (false); } function OnTimerTick() { if (!enabled) { return(undefined); } var elapsed_time = (Game.getGameTimer() - start_time); if (elapsed_time >= time) { Elapdes(); } else { SetValue((elapsed_time * 100) / time); } } function Elapdes() { SetValue(100); if (OnElapdes != undefined) { OnElapdes(); } } function Quant() { OnTimerTick(); } function get Enabled() { return(enabled); } function set Enabled(value) { enabled = value; mcAnim._visible = enabled; //return(Enabled); } var enabled = false; }
Symbol 1393 MovieClip [__Packages.Mebel] Frame 0
class Mebel extends MapObject { var mcHit, hitArea, mcHitArea, depthSeatValue, depthSeat, seat_place_x, seat_place_y, HighliteFilter, HighliteFilter2, _highlited_movie, SeatedChar, _attached_chars, mcGraph, mcSeatPlace, bitmapSeatPlace, mcSeatPlaceAbove, depthSeatAbove, bitmapSeatPlaceAbove, OnClick, _ticks, mcTick, _visible; function Mebel () { super(); if (mcHit != undefined) { mcHit._alpha = 0; hitArea = mcHit; } mcHitArea._alpha = 0; depthSeatValue = depthSeat.getDepth(); seat_place_x = depthSeat._x; seat_place_y = depthSeat._y; InitSeatPlace(); HighliteFilter = new flash.filters.GlowFilter(16773263, 0.9, 5, 5, 100, 1); HighliteFilter2 = new flash.filters.GlowFilter(16755200, 0.9, 3, 3, 100, 1); _highlited_movie = this; _active = true; Enabled = (true); SeatedChar = null; _attached_chars = new Array(); if (mcGraph != undefined) { _highlited_movie = mcGraph; } ClearTicks(); } function InitSeatPlace() { mcSeatPlace = depthSeat; MoveSeatPlace(depthSeat._x, depthSeat._y); bitmapSeatPlace = new flash.display.BitmapData(SEAT_PLACE_W, SEAT_PLACE_H, true, 16777215); mcSeatPlace.attachBitmap(bitmapSeatPlace, 1, "never", false); mcSeatPlaceAbove = depthSeatAbove; MoveSeatPlace(depthSeat._x, depthSeat._y, mcSeatPlaceAbove); bitmapSeatPlaceAbove = new flash.display.BitmapData(SEAT_PLACE_W, SEAT_PLACE_H, true, 16777215); mcSeatPlaceAbove.attachBitmap(bitmapSeatPlaceAbove, 1, "never", false); } function MoveSeatPlace(newx, newy, ofmc) { if (ofmc == undefined) { mcSeatPlace._x = newx - SEAT_PLACE_CENTER_X; mcSeatPlace._y = newy - SEAT_PLACE_CENTER_Y; } else { ofmc._x = newx - SEAT_PLACE_CENTER_X; ofmc._y = newy - SEAT_PLACE_CENTER_Y; } } function AttachChar(cl) { _attached_chars.push(cl); cl._visible = false; } function DeattachChar(cl) { var ret; var cl_index; cl_index = 0; while (cl_index < _attached_chars.length) { if (_attached_chars[cl_index] == cl) { break; } cl_index++; } if (cl_index >= _attached_chars.length) { return(null); } _attached_chars.splice(cl_index, 1); cl._visible = true; bitmapSeatPlace.fillRect(bitmapSeatPlace.rectangle, 16777215); bitmapSeatPlaceAbove.fillRect(bitmapSeatPlaceAbove.rectangle, 16777215); return(cl); } function get HasChar() { return(_attached_chars.length > 0); } function get Char() { if (HasChar) { return(_attached_chars[0]); } return(null); } function onEnterFrame() { if (HasChar) { bitmapSeatPlace.fillRect(bitmapSeatPlace.rectangle, 16777215); bitmapSeatPlaceAbove.fillRect(bitmapSeatPlaceAbove.rectangle, 16777215); var translateMatrix = (new flash.geom.Matrix()); translateMatrix.translate(SEAT_PLACE_CENTER_X, SEAT_PLACE_CENTER_Y); var cl; var i = 0; while (i < _attached_chars.length) { cl = Client(_attached_chars[i]); bitmapSeatPlace.draw(cl.GetDrawedMovie(), translateMatrix); var above_mc = cl.GetDrawedAboveMovie(); if (above_mc != null) { MoveSeatPlace(seat_place_x + above_mc.diff_x, seat_place_y + above_mc.diff_y, mcSeatPlaceAbove); bitmapSeatPlaceAbove.draw(above_mc, translateMatrix); } i++; } } } function get Enabled() { return(_enabled); } function set Enabled(val) { _enabled = val; //return(Enabled); } function onRollOver() { if (Enabled && (_active)) { SetHighlite(); } } function onRollOut() { if (Enabled && (_active)) { ClearHighlite(); } } function ClearHighlite() { if (_highlited) { var myFilters = _highlited_movie.filters; var i = 0; while (i < myFilters.length) { myFilters.pop(); i++; } _highlited_movie.filters = myFilters; _highlited = false; } } function SetHighlite() { if (!_highlited) { var myFilters = _highlited_movie.filters; myFilters.push(HighliteFilter); _highlited_movie.filters = myFilters; _highlited = true; } } function onPress(Void) { if (Enabled && (OnClick != undefined)) { OnClick(this); } } function HideTick() { _ticks--; if (_ticks < 0) { _ticks = 0; } if ((mcTick != undefined) && (_ticks == 0)) { mcTick._visible = false; } } function ShowTick() { _ticks++; if ((mcTick != undefined) && (_ticks > 0)) { mcTick._visible = true; Helper.PlaySound("event_accepted"); } } function ClearTicks() { _ticks = 0; HideTick(); } function PlayAppearAnimation() { _visible = true; Fx.PlayAppearAnimation(this); } function PrepareAppearAnimation() { _visible = false; } var SEAT_PLACE_W = 120; var SEAT_PLACE_H = 240; var SEAT_PLACE_CENTER_X = 60; var SEAT_PLACE_CENTER_Y = 165; var _highlited = false; var _enabled = false; var _active = false; var _multiply_chars_mode = false; }
Symbol 1394 MovieClip [__Packages.Bot] Frame 0
class Bot extends MapObject { var moving_speed, _enabled, map, __get__Map, target_move, moving_direction, animation_direction, mcAnim, speed, _x, _y, path, game, OnTargetReached; function Bot () { super(); moving_speed = MOVING_SPEED; SetAnimation(ANIM_STAY); _enabled = false; } function set Map(value) { map = value; //return(__get__Map()); } function get Enabled() { return(_enabled); } function get InMoving() { return(target_move != undefined); } function UpdateAnimation() { var new_direction; if (InMoving) { if (moving_direction < -1.8) { new_direction = ANIM_LEFT; } else if ((moving_direction >= -1.8) && (moving_direction < -1)) { new_direction = ANIM_UP; } else if ((moving_direction >= -1) && (moving_direction < 1)) { new_direction = ANIM_RIGHT; } else if ((moving_direction >= 1) && (moving_direction < 1.8)) { new_direction = ANIM_DOWN; } else { new_direction = ANIM_LEFT; } } else { new_direction = ANIM_STAY; } if (animation_direction != new_direction) { SetAnimation(new_direction); } } function SetAnimation(anim) { animation_direction = anim; mcAnim.gotoAndStop(animation_direction + 1); UpdateBoxPosition(); } function UpdateBoxPosition() { } function Quant(dtime) { var _time_diff = dtime; speed = moving_speed * _time_diff; var prev_moving_dir = moving_direction; if (target_move == undefined) { return(undefined); } var dx = (target_move.x - _x); var dy = (target_move.y - _y); if ((Math.abs(dx) <= speed) && (Math.abs(dy) <= speed)) { if (HasPath()) { DoPathMove(); } else { StopMove(); } } else { var ang = Math.atan2(dy, dx); moving_direction = ang; var speedx = (Math.cos(ang) * speed); var speedy = (Math.sin(ang) * speed); _x = _x + speedx; _y = _y + speedy; } if (Math.abs(moving_direction - prev_moving_dir) > 0.01) { UpdateAnimation(); } } function GoToPath(path_array) { moving_type = 0; MoveToPath(path_array); } function GoTo(p, instantly) { moving_type = 0; MoveTo(p); if ((instantly != undefined) && (instantly == true)) { _x = target_move.x; _y = target_move.y; StopMove(); UpdateAnimation(); } } function MoveTo(p) { target_move = p; } function MoveToPath(path_array) { path = path_array; DoPathMove(); } function WalkTo(p) { MoveToPath(Pathfinding.findPath(game.map.map, game.map.YConvertToMap(_y), game.map.XConvertToMap(_x), game.map.YConvertToMap(p.y), game.map.XConvertToMap(p.x))); } function DoPathMove() { if (HasPath()) { var nextpoint = path.shift(); target_move = new Point(map.XConvertToLocal(nextpoint[1]), map.YConvertToLocal(nextpoint[0])); } } function HasPath() { return((path != undefined) && (path.length > 0)); } function StopMove() { target_move = undefined; moving_direction = -4; if (OnTargetReached != undefined) { OnTargetReached(); } } function PauseAnimation() { Helper.StopMovies(mcAnim); } function ResumeAnimation() { Helper.PlayMovies(mcAnim); } static var MOVING_SPEED = 0.25; static var ANIM_STAY = 0; static var ANIM_RIGHT = 1; static var ANIM_DOWN = 2; static var ANIM_LEFT = 3; static var ANIM_UP = 4; static var ANIMS_WITH_BOX = 5; static var ANIM_SEAT = 10; static var ANIM_SEAT_FRAME = 5; static var ANIM_COFFEE = 11; static var ANIM_COFFEE_FRAME = 6; static var ANIM_READ = 12; static var ANIM_READ_FRAME = 7; static var ANIM_CLEAN = 13; static var ANIM_FLOWERS = 14; var moving_type = 0; var __prev_quant_time = 0; }
Symbol 1395 MovieClip [__Packages.Pathfinding] Frame 0
class Pathfinding { var mapStatus, openList; function Pathfinding () { } function isOpen(y, x) { return(mapStatus[y][x].open); } function isClosed(y, x) { return(mapStatus[y][x].closed); } function nearerSquare() { var minimum = 999999; var indexFound = 0; var thisF = undefined; var thisSquare = undefined; var i = openList.length; while ((i--) > 0) { thisSquare = mapStatus[openList[i][0]][openList[i][1]]; thisF = thisSquare.heuristic + thisSquare.movementCost; if (thisF <= minimum) { minimum = thisF; indexFound = i; } } return(indexFound); } function closeSquare(y, x) { var len = openList.length; var i = 0; while (i < len) { if (openList[i][0] == y) { if (openList[i][1] == x) { openList.splice(i, 1); break; } } i++; } mapStatus[y][x].open = false; mapStatus[y][x].closed = true; } function openSquare(y, x, parent, movementCost, heuristic, replacing) { if (!replacing) { openList.push([y, x]); mapStatus[y][x] = {heuristic:heuristic, open:true, closed:false}; } mapStatus[y][x].parent = parent; mapStatus[y][x].movementCost = movementCost; } function findPathInternal(map, startY, startX, endY, endX) { if ((startY == undefined) || (startX == undefined)) { return(null); } if ((endY == undefined) || (endX == undefined)) { return(null); } var mapH = map.length; var mapW = map[0].length; mapStatus = new Array(); var i = 0; while (i < mapH) { mapStatus[i] = new Array(); i++; } openList = new Array(); openSquare(startY, startX, undefined, 0); while ((openList.length > 0) && (!isClosed(endY, endX))) { var i = nearerSquare(); var nowY = openList[i][0]; var nowX = openList[i][1]; closeSquare(nowY, nowX); var j = (nowY - 1); while (j < (nowY + 2)) { var k = (nowX - 1); while (k < (nowX + 2)) { if (((((((j >= 0) && (j < mapH)) && (k >= 0)) && (k < mapW)) && (!((j == nowY) && (k == nowX)))) && ((ALLOW_DIAGONAL || (j == nowY)) || (k == nowX))) && (((ALLOW_DIAGONAL_CORNERING || (j == nowY)) || (k == nowX)) || ((map[j][nowX] != 0) && (map[nowY][k])))) { if (map[j][k] != 0) { if (!isClosed(j, k)) { var movementCost = (mapStatus[nowY][nowX].movementCost + ((((j == nowY) || (k == nowX)) ? (HV_COST) : (D_COST)) * map[j][k])); if (isOpen(j, k)) { if (movementCost < mapStatus[j][k].movementCost) { openSquare(j, k, [nowY, nowX], movementCost, undefined, true); } } else { var heuristic = ((Math.abs(j - endY) + Math.abs(k - endX)) * 10); openSquare(j, k, [nowY, nowX], movementCost, heuristic, false); } } } } k++; } j++; } } var pFound = isClosed(endY, endX); if (pFound) { var returnPath = new Array(); var nowY = endY; var nowX = endX; while ((nowY != startY) || (nowX != startX)) { returnPath.push([nowY, nowX]); var newY = mapStatus[nowY][nowX].parent[0]; var newX = mapStatus[nowY][nowX].parent[1]; nowY = newY; nowX = newX; } returnPath.push([startY, startX]); returnPath.reverse(); return(returnPath); } return(null); } static function findPath(map, startY, startX, endY, endX) { var pf = new Pathfinding(); var ret = pf.findPathInternal(map, startY, startX, endY, endX); delete pf; return(ret); } var HV_COST = 10; var D_COST = 14; var ALLOW_DIAGONAL = true; var ALLOW_DIAGONAL_CORNERING = true; }
Symbol 1396 MovieClip [__Packages.Client] Frame 0
class Client extends Bot { var hitArea, mcHit, OnTargetReached, _wish_in_process, _y, _x, _visible, State, Wish, animation_direction, mcAnim, _client_model, UpdateBoxPosition, orderPosStay, orderPosSeat, mcOrder, _enabled, _model_config, moving_speed, _in_wish_waiting, _wish_waiting_time, _wishes_required, _wish_delay, _room, _mood, __get__InMoving, _wish_time, _wish_max_time, _state_time, _state_processed, game, WalkTo, _wish_delivered, OnClick, OnWishDelivered, OnWishComplete, OnWishFail, _ticks, mcTick; function Client () { super(); ClientModel = (MODEL_AUDIOBOY); Die(); GoState(STATE_NONE); BeginWish(WISH_NONE); hitArea = mcHit; mcHit._visible = false; OnTargetReached = mx.utils.Delegate.create(this, TargetReached); } function get WishInProcess() { return(_wish_in_process); } function toString() { var s; s = (("Client x:" + _x) + ", y:") + _y; s = s + (" visible:" + _visible); s = s + (" State:" + State); s = s + (" Wish:" + Wish); return(s); } function SetAnimation(anim) { animation_direction = anim; mcAnim.gotoAndStop((animation_direction + 1) + (FRAMES_PER_MODEL * _client_model)); switch (animation_direction) { case Bot.ANIM_COFFEE_FRAME : case Bot.ANIM_READ_FRAME : var mc = MovieClip(mcAnim.mcAbove); mc._visible = false; mc.diff_x = mc._x; mc.diff_y = mc._y; } UpdateBoxPosition(); var ord_pos_or = ((((anim == Bot.ANIM_SEAT_FRAME) || (anim == Bot.ANIM_COFFEE_FRAME)) || (anim == Bot.ANIM_READ_FRAME)) ? (orderPosSeat) : (orderPosStay)); mcOrder._x = ord_pos_or.x; mcOrder._y = ord_pos_or.y; } function UpdateAnimation() { switch (animation_direction) { case Bot.ANIM_COFFEE_FRAME : case Bot.ANIM_READ_FRAME : } switch (State) { case STATE_COFFEE_ON_TABLE : case STATE_COFFEE_ON_DIVAN : SetAnimation(Bot.ANIM_COFFEE_FRAME); return; case STATE_READ_ON_TABLE : SetAnimation(Bot.ANIM_READ_FRAME); return; case STATE_SIT_ON_TABLE : case STATE_SIT_ON_DIVAN : if (Wish == WISH_TV) { SetAnimation(Bot.ANIM_SEAT_FRAME); } else if (Wish == WISH_COFFEE) { if (!_wish_in_process) { SetAnimation(Bot.ANIM_SEAT_FRAME); } else { SetAnimation(Bot.ANIM_COFFEE_FRAME); } } else if (Wish == WISH_READ) { if (!_wish_in_process) { SetAnimation(Bot.ANIM_SEAT_FRAME); } else { SetAnimation(Bot.ANIM_READ_FRAME); } } return; default : super.UpdateAnimation(); } } function GetDrawedMovie() { return(this); } function GetDrawedAboveMovie() { if (((State == STATE_COFFEE_ON_TABLE) || (State == STATE_COFFEE_ON_DIVAN)) || (State == STATE_READ_ON_TABLE)) { return(MovieClip(mcAnim.mcAbove)); } return(null); } function Init(model_type, model_config) { _enabled = true; _visible = true; GoState(STATE_NONE); BeginWish(WISH_NONE); ClientModel = (model_type); _model_config = model_config; moving_speed = _model_config.speed; Mood = (INIT_MOOD); room = (null); _in_wish_waiting = false; _wish_waiting_time = -1; _wishes_required = 0; _wish_in_process = false; _wish_delay = new Array(WISH_MAX); Helper.FillArray(_wish_delay, 0); ClearTicks(); _live = true; UpdateAnimation(); SetAnimation(Bot.ANIM_STAY); } function Die() { State = STATE_NONE; BeginWish(WISH_NONE); _room = null; _enabled = false; _visible = false; _live = false; } function get Live() { return(_live); } function get ClientModel() { return(_client_model); } function set ClientModel(value) { _client_model = value; //return(ClientModel); } function get Mood() { return(_mood); } function set Mood(value) { if (value == Number.NaN) { value = 0; } _mood = Math.min(MAX_MOOD, Math.max(0, value)); if (_mood <= 0) { GoLeaveHotel(); } //return(Mood); } function set room(value) { _room = value; //return(room); } function get room() { return(_room); } function get Progress() { return(mcOrder.__get__Progress()); } function Quant(dtime) { super.Quant(dtime); if ((Wish != WISH_NONE) && (!_wish_in_process)) { if (!__get__InMoving()) { _wish_time = _wish_time + dtime; if (_wish_time >= _wish_max_time) { WishFail(); } mcOrder.__set__Progress((_wish_time * 100) / _wish_max_time); mcOrder._visible = true; } else { mcOrder._visible = false; } } else { mcOrder._visible = false; } _state_time = _state_time + dtime; if (_in_wish_waiting) { _wish_waiting_time = _wish_waiting_time + dtime; } if (!_state_processed) { switch (State) { case STATE_AT_HALL : if (Wish != WISH_KEYS) { BeginWish(WISH_KEYS); } else if (game.ReceiptionIsFree()) { GoState(STATE_AT_RECEIPTION); WalkTo(game.orientierReceiption.GetPoint()); } return; case STATE_WALK_TO_ROOM : WalkTo(room.orientierEnter.GetPoint()); _state_processed = true; return; case STATE_WALK_TO_EXIT : WalkTo(game.orientierDoor.GetPoint()); _state_processed = true; return; case STATE_WALK_LEAVE_KEYS : WalkTo(game.orientierReceiption.GetPoint()); _state_processed = true; return; case STATE_WALK_TO_TV : WalkTo(game.orientierTv.GetPoint()); _state_processed = true; return; case STATE_WALK_TO_TABLE : WalkTo(game.orientierTable.GetPoint()); _state_processed = true; return; case STATE_AT_ROOM : if ((Wish == WISH_NONE) && (!_in_wish_waiting)) { BeginWaitWish(); } if (((Wish == WISH_NONE) && (_in_wish_waiting)) && (_wish_waiting_time > _model_config.delay)) { RequestWish(); } else if (Wish != WISH_NONE) { room.UpdateWish(this); } return; case STATE_SIT_ON_DIVAN : if ((Wish == WISH_TV) && (_wish_in_process)) { if (!game.mebelTV.__get__InWorking()) { FinishWatchTV(); } } return; case STATE_COFFEE_ON_DIVAN : if (_state_time > TIME_COFFEE_DIVAN) { EndDrinkCoffee(); } return; case STATE_COFFEE_ON_TABLE : if (_state_time > TIME_COFFEE_TABLE) { EndDrinkCoffee(); } return; case STATE_READ_ON_TABLE : if (_state_time <= TIME_READ) { break; } EndReadDaily(); } } } function BeginWaitWish() { _in_wish_waiting = true; _wish_waiting_time = 0; } function EndWaitWish() { _in_wish_waiting = false; _wish_waiting_time = -1; } function RequestWish() { EndWaitWish(); if (Helper.DEBUG) { } if (_wishes_required >= game._ActionCountForClients) { GoLeaveHotel(); return(undefined); } var new_wish = -1; var wishes = new Array(); var i = 0; while (i < game._available_wishes.length) { if (_wish_delay[game._available_wishes[i]] == 0) { wishes.push(game._available_wishes[i]); } i++; } if (wishes.length == 0) { wishes = Helper.CopyArray(game._available_wishes); } if (!game.__get__DivanIsVacant()) { wishes = Helper.SubtractArray(wishes, [WISH_TV]); } var weigths = new Array(wishes.length); var summ = 0; var i = 0; while (i < weigths.length) { weigths[i] = Number(_model_config.wishes[wishes[i]][CONFIG_PROCENT_VIPADENIYA]); summ = summ + weigths[i]; i++; } summ = Math.random() * summ; var i = 0; while (i < weigths.length) { summ = summ - weigths[i]; if (summ <= 0) { new_wish = wishes[i]; break; } i++; } if (((new_wish < 0) || (new_wish == undefined)) || (new_wish == Number.NaN)) { new_wish = wishes[wishes.length - 1]; } if (((new_wish < 0) || (new_wish == undefined)) || (new_wish == Number.NaN)) { new_wish = WISH_COFFEE; } var available_places = [0]; if ((new_wish == WISH_COFFEE) && (game.__get__DivanIsVacant())) { available_places.push(1); } if (((new_wish == WISH_COFFEE) || (new_wish == WISH_READ)) && (game.__get__TableIsVacant())) { available_places.push(2); } var where_going = Number(Helper.GetRandomFromArray(available_places)); if (where_going == 1) { GoState(STATE_WALK_TO_TV); } else if (where_going == 2) { GoState(STATE_WALK_TO_TABLE); } BeginWish(new_wish); _wish_delay[new_wish] = _wish_delay[new_wish] + Number(_model_config.wishes[new_wish][CONFIG_WISH_DELAY]); var i = 0; while (i < WISH_MAX) { if (i != new_wish) { _wish_delay[i] = Math.max(0, _wish_delay[i] - 1); } i++; } } function TargetReached() { switch (State) { case STATE_AT_RECEIPTION : game.ShowTip(TipsWindow.TIP_GIVE_KEYS); switch (ClientModel) { case MODEL_WOMAN : Helper.PlaySound("female_hello"); break; default : Helper.PlaySound("male_hello"); } return; case STATE_WALK_TO_ROOM : GoState(STATE_AT_ROOM); return; case STATE_WALK_TO_EXIT : game.mebelDver.PlayCharComout(this); return; case STATE_WALK_LEAVE_KEYS : game.mebelReceiption.ReturnBackKey(); room.__set__Status(Room.FREE); if (game._current_level > 1) { room.RequestClean(); } room = (null); game.PlaceMoneyOnTable(); GoState(STATE_WALK_TO_EXIT); return; case STATE_WALK_TO_TV : game.mebelDivan.AttachChar(this); SetAnimation(Bot.ANIM_SEAT); GoState(STATE_SIT_ON_DIVAN); return; case STATE_WALK_TO_TABLE : game.mebelTable.AttachChar(this); SetAnimation(Bot.ANIM_SEAT); GoState(STATE_SIT_ON_TABLE); } } function GoState(newstate) { _state_processed = false; _state_time = 0; if (State != newstate) { if (!(newstate === STATE_AT_ROOM)) { } else { room.Close(); _visible = false; } if (((newstate != STATE_SIT_ON_DIVAN) && (newstate != STATE_COFFEE_ON_DIVAN)) && (newstate != STATE_READ_ON_DIVAN)) { if (((State == STATE_SIT_ON_DIVAN) || (State == STATE_COFFEE_ON_DIVAN)) || (State == STATE_READ_ON_DIVAN)) { game.mebelDivan.DeattachChar(this); } } if (((newstate != STATE_SIT_ON_TABLE) && (newstate != STATE_COFFEE_ON_TABLE)) && (newstate != STATE_READ_ON_TABLE)) { if (((State == STATE_SIT_ON_TABLE) || (State == STATE_COFFEE_ON_TABLE)) || (State == STATE_READ_ON_TABLE)) { game.mebelTable.DeattachChar(this); } } if (!(State === STATE_AT_ROOM)) { } else { _visible = true; } Helper.ClearHighlite(mcAnim); } State = newstate; } function BeginWish(wish) { Wish = wish; _wish_delivered = false; if (Wish != WISH_NONE) { _wish_time = 0; _wish_max_time = _model_config.wishes[Wish][CONFIG_WAIT_TIME] * 1000; mcOrder._visible = true; mcOrder.__set__Wish(Wish); mcOrder.__set__Progress(0); _wishes_required++; if ((Wish == WISH_TV) && (State == STATE_AT_ROOM)) { GoState(STATE_WALK_TO_TV); } if (State == STATE_AT_ROOM) { room.ShowWish(); room.UpdateWish(this); room.__set__Enabled(true); if (Wish == WISH_COFFEE) { game.ShowTip(TipsWindow.TIP_COFFEE); } } } else { if (State == STATE_AT_ROOM) { room.HideWish(); } mcOrder._visible = false; room.__set__Enabled(false); } _wish_in_process = false; } function get CanHighlite() { return((Wish != WISH_NONE) && (!__get__InMoving())); } function onRollOver() { if (CanHighlite) { Helper.SetHighlite(mcAnim); } } function onRollOut() { if (CanHighlite) { Helper.ClearHighlite(mcAnim); } } function onPress(Void) { if (CanHighlite) { OnClick(this); } } function GoLeaveHotel() { BeginWish(WISH_NONE); if (room != null) { GoState(STATE_WALK_LEAVE_KEYS); } else { GoState(STATE_WALK_TO_EXIT); } } function WishDelivered() { if (!_wish_delivered) { if (OnWishDelivered != undefined) { OnWishDelivered(this); } _wish_delivered = true; } } function WishComplete() { if (OnWishComplete != undefined) { OnWishComplete(this); } BeginWish(WISH_NONE); } function WishFail() { if (OnWishFail != undefined) { OnWishFail(this); } BeginWish(WISH_NONE); if (State == STATE_SIT_ON_DIVAN) { game.mebelDivan.DeattachChar(this); GoState(STATE_WALK_TO_ROOM); } else if (State == STATE_SIT_ON_TABLE) { game.mebelTable.DeattachChar(this); GoState(STATE_WALK_TO_ROOM); } } function TakeKeys(keys_from_room) { if (Wish == WISH_KEYS) { room = (keys_from_room); room.__set__Status(Room.DND); WishDelivered(); WishComplete(); GoState(STATE_WALK_TO_ROOM); } } function TakeCoffee() { if (Wish == WISH_COFFEE) { WishDelivered(); if ((State == STATE_SIT_ON_DIVAN) || (State == STATE_SIT_ON_TABLE)) { BeginDrinkCoffee(); } else { WishComplete(); if (State == STATE_AT_ROOM) { GoState(STATE_AT_ROOM); } } } } function BeginDrinkCoffee() { _wish_in_process = true; if (game.mebelDivan.__get__Char() == this) { GoState(STATE_COFFEE_ON_DIVAN); } else if (game.mebelTable.__get__Char() == this) { GoState(STATE_COFFEE_ON_TABLE); } UpdateAnimation(); } function EndDrinkCoffee() { _wish_in_process = true; if (game.mebelDivan.__get__Char() == this) { game.mebelDivan.DeattachChar(this); } else if (game.mebelTable.__get__Char() == this) { game.mebelTable.DeattachChar(this); } WishComplete(); GoState(STATE_WALK_TO_ROOM); } function TakePhone() { if (Wish == WISH_PHONE) { WishDelivered(); WishComplete(); if (State == STATE_AT_ROOM) { GoState(STATE_AT_ROOM); } } } function TakeRead() { if (Wish == WISH_READ) { WishDelivered(); if ((State == STATE_SIT_ON_DIVAN) || (State == STATE_SIT_ON_TABLE)) { BeginReadDaily(); } else { WishComplete(); if (State == STATE_AT_ROOM) { GoState(STATE_AT_ROOM); } } } } function BeginReadDaily() { _wish_in_process = true; if (game.mebelDivan.__get__Char() == this) { GoState(STATE_READ_ON_DIVAN); } else if (game.mebelTable.__get__Char() == this) { GoState(STATE_READ_ON_TABLE); } UpdateAnimation(); } function EndReadDaily() { _wish_in_process = true; if (game.mebelDivan.__get__Char() == this) { } else if (game.mebelTable.__get__Char() == this) { game.mebelTable.DeattachChar(this); } WishComplete(); GoState(STATE_WALK_TO_ROOM); } function TakeTV() { if (Wish == WISH_TV) { WishDelivered(); _wish_in_process = true; } } function FinishWatchTV() { WishComplete(); game.mebelDivan.DeattachChar(this); GoState(STATE_WALK_TO_ROOM); } function StartCleaning() { if (Wish == WISH_CLEAN) { WishDelivered(); room.ClearTicks(); room.HideWish(); room.__set__Enabled(false); _wish_in_process = true; } } function FinishCleaning() { WishComplete(); } function HideTick() { _ticks--; if (_ticks < 0) { _ticks = 0; } if ((mcTick != undefined) && (_ticks == 0)) { mcTick._visible = false; } } function ShowTick() { _ticks++; if ((mcTick != undefined) && (_ticks > 0)) { mcTick._visible = true; Helper.PlaySound("event_accepted"); } } function ClearTicks() { _ticks = 0; HideTick(); } static var TIME_COFFEE_DIVAN = 6000; static var TIME_COFFEE_TABLE = 3000; static var TIME_READ = 7000; static var INIT_MOOD = 4; static var MAX_MOOD = 8; static var MODEL_AUDIOBOY = 0; static var MODEL_WOMAN = 1; static var MODEL_BADGUY = 2; static var MODEL_TOURIST = 3; static var STATE_NONE = 0; static var STATE_WAIT_COMIN = 1; static var STATE_COMMING = 2; static var STATE_AT_HALL = 3; static var STATE_WISH = 4; static var STATE_AT_RECEIPTION = 5; static var STATE_WALK = 6; static var STATE_WALK_TO_ROOM = 7; static var STATE_AT_ROOM = 8; static var STATE_WALK_TO_EXIT = 9; static var STATE_WAIT_COMOUT = 10; static var STATE_COMOUTING = 11; static var STATE_WALK_LEAVE_KEYS = 12; static var STATE_WALK_TO_TV = 13; static var STATE_SIT_ON_DIVAN = 14; static var STATE_COFFEE_ON_DIVAN = 15; static var STATE_COFFEE_ON_TABLE = 16; static var STATE_WALK_TO_TABLE = 17; static var STATE_SIT_ON_TABLE = 18; static var STATE_READ_ON_DIVAN = 19; static var STATE_READ_ON_TABLE = 20; static var WISHES = new Array("reception", "CleanRoom", "coffee", "magazine", "phone", "tv"); static var WISH_NONE = -1; static var WISH_KEYS = 0; static var WISH_CLEAN = 1; static var WISH_COFFEE = 2; static var WISH_READ = 3; static var WISH_PHONE = 4; static var WISH_TV = 5; static var WISH_MAX = 6; static var CONFIG_PROCENT_VIPADENIYA = 0; static var CONFIG_COST_ZA_USPEH = 1; static var CONFIG_COST_ZA_NEUDACHU = 2; static var CONFIG_NASTROENIE_ZA_USPEH = 3; static var CONFIG_NASTROENIE_ZA_NEUDACHU = 4; static var CONFIG_WAIT_TIME = 5; static var CONFIG_WISH_DELAY = 6; static var FRAMES_PER_MODEL = 8; var _live = false; }
Symbol 1397 MovieClip [__Packages.ClientOrder] Frame 0
class ClientOrder extends MovieClip { var colorTrans, trans, mcProgress, _progress, _wish, mcAnim; function ClientOrder () { super(); Progress = (0); Wish = (Client.WISH_KEYS); colorTrans = new flash.geom.ColorTransform(0, 0, 0, 1, 0, 0, 0, 0); trans = new flash.geom.Transform(mcProgress); trans.colorTransform = colorTrans; } function get Progress() { return(_progress); } function set Progress(value) { var prev_progress = _progress; _progress = Math.floor(Math.min(100, Math.max(0, value))); mcProgress.gotoAndStop(101 - _progress); if (_progress != prev_progress) { var prev_color; var next_color; var color = [0, 0, 0]; var prev_color_mass = 1; var next_color_mass = 1; var is_equal = false; var i = 0; while (i < CIRCLE_COLORS.length) { if (_progress <= Number(CIRCLE_COLORS[i][0])) { prev_color = CIRCLE_COLORS[i - 1][1]; next_color = CIRCLE_COLORS[i][1]; prev_color_mass = Number(CIRCLE_COLORS[i - 1][0]); next_color_mass = Number(CIRCLE_COLORS[i][0]); break; } if (_progress == CIRCLE_COLORS[i][0]) { color = Array(CIRCLE_COLORS[i][1]); is_equal = true; break; } i++; } if (!is_equal) { var mass = ((_progress - prev_color_mass) / (next_color_mass - prev_color_mass)); var i = 0; while (i < 3) { if (next_color[i] <= prev_color[i]) { color[i] = prev_color[i] + ((next_color[i] - prev_color[i]) * mass); } else { color[i] = prev_color[i] + ((next_color[i] - prev_color[i]) * mass); } i++; } } colorTrans.redOffset = Math.floor(color[0]); colorTrans.greenOffset = Math.floor(color[1]); colorTrans.blueOffset = Math.floor(color[2]); trans.colorTransform = colorTrans; } //return(Progress); } function get Wish() { return(_wish); } function set Wish(value) { _wish = value; if (_wish >= 0) { mcAnim.gotoAndStop(_wish + 1); } //return(Wish); } static var CIRCLE_COLORS = [[0, [0, 255, 0]], [50, [255, 255, 0]], [102, [255, 0, 0]]]; }
Symbol 1398 MovieClip [__Packages.Room] Frame 0
class Room extends MovieClip { var _opened, mcOrder, _clean_required, hitArea, mcAnim, _number, mcHighlite, mcStatusDnd, mcStatusClosed, _status, roomWish, _enabled, OnClick, _ticks, mcTick; function Room () { super(); Num = (0); Status = (CLOSED); _opened = false; ClearHighlite(); HideWish(); Enabled = (false); ClearTicks(); mcOrder._visible = false; _clean_required = false; hitArea = mcAnim; } function get Num() { return(_number); } function set Num(value) { _number = value; mcAnim.gotoAndStop(_number + 1); mcHighlite.gotoAndStop(_number + 1); mcStatusDnd._x = mcAnim.pointDnd._x; mcStatusDnd._y = mcAnim.pointDnd._y; mcStatusClosed._x = mcAnim.pointClosed._x; mcStatusClosed._y = mcAnim.pointClosed._y; //return(Num); } function set Status(value) { _status = value; mcStatusClosed._visible = _status == CLOSED; mcStatusDnd._visible = _status == DND; ClearHighlite(); //return(Status); } function get Status() { return(_status); } function Open() { _opened = true; mcAnim._visible = false; } function Close() { _opened = false; mcAnim._visible = true; } function ShowWish() { roomWish._visible = true; } function HideWish() { roomWish._visible = false; } function UpdateWish(cl) { roomWish.__set__Mood(cl.Mood); roomWish.__set__ClientModel(cl.ClientModel); roomWish.__set__Progress(cl.Progress); roomWish.__set__Wish(cl.Wish); } function get CleanRequired() { return(_clean_required); } function RequestClean() { if ((Status == FREE) && (!_clean_required)) { HideWish(); _clean_required = true; Open(); mcOrder._visible = true; mcOrder.__set__Wish(Client.WISH_CLEAN); mcOrder.__set__Progress(0); Enabled = (true); } } function CleanDone() { _clean_required = false; Close(); mcOrder._visible = false; Enabled = (false); } function get Enabled() { return(_enabled); } function set Enabled(val) { _enabled = val; if (!_enabled) { ClearHighlite(); ClearTicks(); } //return(Enabled); } function onRollOver() { if (Enabled) { SetHighlite(); } } function onRollOut() { if (Enabled) { ClearHighlite(); } } function ClearHighlite() { mcHighlite._visible = false; } function SetHighlite() { mcHighlite._visible = true; } function onPress(Void) { if (Enabled) { OnClick(this); } } function HideTick() { _ticks--; if (_ticks < 0) { _ticks = 0; } if ((mcTick != undefined) && (_ticks == 0)) { mcTick._visible = false; } } function ShowTick() { _ticks++; if ((mcTick != undefined) && (_ticks > 0)) { mcTick._visible = true; Helper.PlaySound("event_accepted"); } } function ClearTicks() { _ticks = 0; HideTick(); } function get HasTick() { return(_ticks != 0); } static var CLOSED = 0; static var FREE = 1; static var DND = 2; }
Symbol 1399 MovieClip [__Packages.RoomWish] Frame 0
class RoomWish extends MovieClip { var _client_model, _mood, mcHighlite, __get__ClientModel, mcAvatar, mcBar, __get__Mood, mcOrder, __get__Progress, __get__Wish; function RoomWish () { super(); _client_model = 0; _mood = 0; mcHighlite._visible = false; } function set ClientModel(value) { _client_model = value; UpdateAvatar(); //return(__get__ClientModel()); } function UpdateAvatar() { var fr_num = ((_client_model * 3) + 1); var nastroenie = 0; if (_mood > 5) { nastroenie = 2; } else if (_mood > 3) { nastroenie = 1; } fr_num = fr_num + nastroenie; mcAvatar.gotoAndStop(fr_num); } function set Mood(value) { _mood = value; mcBar.gotoAndStop(_mood + 1); UpdateAvatar(); //return(__get__Mood()); } function set Progress(value) { mcOrder.__set__Progress(value); //return(__get__Progress()); } function set Wish(value) { mcOrder.__set__Wish(value); //return(__get__Wish()); } }
Symbol 1400 MovieClip [__Packages.TipsWindow] Frame 0
class TipsWindow extends MovieClip { var btnShowTips, btnClose, textShowTips, _tip_id, OnClose, removeMovieClip, textTip; function TipsWindow () { super(); btnShowTips.OnValueChanged = mx.utils.Delegate.create(this, ShowTipsClicked); btnClose.onPress = mx.utils.Delegate.create(this, CloseClicked); textShowTips = Language.Transl("show tips"); btnShowTips.Value = TipsEnabled; btnShowTips.SetValue(TipsEnabled); } function get Id() { return(_tip_id); } function ShowTipsClicked(btn) { TipsEnabled = btnShowTips.Value; } function CloseClicked() { if (OnClose != undefined) { OnClose(this); } removeMovieClip(); this = undefined; } function Init(tip_id) { _tip_id = tip_id; textTip = Language.Transl(("tip" + _tip_id) + "text"); } static function ShowTip(parent, tip_id) { if ((ShowedTips[tip_id] != undefined) && (ShowedTips[tip_id] == true)) { return(null); } ShowedTips[tip_id] = new Boolean(true); if (!TipsEnabled) { return(null); } var d = parent.getNextHighestDepth(); var mc = TipsWindow(parent.attachMovie("TipsWindow", "TipsWindow" + d, d)); mc._x = 0; mc._y = 0; mc.Init(tip_id); Helper.PlaySound("tip"); return(mc); } function Close() { CloseClicked(); } static var TIP_GIVE_KEYS = 1; static var TIP_TAKE_KEYS = 2; static var TIP_COFFEE = 3; static var TIP_CLICK_DOOR = 4; static var TIP_CLEAN_ROOM = 5; static var TIP_SHOP = 15; static var TIP_MAX = 16; static var TipsEnabled = true; static var ShowedTips = new Array(TIP_MAX); }
Symbol 1401 MovieClip [__Packages.Fx] Frame 0
class Fx { function Fx () { } static function CreateTrailToPoint(parentmc, fly_from, fly_to, head_mc_name, trail_mc_name) { var d = parentmc.getNextHighestDepth(); var head_mc = parentmc.attachMovie(head_mc_name, head_mc_name + d, d); head_mc.direct = Math.atan2(ANIM_TRAIL_START_DIRECT_Y, ANIM_TRAIL_START_DIRECT_X); head_mc._x = fly_from.x; head_mc._y = fly_from.y; head_mc.fly_to = fly_to; head_mc.trail_mc_name = trail_mc_name; head_mc.speed = ANIM_TRAIL_START_SPEED; head_mc.fly_distance = 0; head_mc.trail_distance = 0; head_mc.finish_phase = 0; head_mc.ang_change_summ = 0; head_mc.onEnterFrame = function () { if (this.finish_phase > 0) { if (this.finish_phase == 1) { this._x = fly_to.x; this._y = fly_to.y; this._alpha = 60; this.finish_phase = 2; } else if (this.finish_phase == 2) { this.finish_phase = 3; MovieClip(this).removeMovieClip(); this = undefined; } return(undefined); } var targ_ang = Math.atan2(this.fly_to.y - this._y, this.fly_to.x - this._x); var diff_ang = (targ_ang - this.direct); if (Math.abs(diff_ang) > Math.PI) { diff_ang = ((diff_ang > 0) ? -1 : 1) * ((Math.PI*2) - Math.abs(diff_ang)); } this.direct = this.direct + (diff_ang * Fx.ANIM_TRAIL_ANGLE_CHANGE_COEFF); if (this.direct > Math.PI) { this.direct = this.direct - (Math.PI*2); } else if (this.direct < -3.14159265358979) { this.direct = this.direct + (Math.PI*2); } var targ_dist1 = Math.sqrt(((this.fly_to.x - this._x) * (this.fly_to.x - this._x)) + ((this.fly_to.y - this._y) * (this.fly_to.y - this._y))); if (this._prev_time == undefined) { this._prev_time = getTimer(); } var dtime = (getTimer() - this._prev_time); this._prev_time = getTimer(); var speed2 = ((this.speed * ((Math.PI*2) - Math.abs(diff_ang * Fx.ANIM_TRAIL_ANGLE_CHANGE_COEFF_FOR_SPEED))) / (Math.PI*2)); var fly_length = ((speed2 * dtime) / 1000); this._x = this._x + (Math.cos(this.direct) * fly_length); this._y = this._y + (Math.sin(this.direct) * fly_length); this.fly_distance = this.fly_distance + fly_length; this.trail_distance = this.trail_distance + fly_length; this.ang_change_summ = this.ang_change_summ + Math.abs(diff_ang); if (this.trail_distance > Fx.ANIM_TRAIL_TRAIL_EACH_DISTANCE) { this.trail_distance = this.trail_distance - Fx.ANIM_TRAIL_TRAIL_EACH_DISTANCE; var td = MovieClip(this)._parent.getNextHighestDepth(); var tmc = MovieClip(this)._parent.attachMovie(this.trail_mc_name, this.trail_mc_name + td, td); tmc._x = this._x - (Math.cos(this.direct) * Fx.ANIM_TRAIL_TRAIL_DIST_DELAY); tmc._y = this._y - (Math.sin(this.direct) * Fx.ANIM_TRAIL_TRAIL_DIST_DELAY); var trail_to_x = (tmc._x + (Math.cos(this.direct) * fly_length)); var trail_to_y = (tmc._y + (Math.sin(this.direct) * fly_length)); com.mosesSupposes.fuse.ZigoEngine.doTween(tmc, "_alpha,_x,_y", [0, trail_to_x, trail_to_y], Fx.ANIM_TRAIL_TRAIL_LIFE_TIME, mx.transitions.easing.None.easeNone, 0, {scope:Fx, func:"RemoveMeCallback", args:tmc}); } var targ_dist2 = Math.sqrt(((this.fly_to.x - this._x) * (this.fly_to.x - this._x)) + ((this.fly_to.y - this._y) * (this.fly_to.y - this._y))); if (((targ_dist2 > targ_dist1) && (targ_dist2 < (fly_length * 2.5))) || (this.ang_change_summ > 30)) { this.finish_phase = 1; } }; } static function CreateGrowUp(parentmc, fly_from, mc_name, count_multiply) { var pieces = (ANIM_GROW_PIECES + ((ANIM_GROW_PIECES * count_multiply) / 2)); var i = 0; while (i < pieces) { var d = parentmc.getNextHighestDepth(); var mc = parentmc.attachMovie(mc_name, mc_name + d, d); mc._x = fly_from.x + (ANIM_GROW_WIDTH * (Math.random() - 0.5)); mc._y = fly_from.y + (ANIM_GROW_HEIGHT * (Math.random() - 0.5)); mc._xscale = (mc._yscale = ANIM_GROW_PIECE_SIZE_FROM + ((ANIM_GROW_PIECE_SIZE_TO - ANIM_GROW_PIECE_SIZE_FROM) * Math.random())); mc.speed = ANIM_GROW_MIN_SPEED + (ANIM_GROW_SPEED_DELTA * Math.random()); var life_time = (ANIM_GROW_LIFETIME_FROM + (ANIM_GROW_LIFETIME_DELTA * Math.random())); com.mosesSupposes.fuse.ZigoEngine.doTween(mc, "_y,_alpha", [mc._y - mc.speed, 0], life_time, mx.transitions.easing.Regular.easeIn, 0, {scope:Fx, func:"RemoveMeCallback", args:mc}); com.mosesSupposes.fuse.ZigoEngine.doTween(mc, "_x", mc._x + (10 * ((Math.random() > 0.5) ? 1 : -1)), life_time, mx.transitions.easing.Elastic.easeIn, 0); i++; } } static function CreateParticlesEmmiterUp(parentmc, fly_from, mc_name) { var d = parentmc.getNextHighestDepth(); var head_mc = parentmc.createEmptyMovieClip("particlesEmmiterUp" + d, d); head_mc._x = fly_from.x; head_mc._y = fly_from.y; head_mc.EmmitCounter = 0; head_mc.ParticleMCName = mc_name; head_mc.onEnterFrame = function () { if (this.EmmitCounter >= Fx.EMIT_EACH_FRAME) { var td = MovieClip(this).getNextHighestDepth(); var tmc = MovieClip(this).attachMovie(this.ParticleMCName, this.ParticleMCName + td, td); tmc._y = 0; tmc._x = ((-Fx.EMIT_WIDTH) / 2) + (Math.random() * Fx.EMIT_WIDTH); var life_time = (Fx.EMIT_LIFE_TIME + (Math.random() * Fx.EMIT_LIFE_TIME_DELTA)); var to_y = (tmc._y - (Fx.EMIT_GROW_UP_FROM + (Math.random() * Fx.EMIT_GROW_UP_DELTA))); com.mosesSupposes.fuse.ZigoEngine.doTween(tmc, "_y,_alpha", [to_y, 0], life_time, mx.transitions.easing.Regular.easeIn, 0, {scope:Fx, func:"RemoveMeCallback", args:tmc}); this.EmmitCounter = 0; } this.EmmitCounter++; }; head_mc.Terminate = function () { this.removeMovieClip(); this = undefined; }; return(head_mc); } static function PlayAppearAnimation(target) { var f = (new com.mosesSupposes.fuse.Fuse()); f.__set__target(target); f.push({delay:0.25}); f.push({label:"appear", start_alpha:0, time:2.3, ease:"easeOutBack", trigger:0.5}); f.push({alpha:10, scale:104, ease:"easeInOutQuad", cycles:2, time:0.5, delay:0.1}); f.push({alpha:100, time:0.1}); f.start(true); } static function RemoveMeCallback(mc) { mc.removeMovieClip(); mc = undefined; } static var ANIM_TRAIL_START_DIRECT_X = 2; static var ANIM_TRAIL_START_DIRECT_Y = -20; static var ANIM_TRAIL_START_SPEED = 350; static var ANIM_TRAIL_TRAIL_EACH_DISTANCE = 35; static var ANIM_TRAIL_TRAIL_DIST_DELAY = 35; static var ANIM_TRAIL_TRAIL_LIFE_TIME = 0.4; static var ANIM_TRAIL_ANGLE_CHANGE_COEFF = 0.14; static var ANIM_TRAIL_ANGLE_CHANGE_COEFF_FOR_SPEED = 1; static var ANIM_GROW_PIECES = 4; static var ANIM_GROW_PIECE_SIZE_FROM = 60; static var ANIM_GROW_PIECE_SIZE_TO = 100; static var ANIM_GROW_WIDTH = 50; static var ANIM_GROW_HEIGHT = 20; static var ANIM_GROW_SPEED_DELTA = 15; static var ANIM_GROW_MIN_SPEED = 22; static var ANIM_GROW_LIFETIME_FROM = 0.4; static var ANIM_GROW_LIFETIME_DELTA = 0.5; static var EMIT_EACH_FRAME = 1; static var EMIT_WIDTH = 30; static var EMIT_GROW_UP_FROM = 10; static var EMIT_GROW_UP_DELTA = 10; static var EMIT_LIFE_TIME = 1; static var EMIT_LIFE_TIME_DELTA = 1; }
Symbol 1402 MovieClip [__Packages.com.mosesSupposes.fuse.FuseKitCommon] Frame 0
class com.mosesSupposes.fuse.FuseKitCommon { static var logOutput; function FuseKitCommon () { } static function _cts() { return("|_tint|_tintPercent|_brightness|_brightOffset|_contrast|_invertColor|_colorReset|_colorTransform|"); } static function _resetTo100() { return("|_alpha|_contrast|_invertColor|_tintPercent|_xscale|_yscale|_scale|"); } static function _resetTo0() { return("|_brightness|_brightOffset|_colorReset|_rotation|"); } static function _underscoreable() { return(_cts() + "_frame|_x|_y|_xscale|_yscale|_scale|_width|_height|_size|_rotation|_alpha|_fade|_visible|"); } static function _cbprops() { return("|skipLevel|cycles|roundResults|extra1|extra2|func|scope|args|startfunc|startscope|startargs|updfunc|updscope|updargs|"); } static function _fuseEvents() { return("|onStart|onStop|onPause|onResume|onAdvance|onComplete|"); } static function _fuseprops() { return("|command|label|delay|event|eventparams|target|addTarget|trigger|startAt|ease|easing|seconds|duration|time|"); } static function _validateFuseCommand(c, inGroup, hasArg, outputLevel, simple) { var valid = false; var misplaced = false; switch (c) { case "start" : case "stop" : case "pause" : case "resume" : case "setStartProps" : if (inGroup != true) { valid = true; } break; case "delay" : case "trigger" : if (simple == true) { if (hasArg == true) { valid = true; } } else { misplaced = true; } inGroup = false; break; case "skipTo" : if (!((hasArg == true) && (inGroup != true))) { break; } valid = true; } if ((outputLevel > 0) && (valid == false)) { error("109", c, inGroup, misplaced); } return(valid); } static function output(s) { if (typeof(logOutput) == "function") { logOutput(s); } } static function error(errorCode) { var a1 = arguments[1]; var a2 = arguments[2]; var a3 = arguments[3]; if (VERBOSE != true) { output(("[FuseKitCommon#" + errorCode) + "]"); return(undefined); } var es = ""; var _newline = newline; switch (errorCode) { case "001" : es = es + "** ERROR: When using simpleSetup to extend prototypes, you must pass the Shortcuts class. **"; es = es + (_newline + " import com.mosesSupposes.fuse.*;"); es = es + ((_newline + " ZigoEngine.simpleSetup(Shortcuts);") + _newline); break; case "002" : es = es + "** ZigoEngine.doShortcut: shortcuts missing. Use the setup commands: import com.mosesSupposes.fuse.*; ZigoEngine.register(Shortcuts); **"; break; case "003" : es = es + ((_newline + "*** Error: DO NOT use #include \"lmc_tween.as\" with this version of ZigoEngine! ***") + _newline); break; case "004" : es = es + (("** ZigoEngine.doTween - too few arguments [" + a1) + "]."); if (Boolean(a2) == true) { es = es + " If you are trying to use Object Syntax without Fuse, pass FuseItem in your register() or simpleSetup() call. **"; } else { es = es + " Object syntax call failed. **"; } break; case "005" : es = es + (((("** ZigoEngine.doTween - missing targets[" + a1) + "] and/or props[") + a2) + "] **"); break; case "006" : es = es + (("** Error: easing shortcut string not recognized (\"" + a1) + "\"). You may need to pass the in PennerEasing class during register or simpleSetup. **"); break; case "007" : es = es + (((("- ZigoEngine: Target locked [" + a1) + "], ignoring tween call [") + a2) + "]"); break; case "008" : es = es + "** You must register the Shortcuts class in order to use easy string-type callback parsing. **"; break; case "009" : es = es + (("** ZigoEngine: A callback parameter \"" + a1) + "\" was not recognized. **"); break; case "010" : es = es + ((((("** " + ((a1 == true) ? "ZigoEngine" : "FuseItem")) + " unable to parse ") + ((a2 == 1) ? "callback[" : (String(a2) + " callbacks["))) + a3) + "]. Try using the syntax {scope:this, func:\"myFunction\"} **"); break; case "011" : es = es + (((("- ZigoEngine: Callbacks discarded via skipLevel 2 option [" + a1) + "|") + a2) + "]."); break; case "012" : es = es + (((((("- Engine set props or ignored no-change tween on: " + a1) + ", props passed:[") + a2) + "], endvals passed:[") + a3) + "]"); break; case "013" : es = es + (((((("- Engine added tween on:\n\ttargets:[" + a1) + "]\n\tprops:[") + a2) + "]\n\tendvals:[") + a3) + "]"); break; case "014" : es = es + "** Error: easing function passed is not usable with this engine. Functions need to follow the Robert Penner model. **"; break; case "015" : es = es + "** Error: The CustomEasing class must be passed during setup (register or simpleSetup) to use custom easing Arrays. **"; break; case "016" : es = es + (("[ ZigoEngine.TIME_MULTIPLIER: " + String(Number(Number(a1) * 100))) + "% ]"); break; case "101" : es = es + "** ERROR: Fuse simpleSetup was removed in version 2.0! **"; es = es + (_newline + " You must now use the following commands:"); es = es + ((_newline + _newline) + "\timport com.mosesSupposes.fuse.*;"); es = es + (_newline + "\tZigoEngine.simpleSetup(Shortcuts, PennerEasing, Fuse);"); es = es + ((_newline + "Note that PennerEasing is optional, and FuseFMP is also accepted. (FuseFMP.simpleSetup is run automatically if included.)") + _newline); break; case "102" : es = es + (((("** Fuse " + a1) + " index or label not found (") + a2) + ") or out of range. **"); break; case "103" : es = es + (((("** Fuse skipTo (" + a1) + ") ignored - targets the current index (") + a2) + "). **"); break; case "104" : es = es + (("** Fuse fastForward index out of play range (" + a1) + ") - skipTo has been called instead. **"); break; case "105" : es = es + "** An unsupported Array method was called on Fuse. **"; break; case "106" : es = es + "** ERROR: You have not set up Fuse correctly. **"; es = es + (_newline + "You must now use the following commands (PennerEasing is optional)."); es = es + (_newline + "\timport com.mosesSupposes.fuse.*;"); es = es + ((_newline + "\tZigoEngine.simpleSetup(Shortcuts, PennerEasing, Fuse);") + _newline); break; case "107" : es = es + "** Fuse :: id not found - Aborting open(). **"; break; case "108" : es = es + "** Fuse.startRecent: No recent Fuse found to start! **"; break; case "109" : es = es + (("** Command \"" + a1) + "\" discarded. "); if (a2 == true) { es = es + "Not allowed within a group. **"; } else if (a3 == true) { es = es + (("Not supported in Object Syntax, use the " + a1) + " property instead. **"); } else { es = es + "The command may be unrecognized or missing an argument. **"; } break; case "110" : es = es + (((("** " + a1) + " illegal Fuse property discarded:\"") + a2) + "\". Bezier keywords other than x and y cannot be set as start values. **"); break; case "112" : es = es + "** Fuse: missing com.mosesSupposes.fuse.ZigoEngine! Cannot tween. **"; break; case "113" : es = es + "** FuseItem: A callback has been discarded. Actions with a command may only contain: label, delay, scope, args. **"; break; case "115" : es = es + ((a1 + " overlapping prop discarded: ") + a2); break; case "116" : es = es + ("** FuseItem Error: Delays within groups (arrays) and start/update callbacks are not supported when using Fuse without ZigoEngine. Although you need to restructure your Fuse, it should be possible to achieve the same results. **" + _newline); break; case "117" : es = es + (("** " + a1) + ": infinite cycles are not allowed within Fuses - discarded. **"); break; case "118" : es = es + ((("** " + a1) + ": No targets found!") + ((a2 == true) ? " [Unable to set start props] **" : " [Skipping tween parameters in this action] **")); break; case "119" : es = es + ((((("** " + a1) + ": ") + ((a2 == 1) ? "" : (a2 + " actions in the group"))) + " missing targets") + ((a3 == true) ? " during setStartProps **" : " **")); break; case "120" : es = es + (((("** " + a1) + ": conflict with \"") + a2) + "\". Property might be doubled within a grouped-action array. **"); break; case "121" : es = es + "** Fuse timecode formatting requires \"00:\" formatting (example:\"01:01:33\" yields 61.33 seconds.) **"; break; case "122" : es = es + (("** Event \"" + a1) + "\" reserved by Fuse. **"); break; case "123" : es = es + (("** A Fuse event parameter failed in " + a1) + " **"); break; case "124" : es = es + (((("** " + a1) + ": trigger:") + a2) + " ignored - only one trigger is allowed per action **"); break; case "125" : es = es + (a1 + " Warning - fastForward hit an item during its tween cycle, may malfunction."); break; case "201" : es = es + (("**** FuseFMP cannot initialize argument " + a1) + " (BitmapFilters cannot be applied to this object type) ****"); break; case "202" : es = es + (((("** FuseFMP error: A " + a1) + " could not be created for ") + a2) + " **"); break; case "203" : es = es + (("** FuseFMP.setFilterProps - too few arguments passed (" + a1) + ") - minimum 2 required. **"); break; case "204" : es = es + (("** FuseFMP.setFilterProps could not locate the filter passed. (" + a1) + ") **"); } output(es); } static function parseCallback(callback, targets, outputLevel, callerIsEngine, addprefix) { if (callback._vcb == true) { return(callback); } var validCBs = {_vcb:true, skipLevel:_global.com.mosesSupposes.fuse.ZigoEngine.SKIP_LEVEL, cycles:1}; if (callback == undefined) { return(validCBs); } var cbErrors = []; if (typeof(callback) == "object") { if (((callback.skipLevel != undefined) && (typeof(callback.skipLevel) == "number")) && (callback.skipLevel != _global.com.mosesSupposes.fuse.ZigoEngine.SKIP_LEVEL)) { if ((callback.skipLevel >= 0) && (callback.skipLevel <= 2)) { validCBs.skipLevel = callback.skipLevel; } } if (callback.cycles != undefined) { if ((typeof(callback.cycles) == "number") && (callback.cycles > -1)) { validCBs.cycles = callback.cycles; } else if (callback.cycles.toUpperCase() == "LOOP") { validCBs.cycles = 0; } } if (callback.extra1 != undefined) { validCBs.extra1 = callback.extra1; } if (callback.extra2 != undefined) { validCBs.extra2 = callback.extra2; } if ((callback.roundResults === true) || (callback.roundResults === false)) { validCBs.roundResults = callback.roundResults; } } else { callback = {func:callback}; } var prefixes = ["start", "upd", ""]; var easyfuncparse = _global.com.mosesSupposes.fuse.Shortcuts.parseStringTypeCallback; for (var i in prefixes) { var prefix = prefixes[i]; var fstr = callback[prefix + "func"]; if (((fstr != undefined) && (typeof(fstr) == "string")) && (fstr.indexOf("(") > -1)) { if (easyfuncparse != undefined) { var efc = easyfuncparse(fstr); if (efc.func != undefined) { callback[prefix + "scope"] = efc.scope; callback[prefix + "func"] = efc.func; callback[prefix + "args"] = efc.args; } } else if (outputLevel > 0) { error("008"); } } } var basescope = callback.scope; for (var i in callback) { var fi = i.toLowerCase().indexOf("func"); if (fi > -1) { var prefix = i.slice(0, fi); var func = callback[i]; var args = callback[prefix + "args"]; var scope = ((callback[prefix + "scope"] == undefined) ? (basescope) : (callback[prefix + "scope"])); if ((typeof(func) == "string") && (scope[func] == undefined)) { for (var j in targets) { var targ = targets[j]; if (typeof(targ[func]) == "function") { scope = targ; break; } if (typeof(targ._parent[func]) == "function") { scope = targ._parent; break; } } if ((scope == undefined) && (_level0[func] != undefined)) { scope = _level0; } if ((scope == undefined) && (_global[func] != undefined)) { scope = _global; } } if (typeof(func) != "function") { if (typeof(scope[String(func)]) == "function") { func = scope[String(func)]; } else { func = eval (String(func)); } } if (func == undefined) { cbErrors.push(String((((((((addprefix == null) ? (i) : (addprefix + i)) + ":") + ((typeof(callback[i]) == "string") ? (("\"" + callback[i]) + "\"") : (callback[i]))) + "/") + prefix) + "scope:") + scope)); } else { if ((args != undefined) && (!(args instanceof Array))) { args = [args]; } if (prefix == "") { prefix = "end"; } validCBs[prefix] = {s:scope, f:func, a:args}; if (callerIsEngine == true) { validCBs[prefix].id = ++cbTicker; } if (prefix == "start") { validCBs.start.fired = false; } } } else if (_cbprops().indexOf(("|" + i) + "|") == -1) { error("009", i); } } if ((cbErrors.length > 0) && (outputLevel > 0)) { if (outputLevel > 0) { error("010", callerIsEngine, cbErrors.length, cbErrors.toString()); } } return(validCBs); } static var VERSION = "Fuse Kit 2.1.3r1 Copyright (c) 2006 Moses Gunesch, MosesSupposes.com under MIT Open Source License"; static var VERBOSE = true; static var ALL = "ALL"; static var ALLCOLOR = "ALLCOLOR"; static var cbTicker = 0; }
Symbol 1403 MovieClip [__Packages.com.mosesSupposes.fuse.ZigoEngine] Frame 0
class com.mosesSupposes.fuse.ZigoEngine { static var extensions, updateTime, tweenHolder, instance, _listeners, broadcastMessage, updateIntId; function ZigoEngine () { } static function addListener(handler) { AsBroadcaster.initialize(com.mosesSupposes.fuse.ZigoEngine); addListener(handler); } static function removeListener(handler) { } static function isPlaying() { return(_playing); } static function simpleSetup(shortcutsClass) { if (arguments.length > 0) { register.apply(com.mosesSupposes.fuse.ZigoEngine, arguments); } _global.ZigoEngine = com.mosesSupposes.fuse.ZigoEngine; if (extensions.fuse != undefined) { _global.Fuse = extensions.fuse; } if (extensions.fuseFMP != undefined) { extensions.fuseFMP.simpleSetup(); } initialize(MovieClip.prototype, Button.prototype, TextField.prototype); if (extensions.shortcuts == undefined) { com.mosesSupposes.fuse.FuseKitCommon.error("001"); } } static function register(classReference) { if (extensions == undefined) { extensions = {}; } var supported = "|fuse|fuseItem|fuseFMP|shortcuts|pennerEasing|customEasing|"; for (var i in arguments) { var key = arguments[i].registryKey; if ((extensions[key] == undefined) && (supported.indexOf(("|" + key) + "|") > -1)) { extensions[key] = arguments[i]; if ((key == "fuseFMP") || (key == "shortcuts")) { Object(extensions[key]).initialize(); } } } } static function initialize(target) { if (arguments.length > 0) { initializeTargets.apply(com.mosesSupposes.fuse.ZigoEngine, arguments); if (extensions.shortcuts != undefined) { extensions.shortcuts.addShortcutsTo.apply(extensions.shortcuts, arguments); } } } static function deinitialize(target) { if ((arguments.length == 0) || (target == null)) { arguments.push(MovieClip.prototype, Button.prototype, TextField.prototype); } deinitializeTargets.apply(com.mosesSupposes.fuse.ZigoEngine, arguments); if (extensions.shortcuts != undefined) { extensions.shortcuts.removeShortcutsFrom.apply(extensions.shortcuts, arguments); } } static function getUpdateInterval() { return(updateTime); } static function setUpdateInterval(time) { if (_playing) { setup(true); updateTime = time; setup(); } else { updateTime = time; } } static function getControllerDepth() { return(tweenHolder.getDepth()); } static function setControllerDepth(depth) { if ((depth == null) || (_global.isNaN(depth) == true)) { depth = 6789; } if (Object(tweenHolder).proof != null) { tweenHolder.swapDepths(depth); } else { tweenHolder = _root.createEmptyMovieClip("ZigoEnginePulse", depth); } } static function doShortcut(targets, methodName) { if (extensions.shortcuts == undefined) { if (OUTPUT_LEVEL > 0) { com.mosesSupposes.fuse.FuseKitCommon.error("002"); } return(null); } return(extensions.shortcuts.doShortcut.apply(extensions.shortcuts, arguments)); } static function doTween(targets, props, endvals, seconds, ease, delay, callback) { if (extensions.fuse.addBuildItem(arguments) == true) { return(null); } if (TIME_MULTIPLIER != prevTimeMult) { TIME_MULTIPLIER = Math.abs(TIME_MULTIPLIER); if (_global.isNaN(TIME_MULTIPLIER) == true) { TIME_MULTIPLIER = 1; } if (OUTPUT_LEVEL > 0) { com.mosesSupposes.fuse.FuseKitCommon.error("016", TIME_MULTIPLIER); } prevTimeMult = TIME_MULTIPLIER; } if ((instance == undefined) || ((Object(tweenHolder).proof == undefined) && (updateTime == undefined))) { if ((MovieClip.prototype.tween != null) && (typeof(_global.$tweenManager) == "object")) { com.mosesSupposes.fuse.FuseKitCommon.error("003"); } instance = new com.mosesSupposes.fuse.ZManager(); _playing = false; } var params = instance.paramsObj(targets, props, endvals, true); var ta = (((params.tg[0] == null) || (params.tg.length == 0)) ? undefined : (params.tg)); if (((params.pa == undefined) || (ta == undefined)) || (arguments.length < 3)) { if (((extensions.fuseItem != null) && (arguments.length == 1)) && (typeof(arguments[0]) == "object")) { return(extensions.fuseItem.doTween(arguments[0])); } if (OUTPUT_LEVEL > 0) { if (arguments.length < 3) { com.mosesSupposes.fuse.FuseKitCommon.error("004", (((arguments.length == 1) && (arguments[0] == null)) ? "1 (null)" : (String(arguments.length))), Boolean(extensions.fuseItem == null)); } else { com.mosesSupposes.fuse.FuseKitCommon.error("005", ta.toString(), params.pa.toString()); } } return(null); } if (_playing != true) { setup(); } if ((seconds == null) || (_global.isNaN(seconds) == true)) { seconds = DURATION || 1; } else if (seconds < 0.01) { seconds = 0; } seconds = seconds * TIME_MULTIPLIER; if (((delay < 0.01) || (delay == null)) || (_global.isNaN(delay) == true)) { delay = 0; } delay = delay * TIME_MULTIPLIER; var validCBs = com.mosesSupposes.fuse.FuseKitCommon.parseCallback(callback, ta, OUTPUT_LEVEL, true); var eqf; if (typeof(ease) == "function") { if (typeof(Function(ease).call(null, 1, 1, 1, 1)) == "number") { eqf = Function(ease); } else if (OUTPUT_LEVEL > 0) { com.mosesSupposes.fuse.FuseKitCommon.error("014", ease); } } else if ((ease == null) || (ease == "")) { if (EASING instanceof Function) { eqf = Function(EASING); } else if (extensions.pennerEasing != undefined) { ease = EASING; } } if ((typeof(ease) == "string") && (ease != "")) { if (extensions.pennerEasing[ease] != undefined) { eqf = extensions.pennerEasing[ease]; } else if (OUTPUT_LEVEL > 0) { com.mosesSupposes.fuse.FuseKitCommon.error("006", ease); } } else if (ease instanceof Array) { if (extensions.customEasing != undefined) { validCBs.extra1 = ease; if (typeof(ease[0]) == "number") { eqf = extensions.customEasing.precalced; } else { eqf = extensions.customEasing.fromCurve; } } else if (OUTPUT_LEVEL > 0) { com.mosesSupposes.fuse.FuseKitCommon.error("015", ease); } } if (typeof(eqf) != "function") { eqf = function (t, b, c, d) { return((c * (((((((t = (t / d) - 1)) * t) * t) * t) * t) + 1)) + b); }; } if (_listeners.length > 0) { broadcastMessage.call(com.mosesSupposes.fuse.ZigoEngine, "onTweenAdd", ta, params.pa, params.va, seconds, eqf, delay, validCBs); } var propsAdded = ""; for (var i in ta) { var o = ta[i]; if (o.__zigoID__ == null) { initializeTargets(o); } else if (instance.getStatus("locked", o) == true) { if (OUTPUT_LEVEL > 0) { com.mosesSupposes.fuse.FuseKitCommon.error("007", ((o._name != undefined) ? (o._name) : (o.toString())), params.pa.toString()); } continue; } var pStr = instance.addTween(o, params.pa, params.va, seconds, eqf, delay, validCBs); propsAdded = ((pStr == null) ? "|" : (pStr + "|")) + propsAdded; } propsAdded = propsAdded.slice(0, -1); return((((propsAdded == "") || (propsAdded == "|")) ? null : (propsAdded))); } static function removeTween(targs, props) { instance.removeTween(targs, props); } static function isTweening(targ, prop) { return(Boolean(instance.getStatus("active", targ, prop))); } static function getTweens(targ) { if (instance == undefined) { return(0); } return(Number(instance.getStatus("count", targ))); } static function lockTween(targ, setLocked) { instance.alterTweens("lock", targ, setLocked == true); } static function isTweenLocked(targ) { return(Boolean(instance.getStatus("locked", targ))); } static function ffTween(targs, props, suppressEndEvents) { instance.alterTweens("ff", targs, props, null, suppressEndEvents); } static function skipTweenTo(seconds, targs, props) { instance.alterTweens("skipTo", targs, props, false, false, seconds); } static function rewTween(targs, props, pauseFlag, suppressStartEvents) { instance.alterTweens("rewind", targs, props, pauseFlag, suppressStartEvents); } static function isTweenPaused(targ, prop) { return(Boolean(instance.getStatus("paused", targ, prop))); } static function pauseTween(targs, props) { instance.alterTweens("pause", targs, props); } static function unpauseTween(targs, props) { instance.alterTweens("unpause", targs, props); } static function resumeTween(targs, props) { instance.alterTweens("unpause", targs, props); } static function setColorByKey(targetObj, type, amt, rgb) { new Color(targetObj).setTransform(getColorTransObj(type, amt, rgb)); } static function getColorTransObj(type, amt, rgb) { switch (type) { case "brightness" : var percent = (100 - Math.abs(amt)); var offset = ((amt > 0) ? (255 * (amt / 100)) : 0); return({ra:percent, rb:offset, ga:percent, gb:offset, ba:percent, bb:offset}); case "brightOffset" : return({ra:100, rb:255 * (amt / 100), ga:100, gb:255 * (amt / 100), ba:100, bb:255 * (amt / 100)}); case "contrast" : return({ra:amt, rb:128 - (1.28 * amt), ga:amt, gb:128 - (1.28 * amt), ba:amt, bb:128 - (1.28 * amt)}); case "invertColor" : return({ra:100 - (2 * amt), rb:amt * 2.55, ga:100 - (2 * amt), gb:amt * 2.55, ba:100 - (2 * amt), bb:amt * 2.55}); case "tint" : if (rgb == null) { break; } var rgbnum; if (typeof(rgb) == "string") { if (rgb.charAt(0) == "#") { rgb = rgb.slice(1); } rgb = ((rgb.charAt(1).toLowerCase() != "x") ? ("0x" + rgb) : (rgb)); } rgbnum = Number(rgb); return({ra:100 - amt, rb:(rgbnum >> 16) * (amt / 100), ga:100 - amt, gb:((rgbnum >> 8) & 255) * (amt / 100), ba:100 - amt, bb:(rgbnum & 255) * (amt / 100)}); } return({rb:0, ra:100, gb:0, ga:100, bb:0, ba:100}); } static function getColorKeysObj(targOrTransObj) { var trans = ((targOrTransObj.ra != undefined) ? (targOrTransObj) : (new Color(targOrTransObj).getTransform())); var sim_a = ((trans.ra == trans.ga) && (trans.ga == trans.ba)); var sim_b = ((trans.rb == trans.gb) && (trans.gb == trans.bb)); var o = {tintPercent:Number(((sim_a == true) ? (100 - trans.ra) : 0))}; if (o.tintPercent != 0) { var ratio = (100 / o.tintPercent); o.tint = (((trans.rb * ratio) << 16) | ((trans.gb * ratio) << 8)) | (trans.bb * ratio); var hexStr = o.tint.toString(16); var toFill = (6 - hexStr.length); while ((toFill--) > 0) { hexStr = "0" + hexStr; } o.tintString = "0x" + hexStr.toUpperCase(); } if ((sim_a == true) && (sim_b == true)) { if (trans.ra < 0) { o.invertColor = trans.rb * 0.392156862745098; } else if ((trans.ra == 100) && (trans.rb != 0)) { o.brightOffset = trans.rb * 0.392156862745098; } if (trans.ra != 100) { if ((trans.rb == 0) || ((trans.rb != 0) && (((255 * ((100 - trans.ra) / 100)) - trans.rb) <= 1))) { o.brightness = ((trans.rb != 0) ? (100 - trans.ra) : (trans.ra - 100)); } if (((128 - (1.28 * trans.ra)) - trans.rb) <= 1) { o.contrast = trans.ra; } } } return(o); } static function initializeTargets() { for (var i in arguments) { var obj = arguments[i]; if ((((obj == MovieClip.prototype) || (obj == Button.prototype)) || (obj == TextField.prototype)) || (obj == Object.prototype)) { if (obj.oldAddListener == undefined) { if (obj == TextField.prototype) { obj.oldAddListener = obj.addListener; _global.ASSetPropFlags(obj, "oldAddListener", 7, 1); } obj.addListener = function (o) { if (this.__zigoID__ == undefined) { com.mosesSupposes.fuse.ZigoEngine.initializeTargets(this); } if (this instanceof TextField) { Function(this.oldAddListener).call(this, o); } else { this.addListener(o); } }; if (obj == MovieClip.prototype) { _global.ASSetPropFlags(obj, "addListener", 7, 1); } } } else if (obj.__zigoID__ == undefined) { obj.__zigoID__ = zigoIDs; _global.ASSetPropFlags(obj, "__zigoID__", 7, 1); zigoIDs++; if ((obj._listeners == null) || (obj.addListener == null)) { AsBroadcaster.initialize(obj); } } } } static function deinitializeTargets() { for (var i in arguments) { var obj = arguments[i]; if (obj.__zigoID__ != undefined) { _global.ASSetPropFlags(obj, "__zigoID__,_listeners,broadcastMessage,addListener,removeListener", 0, 2); delete obj.__zigoID__; delete obj._listeners; delete obj.broadcastMessage; delete obj.addListener; delete obj.removeListener; } if (obj.oldAddListener != undefined) { _global.ASSetPropFlags(obj, "oldAddListener", 0, 2); obj.addListener = obj.oldAddListener; delete obj.oldAddListener; } } } static function __mgrRelay(inst, method, args) { if (inst == instance) { Function(com.mosesSupposes.fuse.ZigoEngine[method]).apply(com.mosesSupposes.fuse.ZigoEngine, args); } } static function setup(deinitFlag) { if (deinitFlag == true) { _playing = false; clearInterval(updateIntId); delete tweenHolder.onEnterFrame; return(undefined); } instance.cleanUp(); clearInterval(updateIntId); delete updateIntId; if ((updateTime != null) && (updateTime > 0)) { updateIntId = setInterval(instance, "update", updateTime); } else { if (Object(tweenHolder).proof == null) { setControllerDepth(6789); Object(tweenHolder).proof = 1; } var _inst = instance; tweenHolder.onEnterFrame = function () { _inst.update.call(_inst); }; } _playing = true; instance.now = getTimer(); } static var VERSION = com.mosesSupposes.fuse.FuseKitCommon.VERSION + ", ZigoEngine based on concepts by L.Zigo"; static var EASING = "easeOutQuint"; static var DURATION = 1; static var TIME_MULTIPLIER = 1; static var ROUND_RESULTS = false; static var OUTPUT_LEVEL = 1; static var AUTOSTOP = false; static var SKIP_LEVEL = 0; static var _playing = false; static var zigoIDs = 0; static var prevTimeMult = 1; }
Symbol 1404 MovieClip [__Packages.com.mosesSupposes.fuse.ZManager] Frame 0
class com.mosesSupposes.fuse.ZManager { var tweens, now; function ZManager () { tweens = {}; numTweens = 0; } function addTween(obj, props, endvals, seconds, ease, delay, callback) { var skipLevel = ((callback.skipLevel == undefined) ? 0 : (callback.skipLevel)); var cycles = ((callback.cycles == undefined) ? 1 : (callback.cycles)); var extra1 = callback.extra1; var extra2 = callback.extra2; var ip = []; var fmp = _global.com.mosesSupposes.fuse.FuseFMP; var fmps = String(("|" + fmp.getAllShortcuts().join("|")) + "|"); var cts = com.mosesSupposes.fuse.FuseKitCommon._cts(); var propsAdded = ""; var valsAdded = ""; var zID = obj.__zigoID__; var to = tweens[String(zID)]; if ((to != undefined) && (com.mosesSupposes.fuse.ZigoEngine.AUTOSTOP == true)) { if (obj._listeners.length > 0) { for (var j in to.props) { ip.unshift(j); } } to.numProps = 0; cleanUp(true); } for (var i in props) { var prop = props[i]; var ep = endvals[i]; var fade = 0; if (prop == "_fade") { prop = "_alpha"; fade = ((ep < 50) ? -1 : 1); } var isCT = (cts.indexOf(("|" + prop) + "|") > -1); var oldCP = to.colorProp; if (to != undefined) { if ((isCT == true) && (oldCP != undefined)) { ip.unshift(oldCP); delete to.props[oldCP]; delete to.colorProp; to.numProps--; } else if (to.props[prop] != undefined) { ip.unshift(prop); delete to[prop]; to.numProps--; } } var o = {c:-1, fmp:-1, complex:-1}; var isImmed = (((skipLevel == 0) && ((seconds + delay) == 0)) || ((skipLevel > 0) && (seconds == 0))); var propChanged = false; var isFMP = ((fmp != undefined) && (fmps.indexOf(("|" + prop) + "|") > -1)); var isColorsArray = ((prop.toLowerCase().indexOf("colors") > -1) && (ep instanceof Array)); var isFMPC = (((isFMP == true) && (prop.indexOf("lor") > -1)) && (prop.charAt(2) != "l")); if (isFMP == true) { o.fmp = fmp; o.ps = fmp.getFilterProp(obj, prop, true); o.special = true; } if (((isCT == true) || (isColorsArray == true)) || (isFMPC && (isImmed == false))) { o.complex = 1; if (isCT == true) { o.c = new Color(obj); o.ps = Color(o.c).getTransform(); var cp = ((((prop == "_tint") || (prop == "_tintPercent")) || (prop == "_colorReset")) ? "tint" : (prop.slice(1))); var amt = null; var tint = null; if (prop != "_colorTransform") { if (cp == "tint") { if (typeof(ep) == "object") { tint = ep.tint; amt = ((_global.isNaN(ep.percent) == true) ? 100 : (ep.percent)); } else if ((prop == "_tintPercent") || (prop == "_colorReset")) { var curPct = com.mosesSupposes.fuse.ZigoEngine.getColorKeysObj(obj).tintPercent; if (prop == "_colorReset") { amt = Math.min(curPct, 100 - Math.abs(Number(ep))); } else { amt = ((typeof(ep) == "string") ? ((curPct || 0) + Number(ep)) : Number(ep)); } amt = Math.max(0, Math.min(amt, 100)); tint = com.mosesSupposes.fuse.ZigoEngine.getColorKeysObj(obj).tint || 0; } else { tint = ep; amt = 100; } } else { amt = ((typeof(ep) == "string") ? ((com.mosesSupposes.fuse.ZigoEngine.getColorKeysObj(obj)[cp] || 0) + Number(ep)) : (ep)); } ep = com.mosesSupposes.fuse.ZigoEngine.getColorTransObj(cp, amt, tint); } if (isImmed == true) { if (prop == "_colorTransform") { Color(o.c).setTransform(ep); } else { com.mosesSupposes.fuse.ZigoEngine.setColorByKey(obj, cp, amt, tint); } } else { var chObj = getChangeObj(o.ps, ep, false, false); o.ch = chObj.map; if (chObj.changed == true) { propChanged = true; } } } else if (isImmed == true) { fmp.setFilterProp(obj, prop, ep); } else if (isColorsArray == true) { o.c = 2; o.ch = []; for (var j in ep) { if (ep[j] != null) { if (o.ps == null) { o.ps = []; } o.ps[j] = com.mosesSupposes.fuse.ZigoEngine.getColorTransObj("tint", 100, ((o.ps[j] == null) ? obj[prop][j] : o.ps[j])); var chObj = getChangeObj(o.ps[j], com.mosesSupposes.fuse.ZigoEngine.getColorTransObj("tint", 100, ep[j]), true, false); o.ch[j] = chObj.map; if (chObj.changed == true) { propChanged = true; } } } } else { o.c = 1; o.ps = com.mosesSupposes.fuse.ZigoEngine.getColorTransObj("tint", 100, o.ps); var chObj = getChangeObj(o.ps, com.mosesSupposes.fuse.ZigoEngine.getColorTransObj("tint", 100, ep), true, false); o.ch = chObj.map; if (chObj.changed == true) { propChanged = true; } } } else if (prop == "_bezier_") { removeTween(obj, "_x,_y", true); if (isImmed == true) { if ((ep.x != null) && (_global.isNaN(Number(ep.x)) == false)) { obj._x = ((typeof(ep.x) == "string") ? (obj._x + Number(ep.x)) : (ep.x)); } if ((ep.y != null) && (_global.isNaN(Number(ep.y)) == false)) { obj._y = ((typeof(ep.y) == "string") ? (obj._y + Number(ep.y)) : (ep.y)); } } else { o.special = true; o.ps = 0; o.ch = 1; o.bz = {sx:obj._x, sy:obj._y}; if ((ep.x == null) || (_global.isNaN(Number(ep.x)))) { ep.x = o.bz.sx; } if ((ep.y == null) || (_global.isNaN(Number(ep.y)))) { ep.y = o.bz.sy; } o.bz.chx = ((typeof(ep.x) == "string") ? (Number(ep.x)) : (ep.x - o.bz.sx)); if (_global.isNaN(o.bz.chx) == true) { o.bx.chx = 0; } o.bz.chy = ((typeof(ep.y) == "string") ? (Number(ep.y)) : (ep.y - o.bz.sy)); if (_global.isNaN(o.bz.chy) == true) { o.bx.chy = 0; } if ((ep.controlX == null) || (_global.isNaN(Number(ep.controlX)))) { o.bz.ctrlx = o.bz.sx + (o.bz.chx / 2); } else { o.bz.ctrlx = ((typeof(ep.controlX) == "string") ? (o.bz.sx + Number(ep.controlX)) : (ep.controlX)); } if ((ep.controlY == null) || (_global.isNaN(Number(ep.controlY)))) { o.bz.ctrly = o.bz.sy + (o.bz.chy / 2); } else { o.bz.ctrly = ((typeof(ep.controlY) == "string") ? (o.bz.sy + Number(ep.controlY)) : (ep.controlY)); } o.bz.ctrlx = o.bz.ctrlx - o.bz.sx; o.bz.ctrly = o.bz.ctrly - o.bz.sy; propChanged = (o.bz.chx + o.bz.chy) != 0; } } else { if (typeof(ep) == "object") { o.complex = ((ep instanceof Array) ? 0 : 1); } if ((prop == "_x") || (prop == "_y")) { removeTween(obj, "_bezier_", true); } if ((prop == "_frame") && (typeof(obj) == "movieclip")) { o.ps = obj._currentframe; o.special = true; } else if (isFMP == false) { if (o.complex > -1) { o.ps = ((o.complex == 0) ? ([]) : ({})); for (var j in ep) { o.ps[j] = obj[prop][j]; } } else { o.ps = obj[prop]; } } if (isImmed == true) { if (isFMP == true) { fmp.setFilterProp(obj, prop, ((typeof(ep) == "string") ? (o.ps + Number(ep)) : (ep))); } else if (o.complex > -1) { for (var j in ep) { if ((ep[j] != null) && (_global.isNaN(Number(ep[j])) == false)) { obj[prop][j] = ((typeof(ep[j]) == "string") ? (o.ps[j] + Number(ep[j])) : ep[j]); if (_global.isNaN(obj[prop][j]) == true) { obj[prop][j] = 0; } } } } else { obj[prop] = ((typeof(ep) == "string") ? (o.ps + Number(ep)) : (ep)); if (fade == 1) { obj._visible = true; } else if (fade == -1) { obj._visible = false; } } } else if (o.complex > -1) { var chObj = getChangeObj(o.ps, ep, isFMP, o.complex == 0); o.ch = chObj.map; if (chObj.changed == true) { propChanged = true; } } else { if ((ep == null) || (_global.isNaN(Number(ep)))) { ep = o.ps; } o.ch = ((typeof(ep) == "string") ? (Number(ep)) : (Number(ep) - o.ps)); if (_global.isNaN(o.ch) == true) { o.ch = 0; } propChanged = o.ch != 0; } } if (((skipLevel == 0) && ((propChanged == true) || (isImmed == false))) || ((propChanged == true) && (isImmed == false))) { if ((o.complex > -1) && (!(o.c === 2))) { o.ps = [o.ps]; o.ch = [o.ch]; } o.ts = now + (delay * 1000); o.pt = -1; o.d = seconds * 1000; o.ef = ease; o.sf = false; o.cycles = cycles; if (extra1 != undefined) { o.e1 = extra1; } if (extra2 != undefined) { o.e2 = extra2; } o.v = fade; if (callback.start != undefined) { o.scb = callback.start; } if (callback.upd != undefined) { o.ucb = callback.upd; } if (callback.end != undefined) { o.ecb = callback.end; } if (callback.roundResults != undefined) { o.rr = callback.roundResults; } if (tweens[String(zID)] == undefined) { to = (tweens[String(zID)] = {numProps:0, locked:false, targ:obj, targID:String(("\"" + ((obj._name != undefined) ? (obj._name) : (obj.toString()))) + "\""), targZID:zID, props:{}}); numTweens++; } if (isCT == true) { to.colorProp = prop; } to.props[prop] = o; to.numProps++; propsAdded = (prop + ",") + propsAdded; valsAdded = (((typeof(ep) == "string") ? (("\"" + ep) + "\"") : (ep)) + ",") + valsAdded; } o = undefined; } if ((to == undefined) || (to.numProps <= 0)) { cleanUp(); } if ((ip.length > 0) && (com.mosesSupposes.fuse.ZigoEngine._listeners.length > 0)) { com.mosesSupposes.fuse.ZigoEngine.broadcastMessage("onTweenInterrupt", {target:obj, props:ip, __zigoID__:zID, during:"add"}); } if (propsAdded == "") { if (skipLevel == 2) { if (com.mosesSupposes.fuse.ZigoEngine.OUTPUT_LEVEL == 2) { com.mosesSupposes.fuse.FuseKitCommon.error("011", ((obj._name != undefined) ? (obj._name) : (obj.toString())), props.toString()); } } else { var de = (obj._listeners.length > 0); if (de == true) { obj.broadcastMessage("onTweenStart", {target:obj, props:props}); } if (callback.start != undefined) { callback.start.f.apply(callback.start.s, callback.start.a); } if (de == true) { obj.broadcastMessage("onTweenUpdate", {target:obj, props:props}); } if (callback.upd != undefined) { callback.upd.f.apply(callback.upd.s, callback.upd.a); } if (de == true) { obj.broadcastMessage("onTweenEnd", {target:obj, props:props}); } if (callback.end != undefined) { callback.end.f.apply(callback.end.s, callback.end.a); } } cleanUp(); } if (com.mosesSupposes.fuse.ZigoEngine.OUTPUT_LEVEL == 2) { if (propsAdded == "") { com.mosesSupposes.fuse.FuseKitCommon.error("012", ((obj._name != undefined) ? (obj._name) : (obj.toString())), props.toString(), endvals.toString()); } else { com.mosesSupposes.fuse.FuseKitCommon.error("013", ((obj._name != undefined) ? (obj._name) : (obj.toString())), propsAdded.slice(0, -1), valsAdded.slice(0, -1)); } } return(((propsAdded == "") ? null : (propsAdded.slice(0, -1)))); } function removeTween(targs, props, noInit) { var ip = {}; var o = paramsObj(targs, props); if (o.none == true) { return(undefined); } var all = o.all; var allp = o.allprops; var tg = ((all == true) ? (tweens) : (Object(o.tg))); var missing = false; for (var j in tg) { var id = ((all == true) ? (j) : (String(tg[j].__zigoID__))); var to = tweens[id]; var po = ((allp == true) ? (to.props) : (o.props)); for (var i in po) { var allcolor = ((i == com.mosesSupposes.fuse.FuseKitCommon.ALLCOLOR) && (to.colorProp != undefined)); if ((to.props[i] != undefined) || (allcolor == true)) { if (ip[id] == null) { ip[id] = []; } ip[id].unshift(i); if ((i == to.colorProp) || (allcolor == true)) { delete to.props[to.colorProp]; delete to.colorProp; } else { delete to.props[i]; } to.numProps--; if (to.numProps <= 0) { missing = true; break; } } } } if (com.mosesSupposes.fuse.ZigoEngine._listeners.length > 0) { for (var k in ip) { var t = tweens[k].targ; com.mosesSupposes.fuse.ZigoEngine.broadcastMessage("onTweenInterrupt", {target:((typeof(t.addProperty) == "function") ? (t) : (("[MISSING(\"" + tweens[k].targID) + "\")]")), props:ip[k], __zigoID__:tweens[k].targZID, during:((noInit == true) ? "add" : "remove")}); } } if (missing == true) { cleanUp(noInit); } } function alterTweens(type, targs, props, pauseFlag, noEvents, skipTo) { if (type == "lock") { tweens[String(targs.__zigoID__)].locked = props; return(undefined); } var o = paramsObj(targs, props); if (o.none == true) { return(undefined); } var all = o.all; var allp = o.allprops; var tg = ((all == true) ? (tweens) : (Object(o.tg))); var hits = 0; for (var j in tg) { var id = ((all == true) ? (j) : (String(tg[j].__zigoID__))); var to = tweens[id]; var po = ((allp == true) ? (to.props) : (o.props)); if (po.ALLCOLOR == true) { po[to.colorProp] = true; delete po.ALLCOLOR; } for (var prop in po) { hits++; var t = to.props[prop]; if (type == "rewind") { if (pauseFlag == true) { t.pt = now; } t.ts = now; if (noEvents != true) { t.sf = false; if (t.scb != undefined) { t.scb.fired = false; } } } else if (type == "ff") { if (noEvents == true) { t.suppressEnd = true; } t.o = true; t.pt = -1; t.ts = now - t.d; } else if (type == "skipTo") { t.ts = Math.min(now, (t.ts + (now - t.ts)) - (skipTo * 1000)); } else if (type == "pause") { if (t.pt == -1) { t.pt = now; } } else if (type == "unpause") { if (t.pt != -1) { t.ts = now - (t.pt - t.ts); t.pt = -1; } } } } if ((type == "ff") && (hits > 0)) { update(); } else if ((type == "rewind") && (hits > 0)) { update(true); } } function getStatus(type, targ, param) { if (targ == null) { return(null); } var all = (String(targ).toUpperCase() == com.mosesSupposes.fuse.FuseKitCommon.ALL); var t = tweens[String(targ.__zigoID__)]; switch (type) { case "paused" : var props = t.props; if (param != null) { if (props[String(param)] == undefined) { return(false); } return(Boolean(props[String(param)].pt != -1)); } for (var i in props) { if (props[i].pt != -1) { return(true); } } return(false); case "active" : if (param == null) { return(Boolean(t != undefined)); } if (String(param).toUpperCase() == com.mosesSupposes.fuse.FuseKitCommon.ALLCOLOR) { return(Boolean(t.colorProp != undefined)); } return(Boolean(t.props[String(param)] != undefined)); case "count" : if (!all) { return(t.numProps); } var count = 0; for (var i in tweens) { count = count + tweens[i].numProps; } return(count); case "locked" : return(t.locked); } } function update(force) { var scb = {}; var ucb = {}; var ecb = {}; var sp = {}; var up = {}; var ep = {}; var missing = false; var RR = com.mosesSupposes.fuse.ZigoEngine.ROUND_RESULTS; for (var i in tweens) { var to = tweens[i]; var targ = to.targ; var props = to.props; var evtFlag = (targ._listeners.length > 0); if (targ.__zigoID__ == undefined) { missing = true; if (com.mosesSupposes.fuse.ZigoEngine._listeners.length > 0) { var plist = []; for (var prop in props) { plist.unshift(prop); } com.mosesSupposes.fuse.ZigoEngine.broadcastMessage("onTweenInterrupt", {target:((typeof(targ.addProperty) == "function") ? (targ) : (("[MISSING:" + to.targID) + "]")), props:plist, __zigoID__:to.targZID, during:"update"}); } continue; } for (var prop in props) { var t = props[prop]; if (((t.ts > now) || (t.pt != -1)) && (force != true)) { continue; } var done = (now >= (t.ts + t.d)); if (t.complex == -1) { var val; if (done == true) { val = t.ps + t.ch; if ((t.cycles > 1) || (t.cycles == 0)) { if (t.cycles > 1) { t.cycles--; } t.ps = val; t.ch = -t.ch; t.ts = now; done = false; } } else { val = t.ef(now - t.ts, t.ps, t.ch, t.d, t.e1, t.e2); } if (_global.isNaN(val) == false) { if ((prop != "_bezier_") && ((t.rr == true) || ((RR == true) && (!(t.rr === false))))) { val = Math.round(Number(val)); } if (t.special != true) { targ[prop] = val; } else if (t.fmp != -1) { t.fmp.setFilterProp(targ, prop, val); } else if (prop == "_bezier_") { var bz = t.bz; var x = (bz.sx + (val * (((2 * (1 - val)) * bz.ctrlx) + (val * bz.chx)))); var y = (bz.sy + (val * (((2 * (1 - val)) * bz.ctrly) + (val * bz.chy)))); if ((t.rr == true) || ((RR == true) && (!(t.rr === false)))) { x = Math.round(Number(x)); y = Math.round(Number(y)); } targ._x = x; targ._y = y; } else if (prop == "_frame") { MovieClip(targ).gotoAndStop(Math.ceil(val)); } } } else { var loop = ((done == true) && ((t.cycles > 1) || (t.cycles == 0))); var tta = []; for (var k in t.ch) { var tt = ((t.complex == 0) ? ([]) : ({})); for (var j in t.ch[k]) { var cv = t.ch[k][j]; var sv = t.ps[k][j]; if (done == true) { tt[j] = sv + cv; if (loop == true) { t.ch[k][j] = -cv; } } else { tt[j] = t.ef(now - t.ts, sv, cv, t.d, t.e1, t.e2); } if (_global.isNaN(tt[j]) == false) { if ((t.rr == true) || ((RR == true) && (!(t.rr === false)))) { tt[j] = Math.round(tt[j]); } } if ((t.fmp == -1) && (t.c == -1)) { targ[prop][j] = tt[j]; } } tta.push(tt); if ((t.fmp == -1) && (t.c == 2)) { targ[prop][k] = Number(((tt.rb << 16) | (tt.gb << 8)) | tt.bb); } } if (t.fmp != -1) { if (t.c == 1) { t.fmp.setFilterProp(targ, prop, ((tta[0].rb << 16) | (tta[0].gb << 8)) | tta[0].bb); } else if (t.c == 2) { var copy = []; for (var j in tta) { copy.unshift(((tta[j].rb << 16) | (tta[j].gb << 8)) | tta[j].bb); } t.fmp.setFilterProp(targ, prop, copy); } } else if (t.c != -1) { t.c.setTransform(tta[0]); } if (loop == true) { if (t.cycles > 1) { t.cycles--; } done = false; t.ts = now; t.ps = tta; } } if (t.sf == false) { if (t.v != 0) { targ._visible = true; } if (evtFlag == true) { if (sp[i] == undefined) { sp[i] = [targ, []]; } sp[i][1].unshift(prop); } t.sf = true; } if (t.scb.fired == false) { scb[String(t.scb.id)] = t.scb; t.scb.fired = true; } if (evtFlag == true) { if (up[i] == undefined) { up[i] = [targ, []]; } up[i][1].unshift(prop); } if (t.ucb != undefined) { ucb[String(t.ucb.id)] = t.ucb; } if (done == true) { if (t.v === -1) { targ._visible = false; } if (t.suppressEnd != true) { if (evtFlag == true) { if (ep[i] == undefined) { ep[i] = [targ, []]; } ep[i][1].unshift(prop); } if (t.ecb != undefined) { ecb[String(t.ecb.id)] = t.ecb; } } delete props[prop]; if (prop == to.colorProp) { delete to.colorProp; } to.numProps--; if (to.numProps <= 0) { missing = true; } } delete t.suppressEnd; } } for (var i in sp) { sp[i][0].broadcastMessage("onTweenStart", {target:sp[i][0], props:sp[i][1]}); } for (var i in scb) { scb[i].f.apply(scb[i].s, scb[i].a); } for (var i in up) { up[i][0].broadcastMessage("onTweenUpdate", {target:up[i][0], props:up[i][1]}); } for (var i in ucb) { ucb[i].f.apply(ucb[i].s, ucb[i].a); } for (var i in ep) { ep[i][0].broadcastMessage("onTweenEnd", {target:ep[i][0], props:ep[i][1]}); } for (var i in ecb) { ecb[i].f.apply(ecb[i].s, ecb[i].a); } if (missing) { cleanUp(); } now = getTimer(); } function cleanUp(noInit) { for (var i in tweens) { var targ = tweens[i].targ; if ((tweens[i].numProps <= 0) || (targ.__zigoID__ == undefined)) { if ((((targ != undefined) && (targ.tween == undefined)) && (noInit != true)) && (targ._listeners.length <= 0)) { com.mosesSupposes.fuse.ZigoEngine.deinitializeTargets(targ); } delete tweens[i]; numTweens--; } } if (numTweens <= 0) { numTweens = 0; delete tweens; tweens = {}; if (noInit != true) { com.mosesSupposes.fuse.ZigoEngine.__mgrRelay(this, "setup", [true]); } } } function paramsObj(targs, props, endvals, retainFade) { var o = {}; o.all = String(targs).toUpperCase() == com.mosesSupposes.fuse.FuseKitCommon.ALL; o.none = Boolean(targs == null); if (o.all == true) { o.tg = [null]; } else { o.tg = ((targs instanceof Array) ? (targs) : ([targs])); for (var i in o.tg) { var t = o.tg[i]; if ((t == null) || (!((typeof(t) == "object") || (typeof(t) == "movieclip")))) { o.tg.splice(Number(i), 1); } } } o.allprops = props == null; var pa; var va; var pobj = {}; if (o.allprops == false) { if ((typeof(props) == "string") && ((String(props).indexOf(" ") > -1) || (String(props).indexOf(",") > -1))) { props = String(props.split(" ").join("")).split(","); } pa = ((props instanceof Array) ? (props.slice()) : ([props])); if (endvals != undefined) { if ((typeof(endvals) == "string") && ((String(endvals).indexOf(" ") > -1) || (String(endvals).indexOf(",") > -1))) { endvals = String(endvals.split(" ").join("")).split(","); } va = ((endvals instanceof Array) ? (endvals.slice()) : ([endvals])); while (va.length < pa.length) { va.push(va[va.length - 1]); } va.splice(pa.length, va.length - pa.length); } for (var i in pa) { var insert = Number(i); if ((pa[i] != "_scale") && (pa[i] != "_size")) { if (pobj[pa[i]] == undefined) { if ((pa[i] == "_fade") && (retainFade != true)) { pa[i] = "_alpha"; } if (String(pa[i]).toUpperCase() == com.mosesSupposes.fuse.FuseKitCommon.ALLCOLOR) { pa[i] = com.mosesSupposes.fuse.FuseKitCommon.ALLCOLOR; } pobj[pa[i]] = true; } else { pa.splice(insert, 1); va.splice(insert, 1); } } else { var prop = String(pa.splice(insert, 1)[0]); var val = va.splice(insert, 1)[0]; if (prop == "_scale") { if (pobj._xscale == undefined) { pa.splice(insert, 0, "_xscale"); va.splice(insert, 0, val); pobj._xscale = true; insert++; } if (pobj._yscale == undefined) { pa.splice(insert, 0, "_yscale"); va.splice(insert, 0, val); pobj._yscale = true; } } if (prop == "_size") { if (pobj._width == undefined) { pa.splice(insert, 0, "_width"); va.splice(insert, 0, val); pobj._width = true; insert++; } if (pobj._yscale == undefined) { pa.splice(insert, 0, "_height"); va.splice(insert, 0, val); pobj._height = true; } } } } for (var i in pa) { if (((pa[i] == "_xscale") && (pobj._width == true)) || ((pa[i] == "_yscale") && (pobj._height == true))) { pa.splice(Number(i), 1); va.splice(Number(i), 1); delete pobj[pa[i]]; } } } o.pa = pa; o.va = va; o.props = pobj; return(o); } function getChangeObj(ps, ep, isFMP, useArray) { var ch = {map:((useArray == true) ? ([]) : ({})), changed:false}; for (var j in ep) { if ((((((isFMP == true) && (j.charAt(1) == "b")) || (ep[j] != ps[j])) || (useArray == true)) && (ep[j] != null)) && (_global.isNaN(Number(ep[j])) == false)) { ch.map[j] = ((typeof(ep[j]) == "string") ? (Number(ep[j])) : (ep[j] - ps[j])); if (_global.isNaN(ch.map[j]) == true) { ch.map[j] = 0; } else if (ch.map[j] != 0) { ch.changed = true; } } } return(ch); } var numTweens = 0; }
Symbol 1405 MovieClip [__Packages.mx.transitions.easing.None] Frame 0
class mx.transitions.easing.None { function None () { } static function easeNone(t, b, c, d) { return(((c * t) / d) + b); } static function easeIn(t, b, c, d) { return(((c * t) / d) + b); } static function easeOut(t, b, c, d) { return(((c * t) / d) + b); } static function easeInOut(t, b, c, d) { return(((c * t) / d) + b); } static var version = "1.1.0.52"; }
Symbol 1406 MovieClip [__Packages.mx.transitions.easing.Regular] Frame 0
class mx.transitions.easing.Regular { function Regular () { } static function easeIn(t, b, c, d) { return(((c * ((t = t / d))) * t) + b); } static function easeOut(t, b, c, d) { return((((-c) * ((t = t / d))) * (t - 2)) + b); } static function easeInOut(t, b, c, d) { if (((t = t / (d / 2))) < 1) { return((((c / 2) * t) * t) + b); } return((((-c) / 2) * (((--t) * (t - 2)) - 1)) + b); } static var version = "1.1.0.52"; }
Symbol 1407 MovieClip [__Packages.mx.transitions.easing.Elastic] Frame 0
class mx.transitions.easing.Elastic { function Elastic () { } static function easeIn(t, b, c, d, a, p) { if (t == 0) { return(b); } if (((t = t / d)) == 1) { return(b + c); } if (!p) { p = d * 0.3; } if ((!a) || (a < Math.abs(c))) { a = c; var s = (p / 4); } else { var s = ((p / (Math.PI*2)) * Math.asin(c / a)); } return((-((a * Math.pow(2, 10 * ((t = t - 1)))) * Math.sin((((t * d) - s) * (Math.PI*2)) / p))) + b); } static function easeOut(t, b, c, d, a, p) { if (t == 0) { return(b); } if (((t = t / d)) == 1) { return(b + c); } if (!p) { p = d * 0.3; } if ((!a) || (a < Math.abs(c))) { a = c; var s = (p / 4); } else { var s = ((p / (Math.PI*2)) * Math.asin(c / a)); } return((((a * Math.pow(2, -10 * t)) * Math.sin((((t * d) - s) * (Math.PI*2)) / p)) + c) + b); } static function easeInOut(t, b, c, d, a, p) { if (t == 0) { return(b); } if (((t = t / (d / 2))) == 2) { return(b + c); } if (!p) { p = d * 0.45; } if ((!a) || (a < Math.abs(c))) { a = c; var s = (p / 4); } else { var s = ((p / (Math.PI*2)) * Math.asin(c / a)); } if (t < 1) { return((-0.5 * ((a * Math.pow(2, 10 * ((t = t - 1)))) * Math.sin((((t * d) - s) * (Math.PI*2)) / p))) + b); } return(((((a * Math.pow(2, -10 * ((t = t - 1)))) * Math.sin((((t * d) - s) * (Math.PI*2)) / p)) * 0.5) + c) + b); } static var version = "1.1.0.52"; }
Symbol 1408 MovieClip [__Packages.com.mosesSupposes.fuse.Fuse] Frame 0
class com.mosesSupposes.fuse.Fuse extends Array { var _nID, _aDefaultTargs, length, scope, _nIndex, _oDel1, dispatchEvent, label, autoClear, duration, easing; function Fuse (fuseAction) { super(); mx.events.EventDispatcher.initialize(this); _nID = registerInstance(this); _nState = -1; _aDefaultTargs = new Array(); if (arguments.length > 0) { splice.apply(this, new Array(0, 0).concat(arguments)); } var unsupport = ["concat", "join", "sort", "sortOn"]; for (var i in unsupport) { com.mosesSupposes.fuse.Fuse.prototype[unsupport[i]] = function () { if (com.mosesSupposes.fuse.Fuse.OUTPUT_LEVEL > 0) { com.mosesSupposes.fuse.FuseKitCommon.error("105"); } }; } } function addEventListener(event, handler) { } function removeEventListener(event, handler) { } function destroy() { if (OUTPUT_LEVEL > 1) { com.mosesSupposes.fuse.FuseKitCommon.output(getHandle() + " destroy."); } stop(true); splice(0, length); _aDefaultTargs = null; scope = null; _global.ASSetPropFlags(this, null, 0, 7); var id = _nID; for (var i in this) { delete this[i]; } removeInstanceAt(id, true); delete id; delete this; } static function getInstance(idOrLabel) { if (typeof(idOrLabel) == "number") { return(_aInstances[idOrLabel]); } if (typeof(idOrLabel) == "string") { for (var i in _aInstances) { if (com.mosesSupposes.fuse.Fuse(_aInstances[i]).label == idOrLabel) { return(_aInstances[i]); } } } return(null); } static function getInstances(stateFilter, targets) { var all = ((stateFilter == null) || (stateFilter.toUpperCase() == "ALL")); if (!(targets instanceof Array)) { targets = arguments.slice(1); } var a = []; for (var i in _aInstances) { var instance = _aInstances[i]; if (_aInstances[i] == null) { continue; } if ((all == false) && (instance.__get__state() != stateFilter)) { continue; } var found = (targets.length == 0); if (found == false) { if (found == true) { continue; } var instTargs = instance.getActiveTargets(true); for (var j in targets) { for (var k in instTargs) { if (instTargs[k] == targets[j]) { found = true; break; } } } } if (found == true) { a.unshift(instance); } } return(a); } function get id() { return(_nID); } function get state() { switch (_nState) { case -1 : return("stopped"); case 0 : return("paused"); case 1 : return("playing"); } return(undefined); } function get currentIndex() { return(_nIndex); } function get currentLabel() { return(this[_nIndex].label); } function get target() { return(((_aDefaultTargs.length == 1) ? (_aDefaultTargs[0]) : (_aDefaultTargs))); } function set target(t) { delete _aDefaultTargs; if (t != null) { addTarget(t); } //return(target); } function addTarget(t) { if (_aDefaultTargs == null) { _aDefaultTargs = []; } if (arguments[0] instanceof Array) { arguments = arguments[0]; } for (var i in arguments) { var found = false; for (var j in _aDefaultTargs) { if (arguments[i] == _aDefaultTargs[j]) { found = true; break; } } if (found == false) { _aDefaultTargs.push(arguments[i]); } } } function removeTarget(t) { if ((_aDefaultTargs == null) || (_aDefaultTargs.length == 0)) { return(undefined); } if (arguments[0] instanceof Array) { arguments = arguments[0]; } for (var i in arguments) { for (var j in _aDefaultTargs) { if (arguments[i] == _aDefaultTargs[j]) { _aDefaultTargs.splice(Number(j), 1); } } } } function getActiveTargets(includeDefaults) { if (_nState == -1) { return([]); } var targetList; if (includeDefaults == true) { targetList = _aDefaultTargs.slice(); } else { targetList = []; } return(com.mosesSupposes.fuse.FuseItem(this[_nIndex]).getActiveTargets(targetList)); } function clone() { var initObjs = []; var i = 0; while (i < length) { initObjs.push(com.mosesSupposes.fuse.FuseItem(this[i]).getInitObj()); i++; } var f = (new com.mosesSupposes.fuse.Fuse()); f.push.apply(f, initObjs); f.scope = scope; f.__set__target(target); return(f); } function push(fuseAction) { splice.apply(this, new Array(length, 0).concat(arguments)); return(length); } function pushTween(targets, props, endvals, seconds, ease, delay, callback) { push({__buildMode:true, tweenargs:arguments}); return(length); } function pop() { var o = com.mosesSupposes.fuse.FuseItem(this[length - 1]).getInitObj(); splice(length - 1, 1); return(o); } function unshift(fuseAction) { splice.apply(this, new Array(0, 0).concat(arguments)); return(length); } function shift() { var o = com.mosesSupposes.fuse.FuseItem(this[0]).getInitObj(); splice(0, 1); return(o); } function splice(startIndex, deleteCount, fuseAction) { stop(true); var si = Number(arguments.shift()); if (si < 0) { si = length + si; } deleteCount = Number(arguments.shift()); var newItems = new Array(); var i = 0; while (i < arguments.length) { var item = ((arguments[i] instanceof com.mosesSupposes.fuse.Fuse) ? (arguments[i]) : (new com.mosesSupposes.fuse.FuseItem(si + i, arguments[i], _nID))); addEventListener("onStop", item); addEventListener("evtSetStart", item); newItems.push(item); i++; } var deadItems = super.splice.apply(this, new Array(si, deleteCount).concat(newItems)); for (var j in deadItems) { var item = deadItems[j]; removeEventListener("onStop", item); removeEventListener("evtSetStart", item); if (item instanceof com.mosesSupposes.fuse.Fuse) { item.removeEventListener("onComplete", _oDel1); } else { item.destroy(); delete item; } } var i = 0; while (i < length) { com.mosesSupposes.fuse.FuseItem(this[i])._nItemID = i; i++; } } function slice(indexA, indexB) { var a = super.slice(indexA, indexB); var initObjs = new Array(); var i = 0; while (i < arguments.length) { initObjs.push(com.mosesSupposes.fuse.FuseItem(this[i]).getInitObj()); i++; } return(initObjs); } function reverse() { stop(true); super.reverse(); var i = 0; while (i < length) { com.mosesSupposes.fuse.FuseItem(this[i])._nItemID = i; i++; } } function traceItems(indexA, indexB) { var s = ""; var a = super.slice(indexA, indexB); s = s + ((getHandle() + " traceItems:") + "\n----------\n"); var i = 0; while (i < a.length) { if (a[i] instanceof com.mosesSupposes.fuse.Fuse) { s = s + (((((getHandle() + ">Item#") + i) + ": [Nested Fuse] ") + a[i]) + newline); } else { s = s + (a[i] + newline); } i++; } s = s + "----------"; com.mosesSupposes.fuse.FuseKitCommon.output(s); } function toString() { return(((getHandle() + " (contains ") + length) + ((length == 1) ? " item)" : " items)")); } function setStartProps(trueOrItemIDs) { var all = (((arguments.length == 0) || (trueOrItemIDs === true)) || (trueOrItemIDs == com.mosesSupposes.fuse.FuseKitCommon.ALL)); dispatchEvent({target:this, type:"evtSetStart", all:all, filter:((trueOrItemIDs instanceof Array) ? (trueOrItemIDs) : (arguments)), curIndex:((_nState == 1) ? (_nIndex) : -1), targs:_aDefaultTargs, scope:scope}); } function start(setStart) { close(); stop(true); _nState = 1; if (length == 0) { advance(false, true, false); } if ((setStart != null) && (setStart != false)) { setStartProps.apply(this, arguments); } dispatchEvent({target:this, type:"onStart"}); if (OUTPUT_LEVEL > 1) { com.mosesSupposes.fuse.FuseKitCommon.output(getHandle() + " start."); } playCurrentItem(); } function stop() { if (_nState != -1) { var i = 0; while (i < length) { if (this[i] instanceof com.mosesSupposes.fuse.Fuse) { com.mosesSupposes.fuse.Fuse(this[i]).removeEventListener("onComplete", _oDel1); if (com.mosesSupposes.fuse.Fuse(this[i]).__get__state() == "playing") { com.mosesSupposes.fuse.Fuse(this[i]).stop(); } } else if ((i == _nIndex) || (com.mosesSupposes.fuse.FuseItem(this[i]).hasTriggerFired() == true)) { com.mosesSupposes.fuse.FuseItem(this[i]).stop(); } i++; } } var prevstate = _nState; _nState = -1; if ((!(arguments[0] === true)) && (prevstate != -1)) { dispatchEvent({target:this, type:"onStop"}); if (OUTPUT_LEVEL > 1) { com.mosesSupposes.fuse.FuseKitCommon.output(getHandle() + " stop."); } } _nIndex = 0; clearInterval(_nDelay); _nTimeCache = (_nDelay = -1); } function skipTo(indexOrLabel) { close(); var index = normalizeIndex(indexOrLabel); if (index == null) { if (OUTPUT_LEVEL > 0) { com.mosesSupposes.fuse.FuseKitCommon.error("102", "skipTo", String(indexOrLabel)); } return(undefined); } if ((index == _nIndex) && (arguments[1] === true)) { if (OUTPUT_LEVEL > 0) { com.mosesSupposes.fuse.FuseKitCommon.error("103", String(indexOrLabel), _nIndex); } } if (this[_nIndex] instanceof com.mosesSupposes.fuse.Fuse) { com.mosesSupposes.fuse.Fuse(this[_nIndex]).removeEventListener("onComplete", _oDel1); } stop(true); _nIndex = index; var s = _nState; _nState = 1; if (s == -1) { dispatchEvent({target:this, type:"onStart"}); } playCurrentItem(); if (OUTPUT_LEVEL > 1) { com.mosesSupposes.fuse.FuseKitCommon.output("skipTo:" + index); } } function pause() { if (_nState == 1) { var i = 0; while (i <= _nIndex) { if ((this[i].state === "playing") || (this[i]._nPlaying > 0)) { this[i].pause(); } i++; } if (_nTimeCache != -1) { _nTimeCache = _nTimeCache - getTimer(); clearInterval(_nDelay); } _nState = 0; if (OUTPUT_LEVEL > 1) { com.mosesSupposes.fuse.FuseKitCommon.output(getHandle() + " pause."); } dispatchEvent({target:this, type:"onPause"}); } } function resume() { if (_nState != 0) { return(undefined); } close(); _nState = 1; if (OUTPUT_LEVEL > 1) { com.mosesSupposes.fuse.FuseKitCommon.output(getHandle() + " resume."); } dispatchEvent({target:this, type:"onResume"}); if (_nTimeCache != -1) { playCurrentItem(false, true); } var i = 0; while (i <= _nIndex) { if ((this[i] instanceof com.mosesSupposes.fuse.Fuse) && (this[i].state == "paused")) { com.mosesSupposes.fuse.Fuse(this[i]).resume(); } else if (this[i]._nPlaying == 0) { com.mosesSupposes.fuse.FuseItem(this[i]).pause(true); } i++; } } function fastForward(resumeAtIndexOrLabel) { var index = ((resumeAtIndexOrLabel == null) ? (length) : (normalizeIndex(resumeAtIndexOrLabel))); if (index == null) { if (OUTPUT_LEVEL > 0) { com.mosesSupposes.fuse.FuseKitCommon.error("102", "fastForward", String(resumeAtIndexOrLabel)); } return(undefined); } if ((index == 0) || (index <= _nIndex)) { if (OUTPUT_LEVEL > 0) { com.mosesSupposes.fuse.FuseKitCommon.error("104", index); } skipTo(index); return(undefined); } clearInterval(_nDelay); var i = _nIndex; while (i < index) { this[i].fastForward(null, _aDefaultTargs, scope); advance(false, true, !((i == (index - 1)) && (index < length))); i++; } } function getHandle() { return("-Fuse" + ((label != undefined) ? ((" \"" + label) + "\"") : ("#" + String(_nID)))); } function advance(wasTriggered, silentStop, isFF) { if (_nState < 1) { if (OUTPUT_LEVEL > 1) { com.mosesSupposes.fuse.FuseKitCommon.output(((((("** DEVELOPER ALERT: " + getHandle()) + " advance called out of turn! (state:") + state) + " currentIndex:") + currentIndex) + ") Please report this Fuse's details to MosesSupposes.com. **"); } return(undefined); } var isLastFinal = false; if ((_nIndex == (length - 1)) && (isFF != true)) { var i = (length - 1); while (i > -1) { if (com.mosesSupposes.fuse.FuseItem(this[i])._nPlaying > -1) { return(undefined); } i--; } isLastFinal = true; } if ((wasTriggered == true) && (isLastFinal == false)) { return(undefined); } if (this[_nIndex] instanceof com.mosesSupposes.fuse.Fuse) { com.mosesSupposes.fuse.Fuse(this[_nIndex]).removeEventListener("onComplete", _oDel1); } if ((_nIndex + 1) >= length) { stop(silentStop); if (OUTPUT_LEVEL > 1) { com.mosesSupposes.fuse.FuseKitCommon.output(getHandle() + " complete."); } _nIndex = length - 1; dispatchEvent({target:this, type:"onComplete"}); if ((autoClear == true) || ((!(autoClear === false)) && (AUTOCLEAR == true))) { destroy(); } return(undefined); } _nIndex++; if (isFF == true) { return(undefined); } if (OUTPUT_LEVEL > 1) { com.mosesSupposes.fuse.FuseKitCommon.output((getHandle() + " advance: ") + _nIndex); } dispatchEvent({target:this, type:"onAdvance"}); playCurrentItem(); } function playCurrentItem(postDelay, resumeDelay) { clearInterval(_nDelay); if ((postDelay != true) || (resumeDelay == true)) { var d = 0; if (resumeDelay != true) { d = (com.mosesSupposes.fuse.FuseItem(this[_nIndex]).evalDelay(scope) || 0) * 1000; } if ((d > 0) || (resumeDelay == true)) { if (resumeDelay == true) { d = _nTimeCache; _nTimeCache = _nTimeCache + getTimer(); } else { var multiplier = Math.abs(_global.com.mosesSupposes.fuse.ZigoEngine.TIME_MULTIPLIER); if (_global.isNaN(multiplier) == true) { multiplier = 1; } d = d * multiplier; _nTimeCache = getTimer() + d; } _nDelay = setInterval(this, "playCurrentItem", d, true); return(undefined); } } _nTimeCache = (_nDelay = -1); if (this[_nIndex] instanceof com.mosesSupposes.fuse.Fuse) { if (_oDel1 == null) { _oDel1 = mx.utils.Delegate.create(this, advance); } com.mosesSupposes.fuse.Fuse(this[_nIndex]).addEventListener("onComplete", _oDel1); com.mosesSupposes.fuse.Fuse(this[_nIndex]).start(_aDefaultTargs, scope); } else { var propsTweened = com.mosesSupposes.fuse.FuseItem(this[_nIndex]).startItem(_aDefaultTargs, scope, duration, easing); if (OUTPUT_LEVEL > 1) { com.mosesSupposes.fuse.FuseKitCommon.output((getHandle() + " props tweened: ") + propsTweened); } } } function evtSetStart(o) { setStartProps.apply(this, o.filter); } static function open(fuseOrID) { var _ZigoEngine = _global.com.mosesSupposes.fuse.ZigoEngine; if (_ZigoEngine == undefined) { com.mosesSupposes.fuse.FuseKitCommon.error("106"); return(null); } _ZigoEngine.register(com.mosesSupposes.fuse.Fuse, com.mosesSupposes.fuse.FuseItem); if (_oBuildMode == null) { _oBuildMode = {curID:-1, prevID:-1, curGroup:null}; } else if ((_oBuildMode != null) && (_oBuildMode.curID > -1)) { close(); } if (fuseOrID != null) { if (fuseOrID instanceof com.mosesSupposes.fuse.Fuse) { _oBuildMode.curID = fuseOrID.id; } else if (getInstance(fuseOrID) != null) { _oBuildMode.curID = getInstance(fuseOrID).id; } else { com.mosesSupposes.fuse.FuseKitCommon.error("107"); return(null); } } else { _oBuildMode.curID = (new com.mosesSupposes.fuse.Fuse()).id; } _oBuildMode.prevID = _oBuildMode.curID; return(getInstance(_oBuildMode.curID)); } static function openGroup(fuseOrID) { if (!((_oBuildMode != null) && (_oBuildMode.curID > -1))) { open(fuseOrID); } else if (_oBuildMode.curGroup != null) { closeGroup(); } _oBuildMode.curGroup = new Array(); return(getInstance(_oBuildMode.curID)); } static function closeGroup() { if ((_oBuildMode.curGroup == null) || (!((_oBuildMode != null) && (_oBuildMode.curID > -1)))) { return(undefined); } getInstance(_oBuildMode.curID).push(_oBuildMode.curGroup); _oBuildMode.curGroup = null; } static function close() { if (!((_oBuildMode != null) && (_oBuildMode.curID > -1))) { return(undefined); } if (_oBuildMode.curGroup != null) { closeGroup(); } _oBuildMode.curID = -1; } static function closeAndStart(setStart) { if (!((_oBuildMode != null) && (_oBuildMode.curID > -1))) { return(undefined); } var f = getInstance(_oBuildMode.curID); close(); f.start.apply(f, arguments); } static function startRecent(setStart) { var f = getInstance(_oBuildMode.prevID); if (f != null) { f.start.apply(f, arguments); } else { com.mosesSupposes.fuse.FuseKitCommon.error("108"); } } static function addCommand(commandOrScope, indexOrFunc, argument) { if (!((_oBuildMode != null) && (_oBuildMode.curID > -1))) { return(undefined); } var inGroup = (_oBuildMode.curGroup != null); var into = ((inGroup == true) ? (_oBuildMode.curGroup) : (getInstance(_oBuildMode.curID))); if (typeof(commandOrScope) == "string") { var hasArg = (indexOrFunc != undefined); var valid = com.mosesSupposes.fuse.FuseKitCommon._validateFuseCommand(String(commandOrScope), inGroup, hasArg, OUTPUT_LEVEL, true); if (valid == true) { into.push({__buildMode:true, command:commandOrScope, commandargs:indexOrFunc}); } } else { into.push({__buildMode:true, scope:commandOrScope, func:indexOrFunc, args:arguments.slice(2)}); } } static function addBuildItem(args) { if (!((_oBuildMode != null) && (_oBuildMode.curID > -1))) { return(false); } var into = ((_oBuildMode.curGroup != null) ? (_oBuildMode.curGroup) : (getInstance(_oBuildMode.curID))); if ((args.length == 1) && (typeof(args[0]) == "object")) { into.push(args[0]); } else { into.push({__buildMode:true, tweenargs:args}); } return(true); } function normalizeIndex(indexOrLabel) { var index; if (typeof(indexOrLabel) == "string") { index = -1; var i = 0; while (i < length) { if (this[i].label == String(indexOrLabel)) { index = i; break; } i++; } if (index == -1) { return(null); } } else { index = Number(indexOrLabel); } if ((_global.isNaN(index) == true) || (Math.abs(index) >= length)) { return(null); } if (index < 0) { index = Math.max(0, length + index); } return(index); } static function registerInstance(s) { if (_aInstances == null) { _aInstances = new Array(); } return(_aInstances.push(s) - 1); } static function removeInstanceAt(id, isDestroyCall) { if (isDestroyCall != true) { com.mosesSupposes.fuse.Fuse(_aInstances[id]).destroy(); } delete _aInstances[id]; } static var registryKey = "fuse"; static var VERSION = com.mosesSupposes.fuse.FuseKitCommon.VERSION; static var OUTPUT_LEVEL = 1; static var AUTOCLEAR = false; static var AUTOSTOP = true; var _nState = -1; var _nDelay = -1; var _nTimeCache = -1; static var _aInstances = null; static var _oBuildMode = null; }
Symbol 1409 MovieClip [__Packages.mx.events.EventDispatcher] Frame 0
class mx.events.EventDispatcher { function EventDispatcher () { } static function _removeEventListener(queue, event, handler) { if (queue != undefined) { var l = queue.length; var i; i = 0; while (i < l) { var o = queue[i]; if (o == handler) { queue.splice(i, 1); return(undefined); } i++; } } } static function initialize(object) { if (_fEventDispatcher == undefined) { _fEventDispatcher = new mx.events.EventDispatcher(); } object.addEventListener = _fEventDispatcher.addEventListener; object.removeEventListener = _fEventDispatcher.removeEventListener; object.dispatchEvent = _fEventDispatcher.dispatchEvent; object.dispatchQueue = _fEventDispatcher.dispatchQueue; } function dispatchQueue(queueObj, eventObj) { var queueName = ("__q_" + eventObj.type); var queue = queueObj[queueName]; if (queue != undefined) { var i; for (i in queue) { var o = queue[i]; var oType = typeof(o); if ((oType == "object") || (oType == "movieclip")) { if (o.handleEvent != undefined) { o.handleEvent(eventObj); } if (o[eventObj.type] != undefined) { if (exceptions[eventObj.type] == undefined) { o[eventObj.type](eventObj); } } } else { o.apply(queueObj, [eventObj]); } } } } function dispatchEvent(eventObj) { if (eventObj.target == undefined) { eventObj.target = this; } this[eventObj.type + "Handler"](eventObj); dispatchQueue(this, eventObj); } function addEventListener(event, handler) { var queueName = ("__q_" + event); if (this[queueName] == undefined) { this[queueName] = new Array(); } _global.ASSetPropFlags(this, queueName, 1); _removeEventListener(this[queueName], event, handler); this[queueName].push(handler); } function removeEventListener(event, handler) { var queueName = ("__q_" + event); _removeEventListener(this[queueName], event, handler); } static var _fEventDispatcher = undefined; static var exceptions = {move:1, draw:1, load:1}; }
Symbol 1410 MovieClip [__Packages.com.mosesSupposes.fuse.FuseItem] Frame 0
class com.mosesSupposes.fuse.FuseItem { static var _ZigoEngine, _aInstances; var _nItemID, _nFuseID, _initObj, _aProfiles, _oElements, _oTemps, _sImage, _aTweens, _oTwBeingAdded; function FuseItem (id, o, fuseID) { _ZigoEngine = _global.com.mosesSupposes.fuse.ZigoEngine; _nItemID = id; _nFuseID = fuseID; _initObj = o; _aProfiles = []; _oElements = {aEvents:[]}; _oTemps = {}; if (!(o instanceof Array)) { o = [o]; } var fuse = _global.com.mosesSupposes.fuse.Fuse; _oTemps.outputLevel = ((fuse != undefined) ? (fuse.OUTPUT_LEVEL) : (_global.com.mosesSupposes.fuse.ZigoEngine.OUTPUT_LEVEL)); if (o.length == 1) { var o0 = o[0]; var obj = ((o0.action != undefined) ? (o0.action) : (o0)); if ((obj.__buildMode != true) && (obj.command != undefined)) { _oElements.command = obj.command; _oElements.scope = obj.scope; _oElements.args = obj.args; _sImage = " Elements:[" + ("command" + ((typeof(obj.command) == "string") ? ((":\"" + obj.command) + "\", ") : ", ")); if (obj.delay != undefined) { _sImage = _sImage + "delay, "; _oElements.delay = obj.delay; } _sImage = _sImage.slice(0, -2) + "]"; if ((obj.func != undefined) && (_oTemps.outputLevel > 0)) { com.mosesSupposes.fuse.FuseKitCommon.error("113"); } return; } } _oTemps.sImgS = ""; _oTemps.sImgE = ""; _oTemps.sImgB = ""; _oTemps.afl = 0; _oTemps.ael = 0; _oTemps.twDelayFlag = false; _oTemps.nActions = o.length; _oTemps.fuseProps = com.mosesSupposes.fuse.FuseKitCommon._fuseprops(); _oTemps.cbProps = com.mosesSupposes.fuse.FuseKitCommon._cbprops(); _oTemps.sUP = com.mosesSupposes.fuse.FuseKitCommon._underscoreable(); _oTemps.sCT = com.mosesSupposes.fuse.FuseKitCommon._cts(); _oTemps.bTriggerFound = false; for (var i in o) { var item = o[i]; if ((item.label != undefined) && (typeof(item.label) == "string")) { _oElements.label = item.label; } var aap; var bApplied = Boolean(typeof(item.action) == "object"); if (bApplied == true) { var a = ((item.action instanceof Array) ? (item.action) : ([item.action])); aap = {delay:item.delay, target:item.target, addTarget:item.addTarget, label:item.label, trigger:item.trigger}; for (var j in a) { var oPr = parseProfile(a[j], aap); if (oPr != undefined) { _aProfiles.unshift(oPr); } } } else { var a = item; var oPr = parseProfile(a, aap); if (oPr != undefined) { _aProfiles.unshift(oPr); } } } _sImage = ""; var str = ""; if (_oTemps.afl > 0) { str = str + ((_oTemps.afl > 1) ? (_oTemps.afl + " callbacks, ") : "callback, "); } if ((_oElements.delay != undefined) || (_oTemps.twDelayFlag == true)) { str = str + "delay, "; } if (_oTemps.bTriggerFound == true) { str = str + "trigger, "; } if (_oTemps.ael > 0) { str = str + ((_oTemps.ael > 1) ? (_oTemps.ael + " events, ") : "event, "); } if (str != "") { _sImage = _sImage + ((" Elements:[" + str.slice(0, -2)) + "]"); } if (_oTemps.sImgS != "") { _sImage = _sImage + ((" StartProps:[" + _oTemps.sImgS.slice(0, -2)) + "]"); } if (_oTemps.sImgE != "") { _sImage = _sImage + ((" Props:[" + _oTemps.sImgE.slice(0, -2)) + "]"); } if (_oTemps.sImgB != "") { _sImage = _sImage + ((" Simple Syntax Props:[" + _oTemps.sImgB.slice(0, -1)) + "]"); } if (_sImage.slice(-2) == ", ") { _sImage = _sImage.slice(0, -2); } delete _oTemps; } static function doTween() { for (var i in arguments) { if (typeof(arguments[i]) == "object") { if (_aInstances == undefined) { _aInstances = new Array(); } var o = (new com.mosesSupposes.fuse.FuseItem(_aInstances.length, arguments[i], -1)); return(o.startItem()); } } } function get label() { return(_oElements.label); } function hasTriggerFired() { return(_bTrigger == true); } function getInitObj() { return(_initObj); } function getActiveTargets(targetList) { if (_aTweens.length <= 0) { return(targetList); } var found = false; for (var i in _aTweens) { for (var j in targetList) { if (targetList[j] == _aTweens[i].targ) { found = true; break; } } if (found == false) { targetList.unshift(_aTweens[i].targ); } } return(targetList); } function toString() { return(String((_sID() + ":") + _sImage)); } function evalDelay(scope) { var d = _oElements.delay; if (d instanceof Function) { d = d.apply(((_oElements.delayscope != undefined) ? (_oElements.delayscope) : (scope))); } if (typeof(d) == "string") { d = parseClock(String(d)); } if (_global.isNaN(Number(d)) == true) { return(0); } return(Number(d)); } function startItem(targs, scope, duration, easing) { _ZigoEngine = _global.com.mosesSupposes.fuse.ZigoEngine; var fuse = _global.com.mosesSupposes.fuse.Fuse; var outputLevel = ((fuse != undefined) ? (fuse.OUTPUT_LEVEL) : (_ZigoEngine.OUTPUT_LEVEL)); if (_oElements.command != null) { var cs = (_oElements.scope || (scope)); var command = ((_oElements.command instanceof Function) ? (String(_oElements.command.apply(cs))) : (String(_oElements.command))); var args = ((_oElements.args instanceof Function) ? (_oElements.args.apply(cs)) : (_oElements.args)); var valid = com.mosesSupposes.fuse.FuseKitCommon._validateFuseCommand(command, _aProfiles.length > 0, (args != null) && (!((args instanceof Array) && (args.length == 0))), outputLevel, false); if (valid == true) { _nPlaying = 1; if (!(args instanceof Array)) { args = ((args == null) ? ([]) : ([args])); } dispatchRequest(String(command), args); } if ((valid == false) || (command == "setStartProps")) { complete(); } return(null); } if (_aTweens.length > 0) { stop(); } _ZigoEngine.addListener(this); _nPlaying = 2; var propsAdded = null; if (_aProfiles.length > 0) { if (_ZigoEngine == undefined) { com.mosesSupposes.fuse.FuseKitCommon.error("112"); } else { propsAdded = doTweens(targs, scope, duration, easing, false, false); } } _nPlaying = 1; var fa = _oElements.aEvents; for (var i in fa) { if (((propsAdded == null) && (_aTweens.length > 0)) && (fa[i].skipLevel == 2)) { continue; } fireEvents(fa[i], scope, outputLevel, targs); } if (((propsAdded == null) && (_aTweens.length <= 0)) && (_nPlaying == 1)) { if (outputLevel == 3) { com.mosesSupposes.fuse.FuseKitCommon.output(((_sID() + " no tweens added - item done. [getTimer()=") + getTimer()) + "]"); } complete(); } return(propsAdded); } function stop() { var doOnStop = (_nPlaying > -1); _nPlaying = -1; if (doOnStop == true) { onStop(); } _ZigoEngine.removeListener(this); } static function removeInstance(id) { com.mosesSupposes.fuse.FuseItem(_aInstances[id]).destroy(); delete _aInstances[id]; } function onStop() { _bStartSet = false; for (var i in _aTweens) { var to = _aTweens[i]; to.targ.removeListener(this); _ZigoEngine.removeTween(to.targ, to.props); delete _aTweens[i]; } delete _aTweens; _bTrigger = false; } function evtSetStart(o) { if ((_sImage.indexOf("StartProps:") == -1) || (o.curIndex == _nItemID)) { return(undefined); } if (o.all != true) { var match = false; for (var i in o.filter) { if ((Number(o.filter[i]) == _nItemID) || (String(o.filter[i]) == _oElements.label)) { match = true; } } if (match == false) { return(undefined); } } _nPlaying = 2; doTweens(o.targs, o.scope, null, null, true, false); _nPlaying = -1; _bStartSet = true; } function pause(resume) { if (_nPlaying == -1) { return(undefined); } _nPlaying = ((resume == true) ? 1 : 0); for (var i in _aTweens) { var o = _aTweens[i]; var t = o.targ; var p = o.props; if (resume == true) { var missing = []; var oldTL = _aTweens.length; for (var j in p) { if (_ZigoEngine.isTweenPaused(t, p[j]) == false) { missing.push(p[j]); } } if (missing.length > 0) { onTweenEnd({__zigoID__:o.targZID, props:missing, isResume:true}); } if (_aTweens.length == oldTL) { t.addListener(this); _ZigoEngine.unpauseTween(t, o.props); } } else { t.removeListener(this); _ZigoEngine.pauseTween(t, o.props); } } if ((resume == true) && (_aTweens.length <= 0)) { complete(); } else if (resume == true) { _ZigoEngine.addListener(this); } else { _ZigoEngine.removeListener(this); } } function fastForward(ignore, targs, scope) { if (_nPlaying == 1) { for (var i in _aTweens) { var o = _aTweens[i]; var t = o.targ; t.removeListener(this); _ZigoEngine.ffTween(t, o.props, true); } return(undefined); } if (_nPlaying == 2) { com.mosesSupposes.fuse.FuseKitCommon.error("125", _nItemID); } _nPlaying = 2; doTweens(targs, scope, null, null, false, true); stop(); } function destroy() { var doRemove = (_nPlaying > -1); _nPlaying = -1; for (var i in _aTweens) { var o = _aTweens[i]; o.targ.removeListener(this); if (doRemove == true) { _ZigoEngine.removeTween(o.targ, o.props); } delete _aTweens[i]; } for (var j in this) { delete this[j]; } } function dispatchRequest(type, args) { var f = _global.com.mosesSupposes.fuse.Fuse.getInstance(_nFuseID); if ((!(args instanceof Array)) && (args != null)) { args = new Array(args); } Function(f[type]).apply(f, args); } function _sID() { var str; if (_nFuseID == -1) { str = "-One-off tween "; } else { str = _global.com.mosesSupposes.fuse.Fuse.getInstance(_nFuseID).getHandle(); } str = str + (">Item #" + String(_nItemID)); if (_oElements.label != undefined) { str = str + ((" \"" + _oElements.label) + "\""); } return(str); } function parseProfile(obj, aap) { var i; var j; var k; if (obj.__buildMode == true) { if (obj.command != undefined) { if (obj.command == "delay") { _oElements.delay = obj.commandargs; } else if (obj.command == "trigger") { if (_oTemps.bTriggerFound == false) { _oTemps.bTriggerFound = true; return({trigger:obj.commandargs, _doTimer:true}); } if (_oTemps.outputLevel > 0) { com.mosesSupposes.fuse.FuseKitCommon.error("124", _sID(), obj.commandargs); } } else { _oElements.command = obj.command; _oElements.args = obj.commandargs; } } if (obj.func != undefined) { _oTemps.afl++; _oElements.aEvents.unshift({scope:obj.scope, func:obj.func, args:obj.args}); } if (obj.tweenargs != undefined) { _oTemps.sImgB = _oTemps.sImgB + (obj.tweenargs[1].toString() + ","); return(obj); } return(null); } var oPr = {delay:((aap.delay != undefined) ? (aap.delay) : (obj.delay)), ease:obj.ease, seconds:obj.seconds, event:obj.event, eventparams:obj.eventparams, skipLevel:((((typeof(obj.skipLevel) == "number") && (obj.skipLevel >= 0)) && (obj.skipLevel <= 2)) ? (obj.skipLevel) : (_ZigoEngine.SKIP_LEVEL)), roundResults:obj.roundResults, oSP:{}, oEP:{}, oAFV:{}}; var trigger = ((aap.trigger != undefined) ? (aap.trigger) : (obj.trigger)); if (trigger != undefined) { if (_oTemps.bTriggerFound == false) { oPr.trigger = trigger; _oTemps.bTriggerFound = true; } else if (_oTemps.outputLevel > 0) { com.mosesSupposes.fuse.FuseKitCommon.error("124", _sID(), trigger); } } if (oPr.delay == undefined) { oPr.delay = obj.startAt; } if (oPr.ease == undefined) { oPr.ease = obj.easing; } if (oPr.seconds == undefined) { oPr.seconds = ((obj.duration != undefined) ? (obj.duration) : (obj.time)); } if (aap.target != undefined) { oPr.target = ((aap.target instanceof Array) ? (aap.target) : ([aap.target])); } else if (obj.target != undefined) { oPr.target = ((obj.target instanceof Array) ? (obj.target) : ([obj.target])); } if (obj.addTarget != undefined) { oPr.addTarget = ((obj.addTarget instanceof Array) ? (obj.addTarget) : ([obj.addTarget])); } if (aap.addTarget != undefined) { if (oPr.addTarget == undefined) { oPr.addTarget = ((aap.addTarget instanceof Array) ? (aap.addTarget) : ([aap.addTarget])); } else { oPr.addTarget = ((oPr.addTarget instanceof Array) ? (oPr.addTarget.concat(aap.addTarget)) : (new Array(oPr.addTarget).concat(aap.addTarget))); } } var bTwFlag = false; for (j in obj) { var v = obj[j]; if (_oTemps.cbProps.indexOf(("|" + j) + "|") > -1) { if (j != "skipLevel") { oPr[j] = v; } continue; } if (_oTemps.fuseProps.indexOf(("|" + j) + "|") > -1) { if (((j == "command") && (_oTemps.nActions > 1)) && (_oTemps.outputLevel > 0)) { com.mosesSupposes.fuse.FuseKitCommon.error("109", String(v), true); } continue; } if (typeof(v) == "object") { var copy = ((v instanceof Array) ? ([]) : ({})); for (k in v) { copy[k] = v[k]; } v = copy; } var se; var seCP; if (j.indexOf("start_") == 0) { if (((j == "start_controlX") || (j == "start_controlY")) || (j.indexOf("_bezier_") > -1)) { if (_oTemps.outputLevel > 0) { com.mosesSupposes.fuse.FuseKitCommon.error("110", _sID(), j); } continue; } j = j.slice(6); se = oPr.oSP; } else { se = oPr.oEP; } if ((ADD_UNDERSCORES == true) && (_oTemps.sUP.indexOf(("|_" + j) + "|") > -1)) { j = "_" + j; } if (_oTemps.sCT.indexOf(("|" + j) + "|") > -1) { var addPct = ((j == "_tintPercent") && (se.colorProp.p == "_tint")); var addTint = ((j == "_tint") && (se.colorProp.p == "_tintPercent")); if (((se.colorProp == undefined) || (addPct == true)) || (addTint == true)) { if (addPct == true) { se.colorProp = {p:"_tint", v:{tint:se.colorProp.v, percent:v}}; } else if (addTint == true) { se.colorProp = {p:"_tint", v:{tint:v, percent:se.colorProp.v}}; } else { se.colorProp = {p:j, v:v}; } bTwFlag = true; } else if (_oTemps.outputLevel > 0) { com.mosesSupposes.fuse.FuseKitCommon.error("115", _sID(), j); } } else if (v != null) { se[j] = v; bTwFlag = true; } } if ((bTwFlag == false) && ((oPr.trigger != undefined) || (((oPr.delay != undefined) || (oPr.seconds != undefined)) && (((oPr.startfunc != undefined) || (oPr.updfunc != undefined)) || ((oPr.func != undefined) && (_oTemps.nActions > 1)))))) { if (_ZigoEngine == undefined) { com.mosesSupposes.fuse.FuseKitCommon.error("116"); } else { if (oPr.func != undefined) { _oTemps.afl++; } if (oPr.event != undefined) { _oTemps.ael++; } oPr._doTimer = true; if (oPr.delay != undefined) { _oTemps.twDelayFlag = true; } return(oPr); } } if (bTwFlag == true) { var bEC = (oPr.oEP.colorProp != undefined); var l = 0; while (l < 2) { var se = ((l == 0) ? (oPr.oSP) : (oPr.oEP)); var str = ((l == 0) ? (_oTemps.sImgS) : (_oTemps.sImgE)); var sCP = se.colorProp.p; if (sCP != undefined) { se[sCP] = se.colorProp.v; delete se.colorProp; } if (((se._xscale != undefined) || (se._scale != undefined)) && ((se._width != undefined) || (se._size != undefined))) { var discard = ((se._xscale != undefined) ? "_xscale" : "_scale"); delete se[discard]; if (_oTemps.outputLevel > 0) { com.mosesSupposes.fuse.FuseKitCommon.error("115", _sID(), discard); } } if (((se._yscale != undefined) || (se._scale != undefined)) && ((se._height != undefined) || (se._size != undefined))) { var discard = ((se._yscale != undefined) ? "_yscale" : "_scale"); delete se[discard]; if (_oTemps.outputLevel > 0) { com.mosesSupposes.fuse.FuseKitCommon.error("115", _sID(), discard); } } if ((se._fade != undefined) && (se._alpha != undefined)) { delete se._alpha; if (_oTemps.outputLevel > 0) { com.mosesSupposes.fuse.FuseKitCommon.error("115", _sID(), "_alpha"); } } for (j in se) { if (str.indexOf(j + ", ") == -1) { str = str + (j + ", "); } if (se == oPr.oSP) { if ((oPr.oEP[j] == undefined) && (!((j == sCP) && (bEC == true)))) { oPr.oAFV[j] = true; oPr.oEP[j] = []; } } } ((l == 0) ? ((_oTemps.sImgS = str)) : ((_oTemps.sImgE = str))); l++; } return(oPr); } if ((oPr.delay != undefined) && (_oTemps.nActions == 1)) { _oElements.delay = oPr.delay; _oElements.delayscope = oPr.scope; } if (oPr.event != undefined) { _oTemps.ael++; _oElements.aEvents.unshift({scope:oPr.scope, e:oPr.event, ep:oPr.eventparams, skipLevel:oPr.skipLevel}); } var oldL = _oElements.aEvents.length; if (oPr.func != undefined) { _oElements.aEvents.push({func:oPr.func, scope:oPr.scope, args:oPr.args, skipLevel:oPr.skipLevel}); } _oTemps.afl = _oTemps.afl + (_oElements.aEvents.length - oldL); delete oPr; return(undefined); } function doTweens(targs, defaultScope, defaultSeconds, defaultEase, setStart, isFF) { if (_aTweens == null) { _aTweens = []; } var tba = ((_oTwBeingAdded = {})); var ZE = _ZigoEngine; var addTween = function (target, props, endvals, seconds, ease, delay, callback) { if (target.__zigoID__ == null) { ZE.initializeTargets(target); } tba[target.__zigoID__] = true; var sProps = ZE.doTween.apply(ZE, arguments); tba[target.__zigoID__] = false; return(((sProps == null) ? ([]) : (sProps.split(",")))); }; var fuse = _global.com.mosesSupposes.fuse.Fuse; var outputLevel = ((fuse != undefined) ? (fuse.OUTPUT_LEVEL) : (_ZigoEngine.OUTPUT_LEVEL)); var propsAdded = ""; var nTgErrors = 0; var i; var j; var k; var doSetStarts = ((_bStartSet != true) && ((setStart == true) || (_sImage.indexOf("StartProps:") > -1))); var h = 0; while (h < _aProfiles.length) { if (_nPlaying < 2) { return(null); } var pr = _aProfiles[h]; if (pr.__buildMode == true) { var twArgs = _aProfiles[h].tweenargs; var prevPropsAdded = propsAdded; if ((twArgs[6].cycles === 0) || (twArgs[6].cycles.toUpperCase() == "LOOP")) { delete twArgs[6].cycles; if (outputLevel > 0) { com.mosesSupposes.fuse.FuseKitCommon.error("117", _sID()); } } var cb = com.mosesSupposes.fuse.FuseKitCommon.parseCallback(twArgs[6]); if (!(twArgs[0] instanceof Array)) { twArgs[0] = [twArgs[0]]; } for (i in twArgs[0]) { if (isFF == true) { addTween(twArgs[0][i], twArgs[1], twArgs[2], 0, null, 0, {skipLevel:0}); if (outputLevel == 3) { com.mosesSupposes.fuse.FuseKitCommon.output(((((("\n-" + _sID()) + " FF(simple syntax)\ttargets:[") + twArgs[0][i]) + "]\tprops:[") + twArgs[1]) + "]"); } } else { var aProps = addTween(twArgs[0][i], twArgs[1], twArgs[2], twArgs[3], twArgs[4], twArgs[5], cb); if (aProps.length > 0) { _aTweens.push({targ:twArgs[0][i], props:aProps, targZID:twArgs[0][i].__zigoID__}); twArgs[0][i].addListener(this); for (j in aProps) { if (propsAdded.indexOf(aProps[j] + ",") == -1) { propsAdded = propsAdded + (aProps[j] + ","); } } } if (outputLevel == 3) { com.mosesSupposes.fuse.FuseKitCommon.output(((((("\n-" + _sID()) + " TWEEN(simple syntax)\ttargets:[") + twArgs[0][i]) + "]\tprops tweened:[") + aProps.toString()) + "]"); } } } if ((isFF == false) && ((prevPropsAdded == propsAdded) || (propsAdded == ""))) { nTgErrors++; } } else { var scope = defaultScope; var targets = []; var aBase = ((pr.target == undefined) ? (targs) : (pr.target)); var aTemp = []; var bTgError = false; for (i in aBase) { var v = aBase[i]; aTemp = aTemp.concat(((v instanceof Function) ? (v.apply(scope)) : (v))); } for (i in pr.addTarget) { var v = pr.addTarget[i]; aTemp = aTemp.concat(((v instanceof Function) ? (v.apply(scope)) : (v))); } for (i in aTemp) { var v = aTemp[i]; if (v != null) { var exists = false; for (j in targets) { if (targets[j] == v) { exists = true; break; } } if (exists == false) { targets.unshift(v); } } else { bTgError = true; } } var doTimer = (((pr._doTimer == true) && (targets.length == 0)) && (isFF == false)); if ((bTgError == true) || ((targets.length == 0) && (pr._doTimer != true))) { nTgErrors++; } if (doSetStarts == true) { for (i in targets) { if (_nPlaying < 2) { return(null); } var targ = targets[i]; var aSP = []; var aSV = []; if (setStart == true) { for (var q in pr.oEP) { _global.com.mosesSupposes.fuse.FuseFMP.getFilterProp(targ, q, true); } } for (var p in pr.oSP) { var v = pr.oSP[p]; if (v instanceof Function) { v = v.apply(scope); } if ((v === true) || (v === false)) { targ[p] = v; if (pr.oAFV[p] == true) { for (k in pr.oEP[p]) { if (pr.oEP[p][k].targ == targ) { pr.oEP[p].splice(Number(k), 1); } } pr.oEP[p].push({targ:targ, val:"IGNORE", _isAF:true}); } continue; } if (((pr.oAFV[p] == true) && (!((p == "_colorReset") && (v == 100)))) && (!((p == "_tintPercent") && (v == 0)))) { var afv; if ((p == "_tint") || (p == "_colorTransform")) { afv = _ZigoEngine.getColorTransObj(); } else if ((String(com.mosesSupposes.fuse.FuseKitCommon._resetTo100()).indexOf(("|" + p) + "|") > -1) || ((p == "_fade") && (v < 50))) { afv = 100; } else if ((String(com.mosesSupposes.fuse.FuseKitCommon._resetTo0()).indexOf(("|" + p) + "|") > -1) || (p == "_fade")) { afv = 0; } else { var fmpVal = _global.com.mosesSupposes.fuse.FuseFMP.getFilterProp(targ, p, true); if (fmpVal != null) { afv = fmpVal; } else { afv = ((_global.isNaN(targ[p]) == false) ? targ[p] : 0); } } for (k in pr.oEP[p]) { if (pr.oEP[p][k].targ == targ) { pr.oEP[p].splice(Number(k), 1); } } pr.oEP[p].push({targ:targ, val:afv, _isAF:true}); } if (typeof(v) == "object") { var copy = ((v instanceof Array) ? ([]) : ({})); for (k in v) { copy[k] = ((v[k] instanceof Function) ? Function(v[k]).apply(scope) : v[k]); } v = copy; } aSP.push(p); aSV.push(v); } if (aSV.length > 0) { if (outputLevel == 3) { com.mosesSupposes.fuse.FuseKitCommon.output((((_sID() + " ") + targ) + " SET STARTS: ") + [("[" + aSP) + "]", ("[" + aSV) + "]"]); } addTween(targ, aSP, aSV, 0); } } } if (setStart == true) { } else { var event; var skipLevel; var oSimpleCB; var oCB; var triggerTrue; var triggerTime; var cbstr = ""; if (isFF == false) { if (pr.scope != undefined) { scope = pr.scope; } skipLevel = ((pr.skipLevel instanceof Function) ? (pr.skipLevel.apply(scope)) : (pr.skipLevel)); var extra1 = ((pr.extra1 instanceof Function) ? (pr.extra1.apply(scope)) : (pr.extra1)); var extra2 = ((pr.extra2 instanceof Function) ? (pr.extra2.apply(scope)) : (pr.extra2)); var roundResults = ((pr.roundResults instanceof Function) ? (pr.roundResults.apply(scope)) : (pr.roundResults)); oSimpleCB = {skipLevel:skipLevel, extra1:extra1, extra2:extra2, roundResults:roundResults}; oCB = {skipLevel:skipLevel, extra1:extra1, extra2:extra2, roundResults:roundResults}; if (pr.cycles != undefined) { var cycles = ((pr.cycles instanceof Function) ? (pr.cycles.apply(scope)) : (pr.cycles)); if (((Number(cycles) == 0) || (String(cycles).toUpperCase() == "LOOP")) && (fuse != undefined)) { delete pr.cycles; if (outputLevel > 0) { com.mosesSupposes.fuse.FuseKitCommon.error("117", _sID()); } } else { oSimpleCB.cycles = (oCB.cycles = cycles); } } if (((pr.func != undefined) || (pr.startfunc != undefined)) || (pr.updfunc != undefined)) { for (i in pr) { if (i.indexOf("func") > -1) { oCB[i] = pr[i]; } else if (((i == "startscope") || (i == "updscope")) || (i.indexOf("args") > -1)) { oCB[i] = pr[i]; } } if (scope != undefined) { if ((oCB.func != undefined) && (oCB.scope == undefined)) { oCB.scope = scope; } if ((oCB.updfunc != undefined) && (oCB.updscope == undefined)) { oCB.updscope = scope; } if ((oCB.startfunc != undefined) && (oCB.startscope == undefined)) { oCB.startscope = scope; } } } for (j in oCB) { cbstr = cbstr + (((j + ":") + oCB[j]) + "|"); } if (pr.event != undefined) { event = {scope:pr.scope, e:pr.event, ep:pr.eventparams, skipLevel:skipLevel}; } triggerTrue = pr.trigger === true; triggerTime = undefined; if ((triggerTrue == false) && (pr.trigger != undefined)) { triggerTime = ((pr.trigger instanceof Function) ? (pr.trigger.apply(scope)) : (pr.trigger)); if (typeof(triggerTime) == "string") { triggerTime = ((String(triggerTime).charAt(0) == "-") ? (-parseClock(String(triggerTime).slice(1))) : (parseClock(String(triggerTime)))); } if (_global.isNaN(triggerTime) == true) { triggerTime = undefined; } } } var delay; var seconds; var ease; var booleans; var tweenSuccess = false; var targsOrProxy = ((doTimer == false) ? (targets) : ([0])); var nBezError = -1; for (i in targsOrProxy) { if (_nPlaying < 2) { return(null); } if (isFF == false) { if (pr.ease != null) { ease = pr.ease; if (ease instanceof Function) { var ef = Function(ease); if (typeof(ef(1, 1, 1, 1)) != "number") { ease = ef.apply(scope); } } } if (ease == null) { ease = defaultEase; } seconds = ((pr.seconds instanceof Function) ? (pr.seconds.apply(scope)) : (pr.seconds)); if (seconds != undefined) { if (typeof(seconds) == "string") { seconds = parseClock(String(seconds)); } if (_global.isNaN(seconds) == true) { seconds = _ZigoEngine.DURATION || 0; } } if (seconds == null) { seconds = defaultSeconds; } delay = ((pr.delay instanceof Function) ? (pr.delay.apply(scope)) : (pr.delay)); if (typeof(delay) == "string") { delay = parseClock(String(delay)); } if ((delay == null) || (_global.isNaN(delay) == true)) { delay = 0; } if (doTimer == true) { continue; } } var targ = targsOrProxy[i]; var aEP = []; var aEV = []; var numBools = 0; var bezIndex = -2; for (var p in pr.oEP) { var v = pr.oEP[p]; if (v instanceof Function) { v = v.apply(scope); } if ((v === true) || (v === false)) { if (booleans == undefined) { booleans = {}; } booleans[p] = v; numBools++; continue; } if (typeof(v) == "object") { if (v[0]._isAF == true) { for (k in v) { if (v[k].targ == targ) { v = v[k].val; break; } } } else { var copy = ((v instanceof Array) ? [] : {}); for (k in v) { copy[k] = ((v[k] instanceof Function) ? Function(v[k]).apply(scope) : v[k]); } v = copy; } } if (v != "IGNORE") { if (p == "_bezier_") { bezIndex = aEP.length; } else if ((bezIndex == -2) && ((p == "controlX") || (p == "controlY"))) { bezIndex = -1; } aEP.push(p); aEV.push(v); } } if (aEV.length > 0) { if (bezIndex > -2) { if (bezIndex == -1) { bezIndex = aEP.length; } aEP[bezIndex] = "_bezier_"; if (typeof(aEV[bezIndex]) != "object") { aEV[bezIndex] = {}; } var bezObj = aEV[bezIndex]; for (j in aEP) { if ("|x|y|_x|_y|controlX|controlY|".indexOf(("|" + aEP[j]) + "|") > -1) { if (aEP[j].charAt(0) == "_") { aEP[j] = aEP[j].slice(-1); } if (typeof(bezObj[aEP[j]]) == "number") { if ((outputLevel > 0) && ((nBezError == -1) || (nBezError == i))) { com.mosesSupposes.fuse.FuseKitCommon.error("115", _sID(), aEP[j]); nBezError = Number(i); } } else { bezObj[aEP[j]] = aEV[j]; } aEP.splice(Number(j), 1); aEV.splice(Number(j), 1); } } } if (isFF == true) { if (outputLevel == 3) { com.mosesSupposes.fuse.FuseKitCommon.output(((((("\n-" + _sID()) + " FF\ttargets:[") + targ) + "]\tprops:[") + aEP.toString()) + "]"); } addTween(targ, aEP, aEV, 0, null, 0, {skipLevel:0}); continue; } var listener = {caught:false, onTweenEnd:function (evto) { this.caught = true; }}; targ.addListener(listener); var aProps = addTween(targ, aEP, aEV, seconds, ease, delay, oCB); targ.removeListener(listener); if (aProps.length == 0) { if (listener.caught == true) { oCB = oSimpleCB; } } else { if (aProps.length > 0) { var to = {targ:targ, props:aProps, bools:booleans, targZID:targ.__zigoID__}; if (tweenSuccess == false) { oCB = oSimpleCB; to.event = event; event = (booleans = undefined); to.trigger = triggerTrue; } _aTweens.push(to); targ.addListener(this); tweenSuccess = true; for (j in aProps) { if (propsAdded.indexOf(aProps[j] + ",") == -1) { propsAdded = propsAdded + (aProps[j] + ","); } } } if (outputLevel == 3) { var epstr = aEP.toString(); if (aProps.length > aEP.length) { epstr = epstr + (("\n\t[NO-CHANGE PROPS DISCARDED (disregard this for double props like _scale). KEPT:" + aProps.toString()) + "]"); } var evstr = ""; for (j in aEV) { evstr = (((typeof(aEV[j]) == "string") ? (("\"" + aEV[j]) + "\"") : aEV[j]) + ", ") + evstr; } com.mosesSupposes.fuse.FuseKitCommon.output((("\n-" + _sID()) + " TWEEN:\n") + [("\t[getTimer():" + getTimer()) + "] ", "targ: " + targ, "props: " + epstr, "endVals: " + evstr, "time: " + ((seconds == undefined) ? _ZigoEngine.DURATION : seconds), "easing: " + ((ease == undefined) ? _ZigoEngine.EASING : ease), "delay: " + ((delay == undefined) ? 0 : delay), "callbacks: " + ((cbstr == "") ? "(none)" : cbstr)].join("\n\t")); } } listener = undefined; } } if ((_global.isNaN(seconds) == true) || (pr.seconds == null)) { seconds = 0; } var time = (delay + seconds); if (triggerTime != undefined) { if (triggerTime < 0) { triggerTime = triggerTime + time; } if ((triggerTime > 0) && ((time == 0) || (triggerTime < time))) { if (time == 0) { if (outputLevel == 3) { com.mosesSupposes.fuse.FuseKitCommon.output(((((((((_sID() + " graft a timed trigger (") + triggerTime) + " sec). [has callback:") + (oCB != oSimpleCB)) + ", has event:") + (event != undefined)) + ", has booleans:") + (booleans != undefined)) + "]"); } doTimerTween(null, triggerTime, 0, true, booleans, oCB, event); tweenSuccess = true; } else { if (outputLevel == 3) { com.mosesSupposes.fuse.FuseKitCommon.output(((_sID() + " graft a timed trigger (") + triggerTime) + " sec)."); } doTimerTween(null, triggerTime, 0, true); } } else if (outputLevel == 3) { com.mosesSupposes.fuse.FuseKitCommon.output(((((_sID() + " timed trigger discarded: out of range. [") + triggerTime) + "/") + time) + "]"); } } if ((tweenSuccess == false) && (((oCB != oSimpleCB) || (event != undefined)) || (booleans != undefined))) { if ((skipLevel == 0) && (time > 0)) { if (outputLevel == 3) { com.mosesSupposes.fuse.FuseKitCommon.output(((((((((_sID() + " no props tweened - graft a delay (") + time) + " sec). [has callback:") + (oCB != oSimpleCB)) + ", has event:") + (event != undefined)) + ", has booleans:") + (booleans != undefined)) + "]"); } doTimerTween(targets, seconds, delay, triggerTrue, booleans, oCB, event); } else { if (outputLevel == 3) { com.mosesSupposes.fuse.FuseKitCommon.output(((((((_sID() + " no props tweened, executing nontween items. [has callback:") + (oCB != oSimpleCB)) + ", has event:") + (event != undefined)) + ", has booleans:") + (booleans != undefined)) + "]"); } for (i in targets) { for (j in booleans) { targets[i][j] = booleans[j]; } } if (skipLevel < 2) { if (oCB != undefined) { fireEvents(oCB, scope, outputLevel, targets); } if (event != undefined) { fireEvents(event, scope, outputLevel); } } } } } } h++; } if ((nTgErrors > 0) && (outputLevel > 0)) { if ((nTgErrors == _aProfiles.length) && (propsAdded == "")) { com.mosesSupposes.fuse.FuseKitCommon.error("118", _sID(), setStart); } else { com.mosesSupposes.fuse.FuseKitCommon.error("119", _sID(), nTgErrors, doSetStarts); } } tba = undefined; _oTwBeingAdded = undefined; return(((propsAdded == "") ? null : (propsAdded.slice(0, -1)))); } function doTimerTween(actualTargets, duration, delay, trigger, booleans, callback, event) { var proxy = {__TweenedDelay:0}; _ZigoEngine.initializeTargets(proxy); _aTweens.push({targ:proxy, props:["__TweenedDelay"], trigger:trigger, bools:booleans, event:event, actualTargs:actualTargets, targZID:proxy.__zigoID__}); var canceled = (_ZigoEngine.doTween(proxy, "__TweenedDelay", 1, duration, null, delay, callback) == null); if (canceled == true) { onTweenEnd({target:proxy, props:["__TweenedDelay"]}); } else { proxy.addListener(this); } } function onTweenEnd(o, doAutoStop) { if (_nPlaying < 1) { return(undefined); } var fuse = _global.com.mosesSupposes.fuse.Fuse; var outputLevel = ((fuse != undefined) ? (fuse.OUTPUT_LEVEL) : (_ZigoEngine.OUTPUT_LEVEL)); var id = ((!(o.__zigoID__ === undefined)) ? (o.__zigoID__) : (o.target.__zigoID__)); for (var i in _aTweens) { var to = _aTweens[i]; if (to.targZID == id) { for (var j in o.props) { var pa = to.props; for (var k in pa) { var p = pa[k]; if (p == o.props[j]) { pa.splice(Number(k), 1); if (doAutoStop == true) { var inst = fuse.getInstance(_nFuseID); var interruptedByLocalFuse = ((((_bTrigger == true) && (o.during == "add")) && (inst[inst.currentIndex]._oTwBeingAdded[id] === true)) && (inst.state == "playing")); if (interruptedByLocalFuse == false) { to.targ.removeListener(this); for (i in _aTweens) { if (_aTweens[i].targZID == id) { for (j in o.props) { for (k in _aTweens[i].props) { if (_aTweens[i].props[k] == o.props[j]) { _aTweens[i].props.splice(Number(k), 1); } } } if (_aTweens[i].props.length == 0) { _aTweens.splice(Number(i), 1); } } } if (outputLevel == 3) { com.mosesSupposes.fuse.FuseKitCommon.output(_sID() + " triggering auto-stop due to interruption"); } if ((inst.autoClear == true) || ((!(inst.autoClear === false)) && (fuse.AUTOCLEAR == true))) { dispatchRequest("destroy"); } else { dispatchRequest("stop"); } return(undefined); } if (outputLevel == 3) { com.mosesSupposes.fuse.FuseKitCommon.output(((("note -" + _sID()) + " interrupted one of its own properties \"") + p) + "\". (Autostop not triggered.)"); } } if ((_nPlaying == 2) && (p != "__TweenedDelay")) { if (outputLevel > 0) { com.mosesSupposes.fuse.FuseKitCommon.error("120", _sID(), p); } } if (pa.length == 0) { if (to.event != undefined) { fireEvents(to.event, null, outputLevel); } if (p == "__TweenedDelay") { _ZigoEngine.deinitializeTargets(to.targ); delete to.targ; for (var m in to.bools) { for (var t in to.actualTargs) { to.actualTargs[t][m] = to.bools[m]; } } } else { var found = false; for (var m in to.bools) { to.targ[m] = to.bools[m]; } for (var l in _aTweens) { if ((l != i) && (_aTweens[l].targ == to.targ)) { found = true; } } if (found == false) { to.targ.removeListener(this); } } if (to.trigger == true) { if (((_bTrigger == false) && (o.isResume != true)) && (_aTweens.length > 1)) { _bTrigger = true; if (outputLevel == 3) { com.mosesSupposes.fuse.FuseKitCommon.output(_sID() + " trigger fired!"); } var breakChainInt; breakChainInt = setInterval(function (fi) { clearInterval(breakChainInt); fi.dispatchRequest("advance", [false, false, false]); }, 1, this); } } _aTweens.splice(Number(i), 1); } } } } } } if (((_aTweens.length == 0) && (_nPlaying == 1)) && (o.isResume != true)) { complete(outputLevel); } } function onTweenInterrupt(o) { if (_nPlaying == -1) { return(undefined); } var fuse = _global.com.mosesSupposes.fuse.Fuse; var parentfuse = fuse.getInstance(_nFuseID); var autoStop = ((parentfuse.autoStop == true) || ((!(parentfuse.autoStop === false)) && (fuse.AUTOSTOP == true))); var id = o.__zigoID__; var outputLevel = ((fuse != undefined) ? (fuse.OUTPUT_LEVEL) : (_ZigoEngine.OUTPUT_LEVEL)); if ((autoStop == true) || ((!(autoStop === false)) && (fuse.AUTOSTOP == true))) { onTweenEnd(o, true); return(undefined); } if (typeof(o.target) != "string") { onTweenEnd(o); return(undefined); } for (var i in _aTweens) { if (_aTweens[i].targZID == id) { _aTweens.splice(Number(i), 1); } } if ((_aTweens.length == 0) && (_nPlaying == 1)) { complete(outputLevel); } } function complete(outputLevel) { if (outputLevel == 3) { com.mosesSupposes.fuse.FuseKitCommon.output(_sID() + " complete."); } var breakChainInt; breakChainInt = setInterval(function (fi, trigger) { clearInterval(breakChainInt); var itemstate = fi._nPlaying; if (trigger != true) { if (itemstate < 1) { return(undefined); } } fi.stop(); if (itemstate > 0) { fi.dispatchRequest("advance", [trigger, false, false]); } }, 1, this, _bTrigger); } function parseClock(str) { if (str.indexOf(":") != 2) { com.mosesSupposes.fuse.FuseKitCommon.error("121"); return(_ZigoEngine.DURATION || 0); } var time = 0; var spl = str.split(":"); spl.reverse(); var t; if ((String(spl[0]).length == 2) && (_global.isNaN((t = Math.abs(Number(spl[0])))) == false)) { time = time + (t / 100); } if (((String(spl[1]).length == 2) && (_global.isNaN((t = Math.abs(Number(spl[1])))) == false)) && (t < 60)) { time = time + t; } if (((String(spl[2]).length == 2) && (_global.isNaN((t = Math.abs(Number(spl[2])))) == false)) && (t < 60)) { time = time + (t * 60); } if (((String(spl[3]).length == 2) && (_global.isNaN((t = Math.abs(Number(spl[3])))) == false)) && (t < 24)) { time = time + (t * 3600); } return(time); } function fireEvents(o, scope, outputLevel, targets) { if (o.scope == undefined) { o.scope = scope; } if (o.e == undefined) { var callback = com.mosesSupposes.fuse.FuseKitCommon.parseCallback(o, targets, outputLevel, false); if (callback.start.f != null) { callback.start.f.apply(callback.start.s, callback.start.a); } if (callback.upd.f != null) { callback.upd.f.apply(callback.upd.s, callback.upd.a); } if (callback.end.f != null) { callback.end.f.apply(callback.end.s, callback.end.a); } } else { var type = ((o.e instanceof Function) ? (String(o.e.apply(scope))) : (String(o.e))); if ((type != "undefined") && (type.length > 0)) { if (String(com.mosesSupposes.fuse.FuseKitCommon._fuseEvents()).indexOf(("|" + type) + "|") > -1) { if (outputLevel > 0) { com.mosesSupposes.fuse.FuseKitCommon.error("122", type); } } else { var fuse = _global.com.mosesSupposes.fuse.Fuse.getInstance(_nFuseID); var evObj = ((o.ep instanceof Function) ? (o.ep.apply(scope)) : (o.ep)); if ((evObj == null) || (typeof(evObj) != "object")) { evObj = {}; } evObj.target = fuse; evObj.type = type; fuse.dispatchEvent.call(fuse, evObj); } } else if (outputLevel > 0) { com.mosesSupposes.fuse.FuseKitCommon.error("123", _sID()); } } } static var registryKey = "fuseItem"; static var ADD_UNDERSCORES = true; var _nPlaying = -1; var _bStartSet = false; var _bTrigger = false; }
Symbol 1411 MovieClip [__Packages.DivanTV] Frame 0
class DivanTV extends Mebel { var _active, __set__Enabled; function DivanTV () { super(); _active = true; __set__Enabled(true); } }
Symbol 1412 MovieClip [__Packages.ReceptionTable] Frame 0
class ReceptionTable extends Mebel { var mcReception, _active, __set__Enabled, _moneys, _keys, _key_taked, OnMoneyClick; function ReceptionTable () { super(); mcReception.mcWOKeys._visible = false; _active = true; __set__Enabled(true); Init(); _moneys = new Array(MONEYS_MAX); } function Init() { _keys = 4; ReturnKey(); } function get HasKeys() { return((_keys > 0) && (!_key_taked)); } function TakeKey() { _key_taked = true; mcReception.mcWOKeys._visible = true; } function ReturnKey() { _key_taked = false; mcReception.mcWOKeys._visible = false; } function ReleaseKey() { ReturnKey(); _keys--; } function ReturnBackKey() { _keys++; } function onPress(Void) { var i = 0; while (i < MONEYS_MAX) { if (_moneys[i] != undefined) { var mn = Moneys(_moneys[i]); if (mn.hitTest(_root._xmouse, _root._ymouse, true)) { if (OnMoneyClick != undefined) { OnMoneyClick(i); } return(undefined); } } i++; } super.onPress(); } function RemoveMoneys(mn) { mn.__set__Value(0); var i = 0; while (i < MONEYS_MAX) { if (_moneys[i] == mn) { _moneys[i] = undefined; mn.removeMovieClip(); } i++; } } function get HasMoneyOnTable() { var i = 0; while (i < MONEYS_MAX) { if (_moneys[i] != undefined) { return(true); } i++; } return(false); } function ClearMoneyTicks() { var i = 0; while (i < MONEYS_MAX) { if (_moneys[i] != undefined) { Moneys(_moneys[i]).ClearTicks(); } i++; } } static var MONEYS_MAX = 4; }
Symbol 1413 MovieClip [__Packages.Moneys] Frame 0
class Moneys extends MovieClip { var hitArea, mcHitArea, enabled, _value, gotoAndStop, OnClick, _ticks, mcTick; function Moneys () { super(); ClearHighlite(); hitArea = mcHitArea; mcHitArea._alpha = 0; enabled = true; Value = (0); ClearTicks(); } function get Value() { return(_value); } function set Value(value) { _value = value; if (_value < 10) { gotoAndStop(1); } else if (_value < 15) { gotoAndStop(2); } else if (_value < 20) { gotoAndStop(3); } else { gotoAndStop(4); } //return(Value); } function onRollOver() { if (Enabled) { SetHighlite(); } } function onRollOut() { if (Enabled) { ClearHighlite(); } } function onPress(Void) { if (OnClick != undefined) { OnClick(); } } function ClearHighlite() { if (highlited) { Helper.ClearHighlite(this); highlited = false; } } function SetHighlite() { if (!highlited) { Helper.SetHighlite(this); highlited = true; } } function HideTick() { _ticks--; if (_ticks < 0) { _ticks = 0; } if ((mcTick != undefined) && (_ticks == 0)) { mcTick._visible = false; } } function ShowTick() { _ticks++; if ((mcTick != undefined) && (_ticks > 0)) { mcTick._visible = true; } } function ClearTicks() { _ticks = 0; HideTick(); } var Enabled = true; var highlited = false; }
Symbol 1414 MovieClip [__Packages.TVSet] Frame 0
class TVSet extends Mebel { var _working, _working_time, mcAnim; function TVSet () { super(); TurnOff(); } function get InWorking() { return(_working); } function TurnOn() { _working_time = 0; _working = true; mcAnim.gotoAndStop(2); } function TurnOff() { _working_time = 0; _working = false; mcAnim.gotoAndStop(1); } function Quant(dtime) { if (_working) { _working_time = _working_time + dtime; if (_working_time >= WORKING_TIME) { TurnOff(); } } } static var WORKING_TIME = 5000; }
Symbol 1415 MovieClip [__Packages.Table] Frame 0
class Table extends Mebel { function Table () { super(); } }
Symbol 1416 MovieClip [__Packages.Daily] Frame 0
class Daily extends Mebel { function Daily () { super(); } }
Symbol 1417 MovieClip [__Packages.Phone] Frame 0
class Phone extends Mebel { function Phone () { super(); } }
Symbol 1418 MovieClip [__Packages.Coffee] Frame 0
class Coffee extends Mebel { var mcCup; function Coffee () { super(); ShowCup(); } function ShowCup() { mcCup._visible = true; } function HideCup() { mcCup._visible = false; } }
Symbol 1419 MovieClip [__Packages.Door] Frame 0
class Door extends Mebel { var _active, _multiply_chars_mode, gotoAndStop, IsOpened, gotoAndPlay, AttachChar, MoveSeatPlace, orientierOut, orientierIn, __get__HasChar, _attached_chars, CharEntered, CharExited; function Door () { super(); _active = false; Close(); _multiply_chars_mode = true; } function Close() { gotoAndStop("frameToOpen"); IsOpened = false; } function Open() { gotoAndStop("frameToClose"); IsOpened = true; } function Opened() { IsOpened = true; } function PlayOpen() { gotoAndPlay("frameToOpen"); Helper.PlaySound("door_main_open"); } function PlayClose() { gotoAndPlay("frameToClose"); IsOpened = false; Helper.PlaySound("door_close"); } function PlayCharComin(c) { AttachChar(c); c.State = Client.STATE_WAIT_COMIN; MoveSeatPlace(orientierOut._x, orientierOut._y); PlayOpen(); } function PlayCharComout(c) { AttachChar(c); c.State = Client.STATE_WAIT_COMOUT; MoveSeatPlace(orientierIn._x, orientierIn._y); PlayOpen(); } function Quant(dtime) { if (__get__HasChar()) { var i = 0; while (i < _attached_chars.length) { var cl = Client(_attached_chars[i]); switch (cl.State) { case Client.STATE_WAIT_COMIN : if (IsOpened) { cl.State = Client.STATE_COMMING; cl.SetAnimation(Bot.ANIM_LEFT); cl.GoTo(orientierOut.GetPoint(), true); cl.MoveTo(orientierIn.GetPoint()); } break; case Client.STATE_COMMING : MoveSeatPlace(cl._x, cl._y); if (!cl.__get__InMoving()) { cl.GoState(Client.STATE_AT_HALL); if (CharEntered != undefined) { CharEntered(cl); } } break; case Client.STATE_WAIT_COMOUT : if (IsOpened) { cl.State = Client.STATE_COMOUTING; cl.SetAnimation(Bot.ANIM_RIGHT); cl.GoTo(orientierIn.GetPoint(), true); cl.MoveTo(orientierOut.GetPoint()); } break; case Client.STATE_COMOUTING : MoveSeatPlace(cl._x, cl._y); if (cl.__get__InMoving()) { break; } cl.State = Client.STATE_NONE; if (CharExited == undefined) { break; } CharExited(cl); } i++; } } else if (IsOpened) { PlayClose(); } } }
Symbol 1420 MovieClip [__Packages.KitchenWallMC] Frame 0
class KitchenWallMC extends Mebel { var _active, __set__Enabled; function KitchenWallMC () { super(); _active = false; __set__Enabled(false); } }
Symbol 1421 MovieClip [__Packages.Flower] Frame 0
class Flower extends Mebel { var state, _live_time, mcAnim, _showing_in_process, OnDeathFail; function Flower () { super(); SetState(ANIM_OFF); } function get InIll() { return((state == ANIM_ILL) || (state == ANIM_DEATH)); } function Respawn() { _live_time = 0; SetState(ANIM_NORMAL); } function SetState(newstate) { if (state != newstate) { if (newstate == ANIM_ILL) { Helper.PlaySound("flower_dry"); } } state = newstate; if (state > 0) { mcAnim.gotoAndStop(state); } else { mcAnim.gotoAndStop(4); } _live_time = 0; _showing_in_process = false; } function Disable() { SetState(ANIM_OFF); } function BeginShowing() { _showing_in_process = true; } function EndShowing() { SetState(ANIM_NORMAL); _showing_in_process = false; } function Quant(dtime) { if (_showing_in_process) { return(undefined); } switch (state) { case ANIM_NORMAL : _live_time = _live_time + dtime; if (_live_time >= LIVE_TIME) { SetState(ANIM_ILL); } return; case ANIM_ILL : _live_time = _live_time + dtime; if (_live_time >= TIME_TO_DEATH) { SetState(ANIM_DEATH); } return; case ANIM_DEATH : _live_time = _live_time + dtime; if (_live_time < SUCCESS_FAIL_PERIOD_TIME) { break; } if (OnDeathFail != undefined) { OnDeathFail(this); } SetState(ANIM_DEATH); } } static var LIVE_TIME = 55000; static var TIME_TO_DEATH = 30000; static var SUCCESS_FAIL_PERIOD_TIME = 10000; static var ANIM_OFF = 0; static var ANIM_NORMAL = 1; static var ANIM_ILL = 2; static var ANIM_DEATH = 3; }
Symbol 1422 MovieClip [__Packages.Maid] Frame 0
class Maid extends Bot { var OnTargetReached, moving_speed, _state, _game, _x, _y, target_move, moving_direction, _visible, __get__InMoving, _state_time, _mode, _action_option1, animation_direction, GoTo, cleaning_room, _showing_particle_emmiter, showing_flower, game, mcAnim, UpdateBoxPosition; function Maid () { super(); OnTargetReached = mx.utils.Delegate.create(this, TargetReached); moving_speed = MAID_SPEED; } function Reset() { _state = STATE_IN_KITCHEN; Mode = (MODE_CLEANER); var p = _game.orientierKitchenOut.GetPoint(); _x = p.x; _y = p.y; target_move = undefined; SetAnimation(Bot.ANIM_STAY); moving_direction = -4; _visible = false; _actions_queue = new Array(); } function get Enabled() { return(true); } function get InHall() { return((_state != STATE_IN_KITCHEN) || (__get__InMoving())); } function get InKitchen() { return((_state == STATE_IN_KITCHEN) && (!__get__InMoving())); } function get State() { return(_state); } function set State(value) { if (_state != value) { if (_state == STATE_IN_KITCHEN) { _visible = true; } else if (_state == STATE_CLEANING) { SetAnimation(Bot.ANIM_STAY); } _state = value; _state_time = 0; } //return(State); } function get Mode() { return(_mode); } function set Mode(value) { _mode = value; UpdateAnimation(); //return(Mode); } function DoAction(act, ort, opt1, now) { if (now == undefined) { now = false; } if (!now) { _actions_queue.push({action:act, orient:ort, optional1:opt1}); } else { DoActionNow({action:act, orient:ort, optional1:opt1}); } } function GetQueueMode() { var i = (_actions_queue.length - 1); while (i >= 0) { var act = _actions_queue[i]; if ((act.action == STATE_GO_TO_HALL) && (act.optional1 != undefined)) { return(Number(act.optional1)); } i--; } return(Mode); } function DoActionNow(action) { var act = Number(action.action); var orient = Orientir(action.orient); _action_option1 = action.optional1; if ((act == STATE_GO_TO_HALL) && (State != STATE_IN_KITCHEN)) { var opt1 = Number(_action_option1); if (opt1 == Mode) { return(undefined); } } else if ((act == STATE_GO_TO_HALL) && (InKitchen)) { if (_action_option1 != undefined) { var opt1 = Number(_action_option1); Mode = (opt1); animation_direction = Bot.ANIM_RIGHT; UpdateAnimation(); SetAnimation(Bot.ANIM_RIGHT + Bot.ANIMS_WITH_BOX); } } State = (act); if (State == STATE_CLEANING) { UpdateAnimation(); } if (orient != null) { GoTo(orient.GetPoint(), false); } } function Quant(dtime) { super.Quant(dtime); _state_time = _state_time + dtime; if ((_actions_queue.length != 0) && ((State == STATE_WAITING) || (State == STATE_IN_KITCHEN))) { DoActionNow(_actions_queue.shift()); } else { switch (State) { case STATE_WAITING : if (_state_time >= WAITING_TIME_TO_GO_OUT) { DoAction(STATE_IN_KITCHEN, _game.orientierKitchenOut, 0, true); } return; case STATE_CLEANING : if (_state_time >= _game._wish_cleaning_time) { if (!cleaning_room.__get__CleanRequired()) { cleaning_room.mcOrder._visible = false; var cl = _game.GetClientOfRoom(cleaning_room); cl.FinishCleaning(); } else { cleaning_room.CleanDone(); } cleaning_room.ClearTicks(); State = (STATE_WAITING); } else { cleaning_room.mcOrder._visible = true; cleaning_room.mcOrder.__set__Progress((_state_time * 100) / _game._wish_cleaning_time); cleaning_room.mcOrder.__set__Wish(Client.WISH_CLEAN); } return; case STATE_SHOWING_FLOWERS : if (_state_time < TIME_WATER_FLOWERS) { break; } if (_showing_particle_emmiter != undefined) { _showing_particle_emmiter.Terminate(); if (_showing_particle_emmiter != undefined) { _showing_particle_emmiter.removeMovieClip(); _showing_particle_emmiter = undefined; } } showing_flower.EndShowing(); showing_flower.ClearTicks(); State = (STATE_WAITING); UpdateAnimation(); } } } function TargetReached() { var nobreak = false; switch (State) { case STATE_GO_TO_HALL : Mode = (Number(_action_option1)); break; case STATE_IN_KITCHEN : Reset(); nobreak = true; break; case STATE_CLEAN_ROOM : cleaning_room = Room(_action_option1); var cl = _game.GetClientOfRoom(cleaning_room); if (cleaning_room.__get__CleanRequired() || ((cl.Wish == Client.WISH_CLEAN) && (!cl.__get__WishInProcess()))) { cl.StartCleaning(); DoAction(STATE_CLEANING, null, 0, true); nobreak = true; Helper.PlaySound("cleaning"); } break; case STATE_GO_WATER_FLOWERS : showing_flower = Flower(_action_option1); if (!showing_flower.__get__InIll()) { } else { showing_flower.HideTick(); showing_flower.BeginShowing(); if (_showing_particle_emmiter != undefined) { _showing_particle_emmiter.Terminate(); if (_showing_particle_emmiter != undefined) { _showing_particle_emmiter.removeMovieClip(); _showing_particle_emmiter = undefined; } } _showing_particle_emmiter = Fx.CreateParticlesEmmiterUp(game, Point.FromMovie(showing_flower), "GreenParticle"); DoAction(STATE_SHOWING_FLOWERS, null, 0, true); nobreak = true; Helper.PlaySound("flower_water"); } } if (!nobreak) { State = (STATE_WAITING); } } function UpdateAnimation() { if (State == STATE_CLEANING) { SetAnimation(Bot.ANIM_CLEAN); } else if (State == STATE_SHOWING_FLOWERS) { SetAnimation(Bot.ANIM_FLOWERS); } else { super.UpdateAnimation(); } } function SetAnimation(anim) { animation_direction = anim; if (Mode == MODE_FLOWERS) { animation_direction = animation_direction + Bot.ANIMS_WITH_BOX; } mcAnim.gotoAndStop(animation_direction + 1); UpdateBoxPosition(); } static var MAID_SPEED = 0.16; static var WAITING_TIME_TO_GO_OUT = 3000; static var TIME_WATER_FLOWERS = 5000; static var MODE_CLEANER = 0; static var MODE_FLOWERS = 1; static var STATE_IN_KITCHEN = 0; static var STATE_WAITING = 1; static var STATE_GO_TO_HALL = 5; static var STATE_CLEAN_ROOM = 6; static var STATE_CLEANING = 7; static var STATE_GO_WATER_FLOWERS = 8; static var STATE_SHOWING_FLOWERS = 9; var _actions_queue = new Array(); }
Symbol 1423 MovieClip [__Packages.SuccessBar] Frame 0
class SuccessBar extends MovieClip { var _progress, gotoAndStop, mcDisk, __get__Text, _x, _y; function SuccessBar () { super(); Progress = (0); Text = ("+1"); } function get Progress() { return(_progress); } function set Progress(value) { _progress = Math.floor(Math.min(100, Math.max(0, value))); gotoAndStop(_progress + 1); //return(Progress); } function set Text(value) { mcDisk.strValue = value; //return(__get__Text()); } function get DiskPosition() { return(new Point(_x + mcDisk._x, _y + mcDisk._y)); } }
Symbol 1424 MovieClip [__Packages.com.mosesSupposes.fuse.PennerEasing] Frame 0
class com.mosesSupposes.fuse.PennerEasing { function PennerEasing () { } static function linear(t, b, c, d) { return(((c * t) / d) + b); } static function easeInQuad(t, b, c, d) { return(((c * ((t = t / d))) * t) + b); } static function easeOutQuad(t, b, c, d) { return((((-c) * ((t = t / d))) * (t - 2)) + b); } static function easeInOutQuad(t, b, c, d) { if (((t = t / (d / 2))) < 1) { return((((c / 2) * t) * t) + b); } return((((-c) / 2) * (((--t) * (t - 2)) - 1)) + b); } static function easeInExpo(t, b, c, d) { return(((t == 0) ? (b) : ((c * Math.pow(2, 10 * ((t / d) - 1))) + b))); } static function easeOutExpo(t, b, c, d) { return(((t == d) ? (b + c) : ((c * ((-Math.pow(2, (-10 * t) / d)) + 1)) + b))); } static function easeInOutExpo(t, b, c, d) { if (t == 0) { return(b); } if (t == d) { return(b + c); } if (((t = t / (d / 2))) < 1) { return(((c / 2) * Math.pow(2, 10 * (t - 1))) + b); } return(((c / 2) * ((-Math.pow(2, -10 * (--t))) + 2)) + b); } static function easeOutInExpo(t, b, c, d) { if (t == 0) { return(b); } if (t == d) { return(b + c); } if (((t = t / (d / 2))) < 1) { return(((c / 2) * ((-Math.pow(2, -10 * t)) + 1)) + b); } return(((c / 2) * (Math.pow(2, 10 * (t - 2)) + 1)) + b); } static function easeInElastic(t, b, c, d, a, p) { var s; if (t == 0) { return(b); } if (((t = t / d)) == 1) { return(b + c); } if (!p) { p = d * 0.3; } if ((!a) || (a < Math.abs(c))) { a = c; s = p / 4; } else { s = (p / (Math.PI*2)) * Math.asin(c / a); } return((-((a * Math.pow(2, 10 * ((t = t - 1)))) * Math.sin((((t * d) - s) * (Math.PI*2)) / p))) + b); } static function easeOutElastic(t, b, c, d, a, p) { var s; if (t == 0) { return(b); } if (((t = t / d)) == 1) { return(b + c); } if (!p) { p = d * 0.3; } if ((!a) || (a < Math.abs(c))) { a = c; s = p / 4; } else { s = (p / (Math.PI*2)) * Math.asin(c / a); } return((((a * Math.pow(2, -10 * t)) * Math.sin((((t * d) - s) * (Math.PI*2)) / p)) + c) + b); } static function easeInOutElastic(t, b, c, d, a, p) { var s; if (t == 0) { return(b); } if (((t = t / (d / 2))) == 2) { return(b + c); } if (!p) { p = d * 0.45; } if ((!a) || (a < Math.abs(c))) { a = c; s = p / 4; } else { s = (p / (Math.PI*2)) * Math.asin(c / a); } if (t < 1) { return((-0.5 * ((a * Math.pow(2, 10 * ((t = t - 1)))) * Math.sin((((t * d) - s) * (Math.PI*2)) / p))) + b); } return(((((a * Math.pow(2, -10 * ((t = t - 1)))) * Math.sin((((t * d) - s) * (Math.PI*2)) / p)) * 0.5) + c) + b); } static function easeOutInElastic(t, b, c, d, a, p) { var s; if (t == 0) { return(b); } if (((t = t / (d / 2))) == 2) { return(b + c); } if (!p) { p = d * 0.45; } if ((!a) || (a < Math.abs(c))) { a = c; s = p / 4; } else { s = (p / (Math.PI*2)) * Math.asin(c / a); } if (t < 1) { return(((0.5 * ((a * Math.pow(2, -10 * t)) * Math.sin((((t * d) - s) * (Math.PI*2)) / p))) + (c / 2)) + b); } return(((c / 2) + (0.5 * ((a * Math.pow(2, 10 * (t - 2))) * Math.sin((((t * d) - s) * (Math.PI*2)) / p)))) + b); } static function easeInBack(t, b, c, d, s) { if (s == undefined) { s = 1.70158; } return((((c * ((t = t / d))) * t) * (((s + 1) * t) - s)) + b); } static function easeOutBack(t, b, c, d, s) { if (s == undefined) { s = 1.70158; } return((c * (((((t = (t / d) - 1)) * t) * (((s + 1) * t) + s)) + 1)) + b); } static function easeInOutBack(t, b, c, d, s) { if (s == undefined) { s = 1.70158; } if (((t = t / (d / 2))) < 1) { return(((c / 2) * ((t * t) * (((((s = s * 1.525)) + 1) * t) - s))) + b); } return(((c / 2) * (((((t = t - 2)) * t) * (((((s = s * 1.525)) + 1) * t) + s)) + 2)) + b); } static function easeOutInBack(t, b, c, d, s) { if (s == undefined) { s = 1.70158; } if (((t = t / (d / 2))) < 1) { return(((c / 2) * ((((--t) * t) * (((((s = s * 1.525)) + 1) * t) + s)) + 1)) + b); } return(((c / 2) * ((((--t) * t) * (((((s = s * 1.525)) + 1) * t) - s)) + 1)) + b); } static function easeOutBounce(t, b, c, d) { if (((t = t / d)) < 0.363636363636364) { return((c * ((7.5625 * t) * t)) + b); } if (t < 0.727272727272727) { return((c * (((7.5625 * ((t = t - 0.545454545454545))) * t) + 0.75)) + b); } if (t < 0.909090909090909) { return((c * (((7.5625 * ((t = t - 0.818181818181818))) * t) + 0.9375)) + b); } return((c * (((7.5625 * ((t = t - 0.954545454545455))) * t) + 0.984375)) + b); } static function easeInBounce(t, b, c, d) { return((c - easeOutBounce(d - t, 0, c, d)) + b); } static function easeInOutBounce(t, b, c, d) { if (t < (d / 2)) { return((easeInBounce(t * 2, 0, c, d) * 0.5) + b); } return(((easeOutBounce((t * 2) - d, 0, c, d) * 0.5) + (c * 0.5)) + b); } static function easeOutInBounce(t, b, c, d) { if (t < (d / 2)) { return((easeOutBounce(t * 2, 0, c, d) * 0.5) + b); } return(((easeInBounce((t * 2) - d, 0, c, d) * 0.5) + (c * 0.5)) + b); } static function easeInCubic(t, b, c, d) { return((((c * ((t = t / d))) * t) * t) + b); } static function easeOutCubic(t, b, c, d) { return((c * (((((t = (t / d) - 1)) * t) * t) + 1)) + b); } static function easeInOutCubic(t, b, c, d) { if (((t = t / (d / 2))) < 1) { return(((((c / 2) * t) * t) * t) + b); } return(((c / 2) * (((((t = t - 2)) * t) * t) + 2)) + b); } static function easeOutInCubic(t, b, c, d) { t = t / (d / 2); return(((c / 2) * ((((--t) * t) * t) + 1)) + b); } static function easeInQuart(t, b, c, d) { return(((((c * ((t = t / d))) * t) * t) * t) + b); } static function easeOutQuart(t, b, c, d) { return(((-c) * ((((((t = (t / d) - 1)) * t) * t) * t) - 1)) + b); } static function easeInOutQuart(t, b, c, d) { if (((t = t / (d / 2))) < 1) { return((((((c / 2) * t) * t) * t) * t) + b); } return((((-c) / 2) * ((((((t = t - 2)) * t) * t) * t) - 2)) + b); } static function easeOutInQuart(t, b, c, d) { if (((t = t / (d / 2))) < 1) { return((((-c) / 2) * (((((--t) * t) * t) * t) - 1)) + b); } return(((c / 2) * (((((--t) * t) * t) * t) + 1)) + b); } static function easeInQuint(t, b, c, d) { return((((((c * ((t = t / d))) * t) * t) * t) * t) + b); } static function easeOutQuint(t, b, c, d) { return((c * (((((((t = (t / d) - 1)) * t) * t) * t) * t) + 1)) + b); } static function easeInOutQuint(t, b, c, d) { if (((t = t / (d / 2))) < 1) { return(((((((c / 2) * t) * t) * t) * t) * t) + b); } return(((c / 2) * (((((((t = t - 2)) * t) * t) * t) * t) + 2)) + b); } static function easeOutInQuint(t, b, c, d) { t = t / (d / 2); return(((c / 2) * ((((((--t) * t) * t) * t) * t) + 1)) + b); } static function easeInSine(t, b, c, d) { return((((-c) * Math.cos((t / d) * (Math.PI/2))) + c) + b); } static function easeOutSine(t, b, c, d) { return((c * Math.sin((t / d) * (Math.PI/2))) + b); } static function easeInOutSine(t, b, c, d) { return((((-c) / 2) * (Math.cos((Math.PI * t) / d) - 1)) + b); } static function easeOutInSine(t, b, c, d) { if (((t = t / (d / 2))) < 1) { return(((c / 2) * Math.sin((Math.PI * t) / 2)) + b); } return((((-c) / 2) * (Math.cos((Math.PI * (--t)) / 2) - 2)) + b); } static function easeInCirc(t, b, c, d) { return(((-c) * (Math.sqrt(1 - (((t = t / d)) * t)) - 1)) + b); } static function easeOutCirc(t, b, c, d) { return((c * Math.sqrt(1 - (((t = (t / d) - 1)) * t))) + b); } static function easeInOutCirc(t, b, c, d) { if (((t = t / (d / 2))) < 1) { return((((-c) / 2) * (Math.sqrt(1 - (t * t)) - 1)) + b); } return(((c / 2) * (Math.sqrt(1 - (((t = t - 2)) * t)) + 1)) + b); } static function easeOutInCirc(t, b, c, d) { if (((t = t / (d / 2))) < 1) { return(((c / 2) * Math.sqrt(1 - ((--t) * t))) + b); } return(((c / 2) * (2 - Math.sqrt(1 - ((--t) * t)))) + b); } static var registryKey = "pennerEasing"; }
Symbol 1425 MovieClip [__Packages.ShopGood] Frame 0
class ShopGood extends MovieClip { var mcSold, textPrice, textWarning, __get__Warning, _enabled, mcBg, mcKrest, mcAnim, _payed, __get__Payed, _good, OnClick; function ShopGood () { super(); Price = (""); Enabled = (false); Good = (GOOD_FLOWERS); mcSold._visible = false; } function set Price(value) { textPrice.text = value; //return(Price); } function get Price() { return(textPrice.text); } function set Warning(value) { textWarning.text = value; //return(__get__Warning()); } function get Enabled() { return(_enabled); } function set Enabled(value) { _enabled = value; if (_enabled) { mcBg.gotoAndStop(1); } else { mcBg.gotoAndStop(2); } mcKrest._visible = !_enabled; textWarning._visible = !_enabled; if (_enabled) { Helper.ClearGrayscale(mcAnim); } else { Helper.SetGrayscale(mcAnim); } //return(Enabled); } function set Payed(value) { _payed = value; mcSold._visible = _payed; //return(__get__Payed()); } function get Good() { return(_good); } function set Good(value) { _good = value; mcAnim.gotoAndStop(_good + 1); //return(Good); } function onPress(Void) { if ((Enabled && (!_payed)) && (OnClick != undefined)) { OnClick(this); } } static var GOODS_NAMES = ["flowers", "daily", "picture", "divan", "aqua", "table", "bra", "phone", "star"]; static var GOOD_FLOWERS = 0; static var GOOD_DAILY = 1; static var GOOD_PICTURE = 2; static var GOOD_TV = 3; static var GOOD_AQUA = 4; static var GOOD_TABLE = 5; static var GOOD_LAMP = 6; static var GOOD_PHONE = 7; static var GOOD_STARS = 8; static var GOOD_MAX = 9; }
Symbol 1426 MovieClip [__Packages.mc_ADS] Frame 0
class mc_ADS extends MovieClip { static var exFunc, exCaller, exArgs, CLIPINSTANCE, remId, clockId, clockTxt; var createEmptyMovieClip, onRelease, removeMovieClip, attachBitmap, getNextHighestDepth; function mc_ADS () { super(); } static function showIngameAds(mc_Parent, aFunc, aCaller, aArgs) { var adsmc = mc_Parent.attachMovie("mc_ADS", "mc_ADS1", mc_Parent.getNextHighestDepth(), {_alpha:0}); adsmc.create(aFunc, aCaller, aArgs); } function create(aFunc, aCaller, aArgs) { exFunc = aFunc; exCaller = aCaller; exArgs = aArgs; if (addBitmap()) { CLIPINSTANCE = this; remId = setInterval(this, "removeIt", 7000); clockId = setInterval(this, "showClock", 1000); clockTxt = createEmptyMovieClip("mc_Clock", CLOCKDEPTH); var aText = clockTxt.createTextField("mc_txt", 0, Stage.width - 50, 0, 50, 30); var aFormat = new TextFormat(); aFormat.bold = true; aText.setTextFormat(aFormat); aText.setNewTextFormat(aFormat); aText.selectable = false; aText.text = "07"; com.mosesSupposes.fuse.ZigoEngine.doTween(this, "_alpha", [100], 1, mx.transitions.easing.Regular.easeIn, 0); } else { removeIt(); } if (Helper.INGAMECLICK == true) { onRelease = function () { this.getURL(Helper.ADSLINK, "_blank"); }; } } function showClock() { CLIPINSTANCE.mc_Clock.mc_txt.text = "0" + String(Number(CLIPINSTANCE.mc_Clock.mc_txt.text) - 1); } function removeIt() { exFunc.apply(exCaller, exArgs); clearInterval(remId); clearInterval(clockId); removeMovieClip(); } function addBitmap() { var bName = ("splash" + LASTNUM); LASTNUM++; if (LASTNUM > 3) { LASTNUM = 0; } var aBitmap = flash.display.BitmapData.loadBitmap(bName); if (aBitmap == undefined) { return(false); } attachBitmap(aBitmap, getNextHighestDepth()); return(true); } static var CLOCKDEPTH = 1; static var LASTNUM = 1; }
Symbol 1427 MovieClip [__Packages.Shop] Frame 0
class Shop extends MovieClip { var _inited, BayedGoods, _game, __get__game, btnMenu, btnPlay, textPopularLabel, textPriceLabel, _goods, good0, good1, good2, good3, good4, good5, good6, good7, good8, OnClose, OnMenu, _good_detail_window, attachMovie, getNextHighestDepth, slider, textPopular, textPrice; function Shop () { super(); _inited = false; BayedGoods = new Array(); } function onEnterFrame() { if (!_inited) { Init(); Update(); _inited = true; } } function set game(value) { _game = value; if (_inited) { Update(); } //return(__get__game()); } function Init() { btnMenu.onPress = mx.utils.Delegate.create(this, MenuButtonClicked); btnPlay.onPress = mx.utils.Delegate.create(this, PlayButtonClicked); textPopularLabel.text = Language.Transl("shop popular"); textPriceLabel.text = Language.Transl("shop money"); btnPlay.buttonText = Language.Transl("shop butt play"); btnMenu.buttonText = Language.Transl("shop butt menu"); _goods = new Array(ShopGood.GOOD_MAX); _goods = [good0, good1, good2, good3, good4, good5, good6, good7, good8]; var gd; var i = 0; while (i < ShopGood.GOOD_MAX) { gd = _goods[i]; gd.OnClick = mx.utils.Delegate.create(this, GoodClicked); i++; } } function doClose() { if (OnClose != undefined) { OnClose(this); } else { Game.GAMEINSTANCE.OnShopClosed(); } } function PlayButtonClicked() { if (SHOPDISABLED != true) { if ((Helper.SHOW_MOCHIADS == true) && ((((Game.GAMEINSTANCE._current_level % 3) == 0) || (Game.GAMEINSTANCE._current_level == 1)) || (Helper.MOCHI_EVERY_LEVEL == true))) { SHOPDISABLED = true; com.mosesSupposes.fuse.ZigoEngine.setColorByKey(this, "brightness", -50); MochiAd.showInterLevelAd({id:"9d5719ed7edb9420", res:"640x480", ad_finished:doClose}); } else { doClose(); } } } function MenuButtonClicked() { if ((OnMenu != undefined) && (SHOPDISABLED != true)) { OnMenu(this); } } function GoodClicked(good) { if (SHOPDISABLED != true) { if (_good_detail_window != undefined) { _good_detail_window.removeMovieClip(); _good_detail_window = undefined; } _good_detail_window = GoodDetailWindow(attachMovie("GoodDetailWindow", "_good_detail_window", getNextHighestDepth())); _good_detail_window.SetGood(good, _game.upgrades_config, _game.__get__Popularity(), Number(_game.upgrades_config[good.__get__Good()][0]) <= (_game._score - _game._spend_score)); _good_detail_window.OnBack = mx.utils.Delegate.create(this, DetailWindowBackClicked); _good_detail_window.OnBuy = mx.utils.Delegate.create(this, DetailWindowBuyClicked); } } function DetailWindowBackClicked() { if (_good_detail_window != undefined) { _good_detail_window.removeMovieClip(); _good_detail_window = undefined; } } function DetailWindowBuyClicked() { var buyed_good = _good_detail_window.GoodType; DetailWindowBackClicked(); if (_game._available_upgrades[buyed_good] == Game.UPGRADE_UNAVAILABLE) { _game._available_upgrades[buyed_good] = Game.UPGRADE_AVAILABLE; _game._spend_score = _game._spend_score + Number(_game.upgrades_config[buyed_good][0]); BayedGoods.push(buyed_good); Helper.PlaySound("bonus_buy"); } Update(); } function Update() { var cur_popular = 0; cur_popular = cur_popular + (_game._current_level * 5); var goods_config = _game.upgrades_config; var i = 0; while (i < ShopGood.GOOD_MAX) { if (_game._available_upgrades[i] == Game.UPGRADE_AVAILABLE) { cur_popular = cur_popular + Number(goods_config[i][1]); } i++; } _game.__set__Popularity(cur_popular); slider.__set__Value(cur_popular); slider.__set__CursorText(_game.GetMaxChaevie(cur_popular).toString()); slider.__set__CursorValue(_game.GetMaxChaevie(cur_popular)); var gd; var i = 0; while (i < ShopGood.GOOD_MAX) { gd = _goods[i]; gd.__set__Good(i); gd.__set__Price("$ " + goods_config[i][0]); gd.PopularBonus = goods_config[i][1]; gd.RequiredPopular = goods_config[i][2]; gd.__set__Enabled(gd.RequiredPopular <= cur_popular); if (Helper.DEBUG) { gd.__set__Enabled(true); } if (!gd.__get__Enabled()) { gd.__set__Warning((Language.Transl("shop warning1") + gd.RequiredPopular.toString()) + Language.Transl("shop warning2")); } gd.__set__Payed(_game._available_upgrades[i] == Game.UPGRADE_AVAILABLE); i++; } textPopular.text = cur_popular.toString(); textPrice.text = (_game._score - _game._spend_score).toString(); if (textPrice.text == "NaN") { textPrice.text = "0"; } } static var SHOPDISABLED = false; }
Symbol 1428 MovieClip [__Packages.StarsSlider] Frame 0
class StarsSlider extends MovieClip { var ReadOnly, _value, OnValueChanged, mcBeginStars, mcEndStars, mcCursor, getNextHighestDepth, attachMovie, __get__CursorText, __get__CursorValue; function StarsSlider () { super(); if (ReadOnly == undefined) { ReadOnly = false; } Value = (0); } function get Value() { return(_value); } function set Value(value) { _value = Math.floor(Math.max(0, Math.min(100, value))); Update(); if (OnValueChanged != undefined) { OnValueChanged(); } //return(Value); } function Update() { ClearStars(); var star_x = mcBeginStars._x; var x_step = ((mcEndStars._x - mcBeginStars._x) / 100); var i = 0; while (i < Value) { DrawStar(star_x, mcBeginStars._y, 100); star_x = star_x + x_step; i++; } star_x = star_x - x_step; mcCursor._x = star_x; Moneys(mcCursor.mcMoney).Enabled = false; } function DrawStar(x, y, alpha) { var d = getNextHighestDepth(); var mc = attachMovie("BarStar", "darStar" + d, d); mc._x = x; mc._y = y; mc._alpha = alpha; } function ClearStars() { Helper.ClearArray2(_stars); } function set CursorText(value) { TextField(mcCursor.textValue).text = value; //return(__get__CursorText()); } function set CursorValue(value) { Moneys(mcCursor.mcMoney).__set__Value(value); //return(__get__CursorValue()); } var _stars = new Array(); }
Symbol 1429 MovieClip [__Packages.GoodDetailWindow] Frame 0
class GoodDetailWindow extends MovieClip { var btnBack, btnBuy, GoodType, mcGood, textPrice, textRequiredLabel, textTakeLabel, textRequired, textTake, textGoodName, textGoodDescribe, startBarBegin, startBarEnd, getNextHighestDepth, attachMovie, OnBack, OnBuy; function GoodDetailWindow () { super(); btnBack.buttonText = Language.Transl("shop back button"); btnBuy.buttonText = Language.Transl("shop buy button"); btnBack.OnClick = mx.utils.Delegate.create(this, BackClicked); btnBuy.OnClick = mx.utils.Delegate.create(this, BuyClicked); } function SetGood(good, goods_config, current_rep, can_buy) { GoodType = good.Good; mcGood.gotoAndStop(good.__get__Good() + 1); textPrice.text = good.Price; textRequiredLabel.text = Language.Transl("detail require"); textTakeLabel.text = Language.Transl("detail take"); textRequired.text = good.RequiredPopular.toString(); textTake.text = good.PopularBonus.toString(); textGoodName.text = Language.Transl(("good" + good.__get__Good()) + "name"); textGoodDescribe.text = Language.Transl(("good" + good.__get__Good()) + "descr"); btnBuy._visible = can_buy; ClearStars(); var i = 0; var start_x = startBarBegin._x; var start_y = startBarBegin._y; var x_step = ((startBarEnd._x - startBarBegin._x) / (100 / POPULAR_REP_STAR)); while (i < (current_rep / POPULAR_REP_STAR)) { DrawStar(start_x, start_y, 100); start_x = start_x + x_step; i++; } while (i < ((current_rep / POPULAR_REP_STAR) + (good.PopularBonus / POPULAR_REP_STAR))) { DrawStar(start_x, start_y, 50); start_x = start_x + x_step; i++; } } function DrawStar(x, y, alpha) { var d = getNextHighestDepth(); var mc = attachMovie("BarStar", "darStar" + d, d); mc._x = x; mc._y = y; mc._alpha = alpha; } function ClearStars() { Helper.ClearArray2(_stars); } function BackClicked() { if (OnBack != undefined) { OnBack(); } } function BuyClicked() { if (OnBuy != undefined) { OnBuy(); } } static var POPULAR_REP_STAR = 5; var _stars = new Array(); }
Symbol 1430 MovieClip [__Packages.Gorshok] Frame 0
class Gorshok extends MovieClip { var gotoAndStop, progress; function Gorshok () { super(); Progress = (0); } function set Progress(val) { Tracer.trace("Gorshok::Progress=" + val); var fr; if (val < 11) { fr = 1 + ((val / 10) * (FRAME_NUM_MASTER - 1)); } else { fr = FRAME_NUM_EXPERT; } fr = Math.floor(fr); gotoAndStop(fr); //return(Progress); } function get Progress() { return(progress); } static var FRAME_NUM_MASTER = 6; static var FRAME_NUM_EXPERT = 7; }
Symbol 21 MovieClip Frame 1
gotoAndStop (2);
Symbol 23 MovieClip Frame 1
gotoAndStop (2);
Symbol 24 MovieClip [<Orientir>] Frame 1
#initclip 69 Object.registerClass("<Orientir>", Orientir); #endinitclip
Symbol 45 MovieClip [Door] Frame 1
#initclip 57 Object.registerClass("Door", Door); #endinitclip var Opened;
Symbol 45 MovieClip [Door] Frame 16
if (Opened != undefined) { Opened(); } stop();
Symbol 45 MovieClip [Door] Frame 29
stop();
Symbol 60 MovieClip [Gorshok] Frame 1
#initclip 58 Object.registerClass("Gorshok", Gorshok); #endinitclip
Symbol 284 MovieClip [Hero] Frame 1
#initclip 59 Object.registerClass("Hero", Hero); #endinitclip
Symbol 287 MovieClip [PointsAnimation] Frame 60
this.removeMovieClip();
Symbol 293 MovieClip [ButtonStartGame] Frame 1
function Resize() { ResizeField(mcTextNormal); ResizeField(mcTextActive); } function ResizeField(tf) { var form; var h; form = tf.getTextFormat(); form.size++; do { form.size--; var obj = form.getTextExtent(tf.text); h = obj.height; } while (obj.textFieldWidth > 90); tf.setTextFormat(form); tf._y = (-h) / 2; } var buttonText; var OnClick; this.hitArea = mcHint; mcHint._visible = false; mcTextNormal._visible = true; mcTextActive._visible = false; this.onRollOver = function () { mcTextNormal._visible = false; mcTextActive._visible = true; Helper.PlaySound("soundMenuToggle"); gotoAndStop (3); }; this.onRollOut = function () { gotoAndStop (2); mcTextNormal._visible = true; mcTextActive._visible = false; }; this.onPress = function () { Helper.PlaySound("soundMenuHit"); gotoAndStop (4); }; this.onRelease = function () { if (OnClick != undefined) { OnClick(this); } }; Resize(); stop();
Symbol 304 MovieClip [StartLevelWindow] Frame 1
var OnClosed; var Level; var MasterObj; var Popularity;
Symbol 304 MovieClip [StartLevelWindow] Frame 2
strPressAnyKey = Language.Transl("press any key"); textLevel.text = (Language.Transl("day") + " ") + (Level + 1); textMasterObj.text = (Language.Transl("start goal") + " ") + MasterObj; textPopular.text = (Language.Transl("start popular") + " ") + Popularity; btnScreen.onPress = mx.utils.Delegate.create(this, function () { if (OnClosed != undefined) { Helper.PlaySound("soundMenuHit"); OnClosed(); } }); _root.onKeyDown = mx.utils.Delegate.create(this, function () { if (OnClosed != undefined) { Helper.PlaySound("soundMenuHit"); OnClosed(); } }); stop();
Symbol 315 MovieClip [EndLevelWinWindow] Frame 1
var OnClosed; var OnTryAgain; var level; var server_clients; var losted_clients; var trash_toys; var trash_packs; var sales; var master_obj; var expert_obj; var happy_bonus; var total; var ShowNextLevelButton; if (ShowNextLevelButton == undefined) { ShowNextLevelButton = true; } var Winned;
Symbol 315 MovieClip [EndLevelWinWindow] Frame 2
if (Winned) { strTitle = Language.Transl("greeting"); } else { strTitle = Language.Transl("youlose"); } strLevel = (Language.Transl("strLevel") + " ") + (level + 1); strServed = Language.Transl("strServed"); strLosted = Language.Transl("strLosted"); strTToys = Language.Transl("strTToys"); strTPacks = Language.Transl("strTPacks"); strSales = Language.Transl("strSales"); strObjMaster = Language.Transl("strObjMaster"); strObjExpert = Language.Transl("strObjExpert"); strBonus = Language.Transl("strBonus"); strTotal = Language.Transl("strTotal"); textserver_clients.text = server_clients; textlosted_clients.text = losted_clients; texttrash_toys.text = trash_toys; texttrash_packs.text = trash_packs; textsales.text = sales; textmaster_obj.text = master_obj; textexpert_obj.text = expert_obj; texthappy_bonus.text = happy_bonus; texttotal.text = total; textMasterObj.text = MasterObj; textExpertObj.text = ExpertObj; if (Winned) { btnOk.buttonText = Language.Transl("next level"); btnTryAgain._visible = false; if (Game.GAMEINSTANCE._current_level == 4) { btnOk.OnClick = function () { Game.GAMEINSTANCE.showLEMessage(true); }; } else { btnOk.OnClick = mx.utils.Delegate.create(this, function () { if (OnClosed != undefined) { OnClosed(); } }); } } else { btnOk.buttonText = Language.Transl("try again"); btnTryAgain.buttonText = Language.Transl("exit"); btnTryAgain._visible = true; btnOk.OnClick = mx.utils.Delegate.create(this, function () { if (OnClosed != undefined) { OnTryAgain(); } }); btnTryAgain.OnClick = mx.utils.Delegate.create(this, function () { if (OnTryAgain != undefined) { OnClosed(); } }); } btnOk.Resize(); btnTryAgain.Resize(); stop();
Symbol 324 MovieClip [ButtonStartGameN] Frame 1
function Resize() { } function ResizeField(tf) { var form; var h; form = tf.getTextFormat(); form.size++; do { form.size--; var obj = form.getTextExtent(tf.text); h = obj.height; } while (obj.textFieldWidth > 90); tf.setTextFormat(form); tf._y = (obj.textFieldHeight / 2) - (this._height / 2); } var buttonText; var OnClick; this.hitArea = mcHint; mcHint._visible = false; this.onRollOver = function () { Helper.PlaySound("soundMenuToggle"); gotoAndStop (3); }; this.onRollOut = function () { gotoAndStop (2); }; this.onPress = function () { Helper.PlaySound("soundMenuHit"); gotoAndStop (4); }; this.onRelease = function () { if (OnClick != undefined) { OnClick(this); } }; Resize(); stop();
Symbol 330 MovieClip Frame 1
function Resize() { ResizeField(mcTextNormal); ResizeField(mcTextActive); } function ResizeField(tf) { var form; var h; form = tf.getTextFormat(); form.size++; do { form.size--; var obj = form.getTextExtent(tf.text); h = obj.height; } while (obj.textFieldWidth > 90); tf.setTextFormat(form); } var buttonText; var OnClick; this.hitArea = mcHint; mcHint._visible = false; this.onRollOver = function () { Helper.PlaySound("soundMenuToggle"); gotoAndStop (3); }; this.onRollOut = function () { gotoAndStop (2); }; this.onPress = function () { Helper.PlaySound("soundMenuHit"); gotoAndStop (4); }; this.onRelease = function () { if (OnClick != undefined) { OnClick(this); } }; Resize(); stop();
Symbol 336 MovieClip Frame 1
function Resize() { ResizeField(mcTextNormal); ResizeField(mcTextActive); } function ResizeField(tf) { var form; var h; form = tf.getTextFormat(); form.size++; do { form.size--; var obj = form.getTextExtent(tf.text); h = obj.height; } while (obj.textFieldWidth > 90); tf.setTextFormat(form); } var buttonText; var OnClick; this.hitArea = mcHint; mcHint._visible = false; this.onRollOver = function () { Helper.PlaySound("soundMenuToggle"); gotoAndStop (3); }; this.onRollOut = function () { gotoAndStop (2); }; this.onPress = function () { Helper.PlaySound("soundMenuHit"); gotoAndStop (4); }; this.onRelease = function () { if (OnClick != undefined) { OnClick(this); } }; Resize(); stop();
Symbol 337 MovieClip [EndLevelWinWindowTrial] Frame 1
var OnClosed; var OnTryAgain; var OnMenuClick; var OnMoreGames; var level; var server_clients; var losted_clients; var trash_toys; var trash_packs; var sales; var master_obj; var expert_obj; var happy_bonus; var total; var afterScores; var ShowNextLevelButton; if (ShowNextLevelButton == undefined) { ShowNextLevelButton = true; } var Winned;
Symbol 337 MovieClip [EndLevelWinWindowTrial] Frame 2
if (Winned) { strTitle = Language.Transl("greeting"); } else { strTitle = Language.Transl("youlose"); } strLevel = (Language.Transl("strLevel") + " ") + (level + 1); strGetItText = Language.Transl("get it text"); if ((Helper.SHOW_INGAMEADS == false) && (afterScores == true)) { btnOk._visible = false; btnGetIt._y = btnOk._y; } btn_menu._visible = afterScores == true; if (afterScores == true) { btnOk.buttonText = Language.Transl("more games"); btn_menu.buttonText = Language.Transl("menu"); btn_menu.OnClick = mx.utils.Delegate.create(this, function () { if (OnMenuClick != undefined) { OnMenuClick(); } }); } else if (Winned) { btnOk.buttonText = Language.Transl("later"); btnTryAgain._visible = false; } else { btnOk.buttonText = Language.Transl("exit"); btnTryAgain.buttonText = Language.Transl("try again"); btnTryAgain._visible = true; btnTryAgain.OnClick = mx.utils.Delegate.create(this, function () { if (OnTryAgain != undefined) { OnTryAgain(); } }); } if (afterScores == true) { btnOk.OnClick = mx.utils.Delegate.create(this, function () { if (OnMoreGames != undefined) { OnMoreGames(); } }); } else { btnOk.OnClick = mx.utils.Delegate.create(this, function () { if (OnClosed != undefined) { OnClosed(); } }); } if (!ShowNextLevelButton) { btnOk.buttonText = Language.Transl("exit"); } btnGetIt.buttonText = Language.Transl("get it"); btnGetIt.OnClick = function () { Helper.GetIt(); }; stop();
Symbol 339 MovieClip [FullscreenButton] Frame 1
function Show() { } function Hide() { status = 2; } onPress = function () { var nullval = 0; }; var status; var mc; onEnterFrame = function () { switch (status) { case 0 : gotoAndStop(_currentframe + 1); return; case 1 : return; case 2 : gotoAndStop(_currentframe - 1); } }; status = 0; gotoAndStop (2);
Symbol 339 MovieClip [FullscreenButton] Frame 2
if (status == 2) { this.removeMovieClip(); }
Symbol 339 MovieClip [FullscreenButton] Frame 35
status = 1;
Symbol 647 MovieClip [ClientOrder] Frame 1
#initclip 60 Object.registerClass("ClientOrder", ClientOrder); #endinitclip
Symbol 651 MovieClip [Client] Frame 1
#initclip 61 Object.registerClass("Client", Client); #endinitclip
Symbol 716 MovieClip [Moneys] Frame 1
#initclip 62 Object.registerClass("Moneys", Moneys); #endinitclip
Symbol 726 MovieClip Frame 1
var buttonText; var OnClick; this.hitArea = mcHint; mcHint._visible = false; this.onRollOver = function () { Helper.PlaySound("soundMenuToggle"); gotoAndStop (3); }; this.onRollOut = function () { gotoAndStop (2); }; this.onPress = function () { Helper.PlaySound("soundMenuHit"); gotoAndStop (4); }; this.onRelease = function () { if (OnClick != undefined) { OnClick(this); } }; stop();
Symbol 738 MovieClip [StarsSlider] Frame 1
#initclip 63 Object.registerClass("StarsSlider", StarsSlider); #endinitclip
Symbol 773 MovieClip [ShopGood] Frame 1
#initclip 64 Object.registerClass("ShopGood", ShopGood); #endinitclip
Symbol 775 MovieClip [Shop] Frame 1
#initclip 65 Object.registerClass("Shop", Shop); #endinitclip
Symbol 787 MovieClip [GoodDetailWindow] Frame 1
#initclip 66 Object.registerClass("GoodDetailWindow", GoodDetailWindow); #endinitclip
Symbol 808 MovieClip Frame 1
stop(); var Value; var OnValueChanged; if (Value == undefined) { Value = true; } mcAllocator._visible = false; GetValue = function () { return(Value); }; SetValue = function (value, init) { Value = value; gotoAndStop((Value ? 2 : 3)); if (init != true) { if (OnValueChanged != undefined) { OnValueChanged(this); } } }; this.onPress = function () { SetValue(!Value); }; SetValue(Value, true); this.onRollOver = function () { Helper.PlaySound("soundMenuToggle"); mcAllocator._visible = true; }; this.onRollOut = function () { mcAllocator._visible = false; };
Symbol 815 MovieClip [TipsWindow] Frame 1
#initclip 67 Object.registerClass("TipsWindow", TipsWindow); #endinitclip
Symbol 827 MovieClip [mc_ADS] Frame 1
#initclip 68 Object.registerClass("mc_ADS", mc_ADS); #endinitclip
Symbol 842 MovieClip [EndLevelWinWindowLast] Frame 1
var OnClosed; var OnTryAgain; var level; var server_clients; var losted_clients; var trash_toys; var trash_packs; var sales; var master_obj; var expert_obj; var happy_bonus; var total; var ShowNextLevelButton; if (ShowNextLevelButton == undefined) { ShowNextLevelButton = true; } var Winned;
Symbol 842 MovieClip [EndLevelWinWindowLast] Frame 2
if (Winned) { strTitle = Language.Transl("greeting"); } else { strTitle = Language.Transl("youlose"); } strLevel = (Language.Transl("strLevel") + " ") + (level + 1); strServed = Language.Transl("strServed"); strLosted = Language.Transl("strLosted"); strTToys = Language.Transl("strTToys"); strTPacks = Language.Transl("strTPacks"); strSales = Language.Transl("strSales"); strObjMaster = Language.Transl("strObjMaster"); strObjExpert = Language.Transl("strObjExpert"); strBonus = Language.Transl("strBonus"); strTotal = Language.Transl("strTotal"); textserver_clients.text = server_clients; textlosted_clients.text = losted_clients; texttrash_toys.text = trash_toys; texttrash_packs.text = trash_packs; textsales.text = sales; textmaster_obj.text = master_obj; textexpert_obj.text = expert_obj; texthappy_bonus.text = happy_bonus; texttotal.text = total; textMasterObj.text = MasterObj; textExpertObj.text = ExpertObj; if (Winned) { btnOk.buttonText = Language.Transl("next level"); btnTryAgain._visible = false; btnOk.OnClick = mx.utils.Delegate.create(this, function () { if (OnClosed != undefined) { OnClosed(); } }); } else { btnOk.buttonText = Language.Transl("try again"); btnTryAgain.buttonText = Language.Transl("exit"); btnTryAgain._visible = true; btnOk.OnClick = mx.utils.Delegate.create(this, function () { if (OnClosed != undefined) { OnTryAgain(); } }); btnTryAgain.OnClick = mx.utils.Delegate.create(this, function () { if (OnTryAgain != undefined) { OnClosed(); } }); } btnOk.Resize(); btnTryAgain.Resize(); stop();
Symbol 844 MovieClip Frame 1
stop();
Symbol 844 MovieClip Frame 2
Symbol 876 MovieClip Frame 1
stop();
Symbol 907 MovieClip Frame 1
stop(); var Value; var OnValueChanged; if (Value == undefined) { Value = true; } mcAllocator._visible = false; GetValue = function () { return(Value); }; SetValue = function (value) { Value = value; gotoAndStop((Value ? 2 : 3)); if (OnValueChanged != undefined) { OnValueChanged(); } }; this.onPress = function () { SetValue(!Value); }; SetValue(Value); this.onRollOver = function () { Helper.PlaySound("soundMenuToggle"); mcAllocator._visible = true; }; this.onRollOut = function () { mcAllocator._visible = false; };
Symbol 956 MovieClip Frame 72
gotoAndPlay (45);
Symbol 960 MovieClip [Flower] Frame 1
#initclip 87 Object.registerClass("Flower", Flower); #endinitclip
Symbol 963 MovieClip [Picture] Frame 1
#initclip 70 Object.registerClass("Picture", Mebel); #endinitclip
Symbol 973 MovieClip [Aquarium] Frame 1
#initclip 71 Object.registerClass("Aquarium", Mebel); #endinitclip
Symbol 976 MovieClip [Bra] Frame 1
#initclip 72 Object.registerClass("Bra", Mebel); #endinitclip
Symbol 1024 MovieClip [RoomWish] Frame 1
#initclip 73 Object.registerClass("RoomWish", RoomWish); #endinitclip
Symbol 1025 MovieClip [Room] Frame 1
#initclip 74 Object.registerClass("Room", Room); #endinitclip
Symbol 1033 MovieClip [DivanTV] Frame 1
#initclip 75 Object.registerClass("DivanTV", DivanTV); #endinitclip
Symbol 1044 MovieClip [TVSet] Frame 1
#initclip 76 Object.registerClass("TVSet", TVSet); #endinitclip
Symbol 1054 MovieClip [ReceptionTable] Frame 1
#initclip 77 Object.registerClass("ReceptionTable", ReceptionTable); #endinitclip
Symbol 1059 MovieClip [Daily] Frame 1
#initclip 78 Object.registerClass("Daily", Daily); #endinitclip
Symbol 1067 MovieClip [Phone] Frame 1
#initclip 79 Object.registerClass("Phone", Phone); #endinitclip
Symbol 1074 MovieClip [Coffee] Frame 1
#initclip 80 Object.registerClass("Coffee", Coffee); #endinitclip
Symbol 1311 MovieClip [Maid] Frame 1
#initclip 81 Object.registerClass("Maid", Maid); #endinitclip
Symbol 1314 MovieClip [KitchenWallMC] Frame 1
#initclip 82 Object.registerClass("KitchenWallMC", KitchenWallMC); #endinitclip
Symbol 1324 MovieClip [Table] Frame 1
#initclip 83 Object.registerClass("Table", Table); #endinitclip
Symbol 1329 MovieClip Frame 1
var buttonText; var OnClick; this.hitArea = mcHint; mcHint._visible = false; this.onRollOver = function () { gotoAndStop (3); }; this.onRollOut = function () { gotoAndStop (2); }; this.onPress = function () { Helper.PlaySound("soundMenuHit"); gotoAndStop (4); }; this.onRelease = function () { if (OnClick != undefined) { OnClick(this); } }; stop();
Symbol 1340 MovieClip [Clock] Frame 1
#initclip 84 Object.registerClass("Clock", Clock); #endinitclip
Symbol 1349 MovieClip [SuccessBar] Frame 1
#initclip 85 Object.registerClass("SuccessBar", SuccessBar); #endinitclip
Symbol 1364 MovieClip [Game] Frame 1
#initclip 86 Object.registerClass("Game", Game); #endinitclip
Symbol 1364 MovieClip [Game] Frame 2
this.Launch(); stop();

Library Items

Symbol 1 Bitmap [testads]
Symbol 2 GraphicUsed by:3
Symbol 3 MovieClipUses:2Used by:9 293 324 330 336 716 726 960 1329 1349
Symbol 4 BitmapUsed by:5
Symbol 5 GraphicUses:4Used by:6 9
Symbol 6 MovieClipUses:5Used by:9
Symbol 7 BitmapUsed by:8
Symbol 8 GraphicUses:7Used by:9
Symbol 9 MovieClip [Slider]Uses:3 6 8 5Used by:Timeline
Symbol 10 BitmapUsed by:11
Symbol 11 GraphicUses:10Used by:Timeline
Symbol 12 BitmapUsed by:13
Symbol 13 GraphicUses:12Used by:14
Symbol 14 MovieClipUses:13Used by:Timeline
Symbol 15 FontUsed by:16 66 285 286 288 289 300 301 302 303 305 306 307 308 309 310 311 312 313 314 318 321 327 333 340 652 720 725 728 729 736 740 768 769 774 778 779 780 783 784 785 786 790 791 795 796 799 809 810 832 833 834 835 836 837 838 839 840 841 845 894 895 897 900 901 908 911 912 913 915 1327 1328 1330 1333 1341 1342 1347 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374
Symbol 16 EditableTextUses:15Used by:Timeline
Symbol 1375 MovieClip [__Packages.Tracer]
Symbol 1376 MovieClip [__Packages.mx.utils.Delegate]
Symbol 1377 MovieClip [__Packages.Helper]
Symbol 1378 MovieClip [__Packages.StaticXML]
Symbol 1379 MovieClip [__Packages.LevelsConfig]
Symbol 1380 MovieClip [__Packages.Hashtable]
Symbol 1381 MovieClip [__Packages.Language]
Symbol 1382 MovieClip [__Packages.MochiAd]
Symbol 1383 MovieClip [__Packages.Game]
Symbol 1384 MovieClip [__Packages.Map]
Symbol 1385 MovieClip [__Packages.MapObject]
Symbol 1386 MovieClip [__Packages.Hero]
Symbol 1387 MovieClip [__Packages.Point]
Symbol 1388 MovieClip [__Packages.Toy]
Symbol 1389 MovieClip [__Packages.Orientir]
Symbol 1390 MovieClip [__Packages.Package]
Symbol 1391 MovieClip [__Packages.Clock]
Symbol 1392 MovieClip [__Packages.Timer]
Symbol 1393 MovieClip [__Packages.Mebel]
Symbol 1394 MovieClip [__Packages.Bot]
Symbol 1395 MovieClip [__Packages.Pathfinding]
Symbol 1396 MovieClip [__Packages.Client]
Symbol 1397 MovieClip [__Packages.ClientOrder]
Symbol 1398 MovieClip [__Packages.Room]
Symbol 1399 MovieClip [__Packages.RoomWish]
Symbol 1400 MovieClip [__Packages.TipsWindow]
Symbol 1401 MovieClip [__Packages.Fx]
Symbol 1402 MovieClip [__Packages.com.mosesSupposes.fuse.FuseKitCommon]
Symbol 1403 MovieClip [__Packages.com.mosesSupposes.fuse.ZigoEngine]
Symbol 1404 MovieClip [__Packages.com.mosesSupposes.fuse.ZManager]
Symbol 1405 MovieClip [__Packages.mx.transitions.easing.None]
Symbol 1406 MovieClip [__Packages.mx.transitions.easing.Regular]
Symbol 1407 MovieClip [__Packages.mx.transitions.easing.Elastic]
Symbol 1408 MovieClip [__Packages.com.mosesSupposes.fuse.Fuse]
Symbol 1409 MovieClip [__Packages.mx.events.EventDispatcher]
Symbol 1410 MovieClip [__Packages.com.mosesSupposes.fuse.FuseItem]
Symbol 1411 MovieClip [__Packages.DivanTV]
Symbol 1412 MovieClip [__Packages.ReceptionTable]
Symbol 1413 MovieClip [__Packages.Moneys]
Symbol 1414 MovieClip [__Packages.TVSet]
Symbol 1415 MovieClip [__Packages.Table]
Symbol 1416 MovieClip [__Packages.Daily]
Symbol 1417 MovieClip [__Packages.Phone]
Symbol 1418 MovieClip [__Packages.Coffee]
Symbol 1419 MovieClip [__Packages.Door]
Symbol 1420 MovieClip [__Packages.KitchenWallMC]
Symbol 1421 MovieClip [__Packages.Flower]
Symbol 1422 MovieClip [__Packages.Maid]
Symbol 1423 MovieClip [__Packages.SuccessBar]
Symbol 1424 MovieClip [__Packages.com.mosesSupposes.fuse.PennerEasing]
Symbol 1425 MovieClip [__Packages.ShopGood]
Symbol 1426 MovieClip [__Packages.mc_ADS]
Symbol 1427 MovieClip [__Packages.Shop]
Symbol 1428 MovieClip [__Packages.StarsSlider]
Symbol 1429 MovieClip [__Packages.GoodDetailWindow]
Symbol 1430 MovieClip [__Packages.Gorshok]
Symbol 17 MovieClipUsed by:65
Symbol 18 BitmapUsed by:19
Symbol 19 GraphicUses:18Used by:45
Symbol 20 GraphicUsed by:21
Symbol 21 MovieClipUses:20Used by:45 283 284 844 877 1033 1324
Symbol 22 GraphicUsed by:23
Symbol 23 MovieClipUses:22Used by:24 738 787 844 877 983  Timeline
Symbol 24 MovieClip [<Orientir>]Uses:23Used by:45 283 629 651 844 1054 1364
Symbol 25 GraphicUsed by:26
Symbol 26 MovieClipUses:25Used by:45 1059
Symbol 27 BitmapUsed by:28
Symbol 28 GraphicUses:27Used by:45
Symbol 29 BitmapUsed by:30
Symbol 30 GraphicUses:29Used by:45
Symbol 31 BitmapUsed by:32
Symbol 32 GraphicUses:31Used by:45
Symbol 33 BitmapUsed by:34
Symbol 34 GraphicUses:33Used by:45
Symbol 35 BitmapUsed by:36
Symbol 36 GraphicUses:35Used by:45
Symbol 37 BitmapUsed by:38
Symbol 38 GraphicUses:37Used by:45
Symbol 39 BitmapUsed by:40
Symbol 40 GraphicUses:39Used by:45
Symbol 41 BitmapUsed by:42
Symbol 42 GraphicUses:41Used by:45
Symbol 43 BitmapUsed by:44
Symbol 44 GraphicUses:43Used by:45
Symbol 45 MovieClip [Door]Uses:19 21 24 26 28 30 32 34 36 38 40 42 44Used by:65 1364
Symbol 46 BitmapUsed by:47
Symbol 47 GraphicUses:46Used by:60
Symbol 48 BitmapUsed by:49
Symbol 49 GraphicUses:48Used by:60
Symbol 50 BitmapUsed by:51
Symbol 51 GraphicUses:50Used by:60
Symbol 52 BitmapUsed by:53
Symbol 53 GraphicUses:52Used by:60
Symbol 54 BitmapUsed by:55
Symbol 55 GraphicUses:54Used by:60
Symbol 56 BitmapUsed by:57
Symbol 57 GraphicUses:56Used by:60
Symbol 58 BitmapUsed by:59
Symbol 59 GraphicUses:58Used by:60
Symbol 60 MovieClip [Gorshok]Uses:47 49 51 53 55 57 59Used by:65
Symbol 61 BitmapUsed by:62
Symbol 62 GraphicUses:61Used by:65
Symbol 63 GraphicUsed by:64
Symbol 64 MovieClipUses:63Used by:65 1364
Symbol 65 MovieClipUses:17 45 60 62 64Used by:877
Symbol 66 EditableTextUses:15Used by:877
Symbol 67 BitmapUsed by:68
Symbol 68 GraphicUses:67Used by:283
Symbol 69 BitmapUsed by:70
Symbol 70 GraphicUses:69Used by:82
Symbol 71 BitmapUsed by:72
Symbol 72 GraphicUses:71Used by:82
Symbol 73 BitmapUsed by:74 75
Symbol 74 GraphicUses:73Used by:82
Symbol 75 GraphicUses:73Used by:82
Symbol 76 BitmapUsed by:77 81
Symbol 77 GraphicUses:76Used by:82
Symbol 78 BitmapUsed by:79 80
Symbol 79 GraphicUses:78Used by:82
Symbol 80 GraphicUses:78Used by:82
Symbol 81 GraphicUses:76Used by:82
Symbol 82 MovieClipUses:70 72 74 75 77 79 80 81Used by:283
Symbol 83 BitmapUsed by:84
Symbol 84 GraphicUses:83Used by:115
Symbol 85 BitmapUsed by:86
Symbol 86 GraphicUses:85Used by:115
Symbol 87 BitmapUsed by:88
Symbol 88 GraphicUses:87Used by:115
Symbol 89 BitmapUsed by:90
Symbol 90 GraphicUses:89Used by:115
Symbol 91 BitmapUsed by:92
Symbol 92 GraphicUses:91Used by:115
Symbol 93 BitmapUsed by:94
Symbol 94 GraphicUses:93Used by:115
Symbol 95 BitmapUsed by:96
Symbol 96 GraphicUses:95Used by:115
Symbol 97 BitmapUsed by:98
Symbol 98 GraphicUses:97Used by:115
Symbol 99 BitmapUsed by:100
Symbol 100 GraphicUses:99Used by:115
Symbol 101 BitmapUsed by:102
Symbol 102 GraphicUses:101Used by:115
Symbol 103 BitmapUsed by:104
Symbol 104 GraphicUses:103Used by:115
Symbol 105 BitmapUsed by:106
Symbol 106 GraphicUses:105Used by:115
Symbol 107 BitmapUsed by:108
Symbol 108 GraphicUses:107Used by:115
Symbol 109 BitmapUsed by:110
Symbol 110 GraphicUses:109Used by:115
Symbol 111 BitmapUsed by:112
Symbol 112 GraphicUses:111Used by:115
Symbol 113 BitmapUsed by:114
Symbol 114 GraphicUses:113Used by:115
Symbol 115 MovieClipUses:84 86 88 90 92 94 96 98 100 102 104 106 108 110 112 114Used by:283
Symbol 116 BitmapUsed by:117
Symbol 117 GraphicUses:116Used by:148
Symbol 118 BitmapUsed by:119
Symbol 119 GraphicUses:118Used by:148
Symbol 120 BitmapUsed by:121
Symbol 121 GraphicUses:120Used by:148
Symbol 122 BitmapUsed by:123
Symbol 123 GraphicUses:122Used by:148
Symbol 124 BitmapUsed by:125
Symbol 125 GraphicUses:124Used by:148
Symbol 126 BitmapUsed by:127
Symbol 127 GraphicUses:126Used by:148
Symbol 128 BitmapUsed by:129
Symbol 129 GraphicUses:128Used by:148
Symbol 130 BitmapUsed by:131
Symbol 131 GraphicUses:130Used by:148
Symbol 132 BitmapUsed by:133
Symbol 133 GraphicUses:132Used by:148
Symbol 134 BitmapUsed by:135
Symbol 135 GraphicUses:134Used by:148
Symbol 136 BitmapUsed by:137
Symbol 137 GraphicUses:136Used by:148
Symbol 138 BitmapUsed by:139
Symbol 139 GraphicUses:138Used by:148
Symbol 140 BitmapUsed by:141
Symbol 141 GraphicUses:140Used by:148
Symbol 142 BitmapUsed by:143
Symbol 143 GraphicUses:142Used by:148
Symbol 144 BitmapUsed by:145
Symbol 145 GraphicUses:144Used by:148
Symbol 146 BitmapUsed by:147
Symbol 147 GraphicUses:146Used by:148
Symbol 148 MovieClipUses:117 119 121 123 125 127 129 131 133 135 137 139 141 143 145 147Used by:283
Symbol 149 BitmapUsed by:150
Symbol 150 GraphicUses:149Used by:181
Symbol 151 BitmapUsed by:152
Symbol 152 GraphicUses:151Used by:181
Symbol 153 BitmapUsed by:154
Symbol 154 GraphicUses:153Used by:181
Symbol 155 BitmapUsed by:156
Symbol 156 GraphicUses:155Used by:181
Symbol 157 BitmapUsed by:158
Symbol 158 GraphicUses:157Used by:181
Symbol 159 BitmapUsed by:160
Symbol 160 GraphicUses:159Used by:181
Symbol 161 BitmapUsed by:162
Symbol 162 GraphicUses:161Used by:181
Symbol 163 BitmapUsed by:164
Symbol 164 GraphicUses:163Used by:181
Symbol 165 BitmapUsed by:166
Symbol 166 GraphicUses:165Used by:181
Symbol 167 BitmapUsed by:168
Symbol 168 GraphicUses:167Used by:181
Symbol 169 BitmapUsed by:170
Symbol 170 GraphicUses:169Used by:181
Symbol 171 BitmapUsed by:172
Symbol 172 GraphicUses:171Used by:181
Symbol 173 BitmapUsed by:174
Symbol 174 GraphicUses:173Used by:181
Symbol 175 BitmapUsed by:176
Symbol 176 GraphicUses:175Used by:181
Symbol 177 BitmapUsed by:178
Symbol 178 GraphicUses:177Used by:181
Symbol 179 BitmapUsed by:180
Symbol 180 GraphicUses:179Used by:181
Symbol 181 MovieClipUses:150 152 154 156 158 160 162 164 166 168 170 172 174 176 178 180Used by:283
Symbol 182 BitmapUsed by:183
Symbol 183 GraphicUses:182Used by:283
Symbol 184 BitmapUsed by:185
Symbol 185 GraphicUses:184Used by:216
Symbol 186 BitmapUsed by:187
Symbol 187 GraphicUses:186Used by:216
Symbol 188 BitmapUsed by:189
Symbol 189 GraphicUses:188Used by:216
Symbol 190 BitmapUsed by:191
Symbol 191 GraphicUses:190Used by:216
Symbol 192 BitmapUsed by:193
Symbol 193 GraphicUses:192Used by:216
Symbol 194 BitmapUsed by:195
Symbol 195 GraphicUses:194Used by:216
Symbol 196 BitmapUsed by:197
Symbol 197 GraphicUses:196Used by:216
Symbol 198 BitmapUsed by:199
Symbol 199 GraphicUses:198Used by:216
Symbol 200 BitmapUsed by:201
Symbol 201 GraphicUses:200Used by:216
Symbol 202 BitmapUsed by:203
Symbol 203 GraphicUses:202Used by:216
Symbol 204 BitmapUsed by:205
Symbol 205 GraphicUses:204Used by:216
Symbol 206 BitmapUsed by:207
Symbol 207 GraphicUses:206Used by:216
Symbol 208 BitmapUsed by:209
Symbol 209 GraphicUses:208Used by:216
Symbol 210 BitmapUsed by:211
Symbol 211 GraphicUses:210Used by:216
Symbol 212 BitmapUsed by:213
Symbol 213 GraphicUses:212Used by:216
Symbol 214 BitmapUsed by:215
Symbol 215 GraphicUses:214Used by:216
Symbol 216 MovieClipUses:185 187 189 191 193 195 197 199 201 203 205 207 209 211 213 215Used by:283
Symbol 217 BitmapUsed by:218
Symbol 218 GraphicUses:217Used by:249
Symbol 219 BitmapUsed by:220
Symbol 220 GraphicUses:219Used by:249
Symbol 221 BitmapUsed by:222
Symbol 222 GraphicUses:221Used by:249
Symbol 223 BitmapUsed by:224
Symbol 224 GraphicUses:223Used by:249
Symbol 225 BitmapUsed by:226
Symbol 226 GraphicUses:225Used by:249
Symbol 227 BitmapUsed by:228
Symbol 228 GraphicUses:227Used by:249
Symbol 229 BitmapUsed by:230
Symbol 230 GraphicUses:229Used by:249
Symbol 231 BitmapUsed by:232
Symbol 232 GraphicUses:231Used by:249
Symbol 233 BitmapUsed by:234
Symbol 234 GraphicUses:233Used by:249
Symbol 235 BitmapUsed by:236
Symbol 236 GraphicUses:235Used by:249
Symbol 237 BitmapUsed by:238
Symbol 238 GraphicUses:237Used by:249
Symbol 239 BitmapUsed by:240
Symbol 240 GraphicUses:239Used by:249
Symbol 241 BitmapUsed by:242
Symbol 242 GraphicUses:241Used by:249
Symbol 243 BitmapUsed by:244
Symbol 244 GraphicUses:243Used by:249
Symbol 245 BitmapUsed by:246
Symbol 246 GraphicUses:245Used by:249
Symbol 247 BitmapUsed by:248
Symbol 248 GraphicUses:247Used by:249
Symbol 249 MovieClipUses:218 220 222 224 226 228 230 232 234 236 238 240 242 244 246 248Used by:283
Symbol 250 BitmapUsed by:251
Symbol 251 GraphicUses:250Used by:282
Symbol 252 BitmapUsed by:253
Symbol 253 GraphicUses:252Used by:282
Symbol 254 BitmapUsed by:255
Symbol 255 GraphicUses:254Used by:282
Symbol 256 BitmapUsed by:257
Symbol 257 GraphicUses:256Used by:282
Symbol 258 BitmapUsed by:259
Symbol 259 GraphicUses:258Used by:282
Symbol 260 BitmapUsed by:261
Symbol 261 GraphicUses:260Used by:282
Symbol 262 BitmapUsed by:263
Symbol 263 GraphicUses:262Used by:282
Symbol 264 BitmapUsed by:265
Symbol 265 GraphicUses:264Used by:282
Symbol 266 BitmapUsed by:267
Symbol 267 GraphicUses:266Used by:282
Symbol 268 BitmapUsed by:269
Symbol 269 GraphicUses:268Used by:282
Symbol 270 BitmapUsed by:271
Symbol 271 GraphicUses:270Used by:282
Symbol 272 BitmapUsed by:273
Symbol 273 GraphicUses:272Used by:282
Symbol 274 BitmapUsed by:275
Symbol 275 GraphicUses:274Used by:282
Symbol 276 BitmapUsed by:277
Symbol 277 GraphicUses:276Used by:282
Symbol 278 BitmapUsed by:279
Symbol 279 GraphicUses:278Used by:282
Symbol 280 BitmapUsed by:281
Symbol 281 GraphicUses:280Used by:282
Symbol 282 MovieClipUses:251 253 255 257 259 261 263 265 267 269 271 273 275 277 279 281Used by:283
Symbol 283 MovieClipUses:68 21 82 115 148 181 183 24 216 249 282Used by:284
Symbol 284 MovieClip [Hero]Uses:283 21Used by:844
Symbol 285 EditableTextUses:15Used by:287
Symbol 286 EditableTextUses:15Used by:287
Symbol 287 MovieClip [PointsAnimation]Uses:285 286Used by:844
Symbol 288 EditableTextUses:15Used by:293
Symbol 289 EditableTextUses:15Used by:293
Symbol 290 BitmapUsed by:292 719
Symbol 291 BitmapUsed by:292 719
Symbol 292 GraphicUses:290 291Used by:293
Symbol 293 MovieClip [ButtonStartGame]Uses:3 288 289 292Used by:315 842 844  Timeline
Symbol 294 GraphicUsed by:295 338
Symbol 295 ButtonUses:294Used by:304 775 787 815 1364  Timeline
Symbol 296 GraphicUsed by:297
Symbol 297 MovieClipUses:296Used by:304 315 842  Timeline
Symbol 298 BitmapUsed by:299
Symbol 299 GraphicUses:298Used by:304
Symbol 300 EditableTextUses:15Used by:304
Symbol 301 EditableTextUses:15Used by:304
Symbol 302 EditableTextUses:15Used by:304
Symbol 303 EditableTextUses:15Used by:304
Symbol 304 MovieClip [StartLevelWindow]Uses:295 297 299 300 301 302 303Used by:844
Symbol 305 EditableTextUses:15Used by:315
Symbol 306 EditableTextUses:15Used by:315
Symbol 307 EditableTextUses:15Used by:315
Symbol 308 EditableTextUses:15Used by:315
Symbol 309 EditableTextUses:15Used by:315
Symbol 310 EditableTextUses:15Used by:315
Symbol 311 EditableTextUses:15Used by:315
Symbol 312 EditableTextUses:15Used by:315
Symbol 313 EditableTextUses:15Used by:315
Symbol 314 EditableTextUses:15Used by:315
Symbol 315 MovieClip [EndLevelWinWindow]Uses:297 293 305 306 307 308 309 310 311 312 313 314Used by:844
Symbol 316 BitmapUsed by:317
Symbol 317 GraphicUses:316Used by:337
Symbol 318 EditableTextUses:15Used by:337
Symbol 319 BitmapUsed by:320
Symbol 320 GraphicUses:319Used by:324
Symbol 321 EditableTextUses:15Used by:324
Symbol 322 BitmapUsed by:323
Symbol 323 GraphicUses:322Used by:324
Symbol 324 MovieClip [ButtonStartGameN]Uses:3 320 321 323Used by:337
Symbol 325 BitmapUsed by:326
Symbol 326 GraphicUses:325Used by:330
Symbol 327 EditableTextUses:15Used by:330
Symbol 328 BitmapUsed by:329
Symbol 329 GraphicUses:328Used by:330
Symbol 330 MovieClipUses:3 326 327 329Used by:337
Symbol 331 BitmapUsed by:332
Symbol 332 GraphicUses:331Used by:336
Symbol 333 EditableTextUses:15Used by:336
Symbol 334 BitmapUsed by:335
Symbol 335 GraphicUses:334Used by:336
Symbol 336 MovieClipUses:3 332 333 335Used by:337
Symbol 337 MovieClip [EndLevelWinWindowTrial]Uses:317 318 324 330 336Used by:844
Symbol 338 MovieClipUses:294Used by:339  Timeline
Symbol 339 MovieClip [FullscreenButton]Uses:338Used by:844
Symbol 340 EditableTextUses:15Used by:844
Symbol 341 BitmapUsed by:342
Symbol 342 GraphicUses:341Used by:343
Symbol 343 MovieClip [KeysCursor]Uses:342Used by:844
Symbol 344 GraphicUsed by:345
Symbol 345 MovieClipUses:344Used by:651
Symbol 346 BitmapUsed by:347
Symbol 347 GraphicUses:346Used by:629
Symbol 348 BitmapUsed by:349
Symbol 349 GraphicUses:348Used by:380
Symbol 350 BitmapUsed by:351
Symbol 351 GraphicUses:350Used by:380
Symbol 352 BitmapUsed by:353
Symbol 353 GraphicUses:352Used by:380
Symbol 354 BitmapUsed by:355
Symbol 355 GraphicUses:354Used by:380
Symbol 356 BitmapUsed by:357
Symbol 357 GraphicUses:356Used by:380
Symbol 358 BitmapUsed by:359
Symbol 359 GraphicUses:358Used by:380
Symbol 360 BitmapUsed by:361
Symbol 361 GraphicUses:360Used by:380
Symbol 362 BitmapUsed by:363
Symbol 363 GraphicUses:362Used by:380
Symbol 364 BitmapUsed by:365
Symbol 365 GraphicUses:364Used by:380
Symbol 366 BitmapUsed by:367
Symbol 367 GraphicUses:366Used by:380
Symbol 368 BitmapUsed by:369
Symbol 369 GraphicUses:368Used by:380
Symbol 370 BitmapUsed by:371
Symbol 371 GraphicUses:370Used by:380
Symbol 372 BitmapUsed by:373
Symbol 373 GraphicUses:372Used by:380
Symbol 374 BitmapUsed by:375
Symbol 375 GraphicUses:374Used by:380
Symbol 376 BitmapUsed by:377
Symbol 377 GraphicUses:376Used by:380
Symbol 378 BitmapUsed by:379
Symbol 379 GraphicUses:378Used by:380
Symbol 380 MovieClipUses:349 351 353 355 357 359 361 363 365 367 369 371 373 375 377 379Used by:629
Symbol 381 BitmapUsed by:382
Symbol 382 GraphicUses:381Used by:413
Symbol 383 BitmapUsed by:384
Symbol 384 GraphicUses:383Used by:413
Symbol 385 BitmapUsed by:386
Symbol 386 GraphicUses:385Used by:413
Symbol 387 BitmapUsed by:388
Symbol 388 GraphicUses:387Used by:413
Symbol 389 BitmapUsed by:390
Symbol 390 GraphicUses:389Used by:413
Symbol 391 BitmapUsed by:392
Symbol 392 GraphicUses:391Used by:413
Symbol 393 BitmapUsed by:394
Symbol 394 GraphicUses:393Used by:413
Symbol 395 BitmapUsed by:396
Symbol 396 GraphicUses:395Used by:413
Symbol 397 BitmapUsed by:398
Symbol 398 GraphicUses:397Used by:413
Symbol 399 BitmapUsed by:400
Symbol 400 GraphicUses:399Used by:413
Symbol 401 BitmapUsed by:402
Symbol 402 GraphicUses:401Used by:413
Symbol 403 BitmapUsed by:404
Symbol 404 GraphicUses:403Used by:413
Symbol 405 BitmapUsed by:406
Symbol 406 GraphicUses:405Used by:413
Symbol 407 BitmapUsed by:408
Symbol 408 GraphicUses:407Used by:413
Symbol 409 BitmapUsed by:410
Symbol 410 GraphicUses:409Used by:413
Symbol 411 BitmapUsed by:412
Symbol 412 GraphicUses:411Used by:413
Symbol 413 MovieClipUses:382 384 386 388 390 392 394 396 398 400 402 404 406 408 410 412Used by:629
Symbol 414 BitmapUsed by:415
Symbol 415 GraphicUses:414Used by:446
Symbol 416 BitmapUsed by:417
Symbol 417 GraphicUses:416Used by:446
Symbol 418 BitmapUsed by:419
Symbol 419 GraphicUses:418Used by:446
Symbol 420 BitmapUsed by:421
Symbol 421 GraphicUses:420Used by:446
Symbol 422 BitmapUsed by:423
Symbol 423 GraphicUses:422Used by:446
Symbol 424 BitmapUsed by:425
Symbol 425 GraphicUses:424Used by:446
Symbol 426 BitmapUsed by:427
Symbol 427 GraphicUses:426Used by:446
Symbol 428 BitmapUsed by:429
Symbol 429 GraphicUses:428Used by:446
Symbol 430 BitmapUsed by:431
Symbol 431 GraphicUses:430Used by:446
Symbol 432 BitmapUsed by:433
Symbol 433 GraphicUses:432Used by:446
Symbol 434 BitmapUsed by:435
Symbol 435 GraphicUses:434Used by:446
Symbol 436 BitmapUsed by:437
Symbol 437 GraphicUses:436Used by:446
Symbol 438 BitmapUsed by:439
Symbol 439 GraphicUses:438Used by:446
Symbol 440 BitmapUsed by:441
Symbol 441 GraphicUses:440Used by:446
Symbol 442 BitmapUsed by:443
Symbol 443 GraphicUses:442Used by:446
Symbol 444 BitmapUsed by:445
Symbol 445 GraphicUses:444Used by:446
Symbol 446 MovieClipUses:415 417 419 421 423 425 427 429 431 433 435 437 439 441 443 445Used by:629
Symbol 447 BitmapUsed by:449
Symbol 448 BitmapUsed by:449 450
Symbol 449 GraphicUses:447 448Used by:629
Symbol 450 GraphicUses:448Used by:629
Symbol 451 BitmapUsed by:452
Symbol 452 GraphicUses:451Used by:467
Symbol 453 BitmapUsed by:454
Symbol 454 GraphicUses:453Used by:467
Symbol 455 BitmapUsed by:456
Symbol 456 GraphicUses:455Used by:467
Symbol 457 BitmapUsed by:458
Symbol 458 GraphicUses:457Used by:467
Symbol 459 BitmapUsed by:460
Symbol 460 GraphicUses:459Used by:467
Symbol 461 BitmapUsed by:462
Symbol 462 GraphicUses:461Used by:467
Symbol 463 BitmapUsed by:464
Symbol 464 GraphicUses:463Used by:467
Symbol 465 BitmapUsed by:466
Symbol 466 GraphicUses:465Used by:467
Symbol 467 MovieClipUses:452 454 456 458 460 462 464 466Used by:629
Symbol 468 BitmapUsed by:469
Symbol 469 GraphicUses:468Used by:486
Symbol 470 BitmapUsed by:471
Symbol 471 GraphicUses:470Used by:486
Symbol 472 BitmapUsed by:473
Symbol 473 GraphicUses:472Used by:486
Symbol 474 BitmapUsed by:475
Symbol 475 GraphicUses:474Used by:486
Symbol 476 BitmapUsed by:477
Symbol 477 GraphicUses:476Used by:486
Symbol 478 BitmapUsed by:479
Symbol 479 GraphicUses:478Used by:486
Symbol 480 BitmapUsed by:481
Symbol 481 GraphicUses:480Used by:486
Symbol 482 BitmapUsed by:483
Symbol 483 GraphicUses:482Used by:486
Symbol 484 BitmapUsed by:485
Symbol 485 GraphicUses:484Used by:486
Symbol 486 MovieClipUses:469 471 473 475 477 479 481 483 485Used by:629
Symbol 487 BitmapUsed by:488
Symbol 488 GraphicUses:487Used by:629
Symbol 489 BitmapUsed by:490
Symbol 490 GraphicUses:489Used by:521
Symbol 491 BitmapUsed by:492
Symbol 492 GraphicUses:491Used by:521
Symbol 493 BitmapUsed by:494
Symbol 494 GraphicUses:493Used by:521
Symbol 495 BitmapUsed by:496
Symbol 496 GraphicUses:495Used by:521
Symbol 497 BitmapUsed by:498
Symbol 498 GraphicUses:497Used by:521
Symbol 499 BitmapUsed by:500
Symbol 500 GraphicUses:499Used by:521
Symbol 501 BitmapUsed by:502
Symbol 502 GraphicUses:501Used by:521
Symbol 503 BitmapUsed by:504
Symbol 504 GraphicUses:503Used by:521
Symbol 505 BitmapUsed by:506
Symbol 506 GraphicUses:505Used by:521
Symbol 507 BitmapUsed by:508
Symbol 508 GraphicUses:507Used by:521
Symbol 509 BitmapUsed by:510
Symbol 510 GraphicUses:509Used by:521
Symbol 511 BitmapUsed by:512
Symbol 512 GraphicUses:511Used by:521
Symbol 513 BitmapUsed by:514
Symbol 514 GraphicUses:513Used by:521
Symbol 515 BitmapUsed by:516
Symbol 516 GraphicUses:515Used by:521
Symbol 517 BitmapUsed by:518
Symbol 518 GraphicUses:517Used by:521
Symbol 519 BitmapUsed by:520
Symbol 520 GraphicUses:519Used by:521
Symbol 521 MovieClipUses:490 492 494 496 498 500 502 504 506 508 510 512 514 516 518 520Used by:629
Symbol 522 BitmapUsed by:523
Symbol 523 GraphicUses:522Used by:554
Symbol 524 BitmapUsed by:525
Symbol 525 GraphicUses:524Used by:554
Symbol 526 BitmapUsed by:527
Symbol 527 GraphicUses:526Used by:554
Symbol 528 BitmapUsed by:529
Symbol 529 GraphicUses:528Used by:554
Symbol 530 BitmapUsed by:531
Symbol 531 GraphicUses:530Used by:554
Symbol 532 BitmapUsed by:533
Symbol 533 GraphicUses:532Used by:554
Symbol 534 BitmapUsed by:535
Symbol 535 GraphicUses:534Used by:554
Symbol 536 BitmapUsed by:537
Symbol 537 GraphicUses:536Used by:554
Symbol 538 BitmapUsed by:539
Symbol 539 GraphicUses:538Used by:554
Symbol 540 BitmapUsed by:541
Symbol 541 GraphicUses:540Used by:554
Symbol 542 BitmapUsed by:543
Symbol 543 GraphicUses:542Used by:554
Symbol 544 BitmapUsed by:545
Symbol 545 GraphicUses:544Used by:554
Symbol 546 BitmapUsed by:547
Symbol 547 GraphicUses:546Used by:554
Symbol 548 BitmapUsed by:549
Symbol 549 GraphicUses:548Used by:554
Symbol 550 BitmapUsed by:551
Symbol 551 GraphicUses:550Used by:554
Symbol 552 BitmapUsed by:553
Symbol 553 GraphicUses:552Used by:554
Symbol 554 MovieClipUses:523 525 527 529 531 533 535 537 539 541 543 545 547 549 551 553Used by:629
Symbol 555 BitmapUsed by:556
Symbol 556 GraphicUses:555Used by:587
Symbol 557 BitmapUsed by:558
Symbol 558 GraphicUses:557Used by:587
Symbol 559 BitmapUsed by:560
Symbol 560 GraphicUses:559Used by:587
Symbol 561 BitmapUsed by:562
Symbol 562 GraphicUses:561Used by:587
Symbol 563 BitmapUsed by:564
Symbol 564 GraphicUses:563Used by:587
Symbol 565 BitmapUsed by:566
Symbol 566 GraphicUses:565Used by:587
Symbol 567 BitmapUsed by:568
Symbol 568 GraphicUses:567Used by:587
Symbol 569 BitmapUsed by:570
Symbol 570 GraphicUses:569Used by:587
Symbol 571 BitmapUsed by:572
Symbol 572 GraphicUses:571Used by:587
Symbol 573 BitmapUsed by:574
Symbol 574 GraphicUses:573Used by:587
Symbol 575 BitmapUsed by:576
Symbol 576 GraphicUses:575Used by:587
Symbol 577 BitmapUsed by:578
Symbol 578 GraphicUses:577Used by:587
Symbol 579 BitmapUsed by:580
Symbol 580 GraphicUses:579Used by:587
Symbol 581 BitmapUsed by:582
Symbol 582 GraphicUses:581Used by:587
Symbol 583 BitmapUsed by:584
Symbol 584 GraphicUses:583Used by:587
Symbol 585 BitmapUsed by:586
Symbol 586 GraphicUses:585Used by:587
Symbol 587 MovieClipUses:556 558 560 562 564 566 568 570 572 574 576 578 580 582 584 586Used by:629
Symbol 588 BitmapUsed by:589
Symbol 589 GraphicUses:588Used by:629
Symbol 590 BitmapUsed by:591
Symbol 591 GraphicUses:590Used by:592
Symbol 592 MovieClipUses:591Used by:629
Symbol 593 BitmapUsed by:594
Symbol 594 GraphicUses:593Used by:609
Symbol 595 BitmapUsed by:596
Symbol 596 GraphicUses:595Used by:609
Symbol 597 BitmapUsed by:598
Symbol 598 GraphicUses:597Used by:609
Symbol 599 BitmapUsed by:600
Symbol 600 GraphicUses:599Used by:609
Symbol 601 BitmapUsed by:602
Symbol 602 GraphicUses:601Used by:609
Symbol 603 BitmapUsed by:604
Symbol 604 GraphicUses:603Used by:609
Symbol 605 BitmapUsed by:606
Symbol 606 GraphicUses:605Used by:609
Symbol 607 BitmapUsed by:608
Symbol 608 GraphicUses:607Used by:609
Symbol 609 MovieClipUses:594 596 598 600 602 604 606 608Used by:629
Symbol 610 BitmapUsed by:611
Symbol 611 GraphicUses:610Used by:628
Symbol 612 BitmapUsed by:613
Symbol 613 GraphicUses:612Used by:628
Symbol 614 BitmapUsed by:615
Symbol 615 GraphicUses:614Used by:628
Symbol 616 BitmapUsed by:617
Symbol 617 GraphicUses:616Used by:628
Symbol 618 BitmapUsed by:619
Symbol 619 GraphicUses:618Used by:628
Symbol 620 BitmapUsed by:621
Symbol 621 GraphicUses:620Used by:628
Symbol 622 BitmapUsed by:623
Symbol 623 GraphicUses:622Used by:628
Symbol 624 BitmapUsed by:625
Symbol 625 GraphicUses:624Used by:628
Symbol 626 BitmapUsed by:627
Symbol 627 GraphicUses:626Used by:628
Symbol 628 MovieClipUses:611 613 615 617 619 621 623 625 627Used by:629
Symbol 629 MovieClipUses:347 24 380 413 446 449 450 467 486 488 521 554 587 589 592 609 628Used by:651
Symbol 630 GraphicUsed by:647
Symbol 631 GraphicUsed by:632
Symbol 632 MovieClipUses:631Used by:633
Symbol 633 MovieClipUses:632Used by:647
Symbol 634 BitmapUsed by:635
Symbol 635 GraphicUses:634Used by:646
Symbol 636 BitmapUsed by:637
Symbol 637 GraphicUses:636Used by:646
Symbol 638 BitmapUsed by:639
Symbol 639 GraphicUses:638Used by:646 1073
Symbol 640 BitmapUsed by:641
Symbol 641 GraphicUses:640Used by:646
Symbol 642 BitmapUsed by:643
Symbol 643 GraphicUses:642Used by:646
Symbol 644 BitmapUsed by:645
Symbol 645 GraphicUses:644Used by:646
Symbol 646 MovieClipUses:635 637 639 641 643 645Used by:647
Symbol 647 MovieClip [ClientOrder]Uses:630 633 646Used by:651 1024 1025
Symbol 648 BitmapUsed by:649
Symbol 649 GraphicUses:648Used by:650
Symbol 650 MovieClipUses:649Used by:651 716 960 1025 1033 1044 1054 1059 1067 1074 1324
Symbol 651 MovieClip [Client]Uses:345 629 647 24 650Used by:844
Symbol 652 EditableTextUses:15Used by:653
Symbol 653 MovieClip [MoneysTakedAnim]Uses:652Used by:844
Symbol 654 BitmapUsed by:655
Symbol 655 GraphicUses:654Used by:656
Symbol 656 MovieClip [AddGreen]Uses:655Used by:844
Symbol 657 BitmapUsed by:658
Symbol 658 GraphicUses:657Used by:659
Symbol 659 MovieClip [StarGreen]Uses:658Used by:844
Symbol 660 BitmapUsed by:661
Symbol 661 GraphicUses:660Used by:662
Symbol 662 MovieClip [MinusRed]Uses:661Used by:844
Symbol 663 BitmapUsed by:664
Symbol 664 GraphicUses:663Used by:665
Symbol 665 MovieClip [StarRed]Uses:664Used by:844
Symbol 666 BitmapUsed by:667
Symbol 667 GraphicUses:666Used by:668
Symbol 668 MovieClip [HearthFx]Uses:667Used by:844
Symbol 669 BitmapUsed by:670
Symbol 670 GraphicUses:669Used by:707
Symbol 671 BitmapUsed by:672
Symbol 672 GraphicUses:671Used by:707
Symbol 673 BitmapUsed by:674
Symbol 674 GraphicUses:673Used by:707
Symbol 675 BitmapUsed by:676
Symbol 676 GraphicUses:675Used by:707
Symbol 677 BitmapUsed by:678
Symbol 678 GraphicUses:677Used by:707
Symbol 679 BitmapUsed by:680
Symbol 680 GraphicUses:679Used by:707
Symbol 681 BitmapUsed by:682
Symbol 682 GraphicUses:681Used by:707
Symbol 683 BitmapUsed by:684
Symbol 684 GraphicUses:683Used by:707
Symbol 685 BitmapUsed by:686
Symbol 686 GraphicUses:685Used by:707
Symbol 687 BitmapUsed by:688
Symbol 688 GraphicUses:687Used by:707
Symbol 689 BitmapUsed by:690
Symbol 690 GraphicUses:689Used by:707
Symbol 691 BitmapUsed by:692
Symbol 692 GraphicUses:691Used by:707
Symbol 693 BitmapUsed by:694
Symbol 694 GraphicUses:693Used by:707
Symbol 695 BitmapUsed by:696
Symbol 696 GraphicUses:695Used by:707
Symbol 697 BitmapUsed by:698
Symbol 698 GraphicUses:697Used by:707
Symbol 699 BitmapUsed by:700
Symbol 700 GraphicUses:699Used by:707
Symbol 701 BitmapUsed by:702
Symbol 702 GraphicUses:701Used by:707
Symbol 703 BitmapUsed by:704
Symbol 704 GraphicUses:703Used by:707
Symbol 705 BitmapUsed by:706
Symbol 706 GraphicUses:705Used by:707
Symbol 707 MovieClipUses:670 672 674 676 678 680 682 684 686 688 690 692 694 696 698 700 702 704 706Used by:844
Symbol 708 BitmapUsed by:709
Symbol 709 GraphicUses:708Used by:716
Symbol 710 BitmapUsed by:711
Symbol 711 GraphicUses:710Used by:716
Symbol 712 BitmapUsed by:713
Symbol 713 GraphicUses:712Used by:716
Symbol 714 BitmapUsed by:715
Symbol 715 GraphicUses:714Used by:716
Symbol 716 MovieClip [Moneys]Uses:3 709 650 711 713 715Used by:737 844
Symbol 717 BitmapUsed by:718
Symbol 718 GraphicUses:717Used by:775
Symbol 719 GraphicUses:290 291Used by:726
Symbol 720 EditableTextUses:15Used by:726
Symbol 721 BitmapUsed by:724
Symbol 722 BitmapUsed by:724
Symbol 723 BitmapUsed by:724
Symbol 724 GraphicUses:721 722 723Used by:726
Symbol 725 EditableTextUses:15Used by:726
Symbol 726 MovieClipUses:3 719 720 724 725Used by:775 787
Symbol 727 GraphicUsed by:775
Symbol 728 EditableTextUses:15Used by:775
Symbol 729 EditableTextUses:15Used by:775
Symbol 730 BitmapUsed by:731
Symbol 731 GraphicUses:730Used by:738
Symbol 732 BitmapUsed by:733
Symbol 733 GraphicUses:732Used by:738
Symbol 734 BitmapUsed by:735
Symbol 735 GraphicUses:734Used by:737
Symbol 736 EditableTextUses:15Used by:737
Symbol 737 MovieClipUses:735 716 736Used by:738
Symbol 738 MovieClip [StarsSlider]Uses:731 23 733 737Used by:775
Symbol 739 GraphicUsed by:775
Symbol 740 EditableTextUses:15Used by:775
Symbol 741 BitmapUsed by:742
Symbol 742 GraphicUses:741Used by:745
Symbol 743 BitmapUsed by:744
Symbol 744 GraphicUses:743Used by:745
Symbol 745 MovieClipUses:742 744Used by:773
Symbol 746 BitmapUsed by:747
Symbol 747 GraphicUses:746Used by:764
Symbol 748 BitmapUsed by:749
Symbol 749 GraphicUses:748Used by:764
Symbol 750 BitmapUsed by:751
Symbol 751 GraphicUses:750Used by:764
Symbol 752 BitmapUsed by:753
Symbol 753 GraphicUses:752Used by:764
Symbol 754 BitmapUsed by:755
Symbol 755 GraphicUses:754Used by:764
Symbol 756 BitmapUsed by:757
Symbol 757 GraphicUses:756Used by:764
Symbol 758 BitmapUsed by:759
Symbol 759 GraphicUses:758Used by:764
Symbol 760 BitmapUsed by:761
Symbol 761 GraphicUses:760Used by:764
Symbol 762 BitmapUsed by:763
Symbol 763 GraphicUses:762Used by:764
Symbol 764 MovieClipUses:747 749 751 753 755 757 759 761 763Used by:773 787
Symbol 765 BitmapUsed by:766
Symbol 766 GraphicUses:765Used by:767
Symbol 767 MovieClipUses:766Used by:773
Symbol 768 EditableTextUses:15Used by:773
Symbol 769 EditableTextUses:15Used by:773
Symbol 770 BitmapUsed by:771
Symbol 771 GraphicUses:770Used by:772
Symbol 772 MovieClipUses:771Used by:773
Symbol 773 MovieClip [ShopGood]Uses:745 764 767 768 769 772Used by:775 844
Symbol 774 EditableTextUses:15Used by:775
Symbol 775 MovieClip [Shop]Uses:295 718 726 727 728 729 738 739 740 773 774Used by:844
Symbol 776 BitmapUsed by:777
Symbol 777 GraphicUses:776Used by:787
Symbol 778 EditableTextUses:15Used by:787
Symbol 779 EditableTextUses:15Used by:787
Symbol 780 EditableTextUses:15Used by:787
Symbol 781 BitmapUsed by:782 788
Symbol 782 GraphicUses:781Used by:787
Symbol 783 EditableTextUses:15Used by:787
Symbol 784 EditableTextUses:15Used by:787
Symbol 785 EditableTextUses:15Used by:787
Symbol 786 EditableTextUses:15Used by:787
Symbol 787 MovieClip [GoodDetailWindow]Uses:295 777 764 778 779 780 782 783 784 785 726 23 786Used by:844
Symbol 788 GraphicUses:781Used by:789
Symbol 789 MovieClip [BarStar]Uses:788Used by:844
Symbol 790 EditableTextUses:15Used by:794
Symbol 791 EditableTextUses:15Used by:794
Symbol 792 GraphicUsed by:793
Symbol 793 MovieClipUses:792Used by:794
Symbol 794 MovieClip [StimulationTextAnim]Uses:790 791 793Used by:844
Symbol 795 EditableTextUses:15Used by:800
Symbol 796 EditableTextUses:15Used by:800
Symbol 797 GraphicUsed by:798
Symbol 798 MovieClipUses:797Used by:800
Symbol 799 EditableTextUses:15Used by:800
Symbol 800 MovieClip [BeginTextSymbolAnim]Uses:795 796 798 799Used by:844
Symbol 801 BitmapUsed by:802
Symbol 802 GraphicUses:801Used by:803
Symbol 803 MovieClipUses:802Used by:815
Symbol 804 BitmapUsed by:805
Symbol 805 GraphicUses:804Used by:808
Symbol 806 BitmapUsed by:807
Symbol 807 GraphicUses:806Used by:808
Symbol 808 MovieClipUses:805 807Used by:815  Timeline
Symbol 809 EditableTextUses:15Used by:815
Symbol 810 EditableTextUses:15Used by:815
Symbol 811 GraphicUsed by:814
Symbol 812 GraphicUsed by:814
Symbol 813 GraphicUsed by:814 1034
Symbol 814 ButtonUses:811 812 813Used by:815
Symbol 815 MovieClip [TipsWindow]Uses:295 803 808 809 810 814Used by:844
Symbol 816 GraphicUsed by:817
Symbol 817 MovieClip [GreenParticle]Uses:816Used by:844
Symbol 818 GraphicUsed by:819
Symbol 819 MovieClipUses:818Used by:826
Symbol 820 BitmapUsed by:821
Symbol 821 GraphicUses:820Used by:822
Symbol 822 MovieClipUses:821Used by:823
Symbol 823 MovieClipUses:822Used by:826
Symbol 824 GraphicUsed by:825
Symbol 825 ButtonUses:824Used by:826
Symbol 826 MovieClip [TipHighlite]Uses:819 823 825Used by:844
Symbol 827 MovieClip [mc_ADS]Used by:844
Symbol 828 Bitmap [splash3]Used by:831
Symbol 829 Bitmap [splash1]Used by:831
Symbol 830 Bitmap [splash2]Used by:831
Symbol 831 GraphicUses:828 829 830Used by:844
Symbol 832 EditableTextUses:15Used by:842
Symbol 833 EditableTextUses:15Used by:842
Symbol 834 EditableTextUses:15Used by:842
Symbol 835 EditableTextUses:15Used by:842
Symbol 836 EditableTextUses:15Used by:842
Symbol 837 EditableTextUses:15Used by:842
Symbol 838 EditableTextUses:15Used by:842
Symbol 839 EditableTextUses:15Used by:842
Symbol 840 EditableTextUses:15Used by:842
Symbol 841 EditableTextUses:15Used by:842
Symbol 842 MovieClip [EndLevelWinWindowLast]Uses:297 293 832 833 834 835 836 837 838 839 840 841Used by:844
Symbol 843 Sound [music_gameplay.mp3]Used by:844
Symbol 844 MovieClipUses:284 287 293 23 21 304 315 337 339 340 343 651 24 653 656 659 662 665 668 707 716 775 773 787 789 794 800 815 817 826 827 831 842 843Used by:877
Symbol 845 TextUses:15Used by:876
Symbol 846 Sound [bonus_buy]Used by:876
Symbol 847 Sound [checkout]Used by:876
Symbol 848 Sound [cleaning]Used by:876
Symbol 849 Sound [door_close]Used by:876
Symbol 850 Sound [door_main_bell]Used by:876
Symbol 851 Sound [door_main_open]Used by:876
Symbol 852 Sound [door_open]Used by:876
Symbol 853 Sound [event_accepted]Used by:876
Symbol 854 Sound [female_hello]Used by:876
Symbol 855 Sound [flower_dry]Used by:876
Symbol 856 Sound [flower_water]Used by:876
Symbol 857 Sound [game_menu_click]Used by:876
Symbol 858 Sound [goal]Used by:876
Symbol 859 Sound [hotel_close]Used by:876
Symbol 860 Sound [key_denied]Used by:876
Symbol 861 Sound [key_set]Used by:876
Symbol 862 Sound [leveldefeat]Used by:876
Symbol 863 Sound [levelup]Used by:876
Symbol 864 Sound [male_hello]Used by:876
Symbol 865 Sound [soundMenuHit]Used by:876
Symbol 866 Sound [soundMenuToggle]Used by:876
Symbol 867 Sound [pickup_coffee]Used by:876
Symbol 868 Sound [pickup_key]Used by:876
Symbol 869 Sound [pickup_money]Used by:876
Symbol 870 Sound [pickup_newspaper]Used by:876
Symbol 871 Sound [pickup_phone]Used by:876
Symbol 872 Sound [pickup_tv]Used by:876
Symbol 873 Sound [service_accepted]Used by:876
Symbol 874 Sound [minus]Used by:876
Symbol 875 Sound [tip]Used by:876
Symbol 876 MovieClipUses:845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875Used by:877
Symbol 877 MovieClipUses:65 66 844 21 23 876Used by:Timeline
Symbol 878 BitmapUsed by:879
Symbol 879 GraphicUses:878Used by:880
Symbol 880 MovieClipUses:879Used by:881
Symbol 881 MovieClipUses:880Used by:893
Symbol 882 GraphicUsed by:893
Symbol 883 GraphicUsed by:893
Symbol 884 GraphicUsed by:893
Symbol 885 BitmapUsed by:886
Symbol 886 GraphicUses:885Used by:887
Symbol 887 MovieClipUses:886Used by:893
Symbol 888 BitmapUsed by:892
Symbol 889 BitmapUsed by:892
Symbol 890 BitmapUsed by:892
Symbol 891 BitmapUsed by:892
Symbol 892 GraphicUses:888 889 890 891Used by:893
Symbol 893 MovieClipUses:881 882 883 884 887 892Used by:Timeline
Symbol 894 TextUses:15Used by:Timeline
Symbol 895 EditableTextUses:15Used by:Timeline
Symbol 896 GraphicUsed by:Timeline
Symbol 897 EditableTextUses:15Used by:Timeline
Symbol 898 GraphicUsed by:899
Symbol 899 ButtonUses:898Used by:Timeline
Symbol 900 EditableTextUses:15Used by:Timeline
Symbol 901 EditableTextUses:15Used by:Timeline
Symbol 902 GraphicUsed by:903
Symbol 903 MovieClipUses:902Used by:907
Symbol 904 GraphicUsed by:907
Symbol 905 GraphicUsed by:907
Symbol 906 GraphicUsed by:907
Symbol 907 MovieClipUses:903 904 905 906Used by:Timeline
Symbol 908 EditableTextUses:15Used by:Timeline
Symbol 909 FontUsed by:910
Symbol 910 EditableTextUses:909Used by:914
Symbol 911 EditableTextUses:15Used by:914
Symbol 912 EditableTextUses:15Used by:914
Symbol 913 EditableTextUses:15Used by:914
Symbol 914 MovieClipUses:910 911 912 913Used by:Timeline
Symbol 915 EditableTextUses:15Used by:Timeline
Symbol 916 BitmapUsed by:917
Symbol 917 GraphicUses:916Used by:1364
Symbol 918 BitmapUsed by:919
Symbol 919 GraphicUses:918Used by:959
Symbol 920 BitmapUsed by:921
Symbol 921 GraphicUses:920Used by:956
Symbol 922 BitmapUsed by:923
Symbol 923 GraphicUses:922Used by:956
Symbol 924 BitmapUsed by:925
Symbol 925 GraphicUses:924Used by:956
Symbol 926 BitmapUsed by:927
Symbol 927 GraphicUses:926Used by:956
Symbol 928 BitmapUsed by:929
Symbol 929 GraphicUses:928Used by:956
Symbol 930 BitmapUsed by:931
Symbol 931 GraphicUses:930Used by:956
Symbol 932 BitmapUsed by:933
Symbol 933 GraphicUses:932Used by:956
Symbol 934 BitmapUsed by:935
Symbol 935 GraphicUses:934Used by:956
Symbol 936 BitmapUsed by:937
Symbol 937 GraphicUses:936Used by:956
Symbol 938 BitmapUsed by:939
Symbol 939 GraphicUses:938Used by:956
Symbol 940 BitmapUsed by:941
Symbol 941 GraphicUses:940Used by:956
Symbol 942 BitmapUsed by:943
Symbol 943 GraphicUses:942Used by:956
Symbol 944 BitmapUsed by:945
Symbol 945 GraphicUses:944Used by:956
Symbol 946 BitmapUsed by:947
Symbol 947 GraphicUses:946Used by:956
Symbol 948 BitmapUsed by:949
Symbol 949 GraphicUses:948Used by:956
Symbol 950 BitmapUsed by:951
Symbol 951 GraphicUses:950Used by:956
Symbol 952 BitmapUsed by:953
Symbol 953 GraphicUses:952Used by:956
Symbol 954 BitmapUsed by:955
Symbol 955 GraphicUses:954Used by:956
Symbol 956 MovieClipUses:921 923 925 927 929 931 933 935 937 939 941 943 945 947 949 951 953 955Used by:959
Symbol 957 BitmapUsed by:958
Symbol 958 GraphicUses:957Used by:959
Symbol 959 MovieClipUses:919 956 958Used by:960
Symbol 960 MovieClip [Flower]Uses:3 959 650Used by:1364
Symbol 961 BitmapUsed by:962
Symbol 962 GraphicUses:961Used by:963
Symbol 963 MovieClip [Picture]Uses:962Used by:1364
Symbol 964 BitmapUsed by:965
Symbol 965 GraphicUses:964Used by:973
Symbol 966 BitmapUsed by:967
Symbol 967 GraphicUses:966Used by:968
Symbol 968 MovieClipUses:967Used by:972
Symbol 969 BitmapUsed by:970
Symbol 970 GraphicUses:969Used by:971
Symbol 971 MovieClipUses:970Used by:972
Symbol 972 MovieClipUses:968 971Used by:973
Symbol 973 MovieClip [Aquarium]Uses:965 972Used by:1364
Symbol 974 BitmapUsed by:975
Symbol 975 GraphicUses:974Used by:976
Symbol 976 MovieClip [Bra]Uses:975Used by:1364
Symbol 977 BitmapUsed by:978
Symbol 978 GraphicUses:977Used by:983
Symbol 979 BitmapUsed by:980
Symbol 980 GraphicUses:979Used by:983
Symbol 981 BitmapUsed by:982
Symbol 982 GraphicUses:981Used by:983
Symbol 983 MovieClipUses:978 23 980 982Used by:1025
Symbol 984 GraphicUsed by:987
Symbol 985 GraphicUsed by:987
Symbol 986 GraphicUsed by:987
Symbol 987 MovieClipUses:984 985 986Used by:1025
Symbol 988 BitmapUsed by:989
Symbol 989 GraphicUses:988Used by:990
Symbol 990 MovieClipUses:989Used by:1025
Symbol 991 BitmapUsed by:992
Symbol 992 GraphicUses:991Used by:993
Symbol 993 MovieClipUses:992Used by:1025
Symbol 994 BitmapUsed by:995
Symbol 995 GraphicUses:994Used by:996
Symbol 996 MovieClipUses:995Used by:1024
Symbol 997 BitmapUsed by:998
Symbol 998 GraphicUses:997Used by:1024
Symbol 999 BitmapUsed by:1000
Symbol 1000 GraphicUses:999Used by:1011
Symbol 1001 BitmapUsed by:1002
Symbol 1002 GraphicUses:1001Used by:1011
Symbol 1003 BitmapUsed by:1004
Symbol 1004 GraphicUses:1003Used by:1011
Symbol 1005 BitmapUsed by:1006
Symbol 1006 GraphicUses:1005Used by:1011
Symbol 1007 BitmapUsed by:1008
Symbol 1008 GraphicUses:1007Used by:1011
Symbol 1009 BitmapUsed by:1010
Symbol 1010 GraphicUses:1009Used by:1011
Symbol 1011 MovieClipUses:1000 1002 1004 1006 1008 1010Used by:1024
Symbol 1012 BitmapUsed by:1013 1014 1015
Symbol 1013 GraphicUses:1012Used by:1023
Symbol 1014 GraphicUses:1012Used by:1023
Symbol 1015 GraphicUses:1012Used by:1023
Symbol 1016 BitmapUsed by:1017 1018
Symbol 1017 GraphicUses:1016Used by:1023
Symbol 1018 GraphicUses:1016Used by:1023
Symbol 1019 BitmapUsed by:1020 1021 1022
Symbol 1020 GraphicUses:1019Used by:1023
Symbol 1021 GraphicUses:1019Used by:1023
Symbol 1022 GraphicUses:1019Used by:1023
Symbol 1023 MovieClipUses:1013 1014 1015 1017 1018 1020 1021 1022Used by:1024
Symbol 1024 MovieClip [RoomWish]Uses:996 998 1011 647 1023Used by:1025
Symbol 1025 MovieClip [Room]Uses:983 987 990 993 647 650 1024Used by:1364
Symbol 1026 GraphicUsed by:1027
Symbol 1027 MovieClipUses:1026Used by:1033
Symbol 1028 GraphicUsed by:1029
Symbol 1029 MovieClipUses:1028Used by:1033
Symbol 1030 BitmapUsed by:1031
Symbol 1031 GraphicUses:1030Used by:1032
Symbol 1032 MovieClipUses:1031Used by:1033
Symbol 1033 MovieClip [DivanTV]Uses:1027 1029 1032 21 650Used by:1364
Symbol 1034 MovieClipUses:813Used by:1044
Symbol 1035 GraphicUsed by:1036
Symbol 1036 MovieClipUses:1035Used by:1044
Symbol 1037 BitmapUsed by:1038
Symbol 1038 GraphicUses:1037Used by:1043
Symbol 1039 BitmapUsed by:1040
Symbol 1040 GraphicUses:1039Used by:1041
Symbol 1041 MovieClipUses:1040Used by:1042
Symbol 1042 MovieClipUses:1041Used by:1043
Symbol 1043 MovieClipUses:1038 1042Used by:1044
Symbol 1044 MovieClip [TVSet]Uses:1034 1036 1043 650Used by:1364
Symbol 1045 GraphicUsed by:1046
Symbol 1046 MovieClipUses:1045Used by:1054
Symbol 1047 GraphicUsed by:1048 1055
Symbol 1048 MovieClipUses:1047Used by:1054
Symbol 1049 BitmapUsed by:1050
Symbol 1050 GraphicUses:1049Used by:1053
Symbol 1051 GraphicUsed by:1052
Symbol 1052 MovieClipUses:1051Used by:1053
Symbol 1053 MovieClipUses:1050 1052Used by:1054
Symbol 1054 MovieClip [ReceptionTable]Uses:1046 1048 1053 650 24Used by:1364
Symbol 1055 MovieClipUses:1047Used by:1059
Symbol 1056 BitmapUsed by:1057
Symbol 1057 GraphicUses:1056Used by:1058
Symbol 1058 MovieClipUses:1057Used by:1059
Symbol 1059 MovieClip [Daily]Uses:1055 26 1058 650Used by:1364
Symbol 1060 GraphicUsed by:1061 1068 1069
Symbol 1061 MovieClipUses:1060Used by:1067
Symbol 1062 GraphicUsed by:1063
Symbol 1063 MovieClipUses:1062Used by:1067
Symbol 1064 BitmapUsed by:1065
Symbol 1065 GraphicUses:1064Used by:1066
Symbol 1066 MovieClipUses:1065Used by:1067
Symbol 1067 MovieClip [Phone]Uses:1061 1063 1066 650Used by:1364
Symbol 1068 MovieClipUses:1060Used by:1074
Symbol 1069 MovieClipUses:1060Used by:1074
Symbol 1070 BitmapUsed by:1071
Symbol 1071 GraphicUses:1070Used by:1072
Symbol 1072 MovieClipUses:1071Used by:1074
Symbol 1073 MovieClipUses:639Used by:1074
Symbol 1074 MovieClip [Coffee]Uses:1068 1069 1072 1073 650Used by:1364
Symbol 1075 BitmapUsed by:1076
Symbol 1076 GraphicUses:1075Used by:1310
Symbol 1077 BitmapUsed by:1078
Symbol 1078 GraphicUses:1077Used by:1109
Symbol 1079 BitmapUsed by:1080
Symbol 1080 GraphicUses:1079Used by:1109
Symbol 1081 BitmapUsed by:1082
Symbol 1082 GraphicUses:1081Used by:1109
Symbol 1083 BitmapUsed by:1084
Symbol 1084 GraphicUses:1083Used by:1109
Symbol 1085 BitmapUsed by:1086
Symbol 1086 GraphicUses:1085Used by:1109
Symbol 1087 BitmapUsed by:1088
Symbol 1088 GraphicUses:1087Used by:1109
Symbol 1089 BitmapUsed by:1090
Symbol 1090 GraphicUses:1089Used by:1109
Symbol 1091 BitmapUsed by:1092
Symbol 1092 GraphicUses:1091Used by:1109
Symbol 1093 BitmapUsed by:1094
Symbol 1094 GraphicUses:1093Used by:1109
Symbol 1095 BitmapUsed by:1096
Symbol 1096 GraphicUses:1095Used by:1109
Symbol 1097 BitmapUsed by:1098
Symbol 1098 GraphicUses:1097Used by:1109
Symbol 1099 BitmapUsed by:1100
Symbol 1100 GraphicUses:1099Used by:1109
Symbol 1101 BitmapUsed by:1102
Symbol 1102 GraphicUses:1101Used by:1109
Symbol 1103 BitmapUsed by:1104
Symbol 1104 GraphicUses:1103Used by:1109
Symbol 1105 BitmapUsed by:1106
Symbol 1106 GraphicUses:1105Used by:1109
Symbol 1107 BitmapUsed by:1108
Symbol 1108 GraphicUses:1107Used by:1109
Symbol 1109 MovieClipUses:1078 1080 1082 1084 1086 1088 1090 1092 1094 1096 1098 1100 1102 1104 1106 1108Used by:1310
Symbol 1110 BitmapUsed by:1111
Symbol 1111 GraphicUses:1110Used by:1142
Symbol 1112 BitmapUsed by:1113
Symbol 1113 GraphicUses:1112Used by:1142
Symbol 1114 BitmapUsed by:1115
Symbol 1115 GraphicUses:1114Used by:1142
Symbol 1116 BitmapUsed by:1117
Symbol 1117 GraphicUses:1116Used by:1142
Symbol 1118 BitmapUsed by:1119
Symbol 1119 GraphicUses:1118Used by:1142
Symbol 1120 BitmapUsed by:1121
Symbol 1121 GraphicUses:1120Used by:1142
Symbol 1122 BitmapUsed by:1123
Symbol 1123 GraphicUses:1122Used by:1142
Symbol 1124 BitmapUsed by:1125
Symbol 1125 GraphicUses:1124Used by:1142
Symbol 1126 BitmapUsed by:1127
Symbol 1127 GraphicUses:1126Used by:1142
Symbol 1128 BitmapUsed by:1129
Symbol 1129 GraphicUses:1128Used by:1142
Symbol 1130 BitmapUsed by:1131
Symbol 1131 GraphicUses:1130Used by:1142
Symbol 1132 BitmapUsed by:1133
Symbol 1133 GraphicUses:1132Used by:1142
Symbol 1134 BitmapUsed by:1135
Symbol 1135 GraphicUses:1134Used by:1142
Symbol 1136 BitmapUsed by:1137
Symbol 1137 GraphicUses:1136Used by:1142
Symbol 1138 BitmapUsed by:1139
Symbol 1139 GraphicUses:1138Used by:1142
Symbol 1140 BitmapUsed by:1141
Symbol 1141 GraphicUses:1140Used by:1142
Symbol 1142 MovieClipUses:1111 1113 1115 1117 1119 1121 1123 1125 1127 1129 1131 1133 1135 1137 1139 1141Used by:1310
Symbol 1143 BitmapUsed by:1144
Symbol 1144 GraphicUses:1143Used by:1175
Symbol 1145 BitmapUsed by:1146
Symbol 1146 GraphicUses:1145Used by:1175
Symbol 1147 BitmapUsed by:1148
Symbol 1148 GraphicUses:1147Used by:1175
Symbol 1149 BitmapUsed by:1150
Symbol 1150 GraphicUses:1149Used by:1175
Symbol 1151 BitmapUsed by:1152
Symbol 1152 GraphicUses:1151Used by:1175
Symbol 1153 BitmapUsed by:1154
Symbol 1154 GraphicUses:1153Used by:1175
Symbol 1155 BitmapUsed by:1156
Symbol 1156 GraphicUses:1155Used by:1175
Symbol 1157 BitmapUsed by:1158
Symbol 1158 GraphicUses:1157Used by:1175
Symbol 1159 BitmapUsed by:1160
Symbol 1160 GraphicUses:1159Used by:1175
Symbol 1161 BitmapUsed by:1162
Symbol 1162 GraphicUses:1161Used by:1175
Symbol 1163 BitmapUsed by:1164
Symbol 1164 GraphicUses:1163Used by:1175
Symbol 1165 BitmapUsed by:1166
Symbol 1166 GraphicUses:1165Used by:1175
Symbol 1167 BitmapUsed by:1168
Symbol 1168 GraphicUses:1167Used by:1175
Symbol 1169 BitmapUsed by:1170
Symbol 1170 GraphicUses:1169Used by:1175
Symbol 1171 BitmapUsed by:1172
Symbol 1172 GraphicUses:1171Used by:1175
Symbol 1173 BitmapUsed by:1174
Symbol 1174 GraphicUses:1173Used by:1175
Symbol 1175 MovieClipUses:1144 1146 1148 1150 1152 1154 1156 1158 1160 1162 1164 1166 1168 1170 1172 1174Used by:1310
Symbol 1176 BitmapUsed by:1178 1247 1249
Symbol 1177 BitmapUsed by:1178
Symbol 1178 GraphicUses:1176 1177Used by:1310
Symbol 1179 BitmapUsed by:1180
Symbol 1180 GraphicUses:1179Used by:1211
Symbol 1181 BitmapUsed by:1182
Symbol 1182 GraphicUses:1181Used by:1211
Symbol 1183 BitmapUsed by:1184
Symbol 1184 GraphicUses:1183Used by:1211
Symbol 1185 BitmapUsed by:1186
Symbol 1186 GraphicUses:1185Used by:1211
Symbol 1187 BitmapUsed by:1188
Symbol 1188 GraphicUses:1187Used by:1211
Symbol 1189 BitmapUsed by:1190
Symbol 1190 GraphicUses:1189Used by:1211
Symbol 1191 BitmapUsed by:1192
Symbol 1192 GraphicUses:1191Used by:1211
Symbol 1193 BitmapUsed by:1194
Symbol 1194 GraphicUses:1193Used by:1211
Symbol 1195 BitmapUsed by:1196
Symbol 1196 GraphicUses:1195Used by:1211
Symbol 1197 BitmapUsed by:1198
Symbol 1198 GraphicUses:1197Used by:1211
Symbol 1199 BitmapUsed by:1200
Symbol 1200 GraphicUses:1199Used by:1211
Symbol 1201 BitmapUsed by:1202
Symbol 1202 GraphicUses:1201Used by:1211
Symbol 1203 BitmapUsed by:1204
Symbol 1204 GraphicUses:1203Used by:1211
Symbol 1205 BitmapUsed by:1206
Symbol 1206 GraphicUses:1205Used by:1211
Symbol 1207 BitmapUsed by:1208
Symbol 1208 GraphicUses:1207Used by:1211
Symbol 1209 BitmapUsed by:1210
Symbol 1210 GraphicUses:1209Used by:1211
Symbol 1211 MovieClipUses:1180 1182 1184 1186 1188 1190 1192 1194 1196 1198 1200 1202 1204 1206 1208 1210Used by:1310
Symbol 1212 BitmapUsed by:1213 1248
Symbol 1213 GraphicUses:1212Used by:1310
Symbol 1214 BitmapUsed by:1215
Symbol 1215 GraphicUses:1214Used by:1246
Symbol 1216 BitmapUsed by:1217
Symbol 1217 GraphicUses:1216Used by:1246
Symbol 1218 BitmapUsed by:1219
Symbol 1219 GraphicUses:1218Used by:1246
Symbol 1220 BitmapUsed by:1221
Symbol 1221 GraphicUses:1220Used by:1246
Symbol 1222 BitmapUsed by:1223
Symbol 1223 GraphicUses:1222Used by:1246
Symbol 1224 BitmapUsed by:1225
Symbol 1225 GraphicUses:1224Used by:1246
Symbol 1226 BitmapUsed by:1227
Symbol 1227 GraphicUses:1226Used by:1246
Symbol 1228 BitmapUsed by:1229
Symbol 1229 GraphicUses:1228Used by:1246
Symbol 1230 BitmapUsed by:1231
Symbol 1231 GraphicUses:1230Used by:1246
Symbol 1232 BitmapUsed by:1233
Symbol 1233 GraphicUses:1232Used by:1246
Symbol 1234 BitmapUsed by:1235
Symbol 1235 GraphicUses:1234Used by:1246
Symbol 1236 BitmapUsed by:1237
Symbol 1237 GraphicUses:1236Used by:1246
Symbol 1238 BitmapUsed by:1239
Symbol 1239 GraphicUses:1238Used by:1246
Symbol 1240 BitmapUsed by:1241
Symbol 1241 GraphicUses:1240Used by:1246
Symbol 1242 BitmapUsed by:1243
Symbol 1243 GraphicUses:1242Used by:1246
Symbol 1244 BitmapUsed by:1245
Symbol 1245 GraphicUses:1244Used by:1246
Symbol 1246 MovieClipUses:1215 1217 1219 1221 1223 1225 1227 1229 1231 1233 1235 1237 1239 1241 1243 1245Used by:1310
Symbol 1247 GraphicUses:1176Used by:1310
Symbol 1248 GraphicUses:1212Used by:1310
Symbol 1249 GraphicUses:1176Used by:1310
Symbol 1250 BitmapUsed by:1251
Symbol 1251 GraphicUses:1250Used by:1282
Symbol 1252 BitmapUsed by:1253
Symbol 1253 GraphicUses:1252Used by:1282
Symbol 1254 BitmapUsed by:1255
Symbol 1255 GraphicUses:1254Used by:1282
Symbol 1256 BitmapUsed by:1257
Symbol 1257 GraphicUses:1256Used by:1282
Symbol 1258 BitmapUsed by:1259
Symbol 1259 GraphicUses:1258Used by:1282
Symbol 1260 BitmapUsed by:1261
Symbol 1261 GraphicUses:1260Used by:1282
Symbol 1262 BitmapUsed by:1263
Symbol 1263 GraphicUses:1262Used by:1282
Symbol 1264 BitmapUsed by:1265
Symbol 1265 GraphicUses:1264Used by:1282
Symbol 1266 BitmapUsed by:1267
Symbol 1267 GraphicUses:1266Used by:1282
Symbol 1268 BitmapUsed by:1269
Symbol 1269 GraphicUses:1268Used by:1282
Symbol 1270 BitmapUsed by:1271
Symbol 1271 GraphicUses:1270Used by:1282
Symbol 1272 BitmapUsed by:1273
Symbol 1273 GraphicUses:1272Used by:1282
Symbol 1274 BitmapUsed by:1275
Symbol 1275 GraphicUses:1274Used by:1282
Symbol 1276 BitmapUsed by:1277
Symbol 1277 GraphicUses:1276Used by:1282
Symbol 1278 BitmapUsed by:1279
Symbol 1279 GraphicUses:1278Used by:1282
Symbol 1280 BitmapUsed by:1281
Symbol 1281 GraphicUses:1280Used by:1282
Symbol 1282 MovieClipUses:1251 1253 1255 1257 1259 1261 1263 1265 1267 1269 1271 1273 1275 1277 1279 1281Used by:1310
Symbol 1283 BitmapUsed by:1284
Symbol 1284 GraphicUses:1283Used by:1307
Symbol 1285 BitmapUsed by:1286
Symbol 1286 GraphicUses:1285Used by:1307
Symbol 1287 BitmapUsed by:1288
Symbol 1288 GraphicUses:1287Used by:1307
Symbol 1289 BitmapUsed by:1290
Symbol 1290 GraphicUses:1289Used by:1307
Symbol 1291 BitmapUsed by:1292
Symbol 1292 GraphicUses:1291Used by:1307
Symbol 1293 BitmapUsed by:1294
Symbol 1294 GraphicUses:1293Used by:1307
Symbol 1295 BitmapUsed by:1296
Symbol 1296 GraphicUses:1295Used by:1307
Symbol 1297 BitmapUsed by:1298
Symbol 1298 GraphicUses:1297Used by:1307
Symbol 1299 BitmapUsed by:1300
Symbol 1300 GraphicUses:1299Used by:1307
Symbol 1301 BitmapUsed by:1302
Symbol 1302 GraphicUses:1301Used by:1307
Symbol 1303 BitmapUsed by:1304
Symbol 1304 GraphicUses:1303Used by:1307
Symbol 1305 BitmapUsed by:1306
Symbol 1306 GraphicUses:1305Used by:1307
Symbol 1307 MovieClipUses:1284 1286 1288 1290 1292 1294 1296 1298 1300 1302 1304 1306Used by:1310
Symbol 1308 BitmapUsed by:1309
Symbol 1309 GraphicUses:1308Used by:1310
Symbol 1310 MovieClipUses:1076 1109 1142 1175 1178 1211 1213 1246 1247 1248 1249 1282 1307 1309Used by:1311
Symbol 1311 MovieClip [Maid]Uses:1310Used by:1364
Symbol 1312 BitmapUsed by:1313
Symbol 1313 GraphicUses:1312Used by:1314
Symbol 1314 MovieClip [KitchenWallMC]Uses:1313Used by:1364
Symbol 1315 GraphicUsed by:1316
Symbol 1316 MovieClipUses:1315Used by:1324
Symbol 1317 BitmapUsed by:1318
Symbol 1318 GraphicUses:1317Used by:1324
Symbol 1319 GraphicUsed by:1320
Symbol 1320 MovieClipUses:1319Used by:1324
Symbol 1321 BitmapUsed by:1322
Symbol 1322 GraphicUses:1321Used by:1323
Symbol 1323 MovieClipUses:1322Used by:1324
Symbol 1324 MovieClip [Table]Uses:1316 1318 1320 21 1323 650Used by:1364
Symbol 1325 BitmapUsed by:1326
Symbol 1326 GraphicUses:1325Used by:1364
Symbol 1327 EditableTextUses:15Used by:1329
Symbol 1328 EditableTextUses:15Used by:1329
Symbol 1329 MovieClipUses:3 1327 1328Used by:1364
Symbol 1330 EditableTextUses:15Used by:1364
Symbol 1331 BitmapUsed by:1332
Symbol 1332 GraphicUses:1331Used by:1340
Symbol 1333 EditableTextUses:15Used by:1340
Symbol 1334 BitmapUsed by:1335
Symbol 1335 GraphicUses:1334Used by:1336
Symbol 1336 MovieClipUses:1335Used by:1340
Symbol 1337 BitmapUsed by:1338
Symbol 1338 GraphicUses:1337Used by:1339
Symbol 1339 MovieClipUses:1338Used by:1340
Symbol 1340 MovieClip [Clock]Uses:1332 1333 1336 1339Used by:1364
Symbol 1341 EditableTextUses:15Used by:1364
Symbol 1342 EditableTextUses:15Used by:1364
Symbol 1343 BitmapUsed by:1344
Symbol 1344 GraphicUses:1343Used by:1349
Symbol 1345 BitmapUsed by:1346
Symbol 1346 GraphicUses:1345Used by:1348
Symbol 1347 EditableTextUses:15Used by:1348
Symbol 1348 MovieClipUses:1346 1347Used by:1349
Symbol 1349 MovieClip [SuccessBar]Uses:3 1344 1348Used by:1364
Symbol 1350 BitmapUsed by:1351
Symbol 1351 GraphicUses:1350Used by:1362
Symbol 1352 BitmapUsed by:1353 1355
Symbol 1353 GraphicUses:1352Used by:1356
Symbol 1354 BitmapUsed by:1355 1359 1360
Symbol 1355 GraphicUses:1352 1354Used by:1356
Symbol 1356 ButtonUses:1353 1355Used by:1362
Symbol 1357 BitmapUsed by:1358 1359 1360
Symbol 1358 GraphicUses:1357Used by:1361
Symbol 1359 GraphicUses:1357 1354Used by:1361
Symbol 1360 GraphicUses:1357 1354Used by:1361
Symbol 1361 ButtonUses:1358 1359 1360Used by:1362
Symbol 1362 MovieClipUses:1351 1356 1361Used by:1364
Symbol 1363 GraphicUsed by:1364
Symbol 1364 MovieClip [Game]Uses:917 45 960 963 973 976 1025 1033 1044 1054 1059 1067 1074 1311 1314 1324 64 1326 1329 1330 1340 1341 1342 1349 1362 24 295 1363Used by:Timeline
Symbol 1365 EditableTextUses:15Used by:Timeline
Symbol 1366 EditableTextUses:15Used by:Timeline
Symbol 1367 EditableTextUses:15Used by:Timeline
Symbol 1368 EditableTextUses:15Used by:Timeline
Symbol 1369 EditableTextUses:15Used by:Timeline
Symbol 1370 EditableTextUses:15Used by:Timeline
Symbol 1371 EditableTextUses:15Used by:Timeline
Symbol 1372 EditableTextUses:15Used by:Timeline
Symbol 1373 EditableTextUses:15Used by:Timeline
Symbol 1374 EditableTextUses:15Used by:Timeline

Instance Names

"mc_Btn"Frame 1Symbol 14 MovieClip
"sliderLoading"Frame 1Symbol 9 MovieClip [Slider]
"_exported_"Frame 3Symbol 877 MovieClip
"mcOrientierFirstButton"Frame 25Symbol 23 MovieClip
"mcText"Frame 27Symbol 895 EditableText
"btnOk"Frame 27Symbol 293 MovieClip [ButtonStartGame]
"btnStart"Frame 29Symbol 293 MovieClip [ButtonStartGame]
"btnOptions"Frame 29Symbol 293 MovieClip [ButtonStartGame]
"btnGetIt"Frame 29Symbol 293 MovieClip [ButtonStartGame]
"btnScores"Frame 29Symbol 293 MovieClip [ButtonStartGame]
"btnChangePlayer"Frame 29Symbol 899 Button
"mcSoundVolume"Frame 31Symbol 9 MovieClip [Slider]
"mcMusicButton"Frame 31Symbol 907 MovieClip
"btnOk"Frame 31Symbol 293 MovieClip [ButtonStartGame]
"btnShowTips"Frame 31Symbol 808 MovieClip
"mcScoresTable"Frame 33Symbol 914 MovieClip
"mcText"Frame 35Symbol 915 EditableText
"mcLoadingProgress"Frame 35Symbol 9 MovieClip [Slider]
"mcGame"Frame 37Symbol 1364 MovieClip [Game]
"mcText"Frame 41Symbol 1365 EditableText
"mcSoundVolume"Frame 41Symbol 9 MovieClip [Slider]
"mcText"Frame 41Symbol 1366 EditableText
"mcMusicButton"Frame 41Symbol 907 MovieClip
"mcText"Frame 41Symbol 1367 EditableText
"btnAbort"Frame 41Symbol 293 MovieClip [ButtonStartGame]
"btnContinue"Frame 41Symbol 293 MovieClip [ButtonStartGame]
"btnGetIt"Frame 41Symbol 293 MovieClip [ButtonStartGame]
"btnShowTips"Frame 41Symbol 808 MovieClip
"btnYes"Frame 43Symbol 293 MovieClip [ButtonStartGame]
"btnNo"Frame 43Symbol 293 MovieClip [ButtonStartGame]
"mcText"Frame 43Symbol 1369 EditableText
"btnOk"Frame 48Symbol 293 MovieClip [ButtonStartGame]
"btnCancel"Frame 48Symbol 293 MovieClip [ButtonStartGame]
"mcHit"Symbol 9 MovieClip [Slider] Frame 1Symbol 3 MovieClip
"mcAllocator"Symbol 9 MovieClip [Slider] Frame 1Symbol 6 MovieClip
"mcMask"Symbol 9 MovieClip [Slider] Frame 1Symbol 3 MovieClip
"depthSeat"Symbol 45 MovieClip [Door] Frame 1Symbol 21 MovieClip
"orientierOut"Symbol 45 MovieClip [Door] Frame 1Symbol 24 MovieClip [<Orientir>]
"orientierIn"Symbol 45 MovieClip [Door] Frame 1Symbol 24 MovieClip [<Orientir>]
"mcHit"Symbol 45 MovieClip [Door] Frame 1Symbol 26 MovieClip
"depthCarryObject"Symbol 283 MovieClip Frame 1Symbol 21 MovieClip
"mcCarryObject"Symbol 283 MovieClip Frame 1Symbol 82 MovieClip
"orientierCarryObject"Symbol 283 MovieClip Frame 6Symbol 24 MovieClip [<Orientir>]
"mcAnim"Symbol 284 MovieClip [Hero] Frame 1Symbol 283 MovieClip
"orientir_3"Symbol 284 MovieClip [Hero] Frame 1Symbol 21 MovieClip
"orientir_2"Symbol 284 MovieClip [Hero] Frame 1Symbol 21 MovieClip
"orientir_1"Symbol 284 MovieClip [Hero] Frame 1Symbol 21 MovieClip
"orientir_0"Symbol 284 MovieClip [Hero] Frame 1Symbol 21 MovieClip
"mcHint"Symbol 293 MovieClip [ButtonStartGame] Frame 1Symbol 3 MovieClip
"mcTextNormal"Symbol 293 MovieClip [ButtonStartGame] Frame 1Symbol 288 EditableText
"mcTextActive"Symbol 293 MovieClip [ButtonStartGame] Frame 1Symbol 289 EditableText
"btnScreen"Symbol 304 MovieClip [StartLevelWindow] Frame 1Symbol 295 Button
"textLevel"Symbol 304 MovieClip [StartLevelWindow] Frame 2Symbol 300 EditableText
"textMasterObj"Symbol 304 MovieClip [StartLevelWindow] Frame 2Symbol 301 EditableText
"textPopular"Symbol 304 MovieClip [StartLevelWindow] Frame 2Symbol 302 EditableText
"btnTryAgain"Symbol 315 MovieClip [EndLevelWinWindow] Frame 2Symbol 293 MovieClip [ButtonStartGame]
"textserver_clients"Symbol 315 MovieClip [EndLevelWinWindow] Frame 2Symbol 307 EditableText
"textlosted_clients"Symbol 315 MovieClip [EndLevelWinWindow] Frame 2Symbol 309 EditableText
"textsales"Symbol 315 MovieClip [EndLevelWinWindow] Frame 2Symbol 311 EditableText
"texttotal"Symbol 315 MovieClip [EndLevelWinWindow] Frame 2Symbol 313 EditableText
"btnOk"Symbol 315 MovieClip [EndLevelWinWindow] Frame 2Symbol 293 MovieClip [ButtonStartGame]
"mcHint"Symbol 324 MovieClip [ButtonStartGameN] Frame 1Symbol 3 MovieClip
"mcTextActive"Symbol 324 MovieClip [ButtonStartGameN] Frame 1Symbol 321 EditableText
"mcHint"Symbol 330 MovieClip Frame 1Symbol 3 MovieClip
"mcTextActive"Symbol 330 MovieClip Frame 1Symbol 327 EditableText
"mcHint"Symbol 336 MovieClip Frame 1Symbol 3 MovieClip
"mcTextActive"Symbol 336 MovieClip Frame 1Symbol 333 EditableText
"btnOk"Symbol 337 MovieClip [EndLevelWinWindowTrial] Frame 2Symbol 324 MovieClip [ButtonStartGameN]
"btnGetIt"Symbol 337 MovieClip [EndLevelWinWindowTrial] Frame 2Symbol 330 MovieClip
"btn_menu"Symbol 337 MovieClip [EndLevelWinWindowTrial] Frame 2Symbol 336 MovieClip
"orOrder"Symbol 629 MovieClip Frame 1Symbol 24 MovieClip [<Orientir>]
"mcAbove"Symbol 629 MovieClip Frame 7Symbol 467 MovieClip
"mcAbove"Symbol 629 MovieClip Frame 8Symbol 486 MovieClip
"mcAbove"Symbol 629 MovieClip Frame 15Symbol 609 MovieClip
"mcAbove"Symbol 629 MovieClip Frame 16Symbol 628 MovieClip
"mcProgress"Symbol 647 MovieClip [ClientOrder] Frame 1Symbol 633 MovieClip
"mcAnim"Symbol 647 MovieClip [ClientOrder] Frame 1Symbol 646 MovieClip
"mcHit"Symbol 651 MovieClip [Client] Frame 1Symbol 345 MovieClip
"mcAnim"Symbol 651 MovieClip [Client] Frame 1Symbol 629 MovieClip
"mcOrder"Symbol 651 MovieClip [Client] Frame 1Symbol 647 MovieClip [ClientOrder]
"orientierHead"Symbol 651 MovieClip [Client] Frame 1Symbol 24 MovieClip [<Orientir>]
"mcTick"Symbol 651 MovieClip [Client] Frame 1Symbol 650 MovieClip
"orderPosStay"Symbol 651 MovieClip [Client] Frame 1Symbol 24 MovieClip [<Orientir>]
"orderPosSeat"Symbol 651 MovieClip [Client] Frame 1Symbol 24 MovieClip [<Orientir>]
"mcHitArea"Symbol 716 MovieClip [Moneys] Frame 1Symbol 3 MovieClip
"mcTick"Symbol 716 MovieClip [Moneys] Frame 1Symbol 650 MovieClip
"mcHint"Symbol 726 MovieClip Frame 1Symbol 3 MovieClip
"mcText"Symbol 726 MovieClip Frame 1Symbol 720 EditableText
"mcText"Symbol 726 MovieClip Frame 3Symbol 725 EditableText
"mcMoney"Symbol 737 MovieClip Frame 1Symbol 716 MovieClip [Moneys]
"textValue"Symbol 737 MovieClip Frame 1Symbol 736 EditableText
"mcBeginStars"Symbol 738 MovieClip [StarsSlider] Frame 1Symbol 23 MovieClip
"mcEndStars"Symbol 738 MovieClip [StarsSlider] Frame 1Symbol 23 MovieClip
"mcCursor"Symbol 738 MovieClip [StarsSlider] Frame 1Symbol 737 MovieClip
"mcBg"Symbol 773 MovieClip [ShopGood] Frame 1Symbol 745 MovieClip
"mcAnim"Symbol 773 MovieClip [ShopGood] Frame 1Symbol 764 MovieClip
"mcKrest"Symbol 773 MovieClip [ShopGood] Frame 1Symbol 767 MovieClip
"textPrice"Symbol 773 MovieClip [ShopGood] Frame 1Symbol 768 EditableText
"textWarning"Symbol 773 MovieClip [ShopGood] Frame 1Symbol 769 EditableText
"mcSold"Symbol 773 MovieClip [ShopGood] Frame 1Symbol 772 MovieClip
"btnPlay"Symbol 775 MovieClip [Shop] Frame 1Symbol 726 MovieClip
"btnMenu"Symbol 775 MovieClip [Shop] Frame 1Symbol 726 MovieClip
"textPopularLabel"Symbol 775 MovieClip [Shop] Frame 1Symbol 728 EditableText
"textPopular"Symbol 775 MovieClip [Shop] Frame 1Symbol 729 EditableText
"slider"Symbol 775 MovieClip [Shop] Frame 1Symbol 738 MovieClip [StarsSlider]
"textPrice"Symbol 775 MovieClip [Shop] Frame 1Symbol 740 EditableText
"good0"Symbol 775 MovieClip [Shop] Frame 1Symbol 773 MovieClip [ShopGood]
"good1"Symbol 775 MovieClip [Shop] Frame 1Symbol 773 MovieClip [ShopGood]
"good2"Symbol 775 MovieClip [Shop] Frame 1Symbol 773 MovieClip [ShopGood]
"good3"Symbol 775 MovieClip [Shop] Frame 1Symbol 773 MovieClip [ShopGood]
"good4"Symbol 775 MovieClip [Shop] Frame 1Symbol 773 MovieClip [ShopGood]
"good5"Symbol 775 MovieClip [Shop] Frame 1Symbol 773 MovieClip [ShopGood]
"good6"Symbol 775 MovieClip [Shop] Frame 1Symbol 773 MovieClip [ShopGood]
"good7"Symbol 775 MovieClip [Shop] Frame 1Symbol 773 MovieClip [ShopGood]
"good8"Symbol 775 MovieClip [Shop] Frame 1Symbol 773 MovieClip [ShopGood]
"textPriceLabel"Symbol 775 MovieClip [Shop] Frame 1Symbol 774 EditableText
"mcGood"Symbol 787 MovieClip [GoodDetailWindow] Frame 1Symbol 764 MovieClip
"textRequiredLabel"Symbol 787 MovieClip [GoodDetailWindow] Frame 1Symbol 778 EditableText
"textTakeLabel"Symbol 787 MovieClip [GoodDetailWindow] Frame 1Symbol 779 EditableText
"textRequired"Symbol 787 MovieClip [GoodDetailWindow] Frame 1Symbol 780 EditableText
"textTake"Symbol 787 MovieClip [GoodDetailWindow] Frame 1Symbol 783 EditableText
"textGoodName"Symbol 787 MovieClip [GoodDetailWindow] Frame 1Symbol 784 EditableText
"textGoodDescribe"Symbol 787 MovieClip [GoodDetailWindow] Frame 1Symbol 785 EditableText
"btnBack"Symbol 787 MovieClip [GoodDetailWindow] Frame 1Symbol 726 MovieClip
"btnBuy"Symbol 787 MovieClip [GoodDetailWindow] Frame 1Symbol 726 MovieClip
"startBarBegin"Symbol 787 MovieClip [GoodDetailWindow] Frame 1Symbol 23 MovieClip
"startBarEnd"Symbol 787 MovieClip [GoodDetailWindow] Frame 1Symbol 23 MovieClip
"textPrice"Symbol 787 MovieClip [GoodDetailWindow] Frame 1Symbol 786 EditableText
"textMask"Symbol 794 MovieClip [StimulationTextAnim] Frame 1Symbol 791 EditableText
"mcMasked"Symbol 794 MovieClip [StimulationTextAnim] Frame 1Symbol 793 MovieClip
"textMask"Symbol 800 MovieClip [BeginTextSymbolAnim] Frame 1Symbol 796 EditableText
"mcMasked"Symbol 800 MovieClip [BeginTextSymbolAnim] Frame 1Symbol 798 MovieClip
"btnShowTips"Symbol 815 MovieClip [TipsWindow] Frame 1Symbol 808 MovieClip
"btnClose"Symbol 815 MovieClip [TipsWindow] Frame 1Symbol 814 Button
"btnClose"Symbol 826 MovieClip [TipHighlite] Frame 1Symbol 825 Button
"btnTryAgain"Symbol 842 MovieClip [EndLevelWinWindowLast] Frame 2Symbol 293 MovieClip [ButtonStartGame]
"textserver_clients"Symbol 842 MovieClip [EndLevelWinWindowLast] Frame 2Symbol 834 EditableText
"textlosted_clients"Symbol 842 MovieClip [EndLevelWinWindowLast] Frame 2Symbol 836 EditableText
"textsales"Symbol 842 MovieClip [EndLevelWinWindowLast] Frame 2Symbol 838 EditableText
"texttotal"Symbol 842 MovieClip [EndLevelWinWindowLast] Frame 2Symbol 840 EditableText
"btnOk"Symbol 842 MovieClip [EndLevelWinWindowLast] Frame 2Symbol 293 MovieClip [ButtonStartGame]
"mcAllocator"Symbol 907 MovieClip Frame 1Symbol 903 MovieClip
"mcHit"Symbol 960 MovieClip [Flower] Frame 1Symbol 3 MovieClip
"mcAnim"Symbol 960 MovieClip [Flower] Frame 1Symbol 959 MovieClip
"mcTick"Symbol 960 MovieClip [Flower] Frame 1Symbol 650 MovieClip
"pointDnd"Symbol 983 MovieClip Frame 1Symbol 23 MovieClip
"pointClosed"Symbol 983 MovieClip Frame 1Symbol 23 MovieClip
"mcHighlite"Symbol 1024 MovieClip [RoomWish] Frame 1Symbol 996 MovieClip
"mcAvatar"Symbol 1024 MovieClip [RoomWish] Frame 1Symbol 1011 MovieClip
"mcOrder"Symbol 1024 MovieClip [RoomWish] Frame 1Symbol 647 MovieClip [ClientOrder]
"mcBar"Symbol 1024 MovieClip [RoomWish] Frame 1Symbol 1023 MovieClip
"mcAnim"Symbol 1025 MovieClip [Room] Frame 1Symbol 983 MovieClip
"mcHighlite"Symbol 1025 MovieClip [Room] Frame 1Symbol 987 MovieClip
"mcStatusDnd"Symbol 1025 MovieClip [Room] Frame 1Symbol 990 MovieClip
"mcStatusClosed"Symbol 1025 MovieClip [Room] Frame 1Symbol 993 MovieClip
"mcOrder"Symbol 1025 MovieClip [Room] Frame 1Symbol 647 MovieClip [ClientOrder]
"mcTick"Symbol 1025 MovieClip [Room] Frame 1Symbol 650 MovieClip
"roomWish"Symbol 1025 MovieClip [Room] Frame 1Symbol 1024 MovieClip [RoomWish]
"mcHitArea"Symbol 1033 MovieClip [DivanTV] Frame 1Symbol 1027 MovieClip
"mcHit"Symbol 1033 MovieClip [DivanTV] Frame 1Symbol 1029 MovieClip
"depthSeat"Symbol 1033 MovieClip [DivanTV] Frame 1Symbol 21 MovieClip
"mcTick"Symbol 1033 MovieClip [DivanTV] Frame 1Symbol 650 MovieClip
"depthSeatAbove"Symbol 1033 MovieClip [DivanTV] Frame 1Symbol 21 MovieClip
"mcHitArea"Symbol 1044 MovieClip [TVSet] Frame 1Symbol 1034 MovieClip
"mcHit"Symbol 1044 MovieClip [TVSet] Frame 1Symbol 1036 MovieClip
"mcAnim"Symbol 1044 MovieClip [TVSet] Frame 1Symbol 1043 MovieClip
"mcTick"Symbol 1044 MovieClip [TVSet] Frame 1Symbol 650 MovieClip
"mcWOKeys"Symbol 1053 MovieClip Frame 1Symbol 1052 MovieClip
"mcHitArea"Symbol 1054 MovieClip [ReceptionTable] Frame 1Symbol 1046 MovieClip
"mcHit"Symbol 1054 MovieClip [ReceptionTable] Frame 1Symbol 1048 MovieClip
"mcReception"Symbol 1054 MovieClip [ReceptionTable] Frame 1Symbol 1053 MovieClip
"mcTick"Symbol 1054 MovieClip [ReceptionTable] Frame 1Symbol 650 MovieClip
"orientierMoneysPlace"Symbol 1054 MovieClip [ReceptionTable] Frame 1Symbol 24 MovieClip [<Orientir>]
"orientierMoneysPlace2"Symbol 1054 MovieClip [ReceptionTable] Frame 1Symbol 24 MovieClip [<Orientir>]
"mcHitArea"Symbol 1059 MovieClip [Daily] Frame 1Symbol 1055 MovieClip
"mcHit"Symbol 1059 MovieClip [Daily] Frame 1Symbol 26 MovieClip
"mcTick"Symbol 1059 MovieClip [Daily] Frame 1Symbol 650 MovieClip
"mcHitArea"Symbol 1067 MovieClip [Phone] Frame 1Symbol 1061 MovieClip
"mcHit"Symbol 1067 MovieClip [Phone] Frame 1Symbol 1063 MovieClip
"mcGraph"Symbol 1067 MovieClip [Phone] Frame 1Symbol 1066 MovieClip
"mcTick"Symbol 1067 MovieClip [Phone] Frame 1Symbol 650 MovieClip
"mcHitArea"Symbol 1074 MovieClip [Coffee] Frame 1Symbol 1068 MovieClip
"mcHit"Symbol 1074 MovieClip [Coffee] Frame 1Symbol 1069 MovieClip
"mcGraph"Symbol 1074 MovieClip [Coffee] Frame 1Symbol 1072 MovieClip
"mcCup"Symbol 1074 MovieClip [Coffee] Frame 1Symbol 1073 MovieClip
"mcTick"Symbol 1074 MovieClip [Coffee] Frame 1Symbol 650 MovieClip
"mcAnim"Symbol 1311 MovieClip [Maid] Frame 1Symbol 1310 MovieClip
"mcHitArea"Symbol 1324 MovieClip [Table] Frame 1Symbol 1316 MovieClip
"mcHit"Symbol 1324 MovieClip [Table] Frame 1Symbol 1320 MovieClip
"depthSeat"Symbol 1324 MovieClip [Table] Frame 1Symbol 21 MovieClip
"mcGraph"Symbol 1324 MovieClip [Table] Frame 1Symbol 1323 MovieClip
"depthSeatAbove"Symbol 1324 MovieClip [Table] Frame 1Symbol 21 MovieClip
"mcTick"Symbol 1324 MovieClip [Table] Frame 1Symbol 650 MovieClip
"mcHint"Symbol 1329 MovieClip Frame 1Symbol 3 MovieClip
"mcText"Symbol 1329 MovieClip Frame 1Symbol 1327 EditableText
"mcText"Symbol 1329 MovieClip Frame 3Symbol 1328 EditableText
"textDay"Symbol 1340 MovieClip [Clock] Frame 1Symbol 1333 EditableText
"mcClosed"Symbol 1340 MovieClip [Clock] Frame 1Symbol 1336 MovieClip
"mcArrow"Symbol 1340 MovieClip [Clock] Frame 1Symbol 1339 MovieClip
"mcDisk"Symbol 1349 MovieClip [SuccessBar] Frame 1Symbol 1348 MovieClip
"btnClean"Symbol 1362 MovieClip Frame 1Symbol 1356 Button
"btnFlower"Symbol 1362 MovieClip Frame 1Symbol 1361 Button
"mebelDver"Symbol 1364 MovieClip [Game] Frame 1Symbol 45 MovieClip [Door]
"mebelFlower0"Symbol 1364 MovieClip [Game] Frame 1Symbol 960 MovieClip [Flower]
"mebelFlower1"Symbol 1364 MovieClip [Game] Frame 1Symbol 960 MovieClip [Flower]
"mebelPicture"Symbol 1364 MovieClip [Game] Frame 1Symbol 963 MovieClip [Picture]
"mebelAquarium"Symbol 1364 MovieClip [Game] Frame 1Symbol 973 MovieClip [Aquarium]
"mebelBra1"Symbol 1364 MovieClip [Game] Frame 1Symbol 976 MovieClip [Bra]
"mebelBra0"Symbol 1364 MovieClip [Game] Frame 1Symbol 976 MovieClip [Bra]
"mcRoom0"Symbol 1364 MovieClip [Game] Frame 1Symbol 1025 MovieClip [Room]
"mcRoom1"Symbol 1364 MovieClip [Game] Frame 1Symbol 1025 MovieClip [Room]
"mcRoom2"Symbol 1364 MovieClip [Game] Frame 1Symbol 1025 MovieClip [Room]
"mcRoom3"Symbol 1364 MovieClip [Game] Frame 1Symbol 1025 MovieClip [Room]
"mebelDivan"Symbol 1364 MovieClip [Game] Frame 1Symbol 1033 MovieClip [DivanTV]
"mebelTV"Symbol 1364 MovieClip [Game] Frame 1Symbol 1044 MovieClip [TVSet]
"mebelReceiption"Symbol 1364 MovieClip [Game] Frame 1Symbol 1054 MovieClip [ReceptionTable]
"mebelDaily"Symbol 1364 MovieClip [Game] Frame 1Symbol 1059 MovieClip [Daily]
"mebelPhone"Symbol 1364 MovieClip [Game] Frame 1Symbol 1067 MovieClip [Phone]
"mebelCoffee"Symbol 1364 MovieClip [Game] Frame 1Symbol 1074 MovieClip [Coffee]
"maid"Symbol 1364 MovieClip [Game] Frame 1Symbol 1311 MovieClip [Maid]
"mebelKWall"Symbol 1364 MovieClip [Game] Frame 1Symbol 1314 MovieClip [KitchenWallMC]
"mebelTable"Symbol 1364 MovieClip [Game] Frame 1Symbol 1324 MovieClip [Table]
"mcAvailableArea"Symbol 1364 MovieClip [Game] Frame 1Symbol 64 MovieClip
"btnMenu"Symbol 1364 MovieClip [Game] Frame 1Symbol 1329 MovieClip
"textScore"Symbol 1364 MovieClip [Game] Frame 1Symbol 1330 EditableText
"mcClock"Symbol 1364 MovieClip [Game] Frame 1Symbol 1340 MovieClip [Clock]
"textScoreTarget"Symbol 1364 MovieClip [Game] Frame 1Symbol 1341 EditableText
"succesBar"Symbol 1364 MovieClip [Game] Frame 1Symbol 1349 MovieClip [SuccessBar]
"mcGornichnayaPanel"Symbol 1364 MovieClip [Game] Frame 1Symbol 1362 MovieClip
"orientierMapCenter"Symbol 1364 MovieClip [Game] Frame 1Symbol 24 MovieClip [<Orientir>]
"orientierStartPosition"Symbol 1364 MovieClip [Game] Frame 1Symbol 24 MovieClip [<Orientir>]
"orientierKeys"Symbol 1364 MovieClip [Game] Frame 1Symbol 24 MovieClip [<Orientir>]
"orientierDoor"Symbol 1364 MovieClip [Game] Frame 1Symbol 24 MovieClip [<Orientir>]
"orientierReceiption"Symbol 1364 MovieClip [Game] Frame 1Symbol 24 MovieClip [<Orientir>]
"orientierRoom0"Symbol 1364 MovieClip [Game] Frame 1Symbol 24 MovieClip [<Orientir>]
"orientierRoom1"Symbol 1364 MovieClip [Game] Frame 1Symbol 24 MovieClip [<Orientir>]
"orientierRoom2"Symbol 1364 MovieClip [Game] Frame 1Symbol 24 MovieClip [<Orientir>]
"orientierRoom3"Symbol 1364 MovieClip [Game] Frame 1Symbol 24 MovieClip [<Orientir>]
"orientierCoffee"Symbol 1364 MovieClip [Game] Frame 1Symbol 24 MovieClip [<Orientir>]
"orientierKitchenIn"Symbol 1364 MovieClip [Game] Frame 1Symbol 24 MovieClip [<Orientir>]
"orientierKitchenOut"Symbol 1364 MovieClip [Game] Frame 1Symbol 24 MovieClip [<Orientir>]
"orientierPhone"Symbol 1364 MovieClip [Game] Frame 1Symbol 24 MovieClip [<Orientir>]
"orientierRead"Symbol 1364 MovieClip [Game] Frame 1Symbol 24 MovieClip [<Orientir>]
"orientierTv"Symbol 1364 MovieClip [Game] Frame 1Symbol 24 MovieClip [<Orientir>]
"orientierTvSet"Symbol 1364 MovieClip [Game] Frame 1Symbol 24 MovieClip [<Orientir>]
"orientierTable"Symbol 1364 MovieClip [Game] Frame 1Symbol 24 MovieClip [<Orientir>]
"orientierFlower0"Symbol 1364 MovieClip [Game] Frame 1Symbol 24 MovieClip [<Orientir>]
"orientierFlower1"Symbol 1364 MovieClip [Game] Frame 1Symbol 24 MovieClip [<Orientir>]
"orientierTip1"Symbol 1364 MovieClip [Game] Frame 1Symbol 24 MovieClip [<Orientir>]
"orientierTip2"Symbol 1364 MovieClip [Game] Frame 1Symbol 24 MovieClip [<Orientir>]
"orientierTip3"Symbol 1364 MovieClip [Game] Frame 1Symbol 24 MovieClip [<Orientir>]
"orientierTip4"Symbol 1364 MovieClip [Game] Frame 1Symbol 24 MovieClip [<Orientir>]
"orientierTip5REV"Symbol 1364 MovieClip [Game] Frame 1Symbol 24 MovieClip [<Orientir>]
"mcBlackBox"Symbol 1364 MovieClip [Game] Frame 1Symbol 295 Button

Special Tags

FileAttributes (69)Timeline Frame 1Access network only, Metadata not present, AS1/AS2.
ExportAssets (56)Timeline Frame 1Symbol 1 as "testads"
ExportAssets (56)Timeline Frame 1Symbol 9 as "Slider"
ExportAssets (56)Timeline Frame 1Symbol 1375 as "__Packages.Tracer"
ExportAssets (56)Timeline Frame 1Symbol 1376 as "__Packages.mx.utils.Delegate"
ExportAssets (56)Timeline Frame 1Symbol 1377 as "__Packages.Helper"
ExportAssets (56)Timeline Frame 1Symbol 1378 as "__Packages.StaticXML"
ExportAssets (56)Timeline Frame 1Symbol 1379 as "__Packages.LevelsConfig"
ExportAssets (56)Timeline Frame 1Symbol 1380 as "__Packages.Hashtable"
ExportAssets (56)Timeline Frame 1Symbol 1381 as "__Packages.Language"
ExportAssets (56)Timeline Frame 1Symbol 1382 as "__Packages.MochiAd"
ExportAssets (56)Timeline Frame 1Symbol 1383 as "__Packages.Game"
ExportAssets (56)Timeline Frame 1Symbol 1384 as "__Packages.Map"
ExportAssets (56)Timeline Frame 1Symbol 1385 as "__Packages.MapObject"
ExportAssets (56)Timeline Frame 1Symbol 1386 as "__Packages.Hero"
ExportAssets (56)Timeline Frame 1Symbol 1387 as "__Packages.Point"
ExportAssets (56)Timeline Frame 1Symbol 1388 as "__Packages.Toy"
ExportAssets (56)Timeline Frame 1Symbol 1389 as "__Packages.Orientir"
ExportAssets (56)Timeline Frame 1Symbol 1390 as "__Packages.Package"
ExportAssets (56)Timeline Frame 1Symbol 1391 as "__Packages.Clock"
ExportAssets (56)Timeline Frame 1Symbol 1392 as "__Packages.Timer"
ExportAssets (56)Timeline Frame 1Symbol 1393 as "__Packages.Mebel"
ExportAssets (56)Timeline Frame 1Symbol 1394 as "__Packages.Bot"
ExportAssets (56)Timeline Frame 1Symbol 1395 as "__Packages.Pathfinding"
ExportAssets (56)Timeline Frame 1Symbol 1396 as "__Packages.Client"
ExportAssets (56)Timeline Frame 1Symbol 1397 as "__Packages.ClientOrder"
ExportAssets (56)Timeline Frame 1Symbol 1398 as "__Packages.Room"
ExportAssets (56)Timeline Frame 1Symbol 1399 as "__Packages.RoomWish"
ExportAssets (56)Timeline Frame 1Symbol 1400 as "__Packages.TipsWindow"
ExportAssets (56)Timeline Frame 1Symbol 1401 as "__Packages.Fx"
ExportAssets (56)Timeline Frame 1Symbol 1402 as "__Packages.com.mosesSupposes.fuse.FuseKitCommon"
ExportAssets (56)Timeline Frame 1Symbol 1403 as "__Packages.com.mosesSupposes.fuse.ZigoEngine"
ExportAssets (56)Timeline Frame 1Symbol 1404 as "__Packages.com.mosesSupposes.fuse.ZManager"
ExportAssets (56)Timeline Frame 1Symbol 1405 as "__Packages.mx.transitions.easing.None"
ExportAssets (56)Timeline Frame 1Symbol 1406 as "__Packages.mx.transitions.easing.Regular"
ExportAssets (56)Timeline Frame 1Symbol 1407 as "__Packages.mx.transitions.easing.Elastic"
ExportAssets (56)Timeline Frame 1Symbol 1408 as "__Packages.com.mosesSupposes.fuse.Fuse"
ExportAssets (56)Timeline Frame 1Symbol 1409 as "__Packages.mx.events.EventDispatcher"
ExportAssets (56)Timeline Frame 1Symbol 1410 as "__Packages.com.mosesSupposes.fuse.FuseItem"
ExportAssets (56)Timeline Frame 1Symbol 1411 as "__Packages.DivanTV"
ExportAssets (56)Timeline Frame 1Symbol 1412 as "__Packages.ReceptionTable"
ExportAssets (56)Timeline Frame 1Symbol 1413 as "__Packages.Moneys"
ExportAssets (56)Timeline Frame 1Symbol 1414 as "__Packages.TVSet"
ExportAssets (56)Timeline Frame 1Symbol 1415 as "__Packages.Table"
ExportAssets (56)Timeline Frame 1Symbol 1416 as "__Packages.Daily"
ExportAssets (56)Timeline Frame 1Symbol 1417 as "__Packages.Phone"
ExportAssets (56)Timeline Frame 1Symbol 1418 as "__Packages.Coffee"
ExportAssets (56)Timeline Frame 1Symbol 1419 as "__Packages.Door"
ExportAssets (56)Timeline Frame 1Symbol 1420 as "__Packages.KitchenWallMC"
ExportAssets (56)Timeline Frame 1Symbol 1421 as "__Packages.Flower"
ExportAssets (56)Timeline Frame 1Symbol 1422 as "__Packages.Maid"
ExportAssets (56)Timeline Frame 1Symbol 1423 as "__Packages.SuccessBar"
ExportAssets (56)Timeline Frame 1Symbol 1424 as "__Packages.com.mosesSupposes.fuse.PennerEasing"
ExportAssets (56)Timeline Frame 1Symbol 1425 as "__Packages.ShopGood"
ExportAssets (56)Timeline Frame 1Symbol 1426 as "__Packages.mc_ADS"
ExportAssets (56)Timeline Frame 1Symbol 1427 as "__Packages.Shop"
ExportAssets (56)Timeline Frame 1Symbol 1428 as "__Packages.StarsSlider"
ExportAssets (56)Timeline Frame 1Symbol 1429 as "__Packages.GoodDetailWindow"
ExportAssets (56)Timeline Frame 1Symbol 1430 as "__Packages.Gorshok"
ExportAssets (56)Timeline Frame 3Symbol 24 as "<Orientir>"
ExportAssets (56)Timeline Frame 3Symbol 45 as "Door"
ExportAssets (56)Timeline Frame 3Symbol 60 as "Gorshok"
ExportAssets (56)Timeline Frame 3Symbol 284 as "Hero"
ExportAssets (56)Timeline Frame 3Symbol 287 as "PointsAnimation"
ExportAssets (56)Timeline Frame 3Symbol 293 as "ButtonStartGame"
ExportAssets (56)Timeline Frame 3Symbol 304 as "StartLevelWindow"
ExportAssets (56)Timeline Frame 3Symbol 315 as "EndLevelWinWindow"
ExportAssets (56)Timeline Frame 3Symbol 324 as "ButtonStartGameN"
ExportAssets (56)Timeline Frame 3Symbol 337 as "EndLevelWinWindowTrial"
ExportAssets (56)Timeline Frame 3Symbol 339 as "FullscreenButton"
ExportAssets (56)Timeline Frame 3Symbol 343 as "KeysCursor"
ExportAssets (56)Timeline Frame 3Symbol 647 as "ClientOrder"
ExportAssets (56)Timeline Frame 3Symbol 651 as "Client"
ExportAssets (56)Timeline Frame 3Symbol 653 as "MoneysTakedAnim"
ExportAssets (56)Timeline Frame 3Symbol 656 as "AddGreen"
ExportAssets (56)Timeline Frame 3Symbol 659 as "StarGreen"
ExportAssets (56)Timeline Frame 3Symbol 662 as "MinusRed"
ExportAssets (56)Timeline Frame 3Symbol 665 as "StarRed"
ExportAssets (56)Timeline Frame 3Symbol 668 as "HearthFx"
ExportAssets (56)Timeline Frame 3Symbol 716 as "Moneys"
ExportAssets (56)Timeline Frame 3Symbol 738 as "StarsSlider"
ExportAssets (56)Timeline Frame 3Symbol 773 as "ShopGood"
ExportAssets (56)Timeline Frame 3Symbol 775 as "Shop"
ExportAssets (56)Timeline Frame 3Symbol 787 as "GoodDetailWindow"
ExportAssets (56)Timeline Frame 3Symbol 789 as "BarStar"
ExportAssets (56)Timeline Frame 3Symbol 794 as "StimulationTextAnim"
ExportAssets (56)Timeline Frame 3Symbol 800 as "BeginTextSymbolAnim"
ExportAssets (56)Timeline Frame 3Symbol 815 as "TipsWindow"
ExportAssets (56)Timeline Frame 3Symbol 817 as "GreenParticle"
ExportAssets (56)Timeline Frame 3Symbol 826 as "TipHighlite"
ExportAssets (56)Timeline Frame 3Symbol 827 as "mc_ADS"
ExportAssets (56)Timeline Frame 3Symbol 828 as "splash3"
ExportAssets (56)Timeline Frame 3Symbol 829 as "splash1"
ExportAssets (56)Timeline Frame 3Symbol 830 as "splash2"
ExportAssets (56)Timeline Frame 3Symbol 842 as "EndLevelWinWindowLast"
ExportAssets (56)Timeline Frame 3Symbol 843 as "music_gameplay.mp3"
ExportAssets (56)Timeline Frame 3Symbol 846 as "bonus_buy"
ExportAssets (56)Timeline Frame 3Symbol 847 as "checkout"
ExportAssets (56)Timeline Frame 3Symbol 848 as "cleaning"
ExportAssets (56)Timeline Frame 3Symbol 849 as "door_close"
ExportAssets (56)Timeline Frame 3Symbol 850 as "door_main_bell"
ExportAssets (56)Timeline Frame 3Symbol 851 as "door_main_open"
ExportAssets (56)Timeline Frame 3Symbol 852 as "door_open"
ExportAssets (56)Timeline Frame 3Symbol 853 as "event_accepted"
ExportAssets (56)Timeline Frame 3Symbol 854 as "female_hello"
ExportAssets (56)Timeline Frame 3Symbol 855 as "flower_dry"
ExportAssets (56)Timeline Frame 3Symbol 856 as "flower_water"
ExportAssets (56)Timeline Frame 3Symbol 857 as "game_menu_click"
ExportAssets (56)Timeline Frame 3Symbol 858 as "goal"
ExportAssets (56)Timeline Frame 3Symbol 859 as "hotel_close"
ExportAssets (56)Timeline Frame 3Symbol 860 as "key_denied"
ExportAssets (56)Timeline Frame 3Symbol 861 as "key_set"
ExportAssets (56)Timeline Frame 3Symbol 862 as "leveldefeat"
ExportAssets (56)Timeline Frame 3Symbol 863 as "levelup"
ExportAssets (56)Timeline Frame 3Symbol 864 as "male_hello"
ExportAssets (56)Timeline Frame 3Symbol 865 as "soundMenuHit"
ExportAssets (56)Timeline Frame 3Symbol 866 as "soundMenuToggle"
ExportAssets (56)Timeline Frame 3Symbol 867 as "pickup_coffee"
ExportAssets (56)Timeline Frame 3Symbol 868 as "pickup_key"
ExportAssets (56)Timeline Frame 3Symbol 869 as "pickup_money"
ExportAssets (56)Timeline Frame 3Symbol 870 as "pickup_newspaper"
ExportAssets (56)Timeline Frame 3Symbol 871 as "pickup_phone"
ExportAssets (56)Timeline Frame 3Symbol 872 as "pickup_tv"
ExportAssets (56)Timeline Frame 3Symbol 873 as "service_accepted"
ExportAssets (56)Timeline Frame 3Symbol 874 as "minus"
ExportAssets (56)Timeline Frame 3Symbol 875 as "tip"
ExportAssets (56)Timeline Frame 37Symbol 960 as "Flower"
ExportAssets (56)Timeline Frame 37Symbol 963 as "Picture"
ExportAssets (56)Timeline Frame 37Symbol 973 as "Aquarium"
ExportAssets (56)Timeline Frame 37Symbol 976 as "Bra"
ExportAssets (56)Timeline Frame 37Symbol 1024 as "RoomWish"
ExportAssets (56)Timeline Frame 37Symbol 1025 as "Room"
ExportAssets (56)Timeline Frame 37Symbol 1033 as "DivanTV"
ExportAssets (56)Timeline Frame 37Symbol 1044 as "TVSet"
ExportAssets (56)Timeline Frame 37Symbol 1054 as "ReceptionTable"
ExportAssets (56)Timeline Frame 37Symbol 1059 as "Daily"
ExportAssets (56)Timeline Frame 37Symbol 1067 as "Phone"
ExportAssets (56)Timeline Frame 37Symbol 1074 as "Coffee"
ExportAssets (56)Timeline Frame 37Symbol 1311 as "Maid"
ExportAssets (56)Timeline Frame 37Symbol 1314 as "KitchenWallMC"
ExportAssets (56)Timeline Frame 37Symbol 1324 as "Table"
ExportAssets (56)Timeline Frame 37Symbol 1340 as "Clock"
ExportAssets (56)Timeline Frame 37Symbol 1349 as "SuccessBar"
ExportAssets (56)Timeline Frame 37Symbol 1364 as "Game"
EnableDebugger2 (64)Timeline Frame 131 bytes "..$1$C3$w.qpjKWqDg9HLXRtchI8O.."
DebugMX1 (63)Timeline Frame 1

Labels

"frameLoadPhase2"Frame 2
"frameIntro"Frame 3
"frameInit"Frame 4
"frameInitFinish"Frame 24
"frameSelectLang"Frame 25
"framePlayer"Frame 27
"frameMainMenu"Frame 29
"frameOptions"Frame 31
"frameScores"Frame 33
"framePreGameLoader"Frame 35
"framePreGameLoaded"Frame 36
"frameStartGame"Frame 37
"frameGameContinue"Frame 38
"frameGameMenu"Frame 41
"frameAbortQuestion"Frame 43
"frameUpgradesShop"Frame 45
"frameSubmitScores"Frame 48
"frameToOpen"Symbol 45 MovieClip [Door] Frame 2
"frameToClose"Symbol 45 MovieClip [Door] Frame 17
"frame0perc"Symbol 339 MovieClip [FullscreenButton] Frame 2
"frame100perc"Symbol 339 MovieClip [FullscreenButton] Frame 35
"1"Symbol 467 MovieClip Frame 48
"frameSit"Symbol 629 MovieClip Frame 6
"frameCoffee"Symbol 629 MovieClip Frame 7
"frameRead"Symbol 629 MovieClip Frame 8

Dynamic Text Variables

strLoadingSymbol 16 EditableText"<p align="center"><font face="Arial Black" size="12" color="#ffffff" letterSpacing="4.000000" kerning="0">LOADING 0%</font></p>"
valueSymbol 285 EditableText"$000"
valueSymbol 286 EditableText"$000"
buttonTextSymbol 288 EditableText"<text>"
buttonTextSymbol 289 EditableText"<text>"
strPressAnyKeySymbol 303 EditableText"Нажмите любую клавишу"
strTitleSymbol 305 EditableText"ПОЗДРАВЛЕНИЯ!"
strServedSymbol 306 EditableText"Обслуженные клиенты:"
strLostedSymbol 308 EditableText"Потерянные клиенты:"
strSalesSymbol 310 EditableText"Продажи за сегодня:"
strTotalSymbol 312 EditableText"Всего:"
strLevelSymbol 314 EditableText"УРОВЕНЬ 1"
strGetItTextSymbol 318 EditableText"Download now to get: - You can grade your hotel   up from 2 star till 5 star. - 40 levels\n - You can upgrade your decor - Fun sounds, cool visual style,   and humorous animations."
buttonTextSymbol 321 EditableText"<p align="center"><font face="Arial Black" size="17" color="#ffffff" letterSpacing="1.000000" kerning="0">&lt;text&gt;</font></p>"
buttonTextSymbol 327 EditableText"<text>"
buttonTextSymbol 333 EditableText"<text>"
strValueSymbol 652 EditableText"00"
buttonTextSymbol 720 EditableText"<text>"
buttonTextSymbol 725 EditableText"<text>"
strValueSymbol 790 EditableText"EXCELLENT"
strValue2Symbol 791 EditableText"EXCELLENT"
strValueSymbol 795 EditableText"R"
strValue2Symbol 796 EditableText"R"
strValue3Symbol 799 EditableText"R"
textShowTipsSymbol 809 EditableText"Show tips..."
textTipSymbol 810 EditableText"This is your new customer. She/he can only occupy a clean room. You have to perform cleaning before the room can be occupied by a customer."
strTitleSymbol 832 EditableText"ПОЗДРАВЛЕНИЯ!"
strServedSymbol 833 EditableText"Обслуженные клиенты:"
strLostedSymbol 835 EditableText"Потерянные клиенты:"
strSalesSymbol 837 EditableText"Продажи за сегодня:"
strTotalSymbol 839 EditableText"Всего:"
strLevelSymbol 841 EditableText"УРОВЕНЬ 1"
textYourNameSymbol 895 EditableText"ENTER NAME"
playerNameSymbol 897 EditableText"Player"
textSoundVolumeSymbol 900 EditableText"SOUND"
textMusicVolumeSymbol 901 EditableText"MUSIC"
textOptionsTipsSymbol 908 EditableText"ПОКАЗЫВАТЬ ПОДСКАЗКИ"
status_textSymbol 910 EditableText"status..."
ranks_textSymbol 911 EditableText"1 2 3 4 5 6 7 8 9 10"
names_textSymbol 912 EditableText"Xandr Xandr Xandr Xandr Xandr"
scores_textSymbol 913 EditableText"1 2 3 4 5 6 7 8 9 10"
textLoadingSymbol 915 EditableText"LOADING"
buttonTextSymbol 1327 EditableText"<text>"
buttonTextSymbol 1328 EditableText"<text>"
strSalesSymbol 1342 EditableText"Цель"
strValueSymbol 1347 EditableText"+0"
textSoundVolumeSymbol 1365 EditableText"SOUND"
textMusicVolumeSymbol 1366 EditableText"MUSIC"
textPauseSymbol 1367 EditableText"PAUSE"
textOptionsTipsSymbol 1368 EditableText"ПОКАЗЫВАТЬ ПОДСКАЗКИ"
textQuestionSymbol 1369 EditableText"Are you sure want to exit?"
playerNameSymbol 1370 EditableText"Player"
textTitleSymbol 1371 EditableText"SUBMIT SCORE"
textYourNameSymbol 1372 EditableText"ENTER NAME"
playerScoreSymbol 1373 EditableText"000"
textYourScoreSymbol 1374 EditableText"YOU SCORE"




http://swfchan.com/9/42551/info.shtml
Created: 9/5 -2019 22:08:00 Last modified: 9/5 -2019 22:08:00 Server time: 09/05 -2024 19:10:29