Frame 1
_global.root = this;
Frame 3
var splashTime = 0;
var doPerformanceTest = true;
var bytesToLoad = getBytesTotal();
nextFrame();
Frame 4
_global.performance = new Classes.c_PerformanceTest(null, function () {
gotoAndPlay ("preloader");
});
stop();
Frame 5
var st = (getTimer() + splashTime);
play();
Frame 6
play();
Frame 7
if ((_framesloaded > 36) && (getTimer() > st)) {
delete st;
play();
} else {
prevFrame();
}
Frame 12
function initEngine(t_root) {
_global.clikitsEngine = new Classes.CMM_engine(t_root);
}
initEngine(this);
clikitsEngine.playSound("dance", 100);
Frame 26
function loadDisplay(ratioLoaded) {
mc_loader.loader.gotoAndStop(Math.floor(ratioLoaded * 7));
}
function loadInterval(startBytes, totalBytes) {
updateAfterEvent();
var _local1 = (getBytesLoaded() - startBytes) / totalBytes;
if (_local1 < 1) {
loadDisplay(_local1);
} else {
done();
}
}
function done() {
loadDisplay(1);
delete loadID;
delete loadInterval;
delete done;
doneLoading();
}
function doneLoading() {
play();
}
if (getBytesLoaded() >= bytesToLoad) {
loadDisplay(1);
doneLoading();
} else {
var loadID = setInterval(loadInterval, 0, getBytesLoaded(), bytesToLoad - getBytesLoaded());
stop();
}
Frame 35
stop();
Frame 59
clikitsEngine.attachSounds();
Frame 60
clikitsEngine.selectGirl("Heart");
Frame 83
ui_girl.gotoAndStop(clikitsEngine.selectedGirl);
mc_interface.gotoAndPlay("gameIntro");
Frame 87
stop();
Symbol 399 MovieClip [__Packages.Classes.c_PerformanceTest] Frame 0
class Classes.c_PerformanceTest
{
function c_PerformanceTest (itterations, onComplete) {
var _local1 = this;
trace("-- Run Performance Test --");
if (itterations) {
_local1.loops = itterations;
}
_local1.remainingLoops = _local1.loops;
if (onComplete) {
_local1.onComplete = onComplete;
}
var _local2 = System.capabilities.version.substr(4).split(",");
_local1.flashMajorVersion = Number(_local2[0]);
_local1.flashMinorVersion = Number(_local2[2]);
_local1.complete = false;
_local1.intervalID = setInterval(function (o) {
o.test();
}, 0, _local1);
}
function test() {
var _local3 = this;
if (_local3.remainingLoops <= 0) {
_local3.finalize();
clearInterval(_local3.intervalID);
} else {
_local3.remainingLoops--;
var startTime = getTimer();
var _local2;
var _local1 = 0;
while (_local1 < 6400) {
_local2 = {};
_local1++;
}
_local3.time = _local3.time + (getTimer() - startTime);
}
}
function finalize() {
var _local1 = this;
_local1.score = Math.floor((_local1.loops / _local1.time) * 10000);
if (_local1.flashMajorVersion >= 7) {
_local1.log = Math.log(_local1.score * 0.015);
} else {
_local1.log = Math.log(_local1.score * 0.023);
}
_local1.processor = _local1.log * 1000;
_local1.complete = true;
trace(("-- Performance Complete : " + Math.floor(_local1.processor)) + " --");
_local1.onComplete(_local1);
}
function toString() {
var _local1 = this;
if (_local1.score) {
return((((((((("Loops:\t" + _local1.loops) + "\nFlash Version: \t") + System.capabilities.version) + "\nTotal Time:\t") + _local1.time) + "\nScore: \t") + _local1.score) + "\nProcessor: \t") + _local1.processor);
}
return("Test In Process.");
}
var score = 0;
var time = 0;
var loops = 20;
var complete = false;
}
Symbol 400 MovieClip [__Packages.Classes.CMM_engine] Frame 0
class Classes.CMM_engine
{
var soundEngine, currentScript, n_currentLevel, a_levels, gameRoot, selectedGirl, paused, __hs_data;
function CMM_engine (t_root) {
var _local1 = this;
_local1.gameRoot = t_root;
trace("-- Init CMM Engine --");
_local1.hasPlayed = false;
_local1.soundMC = _local1.gameRoot.createEmptyMovieClip("soundEngine_mc", 3300);
_local1.soundEngine = new Classes.soundEngine(_local1.soundMC, 1, false);
_local1.soundEngine.createSound("dance", "CLIKITSlooptrack.wav");
_local1.K_initFlexInterval(function (t_elapsed) {
_global.clikitsEngine.stepFrame(t_elapsed);
});
_local1.K_unpauseInterval();
_local1.pause();
_local1.loadLevelData();
_local1.__hs_data = new Classes.nick.highscores.HighscoreData(_local1);
_local1.__hs_data.loadXML();
}
function K_initFlexInterval(t_function) {
var _local1 = _global;
trace(" - Initialized Flex Interval -");
if (_local1.K_interval != undefined) {
clearInterval(_local1.K_interval);
}
K_initBasics();
_local1.K_IntervalObject.updateFunction = t_function;
_local1.K_IntervalObject.maxTimeDifference = 0.005;
_local1.K_IntervalObject.maxFrameTime = 0.05;
_local1.K_IntervalObject.lastElapsed = _local1.K_IntervalObject.maxFrameTime;
_local1.K_interval = setInterval(pr_K_runFlexInterval, 0);
}
function K_initFlatInterval(t_function, t_FPS) {
var _local1 = _global;
trace((" - Initialized Flat Interval at " + t_FPS) + " FPS - ");
if (_local1.K_interval != undefined) {
clearInterval(_local1.K_interval);
}
K_initBasics();
_local1.K_IntervalObject.updateFunction = t_function;
_local1.K_IntervalObject.updateInterval = Math.floor(1000 / t_FPS) / 1000;
_local1.K_interval = setInterval(pr_K_runFlatInterval, 0);
}
function K_initBasics() {
var _local1 = _global;
_local1.K_IntervalObject = {};
_local1.K_IntervalObject.FrameTime = 0;
_local1.K_IntervalObject.lastUpdate = getTimer() / 1000;
_local1.K_IntervalObject.paused = true;
}
function K_clearInterval() {
var _local1 = _global;
trace(" - Interval Cleared - ");
if (_local1.K_interval != undefined) {
clearInterval(_local1.K_interval);
}
_local1.K_IntervalObject = null;
}
function K_pauseInterval() {
trace(" - Interval Paused - ");
_global.K_IntervalObject.paused = true;
}
function K_unpauseInterval() {
trace(" - Interval Play - ");
_global.K_IntervalObject.paused = false;
}
function pr_K_runFlatInterval() {
var _local1 = _global;
if (_local1.K_IntervalObject.paused) {
} else {
var _local2 = (-_local1.K_IntervalObject.lastUpdate) + ((_local1.K_IntervalObject.lastUpdate = getTimer() / 1000));
_local1.K_IntervalObject.FrameTime = _local1.K_IntervalObject.FrameTime + _local2;
if (_local1.K_IntervalObject.FrameTime < _local1.K_IntervalObject.updateInterval) {
} else {
_local1.K_IntervalObject.updateFunction(_local1.K_IntervalObject.updateInterval);
_local1.K_IntervalObject.FrameTime = 0;
}
}
}
function pr_K_runFlexInterval() {
var _local1 = _global;
if (_local1.K_IntervalObject.paused) {
_local1.K_IntervalObject.lastUpdate = getTimer() * 0.001;
} else {
var _local2 = Math.min(_local1.K_IntervalObject.maxFrameTime, (-_local1.K_IntervalObject.lastUpdate) + ((_local1.K_IntervalObject.lastUpdate = getTimer() * 0.001)));
_local2 = _local1.K_IntervalObject.lastElapsed - Math.max(-_local1.K_IntervalObject.maxTimeDifference, Math.min(_local1.K_IntervalObject.maxTimeDifference, _local1.K_IntervalObject.lastElapsed - _local2));
_local1.K_IntervalObject.lastElapsed = _local2;
_local1.K_IntervalObject.updateFunction(_local2);
}
}
function attachSounds() {
var _local1 = this;
_local1.soundEngine.createSound("pickup", "pickupClikit2.mp3");
_local1.soundEngine.createSound("music", "in_game_loop.wav");
_local1.soundEngine.createSound("cough", "power_down.mp3");
}
function playSound(t_name, t_loops) {
soundEngine.playSound(t_name, t_loops);
}
function stopSound(t_name) {
var _local1 = t_name;
if (_local1 == undefined) {
_local1 = "music";
}
soundEngine.stopSound(_local1);
}
function changeVolume(t_vol) {
soundEngine.changeVolume(t_vol);
}
function startScript(t_script) {
trace("- Start Script : " + t_script);
currentScript = t_script;
switch (t_script) {
case "elevator" :
a_levels[n_currentLevel].player.hide();
gameRoot.elevatorAnim.gotoAndPlay("open");
return;
case "escalatorLeft" :
a_levels[n_currentLevel].player.hide();
gameRoot.mc_leftEscalator.gotoAndPlay("up");
gameRoot.escalatorLeftAnim.gotoAndPlay("left");
return;
case "escalatorRight" :
a_levels[n_currentLevel].player.hide();
gameRoot.mc_rightEscalator.gotoAndPlay("up");
gameRoot.escalatorRightAnim.gotoAndPlay("right");
return;
case "enterStore" :
a_levels[n_currentLevel].player.hide();
var t_mc = eval ((gameRoot + ".enter_") + a_levels[n_currentLevel].store);
t_mc.gotoAndPlay("enter");
t_mc.mcGirl.gotoAndStop(selectedGirl);
t_mc.mcGirl.mcAnim.gotoAndStop("up");
return;
case "janitorEnter" :
gameRoot.mc_rightEscalator.gotoAndPlay("down");
gameRoot.escalatorRightAnim.gotoAndPlay("janitor");
return;
case "perfumeEnter" :
gameRoot.mc_leftEscalator.gotoAndPlay("down");
gameRoot.escalatorLeftAnim.gotoAndPlay("perfume");
}
}
function finishScript(t_script) {
var _local1 = this;
trace("- Finish Script : " + t_script);
switch (t_script) {
case "elevator" :
_local1.a_levels[_local1.n_currentLevel].player.show();
_local1.currentScript = "finish";
return;
case "escalatorLeft" :
if (_local1.currentScript == "escalatorLeft") {
_local1.a_levels[_local1.n_currentLevel].player.x = 641;
_local1.a_levels[_local1.n_currentLevel].player.y = 160;
_local1.a_levels[_local1.n_currentLevel].player.mc.mcAnim.gotoAndStop("standLeft");
_local1.gameRoot.escalatorRightAnim.gotoAndPlay("left");
_local1.gameRoot.mc_leftEscalator.gotoAndStop(1);
_local1.gameRoot.mc_rightEscalator.gotoAndPlay("down");
_local1.currentScript = "finish";
} else {
_local1.gameRoot.mc_rightEscalator.gotoAndStop(1);
_local1.a_levels[_local1.n_currentLevel].player.show();
}
return;
case "escalatorRight" :
if (_local1.currentScript == "escalatorRight") {
_local1.a_levels[_local1.n_currentLevel].player.x = 220;
_local1.a_levels[_local1.n_currentLevel].player.y = 160;
_local1.a_levels[_local1.n_currentLevel].player.mc.mcAnim.gotoAndStop("standRight");
_local1.gameRoot.escalatorLeftAnim.gotoAndPlay("right");
_local1.gameRoot.mc_rightEscalator.gotoAndStop(1);
_local1.gameRoot.mc_leftEscalator.gotoAndPlay("down");
_local1.currentScript = "finish";
} else {
_local1.gameRoot.mc_leftEscalator.gotoAndStop(1);
_local1.a_levels[_local1.n_currentLevel].player.show();
}
return;
case "enterStore" :
_local1.beatLevel();
return;
case "janitorEnter" :
_local1.gameRoot.mc_rightEscalator.gotoAndStop(1);
_local1.gameRoot.mc_rightEscalator.gotoAndPlay("hidden");
_local1.a_levels[_local1.n_currentLevel].spawnSpecific("janitor");
return;
case "perfumeEnter" :
_local1.gameRoot.mc_leftEscalator.gotoAndStop(1);
_local1.gameRoot.mc_leftEscalator.gotoAndPlay("hidden");
_local1.a_levels[_local1.n_currentLevel].spawnSpecific("perfume");
}
}
function stepFrame(t_elapsed) {
var _local1 = this;
if (!_local1.paused) {
_local1.a_levels[_local1.n_currentLevel].step(t_elapsed);
}
}
function startGame() {
var _local1 = this;
_local1.reset();
_local1.startLevel();
_local1.hasPlayed = true;
_local1.bGameOver = false;
_local1.bBeatLevel = false;
}
function stopGame() {
var _local1 = this;
trace("- Stop and Clear game -");
_local1.stopSound();
_local1.pause();
_local1.clearLevel();
_local1.goTitle();
}
function reset() {
var _local1 = this;
_local1.n_currentLevel = 0;
_local1.currentScript = "finish";
_local1.bGameOver = false;
_local1.bBeatLevel = false;
_local1.pause();
}
function pause() {
var _local1 = this;
if (_global.performance.processor < _local1.LOWQUAL_PROC) {
_quality = "HIGH";
}
trace("Pause");
_local1.stopSound("dance");
_local1.paused = true;
}
function unpause() {
if (_global.performance.processor < LOWQUAL_PROC) {
_quality = "MEDIUM";
}
trace("UnPause");
paused = false;
}
function startOver() {
var _local1 = this;
_local1.bGameOver = false;
_local1.bBeatLevel = false;
_local1.stopGame();
}
function goTitle() {
gameRoot.gotoAndStop("diffSelect");
gameRoot.mc_loader.loader.gotoAndStop(8);
}
function goHelp() {
pause();
gameRoot.mc_interface.gotoAndPlay("helpIntro");
}
function leaveHelp() {
gameRoot.mc_interface.gotoAndPlay("helpOutro");
}
function beatLevel() {
var _local1 = this;
if (_local1.bGameOver) {
} else {
_local1.bBeatLevel = true;
_local1.pause();
_local1.clearLevel();
if (_local1.n_currentLevel == 3) {
_local1.beatGame();
} else {
_local1.gameRoot.mc_interface.gotoAndPlay("levelUpIntro");
}
}
}
function beatStep1() {
gameRoot.bags.gotoAndPlay("bag" + (n_currentLevel + 1));
}
function beatStep2() {
eval ((gameRoot + ".icon_") + a_levels[n_currentLevel].store).gotoAndPlay("transition");
}
function beatStep3() {
var _local1 = this;
if (_local1.n_currentLevel == 3) {
_local1.endGameTimer = _local1.endGameTimer_max;
_local1.endGameInterval = setInterval(_global.clikitsEngine.beatStepFinal, 100);
} else {
_local1.gameRoot.mc_interface.play();
}
}
function beatStepFinal() {
var _local1 = _global;
_local1.clikitsEngine.endGameTimer--;
if (_local1.clikitsEngine.endGameTimer <= 0) {
clearInterval(_local1.clikitsEngine.endGameInterval);
_local1.clikitsEngine.gameRoot.mc_interface.play();
}
}
function getTimeSpent() {
var _local1 = this;
var _local2 = _local1.a_levels[_local1.n_currentLevel].n_timerMax - _local1.a_levels[_local1.n_currentLevel].n_timer;
_local1.a_levels[_local1.n_currentLevel].previousCompleteTime = _local2;
var _local3 = String(Math.ceil(_local2));
return(_local3);
}
function getTotalTimeSpent() {
var _local3 = this;
var _local2 = 0;
var _local1 = _local3.a_levels.length;
while (_local1--) {
_local2 = _local2 + _local3.a_levels[_local1].previousCompleteTime;
}
var t_timeText = String(Math.ceil(_local2));
return(t_timeText);
}
function getTimeLeft() {
var _local1 = a_levels[n_currentLevel].getTimeLeft();
return(_local1);
}
function getInstructions() {
var _local1 = a_levels[n_currentLevel + 1].getMessage();
return(_local1);
}
function getTotalScore() {
var _local1 = Number(gameRoot.score_mc.score_txt.text);
return(_local1);
}
function addBonus(b) {
var _local1 = Number(gameRoot.score_mc.score_txt.text);
var _local2 = _local1 + b;
gameRoot.score_mc.score_txt.text = _local2;
}
function beatGame() {
pause();
gameRoot.mc_interface.gotoAndPlay("winIntro");
}
function gameOver() {
if (bBeatLevel) {
return(undefined);
}
bGameOver = true;
clearLevel();
pause();
gameRoot.mc_interface.gotoAndPlay("loseIntro");
eval ("_global.clikitsEngine.gameRoot." + a_levels[n_currentLevel].store).gotoAndStop("off");
}
function goGameplay() {
var _local1 = this;
_local1.changeVolume(100);
_local1.playSound("music", 100);
_local1.bGameOver = false;
_local1.bBeatLevel = false;
_local1.unpause();
}
function goGameover() {
pause();
gameRoot.mc_interface.gotoAndPlay("loseIntro");
}
function goLevelWin() {
pause();
gameRoot.mc_interface.gotoAndPlay("levelUpIntro");
}
function goGameWin() {
pause();
gameRoot.mc_interface.gotoAndPlay("winIntro");
}
function selectDiff(t_diff) {
var _local1 = this;
if (t_diff == "easy") {
_local1.selectedDiff = _local1.EASY_DIFF;
} else if (t_diff == "hard") {
_local1.selectedDiff = _local1.HARD_DIFF;
}
_local1.gameRoot.play();
if (_local1.hasPlayed) {
}
}
function selectGirl(t_name) {
selectedGirl = t_name;
gameRoot.play();
}
function startLevel() {
var _local1 = this;
_local1.bGameOver = false;
_local1.bBeatLevel = false;
trace(("-- Start Level " + (_local1.n_currentLevel + 1)) + " -- ");
if (_local1.selectedDiff == _local1.EASY_DIFF) {
_local1.a_levels[_local1.n_currentLevel].n_timerMax = 90;
} else {
_local1.a_levels[_local1.n_currentLevel].n_timerMax = 60;
}
_local1.activeGame = _local1.gameRoot.mc_placeholder.createEmptyMovieClip("game", 1);
_local1.a_levels[_local1.n_currentLevel].start(_local1.activeGame);
_local1.startScript("elevator");
}
function restartLevel() {
bGameOver = false;
bBeatLevel = false;
a_levels[n_currentLevel].restart();
eval ((gameRoot + ".enter_") + a_levels[n_currentLevel].store).gotoAndStop("hidden");
startLevel();
goGameplay();
}
function nextLevel() {
bGameOver = false;
bBeatLevel = false;
eval ((gameRoot + ".enter_") + a_levels[n_currentLevel].store).gotoAndStop("hidden");
n_currentLevel++;
startLevel();
gameRoot.mc_interface.gotoAndPlay("levelUpOutro");
goGameplay();
}
function clearLevel() {
var _local1 = this;
_local1.a_levels[_local1.n_currentLevel].clear();
_local1.activeGame.removeMovieClip();
}
function loadLevelData() {
var _local3 = this;
var _local2 = 90;
_local3.a_levels = [new Classes.cmmLevel(1), new Classes.cmmLevel(2), new Classes.cmmLevel(3), new Classes.cmmLevel(4)];
var _local1 = _local3.a_levels[0];
_local1.playerData = {assetID:"mc_player", x:515, y:106, speed:_local2};
_local1.clikitData = [{x:185, y:41}, {x:213, y:41}, {x:185, y:66}, {x:556, y:30}, {x:586, y:30}, {x:175, y:224}, {x:175, y:250}, {x:206, y:312}, {x:235, y:312}, {x:641, y:165}, {x:438, y:224}, {x:438, y:250}, {x:504, y:233}, {x:602, y:228}, {x:628, y:228}, {x:478, y:299}, {x:506, y:299}];
_local1.enemyData = [{assetID:"mc_charJanitor", startPoint:"point35", type:"janitor", speed:40}, {assetID:"mc_charPerfume", startPoint:"point13", type:"perfume", speed:30}];
_local1.store = "jewelry";
_local1 = _local3.a_levels[1];
_local1.playerData = {assetID:"mc_player", x:515, y:106, speed:_local2};
_local1.clikitData = [{x:186, y:96}, {x:186, y:122}, {x:360, y:42}, {x:390, y:42}, {x:494, y:62}, {x:444, y:108}, {x:473, y:108}, {x:438, y:133}, {x:209, y:311}, {x:244, y:285}, {x:346, y:209}, {x:346, y:235}, {x:480, y:298}, {x:543, y:219}, {x:595, y:313}, {x:639, y:270}, {x:666, y:269}];
_local1.enemyData = [{assetID:"mc_charJanitor", startPoint:"point35", type:"janitor", speed:40}, {assetID:"mc_charPerfume", startPoint:"point13", type:"perfume", speed:40}];
_local1.message = "Next, collect all the party invitations and take them to the Post Office.";
_local1.store = "dresses";
_local1 = _local3.a_levels[2];
_local1.playerData = {assetID:"mc_player", x:515, y:106, speed:_local2};
_local1.clikitData = [{x:186, y:42}, {x:186, y:66}, {x:186, y:122}, {x:391, y:96}, {x:304, y:166}, {x:177, y:217}, {x:177, y:243}, {x:358, y:241}, {x:387, y:241}, {x:328, y:311}, {x:357, y:311}, {x:478, y:171}, {x:520, y:219}, {x:479, y:297}, {x:658, y:30}, {x:686, y:30}, {x:632, y:229}, {x:609, y:269}, {x:684, y:312}];
_local1.enemyData = [{assetID:"mc_charJanitor", startPoint:"point35", type:"janitor", speed:40}, {assetID:"mc_charPerfume", startPoint:"point13", type:"perfume", speed:40}];
_local1.message = "Next, collect all the music notes and take them to Band Practice.";
_local1.store = "shoes";
_local1 = _local3.a_levels[3];
_local1.playerData = {assetID:"mc_player", x:515, y:106, speed:_local2};
_local1.clikitData = [{x:220, y:43}, {x:388, y:43}, {x:318, y:78}, {x:278, y:114}, {x:390, y:123}, {x:176, y:217}, {x:346, y:211}, {x:385, y:242}, {x:175, y:311}, {x:244, y:287}, {x:302, y:287}, {x:494, y:33}, {x:556, y:68}, {x:598, y:127}, {x:512, y:141}, {x:480, y:297}, {x:543, y:282}, {x:631, y:228}, {x:604, y:270}, {x:655, y:269}, {x:660, y:313}];
_local1.enemyData = [{assetID:"mc_charJanitor", startPoint:"point35", type:"janitor", speed:50}, {assetID:"mc_charPerfume", startPoint:"point13", type:"perfume", speed:45}];
_local1.message = "Next, collect all the gifts and take them to Aunt Jessie\u2019s House.";
_local1.store = "purses";
}
function onXML(success) {
if (success) {
trace("XML loaded.");
} else {
trace("Error loading XML!");
}
}
function onLogin(success) {
var _local1 = this;
if (success) {
trace("User Logged in : " + _local1.__hs_data.__get__userName());
_local1.username = _local1.__hs_data.userName;
_local1.gameRoot.mc_interface.loggedIn = true;
} else {
trace("User Not logged in. View only.");
_local1.username = "";
_local1.gameRoot.mc_interface.loggedIn = false;
}
_local1.gameRoot.mc_interface.play();
}
function onHighscores(success) {
if (success) {
viewScores();
} else {
trace("Error downloading scores!");
}
}
function getScores() {
__hs_data.getScores();
}
function viewScores() {
var _local2 = this;
var _local1 = new Object();
_local1.name = _local2.username;
_local1.score = _local2.getTotalScore();
_local2.gameRoot.mc_interface.highscore_mc.init(_local2.__hs_data.__get__scores(), _local1);
}
function checkLogin() {
__hs_data.getUserLogin();
}
function submitScore() {
__hs_data.sendScore(getTotalScore());
}
var HARD_DIFF = 3;
var EASY_DIFF = 1;
var endGameTimer_max = 16;
var ASP_TIMEOUT = 60;
var LOWQUAL_PROC = 800;
var username = "";
var bGameOver = false;
var bBeatLevel = false;
}
Symbol 401 MovieClip [__Packages.Classes.soundEngine] Frame 0
class Classes.soundEngine
{
var o_sounds, o_groups;
function soundEngine (t_path, t_depth, t_overwrite) {
var _local1 = this;
_local1.mc = t_path.createEmptyMovieClip("soundEngine_MC", t_depth);
_local1.o_sounds = new Object();
_local1.o_groups = new Object();
_local1.flagOverwrite = t_overwrite;
_local1.groupCount = 0;
_local1.createGroup(_local1.defaultGroupName);
trace("-- Init Sound Engine -- ");
}
function createGroup(t_name) {
var _local2 = this;
_local2.groupCount++;
var _local1 = _local2.mc.createEmptyMovieClip(t_name, _local2.groupCount);
_local1.soundObject = new Sound(_local1.mc);
_local2.o_groups[t_name] = _local1;
}
function createSound(t_name, t_assetID, t_group) {
var _local3 = this;
var _local2;
if (t_group == undefined) {
_local2 = _local3.o_groups[_local3.defaultGroupName];
} else {
_local2 = _local3.o_groups[t_group];
}
if (_local2 != undefined) {
var _local1 = {};
_local1.soundEffect = new Sound(_local2);
_local1.soundEffect.attachSound(t_assetID);
_local3.o_sounds[t_name] = _local1;
} else {
trace(("Error Locating Group " + t_group) + " for create Sound");
}
}
function playSound(t_name, t_loops) {
var _local2 = t_loops;
var _local1 = o_sounds[t_name];
if (_local1 != undefined) {
if (_local2 == undefined) {
_local2 = 1;
} else if (_local2 == 0) {
_local2 = 1000;
}
if (_global.K_SoundEngine.OverwriteSounds) {
_local1.SoundEffect.stop(_local1.idName);
}
_local1.soundEffect.start(0, _local2);
} else {
trace(("Error - sound " + t_name) + " not found");
}
}
function changeVolume(t_vol, t_name) {
var _local1 = t_name;
if (_local1 == undefined) {
_local1 = defaultGroupName;
}
o_groups[_local1].soundObject.setVolume(t_vol);
}
function stopSound(t_name) {
o_sounds[t_name].soundEffect.stop();
}
var defaultGroupName = "sound";
}
Symbol 402 MovieClip [__Packages.Classes.nick.highscores.HighscoreData] Frame 0
class Classes.nick.highscores.HighscoreData extends MovieClip
{
var __callback_path, __userPath, __scorePath, __game_id, __scores, __userName;
function HighscoreData (callback_path) {
super();
trace("Highscore Data Class Initialized **");
__callback_path = callback_path;
}
function loadXML() {
var _local1 = this;
_local1.__xml = new XML();
_local1.__xml.owner = _local1;
_local1.__xml.ignoreWhite = true;
_local1.__xml.onLoad = function (success) {
this.owner.onXMLloaded(success);
};
var _local2 = _root._url.slice(0, _root._url.lastIndexOf("/"));
if (_local2 != "") {
_local2 = _local2 + "/";
}
_local1.log(("Loading XML file from " + (_local2 + _local1.__XML_FILE_URL)) + " ...");
_local1.__xml.load(_local2 + _local1.__XML_FILE_URL);
}
function onXMLloaded(success) {
var _local1 = this;
if (success) {
_local1.__userPath = _local1.__xml.firstChild.childNodes[0].firstChild.nodeValue;
_local1.__scorePath = _local1.__xml.firstChild.childNodes[1].firstChild.nodeValue;
_local1.__game_id = _local1.__xml.firstChild.childNodes[2].firstChild.nodeValue;
_local1.log("Xml loaded : ");
_local1.log("User : " + _local1.__userPath);
_local1.log("score: " + _local1.__scorePath);
_local1.log("gameID: " + _local1.__game_id);
} else {
_local1.log("XML Loading error");
}
_local1.__callback_path[_local1.__XML_CALL].call(_local1.__callback_path, success);
}
function getUserLogin() {
var _local1 = this;
_local1.log("Test user login...");
_local1.__user_vars = new LoadVars();
_local1.__user_vars.returnPath = _local1;
_local1.__user_vars.onLoad = function (success) {
this.returnPath.onLogin(success);
};
_local1.__user_vars.load(_local1.__userPath);
}
function sendScore(score) {
var _local1 = this;
_local1.log("Send Score...");
if ((_local1.__userName == "null") && (_local1.__userName == undefined)) {
_local1.log(("Error: User name is : " + _local1.__userName) + ". Only logged in users may send scores.");
} else {
_local1.__score_vars = new LoadVars();
_local1.__score_vars.returnPath = _local1;
_local1.__score_vars.onLoad = function (success) {
this.returnPath.onHighscores(success);
};
_local1.log((((((((("Load ( " + _local1.__scorePath) + "?msg=S&game=") + _local1.__game_id) + "&name=") + _local1.__userName) + "&score=") + score) + "&limitEntries=true") + " )");
_local1.__score_vars.load(((((((_local1.__scorePath + "?msg=S&game=") + _local1.__game_id) + "&name=") + _local1.__userName) + "&score=") + score) + "&limitEntries=true");
}
}
function getScores() {
var _local1 = this;
_local1.log("View Scores...");
_local1.log(((("Load ( " + _local1.__scorePath) + "?msg=Q&game=") + _local1.__game_id) + " )");
_local1.__score_vars = new LoadVars();
_local1.__score_vars.returnPath = _local1;
_local1.__score_vars.onLoad = function (success) {
this.returnPath.onHighscores(success);
};
_local1.__score_vars.load((_local1.__scorePath + "?msg=Q&game=") + _local1.__game_id);
}
function onLogin(success) {
var _local1 = this;
if (success) {
while (_local1.__user_vars.screenName.indexOf("/n") != -1) {
_local1.log("Cull login string - : " + _local1.__user_vars.screenName);
_local1.__user_vars.screenName = _local1.__user_vars.screenName.substr(0, _local1.__user_vars.screenName.length - 2);
_local1.log("Result: " + _local1.__user_vars.screenName);
}
_local1.__userName = _local1.__user_vars.screenName;
_local1.log("USER IS : " + _local1.__userName);
if ((_local1.__userName != "null") && (_local1.__userName != undefined)) {
_local1.__callback_path[_local1.__LOGIN_CALL].call(_local1.__callback_path, true);
return;
}
} else {
_local1.__callback_path[_local1.__LOGIN_CALL].call(_local1.__callback_path, false);
}
}
function onHighscores(success) {
var _local1 = this;
_local1.log("Server callback recieved: ");
_local1.log("Success: " + success);
_local1.log("Returning game ID: " + _local1.__score_vars.game);
if ((!success) || (_local1.__score_vars.game != _local1.__game_id)) {
_local1.log("Highscore retrieval Failed.");
_local1.__callback_path[_local1.__SCORE_CALL].call(_local1.__callback_path, false);
} else {
_local1.__scores = [];
var _local2 = 0;
while (_local2 < _local1.__score_vars.count) {
_local1.__scores.push({name:_local1.__score_vars["pn" + _local2], score:_local1.__score_vars["ps" + _local2]});
_local2++;
}
_local1.__callback_path[_local1.__SCORE_CALL].call(_local1.__callback_path, true);
}
}
function set userPath(path) {
__userPath = path;
//return(userPath);
}
function get userPath() {
return(__userPath);
}
function set scorePath(path) {
__scorePath = path;
//return(scorePath);
}
function get scorePath() {
return(__scorePath);
}
function set gameID(id) {
__game_id = id;
//return(gameID);
}
function get gameID() {
return(__game_id);
}
function get scores() {
return(__scores);
}
function get userName() {
return(__userName);
}
function get isLoggedIn() {
return((((__userName == undefined) || (__userName == "null")) ? false : true));
}
function log(message) {
var _local1 = new LocalConnection();
_local1.send("_SILCtrace", "trace", message);
_local1.close();
trace("LOG : " + message);
}
var __XML_FILE_URL = "config.xml";
var __XML_CALL = "onXML";
var __LOGIN_CALL = "onLogin";
var __SCORE_CALL = "onHighscores";
}
Symbol 403 MovieClip [__Packages.Classes.cmmLevel] Frame 0
class Classes.cmmLevel
{
var pickupFrame, n_timer, message, player, alertLowTime, alertWarningTime, store, storeOpen, a_aiPoints, hd, escalator2, escalator1;
function cmmLevel (f) {
pickupFrame = f;
}
function get timer() {
Math.ceil(n_timer);
}
function getTimeLeft() {
return(Math.ceil(n_timer));
}
function getMessage() {
return(message);
}
function step(t_elapsed) {
var _local1 = this;
var _local2 = _global;
_local1.n_timer = _local1.n_timer - t_elapsed;
if (_local1.n_timer <= 0) {
_local1.n_timer = 0;
_local2.clikitsEngine.gameOver();
} else {
if (_local1.n_timer < 20) {
if (_local1.alertLowTime) {
_local2.clikitsEngine.gameRoot.mc_watch.gotoAndPlay("twentysec");
_local1.alertLowTime = false;
} else if ((_local1.n_timer < 10) && (_local1.alertWarningTime)) {
_local2.clikitsEngine.gameRoot.mc_watch.gotoAndPlay("tensec");
_local1.alertWarningTime = false;
}
}
if (_local1.n_enemyTimer > 0) {
_local1.n_enemyTimer = _local1.n_enemyTimer - t_elapsed;
if (_local1.n_enemyTimer <= 0) {
var t_diff = _local2.clikitsEngine.selectedDiff;
var t_levelNum = _local2.clikitsEngine.n_currentLevel;
if (t_diff == 1) {
if (t_levelNum == 0) {
} else if (t_levelNum == 1) {
_local2.clikitsEngine.startScript("janitorEnter");
} else if (t_levelNum == 2) {
_local2.clikitsEngine.startScript("perfumeEnter");
} else {
_local2.clikitsEngine.startScript("janitorEnter");
_local2.clikitsEngine.startScript("perfumeEnter");
}
} else {
_local2.clikitsEngine.startScript("janitorEnter");
_local2.clikitsEngine.startScript("perfumeEnter");
}
}
}
var t_timeText;
var _local3 = Math.floor(_local1.n_timer);
if (_local3 >= 60) {
_local3 = _local3 - 60;
t_timeText = "1";
} else {
t_timeText = "0";
}
if (_local3 < 10) {
t_timeText = t_timeText + (":0" + String(_local3));
} else {
t_timeText = t_timeText + (":" + String(_local3));
}
_local2.clikitsEngine.gameRoot.mc_watch.txt_time.text = t_timeText;
_local1.player.update(t_elapsed);
_local1.stepEnemy(t_elapsed);
if (!_local1.player.hidden) {
_local1.player.update(t_elapsed);
_local1.runEntityHD();
_local1.runEscalatorHD();
_local1.player.move();
if (_local1.storeOpen) {
_local1.runStoreHD();
} else {
_local1.runClikitHD();
}
}
_local1.player.render();
}
}
function start(t_path) {
var _local1 = this;
_local1.reset();
_local1.clear();
_local1.path = t_path;
_local1.attachHD();
_local1.clikitsFound = 0;
_local1.orig_score = Number(_global.clikitsEngine.gameRoot.score_mc.score_txt.text);
_local1.score = _local1.orig_score;
_local1.clikitsTotal = _local1.clikitData.length;
_local1.storeOpen = false;
_local1.spawnPlayer();
_local1.spawnClikits();
_local1.a_enemy = [];
_local1.spawnEscalators();
}
function restart() {
var _local1 = this;
_local1.score = _local1.orig_score;
_global.clikitsEngine.gameRoot.score_mc.score_txt.text = _local1.score;
}
function reset() {
var _local1 = this;
_local1.n_timer = _local1.n_timerMax;
_local1.n_enemyTimer = _local1.n_enemyTimerMax;
_local1.z_playerCurrent = _local1.z_playerMin;
_local1.z_clikitCurrent = _local1.z_clikitMin;
_local1.z_enemyCurrent = _local1.z_enemyMin;
}
function clear() {
player.clear();
player = null;
alertLowTime = true;
alertWarningTime = true;
eval ("_global.clikitsEngine.gameRoot." + store).gotoAndStop("off");
eval (("_global.clikitsEngine.gameRoot." + store) + "Door").gotoAndStop(1);
clearEscalators();
clearClikits();
clearEnemy();
}
function attachHD() {
var _local1 = this;
_local1.hd = _local1.path.attachMovie(_local1.hdAssetID, "hd", _local1.z_hd);
_local1.generateAIPoints();
}
function generateAIPoints() {
var _local1 = this;
_local1.a_aiPoints = [];
_local1.a_aiPoints.push({point:"point1", adj:["point2", "point6", "point10"]});
_local1.a_aiPoints.push({point:"point2", adj:["point1", "point3"]});
_local1.a_aiPoints.push({point:"point3", adj:["point2", "point4"]});
_local1.a_aiPoints.push({point:"point4", adj:["point3", "point11", "point29"]});
_local1.a_aiPoints.push({point:"point5", adj:["point12", "point20"]});
_local1.a_aiPoints.push({point:"point6", adj:["point1", "point7"]});
_local1.a_aiPoints.push({point:"point7", adj:["point6", "point8", "point13"]});
_local1.a_aiPoints.push({point:"point8", adj:["point7", "point9"]});
_local1.a_aiPoints.push({point:"point9", adj:["point8", "point10"]});
_local1.a_aiPoints.push({point:"point10", adj:["point1", "point9"]});
_local1.a_aiPoints.push({point:"point11", adj:["point4", "point12", "point21"]});
_local1.a_aiPoints.push({point:"point12", adj:["point5", "point11", "point13"]});
_local1.a_aiPoints.push({point:"point13", adj:["point7", "point12"]});
_local1.a_aiPoints.push({point:"point14", adj:["point15", "point16", "point45"]});
_local1.a_aiPoints.push({point:"point15", adj:["point14", "point17"]});
_local1.a_aiPoints.push({point:"point16", adj:["point14", "point17", "point19"]});
_local1.a_aiPoints.push({point:"point17", adj:["point15", "point16", "point18"]});
_local1.a_aiPoints.push({point:"point18", adj:["point17", "point19", "point24"]});
_local1.a_aiPoints.push({point:"point19", adj:["point16", "point18", "point20"]});
_local1.a_aiPoints.push({point:"point20", adj:["point5", "point19", "point23"]});
_local1.a_aiPoints.push({point:"point21", adj:["point11", "point23"]});
_local1.a_aiPoints.push({point:"point22", adj:["point32", "point35"]});
_local1.a_aiPoints.push({point:"point23", adj:["point20", "point21", "point27"]});
_local1.a_aiPoints.push({point:"point24", adj:["point18", "point46"]});
_local1.a_aiPoints.push({point:"point25", adj:["point26", "point48"]});
_local1.a_aiPoints.push({point:"point26", adj:["point25", "point27", "point47"]});
_local1.a_aiPoints.push({point:"point27", adj:["point23", "point26", "point29", "point46"]});
_local1.a_aiPoints.push({point:"point28", adj:["point29", "point30"]});
_local1.a_aiPoints.push({point:"point29", adj:["point4", "point27", "point28", "point31"]});
_local1.a_aiPoints.push({point:"point30", adj:["point28", "point33", "point36"]});
_local1.a_aiPoints.push({point:"point31", adj:["point26", "point29", "point36", "point47"]});
_local1.a_aiPoints.push({point:"point32", adj:["point22", "point41", "point44", "point47"]});
_local1.a_aiPoints.push({point:"point33", adj:["point30"]});
_local1.a_aiPoints.push({point:"point34", adj:["point37", "point39"]});
_local1.a_aiPoints.push({point:"point35", adj:["point22"]});
_local1.a_aiPoints.push({point:"point36", adj:["point30", "point31", "point39"]});
_local1.a_aiPoints.push({point:"point37", adj:["point34"]});
_local1.a_aiPoints.push({point:"point38", adj:["point39"]});
_local1.a_aiPoints.push({point:"point39", adj:["point34", "point36", "point38"]});
_local1.a_aiPoints.push({point:"point40", adj:["point41", "point43", "point44"]});
_local1.a_aiPoints.push({point:"point41", adj:["point32", "point40", "point42", "point48"]});
_local1.a_aiPoints.push({point:"point42", adj:["point41", "point43", "point48"]});
_local1.a_aiPoints.push({point:"point43", adj:["point40", "point42"]});
_local1.a_aiPoints.push({point:"point44", adj:["point32", "point40"]});
_local1.a_aiPoints.push({point:"point45", adj:["point14"]});
_local1.a_aiPoints.push({point:"point46", adj:["point24", "point27"]});
_local1.a_aiPoints.push({point:"point47", adj:["point26", "point31", "point32"]});
_local1.a_aiPoints.push({point:"point48", adj:["point25", "point41", "point42"]});
}
function runEscalatorHD() {
var _local1 = this;
if (((_local1.player.y < 250) || (_local1.player.y > 130)) && ((_local1.player.x < 220) || (_local1.player.x > 600))) {
if (_local1.escalator1.hitTest(_local1.player.x, _local1.player.y, false)) {
_local1.player.rideEscalatorLeft();
} else if (_local1.escalator2.hitTest(_local1.player.x, _local1.player.y, false)) {
_local1.player.rideEscalatorRight();
}
}
}
function runEntityHD() {
var _local1 = this;
var _local2 = _local1.a_enemy.length;
while (_local2--) {
if (_local1.player.mc.hitTest(_local1.a_enemy[_local2].mc)) {
_local1.player.hit(_local1.a_enemy[_local2]);
if (_local1.a_enemy[_local2].type == "perfume") {
_local1.player.spray();
_local1.a_enemy[_local2].hitReact();
}
}
}
}
function runClikitHD() {
var _local1 = this;
var _local3 = _global;
var _local2 = _local1.a_clikits.length;
while (_local2--) {
if (_local1.a_clikits[_local2].isActive && (Math.abs(_local1.player.x - _local1.a_clikits[_local2].x) < 20)) {
if (_local1.a_clikits[_local2].mc.hitTest(_local1.player.mc)) {
_local1.a_clikits[_local2].pickup();
_local1.score = _local1.score + 25;
_local3.clikitsEngine.gameRoot.score_mc.score_txt.text = _local1.score;
_local1.clikitsFound++;
if (_local1.clikitsFound == _local1.clikitsTotal) {
_local1.openStore();
}
}
}
}
}
function runStoreHD() {
if (eval (("_global.clikitsEngine.gameRoot." + store) + "Door").hitTest(player.mc)) {
eval ("_global.clikitsEngine.gameRoot." + store).gotoAndPlay("off");
_global.clikitsEngine.startScript("enterStore");
}
}
function openStore() {
eval ("_global.clikitsEngine.gameRoot." + store).gotoAndPlay("on");
eval (("_global.clikitsEngine.gameRoot." + store) + "Door").gotoAndPlay(2);
storeOpen = true;
}
function findPoint(t_point) {
var _local2 = this;
var _local3 = t_point;
var _local1 = _local2.a_aiPoints.length;
while (_local1--) {
if (_local3 == _local2.a_aiPoints[_local1].point) {
return(_local1);
}
}
return(0);
}
function findAdjacentPoint(t_point) {
var _local2;
var _local1;
var n_result;
_local2 = a_aiPoints[t_point].adj;
var t_random = _local2.length;
_local1 = Math.ceil(Math.random() * _local2.length) - 1;
if (_local1 < 0) {
_local1 = 0;
}
_local1 = _local2[_local1];
if (_local1 == undefined) {
trace("OMG ERROR");
return(t_point);
}
return(findPoint(_local1));
}
function findFurthestPointFromPlayer(t_point) {
var a_adj;
var t_pointMC;
var n_dist;
var n_winner;
var n_result;
var xDiff;
var yDiff;
var d;
a_adj = a_aiPoints[t_point].adj;
n_dist = 0;
d = a_adj.length;
while (d--) {
t_pointMC = eval ((hd + ".") + a_adj[d]);
xDiff = player.x - t_pointMC._x;
yDiff = player.y - t_pointMC._y;
n_result = Math.sqrt((xDiff * xDiff) + (yDiff * yDiff));
if (n_result > n_dist) {
n_dist = n_result;
n_winner = a_adj[d];
}
}
if (n_winner == undefined) {
trace("OMG ERROR");
return(t_point);
}
return(findPoint(n_winner));
}
function findClosestPointToPlayer(t_point) {
var a_adj;
var t_pointMC;
var n_dist;
var n_winner;
var n_result;
var xDiff;
var yDiff;
var d;
a_adj = a_aiPoints[t_point].adj;
n_dist = 2000;
d = a_adj.length;
while (d--) {
t_pointMC = eval ((hd + ".") + a_adj[d]);
xDiff = player.x - t_pointMC._x;
yDiff = player.y - t_pointMC._y;
n_result = Math.sqrt((xDiff * xDiff) + (yDiff * yDiff));
if (n_result < n_dist) {
n_dist = n_result;
n_winner = a_adj[d];
}
}
if (n_winner == undefined) {
trace("OMG ERROR");
return(t_point);
}
return(findPoint(n_winner));
}
function spawnPlayer() {
var _local1 = this;
_local1.player = new Classes.cmmPlayer(_local1.playerData, _local1);
_local1.player.spawn(_local1.path, _local1.z_playerCurrent);
_local1.z_playerCurrent++;
}
function stepEnemy(t_elapsed) {
var _local2 = this;
var _local3 = t_elapsed;
var _local1 = _local2.a_enemy.length;
while (_local1--) {
_local2.a_enemy[_local1].step(_local3);
}
}
function spawnEnemy() {
var _local1 = this;
_local1.a_enemy = [];
var _local3 = _local1.enemyData.length;
while (_local3--) {
var _local2 = new Classes.cmmEnemy(_local1.enemyData[_local3], _local1);
_local1.a_enemy.push(_local2);
_local2.spawn(_local1.path, _local1.z_enemyCurrent);
_local1.z_enemyCurrent++;
}
}
function spawnSpecific(t_type) {
var _local1 = this;
var _local3 = _local1.enemyData.length;
while (_local3--) {
if (_local1.enemyData[_local3].type == t_type) {
var _local2 = new Classes.cmmEnemy(_local1.enemyData[_local3], _local1);
_local1.a_enemy.push(_local2);
_local2.spawn(_local1.path, _local1.z_enemyCurrent);
_local1.z_enemyCurrent++;
}
}
}
function clearEnemy() {
var _local2 = this;
var _local1 = _local2.a_enemy.length;
while (_local1--) {
_local2.a_enemy[_local1].clear();
}
_local2.a_enemy = [];
}
function spawnPerfume(t_enemy) {
}
function spawnClikits() {
var _local1 = this;
_local1.a_clikits = [];
var _local3 = _local1.clikitData.length;
var _local2;
while (_local3--) {
_local2 = new Classes.cmmClikit(_local1.clikitData[_local3], _local1);
_local1.a_clikits.push(_local2);
_local2.spawn(_local1.path, _local1.z_clikitCurrent);
_local2.mc.gotoAndStop(_local1.pickupFrame);
_local1.z_clikitCurrent++;
}
}
function clearClikits() {
var _local2 = this;
var _local1 = _local2.a_clikits.length;
while (_local1--) {
_local2.a_clikits[_local1].clear();
}
_local2.a_clikits = [];
}
function spawnEscalators() {
var _local1 = this;
_local1.escalator1 = _local1.path.attachMovie("mc_escalator", "escalator1", _local1.z_escalator);
_local1.escalator1._x = 182.8;
_local1.escalator1._y = 147.2;
_local1.escalator2 = _local1.path.attachMovie("mc_escalator", "escalator2", _local1.z_escalator + 1);
_local1.escalator2._x = 653.9;
_local1.escalator2._y = 146.2;
}
function clearEscalators() {
escalator2.removeMovieClip();
escalator1.removeMovieClip();
}
var hdAssetID = "mc_HD";
var z_hd = 5;
var z_playerMin = 200;
var z_enemyMin = 100;
var z_clikitMin = 10;
var z_perfume = 300;
var z_escalator = 400;
var n_enemyTimerMax = 2;
}
Symbol 404 MovieClip [__Packages.Classes.cmmEntity] Frame 0
class Classes.cmmEntity
{
var hidden, mc, x, y;
function cmmEntity (t_data, t_levelPath) {
var _local1 = this;
var _local2 = t_data;
_local1.assetID = _local2.assetID;
_local1.x = _local2.x;
_local1.y = _local2.y;
_local1.levelPath = t_levelPath;
_local1.xMove = 0;
_local1.yMove = 0;
}
function spawn(t_path, t_depth) {
var _local1 = this;
_local1.path = t_path;
_local1.mc = t_path.attachMovie(_local1.assetID, _local1.assetID + t_depth, t_depth);
_local1.mc.stop();
_local1.placeAt(_local1.x, _local1.y);
_local1.hdWidth = (_local1.baseWidth = _local1.mc._width);
_local1.hdHeight = (_local1.baseHeight = _local1.mc._height);
_local1.hidden = false;
_local1.render();
}
function step(t_elapsed) {
var _local1 = this;
_local1.update(t_elapsed);
_local1.move();
_local1.render();
}
function update(t_elapsed) {
}
function move() {
var _local1 = this;
_local1.x = _local1.x + _local1.xMove;
_local1.y = _local1.y + _local1.yMove;
}
function render() {
var _local1 = this;
_local1.mc._x = _local1.x - (_local1.baseWidth / 2);
_local1.mc._y = _local1.y - (_local1.baseHeight / 2);
}
function hide() {
hidden = true;
mc._visible = false;
}
function show() {
trace("SHOW");
hidden = false;
mc._visible = true;
}
function placeAt(t_x, t_y) {
x = t_x;
y = t_y;
}
function clear() {
mc.removeMovieClip();
delete this;
}
}
Symbol 405 MovieClip [__Packages.Classes.cmmPlayer] Frame 0
class Classes.cmmPlayer extends Classes.cmmEntity
{
var slowTimer;
function cmmPlayer (t_data, t_levelPath) {
var _local1 = this;
var _local2 = t_data;
super();
_local1.assetID = _local2.assetID;
_local1.x = _local2.x;
_local1.y = _local2.y;
_local1.speed = _local2.speed;
_local1.pushedBy = null;
_local1.levelPath = t_levelPath;
}
function spawn(t_path, t_depth) {
var _local1 = this;
_local1.path = t_path;
_local1.mc = t_path.attachMovie(_local1.assetID, _local1.assetID + t_depth, t_depth);
_local1.mc.gotoAndStop(_global.clikitsEngine.selectedGirl);
_local1.mc.mcAnim.stop();
_local1.placeAt(_local1.x, _local1.y);
_local1.pushedBy = null;
_local1.baseWidth = 26;
_local1.baseHeight = 17;
_local1.hdWidth = 18;
_local1.hdHeight = 17;
_local1.render();
}
function hit(t_enemy) {
push(t_enemy);
}
function spray() {
var _local1 = this;
if (_local1.invincibleTimer <= 0) {
_local1.invincibleTimer = _local1.INVINCIBLE_TIME;
if (_global.clikitsEngine.selectedDiff == 1) {
_local1.slowTimer = _local1.SLOW_TIME_EASY;
} else {
_local1.slowTimer = _local1.SLOW_TIME_HARD;
}
_global.clikitsEngine.playSound("cough");
}
}
function push(t_enemy) {
var _local1 = t_enemy;
var _local2 = this;
var playerResponse = _local2.calculateFacingHD(_local2, _local1.mc);
if (playerResponse.collision) {
_local2.xMove = 0;
_local2.yMove = 0;
}
var _local3 = _local2.calculateFacingHD(_local1, _local2.mc);
if (_local3.collision) {
if (_local1.type == "perfume") {
if ((_local1.ignoreTimer <= 0) && (_local1.sprayTimer <= 3)) {
_local1.sprayPerfume();
_local1.turnAround();
}
}
_local2.pushedBy = _local1;
if (_local3.dir == "left") {
_local2.xMove = _local2.xMove + _local1.xMove;
} else if (_local3.dir == "right") {
_local2.xMove = _local2.xMove + _local1.xMove;
} else if (_local3.dir == "up") {
_local2.yMove = _local2.yMove + _local1.yMove;
} else if (_local3.dir == "down") {
_local2.yMove = _local2.yMove + _local1.yMove;
}
}
}
function rideEscalatorLeft() {
_global.clikitsEngine.startScript("escalatorLeft");
}
function rideEscalatorRight() {
_global.clikitsEngine.startScript("escalatorRight");
}
function update(t_elapsed) {
var _local1 = this;
var prevxMove = _local1.xMove;
var prevyMove = _local1.yMove;
_local1.xMove = 0;
_local1.yMove = 0;
if (!_local1.hidden) {
var _local2 = _local1.speed * t_elapsed;
if (_local1.slowTimer > 0) {
_local2 = _local2 / 3;
_local1.slowTimer = _local1.slowTimer - t_elapsed;
if (_local1.slowTimer <= 0) {
}
}
if (Key.isDown(37)) {
_local1.xMove = -_local2;
_local1.mc.mcAnim.gotoAndStop("left");
} else if (Key.isDown(38)) {
_local1.yMove = -_local2;
_local1.mc.mcAnim.gotoAndStop("up");
} else if (Key.isDown(39)) {
_local1.xMove = _local2;
_local1.mc.mcAnim.gotoAndStop("right");
} else if (Key.isDown(40)) {
_local1.yMove = _local2;
_local1.mc.mcAnim.gotoAndStop("down");
} else if ((prevxMove != 0) || (prevyMove != 0)) {
var _local3 = "standUp";
if (prevyMove > 0) {
_local3 = "standDown";
} else if (prevxMove > 0) {
_local3 = "standRight";
} else if (prevxMove < 0) {
_local3 = "standLeft";
}
_local1.mc.mcAnim.gotoAndStop(_local3);
}
if (_local1.invincibleTimer > 0) {
_local1.invincibleTimer = _local1.invincibleTimer - t_elapsed;
}
}
}
function move(t_elapsed) {
var _local1 = this;
if ((_local1.xMove != 0) || (_local1.yMove != 0)) {
var _local3 = _local1.calculateFacingHD(_local1, _local1.path.hd);
if (_local3.collision) {
if (_local1.pushedBy != null) {
_local1.pushedBy.turnAround();
_local1.pushedBy = null;
}
var ySlide = 0;
var xSlide = 0;
var _local2 = _local3.points.length;
while (_local2--) {
if (_local3.points[_local2].collide) {
if ((((_local3.points[_local2].point == "cr") || (_local3.points[_local2].point == "cl")) || (_local3.points[_local2].point == "ct")) || (_local3.points[_local2].point == "cb")) {
xSlide = 0;
ySlide = 0;
_local2 = 0;
} else if (_local3.points[_local2].point == "tl") {
if (_local1.xMove < 0) {
ySlide = Math.abs(_local1.xMove);
} else if (_local1.yMove < 0) {
xSlide = Math.abs(_local1.yMove);
}
} else if (_local3.points[_local2].point == "tr") {
if (_local1.xMove > 0) {
ySlide = _local1.xMove;
} else if (_local1.yMove < 0) {
xSlide = _local1.yMove;
}
} else if (_local3.points[_local2].point == "br") {
if (_local1.xMove > 0) {
ySlide = -_local1.xMove;
} else if (_local1.yMove > 0) {
xSlide = -_local1.yMove;
}
} else if (_local3.points[_local2].point == "bl") {
if (_local1.xMove < 0) {
ySlide = _local1.xMove;
} else if (_local1.yMove > 0) {
xSlide = _local1.yMove;
}
}
}
}
_local1.x = _local1.x + xSlide;
_local1.y = _local1.y + ySlide;
} else {
_local1.x = _local1.x + _local1.xMove;
_local1.y = _local1.y + _local1.yMove;
}
}
}
function hide() {
slowTimer = 0;
super.hide();
}
function calculateFacingHD(t_entity, t_mc) {
var _local3 = {tl:false, tr:false, bl:false, br:false, cb:false, cl:false, cr:false, ct:false};
var t_dir;
if (t_entity.xMove < 0) {
t_dir = "left";
_local3.tl = true;
_local3.cl = true;
_local3.bl = true;
} else if (t_entity.xMove > 0) {
t_dir = "right";
_local3.tr = true;
_local3.cr = true;
_local3.br = true;
}
if (t_entity.yMove < 0) {
t_dir = "up";
_local3.tl = true;
_local3.tr = true;
_local3.ct = true;
} else if (t_entity.yMove > 0) {
t_dir = "down";
_local3.bl = true;
_local3.br = true;
_local3.cb = true;
}
var t_x = (t_entity.x + t_entity.xMove);
var t_y = (t_entity.y + t_entity.yMove);
var t_width;
var t_height;
var div = 2;
if ((t_dir == "up") || (t_dir == "down")) {
t_width = t_entity.hdWidth / div;
t_height = t_entity.hdHeight / div;
} else {
t_width = t_entity.hdHeight / div;
t_height = t_entity.hdWidth / div;
}
var t_collision = false;
var _local2 = [{point:"tl", x:t_x - t_width, y:t_y - t_height}, {point:"tr", x:t_x + t_width, y:t_y - t_height}, {point:"bl", x:t_x - t_width, y:t_y + t_height}, {point:"br", x:t_x + t_width, y:t_y + t_height}, {point:"cr", x:(t_x + t_width) + 2, y:t_y}, {point:"cb", x:t_x, y:(t_y + t_height) + 2}, {point:"cl", x:(t_x - t_width) - 2, y:t_y}, {point:"ct", x:t_x, y:(t_y - t_height) - 2}];
var _local1 = _local2.length;
while (_local1--) {
_local2[_local1].collide = false;
if (_local3[_local2[_local1].point]) {
_local2[_local1].collide = t_mc.hitTest(_local2[_local1].x, _local2[_local1].y, true);
if (_local2[_local1].collide) {
t_collision = true;
}
}
}
return({collision:t_collision, dir:t_dir, points:_local2});
}
var INVINCIBLE_TIME = 3;
var SLOW_TIME_EASY = 3;
var SLOW_TIME_HARD = 5;
}
Symbol 406 MovieClip [__Packages.Classes.cmmEnemy] Frame 0
class Classes.cmmEnemy extends Classes.cmmEntity
{
var currentPoint, levelPath, x, y, sprayTimer, previousPoint, targetPoint, ignoreTimer, type;
function cmmEnemy (t_data, t_levelPath) {
var _local1 = this;
var _local2 = t_data;
super();
_local1.assetID = _local2.assetID;
_local1.speed = _local2.speed;
_local1.levelPath = t_levelPath;
_local1.sprayTimer = _local1.SPRAY_TIMER;
_local1.currentPoint = _local1.levelPath.findPoint(_local2.startPoint);
_local1.previousPoint = _local1.currentPoint;
_local1.type = _local2.type;
_local1.currentFacing = "up";
_local1.setToPoint();
_local1.targetPoint = {x:_local1.x, y:_local1.y};
}
function setToPoint() {
var t_point = eval ((levelPath.hd + ".point") + (currentPoint + 1));
x = t_point._x;
y = t_point._y;
}
function update(t_elapsed) {
var _local1 = this;
_local1.xMove = 0;
_local1.yMove = 0;
var t_angle;
if (_local1.ignoreTimer > 0) {
_local1.ignoreTimer = _local1.ignoreTimer - t_elapsed;
}
var t_move = false;
var _local2;
var _local3;
var t_ratio;
var t_totalDist;
var t_moveDist = (_local1.speed * t_elapsed);
_local2 = _local1.targetPoint.x - _local1.x;
_local3 = _local1.targetPoint.y - _local1.y;
if ((Math.abs(_local2) < 1) && (Math.abs(_local3) < 1)) {
_local1.x = _local1.targetPoint.x;
_local1.y = _local1.targetPoint.y;
_local1.findNextPoint();
_local1.update(t_elapsed);
} else {
var t_frame = "up";
if (_local2 >= 1) {
t_frame = "right";
} else if (_local2 <= -1) {
t_frame = "left";
} else if (_local3 >= 1) {
t_frame = "down";
}
_local1.currentFacing = t_frame;
_local1.mc.gotoAndStop(_local1.currentFacing);
t_totalDist = Math.sqrt((_local2 * _local2) | (_local3 * _local3));
if (t_totalDist != 0) {
t_ratio = t_moveDist / t_totalDist;
if (t_ratio > 1) {
t_ratio = 1;
}
if (_local1.x != _local1.targetPoint.x) {
_local1.xMove = _local2 * t_ratio;
}
if (_local1.y != _local1.targetPoint.y) {
_local1.yMove = _local3 * t_ratio;
}
}
if (_local1.type == "perfume") {
if (_local1.ignoreTimer <= 0) {
_local1.sprayTimer = _local1.sprayTimer - t_elapsed;
if (_local1.sprayTimer <= 0) {
_local1.sprayPerfume();
}
}
}
}
}
function sprayPerfume() {
sprayTimer = SPRAY_TIMER;
}
function turnAround() {
currentPoint = previousPoint;
var t_mc = eval ((levelPath.hd + ".point") + (currentPoint + 1));
targetPoint = {x:t_mc._x, y:t_mc._y};
}
function hitReact() {
ignoreTimer = IGNORE_TIMER;
}
function findNextPoint() {
previousPoint = currentPoint;
if (type == "perfume") {
if (ignoreTimer <= 0) {
currentPoint = levelPath.findClosestPointToPlayer(currentPoint);
} else {
currentPoint = levelPath.findFurthestPointFromPlayer(currentPoint);
}
} else {
currentPoint = levelPath.findAdjacentPoint(currentPoint);
}
var t_mc = eval ((levelPath.hd + ".point") + (currentPoint + 1));
targetPoint = {x:t_mc._x, y:t_mc._y};
}
var IGNORE_TIMER = 5;
var SPRAY_TIMER = 4;
}
Symbol 407 MovieClip [__Packages.Classes.cmmClikit] Frame 0
class Classes.cmmClikit extends Classes.cmmEntity
{
var isActive, mc;
function cmmClikit (t_data, t_levelPath) {
var _local1 = this;
super();
_local1.assetID = "object_pickup";
_local1.x = t_data.x;
_local1.y = t_data.y;
_local1.levelPath = t_levelPath;
_local1.isActive = true;
}
function pickup() {
_global.clikitsEngine.playSound("pickup");
isActive = false;
mc.mcAnim.gotoAndPlay("pickup");
}
}
Symbol 408 MovieClip [__Packages.Classes.nick.highscores.HighscoreTable] Frame 0
class Classes.nick.highscores.HighscoreTable extends MovieClip
{
var __page, __scores, __totalPages, pagination_txt, playerScore_mc;
function HighscoreTable () {
super();
emptyTable();
}
function init(t_scores, t_player) {
var _local1 = this;
_local1.__scores = t_scores;
_local1.__player = t_player;
_local1.__page = 1;
_local1.__totalPages = Math.ceil(_local1.__scores.length / _local1.__SCORES_PER_PAGE);
var _local2 = 0;
while (_local2 < _local1.__scores.length) {
if (_local1.__scores[_local2].name == "") {
_local1.__totalPages = Math.ceil(_local2 / _local1.__SCORES_PER_PAGE);
_local2 = _local1.__scores.length;
}
_local2++;
}
if (_local1.__player.name == "") {
_local1.playerScore_mc._visible = false;
} else {
_local1.playerScore_mc._visible = true;
_local1.playerScore_mc.name.text = _local1.__player.name;
_local1.playerScore_mc.score.text = _local1.__player.score;
_local1.playerScore_mc.rank.text = _local1.calculatePlayerRank();
}
_local1.populateTable();
}
function calculatePlayerRank() {
var _local2 = this;
var _local1 = 0;
while (_local1 < _local2.__scores.length) {
if (_local2.__scores[_local1].name == _local2.__player.name) {
return(String(_local1));
}
_local1++;
}
return("");
}
function populateTable() {
var c = ((__page - 1) * __SCORES_PER_PAGE);
var loop = 1;
while (loop <= __SCORES_PER_PAGE) {
if (__scores[c].name != "") {
eval ((this + ".hs_") + loop).rank.text = ((__page - 1) * 10) + loop;
eval ((this + ".hs_") + loop).name.text = __scores[c].name;
eval ((this + ".hs_") + loop).score.text = __scores[c].score;
} else {
eval ((this + ".hs_") + loop).rank.text = "";
eval ((this + ".hs_") + loop).name.text = "";
eval ((this + ".hs_") + loop).score.text = "";
}
loop++;
c++;
}
pagination_txt.text = (__page + " of ") + __totalPages;
}
function emptyTable() {
playerScore_mc._visible = false;
var loop = 1;
while (loop <= __SCORES_PER_PAGE) {
eval ((this + ".hs_") + loop).rank.text = "";
eval ((this + ".hs_") + loop).name.text = "";
eval ((this + ".hs_") + loop).score.text = "";
loop++;
}
pagination_txt.text = "";
}
function nextPage() {
var _local1 = this;
_local1.__page++;
if (_local1.__page > _local1.__totalPages) {
_local1.__page = 1;
}
_local1.populateTable();
}
function prevPage() {
var _local1 = this;
_local1.__page--;
if (_local1.__page < 1) {
_local1.__page = _local1.__totalPages;
}
_local1.populateTable();
}
var __SCORES_PER_PAGE = 10;
}
Symbol 36 MovieClip Frame 1
stop();
Symbol 77 MovieClip Frame 1
stop();
Symbol 77 MovieClip Frame 7
stop();
Symbol 78 MovieClip Frame 1
stop();
Symbol 91 Button
on (release) {
clikitsEngine.selectDiff("hard");
}
Symbol 142 MovieClip Frame 1
stop();
Symbol 148 MovieClip Frame 1
stop();
Symbol 148 MovieClip Frame 5
play();
Symbol 148 MovieClip Frame 10
_parent._visible = false;
stop();
Symbol 149 MovieClip Frame 1
stop();
Symbol 149 MovieClip Frame 5
play();
Symbol 149 MovieClip Frame 10
_parent._visible = false;
stop();
Symbol 150 MovieClip Frame 1
stop();
Symbol 150 MovieClip Frame 5
play();
Symbol 150 MovieClip Frame 10
_parent._visible = false;
stop();
Symbol 151 MovieClip Frame 1
stop();
Symbol 151 MovieClip Frame 5
play();
Symbol 151 MovieClip Frame 10
_parent._visible = false;
stop();
Symbol 152 MovieClip [object_pickup] Frame 1
stop();
Symbol 160 MovieClip Frame 1
stop();
Symbol 165 MovieClip Frame 7
clikitsEngine.changeVolume(80);
Symbol 165 MovieClip Frame 12
clikitsEngine.changeVolume(60);
Symbol 165 MovieClip Frame 16
clikitsEngine.changeVolume(40);
Symbol 165 MovieClip Frame 21
clikitsEngine.changeVolume(20);
Symbol 165 MovieClip Frame 25
clikitsEngine.changeVolume(10);
Symbol 165 MovieClip Frame 30
clikitsEngine.stopSound("dance");
Symbol 165 MovieClip Frame 35
clikitsEngine.changeVolume(100);
stop();
Symbol 175 MovieClip Frame 1
stop();
Symbol 175 MovieClip Frame 9
gotoAndPlay ("on");
Symbol 178 MovieClip Frame 1
stop();
Symbol 178 MovieClip Frame 9
gotoAndPlay ("on");
Symbol 181 MovieClip Frame 1
stop();
Symbol 181 MovieClip Frame 9
gotoAndPlay ("on");
Symbol 184 MovieClip Frame 1
stop();
Symbol 184 MovieClip Frame 9
gotoAndPlay ("on");
Symbol 185 MovieClip Frame 1
stop();
Symbol 202 MovieClip Frame 1
stop();
Symbol 202 MovieClip Frame 5
stop();
Symbol 203 MovieClip Frame 1
stop();
Symbol 203 MovieClip Frame 19
_global.clikitsEngine.finishScript("enterStore");
mcGirl.mcAnim.gotoAndStop("standUp");
stop();
Symbol 211 MovieClip Frame 1
stop();
Symbol 211 MovieClip Frame 2
mc_girl.mcAnim.gotoAndStop("up");
Symbol 211 MovieClip Frame 14
clikitsEngine.finishScript("escalatorLeft");
gotoAndStop ("hidden");
Symbol 211 MovieClip Frame 15
mc_girl.mcAnim.gotoAndStop("up");
Symbol 211 MovieClip Frame 27
clikitsEngine.finishScript("escalatorRight");
gotoAndStop ("hidden");
Symbol 211 MovieClip Frame 73
clikitsEngine.finishScript("janitorEnter");
gotoAndStop ("hidden");
Symbol 211 MovieClip Frame 112
clikitsEngine.finishScript("perfumeEnter");
gotoAndStop ("hidden");
Symbol 212 MovieClip Frame 1
stop();
Symbol 212 MovieClip Frame 2
mc_girl.gotoAndStop(clikitsEngine.selectedGirl);
mc_girl.mcAnim.gotoAndStop("standUp");
play();
Symbol 212 MovieClip Frame 3
if (!clikitsEngine.paused) {
gotoAndPlay (5);
} else {
play();
}
Symbol 212 MovieClip Frame 4
prevFrame();
Symbol 212 MovieClip Frame 29
mc_girl.mcAnim.gotoAndStop("standUp");
Symbol 212 MovieClip Frame 32
clikitsEngine.finishScript("elevator");
gotoAndStop ("hidden");
Symbol 218 Button
on (release) {
clikitsEngine.goHelp();
}
Symbol 221 Button
on (release) {
clikitsEngine.startOver();
}
Symbol 234 Button
on (release) {
this.gotoAndPlay("gameOutro");
}
Symbol 239 Button
on (release) {
clikitsEngine.leaveHelp();
}
Symbol 260 Button
on (release) {
clikitsEngine.leaveHelp();
}
Symbol 269 Button
on (release) {
this.gotoAndPlay("loseOutro");
clikitsEngine.restartLevel();
}
Symbol 290 MovieClip Frame 1
stop();
Symbol 290 MovieClip Frame 5
stop();
Symbol 290 MovieClip Frame 10
stop();
Symbol 291 MovieClip Frame 1
stop();
Symbol 291 MovieClip Frame 5
stop();
Symbol 291 MovieClip Frame 10
stop();
Symbol 293 MovieClip [_nick_highscore_board] Frame 1
#initclip 11
Object.registerClass("_nick_highscore_board", Classes.nick.highscores.HighscoreTable);
#endinitclip
Instance of Symbol 290 MovieClip "btn_next" in Symbol 293 MovieClip [_nick_highscore_board] Frame 1
on (release) {
_parent.nextPage();
}
on (rollOver) {
gotoAndStop ("over");
}
on (rollOut, dragOut) {
gotoAndStop ("off");
}
on (press) {
gotoAndStop ("down");
}
Instance of Symbol 291 MovieClip "btn_back" in Symbol 293 MovieClip [_nick_highscore_board] Frame 1
on (release) {
_parent.prevPage();
}
on (rollOver) {
gotoAndStop ("over");
}
on (rollOut, dragOut) {
gotoAndStop ("off");
}
on (press) {
gotoAndStop ("down");
}
Symbol 294 Button
on (release) {
this.gotoAndPlay("viewOutro");
clikitsEngine.restartLevel();
}
Symbol 306 Button
on (release) {
clikitsEngine.nextLevel();
}
Symbol 320 Button
on (release) {
clikitsEngine.goDance();
}
Symbol 321 Button
on (release) {
clikitsEngine.startOver();
}
Symbol 323 Button
on (release) {
this.gotoAndPlay("viewOutro");
clikitsEngine.restartLevel();
}
Symbol 324 Button
on (release) {
this.play();
clikitsEngine.startOver();
}
Symbol 325 MovieClip Frame 1
stop();
Symbol 325 MovieClip Frame 16
stop();
Symbol 325 MovieClip Frame 28
clikitsEngine.startGame();
clikitsEngine.goGameplay();
this.gotoAndStop("game");
Symbol 325 MovieClip Frame 35
mc_help.txt_copy.text = (((((" Help " + clikitsEngine.selectedGirl) + " by collecting all of the CLIKITS pieces before the timer runs out. Each level completed will get ") + clikitsEngine.selectedGirl) + " one piece of her new outfit. Get through all 4 levels and ") + clikitsEngine.selectedGirl) + " will have a new outfit for the school dance!";
Symbol 325 MovieClip Frame 44
btn_hd.useHandCursor = false;
stop();
Symbol 325 MovieClip Frame 64
clikitsEngine.goGameplay();
this.gotoAndStop("game");
Symbol 325 MovieClip Frame 83
this.viewScore = false;
stop();
Symbol 325 MovieClip Frame 103
if (this.viewScore) {
this.gotoAndPlay("viewIntro");
} else {
this.gotoAndStop("game");
}
Symbol 325 MovieClip Frame 109
clikitsEngine.getScores();
Symbol 325 MovieClip Frame 117
stop();
Symbol 325 MovieClip Frame 134
this.gotoAndStop("game");
Symbol 325 MovieClip Frame 150
mc_txt.txt_time.text = clikitsEngine.getTimeSpent();
mc_txt.instructions_txt.text = clikitsEngine.getInstructions();
trace(clikitsEngine.getInstructions());
var bonus = (clikitsEngine.getTimeLeft() * 75);
mc_txt.txt_bonus.text = bonus;
Symbol 325 MovieClip Frame 155
clikitsEngine.addBonus(bonus);
Symbol 325 MovieClip Frame 160
stop();
_global.clikitsEngine.beatStep1();
Symbol 325 MovieClip Frame 168
stop();
Symbol 325 MovieClip Frame 192
this.gotoAndStop("game");
Symbol 325 MovieClip Frame 197
mc_txt.txt_time.text = clikitsEngine.getTimeSpent();
var bonus = (clikitsEngine.getTimeLeft() * 75);
mc_txt.txt_bonus.text = bonus;
Symbol 325 MovieClip Frame 200
clikitsEngine.addBonus(bonus);
Symbol 325 MovieClip Frame 205
stop();
_global.clikitsEngine.beatStep1();
Symbol 325 MovieClip Frame 213
mc_txt.txt_time.text = clikitsEngine.getTotalTimeSpent();
mc_txt.total_txt.text = clikitsEngine.getTotalScore();
clikitsEngine.checkLogin();
stop();
Symbol 325 MovieClip Frame 219
if (this.loggedIn) {
this.submit_btn._visible = true;
} else {
this.submit_btn._visible = false;
}
Symbol 325 MovieClip Frame 220
if (this.loggedIn) {
this.submit_btn._visible = true;
} else {
this.submit_btn._visible = false;
}
Symbol 325 MovieClip Frame 221
if (this.loggedIn) {
this.submit_btn._visible = true;
} else {
this.submit_btn._visible = false;
}
Symbol 325 MovieClip Frame 222
if (this.loggedIn) {
this.submit_btn._visible = true;
} else {
this.submit_btn._visible = false;
}
Symbol 325 MovieClip Frame 223
stop();
if (this.loggedIn) {
this.submit_btn._visible = true;
} else {
this.submit_btn._visible = false;
}
Symbol 325 MovieClip Frame 232
stop();
Symbol 325 MovieClip Frame 250
stop();
Symbol 325 MovieClip Frame 256
gotoAndStop (1);
Symbol 325 MovieClip Frame 260
if (this.loggedIn) {
this.submit_btn._visible = true;
} else {
this.submit_btn._visible = false;
}
Symbol 325 MovieClip Frame 261
if (this.loggedIn) {
this.submit_btn._visible = true;
} else {
this.submit_btn._visible = false;
}
Symbol 325 MovieClip Frame 267
gotoAndStop (1);
Symbol 326 MovieClip Frame 1
stop();
Symbol 326 MovieClip Frame 8
clikitsEngine.beatStep2();
stop();
Symbol 326 MovieClip Frame 14
clikitsEngine.beatStep2();
stop();
Symbol 326 MovieClip Frame 21
clikitsEngine.beatStep2();
stop();
Symbol 326 MovieClip Frame 27
clikitsEngine.beatStep2();
stop();
Symbol 342 MovieClip Frame 1
stop();
Symbol 342 MovieClip Frame 15
stop();
Symbol 342 MovieClip Frame 25
stop();
Symbol 364 MovieClip Frame 1
stop();
Symbol 364 MovieClip Frame 11
clikitsEngine.beatStep3();
stop();
Symbol 371 MovieClip Frame 1
stop();
Symbol 371 MovieClip Frame 11
clikitsEngine.beatStep3();
stop();
Symbol 381 MovieClip Frame 1
stop();
Symbol 381 MovieClip Frame 11
clikitsEngine.beatStep3();
stop();
Symbol 388 MovieClip Frame 1
stop();
Symbol 388 MovieClip Frame 11
clikitsEngine.beatStep3();
stop();