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

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

Metro Siberia.swf

This is the info page for
Flash #28328

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


Text
Metro.Siberia

<p align="right"><font face="SF Theramin Gothic Condensed" size="20" color="#10c29a" letterSpacing="1.000000" kerning="0">0%</font></p>

underground

ENTER YOUR NAME

ENTER = OK

ESC = CANCEL

You have a new

Personal Record

<p align="left"><font face="SF Theramin Gothic Condensed" size="18" color="#84ffff" letterSpacing="1.000000" kerning="0">top.scores East.Exit.Altai</font></p>

<p align="left"><font face="SF Theramin Gothic Condensed" size="18" color="#84ffff" letterSpacing="1.500000" kerning="0">DNK</font></p>

<p align="left"><font face="SF Theramin Gothic Condensed" size="18" color="#84ffff" letterSpacing="1.000000" kerning="0">2007.12.12...</font></p>

<p align="left"><font face="SF Theramin Gothic Condensed" size="18" color="#84ffff" letterSpacing="1.000000" kerning="0">12.500</font></p>

ActionScript [AS1/AS2]

Frame 1
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); } new GravityTunnelGame(this); __com_mochibot__("c41e1c9c", this, 10301, true); stop();
Frame 8
Symbol 24 MovieClip [enemy78] Frame 25
gotoAndStop (1);
Symbol 25 MovieClip [enemy77] Frame 25
gotoAndStop (1);
Symbol 73 MovieClip [enemy57] Frame 80
gotoAndStop (1);
Symbol 76 MovieClip [enemy62] Frame 73
gotoAndStop (1);
Symbol 77 MovieClip [enemy61] Frame 63
gotoAndStop (1);
Symbol 78 MovieClip [enemy60] Frame 54
stop();
Symbol 103 MovieClip [enemy58] Frame 71
gotoAndStop (1);
Symbol 116 MovieClip [enemy54] Frame 24
gotoAndStop (1);
Symbol 124 MovieClip [enemy55] Frame 70
gotoAndStop (1);
Symbol 126 MovieClip [enemy59] Frame 71
gotoAndStop (1);
Symbol 128 MovieClip [enemy73] Frame 37
gotoAndStop (1);
Symbol 129 MovieClip [enemy74] Frame 38
gotoAndStop (1);
Symbol 196 MovieClip [enemy8] Frame 131
gotoAndStop (1);
Symbol 213 MovieClip [enemy9] Frame 85
gotoAndStop (1);
Symbol 219 MovieClip [smoke] Frame 120
removeMovieClip(this);
Symbol 226 MovieClip [enemy76] Frame 79
gotoAndStop (1);
Symbol 298 MovieClip [__Packages.GameBase] Frame 0
class GameBase { function GameBase () { } function sTrace(msg) { SConsole.module("tracer").trace(namespace, msg); } function sError(msg) { SConsole.module("tracer").error(namespace, msg); } function toString() { return(("[" + namespace.join(".")) + "]"); } var namespace = new Array("screens", "StartScreen"); }
Symbol 299 MovieClip [__Packages.collections.ObjectArray] Frame 0
class collections.ObjectArray { var len, data, keyArray, updated; function ObjectArray () { clear(); } function clear() { len = 0; data = new Object(); keyArray = new Array(); updated = false; } function addValue(key, value) { if (data[key] == undefined) { len++; } data[key] = value; updated = true; } function getValue(key) { if (data[key] != undefined) { return(data[key]); } return(null); } function deleteValue(key) { if (data[key] != undefined) { delete data[key]; len--; updated = true; return(true); } return(false); } function count() { return(len); } function getKey(index) { if (!updated) { return(keyArray[index]); } keyArray = new Array(); for (var _local2 in data) { keyArray.push(_local2); } updated = false; return(keyArray[index]); } }
Symbol 300 MovieClip [__Packages.SConsole] Frame 0
class SConsole { static var instance; var modules; function SConsole () { modules = new Object(); mx.events.EventDispatcher.initialize(this); } static function module(moduleId) { var _local1 = getInstance().modules[moduleId]; if (_local1 != null) { return(_local1); } trace("SConsole couldn't find module with id " + moduleId); return(null); } static function getInstance() { if (instance == null) { instance = new SConsole(); } return(instance); } function addModule(moduleToAdd, id) { modules[id] = moduleToAdd; trace(["SConsole"], "Add module " + id); } function initModules() { for (var _local2 in modules) { modules[_local2].init(); } } static function addTickListener(requestObject) { module("ticker").addEventListener("tick", requestObject); } static function removeTickListener(requestObject) { module("ticker").removeEventListener("tick", requestObject); } static function startTicker() { module("ticker").startTicker(); } static function stopTicker() { module("ticker").stopTicker(); } static function trace(ns, msg) { module("tracer").trace(ns, msg); } static function error(ns, msg) { var _local1 = module("tracer"); if (_local1 == null) { trace("\n################\n### Error: " + msg); trace(("occured in " + ns) + "\n################\n"); } else { _local1.error(ns, msg); } } static function set devMode(flag) { if (flag) { trace("\n *** SConsole.devMode is set to true!!! *** \n"); } _devMode = flag; //return(devMode); } static function get devMode() { return(_devMode); } static var session = new collections.ObjectArray(); static var _devMode = false; }
Symbol 301 MovieClip [__Packages.modules.Module] Frame 0
class modules.Module { var namespace; function Module () { } function init() { } function sTrace(msg) { SConsole.module("tracer").trace(namespace, msg); } function sError(msg) { SConsole.module("tracer").error(namespace, msg); } function toString() { return(("[" + namespace.join(".")) + "]"); } }
Symbol 302 MovieClip [__Packages.mx.events.EventDispatcher] Frame 0
class mx.events.EventDispatcher { function EventDispatcher () { } static function _removeEventListener(queue, event, handler) { if (queue != undefined) { var _local4 = queue.length; var _local1; _local1 = 0; while (_local1 < _local4) { var _local2 = queue[_local1]; if (_local2 == handler) { queue.splice(_local1, 1); return(undefined); } _local1++; } } } 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 _local7 = "__q_" + eventObj.type; var _local4 = queueObj[_local7]; if (_local4 != undefined) { var _local5; for (_local5 in _local4) { var _local1 = _local4[_local5]; var _local3 = typeof(_local1); if ((_local3 == "object") || (_local3 == "movieclip")) { if (_local1.handleEvent != undefined) { _local1.handleEvent(eventObj); } if (_local1[eventObj.type] != undefined) { if (exceptions[eventObj.type] == undefined) { _local1[eventObj.type](eventObj); } } } else { _local1.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 _local3 = "__q_" + event; if (this[_local3] == undefined) { this[_local3] = new Array(); } _global.ASSetPropFlags(this, _local3, 1); _removeEventListener(this[_local3], event, handler); this[_local3].push(handler); } function removeEventListener(event, handler) { var _local2 = "__q_" + event; _removeEventListener(this[_local2], event, handler); } static var _fEventDispatcher = undefined; static var exceptions = {move:1, draw:1, load:1}; }
Symbol 303 MovieClip [__Packages.GravityTunnelGame] Frame 0
class GravityTunnelGame extends GameBase { var console, root, sTrace; function GravityTunnelGame (scope) { super(); console = SConsole.getInstance(); root = scope; var _local3 = modules.screens.ScreenManager.getInstance(); _local3.init(scope, 500, 300); var _local5 = true; var _local4 = new modules.system.System(); modules.screens.MochiLoader.loader = new se.salomonsson.loader.MSLoader("loader_mc"); _local4.__set__loader(new modules.screens.MochiLoader("06f51abd473363e8", "500x300")); _local4.setup(_local5); _local4.addStartupTask(new synchronizer.Task(this, gotoStartFrame)); _local4.addStartupTask(new synchronizer.Task(this, setupModel)); _local3.addBackgroundScreen(new screens.BackgroundScreen(), "background"); _local3.addScreen(new screens.StartScreen(), "StartScreen"); _local3.addScreen(new screens.HiscoreScreen(), "Hiscore"); _local3.addScreen(new screens.CreditsScreen(), "Credits"); _local3.addScreen(new screens.InstructionScreen(), "Instructions"); _local3.addScreen(new screens.LevelScreen(), "Levels"); _local3.addScreen(new screens.GameScreen(), "Game"); _local3.addScreen(new screens.SubmitScreen(), "Submit"); _local3.addScreen(new screens.ErrorScreen(), "Error"); SConsole.module("musicmixer").setVolumeHandler(new modules.musicmixer.Mute("sound_on", "sound_off")); SConsole.module("ticker").FPS = 35; modules.musicmixer.Song.useLibraryAssets = true; _local4.startup(); } function setupModel(ts) { var _local1 = modules.screens.ScreenManager.getInstance(); var _local2 = se.salomonsson.grav.Model.getInstance(); _local2.setup(_local1.__get__root(), "spaceShip"); _local1.__get__root()._lockroot = true; ts.completed(); } function gotoStartFrame(ts) { sTrace("GO TO STARTFRAME"); root.gotoAndStop("start"); ts.completed(); } var namespace = new Array("GravitTunnelGame"); }
Symbol 304 MovieClip [__Packages.modules.screens.ScreenManager] Frame 0
class modules.screens.ScreenManager extends modules.Module { static var instance; var screens, backgroundScreens, currentScreen, firstScreen, consoleRoot, screenHolder, maskMc, debugHolder, stageWidth, stageHeight, sError, backgroundScreenHolder, sTrace, screenTransition; function ScreenManager () { super(); Stage.scaleMode = "noScale"; Stage.align = "TL"; Stage.addListener(this); screens = new collections.ObjectArray(); backgroundScreens = new collections.ObjectArray(); currentScreen = null; firstScreen = null; } static function get backgroundScreen() { return(instance.currentBackground); } static function set backgroundScreen(id) { var _local1 = modules.screens.IScreen(instance.backgroundScreens.getValue(id)); if (_local1 == backgroundScreen) { return; } instance.sTrace("set bg screen " + _local1); var _local2 = new synchronizer.TaskSequence(); if (instance.currentBackground != null) { _local2.addSequentialTask(backgroundScreen, backgroundScreen.outro); } if (_local1 != null) { _local2.addSequentialTask(_local1, _local1.intro); } instance.currentBackground = _local1; _local2.execute(); //return(backgroundScreen); } function get root() { if (consoleRoot == null) { init(_root, Stage.width, Stage.height); } return(screenHolder); } function get mask() { if (root == null) { init(_root, Stage.width, Stage.height); } return(maskMc); } function get topLayer() { if (root == null) { init(_root, Stage.width, Stage.height); } return(debugHolder); } function get width() { if (root == null) { return(Stage.width); } return(stageWidth); } function get height() { if (root == null) { return(Stage.height); } return(stageHeight); } static function getInstance() { if (instance == null) { instance = new modules.screens.ScreenManager(); } return(instance); } function init(__root, stageWidth, stageHeight) { if (consoleRoot != null) { sError("Warning: Trying to define root when root already exists. Reassigning root!"); screenHolder.removeMovieClip(); backgroundScreenHolder.removeMovieClip(); maskMc.removeMovieClip(); debugHolder.removeMovieClip(); } this.stageWidth = stageWidth; this.stageHeight = stageHeight; consoleRoot = __root; backgroundScreenHolder = consoleRoot.createEmptyMovieClip("backgroundHolder", consoleRoot.getNextHighestDepth()); screenHolder = consoleRoot.createEmptyMovieClip("screenHolder", consoleRoot.getNextHighestDepth()); maskMc = consoleRoot.createEmptyMovieClip("screenMask", consoleRoot.getNextHighestDepth()); debugHolder = consoleRoot.createEmptyMovieClip("debugHolder", consoleRoot.getNextHighestDepth()); onResize(); } function loadScreens(ts) { sTrace("Loading screens"); var _local8 = new synchronizer.TaskSequence(); var _local2; _local2 = 0; while (_local2 < backgroundScreens.count()) { var _local5 = modules.screens.IScreen(backgroundScreens.getValue(backgroundScreens.getKey(_local2))); var _local4 = backgroundScreenHolder.getNextHighestDepth(); var _local6 = backgroundScreenHolder.createEmptyMovieClip("bg_" + _local4, _local4); _local8.addSequentialTask(_local5, _local5.load, [_local6]); _local2++; } _local2 = 0; while (_local2 < screens.count()) { var _local3 = modules.screens.IScreen(screens.getValue(screens.getKey(_local2))); var _local4 = screenHolder.getNextHighestDepth(); var _local7 = screenHolder.createEmptyMovieClip("screen_" + _local4, _local4); _local8.addSequentialTask(_local3, _local3.load, [_local7]); _local2++; } _local8.addSequentialTask(this, loadAssets); _local8.addSequentialTask(ts, ts.completed); _local8.execute(); } function reset(ts) { sTrace("Resetting screens..."); openScreen(firstScreen); ts.completed(); } function hardReset(ts) { } function addScreen(newScreen, id) { if (firstScreen == null) { firstScreen = id; } screens.addValue(id, newScreen); } function addBackgroundScreen(bgScreen, id) { backgroundScreens.addValue(id, bgScreen); } function openScreen(id, ts) { sTrace((("open new screen with id " + id) + " ts=") + ts); var _local2 = modules.screens.IScreen(screens.getValue(id)); sTrace("current screen is " + currentScreen); sTrace("next screen is " + _local2); if (_local2 != null) { screenTransition.aborted(); screenTransition = new synchronizer.TaskSequence(); if (currentScreen != null) { screenTransition.addSequentialTask(currentScreen, currentScreen.outro); } screenTransition.addSequentialTask(_local2, _local2.intro); screenTransition.addSequentialTask(ts, ts.completed); screenTransition.execute(); currentScreen = _local2; } } function inactivateAll() { var _local2 = 0; while (_local2 < screens.count()) { var _local3 = modules.screens.IScreen(screens.getValue(screens.getKey(_local2))); _local3.inactivate(); _local2++; } } function loadAssets(ts) { var _local2 = modules.assets.AssetManager(SConsole.module("assets")); sTrace("load assets from " + _local2); if (_local2 != null) { _local2.setCallback(ts, ts.completed); _local2.startLoad(); } else { ts.completed(); } } function onResize() { if (consoleRoot != null) { var _local4 = Math.round((Stage.width / 2) - (stageWidth / 2)); var _local2 = Math.round((Stage.height / 2) - (stageHeight / 2)); consoleRoot._x = 0; consoleRoot._y = 0; backgroundScreenHolder._x = _local4; backgroundScreenHolder._y = _local2; screenHolder._x = _local4; screenHolder._y = _local2; maskMc._x = 0; maskMc._y = 0; debugHolder._x = 0; debugHolder._y = 0; maskMc.clear(); var _local3 = 0; ui.Draw.rectangle(maskMc, {_w:Stage.width, _h:_local2}, _local3, 100); ui.Draw.rectangle(maskMc, {_w:_local4, _h:Stage.height}, _local3, 100); ui.Draw.rectangle(maskMc, {_x:_local4 + stageWidth, _w:Stage.width, _h:Stage.height}, _local3, 100); ui.Draw.rectangle(maskMc, {_y:_local2 + stageHeight, _w:Stage.width, _h:Stage.height}, _local3, 100); } } var namespace = new Array("modules", "screen", "ScreenManager"); }
Symbol 305 MovieClip [__Packages.modules.screens.IScreen] Frame 0
interface modules.screens.IScreen { }
Symbol 306 MovieClip [__Packages.synchronizer.ITaskStatus] Frame 0
interface synchronizer.ITaskStatus { }
Symbol 307 MovieClip [__Packages.synchronizer.Task] Frame 0
class synchronizer.Task implements synchronizer.ITaskStatus { var targetObject, targetMethod, targetMethodParameters, done, completionHandler, __get__onCompletion, failureHandler, __get__onFailure, abortionHandler, __get__onAbortion, taskOwner, id; function Task (targetObject, targetMethod, targetMethodParameters) { this.targetObject = targetObject; this.targetMethod = targetMethod; this.targetMethodParameters = targetMethodParameters; done = false; } function set onCompletion(handler) { completionHandler = handler; //return(__get__onCompletion()); } function set onFailure(handler) { failureHandler = handler; //return(__get__onFailure()); } function set onAbortion(handler) { abortionHandler = handler; //return(__get__onAbortion()); } function completed(Void) { if (!done) { done = true; if (taskOwner != undefined) { taskOwner.subTaskCompleted(id); } if (completionHandler != undefined) { completionHandler.apply(undefined); delete completionHandler; } } } function aborted(Void) { if (!done) { done = true; if (taskOwner != undefined) { taskOwner.subTaskAborted(id); } if (abortionHandler != undefined) { abortionHandler.apply(undefined); delete abortionHandler; } } } function failed(Void) { if (!done) { done = true; if ((!taskOwner) != undefined) { taskOwner.subTaskFailed(id); } if (failureHandler != undefined) { failureHandler.apply(undefined); delete failureHandler; } } } function setTaskID(id) { this.id = id; } function setTaskOwner(owner) { taskOwner = owner; } function execute(Void) { if (!done) { try { if (targetMethodParameters == undefined) { targetMethodParameters = new Array(); } targetMethodParameters.push(this); targetMethod.apply(targetObject, targetMethodParameters); } catch(e:Error) { trace("*** Catching error in Task.execute() ***"); failed(); } } } function traceTask() { trace("task: " + targetObject.toString()); } function toString() { return(("[" + namespace.join(".")) + "]"); } var namespace = new Array("synchronizer", "Task"); var sequential = true; }
Symbol 308 MovieClip [__Packages.synchronizer.TaskSequence] Frame 0
class synchronizer.TaskSequence extends synchronizer.Task { static var queue, processID; var namespace, waiting, active, totalItems, done, aborted, failed, completed; function TaskSequence () { super(); namespace = new Array("synchronizer", "TaskSequence"); waiting = new Array(); active = new Array(); active.items = 0; totalItems = 0; } function addTask(task) { task.setTaskOwner(this); waiting.push(task); totalItems++; } function addSequentialTask(targetObject, targetMethod, targetMethodParameters) { var _local2 = new synchronizer.Task(targetObject, targetMethod, targetMethodParameters); _local2.sequential = true; addTask(_local2); } function addParallelTask(targetObject, targetMethod, targetMethodParameters) { var _local2 = new synchronizer.Task(targetObject, targetMethod, targetMethodParameters); _local2.sequential = false; addTask(_local2); } function subTaskCompleted(id) { if (active[id] != undefined) { delete active[id]; active.items--; } if (!done) { post(this); } } function subTaskAborted(id) { delete waiting; delete active; aborted(); } function subTaskFailed(id) { delete waiting; delete active; failed(); } function execute(Void) { try { if (!done) { var _local2; var _local4; if ((waiting.length == 0) && (active.items == 0)) { completed(); } else { while (waiting.length > 0) { if ((active.items > 0) && (waiting[0].sequential)) { break; } _local2 = waiting.shift(); var _local3 = ++active.items; _local2.setTaskID(_local3); active[_local3] = _local2; _local2.execute(); } } } } catch(e:Error) { trace("*** Catching error in TaskSequence.execute() ***"); failed(); } } static function post(t) { if (queue == undefined) { queue = new Array(); } queue.push(t); startProcessing(); } static function startProcessing(Void) { if (processID == undefined) { processID = setInterval(process, 10); } } static function stopProcessing(Void) { if (processID != undefined) { clearInterval(processID); processID = undefined; } } static function process(Void) { if (queue.length > 0) { var _local2; var _local3 = queue.length; var _local1 = 0; while (_local1 < _local3) { _local2 = queue.shift(); _local2.execute.apply(_local2); _local1++; } } else { stopProcessing(); } } function toString() { return(("[" + namespace.join(".")) + "]"); } }
Symbol 309 MovieClip [__Packages.modules.assets.AssetManager] Frame 0
class modules.assets.AssetManager extends modules.Module { var queue, callbacks, currentLoad, dataHolder, sTrace, mp3FailCounter, bugFixIntervalId, sError; function AssetManager () { super(); queue = new Array(); callbacks = new Array(); currentLoad = null; dataHolder = new Object(); } function setCallback(caller, callback) { var _local2 = utils.Proxy.create(caller, callback); callbacks.push(_local2); sTrace("Number of callbacks are now " + callbacks.length); } function addJob(type, identifier, src, target) { var _local2 = {type:type, id:identifier, src:src, target:target}; sTrace((((("adding loadJob " + type) + " ") + identifier) + ", src: ") + src); if (!exists(_local2)) { sTrace("loadjob dont exist, load it!"); queue.push(_local2); } } function startLoad() { sTrace("AssetManager.startLoad " + queue.length); if (queue.length > 0) { loadData(); } else { loadDone(); } } function getManagedData(type, identifier) { var _local2 = dataHolder[type][identifier]; if (_local2 != undefined) { return(_local2); } if (type == "path") { return(""); } return(null); } function setManagedData(type, identifier, data) { if (dataHolder[type] == undefined) { dataHolder[type] = new Object(); } if (dataHolder[type][identifier] != undefined) { sTrace("ERROR!! Manager.dataHolder duplication id error!"); sTrace("type: " + type); sTrace("identifier" + identifier); sTrace("****************************"); return(false); } dataHolder[type][identifier] = data; sTrace((((("Manager added type[" + type) + "][") + identifier) + "]: ") + data); return(true); } function clearManagedData(type, identifier) { if (arguments.length == 0) { dataHolder = new Object(); } else if (arguments.length == 1) { dataHolder[type] = null; } else { dataHolder[type][identifier] = null; } } function exists(loadJob) { if (getManagedData(loadJob.type, loadJob.id) != null) { return(true); } var _local2 = 0; while (_local2 < queue.length) { if (queue[_local2] == loadJob) { return(true); } _local2++; } return(false); } function loadData() { currentLoad = queue.shift(); switch (currentLoad.type) { case "path" : case "xml" : loadXml(currentLoad.src); break; case "css" : loadCss(currentLoad.src); break; case "mp3" : sTrace("loadData() src = " + currentLoad.src); loadMp3(currentLoad.src); break; case "swf" : case "img" : loadSwf(currentLoad.src, currentLoad.target); break; case "bmp" : var _local3 = _root.getNextHighestDepth(); var _local4 = _root.createEmptyMovieClip("temp_" + _local3, _local3); loadBmp(currentLoad.src, _local4); } } function loadXml(src) { sTrace("loadXml " + String(getManagedData("path", "xml") + src)); var _local3 = new data.GetData(String(getManagedData("path", "xml") + src), this, loadDone); } function loadSwf(src, target) { var _local2 = new MovieClipLoader(); _local2.addListener(this); _local2.loadClip(src, target); } function loadBmp(src, target) { var _local3 = new MovieClipLoader(); var _local2 = new Object(); var a = this; _local2.onLoadInit = function (success) { a.sTrace("Bitmap loaded!"); var _local1 = new flash.display.BitmapData(target._width, target._height, true, 16777215); _local1.draw(target); target.removeMovieClip(); a.loadDone(_local1); }; _local2.onLoadError = function () { a.sError("Error loading external bitmap " + src); target.removeMovieClip(); a.loadDone(null); }; _local3.addListener(_local2); _local3.loadClip(src, target); } function onLoadInit(targetMc) { loadDone(); } function loadCss(src) { var _local2 = new TextField.StyleSheet(); _local2.load(getManagedData("path", "css") + src); _local2.onLoad = utils.Proxy.create(this, cssLoaded, _local2); } function cssLoaded(success, data) { if (success != true) { sTrace("**WARNING: unable to load css: " + currentLoad.type); } loadDone(data); } function loadMp3(src) { var _local2 = new Sound(); mp3FailCounter = 600; bugFixIntervalId = setInterval(utils.Proxy.create(this, mp3LoadCheck, _local2), 15); _local2.loadSound(src, false); } function mp3LoadCheck(snd) { if (snd.getBytesLoaded() == 0) { if ((--mp3FailCounter) <= 0) { mp3Loaded(false, null); } } if (snd.getBytesLoaded() == snd.getBytesTotal()) { clearInterval(bugFixIntervalId); mp3Loaded(true, snd); } } function mp3Loaded(success, data) { sTrace("the mp3 is loaded " + success); if (success != true) { sError("unable to load mp3: " + currentLoad.src); } loadDone(data); } function loadDone(data) { if (data != undefined) { setManagedData(currentLoad.type, currentLoad.id, data); } currentLoad = null; if (queue.length > 0) { loadData(); } else { var _local3 = callbacks.slice(); callbacks = new Array(); sTrace("Load done. Callbacks: " + _local3.length); var _local2 = 0; while (_local2 < _local3.length) { _local3[_local2](); _local2++; } } } var namespace = new Array("modules", "assets", "AssetManager"); }
Symbol 310 MovieClip [__Packages.utils.Proxy] Frame 0
class utils.Proxy { function Proxy () { } static function create(callTarget, callFunction) { var parameters = new Array(); var _local2 = 2; while (_local2 < arguments.length) { parameters.push(arguments[_local2]); _local2++; } var _local4 = function () { var _local2 = arguments.concat(parameters); _local2.push(arguments.callee); callFunction.apply(callTarget, _local2); }; return(_local4); } static function exec(callTarget, callFunction) { var parameters = new Array(); var _local2 = 2; while (_local2 < arguments.length) { parameters.push(arguments[_local2]); _local2++; } var _local4 = function () { var _local2 = arguments.concat(parameters); _local2.push(arguments.callee); callFunction.apply(callTarget, _local2); }; _local4(); } }
Symbol 311 MovieClip [__Packages.data.GetData] Frame 0
class data.GetData { var caller, callback, loadedXML, dataSet, completed; function GetData (sourceXML, c, cb) { caller = c; callback = cb; loadedXML = new XML(); loadedXML.ignoreWhite = true; loadedXML.onLoad = utils.Proxy.create(this, generateDataSet); loadedXML.load(sourceXML); } function generateDataSet() { dataSet = new Object(); dataSet.data = getDataSet(loadedXML.childNodes[0]); completed = utils.Proxy.create(caller, callback, dataSet); completed(); delete loadedXML; } function getDataSet(xml_object) { var _local3 = xml_object; var _local4 = new Object(); for (var _local6 in _local3.attributes) { _local4[_local6] = _local3.attributes[_local6]; } if (_local3.childNodes[0].nodeValue != null) { _local4.value = _local3.childNodes[0].nodeValue; } else { var _local2 = 0; while (_local2 < _local3.childNodes.length) { var _local5 = new Object(); _local5 = getDataSet(_local3.childNodes[_local2]); if (_local4[_local3.childNodes[_local2].nodeName] == undefined) { _local4[_local3.childNodes[_local2].nodeName] = new Array(); } _local4[_local3.childNodes[_local2].nodeName].push(_local5); _local2++; } } return(_local4); } }
Symbol 312 MovieClip [__Packages.ui.Draw] Frame 0
class ui.Draw { function Draw () { } static function rectangle(target, dimensions, color, alpha) { var x = (isNaN(dimensions._x) ? 0 : (dimensions._x)); var y = (isNaN(dimensions._y) ? 0 : (dimensions._y)); var w = (isNaN(dimensions._w) ? 0 : (dimensions._w)); var h = (isNaN(dimensions._h) ? 0 : (dimensions._h)); var c1 = 0; var c2 = 0; var c3 = 0; var c4 = 0; if (!isNaN(dimensions._c)) { c1 = (c2 = (c3 = (c4 = int(dimensions._c)))); } if (!isNaN(dimensions._c1)) { c1 = int(dimensions._c1); c2 = int(dimensions._c2); c3 = int(dimensions._c3); c4 = int(dimensions._c4); } var fillColor = color; var fillAlpha = alpha; with (target) { moveTo(x + c1, y); beginFill(fillColor, fillAlpha); lineTo(w - c2, y); curveTo(w, y, w, y + c2); lineTo(w, h - c3); curveTo(w, h, w - c3, h); lineTo(x + c4, h); curveTo(x, h, x, h - c4); lineTo(x, y + c1); curveTo(x, y, x + c1, y); endFill(); } } static function circle(holder, dimensions, color, alpha, lineWidth, lineAlpha, lineColor, centered) { var x = (isNaN(dimensions._x) ? 0 : (dimensions._x)); var y = (isNaN(dimensions._y) ? 0 : (dimensions._y)); var w = (isNaN(dimensions._w) ? 0 : (dimensions._w)); var h = (isNaN(dimensions._h) ? 0 : (dimensions._h)); if (centered) { x = (w / 2) - w; y = (h / 2) - h; w = w / 2; h = h / 2; } var fillColor = color; var fillAlpha = alpha; var lineColor = lineColor; var lineAlpha = lineAlpha; var lineWidth = lineWidth; var tx = w; var ty = h; var bx = x; var by = y; if ((w > x) && (h > y)) { tx = x; ty = y; bx = w; by = h; } else if ((w < x) && (h > y)) { tx = w; ty = y; bx = x; by = h; } else if ((w > x) && (h < y)) { tx = x; ty = h; bx = w; by = y; } var nw = (bx - tx); var nh = (by - ty); var a = (nw / 2); var b = (nw / 7); var c = (nw / 10); var d = (nh / 2); var e = (nh / 7); var f = (nh / 10); var m = 2.9; with (holder) { clear(); moveTo(tx + a, ty); if (lineWidth > 0) { lineStyle(lineWidth, lineColor, lineAlpha); } beginFill(fillColor, fillAlpha); curveTo((tx + nw) - (c * m), ty, (tx + nw) - b, ty + e); curveTo(tx + nw, ty + (f * m), tx + nw, ty + d); curveTo(tx + nw, (ty + nh) - (f * m), (tx + nw) - b, (ty + nh) - e); curveTo((tx + nw) - (c * m), ty + nh, tx + a, ty + nh); curveTo(tx + (c * m), ty + nh, tx + b, (ty + nh) - e); curveTo(tx, (ty + nh) - (f * m), tx, ty + d); curveTo(tx, ty + (f * m), tx + b, ty + e); curveTo(tx + (c * m), ty, tx + a, ty); endFill(); } } }
Symbol 313 MovieClip [__Packages.modules.system.System] Frame 0
class modules.system.System extends modules.Module { var loaderScreen, __get__loader, sTrace, startupTasks, consoleStartup, loadTask, loadInterval; function System () { super(); } function set loader(loaderScreen) { this.loaderScreen = loaderScreen; //return(__get__loader()); } function setup(useTracer) { var _local2 = SConsole.getInstance(); var _local3 = modules.screens.ScreenManager.getInstance(); var _local4 = new modules.debug.Tracer(); _local4.setConsole(new modules.debug.TraceConsole()); _local4.setConsole(new modules.debug.DebugConsole(_local3.__get__width(), _local3.__get__height() * 0.7, _local3.__get__topLayer())); _local4.setActive(useTracer); _local4.trace(namespace, "System creating new Tracer(s) to Console"); if (loaderScreen == null) { loaderScreen = new modules.screens.Loader(); } _local2.addModule(_local4, "tracer"); _local2.addModule(this, "system"); _local2.addModule(new modules.assets.AssetManager(), "assets"); _local2.addModule(new modules.musicmixer.MusicMixer(), "musicmixer"); _local2.addModule(new modules.system.Ticker(), "ticker"); _local2.addModule(_local3, "screenManager"); _local2.addModule(modules.Module(loaderScreen), "loader"); _local2.addModule(new modules.persistant.Cookie(), "cookie"); addStartupTask(new synchronizer.Task(this, loadConfig)); addStartupTask(new synchronizer.Task(_local3, _local3.loadScreens)); addStartupTask(new synchronizer.Task(this, loadSystem)); } function loadConfig(ts) { sTrace("load configuration"); ts.completed(); } function addStartupTask(t) { if (startupTasks == undefined) { startupTasks = new synchronizer.TaskSequence(); startupTasks.sequential = true; } t.sequential = true; startupTasks.addTask(t); } function startup() { var _local3 = new modules.screens.ApplicationIntro(); var _local2 = SConsole.module("screenManager"); var _local4 = SConsole.module("loader"); sTrace("* Starting Console startup sequence *"); consoleStartup = new synchronizer.TaskSequence(); if (SConsole.__get__devMode()) { consoleStartup.addSequentialTask(this, delaySequence, [300]); consoleStartup.addSequentialTask(this, executecuteStartupTasks); consoleStartup.addSequentialTask(_local2, _local2.reset); } else { consoleStartup.addSequentialTask(_local4, _local4.show); consoleStartup.addSequentialTask(this, executecuteStartupTasks); consoleStartup.addSequentialTask(_local3, _local3.load); consoleStartup.addSequentialTask(_local4, _local4.hide); consoleStartup.addSequentialTask(_local3, _local3.intro); consoleStartup.addSequentialTask(_local2, _local2.reset); consoleStartup.addSequentialTask(this, sTrace, ["* Console startupSequence completed! *"]); } consoleStartup.execute(); } function executecuteStartupTasks(ts) { sTrace("Manually executing startupTasks"); startupTasks.__set__onCompletion(utils.Proxy.create(ts, ts.completed)); startupTasks.execute(); } function loadSystem(loadTask) { this.loadTask = loadTask; loadInterval = setInterval(utils.Proxy.create(this, checkLoadSystem), 100); checkLoadSystem(); } function checkLoadSystem() { sTrace("checkLoadSystem"); if (_root.getBytesLoaded() == _root.getBytesTotal()) { sTrace("load system completed!"); clearInterval(loadInterval); loadTask.completed(); } } function delaySequence(ms, ts) { utils.Delay.create(ts, ts.completed, ms); } var namespace = new Array("modules", "system", "System"); }
Symbol 314 MovieClip [__Packages.modules.debug.Tracer] Frame 0
class modules.debug.Tracer extends modules.Module { var outputs, active; function Tracer () { super(); outputs = new Array(); } static function setFilter(filter) { trace(("setting filter to [" + filter.join(".")) + "]"); filterArray = filter; } function setActive(flag) { active = flag; var _local2 = 0; while (_local2 < outputs.length) { modules.debug.ITraceable(outputs[_local2]).setActive(flag); _local2++; } } function setConsole(console) { console.setActive(active); outputs.push(console); trace(namespace, "Added debug console: " + console); } function error(ns, msg) { if (active == true) { output("*** WARNING: " + msg, ns); } logError(ns, msg); } function trace(ns, msg) { if (active != true) { return(undefined); } if (!checkFilter(ns)) { return(undefined); } output(msg, ns); } function output(msg, ns) { var _local4 = ""; _local4 = _local4 + ns.join("."); _local4 = _local4 + " ::\t\t"; _local4 = _local4 + msg; var _local2 = 0; while (_local2 < outputs.length) { var _local3 = modules.debug.ITraceable(outputs[_local2]); _local3.output(_local4); _local2++; } } function checkFilter(ns) { var _local1 = 0; while (_local1 < filterArray.length) { if (filterArray[_local1] == "all") { return(true); } if (filterArray[_local1] != ns[_local1]) { return(false); } _local1++; } return(true); } function logError(ns, msg) { } var namespace = new Array("modules", "debug", "Tracer"); static var filterArray = new Array("all"); }
Symbol 315 MovieClip [__Packages.modules.debug.ITraceable] Frame 0
interface modules.debug.ITraceable { }
Symbol 316 MovieClip [__Packages.modules.debug.TraceConsole] Frame 0
class modules.debug.TraceConsole implements modules.debug.ITraceable { function TraceConsole () { } function output(msg) { trace("** " + msg); } function setActive(flag) { } function toString() { return(namespace.join(".")); } var namespace = new Array("modules", "debug", "TraceConsole"); }
Symbol 317 MovieClip [__Packages.modules.debug.DebugConsole] Frame 0
class modules.debug.DebugConsole implements modules.debug.ITraceable { var width, height, mc, isVisible, isSelected, tf, isActive; function DebugConsole (width, height, holderMc) { var _local2 = holderMc.getNextHighestDepth(); this.width = width; this.height = height; mc = holderMc.createEmptyMovieClip("debugConsole", _local2); isVisible = false; isSelected = false; mc._visible = false; build(); Key.addListener(this); } function output(msg) { tf.text = tf.text + (msg + newline); if (!isSelected) { tf.scroll = tf.maxscroll; } } function show() { mc._visible = true; isVisible = true; isSelected = false; isActive = true; var _local2 = new mx.transitions.Tween(mc, "_y", mx.transitions.easing.Strong.easeOut, -height, 0, 0.3, true); } function hide() { mc._visible = false; isVisible = false; isSelected = false; } function build() { ui.Draw.rectangle(mc, {_x:0, _y:0, _w:width, _h:height}, 16777215, 90); tf = mc.createTextField("tf", 2, 2, 2, width - 4, height - 4); tf.multiline = true; tf.wordWrap = false; tf.selectable = true; tf.type = "input"; tf.onSetFocus = utils.Proxy.create(this, setFocus); tf.onKillFocus = utils.Proxy.create(this, killFocus); var _local2 = new TextFormat(); _local2.font = "arial"; _local2.size = 12; _local2.color = 0; tf.setNewTextFormat(_local2); } function setActive(flag) { isActive = flag; if (!flag) { hide(); } } function toString() { return(namespace.join(".")); } function onKeyUp() { if (!isActive) { return(undefined); } if (Key.getCode() == TOGGLE_KEY) { if (isVisible) { hide(); } else { show(); } } } function setFocus() { isSelected = true; } function killFocus() { isSelected = false; } var namespace = new Array("modules", "debug", "DebugConsole"); static var TOGGLE_KEY = 220; }
Symbol 318 MovieClip [__Packages.mx.transitions.OnEnterFrameBeacon] Frame 0
class mx.transitions.OnEnterFrameBeacon { function OnEnterFrameBeacon () { } static function init() { var _local4 = _global.MovieClip; if (!_root.__OnEnterFrameBeacon) { mx.transitions.BroadcasterMX.initialize(_local4); var _local3 = _root.createEmptyMovieClip("__OnEnterFrameBeacon", 9876); _local3.onEnterFrame = function () { _global.MovieClip.broadcastMessage("onEnterFrame"); }; } } static var version = "1.1.0.52"; }
Symbol 319 MovieClip [__Packages.mx.transitions.BroadcasterMX] Frame 0
class mx.transitions.BroadcasterMX { var _listeners; function BroadcasterMX () { } static function initialize(o, dontCreateArray) { if (o.broadcastMessage != undefined) { delete o.broadcastMessage; } o.addListener = mx.transitions.BroadcasterMX.prototype.addListener; o.removeListener = mx.transitions.BroadcasterMX.prototype.removeListener; if (!dontCreateArray) { o._listeners = new Array(); } } function addListener(o) { removeListener(o); if (broadcastMessage == undefined) { broadcastMessage = mx.transitions.BroadcasterMX.prototype.broadcastMessage; } return(_listeners.push(o)); } function removeListener(o) { var _local2 = _listeners; var _local3 = _local2.length; while (_local3--) { if (_local2[_local3] == o) { _local2.splice(_local3, 1); if (!_local2.length) { broadcastMessage = undefined; } return(true); } } return(false); } function broadcastMessage() { var _local5 = String(arguments.shift()); var _local4 = _listeners.concat(); var _local6 = _local4.length; var _local3 = 0; while (_local3 < _local6) { _local4[_local3][_local5].apply(_local4[_local3], arguments); _local3++; } } static var version = "1.1.0.52"; }
Symbol 320 MovieClip [__Packages.mx.transitions.Tween] Frame 0
class mx.transitions.Tween { var obj, prop, begin, useSeconds, _listeners, addListener, prevTime, _time, looping, _duration, broadcastMessage, isPlaying, _fps, prevPos, _pos, change, _intervalID, _startTime; function Tween (obj, prop, func, begin, finish, duration, useSeconds) { mx.transitions.OnEnterFrameBeacon.init(); if (!arguments.length) { return; } this.obj = obj; this.prop = prop; this.begin = begin; position = (begin); this.duration = (duration); this.useSeconds = useSeconds; if (func) { this.func = func; } this.finish = (finish); _listeners = []; addListener(this); start(); } function set time(t) { prevTime = _time; if (t > duration) { if (looping) { rewind(t - _duration); update(); broadcastMessage("onMotionLooped", this); } else { if (useSeconds) { _time = _duration; update(); } stop(); broadcastMessage("onMotionFinished", this); } } else if (t < 0) { rewind(); update(); } else { _time = t; update(); } //return(time); } function get time() { return(_time); } function set duration(d) { _duration = (((d == null) || (d <= 0)) ? (_global.Infinity) : (d)); //return(duration); } function get duration() { return(_duration); } function set FPS(fps) { var _local2 = isPlaying; stopEnterFrame(); _fps = fps; if (_local2) { startEnterFrame(); } //return(FPS); } function get FPS() { return(_fps); } function set position(p) { setPosition(p); //return(position); } function setPosition(p) { prevPos = _pos; obj[prop] = (_pos = p); broadcastMessage("onMotionChanged", this, _pos); updateAfterEvent(); } function get position() { return(getPosition()); } function getPosition(t) { if (t == undefined) { t = _time; } return(func(t, begin, change, _duration)); } function set finish(f) { change = f - begin; //return(finish); } function get finish() { return(begin + change); } function continueTo(finish, duration) { begin = position; this.finish = (finish); if (duration != undefined) { this.duration = (duration); } start(); } function yoyo() { continueTo(begin, time); } function startEnterFrame() { if (_fps == undefined) { _global.MovieClip.addListener(this); } else { _intervalID = setInterval(this, "onEnterFrame", 1000 / _fps); } isPlaying = true; } function stopEnterFrame() { if (_fps == undefined) { _global.MovieClip.removeListener(this); } else { clearInterval(_intervalID); } isPlaying = false; } function start() { rewind(); startEnterFrame(); broadcastMessage("onMotionStarted", this); } function stop() { stopEnterFrame(); broadcastMessage("onMotionStopped", this); } function resume() { fixTime(); startEnterFrame(); broadcastMessage("onMotionResumed", this); } function rewind(t) { _time = ((t == undefined) ? 0 : (t)); fixTime(); update(); } function fforward() { time = (_duration); fixTime(); } function nextFrame() { if (useSeconds) { time = ((getTimer() - _startTime) / 1000); } else { time = (_time + 1); } } function onEnterFrame() { nextFrame(); } function prevFrame() { if (!useSeconds) { time = (_time - 1); } } function toString() { return("[Tween]"); } function fixTime() { if (useSeconds) { _startTime = getTimer() - (_time * 1000); } } function update() { position = (getPosition(_time)); } static var version = "1.1.0.52"; static var __initBeacon = mx.transitions.OnEnterFrameBeacon.init(); static var __initBroadcaster = mx.transitions.BroadcasterMX.initialize(mx.transitions.Tween.prototype, true); function func(t, b, c, d) { return(((c * t) / d) + b); } }
Symbol 321 MovieClip [__Packages.mx.transitions.easing.Strong] Frame 0
class mx.transitions.easing.Strong { function Strong () { } static function easeIn(t, b, c, d) { t = t / d; return((((((c * t) * t) * t) * t) * t) + b); } static function easeOut(t, b, c, d) { t = (t / d) - 1; return((c * (((((t * t) * t) * t) * t) + 1)) + b); } static function easeInOut(t, b, c, d) { t = t / (d / 2); if (t < 1) { return(((((((c / 2) * t) * t) * t) * t) * t) + b); } t = t - 2; return(((c / 2) * (((((t * t) * t) * t) * t) + 2)) + b); } static var version = "1.1.0.52"; }
Symbol 322 MovieClip [__Packages.modules.screens.BaseScreen] Frame 0
class modules.screens.BaseScreen extends modules.Module implements modules.screens.IScreen { var sTrace, mc; function BaseScreen () { super(); sTrace("new screen created"); } function get root() { return(mc); } function intro(introTask) { introTask.completed(); } function outro(outroTask) { outroTask.completed(); } function activate() { } function inactivate() { } function load(mc, loadTask) { this.mc = mc; loadTask.completed(); } var namespace = new Array("modules", "screens", "BaseScreen"); }
Symbol 323 MovieClip [__Packages.modules.screens.Loader] Frame 0
class modules.screens.Loader extends modules.screens.BaseScreen { var particles, blur, holder, animationTimer, tween, hideTS, bitmapHolder, logoHolder, width, height, bmp; function Loader (loaderColor, linkageId) { super(); if (loaderColor != undefined) { this.loaderColor = loaderColor; } if (linkageId != null) { logoLinkageId = linkageId; } particles = new Array(); blur = new flash.filters.BlurFilter(1.8, 1.8, 2); } function show(ts) { if (holder == undefined) { buildLoader(); } holder._x = (SConsole.module("screenManager").width / 2) - (holder._width / 2); holder._y = (SConsole.module("screenManager").height / 2) - (holder._height / 2); bringToFront(); holder._visible = true; animationTimer = setInterval(utils.Proxy.create(this, renderParticles), 30); holder._alpha = 0; tween = new mx.transitions.Tween(holder, "_alpha", mx.transitions.easing.None.easeNone, holder._alpha, 100, 1, true); tween.onMotionFinished = utils.Proxy.create(ts, ts.completed); } function hide(ts) { hideTS = ts; tween = new mx.transitions.Tween(holder, "_alpha", mx.transitions.easing.None.easeNone, holder._alpha, 0, 1, true); tween.onMotionFinished = utils.Proxy.create(this, outDone); } function outDone() { holder._visible = false; clearInterval(animationTimer); utils.Delay.create(hideTS, hideTS.completed, 200); } function buildLoader() { var _local3 = SConsole.module("screenManager").root; holder = _local3.createEmptyMovieClip("loader", _local3.getNextHighestDepth()); bitmapHolder = holder.createEmptyMovieClip("bitmapHolder", holder.getNextHighestDepth()); logoHolder = holder.attachMovie("loader_mc", logoLinkageId, holder.getNextHighestDepth()); var _local2 = 140; var _local4 = ((logoHolder._width > logoHolder._height) ? (logoHolder._width + _local2) : (logoHolder._height + _local2)); width = _local4; height = _local4; bmp = new flash.display.BitmapData(width, height, true, 16777215); bitmapHolder.attachBitmap(bmp, bitmapHolder.getNextHighestDepth()); logoHolder._x = Math.round((width / 2) - (logoHolder._width / 2)); logoHolder._y = Math.round((height / 2) - (logoHolder._height / 2)); var _local6 = new Color(logoHolder); _local6.setRGB(loaderColor); var _local5 = logoHolder._height + 10; particles.push(buildParticle(_local5, 0)); particles.push(buildParticle(_local5, Math.PI)); } function buildParticle(dist, rad) { var _local1 = {dist:dist, rad:rad, side:12, speed:0.08}; return(_local1); } function renderParticles() { bmp.applyFilter(bmp, new flash.geom.Rectangle(0, 0, width, height), new flash.geom.Point(0, 0), blur); bmp.colorTransform(bmp.rectangle, new flash.geom.ColorTransform(1, 1, 1, 1, 0, 0, 0, -3)); var _local3 = 0; while (_local3 < particles.length) { var _local2 = particles[_local3]; _local2.rad = _local2.rad + _local2.speed; var _local6 = (width / 2) + (Math.cos(_local2.rad) * _local2.dist); var _local5 = (height / 2) + (Math.sin(_local2.rad) * _local2.dist); var _local4 = new flash.geom.Rectangle(_local6 - 6, _local5 - 6, _local2.side, _local2.side); bmp.fillRect(_local4, loaderColor); _local3++; } } function bringToFront() { var _local2 = SConsole.module("screenManager").root; holder.swapDepths(_local2.getNextHighestDepth()); } var namespace = new Array("modules", "screens", "Loader"); var loaderColor = 4290685826; var logoLinkageId = "logo_mc"; }
Symbol 324 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 325 MovieClip [__Packages.utils.Delay] Frame 0
class utils.Delay { static var delays; var instanceId, intervalId; function Delay (id) { instanceId = id; } static function create(caller, callback, delay) { if (arguments.length < 3) { return(-1); } id++; var _local2 = new utils.Delay(id); if (delays == undefined) { delays = new Array(); } delays.push(_local2); _local2.setup(arguments); return(id); } static function abort(id) { for (var _local2 in delays) { if (delays[_local2].instanceId == id) { delays[_local2].abortDelay(); delays[_local2] = null; delays.splice(_local2, 1); return(true); } } return(false); } function setup(arg) { var _local3 = arg[2]; arg.push(instanceId); intervalId = setInterval(utils.Proxy.create(this, callDelay), _local3, arg); } function callDelay(arg) { var _local4 = arg[0]; var _local3 = arg[1]; var _local5 = arg.slice(3, arg.length + 1); _local3.apply(_local4, _local5); clearInterval(intervalId); } function abortDelay() { clearInterval(intervalId); } static var id = 0; }
Symbol 326 MovieClip [__Packages.modules.musicmixer.MusicMixer] Frame 0
class modules.musicmixer.MusicMixer extends modules.Module { var tracks, sounds, sTrace; function MusicMixer () { super(); tracks = new collections.ObjectArray(); sounds = new Array(); createTrack("main"); } function abortAll() { var _local2 = 0; while (_local2 < tracks.count()) { tracks.getValue(tracks.getKey(_local2)).stop(); _local2++; } _local2 = 0; while (_local2 < sounds.length) { sounds[_local2].destroy(); _local2++; } sounds = new Array(); } function createTrack(trackId) { var _local3 = getTracks(); var _local2 = 0; while (_local2 < _local3.length) { if (_local3[_local2].getId == trackId) { return(undefined); } _local2++; } var _local5 = new modules.musicmixer.Track(trackId); tracks.addValue(trackId, _local5); } function getTracks() { var _local3 = new Array(); var _local2 = 0; while (_local2 < tracks.count()) { _local3.push(tracks.getKey(_local2)); _local2++; } return(_local3); } function getTrack(key) { if (key == undefined) { key = "main"; } var _local3 = modules.musicmixer.Track(tracks.getValue(key)); return(_local3); } function startSong(trackId, songId, useCrossFade, fadeDur1, fadeDur2, endVolume) { var _local2 = getTrack(trackId); if (songId == _local2.getCurrentSong().getId()) { return(undefined); } if (!useCrossFade) { _local2.swap(songId, fadeDur1, fadeDur2, endVolume); return(undefined); } _local2.crossFade(songId, fadeDur1, endVolume); } function fadeOut(trackId, dur, cb) { var _local2 = modules.musicmixer.Track(tracks.getValue(trackId)); _local2.stop(dur, cb); } function startFX(songId, loops, volume) { if (loops == undefined) { loops = 1; } if (volume == undefined) { volume = 100; } var _local1 = new modules.musicmixer.Song(songId); _local1.setVolume(volume); _local1.play(0, loops); } function setVolume(val) { sTrace("setting new global value to " + val); modules.musicmixer.Song.globalVolume = val; var _local2 = 0; while (_local2 < tracks.count()) { tracks.getValue(tracks.getKey(_local2)).getCurrentSong().setVolume(null); _local2++; } } function get volume() { return(modules.musicmixer.Song.globalVolume); } function setVolumeHandler(volumeHandler) { volumeHandler.setVolumeHandler(utils.Proxy.create(this, setVolume)); } var namespace = new Array("modules", "musicmixer", "MusicMixer"); }
Symbol 327 MovieClip [__Packages.modules.musicmixer.Track] Frame 0
class modules.musicmixer.Track extends GameBase { var trackId, currentSong, nextSong, sTrace, fadeIn, fadeOut; function Track (trackId) { super(); this.trackId = trackId; currentSong = null; nextSong = null; } function getId() { return(trackId); } function getCurrentSong() { if (nextSong != null) { return(nextSong); } return(currentSong); } function fade(song, fadeStart, fadeEnd, dur, cb) { var _local4 = new modules.musicmixer.VolumeTweener(song, cb); mx.effects.Tween.Interval = 20; sTrace((("fade called on " + song) + " fadeTo ") + fadeEnd); if ((fadeStart > fadeEnd) || (fadeEnd == 0)) { song.stop(); } else { song.play(); } } function crossFade(songId, fadeDur, endVolume) { sTrace((("Crossfading from " + currentSong) + " to ") + songId); if (fadeDur == null) { fadeDur = 600; } if (endVolume == null) { endVolume = 100; } if (currentSong != null) { currentSong.stop(); } currentSong = new modules.musicmixer.Song(songId); currentSong.setVolume(100); start(); } function swap(songId, fadeDur1, fadeDur2, endVolume) { if (fadeDur1 == undefined) { fadeDur1 = 300; } if (fadeDur2 == undefined) { fadeDur2 = fadeDur1; } if (endVolume == undefined) { endVolume = 100; } if (currentSong != undefined) { var _local2 = new modules.musicmixer.Song(songId); _local2.setVolume(0); var _local6 = utils.Proxy.create(this, fade, _local2, 0, endVolume, fadeDur2, null); fade(currentSong, currentSong.getVolume(), 0, fadeDur1, _local6); currentSong = _local2; start(); } else { crossFade(songId, fadeDur2, endVolume); } } function start(loops, offset) { if (loops == null) { loops = 9999; } if (offset == null) { offset = 0; } currentSong.play(offset, loops); } function stop(dur, cb) { if (((dur != null) && (dur > 0)) && (currentSong.__get__isPlaying())) { fade(currentSong, currentSong.getVolume(), 0, dur, cb); currentSong = null; } else { fadeIn.endTween(); fadeOut.endTween(); currentSong.stop(); } } function destroy() { stop(); currentSong.destroy(); } function toString() { return(("Track [" + trackId) + "]"); } var namespace = new Array("modules", "musicmixer", "Track"); }
Symbol 328 MovieClip [__Packages.modules.musicmixer.Song] Frame 0
class modules.musicmixer.Song extends GameBase { var id, snd, sError; function Song (songId) { super(); id = songId; if (useLibraryAssets) { snd = getSongFromLibrary(id); } else { snd = getSongFromFramework(id); } } function getSongFromFramework(id) { var _local3 = SConsole.module("assets"); var _local2 = Sound(_local3.getManagedData("mp3", id)); if (_local3 == null) { sError("AssetManager not registred"); } if (_local2 == null) { sError("No such song exist " + this.id); } return(_local2); } function getSongFromLibrary(id) { var _local1 = new Sound(); _local1.attachSound(id); return(_local1); } function play(offset, loops) { if (offset == null) { offset = 0; } if (loops == null) { loops = 1; } playing = true; setVolume(); snd.start(offset, loops); } function stop() { playing = false; snd.stop(); } function setVolume(newVolume) { if (newVolume != null) { vol = newVolume; } snd.setVolume(vol * globalVolume); } function getVolume() { return(snd.getVolume()); } function getId() { return(id); } function getDuration() { return(snd.duration); } function getCurrentPos() { return(snd.position); } function get isPlaying() { return(playing); } function destroy() { stop(); snd = null; } function toString() { return(("Song [" + id) + "]"); } var namespace = new Array("modules", "musicmixer", "Song"); static var useLibraryAssets = false; static var globalVolume = 1; var playing = false; var vol = 100; }
Symbol 329 MovieClip [__Packages.mx.effects.Tween] Frame 0
class mx.effects.Tween extends Object { static var IntervalToken; var arrayMode, listener, initVal, endVal, startTime, updateFunc, endFunc, ID; function Tween (listenerObj, init, end, dur) { super(); if (listenerObj == undefined) { return; } if (typeof(init) != "number") { arrayMode = true; } listener = listenerObj; initVal = init; endVal = end; if (dur != undefined) { duration = dur; } startTime = getTimer(); if (duration == 0) { endTween(); } else { AddTween(this); } } static function AddTween(tween) { tween.ID = ActiveTweens.length; ActiveTweens.push(tween); if (IntervalToken == undefined) { Dispatcher.DispatchTweens = DispatchTweens; IntervalToken = setInterval(Dispatcher, "DispatchTweens", Interval); } } static function RemoveTweenAt(index) { var _local2 = ActiveTweens; if (((index >= _local2.length) || (index < 0)) || (index == undefined)) { return(undefined); } _local2.splice(index, 1); var _local4 = _local2.length; var _local1 = index; while (_local1 < _local4) { _local2[_local1].ID--; _local1++; } if (_local4 == 0) { clearInterval(IntervalToken); delete IntervalToken; } } static function DispatchTweens(Void) { var _local2 = ActiveTweens; var _local3 = _local2.length; var _local1 = 0; while (_local1 < _local3) { _local2[_local1].doInterval(); _local1++; } updateAfterEvent(); } function doInterval() { var _local2 = getTimer() - startTime; var _local3 = getCurVal(_local2); if (_local2 >= duration) { endTween(); } else if (updateFunc != undefined) { listener[updateFunc](_local3); } else { listener.onTweenUpdate(_local3); } } function getCurVal(curTime) { if (arrayMode) { var _local3 = new Array(); var _local2 = 0; while (_local2 < initVal.length) { _local3[_local2] = easingEquation(curTime, initVal[_local2], endVal[_local2] - initVal[_local2], duration); _local2++; } return(_local3); } return(easingEquation(curTime, initVal, endVal - initVal, duration)); } function endTween() { if (endFunc != undefined) { listener[endFunc](endVal); } else { listener.onTweenEnd(endVal); } RemoveTweenAt(ID); } function setTweenHandlers(update, end) { updateFunc = update; endFunc = end; } function easingEquation(t, b, c, d) { return(((c / 2) * (Math.sin(Math.PI * ((t / d) - 0.5)) + 1)) + b); } static var ActiveTweens = new Array(); static var Interval = 10; static var Dispatcher = new Object(); var duration = 3000; }
Symbol 330 MovieClip [__Packages.modules.musicmixer.VolumeTweener] Frame 0
class modules.musicmixer.VolumeTweener extends GameBase { var song, callback, myId, sTrace; function VolumeTweener (song, callback) { super(); this.song = song; this.callback = callback; myId = id++; } function onTweenUpdate(val) { song.setVolume(Math.round(val)); } function onTweenEnd(val) { song.setVolume(val); sTrace((("Fade end: " + song) + " ") + val); if ((callback != null) && (callback != undefined)) { callback(); } callback = null; } function toString() { return(("VolumeTweener [" + myId) + "]"); } var namespace = new Array("modules", "musicmixer", "VolumeTweener"); static var id = 0; }
Symbol 331 MovieClip [__Packages.modules.musicmixer.IVolumeHandler] Frame 0
interface modules.musicmixer.IVolumeHandler { }
Symbol 332 MovieClip [__Packages.modules.system.Ticker] Frame 0
class modules.system.Ticker extends modules.Module { var __get__useRealFPS, __get__FPS, isRunning, intervalId, dispatchEvent; function Ticker () { super(); mx.events.EventDispatcher.initialize(this); } function set useRealFPS(flag) { useFrames = flag; //return(__get__useRealFPS()); } function set FPS(fps) { var _local2 = Math.round(1000 / fps); setTickInterval(_local2); //return(__get__FPS()); } function setTickInterval(tickInterval) { this.tickInterval = tickInterval; if (isRunning) { stopTicker(); startTicker(); } } function startTicker() { if (isRunning) { return(undefined); } if (useFrames) { _root.onEnterFrame = utils.Proxy.create(this, tick); } else { intervalId = setInterval(utils.Proxy.create(this, tick), tickInterval); isRunning = true; } } function stopTicker() { if (!isRunning) { return(undefined); } clearInterval(intervalId); delete _root.onEnterFrame; isRunning = false; } function tick() { dispatchEvent({type:"tick"}); } var namespace = new Array("modules", "system", "Ticker"); var tickInterval = 40; var useFrames = false; }
Symbol 333 MovieClip [__Packages.modules.persistant.Cookie] Frame 0
class modules.persistant.Cookie extends modules.Module { var key, sError; function Cookie () { super(); } function read(variableName) { var _local2 = getCookie(); if (_local2 == null) { return(null); } return(_local2.data[variableName]); } function write(variableName, obj) { var _local4 = getCookie(); if (_local4 == null) { return(false); } _local4.data[variableName] = obj; _local4.onStatus = function (infoObject) { var _local3 = ""; for (var _local4 in infoObject) { _local3 = _local3 + ((_local4 + " ") + infoObject[_local4]); } this.sTrace(_local3); }; var _local5 = _local4.flush(); switch (_local5) { case "pending" : break; case true : return(true); case false : fail("flush failed. User denied request for additional storage"); return(false); } } function clear() { var _local2 = getCookie(); _local2.clear(); } function setKey(newKey) { key = newKey; } function getKey() { if (key == undefined) { return("salomonsson_se"); } return(key); } function getCookie() { var _local2 = SharedObject.getLocal(getKey()); if (_local2 == null) { fail("SWF resides outside domain of the swf..."); return(null); } return(_local2); } function fail(errorMsg) { sError(errorMsg); } var namespace = new Array("modules", "persistant", "Cookie"); }
Symbol 334 MovieClip [__Packages.modules.screens.ApplicationIntro] Frame 0
class modules.screens.ApplicationIntro extends modules.screens.BaseScreen { var clickURL, introClip, sTrace, introTS; function ApplicationIntro (clickURL) { super(); this.clickURL = ((clickURL == undefined) ? "http://www.salomonsson.se" : (clickURL)); } function load(loadTask) { var _local2 = SConsole.module("screenManager").root; introClip = _local2.attachMovie(applicationIntroLinkageId, "applicationIntro", _local2.getNextHighestDepth()); introClip._visible = false; loadTask.completed(); } function intro(introTask) { sTrace("starting application intro "); introClip._visible = true; introClip.onRelease = utils.Proxy.create(this, onClick); introClip._x = Math.round((SConsole.module("screenManager").width / 2) - (introClip._width / 2)); introClip._y = Math.round((SConsole.module("screenManager").height / 2) - (introClip._height / 2)); introTS = new synchronizer.TaskSequence(); introTS.addSequentialTask(this, playIntro); introTS.addSequentialTask(this, destroy); introTS.addSequentialTask(introTask, introTask.completed); introTS.execute(); } function outro(outroTask) { outroTask.completed(); } function inactivate() { } function destroy(ts) { introClip.removeMovieClip(); ts.completed(); } function playIntro(ts) { var _local2 = utils.Proxy.create(ts, ts.completed); var _local4 = new utils.FrameProxy(introClip, introClip._totalframes, _local2, true); introClip._visible = true; introClip.gotoAndPlay(1); } function onClick() { getURL (clickURL, "_blank"); } function doTween(toAlpha, dur, ts) { var _local2 = new mx.transitions.Tween(introClip, "_alpha", mx.transitions.easing.Strong.easeOut, introClip._alpha, toAlpha, dur, true); _local2.onMotionFinished = utils.Proxy.create(ts, ts.completed); } function doDelay(ms, ts) { utils.Delay.create(ts, ts.completed, ms); } var namespace = new Array("modules", "screens", "ApplicationIntro"); static var applicationIntroLinkageId = "intro"; }
Symbol 335 MovieClip [__Packages.utils.FrameProxy] Frame 0
class utils.FrameProxy { var mc, frame, cb, haltAtEnd; function FrameProxy (mc, frame, doneFunc, haltAtEnd) { this.mc = mc; this.frame = frame; cb = doneFunc; this.haltAtEnd = ((haltAtEnd == undefined) ? true : (haltAtEnd)); setup(); } function setup() { mc.onEnterFrame = mx.utils.Delegate.create(this, check); } function check() { if (mc._currentframe == frame) { if (haltAtEnd) { mc.stop(); } delete mc.onEnterFrame; cb(); } } }
Symbol 336 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 _local2 = function () { var _local2 = arguments.callee.target; var _local3 = arguments.callee.func; return(_local3.apply(_local2, arguments)); }; _local2.target = obj; _local2.func = func; return(_local2); } function createDelegate(obj) { return(create(obj, func)); } }
Symbol 337 MovieClip [__Packages.modules.screens.MochiLoader] Frame 0
class modules.screens.MochiLoader extends modules.screens.BaseScreen { var id, res, isShow, isAd, mochiHolder, sTrace, hideTask; function MochiLoader (id, res) { super(); this.id = id; this.res = res; isShow = false; isAd = false; } function show(ts) { isShow = true; isAd = true; SConsole.addTickListener(this); SConsole.startTicker(); var _local5 = modules.screens.ScreenManager.getInstance(); var _local3 = _local5.__get__root(); var _local6 = _local3.createEmptyMovieClip("bgLoader", _local3.getNextHighestDepth()); mochiHolder = _local3.createEmptyMovieClip("mochiLoader", _local3.getNextHighestDepth()); var _local2 = new Object(); _local2.clip = mochiHolder; _local2.id = id; _local2.res = res; _local2.ad_started = null; _local2.ad_finished = utils.Proxy.create(this, mochiCallback); MochiAd.showPreGameAd(_local2); if (loader != null) { var _local4 = new synchronizer.TaskSequence(); _local4.__set__onCompletion(utils.Proxy.create(ts, ts.completed)); _local4.addSequentialTask(loader, loader.show, [_local6]); _local4.execute(); } else { ts.completed(); } } function hide(ts) { sTrace("MochiLoader got hide()"); SConsole.removeTickListener(this); SConsole.stopTicker(); hideTask = ts; isShow = false; var _local2 = new synchronizer.TaskSequence(); if (loader != null) { _local2.addSequentialTask(loader, loader.hide); } if (!isAd) { _local2.addSequentialTask(this, delayTask); _local2.addSequentialTask(hideTask, hideTask.completed); } _local2.execute(); } function delayTask(ts) { utils.Delay.create(ts, ts.completed, 100); } function mochiCallback() { sTrace("MochiLoader.mochiCallback()"); isAd = false; mochiHolder.removeMovieClip(); if (!isShow) { utils.Delay.create(hideTask, hideTask.completed, 100); } } function load(mc, loadTask) { loadTask.completed(); } function intro(introTask) { introTask.completed(); } function outro(outroTask) { outroTask.completed(); } function activate() { } function inactivate() { } function tick() { if (loader != null) { var _local3 = _root.getBytesLoaded() / _root.getBytesTotal(); sTrace("progress: " + _local3); loader.onProgress(_local3); } } var namespace = new Array("modules", "screens", "MochiLoader"); static var loader = null; }
Symbol 338 MovieClip [__Packages.modules.screens.ILoader] Frame 0
interface modules.screens.ILoader { }
Symbol 339 MovieClip [__Packages.se.salomonsson.synchronizer.ITaskStatus] Frame 0
interface se.salomonsson.synchronizer.ITaskStatus { }
Symbol 340 MovieClip [__Packages.MochiAd] Frame 0
class MochiAd { function MochiAd () { } static function getVersion() { return("2.1"); } static function showPreGameAd(options) { var _local26 = {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, _local26); var clip = options.clip; var _local22 = 11000; var _local25 = 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 _local14 = _getRes(options); var _local4 = _local14[0]; var _local13 = _local14[1]; mc._x = _local4 * 0.5; mc._y = _local13 * 0.5; var chk = mc.createEmptyMovieClip("_mochiad_wait", 3); chk._x = _local4 * -0.5; chk._y = _local13 * -0.5; var _local7 = chk.createEmptyMovieClip("_mochiad_bar", 4); _local7._x = 10; _local7._y = _local13 - 20; var _local21 = options.color; delete options.color; var _local18 = options.background; delete options.background; var _local23 = options.outline; delete options.outline; var _local5 = _local7.createEmptyMovieClip("_outline", 1); _local5.beginFill(_local18); _local5.moveTo(0, 0); _local5.lineTo(_local4 - 20, 0); _local5.lineTo(_local4 - 20, 10); _local5.lineTo(0, 10); _local5.lineTo(0, 0); _local5.endFill(); var _local3 = _local7.createEmptyMovieClip("_inside", 2); _local3.beginFill(_local21); _local3.moveTo(0, 0); _local3.lineTo(_local4 - 20, 0); _local3.lineTo(_local4 - 20, 10); _local3.lineTo(0, 10); _local3.lineTo(0, 0); _local3.endFill(); _local3._xscale = 0; var _local6 = _local7.createEmptyMovieClip("_outline", 3); _local6.lineStyle(0, _local23, 100); _local6.moveTo(0, 0); _local6.lineTo(_local4 - 20, 0); _local6.lineTo(_local4 - 20, 10); _local6.lineTo(0, 10); _local6.lineTo(0, 0); chk.ad_msec = _local22; chk.ad_timeout = _local25; chk.started = getTimer(); chk.showing = false; chk.last_pcnt = 0; chk.fadeout_time = fadeout_time; chk.fadeFunction = function () { var _local2 = 100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time)); if (_local2 > 0) { this._parent._alpha = _local2; } else { var _local3 = this._parent._parent; MochiAd.unload(_local3); delete this.onEnterFrame; } }; mc.lc.adLoaded = function (width, height) { }; mc.lc.adjustProgress = function (msec) { var _local2 = this.mc._mochiad_wait; _local2.server_control = true; _local2.started = getTimer(); _local2.ad_msec = msec; }; chk.onEnterFrame = function () { var _local13 = this._parent._parent; var _local12 = this._parent._mochiad_ctr; var _local6 = getTimer() - this.started; var _local4 = false; var _local5 = _root.getBytesTotal(); var _local8 = _root.getBytesLoaded(); var _local10 = (100 * _local8) / _local5; var _local11 = (100 * _local6) / chk.ad_msec; var _local9 = this._mochiad_bar._inside; var _local3 = Math.min(100, Math.min(_local10 || 0, _local11)); _local3 = Math.max(this.last_pcnt, _local3); this.last_pcnt = _local3; _local9._xscale = _local3; if (!chk.showing) { var _local7 = _local12.getBytesTotal(); if ((_local7 > 0) || (typeof(_local7) == "undefined")) { chk.showing = true; chk.started = getTimer(); } else if (_local6 > chk.ad_timeout) { _local4 = true; } } if (_local6 > chk.ad_msec) { _local4 = true; } if (((_local5 > 0) && (_local8 >= _local5)) && (_local4)) { if (this.server_control) { delete this.onEnterFrame; } else { this.fadeout_start = getTimer(); this.onEnterFrame = chk.fadeFunction; } } }; } static function showInterLevelAd(options) { var _local13 = {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, _local13); var clip = options.clip; var _local10 = 11000; var _local12 = 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 _local5 = _getRes(options); var _local14 = _local5[0]; var _local11 = _local5[1]; mc._x = _local14 * 0.5; mc._y = _local11 * 0.5; var chk = mc.createEmptyMovieClip("_mochiad_wait", 3); chk.ad_msec = _local10; chk.ad_timeout = _local12; chk.started = getTimer(); chk.showing = false; chk.fadeout_time = fadeout_time; chk.fadeFunction = function () { var _local2 = 100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time)); if (_local2 > 0) { this._parent._alpha = _local2; } else { var _local3 = this._parent._parent; MochiAd.unload(_local3); delete this.onEnterFrame; } }; mc.lc.adLoaded = function (width, height) { }; mc.lc.adjustProgress = function (msec) { var _local2 = this.mc._mochiad_wait; _local2.server_control = true; _local2.started = getTimer(); _local2.ad_msec = msec - 250; }; chk.onEnterFrame = function () { var _local5 = this._parent._mochiad_ctr; var _local4 = getTimer() - this.started; var _local2 = false; if (!chk.showing) { var _local3 = _local5.getBytesTotal(); if ((_local3 > 0) || (typeof(_local3) == "undefined")) { chk.showing = true; chk.started = getTimer(); } else if (_local4 > chk.ad_timeout) { _local2 = true; } } if (_local4 > chk.ad_msec) { _local2 = true; } if (_local2) { 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 _local1 = server.split("/")[2].split(":")[0]; if (System.security) { if (System.security.allowDomain) { System.security.allowDomain("*"); System.security.allowDomain(_local1); } if (System.security.allowInsecureDomain) { System.security.allowInsecureDomain("*"); System.security.allowInsecureDomain(_local1); } } return(_local1); } static function _loadCommunicator(options) { var _local26 = {clip:_root, com_server:"http://x.mochiads.com/com/1/", method:"loadCommunicator", depth:10337, id:"_UNKNOWN_"}; options = _parseOptions(options, _local26); options.swfv = options.clip.getSWFVersion() || 6; options.mav = getVersion(); var _local18 = options.clip; var _local20 = "_mochiad_com_" + options.id; if (!_isNetworkAvailable()) { return(null); } if (_local18[_local20]) { return(_local18[_local20].lc); } var _local21 = options.com_server + options.id; _allowDomains(_local21); delete options.id; delete options.com_server; var _local25 = options.depth; delete options.depth; var _local17 = _local18.createEmptyMovieClip(_local20, _local25); var _local11 = _local17.createEmptyMovieClip("_mochiad_com", 1); for (var _local15 in options) { _local11[_local15] = options[_local15]; } var _local6 = new LocalConnection(); var _local16 = ["", Math.floor(new Date().getTime()), random(999999)].join("_"); _local6.mc = _local17; _local6.name = _local16; _local6.allowDomain = function (d) { return(true); }; _local6.allowInsecureDomain = _local6.allowDomain; _local6.connect(_local16); _local17.lc = _local6; _local11.lc = _local16; _local6._id = 0; _local6._queue = []; _local6.rpcResult = function (cb_arg) { var _local8 = parseInt(cb_arg); var _local4 = this._callbacks[_local8]; if (!_local4) { return(undefined); } delete this._callbacks[_local8]; var _local5 = []; var _local3 = 2; while (_local3 < _local4.length) { _local5.push(_local4[_local3]); _local3++; } _local3 = 1; while (_local3 < arguments.length) { _local5.push(arguments[_local3]); _local3++; } var _local6 = _local4[1]; var _local7 = _local4[0]; if (_local7 && (typeof(_local6) == "string")) { _local6 = _local7[_local6]; } if (_local6) { _local6.apply(_local7, _local5); } }; _local6._didConnect = function (endpoint) { this._endpoint = endpoint; var _local4 = this._queue; delete this._queue; var _local5 = this.doSend; var _local2 = 0; while (_local2 < _local4.length) { var _local3 = _local4[_local2]; _local5.apply(this, _local3); _local2++; } }; _local6.doSend = function (args, cbobj, cbfn) { if (this._endpoint == null) { var _local4 = []; var _local3 = 0; while (_local3 < arguments.length) { _local4.push(arguments[_local3]); _local3++; } this._queue.push(_local4); return(undefined); } this._id = this._id + 1; var _local5 = this._id; if ((cbfn === undefined) || (cbfn === null)) { cbfn = cbobj; } this._callbacks[_local5] = [cbobj, cbfn]; var _local7 = new LocalConnection(); var _local9 = _local7.send(this._endpoint, "rpc", _local5, args); }; _local6._callbacks = {}; _local6._callbacks[0] = [_local6, "_didConnect"]; _local11.st = getTimer(); _local11.loadMovie(_local21 + ".swf", "POST"); return(_local6); } static function fetchHighScores(options, callbackObj, callbackMethod) { var _local1 = _loadCommunicator({id:options.id}); if (!_local1) { return(false); } var _local4 = ["fetchHighScores", options]; _local1.doSend(["fetchHighScores", options], callbackObj, callbackMethod); return(true); } static function sendHighScore(options, callbackObj, callbackMethod) { var _local1 = _loadCommunicator({id:options.id}); if (!_local1) { return(false); } var _local4 = ["sendHighScore", options]; _local1.doSend(["sendHighScore", options], callbackObj, callbackMethod); return(true); } static function load(options) { var _local13 = {clip:_root, server:"http://x.mochiads.com/srv/1/", method:"load", depth:10333, id:"_UNKNOWN_"}; options = _parseOptions(options, _local13); options.swfv = options.clip.getSWFVersion() || 6; options.mav = getVersion(); var _local9 = options.clip; if (!_isNetworkAvailable()) { return(null); } if (_local9._mochiad_loaded) { return(null); } var _local12 = options.depth; delete options.depth; var _local6 = _local9.createEmptyMovieClip("_mochiad", _local12); var _local11 = _getRes(options); options.res = (_local11[0] + "x") + _local11[1]; options.server = options.server + options.id; delete options.id; _local9._mochiad_loaded = true; var _local4 = _local6.createEmptyMovieClip("_mochiad_ctr", 1); for (var _local7 in options) { _local4[_local7] = options[_local7]; } var _local10 = _local4.server; delete _local4.server; var _local14 = _allowDomains(_local10); _local6.onEnterFrame = function () { if (this._mochiad_ctr._url != this._url) { this.onEnterFrame = function () { if (!this._mochiad_ctr) { delete this.onEnterFrame; MochiAd.unload(this._parent); } }; } }; var _local5 = new LocalConnection(); var _local8 = ["", Math.floor(new Date().getTime()), random(999999)].join("_"); _local5.mc = _local6; _local5.name = _local8; _local5.hostname = _local14; _local5.allowDomain = function (d) { return(true); }; _local5.allowInsecureDomain = _local5.allowDomain; _local5.connect(_local8); _local6.lc = _local5; _local4.lc = _local8; _local4.st = getTimer(); _local4.loadMovie(_local10 + ".swf", "POST"); return(_local6); } 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 _local1 = System.security; if (_local1.sandboxType == "localWithFile") { return(false); } } return(true); } static function _getRes(options) { var _local3 = options.clip.getBounds(); var _local2 = 0; var _local1 = 0; if (typeof(options.res) != "undefined") { var _local4 = options.res.split("x"); _local2 = parseFloat(_local4[0]); _local1 = parseFloat(_local4[1]); } else { _local2 = _local3.xMax - _local3.xMin; _local1 = _local3.yMax - _local3.yMin; } if ((_local2 == 0) || (_local1 == 0)) { _local2 = Stage.width; _local1 = Stage.height; } return([_local2, _local1]); } static function _parseOptions(options, defaults) { var _local4 = {}; for (var _local8 in defaults) { _local4[_local8] = defaults[_local8]; } if (options) { for (var _local8 in options) { _local4[_local8] = options[_local8]; } } if (_root.mochiad_options) { var _local5 = _root.mochiad_options.split("&"); var _local2 = 0; while (_local2 < _local5.length) { var _local3 = _local5[_local2].split("="); _local4[unescape(_local3[0])] = unescape(_local3[1]); _local2++; } } return(_local4); } }
Symbol 341 MovieClip [__Packages.se.salomonsson.loader.MSLoader] Frame 0
class se.salomonsson.loader.MSLoader extends GameBase implements modules.screens.ILoader { var linkId, mc, ts; function MSLoader (linkId) { super(); this.linkId = linkId; } function show(holder, ts) { mc = holder.attachMovie(linkId, "loader", holder.getNextHighestDepth()); mc._alpha = 0; mc._x = (modules.screens.ScreenManager.getInstance().__get__width() / 2) - (mc._width / 2); mc._y = (modules.screens.ScreenManager.getInstance().__get__height() / 2) - (mc._height / 2); var _local2 = new mx.transitions.Tween(mc, "_alpha", mx.transitions.easing.Strong.easeOut, 0, 100, 1, true); _local2.onMotionFinished = utils.Proxy.create(ts, ts.completed); } function hide(ts) { this.ts = ts; var _local2 = new mx.transitions.Tween(mc, "_alpha", mx.transitions.easing.Strong.easeOut, mc._alpha, 0, 1, true); _local2.onMotionFinished = utils.Proxy.create(this, destroy); } function destroy() { mc.removeMovieClip(); ts.completed(); } function onProgress(progress) { var _local2 = Math.round(progress * 100); mc.load_text.text = _local2 + "%"; } var namespace = new Array("loader", "MSLoader"); }
Symbol 342 MovieClip [__Packages.screens.BackgroundScreen] Frame 0
class screens.BackgroundScreen extends modules.screens.BaseScreen { var isVisible, mixer, screenMc, mc, bg, fg, grid, arrows, header, subheader; function BackgroundScreen () { super(); isVisible = false; mixer = modules.musicmixer.MusicMixer(SConsole.module("musicmixer")); } function intro(introTask) { if (isVisible) { introTask.completed(); return(undefined); } isVisible = true; SConsole.addTickListener(this); SConsole.startTicker(); screenMc = mc.attachMovie("backgroundScreen", "backgroundScreen", mc.getNextHighestDepth()); mixer.startSong("main", "titleScreen", true); bg = MovieClip(screenMc.bg); fg = MovieClip(screenMc.fg); grid = MovieClip(screenMc.grid); arrows = MovieClip(screenMc.arrows); header = MovieClip(screenMc.header); subheader = MovieClip(screenMc.subheader); screenMc._alpha = 0; var _local2 = new mx.transitions.Tween(screenMc, "_alpha", mx.transitions.easing.Strong.easeOut, 0, 100, 1, true); _local2.onMotionFinished = utils.Proxy.create(introTask, introTask.completed); var _local4 = SConsole.module("screenManager").width; } function outro(outroTask) { if (!isVisible) { outroTask.completed(); return(undefined); } isVisible = false; SConsole.removeTickListener(this); SConsole.stopTicker(); var _local2 = new mx.transitions.Tween(screenMc, "_alpha", mx.transitions.easing.Strong.easeOut, 100, 0, 1, true); _local2.onMotionFinished = utils.Proxy.create(this, onOutroDone, outroTask); } function onOutroDone(tweener, ts1, ts2) { screenMc.removeMovieClip(); SConsole.removeTickListener(this); isVisible = false; ts1.completed(); ts2.completed(); } function tick() { bg._x = bg._x - 0.2; fg._x = fg._x - 0.5; arrows.nextFrame(); if (fg._x < -998) { fg._x = fg._x + 998; } if (bg._x < -994) { bg._x = bg._x + 994; } } var namespace = new Array("screens", "BackgroundScreen"); }
Symbol 343 MovieClip [__Packages.screens.StartScreen] Frame 0
class screens.StartScreen extends modules.screens.BaseScreen { var holder, introTask, screen_mc, outroTask, startMenu, instructions, isActive; function StartScreen () { super(); } function load(mc, loadTask) { holder = mc; loadTask.completed(); } function intro(introTask) { modules.screens.ScreenManager.__set__backgroundScreen("background"); SConsole.trace(namespace, "Starting screen intro " + holder); this.introTask = introTask; var _local2 = holder.getNextHighestDepth(); screen_mc = holder.createEmptyMovieClip("startScreen", _local2); build(); screen_mc._x = -500; var _local3 = new mx.transitions.Tween(screen_mc, "_x", mx.transitions.easing.Strong.easeOut, -500, 0, 0.5, true); _local3.onMotionFinished = utils.Proxy.create(this, activate); } function outro(outroTask) { this.outroTask = outroTask; screen_mc.onRelease = null; var _local2 = new mx.transitions.Tween(screen_mc, "_x", mx.transitions.easing.Strong.easeOut, 0, -500, 0.5, true); _local2.onMotionFinished = utils.Proxy.create(this, inactivate); } function inactivate() { startMenu.removeEventListener("onSelect", this); startMenu.destroy(); screen_mc.removeMovieClip(); outroTask.completed(); instructions.destroy(); } function activate() { isActive = true; introTask.completed(); } function build() { startMenu = new se.salomonsson.menu.Menu(screen_mc, 70, 80); startMenu.addItem(new se.salomonsson.menu.MenuItem("new.game", "Levels")); startMenu.addItem(new se.salomonsson.menu.MenuItem("your.top.scores", "Hiscore")); startMenu.addItem(new se.salomonsson.menu.MenuItem("instructions", "Instructions")); startMenu.addItem(new se.salomonsson.menu.MenuItem("credits", "Credits")); startMenu.addEventListener("onSelect", this); var _local4 = new se.salomonsson.menu.MenuMarker(screen_mc); _local4.init(startMenu.getItemAt(0)); _local4.setSelectionX(510); startMenu.setMenuMarker(_local4); instructions = new se.salomonsson.scrolltext.ScrollText(screen_mc, 244, 95, 190, 115, 2823, 11468743, 1); var _local5 = "TIP: If you lose keyboard\u00A4focus, click inside the game\u00A4once with the mouse\u00A4 \u00A4Hold SPACE to add thrust\u00A4 \u00A4Press S to toggle sound\u00A4Press P to pause the game"; var _local3 = _local5.split("\u00A4"); var _local2 = 0; while (_local2 < _local3.length) { instructions.addItem(new se.salomonsson.scrolltext.ScrollTextRow(_local3[_local2])); _local2++; } instructions.addItem(new se.salomonsson.scrolltext.ScrollTextSpace(140)); instructions.start(); } function onSelect(evt) { navigate(evt.id); } function navigate(id) { if (!isActive) { return(undefined); } isActive = false; SConsole.module("screenManager").openScreen(id); } var namespace = new Array("screens", "StartScreen"); }
Symbol 344 MovieClip [__Packages.se.salomonsson.scrolltext.ScrollText] Frame 0
class se.salomonsson.scrolltext.ScrollText extends GameBase { var mc, mask, x, y, width, height, fromColor, toColor, originalSpeed, speed, items, colorFade, useArrows, upArrow, dnArrow; function ScrollText (holder, x, y, width, height, fromColor, toColor, speed, useArrows) { super(); var _local3 = holder.getNextHighestDepth(); mc = holder.createEmptyMovieClip("scrollText_" + _local3, _local3); mask = holder.createEmptyMovieClip("scrollMask_" + _local3, _local3 + 1); this.x = x; this.y = y; this.width = width; this.height = height; this.fromColor = fromColor; this.toColor = toColor; originalSpeed = speed; this.speed = originalSpeed; items = new Array(); colorFade = new ui.ColorFade(this.fromColor, this.toColor); this.useArrows = ((useArrows == undefined) ? false : true); build(); } function build() { ui.Draw.rectangle(mask, {_w:width, _h:height}, 16711680, 20); mask._x = (mc._x = x); mask._y = (mc._y = y); mc.setMask(mask); if (useArrows) { upArrow = new controls.KeyClickHandler(38); upArrow.setClickHandler(this, speedUp); upArrow.setReleaseHandler(this, restoreSpeed); dnArrow = new controls.KeyClickHandler(40); dnArrow.setClickHandler(this, speedDown); dnArrow.setReleaseHandler(this, restoreSpeed); } } function addItem(item) { if (items.length == 0) { item.render(mc, 0, height, width); } else { var _local4 = se.salomonsson.scrolltext.IScrollTextItem(items[items.length - 1]); var _local2 = _local4.getBounds(); var _local3 = 0; item.render(mc, 0, (_local2.y + _local2.height) + _local3, width); } items.push(item); } function start() { SConsole.addTickListener(this); } function tick() { var _local5 = 0; while (_local5 < items.length) { var _local4 = se.salomonsson.scrolltext.IScrollTextItem(items[_local5]); var _local6 = _local4.getBounds(); var _local2 = _local6.y; _local2 = _local2 - speed; if ((_local2 + _local6.height) < 0) { _local2 = getBottomY(); } _local4.setY(_local2); var _local7 = _local2 / height; var _local3 = 20; _local7 = Math.min(Math.max(_local3, _local2), height - _local3); var _local8 = colorFade.getValue(1 - (_local7 / (height - _local3))); _local4.setColor(_local8); _local5++; } } function getBottomY() { var _local5 = height; var _local2 = 0; while (_local2 < items.length) { var _local3 = items[_local2].getBounds(); var _local4 = _local3.y + _local3.height; if (_local4 > _local5) { _local5 = _local4; } _local2++; } return(_local5); } function stop() { SConsole.removeTickListener(this); } function destroy() { stop(); var _local2 = 0; while (_local2 < items.length) { items[_local2].destroy(); _local2++; } mask.removeMovieClip(); mc.removeMovieClip(); upArrow.destroy(); dnArrow.destroy(); } function speedUp() { speed = originalSpeed * 4; } function speedDown() { speed = 0; } function restoreSpeed() { speed = originalSpeed; } var namespace = new Array("scrolltext", "ScrollText"); }
Symbol 345 MovieClip [__Packages.ui.ColorFade] Frame 0
class ui.ColorFade { var _fromColor, _toColor, _color_diff, _caller, _callback, _tweener, _colorTween; function ColorFade (fromColor, toColor) { _fromColor = hexToRgb(fromColor); _toColor = hexToRgb(toColor); _color_diff = new Object(); _color_diff.r = _fromColor.r - _toColor.r; _color_diff.g = _fromColor.g - _toColor.g; _color_diff.b = _fromColor.b - _toColor.b; } function start(caller, callback, duration) { _caller = caller; _callback = callback; _tweener = new Object(); _tweener.val = 0; _colorTween = new mx.transitions.Tween(_tweener, "val", mx.transitions.easing.None.easeNone, 0, 1, duration, true); _colorTween.onMotionChanged = utils.Proxy.create(this, onChange); } function abort() { _colorTween.stop(); } function onChange() { var _local2 = getValue(_tweener.val); utils.Proxy.create(_caller, _callback, _local2)(); } function getValue(val) { var _local2 = new Object(); _local2.r = _fromColor.r - (_color_diff.r * val); _local2.g = _fromColor.g - (_color_diff.g * val); _local2.b = _fromColor.b - (_color_diff.b * val); var _local4 = rgbToHex(_local2); return(_local4); } function hexToRgb(_col) { var _local1 = new Object(); _local1.r = _col >> 16; _local1.g = (_col & 65280) >> 8; _local1.b = _col & 255; return(_local1); } function rgbToHex(_rgb) { var _local1 = ((_rgb.r << 16) | (_rgb.g << 8)) | _rgb.b; return(_local1); } }
Symbol 346 MovieClip [__Packages.controls.KeyClickHandler] Frame 0
class controls.KeyClickHandler { var keyCode, isDown, callback, releaseCallback; function KeyClickHandler (keyCode) { this.keyCode = keyCode; isDown = false; Key.addListener(this); } function setClickHandler(callObj, callFunc) { callback = utils.Proxy.create(callObj, callFunc); } function setReleaseHandler(callObj, callFunc) { releaseCallback = utils.Proxy.create(callObj, callFunc); } function destroy() { Key.removeListener(this); } function onKeyDown() { if (Key.isDown(keyCode)) { if (!isDown) { isDown = true; if (callback != null) { callback(); } } } } function onKeyUp() { if (isDown) { if (!Key.isDown(keyCode)) { isDown = false; if (releaseCallback != null) { releaseCallback(); } } } } }
Symbol 347 MovieClip [__Packages.se.salomonsson.scrolltext.IScrollTextItem] Frame 0
interface se.salomonsson.scrolltext.IScrollTextItem { }
Symbol 348 MovieClip [__Packages.se.salomonsson.menu.Menu] Frame 0
class se.salomonsson.menu.Menu extends GameBase { var mc, x, y, isActive, items, inputHandlers, selectedItem, marker, mixer, isVisible, dispatchEvent; function Menu (holder, x, y) { super(); mx.events.EventDispatcher.initialize(this); var _local3 = holder.getNextHighestDepth(); mc = holder.createEmptyMovieClip("menu_" + _local3, _local3); this.x = x; this.y = y; isActive = true; items = new Array(); inputHandlers = new Array(); selectedItem = 0; marker = null; mixer = modules.musicmixer.MusicMixer(SConsole.module("musicmixer")); setup(); } function setMenuMarker(marker) { this.marker = marker; } function setup() { var _local4 = new controls.KeyClickHandler(40); var _local2 = new controls.KeyClickHandler(38); var _local3 = new controls.KeyClickHandler(32); var _local5 = new controls.KeyClickHandler(13); _local4.setClickHandler(this, next); _local2.setClickHandler(this, prev); _local3.setClickHandler(this, select); _local5.setClickHandler(this, select); inputHandlers = [_local4, _local2, _local3, _local5]; } function addItem(item) { var _local4 = se.salomonsson.menu.IMenuItem(items[items.length - 1]); if (_local4 == null) { item.render(mc, x, y, true); marker.onMark(item); } else { var _local3 = _local4.getBounds(); item.render(mc, x, _local3.y + _local3.height, false); } item.addEventListener("onSelect", this); items.push(item); } function show() { isVisible = true; mc._visible = false; } function hide() { isVisible = false; mc._visible = false; } function getItemAt(n) { return(items[n]); } function destroy() { var _local2 = 0; while (_local2 < items.length) { items[_local2].destroy(); _local2++; } _local2 = 0; while (_local2 < inputHandlers.length) { inputHandlers[_local2].destroy(); _local2++; } } function next() { if (!isActive) { return(undefined); } if (selectedItem < (items.length - 1)) { markItem(selectedItem + 1); mixer.startFX("nav", 1, 55); } } function prev() { if (!isActive) { return(undefined); } if (selectedItem > 0) { markItem(selectedItem - 1); mixer.startFX("nav", 1, 55); } } function markItem(n) { if (!isActive) { return(undefined); } if (selectedItem == n) { return(undefined); } selectedItem = n; unselectAll(); var _local2 = se.salomonsson.menu.IMenuItem(items[selectedItem]); _local2.mark(); marker.onMark(_local2); } function select() { if (!isActive) { return(undefined); } isActive = false; var _local2 = se.salomonsson.menu.IMenuItem(items[selectedItem]); var _local3 = new se.salomonsson.synchronizer.TaskSequence(); _local3.addParallelTask(marker, marker.onSelection, [_local2]); _local3.addParallelTask(this, hideMenu); _local3.addSequentialTask(_local2, _local2.select); _local3.execute(); if (_local2.getId() == "StartScreen") { mixer.startFX("back", 1, 60); } else { mixer.startFX("selection", 1, 60); } } function unselectAll() { var _local2 = 0; while (_local2 < items.length) { se.salomonsson.menu.IMenuItem(items[_local2]).unmark(); _local2++; } } function hideMenu(ts) { var _local3 = new se.salomonsson.synchronizer.TaskSequence(); var _local2 = 0; while (_local2 < items.length) { _local3.addParallelTask(this, delayCall, [items[_local2], _local2 * 200]); _local2++; } _local3.addSequentialTask(ts, ts.completed); _local3.execute(); } function delayCall(item, delay, ts) { utils.Delay.create(item, item.hide, delay, ts); } function onSelect(evt) { dispatchEvent(evt); } var namespace = new Array("menu", "Menu"); }
Symbol 349 MovieClip [__Packages.se.salomonsson.menu.IMenuMarker] Frame 0
interface se.salomonsson.menu.IMenuMarker { }
Symbol 350 MovieClip [__Packages.se.salomonsson.menu.IMenuItem] Frame 0
interface se.salomonsson.menu.IMenuItem { }
Symbol 351 MovieClip [__Packages.se.salomonsson.synchronizer.Task] Frame 0
class se.salomonsson.synchronizer.Task implements se.salomonsson.synchronizer.ITaskStatus { var namespace, targetObject, targetMethod, targetMethodParameters, done, completionHandler, __get__onCompletion, failureHandler, __get__onFailure, abortionHandler, __get__onAbortion, taskOwner, id; function Task (targetObject, targetMethod, targetMethodParameters) { namespace = new Array("Core", "Synchronizer", "Task"); this.targetObject = targetObject; this.targetMethod = targetMethod; this.targetMethodParameters = targetMethodParameters; done = false; } function set onCompletion(handler) { completionHandler = handler; //return(__get__onCompletion()); } function set onFailure(handler) { failureHandler = handler; //return(__get__onFailure()); } function set onAbortion(handler) { abortionHandler = handler; //return(__get__onAbortion()); } function completed(Void) { if (!done) { done = true; if (taskOwner != undefined) { taskOwner.subTaskCompleted(id); } if (completionHandler != undefined) { completionHandler.apply(undefined); delete completionHandler; } } } function aborted(Void) { if (!done) { done = true; if (taskOwner != undefined) { taskOwner.subTaskAborted(id); } if (abortionHandler != undefined) { abortionHandler.apply(undefined); delete abortionHandler; } } } function failed(Void) { if (!done) { done = true; if ((!taskOwner) != undefined) { taskOwner.subTaskFailed(id); } if (failureHandler != undefined) { failureHandler.apply(undefined); delete failureHandler; } } } function setTaskID(id) { this.id = id; } function setTaskOwner(owner) { taskOwner = owner; } function execute(Void) { if (!done) { try { if (targetMethodParameters == undefined) { targetMethodParameters = new Array(); } targetMethodParameters.push(this); targetMethod.apply(targetObject, targetMethodParameters); } catch(e:Error) { trace("*** Catching error in Task.execute() ***"); failed(); } } } var sequential = true; }
Symbol 352 MovieClip [__Packages.se.salomonsson.synchronizer.TaskSequence] Frame 0
class se.salomonsson.synchronizer.TaskSequence extends se.salomonsson.synchronizer.Task { static var queue, processID; var namespace, waiting, active, totalItems, done, aborted, failed, completed; function TaskSequence () { super(); namespace = new Array("Core", "Synchronizer", "TaskSequence"); waiting = new Array(); active = new Array(); active.items = 0; totalItems = 0; } function addTask(task) { task.setTaskOwner(this); waiting.push(task); totalItems++; } function addSequentialTask(targetObject, targetMethod, targetMethodParameters) { var _local2 = new se.salomonsson.synchronizer.Task(targetObject, targetMethod, targetMethodParameters); _local2.sequential = true; addTask(_local2); } function addParallelTask(targetObject, targetMethod, targetMethodParameters) { var _local2 = new se.salomonsson.synchronizer.Task(targetObject, targetMethod, targetMethodParameters); _local2.sequential = false; addTask(_local2); } function subTaskCompleted(id) { if (active[id] != undefined) { delete active[id]; active.items--; } if (!done) { post(this); } } function subTaskAborted(id) { delete waiting; delete active; aborted(); } function subTaskFailed(id) { delete waiting; delete active; failed(); } function execute(Void) { try { if (!done) { var _local2; var _local4; if ((waiting.length == 0) && (active.items == 0)) { completed(); } else { while (waiting.length > 0) { if ((active.items > 0) && (waiting[0].sequential)) { break; } _local2 = waiting.shift(); var _local3 = ++active.items; _local2.setTaskID(_local3); active[_local3] = _local2; _local2.execute(); } } } } catch(e:Error) { trace("*** Catching error in TaskSequence.execute() ***"); failed(); } } static function post(t) { if (queue == undefined) { queue = new Array(); } queue.push(t); startProcessing(); } static function startProcessing(Void) { if (processID == undefined) { processID = setInterval(process, 10); } } static function stopProcessing(Void) { if (processID != undefined) { clearInterval(processID); processID = undefined; } } static function process(Void) { if (queue.length > 0) { var _local2; var _local3 = queue.length; var _local1 = 0; while (_local1 < _local3) { _local2 = queue.shift(); _local2.execute.apply(_local2); _local1++; } } else { stopProcessing(); } } }
Symbol 353 MovieClip [__Packages.se.salomonsson.menu.MenuItem] Frame 0
class se.salomonsson.menu.MenuItem extends GameBase implements se.salomonsson.menu.IMenuItem { var text, id, type, yMargin, mc, isMarked, height, y, dispatchEvent, t; function MenuItem (text, id, type) { super(); mx.events.EventDispatcher.initialize(this); this.text = text; this.id = id; this.type = type; } function setYMargin(m) { yMargin = m; } function render(holder, x, y, marked) { var _local2 = holder.getNextHighestDepth(); mc = holder.createEmptyMovieClip("menuItem_" + _local2, _local2); mc._x = x; mc._y = y; isMarked = ((mark == undefined) ? false : (marked)); if (type == "extraY") { mc._y = mc._y + 15; } build(); if (isMarked) { mark(); } else { unmark(); } height = mc._height; this.y = mc._y; } function mark() { isMarked = true; mc._alpha = 100; } function unmark() { isMarked = false; mc._alpha = 40; } function select() { dispatchEvent({type:"onSelect", text:text, id:id, target:this}); } function getBounds() { var _local2 = (y + yMargin) + 8; var _local3 = height - 8; return(new flash.geom.Rectangle(mc._x, _local2, mc._width, _local3)); } function show(ts) { mc._visible = true; ts.completed(); } function hide(ts) { var _local3 = [[40, false], [80, true], [120, false], [160, true], [200, false]]; var _local2 = 0; while (_local2 < _local3.length) { utils.Delay.create(this, setVisibility, _local3[_local2][0], _local3[_local2][1]); _local2++; } utils.Delay.create(ts, ts.completed, 210); } function setVisibility(flag) { mc._visible = flag; } function getId() { return(id); } function build() { if (yMargin == null) { yMargin = -13; } t = new ui.Text(mc, 0, 0, true, true, true, "SF Theramin Gothic Condensed", 30, 1098394); t.__get__textFormat().bold = true; t.__set___text(text); } function addEventListener(type, listener) { } function removeEventListener(type, listener) { } var namespace = new Array("menu", "MenuItem"); }
Symbol 354 MovieClip [__Packages.ui.Text] Frame 0
class ui.Text { var mc, tf, fmt; function Text (holder, width, height, singleLine, autoSize, embedded, font, size, color) { var _local2 = holder.getNextHighestDepth(); mc = holder.createEmptyMovieClip("text_" + _local2, _local2); tf = mc.createTextField("tf", 1, 0, 0, width, height); tf.multiline = !singleLine; tf.wordWrap = !singleLine; tf.autoSize = autoSize; tf.embedFonts = embedded; tf.selectable = false; fmt = new TextFormat(); fmt.font = font; fmt.size = size; fmt.color = color; tf.setNewTextFormat(fmt); } function set _text(str) { tf.text = str; //return(_text); } function get _text() { return(tf.text); } function get textFormat() { return(fmt); } function get textField() { return(tf); } function get movieClip() { return(mc); } }
Symbol 355 MovieClip [__Packages.se.salomonsson.menu.MenuMarker] Frame 0
class se.salomonsson.menu.MenuMarker extends GameBase implements se.salomonsson.menu.IMenuMarker { var mc, selectionTask; function MenuMarker (holder) { super(); var _local3 = holder.getNextHighestDepth(); mc = holder.createEmptyMovieClip("menuMarker", _local3); SConsole.addTickListener(this); } function setSelectionX(x) { selectionX = x; } function init(item, fromX, fromY) { var _local2 = item.getBounds(); var _local3 = _local2.height / 2; var _local4 = _local3 - 3; draw(_local4, _local3); var _local6 = _local2.x - _local4; var _local5 = ((_local2.y + _local2.height) - _local3) + 2; mc._x = ((fromX == null) ? (_local6) : (fromX)); mc._y = ((fromY == null) ? (_local5) : (fromY)); onMark(item); } function onMark(newItem) { var _local2 = newItem.getBounds(); var _local3 = _local2.height / 2; var _local4 = _local3 - 3; draw(_local4, _local3); var _local6 = _local2.x - _local4; var _local5 = ((_local2.y + _local2.height) - _local3) + 2; var _local7 = new mx.transitions.Tween(mc, "_x", mx.transitions.easing.Strong.easeOut, mc._x, _local6, 0.2, true); _local7 = new mx.transitions.Tween(mc, "_y", mx.transitions.easing.Strong.easeOut, mc._y, _local5, 0.2, true); } function onSelection(item, ts) { SConsole.removeTickListener(this); mc._visible = true; selectionTask = ts; var _local2 = new mx.transitions.Tween(mc, "_x", mx.transitions.easing.Strong.easeOut, mc._x, selectionX, 0.6, true); _local2.onMotionFinished = utils.Proxy.create(this, onSelectionComplete, ts); } function onSelectionComplete(tweener, ts) { mc._visible = false; ts.completed(); } function destroy() { SConsole.removeTickListener(this); } function draw(w, h) { mc.clear(); ui.Draw.rectangle(mc, {_w:w, _h:h}, 1032858, 100); } function tick() { cnt++; if (cnt > 4) { mc._visible = true; cnt = 0; } else if (cnt > 2) { mc._visible = false; } else { mc._visible = true; } } var namespace = new Array("menu", "MenuMarker"); var cnt = 0; var selectionX = -30; }
Symbol 356 MovieClip [__Packages.se.salomonsson.scrolltext.ScrollTextRow] Frame 0
class se.salomonsson.scrolltext.ScrollTextRow implements se.salomonsson.scrolltext.IScrollTextItem { var data, mc, col; function ScrollTextRow (data, linkageID) { if (linkageID != null) { this.linkageID = linkageID; } this.data = data; } function render(holder, x, y, width) { var _local2 = holder.getNextHighestDepth(); mc = holder.attachMovie(linkageID, "textRow_" + _local2, _local2); mc._x = x; mc._y = y; this.y = y; col = new Color(mc); setData(); } function setData() { mc.text.text = data; } function setY(y) { this.y = y; mc._y = Math.round(this.y); } function setColor(c) { col.setRGB(c); } function getBounds() { return(new flash.geom.Rectangle(mc._x, y, mc._width, mc._height - 5)); } function destroy() { mc.removeMovieClip(); } var linkageID = "hiscore_header"; var y = 0; }
Symbol 357 MovieClip [__Packages.se.salomonsson.scrolltext.ScrollTextSpace] Frame 0
class se.salomonsson.scrolltext.ScrollTextSpace extends se.salomonsson.scrolltext.ScrollTextRow { var height, mc, y, col; function ScrollTextSpace (height) { super(); this.height = height; } function setData() { ui.Draw.rectangle(mc, {_w:5, _h:height}, 16711680, 0); } function render(holder, x, y, width) { var _local2 = holder.getNextHighestDepth(); mc = holder.createEmptyMovieClip("space_" + _local2, _local2); this.y = y; mc._x = x; mc._y = y; col = new Color(mc); setData(); } }
Symbol 358 MovieClip [__Packages.screens.BaseMenuScreen] Frame 0
class screens.BaseMenuScreen extends modules.screens.BaseScreen { var holder, screen_mc, outroTask, menu, isActive, introTask; function BaseMenuScreen () { super(); } function load(mc, loadTask) { holder = mc; loadTask.completed(); } function intro(introTask) { var _local2 = holder.getNextHighestDepth(); screen_mc = holder.createEmptyMovieClip("screen", _local2); build(); screen_mc._x = fromX; var _local3 = new mx.transitions.Tween(screen_mc, "_x", mx.transitions.easing.Strong.easeOut, fromX, 0, 0.5, true); _local3.onMotionFinished = utils.Proxy.create(this, activate); } function outro(outroTask) { this.outroTask = outroTask; var _local2 = new mx.transitions.Tween(screen_mc, "_x", mx.transitions.easing.Strong.easeOut, 0, fromX, 0.5, true); _local2.onMotionFinished = utils.Proxy.create(this, inactivate); } function inactivate() { menu.removeEventListener("onSelect", this); menu.destroy(); screen_mc.removeMovieClip(); outroTask.completed(); } function activate() { isActive = true; introTask.completed(); } function build() { menu = new se.salomonsson.menu.Menu(screen_mc, 70, 165); menu.addItem(new se.salomonsson.menu.MenuItem("back", "StartScreen")); menu.addEventListener("onSelect", this); var _local2 = new se.salomonsson.menu.MenuMarker(screen_mc); _local2.init(menu.getItemAt(0)); _local2.setSelectionX(510); menu.setMenuMarker(_local2); } function onSelect(evt) { var _local2 = evt.id; if (_local2.indexOf("http") != -1) { getURL (_local2, "_blank"); navigate("StartScreen"); return(undefined); } navigate(evt.id); } function navigate(id) { if (!isActive) { return(undefined); } isActive = false; SConsole.module("screenManager").openScreen(id); } var namespace = new Array("screens", "BaseMenuScreen"); var fromX = 500; }
Symbol 359 MovieClip [__Packages.screens.HiscoreScreen] Frame 0
class screens.HiscoreScreen extends screens.BaseMenuScreen { var manager, screen_mc, hiscore1; function HiscoreScreen () { super(); manager = modules.persistant.Cookie(SConsole.module("cookie")); } function build() { super.build(); buildHiscore(); var _local3 = new ui.Text(screen_mc, 270, 0, false, true, true, "SF Theramin Gothic Condensed", 14, 412989); _local3.__get__textFormat().leading = -6; _local3.__get__textField().setNewTextFormat(_local3.__get__textFormat()); _local3.__set___text("TIP: Control scroll speed with arrows UP/DOWN"); _local3.__get__movieClip()._x = 225; _local3.__get__movieClip()._y = 273; } function buildHiscore() { hiscore1 = new se.salomonsson.scrolltext.ScrollText(screen_mc, 170, 80, 300, 150, 2823, 11468743, 1, true); addLevelItems(hiscore1, "Your.Top.Scores East.Exit.Altai", "l1.xml"); addLevelItems(hiscore1, "Your.Top.Scores Taymyr.Industrial", "l2.xml"); addLevelItems(hiscore1, "Your.Top.Scores The.Gysi.Express", "l3.xml"); hiscore1.addItem(new se.salomonsson.scrolltext.ScrollTextSpace(40)); hiscore1.start(); } function addLevelItems(scrolltext, header, levelKey) { scrolltext.addItem(new se.salomonsson.scrolltext.ScrollTextRow(header)); var _local3 = getHiscore(levelKey); var _local2 = 0; while (_local2 < _local3.length) { var _local4 = ((_local2 + 1) + ". ") + _local3[_local2].name; scrolltext.addItem(new se.salomonsson.scrolltext.ScrollTextScore([_local4, _local3[_local2].score, _local3[_local2].date])); _local2++; } scrolltext.addItem(new se.salomonsson.scrolltext.ScrollTextSpace(20)); } function getHiscore(key) { var _local2 = manager.read(key); if ((_local2.length == 0) || (_local2 == undefined)) { se.salomonsson.grav.Highscore.setDefaultScores(key); _local2 = manager.read(key); } var _local4 = _local2.slice(); return(_local4); } function inactivate() { hiscore1.destroy(); super.inactivate(); } var namespace = new Array("screens", "HiscoreScreen"); }
Symbol 360 MovieClip [__Packages.se.salomonsson.scrolltext.ScrollTextScore] Frame 0
class se.salomonsson.scrolltext.ScrollTextScore extends se.salomonsson.scrolltext.ScrollTextRow { var data, mc; function ScrollTextScore (data, linkageID) { super(); if (linkageID != null) { this.linkageID = linkageID; } this.data = data; } function setData() { mc.name.htmlText = data[0]; mc.dots.text = data[2] + " .........................................."; mc.score.text = data[1]; } var linkageID = "hiscore_score"; }
Symbol 361 MovieClip [__Packages.se.salomonsson.grav.Highscore] Frame 0
class se.salomonsson.grav.Highscore extends GameBase { static var instance; var manager, sTrace; function Highscore () { super(); manager = modules.persistant.Cookie(SConsole.module("cookie")); } static function saveHighscore(name, score, levelKey) { if (instance == null) { instance = new se.salomonsson.grav.Highscore(); } if (levelKey == null) { levelKey = "l1.xml"; } instance.submit(name, score, levelKey); } static function isHighscore(score, levelKey) { if (instance == null) { instance = new se.salomonsson.grav.Highscore(); } if (instance.checkHighscore(score, levelKey)) { return(true); } return(false); } static function setDefaultScores(key) { if (instance == null) { instance = new se.salomonsson.grav.Highscore(); } instance.saveDefaultScores(key); } function saveDefaultScores(key) { var _local2 = defaultScores; _local2.sort(sortEntries); _local2 = _local2.slice(0, MAX_ENTRIES); manager.write(key, _local2); } function checkHighscore(score, levelKey) { var _local2 = manager.read(levelKey); if (_local2 == null) { _local2 = defaultScores; } if (_local2.length < MAX_ENTRIES) { return(true); } if (_local2[MAX_ENTRIES - 1].score < score) { return(true); } return(false); } function submit(name, score, levelKey) { var _local2 = manager.read(levelKey); if (_local2 == null) { _local2 = defaultScores.slice(); } sTrace((("SUBMITTING HISCORE! date=" + _local2[0].date) + " with key = ") + levelKey); if ((name == undefined) || (name == "")) { name = "YOU"; } var _local6 = formatDate(); var _local4 = {name:name, score:score, date:_local6}; _local2.push(_local4); _local2.sort(sortEntries); _local2 = _local2.slice(0, MAX_ENTRIES); manager.write(levelKey, _local2); } function sortEntries(a, b) { var _local2 = Number(a.score); var _local1 = Number(b.score); if (_local2 > _local1) { return(-1); } return(1); } function formatDate() { var _local1 = new Date(); var _local4 = _local1.getFullYear(); var _local2 = _local1.getDate(); var _local3 = _local1.getMonth() + 1; return((((_local4 + "-") + _local3) + "-") + _local2); } var namespace = new Array("grav", "Highscore"); var MAX_ENTRIES = 5; var defaultScores = [{name:"SAL", score:"500", date:"2007-11-18"}, {name:"TSA", score:"498", date:"2007-11-18"}, {name:"SIM", score:"400", date:"2007-11-18"}, {name:"STA", score:"399", date:"2007-11-18"}, {name:"AND", score:"340", date:"2007-11-18"}, {name:"LAG", score:"339", date:"2007-11-18"}, {name:"AKG", score:"294", date:"2007-11-18"}, {name:"OLA", score:"292", date:"2007-11-18"}, {name:"REG", score:"190", date:"2007-11-18"}, {name:"BOE", score:"189", date:"2007-11-18"}]; }
Symbol 362 MovieClip [__Packages.screens.CreditsScreen] Frame 0
class screens.CreditsScreen extends screens.BaseMenuScreen { var texts, menu, screen_mc; function CreditsScreen () { super(); texts = new Array(); } function build() { menu = new se.salomonsson.menu.Menu(screen_mc, 0, 0); var _local6 = new se.salomonsson.menu.PositionedMenuItem("Tommy Salomonsson", "http://www.salomonsson.se", 70, 95); var _local5 = new se.salomonsson.menu.PositionedMenuItem("Simon St\u00E5lenhag", "http://www.simonstalenhag.se", 70, 142); var _local4 = new se.salomonsson.menu.PositionedMenuItem("Andreas Lagergren", "http://www.nicedog.se", 70, 189); var _local3 = new se.salomonsson.menu.PositionedMenuItem("back", "StartScreen", 70, 223); menu.addItem(_local6); menu.addItem(_local5); menu.addItem(_local4); menu.addItem(_local3); menu.addEventListener("onSelect", this); var _local2 = new se.salomonsson.menu.MenuMarker(screen_mc); _local2.init(menu.getItemAt(0)); _local2.setSelectionX(510); menu.setMenuMarker(_local2); addText("Code and Game Construction", 70, 80); addText("Art and Music", 70, 129); addText("Video Intro", 70, 176); addText("salomonsson.se", 275, 101); addText("simonstalenhag.se", 275, 147); addText("nicedog.se", 275, 195); } function addText(s, x, y) { var _local2 = new ui.Text(screen_mc, 0, 0, true, true, true, "SF Theramin Gothic Condensed", 18, 1098394); _local2.__get__movieClip()._x = x; _local2.__get__movieClip()._y = y; _local2.__set___text(s); texts.push(_local2); } function inactivate() { menu.destroy(); super.inactivate(); } var namespace = new Array("screens", "CreditsScreen"); }
Symbol 363 MovieClip [__Packages.se.salomonsson.menu.PositionedMenuItem] Frame 0
class se.salomonsson.menu.PositionedMenuItem extends se.salomonsson.menu.MenuItem { var x, y, t, text, height, mc, yMargin; function PositionedMenuItem (text, id, x, y) { super(text, id); this.x = x; this.y = y; } function render(holder, x_dontuse, y_dontuse, marked) { super.render(holder, x, y, marked); t.__get__textFormat().bold = false; t.__get__textFormat().size = 24; t.__set___text(text); height = mc._height + 8; y = y - 6; } function build() { if (yMargin == null) { yMargin = -13; } t = new ui.Text(mc, 0, 0, true, true, true, "SF Theramin Gothic Condensed", 24, 1098394); t.__set___text(text); } }
Symbol 364 MovieClip [__Packages.screens.InstructionScreen] Frame 0
class screens.InstructionScreen extends screens.BaseMenuScreen { var instructions, screen_mc; function InstructionScreen () { super(); } function build() { super.build(); instructions = new se.salomonsson.scrolltext.ScrollText(screen_mc, 140, 80, 400, 150, 2823, 11468743, 0.5, true); var _local6 = "INSTRUCTIONS\u00A4To navigate through the Siberia Underground\u00A4you need to watch out for the tricky gravity.\u00A4Press SPACE BAR to add thrust to your\u00A4vehicle and release it before hitting the\u00A4roof. Thats really all you need to do...\u00A4sounds easy? Remember to watch out for\u00A4obstacles in the way!\u00A4Good luck!"; var _local4 = _local6.split("\u00A4"); var _local3 = 0; while (_local3 < _local4.length) { instructions.addItem(new se.salomonsson.scrolltext.ScrollTextRow(_local4[_local3])); _local3++; } instructions.addItem(new se.salomonsson.scrolltext.ScrollTextSpace(140)); instructions.start(); var _local5 = new ui.Text(screen_mc, 270, 0, false, true, true, "SF Theramin Gothic Condensed", 14, 412989); _local5.__get__textFormat().leading = -6; _local5.__get__textField().setNewTextFormat(_local5.__get__textFormat()); _local5.__set___text("TIP: Control scroll speed with arrows UP/DOWN"); _local5.__get__movieClip()._x = 225; _local5.__get__movieClip()._y = 273; } function inactivate() { instructions.destroy(); super.inactivate(); } var namespace = new Array("screens", "InstructionScreen"); }
Symbol 365 MovieClip [__Packages.screens.LevelScreen] Frame 0
class screens.LevelScreen extends screens.BaseMenuScreen { var menu, screen_mc, isActive, sTrace; function LevelScreen () { super(); } function CreditsScreen() { super(); } function build() { menu = new se.salomonsson.menu.Menu(screen_mc, 70, 80); var _local6 = new se.salomonsson.menu.MenuItem("East.Exit.Altai", "l1.xml"); var _local5 = new se.salomonsson.menu.MenuItem("Taymyr.Industrial", "l2.xml"); var _local3 = new se.salomonsson.menu.MenuItem("The.Gysi.Express", "l3.xml"); menu.addItem(_local6); menu.addItem(_local5); menu.addItem(_local3); menu.addItem(new se.salomonsson.menu.MenuItem("back", "StartScreen", "extraY")); menu.addEventListener("onSelect", this); var _local7 = new se.salomonsson.menu.MenuMarker(screen_mc); _local7.init(menu.getItemAt(0)); _local7.setSelectionX(510); menu.setMenuMarker(_local7); var _local4 = new ui.Text(screen_mc, 0, 0, true, true, true, "SF Theramin Gothic Condensed", 20, 534818); _local4.__set___text("Easy"); _local4.__get__movieClip()._x = _local6.getBounds().right + 10; _local4.__get__movieClip()._y = _local6.getBounds().y + 15; var _local2 = new ui.Text(screen_mc, 0, 0, true, true, true, "SF Theramin Gothic Condensed", 20, 534818); _local2.__set___text("Medium"); _local2.__get__movieClip()._x = _local5.getBounds().right + 10; _local2.__get__movieClip()._y = _local5.getBounds().y + 15; var _local8 = new ui.Text(screen_mc, 0, 0, true, true, true, "SF Theramin Gothic Condensed", 20, 534818); _local8.__set___text("Hard"); _local8.__get__movieClip()._x = _local3.getBounds().right + 10; _local8.__get__movieClip()._y = _local3.getBounds().y + 15; } function navigate(id) { if (!isActive) { return(undefined); } isActive = false; sTrace("Leveldata loaded successfully: " + se.salomonsson.data.LevelParser.success); if (!se.salomonsson.data.LevelParser.success) { SConsole.module("screenManager").openScreen("Error"); return(undefined); } if (id.indexOf(".xml") != -1) { SConsole.session.addValue("level", id); SConsole.module("screenManager").openScreen("Game"); } else { SConsole.module("screenManager").openScreen(id); } } var namespace = new Array("screens", "LevelScreen"); var fromX = -500; }
Symbol 366 MovieClip [__Packages.se.salomonsson.data.LevelParser] Frame 0
class se.salomonsson.data.LevelParser extends GameBase { var src, taskStatus, sTrace; function LevelParser () { super(); levelData = new Object(); } function get data() { return(levelData); } function get key() { return(src); } function parseData(src, taskStatus) { generateLevel(src, taskStatus); } function generateLevel(src, taskStatus) { this.src = src; this.taskStatus = taskStatus; switch (this.src) { case "l1.xml" : onDataSet(LevelData.level1); break; case "l2.xml" : onDataSet(LevelData.level2); break; case "l3.xml" : onDataSet(LevelData.level3); } } function onDataSet(ds) { if (ds == null) { levelData = null; success = false; taskStatus.completed(); return(undefined); } var _local9 = new Array(); var _local10 = new Array(); var _local8 = new se.salomonsson.collections.ObjectArray(); var _local14 = new se.salomonsson.collections.ObjectArray(); var _local13 = new se.salomonsson.collections.ObjectArray(); var _local12 = new se.salomonsson.collections.ObjectArray(); var _local11 = new se.salomonsson.collections.ObjectArray(); var _local15 = new se.salomonsson.collections.ObjectArray(); parseNode(_local14, ds.data.texts[0].text); parseNode(_local13, ds.data.speeds[0].speed); parseNode(_local12, ds.data.gravitys[0].gravity); parseNode(_local15, ds.data.tiles[0].tile); var _local3 = 0; while (_local3 < ds.data.walls[0].x.length) { _local9.push(Number(ds.data.walls[0].x[_local3].up)); _local10.push(Number(ds.data.walls[0].x[_local3].dn)); _local3++; } _local3 = 0; while (_local3 < ds.data.enemies[0].enemy.length) { var _local5 = ds.data.enemies[0].enemy[_local3].x; var _local6 = ds.data.enemies[0].enemy[_local3].y; var _local7 = ds.data.enemies[0].enemy[_local3].type; var _local4 = _local8.getValue(String(_local5)); if (_local4 == null) { _local4 = new Array(); } _local4.push(new se.salomonsson.grav.Enemy(_local5, _local6, _local7)); _local8.addValue(String(_local5), _local4); _local3++; } _local11.addValue("splitNum", Number(ds.data.data[0].splitNum[0].value)); _local11.addValue("gameOverText", ds.data.data[0].gameovertext[0].value); levelData = new Object(); levelData.up = _local9; levelData.dn = _local10; levelData.en = _local8; levelData.texts = _local14; levelData.speeds = _local13; levelData.gravitys = _local12; levelData.data = _local11; levelData.src = src; levelData.tiles = _local15; sTrace("**LevelParser.parseCompleted**"); taskStatus.completed(); } function parseNode(objArray, node) { var _local1 = 0; while (_local1 < node.length) { objArray.addValue(node[_local1].x, node[_local1].value); _local1++; } } var namespace = new Array("data", "LevelParser"); var levelData = null; static var success = true; }
Symbol 367 MovieClip [__Packages.LevelData] Frame 0
class LevelData { function LevelData () { } ////([{splitnum:[{value:"40"}], gameovertext:[{value:"Ouch... Practice makes perfect?"}]}]);// not popped //([{text:[{value:"Approaching Taymyr Industrial. Get ready!", x:"617"}, {value:"Wow, you completed the first course!", x:"604"}, {value:"You have done really well so far!", x:"453"}, {value:"Aah, look... Droids! How cute!", x:"272"}, {value:"Avoid crashing into them... ", x:"84"}, {value:"East Altai is known for it's cubic buildings", x:"67"}, {value:"Beware of falling spikes!", x:"163"}, {value:"Hold SPACE BAR to add thrust", x:"0"}, {value:"Spikes again, and droids! Keep low!", x:"340"}, {value:"East Altai is one of the easier routes of Siberia...", x:"31"}, {value:"Now it's getting a bit narrow, keep your head cool", x:"118"}, {value:"Althouhg, nothing is really EASY in Siberia..", x:"47"}, {value:"Cubic inferno", x:"486"}]}]);// not popped //([{speed:[{value:"6", x:"0"}]}]);// not popped //([{gravity:[{value:"0.2", x:"0"}]}]);// not popped //([{x:[{dn:"247", up:"42"}, {dn:"252", up:"44"}, {dn:"251", up:"48"}, {dn:"251", up:"41"}, {dn:"246", up:"41"}, {dn:"246", up:"40"}, {dn:"258", up:"35"}, {dn:"258", up:"37"}, {dn:"241", up:"58"}, {dn:"245", up:"45"}, {dn:"243", up:"43"}, {dn:"237", up:"50"}, {dn:"253", up:"47"}, {dn:"253", up:"47"}, {dn:"241", up:"50"}, {dn:"213", up:"89"}, {dn:"247", up:"55"}, {dn:"247", up:"48"}, {dn:"232", up:"55"}, {dn:"233", up:"60"}, {dn:"233", up:"59"}, {dn:"248", up:"48"}, {dn:"248", up:"48"}, {dn:"203", up:"78"}, {dn:"236", up:"55"}, {dn:"217", up:"50"}, {dn:"215", up:"43"}, {dn:"232", up:"57"}, {dn:"232", up:"59"}, {dn:"270", up:"53"}, {dn:"270", up:"54"}, {dn:"280", up:"39"}, {dn:"282", up:"22"}, {dn:"282", up:"21"}, {dn:"279", up:"36"}, {dn:"259", up:"57"}, {dn:"269", up:"63"}, {dn:"248", up:"64"}, {dn:"231", up:"49"}, {dn:"241", up:"30"}, {dn:"241", up:"45"}, {dn:"259", up:"31"}, {dn:"249", up:"31"}, {dn:"218", up:"59"}, {dn:"246", up:"57"}, {dn:"256", up:"39"}, {dn:"230", up:"46"}, {dn:"248", up:"75"}, {dn:"241", up:"75"}, {dn:"267", up:"72"}, {dn:"238", up:"60"}, {dn:"266", up:"42"}, {dn:"245", up:"63"}, {dn:"265", up:"51"}, {dn:"284", up:"130"}, {dn:"283", up:"124"}, {dn:"275", up:"65"}, {dn:"264", up:"23"}, {dn:"246", up:"14"}, {dn:"290", up:"11"}, {dn:"292", up:"11"}, {dn:"294", up:"11"}, {dn:"293", up:"11"}, {dn:"292", up:"13"}, {dn:"283", up:"22"}, {dn:"267", up:"50"}, {dn:"255", up:"125"}, {dn:"263", up:"84"}, {dn:"277", up:"43"}, {dn:"262", up:"25"}, {dn:"282", up:"16"}, {dn:"283", up:"13"}, {dn:"282", up:"13"}, {dn:"281", up:"12"}, {dn:"281", up:"13"}, {dn:"281", up:"15"}, {dn:"280", up:"20"}, {dn:"273", up:"33"}, {dn:"260", up:"82"}, {dn:"253", up:"109"}, {dn:"266", up:"87"}, {dn:"275", up:"55"}, {dn:"277", up:"44"}, {dn:"277", up:"45"}, {dn:"273", up:"49"}, {dn:"270", up:"60"}, {dn:"261", up:"79"}, {dn:"240", up:"121"}, {dn:"206", up:"127"}, {dn:"237", up:"93"}, {dn:"255", up:"88"}, {dn:"261", up:"91"}, {dn:"259", up:"107"}, {dn:"241", up:"115"}, {dn:"223", up:"98"}, {dn:"221", up:"78"}, {dn:"242", up:"69"}, {dn:"246", up:"65"}, {dn:"243", up:"62"}, {dn:"239", up:"61"}, {dn:"233", up:"65"}, {dn:"225", up:"75"}, {dn:"212", up:"80"}, {dn:"210", up:"79"}, {dn:"243", up:"52"}, {dn:"269", up:"31"}, {dn:"271", up:"31"}, {dn:"258", up:"41"}, {dn:"222", up:"110"}, {dn:"280", up:"16"}, {dn:"280", up:"16"}, {dn:"280", up:"16"}, {dn:"280", up:"16"}, {dn:"280", up:"16"}, {dn:"280", up:"16"}, {dn:"280", up:"16"}, {dn:"280", up:"16"}, {dn:"280", up:"16"}, {dn:"280", up:"16"}, {dn:"280", up:"16"}, {dn:"280", up:"16"}, {dn:"280", up:"16"}, {dn:"280", up:"16"}, {dn:"280", up:"20"}, {dn:"204", up:"92"}, {dn:"204", up:"92"}, {dn:"204", up:"92"}, {dn:"204", up:"92"}, {dn:"195", up:"58"}, {dn:"235", up:"70"}, {dn:"196", up:"88"}, {dn:"254", up:"60"}, {dn:"205", up:"100"}, {dn:"206", up:"100"}, {dn:"243", up:"87"}, {dn:"200", up:"65"}, {dn:"248", up:"74"}, {dn:"231", up:"100"}, {dn:"231", up:"98"}, {dn:"194", up:"84"}, {dn:"193", up:"83"}, {dn:"195", up:"82"}, {dn:"197", up:"81"}, {dn:"190", up:"87"}, {dn:"165", up:"93"}, {dn:"182", up:"105"}, {dn:"175", up:"108"}, {dn:"175", up:"101"}, {dn:"197", up:"112"}, {dn:"181", up:"109"}, {dn:"181", up:"107"}, {dn:"185", up:"101"}, {dn:"189", up:"101"}, {dn:"189", up:"108"}, {dn:"190", up:"102"}, {dn:"176", up:"104"}, {dn:"195", up:"104"}, {dn:"211", up:"129"}, {dn:"199", up:"134"}, {dn:"189", up:"121"}, {dn:"190", up:"111"}, {dn:"192", up:"119"}, {dn:"196", up:"119"}, {dn:"181", up:"119"}, {dn:"191", up:"116"}, {dn:"205", up:"128"}, {dn:"221", up:"146"}, {dn:"215", up:"142"}, {dn:"241", up:"155"}, {dn:"248", up:"173"}, {dn:"247", up:"172"}, {dn:"260", up:"172"}, {dn:"253", up:"172"}, {dn:"241", up:"171"}, {dn:"241", up:"159"}, {dn:"219", up:"142"}, {dn:"224", up:"147"}, {dn:"213", up:"128"}, {dn:"194", up:"103"}, {dn:"268", up:"95"}, {dn:"283", up:"94"}, {dn:"281", up:"68"}, {dn:"274", up:"64"}, {dn:"273", up:"51"}, {dn:"277", up:"43"}, {dn:"276", up:"42"}, {dn:"277", up:"43"}, {dn:"284", up:"84"}, {dn:"291", up:"100"}, {dn:"291", up:"103"}, {dn:"289", up:"95"}, {dn:"283", up:"86"}, {dn:"290", up:"59"}, {dn:"263", up:"37"}, {dn:"186", up:"24"}, {dn:"139", up:"20"}, {dn:"127", up:"20"}, {dn:"127", up:"20"}, {dn:"131", up:"20"}, {dn:"147", up:"20"}, {dn:"270", up:"20"}, {dn:"269", up:"20"}, {dn:"270", up:"20"}, {dn:"270", up:"20"}, {dn:"271", up:"21"}, {dn:"270", up:"31"}, {dn:"270", up:"81"}, {dn:"271", up:"161"}, {dn:"267", up:"178"}, {dn:"259", up:"175"}, {dn:"259", up:"171"}, {dn:"275", up:"179"}, {dn:"271", up:"159"}, {dn:"273", up:"166"}, {dn:"265", up:"167"}, {dn:"262", up:"169"}, {dn:"259", up:"176"}, {dn:"252", up:"176"}, {dn:"249", up:"171"}, {dn:"249", up:"165"}, {dn:"248", up:"149"}, {dn:"267", up:"22"}, {dn:"271", up:"24"}, {dn:"217", up:"98"}, {dn:"272", up:"30"}, {dn:"273", up:"29"}, {dn:"266", up:"173"}, {dn:"269", up:"29"}, {dn:"263", up:"27"}, {dn:"257", up:"31"}, {dn:"182", up:"68"}, {dn:"260", up:"38"}, {dn:"241", up:"38"}, {dn:"249", up:"146"}, {dn:"242", up:"77"}, {dn:"242", up:"47"}, {dn:"226", up:"53"}, {dn:"226", up:"89"}, {dn:"199", up:"117"}, {dn:"200", up:"120"}, {dn:"203", up:"123"}, {dn:"195", up:"122"}, {dn:"203", up:"120"}, {dn:"204", up:"117"}, {dn:"203", up:"116"}, {dn:"207", up:"117"}, {dn:"207", up:"117"}, {dn:"209", up:"118"}, {dn:"209", up:"118"}, {dn:"209", up:"118"}, {dn:"254", up:"79"}, {dn:"254", up:"79"}, {dn:"254", up:"79"}, {dn:"254", up:"79"}, {dn:"254", up:"79"}, {dn:"254", up:"79"}, {dn:"254", up:"79"}, {dn:"209", up:"124"}, {dn:"209", up:"124"}, {dn:"209", up:"124"}, {dn:"209", up:"82"}, {dn:"168", up:"39"}, {dn:"151", up:"39"}, {dn:"151", up:"39"}, {dn:"151", up:"20"}, {dn:"151", up:"20"}, {dn:"151", up:"20"}, {dn:"151", up:"20"}, {dn:"150", up:"40"}, {dn:"162", up:"40"}, {dn:"206", up:"40"}, {dn:"223", up:"120"}, {dn:"238", up:"132"}, {dn:"267", up:"120"}, {dn:"267", up:"120"}, {dn:"267", up:"120"}, {dn:"267", up:"120"}, {dn:"267", up:"120"}, {dn:"251", up:"138"}, {dn:"251", up:"138"}, {dn:"270", up:"117"}, {dn:"240", up:"71"}, {dn:"254", up:"89"}, {dn:"240", up:"28"}, {dn:"259", up:"32"}, {dn:"226", up:"28"}, {dn:"254", up:"57"}, {dn:"185", up:"23"}, {dn:"231", up:"28"}, {dn:"214", up:"39"}, {dn:"170", up:"66"}, {dn:"238", up:"62"}, {dn:"261", up:"80"}, {dn:"233", up:"75"}, {dn:"260", up:"51"}, {dn:"253", up:"56"}, {dn:"211", up:"34"}, {dn:"257", up:"46"}, {dn:"234", up:"39"}, {dn:"219", up:"100"}, {dn:"240", up:"48"}, {dn:"228", up:"65"}, {dn:"258", up:"65"}, {dn:"218", up:"121"}, {dn:"246", up:"53"}, {dn:"219", up:"25"}, {dn:"252", up:"73"}, {dn:"213", up:"99"}, {dn:"250", up:"76"}, {dn:"235", up:"33"}, {dn:"248", up:"71"}, {dn:"184", up:"69"}, {dn:"151", up:"24"}, {dn:"133", up:"39"}, {dn:"133", up:"32"}, {dn:"170", up:"39"}, {dn:"145", up:"20"}, {dn:"158", up:"20"}, {dn:"133", up:"37"}, {dn:"159", up:"65"}, {dn:"149", up:"48"}, {dn:"196", up:"89"}, {dn:"217", up:"63"}, {dn:"244", up:"104"}, {dn:"240", up:"111"}, {dn:"264", up:"163"}, {dn:"279", up:"112"}, {dn:"279", up:"88"}, {dn:"238", up:"105"}, {dn:"279", up:"161"}, {dn:"279", up:"158"}, {dn:"234", up:"100"}, {dn:"265", up:"78"}, {dn:"184", up:"84"}, {dn:"162", up:"52"}, {dn:"178", up:"53"}, {dn:"146", up:"89"}, {dn:"152", up:"77"}, {dn:"136", up:"61"}, {dn:"135", up:"70"}, {dn:"135", up:"58"}, {dn:"280", up:"56"}, {dn:"242", up:"85"}, {dn:"241", up:"79"}, {dn:"168", up:"79"}, {dn:"246", up:"79"}, {dn:"265", up:"55"}, {dn:"234", up:"55"}, {dn:"235", up:"73"}, {dn:"261", up:"69"}, {dn:"261", up:"82"}, {dn:"235", up:"78"}, {dn:"239", up:"54"}, {dn:"225", up:"54"}, {dn:"225", up:"85"}, {dn:"246", up:"85"}, {dn:"255", up:"41"}, {dn:"247", up:"35"}, {dn:"278", up:"35"}, {dn:"273", up:"48"}, {dn:"272", up:"46"}, {dn:"276", up:"46"}, {dn:"276", up:"43"}, {dn:"257", up:"77"}, {dn:"271", up:"62"}, {dn:"276", up:"54"}, {dn:"249", up:"48"}, {dn:"271", up:"74"}, {dn:"271", up:"62"}, {dn:"269", up:"47"}, {dn:"273", up:"38"}, {dn:"275", up:"53"}, {dn:"265", up:"72"}, {dn:"280", up:"44"}, {dn:"264", up:"67"}, {dn:"276", up:"39"}, {dn:"276", up:"47"}, {dn:"276", up:"45"}, {dn:"269", up:"45"}, {dn:"252", up:"73"}, {dn:"269", up:"48"}, {dn:"266", up:"32"}, {dn:"250", up:"16"}, {dn:"271", up:"15"}, {dn:"268", up:"12"}, {dn:"280", up:"20"}, {dn:"280", up:"44"}, {dn:"280", up:"31"}, {dn:"262", up:"27"}, {dn:"242", up:"27"}, {dn:"232", up:"27"}, {dn:"176", up:"23"}, {dn:"183", up:"58"}, {dn:"191", up:"76"}, {dn:"188", up:"77"}, {dn:"188", up:"77"}, {dn:"275", up:"20"}, {dn:"275", up:"20"}, {dn:"275", up:"20"}, {dn:"275", up:"20"}, {dn:"275", up:"20"}, {dn:"275", up:"20"}, {dn:"275", up:"20"}, {dn:"275", up:"20"}, {dn:"275", up:"20"}, {dn:"275", up:"20"}, {dn:"275", up:"20"}, {dn:"275", up:"20"}, {dn:"275", up:"20"}, {dn:"275", up:"20"}, {dn:"280", up:"20"}, {dn:"280", up:"20"}, {dn:"280", up:"20"}, {dn:"280", up:"20"}, {dn:"280", up:"20"}, {dn:"280", up:"20"}, {dn:"280", up:"20"}, {dn:"280", up:"20"}, {dn:"280", up:"20"}, {dn:"280", up:"20"}, {dn:"280", up:"20"}, {dn:"280", up:"20"}, {dn:"280", up:"20"}, {dn:"280", up:"20"}, {dn:"268", up:"27"}, {dn:"241", up:"51"}, {dn:"188", up:"113"}, {dn:"187", up:"112"}, {dn:"280", up:"20"}, {dn:"280", up:"20"}, {dn:"280", up:"20"}, {dn:"280", up:"20"}, {dn:"280", up:"20"}, {dn:"280", up:"20"}, {dn:"280", up:"20"}, {dn:"280", up:"20"}, {dn:"280", up:"20"}, {dn:"280", up:"20"}, {dn:"280", up:"20"}, {dn:"280", up:"20"}, {dn:"280", up:"20"}, {dn:"280", up:"20"}, {dn:"280", up:"20"}, {dn:"280", up:"20"}, {dn:"280", up:"20"}, {dn:"280", up:"20"}, {dn:"280", up:"20"}, {dn:"280", up:"20"}, {dn:"280", up:"20"}, {dn:"280", up:"20"}, {dn:"280", up:"20"}, {dn:"280", up:"20"}, {dn:"280", up:"20"}, {dn:"280", up:"20"}, {dn:"280", up:"20"}, {dn:"280", up:"20"}, {dn:"280", up:"20"}, {dn:"280", up:"20"}, {dn:"280", up:"20"}, {dn:"272", up:"52"}, {dn:"267", up:"95"}, {dn:"280", up:"115"}, {dn:"280", up:"121"}, {dn:"267", up:"120"}, {dn:"245", up:"104"}, {dn:"216", up:"49"}, {dn:"146", up:"20"}, {dn:"126", up:"20"}, {dn:"143", up:"47"}, {dn:"280", up:"74"}, {dn:"280", up:"73"}, {dn:"280", up:"20"}, {dn:"280", up:"20"}, {dn:"280", up:"20"}, {dn:"280", up:"20"}, {dn:"280", up:"20"}, {dn:"280", up:"20"}, {dn:"280", up:"20"}, {dn:"280", up:"20"}, {dn:"280", up:"20"}, {dn:"280", up:"20"}, {dn:"280", up:"20"}, {dn:"280", up:"20"}, {dn:"280", up:"20"}, {dn:"280", up:"20"}, {dn:"209", up:"77"}, {dn:"209", up:"108"}, {dn:"209", up:"107"}, {dn:"191", up:"90"}, {dn:"162", up:"65"}, {dn:"134", up:"35"}, {dn:"109", up:"23"}, {dn:"112", up:"22"}, {dn:"155", up:"43"}, {dn:"203", up:"66"}, {dn:"205", up:"89"}, {dn:"205", up:"112"}, {dn:"281", up:"17"}, {dn:"281", up:"16"}, {dn:"282", up:"15"}, {dn:"282", up:"15"}, {dn:"280", up:"15"}, {dn:"282", up:"17"}, {dn:"282", up:"18"}, {dn:"282", up:"15"}, {dn:"280", up:"16"}, {dn:"280", up:"15"}, {dn:"280", up:"14"}, {dn:"280", up:"14"}, {dn:"280", up:"16"}, {dn:"280", up:"14"}, {dn:"280", up:"12"}, {dn:"280", up:"13"}, {dn:"280", up:"14"}, {dn:"280", up:"13"}, {dn:"280", up:"15"}, {dn:"280", up:"14"}, {dn:"280", up:"13"}, {dn:"280", up:"14"}, {dn:"278", up:"14"}, {dn:"278", up:"14"}, {dn:"278", up:"14"}, {dn:"278", up:"14"}, {dn:"278", up:"14"}, {dn:"278", up:"14"}, {dn:"278", up:"14"}, {dn:"278", up:"14"}, {dn:"278", up:"14"}, {dn:"278", up:"14"}, {dn:"278", up:"14"}, {dn:"280", up:"14"}, {dn:"280", up:"14"}, {dn:"280", up:"14"}, {dn:"280", up:"14"}, {dn:"280", up:"14"}, {dn:"280", up:"14"}, {dn:"280", up:"14"}, {dn:"280", up:"14"}, {dn:"280", up:"14"}, {dn:"280", up:"14"}, {dn:"280", up:"14"}, {dn:"280", up:"14"}, {dn:"280", up:"13"}, {dn:"280", up:"13"}, {dn:"280", up:"13"}, {dn:"280", up:"13"}, {dn:"280", up:"13"}, {dn:"280", up:"13"}, {dn:"280", up:"13"}, {dn:"280", up:"13"}, {dn:"280", up:"13"}, {dn:"280", up:"13"}, {dn:"280", up:"13"}, {dn:"280", up:"13"}, {dn:"280", up:"13"}, {dn:"280", up:"13"}, {dn:"280", up:"13"}, {dn:"280", up:"13"}, {dn:"280", up:"13"}, {dn:"280", up:"28"}, {dn:"280", up:"66"}, {dn:"280", up:"95"}, {dn:"280", up:"106"}, {dn:"280", up:"106"}, {dn:"280", up:"106"}, {dn:"280", up:"106"}, {dn:"280", up:"106"}, {dn:"280", up:"106"}, {dn:"280", up:"106"}, {dn:"280", up:"106"}, {dn:"280", up:"107"}, {dn:"280", up:"20"}, {dn:"280", up:"20"}, {dn:"280", up:"20"}, {dn:"280", up:"20"}, {dn:"280", up:"20"}, {dn:"280", up:"20"}, {dn:"280", up:"20"}, {dn:"280", up:"20"}, {dn:"280", up:"20"}, {dn:"280", up:"20"}, {dn:"280", up:"20"}, {dn:"280", up:"20"}, {dn:"280", up:"20"}, {dn:"280", up:"20"}, {dn:"280", up:"20"}, {dn:"280", up:"20"}, {dn:"280", up:"34"}, {dn:"280", up:"20"}, {dn:"280", up:"20"}, {dn:"280", up:"20"}, {dn:"280", up:"34"}, {dn:"280", up:"37"}, {dn:"280", up:"47"}, {dn:"280", up:"20"}, {dn:"280", up:"20"}, {dn:"280", up:"56"}, {dn:"142", up:"57"}, {dn:"142", up:"57"}, {dn:"142", up:"20"}, {dn:"116", up:"20"}, {dn:"142", up:"20"}, {dn:"142", up:"63"}, {dn:"187", up:"63"}, {dn:"188", up:"100"}, {dn:"186", up:"100"}, {dn:"185", up:"112"}, {dn:"198", up:"95"}, {dn:"228", up:"69"}, {dn:"280", up:"20"}, {dn:"280", up:"20"}, {dn:"280", up:"20"}, {dn:"280", up:"20"}, {dn:"280", up:"20"}, {dn:"280", up:"20"}, {dn:"280", up:"20"}, {dn:"280", up:"20"}, {dn:"280", up:"20"}, {dn:"280", up:"20"}, {dn:"280", up:"20"}, {dn:"280", up:"20"}, {dn:"280", up:"20"}, {dn:"280", up:"20"}, {dn:"280", up:"20"}, {dn:"280", up:"20"}, {dn:"280", up:"20"}, {dn:"280", up:"20"}, {dn:"280", up:"20"}, {dn:"280", up:"20"}, {dn:"280", up:"20"}, {dn:"280", up:"20"}, {dn:"280", up:"20"}, {dn:"280", up:"20"}, {dn:"280", up:"20"}]}]);// not popped //({y:"53", type:"25", x:"235"});// not popped //({y:"30", type:"25", x:"221"});// not popped //({y:"268", type:"66", x:"591"});// not popped //({y:"242", type:"66", x:"591"});// not popped //({y:"206", type:"66", x:"591"});// not popped //({y:"170", type:"66", x:"591"});// not popped //({y:"238", type:"72", x:"594"});// not popped //({y:"198", type:"72", x:"594"});// not popped //({y:"158", type:"72", x:"594"});// not popped //({y:"122", type:"72", x:"594"});// not popped //({y:"258", type:"72", x:"589"});// not popped //({y:"224", type:"72", x:"589"});// not popped //({y:"186", type:"72", x:"589"});// not popped //({y:"149", type:"72", x:"589"});// not popped //({y:"249", type:"72", x:"587"});// not popped //({y:"227", type:"72", x:"587"});// not popped //({y:"188", type:"72", x:"587"});// not popped //({y:"149", type:"72", x:"587"});// not popped //({y:"24", type:"6", x:"587"});// not popped //({y:"139", type:"6", x:"587"});// not popped //({y:"238", type:"11", x:"585"});// not popped //({y:"249", type:"72", x:"592"});// not popped //({y:"234", type:"72", x:"592"});// not popped //({y:"194", type:"72", x:"592"});// not popped //({y:"159", type:"72", x:"592"});// not popped //({y:"122", type:"72", x:"592"});// not popped //({y:"112", type:"6", x:"592"});// not popped //({y:"46", type:"6", x:"592"});// not popped //({y:"35", type:"4", x:"583"});// not popped //({y:"118", type:"4", x:"583"});// not popped //({y:"35", type:"4", x:"582"});// not popped //({y:"117", type:"4", x:"582"});// not popped }
Symbol 368 MovieClip [__Packages.se.salomonsson.collections.ObjectArray] Frame 0
class se.salomonsson.collections.ObjectArray { var len, data; function ObjectArray () { clear(); } function clear() { len = 0; data = new Object(); } function addValue(key, value) { if (data[key] == undefined) { len++; } data[key] = value; } function getValue(key) { if (data[key] != undefined) { return(data[key]); } return(null); } function deleteValue(key) { if (data[key] != undefined) { delete data[key]; len--; return(true); } return(false); } function count() { return(len); } function getKey(index) { var _local2 = new Array(); for (var _local3 in data) { _local2.push(_local3); } return(_local2[index]); } }
Symbol 369 MovieClip [__Packages.se.salomonsson.grav.Enemy] Frame 0
class se.salomonsson.grav.Enemy { var x, y, type; function Enemy (x, y, type) { this.x = x; this.y = y; this.type = type; } }
Symbol 370 MovieClip [__Packages.screens.GameScreen] Frame 0
class screens.GameScreen extends modules.screens.BaseScreen { var model, mixer, clickHandler, screenManager, isRunning, gamePaused, holder, levelData, sTrace, introTask, tweenMc, outroTask, pause_mc, gameVolume; function GameScreen () { super(); model = se.salomonsson.grav.Model.getInstance(); mixer = modules.musicmixer.MusicMixer(SConsole.module("musicmixer")); clickHandler = new controls.KeyClickHandler(80); screenManager = modules.screens.ScreenManager(SConsole.module("screenManager")); isRunning = false; gamePaused = false; clickHandler.setClickHandler(this, onPause); } function load(mc, loadTask) { holder = mc; SConsole.trace(namespace, "*******Start loading loadgamescreen"); if (levelData == null) { var _local5 = new se.salomonsson.data.LevelParser(); var _local4 = new se.salomonsson.data.LevelParser(); var _local3 = new se.salomonsson.data.LevelParser(); levelData = new Array(); levelData.push(_local5); levelData.push(_local4); levelData.push(_local3); var _local2 = new se.salomonsson.synchronizer.TaskSequence(); _local2.addSequentialTask(_local5, _local5.parseData, ["l1.xml"]); _local2.addSequentialTask(_local4, _local4.parseData, ["l2.xml"]); _local2.addSequentialTask(_local3, _local3.parseData, ["l3.xml"]); _local2.addSequentialTask(this, test); _local2.addSequentialTask(loadTask, loadTask.completed); _local2.execute(); } else { loadTask.completed(); } } function test(ts) { sTrace("GameScreen.loadComplete()"); ts.completed(); } function intro(introTask) { this.introTask = introTask; var _local3 = modules.screens.ScreenManager.__get__backgroundScreen(); var _local4 = model.getTimeLine(); _local4._visible = false; if (tweenMc != null) { tweenMc.removeMovieClip(); } tweenMc = screenManager.__get__root().createEmptyMovieClip("tweenMc", screenManager.__get__root().getNextHighestDepth()); tweenMc._alpha = 0; ui.Draw.rectangle(tweenMc, {_w:screenManager.__get__width(), _h:screenManager.__get__height()}, 0, 100); var _local2 = new se.salomonsson.synchronizer.TaskSequence(); _local2.__set__onCompletion(utils.Proxy.create(this, activate)); _local2.addSequentialTask(_local3, _local3.outro); _local2.addSequentialTask(this, removeBgScreen); _local2.addSequentialTask(this, show); _local2.addSequentialTask(this, removeTweenMc); _local2.execute(); } function loadError() { sTrace("LOAD ERROR!"); } function show(ts) { var _local3 = String(SConsole.session.getValue("level")); var _local4 = constructLevel(_local3); var _local5 = model.getTimeLine(); model.startGame(_local4); tweenMc._alpha = 100; _local5._visible = true; var _local2 = new mx.transitions.Tween(tweenMc, "_alpha", mx.transitions.easing.Strong.easeOut, 100, 0, 1.5, true); _local2.onMotionFinished = utils.Proxy.create(ts, ts.completed); isRunning = true; } function removeBgScreen(ts) { modules.screens.ScreenManager.__set__backgroundScreen(null); ts.completed(); } function removeTweenMc(ts) { tweenMc.removeMovieClip(); ts.completed(); } function outro(outroTask) { this.outroTask = outroTask; isRunning = false; var _local5 = model.getTimeLine(); if (tweenMc != null) { tweenMc.removeMovieClip(); } tweenMc = screenManager.__get__root().createEmptyMovieClip("tweenMc", screenManager.__get__root().getNextHighestDepth()); tweenMc._alpha = 0; ui.Draw.rectangle(tweenMc, {_w:screenManager.__get__width(), _h:screenManager.__get__height()}, 0, 100); var _local2 = new mx.transitions.Tween(tweenMc, "_alpha", mx.transitions.easing.Strong.easeOut, 0, 100, 0.5, true); _local2.onMotionFinished = utils.Proxy.create(this, inactivate); } function inactivate() { model.destroy(); removeTweenMc(); outroTask.completed(); } function activate() { SConsole.startTicker(); introTask.completed(); } function onPause() { if (!isRunning) { return(undefined); } if (!model.pauseGame(!gamePaused)) { return(undefined); } gamePaused = !gamePaused; if (gamePaused) { SConsole.stopTicker(); pause_mc = screenManager.__get__root().createEmptyMovieClip("pause_mc", screenManager.__get__root().getNextHighestDepth()); ui.Draw.rectangle(pause_mc, {_w:screenManager.__get__width(), _h:screenManager.__get__height()}, 0, 30); var _local3 = new ui.Text(pause_mc, 0, 0, true, true, true, "SF Theramin Gothic Condensed", 24, 1098394); _local3.__set___text("PAUSE"); _local3.__get__movieClip()._x = (screenManager.__get__width() / 2) - (_local3.__get__movieClip()._width / 2); _local3.__get__movieClip()._y = ((screenManager.__get__height() / 2) - (_local3.__get__movieClip()._height / 2)) - 10; var _local5 = new ui.Text(pause_mc, 0, 0, true, true, true, "SF Theramin Gothic Condensed", 16, 1098394); _local5.__set___text("Press P to resume"); _local5.__get__movieClip()._x = (screenManager.__get__width() / 2) - (_local5.__get__movieClip()._width / 2); _local5.__get__movieClip()._y = (_local3.__get__movieClip()._y + _local3.__get__movieClip()._height) - 5; var _local4 = new ui.Text(pause_mc, 0, 0, true, true, true, "SF Theramin Gothic Condensed", 14, 1098394); _local4.__set___text("(If P doesn't work, click with the mouse inside the game and try again)"); _local4.__get__movieClip()._x = (screenManager.__get__width() / 2) - (_local4.__get__movieClip()._width / 2); _local4.__get__movieClip()._y = screenManager.__get__height() - _local4.__get__movieClip()._height; _local4.__get__movieClip()._alpha = 70; modules.musicmixer.Mute.setEnabled(false); gameVolume = modules.musicmixer.Song.globalVolume; modules.musicmixer.Song.globalVolume = 0; var _local6 = new Sound(_root); _local6.setVolume(0); Mouse.show(); } else { SConsole.startTicker(); pause_mc.removeMovieClip(); modules.musicmixer.Mute.setEnabled(true); modules.musicmixer.Song.globalVolume = gameVolume; var _local6 = new Sound(_root); _local6.setVolume(gameVolume * 100); Mouse.hide(); } } function constructLevel(levelKey) { var _local2; switch (levelKey) { case "l1.xml" : _local2 = [levelData[0], levelData[1], levelData[2]]; break; case "l2.xml" : _local2 = [levelData[1], levelData[2]]; break; case "l3.xml" : _local2 = [levelData[2]]; } sTrace(" constructLevel(): " + _local2.length); return(_local2); } var namespace = new Array("screens", "GameScreen"); var mc_id = "game_mc"; }
Symbol 371 MovieClip [__Packages.se.salomonsson.grav.Model] Frame 0
class se.salomonsson.grav.Model extends GameBase { var mixer, tl, spriteName, isRunning, ySpeed, y, speed, targetSpeed, angle, levelData, currentLevel, x, views, controllers, gameView, backgroundView, wallView, guiView, distance, sTrace; function Model (_tl) { super(); mixer = modules.musicmixer.MusicMixer(SConsole.module("musicmixer")); } static function getInstance() { if (instance == null) { instance = new se.salomonsson.grav.Model(); } return(instance); } function setup(timeline, spriteId) { if (arguments.length != 2) { trace("WRONG NUMBER OF ARGUMENTS IN MODEL SETUP!!"); } if (tl != null) { return(undefined); } spriteName = spriteId; Stage.scaleMode = "noScale"; tl = timeline.createEmptyMovieClip("gameHolder", timeline.getNextHighestDepth()); isRunning = false; SConsole.addTickListener(this); } function tick() { if (isRunning) { gameLoop(); sendUpdate({subject:"enterFrame", value:null}); } } function gameLoop() { if (boost) { ySpeed = ySpeed - gravity; } else { ySpeed = ySpeed + gravity; } if (ySpeed < (-maxYspeed)) { ySpeed = -maxYspeed; } else if (ySpeed > maxYspeed) { ySpeed = maxYspeed; } y = y + ySpeed; if (targetSpeed != speed) { var _local3 = (targetSpeed - speed) * 0.2; speed = speed + _local3; if (Math.abs(targetSpeed - speed) < 0.5) { speed = targetSpeed; } sendUpdate({subject:"speed", value:speed}); } var _local2 = Math.atan2(ySpeed, speed); angle = (_local2 / Math.PI) * 180; } function startGame(levelData) { isRunning = true; this.levelData = levelData; currentLevel = -1; x = w / 3; y = h / 2; angle = 0; ySpeed = 0; speed = 0; targetSpeed = 0; views = new Array(); controllers = new Array(); gameView = new se.salomonsson.grav.GameView(this, new se.salomonsson.grav.GameController()); backgroundView = new se.salomonsson.grav.BackgroundView(this, null); wallView = new se.salomonsson.grav.WallView(this, null); guiView = new se.salomonsson.grav.GUIView(this, null); addView(gameView); addView(backgroundView); addView(wallView); addView(guiView); wallView.setLevelData(levelData); levelUpdate(); setSpeed(6); setGravity(0.2); Mouse.hide(); } function endGame() { isRunning = false; speed = 0; gravity = 0.15; Mouse.show(); var _local2 = modules.screens.ScreenManager(SConsole.module("screenManager")); var _local3 = String(SConsole.session.getValue("level")); SConsole.stopTicker(); if (se.salomonsson.grav.Highscore.isHighscore(distance, _local3)) { SConsole.session.addValue("hiscore", String(distance)); _local2.openScreen("Submit"); } else { _local2.openScreen("StartScreen"); } } function pauseGame(flag) { if (isRunning) { sTrace("Pause game = " + flag); sendUpdate({subject:"pause", value:flag}); return(true); } return(false); } function destroy() { sendUpdate({subject:"destroy"}); delete gameView; delete backgroundView; delete wallView; delete guiView; delete views; delete controllers; } function checkCollision(x, y) { x = x + tl._parent._x; y = y + tl._parent._y; if (wallView.checkCollision(x, y)) { isRunning = false; gameView.die(); message(gameOverMessage); return(true); } return(false); } function message(msg) { sendUpdate({subject:"message", value:msg}); } function levelUpdate() { currentLevel++; if (levelData[currentLevel] == null) { return(undefined); } var _local2 = se.salomonsson.data.LevelParser(levelData[currentLevel]); var _local3 = _local2.__get__data().tiles.getValue("0"); if (currentLevel == 0) { var _local5 = _local2.__get__key(); mixer.startSong("main", levelData[currentLevel].key, true); } sendUpdate({subject:"changeBg", value:_local3}); sendUpdate({subject:"levelUp", value:currentLevel}); } function onLevelWrapped() { var _local2 = se.salomonsson.data.LevelParser(levelData[currentLevel]); var _local4 = _local2.__get__key(); mixer.startSong("main", levelData[currentLevel].key, true); if (currentLevel == 0) { return(undefined); } _local2 = se.salomonsson.data.LevelParser(levelData[currentLevel]); sendUpdate({subject:"onLevelWrapped", value:_local2}); } function setBoost(_state) { boost = _state; } function getSprite() { return(spriteName); } function getGravity() { return(gravity); } function setGravity(_g) { gravity = _g; sendUpdate({subject:"gravity", value:gravity}); } function setBgTile(tileId) { sendUpdate({subject:"changeBg", value:tileId}); } function setGameOverMessage(s) { if (s == undefined) { return(undefined); } gameOverMessage = s; } function setScore(s) { distance = s; } function setSpeed(_num) { targetSpeed = _num; } function getSpeed() { return(targetSpeed); } function getTimeLine() { return(tl); } function getDepth(_d) { switch (_d) { case "bg" : return(1); case "smoke" : return(2); case "enemies" : return(3); case "walls" : return(4); case "sprite" : return(5); case "fg" : return(6); case "hiscore" : return(7); case "gui" : return(8); case "splashscreen" : return(9); case "fakeMask" : return(10); } } function addView(_v) { var _local2 = 0; while (_local2 < views.length) { if (views[_local2] == _v) { return(false); } _local2++; } views.push(_v); return(true); } function addController(_c) { var _local2 = 0; while (_local2 < controllers.length) { if (controllers[_local2] == _c) { return(false); } _local2++; } controllers.push(_c); return(true); } function sendUpdate(_obj) { var _local2 = views.length; while (_local2 >= 0) { views[_local2].update(_obj, this); _local2--; } } var namespace = new Array("grav", "model"); var w = 500; var h = 300; var gravity = 0.15; var gameOverMessage = "Oops, bye bye!"; var boost = false; var boostSpeed = 0.4; var maxYspeed = 4; static var instance = null; }
Symbol 372 MovieClip [__Packages.se.salomonsson.grav.View] Frame 0
class se.salomonsson.grav.View extends GameBase { var myModel, myController; function View (_model, _controller) { super(); trace("View called: " + _controller); myModel = _model; myController = _controller; myController.setModel(myModel); myController.setView(this); } function update(_infoObj, _m) { } var namespace = new Array("grav", "View"); }
Symbol 373 MovieClip [__Packages.se.salomonsson.grav.Controller] Frame 0
class se.salomonsson.grav.Controller { var myModel, myView; function Controller () { } function setModel(_m) { myModel = _m; } function setView(_v) { trace("View set to: " + _v); myView = _v; } }
Symbol 374 MovieClip [__Packages.se.salomonsson.grav.GameView] Frame 0
class se.salomonsson.grav.GameView extends se.salomonsson.grav.View { var myModel, smokes, hero, heroH, heroW, smokeHolder, explosionBitmap, explosionParticles, explosionTimer, myController; function GameView (_model, _controller) { super(_model, _controller); myModel.getTimeLine().gotoAndStop("game"); smokes = new Array(); createPlayer(); createSmoke(); } function createPlayer() { var _local2 = myModel.getSprite(); var _local3 = myModel.getDepth("sprite"); var _local4 = myModel.getTimeLine(); hero = _local4.attachMovie(_local2, _local2, _local3); heroH = hero._height; heroW = hero._width; render(); } function createSmoke() { var _local2 = myModel.getDepth("smoke"); var _local3 = myModel.getTimeLine(); smokeHolder = _local3.createEmptyMovieClip("smokeHolder", _local2); } function onSpriteEnterFrame() { setSmoke(); render(); checkCollision(); } function render() { hero._x = myModel.x; hero._y = myModel.y; hero._rotation = myModel.angle; } function checkCollision() { var _local12 = myModel.angle; var _local2 = (_local12 * Math.PI) / 180; var _local6 = myModel.x; var _local5 = myModel.y; var _local4 = Math.cos; var _local3 = Math.sin; var _local11 = _local6 + (_local4(_local2) * 15); var _local9 = _local5 + (_local3(_local2) * 15); if (myModel.checkCollision(_local11, _local9)) { return(undefined); } var _local10 = _local6 + (_local4(3.700098 + _local2) * 8); var _local7 = _local5 + (_local3(3.700098 + _local2) * 8); if (myModel.checkCollision(_local10, _local7)) { return(undefined); } var _local8 = _local6 + (_local4(2.5830873 + _local2) * 8); var _local13 = _local5 + (_local3(2.5830873 + _local2) * 8); if (myModel.checkCollision(_local8, _local13)) { return(undefined); } } function setSpeed(_num) { speed = _num; } function setSmoke() { if (((++smokeCounter) % 4) == 0) { var _local4 = smokeHolder.getNextHighestDepth(); var _local3 = smokeHolder.attachMovie("smoke", "smoke" + _local4, _local4); _local3._x = myModel.x; _local3._y = myModel.y; smokes.push(_local3); } if ((smokes[0]._currentframe == smokes[0]._totalframes) || (smokes[0]._x < -10)) { smokes[0].removeMovieClip(); smokes.shift(); } var _local2 = smokes.length; while (_local2 >= 0) { smokes[_local2]._x = smokes[_local2]._x - speed; _local2--; } } function setScore() { distanceCounter = distanceCounter + speed; } function die() { var _local2 = new Color(hero); _local2.setRGB(1032858); se.salomonsson.utils.Delay.create(this, explodeShip, 20); } function explodeShip() { var _local12 = modules.musicmixer.MusicMixer(SConsole.module("musicmixer")); _local12.startFX("explode", 1, 60); hero = myModel.getTimeLine().createEmptyMovieClip("explosion", myModel.getDepth("sprite")); var _local11 = 200; var _local10 = 200; explosionBitmap = new flash.display.BitmapData(_local11, _local10, true, 1032858); hero.attachBitmap(explosionBitmap, 1); var _local15 = 2; var _local14 = 2; var _local13 = 2; hero._x = myModel.x - (_local11 / 2); hero._y = myModel.y - (_local10 / 2); var _local9 = _local11 / 2; var _local8 = _local10 / 2; explosionParticles = new Array(); var _local3 = 400; while (_local3 >= 0) { var _local2 = new Object(); var _local7 = (Math.random() * Math.PI) * 2; var _local5 = (Math.random() * 6) + 4; var _local6 = Math.cos(_local7); var _local4 = Math.sin(_local7); _local2.speed = Math.random() * 5; _local2.xSpeed = _local6; _local2.ySpeed = _local4; _local2.x = _local6 * _local5; _local2.y = _local4 * _local5; _local2.life = random(10) + 10; explosionBitmap.setPixel32(_local2.x + _local9, _local2.y + _local8, 4279222938); explosionParticles.push(_local2); _local3--; } explosionTimer = setInterval(mx.utils.Delegate.create(this, explodeLoop), 20); } function explodeLoop() { explosionBitmap.fillRect(new flash.geom.Rectangle(0, 0, 200, 200), 0); if (explosionParticles.length == 0) { trace("Explosion done"); clearInterval(explosionTimer); se.salomonsson.utils.Delay.create(myModel, myModel.endGame, 1200); } var _local3 = explosionParticles.length; while (_local3 >= 0) { var _local2 = explosionParticles[_local3]; _local2.speed = _local2.speed * 0.93; _local2.x = _local2.x + (_local2.xSpeed * _local2.speed); _local2.y = _local2.y + (_local2.ySpeed * _local2.speed); _local2.life--; explosionBitmap.setPixel32(_local2.x + 100, _local2.y + 100, 4279222938); if (_local2.life <= 0) { explosionParticles.splice(_local3, 1); } _local3--; } } function setPause(flag) { var _local2 = 0; while (_local2 < smokes.length) { if (flag) { smokes[_local2].stop(); } else { smokes[_local2].play(); } _local2++; } } function update(_infoObj, _m) { switch (_infoObj.subject) { case "speed" : setSpeed(_infoObj.value); break; case "enterFrame" : onSpriteEnterFrame(); break; case "gravity" : myModel.getGravity(); break; case "destroy" : destroy(); break; case "pause" : setPause(_infoObj.value); } } function destroy() { hero.removeMovieClip(); smokeHolder.removeMovieClip(); var _local2 = myController; _local2.destroy(); } var speed = 0; var distanceCounter = 0; var smokeCounter = 0; }
Symbol 375 MovieClip [__Packages.se.salomonsson.utils.Delay] Frame 0
class se.salomonsson.utils.Delay { var intervalId; function Delay () { } function getInstance() { return(new se.salomonsson.utils.Delay()); } static function create(caller, callback, delay) { if (arguments.length < 3) { return(undefined); } var _local2 = new se.salomonsson.utils.Delay(); _local2.setup(arguments); } function setup(arg) { var _local2 = arg[2]; intervalId = setInterval(se.salomonsson.utils.Proxy.create(this, callDelay), _local2, arg); } function callDelay(arg) { if (abort) { return(undefined); } var _local4 = arg[0]; var _local3 = arg[1]; var _local5 = arg.slice(3, arg.length + 1); _local3.apply(_local4, _local5); clearInterval(intervalId); } static var abort = false; }
Symbol 376 MovieClip [__Packages.se.salomonsson.utils.Proxy] Frame 0
class se.salomonsson.utils.Proxy { function Proxy () { } static function create(callTarget, callFunction) { var parameters = new Array(); var _local2 = 2; while (_local2 < arguments.length) { parameters.push(arguments[_local2]); _local2++; } var _local4 = function () { var _local2 = arguments.concat(parameters); _local2.push(arguments.callee); callFunction.apply(callTarget, _local2); }; return(_local4); } static function exec(callTarget, callFunction) { var parameters = new Array(); var _local2 = 2; while (_local2 < arguments.length) { parameters.push(arguments[_local2]); _local2++; } var _local4 = function () { var _local2 = arguments.concat(parameters); _local2.push(arguments.callee); callFunction.apply(callTarget, _local2); }; _local4(); } }
Symbol 377 MovieClip [__Packages.se.salomonsson.grav.BackgroundView] Frame 0
class se.salomonsson.grav.BackgroundView extends se.salomonsson.grav.View { var w, myModel, h, firstRun, tiles, scrollContainer, sTrace, tileX; function BackgroundView (_model, _controller) { super(_model, _controller); w = myModel.w; h = myModel.h; firstRun = true; } function init() { tiles = new Array(); var _local2 = myModel.getTimeLine(); var _local3 = myModel.getDepth("bg"); scrollContainer = _local2.createEmptyMovieClip("backgroundContainer", _local3); sTrace("init with currentTile " + currentTileId); if (currentTileId == null) { currentTileId = "tile1"; } tileX = 0; while (scrollContainer._width < w) { addTile(); } } function setSpeed(s) { speed = s; } function setTile(tileId) { currentTileId = tileId; } function addTile() { var _local3 = scrollContainer.getNextHighestDepth(); var _local2 = scrollContainer.createEmptyMovieClip("bg_" + _local3, _local3); var _local4 = flash.display.BitmapData.loadBitmap(currentTileId); _local2._x = tileX; _local2.attachBitmap(_local4, 1); tileX = tileX + _local4.width; tiles.push(_local2); } function removeTile() { var _local2 = MovieClip(tiles.shift()); _local2.removeMovieClip(); } function scrollBg() { scrollContainer._x = scrollContainer._x - (speed / 2); if (tileX < ((-scrollContainer._x) + w)) { addTile(); } var _local2 = tiles[0]; if ((_local2._x + _local2._width) < (-scrollContainer._x)) { removeTile(); } } function fade(dir) { var _local2 = ((dir == "in") ? 0 : 100); var _local3 = ((dir == "in") ? 100 : 0); var _local4 = new mx.transitions.Tween(scrollContainer, "_alpha", mx.transitions.easing.None.easeNone, _local2, _local3, 1, true); } function update(infoObj, m) { switch (infoObj.subject) { case "speed" : setSpeed(infoObj.value); break; case "enterFrame" : scrollBg(); break; case "changeBg" : setTile(infoObj.value); break; case "levelUp" : if (firstRun) { scrollContainer.removeMovieClip(); init(); firstRun = false; } else { fade("out"); } break; case "onLevelWrapped" : init(); fade("in"); break; case "destroy" : destroy(); } } function destroy() { scrollContainer.removeMovieClip(); } var namespace = new Array("grav", "BackgroundView"); var currentTileId = "tile1"; var speed = 0; }
Symbol 378 MovieClip [__Packages.se.salomonsson.grav.WallView] Frame 0
class se.salomonsson.grav.WallView extends se.salomonsson.grav.View { var w, myModel, h, roofH, floorH, currentRoofY, currentFloorY, up_mcs, dn_mcs, en_mcs, wallMc, scrollContainer, wallStroke, enemyHolder, wallFill, levelUpWrapX, levelData, piecesOnScreen, sTrace, level, up, dn, en_objArr, grav_objArr, speed_objArr, msg_objArr, tile_objArr; function WallView (_model, _controller) { super(_model, _controller); w = myModel.w; h = myModel.h; roofH = {top:10, bottom:100}; floorH = {top:290, bottom:300}; currentRoofY = roofH.top; currentFloorY = floorH.top; up_mcs = new Array(); dn_mcs = new Array(); en_mcs = new Array(); wallMc = myModel.getTimeLine().createEmptyMovieClip("wall", myModel.getDepth("walls")); scrollContainer = wallMc.createEmptyMovieClip("scrollContainer", wallMc.getNextHighestDepth()); wallStroke = scrollContainer.createEmptyMovieClip("wallStroke", scrollContainer.getNextHighestDepth()); enemyHolder = scrollContainer.createEmptyMovieClip("enemyHolder", scrollContainer.getNextHighestDepth()); wallFill = scrollContainer.createEmptyMovieClip("wallFill", scrollContainer.getNextHighestDepth()); levelUpWrapX = null; } function setLevelData(levelData) { this.levelData = levelData; onLevelUp(0); piecesOnScreen = Math.ceil(w / splitW) + 1; var _local2 = 0; while (_local2 < piecesOnScreen) { buildWall(_local2 * splitW); _local2++; } } function onLevelUp(l) { sTrace("parse new level: " + l); level = l; var _local2 = levelData[level].levelData; up = _local2.up; dn = _local2.dn; en_objArr = se.salomonsson.collections.ObjectArray(_local2.en); grav_objArr = se.salomonsson.collections.ObjectArray(_local2.gravitys); speed_objArr = se.salomonsson.collections.ObjectArray(_local2.speeds); msg_objArr = se.salomonsson.collections.ObjectArray(_local2.texts); tile_objArr = se.salomonsson.collections.ObjectArray(_local2.tiles); var _local3 = up_mcs[up_mcs.length - 1][0]; levelUpWrapX = _local3._x + _local3._width; myModel.setGameOverMessage(_local2.data.getValue("gameOverText")); var _local4 = tile_objArr.getValue("0"); if (_local4 != null) { myModel.setBgTile(_local4); } } function getWallMc() { return(wallMc); } function buildWall(x, forceStart) { var _local5 = wallFill.getNextHighestDepth(); var _local7 = wallFill.createEmptyMovieClip("r_" + _local5, _local5); var _local8 = wallFill.createEmptyMovieClip("f_" + (_local5 + 1), _local5 + 1); var _local10 = wallStroke.createEmptyMovieClip("r_" + _local5, _local5); var _local9 = wallStroke.createEmptyMovieClip("r_" + (_local5 + 1), _local5 + 1); var _local13 = Math.floor(x / splitW) - levelOffset; var _local19 = String(_local13); var _local12 = String(_local13 - piecesOnScreen); _local7._x = (_local8._x = (_local10._x = (_local9._x = x))); var _local14; var _local11; if (forceStart) { _local14 = roofH.top; _local11 = floorH.top; } else { _local14 = up[_local13]; _local11 = dn[_local13]; } _local7.beginFill(0, 100); _local7.moveTo(0, 0); _local7.lineTo(0, currentRoofY); _local7.lineTo(splitW, _local14); _local7.lineTo(splitW, 0); _local7.lineTo(0, 0); _local7.endFill(); _local8.beginFill(0, 100); _local8.moveTo(0, h); _local8.lineTo(0, currentFloorY); _local8.lineTo(splitW, _local11); _local8.lineTo(splitW, h); _local8.lineTo(0, h); _local8.endFill(); _local10.lineStyle(5, drawCol, 100); _local10.moveTo(0, currentRoofY); _local10.lineTo(splitW, _local14); _local9.lineStyle(5, drawCol, 100); _local9.moveTo(0, currentFloorY); _local9.lineTo(splitW, _local11); up_mcs.push([_local7, _local10]); dn_mcs.push([_local8, _local9]); var _local6 = en_objArr.getValue(_local19); if (_local6 != null) { var _local4 = 0; while (_local4 < _local6.length) { var _local3 = se.salomonsson.grav.Enemy(_local6[_local4]); _local5 = enemyHolder.getNextHighestDepth(); var _local2 = enemyHolder.attachMovie("enemy" + _local3.type, "enemy_" + _local5, _local5); _local2._x = ((Number(_local3.x) + 1) + levelOffset) * splitW; _local2._y = _local3.y; _local2.gotoAndStop(1); en_mcs.push(_local2); _local4++; } } var _local18 = msg_objArr.getValue(_local12); if (_local18 != null) { myModel.message(_local18); } var _local17 = grav_objArr.getValue(_local12); if (_local17 != null) { myModel.setGravity(Number(_local17)); } var _local16 = speed_objArr.getValue(_local12); if (_local16 != null) { myModel.setSpeed(Number(_local16)); } currentRoofY = _local14; currentFloorY = _local11; var _local15 = String(tile_objArr.getValue(_local12)); if ((_local15 != null) && (_local15 != "null")) { myModel.setBgTile(_local15); } } function scrollWalls() { scrollContainer._x = scrollContainer._x - speed; if (levelUpWrapX != null) { if (scrollContainer._x <= (-levelUpWrapX)) { myModel.onLevelWrapped(); levelUpWrapX = null; } } var _local2 = up_mcs[up_mcs.length - 1][0]; var _local7 = up_mcs[0][0]; var _local8 = (_local2._x + splitW) + scrollContainer._x; if (_local8 < w) { buildWall(_local2._x + splitW); } _local8 = (_local7._x + splitW) + scrollContainer._x; if (_local8 < 0) { var _local6 = up_mcs.shift(); var _local5 = dn_mcs.shift(); _local6[0].removeMovieClip(); _local6[1].removeMovieClip(); _local5[0].removeMovieClip(); _local5[1].removeMovieClip(); } if (en_mcs.length > 0) { var _local4 = en_mcs[0]; if (((_local4._x + _local4._width) + scrollContainer._x) < 0) { _local4.removeMovieClip(); en_mcs.shift(); } } var _local3 = (Math.floor(_local2._x / splitW) - levelOffset) + 1; if ((up.length <= _local3) || (dn.length <= _local3)) { levelOffset = levelOffset + _local3; myModel.levelUpdate(); } } function checkCollision(x, y) { if (wallMc.hitTest(x, y, true)) { return(true); } return(false); } function setSpeed(_num) { speed = _num; } function update(_infoObj, _m) { switch (_infoObj.subject) { case "speed" : setSpeed(_infoObj.value); break; case "enterFrame" : scrollWalls(); animateEnemies(); break; case "levelUp" : onLevelUp(_infoObj.value); break; case "destroy" : destroy(); } } function animateEnemies() { var _local2 = en_mcs.length - 1; while (_local2 >= 0) { en_mcs[_local2].nextFrame(); _local2--; } } function destroy() { var _local2 = 0; while (_local2 < up_mcs.length) { up_mcs[_local2][0].removeMovieClip(); up_mcs[_local2][1].removeMovieClip(); dn_mcs[_local2][0].removeMovieClip(); dn_mcs[_local2][1].removeMovieClip(); _local2++; } _local2 = 0; while (_local2 < en_mcs.length) { en_mcs[_local2].removeMovieClip(); _local2++; } delete up_mcs; delete dn_mcs; delete en_mcs; scrollContainer.removeMovieClip(); wallMc.removeMovieClip(); } var namespace = new Array("grav", "WallView"); var levelCnt = 1; var levelOffset = 0; var speed = 0; var drawCol = 1032858; var splitW = 40; }
Symbol 379 MovieClip [__Packages.se.salomonsson.grav.GUIView] Frame 0
class se.salomonsson.grav.GUIView extends se.salomonsson.grav.View { var myModel, guiHolder, dist, msg, writingMessag, messageCountdown, messageString, intervalId; function GUIView (_model, _controller) { super(_model, _controller); initGUI(); } function initGUI() { var _local2 = myModel.getDepth("gui"); var _local5 = myModel.getTimeLine(); guiHolder = _local5.createEmptyMovieClip("gui", _local2); var _local11 = 2; var _local4 = 5; var _local3 = 279; var _local10 = 320; var _local9 = 20; dist = new ui.Text(guiHolder, 0, 0, true, true, true, "SF Theramin Gothic Condensed", 14, 16777215); dist.__get__movieClip()._x = _local4; dist.__get__movieClip()._y = _local3; var _local8 = 3; var _local7 = 5; var _local6 = 0; var _local12 = 0; var _local13 = 0; msg = new ui.Text(guiHolder, 0, 0, true, true, true, "SF Theramin Gothic Condensed", 16, 16777215); msg.__get__movieClip()._x = _local7; msg.__get__movieClip()._y = _local6; writingMessag = false; dist.__set___text("Distance: 0"); } function onSpriteEnterFrame() { distCounter = distCounter + speed; var _local2 = int(distCounter / 10); myModel.setScore(_local2); dist.__set___text("Distance: " + _local2); } function chechMessage() { if (writingMessag) { messageLoop(); } } function startMessage() { writingMessag = true; messageCountdown = 100; msg.__set___text(""); startTextInterval(); } function messageLoop() { var _local2 = msg.__get___text().length; if (_local2 == messageString.length) { if ((--messageCountdown) == 0) { endMessage(); } } else { msg.__set___text(messageString.substr(0, _local2 + 1)); } } function endMessage() { msg.__set___text(""); messageString = ""; writingMessag = false; clearInterval(intervalId); } function startTextInterval() { clearInterval(intervalId); intervalId = setInterval(utils.Proxy.create(this, chechMessage), 28.5714285714286); } function setPause(flag) { if (flag) { clearInterval(intervalId); } else if (writingMessag) { startTextInterval(); } } function update(_infoObj, _m) { switch (_infoObj.subject) { case "speed" : speed = _infoObj.value; break; case "enterFrame" : onSpriteEnterFrame(); break; case "destroy" : destroy(); break; case "message" : messageString = _infoObj.value; startMessage(); break; case "pause" : setPause(_infoObj.value); } } function destroy() { endMessage(); guiHolder.removeMovieClip(); } var distCounter = 0; var speed = 0; }
Symbol 380 MovieClip [__Packages.se.salomonsson.grav.GameController] Frame 0
class se.salomonsson.grav.GameController extends se.salomonsson.grav.Controller { var k, myModel; function GameController () { super(); k = new Object(); k.onKeyDown = mx.utils.Delegate.create(this, spaceDown); k.onKeyUp = mx.utils.Delegate.create(this, spaceUp); Key.addListener(k); } function spaceDown() { if (Key.getCode() == 32) { myModel.setBoost(true); } } function spaceUp() { if (!Key.isDown(32)) { myModel.setBoost(false); } } function destroy() { Key.removeListener(k); } }
Symbol 381 MovieClip [__Packages.modules.musicmixer.Mute] Frame 0
class modules.musicmixer.Mute extends GameBase implements modules.musicmixer.IVolumeHandler { static var isEnabled; var soundOn, soundOff, isMute, clickHandler, sTrace, volumeFunction, muteSymbol, delayId; function Mute (soundOnLinkageId, soundOffLinkageId) { super(); soundOn = soundOnLinkageId; soundOff = soundOffLinkageId; isMute = false; isEnabled = true; setClickHandler(); } static function setEnabled(flag) { SConsole.trace(["modules.musicmixer.mute"], "Enabling mute-function: " + flag); isEnabled = flag; } function setClickHandler() { clickHandler = new controls.KeyClickHandler(83); clickHandler.setClickHandler(this, onMute); } function setVolumeHandler(f) { sTrace("setting volumeFunction to " + f); volumeFunction = f; } function onMute(doMute, useSymbol) { if (!isEnabled) { return(undefined); } if (useSymbol == undefined) { useSymbol = true; } sTrace("mute is now " + isMute); if (doMute == isMute) { return(undefined); } isMute = !isMute; var _local3 = (isMute ? 0 : 1); var _local4 = (isMute ? (soundOff) : (soundOn)); volumeFunction.apply(null, [_local3]); var _local8 = new Sound(_root); _local8.setVolume(_local3 * 100); if (useSymbol == false) { return(undefined); } var _local5 = SConsole.module("screenManager").topLayer; var _local7 = _local5.getNextHighestDepth(); muteSymbol.removeMovieClip(); utils.Delay.abort(delayId); muteSymbol = _local5.attachMovie(_local4, _local4, _local7); muteSymbol._x = (Stage.width - muteSymbol._width) - 3; muteSymbol._y = (Stage.height - muteSymbol._height) - 3; delayId = utils.Delay.create(muteSymbol, muteSymbol.removeMovieClip, 1100); } var namespace = new Array("modules", "musicmixer", "mute"); }
Symbol 382 MovieClip [__Packages.screens.SubmitScreen] Frame 0
class screens.SubmitScreen extends modules.screens.BaseScreen { var screen_mc, mc, name, cnt, outroTask, score, input; function SubmitScreen () { super(); } function intro(introTask) { screen_mc = mc.attachMovie("submitScreen", "submitScreen", 1); build(); name = ""; cnt = 0; var _local3 = modules.musicmixer.MusicMixer(SConsole.module("musicmixer")); _local3.abortAll(); SConsole.addTickListener(this); SConsole.startTicker(); var _local2 = new mx.transitions.Tween(screen_mc, "_alpha", mx.transitions.easing.Regular.easeOut, 0, 100, 1, true); _local2.onMotionFinished = utils.Proxy.create(introTask, introTask.completed); Key.addListener(this); modules.musicmixer.Mute.setEnabled(false); } function outro(outroTask) { modules.musicmixer.Mute.setEnabled(true); Key.removeListener(this); SConsole.removeTickListener(this); this.outroTask = outroTask; var _local2 = new mx.transitions.Tween(screen_mc, "_alpha", mx.transitions.easing.Regular.easeOut, 100, 0, 0.5, true); _local2.onMotionFinished = utils.Proxy.create(this, destroy); } function destroy() { SConsole.stopTicker(); screen_mc.removeMovieClip(); outroTask.completed(); } function build() { score = new ui.Text(screen_mc, 100, 100, true, true, true, "SF Theramin Gothic Condensed", 20, 1098394); score.__set___text("Your score is " + SConsole.session.getValue("hiscore")); score.__get__movieClip()._x = 250 - (score.__get__movieClip()._width / 2); score.__get__movieClip()._y = 70; input = new ui.Text(screen_mc, 10, 10, true, true, true, "SF Theramin Gothic Condensed", 26, 1098394); input.__get__movieClip()._x = 217; input.__get__movieClip()._y = 141; input.__set___text(""); } function tick() { if ((cnt++) > 2) { cnt = 0; screen_mc.marker._visible = !screen_mc.marker._visible; } } function onKeyUp() { var _local2 = Key.getCode(); if ((_local2 > 47) && (_local2 < 91)) { var _local4 = String.fromCharCode(_local2); if (name.length < 3) { name = name + _local4; updateInput(); } } else if ((_local2 == 8) || (_local2 == 37)) { if (name.length > 0) { name = name.substr(0, name.length - 1); updateInput(); } } else if (_local2 == 13) { var _local6 = Number(SConsole.session.getValue("hiscore")); var _local5 = String(SConsole.session.getValue("level")); se.salomonsson.grav.Highscore.saveHighscore(name, _local6, _local5); var _local3 = modules.screens.ScreenManager(SConsole.module("screenManager")); _local3.openScreen("StartScreen"); } else if (_local2 == 27) { var _local3 = modules.screens.ScreenManager(SConsole.module("screenManager")); _local3.openScreen("StartScreen"); } } function updateInput() { input.__set___text(name); input.__get__movieClip()._x = 250 - (input.__get__movieClip()._width / 2); var _local2 = screen_mc.marker; _local2._x = input.__get__movieClip()._x + input.__get__movieClip()._width; } var namespace = new Array("screens", "SubmitScreen"); }
Symbol 383 MovieClip [__Packages.mx.transitions.easing.Regular] Frame 0
class mx.transitions.easing.Regular { function Regular () { } static function easeIn(t, b, c, d) { t = t / d; return(((c * t) * t) + b); } static function easeOut(t, b, c, d) { t = t / d; return((((-c) * t) * (t - 2)) + b); } static function easeInOut(t, b, c, d) { t = t / (d / 2); if (t < 1) { return((((c / 2) * t) * t) + b); } t--; return((((-c) / 2) * ((t * (t - 2)) - 1)) + b); } static var version = "1.1.0.52"; }
Symbol 384 MovieClip [__Packages.screens.ErrorScreen] Frame 0
class screens.ErrorScreen extends screens.BaseMenuScreen { var screenManager, screen_mc; function ErrorScreen () { super(); screenManager = modules.screens.ScreenManager(SConsole.module("screenManager")); } function build() { super.build(); var _local3 = new ui.Text(screen_mc, 0, 0, true, true, true, "SF Theramin Gothic Condensed", 32, 1032858); _local3.__set___text("An Error occured..."); _local3.__get__movieClip()._x = (screenManager.__get__width() / 2) - (_local3.__get__movieClip()._width / 2); _local3.__get__movieClip()._y = 70; _local3 = new ui.Text(screen_mc, 300, 0, false, true, true, "SF Theramin Gothic Condensed", 16, 1032858); _local3.__set___text("One or more level-data files are missing. Please contact the site administrator, or play the game at www.salomonsson.se. Sorry for your inconvenience."); _local3.__get__movieClip()._x = (screenManager.__get__width() / 2) - (_local3.__get__movieClip()._width / 2); _local3.__get__movieClip()._y = 110; } var namespace = new Array("screens", "ErrorScreen"); }
Symbol 235 MovieClip [intro] Frame 1
stop();
Symbol 235 MovieClip [intro] Frame 659
stop();
Symbol 248 MovieClip Frame 34
gotoAndStop (1);

Library Items

Symbol 1 GraphicUsed by:2
Symbol 2 MovieClip [enemy79]Uses:1
Symbol 3 GraphicUsed by:4
Symbol 4 MovieClip [enemy87]Uses:3
Symbol 5 GraphicUsed by:6
Symbol 6 MovieClip [enemy88]Uses:5
Symbol 7 GraphicUsed by:8
Symbol 8 MovieClip [enemy82]Uses:7
Symbol 9 GraphicUsed by:10
Symbol 10 MovieClip [enemy83]Uses:9
Symbol 11 GraphicUsed by:12
Symbol 12 MovieClip [enemy84]Uses:11
Symbol 13 GraphicUsed by:14
Symbol 14 MovieClip [enemy85]Uses:13
Symbol 15 GraphicUsed by:16
Symbol 16 MovieClip [enemy86]Uses:15
Symbol 17 GraphicUsed by:18
Symbol 18 MovieClip [enemy80]Uses:17
Symbol 19 GraphicUsed by:20
Symbol 20 MovieClip [enemy81]Uses:19
Symbol 21 GraphicUsed by:24 25
Symbol 22 GraphicUsed by:23
Symbol 23 MovieClipUses:22Used by:24 25
Symbol 24 MovieClip [enemy78]Uses:21 23
Symbol 25 MovieClip [enemy77]Uses:21 23
Symbol 26 GraphicUsed by:29
Symbol 27 GraphicUsed by:28
Symbol 28 MovieClipUses:27Used by:29
Symbol 29 MovieClip [enemy47]Uses:26 28
Symbol 30 GraphicUsed by:31
Symbol 31 MovieClip [enemy38]Uses:30
Symbol 32 GraphicUsed by:33
Symbol 33 MovieClip [enemy37]Uses:32
Symbol 34 GraphicUsed by:35
Symbol 35 MovieClip [enemy36]Uses:34
Symbol 36 GraphicUsed by:37
Symbol 37 MovieClip [enemy35]Uses:36
Symbol 38 GraphicUsed by:39
Symbol 39 MovieClip [enemy34]Uses:38
Symbol 40 GraphicUsed by:41
Symbol 41 MovieClip [enemy33]Uses:40
Symbol 42 GraphicUsed by:43
Symbol 43 MovieClip [enemy32]Uses:42
Symbol 44 GraphicUsed by:45
Symbol 45 MovieClip [enemy31]Uses:44
Symbol 46 GraphicUsed by:47
Symbol 47 MovieClip [enemy46]Uses:46
Symbol 48 GraphicUsed by:49
Symbol 49 MovieClip [enemy45]Uses:48
Symbol 50 GraphicUsed by:51
Symbol 51 MovieClip [enemy44]Uses:50
Symbol 52 GraphicUsed by:53
Symbol 53 MovieClip [enemy43]Uses:52
Symbol 54 GraphicUsed by:55
Symbol 55 MovieClip [enemy42]Uses:54
Symbol 56 GraphicUsed by:57
Symbol 57 MovieClip [enemy41]Uses:56
Symbol 58 GraphicUsed by:59
Symbol 59 MovieClip [enemy40]Uses:58
Symbol 60 GraphicUsed by:61
Symbol 61 MovieClip [enemy39]Uses:60
Symbol 62 GraphicUsed by:63
Symbol 63 MovieClip [enemy65]Uses:62
Symbol 64 GraphicUsed by:65
Symbol 65 MovieClip [enemy64]Uses:64
Symbol 66 GraphicUsed by:67
Symbol 67 MovieClip [enemy63]Uses:66
Symbol 68 GraphicUsed by:69
Symbol 69 MovieClipUses:68Used by:73 226
Symbol 70 GraphicUsed by:71
Symbol 71 MovieClipUses:70Used by:73 226
Symbol 72 GraphicUsed by:73 226
Symbol 73 MovieClip [enemy57]Uses:69 71 72
Symbol 74 GraphicUsed by:75
Symbol 75 MovieClipUses:74Used by:76 77 78
Symbol 76 MovieClip [enemy62]Uses:75
Symbol 77 MovieClip [enemy61]Uses:75
Symbol 78 MovieClip [enemy60]Uses:75
Symbol 79 GraphicUsed by:80
Symbol 80 MovieClipUses:79Used by:81 94
Symbol 81 MovieClipUses:80Used by:84 86
Symbol 82 GraphicUsed by:84
Symbol 83 GraphicUsed by:84 86 127
Symbol 84 MovieClip [enemy52]Uses:81 82 83
Symbol 85 GraphicUsed by:86
Symbol 86 MovieClip [enemy51]Uses:81 85 83
Symbol 87 GraphicUsed by:94
Symbol 88 GraphicUsed by:94
Symbol 89 GraphicUsed by:94
Symbol 90 ShapeTweeningUsed by:94
Symbol 91 GraphicUsed by:94
Symbol 92 GraphicUsed by:94
Symbol 93 ShapeTweeningUsed by:94
Symbol 94 MovieClip [enemy50]Uses:87 88 89 90 91 80 92 93
Symbol 95 GraphicUsed by:99
Symbol 96 ShapeTweeningUsed by:99
Symbol 97 ShapeTweeningUsed by:99
Symbol 98 ShapeTweeningUsed by:99
Symbol 99 MovieClip [enemy53]Uses:95 96 97 98
Symbol 100 GraphicUsed by:103 126 254
Symbol 101 GraphicUsed by:103 126
Symbol 102 GraphicUsed by:103
Symbol 103 MovieClip [enemy58]Uses:100 101 102
Symbol 104 GraphicUsed by:116
Symbol 105 GraphicUsed by:116
Symbol 106 GraphicUsed by:116
Symbol 107 ShapeTweeningUsed by:116
Symbol 108 ShapeTweeningUsed by:116
Symbol 109 ShapeTweeningUsed by:116
Symbol 110 GraphicUsed by:116
Symbol 111 ShapeTweeningUsed by:116
Symbol 112 ShapeTweeningUsed by:116
Symbol 113 ShapeTweeningUsed by:116
Symbol 114 ShapeTweeningUsed by:116
Symbol 115 ShapeTweeningUsed by:116
Symbol 116 MovieClip [enemy54]Uses:104 105 106 107 108 109 110 111 112 113 114 115
Symbol 117 GraphicUsed by:118
Symbol 118 MovieClipUses:117Used by:119 120
Symbol 119 MovieClip [enemy75]Uses:118
Symbol 120 MovieClip [enemy56]Uses:118
Symbol 121 GraphicUsed by:122
Symbol 122 MovieClipUses:121Used by:124
Symbol 123 GraphicUsed by:124
Symbol 124 MovieClip [enemy55]Uses:122 123
Symbol 125 GraphicUsed by:126
Symbol 126 MovieClip [enemy59]Uses:100 101 125
Symbol 127 MovieClipUses:83Used by:128 129
Symbol 128 MovieClip [enemy73]Uses:127
Symbol 129 MovieClip [enemy74]Uses:127
Symbol 130 GraphicUsed by:131
Symbol 131 MovieClip [enemy72]Uses:130
Symbol 132 GraphicUsed by:133
Symbol 133 MovieClip [enemy71]Uses:132
Symbol 134 GraphicUsed by:135
Symbol 135 MovieClip [enemy70]Uses:134
Symbol 136 GraphicUsed by:137
Symbol 137 MovieClip [enemy69]Uses:136
Symbol 138 GraphicUsed by:139
Symbol 139 MovieClip [enemy68]Uses:138
Symbol 140 GraphicUsed by:141
Symbol 141 MovieClip [enemy67]Uses:140
Symbol 142 GraphicUsed by:143
Symbol 143 MovieClip [enemy66]Uses:142
Symbol 144 GraphicUsed by:145
Symbol 145 MovieClipUses:144Used by:146
Symbol 146 MovieClip [enemy25]Uses:145
Symbol 147 GraphicUsed by:148
Symbol 148 MovieClip [enemy18]Uses:147Used by:149
Symbol 149 MovieClip [enemy14]Uses:148
Symbol 150 GraphicUsed by:151
Symbol 151 MovieClip [enemy15]Uses:150
Symbol 152 GraphicUsed by:153
Symbol 153 MovieClip [enemy16]Uses:152
Symbol 154 GraphicUsed by:155
Symbol 155 MovieClip [enemy17]Uses:154
Symbol 156 GraphicUsed by:157
Symbol 157 MovieClipUses:156Used by:158
Symbol 158 MovieClip [enemy26]Uses:157
Symbol 159 GraphicUsed by:163
Symbol 160 GraphicUsed by:161
Symbol 161 MovieClipUses:160Used by:163
Symbol 162 GraphicUsed by:163
Symbol 163 MovieClip [enemy24]Uses:159 161 162
Symbol 164 GraphicUsed by:165
Symbol 165 MovieClip [enemy19]Uses:164
Symbol 166 GraphicUsed by:167
Symbol 167 MovieClip [enemy20]Uses:166
Symbol 168 GraphicUsed by:169
Symbol 169 MovieClip [enemy21]Uses:168
Symbol 170 GraphicUsed by:171
Symbol 171 MovieClip [enemy22]Uses:170
Symbol 172 GraphicUsed by:173
Symbol 173 MovieClip [enemy23]Uses:172
Symbol 174 GraphicUsed by:175
Symbol 175 MovieClip [enemy12]Uses:174
Symbol 176 GraphicUsed by:177
Symbol 177 MovieClip [enemy10]Uses:176
Symbol 178 GraphicUsed by:179
Symbol 179 MovieClip [enemy13]Uses:178
Symbol 180 GraphicUsed by:181
Symbol 181 MovieClip [enemy11]Uses:180
Symbol 182 GraphicUsed by:183
Symbol 183 MovieClip [enemy27]Uses:182
Symbol 184 GraphicUsed by:185
Symbol 185 MovieClip [enemy28]Uses:184
Symbol 186 GraphicUsed by:187
Symbol 187 MovieClip [enemy29]Uses:186
Symbol 188 GraphicUsed by:189
Symbol 189 MovieClip [enemy30]Uses:188
Symbol 190 GraphicUsed by:191
Symbol 191 MovieClipUses:190Used by:192 193
Symbol 192 MovieClip [enemy49]Uses:191
Symbol 193 MovieClip [enemy48]Uses:191
Symbol 194 GraphicUsed by:196
Symbol 195 GraphicUsed by:196
Symbol 196 MovieClip [enemy8]Uses:194 195
Symbol 197 GraphicUsed by:198
Symbol 198 MovieClip [enemy1]Uses:197
Symbol 199 GraphicUsed by:200
Symbol 200 MovieClip [enemy2]Uses:199
Symbol 201 GraphicUsed by:202
Symbol 202 MovieClip [enemy6]Uses:201
Symbol 203 GraphicUsed by:204
Symbol 204 MovieClip [enemy3]Uses:203
Symbol 205 GraphicUsed by:206
Symbol 206 MovieClip [enemy4]Uses:205
Symbol 207 GraphicUsed by:208
Symbol 208 MovieClip [enemy5]Uses:207
Symbol 209 GraphicUsed by:210
Symbol 210 MovieClip [enemy7]Uses:209
Symbol 211 GraphicUsed by:213
Symbol 212 GraphicUsed by:213
Symbol 213 MovieClip [enemy9]Uses:211 212
Symbol 214 GraphicUsed by:215
Symbol 215 MovieClipUses:214Used by:216
Symbol 216 MovieClip [spaceShip]Uses:215
Symbol 217 GraphicUsed by:218
Symbol 218 MovieClipUses:217Used by:219
Symbol 219 MovieClip [smoke]Uses:218
Symbol 220 BitmapUsed by:221 276
Symbol 221 GraphicUses:220Used by:222
Symbol 222 MovieClip [sound_on]Uses:221
Symbol 223 BitmapUsed by:224
Symbol 224 GraphicUses:223Used by:225
Symbol 225 MovieClip [sound_off]Uses:224
Symbol 226 MovieClip [enemy76]Uses:69 71 72
Symbol 227 FontUsed by:228 231 255 258 259 260 261 277 279 280 281
Symbol 228 TextUses:227Used by:229
Symbol 229 MovieClipUses:228Used by:232 254
Symbol 230 FontUsed by:231 277 279 280 281
Symbol 231 EditableTextUses:227 230 249Used by:232
Symbol 232 MovieClip [loader_mc]Uses:229 231Used by:Timeline
Symbol 298 MovieClip [__Packages.GameBase]
Symbol 299 MovieClip [__Packages.collections.ObjectArray]
Symbol 300 MovieClip [__Packages.SConsole]
Symbol 301 MovieClip [__Packages.modules.Module]
Symbol 302 MovieClip [__Packages.mx.events.EventDispatcher]
Symbol 303 MovieClip [__Packages.GravityTunnelGame]
Symbol 304 MovieClip [__Packages.modules.screens.ScreenManager]
Symbol 305 MovieClip [__Packages.modules.screens.IScreen]
Symbol 306 MovieClip [__Packages.synchronizer.ITaskStatus]
Symbol 307 MovieClip [__Packages.synchronizer.Task]
Symbol 308 MovieClip [__Packages.synchronizer.TaskSequence]
Symbol 309 MovieClip [__Packages.modules.assets.AssetManager]
Symbol 310 MovieClip [__Packages.utils.Proxy]
Symbol 311 MovieClip [__Packages.data.GetData]
Symbol 312 MovieClip [__Packages.ui.Draw]
Symbol 313 MovieClip [__Packages.modules.system.System]
Symbol 314 MovieClip [__Packages.modules.debug.Tracer]
Symbol 315 MovieClip [__Packages.modules.debug.ITraceable]
Symbol 316 MovieClip [__Packages.modules.debug.TraceConsole]
Symbol 317 MovieClip [__Packages.modules.debug.DebugConsole]
Symbol 318 MovieClip [__Packages.mx.transitions.OnEnterFrameBeacon]
Symbol 319 MovieClip [__Packages.mx.transitions.BroadcasterMX]
Symbol 320 MovieClip [__Packages.mx.transitions.Tween]
Symbol 321 MovieClip [__Packages.mx.transitions.easing.Strong]
Symbol 322 MovieClip [__Packages.modules.screens.BaseScreen]
Symbol 323 MovieClip [__Packages.modules.screens.Loader]
Symbol 324 MovieClip [__Packages.mx.transitions.easing.None]
Symbol 325 MovieClip [__Packages.utils.Delay]
Symbol 326 MovieClip [__Packages.modules.musicmixer.MusicMixer]
Symbol 327 MovieClip [__Packages.modules.musicmixer.Track]
Symbol 328 MovieClip [__Packages.modules.musicmixer.Song]
Symbol 329 MovieClip [__Packages.mx.effects.Tween]
Symbol 330 MovieClip [__Packages.modules.musicmixer.VolumeTweener]
Symbol 331 MovieClip [__Packages.modules.musicmixer.IVolumeHandler]
Symbol 332 MovieClip [__Packages.modules.system.Ticker]
Symbol 333 MovieClip [__Packages.modules.persistant.Cookie]
Symbol 334 MovieClip [__Packages.modules.screens.ApplicationIntro]
Symbol 335 MovieClip [__Packages.utils.FrameProxy]
Symbol 336 MovieClip [__Packages.mx.utils.Delegate]
Symbol 337 MovieClip [__Packages.modules.screens.MochiLoader]
Symbol 338 MovieClip [__Packages.modules.screens.ILoader]
Symbol 339 MovieClip [__Packages.se.salomonsson.synchronizer.ITaskStatus]
Symbol 340 MovieClip [__Packages.MochiAd]
Symbol 341 MovieClip [__Packages.se.salomonsson.loader.MSLoader]
Symbol 342 MovieClip [__Packages.screens.BackgroundScreen]
Symbol 343 MovieClip [__Packages.screens.StartScreen]
Symbol 344 MovieClip [__Packages.se.salomonsson.scrolltext.ScrollText]
Symbol 345 MovieClip [__Packages.ui.ColorFade]
Symbol 346 MovieClip [__Packages.controls.KeyClickHandler]
Symbol 347 MovieClip [__Packages.se.salomonsson.scrolltext.IScrollTextItem]
Symbol 348 MovieClip [__Packages.se.salomonsson.menu.Menu]
Symbol 349 MovieClip [__Packages.se.salomonsson.menu.IMenuMarker]
Symbol 350 MovieClip [__Packages.se.salomonsson.menu.IMenuItem]
Symbol 351 MovieClip [__Packages.se.salomonsson.synchronizer.Task]
Symbol 352 MovieClip [__Packages.se.salomonsson.synchronizer.TaskSequence]
Symbol 353 MovieClip [__Packages.se.salomonsson.menu.MenuItem]
Symbol 354 MovieClip [__Packages.ui.Text]
Symbol 355 MovieClip [__Packages.se.salomonsson.menu.MenuMarker]
Symbol 356 MovieClip [__Packages.se.salomonsson.scrolltext.ScrollTextRow]
Symbol 357 MovieClip [__Packages.se.salomonsson.scrolltext.ScrollTextSpace]
Symbol 358 MovieClip [__Packages.screens.BaseMenuScreen]
Symbol 359 MovieClip [__Packages.screens.HiscoreScreen]
Symbol 360 MovieClip [__Packages.se.salomonsson.scrolltext.ScrollTextScore]
Symbol 361 MovieClip [__Packages.se.salomonsson.grav.Highscore]
Symbol 362 MovieClip [__Packages.screens.CreditsScreen]
Symbol 363 MovieClip [__Packages.se.salomonsson.menu.PositionedMenuItem]
Symbol 364 MovieClip [__Packages.screens.InstructionScreen]
Symbol 365 MovieClip [__Packages.screens.LevelScreen]
Symbol 366 MovieClip [__Packages.se.salomonsson.data.LevelParser]
Symbol 367 MovieClip [__Packages.LevelData]
Symbol 368 MovieClip [__Packages.se.salomonsson.collections.ObjectArray]
Symbol 369 MovieClip [__Packages.se.salomonsson.grav.Enemy]
Symbol 370 MovieClip [__Packages.screens.GameScreen]
Symbol 371 MovieClip [__Packages.se.salomonsson.grav.Model]
Symbol 372 MovieClip [__Packages.se.salomonsson.grav.View]
Symbol 373 MovieClip [__Packages.se.salomonsson.grav.Controller]
Symbol 374 MovieClip [__Packages.se.salomonsson.grav.GameView]
Symbol 375 MovieClip [__Packages.se.salomonsson.utils.Delay]
Symbol 376 MovieClip [__Packages.se.salomonsson.utils.Proxy]
Symbol 377 MovieClip [__Packages.se.salomonsson.grav.BackgroundView]
Symbol 378 MovieClip [__Packages.se.salomonsson.grav.WallView]
Symbol 379 MovieClip [__Packages.se.salomonsson.grav.GUIView]
Symbol 380 MovieClip [__Packages.se.salomonsson.grav.GameController]
Symbol 381 MovieClip [__Packages.modules.musicmixer.Mute]
Symbol 382 MovieClip [__Packages.screens.SubmitScreen]
Symbol 383 MovieClip [__Packages.mx.transitions.easing.Regular]
Symbol 384 MovieClip [__Packages.screens.ErrorScreen]
Symbol 233 GraphicUsed by:235 262
Symbol 234 VideoUsed by:235
Symbol 235 MovieClip [intro]Uses:233 234 SS1Used by:Timeline
Symbol 236 BitmapUsed by:237
Symbol 237 GraphicUses:236Used by:238
Symbol 238 MovieClipUses:237Used by:254
Symbol 239 BitmapUsed by:240
Symbol 240 GraphicUses:239Used by:241
Symbol 241 MovieClipUses:240Used by:254
Symbol 242 BitmapUsed by:243
Symbol 243 GraphicUses:242Used by:244
Symbol 244 MovieClipUses:243Used by:254 262
Symbol 245 BitmapUsed by:246
Symbol 246 GraphicUses:245Used by:247
Symbol 247 MovieClipUses:246Used by:248
Symbol 248 MovieClipUses:247Used by:254
Symbol 249 FontUsed by:231 250 277 279 280 281
Symbol 250 TextUses:249Used by:251
Symbol 251 MovieClipUses:250Used by:254
Symbol 252 GraphicUsed by:253
Symbol 253 MovieClip [logo]Uses:252Used by:254
Symbol 254 MovieClip [backgroundScreen]Uses:238 241 244 100 248 251 229 253Used by:Timeline
Symbol 255 TextUses:227Used by:262
Symbol 256 GraphicUsed by:257
Symbol 257 MovieClipUses:256Used by:262
Symbol 258 TextUses:227Used by:262
Symbol 259 TextUses:227Used by:262
Symbol 260 TextUses:227Used by:262
Symbol 261 TextUses:227Used by:262
Symbol 262 MovieClip [submitScreen]Uses:233 244 255 257 258 259 260 261Used by:Timeline
Symbol 263 Bitmap [tile1]Used by:276
Symbol 264 Bitmap [tile5]Used by:276
Symbol 265 Bitmap [tile3]Used by:276
Symbol 266 Bitmap [tile4]Used by:276
Symbol 267 Bitmap [tile6]Used by:276
Symbol 268 Bitmap [tile2]Used by:276
Symbol 269 Bitmap [tile12]Used by:276
Symbol 270 Bitmap [tile13]Used by:276
Symbol 271 Bitmap [tile11]Used by:276
Symbol 272 Bitmap [tile10]Used by:276
Symbol 273 Bitmap [tile9]Used by:276
Symbol 274 Bitmap [tile8]Used by:276
Symbol 275 Bitmap [tile7]Used by:276
Symbol 276 GraphicUses:263 264 265 266 267 268 269 270 271 272 273 274 275 220Used by:Timeline
Symbol 277 EditableTextUses:227 230 249Used by:278
Symbol 278 MovieClip [hiscore_header]Uses:277Used by:Timeline
Symbol 279 EditableTextUses:227 230 249Used by:282
Symbol 280 EditableTextUses:227 230 249Used by:282
Symbol 281 EditableTextUses:227 230 249Used by:282
Symbol 282 MovieClip [hiscore_score]Uses:279 280 281Used by:Timeline
Symbol 283 Bitmap [tile15]Used by:286
Symbol 284 Bitmap [tile14]Used by:286
Symbol 285 Bitmap [tile16]Used by:286
Symbol 286 GraphicUses:283 284 285Used by:Timeline
Symbol 287 FontUsed by:288
Symbol 288 EditableTextUses:287Used by:Timeline
Symbol 289 Sound [nav]Used by:Timeline
Symbol 290 Sound [back]Used by:Timeline
Symbol 291 Sound [selection]Used by:Timeline
Symbol 292 Sound [explode]Used by:Timeline
Symbol 293 Sound [l3.xml]Used by:Timeline
Symbol 294 Sound [l2.xml]Used by:Timeline
Symbol 295 Sound [l1.xml]Used by:Timeline
Symbol 296 Sound [titleScreen]Used by:Timeline
Symbol 297 GraphicUsed by:Timeline
Streaming Sound 1Used by:Symbol 235 MovieClip [intro]

Instance Names

"header"Symbol 232 MovieClip [loader_mc] Frame 1Symbol 229 MovieClip
"load_text"Symbol 232 MovieClip [loader_mc] Frame 1Symbol 231 EditableText
"bg"Symbol 254 MovieClip [backgroundScreen] Frame 1Symbol 238 MovieClip
"fg"Symbol 254 MovieClip [backgroundScreen] Frame 1Symbol 241 MovieClip
"grid"Symbol 254 MovieClip [backgroundScreen] Frame 1Symbol 244 MovieClip
"arrows"Symbol 254 MovieClip [backgroundScreen] Frame 1Symbol 248 MovieClip
"subheader"Symbol 254 MovieClip [backgroundScreen] Frame 1Symbol 251 MovieClip
"header"Symbol 254 MovieClip [backgroundScreen] Frame 1Symbol 229 MovieClip
"logo_mc"Symbol 254 MovieClip [backgroundScreen] Frame 1Symbol 253 MovieClip [logo]
"grid"Symbol 262 MovieClip [submitScreen] Frame 1Symbol 244 MovieClip
"marker"Symbol 262 MovieClip [submitScreen] Frame 1Symbol 257 MovieClip
"text"Symbol 278 MovieClip [hiscore_header] Frame 1Symbol 277 EditableText
"name"Symbol 282 MovieClip [hiscore_score] Frame 1Symbol 279 EditableText
"dots"Symbol 282 MovieClip [hiscore_score] Frame 1Symbol 280 EditableText
"score"Symbol 282 MovieClip [hiscore_score] Frame 1Symbol 281 EditableText

Special Tags

FileAttributes (69)Timeline Frame 1Access local files only, Metadata not present, AS1/AS2.
ExportAssets (56)Timeline Frame 1Symbol 2 as "enemy79"
ExportAssets (56)Timeline Frame 1Symbol 4 as "enemy87"
ExportAssets (56)Timeline Frame 1Symbol 6 as "enemy88"
ExportAssets (56)Timeline Frame 1Symbol 8 as "enemy82"
ExportAssets (56)Timeline Frame 1Symbol 10 as "enemy83"
ExportAssets (56)Timeline Frame 1Symbol 12 as "enemy84"
ExportAssets (56)Timeline Frame 1Symbol 14 as "enemy85"
ExportAssets (56)Timeline Frame 1Symbol 16 as "enemy86"
ExportAssets (56)Timeline Frame 1Symbol 18 as "enemy80"
ExportAssets (56)Timeline Frame 1Symbol 20 as "enemy81"
ExportAssets (56)Timeline Frame 1Symbol 24 as "enemy78"
ExportAssets (56)Timeline Frame 1Symbol 25 as "enemy77"
ExportAssets (56)Timeline Frame 1Symbol 29 as "enemy47"
ExportAssets (56)Timeline Frame 1Symbol 31 as "enemy38"
ExportAssets (56)Timeline Frame 1Symbol 33 as "enemy37"
ExportAssets (56)Timeline Frame 1Symbol 35 as "enemy36"
ExportAssets (56)Timeline Frame 1Symbol 37 as "enemy35"
ExportAssets (56)Timeline Frame 1Symbol 39 as "enemy34"
ExportAssets (56)Timeline Frame 1Symbol 41 as "enemy33"
ExportAssets (56)Timeline Frame 1Symbol 43 as "enemy32"
ExportAssets (56)Timeline Frame 1Symbol 45 as "enemy31"
ExportAssets (56)Timeline Frame 1Symbol 47 as "enemy46"
ExportAssets (56)Timeline Frame 1Symbol 49 as "enemy45"
ExportAssets (56)Timeline Frame 1Symbol 51 as "enemy44"
ExportAssets (56)Timeline Frame 1Symbol 53 as "enemy43"
ExportAssets (56)Timeline Frame 1Symbol 55 as "enemy42"
ExportAssets (56)Timeline Frame 1Symbol 57 as "enemy41"
ExportAssets (56)Timeline Frame 1Symbol 59 as "enemy40"
ExportAssets (56)Timeline Frame 1Symbol 61 as "enemy39"
ExportAssets (56)Timeline Frame 1Symbol 63 as "enemy65"
ExportAssets (56)Timeline Frame 1Symbol 65 as "enemy64"
ExportAssets (56)Timeline Frame 1Symbol 67 as "enemy63"
ExportAssets (56)Timeline Frame 1Symbol 73 as "enemy57"
ExportAssets (56)Timeline Frame 1Symbol 76 as "enemy62"
ExportAssets (56)Timeline Frame 1Symbol 77 as "enemy61"
ExportAssets (56)Timeline Frame 1Symbol 78 as "enemy60"
ExportAssets (56)Timeline Frame 1Symbol 84 as "enemy52"
ExportAssets (56)Timeline Frame 1Symbol 86 as "enemy51"
ExportAssets (56)Timeline Frame 1Symbol 94 as "enemy50"
ExportAssets (56)Timeline Frame 1Symbol 99 as "enemy53"
ExportAssets (56)Timeline Frame 1Symbol 103 as "enemy58"
ExportAssets (56)Timeline Frame 1Symbol 116 as "enemy54"
ExportAssets (56)Timeline Frame 1Symbol 119 as "enemy75"
ExportAssets (56)Timeline Frame 1Symbol 120 as "enemy56"
ExportAssets (56)Timeline Frame 1Symbol 124 as "enemy55"
ExportAssets (56)Timeline Frame 1Symbol 126 as "enemy59"
ExportAssets (56)Timeline Frame 1Symbol 128 as "enemy73"
ExportAssets (56)Timeline Frame 1Symbol 129 as "enemy74"
ExportAssets (56)Timeline Frame 1Symbol 131 as "enemy72"
ExportAssets (56)Timeline Frame 1Symbol 133 as "enemy71"
ExportAssets (56)Timeline Frame 1Symbol 135 as "enemy70"
ExportAssets (56)Timeline Frame 1Symbol 137 as "enemy69"
ExportAssets (56)Timeline Frame 1Symbol 139 as "enemy68"
ExportAssets (56)Timeline Frame 1Symbol 141 as "enemy67"
ExportAssets (56)Timeline Frame 1Symbol 143 as "enemy66"
ExportAssets (56)Timeline Frame 1Symbol 146 as "enemy25"
ExportAssets (56)Timeline Frame 1Symbol 148 as "enemy18"
ExportAssets (56)Timeline Frame 1Symbol 149 as "enemy14"
ExportAssets (56)Timeline Frame 1Symbol 151 as "enemy15"
ExportAssets (56)Timeline Frame 1Symbol 153 as "enemy16"
ExportAssets (56)Timeline Frame 1Symbol 155 as "enemy17"
ExportAssets (56)Timeline Frame 1Symbol 158 as "enemy26"
ExportAssets (56)Timeline Frame 1Symbol 163 as "enemy24"
ExportAssets (56)Timeline Frame 1Symbol 165 as "enemy19"
ExportAssets (56)Timeline Frame 1Symbol 167 as "enemy20"
ExportAssets (56)Timeline Frame 1Symbol 169 as "enemy21"
ExportAssets (56)Timeline Frame 1Symbol 171 as "enemy22"
ExportAssets (56)Timeline Frame 1Symbol 173 as "enemy23"
ExportAssets (56)Timeline Frame 1Symbol 175 as "enemy12"
ExportAssets (56)Timeline Frame 1Symbol 177 as "enemy10"
ExportAssets (56)Timeline Frame 1Symbol 179 as "enemy13"
ExportAssets (56)Timeline Frame 1Symbol 181 as "enemy11"
ExportAssets (56)Timeline Frame 1Symbol 183 as "enemy27"
ExportAssets (56)Timeline Frame 1Symbol 185 as "enemy28"
ExportAssets (56)Timeline Frame 1Symbol 187 as "enemy29"
ExportAssets (56)Timeline Frame 1Symbol 189 as "enemy30"
ExportAssets (56)Timeline Frame 1Symbol 192 as "enemy49"
ExportAssets (56)Timeline Frame 1Symbol 193 as "enemy48"
ExportAssets (56)Timeline Frame 1Symbol 196 as "enemy8"
ExportAssets (56)Timeline Frame 1Symbol 198 as "enemy1"
ExportAssets (56)Timeline Frame 1Symbol 200 as "enemy2"
ExportAssets (56)Timeline Frame 1Symbol 202 as "enemy6"
ExportAssets (56)Timeline Frame 1Symbol 204 as "enemy3"
ExportAssets (56)Timeline Frame 1Symbol 206 as "enemy4"
ExportAssets (56)Timeline Frame 1Symbol 208 as "enemy5"
ExportAssets (56)Timeline Frame 1Symbol 210 as "enemy7"
ExportAssets (56)Timeline Frame 1Symbol 213 as "enemy9"
ExportAssets (56)Timeline Frame 1Symbol 216 as "spaceShip"
ExportAssets (56)Timeline Frame 1Symbol 219 as "smoke"
ExportAssets (56)Timeline Frame 1Symbol 222 as "sound_on"
ExportAssets (56)Timeline Frame 1Symbol 225 as "sound_off"
ExportAssets (56)Timeline Frame 1Symbol 226 as "enemy76"
ExportAssets (56)Timeline Frame 1Symbol 232 as "loader_mc"
ExportAssets (56)Timeline Frame 1Symbol 298 as "__Packages.GameBase"
ExportAssets (56)Timeline Frame 1Symbol 299 as "__Packages.collections.ObjectArray"
ExportAssets (56)Timeline Frame 1Symbol 300 as "__Packages.SConsole"
ExportAssets (56)Timeline Frame 1Symbol 301 as "__Packages.modules.Module"
ExportAssets (56)Timeline Frame 1Symbol 302 as "__Packages.mx.events.EventDispatcher"
ExportAssets (56)Timeline Frame 1Symbol 303 as "__Packages.GravityTunnelGame"
ExportAssets (56)Timeline Frame 1Symbol 304 as "__Packages.modules.screens.ScreenManager"
ExportAssets (56)Timeline Frame 1Symbol 305 as "__Packages.modules.screens.IScreen"
ExportAssets (56)Timeline Frame 1Symbol 306 as "__Packages.synchronizer.ITaskStatus"
ExportAssets (56)Timeline Frame 1Symbol 307 as "__Packages.synchronizer.Task"
ExportAssets (56)Timeline Frame 1Symbol 308 as "__Packages.synchronizer.TaskSequence"
ExportAssets (56)Timeline Frame 1Symbol 309 as "__Packages.modules.assets.AssetManager"
ExportAssets (56)Timeline Frame 1Symbol 310 as "__Packages.utils.Proxy"
ExportAssets (56)Timeline Frame 1Symbol 311 as "__Packages.data.GetData"
ExportAssets (56)Timeline Frame 1Symbol 312 as "__Packages.ui.Draw"
ExportAssets (56)Timeline Frame 1Symbol 313 as "__Packages.modules.system.System"
ExportAssets (56)Timeline Frame 1Symbol 314 as "__Packages.modules.debug.Tracer"
ExportAssets (56)Timeline Frame 1Symbol 315 as "__Packages.modules.debug.ITraceable"
ExportAssets (56)Timeline Frame 1Symbol 316 as "__Packages.modules.debug.TraceConsole"
ExportAssets (56)Timeline Frame 1Symbol 317 as "__Packages.modules.debug.DebugConsole"
ExportAssets (56)Timeline Frame 1Symbol 318 as "__Packages.mx.transitions.OnEnterFrameBeacon"
ExportAssets (56)Timeline Frame 1Symbol 319 as "__Packages.mx.transitions.BroadcasterMX"
ExportAssets (56)Timeline Frame 1Symbol 320 as "__Packages.mx.transitions.Tween"
ExportAssets (56)Timeline Frame 1Symbol 321 as "__Packages.mx.transitions.easing.Strong"
ExportAssets (56)Timeline Frame 1Symbol 322 as "__Packages.modules.screens.BaseScreen"
ExportAssets (56)Timeline Frame 1Symbol 323 as "__Packages.modules.screens.Loader"
ExportAssets (56)Timeline Frame 1Symbol 324 as "__Packages.mx.transitions.easing.None"
ExportAssets (56)Timeline Frame 1Symbol 325 as "__Packages.utils.Delay"
ExportAssets (56)Timeline Frame 1Symbol 326 as "__Packages.modules.musicmixer.MusicMixer"
ExportAssets (56)Timeline Frame 1Symbol 327 as "__Packages.modules.musicmixer.Track"
ExportAssets (56)Timeline Frame 1Symbol 328 as "__Packages.modules.musicmixer.Song"
ExportAssets (56)Timeline Frame 1Symbol 329 as "__Packages.mx.effects.Tween"
ExportAssets (56)Timeline Frame 1Symbol 330 as "__Packages.modules.musicmixer.VolumeTweener"
ExportAssets (56)Timeline Frame 1Symbol 331 as "__Packages.modules.musicmixer.IVolumeHandler"
ExportAssets (56)Timeline Frame 1Symbol 332 as "__Packages.modules.system.Ticker"
ExportAssets (56)Timeline Frame 1Symbol 333 as "__Packages.modules.persistant.Cookie"
ExportAssets (56)Timeline Frame 1Symbol 334 as "__Packages.modules.screens.ApplicationIntro"
ExportAssets (56)Timeline Frame 1Symbol 335 as "__Packages.utils.FrameProxy"
ExportAssets (56)Timeline Frame 1Symbol 336 as "__Packages.mx.utils.Delegate"
ExportAssets (56)Timeline Frame 1Symbol 337 as "__Packages.modules.screens.MochiLoader"
ExportAssets (56)Timeline Frame 1Symbol 338 as "__Packages.modules.screens.ILoader"
ExportAssets (56)Timeline Frame 1Symbol 339 as "__Packages.se.salomonsson.synchronizer.ITaskStatus"
ExportAssets (56)Timeline Frame 1Symbol 340 as "__Packages.MochiAd"
ExportAssets (56)Timeline Frame 1Symbol 341 as "__Packages.se.salomonsson.loader.MSLoader"
ExportAssets (56)Timeline Frame 1Symbol 342 as "__Packages.screens.BackgroundScreen"
ExportAssets (56)Timeline Frame 1Symbol 343 as "__Packages.screens.StartScreen"
ExportAssets (56)Timeline Frame 1Symbol 344 as "__Packages.se.salomonsson.scrolltext.ScrollText"
ExportAssets (56)Timeline Frame 1Symbol 345 as "__Packages.ui.ColorFade"
ExportAssets (56)Timeline Frame 1Symbol 346 as "__Packages.controls.KeyClickHandler"
ExportAssets (56)Timeline Frame 1Symbol 347 as "__Packages.se.salomonsson.scrolltext.IScrollTextItem"
ExportAssets (56)Timeline Frame 1Symbol 348 as "__Packages.se.salomonsson.menu.Menu"
ExportAssets (56)Timeline Frame 1Symbol 349 as "__Packages.se.salomonsson.menu.IMenuMarker"
ExportAssets (56)Timeline Frame 1Symbol 350 as "__Packages.se.salomonsson.menu.IMenuItem"
ExportAssets (56)Timeline Frame 1Symbol 351 as "__Packages.se.salomonsson.synchronizer.Task"
ExportAssets (56)Timeline Frame 1Symbol 352 as "__Packages.se.salomonsson.synchronizer.TaskSequence"
ExportAssets (56)Timeline Frame 1Symbol 353 as "__Packages.se.salomonsson.menu.MenuItem"
ExportAssets (56)Timeline Frame 1Symbol 354 as "__Packages.ui.Text"
ExportAssets (56)Timeline Frame 1Symbol 355 as "__Packages.se.salomonsson.menu.MenuMarker"
ExportAssets (56)Timeline Frame 1Symbol 356 as "__Packages.se.salomonsson.scrolltext.ScrollTextRow"
ExportAssets (56)Timeline Frame 1Symbol 357 as "__Packages.se.salomonsson.scrolltext.ScrollTextSpace"
ExportAssets (56)Timeline Frame 1Symbol 358 as "__Packages.screens.BaseMenuScreen"
ExportAssets (56)Timeline Frame 1Symbol 359 as "__Packages.screens.HiscoreScreen"
ExportAssets (56)Timeline Frame 1Symbol 360 as "__Packages.se.salomonsson.scrolltext.ScrollTextScore"
ExportAssets (56)Timeline Frame 1Symbol 361 as "__Packages.se.salomonsson.grav.Highscore"
ExportAssets (56)Timeline Frame 1Symbol 362 as "__Packages.screens.CreditsScreen"
ExportAssets (56)Timeline Frame 1Symbol 363 as "__Packages.se.salomonsson.menu.PositionedMenuItem"
ExportAssets (56)Timeline Frame 1Symbol 364 as "__Packages.screens.InstructionScreen"
ExportAssets (56)Timeline Frame 1Symbol 365 as "__Packages.screens.LevelScreen"
ExportAssets (56)Timeline Frame 1Symbol 366 as "__Packages.se.salomonsson.data.LevelParser"
ExportAssets (56)Timeline Frame 1Symbol 367 as "__Packages.LevelData"
ExportAssets (56)Timeline Frame 1Symbol 368 as "__Packages.se.salomonsson.collections.ObjectArray"
ExportAssets (56)Timeline Frame 1Symbol 369 as "__Packages.se.salomonsson.grav.Enemy"
ExportAssets (56)Timeline Frame 1Symbol 370 as "__Packages.screens.GameScreen"
ExportAssets (56)Timeline Frame 1Symbol 371 as "__Packages.se.salomonsson.grav.Model"
ExportAssets (56)Timeline Frame 1Symbol 372 as "__Packages.se.salomonsson.grav.View"
ExportAssets (56)Timeline Frame 1Symbol 373 as "__Packages.se.salomonsson.grav.Controller"
ExportAssets (56)Timeline Frame 1Symbol 374 as "__Packages.se.salomonsson.grav.GameView"
ExportAssets (56)Timeline Frame 1Symbol 375 as "__Packages.se.salomonsson.utils.Delay"
ExportAssets (56)Timeline Frame 1Symbol 376 as "__Packages.se.salomonsson.utils.Proxy"
ExportAssets (56)Timeline Frame 1Symbol 377 as "__Packages.se.salomonsson.grav.BackgroundView"
ExportAssets (56)Timeline Frame 1Symbol 378 as "__Packages.se.salomonsson.grav.WallView"
ExportAssets (56)Timeline Frame 1Symbol 379 as "__Packages.se.salomonsson.grav.GUIView"
ExportAssets (56)Timeline Frame 1Symbol 380 as "__Packages.se.salomonsson.grav.GameController"
ExportAssets (56)Timeline Frame 1Symbol 381 as "__Packages.modules.musicmixer.Mute"
ExportAssets (56)Timeline Frame 1Symbol 382 as "__Packages.screens.SubmitScreen"
ExportAssets (56)Timeline Frame 1Symbol 383 as "__Packages.mx.transitions.easing.Regular"
ExportAssets (56)Timeline Frame 1Symbol 384 as "__Packages.screens.ErrorScreen"
ExportAssets (56)Timeline Frame 7Symbol 235 as "intro"
ExportAssets (56)Timeline Frame 7Symbol 253 as "logo"
ExportAssets (56)Timeline Frame 7Symbol 254 as "backgroundScreen"
ExportAssets (56)Timeline Frame 7Symbol 262 as "submitScreen"
ExportAssets (56)Timeline Frame 7Symbol 263 as "tile1"
ExportAssets (56)Timeline Frame 7Symbol 264 as "tile5"
ExportAssets (56)Timeline Frame 7Symbol 265 as "tile3"
ExportAssets (56)Timeline Frame 7Symbol 266 as "tile4"
ExportAssets (56)Timeline Frame 7Symbol 267 as "tile6"
ExportAssets (56)Timeline Frame 7Symbol 268 as "tile2"
ExportAssets (56)Timeline Frame 7Symbol 269 as "tile12"
ExportAssets (56)Timeline Frame 7Symbol 270 as "tile13"
ExportAssets (56)Timeline Frame 7Symbol 271 as "tile11"
ExportAssets (56)Timeline Frame 7Symbol 272 as "tile10"
ExportAssets (56)Timeline Frame 7Symbol 273 as "tile9"
ExportAssets (56)Timeline Frame 7Symbol 274 as "tile8"
ExportAssets (56)Timeline Frame 7Symbol 275 as "tile7"
ExportAssets (56)Timeline Frame 7Symbol 278 as "hiscore_header"
ExportAssets (56)Timeline Frame 7Symbol 282 as "hiscore_score"
ExportAssets (56)Timeline Frame 7Symbol 283 as "tile15"
ExportAssets (56)Timeline Frame 7Symbol 284 as "tile14"
ExportAssets (56)Timeline Frame 7Symbol 285 as "tile16"
ExportAssets (56)Timeline Frame 7Symbol 289 as "nav"
ExportAssets (56)Timeline Frame 7Symbol 290 as "back"
ExportAssets (56)Timeline Frame 7Symbol 291 as "selection"
ExportAssets (56)Timeline Frame 7Symbol 292 as "explode"
ExportAssets (56)Timeline Frame 7Symbol 293 as "l3.xml"
ExportAssets (56)Timeline Frame 7Symbol 294 as "l2.xml"
ExportAssets (56)Timeline Frame 7Symbol 295 as "l1.xml"
ExportAssets (56)Timeline Frame 7Symbol 296 as "titleScreen"

Labels

"loader"Frame 1
"start"Frame 8
"game"Frame 9




http://swfchan.com/6/28328/info.shtml
Created: 20/5 -2019 11:17:03 Last modified: 20/5 -2019 11:17:03 Server time: 22/12 -2024 12:20:06