Frame 1
function runFunc(func) {
return(func.apply(_this, arguments.slice()));
}
function isLevel(path) {
if (!(path.substr(-4) === ".lvl")) {
return(false);
}
if (!(mdm.FileSystem.fileExists(path) === true)) {
return(false);
}
return(true);
}
function isDatabase(path) {
if (!(path.substr(-4) === ".xml")) {
return(false);
}
if (!(mdm.FileSystem.fileExists(path) === true)) {
return(false);
}
return(true);
}
function isSaveGame(path) {
if (!(path.substr(-4) === ".txt")) {
return(false);
}
if (!(mdm.FileSystem.fileExists(path) === true)) {
return(false);
}
return(true);
}
function onUnload() {
mdm.Exception.DebugWindow.trace("game.swf unload() (frame 1)");
}
_this = this;
var levelFromEditor;
var levelFromCommandLine;
var levelData;
var start_point;
setLevel = function (newLevel, newStart_point) {
var _local2 = newLevel;
var _local1 = newStart_point;
levelFromEditor = {levelData:newLevel, start_point:newStart_point};
};
runFunc(function () {
var _local2 = mdm.Application.getCMDParams(1);
var _local1 = mdm.Application.getCMDParams(2);
var _local4;
var _local3;
var _local8;
if (isLevel(_local2)) {
_local4 = _local2;
}
if (isLevel(_local1)) {
_local4 = _local1;
}
if (isDatabase(_local2)) {
_local3 = _local2;
}
if (isDatabase(_local1)) {
_local3 = _local1;
}
if (isSaveGame(_local2)) {
_local8 = _local2;
}
if (isSaveGame(_local1)) {
_local8 = _local1;
}
var _local5 = mdm.Application.path;
_local4 = _local4.split(_local5).join("");
_local3 = _local3.split(_local5).join("");
_local8 = _local8.split(_local5).join("");
if (((!_local4) && (!_local3)) && (!_local8)) {
return(undefined);
}
levelFromCommandLine = {levelFile:_local4, databaseFile:_local3, droppedSave:_local8};
});
stop();
var randInterface = ("loadInterface" + Math.floor(Math.random() * 2));
this.attachMovie(randInterface, "loadInterface", 0, {filename:"data"});
var total = this.getBytesTotal();
this.onEnterFrame = function () {
var _local2 = this.getBytesLoaded();
this.loadInterface.fill_mc._xscale = (_local2 * 100) / total;
if (_framesloaded == _totalframes) {
this.loadInterface.removeMovieClip();
this.play();
delete randInterface;
delete total;
this.onEnterFrame = function () {
};
}
};
Instance of Symbol 209 MovieClip [swf\transition.swf] "transition" in Frame 1
//component parameters
onClipEvent (construct) {
snapSource_str = "ROOT.game_mc";
}
Frame 3
function sendEvent(evt_str, evt, evtEmitter) {
evtEmitter = (evtEmitter || (_this)) || this;
var _local4 = evt instanceof Object;
if (_local4 === false) {
evt = {data:evt};
}
evt.type = evt_str;
if (evtEmitter.dispatchEvent) {
evt.type = evt_str;
evtEmitter.dispatchEvent(evt);
} else if (evtEmitter.broadcastMessage) {
evtEmitter.broadcastMessage(evt_str, evt);
}
}
function make_react(defaultUnloadEmitter) {
function newReaction(eventName, newSettings) {
function get_then() {
return(reaction.then);
}
function set_then(new_func) {
reaction.then = new_func;
var _local1 = new_func instanceof Function;
var _local2 = reaction.tellThese.length > 0;
if (_local1 || (_local2)) {
listen();
if (!(reaction.untilTimeout === undefined)) {
monad.until(reaction.untilTimeout);
}
} else {
unListen();
clearTimeout(reaction.untilId);
}
}
function listen() {
if (reaction.hasListener === true) {
return(null);
}
if (reaction.emitter === undefined) {
return(null);
}
if (reaction.emitter.addEventListener) {
reaction.emitter.addEventListener(reaction.eventName, reaction.eventTarget);
} else if (reaction.emitter.addListener) {
reaction.emitter.addListener(reaction.eventTarget);
} else {
var _local1 = ((reaction.emitter._name === undefined) ? "[object]" : (("\"" + reaction.emitter._name) + "\""));
trace(((("ERROR: " + _local1) + " cannot send events. (") + reaction.eventName) + ")");
return(null);
}
reaction.hasListener = true;
}
function unListen() {
if (reaction.hasListener === false) {
return(null);
}
if (reaction.emitter === undefined) {
return(null);
}
if (reaction.emitter.removeEventListener) {
reaction.emitter.removeEventListener(reaction.eventName, reaction.eventTarget);
} else {
reaction.emitter.removeListener(reaction.eventTarget);
}
reaction.hasListener = false;
}
var reaction = {};
reaction.uid = Math.floor(Math.random() * 99);
reaction.hasListener = false;
reaction.eventName = eventName;
reaction.emitter = defaultUnloadEmitter;
reaction.fireOnce = false;
reaction.eventTarget = {};
reaction.eventTarget[reaction.eventName];
reaction.untilTimeout = undefined;
reaction.untilId = undefined;
reaction.tellThese = [];
for (var _local12 in newSettings) {
reaction[_local12] = newSettings[_local12];
}
var monad = ((reaction.monad = {}));
monad.addProperty("then", get_then, set_then);
monad.then = undefined;
monad.unListen = unListen;
monad.cleanup = function () {
for (var _local1 in reaction.tellThese) {
reaction.tellThese.splice(_local1, 1);
}
monad.then = undefined;
};
monad.disable = function () {
monad.cleanup();
monad.forget();
};
monad.fire = function () {
if (!(monad.then === reaction.then)) {
trace("WARNING: 'then' property was deleted. Now restoring it with the current reaction.");
var _local7 = monad.then;
monad.addProperty("then", get_then, set_then);
monad.then = _local7;
}
var _local6 = arguments.slice();
var _local4 = _local6[0];
monad.then.apply(null, _local6);
var _local2 = 0;
while (_local2 < reaction.tellThese.length) {
if (!reaction.tellThese[_local2].eventTarget) {
} else if (!reaction.tellThese[_local2].eventName) {
} else {
var _local3 = {};
for (var _local5 in _local4) {
_local3[_local5] = _local4[_local5];
}
_local3.type = reaction.tellEventName;
sendEvent(reaction.tellThese[_local2].eventName, _local3, reaction.tellThese[_local2].eventTarget);
}
_local2++;
}
if (reaction.fireOnce === true) {
monad.then = undefined;
}
};
reaction.eventTarget[reaction.eventName] = monad.fire;
monad.tell = function (newEventTarget, newEventName) {
if (!newEventTarget) {
return(monad);
}
if (newEventName instanceof Object) {
newEventName = newEventName.about || (newEventName.to);
}
if (!newEventName) {
newEventName = reaction.eventName;
}
var _local2 = {eventTarget:newEventTarget, eventName:newEventName};
reaction.tellThese.push(_local2);
listen();
return(monad);
};
monad.once = function () {
reaction.fireOnce = true;
return(monad);
};
monad.until = function (wait_ms) {
var _local1 = !isNaN(wait_ms);
if (_local1 === false) {
return(monad);
}
clearTimeout(reaction.untilId);
reaction.untilId = setTimeout(function () {
monad.then = undefined;
}, wait_ms);
reaction.untilTimeout = wait_ms;
return(monad);
};
monad.from = function (newEmitter) {
var _local3 = (newEmitter instanceof MovieClip) || (newEmitter instanceof Object);
if (_local3 === false) {
return(monad);
}
var _local1 = reaction.hasListener;
if (_local1) {
unListen();
}
reaction.emitter = newEmitter;
if (_local1) {
listen();
}
return(monad);
};
monad.forget = function () {
for (var _local1 in allReactions) {
if (!(allReactions[_local1] === reaction)) {
continue;
}
allReactions.splice(_local1, 1);
}
return(monad);
};
return(reaction);
}
var react = {};
var allReactions = [];
react.to = function (eventName, settings) {
var _local1 = newReaction(eventName, settings);
var _local2 = _local1.monad;
allReactions.push(_local1);
return(_local2);
};
var reactOnce = {};
reactOnce.to = function (eventName, settings) {
if (!settings) {
settings = {};
}
settings.fireOnce = true;
return(react.to(eventName, settings));
};
react.once = function () {
return(reactOnce);
};
react.unload = function (fireUnloadEvents) {
if (fireUnloadEvents === undefined) {
fireUnloadEvents = true;
}
for (var _local2 in allReactions) {
allReactions[_local2].monad.unListen();
allReactions.splice(_local2, 1);
if (fireUnloadEvents && (allReactions[_local2].eventName === "unload")) {
allReactions[_local2].monad.fire();
}
allReactions[_local2].monad.cleanup();
}
};
if (defaultUnloadEmitter) {
react.to("unload").forget().then = function () {
react.unload(true);
};
}
return(react);
}
function onUnload() {
sendEvent("unload");
for (var _local1 in _this._listeners) {
_this.removeListener(_this._listeners[_local1]);
}
_this.addListener = null;
delete _this.addListener;
}
function emptyObject(inputObject) {
if (getType(inputObject) === "array") {
inputObject.splice(0, inputObject.length);
} else {
for (var _local2 in inputObject) {
delete inputObject[_local2];
}
}
}
function getType(inputObject) {
var _local1 = "";
if (inputObject instanceof Function) {
_local1 = "function";
} else if (inputObject instanceof MovieClip) {
_local1 = "movieClip";
} else if (inputObject instanceof Array) {
_local1 = "array";
} else if (inputObject instanceof XMLNode) {
_local1 = "xml";
} else if (inputObject instanceof flash.display.BitmapData) {
_local1 = "bitmap";
} else if (inputObject instanceof Object) {
_local1 = "object";
} else {
_local1 = "variable";
}
return(_local1);
}
function copyObject(srcObj, destObj) {
if (!destObj) {
destObj = {};
}
emptyObject(destObj);
var _local4 = {};
for (var _local6 in srcObj) {
_local4[_local6] = srcObj[_local6];
}
for (var _local6 in _local4) {
var _local1 = _local4[_local6];
var _local3 = getType(_local1);
if (_local1 === srcObj) {
continue;
}
if (_local3 === "variable") {
destObj[_local6] = _local1;
}
if (_local3 === "bitmap") {
destObj[_local6] = _local1.clone();
}
if (_local3 === "xml") {
destObj[_local6] = _local1.cloneNode(true);
}
if (_local3 === "array") {
destObj[_local6] = new Array();
copyObject(_local1, destObj[_local6]);
}
if (_local3 === "object") {
destObj[_local6] = new Object();
copyObject(_local1, destObj[_local6]);
}
}
return(destObj);
}
function emptyObject(inputObject) {
if (getType(inputObject) === "array") {
inputObject.splice(0, inputObject.length);
} else {
for (var _local2 in inputObject) {
delete inputObject[_local2];
}
}
}
function getType(inputObject) {
var _local1 = "";
if (inputObject instanceof Function) {
_local1 = "function";
} else if (inputObject instanceof MovieClip) {
_local1 = "movieClip";
} else if (inputObject instanceof Array) {
_local1 = "array";
} else if (inputObject instanceof XMLNode) {
_local1 = "xml";
} else if (inputObject instanceof flash.display.BitmapData) {
_local1 = "bitmap";
} else if (inputObject instanceof Object) {
_local1 = "object";
} else {
_local1 = "variable";
}
return(_local1);
}
function copyObject(srcObj, destObj) {
if (!destObj) {
destObj = {};
}
emptyObject(destObj);
var _local4 = {};
for (var _local6 in srcObj) {
_local4[_local6] = srcObj[_local6];
}
for (var _local6 in _local4) {
var _local1 = _local4[_local6];
var _local3 = getType(_local1);
if (_local1 === srcObj) {
continue;
}
if (_local3 === "variable") {
destObj[_local6] = _local1;
}
if (_local3 === "bitmap") {
destObj[_local6] = _local1.clone();
}
if (_local3 === "xml") {
destObj[_local6] = _local1.cloneNode(true);
}
if (_local3 === "array") {
destObj[_local6] = new Array();
copyObject(_local1, destObj[_local6]);
}
if (_local3 === "object") {
destObj[_local6] = new Object();
copyObject(_local1, destObj[_local6]);
}
}
return(destObj);
}
function loadGameXml(input) {
readXml_getValue = function (newValue) {
var _local2 = null;
var _local3 = newValue.substr(0, 4);
if (_local3 == "bol_") {
var _local4 = newValue.substr(4);
newValue = _local4 == "true";
_local2 = newValue;
} else if (_local3 == "num_") {
var _local4 = newValue.substr(4);
newValue = Number(_local4);
_local2 = newValue;
} else if (_local3 == "str_") {
var _local4 = newValue.substr(4);
newValue = String(_local4);
_local2 = newValue;
} else if (isNaN(Number(newValue))) {
if (newValue == "true") {
_local2 = true;
} else if (newValue == "false") {
_local2 = false;
} else if (newValue == "undefined") {
_local2 = undefined;
} else {
var _local6 = "";
var _local5 = String.fromCharCode(10);
newValue = newValue.split(_local5).join("");
_local2 = newValue;
}
} else {
_local2 = Number(newValue);
}
return(_local2);
};
readXml = function (parentPath, targetData) {
for (var _local1 in parentPath.attributes) {
if (_local1 != "xmlType") {
var _local6 = parentPath.attributes[_local1];
targetData[_local1] = readXml_getValue(_local6);
}
}
for (var _local8 in parentPath.childNodes) {
var _local2 = parentPath.childNodes[_local8];
var _local1 = _local2.nodeName;
var _local4 = _local2.attributes.xmlType;
if (_local4 == "array") {
targetData[_local1] = new Array();
var _local7 = targetData[_local1];
readXml(_local2, _local7);
} else if (_local4 == "variable") {
var _local6 = _local2.attributes.value;
targetData[_local1] = readXml_getValue(_local6);
} else if (_local4 == "object") {
targetData[_local1] = new Object();
var _local7 = targetData[_local1];
readXml(_local2, _local7);
}
}
delete stringSlice;
};
var vow_version = 3.9;
var _local18 = function () {
function forEach(array, callback) {
var _local1 = 0;
while (_local1 < array.length) {
callback(array[_local1], _local1);
_local1++;
}
}
function enlighten(queue, fate) {
forEach(queue, function (func) {
setTimeout(function () {
func(fate);
}, 0);
});
}
var _local12 = vow_version;
var vow_output = {version:_local12, make:function () {
function enqueue(resolution, func, vow) {
var _local2 = ((resolution === "kept") ? (keepers) : (breakers));
var isBroken = Boolean(_local2 === breakers);
_local2[_local2.length] = ((!(typeof(func) === "function")) ? (vow[resolution]) : (function (value) {
try {
_local1 = func(value)_local1if (_local1 && (_local1.is_promise === true)) {
if (isBroken) {
_local1.then(vow.doBreak, vow.doBreak)} else {
_local1.then(vow.keep, vow.doBreak)}
} else {
if (isBroken) {
vow.doBreak(_local1)}
if (!isBroken) {
vow.keep(_local1)}
}
} catch(e) {
vow.doBreak(e)}
}));
}
function herald(state, value, queue) {
if (!(status === "pending")) {
return(undefined);
}
fate = value;
status = state;
enlighten(queue, fate);
keepers = [];
breakers = [];
}
function get_then() {
return(set_then);
}
var breakers = [];
var fate = undefined;
var keepers = [];
var status = "pending";
var promise = {version:vow_output.version, is_promise:true, getStatus:function () {
return(status);
}, getValue:function () {
return(fate);
}, doBreak:function (value) {
herald("broken", value, breakers);
return(this.promise);
}, keep:function (value) {
herald("kept", value, keepers);
return(this.promise);
}};
var set_then = function (kept, broken) {
var _local1 = VOW.make();
switch (status) {
case "pending" :
enqueue("kept", kept, _local1);
enqueue("break", broken, _local1);
break;
case "kept" :
enqueue("kept", kept, _local1);
enlighten(keepers, fate);
keepers = [];
break;
case "broken" :
enqueue("break", broken, _local1);
enlighten(breakers, fate);
breakers = [];
}
return(_local1);
};
promise.addProperty("then", get_then, set_then);
promise.promise = promise;
return(promise);
}, every:function (array) {
var remaining = array.length;
var results = [];
var vow = VOW.make();
if (!remaining) {
vow.keep([]);
} else {
forEach(array, function (promise, i) {
promise.then(function (value) {
results[i] = value;
remaining--;
if (remaining === 0) {
vow.keep(results);
}
}, function (reason) {
remaining = null;
vow.doBreak(reason);
});
});
}
return(vow.promise);
}, everyTried:function (array) {
var remaining = array.length;
var results = [];
var vow = VOW.make();
if (!remaining) {
vow.keep([]);
} else {
forEach(array, function (promise, i) {
promise.then(function (value) {
results[i] = value;
remaining--;
if (remaining === 0) {
vow.keep(results);
}
}, function (failReason) {
results[i] = undefined;
remaining--;
if (remaining === 0) {
vow.keep(results);
}
});
});
}
return(vow.promise);
}, first:function (array) {
function check() {
remaining--;
if ((remaining === 0) && (!found)) {
vow.doBreak();
}
}
var found = false;
var remaining = array.length;
var vow = VOW.make();
if (remaining === 0) {
vow.doBreak(array);
} else {
forEach(array, function (promise) {
promise.then(function (value) {
if (!found) {
found = true;
vow.keep(value);
}
check();
}, check);
});
}
return(vow.promise);
}, kept:function (value) {
var _local1 = VOW.make();
_local1.keep(value);
return(_local1.promise);
}, broken:function (reason) {
var _local1 = VOW.make();
_local1.doBreak(reason);
return(_local1.promise);
}, wait:function (milliseconds) {
var _local1 = function (input) {
var vow = VOW.make();
var milliseconds = ((milliseconds === undefined) ? 0 : (milliseconds));
setTimeout(function () {
vow.keep(input);
}, milliseconds);
return(vow.promise);
};
return(_local1);
}, firstWait:function (milliseconds) {
var vow = VOW.make();
milliseconds = ((milliseconds === undefined) ? 0 : (milliseconds));
setTimeout(function () {
vow.keep({});
}, milliseconds);
return(vow.promise);
}, start:function (value) {
var _local1 = VOW.make();
_local1.keep(value);
return(_local1.promise);
}, runSequence:function (sequence) {
var _local4 = VOW.make().keep();
var _local1 = 0;
while (_local1 < sequence.length) {
var _local3 = sequence[_local1];
var _local2 = _local4.then(_local3);
if (!(_local2.is_promise === true)) {
_local2 = VOW.kept();
}
_local4 = _local2;
_local1++;
}
var _local6 = _local4;
return(_local6);
}, wrap:function (func, callbackIndex) {
if (callbackIndex === undefined) {
var callbackIndex = 0;
}
return(function () {
var vow = VOW.make();
if (callbackIndex === undefined) {
var callbackIndex = (arguments.length - 1);
}
arguments[callbackIndex] = function (output) {
vow.keep(output);
};
func.apply(this, arguments);
return(vow.promise);
});
}, preApply:function (func, param) {
var args = arguments.slice(1);
return(function () {
return(func.apply(null, args));
});
}, failThru:function (failReason) {
return(failReason);
}, null:null};
vow_output.any = (vow_output.allResolved = vow_output.everyTried);
return(vow_output);
};
var VOW = _local18();
delete vow_version;
var vow = VOW.make();
var _local19;
if (!input) {
return(VOW.broken("No data"));
}
var _local24 = input instanceof XML;
var _local25 = typeof(input) === "string";
if (_local24) {
_local19 = input;
} else if (_local25) {
var _local16 = String(input);
_local16 = _local16.split("str_undefined").join("undefined");
XML.prototype.ignoreWhite = true;
_local19 = new XML(_local16);
} else {
return(VOW.broken("No data"));
}
var _local17 = {};
readXml(_local19.firstChild, _local17);
var _local20 = ROOT.restoreData(_local17);
if (_local20) {
vow.keep(_local17);
} else {
return(VOW.broken("Invalid data"));
}
return(vow.promise);
}
function loadGameFile(relativeFilePath) {
function loadGameXml(input) {
readXml_getValue = function (newValue) {
var _local2 = null;
var _local3 = newValue.substr(0, 4);
if (_local3 == "bol_") {
var _local4 = newValue.substr(4);
newValue = _local4 == "true";
_local2 = newValue;
} else if (_local3 == "num_") {
var _local4 = newValue.substr(4);
newValue = Number(_local4);
_local2 = newValue;
} else if (_local3 == "str_") {
var _local4 = newValue.substr(4);
newValue = String(_local4);
_local2 = newValue;
} else if (isNaN(Number(newValue))) {
if (newValue == "true") {
_local2 = true;
} else if (newValue == "false") {
_local2 = false;
} else if (newValue == "undefined") {
_local2 = undefined;
} else {
var _local6 = "";
var _local5 = String.fromCharCode(10);
newValue = newValue.split(_local5).join("");
_local2 = newValue;
}
} else {
_local2 = Number(newValue);
}
return(_local2);
};
readXml = function (parentPath, targetData) {
for (var _local1 in parentPath.attributes) {
if (_local1 != "xmlType") {
var _local6 = parentPath.attributes[_local1];
targetData[_local1] = readXml_getValue(_local6);
}
}
for (var _local8 in parentPath.childNodes) {
var _local2 = parentPath.childNodes[_local8];
var _local1 = _local2.nodeName;
var _local4 = _local2.attributes.xmlType;
if (_local4 == "array") {
targetData[_local1] = new Array();
var _local7 = targetData[_local1];
readXml(_local2, _local7);
} else if (_local4 == "variable") {
var _local6 = _local2.attributes.value;
targetData[_local1] = readXml_getValue(_local6);
} else if (_local4 == "object") {
targetData[_local1] = new Object();
var _local7 = targetData[_local1];
readXml(_local2, _local7);
}
}
delete stringSlice;
};
var vow_version = 3.9;
var _local18 = function () {
function forEach(array, callback) {
var _local1 = 0;
while (_local1 < array.length) {
callback(array[_local1], _local1);
_local1++;
}
}
function enlighten(queue, fate) {
forEach(queue, function (func) {
setTimeout(function () {
func(fate);
}, 0);
});
}
var _local12 = vow_version;
var vow_output = {version:_local12, make:function () {
function enqueue(resolution, func, vow) {
var _local2 = ((resolution === "kept") ? (keepers) : (breakers));
var isBroken = Boolean(_local2 === breakers);
_local2[_local2.length] = ((!(typeof(func) === "function")) ? (vow[resolution]) : (function (value) {
try {
_local1 = func(value)_local1if (_local1 && (_local1.is_promise === true)) {
if (isBroken) {
_local1.then(vow.doBreak, vow.doBreak)} else {
_local1.then(vow.keep, vow.doBreak)}
} else {
if (isBroken) {
vow.doBreak(_local1)}
if (!isBroken) {
vow.keep(_local1)}
}
} catch(e) {
vow.doBreak(e)}
}));
}
function herald(state, value, queue) {
if (!(status === "pending")) {
return(undefined);
}
fate = value;
status = state;
enlighten(queue, fate);
keepers = [];
breakers = [];
}
function get_then() {
return(set_then);
}
var breakers = [];
var fate = undefined;
var keepers = [];
var status = "pending";
var promise = {version:vow_output.version, is_promise:true, getStatus:function () {
return(status);
}, getValue:function () {
return(fate);
}, doBreak:function (value) {
herald("broken", value, breakers);
return(this.promise);
}, keep:function (value) {
herald("kept", value, keepers);
return(this.promise);
}};
var set_then = function (kept, broken) {
var _local1 = VOW.make();
switch (status) {
case "pending" :
enqueue("kept", kept, _local1);
enqueue("break", broken, _local1);
break;
case "kept" :
enqueue("kept", kept, _local1);
enlighten(keepers, fate);
keepers = [];
break;
case "broken" :
enqueue("break", broken, _local1);
enlighten(breakers, fate);
breakers = [];
}
return(_local1);
};
promise.addProperty("then", get_then, set_then);
promise.promise = promise;
return(promise);
}, every:function (array) {
var remaining = array.length;
var results = [];
var vow = VOW.make();
if (!remaining) {
vow.keep([]);
} else {
forEach(array, function (promise, i) {
promise.then(function (value) {
results[i] = value;
remaining--;
if (remaining === 0) {
vow.keep(results);
}
}, function (reason) {
remaining = null;
vow.doBreak(reason);
});
});
}
return(vow.promise);
}, everyTried:function (array) {
var remaining = array.length;
var results = [];
var vow = VOW.make();
if (!remaining) {
vow.keep([]);
} else {
forEach(array, function (promise, i) {
promise.then(function (value) {
results[i] = value;
remaining--;
if (remaining === 0) {
vow.keep(results);
}
}, function (failReason) {
results[i] = undefined;
remaining--;
if (remaining === 0) {
vow.keep(results);
}
});
});
}
return(vow.promise);
}, first:function (array) {
function check() {
remaining--;
if ((remaining === 0) && (!found)) {
vow.doBreak();
}
}
var found = false;
var remaining = array.length;
var vow = VOW.make();
if (remaining === 0) {
vow.doBreak(array);
} else {
forEach(array, function (promise) {
promise.then(function (value) {
if (!found) {
found = true;
vow.keep(value);
}
check();
}, check);
});
}
return(vow.promise);
}, kept:function (value) {
var _local1 = VOW.make();
_local1.keep(value);
return(_local1.promise);
}, broken:function (reason) {
var _local1 = VOW.make();
_local1.doBreak(reason);
return(_local1.promise);
}, wait:function (milliseconds) {
var _local1 = function (input) {
var vow = VOW.make();
var milliseconds = ((milliseconds === undefined) ? 0 : (milliseconds));
setTimeout(function () {
vow.keep(input);
}, milliseconds);
return(vow.promise);
};
return(_local1);
}, firstWait:function (milliseconds) {
var vow = VOW.make();
milliseconds = ((milliseconds === undefined) ? 0 : (milliseconds));
setTimeout(function () {
vow.keep({});
}, milliseconds);
return(vow.promise);
}, start:function (value) {
var _local1 = VOW.make();
_local1.keep(value);
return(_local1.promise);
}, runSequence:function (sequence) {
var _local4 = VOW.make().keep();
var _local1 = 0;
while (_local1 < sequence.length) {
var _local3 = sequence[_local1];
var _local2 = _local4.then(_local3);
if (!(_local2.is_promise === true)) {
_local2 = VOW.kept();
}
_local4 = _local2;
_local1++;
}
var _local6 = _local4;
return(_local6);
}, wrap:function (func, callbackIndex) {
if (callbackIndex === undefined) {
var callbackIndex = 0;
}
return(function () {
var vow = VOW.make();
if (callbackIndex === undefined) {
var callbackIndex = (arguments.length - 1);
}
arguments[callbackIndex] = function (output) {
vow.keep(output);
};
func.apply(this, arguments);
return(vow.promise);
});
}, preApply:function (func, param) {
var args = arguments.slice(1);
return(function () {
return(func.apply(null, args));
});
}, failThru:function (failReason) {
return(failReason);
}, null:null};
vow_output.any = (vow_output.allResolved = vow_output.everyTried);
return(vow_output);
};
var VOW = _local18();
delete vow_version;
var vow = VOW.make();
var _local19;
if (!input) {
return(VOW.broken("No data"));
}
var _local24 = input instanceof XML;
var _local25 = typeof(input) === "string";
if (_local24) {
_local19 = input;
} else if (_local25) {
var _local16 = String(input);
_local16 = _local16.split("str_undefined").join("undefined");
XML.prototype.ignoreWhite = true;
_local19 = new XML(_local16);
} else {
return(VOW.broken("No data"));
}
var _local17 = {};
readXml(_local19.firstChild, _local17);
var _local20 = ROOT.restoreData(_local17);
if (_local20) {
vow.keep(_local17);
} else {
return(VOW.broken("Invalid data"));
}
return(vow.promise);
}
var vow_version = 3.9;
var vow_scope = function () {
function forEach(array, callback) {
var _local1 = 0;
while (_local1 < array.length) {
callback(array[_local1], _local1);
_local1++;
}
}
function enlighten(queue, fate) {
forEach(queue, function (func) {
setTimeout(function () {
func(fate);
}, 0);
});
}
var _local12 = vow_version;
var vow_output = {version:_local12, make:function () {
function enqueue(resolution, func, vow) {
var _local2 = ((resolution === "kept") ? (keepers) : (breakers));
var isBroken = Boolean(_local2 === breakers);
_local2[_local2.length] = ((!(typeof(func) === "function")) ? (vow[resolution]) : (function (value) {
try {
_local1 = func(value)_local1if (_local1 && (_local1.is_promise === true)) {
if (isBroken) {
_local1.then(vow.doBreak, vow.doBreak)} else {
_local1.then(vow.keep, vow.doBreak)}
} else {
if (isBroken) {
vow.doBreak(_local1)}
if (!isBroken) {
vow.keep(_local1)}
}
} catch(e) {
vow.doBreak(e)}
}));
}
function herald(state, value, queue) {
if (!(status === "pending")) {
return(undefined);
}
fate = value;
status = state;
enlighten(queue, fate);
keepers = [];
breakers = [];
}
function get_then() {
return(set_then);
}
var breakers = [];
var fate = undefined;
var keepers = [];
var status = "pending";
var promise = {version:vow_output.version, is_promise:true, getStatus:function () {
return(status);
}, getValue:function () {
return(fate);
}, doBreak:function (value) {
herald("broken", value, breakers);
return(this.promise);
}, keep:function (value) {
herald("kept", value, keepers);
return(this.promise);
}};
var set_then = function (kept, broken) {
var _local1 = VOW.make();
switch (status) {
case "pending" :
enqueue("kept", kept, _local1);
enqueue("break", broken, _local1);
break;
case "kept" :
enqueue("kept", kept, _local1);
enlighten(keepers, fate);
keepers = [];
break;
case "broken" :
enqueue("break", broken, _local1);
enlighten(breakers, fate);
breakers = [];
}
return(_local1);
};
promise.addProperty("then", get_then, set_then);
promise.promise = promise;
return(promise);
}, every:function (array) {
var remaining = array.length;
var results = [];
var vow = VOW.make();
if (!remaining) {
vow.keep([]);
} else {
forEach(array, function (promise, i) {
promise.then(function (value) {
results[i] = value;
remaining--;
if (remaining === 0) {
vow.keep(results);
}
}, function (reason) {
remaining = null;
vow.doBreak(reason);
});
});
}
return(vow.promise);
}, everyTried:function (array) {
var remaining = array.length;
var results = [];
var vow = VOW.make();
if (!remaining) {
vow.keep([]);
} else {
forEach(array, function (promise, i) {
promise.then(function (value) {
results[i] = value;
remaining--;
if (remaining === 0) {
vow.keep(results);
}
}, function (failReason) {
results[i] = undefined;
remaining--;
if (remaining === 0) {
vow.keep(results);
}
});
});
}
return(vow.promise);
}, first:function (array) {
function check() {
remaining--;
if ((remaining === 0) && (!found)) {
vow.doBreak();
}
}
var found = false;
var remaining = array.length;
var vow = VOW.make();
if (remaining === 0) {
vow.doBreak(array);
} else {
forEach(array, function (promise) {
promise.then(function (value) {
if (!found) {
found = true;
vow.keep(value);
}
check();
}, check);
});
}
return(vow.promise);
}, kept:function (value) {
var _local1 = VOW.make();
_local1.keep(value);
return(_local1.promise);
}, broken:function (reason) {
var _local1 = VOW.make();
_local1.doBreak(reason);
return(_local1.promise);
}, wait:function (milliseconds) {
var _local1 = function (input) {
var vow = VOW.make();
var milliseconds = ((milliseconds === undefined) ? 0 : (milliseconds));
setTimeout(function () {
vow.keep(input);
}, milliseconds);
return(vow.promise);
};
return(_local1);
}, firstWait:function (milliseconds) {
var vow = VOW.make();
milliseconds = ((milliseconds === undefined) ? 0 : (milliseconds));
setTimeout(function () {
vow.keep({});
}, milliseconds);
return(vow.promise);
}, start:function (value) {
var _local1 = VOW.make();
_local1.keep(value);
return(_local1.promise);
}, runSequence:function (sequence) {
var _local4 = VOW.make().keep();
var _local1 = 0;
while (_local1 < sequence.length) {
var _local3 = sequence[_local1];
var _local2 = _local4.then(_local3);
if (!(_local2.is_promise === true)) {
_local2 = VOW.kept();
}
_local4 = _local2;
_local1++;
}
var _local6 = _local4;
return(_local6);
}, wrap:function (func, callbackIndex) {
if (callbackIndex === undefined) {
var callbackIndex = 0;
}
return(function () {
var vow = VOW.make();
if (callbackIndex === undefined) {
var callbackIndex = (arguments.length - 1);
}
arguments[callbackIndex] = function (output) {
vow.keep(output);
};
func.apply(this, arguments);
return(vow.promise);
});
}, preApply:function (func, param) {
var args = arguments.slice(1);
return(function () {
return(func.apply(null, args));
});
}, failThru:function (failReason) {
return(failReason);
}, null:null};
vow_output.any = (vow_output.allResolved = vow_output.everyTried);
return(vow_output);
};
var VOW = vow_scope();
delete vow_scope;
delete vow_version;
var loadFile = function (fileName) {
function success(result) {
if (result === undefined) {
return(fail());
}
vow.keep(result);
}
function fail() {
vow.dobreak(undefined);
}
function loadInternal() {
function success(result) {
loader_mc.removeMovieClip();
loader_mc._name = null;
if (result === undefined) {
return(fail());
}
vow.keep(result);
}
function fail() {
vow.doBreak(undefined);
}
function getRandomEmptyDepth(mc) {
var _local2 = 4000;
var _local3 = 1000;
var _local1 = -1;
do {
_local1 = Math.floor(Math.random() * _local3) + _local2;
} while (!(mc.getInstanceAtDepth(_local1) === undefined));
return(_local1);
}
var vow = VOW.make();
var _local2 = getRandomEmptyDepth(_root);
var _local5 = "internalFile" + _local2;
var loader_mc = _root.attachMovie(fileName, _local5, _local2, {onLoad:success});
if (!loader_mc) {
fail();
}
return(vow);
}
function loadExternal() {
function afterLoad(result) {
if (result === undefined) {
return(fail());
}
var _local2 = String.fromCharCode(13);
result = result.split(_local2).join("");
success(result);
}
var _local1 = new XML();
_local1.onData = afterLoad;
_local1.load(fileName);
}
var vow = VOW.make();
loadInternal().then(success, loadExternal);
return(vow.promise);
};
var restoreData = function (loadedData) {
function emptyObject(inputObject) {
if (getType(inputObject) === "array") {
inputObject.splice(0, inputObject.length);
} else {
for (var _local2 in inputObject) {
delete inputObject[_local2];
}
}
}
function getType(inputObject) {
var _local1 = "";
if (inputObject instanceof Function) {
_local1 = "function";
} else if (inputObject instanceof MovieClip) {
_local1 = "movieClip";
} else if (inputObject instanceof Array) {
_local1 = "array";
} else if (inputObject instanceof XMLNode) {
_local1 = "xml";
} else if (inputObject instanceof flash.display.BitmapData) {
_local1 = "bitmap";
} else if (inputObject instanceof Object) {
_local1 = "object";
} else {
_local1 = "variable";
}
return(_local1);
}
function copyObject(srcObj, destObj) {
if (!destObj) {
destObj = {};
}
emptyObject(destObj);
var _local4 = {};
for (var _local6 in srcObj) {
_local4[_local6] = srcObj[_local6];
}
for (var _local6 in _local4) {
var _local1 = _local4[_local6];
var _local3 = getType(_local1);
if (_local1 === srcObj) {
continue;
}
if (_local3 === "variable") {
destObj[_local6] = _local1;
}
if (_local3 === "bitmap") {
destObj[_local6] = _local1.clone();
}
if (_local3 === "xml") {
destObj[_local6] = _local1.cloneNode(true);
}
if (_local3 === "array") {
destObj[_local6] = new Array();
copyObject(_local1, destObj[_local6]);
}
if (_local3 === "object") {
destObj[_local6] = new Object();
copyObject(_local1, destObj[_local6]);
}
}
return(destObj);
}
function once(func) {
var done = false;
return(function () {
return((done ? (0) : ((done = true)func.apply(this, arguments))));
});
}
function emptyObject(inputObject) {
if (getType(inputObject) === "array") {
inputObject.splice(0, inputObject.length);
} else {
for (var _local2 in inputObject) {
delete inputObject[_local2];
}
}
}
function getType(inputObject) {
var _local1 = "";
if (inputObject instanceof Function) {
_local1 = "function";
} else if (inputObject instanceof MovieClip) {
_local1 = "movieClip";
} else if (inputObject instanceof Array) {
_local1 = "array";
} else if (inputObject instanceof XMLNode) {
_local1 = "xml";
} else if (inputObject instanceof flash.display.BitmapData) {
_local1 = "bitmap";
} else if (inputObject instanceof Object) {
_local1 = "object";
} else {
_local1 = "variable";
}
return(_local1);
}
function copyObject(srcObj, destObj) {
if (!destObj) {
destObj = {};
}
emptyObject(destObj);
var _local4 = {};
for (var _local6 in srcObj) {
_local4[_local6] = srcObj[_local6];
}
for (var _local6 in _local4) {
var _local1 = _local4[_local6];
var _local3 = getType(_local1);
if (_local1 === srcObj) {
continue;
}
if (_local3 === "variable") {
destObj[_local6] = _local1;
}
if (_local3 === "bitmap") {
destObj[_local6] = _local1.clone();
}
if (_local3 === "xml") {
destObj[_local6] = _local1.cloneNode(true);
}
if (_local3 === "array") {
destObj[_local6] = new Array();
copyObject(_local1, destObj[_local6]);
}
if (_local3 === "object") {
destObj[_local6] = new Object();
copyObject(_local1, destObj[_local6]);
}
}
return(destObj);
}
function getImpliedValue(input) {
var _local2;
if ((input == "undefined") || (input == undefined)) {
_local2 = undefined;
} else if ((input == "true") || (input === true)) {
_local2 = Boolean(true);
} else if ((input == "false") || (input === false)) {
_local2 = Boolean(false);
} else if (isNaN(input) == false) {
_local2 = Number(input);
} else {
_local2 = input;
}
return(_local2);
}
function getImpliedValue(input) {
var _local2;
if ((input == "undefined") || (input == undefined)) {
_local2 = undefined;
} else if ((input == "true") || (input === true)) {
_local2 = Boolean(true);
} else if ((input == "false") || (input === false)) {
_local2 = Boolean(false);
} else if (isNaN(input) == false) {
_local2 = Number(input);
} else {
_local2 = input;
}
return(_local2);
}
function resolveContainerStr(containerName, thisName) {
thisName = ((typeof(thisName) === "string") ? (thisName) : "this");
var _local2 = null;
if (containerName == "this") {
_local2 = thisName;
}
if (containerName == "_root") {
_local2 = "_root";
}
if (containerName == "_level0") {
_local2 = "_root";
}
if (containerName == "_global") {
_local2 = "_global";
}
if (_global[containerName] && (_global[containerName] instanceof Object)) {
_local2 = containerName;
}
return(_local2);
}
function resolveContainer(containerName, thisRef) {
if (typeof(thisRef) === "string") {
thisRef = _this || this;
}
var _local4 = _global[containerName];
if (containerName == "this") {
_local4 = thisRef;
}
if (containerName == "_root") {
_local4 = _root;
}
if (containerName == "_level0") {
_local4 = _root;
}
if (containerName == "_global") {
_local4 = _global;
}
return(_local4);
}
function evalPath(inputPath, defaultContainer_str, thisName) {
var thisScope = this;
var thisName = (thisName || "this");
if (typeof(inputPath) == "string") {
if (!defaultContainer_str) {
var defaultContainer_str = ((typeof(thisName) === "string") ? (thisName) : "this");
}
var endAt = inputPath.indexOf(".");
if (endAt == -1) {
endAt = inputPath.length;
}
var container_str = inputPath.substr(0, endAt);
var container_str = resolveContainerStr(container_str, thisName);
if (!container_str) {
var container_str = defaultContainer_str;
endAt = -1;
}
var theRest = inputPath.substr(endAt + 1);
var fullPath = (theRest ? ((container_str + ".") + theRest) : (container_str));
var paramStart = fullPath.indexOf("(");
if (paramStart != -1) {
var paramEnd = fullPath.indexOf(")", paramStart + 1);
var param = fullPath.substring(paramStart + 1, paramEnd);
var functionPath = fullPath.substr(0, paramStart);
var thisFunction = eval (functionPath);
var param_array = String(param).split(",");
var i = 0;
while (i < param_array.length) {
param_array[i] = getImpliedValue(param_array[i]);
i++;
}
var output = thisFunction.apply(thisScope, param_array);
} else {
var output = eval (fullPath);
}
} else {
var output = inputPath;
}
return(output);
}
function nestedEval(inputPath, defaultContainer_str, thisName) {
function replaceLastBracket(inputPath) {
function openBracketCloseParam() {
var _local2 = thisPath.indexOf(")");
var _local4 = thisPath.indexOf("(");
var _local1 = thisPath.indexOf("]");
var _local3 = ((_local1 === -1) || (_local2 < _local1)) && (_local4 === -1);
if (_local2 === -1) {
_local3 = false;
}
if (!_local3) {
return(false);
}
output = (placeHolderMarker + "xx") + thisPath.substr(1);
return(true);
}
function openBracketOpenParam() {
var _local3 = thisPath.indexOf("(");
var _local4 = thisPath.indexOf("]");
var _local10 = ((_local4 === -1) || (_local3 < _local4)) && (_local3 > -1);
if (!_local10) {
return(false);
}
var _local5 = thisPath.substring(1, _local3);
_local5 = resolve(_local5);
var _local6 = evalPath(_local5, defaultContainer_str, thisName);
var _local11 = _local6 instanceof Function;
if (_local11) {
var _local7 = thisPath.indexOf(")", _local3);
var _local9 = thisPath.substring(_local3 + 1, _local7);
var _local2 = _local9.split(",");
params_ary = [];
var _local1 = 0;
while (_local1 < _local2.length) {
params_ary[_local1] = resolve(_local2[_local1]);
_local1++;
}
var _local8 = _local6.apply(thisScope, params_ary);
var _local12 = thisPath.substr(_local4 + 1);
var _local13 = setPlaceHolder(_local8);
output = _local13 + _local12;
return(true);
}
var _local12 = thisPath.substr(_local4 + 1);
trace(("ERROR: " + _local5) + " is not a function!");
output = _local12;
return(true);
}
function openBracketCloseBracket() {
var _local1 = thisPath.indexOf("]");
var _local2 = _local1 > -1;
if (!_local2) {
return(false);
}
var _local5 = thisPath.substr(_local1 + 1);
var _local4 = thisPath.substring(1, _local1);
var _local3 = evalPath(resolve(_local4), defaultContainer_str, thisName);
var _local6 = setPlaceHolder(_local3);
output = _local6 + _local5;
return(true);
}
var _local6 = inputPath.lastIndexOf("[");
var _local15 = inputPath.substr(0, _local6);
var thisPath = inputPath.substr(_local6);
var output = thisPath.substr(1);
if (openBracketCloseParam()) {
} else if (openBracketOpenParam()) {
} else if (openBracketCloseBracket()) {
}
return(_local15 + output);
}
function resolve(inputPath) {
var _local8 = placeHolderLength - 1;
var _local7 = inputPath.split(placeHolderMarker);
var _local5 = [];
_local5[0] = _local7[0];
var _local1 = 1;
while (_local1 < _local7.length) {
var _local3 = _local7[_local1];
var _local6 = _local3.substr(0, _local8);
var _local2 = getPlaceHolder(_local6);
var _local4 = _local3.substr(_local8);
if (_local4.length > 0) {
_local5[_local1] = String(_local2) + _local4;
} else {
_local5[_local1] = _local2;
}
_local1++;
}
if ((_local5.length === 2) && (_local5[0] === "")) {
return(_local5[1]);
}
return(_local5.join(""));
}
function setPlaceHolder(storeThisValue) {
resolvedValues.push(storeThisValue);
var _local3 = resolvedValues.length - 1;
var _local1 = String(_local3);
var _local2 = placeHolderLength - 1;
while (_local1.length < _local2) {
_local1 = "0" + _local1;
}
return(placeHolderMarker + _local1);
}
function getPlaceHolder(id_str) {
var _local2 = !isNaN(id_str);
if (_local2) {
var _local3 = Number(id_str);
return(resolvedValues[_local3]);
}
return(resolvedValues[id_str]);
}
var thisScope = this;
var _local24 = typeof(inputPath);
var _local21 = _local24 === "string";
if (!_local21) {
return(inputPath);
}
var placeHolderMarker = "\u00B6";
var placeHolderLength = 3;
var resolvedValues = [];
resolvedValues.xx = "[";
while (inputPath.indexOf("[") > -1) {
inputPath = replaceLastBracket(inputPath);
}
var output = resolve(inputPath);
return(output);
}
var define_swf;
if (_global.nextDepth === undefined) {
_global.nextDepth = function (this_mc, maxDepth, minDepth) {
this_mc = (this_mc ? (this_mc) : _root);
var _local4 = ((minDepth != undefined) ? (minDepth) : 1);
var _local5 = (maxDepth ? (maxDepth) : 1048500);
for (var _local6 in this_mc) {
var _local2 = this_mc[_local6].getDepth();
if ((_local2 < _local5) && (_local2 >= _local4)) {
_local4 = _local2 + 1;
}
}
return(_local4);
};
}
callUnload = function (parent) {
function recurseClips(parent, doThis, includeSelf, isShallow) {
if (!parent) {
return(undefined);
}
if (!(parent instanceof MovieClip)) {
return(undefined);
}
if (!doThis) {
return(undefined);
}
if (includeSelf === undefined) {
includeSelf = true;
}
if (isShallow === undefined) {
isShallow = false;
}
var reportedPath;
var actualPath;
for (var nam in parent) {
if (!nam) {
continue;
}
var thisChild = parent[nam];
if (thisChild instanceof MovieClip) {
reportedPath = String(eval (thisChild._target));
actualPath = (String(eval (parent._target)) + ".") + nam;
if (reportedPath.indexOf(actualPath) != -1) {
if (isShallow) {
doThis.call(thisChild, thisChild);
}
if (!isShallow) {
recurseClips(thisChild, doThis);
}
}
}
}
if (includeSelf) {
doThis.call(parent, parent);
}
}
function unloadThis(thisItem) {
thisItem.onKillFocus(null);
thisItem.dispatchEvent({type:"unload"});
thisItem.broadcastMessage("unload");
thisItem.unload();
thisItem.onUnload();
delete thisItem.onUnload;
thisItem.removeEventListener("keyDown", thisItem);
thisItem.removeEventListener("keyUp", thisItem);
Key.removeListener(thisItem);
Mouse.removeListener(thisItem);
for (var _local3 in thisItem._listeners) {
var _local2 = thisItem._listeners[_local3];
thisItem.removeListener(_local2);
}
thisItem.addListener = function () {
};
}
recurseClips(parent, unloadThis);
};
makeStringObject = function (input_str, defaultContainer_str, thisName) {
var _local9 = null;
var _local8 = input_str.indexOf("{");
if ((_local8 == -1) || (_local8 == undefined)) {
_local9 = input_str;
} else {
var _local7 = {};
var _local12 = input_str.indexOf("}", _local8 + 1);
var _local10 = input_str.substring(_local8 + 1, _local12);
_local10 = nestedEval(_local10, defaultContainer_str, thisName);
var _local6 = _local10.split(",");
var _local2 = 0;
while (_local2 < _local6.length) {
var _local3 = _local6[_local2];
var _local4 = _local3.indexOf(":");
var _local5 = _local3.substr(0, _local4);
var _local1 = _local3.substr(_local4 + 1);
_local1 = getImpliedValue(_local1);
_local7[_local5] = _local1;
_local2++;
}
_local9 = _local7;
}
return(_local9);
};
define_swf = function (thisCommand_obj, skipSwfloader) {
function attemptStart(newClip) {
if (!newClip) {
return(undefined);
}
var tries = 30;
var startInterval;
var tryStart = function () {
if ((_this instanceof MovieClip) == false) {
clearInterval(startInterval);
}
if (newClip.start === undefined) {
tries--;
if (tries <= 0) {
clearInterval(startInterval);
}
} else {
newClip.start();
clearInterval(startInterval);
}
};
startInterval = setInterval(function () {
tryStart();
}, 1);
tryStart();
}
var prom = VOW.make();
var nextEvent = once(prom.keep);
if (thisCommand_obj.data.linkage) {
var target;
thisCommand_obj.copyObject = copyObject;
thisCommand_obj.makeStringObject = makeStringObject;
thisCommand_obj.nestedEval = nestedEval;
thisCommand_obj.evalPath = evalPath;
thisCommand_obj.getImpliedValue = getImpliedValue;
thisCommand_obj.resolveContainer = resolveContainer;
var target_str = nestedEval(thisCommand_obj.data.target, "RAM", "_this");
target = evalPath(target_str, "RAM", "_this");
var newName = nestedEval(thisCommand_obj.data.name, "RAM", "_this");
var nameIndex = 0;
if ((newName == "") || (newName == undefined)) {
do {
var newName = ("swf_" + nameIndex);
nameIndex++;
} while (target[newName]);
}
if (TRACE_SCRIPT) {
trace(((((">> Place swf: " + thisCommand_obj.data.linkage) + " named: ") + newName) + " waitForEnd: ") + thisCommand_obj.data.waitForEnd);
}
var newDepth = ((thisCommand_obj.data.depth == -1) ? (nextDepth(target)) : (nestedEval(thisCommand_obj.data.depth, "RAM", "_this")));
var storedObj = {};
copyObject(thisCommand_obj.data, storedObj);
storedObj.name = newName;
storedObj.depth = newDepth;
if (!skipSwfloader) {
ROOT.swfLoader.add(storedObj, _this);
}
var swfLoader = new MovieClipLoader();
swfLoader.root = ROOT;
swfLoader.commandData = thisCommand_obj.data.data;
swfLoader.nextEvent = nextEvent;
swfLoader.waitForEnd = thisCommand_obj.data.waitForEnd;
swfLoader.levelId = ROOT.game_mc.uid;
callUnload(target[newName]);
target[newName].removeMovieClip();
var replaceClip = target.getInstanceAtDepth(newDepth);
callUnload(replaceClip);
replaceClip.removeMovieClip();
var linkage = thisCommand_obj.data.linkage;
linkage = nestedEval(linkage, "RAM", "_this");
var externalFile = false;
target.attachMovie(linkage, newName, newDepth);
if ((target[newName] == target) || (target[newName] == undefined)) {
target.createEmptyMovieClip(newName, newDepth);
var new_pic = flash.display.BitmapData.loadBitmap(linkage);
target[newName].attachBitmap(new_pic, 0);
if ((target[newName]._width == undefined) || (target[newName]._width == 0)) {
var externalFile = true;
} else {
thisCommand_obj.data.waitForEnd = false;
}
}
swfLoader.passData = function (newClip, commandData) {
newClip.parentSprite = _this;
for (var _local4 in commandData) {
var _local1 = thisCommand_obj.nestedEval(commandData[_local4], "RAM", "_this");
_local1 = thisCommand_obj.makeStringObject(_local1, "RAM", "_this");
newClip[_local4] = getImpliedValue(_local1);
}
newClip.nextEvent = nextEvent;
newClip.onClose = function () {
ROOT.swfLoader.remove(storedObj);
};
};
swfLoader.detectLastFrame = function (newClip, nextEvent) {
var loopTimes = 0;
var _local6 = {parent:newClip, nextEvent:nextEvent, swfData:thisCommand_obj.data, loop:function (thisObj) {
loopTimes++;
if ((!thisObj) && (loopTimes == 1)) {
return(undefined);
}
var _local3 = false;
if (thisObj.parent._currentframe === undefined) {
_local3 = true;
}
if (thisObj.parent._currentframe == thisObj.parent._totalframes) {
_local3 = true;
}
if ((loopTimes > 1) && (thisObj.parent._currentframe == undefined)) {
_local3 = true;
}
if ((!thisObj) > loopTimes) {
_local3 = true;
}
if (_local3) {
ROOT.swfLoader.remove(thisObj.swfData);
clearInterval(thisObj.intervalId);
_global.ROOT = swfLoader.root;
var _local4 = swfLoader.levelId == ROOT.game_mc.uid;
if (_local4) {
thisObj.nextEvent();
}
}
}, intervalId:null, start:function () {
if (this.intervalId != null) {
clearInterval(this.intervalId);
}
this.intervalId = setInterval(this.loop, 34, this);
this.loop();
}};
newClip.detectLastFrame = _local6;
newClip.detectLastFrame.start();
};
if (externalFile) {
swfLoader.onLoadInit = function (newClip) {
swfLoader.passData(newClip, this.commandData);
if (swfLoader.waitForEnd) {
swfLoader.detectLastFrame(newClip, this.nextEvent);
}
delete swfLoader;
attemptStart(newClip);
};
swfLoader.onLoadError = function (newClip) {
if (newClip) {
this.unloadClip(newClip);
}
newClip.removeMovieClip();
delete swfLoader;
nextEvent();
};
swfLoader.onLoadComplete = function (newClip, status) {
swfLoader.passData(newClip, this.commandData);
if (swfLoader.waitForEnd === false) {
return(nextEvent());
}
if (!newClip) {
return(nextEvent());
}
if (!(status === 0)) {
return(nextEvent());
}
if (status === 404) {
return(nextEvent());
}
setTimeout(function () {
if (newClip._name === undefined) {
nextEvent();
}
}, 33);
};
swfLoader.loadClip(linkage, target[newName]);
} else {
swfLoader.passData(target[newName], swfLoader.commandData);
if (swfLoader.waitForEnd) {
swfLoader.detectLastFrame(target[newName], nextEvent);
}
delete swfLoader;
attemptStart(target[newName]);
}
if (thisCommand_obj.data.waitForEnd == false) {
if (externalFile === false) {
return(VOW.make().keep());
}
}
if (target === undefined) {
trace("* SCRIPT MISTAKE: Failed to put SWF into container: " + target_str);
return(VOW.make().keep());
}
} else {
var target;
if (!preserveSwfloader) {
ROOT.swfLoader.remove(thisCommand_obj.data);
}
if (TRACE_SCRIPT) {
trace((("removeSwf named: " + thisCommand_obj.data.name) + " from: ") + thisCommand_obj.data.target);
}
var targetName = nestedEval(thisCommand_obj.data.name, "RAM", "_this");
if ((targetName == "") || (targetName == undefined)) {
return(VOW.make().keep());
}
var autoDelay = 1;
var endTime = getTimer();
var elapsedTime = (endTime - startTime);
if (TRACE_SCRIPT) {
trace("\t elapsedTime: " + elapsedTime);
}
if (isNaN(elapsedTime) || (elapsedTime > autoDelay)) {
var defaultContainer = "OVERLAY";
target_str = nestedEval(thisCommand_obj.data.target, "RAM", "_this");
var startAt = target_str.indexOf(".");
if (startAt == -1) {
var container = defaultContainer;
var containerIsGlobal = false;
for (var nam in _global) {
if (nam == target_str) {
containerIsGlobal = true;
break;
}
}
var theRest = target_str;
target = (containerIsGlobal ? (eval (theRest)) : (eval ((container + ".") + theRest)));
if (target_str == "this") {
target = _this;
}
} else {
var containerName = target_str.substr(0, startAt);
var container = nestedEval(containerName, "RAM", "_this");
var theRest = target_str.substr(startAt + 1);
target = eval ((container + ".") + theRest);
}
if ((target == SPRITES) && (target[targetName].remove)) {
target[targetName].remove();
} else {
callUnload(target[targetName]);
target[targetName].removeMovieClip();
}
nextEvent();
} else {
if (TRACE_SCRIPT) {
trace("\t too early, wait for 1 millisecond");
}
setTimeout(function () {
var _local1 = define_swf(thisCommand_obj, skipSwfloader);
_local1.then = nextEvent;
}, autoDelay);
}
}
return(prom);
};
var result = false;
if (loadedData) {
ROOT.game_mc.removeMovieClip();
var removeSwf = function (swfCommand) {
var _local1 = {};
_local1.data = {};
copyObject(swfCommand, _local1.data);
_local1.data.linkage = null;
var _local2 = 0;
define_swf(_local1, run);
};
if (RAM.swfLoader.permSwf == undefined) {
trace("WARNING: RAM.swfLoader.permSwf is missing!");
}
if (RAM.swfLoader.permSwf) {
var s = (RAM.swfLoader.permSwf.length - 1);
while (s >= 0) {
removeSwf(RAM.swfLoader.permSwf[s]);
s--;
}
}
var deleteAllData = function (thisObject) {
for (var _local2 in thisObject) {
if (typeof(thisObject[_local2]) == "object") {
deleteAllData(thisObject[_local2]);
thisObject[_local2] = null;
delete thisObject[_local2];
} else {
thisObject[_local2] = null;
delete thisObject[_local2];
}
}
};
deleteAllData(RAM);
_global.RAM = {};
copyObject(loadedData, _global.RAM);
ROOT.completeRam();
for (var nam in _global.RAM) {
result = true;
break;
}
if (RAM.saveSettings.music.isPlaying) {
MUSIC.play(RAM.saveSettings.music.songName);
} else {
MUSIC.songName = RAM.saveSettings.music.songName;
MUSIC.stop();
}
MUSIC.volume = RAM.saveSettings.music.volume;
MUSIC.songVolume = RAM.saveSettings.music.songVolume;
SOUND.stopAll();
SOUND.volume = RAM.saveSettings.sound.volume;
for (var spriteNam in SPRITES) {
SPRITES[spriteNam].onUnload();
}
LOOP.removeSet("player");
LOOP.removeSet("scroll");
LOOP.removeSet("sprites");
setTimeout(function () {
ROOT.loadLevel(RAM.saveSettings.level, RAM.saveSettings.playerPosition).then = function () {
react.once().to("onNewLevel").then = function () {
ROOT.sendEvent("loadGame", {value:loadedData});
};
};
}, 0);
var restoreSwf = function (swfCommand) {
var _local1 = {};
_local1.data = {};
copyObject(swfCommand, _local1.data);
define_swf(_local1, true);
};
setTimeout(function () {
var _local1 = 0;
while (_local1 < RAM.swfLoader.permSwf.length) {
restoreSwf(RAM.swfLoader.permSwf[_local1]);
_local1++;
}
_local1 = 0;
while (_local1 < RAM.swfLoader.tempSwf.length) {
restoreSwf(RAM.swfLoader.tempSwf[_local1]);
_local1++;
}
}, 34);
}
return(result);
};
var loadGame = function (gameId) {
gameId = gameId || "humbird0_rpg";
gameId = gameId.split(" ").join("_");
var _local2 = SharedObject.getLocal(gameId);
var _local1 = false;
for (_local1 in _local2.data.ram) {
break;
}
_local1 = Boolean(_local1);
if (_local1) {
restoreData(_local2.data.ram);
}
return(_local1);
};
var vow = VOW.make();
var getSavedGameXml = function (internal_xml) {
ROOT.internalSavedGame.removeMovieClip();
ROOT.internalSavedGame._name = null;
loadGameXml(internal_xml).then(vow.keep);
};
ROOT.internalSavedGame.removeMovieClip();
ROOT.internalSavedGame._name = null;
ROOT.attachMovie(relativeFilePath, "internalSavedGame", 14, {onLoad:getSavedGameXml});
if (!ROOT.internalSavedGame) {
loadFile(relativeFilePath).then(function (file_str) {
return(loadGameXml(file_str));
});
} else {
return(vow);
}
}
function getImpliedValue(input) {
var _local2;
if ((input == "undefined") || (input == undefined)) {
_local2 = undefined;
} else if ((input == "true") || (input === true)) {
_local2 = Boolean(true);
} else if ((input == "false") || (input === false)) {
_local2 = Boolean(false);
} else if (isNaN(input) == false) {
_local2 = Number(input);
} else {
_local2 = input;
}
return(_local2);
}
function resolveContainerStr(containerName, thisName) {
thisName = ((typeof(thisName) === "string") ? (thisName) : "this");
var _local2 = null;
if (containerName == "this") {
_local2 = thisName;
}
if (containerName == "_root") {
_local2 = "_root";
}
if (containerName == "_level0") {
_local2 = "_root";
}
if (containerName == "_global") {
_local2 = "_global";
}
if (_global[containerName] && (_global[containerName] instanceof Object)) {
_local2 = containerName;
}
return(_local2);
}
function resolveContainer(containerName, thisRef) {
if (typeof(thisRef) === "string") {
thisRef = _this || this;
}
var _local4 = _global[containerName];
if (containerName == "this") {
_local4 = thisRef;
}
if (containerName == "_root") {
_local4 = _root;
}
if (containerName == "_level0") {
_local4 = _root;
}
if (containerName == "_global") {
_local4 = _global;
}
return(_local4);
}
function evalPath(inputPath, defaultContainer_str, thisName) {
var thisScope = this;
var thisName = (thisName || "this");
if (typeof(inputPath) == "string") {
if (!defaultContainer_str) {
var defaultContainer_str = ((typeof(thisName) === "string") ? (thisName) : "this");
}
var endAt = inputPath.indexOf(".");
if (endAt == -1) {
endAt = inputPath.length;
}
var container_str = inputPath.substr(0, endAt);
var container_str = resolveContainerStr(container_str, thisName);
if (!container_str) {
var container_str = defaultContainer_str;
endAt = -1;
}
var theRest = inputPath.substr(endAt + 1);
var fullPath = (theRest ? ((container_str + ".") + theRest) : (container_str));
var paramStart = fullPath.indexOf("(");
if (paramStart != -1) {
var paramEnd = fullPath.indexOf(")", paramStart + 1);
var param = fullPath.substring(paramStart + 1, paramEnd);
var functionPath = fullPath.substr(0, paramStart);
var thisFunction = eval (functionPath);
var param_array = String(param).split(",");
var i = 0;
while (i < param_array.length) {
param_array[i] = getImpliedValue(param_array[i]);
i++;
}
var output = thisFunction.apply(thisScope, param_array);
} else {
var output = eval (fullPath);
}
} else {
var output = inputPath;
}
return(output);
}
function nestedEval(inputPath, defaultContainer_str, thisName) {
function replaceLastBracket(inputPath) {
function openBracketCloseParam() {
var _local2 = thisPath.indexOf(")");
var _local4 = thisPath.indexOf("(");
var _local1 = thisPath.indexOf("]");
var _local3 = ((_local1 === -1) || (_local2 < _local1)) && (_local4 === -1);
if (_local2 === -1) {
_local3 = false;
}
if (!_local3) {
return(false);
}
output = (placeHolderMarker + "xx") + thisPath.substr(1);
return(true);
}
function openBracketOpenParam() {
var _local3 = thisPath.indexOf("(");
var _local4 = thisPath.indexOf("]");
var _local10 = ((_local4 === -1) || (_local3 < _local4)) && (_local3 > -1);
if (!_local10) {
return(false);
}
var _local5 = thisPath.substring(1, _local3);
_local5 = resolve(_local5);
var _local6 = evalPath(_local5, defaultContainer_str, thisName);
var _local11 = _local6 instanceof Function;
if (_local11) {
var _local7 = thisPath.indexOf(")", _local3);
var _local9 = thisPath.substring(_local3 + 1, _local7);
var _local2 = _local9.split(",");
params_ary = [];
var _local1 = 0;
while (_local1 < _local2.length) {
params_ary[_local1] = resolve(_local2[_local1]);
_local1++;
}
var _local8 = _local6.apply(thisScope, params_ary);
var _local12 = thisPath.substr(_local4 + 1);
var _local13 = setPlaceHolder(_local8);
output = _local13 + _local12;
return(true);
}
var _local12 = thisPath.substr(_local4 + 1);
trace(("ERROR: " + _local5) + " is not a function!");
output = _local12;
return(true);
}
function openBracketCloseBracket() {
var _local1 = thisPath.indexOf("]");
var _local2 = _local1 > -1;
if (!_local2) {
return(false);
}
var _local5 = thisPath.substr(_local1 + 1);
var _local4 = thisPath.substring(1, _local1);
var _local3 = evalPath(resolve(_local4), defaultContainer_str, thisName);
var _local6 = setPlaceHolder(_local3);
output = _local6 + _local5;
return(true);
}
var _local6 = inputPath.lastIndexOf("[");
var _local15 = inputPath.substr(0, _local6);
var thisPath = inputPath.substr(_local6);
var output = thisPath.substr(1);
if (openBracketCloseParam()) {
} else if (openBracketOpenParam()) {
} else if (openBracketCloseBracket()) {
}
return(_local15 + output);
}
function resolve(inputPath) {
var _local8 = placeHolderLength - 1;
var _local7 = inputPath.split(placeHolderMarker);
var _local5 = [];
_local5[0] = _local7[0];
var _local1 = 1;
while (_local1 < _local7.length) {
var _local3 = _local7[_local1];
var _local6 = _local3.substr(0, _local8);
var _local2 = getPlaceHolder(_local6);
var _local4 = _local3.substr(_local8);
if (_local4.length > 0) {
_local5[_local1] = String(_local2) + _local4;
} else {
_local5[_local1] = _local2;
}
_local1++;
}
if ((_local5.length === 2) && (_local5[0] === "")) {
return(_local5[1]);
}
return(_local5.join(""));
}
function setPlaceHolder(storeThisValue) {
resolvedValues.push(storeThisValue);
var _local3 = resolvedValues.length - 1;
var _local1 = String(_local3);
var _local2 = placeHolderLength - 1;
while (_local1.length < _local2) {
_local1 = "0" + _local1;
}
return(placeHolderMarker + _local1);
}
function getPlaceHolder(id_str) {
var _local2 = !isNaN(id_str);
if (_local2) {
var _local3 = Number(id_str);
return(resolvedValues[_local3]);
}
return(resolvedValues[id_str]);
}
var thisScope = this;
var _local24 = typeof(inputPath);
var _local21 = _local24 === "string";
if (!_local21) {
return(inputPath);
}
var placeHolderMarker = "\u00B6";
var placeHolderLength = 3;
var resolvedValues = [];
resolvedValues.xx = "[";
while (inputPath.indexOf("[") > -1) {
inputPath = replaceLastBracket(inputPath);
}
var output = resolve(inputPath);
return(output);
}
function emptyObject(inputObject) {
if (getType(inputObject) === "array") {
inputObject.splice(0, inputObject.length);
} else {
for (var _local2 in inputObject) {
delete inputObject[_local2];
}
}
}
function getType(inputObject) {
var _local1 = "";
if (inputObject instanceof Function) {
_local1 = "function";
} else if (inputObject instanceof MovieClip) {
_local1 = "movieClip";
} else if (inputObject instanceof Array) {
_local1 = "array";
} else if (inputObject instanceof XMLNode) {
_local1 = "xml";
} else if (inputObject instanceof flash.display.BitmapData) {
_local1 = "bitmap";
} else if (inputObject instanceof Object) {
_local1 = "object";
} else {
_local1 = "variable";
}
return(_local1);
}
function copyObject(srcObj, destObj) {
if (!destObj) {
destObj = {};
}
emptyObject(destObj);
var _local4 = {};
for (var _local6 in srcObj) {
_local4[_local6] = srcObj[_local6];
}
for (var _local6 in _local4) {
var _local1 = _local4[_local6];
var _local3 = getType(_local1);
if (_local1 === srcObj) {
continue;
}
if (_local3 === "variable") {
destObj[_local6] = _local1;
}
if (_local3 === "bitmap") {
destObj[_local6] = _local1.clone();
}
if (_local3 === "xml") {
destObj[_local6] = _local1.cloneNode(true);
}
if (_local3 === "array") {
destObj[_local6] = new Array();
copyObject(_local1, destObj[_local6]);
}
if (_local3 === "object") {
destObj[_local6] = new Object();
copyObject(_local1, destObj[_local6]);
}
}
return(destObj);
}
function getImpliedValue(input) {
var _local2;
if ((input == "undefined") || (input == undefined)) {
_local2 = undefined;
} else if ((input == "true") || (input === true)) {
_local2 = Boolean(true);
} else if ((input == "false") || (input === false)) {
_local2 = Boolean(false);
} else if (isNaN(input) == false) {
_local2 = Number(input);
} else {
_local2 = input;
}
return(_local2);
}
function resolveContainerStr(containerName, thisName) {
thisName = ((typeof(thisName) === "string") ? (thisName) : "this");
var _local2 = null;
if (containerName == "this") {
_local2 = thisName;
}
if (containerName == "_root") {
_local2 = "_root";
}
if (containerName == "_level0") {
_local2 = "_root";
}
if (containerName == "_global") {
_local2 = "_global";
}
if (_global[containerName] && (_global[containerName] instanceof Object)) {
_local2 = containerName;
}
return(_local2);
}
function resolveContainer(containerName, thisRef) {
if (typeof(thisRef) === "string") {
thisRef = _this || this;
}
var _local4 = _global[containerName];
if (containerName == "this") {
_local4 = thisRef;
}
if (containerName == "_root") {
_local4 = _root;
}
if (containerName == "_level0") {
_local4 = _root;
}
if (containerName == "_global") {
_local4 = _global;
}
return(_local4);
}
function evalPath(inputPath, defaultContainer_str, thisName) {
var thisScope = this;
var thisName = (thisName || "this");
if (typeof(inputPath) == "string") {
if (!defaultContainer_str) {
var defaultContainer_str = ((typeof(thisName) === "string") ? (thisName) : "this");
}
var endAt = inputPath.indexOf(".");
if (endAt == -1) {
endAt = inputPath.length;
}
var container_str = inputPath.substr(0, endAt);
var container_str = resolveContainerStr(container_str, thisName);
if (!container_str) {
var container_str = defaultContainer_str;
endAt = -1;
}
var theRest = inputPath.substr(endAt + 1);
var fullPath = (theRest ? ((container_str + ".") + theRest) : (container_str));
var paramStart = fullPath.indexOf("(");
if (paramStart != -1) {
var paramEnd = fullPath.indexOf(")", paramStart + 1);
var param = fullPath.substring(paramStart + 1, paramEnd);
var functionPath = fullPath.substr(0, paramStart);
var thisFunction = eval (functionPath);
var param_array = String(param).split(",");
var i = 0;
while (i < param_array.length) {
param_array[i] = getImpliedValue(param_array[i]);
i++;
}
var output = thisFunction.apply(thisScope, param_array);
} else {
var output = eval (fullPath);
}
} else {
var output = inputPath;
}
return(output);
}
function loadImage(file, target, newName, newDepth, isVisible) {
function once(func) {
var done = false;
return(function () {
return((done ? (0) : ((done = true)func.apply(this, arguments))));
});
}
function unload() {
if (!(cleanupInterval === null)) {
clearInterval(cleanupInterval);
cleanupInterval = null;
}
if (return_obj.content) {
waitForUnload_trigger();
return_obj.onUnload(return_obj.content);
return_obj.broadcastMessage("unload");
}
removeEvents();
}
function makeOnUnload(placeIntoThis) {
if (contentExists() === false) {
return(undefined);
}
if (placeIntoThis.onUnload) {
return(undefined);
}
placeIntoThis.onUnload = unload;
}
function removeEvents() {
detectTargetUnload.unload = undefined;
delete detectTargetUnload.unload;
target.removeEventListener("unload", detectTargetUnload);
target.removeListener(detectTargetUnload);
for (var _local2 in return_obj._listeners) {
var _local1 = return_obj._listeners[_local2];
return_obj.removeListener(_local1);
}
return_obj._listeners = undefined;
delete return_obj._listeners;
return_obj.addListener = undefined;
delete return_obj.addListener;
return_obj.removeListener = undefined;
delete return_obj.removeListener;
return_obj.broadcastMessage = undefined;
delete return_obj.broadcastMessage;
target.removeListener(return_obj);
}
function getBitmap() {
if (contentExists() === false) {
return(undefined);
}
if (!loadedBitmap) {
var _local2 = return_obj.content._width;
var _local1 = return_obj.content._height;
if (!_local2) {
_local2 = 1;
}
if (!_local1) {
_local1 = 1;
}
loadedBitmap = new flash.display.BitmapData(_local2, _local1, true, 0);
loadedBitmap.draw(return_obj.content);
}
return(loadedBitmap);
}
function detectLastFrame(anim_mc) {
var _local1 = {loop:function () {
if ((anim_mc._currentframe == 0) || (anim_mc._currentframe == undefined)) {
clearInterval(detectLastFrame_interval);
waitForAnim_queue.splice(0, waitForAnim_queue.length);
} else if (anim_mc._currentframe == anim_mc._totalframes) {
clearInterval(detectLastFrame_interval);
isDoneAnimating = true;
waitForAnim_trigger();
return_obj.onAnimDone(return_obj.content, return_obj.getBitmap);
return_obj.broadcastMessage("onAnimDone", return_obj.content, return_obj.getBitmap, return_obj.file);
delete return_obj.onAnimDone;
waitForAnim_queue.splice(0, waitForAnim_queue.length);
}
}};
detectLastFrame_interval = setInterval(_local1.loop, detectLastFrame_delay);
_local1.loop();
}
function contentExists() {
return(!(return_obj.content._currentframe === undefined));
}
function waitForLoad_trigger() {
var _local1 = 0;
while (_local1 < waitForLoad_queue.length) {
waitForLoad_queue[_local1].apply(return_obj.content, [return_obj.content, return_obj.getBitmap, return_obj.file]);
_local1++;
}
waitForLoad_queue.splice(0, waitForLoad_queue.length);
}
function waitForInit_trigger() {
var _local1 = 0;
while (_local1 < waitForInit_queue.length) {
waitForInit_queue[_local1].apply(return_obj.content, [return_obj.content, return_obj.getBitmap, return_obj.file]);
_local1++;
}
waitForInit_queue.splice(0, waitForInit_queue.length);
}
function waitForAnim_trigger() {
var _local1 = 0;
while (_local1 < waitForAnim_queue.length) {
waitForAnim_queue[_local1].apply(return_obj.content, [return_obj.content, return_obj.getBitmap, return_obj.file]);
_local1++;
}
waitForAnim_queue.splice(0, waitForAnim_queue.length);
}
function waitForUnload_trigger() {
var _local1 = 0;
while (_local1 < waitForUnload_queue.length) {
waitForUnload_queue[_local1].apply(return_obj.content, [return_obj.content, return_obj.getBitmap, return_obj.file]);
_local1++;
}
waitForUnload_queue.splice(0, waitForUnload_queue.length);
}
function placeClip() {
var newImage = target.attachMovie(file, newName, newDepth, {_visible:isVisible});
var newImage = target[newName];
if ((!(target.getInstanceAtDepth(newDepth) === undefined)) && (newImage != target)) {
loadedBitmap = null;
return_obj.content = newImage;
isLoaded = true;
makeOnUnload(return_obj.content);
waitForLoad_trigger();
return_obj.broadcastMessage("onLoad", return_obj.content, return_obj.getBitmap, file);
return_obj.onLoad(return_obj.content, return_obj.getBitmap, file);
detectLastFrame(return_obj.content);
setTimeout(function (file) {
waitForInit_trigger();
return_obj.onLoadInit(return_obj.content, return_obj.getBitmap, file);
return_obj.broadcastMessage("onLoadInit", return_obj.content, return_obj.getBitmap, file);
return_obj.broadcastMessage("complete", return_obj.content, return_obj.getBitmap, file);
}, 1, file);
} else {
var newImage = target.createEmptyMovieClip(newName, newDepth);
newImage._visible = isVisible;
if (file.generateFilterRect != undefined) {
var _local1 = file;
}
if (file.generateFilterRect == undefined) {
var _local1 = flash.display.BitmapData.loadBitmap(file);
}
newImage.attachBitmap(_local1, 0, true, true);
if (!(newImage.getInstanceAtDepth(0) === undefined)) {
loadedBitmap = _local1;
return_obj.content = newImage;
isLoaded = true;
makeOnUnload(return_obj.content);
waitForLoad_trigger();
return_obj.broadcastMessage("onLoad", return_obj.content, return_obj.getBitmap, file);
return_obj.onLoad(return_obj.content, return_obj.getBitmap, file);
setTimeout(function (file) {
waitForInit_trigger();
return_obj.onLoadInit(return_obj.content, return_obj.getBitmap, file);
return_obj.broadcastMessage("onLoadInit", return_obj.content, return_obj.getBitmap, file);
return_obj.broadcastMessage("complete", return_obj.content, return_obj.getBitmap, file);
}, 0, file);
isDoneAnimating = true;
waitForAnim_trigger();
return_obj.onAnimDone(return_obj.content, return_obj.getBitmap, file);
return_obj.broadcastMessage("onAnimDone", return_obj.content, return_obj.getBitmap, file);
delete return_obj.onAnimDone;
} else {
var loader = new MovieClipLoader();
loadedBitmap = null;
return_obj.content = undefined;
loader.onLoadComplete = function (loadedClip, loadStatus) {
newImage._visible = isVisible;
loadedBitmap = null;
return_obj.content = loadedClip;
isLoaded = true;
waitForLoad_trigger();
return_obj.broadcastMessage("onLoad", return_obj.content, null, file);
return_obj.onLoad(return_obj.content, null, file);
};
loader.onLoadInit = function (loadedClip) {
makeOnUnload(return_obj.content);
detectLastFrame(return_obj.content);
setTimeout(function (file) {
waitForInit_trigger();
return_obj.onLoadInit(return_obj.content, return_obj.getBitmap, file);
return_obj.broadcastMessage("onLoadInit", return_obj.content, return_obj.getBitmap, file);
return_obj.broadcastMessage("complete", return_obj.content, return_obj.getBitmap, file);
}, 0, file);
};
loader.onLoadInit = once(loader.onLoadInit);
loader.onLoadError = function () {
if (newName) {
removeClip(target[newName]);
}
return_obj.content = undefined;
waitForLoad_queue.splice(0, waitForLoad_queue.length);
waitForInit_queue.splice(0, waitForInit_queue.length);
waitForAnim_queue.splice(0, waitForAnim_queue.length);
var _local1 = {file:file};
return_obj.onLoadError(_local1);
return_obj.broadcastMessage("onLoadError", _local1);
};
loader.onLoadError = once(loader.onLoadError);
loader.loadClip(file, newImage);
if (isLoaded) {
return_obj.content = target[newName];
setTimeout(function (file) {
loader.onLoadInit(return_obj.content, return_obj.getBitmap, file);
}, 0, file);
}
}
}
}
function removeClip(clip_mc) {
if (!clip_mc) {
return(undefined);
}
clip_mc.onUnload();
delete clip_mc.onUnload;
clip_mc.removeMovieClip();
}
if (_global.nextDepth === undefined) {
_global.nextDepth = function (this_mc, maxDepth, minDepth) {
this_mc = (this_mc ? (this_mc) : _root);
var _local4 = ((minDepth != undefined) ? (minDepth) : 1);
var _local5 = (maxDepth ? (maxDepth) : 1048500);
for (var _local6 in this_mc) {
var _local2 = this_mc[_local6].getDepth();
if ((_local2 < _local5) && (_local2 >= _local4)) {
_local4 = _local2 + 1;
}
}
return(_local4);
};
}
var detectLastFrame_delay = 10;
var return_obj;
var isLoaded = false;
var isInit = false;
var isDoneAnimating = false;
var waitForLoad_queue = [];
var waitForInit_queue = [];
var waitForAnim_queue = [];
var waitForUnload_queue = [];
var loadedBitmap = null;
var detectTargetUnload = {};
var detectLastFrame_interval = null;
var cleanupInterval = null;
var unload = once(unload);
detectLastFrame = once(detectLastFrame);
return_obj = {file:file, onLoadInit:function () {
}, onLoadError:function () {
}, onAnimDone:function () {
}, content:undefined, waitForLoad:function (newCallback) {
if (isLoaded) {
newCallback.apply(return_obj.content, [return_obj.content, getBitmap, file]);
} else {
waitForLoad_queue.push(newCallback);
}
return(return_obj);
}, waitForInit:function (newCallback) {
if (isInit) {
newCallback.apply(return_obj.content, [return_obj.content, getBitmap, file]);
} else {
waitForInit_queue.push(newCallback);
}
return(return_obj);
}, waitForAnim:function (newCallback) {
if (isDoneAnimating) {
newCallback.apply(return_obj.content, [return_obj.content, getBitmap, file]);
} else {
waitForAnim_queue.push(newCallback);
}
return(return_obj);
}, waitForUnload:function (newCallback) {
waitForUnload_queue.push(newCallback);
return(return_obj);
}, getBitmap:getBitmap, unload:unload, removeEvents:removeEvents};
AsBroadcaster.initialize(return_obj);
detectTargetUnload.unload = unload;
if (target.addEventListener) {
target.addEventListener("unload", detectTargetUnload);
} else if (target.addListener) {
target.addListener(detectTargetUnload);
}
var _local17 = Math.floor(Math.random() * 300);
setTimeout(function () {
cleanupInterval = setInterval(function () {
var _local1 = contentExists();
if (_local1) {
return(undefined);
}
unload();
}, 3000);
}, _local17);
if (isVisible === undefined) {
isVisible = true;
}
var target = (target || this);
var newDepth = ((newDepth != undefined) ? (newDepth) : (nextDepth(target)));
var newName = (newName || ("image_" + newDepth));
newName = String(newName);
setTimeout(function () {
removeClip(target[newName]);
placeClip();
}, 0);
return(return_obj);
}
function make_avoidLoopPanic(additionalCalls) {
if (isNaN(additionalCalls)) {
additionalCalls = 0;
}
var _local1 = 4 + additionalCalls;
var thresh = Math.floor(256 / _local1);
var calls = 0;
var func_list = [];
return(function (func) {
trace("AVOID_LOOP_PANIC()");
func_list.push(func);
calls++;
if (calls < thresh) {
func_list.shift()();
} else {
setTimeout(function () {
calls = 0;
func_list.shift()();
}, 0);
}
});
}
function newGame(startLevel, startAt, commonLevel) {
RAM.playerSprite = {};
copyObject(ROM.playerSprite, RAM.playerSprite);
startLevel = startLevel || (ROM.startingPlace.level);
startAt = startAt || ({x:ROM.startingPlace.x, y:ROM.startingPlace.y});
ROOT.loadLevel(startLevel, startAt);
}
function startGame() {
function setVolume() {
if (!(RAM.saveSettings.sound.volume === undefined)) {
SOUND.volume = RAM.saveSettings.sound.volume;
}
if (!(RAM.saveSettings.music.volume === undefined)) {
MUSIC.volume = RAM.saveSettings.music.volume;
}
return(VOW.make().keep());
}
function showTitleScreen() {
var _local2 = Boolean(!(ROM.titleScreen === undefined));
if (!_local2) {
return(VOW.make().keep());
}
var _local1 = VOW.make();
_this.attachMovie("titleScreen_mc", "titleScreen_mc", 1, {newGame:_local1.keep});
return(_local1.promise);
}
function loadCommonLevel() {
var _local1 = ROM.commonLevel;
var _local2 = VOW.make().keep();
if (!ROOT.common) {
if (_local1.substr(-4) === ".lvl") {
_local2 = ROOT.loadCommonLevel(_local1);
}
}
return(_local2);
}
function beginDroppedSavedGame() {
function droppedSaveLoaded(fileContents_str) {
loadGameXml(fileContents_str).then(vow.keep, vow.doBreak);
}
var vow = VOW.make();
var _local8 = function (fileName) {
function success(result) {
if (result === undefined) {
return(fail());
}
vow.keep(result);
}
function fail() {
vow.dobreak(undefined);
}
function loadInternal() {
function success(result) {
loader_mc.removeMovieClip();
loader_mc._name = null;
if (result === undefined) {
return(fail());
}
vow.keep(result);
}
function fail() {
vow.doBreak(undefined);
}
function getRandomEmptyDepth(mc) {
var _local2 = 4000;
var _local3 = 1000;
var _local1 = -1;
do {
_local1 = Math.floor(Math.random() * _local3) + _local2;
} while (!(mc.getInstanceAtDepth(_local1) === undefined));
return(_local1);
}
var vow = VOW.make();
var _local2 = getRandomEmptyDepth(_root);
var _local5 = "internalFile" + _local2;
var loader_mc = _root.attachMovie(fileName, _local5, _local2, {onLoad:success});
if (!loader_mc) {
fail();
}
return(vow);
}
function loadExternal() {
function afterLoad(result) {
if (result === undefined) {
return(fail());
}
var _local2 = String.fromCharCode(13);
result = result.split(_local2).join("");
success(result);
}
var _local1 = new XML();
_local1.onData = afterLoad;
_local1.load(fileName);
}
var vow = VOW.make();
loadInternal().then(success, loadExternal);
return(vow.promise);
};
if (levelFromCommandLine.droppedSave) {
_local8(levelFromCommandLine.droppedSave).then(droppedSaveLoaded, vow.doBreak);
} else {
return(VOW.broken());
}
return(vow.promise);
}
function beginGameFromEditor() {
if (!levelFromEditor) {
return(VOW.make().doBreak());
}
var _local3 = levelFromEditor.levelData;
var _local2 = levelFromEditor.start_point || (screenCenter);
_global.LEVEL = (ROOT.game_mc = _this.attachMovie("game_mc", "game_mc", 1, {start_point:_local2, levelData:_local3}));
AsBroadcaster.initialize(ROOT.game_mc);
return(VOW.make().keep());
}
function beginGameNormally() {
var _local2 = ROM.startingPlace.level;
var _local1 = {x:ROM.startingPlace.x, y:ROM.startingPlace.y} || (screenCenter);
var _local3 = ROM.commonLevel;
if (levelFromCommandLine.levelFile) {
_local2 = levelFromCommandLine.levelFile;
_local1 = screenCenter;
}
newGame(_local2, _local1, _local3);
}
var screenCenter = {x:150, y:120};
var _local9 = default_databaseFile;
if ((!levelFromEditor) && (levelFromCommandLine.databaseFile)) {
_local9 = levelFromCommandLine.databaseFile;
}
var _local6 = beginGameNormally;
if (levelFromEditor) {
_local6 = beginGameFromEditor;
}
if (levelFromCommandLine.droppedSave) {
_local6 = beginDroppedSavedGame;
}
var _local10 = showTitleScreen;
var _local15 = VOW.make().keep;
if (!(_local6 === beginGameNormally)) {
_local10 = _local15;
}
loadDatabase(_local9).then(setVolume).then(_local10).then(loadCommonLevel).then(_local6);
}
function clearHud() {
for (var _local1 in HUD) {
if (HUD[_local1] === HUD) {
continue;
}
HUD[_local1].removeMovieClip();
}
}
function loadDatabase(databaseFile) {
function done() {
vow.keep();
}
function getDatabaseXml(internal_xml) {
ROOT.readXml(internal_xml.firstChild, ROM);
ROOT.completeRom();
ROOT.resetRam();
ROOT.completeRam();
done();
}
var vow = VOW.make();
ROOT.internalDatabase.removeMovieClip();
ROOT.internalDatabase._name = null;
ROOT.attachMovie(databaseFile, "internalDatabase", 5, {onLoad:getDatabaseXml});
if (ROOT.internalDatabase) {
return(vow.promise);
}
if (ROOT.internalDatabase === undefined) {
var database_xml = new XML();
database_xml.onLoad = function (success) {
if (success) {
delete database_xml.onLoad;
getDatabaseXml(database_xml);
} else {
trace("No external nor internal database at all!\n Creating empty database");
_global.ROM = {};
ROOT.completeRom();
ROOT.resetRam();
ROOT.completeRam();
done();
}
};
database_xml.load(databaseFile);
}
return(vow.promise);
}
function loadCommonLevel(filePath) {
function done() {
vow.keep();
}
var vow = VOW.make();
if (ROOT.common) {
callUnload(ROOT.common);
ROOT.common.removeMovieClip();
}
common_xml.filePath = filePath;
var _local2 = function (internalCommon_xml) {
ROOT.internalCommon.removeMovieClip();
ROOT.internalCommon._name = null;
var _local1 = {};
readXml(internalCommon_xml.firstChild, _local1);
ROOT.common = ROOT.attachMovie("commonLevel", "common", 901, {levelData:_local1.level, _visible:false});
done();
};
ROOT.internalCommon.removeMovieClip();
ROOT.internalCommon._name = null;
ROOT.attachMovie(filePath, "internalCommon", 3, {onLoad:_local2});
if (!ROOT.internalCommon) {
common_xml.onLoad = function (success) {
if (success) {
var _local2 = findXmlTag("data", common_xml);
var _local3 = findXmlTag("level", _local2);
var _local1 = {};
readXml(_local3, _local1);
ROOT.common = _this.attachMovie("commonLevel", "common", 901, {levelData:_local1, _visible:false});
done();
}
};
common_xml.load(filePath);
}
return(vow.promise);
}
function resetRam() {
_global.RAM = {};
ROOT.copyObject(ROM.ram, _global.RAM);
if (!RAM.swfLoader) {
RAM.swfLoader = {tempSwf:[], permSwf:[]};
}
init_gameId();
RAM.playerSprite = {};
copyObject(ROM.playerSprite, RAM.playerSprite);
}
function loadLevel(filePath, start_point) {
function afterLoadingCommonLevel() {
var _local3 = function (internal_xml) {
ROOT.internalLevel.removeMovieClip();
ROOT.internalLevel._name = null;
var _local2 = {};
readXml(internal_xml.firstChild, _local2);
prepareToTeleport();
_global.LEVEL = (ROOT.game_mc = ROOT.attachMovie("game_mc", "game_mc", 1, {start_point:level_xml.start_point, levelData:_local2.level}));
if (!ROOT.game_mc.addListener) {
AsBroadcaster.initialize(ROOT.game_mc);
}
vow.keep();
};
ROOT.internalLevel.removeMovieClip();
ROOT.internalLevel._name = null;
ROOT.internalLevel = ROOT.attachMovie(filePath, "internalLevel", 6, {onLoad:_local3});
if (!ROOT.internalLevel) {
level_xml.onLoad = function (success) {
if (success) {
var _local2 = findXmlTag("data", level_xml);
var _local3 = findXmlTag("level", _local2);
var _local5 = {};
readXml(_local3, _local5);
prepareToTeleport();
_global.LEVEL = (ROOT.game_mc = _this.attachMovie("game_mc", "game_mc", 1, {start_point:level_xml.start_point, levelData:_local5}));
if (!ROOT.game_mc.addListener) {
AsBroadcaster.initialize(ROOT.game_mc);
}
vow.keep();
} else {
trace("* ERROR: Failed to load external level: " + filePath);
vow.doBreak();
}
};
level_xml.load(filePath);
}
}
var vow = VOW.make();
var _local2 = ROM.commonLevel;
RAM.swfLoader.tempSwf = [];
if (ROOT.game_mc) {
callUnload(ROOT.game_mc);
}
game_mc.removeMovieClip();
level_xml.filePath = filePath;
level_xml.start_point = start_point;
var _local3 = VOW.make().keep();
if (!ROOT.common) {
_local2 = _local2 || (ROM.commonLevel);
if (_local2.substr(-4) === ".lvl") {
_local3 = loadCommonLevel(_local2);
}
}
_local3.then(afterLoadingCommonLevel);
return(vow.promise);
}
function prepareToTeleport() {
LEVEL.alreadyTeleporting = true;
sendEvent("onRemoveLevelStart");
ROOT.game_mc.uid = null;
}
function saveGlobals() {
for (var _local2 in _global) {
globals[_local2] = _global[_local2];
}
}
function isReservedGlobal(globalName) {
var _local3 = false;
var _local2 = ["getStyleCounter", "origHeight", "origWidth", "skinRegistry", "styles", "cascadingStyles", "style", "mx", "VariableCell", "VariableTree", "__SVMouseWheelManager", "com", "ZigoEngine", "WalkCollisionSystem"];
var _local1 = 0;
while (_local1 < _local2.length) {
if (globalName == _local2[_local1]) {
_local3 = true;
}
_local1++;
}
return(_local3);
}
function clearGlobals() {
for (var _local2 in _global) {
if (!isReservedGlobal(_local2)) {
delete _global[_local2];
}
}
}
function restoreGlobals() {
for (var _local2 in globals) {
_global[_local2] = globals[_local2];
}
}
function init_gameId() {
if (!RAM.gameId) {
RAM.gameId = "humbird0_rpg";
}
}
stop();
_this = this;
_global.TRACE_SCRIPT = false;
_quality = "low";
XML.prototype.ignoreWhite = true;
_this = this;
if (!_this.addListener) {
AsBroadcaster.initialize(_this);
}
if (!react) {
var react = make_react(_this);
}
opaqueBackground = 0;
findXmlTag = function (findThis_str, inThis_xml) {
if (inThis_xml.nodeName === findThis_str) {
return(inThis_xml);
}
var _local1 = 0;
while (_local1 < inThis_xml.childNodes.length) {
var _local3 = inThis_xml.childNodes[_local1];
var _local2 = findXmlTag(findThis_str, _local3);
if (_local2) {
return(_local2);
}
_local1++;
}
return(null);
};
readXml_getValue = function (newValue) {
var _local2 = null;
var _local3 = newValue.substr(0, 4);
if (_local3 == "bol_") {
var _local4 = newValue.substr(4);
newValue = _local4 == "true";
_local2 = newValue;
} else if (_local3 == "num_") {
var _local4 = newValue.substr(4);
newValue = Number(_local4);
_local2 = newValue;
} else if (_local3 == "str_") {
var _local4 = newValue.substr(4);
newValue = String(_local4);
_local2 = newValue;
} else if (isNaN(Number(newValue))) {
if (newValue == "true") {
_local2 = true;
} else if (newValue == "false") {
_local2 = false;
} else if (newValue == "undefined") {
_local2 = undefined;
} else {
var _local6 = "";
var _local5 = String.fromCharCode(10);
newValue = newValue.split(_local5).join("");
_local2 = newValue;
}
} else {
_local2 = Number(newValue);
}
return(_local2);
};
readXml = function (parentPath, targetData) {
for (var _local1 in parentPath.attributes) {
if (_local1 != "xmlType") {
var _local6 = parentPath.attributes[_local1];
targetData[_local1] = readXml_getValue(_local6);
}
}
for (var _local8 in parentPath.childNodes) {
var _local2 = parentPath.childNodes[_local8];
var _local1 = _local2.nodeName;
var _local4 = _local2.attributes.xmlType;
if (_local4 == "array") {
targetData[_local1] = new Array();
var _local7 = targetData[_local1];
readXml(_local2, _local7);
} else if (_local4 == "variable") {
var _local6 = _local2.attributes.value;
targetData[_local1] = readXml_getValue(_local6);
} else if (_local4 == "object") {
targetData[_local1] = new Object();
var _local7 = targetData[_local1];
readXml(_local2, _local7);
}
}
delete stringSlice;
};
saveSettings = function (saveTo) {
saveTo = saveTo || (RAM);
ROOT.sendEvent("saveGame", {saveTo:saveTo});
saveTo.saveSettings = {};
saveTo.saveSettings.level = ROOT.level_xml.filePath;
if (SPRITES.player) {
var _local2 = SPRITES.player.image.getParams();
if (_local2) {
saveTo.playerSprite = _local2;
}
saveTo.saveSettings.playerPosition = {x:SPRITES.player._x, y:SPRITES.player._y};
}
saveTo.saveSettings.music = {songName:MUSIC.songName, isPlaying:MUSIC.isPlaying, volume:MUSIC.volume, songVolume:MUSIC.songVolume};
saveTo.saveSettings.sound = {volume:SOUND.volume};
};
saveGame = function (inputData, gameId) {
var _local5 = typeof(inputData) === "string";
if (_local5) {
trace(("Save Failed: inputData was not an object, it was this string: '" + inputData) + "'");
return(false);
}
var _local1 = {};
copyObject(inputData, _local1);
saveSettings(_local1);
if (_local1) {
gameId = gameId || "humbird0_rpg";
gameId = gameId.split(" ").join("_");
var _local2 = SharedObject.getLocal(gameId);
_local2.clear();
_local2.data.ram = {};
copyObject(_local1, _local2.data.ram);
var _local4 = _local2.flush();
if (_local4) {
trace("Save Successful");
return(true);
}
trace("Save Failed");
return(false);
}
};
var restoreData = function (loadedData) {
function emptyObject(inputObject) {
if (getType(inputObject) === "array") {
inputObject.splice(0, inputObject.length);
} else {
for (var _local2 in inputObject) {
delete inputObject[_local2];
}
}
}
function getType(inputObject) {
var _local1 = "";
if (inputObject instanceof Function) {
_local1 = "function";
} else if (inputObject instanceof MovieClip) {
_local1 = "movieClip";
} else if (inputObject instanceof Array) {
_local1 = "array";
} else if (inputObject instanceof XMLNode) {
_local1 = "xml";
} else if (inputObject instanceof flash.display.BitmapData) {
_local1 = "bitmap";
} else if (inputObject instanceof Object) {
_local1 = "object";
} else {
_local1 = "variable";
}
return(_local1);
}
function copyObject(srcObj, destObj) {
if (!destObj) {
destObj = {};
}
emptyObject(destObj);
var _local4 = {};
for (var _local6 in srcObj) {
_local4[_local6] = srcObj[_local6];
}
for (var _local6 in _local4) {
var _local1 = _local4[_local6];
var _local3 = getType(_local1);
if (_local1 === srcObj) {
continue;
}
if (_local3 === "variable") {
destObj[_local6] = _local1;
}
if (_local3 === "bitmap") {
destObj[_local6] = _local1.clone();
}
if (_local3 === "xml") {
destObj[_local6] = _local1.cloneNode(true);
}
if (_local3 === "array") {
destObj[_local6] = new Array();
copyObject(_local1, destObj[_local6]);
}
if (_local3 === "object") {
destObj[_local6] = new Object();
copyObject(_local1, destObj[_local6]);
}
}
return(destObj);
}
function once(func) {
var done = false;
return(function () {
return((done ? (0) : ((done = true)func.apply(this, arguments))));
});
}
function emptyObject(inputObject) {
if (getType(inputObject) === "array") {
inputObject.splice(0, inputObject.length);
} else {
for (var _local2 in inputObject) {
delete inputObject[_local2];
}
}
}
function getType(inputObject) {
var _local1 = "";
if (inputObject instanceof Function) {
_local1 = "function";
} else if (inputObject instanceof MovieClip) {
_local1 = "movieClip";
} else if (inputObject instanceof Array) {
_local1 = "array";
} else if (inputObject instanceof XMLNode) {
_local1 = "xml";
} else if (inputObject instanceof flash.display.BitmapData) {
_local1 = "bitmap";
} else if (inputObject instanceof Object) {
_local1 = "object";
} else {
_local1 = "variable";
}
return(_local1);
}
function copyObject(srcObj, destObj) {
if (!destObj) {
destObj = {};
}
emptyObject(destObj);
var _local4 = {};
for (var _local6 in srcObj) {
_local4[_local6] = srcObj[_local6];
}
for (var _local6 in _local4) {
var _local1 = _local4[_local6];
var _local3 = getType(_local1);
if (_local1 === srcObj) {
continue;
}
if (_local3 === "variable") {
destObj[_local6] = _local1;
}
if (_local3 === "bitmap") {
destObj[_local6] = _local1.clone();
}
if (_local3 === "xml") {
destObj[_local6] = _local1.cloneNode(true);
}
if (_local3 === "array") {
destObj[_local6] = new Array();
copyObject(_local1, destObj[_local6]);
}
if (_local3 === "object") {
destObj[_local6] = new Object();
copyObject(_local1, destObj[_local6]);
}
}
return(destObj);
}
function getImpliedValue(input) {
var _local2;
if ((input == "undefined") || (input == undefined)) {
_local2 = undefined;
} else if ((input == "true") || (input === true)) {
_local2 = Boolean(true);
} else if ((input == "false") || (input === false)) {
_local2 = Boolean(false);
} else if (isNaN(input) == false) {
_local2 = Number(input);
} else {
_local2 = input;
}
return(_local2);
}
function getImpliedValue(input) {
var _local2;
if ((input == "undefined") || (input == undefined)) {
_local2 = undefined;
} else if ((input == "true") || (input === true)) {
_local2 = Boolean(true);
} else if ((input == "false") || (input === false)) {
_local2 = Boolean(false);
} else if (isNaN(input) == false) {
_local2 = Number(input);
} else {
_local2 = input;
}
return(_local2);
}
function resolveContainerStr(containerName, thisName) {
thisName = ((typeof(thisName) === "string") ? (thisName) : "this");
var _local2 = null;
if (containerName == "this") {
_local2 = thisName;
}
if (containerName == "_root") {
_local2 = "_root";
}
if (containerName == "_level0") {
_local2 = "_root";
}
if (containerName == "_global") {
_local2 = "_global";
}
if (_global[containerName] && (_global[containerName] instanceof Object)) {
_local2 = containerName;
}
return(_local2);
}
function resolveContainer(containerName, thisRef) {
if (typeof(thisRef) === "string") {
thisRef = _this || this;
}
var _local4 = _global[containerName];
if (containerName == "this") {
_local4 = thisRef;
}
if (containerName == "_root") {
_local4 = _root;
}
if (containerName == "_level0") {
_local4 = _root;
}
if (containerName == "_global") {
_local4 = _global;
}
return(_local4);
}
function evalPath(inputPath, defaultContainer_str, thisName) {
var thisScope = this;
var thisName = (thisName || "this");
if (typeof(inputPath) == "string") {
if (!defaultContainer_str) {
var defaultContainer_str = ((typeof(thisName) === "string") ? (thisName) : "this");
}
var endAt = inputPath.indexOf(".");
if (endAt == -1) {
endAt = inputPath.length;
}
var container_str = inputPath.substr(0, endAt);
var container_str = resolveContainerStr(container_str, thisName);
if (!container_str) {
var container_str = defaultContainer_str;
endAt = -1;
}
var theRest = inputPath.substr(endAt + 1);
var fullPath = (theRest ? ((container_str + ".") + theRest) : (container_str));
var paramStart = fullPath.indexOf("(");
if (paramStart != -1) {
var paramEnd = fullPath.indexOf(")", paramStart + 1);
var param = fullPath.substring(paramStart + 1, paramEnd);
var functionPath = fullPath.substr(0, paramStart);
var thisFunction = eval (functionPath);
var param_array = String(param).split(",");
var i = 0;
while (i < param_array.length) {
param_array[i] = getImpliedValue(param_array[i]);
i++;
}
var output = thisFunction.apply(thisScope, param_array);
} else {
var output = eval (fullPath);
}
} else {
var output = inputPath;
}
return(output);
}
function nestedEval(inputPath, defaultContainer_str, thisName) {
function replaceLastBracket(inputPath) {
function openBracketCloseParam() {
var _local2 = thisPath.indexOf(")");
var _local4 = thisPath.indexOf("(");
var _local1 = thisPath.indexOf("]");
var _local3 = ((_local1 === -1) || (_local2 < _local1)) && (_local4 === -1);
if (_local2 === -1) {
_local3 = false;
}
if (!_local3) {
return(false);
}
output = (placeHolderMarker + "xx") + thisPath.substr(1);
return(true);
}
function openBracketOpenParam() {
var _local3 = thisPath.indexOf("(");
var _local4 = thisPath.indexOf("]");
var _local10 = ((_local4 === -1) || (_local3 < _local4)) && (_local3 > -1);
if (!_local10) {
return(false);
}
var _local5 = thisPath.substring(1, _local3);
_local5 = resolve(_local5);
var _local6 = evalPath(_local5, defaultContainer_str, thisName);
var _local11 = _local6 instanceof Function;
if (_local11) {
var _local7 = thisPath.indexOf(")", _local3);
var _local9 = thisPath.substring(_local3 + 1, _local7);
var _local2 = _local9.split(",");
params_ary = [];
var _local1 = 0;
while (_local1 < _local2.length) {
params_ary[_local1] = resolve(_local2[_local1]);
_local1++;
}
var _local8 = _local6.apply(thisScope, params_ary);
var _local12 = thisPath.substr(_local4 + 1);
var _local13 = setPlaceHolder(_local8);
output = _local13 + _local12;
return(true);
}
var _local12 = thisPath.substr(_local4 + 1);
trace(("ERROR: " + _local5) + " is not a function!");
output = _local12;
return(true);
}
function openBracketCloseBracket() {
var _local1 = thisPath.indexOf("]");
var _local2 = _local1 > -1;
if (!_local2) {
return(false);
}
var _local5 = thisPath.substr(_local1 + 1);
var _local4 = thisPath.substring(1, _local1);
var _local3 = evalPath(resolve(_local4), defaultContainer_str, thisName);
var _local6 = setPlaceHolder(_local3);
output = _local6 + _local5;
return(true);
}
var _local6 = inputPath.lastIndexOf("[");
var _local15 = inputPath.substr(0, _local6);
var thisPath = inputPath.substr(_local6);
var output = thisPath.substr(1);
if (openBracketCloseParam()) {
} else if (openBracketOpenParam()) {
} else if (openBracketCloseBracket()) {
}
return(_local15 + output);
}
function resolve(inputPath) {
var _local8 = placeHolderLength - 1;
var _local7 = inputPath.split(placeHolderMarker);
var _local5 = [];
_local5[0] = _local7[0];
var _local1 = 1;
while (_local1 < _local7.length) {
var _local3 = _local7[_local1];
var _local6 = _local3.substr(0, _local8);
var _local2 = getPlaceHolder(_local6);
var _local4 = _local3.substr(_local8);
if (_local4.length > 0) {
_local5[_local1] = String(_local2) + _local4;
} else {
_local5[_local1] = _local2;
}
_local1++;
}
if ((_local5.length === 2) && (_local5[0] === "")) {
return(_local5[1]);
}
return(_local5.join(""));
}
function setPlaceHolder(storeThisValue) {
resolvedValues.push(storeThisValue);
var _local3 = resolvedValues.length - 1;
var _local1 = String(_local3);
var _local2 = placeHolderLength - 1;
while (_local1.length < _local2) {
_local1 = "0" + _local1;
}
return(placeHolderMarker + _local1);
}
function getPlaceHolder(id_str) {
var _local2 = !isNaN(id_str);
if (_local2) {
var _local3 = Number(id_str);
return(resolvedValues[_local3]);
}
return(resolvedValues[id_str]);
}
var thisScope = this;
var _local24 = typeof(inputPath);
var _local21 = _local24 === "string";
if (!_local21) {
return(inputPath);
}
var placeHolderMarker = "\u00B6";
var placeHolderLength = 3;
var resolvedValues = [];
resolvedValues.xx = "[";
while (inputPath.indexOf("[") > -1) {
inputPath = replaceLastBracket(inputPath);
}
var output = resolve(inputPath);
return(output);
}
var define_swf;
if (_global.nextDepth === undefined) {
_global.nextDepth = function (this_mc, maxDepth, minDepth) {
this_mc = (this_mc ? (this_mc) : _root);
var _local4 = ((minDepth != undefined) ? (minDepth) : 1);
var _local5 = (maxDepth ? (maxDepth) : 1048500);
for (var _local6 in this_mc) {
var _local2 = this_mc[_local6].getDepth();
if ((_local2 < _local5) && (_local2 >= _local4)) {
_local4 = _local2 + 1;
}
}
return(_local4);
};
}
callUnload = function (parent) {
function recurseClips(parent, doThis, includeSelf, isShallow) {
if (!parent) {
return(undefined);
}
if (!(parent instanceof MovieClip)) {
return(undefined);
}
if (!doThis) {
return(undefined);
}
if (includeSelf === undefined) {
includeSelf = true;
}
if (isShallow === undefined) {
isShallow = false;
}
var reportedPath;
var actualPath;
for (var nam in parent) {
if (!nam) {
continue;
}
var thisChild = parent[nam];
if (thisChild instanceof MovieClip) {
reportedPath = String(eval (thisChild._target));
actualPath = (String(eval (parent._target)) + ".") + nam;
if (reportedPath.indexOf(actualPath) != -1) {
if (isShallow) {
doThis.call(thisChild, thisChild);
}
if (!isShallow) {
recurseClips(thisChild, doThis);
}
}
}
}
if (includeSelf) {
doThis.call(parent, parent);
}
}
function unloadThis(thisItem) {
thisItem.onKillFocus(null);
thisItem.dispatchEvent({type:"unload"});
thisItem.broadcastMessage("unload");
thisItem.unload();
thisItem.onUnload();
delete thisItem.onUnload;
thisItem.removeEventListener("keyDown", thisItem);
thisItem.removeEventListener("keyUp", thisItem);
Key.removeListener(thisItem);
Mouse.removeListener(thisItem);
for (var _local3 in thisItem._listeners) {
var _local2 = thisItem._listeners[_local3];
thisItem.removeListener(_local2);
}
thisItem.addListener = function () {
};
}
recurseClips(parent, unloadThis);
};
makeStringObject = function (input_str, defaultContainer_str, thisName) {
var _local9 = null;
var _local8 = input_str.indexOf("{");
if ((_local8 == -1) || (_local8 == undefined)) {
_local9 = input_str;
} else {
var _local7 = {};
var _local12 = input_str.indexOf("}", _local8 + 1);
var _local10 = input_str.substring(_local8 + 1, _local12);
_local10 = nestedEval(_local10, defaultContainer_str, thisName);
var _local6 = _local10.split(",");
var _local2 = 0;
while (_local2 < _local6.length) {
var _local3 = _local6[_local2];
var _local4 = _local3.indexOf(":");
var _local5 = _local3.substr(0, _local4);
var _local1 = _local3.substr(_local4 + 1);
_local1 = getImpliedValue(_local1);
_local7[_local5] = _local1;
_local2++;
}
_local9 = _local7;
}
return(_local9);
};
define_swf = function (thisCommand_obj, skipSwfloader) {
function attemptStart(newClip) {
if (!newClip) {
return(undefined);
}
var tries = 30;
var startInterval;
var tryStart = function () {
if ((_this instanceof MovieClip) == false) {
clearInterval(startInterval);
}
if (newClip.start === undefined) {
tries--;
if (tries <= 0) {
clearInterval(startInterval);
}
} else {
newClip.start();
clearInterval(startInterval);
}
};
startInterval = setInterval(function () {
tryStart();
}, 1);
tryStart();
}
var prom = VOW.make();
var nextEvent = once(prom.keep);
if (thisCommand_obj.data.linkage) {
var target;
thisCommand_obj.copyObject = copyObject;
thisCommand_obj.makeStringObject = makeStringObject;
thisCommand_obj.nestedEval = nestedEval;
thisCommand_obj.evalPath = evalPath;
thisCommand_obj.getImpliedValue = getImpliedValue;
thisCommand_obj.resolveContainer = resolveContainer;
var target_str = nestedEval(thisCommand_obj.data.target, "RAM", "_this");
target = evalPath(target_str, "RAM", "_this");
var newName = nestedEval(thisCommand_obj.data.name, "RAM", "_this");
var nameIndex = 0;
if ((newName == "") || (newName == undefined)) {
do {
var newName = ("swf_" + nameIndex);
nameIndex++;
} while (target[newName]);
}
if (TRACE_SCRIPT) {
trace(((((">> Place swf: " + thisCommand_obj.data.linkage) + " named: ") + newName) + " waitForEnd: ") + thisCommand_obj.data.waitForEnd);
}
var newDepth = ((thisCommand_obj.data.depth == -1) ? (nextDepth(target)) : (nestedEval(thisCommand_obj.data.depth, "RAM", "_this")));
var storedObj = {};
copyObject(thisCommand_obj.data, storedObj);
storedObj.name = newName;
storedObj.depth = newDepth;
if (!skipSwfloader) {
ROOT.swfLoader.add(storedObj, _this);
}
var swfLoader = new MovieClipLoader();
swfLoader.root = ROOT;
swfLoader.commandData = thisCommand_obj.data.data;
swfLoader.nextEvent = nextEvent;
swfLoader.waitForEnd = thisCommand_obj.data.waitForEnd;
swfLoader.levelId = ROOT.game_mc.uid;
callUnload(target[newName]);
target[newName].removeMovieClip();
var replaceClip = target.getInstanceAtDepth(newDepth);
callUnload(replaceClip);
replaceClip.removeMovieClip();
var linkage = thisCommand_obj.data.linkage;
linkage = nestedEval(linkage, "RAM", "_this");
var externalFile = false;
target.attachMovie(linkage, newName, newDepth);
if ((target[newName] == target) || (target[newName] == undefined)) {
target.createEmptyMovieClip(newName, newDepth);
var new_pic = flash.display.BitmapData.loadBitmap(linkage);
target[newName].attachBitmap(new_pic, 0);
if ((target[newName]._width == undefined) || (target[newName]._width == 0)) {
var externalFile = true;
} else {
thisCommand_obj.data.waitForEnd = false;
}
}
swfLoader.passData = function (newClip, commandData) {
newClip.parentSprite = _this;
for (var _local4 in commandData) {
var _local1 = thisCommand_obj.nestedEval(commandData[_local4], "RAM", "_this");
_local1 = thisCommand_obj.makeStringObject(_local1, "RAM", "_this");
newClip[_local4] = getImpliedValue(_local1);
}
newClip.nextEvent = nextEvent;
newClip.onClose = function () {
ROOT.swfLoader.remove(storedObj);
};
};
swfLoader.detectLastFrame = function (newClip, nextEvent) {
var loopTimes = 0;
var _local6 = {parent:newClip, nextEvent:nextEvent, swfData:thisCommand_obj.data, loop:function (thisObj) {
loopTimes++;
if ((!thisObj) && (loopTimes == 1)) {
return(undefined);
}
var _local3 = false;
if (thisObj.parent._currentframe === undefined) {
_local3 = true;
}
if (thisObj.parent._currentframe == thisObj.parent._totalframes) {
_local3 = true;
}
if ((loopTimes > 1) && (thisObj.parent._currentframe == undefined)) {
_local3 = true;
}
if ((!thisObj) > loopTimes) {
_local3 = true;
}
if (_local3) {
ROOT.swfLoader.remove(thisObj.swfData);
clearInterval(thisObj.intervalId);
_global.ROOT = swfLoader.root;
var _local4 = swfLoader.levelId == ROOT.game_mc.uid;
if (_local4) {
thisObj.nextEvent();
}
}
}, intervalId:null, start:function () {
if (this.intervalId != null) {
clearInterval(this.intervalId);
}
this.intervalId = setInterval(this.loop, 34, this);
this.loop();
}};
newClip.detectLastFrame = _local6;
newClip.detectLastFrame.start();
};
if (externalFile) {
swfLoader.onLoadInit = function (newClip) {
swfLoader.passData(newClip, this.commandData);
if (swfLoader.waitForEnd) {
swfLoader.detectLastFrame(newClip, this.nextEvent);
}
delete swfLoader;
attemptStart(newClip);
};
swfLoader.onLoadError = function (newClip) {
if (newClip) {
this.unloadClip(newClip);
}
newClip.removeMovieClip();
delete swfLoader;
nextEvent();
};
swfLoader.onLoadComplete = function (newClip, status) {
swfLoader.passData(newClip, this.commandData);
if (swfLoader.waitForEnd === false) {
return(nextEvent());
}
if (!newClip) {
return(nextEvent());
}
if (!(status === 0)) {
return(nextEvent());
}
if (status === 404) {
return(nextEvent());
}
setTimeout(function () {
if (newClip._name === undefined) {
nextEvent();
}
}, 33);
};
swfLoader.loadClip(linkage, target[newName]);
} else {
swfLoader.passData(target[newName], swfLoader.commandData);
if (swfLoader.waitForEnd) {
swfLoader.detectLastFrame(target[newName], nextEvent);
}
delete swfLoader;
attemptStart(target[newName]);
}
if (thisCommand_obj.data.waitForEnd == false) {
if (externalFile === false) {
return(VOW.make().keep());
}
}
if (target === undefined) {
trace("* SCRIPT MISTAKE: Failed to put SWF into container: " + target_str);
return(VOW.make().keep());
}
} else {
var target;
if (!preserveSwfloader) {
ROOT.swfLoader.remove(thisCommand_obj.data);
}
if (TRACE_SCRIPT) {
trace((("removeSwf named: " + thisCommand_obj.data.name) + " from: ") + thisCommand_obj.data.target);
}
var targetName = nestedEval(thisCommand_obj.data.name, "RAM", "_this");
if ((targetName == "") || (targetName == undefined)) {
return(VOW.make().keep());
}
var autoDelay = 1;
var endTime = getTimer();
var elapsedTime = (endTime - startTime);
if (TRACE_SCRIPT) {
trace("\t elapsedTime: " + elapsedTime);
}
if (isNaN(elapsedTime) || (elapsedTime > autoDelay)) {
var defaultContainer = "OVERLAY";
target_str = nestedEval(thisCommand_obj.data.target, "RAM", "_this");
var startAt = target_str.indexOf(".");
if (startAt == -1) {
var container = defaultContainer;
var containerIsGlobal = false;
for (var nam in _global) {
if (nam == target_str) {
containerIsGlobal = true;
break;
}
}
var theRest = target_str;
target = (containerIsGlobal ? (eval (theRest)) : (eval ((container + ".") + theRest)));
if (target_str == "this") {
target = _this;
}
} else {
var containerName = target_str.substr(0, startAt);
var container = nestedEval(containerName, "RAM", "_this");
var theRest = target_str.substr(startAt + 1);
target = eval ((container + ".") + theRest);
}
if ((target == SPRITES) && (target[targetName].remove)) {
target[targetName].remove();
} else {
callUnload(target[targetName]);
target[targetName].removeMovieClip();
}
nextEvent();
} else {
if (TRACE_SCRIPT) {
trace("\t too early, wait for 1 millisecond");
}
setTimeout(function () {
var _local1 = define_swf(thisCommand_obj, skipSwfloader);
_local1.then = nextEvent;
}, autoDelay);
}
}
return(prom);
};
var result = false;
if (loadedData) {
ROOT.game_mc.removeMovieClip();
var removeSwf = function (swfCommand) {
var _local1 = {};
_local1.data = {};
copyObject(swfCommand, _local1.data);
_local1.data.linkage = null;
var _local2 = 0;
define_swf(_local1, run);
};
if (RAM.swfLoader.permSwf == undefined) {
trace("WARNING: RAM.swfLoader.permSwf is missing!");
}
if (RAM.swfLoader.permSwf) {
var s = (RAM.swfLoader.permSwf.length - 1);
while (s >= 0) {
removeSwf(RAM.swfLoader.permSwf[s]);
s--;
}
}
var deleteAllData = function (thisObject) {
for (var _local2 in thisObject) {
if (typeof(thisObject[_local2]) == "object") {
deleteAllData(thisObject[_local2]);
thisObject[_local2] = null;
delete thisObject[_local2];
} else {
thisObject[_local2] = null;
delete thisObject[_local2];
}
}
};
deleteAllData(RAM);
_global.RAM = {};
copyObject(loadedData, _global.RAM);
ROOT.completeRam();
for (var nam in _global.RAM) {
result = true;
break;
}
if (RAM.saveSettings.music.isPlaying) {
MUSIC.play(RAM.saveSettings.music.songName);
} else {
MUSIC.songName = RAM.saveSettings.music.songName;
MUSIC.stop();
}
MUSIC.volume = RAM.saveSettings.music.volume;
MUSIC.songVolume = RAM.saveSettings.music.songVolume;
SOUND.stopAll();
SOUND.volume = RAM.saveSettings.sound.volume;
for (var spriteNam in SPRITES) {
SPRITES[spriteNam].onUnload();
}
LOOP.removeSet("player");
LOOP.removeSet("scroll");
LOOP.removeSet("sprites");
setTimeout(function () {
ROOT.loadLevel(RAM.saveSettings.level, RAM.saveSettings.playerPosition).then = function () {
react.once().to("onNewLevel").then = function () {
ROOT.sendEvent("loadGame", {value:loadedData});
};
};
}, 0);
var restoreSwf = function (swfCommand) {
var _local1 = {};
_local1.data = {};
copyObject(swfCommand, _local1.data);
define_swf(_local1, true);
};
setTimeout(function () {
var _local1 = 0;
while (_local1 < RAM.swfLoader.permSwf.length) {
restoreSwf(RAM.swfLoader.permSwf[_local1]);
_local1++;
}
_local1 = 0;
while (_local1 < RAM.swfLoader.tempSwf.length) {
restoreSwf(RAM.swfLoader.tempSwf[_local1]);
_local1++;
}
}, 34);
}
return(result);
};
var loadGame = function (gameId) {
gameId = gameId || "humbird0_rpg";
gameId = gameId.split(" ").join("_");
var _local2 = SharedObject.getLocal(gameId);
var _local1 = false;
for (_local1 in _local2.data.ram) {
break;
}
_local1 = Boolean(_local1);
if (_local1) {
restoreData(_local2.data.ram);
}
return(_local1);
};
callUnload = function (parent) {
function recurseClips(parent, doThis, includeSelf, isShallow) {
if (!parent) {
return(undefined);
}
if (!(parent instanceof MovieClip)) {
return(undefined);
}
if (!doThis) {
return(undefined);
}
if (includeSelf === undefined) {
includeSelf = true;
}
if (isShallow === undefined) {
isShallow = false;
}
var reportedPath;
var actualPath;
for (var nam in parent) {
if (!nam) {
continue;
}
var thisChild = parent[nam];
if (thisChild instanceof MovieClip) {
reportedPath = String(eval (thisChild._target));
actualPath = (String(eval (parent._target)) + ".") + nam;
if (reportedPath.indexOf(actualPath) != -1) {
if (isShallow) {
doThis.call(thisChild, thisChild);
}
if (!isShallow) {
recurseClips(thisChild, doThis);
}
}
}
}
if (includeSelf) {
doThis.call(parent, parent);
}
}
function unloadThis(thisItem) {
thisItem.onKillFocus(null);
thisItem.dispatchEvent({type:"unload"});
thisItem.broadcastMessage("unload");
thisItem.unload();
thisItem.onUnload();
delete thisItem.onUnload;
thisItem.removeEventListener("keyDown", thisItem);
thisItem.removeEventListener("keyUp", thisItem);
Key.removeListener(thisItem);
Mouse.removeListener(thisItem);
for (var _local3 in thisItem._listeners) {
var _local2 = thisItem._listeners[_local3];
thisItem.removeListener(_local2);
}
thisItem.addListener = function () {
};
}
recurseClips(parent, unloadThis);
};
_global.RAM_F = {};
getPathValue = function (path, defaultContainer) {
var path = (path ? (path) : "");
var defaultContainer = (defaultContainer ? (defaultContainer) : "RAM");
if (typeof(path) == "string") {
path = path.split(" ").join("");
}
var startAt = path.indexOf(".");
if (startAt == undefined) {
var output = path;
} else if (startAt == -1) {
var containerIsGlobal = eval ("_global." + path);
if (path == "this") {
containerIsGlobal = true;
}
if (typeof(defaultContainer) == "string") {
var output = (containerIsGlobal ? (eval (path)) : (eval ((defaultContainer + ".") + path)));
} else {
var output = (containerIsGlobal ? (eval (path)) : (defaultContainer[path]));
}
} else {
var containerEnd = path.indexOf(".");
var containerName = path.substr(0, containerEnd);
var containerIsGlobal = eval ("_global." + containerName);
if (containerName == "this") {
containerIsGlobal = true;
}
if (containerName == "_level0") {
containerIsGlobal = true;
}
if (!containerIsGlobal) {
path = "RAM." + path;
}
var output = eval (path);
}
return(output);
};
if (RAM_F == undefined) {
RAM_F = {};
}
RAM_F.copySprite = function () {
var _local10 = arguments[0];
var _local2 = arguments[1];
var _local7 = evalPath(_local10, "SPRITES");
var _local8 = getPathValue(_local7);
var _local5 = _local8.image.getParams();
if (_local5) {
if (_local2) {
var _local4 = _local2.lastIndexOf(".");
var _local9 = ((_local4 == -1) ? "RAM" : (_local2.substr(0, _local4)));
var _local11 = _local2.substr(_local4 + 1);
var _local6 = evalPath(_local9, "RAM");
}
var _local3 = {};
if (_local6) {
_local6[_local11] = _local3;
}
copyObject(_local5, _local3);
return(_local3);
}
};
RAM_F.copyObject = function () {
var _local4 = arguments[0];
var _local5 = arguments[1];
var _local3 = evalPath(_local4, "RAM");
var _local2 = evalPath(_local5, "RAM") || ({});
if (_local3 && (_local2)) {
copyObject(_local3, _local2);
}
return(_local2);
};
RAM_F.replaceText = function () {
var _local3 = arguments[0];
var _local5 = arguments[1];
var _local2 = arguments[2] || "";
var _local4 = _local5.split(_local3).join(_local2);
return(_local4);
};
RAM_F.removeText = function () {
return(RAM_F.replaceText.apply(this, arguments.slice()));
};
RAM_F.hasText = function () {
var _local2 = arguments[0].toLowerCase();
var _local4 = arguments[1].toLowerCase();
var _local3 = _local4.indexOf(_local2);
return(_local3 > -1);
};
RAM_F.trimDecimal = function (input_num, trimToThisLength) {
input_num = arguments[0];
trimToThisLength = arguments[1];
if (isNaN(input_num)) {
return(input_num);
}
if (isNaN(trimToThisLength)) {
return(input_num);
}
var _local3 = String(input_num);
var _local5 = _local3.indexOf(".");
if (_local5 > -1) {
var _local9 = _local3.substr(0, _local5);
var _local4 = _local3.substr(_local5 + 1);
_local4 = _local4.substr(0, trimToThisLength);
var _local7 = (_local9 + ".") + _local4;
var _local8 = Number(_local7);
return(_local8);
}
return(input_num);
};
RAM_F.array = {};
RAM_F.array.remove = function () {
var _local4 = arguments[0];
var _local2 = Number(arguments[1]);
var _local5 = !isNaN(_local2);
if (_local5 == false) {
return(false);
}
var _local3 = getPathValue(_local4, "RAM");
if ((_local3 instanceof Array) == false) {
return(false);
}
_local3.splice(_local2, 1);
return(true);
};
RAM_F.removeArrayItem = RAM_F.array.remove;
RAM_F.array.add = function (arrayPath, newItem, addAt) {
arrayPath = arguments[0];
newItem = arguments[1];
addAt = arguments[2];
if (!arrayPath) {
return(false);
}
var _local3 = getPathValue(arrayPath, "RAM");
if ((_local3 instanceof Array) == false) {
return(false);
}
if (addAt === undefined) {
_local3.push(thisItem);
addAt = _local3.length;
} else {
_local3.splice(addAt, 0, thisItem);
}
return(addAt);
};
RAM_F.makeObjectString = function (objPath) {
objPath = arguments[0];
if (!objPath) {
return(undefined);
}
var _local3 = evalPath(objPath, "RAM");
var _local2 = "";
for (var _local4 in _local3) {
if (_local3[_local4] instanceof Object) {
continue;
}
_local2 = _local2 + _local4;
_local2 = _local2 + ":";
_local2 = _local2 + _local3[_local4];
_local2 = _local2 + ",";
}
_local2 = _local2.substr(0, _local2.length - 1);
return(_local2);
};
readXml_getValue = function (newValue) {
var _local2 = null;
var _local3 = newValue.substr(0, 4);
if (_local3 == "bol_") {
var _local4 = newValue.substr(4);
newValue = _local4 == "true";
_local2 = newValue;
} else if (_local3 == "num_") {
var _local4 = newValue.substr(4);
newValue = Number(_local4);
_local2 = newValue;
} else if (_local3 == "str_") {
var _local4 = newValue.substr(4);
newValue = String(_local4);
_local2 = newValue;
} else if (isNaN(Number(newValue))) {
if (newValue == "true") {
_local2 = true;
} else if (newValue == "false") {
_local2 = false;
} else if (newValue == "undefined") {
_local2 = undefined;
} else {
var _local6 = "";
var _local5 = String.fromCharCode(10);
newValue = newValue.split(_local5).join("");
_local2 = newValue;
}
} else {
_local2 = Number(newValue);
}
return(_local2);
};
readXml = function (parentPath, targetData) {
for (var _local1 in parentPath.attributes) {
if (_local1 != "xmlType") {
var _local6 = parentPath.attributes[_local1];
targetData[_local1] = readXml_getValue(_local6);
}
}
for (var _local8 in parentPath.childNodes) {
var _local2 = parentPath.childNodes[_local8];
var _local1 = _local2.nodeName;
var _local4 = _local2.attributes.xmlType;
if (_local4 == "array") {
targetData[_local1] = new Array();
var _local7 = targetData[_local1];
readXml(_local2, _local7);
} else if (_local4 == "variable") {
var _local6 = _local2.attributes.value;
targetData[_local1] = readXml_getValue(_local6);
} else if (_local4 == "object") {
targetData[_local1] = new Object();
var _local7 = targetData[_local1];
readXml(_local2, _local7);
}
}
delete stringSlice;
};
setRam = function () {
var _local5 = arguments[0];
var _local4 = new XML(_local5);
var _local3 = {};
readXml(_local4, _local3);
_global.RAM = _local3.data;
};
RAM_F.getListFromObject = function (objPath) {
objPath = arguments[0];
if (!objPath) {
return(undefined);
}
var _local3 = evalPath(objPath, "RAM");
if (!_local3) {
return(undefined);
}
var _local2 = [];
for (var _local4 in _local3) {
_local2.push(_local4);
}
_local2.reverse();
return(_local2);
};
RAM_F.spriteListAtTile = function (xTile, yTile) {
xTile = arguments[0];
yTile = arguments[1];
var _local2 = SPRITE_GRID[xTile][yTile];
if (_local2 && (_local2.length > 0)) {
return(_local2);
}
return(undefined);
};
var vow_version = 3.9;
var vow_scope = function () {
function forEach(array, callback) {
var _local1 = 0;
while (_local1 < array.length) {
callback(array[_local1], _local1);
_local1++;
}
}
function enlighten(queue, fate) {
forEach(queue, function (func) {
setTimeout(function () {
func(fate);
}, 0);
});
}
var _local12 = vow_version;
var vow_output = {version:_local12, make:function () {
function enqueue(resolution, func, vow) {
var _local2 = ((resolution === "kept") ? (keepers) : (breakers));
var isBroken = Boolean(_local2 === breakers);
_local2[_local2.length] = ((!(typeof(func) === "function")) ? (vow[resolution]) : (function (value) {
try {
_local1 = func(value)_local1if (_local1 && (_local1.is_promise === true)) {
if (isBroken) {
_local1.then(vow.doBreak, vow.doBreak)} else {
_local1.then(vow.keep, vow.doBreak)}
} else {
if (isBroken) {
vow.doBreak(_local1)}
if (!isBroken) {
vow.keep(_local1)}
}
} catch(e) {
vow.doBreak(e)}
}));
}
function herald(state, value, queue) {
if (!(status === "pending")) {
return(undefined);
}
fate = value;
status = state;
enlighten(queue, fate);
keepers = [];
breakers = [];
}
function get_then() {
return(set_then);
}
var breakers = [];
var fate = undefined;
var keepers = [];
var status = "pending";
var promise = {version:vow_output.version, is_promise:true, getStatus:function () {
return(status);
}, getValue:function () {
return(fate);
}, doBreak:function (value) {
herald("broken", value, breakers);
return(this.promise);
}, keep:function (value) {
herald("kept", value, keepers);
return(this.promise);
}};
var set_then = function (kept, broken) {
var _local1 = VOW.make();
switch (status) {
case "pending" :
enqueue("kept", kept, _local1);
enqueue("break", broken, _local1);
break;
case "kept" :
enqueue("kept", kept, _local1);
enlighten(keepers, fate);
keepers = [];
break;
case "broken" :
enqueue("break", broken, _local1);
enlighten(breakers, fate);
breakers = [];
}
return(_local1);
};
promise.addProperty("then", get_then, set_then);
promise.promise = promise;
return(promise);
}, every:function (array) {
var remaining = array.length;
var results = [];
var vow = VOW.make();
if (!remaining) {
vow.keep([]);
} else {
forEach(array, function (promise, i) {
promise.then(function (value) {
results[i] = value;
remaining--;
if (remaining === 0) {
vow.keep(results);
}
}, function (reason) {
remaining = null;
vow.doBreak(reason);
});
});
}
return(vow.promise);
}, everyTried:function (array) {
var remaining = array.length;
var results = [];
var vow = VOW.make();
if (!remaining) {
vow.keep([]);
} else {
forEach(array, function (promise, i) {
promise.then(function (value) {
results[i] = value;
remaining--;
if (remaining === 0) {
vow.keep(results);
}
}, function (failReason) {
results[i] = undefined;
remaining--;
if (remaining === 0) {
vow.keep(results);
}
});
});
}
return(vow.promise);
}, first:function (array) {
function check() {
remaining--;
if ((remaining === 0) && (!found)) {
vow.doBreak();
}
}
var found = false;
var remaining = array.length;
var vow = VOW.make();
if (remaining === 0) {
vow.doBreak(array);
} else {
forEach(array, function (promise) {
promise.then(function (value) {
if (!found) {
found = true;
vow.keep(value);
}
check();
}, check);
});
}
return(vow.promise);
}, kept:function (value) {
var _local1 = VOW.make();
_local1.keep(value);
return(_local1.promise);
}, broken:function (reason) {
var _local1 = VOW.make();
_local1.doBreak(reason);
return(_local1.promise);
}, wait:function (milliseconds) {
var _local1 = function (input) {
var vow = VOW.make();
var milliseconds = ((milliseconds === undefined) ? 0 : (milliseconds));
setTimeout(function () {
vow.keep(input);
}, milliseconds);
return(vow.promise);
};
return(_local1);
}, firstWait:function (milliseconds) {
var vow = VOW.make();
milliseconds = ((milliseconds === undefined) ? 0 : (milliseconds));
setTimeout(function () {
vow.keep({});
}, milliseconds);
return(vow.promise);
}, start:function (value) {
var _local1 = VOW.make();
_local1.keep(value);
return(_local1.promise);
}, runSequence:function (sequence) {
var _local4 = VOW.make().keep();
var _local1 = 0;
while (_local1 < sequence.length) {
var _local3 = sequence[_local1];
var _local2 = _local4.then(_local3);
if (!(_local2.is_promise === true)) {
_local2 = VOW.kept();
}
_local4 = _local2;
_local1++;
}
var _local6 = _local4;
return(_local6);
}, wrap:function (func, callbackIndex) {
if (callbackIndex === undefined) {
var callbackIndex = 0;
}
return(function () {
var vow = VOW.make();
if (callbackIndex === undefined) {
var callbackIndex = (arguments.length - 1);
}
arguments[callbackIndex] = function (output) {
vow.keep(output);
};
func.apply(this, arguments);
return(vow.promise);
});
}, preApply:function (func, param) {
var args = arguments.slice(1);
return(function () {
return(func.apply(null, args));
});
}, failThru:function (failReason) {
return(failReason);
}, null:null};
vow_output.any = (vow_output.allResolved = vow_output.everyTried);
return(vow_output);
};
var VOW = vow_scope();
delete vow_scope;
delete vow_version;
_global.VOW = VOW;
common_xml = new XML();
var default_databaseFile = "database.xml";
_global.ROOT = _this;
if (!_global.RAM) {
_global.RAM = {};
}
_global.ROM = {};
if (!_global.AVOID_LOOP_PANIC) {
_global.AVOID_LOOP_PANIC = make_avoidLoopPanic();
}
makeLoopManager = function (parent_mc, instanceName, depth) {
var _this = parent_mc.createEmptyMovieClip(instanceName, depth);
_this.loopSets = {};
_this.loop_array = [];
_this.slowMotion = false;
_this.slowMotionToggle = false;
_this.isRunning = {};
_this.loop = function () {
var _local5 = true;
if (_this.slowMotion) {
_this.slowMotionToggle = !_this.slowMotionToggle;
if (_this.slowMotionToggle) {
_local5 = false;
}
}
if (!_local5) {
return(undefined);
}
for (var _local4 in _this.loopSets) {
var _local2 = _this.loopSets[_local4];
var _local1 = 0;
while (_local1 < _local2.length) {
var _local3 = String(_local2[_local1]).length;
if (_local3 == 0) {
_local2.splice(_local1, 1);
_local1--;
} else {
_local2[_local1].hasLooped = false;
}
_local1++;
}
}
for (var _local4 in _this.loopSets) {
var _local2 = _this.loopSets[_local4];
var _local1 = 0;
while (_local1 < _local2.length) {
if ((!_local2[_local1].isPaused) && (!_local2[_local1].hasLooped)) {
_local2[_local1].loop();
_local2[_local1].hasLooped = true;
}
_local1++;
}
}
};
_this.onEnterFrame = _this.loop;
_this.addObject = function (newObject, setName) {
_this.addSet(setName);
var _local2 = _this.loopSets[setName];
if (!newObject) {
return(undefined);
}
var _local3 = false;
var _local1 = 0;
while (_local1 < _local2.length) {
if (_local2[_local1] == newObject) {
_local3 = true;
}
_local1++;
}
if (!_local3) {
_local2.push(newObject);
newObject.isPaused = false;
}
};
_this.removeObject = function (findObject, setName) {
if (!findObject) {
return(undefined);
}
var _local2 = _this.loopSets[setName];
var _local1 = 0;
while (_local1 < _local2.length) {
if (_local2[_local1] == findObject) {
_local2.splice(_local1, 1);
}
_local1++;
}
};
_this.addSet = function (setName) {
if (!setName) {
return(undefined);
}
if (_this.loopSets[setName] == undefined) {
_this.loopSets[setName] = [];
_this.isRunning[setName] = true;
}
};
_this.removeSet = function (setName) {
if (!setName) {
return(undefined);
}
_this.isRunning[setName] = false;
delete _this.isRunning[setName];
delete _this.loopSets[setName];
};
_this.pauseSet = function (setName, pauseValue) {
if (!setName) {
return(undefined);
}
pauseValue = Boolean(pauseValue);
_this.isRunning[setName] = !pauseValue;
var _local2 = _this.loopSets[setName];
var _local1 = 0;
while (_local1 < _local2.length) {
_local2[_local1].isPaused = pauseValue;
_local1++;
}
};
_this.pauseObject = function (myObject, pauseValue) {
myObject.isPaused = pauseValue;
};
_this.isPaused = function (targ) {
var _local1 = false;
if (typeof(targ) === "string") {
var _local3 = targ;
_local1 = !Boolean(_this.isRunning[_local3]);
} else if (targ instanceof Object) {
_local1 = Boolean(targ.isPaused) || false;
} else {
trace("LOOP.isPaused() ERROR: no parameter provided");
}
return(_local1);
};
return(_this);
};
if (!_global.LOOP) {
_global.LOOP = makeLoopManager(_this, "loop_mc", 11);
}
if (_global.SCREEN_OVERLAY) {
_global.SCREEN_OVERLAY.removeMovieClip();
}
_global.SCREEN_OVERLAY = _this.createEmptyMovieClip("SCREEN_OVERLAY", 7);
if (_global.HUD) {
_global.HUD.removeMovieClip();
}
_global.HUD = _this.createEmptyMovieClip("HUD", 8);
HUD.removeAll = clearHud;
HUD.clear = HUD.removeAll;
_global.TRANSITION = _this.transition;
_global.TRANSITION.swapDepths(9);
makeStereoMusic = function (target_mc, newName, newDepth) {
target_mc = ((target_mc != undefined) ? (target_mc) : this);
newName = ((newName != undefined) ? (newName) : "musicSystem_mc");
if (_global.nextDepth === undefined) {
_global.nextDepth = function (this_mc, maxDepth, minDepth) {
this_mc = (this_mc ? (this_mc) : _root);
var _local4 = ((minDepth != undefined) ? (minDepth) : 1);
var _local5 = (maxDepth ? (maxDepth) : 1048500);
for (var _local6 in this_mc) {
var _local2 = this_mc[_local6].getDepth();
if ((_local2 < _local5) && (_local2 >= _local4)) {
_local4 = _local2 + 1;
}
}
return(_local4);
};
}
newDepth = (newDepth ? (newDepth) : (nextDepth(target_mc)));
var _this = target_mc.createEmptyMovieClip(newName, newDepth);
_this.createEmptyMovieClip("right_mc", 1);
_this.createEmptyMovieClip("left_mc", 0);
_this.rightSound = new Sound(_this.right_mc);
_this.leftSound = new Sound(_this.left_mc);
_this.songName = " ";
_this.loops = 999999 /* 0x0F423F */;
_this.stereoDelay = 0.02;
_this._volume = 1;
_this._songVolume = 1;
_this.isPlaying = false;
_this.onID3 = function () {
};
_this.onLoad = function () {
};
_this.onSoundComplete = function () {
};
_this.onFadeComplete = function () {
};
_this.isFading = false;
_this.playSong = function (songName, skipIntro) {
if (_this.songName != songName) {
_this.fade.fforward();
_this.fade.onMotionFinished();
delete _this.fade;
_this.rightSound.stop();
_this.leftSound.stop();
_this.rightSound.onSoundComplete = function () {
};
_this.rightSound = new Sound(_this.right_mc);
_this.leftSound = new Sound(_this.left_mc);
var _local2 = songName.lastIndexOf(".");
var _local1 = (songName.substr(0, _local2) + "_intro") + ".mp3";
_this.songName = songName;
_this.isPlaying = false;
if (_this._songVolume == 0) {
_this.songVolume = 100;
}
_this.gotoLoop = function () {
var _local1 = _this.songName;
_this.songName = "";
_this.playLoop(_local1);
_this.applyVolume();
_this.broadcastMessage("onSoundComplete");
_this.onSoundComplete();
};
_this.rightSound.onSoundComplete = function () {
_this.gotoLoop();
};
if (skipIntro) {
_this.gotoLoop();
} else {
_this.rightSound.attachSound(_local1);
_this.leftSound.attachSound(_local1);
if (_this.leftSound.duration == undefined) {
_this.gotoLoop();
}
}
}
if (_this.isPlaying == false) {
_this.rightSound.start(0 + _this.stereoDelay, 1);
_this.leftSound.start(0, 1);
_this.setChannels();
_this.applyVolume();
_this.isPlaying = true;
}
};
_this.play = _this.playSong;
_this.playLoop = function (songName) {
if (_this.songName != songName) {
_this.rightSound.stop();
_this.leftSound.stop();
_this.rightSound.onSoundComplete = function () {
};
_this.rightSound = new Sound(_this.right_mc);
_this.leftSound = new Sound(_this.left_mc);
_this.rightSound.attachSound(songName);
_this.leftSound.attachSound(songName);
_this.songName = songName;
_this.isPlaying = false;
_this.rightSound.onSoundComplete = function () {
_this.broadcastMessage("onSoundComplete");
_this.onSoundComplete();
};
}
if (_this.isPlaying == false) {
_this.rightSound.start(0 + _this.stereoDelay);
_this.leftSound.start(0);
_this.setChannels();
_this.applyVolume();
_this.isPlaying = true;
_this.rightSound.onSoundComplete = function () {
_this.rightSound.start(0 + _this.stereoDelay);
_this.leftSound.start(0);
_this.broadcastMessage("onSoundComplete");
_this.onSoundComplete();
};
}
};
_this.stopMusic = function () {
_this.fade.stop();
delete _this.fade;
delete _this.fadeVol;
_this.rightSound.stop();
_this.leftSound.stop();
_this.isPlaying = false;
_this.songName = "";
_this.broadcastMessage("onStop");
};
_this.stop = _this.stopMusic;
_this.getVolume = function () {
return(_this._volume * 100);
};
_this.setVolume = function (newVolume) {
_this._volume = newVolume / 100;
_this.applyVolume();
};
_this.addProperty("volume", _this.getVolume, _this.setVolume);
_this.getSongVolume = function () {
return(_this._songVolume * 100);
};
_this.setSongVolume = function (newVolume) {
_this._songVolume = newVolume / 100;
_this.applyVolume();
};
_this.addProperty("songVolume", _this.getSongVolume, _this.setSongVolume);
_this.getDuration = function () {
return(_this.leftSound.duration);
};
_this.addProperty("duration", _this.getDuration, null);
_this.fadeTo = function (endVolume, seconds) {
var _local2 = _this._songVolume * 100;
delete _this.fade;
_this.isFading = true;
_this.fadeVol = _local2;
_this.fade = new mx.transitions.Tween(_this, "fadeVol", null, _local2, endVolume, seconds, true);
_this.fade.onMotionChanged = function () {
_this.setSongVolume(this.position);
};
_this.fade.onMotionFinished = function () {
_this.fade.stop();
delete _this.fade;
delete _this.fadeVol;
if (_this._songVolume == 0) {
_this.stopMusic();
}
_this.broadcastMessage("onFadeComplete");
_this.onFadeComplete();
_this.isFading = false;
};
if (!_this.isPlaying) {
_this.fade.onMotionFinished();
}
};
_this.setChannels = function () {
_this.rightSound.setPan(100);
_this.leftSound.setPan(-100);
};
_this.applyVolume = function () {
_this.rightSound.setVolume((100 * _this._volume) * _this._songVolume);
_this.leftSound.setVolume((100 * _this._volume) * _this._songVolume);
};
_this.passSoundEvents = function () {
_this.leftSound.onID3 = function () {
_this.broadcastMessage("onID3");
_this.onID3();
};
_this.leftSound.onLoad = function (success) {
_this.broadcastMessage("onLoad");
_this.onLoad(success);
};
};
AsBroadcaster.initialize(this);
_this.setChannels();
_this.passSoundEvents();
return(_this);
};
_global.MUSIC = makeStereoMusic(_this, "music_mc", 12);
makeSoundSystem = function (target_mc, name, depth) {
function get_isStarting(soundPath) {
return(Boolean(!(startList[soundPath] === undefined)));
}
function set_isStarting(soundPath) {
startList[soundPath] = true;
}
function clear_isStarting(soundPath) {
delete startList[soundPath];
}
target_mc = ((target_mc != undefined) ? (target_mc) : this);
name = ((target_mc != undefined) ? (name) : "soundSystem_mc");
if (_global.nextDepth === undefined) {
_global.nextDepth = function (this_mc, maxDepth, minDepth) {
this_mc = (this_mc ? (this_mc) : _root);
var _local4 = ((minDepth != undefined) ? (minDepth) : 1);
var _local5 = (maxDepth ? (maxDepth) : 1048500);
for (var _local6 in this_mc) {
var _local2 = this_mc[_local6].getDepth();
if ((_local2 < _local5) && (_local2 >= _local4)) {
_local4 = _local2 + 1;
}
}
return(_local4);
};
}
depth = ((depth != undefined) ? (depth) : (nextDepth(target_mc)));
var _this = target_mc.createEmptyMovieClip(name, depth);
_this.sound_array = new Array();
_this.soundVolume = 100;
var startList = {};
_this.play = function (soundName, volume, loop) {
if (soundName.length > 0) {
volume = ((volume != undefined) ? (volume) : 100);
loop = ((loop != undefined) ? (loop) : false);
var _local7 = "transformClip_" + Math.floor(Math.random() * 999);
var _local5 = _this.createEmptyMovieClip(_local7, nextDepth(_this));
var new_sound = new Sound(_local5);
AsBroadcaster.initialize(new_sound);
_this.sound_array.push(new_sound);
new_sound.transformClip = _local5;
new_sound.volume = volume;
new_sound.setVolume(new_sound.volume * (_this.soundVolume / 100));
new_sound.attachSound(soundName);
if (loop) {
new_sound.start();
} else {
new_sound.start();
}
var _local6 = get_isStarting(soundName);
if (_local6) {
new_sound.volume = 0;
new_sound.setVolume(0);
} else {
set_isStarting(soundName);
setTimeout(function () {
clear_isStarting(soundName);
}, 33);
}
new_sound.remove = function () {
var _local2 = _this.sound_array.length - 1;
while (_local2 >= 0) {
if (this == _this.sound_array[_local2]) {
_this.sound_array[_local2].onSoundComplete = null;
_this.sound_array[_local2].stop();
_this.sound_array[_local2].onSoundDone();
_this.sound_array[_local2].broadcastMessage("onSoundComplete");
for (var _local3 in _this.sound_array[_local2]._listeners) {
_this.sound_array[_local2].removeListener(_this.sound_array[_local2]._listeners[_local3]);
}
_this.sound_array[_local2].transformClip.removeMovieClip();
_this.sound_array.splice(_local2, 1);
break;
}
_local2--;
}
};
if (loop) {
new_sound.onSoundComplete = function () {
new_sound.onSoundDone();
new_sound.broadcastMessage("onSoundComplete");
new_sound.start();
};
} else {
new_sound.onSoundComplete = function () {
new_sound.remove();
};
}
if (new_sound.duration == 0) {
new_sound.onSoundDone();
new_sound.remove();
new_sound = null;
delete new_sound;
}
return(new_sound);
}
};
_this.stopAll = function () {
for (var _local1 in _this.sound_array) {
_this.sound_array[_local1].stop();
_this.sound_array.pop();
}
};
_this.setVolume = function (newVolume) {
_this.soundVolume = newVolume;
var _local1 = 0;
while (_local1 < _this.sound_array.length) {
_this.sound_array[_local1].setVolume(_this.sound_array[_local1].volume * (_this.soundVolume / 100));
_local1++;
}
};
_this.getVolume = function () {
return(_this.soundVolume);
};
_this.addProperty("volume", _this.getVolume, _this.setVolume);
return(_this);
};
_global.SOUND = makeSoundSystem(_this, "sound_mc", 13);
soundLoop = {};
soundLoop.addSound = function (loopName, soundObj, looping) {
if ((loopName && (loopName != "addSound")) && (loopName != "remove")) {
looping = looping || false;
soundLoop.remove(loopName);
var _local1 = {onSoundComplete:function () {
if (loopName && (ROOT.soundLoop[loopName].loop == false)) {
ROOT.soundLoop[loopName] = null;
delete ROOT.soundLoop[loopName];
}
}};
soundLoop[loopName] = {sound:soundObj, loop:looping, removeOnEnd:_local1};
}
soundObj.addListener(_local1);
};
soundLoop.remove = function (loopName) {
if (((loopName && (soundLoop[loopName])) && (loopName != "addSound")) && (loopName != "remove")) {
soundObj.removeListener(soundLoop[loopName].removeOnEnd);
soundLoop[loopName].sound.remove();
soundLoop[loopName] = null;
delete soundLoop[loopName];
}
};
RAM.swfLoader = {tempSwf:[], permSwf:[]};
ROOT.swfLoader = {tempContainers:["MAP", "PANORAMA", "UNDERLAY", "OVERLAY", "MAP_OVERLAY", "SPRITES", "this"], getStorage:function (target) {
var _local3 = RAM.swfLoader.permSwf;
for (var _local5 in this.tempContainers) {
var _local2 = this.tempContainers[_local5];
if (target.indexOf(_local2) > -1) {
_local3 = RAM.swfLoader.tempSwf;
break;
}
}
return(_local3);
}, findCommand:function (array, command) {
for (var _local4 in array) {
var _local1 = array[_local4];
if ((_local1.target == command.target) && (_local1.name == command.name)) {
return(_local4);
}
}
}, add:function (new_swfData, thisSprite) {
function resolveData(parent) {
for (var _local2 in parent) {
if (parent[_local2] instanceof Array) {
continue;
}
if (parent[_local2] instanceof MovieClip) {
continue;
}
if (parent[_local2] instanceof Object) {
parent[_local2] = resolveData(parent[_local2]);
}
if (typeof(parent[_local2]) === "string") {
parent[_local2] = parent[_local2].split("[this").join("[_this");
parent[_local2] = parent[_local2].split("[_this").join("[" + thisSprite);
parent[_local2] = nestedEval(parent[_local2], "RAM", "thisSprite");
}
}
return(parent);
}
var _local2 = ROOT.copyObject(new_swfData);
_local2 = resolveData(_local2);
var _local4 = this.getStorage(_local2.target);
var _local5 = this.findCommand(_local4, _local2);
if (_local5 == undefined) {
_local4.push(_local2);
} else {
_local4[_local5] = _local2;
}
}, remove:function (swfData) {
var _local3 = this.getStorage(swfData.target);
var _local2 = this.findCommand(_local3, swfData);
if (_local2 != undefined) {
_local3.splice(_local2, 1);
}
}};
react.to("init").then = startGame;
level_xml = new XML();
globals = {};
mdm.Forms.MainForm.dndEnable();
mdm.Application.onDragDrop = function (obj) {
function teleportToLevel() {
LOOP.removeSet("player");
LOOP.removeSet("scroll");
LOOP.removeSet("sprites");
var _local1 = SPRITES.player.image.getParams();
if (_local1) {
RAM.playerSprite = _local1;
}
var _local2 = {x:160, y:120};
loadLevel(firstDroppedFile, _local2);
}
function loadSaveFile() {
loadGameFile(firstDroppedFile);
}
var firstDroppedFile = obj.files[0];
if (LEVEL.alreadyTeleporting) {
return(undefined);
}
if (isLevel(firstDroppedFile)) {
teleportToLevel();
}
if (isSaveGame(firstDroppedFile)) {
loadSaveFile();
}
};
react.to("unload").then = function () {
mdm.Exception.DebugWindow.trace("game unload()");
_this.broadcastMessage("onUnloadGame");
};
react.to("unload").then = function () {
trace("* Detected \"unload\" event in ROOT");
if (_this.game_mc) {
_this.game_mc.removeMovieClip();
}
var _local2 = function (varName) {
if (!varName) {
return(undefined);
}
_global[varName] = null;
delete _global[varname];
};
_local2("ROOT");
_local2("RAM");
_local2("ROM");
_local2("RAM_F");
_local2("MAP");
_local2("COMMON");
_local2("SPRITES");
_local2("SPRITE_GRID");
_local2("PANORAMA");
_local2("UNDERLAY");
_local2("OVERLAY");
_local2("MAP_OVERLAY");
_local2("HUD");
_local2("TRANSITION");
_local2("LOOP");
MUSIC.stopMusic();
SOUND.stopAll();
_local2("MUSIC");
_local2("SOUND");
_local2("TRACE_SCRIPT");
_global.style.setStyle("themeColor", "halo");
_global.style.setStyle("embedFonts", false);
_global.style.setStyle("fontSize", 12);
_global.style.setStyle("fontFamily", "_sans");
_global.style.setStyle("color", 0);
_local2("SCREEN");
};
sendEvent("preInit");
sendEvent("init");
Frame 4
if (_this === undefined) {
var _this = this;
}
_this.stop();
_this.onUnload();
_this._name = "";
setTimeout(function () {
_this.onClose();
_this.removeMovieClip();
}, 34);
Symbol 2 MovieClip [transition_in_mask] Frame 1
function quikTween2(startAt, endAt, seconds, ease, fps) {
function done() {
if (vow.getStatus() === "pending") {
vow.keep();
}
vow.promise.advanceFrame = null;
if (!(interval === null)) {
clearInterval(interval);
}
interval = null;
hasBeenAborted = true;
}
var vow = VOW.make();
if (!seconds) {
trace("WARNING: quickTween2 did not recieve 'seconds' parameter. Using 0 seconds.");
seconds = 0;
}
fps = fps || 30;
var frames = Math.floor(seconds * fps);
var mag = (endAt - startAt);
var hasBeenAborted = false;
var interval = null;
vow.promise.abort = function () {
hasBeenAborted = true;
done();
};
if (frames === 0) {
vow.promise.advanceFrame = function () {
if (hasBeenAborted) {
return(undefined);
}
var _local1 = endAt;
vow.promise.onProgress(_local1);
done();
};
setTimeout(function () {
if (hasBeenAborted) {
return(undefined);
}
vow.promise.advanceFrame();
}, 0);
} else {
var frame = 0;
vow.promise.advanceFrame = function () {
if (hasBeenAborted) {
return(undefined);
}
frame++;
var _local1 = ease(frame, startAt, mag, frames);
vow.promise.onProgress(_local1);
if (frame >= frames) {
done();
}
};
interval = setInterval(function () {
if (hasBeenAborted) {
return(undefined);
}
vow.promise.advanceFrame();
}, 33);
setTimeout(function () {
if (hasBeenAborted) {
return(undefined);
}
vow.promise.advanceFrame();
}, 0);
}
return(vow.promise);
}
function easeLinear(thisFrame, startAt, mag, totalFrames) {
return((mag * (thisFrame / totalFrames)) + startAt);
}
function easeIn(thisFrame, startAt, mag, totalFrames) {
var _local2 = 3;
var _local1 = thisFrame / totalFrames;
_local1 = Math.pow(_local1, _local2);
var _local3 = (mag * _local1) + startAt;
return(_local3);
}
function easeOut(thisFrame, startAt, mag, totalFrames) {
var _local2 = 3;
var _local1 = thisFrame / totalFrames;
_local1 = 1 - Math.pow(1 - _local1, _local2);
var _local3 = (mag * _local1) + startAt;
return(_local3);
}
function run(target_mc, new_easing, new_duration, new_mask) {
function loadImage(file, target, newName, newDepth, isVisible) {
function once(func) {
var done = false;
return(function () {
return((done ? (0) : ((done = true)func.apply(this, arguments))));
});
}
function unload() {
if (!(cleanupInterval === null)) {
clearInterval(cleanupInterval);
cleanupInterval = null;
}
if (return_obj.content) {
waitForUnload_trigger();
return_obj.onUnload(return_obj.content);
return_obj.broadcastMessage("unload");
}
removeEvents();
}
function makeOnUnload(placeIntoThis) {
if (contentExists() === false) {
return(undefined);
}
if (placeIntoThis.onUnload) {
return(undefined);
}
placeIntoThis.onUnload = unload;
}
function removeEvents() {
detectTargetUnload.unload = undefined;
delete detectTargetUnload.unload;
target.removeEventListener("unload", detectTargetUnload);
target.removeListener(detectTargetUnload);
for (var _local2 in return_obj._listeners) {
var _local1 = return_obj._listeners[_local2];
return_obj.removeListener(_local1);
}
return_obj._listeners = undefined;
delete return_obj._listeners;
return_obj.addListener = undefined;
delete return_obj.addListener;
return_obj.removeListener = undefined;
delete return_obj.removeListener;
return_obj.broadcastMessage = undefined;
delete return_obj.broadcastMessage;
target.removeListener(return_obj);
}
function getBitmap() {
if (contentExists() === false) {
return(undefined);
}
if (!loadedBitmap) {
var _local2 = return_obj.content._width;
var _local1 = return_obj.content._height;
if (!_local2) {
_local2 = 1;
}
if (!_local1) {
_local1 = 1;
}
loadedBitmap = new flash.display.BitmapData(_local2, _local1, true, 0);
loadedBitmap.draw(return_obj.content);
}
return(loadedBitmap);
}
function detectLastFrame(anim_mc) {
var _local1 = {loop:function () {
if ((anim_mc._currentframe == 0) || (anim_mc._currentframe == undefined)) {
clearInterval(detectLastFrame_interval);
waitForAnim_queue.splice(0, waitForAnim_queue.length);
} else if (anim_mc._currentframe == anim_mc._totalframes) {
clearInterval(detectLastFrame_interval);
isDoneAnimating = true;
waitForAnim_trigger();
return_obj.onAnimDone(return_obj.content, return_obj.getBitmap);
return_obj.broadcastMessage("onAnimDone", return_obj.content, return_obj.getBitmap, return_obj.file);
delete return_obj.onAnimDone;
waitForAnim_queue.splice(0, waitForAnim_queue.length);
}
}};
detectLastFrame_interval = setInterval(_local1.loop, detectLastFrame_delay);
_local1.loop();
}
function contentExists() {
return(!(return_obj.content._currentframe === undefined));
}
function waitForLoad_trigger() {
var _local1 = 0;
while (_local1 < waitForLoad_queue.length) {
waitForLoad_queue[_local1].apply(return_obj.content, [return_obj.content, return_obj.getBitmap, return_obj.file]);
_local1++;
}
waitForLoad_queue.splice(0, waitForLoad_queue.length);
}
function waitForInit_trigger() {
var _local1 = 0;
while (_local1 < waitForInit_queue.length) {
waitForInit_queue[_local1].apply(return_obj.content, [return_obj.content, return_obj.getBitmap, return_obj.file]);
_local1++;
}
waitForInit_queue.splice(0, waitForInit_queue.length);
}
function waitForAnim_trigger() {
var _local1 = 0;
while (_local1 < waitForAnim_queue.length) {
waitForAnim_queue[_local1].apply(return_obj.content, [return_obj.content, return_obj.getBitmap, return_obj.file]);
_local1++;
}
waitForAnim_queue.splice(0, waitForAnim_queue.length);
}
function waitForUnload_trigger() {
var _local1 = 0;
while (_local1 < waitForUnload_queue.length) {
waitForUnload_queue[_local1].apply(return_obj.content, [return_obj.content, return_obj.getBitmap, return_obj.file]);
_local1++;
}
waitForUnload_queue.splice(0, waitForUnload_queue.length);
}
function placeClip() {
var newImage = target.attachMovie(file, newName, newDepth, {_visible:isVisible});
var newImage = target[newName];
if ((!(target.getInstanceAtDepth(newDepth) === undefined)) && (newImage != target)) {
loadedBitmap = null;
return_obj.content = newImage;
isLoaded = true;
makeOnUnload(return_obj.content);
waitForLoad_trigger();
return_obj.broadcastMessage("onLoad", return_obj.content, return_obj.getBitmap, file);
return_obj.onLoad(return_obj.content, return_obj.getBitmap, file);
detectLastFrame(return_obj.content);
setTimeout(function (file) {
waitForInit_trigger();
return_obj.onLoadInit(return_obj.content, return_obj.getBitmap, file);
return_obj.broadcastMessage("onLoadInit", return_obj.content, return_obj.getBitmap, file);
return_obj.broadcastMessage("complete", return_obj.content, return_obj.getBitmap, file);
}, 1, file);
} else {
var newImage = target.createEmptyMovieClip(newName, newDepth);
newImage._visible = isVisible;
if (file.generateFilterRect != undefined) {
var _local1 = file;
}
if (file.generateFilterRect == undefined) {
var _local1 = flash.display.BitmapData.loadBitmap(file);
}
newImage.attachBitmap(_local1, 0, true, true);
if (!(newImage.getInstanceAtDepth(0) === undefined)) {
loadedBitmap = _local1;
return_obj.content = newImage;
isLoaded = true;
makeOnUnload(return_obj.content);
waitForLoad_trigger();
return_obj.broadcastMessage("onLoad", return_obj.content, return_obj.getBitmap, file);
return_obj.onLoad(return_obj.content, return_obj.getBitmap, file);
setTimeout(function (file) {
waitForInit_trigger();
return_obj.onLoadInit(return_obj.content, return_obj.getBitmap, file);
return_obj.broadcastMessage("onLoadInit", return_obj.content, return_obj.getBitmap, file);
return_obj.broadcastMessage("complete", return_obj.content, return_obj.getBitmap, file);
}, 0, file);
isDoneAnimating = true;
waitForAnim_trigger();
return_obj.onAnimDone(return_obj.content, return_obj.getBitmap, file);
return_obj.broadcastMessage("onAnimDone", return_obj.content, return_obj.getBitmap, file);
delete return_obj.onAnimDone;
} else {
var loader = new MovieClipLoader();
loadedBitmap = null;
return_obj.content = undefined;
loader.onLoadComplete = function (loadedClip, loadStatus) {
newImage._visible = isVisible;
loadedBitmap = null;
return_obj.content = loadedClip;
isLoaded = true;
waitForLoad_trigger();
return_obj.broadcastMessage("onLoad", return_obj.content, null, file);
return_obj.onLoad(return_obj.content, null, file);
};
loader.onLoadInit = function (loadedClip) {
makeOnUnload(return_obj.content);
detectLastFrame(return_obj.content);
setTimeout(function (file) {
waitForInit_trigger();
return_obj.onLoadInit(return_obj.content, return_obj.getBitmap, file);
return_obj.broadcastMessage("onLoadInit", return_obj.content, return_obj.getBitmap, file);
return_obj.broadcastMessage("complete", return_obj.content, return_obj.getBitmap, file);
}, 0, file);
};
loader.onLoadInit = once(loader.onLoadInit);
loader.onLoadError = function () {
if (newName) {
removeClip(target[newName]);
}
return_obj.content = undefined;
waitForLoad_queue.splice(0, waitForLoad_queue.length);
waitForInit_queue.splice(0, waitForInit_queue.length);
waitForAnim_queue.splice(0, waitForAnim_queue.length);
var _local1 = {file:file};
return_obj.onLoadError(_local1);
return_obj.broadcastMessage("onLoadError", _local1);
};
loader.onLoadError = once(loader.onLoadError);
loader.loadClip(file, newImage);
if (isLoaded) {
return_obj.content = target[newName];
setTimeout(function (file) {
loader.onLoadInit(return_obj.content, return_obj.getBitmap, file);
}, 0, file);
}
}
}
}
function removeClip(clip_mc) {
if (!clip_mc) {
return(undefined);
}
clip_mc.onUnload();
delete clip_mc.onUnload;
clip_mc.removeMovieClip();
}
if (_global.nextDepth === undefined) {
_global.nextDepth = function (this_mc, maxDepth, minDepth) {
this_mc = (this_mc ? (this_mc) : _root);
var _local4 = ((minDepth != undefined) ? (minDepth) : 1);
var _local5 = (maxDepth ? (maxDepth) : 1048500);
for (var _local6 in this_mc) {
var _local2 = this_mc[_local6].getDepth();
if ((_local2 < _local5) && (_local2 >= _local4)) {
_local4 = _local2 + 1;
}
}
return(_local4);
};
}
var detectLastFrame_delay = 10;
var return_obj;
var isLoaded = false;
var isInit = false;
var isDoneAnimating = false;
var waitForLoad_queue = [];
var waitForInit_queue = [];
var waitForAnim_queue = [];
var waitForUnload_queue = [];
var loadedBitmap = null;
var detectTargetUnload = {};
var detectLastFrame_interval = null;
var cleanupInterval = null;
var unload = once(unload);
detectLastFrame = once(detectLastFrame);
return_obj = {file:file, onLoadInit:function () {
}, onLoadError:function () {
}, onAnimDone:function () {
}, content:undefined, waitForLoad:function (newCallback) {
if (isLoaded) {
newCallback.apply(return_obj.content, [return_obj.content, getBitmap, file]);
} else {
waitForLoad_queue.push(newCallback);
}
return(return_obj);
}, waitForInit:function (newCallback) {
if (isInit) {
newCallback.apply(return_obj.content, [return_obj.content, getBitmap, file]);
} else {
waitForInit_queue.push(newCallback);
}
return(return_obj);
}, waitForAnim:function (newCallback) {
if (isDoneAnimating) {
newCallback.apply(return_obj.content, [return_obj.content, getBitmap, file]);
} else {
waitForAnim_queue.push(newCallback);
}
return(return_obj);
}, waitForUnload:function (newCallback) {
waitForUnload_queue.push(newCallback);
return(return_obj);
}, getBitmap:getBitmap, unload:unload, removeEvents:removeEvents};
AsBroadcaster.initialize(return_obj);
detectTargetUnload.unload = unload;
if (target.addEventListener) {
target.addEventListener("unload", detectTargetUnload);
} else if (target.addListener) {
target.addListener(detectTargetUnload);
}
var _local17 = Math.floor(Math.random() * 300);
setTimeout(function () {
cleanupInterval = setInterval(function () {
var _local1 = contentExists();
if (_local1) {
return(undefined);
}
unload();
}, 3000);
}, _local17);
if (isVisible === undefined) {
isVisible = true;
}
var target = (target || this);
var newDepth = ((newDepth != undefined) ? (newDepth) : (nextDepth(target)));
var newName = (newName || ("image_" + newDepth));
newName = String(newName);
setTimeout(function () {
removeClip(target[newName]);
placeClip();
}, 0);
return(return_obj);
}
function startHide() {
var vow = VOW.make();
settings.thresh = 0;
updateMask();
var _local1 = quikTween2(16777215, 0, duration_sec, easing_func);
_local1.onProgress = function (value) {
settings.thresh = value;
updateMask();
};
_local1.then = function () {
mask_pic.fillRect(copy, 0);
vow.keep();
};
return(vow.promise);
}
function updateMask() {
var _local2 = settings.op;
var _local5 = settings.thresh;
var _local6 = settings.passColor;
var _local3 = settings.mask;
var _local4 = settings.copySrc;
mask_pic.fillRect(copy, 0);
var _local1 = new flash.display.BitmapData(320, 240, false, 16711680);
_local1.threshold(source_pic, copy, paste, _local2, _local5, _local6, _local3, _local4);
mask_pic.copyChannel(_local1, copy, paste, 1, 8);
}
function done() {
snapshot_mc.removeMovieClip();
mask_mc.removeMovieClip();
source_pic.dispose();
loaded_pic.dispose();
invert_pic.dispose();
mask_pic.dispose();
vow.keep();
}
var duration_sec = ((new_duration || (TRANSITION.inDuration)) || 0.5);
if (!_this) {
var _this = this;
}
var _local23 = function (fileName_str, movieClipParent) {
var movieClipParent = (movieClipParent || (_this));
var vow = VOW.make();
var _local7 = 1000 + Math.floor(Math.random() * 900000);
var _local4 = nextDepth(movieClipParent, null, _local7);
var newName = ("tempLoadedClip_" + _local4);
var _local2 = loadImage(fileName_str, movieClipParent, newName, _local4, false);
var _local3 = function () {
var _local1 = movieClipParent[newName];
var _local2 = new flash.display.BitmapData(_local1._width, _local1._height, true, 0);
_local2.draw(_local1);
_local1._name = "";
_local1.onUnload();
_local1.onUnload = null;
_local1.removeMovieClip();
delete movieClipParent[newName];
vow.keep(_local2);
};
_local2.onLoadInit = _local3;
if (!_local2) {
_local3();
}
_local2.onLoadError = function () {
var _local1 = "Failed to load image: " + fileName_str;
trace(_local1);
vow.doBreak(undefined);
};
return(vow.promise);
};
var _local32 = new_easing || "easeLinear";
var easing_func = (_this[_local32] || (_this.easeLinear));
var source_pic = (new flash.display.BitmapData(screenWidth, screenHeight, false, 0));
var loaded_pic;
var invert_pic;
var mask_mc;
var mask_pic;
var mask_loaded = VOW.make();
var copy = (new flash.geom.Rectangle(0, 0, 320, 240));
var paste = (new flash.geom.Point(0, 0));
var settings = {op:">", thresh:16777215, passColor:0, mask:16777215, copySrc:false};
snapshot_mc = _this.createEmptyMovieClip("snapshot_mc", 0);
snapshot_pic = new flash.display.BitmapData(screenWidth, screenHeight, true, 0);
snapshot_pic.draw(target_mc);
snapshot_mc.attachBitmap(snapshot_pic, 0);
snapshot_mc.cacheAsBitmap = true;
target_mc._visible = false;
mask_mc = _this.createEmptyMovieClip("mask_mc", 1);
mask_pic = new flash.display.BitmapData(screenWidth, screenHeight, true, 4294967295);
mask_mc.attachBitmap(mask_pic, 0);
mask_mc.cacheAsBitmap = true;
snapshot_mc.setMask(mask_mc);
var _local15 = new_mask || (TRANSITION.map);
if (!_local15) {
mask_loaded.doBreak();
} else {
_local23(_local15).then(function (new_loaded_pic) {
loaded_pic = new_loaded_pic;
invert_pic = new_loaded_pic.clone();
var _local1 = new flash.geom.ColorTransform(-1, -1, -1, 1, 255, 255, 255, 0);
invert_pic.colorTransform(invert_pic.rectangle, _local1);
source_pic = loaded_pic;
mask_loaded.keep();
}, mask_loaded.doBreak);
}
mask_loaded.then(startHide).then(done, done);
return(vow);
}
var _this = this;
var vow_version = 3.9;
var vow_scope = function () {
function forEach(array, callback) {
var _local1 = 0;
while (_local1 < array.length) {
callback(array[_local1], _local1);
_local1++;
}
}
function enlighten(queue, fate) {
forEach(queue, function (func) {
setTimeout(function () {
func(fate);
}, 0);
});
}
var _local12 = vow_version;
var vow_output = {version:_local12, make:function () {
function enqueue(resolution, func, vow) {
var _local2 = ((resolution === "kept") ? (keepers) : (breakers));
var isBroken = Boolean(_local2 === breakers);
_local2[_local2.length] = ((!(typeof(func) === "function")) ? (vow[resolution]) : (function (value) {
try {
_local1 = func(value)_local1if (_local1 && (_local1.is_promise === true)) {
if (isBroken) {
_local1.then(vow.doBreak, vow.doBreak)} else {
_local1.then(vow.keep, vow.doBreak)}
} else {
if (isBroken) {
vow.doBreak(_local1)}
if (!isBroken) {
vow.keep(_local1)}
}
} catch(e) {
vow.doBreak(e)}
}));
}
function herald(state, value, queue) {
if (!(status === "pending")) {
return(undefined);
}
fate = value;
status = state;
enlighten(queue, fate);
keepers = [];
breakers = [];
}
function get_then() {
return(set_then);
}
var breakers = [];
var fate = undefined;
var keepers = [];
var status = "pending";
var promise = {version:vow_output.version, is_promise:true, getStatus:function () {
return(status);
}, getValue:function () {
return(fate);
}, doBreak:function (value) {
herald("broken", value, breakers);
return(this.promise);
}, keep:function (value) {
herald("kept", value, keepers);
return(this.promise);
}};
var set_then = function (kept, broken) {
var _local1 = VOW.make();
switch (status) {
case "pending" :
enqueue("kept", kept, _local1);
enqueue("break", broken, _local1);
break;
case "kept" :
enqueue("kept", kept, _local1);
enlighten(keepers, fate);
keepers = [];
break;
case "broken" :
enqueue("break", broken, _local1);
enlighten(breakers, fate);
breakers = [];
}
return(_local1);
};
promise.addProperty("then", get_then, set_then);
promise.promise = promise;
return(promise);
}, every:function (array) {
var remaining = array.length;
var results = [];
var vow = VOW.make();
if (!remaining) {
vow.keep([]);
} else {
forEach(array, function (promise, i) {
promise.then(function (value) {
results[i] = value;
remaining--;
if (remaining === 0) {
vow.keep(results);
}
}, function (reason) {
remaining = null;
vow.doBreak(reason);
});
});
}
return(vow.promise);
}, everyTried:function (array) {
var remaining = array.length;
var results = [];
var vow = VOW.make();
if (!remaining) {
vow.keep([]);
} else {
forEach(array, function (promise, i) {
promise.then(function (value) {
results[i] = value;
remaining--;
if (remaining === 0) {
vow.keep(results);
}
}, function (failReason) {
results[i] = undefined;
remaining--;
if (remaining === 0) {
vow.keep(results);
}
});
});
}
return(vow.promise);
}, first:function (array) {
function check() {
remaining--;
if ((remaining === 0) && (!found)) {
vow.doBreak();
}
}
var found = false;
var remaining = array.length;
var vow = VOW.make();
if (remaining === 0) {
vow.doBreak(array);
} else {
forEach(array, function (promise) {
promise.then(function (value) {
if (!found) {
found = true;
vow.keep(value);
}
check();
}, check);
});
}
return(vow.promise);
}, kept:function (value) {
var _local1 = VOW.make();
_local1.keep(value);
return(_local1.promise);
}, broken:function (reason) {
var _local1 = VOW.make();
_local1.doBreak(reason);
return(_local1.promise);
}, wait:function (milliseconds) {
var _local1 = function (input) {
var vow = VOW.make();
var milliseconds = ((milliseconds === undefined) ? 0 : (milliseconds));
setTimeout(function () {
vow.keep(input);
}, milliseconds);
return(vow.promise);
};
return(_local1);
}, firstWait:function (milliseconds) {
var vow = VOW.make();
milliseconds = ((milliseconds === undefined) ? 0 : (milliseconds));
setTimeout(function () {
vow.keep({});
}, milliseconds);
return(vow.promise);
}, start:function (value) {
var _local1 = VOW.make();
_local1.keep(value);
return(_local1.promise);
}, runSequence:function (sequence) {
var _local4 = VOW.make().keep();
var _local1 = 0;
while (_local1 < sequence.length) {
var _local3 = sequence[_local1];
var _local2 = _local4.then(_local3);
if (!(_local2.is_promise === true)) {
_local2 = VOW.kept();
}
_local4 = _local2;
_local1++;
}
var _local6 = _local4;
return(_local6);
}, wrap:function (func, callbackIndex) {
if (callbackIndex === undefined) {
var callbackIndex = 0;
}
return(function () {
var vow = VOW.make();
if (callbackIndex === undefined) {
var callbackIndex = (arguments.length - 1);
}
arguments[callbackIndex] = function (output) {
vow.keep(output);
};
func.apply(this, arguments);
return(vow.promise);
});
}, preApply:function (func, param) {
var args = arguments.slice(1);
return(function () {
return(func.apply(null, args));
});
}, failThru:function (failReason) {
return(failReason);
}, null:null};
vow_output.any = (vow_output.allResolved = vow_output.everyTried);
return(vow_output);
};
var VOW = vow_scope();
delete vow_scope;
delete vow_version;
var vow = VOW.make();
var vow_version = 3.9;
var vow_scope = function () {
function forEach(array, callback) {
var _local1 = 0;
while (_local1 < array.length) {
callback(array[_local1], _local1);
_local1++;
}
}
function enlighten(queue, fate) {
forEach(queue, function (func) {
setTimeout(function () {
func(fate);
}, 0);
});
}
var _local12 = vow_version;
var vow_output = {version:_local12, make:function () {
function enqueue(resolution, func, vow) {
var _local2 = ((resolution === "kept") ? (keepers) : (breakers));
var isBroken = Boolean(_local2 === breakers);
_local2[_local2.length] = ((!(typeof(func) === "function")) ? (vow[resolution]) : (function (value) {
try {
_local1 = func(value)_local1if (_local1 && (_local1.is_promise === true)) {
if (isBroken) {
_local1.then(vow.doBreak, vow.doBreak)} else {
_local1.then(vow.keep, vow.doBreak)}
} else {
if (isBroken) {
vow.doBreak(_local1)}
if (!isBroken) {
vow.keep(_local1)}
}
} catch(e) {
vow.doBreak(e)}
}));
}
function herald(state, value, queue) {
if (!(status === "pending")) {
return(undefined);
}
fate = value;
status = state;
enlighten(queue, fate);
keepers = [];
breakers = [];
}
function get_then() {
return(set_then);
}
var breakers = [];
var fate = undefined;
var keepers = [];
var status = "pending";
var promise = {version:vow_output.version, is_promise:true, getStatus:function () {
return(status);
}, getValue:function () {
return(fate);
}, doBreak:function (value) {
herald("broken", value, breakers);
return(this.promise);
}, keep:function (value) {
herald("kept", value, keepers);
return(this.promise);
}};
var set_then = function (kept, broken) {
var _local1 = VOW.make();
switch (status) {
case "pending" :
enqueue("kept", kept, _local1);
enqueue("break", broken, _local1);
break;
case "kept" :
enqueue("kept", kept, _local1);
enlighten(keepers, fate);
keepers = [];
break;
case "broken" :
enqueue("break", broken, _local1);
enlighten(breakers, fate);
breakers = [];
}
return(_local1);
};
promise.addProperty("then", get_then, set_then);
promise.promise = promise;
return(promise);
}, every:function (array) {
var remaining = array.length;
var results = [];
var vow = VOW.make();
if (!remaining) {
vow.keep([]);
} else {
forEach(array, function (promise, i) {
promise.then(function (value) {
results[i] = value;
remaining--;
if (remaining === 0) {
vow.keep(results);
}
}, function (reason) {
remaining = null;
vow.doBreak(reason);
});
});
}
return(vow.promise);
}, everyTried:function (array) {
var remaining = array.length;
var results = [];
var vow = VOW.make();
if (!remaining) {
vow.keep([]);
} else {
forEach(array, function (promise, i) {
promise.then(function (value) {
results[i] = value;
remaining--;
if (remaining === 0) {
vow.keep(results);
}
}, function (failReason) {
results[i] = undefined;
remaining--;
if (remaining === 0) {
vow.keep(results);
}
});
});
}
return(vow.promise);
}, first:function (array) {
function check() {
remaining--;
if ((remaining === 0) && (!found)) {
vow.doBreak();
}
}
var found = false;
var remaining = array.length;
var vow = VOW.make();
if (remaining === 0) {
vow.doBreak(array);
} else {
forEach(array, function (promise) {
promise.then(function (value) {
if (!found) {
found = true;
vow.keep(value);
}
check();
}, check);
});
}
return(vow.promise);
}, kept:function (value) {
var _local1 = VOW.make();
_local1.keep(value);
return(_local1.promise);
}, broken:function (reason) {
var _local1 = VOW.make();
_local1.doBreak(reason);
return(_local1.promise);
}, wait:function (milliseconds) {
var _local1 = function (input) {
var vow = VOW.make();
var milliseconds = ((milliseconds === undefined) ? 0 : (milliseconds));
setTimeout(function () {
vow.keep(input);
}, milliseconds);
return(vow.promise);
};
return(_local1);
}, firstWait:function (milliseconds) {
var vow = VOW.make();
milliseconds = ((milliseconds === undefined) ? 0 : (milliseconds));
setTimeout(function () {
vow.keep({});
}, milliseconds);
return(vow.promise);
}, start:function (value) {
var _local1 = VOW.make();
_local1.keep(value);
return(_local1.promise);
}, runSequence:function (sequence) {
var _local4 = VOW.make().keep();
var _local1 = 0;
while (_local1 < sequence.length) {
var _local3 = sequence[_local1];
var _local2 = _local4.then(_local3);
if (!(_local2.is_promise === true)) {
_local2 = VOW.kept();
}
_local4 = _local2;
_local1++;
}
var _local6 = _local4;
return(_local6);
}, wrap:function (func, callbackIndex) {
if (callbackIndex === undefined) {
var callbackIndex = 0;
}
return(function () {
var vow = VOW.make();
if (callbackIndex === undefined) {
var callbackIndex = (arguments.length - 1);
}
arguments[callbackIndex] = function (output) {
vow.keep(output);
};
func.apply(this, arguments);
return(vow.promise);
});
}, preApply:function (func, param) {
var args = arguments.slice(1);
return(function () {
return(func.apply(null, args));
});
}, failThru:function (failReason) {
return(failReason);
}, null:null};
vow_output.any = (vow_output.allResolved = vow_output.everyTried);
return(vow_output);
};
var VOW = vow_scope();
delete vow_scope;
delete vow_version;
ready();
Symbol 6 MovieClip [transition_out_maskBlack] Frame 1
function quikTween2(startAt, endAt, seconds, ease, fps) {
function done() {
if (vow.getStatus() === "pending") {
vow.keep();
}
vow.promise.advanceFrame = null;
if (!(interval === null)) {
clearInterval(interval);
}
interval = null;
hasBeenAborted = true;
}
var vow = VOW.make();
if (!seconds) {
trace("WARNING: quickTween2 did not recieve 'seconds' parameter. Using 0 seconds.");
seconds = 0;
}
fps = fps || 30;
var frames = Math.floor(seconds * fps);
var mag = (endAt - startAt);
var hasBeenAborted = false;
var interval = null;
vow.promise.abort = function () {
hasBeenAborted = true;
done();
};
if (frames === 0) {
vow.promise.advanceFrame = function () {
if (hasBeenAborted) {
return(undefined);
}
var _local1 = endAt;
vow.promise.onProgress(_local1);
done();
};
setTimeout(function () {
if (hasBeenAborted) {
return(undefined);
}
vow.promise.advanceFrame();
}, 0);
} else {
var frame = 0;
vow.promise.advanceFrame = function () {
if (hasBeenAborted) {
return(undefined);
}
frame++;
var _local1 = ease(frame, startAt, mag, frames);
vow.promise.onProgress(_local1);
if (frame >= frames) {
done();
}
};
interval = setInterval(function () {
if (hasBeenAborted) {
return(undefined);
}
vow.promise.advanceFrame();
}, 33);
setTimeout(function () {
if (hasBeenAborted) {
return(undefined);
}
vow.promise.advanceFrame();
}, 0);
}
return(vow.promise);
}
function easeLinear(thisFrame, startAt, mag, totalFrames) {
return((mag * (thisFrame / totalFrames)) + startAt);
}
function easeIn(thisFrame, startAt, mag, totalFrames) {
var _local2 = 3;
var _local1 = thisFrame / totalFrames;
_local1 = Math.pow(_local1, _local2);
var _local3 = (mag * _local1) + startAt;
return(_local3);
}
function easeOut(thisFrame, startAt, mag, totalFrames) {
var _local2 = 3;
var _local1 = thisFrame / totalFrames;
_local1 = 1 - Math.pow(1 - _local1, _local2);
var _local3 = (mag * _local1) + startAt;
return(_local3);
}
function run(target_mc, new_easing, new_duration, new_mask) {
function loadImage(file, target, newName, newDepth, isVisible) {
function once(func) {
var done = false;
return(function () {
return((done ? (0) : ((done = true)func.apply(this, arguments))));
});
}
function unload() {
if (!(cleanupInterval === null)) {
clearInterval(cleanupInterval);
cleanupInterval = null;
}
if (return_obj.content) {
waitForUnload_trigger();
return_obj.onUnload(return_obj.content);
return_obj.broadcastMessage("unload");
}
removeEvents();
}
function makeOnUnload(placeIntoThis) {
if (contentExists() === false) {
return(undefined);
}
if (placeIntoThis.onUnload) {
return(undefined);
}
placeIntoThis.onUnload = unload;
}
function removeEvents() {
detectTargetUnload.unload = undefined;
delete detectTargetUnload.unload;
target.removeEventListener("unload", detectTargetUnload);
target.removeListener(detectTargetUnload);
for (var _local2 in return_obj._listeners) {
var _local1 = return_obj._listeners[_local2];
return_obj.removeListener(_local1);
}
return_obj._listeners = undefined;
delete return_obj._listeners;
return_obj.addListener = undefined;
delete return_obj.addListener;
return_obj.removeListener = undefined;
delete return_obj.removeListener;
return_obj.broadcastMessage = undefined;
delete return_obj.broadcastMessage;
target.removeListener(return_obj);
}
function getBitmap() {
if (contentExists() === false) {
return(undefined);
}
if (!loadedBitmap) {
var _local2 = return_obj.content._width;
var _local1 = return_obj.content._height;
if (!_local2) {
_local2 = 1;
}
if (!_local1) {
_local1 = 1;
}
loadedBitmap = new flash.display.BitmapData(_local2, _local1, true, 0);
loadedBitmap.draw(return_obj.content);
}
return(loadedBitmap);
}
function detectLastFrame(anim_mc) {
var _local1 = {loop:function () {
if ((anim_mc._currentframe == 0) || (anim_mc._currentframe == undefined)) {
clearInterval(detectLastFrame_interval);
waitForAnim_queue.splice(0, waitForAnim_queue.length);
} else if (anim_mc._currentframe == anim_mc._totalframes) {
clearInterval(detectLastFrame_interval);
isDoneAnimating = true;
waitForAnim_trigger();
return_obj.onAnimDone(return_obj.content, return_obj.getBitmap);
return_obj.broadcastMessage("onAnimDone", return_obj.content, return_obj.getBitmap, return_obj.file);
delete return_obj.onAnimDone;
waitForAnim_queue.splice(0, waitForAnim_queue.length);
}
}};
detectLastFrame_interval = setInterval(_local1.loop, detectLastFrame_delay);
_local1.loop();
}
function contentExists() {
return(!(return_obj.content._currentframe === undefined));
}
function waitForLoad_trigger() {
var _local1 = 0;
while (_local1 < waitForLoad_queue.length) {
waitForLoad_queue[_local1].apply(return_obj.content, [return_obj.content, return_obj.getBitmap, return_obj.file]);
_local1++;
}
waitForLoad_queue.splice(0, waitForLoad_queue.length);
}
function waitForInit_trigger() {
var _local1 = 0;
while (_local1 < waitForInit_queue.length) {
waitForInit_queue[_local1].apply(return_obj.content, [return_obj.content, return_obj.getBitmap, return_obj.file]);
_local1++;
}
waitForInit_queue.splice(0, waitForInit_queue.length);
}
function waitForAnim_trigger() {
var _local1 = 0;
while (_local1 < waitForAnim_queue.length) {
waitForAnim_queue[_local1].apply(return_obj.content, [return_obj.content, return_obj.getBitmap, return_obj.file]);
_local1++;
}
waitForAnim_queue.splice(0, waitForAnim_queue.length);
}
function waitForUnload_trigger() {
var _local1 = 0;
while (_local1 < waitForUnload_queue.length) {
waitForUnload_queue[_local1].apply(return_obj.content, [return_obj.content, return_obj.getBitmap, return_obj.file]);
_local1++;
}
waitForUnload_queue.splice(0, waitForUnload_queue.length);
}
function placeClip() {
var newImage = target.attachMovie(file, newName, newDepth, {_visible:isVisible});
var newImage = target[newName];
if ((!(target.getInstanceAtDepth(newDepth) === undefined)) && (newImage != target)) {
loadedBitmap = null;
return_obj.content = newImage;
isLoaded = true;
makeOnUnload(return_obj.content);
waitForLoad_trigger();
return_obj.broadcastMessage("onLoad", return_obj.content, return_obj.getBitmap, file);
return_obj.onLoad(return_obj.content, return_obj.getBitmap, file);
detectLastFrame(return_obj.content);
setTimeout(function (file) {
waitForInit_trigger();
return_obj.onLoadInit(return_obj.content, return_obj.getBitmap, file);
return_obj.broadcastMessage("onLoadInit", return_obj.content, return_obj.getBitmap, file);
return_obj.broadcastMessage("complete", return_obj.content, return_obj.getBitmap, file);
}, 1, file);
} else {
var newImage = target.createEmptyMovieClip(newName, newDepth);
newImage._visible = isVisible;
if (file.generateFilterRect != undefined) {
var _local1 = file;
}
if (file.generateFilterRect == undefined) {
var _local1 = flash.display.BitmapData.loadBitmap(file);
}
newImage.attachBitmap(_local1, 0, true, true);
if (!(newImage.getInstanceAtDepth(0) === undefined)) {
loadedBitmap = _local1;
return_obj.content = newImage;
isLoaded = true;
makeOnUnload(return_obj.content);
waitForLoad_trigger();
return_obj.broadcastMessage("onLoad", return_obj.content, return_obj.getBitmap, file);
return_obj.onLoad(return_obj.content, return_obj.getBitmap, file);
setTimeout(function (file) {
waitForInit_trigger();
return_obj.onLoadInit(return_obj.content, return_obj.getBitmap, file);
return_obj.broadcastMessage("onLoadInit", return_obj.content, return_obj.getBitmap, file);
return_obj.broadcastMessage("complete", return_obj.content, return_obj.getBitmap, file);
}, 0, file);
isDoneAnimating = true;
waitForAnim_trigger();
return_obj.onAnimDone(return_obj.content, return_obj.getBitmap, file);
return_obj.broadcastMessage("onAnimDone", return_obj.content, return_obj.getBitmap, file);
delete return_obj.onAnimDone;
} else {
var loader = new MovieClipLoader();
loadedBitmap = null;
return_obj.content = undefined;
loader.onLoadComplete = function (loadedClip, loadStatus) {
newImage._visible = isVisible;
loadedBitmap = null;
return_obj.content = loadedClip;
isLoaded = true;
waitForLoad_trigger();
return_obj.broadcastMessage("onLoad", return_obj.content, null, file);
return_obj.onLoad(return_obj.content, null, file);
};
loader.onLoadInit = function (loadedClip) {
makeOnUnload(return_obj.content);
detectLastFrame(return_obj.content);
setTimeout(function (file) {
waitForInit_trigger();
return_obj.onLoadInit(return_obj.content, return_obj.getBitmap, file);
return_obj.broadcastMessage("onLoadInit", return_obj.content, return_obj.getBitmap, file);
return_obj.broadcastMessage("complete", return_obj.content, return_obj.getBitmap, file);
}, 0, file);
};
loader.onLoadInit = once(loader.onLoadInit);
loader.onLoadError = function () {
if (newName) {
removeClip(target[newName]);
}
return_obj.content = undefined;
waitForLoad_queue.splice(0, waitForLoad_queue.length);
waitForInit_queue.splice(0, waitForInit_queue.length);
waitForAnim_queue.splice(0, waitForAnim_queue.length);
var _local1 = {file:file};
return_obj.onLoadError(_local1);
return_obj.broadcastMessage("onLoadError", _local1);
};
loader.onLoadError = once(loader.onLoadError);
loader.loadClip(file, newImage);
if (isLoaded) {
return_obj.content = target[newName];
setTimeout(function (file) {
loader.onLoadInit(return_obj.content, return_obj.getBitmap, file);
}, 0, file);
}
}
}
}
function removeClip(clip_mc) {
if (!clip_mc) {
return(undefined);
}
clip_mc.onUnload();
delete clip_mc.onUnload;
clip_mc.removeMovieClip();
}
if (_global.nextDepth === undefined) {
_global.nextDepth = function (this_mc, maxDepth, minDepth) {
this_mc = (this_mc ? (this_mc) : _root);
var _local4 = ((minDepth != undefined) ? (minDepth) : 1);
var _local5 = (maxDepth ? (maxDepth) : 1048500);
for (var _local6 in this_mc) {
var _local2 = this_mc[_local6].getDepth();
if ((_local2 < _local5) && (_local2 >= _local4)) {
_local4 = _local2 + 1;
}
}
return(_local4);
};
}
var detectLastFrame_delay = 10;
var return_obj;
var isLoaded = false;
var isInit = false;
var isDoneAnimating = false;
var waitForLoad_queue = [];
var waitForInit_queue = [];
var waitForAnim_queue = [];
var waitForUnload_queue = [];
var loadedBitmap = null;
var detectTargetUnload = {};
var detectLastFrame_interval = null;
var cleanupInterval = null;
var unload = once(unload);
detectLastFrame = once(detectLastFrame);
return_obj = {file:file, onLoadInit:function () {
}, onLoadError:function () {
}, onAnimDone:function () {
}, content:undefined, waitForLoad:function (newCallback) {
if (isLoaded) {
newCallback.apply(return_obj.content, [return_obj.content, getBitmap, file]);
} else {
waitForLoad_queue.push(newCallback);
}
return(return_obj);
}, waitForInit:function (newCallback) {
if (isInit) {
newCallback.apply(return_obj.content, [return_obj.content, getBitmap, file]);
} else {
waitForInit_queue.push(newCallback);
}
return(return_obj);
}, waitForAnim:function (newCallback) {
if (isDoneAnimating) {
newCallback.apply(return_obj.content, [return_obj.content, getBitmap, file]);
} else {
waitForAnim_queue.push(newCallback);
}
return(return_obj);
}, waitForUnload:function (newCallback) {
waitForUnload_queue.push(newCallback);
return(return_obj);
}, getBitmap:getBitmap, unload:unload, removeEvents:removeEvents};
AsBroadcaster.initialize(return_obj);
detectTargetUnload.unload = unload;
if (target.addEventListener) {
target.addEventListener("unload", detectTargetUnload);
} else if (target.addListener) {
target.addListener(detectTargetUnload);
}
var _local17 = Math.floor(Math.random() * 300);
setTimeout(function () {
cleanupInterval = setInterval(function () {
var _local1 = contentExists();
if (_local1) {
return(undefined);
}
unload();
}, 3000);
}, _local17);
if (isVisible === undefined) {
isVisible = true;
}
var target = (target || this);
var newDepth = ((newDepth != undefined) ? (newDepth) : (nextDepth(target)));
var newName = (newName || ("image_" + newDepth));
newName = String(newName);
setTimeout(function () {
removeClip(target[newName]);
placeClip();
}, 0);
return(return_obj);
}
function startHide() {
var vow = VOW.make();
settings.thresh = 0;
updateMask();
var _local1 = quikTween2(16777215, 0, duration_sec, easing_func);
_local1.onProgress = function (value) {
settings.thresh = value;
updateMask();
black_mc._visible = true;
};
_local1.then = function () {
mask_pic.fillRect(copy, 0);
vow.keep();
};
return(vow.promise);
}
function updateMask() {
var _local2 = settings.op;
var _local5 = settings.thresh;
var _local6 = settings.passColor;
var _local3 = settings.mask;
var _local4 = settings.copySrc;
mask_pic.fillRect(copy, 0);
var _local1 = new flash.display.BitmapData(320, 240, false, 16711680);
_local1.threshold(source_pic, copy, paste, _local2, _local5, _local6, _local3, _local4);
mask_pic.copyChannel(_local1, copy, paste, 1, 8);
}
function done() {
black_mc._visible = true;
snapshot_mc.removeMovieClip();
mask_mc.removeMovieClip();
source_pic.dispose();
loaded_pic.dispose();
invert_pic.dispose();
mask_pic.dispose();
vow.keep();
}
var duration_sec = ((new_duration || (TRANSITION.outDuration)) || 0.5);
if (!_this) {
var _this = this;
}
var _local23 = function (fileName_str, movieClipParent) {
var movieClipParent = (movieClipParent || (_this));
var vow = VOW.make();
var _local7 = 1000 + Math.floor(Math.random() * 900000);
var _local4 = nextDepth(movieClipParent, null, _local7);
var newName = ("tempLoadedClip_" + _local4);
var _local2 = loadImage(fileName_str, movieClipParent, newName, _local4, false);
var _local3 = function () {
var _local1 = movieClipParent[newName];
var _local2 = new flash.display.BitmapData(_local1._width, _local1._height, true, 0);
_local2.draw(_local1);
_local1._name = "";
_local1.onUnload();
_local1.onUnload = null;
_local1.removeMovieClip();
delete movieClipParent[newName];
vow.keep(_local2);
};
_local2.onLoadInit = _local3;
if (!_local2) {
_local3();
}
_local2.onLoadError = function () {
var _local1 = "Failed to load image: " + fileName_str;
trace(_local1);
vow.doBreak(undefined);
};
return(vow.promise);
};
var _local32 = new_easing || "easeLinear";
var easing_func = (_this[_local32] || (_this.easeLinear));
var source_pic = (new flash.display.BitmapData(screenWidth, screenHeight, false, 0));
var loaded_pic;
var invert_pic;
var mask_mc;
var mask_pic;
var mask_loaded = VOW.make();
var copy = (new flash.geom.Rectangle(0, 0, 320, 240));
var paste = (new flash.geom.Point(0, 0));
var settings = {op:">", thresh:16777215, passColor:0, mask:16777215, copySrc:false};
snapshot_mc = _this.createEmptyMovieClip("snapshot_mc", 0);
snapshot_pic = new flash.display.BitmapData(screenWidth, screenHeight, true, 0);
snapshot_pic.draw(target_mc);
snapshot_mc.attachBitmap(snapshot_pic, 0);
snapshot_mc.cacheAsBitmap = true;
mask_mc = _this.createEmptyMovieClip("mask_mc", 1);
mask_pic = new flash.display.BitmapData(screenWidth, screenHeight, true, 4294967295);
mask_mc.attachBitmap(mask_pic, 0);
mask_mc.cacheAsBitmap = true;
snapshot_mc.setMask(mask_mc);
var _local15 = new_mask || (TRANSITION.map);
if (!_local15) {
mask_loaded.doBreak();
} else {
_local23(_local15).then(function (new_loaded_pic) {
loaded_pic = new_loaded_pic;
invert_pic = new_loaded_pic.clone();
var _local1 = new flash.geom.ColorTransform(-1, -1, -1, 1, 255, 255, 255, 0);
invert_pic.colorTransform(invert_pic.rectangle, _local1);
source_pic = loaded_pic;
mask_loaded.keep();
}, mask_loaded.doBreak);
}
mask_loaded.then(startHide).then(done, done);
return(vow);
}
var _this = this;
var vow_version = 3.9;
var vow_scope = function () {
function forEach(array, callback) {
var _local1 = 0;
while (_local1 < array.length) {
callback(array[_local1], _local1);
_local1++;
}
}
function enlighten(queue, fate) {
forEach(queue, function (func) {
setTimeout(function () {
func(fate);
}, 0);
});
}
var _local12 = vow_version;
var vow_output = {version:_local12, make:function () {
function enqueue(resolution, func, vow) {
var _local2 = ((resolution === "kept") ? (keepers) : (breakers));
var isBroken = Boolean(_local2 === breakers);
_local2[_local2.length] = ((!(typeof(func) === "function")) ? (vow[resolution]) : (function (value) {
try {
_local1 = func(value)_local1if (_local1 && (_local1.is_promise === true)) {
if (isBroken) {
_local1.then(vow.doBreak, vow.doBreak)} else {
_local1.then(vow.keep, vow.doBreak)}
} else {
if (isBroken) {
vow.doBreak(_local1)}
if (!isBroken) {
vow.keep(_local1)}
}
} catch(e) {
vow.doBreak(e)}
}));
}
function herald(state, value, queue) {
if (!(status === "pending")) {
return(undefined);
}
fate = value;
status = state;
enlighten(queue, fate);
keepers = [];
breakers = [];
}
function get_then() {
return(set_then);
}
var breakers = [];
var fate = undefined;
var keepers = [];
var status = "pending";
var promise = {version:vow_output.version, is_promise:true, getStatus:function () {
return(status);
}, getValue:function () {
return(fate);
}, doBreak:function (value) {
herald("broken", value, breakers);
return(this.promise);
}, keep:function (value) {
herald("kept", value, keepers);
return(this.promise);
}};
var set_then = function (kept, broken) {
var _local1 = VOW.make();
switch (status) {
case "pending" :
enqueue("kept", kept, _local1);
enqueue("break", broken, _local1);
break;
case "kept" :
enqueue("kept", kept, _local1);
enlighten(keepers, fate);
keepers = [];
break;
case "broken" :
enqueue("break", broken, _local1);
enlighten(breakers, fate);
breakers = [];
}
return(_local1);
};
promise.addProperty("then", get_then, set_then);
promise.promise = promise;
return(promise);
}, every:function (array) {
var remaining = array.length;
var results = [];
var vow = VOW.make();
if (!remaining) {
vow.keep([]);
} else {
forEach(array, function (promise, i) {
promise.then(function (value) {
results[i] = value;
remaining--;
if (remaining === 0) {
vow.keep(results);
}
}, function (reason) {
remaining = null;
vow.doBreak(reason);
});
});
}
return(vow.promise);
}, everyTried:function (array) {
var remaining = array.length;
var results = [];
var vow = VOW.make();
if (!remaining) {
vow.keep([]);
} else {
forEach(array, function (promise, i) {
promise.then(function (value) {
results[i] = value;
remaining--;
if (remaining === 0) {
vow.keep(results);
}
}, function (failReason) {
results[i] = undefined;
remaining--;
if (remaining === 0) {
vow.keep(results);
}
});
});
}
return(vow.promise);
}, first:function (array) {
function check() {
remaining--;
if ((remaining === 0) && (!found)) {
vow.doBreak();
}
}
var found = false;
var remaining = array.length;
var vow = VOW.make();
if (remaining === 0) {
vow.doBreak(array);
} else {
forEach(array, function (promise) {
promise.then(function (value) {
if (!found) {
found = true;
vow.keep(value);
}
check();
}, check);
});
}
return(vow.promise);
}, kept:function (value) {
var _local1 = VOW.make();
_local1.keep(value);
return(_local1.promise);
}, broken:function (reason) {
var _local1 = VOW.make();
_local1.doBreak(reason);
return(_local1.promise);
}, wait:function (milliseconds) {
var _local1 = function (input) {
var vow = VOW.make();
var milliseconds = ((milliseconds === undefined) ? 0 : (milliseconds));
setTimeout(function () {
vow.keep(input);
}, milliseconds);
return(vow.promise);
};
return(_local1);
}, firstWait:function (milliseconds) {
var vow = VOW.make();
milliseconds = ((milliseconds === undefined) ? 0 : (milliseconds));
setTimeout(function () {
vow.keep({});
}, milliseconds);
return(vow.promise);
}, start:function (value) {
var _local1 = VOW.make();
_local1.keep(value);
return(_local1.promise);
}, runSequence:function (sequence) {
var _local4 = VOW.make().keep();
var _local1 = 0;
while (_local1 < sequence.length) {
var _local3 = sequence[_local1];
var _local2 = _local4.then(_local3);
if (!(_local2.is_promise === true)) {
_local2 = VOW.kept();
}
_local4 = _local2;
_local1++;
}
var _local6 = _local4;
return(_local6);
}, wrap:function (func, callbackIndex) {
if (callbackIndex === undefined) {
var callbackIndex = 0;
}
return(function () {
var vow = VOW.make();
if (callbackIndex === undefined) {
var callbackIndex = (arguments.length - 1);
}
arguments[callbackIndex] = function (output) {
vow.keep(output);
};
func.apply(this, arguments);
return(vow.promise);
});
}, preApply:function (func, param) {
var args = arguments.slice(1);
return(function () {
return(func.apply(null, args));
});
}, failThru:function (failReason) {
return(failReason);
}, null:null};
vow_output.any = (vow_output.allResolved = vow_output.everyTried);
return(vow_output);
};
var VOW = vow_scope();
delete vow_scope;
delete vow_version;
var vow = VOW.make();
var vow_version = 3.9;
var vow_scope = function () {
function forEach(array, callback) {
var _local1 = 0;
while (_local1 < array.length) {
callback(array[_local1], _local1);
_local1++;
}
}
function enlighten(queue, fate) {
forEach(queue, function (func) {
setTimeout(function () {
func(fate);
}, 0);
});
}
var _local12 = vow_version;
var vow_output = {version:_local12, make:function () {
function enqueue(resolution, func, vow) {
var _local2 = ((resolution === "kept") ? (keepers) : (breakers));
var isBroken = Boolean(_local2 === breakers);
_local2[_local2.length] = ((!(typeof(func) === "function")) ? (vow[resolution]) : (function (value) {
try {
_local1 = func(value)_local1if (_local1 && (_local1.is_promise === true)) {
if (isBroken) {
_local1.then(vow.doBreak, vow.doBreak)} else {
_local1.then(vow.keep, vow.doBreak)}
} else {
if (isBroken) {
vow.doBreak(_local1)}
if (!isBroken) {
vow.keep(_local1)}
}
} catch(e) {
vow.doBreak(e)}
}));
}
function herald(state, value, queue) {
if (!(status === "pending")) {
return(undefined);
}
fate = value;
status = state;
enlighten(queue, fate);
keepers = [];
breakers = [];
}
function get_then() {
return(set_then);
}
var breakers = [];
var fate = undefined;
var keepers = [];
var status = "pending";
var promise = {version:vow_output.version, is_promise:true, getStatus:function () {
return(status);
}, getValue:function () {
return(fate);
}, doBreak:function (value) {
herald("broken", value, breakers);
return(this.promise);
}, keep:function (value) {
herald("kept", value, keepers);
return(this.promise);
}};
var set_then = function (kept, broken) {
var _local1 = VOW.make();
switch (status) {
case "pending" :
enqueue("kept", kept, _local1);
enqueue("break", broken, _local1);
break;
case "kept" :
enqueue("kept", kept, _local1);
enlighten(keepers, fate);
keepers = [];
break;
case "broken" :
enqueue("break", broken, _local1);
enlighten(breakers, fate);
breakers = [];
}
return(_local1);
};
promise.addProperty("then", get_then, set_then);
promise.promise = promise;
return(promise);
}, every:function (array) {
var remaining = array.length;
var results = [];
var vow = VOW.make();
if (!remaining) {
vow.keep([]);
} else {
forEach(array, function (promise, i) {
promise.then(function (value) {
results[i] = value;
remaining--;
if (remaining === 0) {
vow.keep(results);
}
}, function (reason) {
remaining = null;
vow.doBreak(reason);
});
});
}
return(vow.promise);
}, everyTried:function (array) {
var remaining = array.length;
var results = [];
var vow = VOW.make();
if (!remaining) {
vow.keep([]);
} else {
forEach(array, function (promise, i) {
promise.then(function (value) {
results[i] = value;
remaining--;
if (remaining === 0) {
vow.keep(results);
}
}, function (failReason) {
results[i] = undefined;
remaining--;
if (remaining === 0) {
vow.keep(results);
}
});
});
}
return(vow.promise);
}, first:function (array) {
function check() {
remaining--;
if ((remaining === 0) && (!found)) {
vow.doBreak();
}
}
var found = false;
var remaining = array.length;
var vow = VOW.make();
if (remaining === 0) {
vow.doBreak(array);
} else {
forEach(array, function (promise) {
promise.then(function (value) {
if (!found) {
found = true;
vow.keep(value);
}
check();
}, check);
});
}
return(vow.promise);
}, kept:function (value) {
var _local1 = VOW.make();
_local1.keep(value);
return(_local1.promise);
}, broken:function (reason) {
var _local1 = VOW.make();
_local1.doBreak(reason);
return(_local1.promise);
}, wait:function (milliseconds) {
var _local1 = function (input) {
var vow = VOW.make();
var milliseconds = ((milliseconds === undefined) ? 0 : (milliseconds));
setTimeout(function () {
vow.keep(input);
}, milliseconds);
return(vow.promise);
};
return(_local1);
}, firstWait:function (milliseconds) {
var vow = VOW.make();
milliseconds = ((milliseconds === undefined) ? 0 : (milliseconds));
setTimeout(function () {
vow.keep({});
}, milliseconds);
return(vow.promise);
}, start:function (value) {
var _local1 = VOW.make();
_local1.keep(value);
return(_local1.promise);
}, runSequence:function (sequence) {
var _local4 = VOW.make().keep();
var _local1 = 0;
while (_local1 < sequence.length) {
var _local3 = sequence[_local1];
var _local2 = _local4.then(_local3);
if (!(_local2.is_promise === true)) {
_local2 = VOW.kept();
}
_local4 = _local2;
_local1++;
}
var _local6 = _local4;
return(_local6);
}, wrap:function (func, callbackIndex) {
if (callbackIndex === undefined) {
var callbackIndex = 0;
}
return(function () {
var vow = VOW.make();
if (callbackIndex === undefined) {
var callbackIndex = (arguments.length - 1);
}
arguments[callbackIndex] = function (output) {
vow.keep(output);
};
func.apply(this, arguments);
return(vow.promise);
});
}, preApply:function (func, param) {
var args = arguments.slice(1);
return(function () {
return(func.apply(null, args));
});
}, failThru:function (failReason) {
return(failReason);
}, null:null};
vow_output.any = (vow_output.allResolved = vow_output.everyTried);
return(vow_output);
};
var VOW = vow_scope();
delete vow_scope;
delete vow_version;
black_mc._visible = false;
ready();
Symbol 7 MovieClip [transition_in_fade] Frame 1
function quikTween2(startAt, endAt, seconds, ease, fps) {
function done() {
if (vow.getStatus() === "pending") {
vow.keep();
}
vow.promise.advanceFrame = null;
if (!(interval === null)) {
clearInterval(interval);
}
interval = null;
hasBeenAborted = true;
}
var vow = VOW.make();
if (!seconds) {
trace("WARNING: quickTween2 did not recieve 'seconds' parameter. Using 0 seconds.");
seconds = 0;
}
fps = fps || 30;
var frames = Math.floor(seconds * fps);
var mag = (endAt - startAt);
var hasBeenAborted = false;
var interval = null;
vow.promise.abort = function () {
hasBeenAborted = true;
done();
};
if (frames === 0) {
vow.promise.advanceFrame = function () {
if (hasBeenAborted) {
return(undefined);
}
var _local1 = endAt;
vow.promise.onProgress(_local1);
done();
};
setTimeout(function () {
if (hasBeenAborted) {
return(undefined);
}
vow.promise.advanceFrame();
}, 0);
} else {
var frame = 0;
vow.promise.advanceFrame = function () {
if (hasBeenAborted) {
return(undefined);
}
frame++;
var _local1 = ease(frame, startAt, mag, frames);
vow.promise.onProgress(_local1);
if (frame >= frames) {
done();
}
};
interval = setInterval(function () {
if (hasBeenAborted) {
return(undefined);
}
vow.promise.advanceFrame();
}, 33);
setTimeout(function () {
if (hasBeenAborted) {
return(undefined);
}
vow.promise.advanceFrame();
}, 0);
}
return(vow.promise);
}
function easeLinear(thisFrame, startAt, mag, totalFrames) {
return((mag * (thisFrame / totalFrames)) + startAt);
}
function easeIn(thisFrame, startAt, mag, totalFrames) {
var _local2 = 3;
var _local1 = thisFrame / totalFrames;
_local1 = Math.pow(_local1, _local2);
var _local3 = (mag * _local1) + startAt;
return(_local3);
}
function easeOut(thisFrame, startAt, mag, totalFrames) {
var _local2 = 3;
var _local1 = thisFrame / totalFrames;
_local1 = 1 - Math.pow(1 - _local1, _local2);
var _local3 = (mag * _local1) + startAt;
return(_local3);
}
function run(snapSource_mc, new_easing, new_duration, new_mask) {
function hide() {
snapSource_mc._visible = false;
}
var _local1 = (new_duration || (TRANSITION.inDuration)) || 0.5;
var _local2 = new_easing || "easeLinear";
var _local3 = _this[_local2] || (_this.easeLinear);
anim = quikTween2(100, 0, _local1, _local3);
anim.onProgress = function (value) {
snapSource_mc._alpha = value;
};
anim.then(hide);
anim.then(vow.keep);
return(vow);
}
var _this = this;
var vow_version = 3.9;
var vow_scope = function () {
function forEach(array, callback) {
var _local1 = 0;
while (_local1 < array.length) {
callback(array[_local1], _local1);
_local1++;
}
}
function enlighten(queue, fate) {
forEach(queue, function (func) {
setTimeout(function () {
func(fate);
}, 0);
});
}
var _local12 = vow_version;
var vow_output = {version:_local12, make:function () {
function enqueue(resolution, func, vow) {
var _local2 = ((resolution === "kept") ? (keepers) : (breakers));
var isBroken = Boolean(_local2 === breakers);
_local2[_local2.length] = ((!(typeof(func) === "function")) ? (vow[resolution]) : (function (value) {
try {
_local1 = func(value)_local1if (_local1 && (_local1.is_promise === true)) {
if (isBroken) {
_local1.then(vow.doBreak, vow.doBreak)} else {
_local1.then(vow.keep, vow.doBreak)}
} else {
if (isBroken) {
vow.doBreak(_local1)}
if (!isBroken) {
vow.keep(_local1)}
}
} catch(e) {
vow.doBreak(e)}
}));
}
function herald(state, value, queue) {
if (!(status === "pending")) {
return(undefined);
}
fate = value;
status = state;
enlighten(queue, fate);
keepers = [];
breakers = [];
}
function get_then() {
return(set_then);
}
var breakers = [];
var fate = undefined;
var keepers = [];
var status = "pending";
var promise = {version:vow_output.version, is_promise:true, getStatus:function () {
return(status);
}, getValue:function () {
return(fate);
}, doBreak:function (value) {
herald("broken", value, breakers);
return(this.promise);
}, keep:function (value) {
herald("kept", value, keepers);
return(this.promise);
}};
var set_then = function (kept, broken) {
var _local1 = VOW.make();
switch (status) {
case "pending" :
enqueue("kept", kept, _local1);
enqueue("break", broken, _local1);
break;
case "kept" :
enqueue("kept", kept, _local1);
enlighten(keepers, fate);
keepers = [];
break;
case "broken" :
enqueue("break", broken, _local1);
enlighten(breakers, fate);
breakers = [];
}
return(_local1);
};
promise.addProperty("then", get_then, set_then);
promise.promise = promise;
return(promise);
}, every:function (array) {
var remaining = array.length;
var results = [];
var vow = VOW.make();
if (!remaining) {
vow.keep([]);
} else {
forEach(array, function (promise, i) {
promise.then(function (value) {
results[i] = value;
remaining--;
if (remaining === 0) {
vow.keep(results);
}
}, function (reason) {
remaining = null;
vow.doBreak(reason);
});
});
}
return(vow.promise);
}, everyTried:function (array) {
var remaining = array.length;
var results = [];
var vow = VOW.make();
if (!remaining) {
vow.keep([]);
} else {
forEach(array, function (promise, i) {
promise.then(function (value) {
results[i] = value;
remaining--;
if (remaining === 0) {
vow.keep(results);
}
}, function (failReason) {
results[i] = undefined;
remaining--;
if (remaining === 0) {
vow.keep(results);
}
});
});
}
return(vow.promise);
}, first:function (array) {
function check() {
remaining--;
if ((remaining === 0) && (!found)) {
vow.doBreak();
}
}
var found = false;
var remaining = array.length;
var vow = VOW.make();
if (remaining === 0) {
vow.doBreak(array);
} else {
forEach(array, function (promise) {
promise.then(function (value) {
if (!found) {
found = true;
vow.keep(value);
}
check();
}, check);
});
}
return(vow.promise);
}, kept:function (value) {
var _local1 = VOW.make();
_local1.keep(value);
return(_local1.promise);
}, broken:function (reason) {
var _local1 = VOW.make();
_local1.doBreak(reason);
return(_local1.promise);
}, wait:function (milliseconds) {
var _local1 = function (input) {
var vow = VOW.make();
var milliseconds = ((milliseconds === undefined) ? 0 : (milliseconds));
setTimeout(function () {
vow.keep(input);
}, milliseconds);
return(vow.promise);
};
return(_local1);
}, firstWait:function (milliseconds) {
var vow = VOW.make();
milliseconds = ((milliseconds === undefined) ? 0 : (milliseconds));
setTimeout(function () {
vow.keep({});
}, milliseconds);
return(vow.promise);
}, start:function (value) {
var _local1 = VOW.make();
_local1.keep(value);
return(_local1.promise);
}, runSequence:function (sequence) {
var _local4 = VOW.make().keep();
var _local1 = 0;
while (_local1 < sequence.length) {
var _local3 = sequence[_local1];
var _local2 = _local4.then(_local3);
if (!(_local2.is_promise === true)) {
_local2 = VOW.kept();
}
_local4 = _local2;
_local1++;
}
var _local6 = _local4;
return(_local6);
}, wrap:function (func, callbackIndex) {
if (callbackIndex === undefined) {
var callbackIndex = 0;
}
return(function () {
var vow = VOW.make();
if (callbackIndex === undefined) {
var callbackIndex = (arguments.length - 1);
}
arguments[callbackIndex] = function (output) {
vow.keep(output);
};
func.apply(this, arguments);
return(vow.promise);
});
}, preApply:function (func, param) {
var args = arguments.slice(1);
return(function () {
return(func.apply(null, args));
});
}, failThru:function (failReason) {
return(failReason);
}, null:null};
vow_output.any = (vow_output.allResolved = vow_output.everyTried);
return(vow_output);
};
var VOW = vow_scope();
delete vow_scope;
delete vow_version;
var vow = VOW.make();
var vow_version = 3.9;
var vow_scope = function () {
function forEach(array, callback) {
var _local1 = 0;
while (_local1 < array.length) {
callback(array[_local1], _local1);
_local1++;
}
}
function enlighten(queue, fate) {
forEach(queue, function (func) {
setTimeout(function () {
func(fate);
}, 0);
});
}
var _local12 = vow_version;
var vow_output = {version:_local12, make:function () {
function enqueue(resolution, func, vow) {
var _local2 = ((resolution === "kept") ? (keepers) : (breakers));
var isBroken = Boolean(_local2 === breakers);
_local2[_local2.length] = ((!(typeof(func) === "function")) ? (vow[resolution]) : (function (value) {
try {
_local1 = func(value)_local1if (_local1 && (_local1.is_promise === true)) {
if (isBroken) {
_local1.then(vow.doBreak, vow.doBreak)} else {
_local1.then(vow.keep, vow.doBreak)}
} else {
if (isBroken) {
vow.doBreak(_local1)}
if (!isBroken) {
vow.keep(_local1)}
}
} catch(e) {
vow.doBreak(e)}
}));
}
function herald(state, value, queue) {
if (!(status === "pending")) {
return(undefined);
}
fate = value;
status = state;
enlighten(queue, fate);
keepers = [];
breakers = [];
}
function get_then() {
return(set_then);
}
var breakers = [];
var fate = undefined;
var keepers = [];
var status = "pending";
var promise = {version:vow_output.version, is_promise:true, getStatus:function () {
return(status);
}, getValue:function () {
return(fate);
}, doBreak:function (value) {
herald("broken", value, breakers);
return(this.promise);
}, keep:function (value) {
herald("kept", value, keepers);
return(this.promise);
}};
var set_then = function (kept, broken) {
var _local1 = VOW.make();
switch (status) {
case "pending" :
enqueue("kept", kept, _local1);
enqueue("break", broken, _local1);
break;
case "kept" :
enqueue("kept", kept, _local1);
enlighten(keepers, fate);
keepers = [];
break;
case "broken" :
enqueue("break", broken, _local1);
enlighten(breakers, fate);
breakers = [];
}
return(_local1);
};
promise.addProperty("then", get_then, set_then);
promise.promise = promise;
return(promise);
}, every:function (array) {
var remaining = array.length;
var results = [];
var vow = VOW.make();
if (!remaining) {
vow.keep([]);
} else {
forEach(array, function (promise, i) {
promise.then(function (value) {
results[i] = value;
remaining--;
if (remaining === 0) {
vow.keep(results);
}
}, function (reason) {
remaining = null;
vow.doBreak(reason);
});
});
}
return(vow.promise);
}, everyTried:function (array) {
var remaining = array.length;
var results = [];
var vow = VOW.make();
if (!remaining) {
vow.keep([]);
} else {
forEach(array, function (promise, i) {
promise.then(function (value) {
results[i] = value;
remaining--;
if (remaining === 0) {
vow.keep(results);
}
}, function (failReason) {
results[i] = undefined;
remaining--;
if (remaining === 0) {
vow.keep(results);
}
});
});
}
return(vow.promise);
}, first:function (array) {
function check() {
remaining--;
if ((remaining === 0) && (!found)) {
vow.doBreak();
}
}
var found = false;
var remaining = array.length;
var vow = VOW.make();
if (remaining === 0) {
vow.doBreak(array);
} else {
forEach(array, function (promise) {
promise.then(function (value) {
if (!found) {
found = true;
vow.keep(value);
}
check();
}, check);
});
}
return(vow.promise);
}, kept:function (value) {
var _local1 = VOW.make();
_local1.keep(value);
return(_local1.promise);
}, broken:function (reason) {
var _local1 = VOW.make();
_local1.doBreak(reason);
return(_local1.promise);
}, wait:function (milliseconds) {
var _local1 = function (input) {
var vow = VOW.make();
var milliseconds = ((milliseconds === undefined) ? 0 : (milliseconds));
setTimeout(function () {
vow.keep(input);
}, milliseconds);
return(vow.promise);
};
return(_local1);
}, firstWait:function (milliseconds) {
var vow = VOW.make();
milliseconds = ((milliseconds === undefined) ? 0 : (milliseconds));
setTimeout(function () {
vow.keep({});
}, milliseconds);
return(vow.promise);
}, start:function (value) {
var _local1 = VOW.make();
_local1.keep(value);
return(_local1.promise);
}, runSequence:function (sequence) {
var _local4 = VOW.make().keep();
var _local1 = 0;
while (_local1 < sequence.length) {
var _local3 = sequence[_local1];
var _local2 = _local4.then(_local3);
if (!(_local2.is_promise === true)) {
_local2 = VOW.kept();
}
_local4 = _local2;
_local1++;
}
var _local6 = _local4;
return(_local6);
}, wrap:function (func, callbackIndex) {
if (callbackIndex === undefined) {
var callbackIndex = 0;
}
return(function () {
var vow = VOW.make();
if (callbackIndex === undefined) {
var callbackIndex = (arguments.length - 1);
}
arguments[callbackIndex] = function (output) {
vow.keep(output);
};
func.apply(this, arguments);
return(vow.promise);
});
}, preApply:function (func, param) {
var args = arguments.slice(1);
return(function () {
return(func.apply(null, args));
});
}, failThru:function (failReason) {
return(failReason);
}, null:null};
vow_output.any = (vow_output.allResolved = vow_output.everyTried);
return(vow_output);
};
var VOW = vow_scope();
delete vow_scope;
delete vow_version;
black_mc._alpha = 0;
ready();
Symbol 8 MovieClip [transition_out_fadeBlack] Frame 1
function quikTween2(startAt, endAt, seconds, ease, fps) {
function done() {
if (vow.getStatus() === "pending") {
vow.keep();
}
vow.promise.advanceFrame = null;
if (!(interval === null)) {
clearInterval(interval);
}
interval = null;
hasBeenAborted = true;
}
var vow = VOW.make();
if (!seconds) {
trace("WARNING: quickTween2 did not recieve 'seconds' parameter. Using 0 seconds.");
seconds = 0;
}
fps = fps || 30;
var frames = Math.floor(seconds * fps);
var mag = (endAt - startAt);
var hasBeenAborted = false;
var interval = null;
vow.promise.abort = function () {
hasBeenAborted = true;
done();
};
if (frames === 0) {
vow.promise.advanceFrame = function () {
if (hasBeenAborted) {
return(undefined);
}
var _local1 = endAt;
vow.promise.onProgress(_local1);
done();
};
setTimeout(function () {
if (hasBeenAborted) {
return(undefined);
}
vow.promise.advanceFrame();
}, 0);
} else {
var frame = 0;
vow.promise.advanceFrame = function () {
if (hasBeenAborted) {
return(undefined);
}
frame++;
var _local1 = ease(frame, startAt, mag, frames);
vow.promise.onProgress(_local1);
if (frame >= frames) {
done();
}
};
interval = setInterval(function () {
if (hasBeenAborted) {
return(undefined);
}
vow.promise.advanceFrame();
}, 33);
setTimeout(function () {
if (hasBeenAborted) {
return(undefined);
}
vow.promise.advanceFrame();
}, 0);
}
return(vow.promise);
}
function easeLinear(thisFrame, startAt, mag, totalFrames) {
return((mag * (thisFrame / totalFrames)) + startAt);
}
function easeIn(thisFrame, startAt, mag, totalFrames) {
var _local2 = 3;
var _local1 = thisFrame / totalFrames;
_local1 = Math.pow(_local1, _local2);
var _local3 = (mag * _local1) + startAt;
return(_local3);
}
function easeOut(thisFrame, startAt, mag, totalFrames) {
var _local2 = 3;
var _local1 = thisFrame / totalFrames;
_local1 = 1 - Math.pow(1 - _local1, _local2);
var _local3 = (mag * _local1) + startAt;
return(_local3);
}
function run(snapSource_mc, new_easing, new_duration, new_mask) {
var _local1 = (new_duration || (TRANSITION.outDuration)) || 0.5;
var _local2 = new_easing || "easeLinear";
var _local3 = _this[_local2] || (_this.easeLinear);
anim = quikTween2(0, 100, _local1, _local3);
anim.onProgress = function (value) {
black_mc._alpha = value;
};
anim.then(vow.keep);
return(vow);
}
var _this = this;
var vow_version = 3.9;
var vow_scope = function () {
function forEach(array, callback) {
var _local1 = 0;
while (_local1 < array.length) {
callback(array[_local1], _local1);
_local1++;
}
}
function enlighten(queue, fate) {
forEach(queue, function (func) {
setTimeout(function () {
func(fate);
}, 0);
});
}
var _local12 = vow_version;
var vow_output = {version:_local12, make:function () {
function enqueue(resolution, func, vow) {
var _local2 = ((resolution === "kept") ? (keepers) : (breakers));
var isBroken = Boolean(_local2 === breakers);
_local2[_local2.length] = ((!(typeof(func) === "function")) ? (vow[resolution]) : (function (value) {
try {
_local1 = func(value)_local1if (_local1 && (_local1.is_promise === true)) {
if (isBroken) {
_local1.then(vow.doBreak, vow.doBreak)} else {
_local1.then(vow.keep, vow.doBreak)}
} else {
if (isBroken) {
vow.doBreak(_local1)}
if (!isBroken) {
vow.keep(_local1)}
}
} catch(e) {
vow.doBreak(e)}
}));
}
function herald(state, value, queue) {
if (!(status === "pending")) {
return(undefined);
}
fate = value;
status = state;
enlighten(queue, fate);
keepers = [];
breakers = [];
}
function get_then() {
return(set_then);
}
var breakers = [];
var fate = undefined;
var keepers = [];
var status = "pending";
var promise = {version:vow_output.version, is_promise:true, getStatus:function () {
return(status);
}, getValue:function () {
return(fate);
}, doBreak:function (value) {
herald("broken", value, breakers);
return(this.promise);
}, keep:function (value) {
herald("kept", value, keepers);
return(this.promise);
}};
var set_then = function (kept, broken) {
var _local1 = VOW.make();
switch (status) {
case "pending" :
enqueue("kept", kept, _local1);
enqueue("break", broken, _local1);
break;
case "kept" :
enqueue("kept", kept, _local1);
enlighten(keepers, fate);
keepers = [];
break;
case "broken" :
enqueue("break", broken, _local1);
enlighten(breakers, fate);
breakers = [];
}
return(_local1);
};
promise.addProperty("then", get_then, set_then);
promise.promise = promise;
return(promise);
}, every:function (array) {
var remaining = array.length;
var results = [];
var vow = VOW.make();
if (!remaining) {
vow.keep([]);
} else {
forEach(array, function (promise, i) {
promise.then(function (value) {
results[i] = value;
remaining--;
if (remaining === 0) {
vow.keep(results);
}
}, function (reason) {
remaining = null;
vow.doBreak(reason);
});
});
}
return(vow.promise);
}, everyTried:function (array) {
var remaining = array.length;
var results = [];
var vow = VOW.make();
if (!remaining) {
vow.keep([]);
} else {
forEach(array, function (promise, i) {
promise.then(function (value) {
results[i] = value;
remaining--;
if (remaining === 0) {
vow.keep(results);
}
}, function (failReason) {
results[i] = undefined;
remaining--;
if (remaining === 0) {
vow.keep(results);
}
});
});
}
return(vow.promise);
}, first:function (array) {
function check() {
remaining--;
if ((remaining === 0) && (!found)) {
vow.doBreak();
}
}
var found = false;
var remaining = array.length;
var vow = VOW.make();
if (remaining === 0) {
vow.doBreak(array);
} else {
forEach(array, function (promise) {
promise.then(function (value) {
if (!found) {
found = true;
vow.keep(value);
}
check();
}, check);
});
}
return(vow.promise);
}, kept:function (value) {
var _local1 = VOW.make();
_local1.keep(value);
return(_local1.promise);
}, broken:function (reason) {
var _local1 = VOW.make();
_local1.doBreak(reason);
return(_local1.promise);
}, wait:function (milliseconds) {
var _local1 = function (input) {
var vow = VOW.make();
var milliseconds = ((milliseconds === undefined) ? 0 : (milliseconds));
setTimeout(function () {
vow.keep(input);
}, milliseconds);
return(vow.promise);
};
return(_local1);
}, firstWait:function (milliseconds) {
var vow = VOW.make();
milliseconds = ((milliseconds === undefined) ? 0 : (milliseconds));
setTimeout(function () {
vow.keep({});
}, milliseconds);
return(vow.promise);
}, start:function (value) {
var _local1 = VOW.make();
_local1.keep(value);
return(_local1.promise);
}, runSequence:function (sequence) {
var _local4 = VOW.make().keep();
var _local1 = 0;
while (_local1 < sequence.length) {
var _local3 = sequence[_local1];
var _local2 = _local4.then(_local3);
if (!(_local2.is_promise === true)) {
_local2 = VOW.kept();
}
_local4 = _local2;
_local1++;
}
var _local6 = _local4;
return(_local6);
}, wrap:function (func, callbackIndex) {
if (callbackIndex === undefined) {
var callbackIndex = 0;
}
return(function () {
var vow = VOW.make();
if (callbackIndex === undefined) {
var callbackIndex = (arguments.length - 1);
}
arguments[callbackIndex] = function (output) {
vow.keep(output);
};
func.apply(this, arguments);
return(vow.promise);
});
}, preApply:function (func, param) {
var args = arguments.slice(1);
return(function () {
return(func.apply(null, args));
});
}, failThru:function (failReason) {
return(failReason);
}, null:null};
vow_output.any = (vow_output.allResolved = vow_output.everyTried);
return(vow_output);
};
var VOW = vow_scope();
delete vow_scope;
delete vow_version;
var vow = VOW.make();
var vow_version = 3.9;
var vow_scope = function () {
function forEach(array, callback) {
var _local1 = 0;
while (_local1 < array.length) {
callback(array[_local1], _local1);
_local1++;
}
}
function enlighten(queue, fate) {
forEach(queue, function (func) {
setTimeout(function () {
func(fate);
}, 0);
});
}
var _local12 = vow_version;
var vow_output = {version:_local12, make:function () {
function enqueue(resolution, func, vow) {
var _local2 = ((resolution === "kept") ? (keepers) : (breakers));
var isBroken = Boolean(_local2 === breakers);
_local2[_local2.length] = ((!(typeof(func) === "function")) ? (vow[resolution]) : (function (value) {
try {
_local1 = func(value)_local1if (_local1 && (_local1.is_promise === true)) {
if (isBroken) {
_local1.then(vow.doBreak, vow.doBreak)} else {
_local1.then(vow.keep, vow.doBreak)}
} else {
if (isBroken) {
vow.doBreak(_local1)}
if (!isBroken) {
vow.keep(_local1)}
}
} catch(e) {
vow.doBreak(e)}
}));
}
function herald(state, value, queue) {
if (!(status === "pending")) {
return(undefined);
}
fate = value;
status = state;
enlighten(queue, fate);
keepers = [];
breakers = [];
}
function get_then() {
return(set_then);
}
var breakers = [];
var fate = undefined;
var keepers = [];
var status = "pending";
var promise = {version:vow_output.version, is_promise:true, getStatus:function () {
return(status);
}, getValue:function () {
return(fate);
}, doBreak:function (value) {
herald("broken", value, breakers);
return(this.promise);
}, keep:function (value) {
herald("kept", value, keepers);
return(this.promise);
}};
var set_then = function (kept, broken) {
var _local1 = VOW.make();
switch (status) {
case "pending" :
enqueue("kept", kept, _local1);
enqueue("break", broken, _local1);
break;
case "kept" :
enqueue("kept", kept, _local1);
enlighten(keepers, fate);
keepers = [];
break;
case "broken" :
enqueue("break", broken, _local1);
enlighten(breakers, fate);
breakers = [];
}
return(_local1);
};
promise.addProperty("then", get_then, set_then);
promise.promise = promise;
return(promise);
}, every:function (array) {
var remaining = array.length;
var results = [];
var vow = VOW.make();
if (!remaining) {
vow.keep([]);
} else {
forEach(array, function (promise, i) {
promise.then(function (value) {
results[i] = value;
remaining--;
if (remaining === 0) {
vow.keep(results);
}
}, function (reason) {
remaining = null;
vow.doBreak(reason);
});
});
}
return(vow.promise);
}, everyTried:function (array) {
var remaining = array.length;
var results = [];
var vow = VOW.make();
if (!remaining) {
vow.keep([]);
} else {
forEach(array, function (promise, i) {
promise.then(function (value) {
results[i] = value;
remaining--;
if (remaining === 0) {
vow.keep(results);
}
}, function (failReason) {
results[i] = undefined;
remaining--;
if (remaining === 0) {
vow.keep(results);
}
});
});
}
return(vow.promise);
}, first:function (array) {
function check() {
remaining--;
if ((remaining === 0) && (!found)) {
vow.doBreak();
}
}
var found = false;
var remaining = array.length;
var vow = VOW.make();
if (remaining === 0) {
vow.doBreak(array);
} else {
forEach(array, function (promise) {
promise.then(function (value) {
if (!found) {
found = true;
vow.keep(value);
}
check();
}, check);
});
}
return(vow.promise);
}, kept:function (value) {
var _local1 = VOW.make();
_local1.keep(value);
return(_local1.promise);
}, broken:function (reason) {
var _local1 = VOW.make();
_local1.doBreak(reason);
return(_local1.promise);
}, wait:function (milliseconds) {
var _local1 = function (input) {
var vow = VOW.make();
var milliseconds = ((milliseconds === undefined) ? 0 : (milliseconds));
setTimeout(function () {
vow.keep(input);
}, milliseconds);
return(vow.promise);
};
return(_local1);
}, firstWait:function (milliseconds) {
var vow = VOW.make();
milliseconds = ((milliseconds === undefined) ? 0 : (milliseconds));
setTimeout(function () {
vow.keep({});
}, milliseconds);
return(vow.promise);
}, start:function (value) {
var _local1 = VOW.make();
_local1.keep(value);
return(_local1.promise);
}, runSequence:function (sequence) {
var _local4 = VOW.make().keep();
var _local1 = 0;
while (_local1 < sequence.length) {
var _local3 = sequence[_local1];
var _local2 = _local4.then(_local3);
if (!(_local2.is_promise === true)) {
_local2 = VOW.kept();
}
_local4 = _local2;
_local1++;
}
var _local6 = _local4;
return(_local6);
}, wrap:function (func, callbackIndex) {
if (callbackIndex === undefined) {
var callbackIndex = 0;
}
return(function () {
var vow = VOW.make();
if (callbackIndex === undefined) {
var callbackIndex = (arguments.length - 1);
}
arguments[callbackIndex] = function (output) {
vow.keep(output);
};
func.apply(this, arguments);
return(vow.promise);
});
}, preApply:function (func, param) {
var args = arguments.slice(1);
return(function () {
return(func.apply(null, args));
});
}, failThru:function (failReason) {
return(failReason);
}, null:null};
vow_output.any = (vow_output.allResolved = vow_output.everyTried);
return(vow_output);
};
var VOW = vow_scope();
delete vow_scope;
delete vow_version;
black_mc._alpha = 0;
ready();
Symbol 9 MovieClip [transition_out_snapshot] Frame 1
function run(input_mc, new_easing, new_duration, new_mask) {
output_pic.draw(input_mc);
vow.keep();
return(vow);
}
var _this = this;
var vow_version = 3.9;
var vow_scope = function () {
function forEach(array, callback) {
var _local1 = 0;
while (_local1 < array.length) {
callback(array[_local1], _local1);
_local1++;
}
}
function enlighten(queue, fate) {
forEach(queue, function (func) {
setTimeout(function () {
func(fate);
}, 0);
});
}
var _local12 = vow_version;
var vow_output = {version:_local12, make:function () {
function enqueue(resolution, func, vow) {
var _local2 = ((resolution === "kept") ? (keepers) : (breakers));
var isBroken = Boolean(_local2 === breakers);
_local2[_local2.length] = ((!(typeof(func) === "function")) ? (vow[resolution]) : (function (value) {
try {
_local1 = func(value)_local1if (_local1 && (_local1.is_promise === true)) {
if (isBroken) {
_local1.then(vow.doBreak, vow.doBreak)} else {
_local1.then(vow.keep, vow.doBreak)}
} else {
if (isBroken) {
vow.doBreak(_local1)}
if (!isBroken) {
vow.keep(_local1)}
}
} catch(e) {
vow.doBreak(e)}
}));
}
function herald(state, value, queue) {
if (!(status === "pending")) {
return(undefined);
}
fate = value;
status = state;
enlighten(queue, fate);
keepers = [];
breakers = [];
}
function get_then() {
return(set_then);
}
var breakers = [];
var fate = undefined;
var keepers = [];
var status = "pending";
var promise = {version:vow_output.version, is_promise:true, getStatus:function () {
return(status);
}, getValue:function () {
return(fate);
}, doBreak:function (value) {
herald("broken", value, breakers);
return(this.promise);
}, keep:function (value) {
herald("kept", value, keepers);
return(this.promise);
}};
var set_then = function (kept, broken) {
var _local1 = VOW.make();
switch (status) {
case "pending" :
enqueue("kept", kept, _local1);
enqueue("break", broken, _local1);
break;
case "kept" :
enqueue("kept", kept, _local1);
enlighten(keepers, fate);
keepers = [];
break;
case "broken" :
enqueue("break", broken, _local1);
enlighten(breakers, fate);
breakers = [];
}
return(_local1);
};
promise.addProperty("then", get_then, set_then);
promise.promise = promise;
return(promise);
}, every:function (array) {
var remaining = array.length;
var results = [];
var vow = VOW.make();
if (!remaining) {
vow.keep([]);
} else {
forEach(array, function (promise, i) {
promise.then(function (value) {
results[i] = value;
remaining--;
if (remaining === 0) {
vow.keep(results);
}
}, function (reason) {
remaining = null;
vow.doBreak(reason);
});
});
}
return(vow.promise);
}, everyTried:function (array) {
var remaining = array.length;
var results = [];
var vow = VOW.make();
if (!remaining) {
vow.keep([]);
} else {
forEach(array, function (promise, i) {
promise.then(function (value) {
results[i] = value;
remaining--;
if (remaining === 0) {
vow.keep(results);
}
}, function (failReason) {
results[i] = undefined;
remaining--;
if (remaining === 0) {
vow.keep(results);
}
});
});
}
return(vow.promise);
}, first:function (array) {
function check() {
remaining--;
if ((remaining === 0) && (!found)) {
vow.doBreak();
}
}
var found = false;
var remaining = array.length;
var vow = VOW.make();
if (remaining === 0) {
vow.doBreak(array);
} else {
forEach(array, function (promise) {
promise.then(function (value) {
if (!found) {
found = true;
vow.keep(value);
}
check();
}, check);
});
}
return(vow.promise);
}, kept:function (value) {
var _local1 = VOW.make();
_local1.keep(value);
return(_local1.promise);
}, broken:function (reason) {
var _local1 = VOW.make();
_local1.doBreak(reason);
return(_local1.promise);
}, wait:function (milliseconds) {
var _local1 = function (input) {
var vow = VOW.make();
var milliseconds = ((milliseconds === undefined) ? 0 : (milliseconds));
setTimeout(function () {
vow.keep(input);
}, milliseconds);
return(vow.promise);
};
return(_local1);
}, firstWait:function (milliseconds) {
var vow = VOW.make();
milliseconds = ((milliseconds === undefined) ? 0 : (milliseconds));
setTimeout(function () {
vow.keep({});
}, milliseconds);
return(vow.promise);
}, start:function (value) {
var _local1 = VOW.make();
_local1.keep(value);
return(_local1.promise);
}, runSequence:function (sequence) {
var _local4 = VOW.make().keep();
var _local1 = 0;
while (_local1 < sequence.length) {
var _local3 = sequence[_local1];
var _local2 = _local4.then(_local3);
if (!(_local2.is_promise === true)) {
_local2 = VOW.kept();
}
_local4 = _local2;
_local1++;
}
var _local6 = _local4;
return(_local6);
}, wrap:function (func, callbackIndex) {
if (callbackIndex === undefined) {
var callbackIndex = 0;
}
return(function () {
var vow = VOW.make();
if (callbackIndex === undefined) {
var callbackIndex = (arguments.length - 1);
}
arguments[callbackIndex] = function (output) {
vow.keep(output);
};
func.apply(this, arguments);
return(vow.promise);
});
}, preApply:function (func, param) {
var args = arguments.slice(1);
return(function () {
return(func.apply(null, args));
});
}, failThru:function (failReason) {
return(failReason);
}, null:null};
vow_output.any = (vow_output.allResolved = vow_output.everyTried);
return(vow_output);
};
var VOW = vow_scope();
delete vow_scope;
delete vow_version;
var vow = VOW.make();
var output_pic = (new flash.display.BitmapData(screenWidth, screenHeight, false, 0));
_this.attachBitmap(output_pic, 0);
ready();
Symbol 10 MovieClip [transition_in_cut] Frame 1
function run(snapSource_mc, new_easing, new_duration, new_mask) {
snapSource_mc._visible = false;
vow.keep();
return(vow);
}
var _this = this;
var vow_version = 3.9;
var vow_scope = function () {
function forEach(array, callback) {
var _local1 = 0;
while (_local1 < array.length) {
callback(array[_local1], _local1);
_local1++;
}
}
function enlighten(queue, fate) {
forEach(queue, function (func) {
setTimeout(function () {
func(fate);
}, 0);
});
}
var _local12 = vow_version;
var vow_output = {version:_local12, make:function () {
function enqueue(resolution, func, vow) {
var _local2 = ((resolution === "kept") ? (keepers) : (breakers));
var isBroken = Boolean(_local2 === breakers);
_local2[_local2.length] = ((!(typeof(func) === "function")) ? (vow[resolution]) : (function (value) {
try {
_local1 = func(value)_local1if (_local1 && (_local1.is_promise === true)) {
if (isBroken) {
_local1.then(vow.doBreak, vow.doBreak)} else {
_local1.then(vow.keep, vow.doBreak)}
} else {
if (isBroken) {
vow.doBreak(_local1)}
if (!isBroken) {
vow.keep(_local1)}
}
} catch(e) {
vow.doBreak(e)}
}));
}
function herald(state, value, queue) {
if (!(status === "pending")) {
return(undefined);
}
fate = value;
status = state;
enlighten(queue, fate);
keepers = [];
breakers = [];
}
function get_then() {
return(set_then);
}
var breakers = [];
var fate = undefined;
var keepers = [];
var status = "pending";
var promise = {version:vow_output.version, is_promise:true, getStatus:function () {
return(status);
}, getValue:function () {
return(fate);
}, doBreak:function (value) {
herald("broken", value, breakers);
return(this.promise);
}, keep:function (value) {
herald("kept", value, keepers);
return(this.promise);
}};
var set_then = function (kept, broken) {
var _local1 = VOW.make();
switch (status) {
case "pending" :
enqueue("kept", kept, _local1);
enqueue("break", broken, _local1);
break;
case "kept" :
enqueue("kept", kept, _local1);
enlighten(keepers, fate);
keepers = [];
break;
case "broken" :
enqueue("break", broken, _local1);
enlighten(breakers, fate);
breakers = [];
}
return(_local1);
};
promise.addProperty("then", get_then, set_then);
promise.promise = promise;
return(promise);
}, every:function (array) {
var remaining = array.length;
var results = [];
var vow = VOW.make();
if (!remaining) {
vow.keep([]);
} else {
forEach(array, function (promise, i) {
promise.then(function (value) {
results[i] = value;
remaining--;
if (remaining === 0) {
vow.keep(results);
}
}, function (reason) {
remaining = null;
vow.doBreak(reason);
});
});
}
return(vow.promise);
}, everyTried:function (array) {
var remaining = array.length;
var results = [];
var vow = VOW.make();
if (!remaining) {
vow.keep([]);
} else {
forEach(array, function (promise, i) {
promise.then(function (value) {
results[i] = value;
remaining--;
if (remaining === 0) {
vow.keep(results);
}
}, function (failReason) {
results[i] = undefined;
remaining--;
if (remaining === 0) {
vow.keep(results);
}
});
});
}
return(vow.promise);
}, first:function (array) {
function check() {
remaining--;
if ((remaining === 0) && (!found)) {
vow.doBreak();
}
}
var found = false;
var remaining = array.length;
var vow = VOW.make();
if (remaining === 0) {
vow.doBreak(array);
} else {
forEach(array, function (promise) {
promise.then(function (value) {
if (!found) {
found = true;
vow.keep(value);
}
check();
}, check);
});
}
return(vow.promise);
}, kept:function (value) {
var _local1 = VOW.make();
_local1.keep(value);
return(_local1.promise);
}, broken:function (reason) {
var _local1 = VOW.make();
_local1.doBreak(reason);
return(_local1.promise);
}, wait:function (milliseconds) {
var _local1 = function (input) {
var vow = VOW.make();
var milliseconds = ((milliseconds === undefined) ? 0 : (milliseconds));
setTimeout(function () {
vow.keep(input);
}, milliseconds);
return(vow.promise);
};
return(_local1);
}, firstWait:function (milliseconds) {
var vow = VOW.make();
milliseconds = ((milliseconds === undefined) ? 0 : (milliseconds));
setTimeout(function () {
vow.keep({});
}, milliseconds);
return(vow.promise);
}, start:function (value) {
var _local1 = VOW.make();
_local1.keep(value);
return(_local1.promise);
}, runSequence:function (sequence) {
var _local4 = VOW.make().keep();
var _local1 = 0;
while (_local1 < sequence.length) {
var _local3 = sequence[_local1];
var _local2 = _local4.then(_local3);
if (!(_local2.is_promise === true)) {
_local2 = VOW.kept();
}
_local4 = _local2;
_local1++;
}
var _local6 = _local4;
return(_local6);
}, wrap:function (func, callbackIndex) {
if (callbackIndex === undefined) {
var callbackIndex = 0;
}
return(function () {
var vow = VOW.make();
if (callbackIndex === undefined) {
var callbackIndex = (arguments.length - 1);
}
arguments[callbackIndex] = function (output) {
vow.keep(output);
};
func.apply(this, arguments);
return(vow.promise);
});
}, preApply:function (func, param) {
var args = arguments.slice(1);
return(function () {
return(func.apply(null, args));
});
}, failThru:function (failReason) {
return(failReason);
}, null:null};
vow_output.any = (vow_output.allResolved = vow_output.everyTried);
return(vow_output);
};
var VOW = vow_scope();
delete vow_scope;
delete vow_version;
var vow = VOW.make();
ready();
Symbol 18 MovieClip [run_smoke_particle] Frame 1
_rotation = (Math.random() * 360);
Symbol 27 MovieClip [loadInterface1] Frame 1
Symbol 38 MovieClip [loadInterface0] Frame 1
this.onEnterFrame = function () {
glow_mc._x = fill_mc._x + fill_mc._width;
};
Symbol 41 MovieClip [commonLevel] Frame 1
#initclip 66
Object.registerClass("commonLevel", EventClip);
#endinitclip
function sendEvent(evt_str, evt, evtEmitter) {
evtEmitter = (evtEmitter || (_this)) || this;
var _local4 = evt instanceof Object;
if (_local4 === false) {
evt = {data:evt};
}
evt.type = evt_str;
if (evtEmitter.dispatchEvent) {
evt.type = evt_str;
evtEmitter.dispatchEvent(evt);
} else if (evtEmitter.broadcastMessage) {
evtEmitter.broadcastMessage(evt_str, evt);
}
}
function make_react(defaultUnloadEmitter) {
function newReaction(eventName, newSettings) {
function get_then() {
return(reaction.then);
}
function set_then(new_func) {
reaction.then = new_func;
var _local1 = new_func instanceof Function;
var _local2 = reaction.tellThese.length > 0;
if (_local1 || (_local2)) {
listen();
if (!(reaction.untilTimeout === undefined)) {
monad.until(reaction.untilTimeout);
}
} else {
unListen();
clearTimeout(reaction.untilId);
}
}
function listen() {
if (reaction.hasListener === true) {
return(null);
}
if (reaction.emitter === undefined) {
return(null);
}
if (reaction.emitter.addEventListener) {
reaction.emitter.addEventListener(reaction.eventName, reaction.eventTarget);
} else if (reaction.emitter.addListener) {
reaction.emitter.addListener(reaction.eventTarget);
} else {
var _local1 = ((reaction.emitter._name === undefined) ? "[object]" : (("\"" + reaction.emitter._name) + "\""));
trace(((("ERROR: " + _local1) + " cannot send events. (") + reaction.eventName) + ")");
return(null);
}
reaction.hasListener = true;
}
function unListen() {
if (reaction.hasListener === false) {
return(null);
}
if (reaction.emitter === undefined) {
return(null);
}
if (reaction.emitter.removeEventListener) {
reaction.emitter.removeEventListener(reaction.eventName, reaction.eventTarget);
} else {
reaction.emitter.removeListener(reaction.eventTarget);
}
reaction.hasListener = false;
}
var reaction = {};
reaction.uid = Math.floor(Math.random() * 99);
reaction.hasListener = false;
reaction.eventName = eventName;
reaction.emitter = defaultUnloadEmitter;
reaction.fireOnce = false;
reaction.eventTarget = {};
reaction.eventTarget[reaction.eventName];
reaction.untilTimeout = undefined;
reaction.untilId = undefined;
reaction.tellThese = [];
for (var _local12 in newSettings) {
reaction[_local12] = newSettings[_local12];
}
var monad = ((reaction.monad = {}));
monad.addProperty("then", get_then, set_then);
monad.then = undefined;
monad.unListen = unListen;
monad.cleanup = function () {
for (var _local1 in reaction.tellThese) {
reaction.tellThese.splice(_local1, 1);
}
monad.then = undefined;
};
monad.disable = function () {
monad.cleanup();
monad.forget();
};
monad.fire = function () {
if (!(monad.then === reaction.then)) {
trace("WARNING: 'then' property was deleted. Now restoring it with the current reaction.");
var _local7 = monad.then;
monad.addProperty("then", get_then, set_then);
monad.then = _local7;
}
var _local6 = arguments.slice();
var _local4 = _local6[0];
monad.then.apply(null, _local6);
var _local2 = 0;
while (_local2 < reaction.tellThese.length) {
if (!reaction.tellThese[_local2].eventTarget) {
} else if (!reaction.tellThese[_local2].eventName) {
} else {
var _local3 = {};
for (var _local5 in _local4) {
_local3[_local5] = _local4[_local5];
}
_local3.type = reaction.tellEventName;
sendEvent(reaction.tellThese[_local2].eventName, _local3, reaction.tellThese[_local2].eventTarget);
}
_local2++;
}
if (reaction.fireOnce === true) {
monad.then = undefined;
}
};
reaction.eventTarget[reaction.eventName] = monad.fire;
monad.tell = function (newEventTarget, newEventName) {
if (!newEventTarget) {
return(monad);
}
if (newEventName instanceof Object) {
newEventName = newEventName.about || (newEventName.to);
}
if (!newEventName) {
newEventName = reaction.eventName;
}
var _local2 = {eventTarget:newEventTarget, eventName:newEventName};
reaction.tellThese.push(_local2);
listen();
return(monad);
};
monad.once = function () {
reaction.fireOnce = true;
return(monad);
};
monad.until = function (wait_ms) {
var _local1 = !isNaN(wait_ms);
if (_local1 === false) {
return(monad);
}
clearTimeout(reaction.untilId);
reaction.untilId = setTimeout(function () {
monad.then = undefined;
}, wait_ms);
reaction.untilTimeout = wait_ms;
return(monad);
};
monad.from = function (newEmitter) {
var _local3 = (newEmitter instanceof MovieClip) || (newEmitter instanceof Object);
if (_local3 === false) {
return(monad);
}
var _local1 = reaction.hasListener;
if (_local1) {
unListen();
}
reaction.emitter = newEmitter;
if (_local1) {
listen();
}
return(monad);
};
monad.forget = function () {
for (var _local1 in allReactions) {
if (!(allReactions[_local1] === reaction)) {
continue;
}
allReactions.splice(_local1, 1);
}
return(monad);
};
return(reaction);
}
var react = {};
var allReactions = [];
react.to = function (eventName, settings) {
var _local1 = newReaction(eventName, settings);
var _local2 = _local1.monad;
allReactions.push(_local1);
return(_local2);
};
var reactOnce = {};
reactOnce.to = function (eventName, settings) {
if (!settings) {
settings = {};
}
settings.fireOnce = true;
return(react.to(eventName, settings));
};
react.once = function () {
return(reactOnce);
};
react.unload = function (fireUnloadEvents) {
if (fireUnloadEvents === undefined) {
fireUnloadEvents = true;
}
for (var _local2 in allReactions) {
allReactions[_local2].monad.unListen();
allReactions.splice(_local2, 1);
if (fireUnloadEvents && (allReactions[_local2].eventName === "unload")) {
allReactions[_local2].monad.fire();
}
allReactions[_local2].monad.cleanup();
}
};
if (defaultUnloadEmitter) {
react.to("unload").forget().then = function () {
react.unload(true);
};
}
return(react);
}
function onUnload() {
sendEvent("unload");
}
function updateFlaggedSprites(sprites, flagRoot, addSprite, removeSprite) {
function checkFlag(spriteFlag, flagRoot) {
function getFlagParts(flag) {
var _local2 = [];
var _local4 = flag.charAt(0);
while (_local4 == " ") {
flag = flag.substr(1);
_local4 = flag.charAt(0);
}
var _local3 = flag.charAt(flag.length - 1);
while (_local3 == " ") {
flag = flag.substr(0, flag.length - 1);
_local3 = flag.charAt(flag.length - 1);
}
if (flag.charAt(0) == "!") {
flag = flag.substr(1) + "!";
var _local5 = flag.indexOf("!");
var _local6 = _local5 + 1;
} else if (flag.indexOf("!=") != -1) {
var _local5 = flag.indexOf("!=");
var _local6 = _local5 + 2;
} else if (flag.indexOf("<=") != -1) {
var _local5 = flag.indexOf("<=");
var _local6 = _local5 + 2;
} else if (flag.indexOf(">=") != -1) {
var _local5 = flag.indexOf(">=");
var _local6 = _local5 + 2;
} else if (flag.indexOf("<") != -1) {
var _local5 = flag.indexOf("<");
var _local6 = _local5 + 1;
} else if (flag.indexOf(">") != -1) {
var _local5 = flag.indexOf(">");
var _local6 = _local5 + 1;
} else if (flag.indexOf("=") != -1) {
var _local5 = flag.indexOf("=");
var _local6 = _local5 + 1;
} else {
var _local5 = flag.length;
flag = flag + "!=undefined";
var _local6 = _local5 + 2;
}
_local2.push(flag.substr(0, _local5));
_local2.push(flag.substring(_local5, _local6));
_local2.push(flag.substr(_local6));
_local3 = _local2[0].charAt(_local2[0].length - 1);
while (_local3 == " ") {
_local2[0] = _local2[0].substr(0, _local2[0].length - 1);
_local3 = _local2[0].charAt(_local2[0].length - 1);
}
_local4 = _local2[2].charAt(0);
while (_local4 == " ") {
_local2[2] = _local2[2].substr(1);
_local4 = _local2[2].charAt(0);
}
return(_local2);
}
getPathValue = function (path, defaultContainer) {
var path = (path ? (path) : "");
var defaultContainer = (defaultContainer ? (defaultContainer) : "RAM");
if (typeof(path) == "string") {
path = path.split(" ").join("");
}
var startAt = path.indexOf(".");
if (startAt == undefined) {
var output = path;
} else if (startAt == -1) {
var containerIsGlobal = eval ("_global." + path);
if (path == "this") {
containerIsGlobal = true;
}
if (typeof(defaultContainer) == "string") {
var output = (containerIsGlobal ? (eval (path)) : (eval ((defaultContainer + ".") + path)));
} else {
var output = (containerIsGlobal ? (eval (path)) : (defaultContainer[path]));
}
} else {
var containerEnd = path.indexOf(".");
var containerName = path.substr(0, containerEnd);
var containerIsGlobal = eval ("_global." + containerName);
if (containerName == "this") {
containerIsGlobal = true;
}
if (containerName == "_level0") {
containerIsGlobal = true;
}
if (!containerIsGlobal) {
path = "RAM." + path;
}
var output = eval (path);
}
return(output);
};
if (spriteFlag === undefined) {
return(false);
}
var output = true;
var flagParts_array = getFlagParts(spriteFlag);
var variable = flagParts_array[0];
var operation = flagParts_array[1];
var value = flagParts_array[2];
if (isNaN(value) == false) {
value = Number(value);
}
if (value == "true") {
value = true;
}
if (value == "false") {
value = false;
}
if (value == "undefined") {
value = undefined;
}
var displayValue = getPathValue(variable, flagRoot);
switch (operation) {
case "!" :
output = (displayValue == undefined) || (displayValue == false);
break;
case "=" :
output = displayValue == value;
break;
case "!=" :
if ((!Boolean(displayValue)) && (!Boolean(value))) {
displayValue = false;
value = false;
}
output = displayValue != value;
break;
case "<" :
output = displayValue < value;
if (displayValue == undefined) {
output = false;
}
if (typeof(displayValue) == "string") {
output = false;
}
break;
case ">" :
output = displayValue > value;
if (displayValue == undefined) {
output = false;
}
if (typeof(displayValue) == "string") {
output = false;
}
break;
case "<=" :
output = displayValue <= value;
if (displayValue == undefined) {
output = false;
}
if (typeof(displayValue) == "string") {
output = false;
}
break;
case ">=" :
output = displayValue >= value;
if (displayValue == undefined) {
output = false;
}
if (typeof(displayValue) != "string") {
break;
}
output = false;
}
return(output);
}
function checkAllFlags(flag_array, flagRoot) {
function getImpliedValue(input) {
var _local2;
if ((input == "undefined") || (input == undefined)) {
_local2 = undefined;
} else if ((input == "true") || (input === true)) {
_local2 = Boolean(true);
} else if ((input == "false") || (input === false)) {
_local2 = Boolean(false);
} else if (isNaN(input) == false) {
_local2 = Number(input);
} else {
_local2 = input;
}
return(_local2);
}
function resolveContainerStr(containerName, thisName) {
thisName = ((typeof(thisName) === "string") ? (thisName) : "this");
var _local2 = null;
if (containerName == "this") {
_local2 = thisName;
}
if (containerName == "_root") {
_local2 = "_root";
}
if (containerName == "_level0") {
_local2 = "_root";
}
if (containerName == "_global") {
_local2 = "_global";
}
if (_global[containerName] && (_global[containerName] instanceof Object)) {
_local2 = containerName;
}
return(_local2);
}
function resolveContainer(containerName, thisRef) {
if (typeof(thisRef) === "string") {
thisRef = _this || this;
}
var _local4 = _global[containerName];
if (containerName == "this") {
_local4 = thisRef;
}
if (containerName == "_root") {
_local4 = _root;
}
if (containerName == "_level0") {
_local4 = _root;
}
if (containerName == "_global") {
_local4 = _global;
}
return(_local4);
}
function evalPath(inputPath, defaultContainer_str, thisName) {
var thisScope = this;
var thisName = (thisName || "this");
if (typeof(inputPath) == "string") {
if (!defaultContainer_str) {
var defaultContainer_str = ((typeof(thisName) === "string") ? (thisName) : "this");
}
var endAt = inputPath.indexOf(".");
if (endAt == -1) {
endAt = inputPath.length;
}
var container_str = inputPath.substr(0, endAt);
var container_str = resolveContainerStr(container_str, thisName);
if (!container_str) {
var container_str = defaultContainer_str;
endAt = -1;
}
var theRest = inputPath.substr(endAt + 1);
var fullPath = (theRest ? ((container_str + ".") + theRest) : (container_str));
var paramStart = fullPath.indexOf("(");
if (paramStart != -1) {
var paramEnd = fullPath.indexOf(")", paramStart + 1);
var param = fullPath.substring(paramStart + 1, paramEnd);
var functionPath = fullPath.substr(0, paramStart);
var thisFunction = eval (functionPath);
var param_array = String(param).split(",");
var i = 0;
while (i < param_array.length) {
param_array[i] = getImpliedValue(param_array[i]);
i++;
}
var output = thisFunction.apply(thisScope, param_array);
} else {
var output = eval (fullPath);
}
} else {
var output = inputPath;
}
return(output);
}
function nestedEval(inputPath, defaultContainer_str, thisName) {
function replaceLastBracket(inputPath) {
function openBracketCloseParam() {
var _local2 = thisPath.indexOf(")");
var _local4 = thisPath.indexOf("(");
var _local1 = thisPath.indexOf("]");
var _local3 = ((_local1 === -1) || (_local2 < _local1)) && (_local4 === -1);
if (_local2 === -1) {
_local3 = false;
}
if (!_local3) {
return(false);
}
output = (placeHolderMarker + "xx") + thisPath.substr(1);
return(true);
}
function openBracketOpenParam() {
var _local3 = thisPath.indexOf("(");
var _local4 = thisPath.indexOf("]");
var _local10 = ((_local4 === -1) || (_local3 < _local4)) && (_local3 > -1);
if (!_local10) {
return(false);
}
var _local5 = thisPath.substring(1, _local3);
_local5 = resolve(_local5);
var _local6 = evalPath(_local5, defaultContainer_str, thisName);
var _local11 = _local6 instanceof Function;
if (_local11) {
var _local7 = thisPath.indexOf(")", _local3);
var _local9 = thisPath.substring(_local3 + 1, _local7);
var _local2 = _local9.split(",");
params_ary = [];
var _local1 = 0;
while (_local1 < _local2.length) {
params_ary[_local1] = resolve(_local2[_local1]);
_local1++;
}
var _local8 = _local6.apply(thisScope, params_ary);
var _local12 = thisPath.substr(_local4 + 1);
var _local13 = setPlaceHolder(_local8);
output = _local13 + _local12;
return(true);
}
var _local12 = thisPath.substr(_local4 + 1);
trace(("ERROR: " + _local5) + " is not a function!");
output = _local12;
return(true);
}
function openBracketCloseBracket() {
var _local1 = thisPath.indexOf("]");
var _local2 = _local1 > -1;
if (!_local2) {
return(false);
}
var _local5 = thisPath.substr(_local1 + 1);
var _local4 = thisPath.substring(1, _local1);
var _local3 = evalPath(resolve(_local4), defaultContainer_str, thisName);
var _local6 = setPlaceHolder(_local3);
output = _local6 + _local5;
return(true);
}
var _local6 = inputPath.lastIndexOf("[");
var _local15 = inputPath.substr(0, _local6);
var thisPath = inputPath.substr(_local6);
var output = thisPath.substr(1);
if (openBracketCloseParam()) {
} else if (openBracketOpenParam()) {
} else if (openBracketCloseBracket()) {
}
return(_local15 + output);
}
function resolve(inputPath) {
var _local8 = placeHolderLength - 1;
var _local7 = inputPath.split(placeHolderMarker);
var _local5 = [];
_local5[0] = _local7[0];
var _local1 = 1;
while (_local1 < _local7.length) {
var _local3 = _local7[_local1];
var _local6 = _local3.substr(0, _local8);
var _local2 = getPlaceHolder(_local6);
var _local4 = _local3.substr(_local8);
if (_local4.length > 0) {
_local5[_local1] = String(_local2) + _local4;
} else {
_local5[_local1] = _local2;
}
_local1++;
}
if ((_local5.length === 2) && (_local5[0] === "")) {
return(_local5[1]);
}
return(_local5.join(""));
}
function setPlaceHolder(storeThisValue) {
resolvedValues.push(storeThisValue);
var _local3 = resolvedValues.length - 1;
var _local1 = String(_local3);
var _local2 = placeHolderLength - 1;
while (_local1.length < _local2) {
_local1 = "0" + _local1;
}
return(placeHolderMarker + _local1);
}
function getPlaceHolder(id_str) {
var _local2 = !isNaN(id_str);
if (_local2) {
var _local3 = Number(id_str);
return(resolvedValues[_local3]);
}
return(resolvedValues[id_str]);
}
var thisScope = this;
var _local24 = typeof(inputPath);
var _local21 = _local24 === "string";
if (!_local21) {
return(inputPath);
}
var placeHolderMarker = "\u00B6";
var placeHolderLength = 3;
var resolvedValues = [];
resolvedValues.xx = "[";
while (inputPath.indexOf("[") > -1) {
inputPath = replaceLastBracket(inputPath);
}
var output = resolve(inputPath);
return(output);
}
function checkFlag(spriteFlag, flagRoot) {
function getFlagParts(flag) {
var _local2 = [];
var _local4 = flag.charAt(0);
while (_local4 == " ") {
flag = flag.substr(1);
_local4 = flag.charAt(0);
}
var _local3 = flag.charAt(flag.length - 1);
while (_local3 == " ") {
flag = flag.substr(0, flag.length - 1);
_local3 = flag.charAt(flag.length - 1);
}
if (flag.charAt(0) == "!") {
flag = flag.substr(1) + "!";
var _local5 = flag.indexOf("!");
var _local6 = _local5 + 1;
} else if (flag.indexOf("!=") != -1) {
var _local5 = flag.indexOf("!=");
var _local6 = _local5 + 2;
} else if (flag.indexOf("<=") != -1) {
var _local5 = flag.indexOf("<=");
var _local6 = _local5 + 2;
} else if (flag.indexOf(">=") != -1) {
var _local5 = flag.indexOf(">=");
var _local6 = _local5 + 2;
} else if (flag.indexOf("<") != -1) {
var _local5 = flag.indexOf("<");
var _local6 = _local5 + 1;
} else if (flag.indexOf(">") != -1) {
var _local5 = flag.indexOf(">");
var _local6 = _local5 + 1;
} else if (flag.indexOf("=") != -1) {
var _local5 = flag.indexOf("=");
var _local6 = _local5 + 1;
} else {
var _local5 = flag.length;
flag = flag + "!=undefined";
var _local6 = _local5 + 2;
}
_local2.push(flag.substr(0, _local5));
_local2.push(flag.substring(_local5, _local6));
_local2.push(flag.substr(_local6));
_local3 = _local2[0].charAt(_local2[0].length - 1);
while (_local3 == " ") {
_local2[0] = _local2[0].substr(0, _local2[0].length - 1);
_local3 = _local2[0].charAt(_local2[0].length - 1);
}
_local4 = _local2[2].charAt(0);
while (_local4 == " ") {
_local2[2] = _local2[2].substr(1);
_local4 = _local2[2].charAt(0);
}
return(_local2);
}
getPathValue = function (path, defaultContainer) {
var path = (path ? (path) : "");
var defaultContainer = (defaultContainer ? (defaultContainer) : "RAM");
if (typeof(path) == "string") {
path = path.split(" ").join("");
}
var startAt = path.indexOf(".");
if (startAt == undefined) {
var output = path;
} else if (startAt == -1) {
var containerIsGlobal = eval ("_global." + path);
if (path == "this") {
containerIsGlobal = true;
}
if (typeof(defaultContainer) == "string") {
var output = (containerIsGlobal ? (eval (path)) : (eval ((defaultContainer + ".") + path)));
} else {
var output = (containerIsGlobal ? (eval (path)) : (defaultContainer[path]));
}
} else {
var containerEnd = path.indexOf(".");
var containerName = path.substr(0, containerEnd);
var containerIsGlobal = eval ("_global." + containerName);
if (containerName == "this") {
containerIsGlobal = true;
}
if (containerName == "_level0") {
containerIsGlobal = true;
}
if (!containerIsGlobal) {
path = "RAM." + path;
}
var output = eval (path);
}
return(output);
};
if (spriteFlag === undefined) {
return(false);
}
var output = true;
var flagParts_array = getFlagParts(spriteFlag);
var variable = flagParts_array[0];
var operation = flagParts_array[1];
var value = flagParts_array[2];
if (isNaN(value) == false) {
value = Number(value);
}
if (value == "true") {
value = true;
}
if (value == "false") {
value = false;
}
if (value == "undefined") {
value = undefined;
}
var displayValue = getPathValue(variable, flagRoot);
switch (operation) {
case "!" :
output = (displayValue == undefined) || (displayValue == false);
break;
case "=" :
output = displayValue == value;
break;
case "!=" :
if ((!Boolean(displayValue)) && (!Boolean(value))) {
displayValue = false;
value = false;
}
output = displayValue != value;
break;
case "<" :
output = displayValue < value;
if (displayValue == undefined) {
output = false;
}
if (typeof(displayValue) == "string") {
output = false;
}
break;
case ">" :
output = displayValue > value;
if (displayValue == undefined) {
output = false;
}
if (typeof(displayValue) == "string") {
output = false;
}
break;
case "<=" :
output = displayValue <= value;
if (displayValue == undefined) {
output = false;
}
if (typeof(displayValue) == "string") {
output = false;
}
break;
case ">=" :
output = displayValue >= value;
if (displayValue == undefined) {
output = false;
}
if (typeof(displayValue) != "string") {
break;
}
output = false;
}
return(output);
}
var testResult = true;
var sf = 0;
while (sf < flag_array.length) {
var thisSpriteFlag = flag_array[sf];
testResult = checkFlag(nestedEval(thisSpriteFlag, "RAM", "RAM"), flagRoot);
if (testResult == false) {
break;
}
sf++;
}
return(testResult);
}
var s = 0;
while (s < sprites.length) {
var thisSprite = sprites[s];
var testResult = checkAllFlags(thisSprite.flags, flagRoot);
if (testResult == true) {
addSprite(thisSprite);
} else if (testResult == false) {
removeSprite(thisSprite);
}
s++;
}
}
_this = this;
_global.COMMON = (sprites = _this.createEmptyMovieClip("sprites", 1));
uid = Math.random();
_this.sprites.is_common = true;
if (!_this.addListener) {
AsBroadcaster.initialize(_this);
}
if (!react) {
var react = make_react(_this);
}
_this.sprites.spritesRemaining = [];
var s = 0;
while (s < levelData.sprites.length) {
_this.sprites.spritesRemaining.push(levelData.sprites[s]);
s++;
}
_this.sprites.spritesRemaining.remove = function (thisName) {
var _local1 = _this.sprites.spritesRemaining.length - 1;
while (_local1 >= 0) {
if (_this.sprites.spritesRemaining[_local1].name == thisName) {
_this.sprites.spritesRemaining.splice(_local1, 1);
break;
}
_local1--;
}
};
if (_global.nextDepth === undefined) {
_global.nextDepth = function (this_mc, maxDepth, minDepth) {
this_mc = (this_mc ? (this_mc) : _root);
var _local4 = ((minDepth != undefined) ? (minDepth) : 1);
var _local5 = (maxDepth ? (maxDepth) : 1048500);
for (var _local6 in this_mc) {
var _local2 = this_mc[_local6].getDepth();
if ((_local2 < _local5) && (_local2 >= _local4)) {
_local4 = _local2 + 1;
}
}
return(_local4);
};
}
_this.sprites.updateSprites = function () {
var _local7 = function (thisSprite) {
var _local3 = _this.sprites[thisSprite.name];
if (_local3 == undefined) {
var _local10 = thisSprite.type;
var _local5 = thisSprite.name;
var _local6 = nextDepth(_this.sprites);
var _local9 = thisSprite.position.x;
var _local8 = thisSprite.position.y;
var _local7 = thisSprite.data;
var _local4 = _this.sprites.attachMovie(_local10, _local5, _local6, {_x:_local9, _y:_local8, data:_local7});
_local4.remove = function () {
LOOP.removeObject(this, "sprites");
_this.sprites.spritesRemaining.remove(this._name);
this.removeMovieClip();
};
}
};
var _local10 = function (thisSprite) {
var _local1 = _this.sprites[thisSprite.name];
if (_local1) {
LOOP.removeObject(_local1, "sprites");
_local1.removeMovieClip();
}
};
updateFlaggedSprites(_this.sprites.spritesRemaining, RAM, _local7, _local10);
};
_this.sprites.updateSprites();
react.to("onRemoveLevelStart").from(ROOT).then = function () {
for (var _local3 in _this.sprites) {
if (_this.sprites[_local3] instanceof MovieClip) {
var _local1 = _this.sprites[_local3].getScriptNames();
for (var _local2 in _local1) {
if (_local2 === "auto") {
continue;
}
if (_local2 === "leaveMap") {
continue;
}
_this.sprites[_local3].abortScript(_local2);
}
_this.sprites[_local3].leaveMap();
}
}
};
react.to("onNewLevel").from(ROOT).then = function () {
for (var _local1 in _this.sprites) {
if (_this.sprites[_local1] instanceof MovieClip) {
_this.sprites[_local1].newMap();
}
}
};
react.to("loadGame").from(ROOT).then = function () {
react.once().to("onNewLevel").from(ROOT).then = function () {
for (var _local1 in _this.sprites) {
if (_this.sprites[_local1] instanceof MovieClip) {
_this.sprites[_local1].auto();
}
}
};
};
onUnload = function () {
_global.COMMON = null;
delete _global.COMMON;
};
Symbol 43 MovieClip [imageLoader] Frame 1
#initclip 41
Object.registerClass("imageLoader", mx.core.UIComponent);
#endinitclip
function loadImage(file, target, newName, newDepth, isVisible) {
function once(func) {
var done = false;
return(function () {
return((done ? (0) : ((done = true)func.apply(this, arguments))));
});
}
function unload() {
if (!(cleanupInterval === null)) {
clearInterval(cleanupInterval);
cleanupInterval = null;
}
if (return_obj.content) {
waitForUnload_trigger();
return_obj.onUnload(return_obj.content);
return_obj.broadcastMessage("unload");
}
removeEvents();
}
function makeOnUnload(placeIntoThis) {
if (contentExists() === false) {
return(undefined);
}
if (placeIntoThis.onUnload) {
return(undefined);
}
placeIntoThis.onUnload = unload;
}
function removeEvents() {
detectTargetUnload.unload = undefined;
delete detectTargetUnload.unload;
target.removeEventListener("unload", detectTargetUnload);
target.removeListener(detectTargetUnload);
for (var _local2 in return_obj._listeners) {
var _local1 = return_obj._listeners[_local2];
return_obj.removeListener(_local1);
}
return_obj._listeners = undefined;
delete return_obj._listeners;
return_obj.addListener = undefined;
delete return_obj.addListener;
return_obj.removeListener = undefined;
delete return_obj.removeListener;
return_obj.broadcastMessage = undefined;
delete return_obj.broadcastMessage;
target.removeListener(return_obj);
}
function getBitmap() {
if (contentExists() === false) {
return(undefined);
}
if (!loadedBitmap) {
var _local2 = return_obj.content._width;
var _local1 = return_obj.content._height;
if (!_local2) {
_local2 = 1;
}
if (!_local1) {
_local1 = 1;
}
loadedBitmap = new flash.display.BitmapData(_local2, _local1, true, 0);
loadedBitmap.draw(return_obj.content);
}
return(loadedBitmap);
}
function detectLastFrame(anim_mc) {
var _local1 = {loop:function () {
if ((anim_mc._currentframe == 0) || (anim_mc._currentframe == undefined)) {
clearInterval(detectLastFrame_interval);
waitForAnim_queue.splice(0, waitForAnim_queue.length);
} else if (anim_mc._currentframe == anim_mc._totalframes) {
clearInterval(detectLastFrame_interval);
isDoneAnimating = true;
waitForAnim_trigger();
return_obj.onAnimDone(return_obj.content, return_obj.getBitmap);
return_obj.broadcastMessage("onAnimDone", return_obj.content, return_obj.getBitmap, return_obj.file);
delete return_obj.onAnimDone;
waitForAnim_queue.splice(0, waitForAnim_queue.length);
}
}};
detectLastFrame_interval = setInterval(_local1.loop, detectLastFrame_delay);
_local1.loop();
}
function contentExists() {
return(!(return_obj.content._currentframe === undefined));
}
function waitForLoad_trigger() {
var _local1 = 0;
while (_local1 < waitForLoad_queue.length) {
waitForLoad_queue[_local1].apply(return_obj.content, [return_obj.content, return_obj.getBitmap, return_obj.file]);
_local1++;
}
waitForLoad_queue.splice(0, waitForLoad_queue.length);
}
function waitForInit_trigger() {
var _local1 = 0;
while (_local1 < waitForInit_queue.length) {
waitForInit_queue[_local1].apply(return_obj.content, [return_obj.content, return_obj.getBitmap, return_obj.file]);
_local1++;
}
waitForInit_queue.splice(0, waitForInit_queue.length);
}
function waitForAnim_trigger() {
var _local1 = 0;
while (_local1 < waitForAnim_queue.length) {
waitForAnim_queue[_local1].apply(return_obj.content, [return_obj.content, return_obj.getBitmap, return_obj.file]);
_local1++;
}
waitForAnim_queue.splice(0, waitForAnim_queue.length);
}
function waitForUnload_trigger() {
var _local1 = 0;
while (_local1 < waitForUnload_queue.length) {
waitForUnload_queue[_local1].apply(return_obj.content, [return_obj.content, return_obj.getBitmap, return_obj.file]);
_local1++;
}
waitForUnload_queue.splice(0, waitForUnload_queue.length);
}
function placeClip() {
var newImage = target.attachMovie(file, newName, newDepth, {_visible:isVisible});
var newImage = target[newName];
if ((!(target.getInstanceAtDepth(newDepth) === undefined)) && (newImage != target)) {
loadedBitmap = null;
return_obj.content = newImage;
isLoaded = true;
makeOnUnload(return_obj.content);
waitForLoad_trigger();
return_obj.broadcastMessage("onLoad", return_obj.content, return_obj.getBitmap, file);
return_obj.onLoad(return_obj.content, return_obj.getBitmap, file);
detectLastFrame(return_obj.content);
setTimeout(function (file) {
waitForInit_trigger();
return_obj.onLoadInit(return_obj.content, return_obj.getBitmap, file);
return_obj.broadcastMessage("onLoadInit", return_obj.content, return_obj.getBitmap, file);
return_obj.broadcastMessage("complete", return_obj.content, return_obj.getBitmap, file);
}, 1, file);
} else {
var newImage = target.createEmptyMovieClip(newName, newDepth);
newImage._visible = isVisible;
if (file.generateFilterRect != undefined) {
var _local1 = file;
}
if (file.generateFilterRect == undefined) {
var _local1 = flash.display.BitmapData.loadBitmap(file);
}
newImage.attachBitmap(_local1, 0, true, true);
if (!(newImage.getInstanceAtDepth(0) === undefined)) {
loadedBitmap = _local1;
return_obj.content = newImage;
isLoaded = true;
makeOnUnload(return_obj.content);
waitForLoad_trigger();
return_obj.broadcastMessage("onLoad", return_obj.content, return_obj.getBitmap, file);
return_obj.onLoad(return_obj.content, return_obj.getBitmap, file);
setTimeout(function (file) {
waitForInit_trigger();
return_obj.onLoadInit(return_obj.content, return_obj.getBitmap, file);
return_obj.broadcastMessage("onLoadInit", return_obj.content, return_obj.getBitmap, file);
return_obj.broadcastMessage("complete", return_obj.content, return_obj.getBitmap, file);
}, 0, file);
isDoneAnimating = true;
waitForAnim_trigger();
return_obj.onAnimDone(return_obj.content, return_obj.getBitmap, file);
return_obj.broadcastMessage("onAnimDone", return_obj.content, return_obj.getBitmap, file);
delete return_obj.onAnimDone;
} else {
var loader = new MovieClipLoader();
loadedBitmap = null;
return_obj.content = undefined;
loader.onLoadComplete = function (loadedClip, loadStatus) {
newImage._visible = isVisible;
loadedBitmap = null;
return_obj.content = loadedClip;
isLoaded = true;
waitForLoad_trigger();
return_obj.broadcastMessage("onLoad", return_obj.content, null, file);
return_obj.onLoad(return_obj.content, null, file);
};
loader.onLoadInit = function (loadedClip) {
makeOnUnload(return_obj.content);
detectLastFrame(return_obj.content);
setTimeout(function (file) {
waitForInit_trigger();
return_obj.onLoadInit(return_obj.content, return_obj.getBitmap, file);
return_obj.broadcastMessage("onLoadInit", return_obj.content, return_obj.getBitmap, file);
return_obj.broadcastMessage("complete", return_obj.content, return_obj.getBitmap, file);
}, 0, file);
};
loader.onLoadInit = once(loader.onLoadInit);
loader.onLoadError = function () {
if (newName) {
removeClip(target[newName]);
}
return_obj.content = undefined;
waitForLoad_queue.splice(0, waitForLoad_queue.length);
waitForInit_queue.splice(0, waitForInit_queue.length);
waitForAnim_queue.splice(0, waitForAnim_queue.length);
var _local1 = {file:file};
return_obj.onLoadError(_local1);
return_obj.broadcastMessage("onLoadError", _local1);
};
loader.onLoadError = once(loader.onLoadError);
loader.loadClip(file, newImage);
if (isLoaded) {
return_obj.content = target[newName];
setTimeout(function (file) {
loader.onLoadInit(return_obj.content, return_obj.getBitmap, file);
}, 0, file);
}
}
}
}
function removeClip(clip_mc) {
if (!clip_mc) {
return(undefined);
}
clip_mc.onUnload();
delete clip_mc.onUnload;
clip_mc.removeMovieClip();
}
if (_global.nextDepth === undefined) {
_global.nextDepth = function (this_mc, maxDepth, minDepth) {
this_mc = (this_mc ? (this_mc) : _root);
var _local4 = ((minDepth != undefined) ? (minDepth) : 1);
var _local5 = (maxDepth ? (maxDepth) : 1048500);
for (var _local6 in this_mc) {
var _local2 = this_mc[_local6].getDepth();
if ((_local2 < _local5) && (_local2 >= _local4)) {
_local4 = _local2 + 1;
}
}
return(_local4);
};
}
var detectLastFrame_delay = 10;
var return_obj;
var isLoaded = false;
var isInit = false;
var isDoneAnimating = false;
var waitForLoad_queue = [];
var waitForInit_queue = [];
var waitForAnim_queue = [];
var waitForUnload_queue = [];
var loadedBitmap = null;
var detectTargetUnload = {};
var detectLastFrame_interval = null;
var cleanupInterval = null;
var unload = once(unload);
detectLastFrame = once(detectLastFrame);
return_obj = {file:file, onLoadInit:function () {
}, onLoadError:function () {
}, onAnimDone:function () {
}, content:undefined, waitForLoad:function (newCallback) {
if (isLoaded) {
newCallback.apply(return_obj.content, [return_obj.content, getBitmap, file]);
} else {
waitForLoad_queue.push(newCallback);
}
return(return_obj);
}, waitForInit:function (newCallback) {
if (isInit) {
newCallback.apply(return_obj.content, [return_obj.content, getBitmap, file]);
} else {
waitForInit_queue.push(newCallback);
}
return(return_obj);
}, waitForAnim:function (newCallback) {
if (isDoneAnimating) {
newCallback.apply(return_obj.content, [return_obj.content, getBitmap, file]);
} else {
waitForAnim_queue.push(newCallback);
}
return(return_obj);
}, waitForUnload:function (newCallback) {
waitForUnload_queue.push(newCallback);
return(return_obj);
}, getBitmap:getBitmap, unload:unload, removeEvents:removeEvents};
AsBroadcaster.initialize(return_obj);
detectTargetUnload.unload = unload;
if (target.addEventListener) {
target.addEventListener("unload", detectTargetUnload);
} else if (target.addListener) {
target.addListener(detectTargetUnload);
}
var _local17 = Math.floor(Math.random() * 300);
setTimeout(function () {
cleanupInterval = setInterval(function () {
var _local1 = contentExists();
if (_local1) {
return(undefined);
}
unload();
}, 3000);
}, _local17);
if (isVisible === undefined) {
isVisible = true;
}
var target = (target || this);
var newDepth = ((newDepth != undefined) ? (newDepth) : (nextDepth(target)));
var newName = (newName || ("image_" + newDepth));
newName = String(newName);
setTimeout(function () {
removeClip(target[newName]);
placeClip();
}, 0);
return(return_obj);
}
function announceUnload() {
if (!_this.content) {
return(undefined);
}
_this.dispatchEvent({type:"unload", content:_this.content, file:_this.file});
_this.unload(_this.content, null, _this.file);
}
_this = this;
stop();
version = 2.3;
fullWidth = __width;
fullHeight = __height;
loadedWidth = 0;
loadedHeight = 0;
fullRatio = fullWidth / fullHeight;
contentRatio = 1;
imageScale = 100;
newDepth = 0;
depthLimit = 9999;
status = "empty";
callUnload = function (parent) {
if (!parent) {
return(undefined);
}
if (!(parent instanceof MovieClip)) {
return(undefined);
}
var reportedPath;
var actualPath;
for (var nam in parent) {
var thisChild = parent[nam];
if (thisChild instanceof MovieClip) {
reportedPath = String(eval (thisChild._target));
actualPath = (String(eval (parent._target)) + ".") + nam;
if (reportedPath.indexOf(actualPath) != -1) {
callUnload(thisChild);
}
}
}
parent.onKillFocus(null);
parent.dispatchEvent({type:"unload"});
parent.broadcastMessage("unload");
parent.unload();
parent.onUnload();
delete parent.onUnload;
parent.removeEventListener("keyDown", parent);
parent.removeEventListener("keyUp", parent);
Key.removeListener(parent);
Mouse.removeListener(parent);
for (var L in parent._listeners) {
var thisListener = parent._listeners[L];
parent.removeListener(thisListener);
}
parent.addListener = function () {
};
};
updateOnce = function (func, delay) {
var hasUpdated = false;
var interval = null;
var delay = (delay || 0);
return(function () {
if (hasUpdated === false) {
hasUpdated = true;
func.apply(null, arguments);
clearTimeout(interval);
interval = setTimeout(function () {
hasUpdated = false;
}, delay);
}
});
};
announceUnload = updateOnce(announceUnload);
resizeImage = function (contentRatio, new_fullWidth, new_fullHeight) {
if (scaleContent) {
if (loadedWidth == 0) {
return(undefined);
}
if (loadedHeight == 0) {
return(undefined);
}
var _local2 = new_fullWidth || (fullWidth);
var _local3 = new_fullHeight || (fullHeight);
var _local1 = contentRatio;
imageScale = 100;
if (_local1 >= fullRatio) {
imageScale = (_local2 / loadedWidth) * 100;
} else {
imageScale = (_local3 / loadedHeight) * 100;
}
content._xscale = (content._yscale = imageScale);
}
};
initFile = file;
_file = "";
_this.getFile = function () {
return(_file);
};
_this.setFile = function (newValue, doEvent) {
function beforeInit(mc, getBitmap, file) {
if (!(file === _file)) {
return(undefined);
}
status = "done";
_this.content = mc;
_this.dispatchEvent({type:"onLoad", file:_file});
_this.onLoad(mc, null, file);
}
function success(mc, getBitmap, file) {
if (!(file === _file)) {
return(undefined);
}
content._xscale = (content._yscale = 100);
loadedWidth = content._width || (fullWidth);
loadedHeight = content._height || (fullHeight);
if (_file instanceof flash.display.BitmapData) {
loadedWidth = _file.width;
loadedHeight = _file.height;
}
var _local1 = {width:loadedWidth, height:loadedHeight};
contentRatio = loadedWidth / loadedHeight;
_this.resizeImage(contentRatio, fullWidth, fullHeight);
_this.image_mc._visible = true;
_this.dispatchEvent({target:_this, type:"complete", getBitmap:getBitmap, file:_file, size:_local1});
_this.complete(mc, getBitmap, file, _local1);
}
callUnload(_this.content);
announceUnload();
status = "loading";
_file = newValue;
loader.unload();
newDepth++;
newDepth = newDepth % depthLimit;
loader = loadImage(_file, _this, "image_mc", newDepth, false);
var _local3 = function (mc, getBitmap, file) {
if (!(file === _file)) {
return(undefined);
}
_this.dispatchEvent({type:"animDone", getBitmap:getBitmap, file:_file});
_this.animDone(mc, getBitmap, _file);
};
loader.waitForLoad(beforeInit);
loader.waitForInit(success);
loader.waitForAnim(_local3);
if (!loader) {
success();
}
loader.onLoadError = function (evt) {
if (!(evt.file === _file)) {
return(undefined);
}
var _local2 = evt || ({});
_local2.type = "error";
_local2.file = evt.file;
_this.content = null;
_this.dispatchEvent(evt);
_this.error();
};
};
_this.addProperty("file", _this.getFile, _this.setFile);
file = initFile;
var detectSelfUnload = {};
addEventListener("unload", detectSelfUnload);
detectSelfUnload.unload = function () {
removeEventListener("unload", detectSelfUnload);
announceUnload();
loader.unload();
};
_this.dispatchEvent({type:"init"});
Symbol 44 MovieClip [loadSwf] Frame 1
_this = this;
if (brightness) {
init_brightness = brightness;
} else if ((this.transform.colorTransform.redMultiplier == this.transform.colorTransform.greenMultiplier) && (this.transform.colorTransform.redMultiplier == this.transform.colorTransform.blueMultiplier)) {
init_brightness = (this.transform.colorTransform.redOffset * 100) / 255;
} else {
init_brightness = 0;
}
get_brightness = function () {
return(this.transform.colorTransform.redOffset);
};
set_brightness = function (newValue) {
var _local3 = _alpha / 100;
var _local2 = (newValue * 255) / 100;
this.transform.colorTransform = new flash.geom.ColorTransform(1, 1, 1, _local3, _local2, _local2, _local2, 0);
};
this.addProperty("brightness", get_brightness, set_brightness);
brightness = init_brightness;
delete init_brightness;
init_file = data.file || null;
get_file = function () {
return(image.file);
};
set_file = function (newValue) {
image.file = newValue;
};
this.addProperty("file", get_file, set_file);
file = init_file;
init_scale = data.scale || 100;
get_scale = function () {
return(image._xscale);
};
set_scale = function (newValue) {
image._xscale = (image._yscale = newValue);
};
this.addProperty("scale", get_scale, set_scale);
scale = init_scale;
if (noCollide === undefined) {
noCollide = true;
}
Instance of Symbol 43 MovieClip [imageLoader] "image" in Symbol 44 MovieClip [loadSwf] Frame 1
//component parameters
onClipEvent (construct) {
file = "";
scaleContent = false;
enabled = true;
visible = true;
}
Symbol 57 MovieClip [swf\skipReplay.swf skip_mc] Frame 1
#initclip 63
Object.registerClass("swf\\skipReplay.swf skip_mc", EventClip);
#endinitclip
function sendEvent(evt_str, evt, evtEmitter) {
evtEmitter = (evtEmitter || (_this)) || this;
var _local4 = evt instanceof Object;
if (_local4 === false) {
evt = {data:evt};
}
evt.type = evt_str;
if (evtEmitter.dispatchEvent) {
evt.type = evt_str;
evtEmitter.dispatchEvent(evt);
} else if (evtEmitter.broadcastMessage) {
evtEmitter.broadcastMessage(evt_str, evt);
}
}
function getImpliedValue(input) {
var _local2;
if ((input == "undefined") || (input == undefined)) {
_local2 = undefined;
} else if ((input == "true") || (input === true)) {
_local2 = Boolean(true);
} else if ((input == "false") || (input === false)) {
_local2 = Boolean(false);
} else if (isNaN(input) == false) {
_local2 = Number(input);
} else {
_local2 = input;
}
return(_local2);
}
function resolveContainerStr(containerName, thisName) {
thisName = ((typeof(thisName) === "string") ? (thisName) : "this");
var _local2 = null;
if (containerName == "this") {
_local2 = thisName;
}
if (containerName == "_root") {
_local2 = "_root";
}
if (containerName == "_level0") {
_local2 = "_root";
}
if (containerName == "_global") {
_local2 = "_global";
}
if (_global[containerName] && (_global[containerName] instanceof Object)) {
_local2 = containerName;
}
return(_local2);
}
function resolveContainer(containerName, thisRef) {
if (typeof(thisRef) === "string") {
thisRef = _this || this;
}
var _local4 = _global[containerName];
if (containerName == "this") {
_local4 = thisRef;
}
if (containerName == "_root") {
_local4 = _root;
}
if (containerName == "_level0") {
_local4 = _root;
}
if (containerName == "_global") {
_local4 = _global;
}
return(_local4);
}
function evalPath(inputPath, defaultContainer_str, thisName) {
var thisScope = this;
var thisName = (thisName || "this");
if (typeof(inputPath) == "string") {
if (!defaultContainer_str) {
var defaultContainer_str = ((typeof(thisName) === "string") ? (thisName) : "this");
}
var endAt = inputPath.indexOf(".");
if (endAt == -1) {
endAt = inputPath.length;
}
var container_str = inputPath.substr(0, endAt);
var container_str = resolveContainerStr(container_str, thisName);
if (!container_str) {
var container_str = defaultContainer_str;
endAt = -1;
}
var theRest = inputPath.substr(endAt + 1);
var fullPath = (theRest ? ((container_str + ".") + theRest) : (container_str));
var paramStart = fullPath.indexOf("(");
if (paramStart != -1) {
var paramEnd = fullPath.indexOf(")", paramStart + 1);
var param = fullPath.substring(paramStart + 1, paramEnd);
var functionPath = fullPath.substr(0, paramStart);
var thisFunction = eval (functionPath);
var param_array = String(param).split(",");
var i = 0;
while (i < param_array.length) {
param_array[i] = getImpliedValue(param_array[i]);
i++;
}
var output = thisFunction.apply(thisScope, param_array);
} else {
var output = eval (fullPath);
}
} else {
var output = inputPath;
}
return(output);
}
function nestedEval(inputPath, defaultContainer_str, thisName) {
function replaceLastBracket(inputPath) {
function openBracketCloseParam() {
var _local2 = thisPath.indexOf(")");
var _local4 = thisPath.indexOf("(");
var _local1 = thisPath.indexOf("]");
var _local3 = ((_local1 === -1) || (_local2 < _local1)) && (_local4 === -1);
if (_local2 === -1) {
_local3 = false;
}
if (!_local3) {
return(false);
}
output = (placeHolderMarker + "xx") + thisPath.substr(1);
return(true);
}
function openBracketOpenParam() {
var _local3 = thisPath.indexOf("(");
var _local4 = thisPath.indexOf("]");
var _local10 = ((_local4 === -1) || (_local3 < _local4)) && (_local3 > -1);
if (!_local10) {
return(false);
}
var _local5 = thisPath.substring(1, _local3);
_local5 = resolve(_local5);
var _local6 = evalPath(_local5, defaultContainer_str, thisName);
var _local11 = _local6 instanceof Function;
if (_local11) {
var _local7 = thisPath.indexOf(")", _local3);
var _local9 = thisPath.substring(_local3 + 1, _local7);
var _local2 = _local9.split(",");
params_ary = [];
var _local1 = 0;
while (_local1 < _local2.length) {
params_ary[_local1] = resolve(_local2[_local1]);
_local1++;
}
var _local8 = _local6.apply(thisScope, params_ary);
var _local12 = thisPath.substr(_local4 + 1);
var _local13 = setPlaceHolder(_local8);
output = _local13 + _local12;
return(true);
}
var _local12 = thisPath.substr(_local4 + 1);
trace(("ERROR: " + _local5) + " is not a function!");
output = _local12;
return(true);
}
function openBracketCloseBracket() {
var _local1 = thisPath.indexOf("]");
var _local2 = _local1 > -1;
if (!_local2) {
return(false);
}
var _local5 = thisPath.substr(_local1 + 1);
var _local4 = thisPath.substring(1, _local1);
var _local3 = evalPath(resolve(_local4), defaultContainer_str, thisName);
var _local6 = setPlaceHolder(_local3);
output = _local6 + _local5;
return(true);
}
var _local6 = inputPath.lastIndexOf("[");
var _local15 = inputPath.substr(0, _local6);
var thisPath = inputPath.substr(_local6);
var output = thisPath.substr(1);
if (openBracketCloseParam()) {
} else if (openBracketOpenParam()) {
} else if (openBracketCloseBracket()) {
}
return(_local15 + output);
}
function resolve(inputPath) {
var _local8 = placeHolderLength - 1;
var _local7 = inputPath.split(placeHolderMarker);
var _local5 = [];
_local5[0] = _local7[0];
var _local1 = 1;
while (_local1 < _local7.length) {
var _local3 = _local7[_local1];
var _local6 = _local3.substr(0, _local8);
var _local2 = getPlaceHolder(_local6);
var _local4 = _local3.substr(_local8);
if (_local4.length > 0) {
_local5[_local1] = String(_local2) + _local4;
} else {
_local5[_local1] = _local2;
}
_local1++;
}
if ((_local5.length === 2) && (_local5[0] === "")) {
return(_local5[1]);
}
return(_local5.join(""));
}
function setPlaceHolder(storeThisValue) {
resolvedValues.push(storeThisValue);
var _local3 = resolvedValues.length - 1;
var _local1 = String(_local3);
var _local2 = placeHolderLength - 1;
while (_local1.length < _local2) {
_local1 = "0" + _local1;
}
return(placeHolderMarker + _local1);
}
function getPlaceHolder(id_str) {
var _local2 = !isNaN(id_str);
if (_local2) {
var _local3 = Number(id_str);
return(resolvedValues[_local3]);
}
return(resolvedValues[id_str]);
}
var thisScope = this;
var _local24 = typeof(inputPath);
var _local21 = _local24 === "string";
if (!_local21) {
return(inputPath);
}
var placeHolderMarker = "\u00B6";
var placeHolderLength = 3;
var resolvedValues = [];
resolvedValues.xx = "[";
while (inputPath.indexOf("[") > -1) {
inputPath = replaceLastBracket(inputPath);
}
var output = resolve(inputPath);
return(output);
}
function findRelativeLevel(obj, teleportsFound) {
function getFullPathFromRelative(relativePath, oldFullPath) {
if (showTrace) {
trace(" oldFullPath: " + oldFullPath);
}
var _local1 = oldFullPath.lastIndexOf("\\");
if (_local1 == -1) {
var _local2 = "";
} else {
var _local2 = oldFullPath.substr(0, _local1 + 1);
}
var _local4 = -1;
while (_local4 = relativePath.indexOf("..") , _local4 != -1) {
_local1 = _local2.lastIndexOf("\\", _local1 - 1);
var _local2 = _local2.substr(0, _local1 + 1);
relativePath = relativePath.substr(_local4 + 3);
}
var _local6 = _local2 + relativePath;
return(_local6);
}
function resolveRelativeLevel(cmd) {
var _local2 = cmd.level;
var _local1 = cmd.relativeLevel;
if ((_local1 != undefined) && (_local1 != "undefined")) {
var _local3 = ROOT.level_xml.filePath;
_local2 = getFullPathFromRelative(_local1, _local3);
}
return(_local2);
}
if (obj.type === "teleport") {
var _local10 = {level:resolveRelativeLevel(obj), position:obj.position};
return(_local10);
}
var _local9 = function () {
return(obj.push && (obj.length != undefined));
};
if (_local9()) {
var _local6 = 0;
while (_local6 < obj.length) {
var _local1 = findRelativeLevel(obj[_local6], teleportsFound);
if (_local1) {
teleportsFound.push(_local1);
}
_local6++;
}
} else {
for (var _local6 in obj) {
var _local1 = findRelativeLevel(obj[_local6], teleportsFound);
if (_local1) {
teleportsFound.push(_local1);
}
}
}
}
function onNewLevel() {
var _local8 = LEVEL.levelData;
var _local6 = LEVEL.levelData.sprites;
var _local7 = [];
var _local2 = 0;
while (_local2 < _local6.length) {
var thisSprite = _local6[_local2];
var _local5 = function () {
return(thisSprite.type == "rpgSprite");
};
var _local4 = function () {
return(thisSprite.name == "replay");
};
var _local3 = function () {
return(SPRITES[thisSprite.name] instanceof MovieClip);
};
if ((_local5() && (_local3())) && (!_local4())) {
findRelativeLevel(thisSprite.data, _local7);
}
_local2++;
}
if (_local7.length === 1) {
teleport_obj = _local7[0];
_this._visible = enabled;
} else {
_this._visible = false;
}
setTimeout(function () {
_parent.isSkipping = false;
}, 1);
}
function onRemoveLevel() {
_this._visible = false;
}
function onRollOver() {
_alpha = 100;
}
function onRollOut() {
_alpha = 50;
}
_this = this;
if (enabled === undefined) {
enabled = true;
}
_this._visible = false;
var teleport_obj;
onPress = function () {
if (SPRITES.skip.click) {
_parent.closeAllText();
SPRITES.skip.click();
} else if (teleport_obj.level) {
_parent.isSkipping = true;
_parent.closeAllText();
LEVEL.removeMovieClip();
setTimeout(function () {
ROOT.loadLevel(teleport_obj.level, teleport_obj.position);
}, 34);
}
};
onDragOut = onRollOut;
onRollOut();
sendEvent("init");
Symbol 60 MovieClip [swf\skipReplay.swf replay_mc] Frame 1
#initclip 64
Object.registerClass("swf\\skipReplay.swf replay_mc", EventClip);
#endinitclip
function sendEvent(evt_str, evt, evtEmitter) {
evtEmitter = (evtEmitter || (_this)) || this;
var _local4 = evt instanceof Object;
if (_local4 === false) {
evt = {data:evt};
}
evt.type = evt_str;
if (evtEmitter.dispatchEvent) {
evt.type = evt_str;
evtEmitter.dispatchEvent(evt);
} else if (evtEmitter.broadcastMessage) {
evtEmitter.broadcastMessage(evt_str, evt);
}
}
function onNewLevel() {
setTimeout(function () {
_parent.isReloading = false;
}, 1);
}
function onRollOver() {
_alpha = 100;
}
function onRollOut() {
_alpha = 50;
}
onPress = function () {
if (SPRITES.replay.click) {
SPRITES.replay.click();
} else {
_parent.closeAllText();
var levelFile = ROOT.game_mc.levelData.name;
var start_point = ROOT.game_mc.start_point;
LEVEL.removeMovieClip();
setTimeout(function () {
_parent.isReloading = true;
ROOT.loadLevel(levelFile, start_point);
}, 34);
}
};
onDragOut = onRollOut;
onRollOut();
sendEvent("init");
Symbol 62 MovieClip [swf\skipReplay.swf prev_mc] Frame 1
#initclip 65
Object.registerClass("swf\\skipReplay.swf prev_mc", EventClip);
#endinitclip
function sendEvent(evt_str, evt, evtEmitter) {
evtEmitter = (evtEmitter || (_this)) || this;
var _local4 = evt instanceof Object;
if (_local4 === false) {
evt = {data:evt};
}
evt.type = evt_str;
if (evtEmitter.dispatchEvent) {
evt.type = evt_str;
evtEmitter.dispatchEvent(evt);
} else if (evtEmitter.broadcastMessage) {
evtEmitter.broadcastMessage(evt_str, evt);
}
}
function getImpliedValue(input) {
var _local2;
if ((input == "undefined") || (input == undefined)) {
_local2 = undefined;
} else if ((input == "true") || (input === true)) {
_local2 = Boolean(true);
} else if ((input == "false") || (input === false)) {
_local2 = Boolean(false);
} else if (isNaN(input) == false) {
_local2 = Number(input);
} else {
_local2 = input;
}
return(_local2);
}
function resolveContainerStr(containerName, thisName) {
thisName = ((typeof(thisName) === "string") ? (thisName) : "this");
var _local2 = null;
if (containerName == "this") {
_local2 = thisName;
}
if (containerName == "_root") {
_local2 = "_root";
}
if (containerName == "_level0") {
_local2 = "_root";
}
if (containerName == "_global") {
_local2 = "_global";
}
if (_global[containerName] && (_global[containerName] instanceof Object)) {
_local2 = containerName;
}
return(_local2);
}
function resolveContainer(containerName, thisRef) {
if (typeof(thisRef) === "string") {
thisRef = _this || this;
}
var _local4 = _global[containerName];
if (containerName == "this") {
_local4 = thisRef;
}
if (containerName == "_root") {
_local4 = _root;
}
if (containerName == "_level0") {
_local4 = _root;
}
if (containerName == "_global") {
_local4 = _global;
}
return(_local4);
}
function evalPath(inputPath, defaultContainer_str, thisName) {
var thisScope = this;
var thisName = (thisName || "this");
if (typeof(inputPath) == "string") {
if (!defaultContainer_str) {
var defaultContainer_str = ((typeof(thisName) === "string") ? (thisName) : "this");
}
var endAt = inputPath.indexOf(".");
if (endAt == -1) {
endAt = inputPath.length;
}
var container_str = inputPath.substr(0, endAt);
var container_str = resolveContainerStr(container_str, thisName);
if (!container_str) {
var container_str = defaultContainer_str;
endAt = -1;
}
var theRest = inputPath.substr(endAt + 1);
var fullPath = (theRest ? ((container_str + ".") + theRest) : (container_str));
var paramStart = fullPath.indexOf("(");
if (paramStart != -1) {
var paramEnd = fullPath.indexOf(")", paramStart + 1);
var param = fullPath.substring(paramStart + 1, paramEnd);
var functionPath = fullPath.substr(0, paramStart);
var thisFunction = eval (functionPath);
var param_array = String(param).split(",");
var i = 0;
while (i < param_array.length) {
param_array[i] = getImpliedValue(param_array[i]);
i++;
}
var output = thisFunction.apply(thisScope, param_array);
} else {
var output = eval (fullPath);
}
} else {
var output = inputPath;
}
return(output);
}
function nestedEval(inputPath, defaultContainer_str, thisName) {
function replaceLastBracket(inputPath) {
function openBracketCloseParam() {
var _local2 = thisPath.indexOf(")");
var _local4 = thisPath.indexOf("(");
var _local1 = thisPath.indexOf("]");
var _local3 = ((_local1 === -1) || (_local2 < _local1)) && (_local4 === -1);
if (_local2 === -1) {
_local3 = false;
}
if (!_local3) {
return(false);
}
output = (placeHolderMarker + "xx") + thisPath.substr(1);
return(true);
}
function openBracketOpenParam() {
var _local3 = thisPath.indexOf("(");
var _local4 = thisPath.indexOf("]");
var _local10 = ((_local4 === -1) || (_local3 < _local4)) && (_local3 > -1);
if (!_local10) {
return(false);
}
var _local5 = thisPath.substring(1, _local3);
_local5 = resolve(_local5);
var _local6 = evalPath(_local5, defaultContainer_str, thisName);
var _local11 = _local6 instanceof Function;
if (_local11) {
var _local7 = thisPath.indexOf(")", _local3);
var _local9 = thisPath.substring(_local3 + 1, _local7);
var _local2 = _local9.split(",");
params_ary = [];
var _local1 = 0;
while (_local1 < _local2.length) {
params_ary[_local1] = resolve(_local2[_local1]);
_local1++;
}
var _local8 = _local6.apply(thisScope, params_ary);
var _local12 = thisPath.substr(_local4 + 1);
var _local13 = setPlaceHolder(_local8);
output = _local13 + _local12;
return(true);
}
var _local12 = thisPath.substr(_local4 + 1);
trace(("ERROR: " + _local5) + " is not a function!");
output = _local12;
return(true);
}
function openBracketCloseBracket() {
var _local1 = thisPath.indexOf("]");
var _local2 = _local1 > -1;
if (!_local2) {
return(false);
}
var _local5 = thisPath.substr(_local1 + 1);
var _local4 = thisPath.substring(1, _local1);
var _local3 = evalPath(resolve(_local4), defaultContainer_str, thisName);
var _local6 = setPlaceHolder(_local3);
output = _local6 + _local5;
return(true);
}
var _local6 = inputPath.lastIndexOf("[");
var _local15 = inputPath.substr(0, _local6);
var thisPath = inputPath.substr(_local6);
var output = thisPath.substr(1);
if (openBracketCloseParam()) {
} else if (openBracketOpenParam()) {
} else if (openBracketCloseBracket()) {
}
return(_local15 + output);
}
function resolve(inputPath) {
var _local8 = placeHolderLength - 1;
var _local7 = inputPath.split(placeHolderMarker);
var _local5 = [];
_local5[0] = _local7[0];
var _local1 = 1;
while (_local1 < _local7.length) {
var _local3 = _local7[_local1];
var _local6 = _local3.substr(0, _local8);
var _local2 = getPlaceHolder(_local6);
var _local4 = _local3.substr(_local8);
if (_local4.length > 0) {
_local5[_local1] = String(_local2) + _local4;
} else {
_local5[_local1] = _local2;
}
_local1++;
}
if ((_local5.length === 2) && (_local5[0] === "")) {
return(_local5[1]);
}
return(_local5.join(""));
}
function setPlaceHolder(storeThisValue) {
resolvedValues.push(storeThisValue);
var _local3 = resolvedValues.length - 1;
var _local1 = String(_local3);
var _local2 = placeHolderLength - 1;
while (_local1.length < _local2) {
_local1 = "0" + _local1;
}
return(placeHolderMarker + _local1);
}
function getPlaceHolder(id_str) {
var _local2 = !isNaN(id_str);
if (_local2) {
var _local3 = Number(id_str);
return(resolvedValues[_local3]);
}
return(resolvedValues[id_str]);
}
var thisScope = this;
var _local24 = typeof(inputPath);
var _local21 = _local24 === "string";
if (!_local21) {
return(inputPath);
}
var placeHolderMarker = "\u00B6";
var placeHolderLength = 3;
var resolvedValues = [];
resolvedValues.xx = "[";
while (inputPath.indexOf("[") > -1) {
inputPath = replaceLastBracket(inputPath);
}
var output = resolve(inputPath);
return(output);
}
function onNewLevel() {
var _local2 = Boolean(getPreviousLevel());
_this._visible = _local2 && (enabled);
setTimeout(function () {
_parent.isLoadingPrev = false;
}, 1);
}
function onRollOver() {
_alpha = 100;
}
function onRollOut() {
_alpha = 50;
}
function getPreviousLevel() {
return(_parent.levels_ary[_parent.levels_ary.length - 2]);
}
_this = this;
if (enabled === undefined) {
enabled = true;
}
var hasPrevLevel = Boolean(getPreviousLevel());
_this._visible = hasPrevLevel && (enabled);
onPress = function () {
if (SPRITES.prev.click) {
_parent.closeAllText();
SPRITES.prev.click();
} else if (Boolean(getPreviousLevel())) {
_parent.closeAllText();
var levelFile = getPreviousLevel();
var start_point = ROOT.game_mc.start_point;
LEVEL.removeMovieClip();
setTimeout(function () {
_parent.isLoadingPrev = true;
if (levelFile) {
ROOT.loadLevel(levelFile, start_point);
}
}, 34);
}
};
onDragOut = onRollOut;
onRollOut();
sendEvent("init");
Symbol 66 MovieClip [snowFall] Frame 121
this.removeMovieClip();
Symbol 91 MovieClip [BrdrShdw] Frame 1
mx.skins.ColoredSkinElement.setColorStyle(this, "shadowColor");
Symbol 93 MovieClip [BrdrFace] Frame 1
mx.skins.ColoredSkinElement.setColorStyle(this, "buttonColor");
Symbol 96 MovieClip [BrdrBlk] Frame 1
mx.skins.ColoredSkinElement.setColorStyle(this, "borderColor");
Symbol 98 MovieClip [BrdrHilght] Frame 1
mx.skins.ColoredSkinElement.setColorStyle(this, "highlightColor");
Symbol 101 MovieClip [Defaults] Frame 1
#initclip 42
Object.registerClass("Defaults", mx.skins.halo.Defaults);
#endinitclip
Symbol 102 MovieClip [UIObjectExtensions] Frame 1
#initclip 43
Object.registerClass("UIObjectExtensions", mx.core.ext.UIObjectExtensions);
#endinitclip
Symbol 103 MovieClip [UIObject] Frame 1
#initclip 44
Object.registerClass("UIObject", mx.core.UIObject);
#endinitclip
stop();
Symbol 106 Button
on (keyPress "<Tab>") {
this.tabHandler();
}
Symbol 107 MovieClip Frame 1
#initclip 45
Object.registerClass("FocusManager", mx.managers.FocusManager);
if (_root.focusManager == undefined) {
_root.createClassObject(mx.managers.FocusManager, "focusManager", mx.managers.DepthManager.highestDepth--);
}
#endinitclip
Symbol 108 MovieClip [FocusRect] Frame 1
#initclip 46
Object.registerClass("FocusRect", mx.skins.halo.FocusRect);
#endinitclip
Symbol 109 MovieClip [FocusManager] Frame 1
#initclip 47
Object.registerClass("FocusManager", mx.managers.FocusManager);
#endinitclip
stop();
Symbol 110 MovieClip [UIComponentExtensions] Frame 1
#initclip 48
Object.registerClass("UIComponentExtensions", mx.core.ext.UIComponentExtensions);
#endinitclip
Symbol 111 MovieClip [UIComponent] Frame 1
#initclip 49
Object.registerClass("UIComponent", mx.core.UIComponent);
#endinitclip
stop();
Symbol 112 MovieClip [SimpleButton] Frame 1
#initclip 50
Object.registerClass("SimpleButton", mx.controls.SimpleButton);
#endinitclip
stop();
Symbol 113 MovieClip [Border] Frame 1
#initclip 51
Object.registerClass("Border", mx.skins.Border);
#endinitclip
stop();
Symbol 114 MovieClip [RectBorder] Frame 1
#initclip 52
mx.skins.SkinElement.registerElement(mx.skins.RectBorder.symbolName, Object(mx.skins.RectBorder));
Object.registerClass("RectBorder", mx.skins.halo.RectBorder);
#endinitclip
stop();
Symbol 115 MovieClip [ButtonSkin] Frame 1
#initclip 53
Object.registerClass("ButtonSkin", mx.skins.halo.ButtonSkin);
#endinitclip
Symbol 116 MovieClip [Button] Frame 1
#initclip 54
Object.registerClass("Button", mx.controls.Button);
#endinitclip
stop();
Instance of Symbol 112 MovieClip [SimpleButton] in Symbol 116 MovieClip [Button] Frame 2
//component parameters
onClipEvent (initialize) {
selected = false;
toggle = false;
enabled = true;
visible = true;
minHeight = 0;
minWidth = 0;
}
Symbol 117 MovieClip [CustomBorder] Frame 1
#initclip 55
Object.registerClass("CustomBorder", mx.skins.CustomBorder);
mx.skins.SkinElement.registerElement("CustomBorder", mx.skins.CustomBorder);
#endinitclip
Symbol 129 MovieClip [ScrollThemeColor1] Frame 1
mx.skins.ColoredSkinElement.setColorStyle(this, "themeColor");
Symbol 131 MovieClip [ScrollThemeColor2] Frame 1
mx.skins.ColoredSkinElement.setColorStyle(this, "themeColor");
Symbol 142 MovieClip [ThumbThemeColor1] Frame 1
mx.skins.ColoredSkinElement.setColorStyle(this, "themeColor");
Symbol 144 MovieClip [ThumbThemeColor3] Frame 1
mx.skins.ColoredSkinElement.setColorStyle(this, "themeColor");
Symbol 151 MovieClip [ThumbThemeColor2] Frame 1
mx.skins.ColoredSkinElement.setColorStyle(this, "themeColor");
Symbol 172 MovieClip [BtnDownArrow] Frame 1
#initclip 56
Object.registerClass("BtnDownArrow", mx.controls.SimpleButton);
#endinitclip
Symbol 173 MovieClip [BtnUpArrow] Frame 1
#initclip 57
Object.registerClass("BtnUpArrow", mx.controls.SimpleButton);
#endinitclip
Symbol 175 MovieClip [HScrollBar] Frame 1
#initclip 58
Object.registerClass("HScrollBar", mx.controls.HScrollBar);
#endinitclip
stop();
Instance of Symbol 116 MovieClip [Button] in Symbol 175 MovieClip [HScrollBar] Frame 2
//component parameters
onClipEvent (initialize) {
icon = "";
label = "Button";
labelPlacement = "right";
selected = false;
toggle = false;
enabled = true;
visible = true;
minHeight = 0;
minWidth = 0;
}
Instance of Symbol 112 MovieClip [SimpleButton] in Symbol 175 MovieClip [HScrollBar] Frame 2
//component parameters
onClipEvent (initialize) {
selected = false;
toggle = false;
enabled = true;
visible = true;
minHeight = 0;
minWidth = 0;
}
Symbol 176 MovieClip [VScrollBar] Frame 1
#initclip 59
Object.registerClass("VScrollBar", mx.controls.VScrollBar);
#endinitclip
stop();
Instance of Symbol 116 MovieClip [Button] in Symbol 176 MovieClip [VScrollBar] Frame 2
//component parameters
onClipEvent (initialize) {
icon = "";
label = "Button";
labelPlacement = "right";
selected = false;
toggle = false;
enabled = true;
visible = true;
minHeight = 0;
minWidth = 0;
}
Instance of Symbol 112 MovieClip [SimpleButton] in Symbol 176 MovieClip [VScrollBar] Frame 2
//component parameters
onClipEvent (initialize) {
selected = false;
toggle = false;
enabled = true;
visible = true;
minHeight = 0;
minWidth = 0;
}
Symbol 177 MovieClip [View] Frame 1
#initclip 60
Object.registerClass("View", mx.core.View);
#endinitclip
stop();
Symbol 178 MovieClip [ScrollView] Frame 1
#initclip 61
Object.registerClass("ScrollView", mx.core.ScrollView);
#endinitclip
stop();
Instance of Symbol 175 MovieClip [HScrollBar] in Symbol 178 MovieClip [ScrollView] Frame 2
//component parameters
onClipEvent (initialize) {
enabled = true;
visible = true;
minHeight = 0;
minWidth = 0;
}
Instance of Symbol 176 MovieClip [VScrollBar] in Symbol 178 MovieClip [ScrollView] Frame 2
//component parameters
onClipEvent (initialize) {
enabled = true;
visible = true;
minHeight = 0;
minWidth = 0;
}
Symbol 179 MovieClip [TextArea] Frame 1
#initclip 62
Object.registerClass("TextArea", mx.controls.TextArea);
#endinitclip
stop();
Symbol 209 MovieClip [swf\transition.swf] Frame 1
function runFunc(func) {
return(func.apply(_this, arguments.slice()));
}
function getImpliedValue(input) {
var _local2;
if ((input == "undefined") || (input == undefined)) {
_local2 = undefined;
} else if ((input == "true") || (input === true)) {
_local2 = Boolean(true);
} else if ((input == "false") || (input === false)) {
_local2 = Boolean(false);
} else if (isNaN(input) == false) {
_local2 = Number(input);
} else {
_local2 = input;
}
return(_local2);
}
function resolveContainerStr(containerName, thisName) {
thisName = ((typeof(thisName) === "string") ? (thisName) : "this");
var _local2 = null;
if (containerName == "this") {
_local2 = thisName;
}
if (containerName == "_root") {
_local2 = "_root";
}
if (containerName == "_level0") {
_local2 = "_root";
}
if (containerName == "_global") {
_local2 = "_global";
}
if (_global[containerName] && (_global[containerName] instanceof Object)) {
_local2 = containerName;
}
return(_local2);
}
function resolveContainer(containerName, thisRef) {
if (typeof(thisRef) === "string") {
thisRef = _this || this;
}
var _local4 = _global[containerName];
if (containerName == "this") {
_local4 = thisRef;
}
if (containerName == "_root") {
_local4 = _root;
}
if (containerName == "_level0") {
_local4 = _root;
}
if (containerName == "_global") {
_local4 = _global;
}
return(_local4);
}
function evalPath(inputPath, defaultContainer_str, thisName) {
var thisScope = this;
var thisName = (thisName || "this");
if (typeof(inputPath) == "string") {
if (!defaultContainer_str) {
var defaultContainer_str = ((typeof(thisName) === "string") ? (thisName) : "this");
}
var endAt = inputPath.indexOf(".");
if (endAt == -1) {
endAt = inputPath.length;
}
var container_str = inputPath.substr(0, endAt);
var container_str = resolveContainerStr(container_str, thisName);
if (!container_str) {
var container_str = defaultContainer_str;
endAt = -1;
}
var theRest = inputPath.substr(endAt + 1);
var fullPath = (theRest ? ((container_str + ".") + theRest) : (container_str));
var paramStart = fullPath.indexOf("(");
if (paramStart != -1) {
var paramEnd = fullPath.indexOf(")", paramStart + 1);
var param = fullPath.substring(paramStart + 1, paramEnd);
var functionPath = fullPath.substr(0, paramStart);
var thisFunction = eval (functionPath);
var param_array = String(param).split(",");
var i = 0;
while (i < param_array.length) {
param_array[i] = getImpliedValue(param_array[i]);
i++;
}
var output = thisFunction.apply(thisScope, param_array);
} else {
var output = eval (fullPath);
}
} else {
var output = inputPath;
}
return(output);
}
function start(new_outSettings, new_inSettings) {
function done() {
state = "hidden";
}
if (!snapSource_str) {
return(VOW.make().keep());
}
var snapSource_mc = evalPath(snapSource_str, "RAM", "_this");
if (!snapSource_mc) {
return(VOW.make().keep());
}
if (((!new_inSettings) && (typeof(new_outSettings) === "string")) && (legacyTransition[new_outSettings])) {
var _local2 = legacyTransition[new_outSettings];
new_outSettings = {effect:_local2.outName, seconds:outDuration || 0.5, easing:outEasing || "easeLinear", mask:map || ""};
new_inSettings = (_local2.inName ? ({effect:_local2.inName, seconds:inDuration || 0.5, easing:inEasing || "easeLinear", mask:map || ""}) : (stored_new_inSettings));
}
if (new_inSettings) {
stored_new_inSettings = new_inSettings;
}
if (state === "fadingOut") {
return(VOW.make().keep());
}
if (state === "hidden") {
return(VOW.make().keep());
}
var vow = VOW.make();
outEffect_mc.removeMovieClip();
state = "fadingOut";
var anim_prom;
var _local3 = "transition_out_" + new_outSettings.effect;
var new_easing = ((new_outSettings.easing || (TRANSITION.outEasing)) || "easeLinear");
var new_duration = ((new_outSettings.seconds || (TRANSITION.outDuration)) || 0.5);
var new_mask = ((new_outSettings.mask || (TRANSITION.map)) || null);
var _local5 = (outEffect_mc = _this.attachMovie(_local3, "outEffect_mc", 1, {screenWidth:screenWidth, screenHeight:screenHeight}));
if (_local5) {
outEffect_mc.ready = function () {
anim_prom = outEffect_mc.run(snapSource_mc, new_easing, new_duration, new_mask);
anim_prom.then = vow.keep;
};
} else {
_local3 = "transition_out_snapshot";
outEffect_mc = _this.attachMovie(_local3, "outEffect_mc", 1, {screenWidth:screenWidth, screenHeight:screenHeight});
outEffect_mc.ready = function () {
anim_prom = outEffect_mc.run(snapSource_mc, new_easing, new_duration, new_mask);
anim_prom.then = vow.keep;
};
}
vow.then(done);
return(vow);
}
function doFadeIn(new_inSettings) {
function done() {
state = "shown";
inEffect_mc.removeMovieClip();
outEffect_mc.removeMovieClip();
}
if (state === "fadingIn") {
return(VOW.make().keep());
}
if (state === "shown") {
return(VOW.make().keep());
}
var vow = VOW.make();
if (!new_inSettings) {
new_inSettings = stored_new_inSettings;
}
stored_new_inSettings = defaultInSettings;
state = "fadingIn";
var _local2 = "transition_in_" + new_inSettings.effect;
var new_easing = ((new_inSettings.easing || (TRANSITION.inEasing)) || "easeLinear");
var new_duration = ((new_inSettings.seconds || (TRANSITION.inDuration)) || 0.5);
var new_mask = ((new_inSettings.mask || (TRANSITION.map)) || null);
var _local3 = (inEffect_mc = _this.attachMovie(_local2, "inEffect_mc", 2, {screenWidth:screenWidth, screenHeight:screenHeight}));
var anim_prom;
if (_local3) {
inEffect_mc.ready = function () {
anim_prom = inEffect_mc.run(outEffect_mc, new_easing, new_duration, new_mask);
anim_prom.then = vow.keep;
};
} else {
_local2 = "transition_in_cut";
inEffect_mc = _this.attachMovie(_local2, "inEffect_mc", 2, {screenWidth:screenWidth, screenHeight:screenHeight});
inEffect_mc.ready = function () {
anim_prom = inEffect_mc.run(outEffect_mc, new_easing, new_duration, new_mask);
anim_prom.then = vow.keep;
};
}
vow.then(done);
return(vow);
}
var _this = this;
layer = "inner";
var outEasing = "easeLinear";
var inEasing = "easeLinear";
var outDuration = 0.5;
var inDuration = 0.5;
var map = null;
var vow_version = 3.9;
var vow_scope = function () {
function forEach(array, callback) {
var _local1 = 0;
while (_local1 < array.length) {
callback(array[_local1], _local1);
_local1++;
}
}
function enlighten(queue, fate) {
forEach(queue, function (func) {
setTimeout(function () {
func(fate);
}, 0);
});
}
var _local12 = vow_version;
var vow_output = {version:_local12, make:function () {
function enqueue(resolution, func, vow) {
var _local2 = ((resolution === "kept") ? (keepers) : (breakers));
var isBroken = Boolean(_local2 === breakers);
_local2[_local2.length] = ((!(typeof(func) === "function")) ? (vow[resolution]) : (function (value) {
try {
_local1 = func(value)_local1if (_local1 && (_local1.is_promise === true)) {
if (isBroken) {
_local1.then(vow.doBreak, vow.doBreak)} else {
_local1.then(vow.keep, vow.doBreak)}
} else {
if (isBroken) {
vow.doBreak(_local1)}
if (!isBroken) {
vow.keep(_local1)}
}
} catch(e) {
vow.doBreak(e)}
}));
}
function herald(state, value, queue) {
if (!(status === "pending")) {
return(undefined);
}
fate = value;
status = state;
enlighten(queue, fate);
keepers = [];
breakers = [];
}
function get_then() {
return(set_then);
}
var breakers = [];
var fate = undefined;
var keepers = [];
var status = "pending";
var promise = {version:vow_output.version, is_promise:true, getStatus:function () {
return(status);
}, getValue:function () {
return(fate);
}, doBreak:function (value) {
herald("broken", value, breakers);
return(this.promise);
}, keep:function (value) {
herald("kept", value, keepers);
return(this.promise);
}};
var set_then = function (kept, broken) {
var _local1 = VOW.make();
switch (status) {
case "pending" :
enqueue("kept", kept, _local1);
enqueue("break", broken, _local1);
break;
case "kept" :
enqueue("kept", kept, _local1);
enlighten(keepers, fate);
keepers = [];
break;
case "broken" :
enqueue("break", broken, _local1);
enlighten(breakers, fate);
breakers = [];
}
return(_local1);
};
promise.addProperty("then", get_then, set_then);
promise.promise = promise;
return(promise);
}, every:function (array) {
var remaining = array.length;
var results = [];
var vow = VOW.make();
if (!remaining) {
vow.keep([]);
} else {
forEach(array, function (promise, i) {
promise.then(function (value) {
results[i] = value;
remaining--;
if (remaining === 0) {
vow.keep(results);
}
}, function (reason) {
remaining = null;
vow.doBreak(reason);
});
});
}
return(vow.promise);
}, everyTried:function (array) {
var remaining = array.length;
var results = [];
var vow = VOW.make();
if (!remaining) {
vow.keep([]);
} else {
forEach(array, function (promise, i) {
promise.then(function (value) {
results[i] = value;
remaining--;
if (remaining === 0) {
vow.keep(results);
}
}, function (failReason) {
results[i] = undefined;
remaining--;
if (remaining === 0) {
vow.keep(results);
}
});
});
}
return(vow.promise);
}, first:function (array) {
function check() {
remaining--;
if ((remaining === 0) && (!found)) {
vow.doBreak();
}
}
var found = false;
var remaining = array.length;
var vow = VOW.make();
if (remaining === 0) {
vow.doBreak(array);
} else {
forEach(array, function (promise) {
promise.then(function (value) {
if (!found) {
found = true;
vow.keep(value);
}
check();
}, check);
});
}
return(vow.promise);
}, kept:function (value) {
var _local1 = VOW.make();
_local1.keep(value);
return(_local1.promise);
}, broken:function (reason) {
var _local1 = VOW.make();
_local1.doBreak(reason);
return(_local1.promise);
}, wait:function (milliseconds) {
var _local1 = function (input) {
var vow = VOW.make();
var milliseconds = ((milliseconds === undefined) ? 0 : (milliseconds));
setTimeout(function () {
vow.keep(input);
}, milliseconds);
return(vow.promise);
};
return(_local1);
}, firstWait:function (milliseconds) {
var vow = VOW.make();
milliseconds = ((milliseconds === undefined) ? 0 : (milliseconds));
setTimeout(function () {
vow.keep({});
}, milliseconds);
return(vow.promise);
}, start:function (value) {
var _local1 = VOW.make();
_local1.keep(value);
return(_local1.promise);
}, runSequence:function (sequence) {
var _local4 = VOW.make().keep();
var _local1 = 0;
while (_local1 < sequence.length) {
var _local3 = sequence[_local1];
var _local2 = _local4.then(_local3);
if (!(_local2.is_promise === true)) {
_local2 = VOW.kept();
}
_local4 = _local2;
_local1++;
}
var _local6 = _local4;
return(_local6);
}, wrap:function (func, callbackIndex) {
if (callbackIndex === undefined) {
var callbackIndex = 0;
}
return(function () {
var vow = VOW.make();
if (callbackIndex === undefined) {
var callbackIndex = (arguments.length - 1);
}
arguments[callbackIndex] = function (output) {
vow.keep(output);
};
func.apply(this, arguments);
return(vow.promise);
});
}, preApply:function (func, param) {
var args = arguments.slice(1);
return(function () {
return(func.apply(null, args));
});
}, failThru:function (failReason) {
return(failReason);
}, null:null};
vow_output.any = (vow_output.allResolved = vow_output.everyTried);
return(vow_output);
};
var VOW = vow_scope();
delete vow_scope;
delete vow_version;
var loadFile = function (fileName) {
function success(result) {
if (result === undefined) {
return(fail());
}
vow.keep(result);
}
function fail() {
vow.dobreak(undefined);
}
function loadInternal() {
function success(result) {
loader_mc.removeMovieClip();
loader_mc._name = null;
if (result === undefined) {
return(fail());
}
vow.keep(result);
}
function fail() {
vow.doBreak(undefined);
}
function getRandomEmptyDepth(mc) {
var _local2 = 4000;
var _local3 = 1000;
var _local1 = -1;
do {
_local1 = Math.floor(Math.random() * _local3) + _local2;
} while (!(mc.getInstanceAtDepth(_local1) === undefined));
return(_local1);
}
var vow = VOW.make();
var _local2 = getRandomEmptyDepth(_root);
var _local5 = "internalFile" + _local2;
var loader_mc = _root.attachMovie(fileName, _local5, _local2, {onLoad:success});
if (!loader_mc) {
fail();
}
return(vow);
}
function loadExternal() {
function afterLoad(result) {
if (result === undefined) {
return(fail());
}
var _local2 = String.fromCharCode(13);
result = result.split(_local2).join("");
success(result);
}
var _local1 = new XML();
_local1.onData = afterLoad;
_local1.load(fileName);
}
var vow = VOW.make();
loadInternal().then(success, loadExternal);
return(vow.promise);
};
var screenScale_p = (new flash.geom.Point(1, 0));
ROOT.localToGlobal(screenScale_p);
var screenScale = screenScale_p.x;
var screenWidth = (Stage.width / screenScale);
var screenHeight = (Stage.height / screenScale);
var snapSource_str = (snapSource_str || "ROOT.game_mc");
var defaultInSettings = {effect:"cut", seconds:0.5, easing:"easeLinear", mask:""};
var stored_new_inSettings = defaultInSettings;
var state = "shown";
var legacyTransition;
var legacyTransition = {transition_blackMap:{outName:"fadeBlack", inName:"mask"}, transition_fade:{outName:"fadeBlack", inName:"fade"}, transition_greyMap:{outName:"snapshot", inName:"mask"}, transition_crossFade:{outName:"snapshot", inName:"fade"}, transition_crossMap:{outName:"snapshot", inName:"mask"}, transition_cut:{outName:"snapshot", inName:"cut"}, transition_fadeOutFadeIn:{outName:"fadeBlack", inName:"fade"}, transition_fadeOutMapIn:{outName:"fadeBlack", inName:"mask"}, transition_mapOutFadeIn:{outName:"maskBlack", inName:"fade"}, transition_mapOutMapIn:{outName:"snapshot", inName:"mask"}};
Symbol 467 MovieClip [__Packages.EventClip] Frame 0
class EventClip extends MovieClip
{
function EventClip () {
super();
AsBroadcaster.initialize(this);
}
}
Symbol 468 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 469 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 470 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 187 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 471 MovieClip [__Packages.ParticleSystem] Frame 0
class ParticleSystem extends mx.events.EventDispatcher
{
var AVOID_LOOP_PANIC, particle_array, particlesToMake, emitter_mc, particlesPerFrame, speed, speedVariation, life, lifeVariation, sprayTime, scale, scaleVariation, growFrames, shrinkFrames, fadeInFrames, fadeOutFrames, customData, image, angle, spread, loopInterval, sprayTimer, dispatchEvent, onComplete;
function ParticleSystem (newEmitter_mc, newSettings, newCustomData) {
function make_avoidLoopPanic(thresh) {
function resetStackCounter() {
stackCounter = 0;
}
var thresh = (thresh || 40);
var stackCounter = 0;
var delay = 0;
var timeout = null;
return(function (callback) {
stackCounter++;
if (stackCounter > thresh) {
if (!(timeout === null)) {
this.clearTimeout(timeout);
}
this.setTimeout(function () {
resetStackCounter();
callback();
}, delay);
} else {
callback();
if (!(timeout === null)) {
this.clearTimeout(timeout);
}
timeout = this.setTimeout(function () {
resetStackCounter();
}, 0);
}
});
}
super();
if (!_global.AVOID_LOOP_PANIC) {
_global.AVOID_LOOP_PANIC = make_avoidLoopPanic();
}
AVOID_LOOP_PANIC = _global.AVOID_LOOP_PANIC;
delete make_avoidLoopPanic;
unload = once(unload);
particle_array = new Array();
particlesToMake = 0;
emitter_mc = newEmitter_mc;
particlesPerFrame = ((newSettings.particlesPerFrame != undefined) ? (newSettings.particlesPerFrame) : 1);
speed = ((newSettings.speed != undefined) ? (newSettings.speed) : 1);
speedVariation = ((newSettings.speedVariation != undefined) ? (newSettings.speedVariation) : 0);
life = ((newSettings.life != undefined) ? (newSettings.life) : 30);
lifeVariation = ((newSettings.lifeVariation != undefined) ? (newSettings.lifeVariation) : 0);
sprayTime = (newSettings.sprayTime ? (newSettings.sprayTime) : null);
scale = ((newSettings.scale != undefined) ? (newSettings.scale) : 1);
scaleVariation = ((newSettings.scaleVariation != undefined) ? (newSettings.scaleVariation) : 0);
growFrames = ((newSettings.growFrames != undefined) ? (newSettings.growFrames) : 0);
shrinkFrames = ((newSettings.shrinkFrames != undefined) ? (newSettings.shrinkFrames) : 0);
fadeInFrames = ((newSettings.fadeInFrames != undefined) ? (newSettings.fadeInFrames) : 0);
fadeOutFrames = ((newSettings.fadeOutFrames != undefined) ? (newSettings.fadeOutFrames) : 0);
customData = {};
if (newSettings.customData) {
customData = newSettings.customData;
}
if (newCustomData) {
customData = newCustomData;
}
image = ((newSettings.image != undefined) ? (newSettings.image) : "test_particle");
angle = ((newSettings.angle != undefined) ? (newSettings.angle) : 0);
spread = ((newSettings.spread != undefined) ? (newSettings.spread) : 360);
var _local5 = 30;
loopInterval = setInterval(this, "loop", _local5);
}
function loop() {
if (!emitter_mc._name) {
unload();
return(undefined);
}
var makeNewParticles = makeNewParticles;
var moveAllParticles = moveAllParticles;
var checkSprayTime = checkSprayTime;
var context = this;
AVOID_LOOP_PANIC(function () {
makeNewParticles.apply(context);
moveAllParticles.apply(context);
checkSprayTime.apply(context);
});
}
function unload() {
loop = null;
deleteAllParticles();
clearInterval(loopInterval);
}
function makeNewParticles() {
particlesToMake = particlesToMake + particlesPerFrame;
var _local2 = 0;
while (_local2 < Math.floor(particlesToMake)) {
var _local3 = makeParticle();
if (_local3) {
particle_array.push(_local3);
}
var _local4 = true;
_local2++;
}
if (_local4) {
particlesToMake = 0;
}
}
function makeParticle() {
var _local2 = Math.floor(Math.random() * 9999);
while (emitter_mc._parent.getInstanceAtDepth(_local2) != undefined) {
_local2 = Math.floor(Math.random() * 9999);
}
var _local8 = "particle_" + _local2;
var _local11 = (speed + (Math.random() * speedVariation)) - (speedVariation / 2);
var _local9 = (-angle) % 360;
_local9 = _local9 + ((Math.random() * spread) - (spread / 2));
var _local10 = (_local9 * (Math.PI*2)) / 360;
var _local15 = flash.geom.Point.polar(_local11, _local10);
var _local12 = (life + (Math.random() * lifeVariation)) - (lifeVariation / 2);
var _local6 = (scale + (Math.random() * scaleVariation)) - (scaleVariation / 2);
_local6 = _local6 * 100;
if (image instanceof flash.display.BitmapData) {
var _local3 = emitter_mc._parent.createEmptyMovieClip(_local8, _local2);
var _local7 = _local3.createEmptyMovieClip("image_mc", 0);
_local7._x = (-image.width) / 2;
_local7._y = (-image.height) / 2;
_local7.attachBitmap(image, 0);
var _local4 = {particleData:customData, particle_vec:_local15, particleLife:_local12, particleFullLife:_local12, particleFullScale:_local6};
for (var _local5 in _local4) {
_local3[_local5] = _local4[_local5];
}
} else {
var _local3 = emitter_mc._parent.attachMovie(image, _local8, _local2, {particleData:customData, particle_vec:_local15, particleLife:_local12, particleFullLife:_local12, particleFullScale:_local6});
}
for (var _local5 in customData) {
_local3[_local5] = customData[_local5];
}
_local3._x = emitter_mc._x;
_local3._y = emitter_mc._y;
_local3._xscale = (_local3._yscale = _local6);
if (growFrames != 0) {
_local3._xscale = (_local3._yscale = 0);
}
return(_local3);
}
function moveAllParticles() {
var _local2 = 0;
while (_local2 < particle_array.length) {
var _local3 = particle_array[_local2];
_local3.particleLife--;
if (checkForDeath(_local2)) {
_local2--;
} else {
moveParticle(_local2);
growParticle(_local2);
shrinkParticle(_local2);
fadeInParticle(_local2);
fadeOutParticle(_local2);
}
_local2++;
}
}
function moveParticle(p) {
var _local2 = particle_array[p];
_local2._x = _local2._x + _local2.particle_vec.x;
_local2._y = _local2._y + _local2.particle_vec.y;
}
function checkSprayTime() {
if (sprayTime != null) {
if ((particlesPerFrame > 0) && (sprayTimer == null)) {
sprayTimer = sprayTime;
}
if (sprayTimer == 0) {
particlesPerFrame = 0;
sprayTimer = null;
} else if (sprayTimer > 0) {
sprayTimer--;
}
}
}
function checkForDeath(p) {
var _local2 = particle_array[p];
if (_local2.particleLife <= 0) {
particle_array.splice(p, 1);
_local2.removeMovieClip();
if (particle_array.length == 0) {
dispatchEvent({type:"onComplete", emitter_mc:emitter_mc, emitter_obj:this});
onComplete();
}
return(true);
}
return(false);
}
function growParticle(p) {
if (growFrames) {
var _local2 = particle_array[p];
if (_local2.particleLife > (_local2.particleFullLife - growFrames)) {
var _local3 = _local2.particleFullLife - _local2.particleLife;
var _local5 = _local3 / growFrames;
var _local4 = _local2.particleFullScale * _local5;
_local2._xscale = (_local2._yscale = _local4);
}
}
}
function shrinkParticle(p) {
if (shrinkFrames) {
var _local2 = particle_array[p];
if (_local2.particleLife <= shrinkFrames) {
var _local3 = 100 / shrinkFrames;
_local2._xscale = _local2._xscale - _local3;
_local2._yscale = _local2._yscale - _local3;
}
}
}
function fadeInParticle(p) {
if (fadeInFrames) {
var _local2 = particle_array[p];
if (_local2.particleLife > (_local2.particleFullLife - fadeInFrames)) {
var _local4 = _local2.particleFullLife - _local2.particleLife;
var _local5 = _local4 / fadeInFrames;
var _local3 = 100 * _local5;
_local2._alpha = _local3;
}
}
}
function fadeOutParticle(p) {
if (fadeOutFrames) {
var _local2 = particle_array[p];
if (_local2.particleLife <= fadeOutFrames) {
var _local3 = 100 / fadeOutFrames;
_local2._alpha = _local2._alpha - _local3;
}
}
}
function deleteAllParticles() {
for (var _local2 in particle_array) {
particle_array[_local2].removeMovieClip();
}
}
function once(func) {
var done = false;
return(function () {
return((done ? (0) : ((done = true)func.apply(this, arguments))));
});
}
}
Symbol 472 MovieClip [__Packages.WalkCollisionSystem] Frame 0
class WalkCollisionSystem
{
var collisionMethods, player_mc, walk_obj, xOffset, yOffset, enabled;
function WalkCollisionSystem (player_mc, walk_obj, xOffset, yOffset) {
collisionMethods = new Array();
this.player_mc = player_mc;
this.walk_obj = walk_obj;
this.xOffset = (xOffset ? (xOffset) : 0);
this.yOffset = (yOffset ? (yOffset) : 0);
enabled = true;
}
function run() {
if (enabled === false) {
return(undefined);
}
var _local2 = 0;
while (_local2 < collisionMethods.length) {
collisionMethods[_local2].call(this);
_local2++;
}
}
}
Symbol 81 MovieClip [__Packages.mx.core.UIObject] Frame 0
class mx.core.UIObject extends MovieClip
{
var _width, _height, _x, _y, _parent, _minHeight, _minWidth, _visible, dispatchEvent, _xscale, _yscale, methodTable, onEnterFrame, tfList, __width, __height, moveTo, lineTo, createTextField, attachMovie, buildDepthTable, findNextAvailableDepth, idNames, childrenCreated, _name, createAccessibilityImplementation, _endInit, validateNow, hasOwnProperty, initProperties, stylecache, className, ignoreClassStyleDeclaration, _tf, fontFamily, fontSize, color, marginLeft, marginRight, fontStyle, fontWeight, textAlign, textIndent, textDecoration, embedFonts, styleName, enabled;
function UIObject () {
super();
constructObject();
}
function get width() {
return(_width);
}
function get height() {
return(_height);
}
function get left() {
return(_x);
}
function get x() {
return(_x);
}
function get top() {
return(_y);
}
function get y() {
return(_y);
}
function get right() {
return(_parent.width - (_x + width));
}
function get bottom() {
return(_parent.height - (_y + height));
}
function getMinHeight(Void) {
return(_minHeight);
}
function setMinHeight(h) {
_minHeight = h;
}
function get minHeight() {
return(getMinHeight());
}
function set minHeight(h) {
setMinHeight(h);
//return(minHeight);
}
function getMinWidth(Void) {
return(_minWidth);
}
function setMinWidth(w) {
_minWidth = w;
}
function get minWidth() {
return(getMinWidth());
}
function set minWidth(w) {
setMinWidth(w);
//return(minWidth);
}
function setVisible(x, noEvent) {
if (x != _visible) {
_visible = x;
if (noEvent != true) {
dispatchEvent({type:(x ? "reveal" : "hide")});
}
}
}
function get visible() {
return(_visible);
}
function set visible(x) {
setVisible(x, false);
//return(visible);
}
function get scaleX() {
return(_xscale);
}
function set scaleX(x) {
_xscale = x;
//return(scaleX);
}
function get scaleY() {
return(_yscale);
}
function set scaleY(y) {
_yscale = y;
//return(scaleY);
}
function doLater(obj, fn) {
if (methodTable == undefined) {
methodTable = new Array();
}
methodTable.push({obj:obj, fn:fn});
onEnterFrame = doLaterDispatcher;
}
function doLaterDispatcher(Void) {
delete onEnterFrame;
if (invalidateFlag) {
redraw();
}
var _local3 = methodTable;
methodTable = new Array();
if (_local3.length > 0) {
var _local2;
while (_local2 = _local3.shift() , _local2 != undefined) {
_local2.obj[_local2.fn]();
}
}
}
function cancelAllDoLaters(Void) {
delete onEnterFrame;
methodTable = new Array();
}
function invalidate(Void) {
invalidateFlag = true;
onEnterFrame = doLaterDispatcher;
}
function invalidateStyle(Void) {
invalidate();
}
function redraw(bAlways) {
if (invalidateFlag || (bAlways)) {
invalidateFlag = false;
var _local2;
for (_local2 in tfList) {
tfList[_local2].draw();
}
draw();
dispatchEvent({type:"draw"});
}
}
function draw(Void) {
}
function move(x, y, noEvent) {
var _local3 = _x;
var _local2 = _y;
_x = x;
_y = y;
if (noEvent != true) {
dispatchEvent({type:"move", oldX:_local3, oldY:_local2});
}
}
function setSize(w, h, noEvent) {
var _local3 = __width;
var _local2 = __height;
__width = w;
__height = h;
size();
if (noEvent != true) {
dispatchEvent({type:"resize", oldWidth:_local3, oldHeight:_local2});
}
}
function size(Void) {
_width = __width;
_height = __height;
}
function drawRect(x1, y1, x2, y2) {
moveTo(x1, y1);
lineTo(x2, y1);
lineTo(x2, y2);
lineTo(x1, y2);
lineTo(x1, y1);
}
function createLabel(name, depth, text) {
createTextField(name, depth, 0, 0, 0, 0);
var _local2 = this[name];
_local2._color = textColorList;
_local2._visible = false;
_local2.__text = text;
if (tfList == undefined) {
tfList = new Object();
}
tfList[name] = _local2;
_local2.invalidateStyle();
invalidate();
_local2.styleName = this;
return(_local2);
}
function createObject(linkageName, id, depth, initobj) {
return(attachMovie(linkageName, id, depth, initobj));
}
function createClassObject(className, id, depth, initobj) {
var _local3 = className.symbolName == undefined;
if (_local3) {
Object.registerClass(className.symbolOwner.symbolName, className);
}
var _local4 = mx.core.UIObject(createObject(className.symbolOwner.symbolName, id, depth, initobj));
if (_local3) {
Object.registerClass(className.symbolOwner.symbolName, className.symbolOwner);
}
return(_local4);
}
function createEmptyObject(id, depth) {
return(createClassObject(mx.core.UIObject, id, depth));
}
function destroyObject(id) {
var _local2 = this[id];
if (_local2.getDepth() < 0) {
var _local4 = buildDepthTable();
var _local5 = findNextAvailableDepth(0, _local4, "up");
var _local3 = _local5;
_local2.swapDepths(_local3);
}
_local2.removeMovieClip();
delete this[id];
}
function getSkinIDName(tag) {
return(idNames[tag]);
}
function setSkin(tag, linkageName, initObj) {
if (_global.skinRegistry[linkageName] == undefined) {
mx.skins.SkinElement.registerElement(linkageName, mx.skins.SkinElement);
}
return(createObject(linkageName, getSkinIDName(tag), tag, initObj));
}
function createSkin(tag) {
var _local2 = getSkinIDName(tag);
createEmptyObject(_local2, tag);
return(this[_local2]);
}
function createChildren(Void) {
}
function _createChildren(Void) {
createChildren();
childrenCreated = true;
}
function constructObject(Void) {
if (_name == undefined) {
return(undefined);
}
init();
_createChildren();
createAccessibilityImplementation();
_endInit();
if (validateNow) {
redraw(true);
} else {
invalidate();
}
}
function initFromClipParameters(Void) {
var _local4 = false;
var _local2;
for (_local2 in clipParameters) {
if (hasOwnProperty(_local2)) {
_local4 = true;
this["def_" + _local2] = this[_local2];
delete this[_local2];
}
}
if (_local4) {
for (_local2 in clipParameters) {
var _local3 = this["def_" + _local2];
if (_local3 != undefined) {
this[_local2] = _local3;
}
}
}
}
function init(Void) {
__width = _width;
__height = _height;
if (initProperties == undefined) {
initFromClipParameters();
} else {
initProperties();
}
if (_global.cascadingStyles == true) {
stylecache = new Object();
}
}
function getClassStyleDeclaration(Void) {
var _local4 = this;
var _local3 = className;
while (_local3 != undefined) {
if (ignoreClassStyleDeclaration[_local3] == undefined) {
if (_global.styles[_local3] != undefined) {
return(_global.styles[_local3]);
}
}
_local4 = _local4.__proto__;
_local3 = _local4.className;
}
}
function setColor(color) {
}
function __getTextFormat(tf, bAll) {
var _local8 = stylecache.tf;
if (_local8 != undefined) {
var _local3;
for (_local3 in mx.styles.StyleManager.TextFormatStyleProps) {
if (bAll || (mx.styles.StyleManager.TextFormatStyleProps[_local3])) {
if (tf[_local3] == undefined) {
tf[_local3] = _local8[_local3];
}
}
}
return(false);
}
var _local6 = false;
for (var _local3 in mx.styles.StyleManager.TextFormatStyleProps) {
if (bAll || (mx.styles.StyleManager.TextFormatStyleProps[_local3])) {
if (tf[_local3] == undefined) {
var _local5 = _tf[_local3];
if (_local5 != undefined) {
tf[_local3] = _local5;
} else if ((_local3 == "font") && (fontFamily != undefined)) {
tf[_local3] = fontFamily;
} else if ((_local3 == "size") && (fontSize != undefined)) {
tf[_local3] = fontSize;
} else if ((_local3 == "color") && (color != undefined)) {
tf[_local3] = color;
} else if ((_local3 == "leftMargin") && (marginLeft != undefined)) {
tf[_local3] = marginLeft;
} else if ((_local3 == "rightMargin") && (marginRight != undefined)) {
tf[_local3] = marginRight;
} else if ((_local3 == "italic") && (fontStyle != undefined)) {
tf[_local3] = fontStyle == _local3;
} else if ((_local3 == "bold") && (fontWeight != undefined)) {
tf[_local3] = fontWeight == _local3;
} else if ((_local3 == "align") && (textAlign != undefined)) {
tf[_local3] = textAlign;
} else if ((_local3 == "indent") && (textIndent != undefined)) {
tf[_local3] = textIndent;
} else if ((_local3 == "underline") && (textDecoration != undefined)) {
tf[_local3] = textDecoration == _local3;
} else if ((_local3 == "embedFonts") && (embedFonts != undefined)) {
tf[_local3] = embedFonts;
} else {
_local6 = true;
}
}
}
}
if (_local6) {
var _local9 = styleName;
if (_local9 != undefined) {
if (typeof(_local9) != "string") {
_local6 = _local9.__getTextFormat(tf, true, this);
} else if (_global.styles[_local9] != undefined) {
_local6 = _global.styles[_local9].__getTextFormat(tf, true, this);
}
}
}
if (_local6) {
var _local10 = getClassStyleDeclaration();
if (_local10 != undefined) {
_local6 = _local10.__getTextFormat(tf, true, this);
}
}
if (_local6) {
if (_global.cascadingStyles) {
if (_parent != undefined) {
_local6 = _parent.__getTextFormat(tf, false);
}
}
}
if (_local6) {
_local6 = _global.style.__getTextFormat(tf, true, this);
}
return(_local6);
}
function _getTextFormat(Void) {
var _local2 = stylecache.tf;
if (_local2 != undefined) {
return(_local2);
}
_local2 = new TextFormat();
__getTextFormat(_local2, true);
stylecache.tf = _local2;
if (enabled == false) {
var _local3 = getStyle("disabledColor");
_local2.color = _local3;
}
return(_local2);
}
function getStyleName(Void) {
var _local2 = styleName;
if (_local2 != undefined) {
if (typeof(_local2) != "string") {
return(_local2.getStyleName());
}
return(_local2);
}
if (_parent != undefined) {
return(_parent.getStyleName());
}
return(undefined);
}
function getStyle(styleProp) {
var _local3;
_global.getStyleCounter++;
if (this[styleProp] != undefined) {
return(this[styleProp]);
}
var _local6 = styleName;
if (_local6 != undefined) {
if (typeof(_local6) != "string") {
_local3 = _local6.getStyle(styleProp);
} else {
var _local7 = _global.styles[_local6];
_local3 = _local7.getStyle(styleProp);
}
}
if (_local3 != undefined) {
return(_local3);
}
var _local7 = getClassStyleDeclaration();
if (_local7 != undefined) {
_local3 = _local7[styleProp];
}
if (_local3 != undefined) {
return(_local3);
}
if (_global.cascadingStyles) {
if (mx.styles.StyleManager.isInheritingStyle(styleProp) || (mx.styles.StyleManager.isColorStyle(styleProp))) {
var _local5 = stylecache;
if (_local5 != undefined) {
if (_local5[styleProp] != undefined) {
return(_local5[styleProp]);
}
}
if (_parent != undefined) {
_local3 = _parent.getStyle(styleProp);
} else {
_local3 = _global.style[styleProp];
}
if (_local5 != undefined) {
_local5[styleProp] = _local3;
}
return(_local3);
}
}
if (_local3 == undefined) {
_local3 = _global.style[styleProp];
}
return(_local3);
}
static function mergeClipParameters(o, p) {
for (var _local3 in p) {
o[_local3] = p[_local3];
}
return(true);
}
static var symbolName = "UIObject";
static var symbolOwner = mx.core.UIObject;
static var version = "2.0.2.126";
static var textColorList = {color:1, disabledColor:1};
var invalidateFlag = false;
var lineWidth = 1;
var lineColor = 0;
var tabEnabled = false;
var clipParameters = {visible:1, minHeight:1, minWidth:1, maxHeight:1, maxWidth:1, preferredHeight:1, preferredWidth:1};
}
Symbol 180 MovieClip [__Packages.mx.skins.SkinElement] Frame 0
class mx.skins.SkinElement extends MovieClip
{
var _visible, _x, _y, _width, _height;
function SkinElement () {
super();
}
static function registerElement(name, className) {
Object.registerClass(name, ((className == undefined) ? (mx.skins.SkinElement) : (className)));
_global.skinRegistry[name] = true;
}
function __set__visible(visible) {
_visible = visible;
}
function move(x, y) {
_x = x;
_y = y;
}
function setSize(w, h) {
_width = w;
_height = h;
}
}
Symbol 181 MovieClip [__Packages.mx.styles.CSSTextStyles] Frame 0
class mx.styles.CSSTextStyles
{
function CSSTextStyles () {
}
static function addTextStyles(o, bColor) {
o.addProperty("textAlign", function () {
return(this._tf.align);
}, function (x) {
if (this._tf == undefined) {
this._tf = new TextFormat();
}
this._tf.align = x;
});
o.addProperty("fontWeight", function () {
return(((this._tf.bold != undefined) ? ((this._tf.bold ? "bold" : "none")) : undefined));
}, function (x) {
if (this._tf == undefined) {
this._tf = new TextFormat();
}
this._tf.bold = x == "bold";
});
if (bColor) {
o.addProperty("color", function () {
return(this._tf.color);
}, function (x) {
if (this._tf == undefined) {
this._tf = new TextFormat();
}
this._tf.color = x;
});
}
o.addProperty("fontFamily", function () {
return(this._tf.font);
}, function (x) {
if (this._tf == undefined) {
this._tf = new TextFormat();
}
this._tf.font = x;
});
o.addProperty("textIndent", function () {
return(this._tf.indent);
}, function (x) {
if (this._tf == undefined) {
this._tf = new TextFormat();
}
this._tf.indent = x;
});
o.addProperty("fontStyle", function () {
return(((this._tf.italic != undefined) ? ((this._tf.italic ? "italic" : "none")) : undefined));
}, function (x) {
if (this._tf == undefined) {
this._tf = new TextFormat();
}
this._tf.italic = x == "italic";
});
o.addProperty("marginLeft", function () {
return(this._tf.leftMargin);
}, function (x) {
if (this._tf == undefined) {
this._tf = new TextFormat();
}
this._tf.leftMargin = x;
});
o.addProperty("marginRight", function () {
return(this._tf.rightMargin);
}, function (x) {
if (this._tf == undefined) {
this._tf = new TextFormat();
}
this._tf.rightMargin = x;
});
o.addProperty("fontSize", function () {
return(this._tf.size);
}, function (x) {
if (this._tf == undefined) {
this._tf = new TextFormat();
}
this._tf.size = x;
});
o.addProperty("textDecoration", function () {
return(((this._tf.underline != undefined) ? ((this._tf.underline ? "underline" : "none")) : undefined));
}, function (x) {
if (this._tf == undefined) {
this._tf = new TextFormat();
}
this._tf.underline = x == "underline";
});
o.addProperty("embedFonts", function () {
return(this._tf.embedFonts);
}, function (x) {
if (this._tf == undefined) {
this._tf = new TextFormat();
}
this._tf.embedFonts = x;
});
}
}
Symbol 183 MovieClip [__Packages.mx.styles.CSSStyleDeclaration] Frame 0
class mx.styles.CSSStyleDeclaration
{
var _tf;
function CSSStyleDeclaration () {
}
function __getTextFormat(tf, bAll) {
var _local5 = false;
if (_tf != undefined) {
var _local2;
for (_local2 in mx.styles.StyleManager.TextFormatStyleProps) {
if (bAll || (mx.styles.StyleManager.TextFormatStyleProps[_local2])) {
if (tf[_local2] == undefined) {
var _local3 = _tf[_local2];
if (_local3 != undefined) {
tf[_local2] = _local3;
} else {
_local5 = true;
}
}
}
}
} else {
_local5 = true;
}
return(_local5);
}
function getStyle(styleProp) {
var _local2 = this[styleProp];
var _local3 = mx.styles.StyleManager.getColorName(_local2);
return(((_local3 == undefined) ? (_local2) : (_local3)));
}
static function classConstruct() {
mx.styles.CSSTextStyles.addTextStyles(mx.styles.CSSStyleDeclaration.prototype, true);
return(true);
}
static var classConstructed = classConstruct();
static var CSSTextStylesDependency = mx.styles.CSSTextStyles;
}
Symbol 182 MovieClip [__Packages.mx.styles.StyleManager] Frame 0
class mx.styles.StyleManager
{
function StyleManager () {
}
static function registerInheritingStyle(styleName) {
inheritingStyles[styleName] = true;
}
static function isInheritingStyle(styleName) {
return(inheritingStyles[styleName] == true);
}
static function registerColorStyle(styleName) {
colorStyles[styleName] = true;
}
static function isColorStyle(styleName) {
return(colorStyles[styleName] == true);
}
static function registerColorName(colorName, colorValue) {
colorNames[colorName] = colorValue;
}
static function isColorName(colorName) {
return(colorNames[colorName] != undefined);
}
static function getColorName(colorName) {
return(colorNames[colorName]);
}
static var inheritingStyles = {color:true, direction:true, fontFamily:true, fontSize:true, fontStyle:true, fontWeight:true, textAlign:true, textIndent:true};
static var colorStyles = {barColor:true, trackColor:true, borderColor:true, buttonColor:true, color:true, dateHeaderColor:true, dateRollOverColor:true, disabledColor:true, fillColor:true, highlightColor:true, scrollTrackColor:true, selectedDateColor:true, shadowColor:true, strokeColor:true, symbolBackgroundColor:true, symbolBackgroundDisabledColor:true, symbolBackgroundPressedColor:true, symbolColor:true, symbolDisabledColor:true, themeColor:true, todayIndicatorColor:true, shadowCapColor:true, borderCapColor:true, focusColor:true};
static var colorNames = {black:0, white:16777215, red:16711680, green:65280, blue:255, magenta:16711935, yellow:16776960, cyan:65535, haloGreen:8453965, haloBlue:2881013, haloOrange:16761344};
static var TextFormatStyleProps = {font:true, size:true, color:true, leftMargin:false, rightMargin:false, italic:true, bold:true, align:true, indent:true, underline:false, embedFonts:false};
static var TextStyleMap = {textAlign:true, fontWeight:true, color:true, fontFamily:true, textIndent:true, fontStyle:true, lineHeight:true, marginLeft:true, marginRight:true, fontSize:true, textDecoration:true, embedFonts:true};
}
Symbol 82 MovieClip [__Packages.mx.core.UIComponent] Frame 0
class mx.core.UIComponent extends mx.core.UIObject
{
var __width, __height, invalidate, stylecache, removeEventListener, dispatchEvent, drawFocus, addEventListener, _xscale, _yscale, _focusrect, watch, enabled;
function UIComponent () {
super();
}
function get width() {
return(__width);
}
function get height() {
return(__height);
}
function setVisible(x, noEvent) {
super.setVisible(x, noEvent);
}
function enabledChanged(id, oldValue, newValue) {
setEnabled(newValue);
invalidate();
delete stylecache.tf;
return(newValue);
}
function setEnabled(enabled) {
invalidate();
}
function getFocus() {
var selFocus = Selection.getFocus();
return(((selFocus === null) ? null : (eval (selFocus))));
}
function setFocus() {
Selection.setFocus(this);
}
function getFocusManager() {
var _local2 = this;
while (_local2 != undefined) {
if (_local2.focusManager != undefined) {
return(_local2.focusManager);
}
_local2 = _local2._parent;
}
return(undefined);
}
function onKillFocus(newFocus) {
removeEventListener("keyDown", this);
removeEventListener("keyUp", this);
dispatchEvent({type:"focusOut"});
drawFocus(false);
}
function onSetFocus(oldFocus) {
addEventListener("keyDown", this);
addEventListener("keyUp", this);
dispatchEvent({type:"focusIn"});
if (getFocusManager().bDrawFocus != false) {
drawFocus(true);
}
}
function findFocusInChildren(o) {
if (o.focusTextField != undefined) {
return(o.focusTextField);
}
if (o.tabEnabled == true) {
return(o);
}
return(undefined);
}
function findFocusFromObject(o) {
if (o.tabEnabled != true) {
if (o._parent == undefined) {
return(undefined);
}
if (o._parent.tabEnabled == true) {
o = o._parent;
} else if (o._parent.tabChildren) {
o = findFocusInChildren(o._parent);
} else {
o = findFocusFromObject(o._parent);
}
}
return(o);
}
function pressFocus() {
var _local3 = findFocusFromObject(this);
var _local2 = getFocus();
if (_local3 != _local2) {
_local2.drawFocus(false);
if (getFocusManager().bDrawFocus != false) {
_local3.drawFocus(true);
}
}
}
function releaseFocus() {
var _local2 = findFocusFromObject(this);
if (_local2 != getFocus()) {
_local2.setFocus();
}
}
function isParent(o) {
while (o != undefined) {
if (o == this) {
return(true);
}
o = o._parent;
}
return(false);
}
function size() {
}
function init() {
super.init();
_xscale = 100;
_yscale = 100;
_focusrect = _global.useFocusRect == false;
watch("enabled", enabledChanged);
if (enabled == false) {
setEnabled(false);
}
}
function dispatchValueChangedEvent(value) {
dispatchEvent({type:"valueChanged", value:value});
}
static var symbolName = "UIComponent";
static var symbolOwner = mx.core.UIComponent;
static var version = "2.0.2.126";
static var kStretch = 5000;
var focusEnabled = true;
var tabEnabled = true;
var origBorderStyles = {themeColor:16711680};
var clipParameters = {};
static var mergedClipParameters = mx.core.UIObject.mergeClipParameters(mx.core.UIComponent.prototype.clipParameters, mx.core.UIObject.prototype.clipParameters);
}
Symbol 473 MovieClip [__Packages.program.ComponentWrapper2] Frame 0
class program.ComponentWrapper2 extends mx.core.UIComponent
{
var useHandCursor, addEventListener, __width, __height, invalidate;
function ComponentWrapper2 () {
super();
}
function init() {
super.init();
useHandCursor = false;
addEventListener("unload", this);
}
function createChildren() {
}
function unload() {
}
function draw() {
}
function setSize(w, h) {
__width = w;
__height = h;
invalidate();
}
static var symbolName = "ComponentWrapper2";
static var symbolOwner = program.ComponentWrapper2;
var className = "ComponentWrapper2";
}
Symbol 83 MovieClip [__Packages.mx.core.View] Frame 0
class mx.core.View extends mx.core.UIComponent
{
var tabChildren, tabEnabled, boundingBox_mc, border_mc, __get__width, __get__height, __tabIndex, depth, createObject, createClassObject, loadExternal, destroyObject, createClassChildAtDepth, doLater;
function View () {
super();
}
function init() {
super.init();
tabChildren = true;
tabEnabled = false;
boundingBox_mc._visible = false;
boundingBox_mc._width = (boundingBox_mc._height = 0);
}
function size() {
border_mc.move(0, 0);
border_mc.setSize(__get__width(), __get__height());
doLayout();
}
function draw() {
size();
}
function get numChildren() {
var _local3 = childNameBase;
var _local2 = 0;
while (true) {
if (this[_local3 + _local2] == undefined) {
return(_local2);
}
_local2++;
}
}
function get tabIndex() {
return((tabEnabled ? (__tabIndex) : undefined));
}
function addLayoutObject(object) {
}
function createChild(className, instanceName, initProps) {
if (depth == undefined) {
depth = 1;
}
var _local2;
if (typeof(className) == "string") {
_local2 = createObject(className, instanceName, depth++, initProps);
} else {
_local2 = createClassObject(className, instanceName, depth++, initProps);
}
if (_local2 == undefined) {
_local2 = loadExternal(className, _loadExternalClass, instanceName, depth++, initProps);
} else {
this[childNameBase + numChildren] = _local2;
_local2._complete = true;
childLoaded(_local2);
}
addLayoutObject(_local2);
return(_local2);
}
function getChildAt(childIndex) {
return(this[childNameBase + childIndex]);
}
function destroyChildAt(childIndex) {
if (!((childIndex >= 0) && (childIndex < numChildren))) {
return(undefined);
}
var _local4 = childNameBase + childIndex;
var _local6 = numChildren;
var _local3;
for (_local3 in this) {
if (_local3 == _local4) {
_local4 = "";
destroyObject(_local3);
break;
}
}
var _local2 = Number(childIndex);
while (_local2 < (_local6 - 1)) {
this[childNameBase + _local2] = this[childNameBase + (_local2 + 1)];
_local2++;
}
delete this[childNameBase + (_local6 - 1)];
depth--;
}
function initLayout() {
if (!hasBeenLayedOut) {
doLayout();
}
}
function doLayout() {
hasBeenLayedOut = true;
}
function createChildren() {
if (border_mc == undefined) {
border_mc = createClassChildAtDepth(_global.styles.rectBorderClass, mx.managers.DepthManager.kBottom, {styleName:this});
}
doLater(this, "initLayout");
}
function convertToUIObject(obj) {
}
function childLoaded(obj) {
convertToUIObject(obj);
}
static function extension() {
mx.core.ExternalContent.enableExternalContent();
}
static var symbolName = "View";
static var symbolOwner = mx.core.View;
static var version = "2.0.2.126";
var className = "View";
static var childNameBase = "_child";
var hasBeenLayedOut = false;
var _loadExternalClass = "UIComponent";
}
Symbol 84 MovieClip [__Packages.mx.core.ScrollView] Frame 0
class mx.core.ScrollView extends mx.core.View
{
var __width, hScroller, vScroller, __maxHPosition, propsInited, scrollAreaChanged, specialHScrollCase, createObject, viewableColumns, __height, oldRndUp, viewableRows, __viewMetrics, owner, enabled, border_mc, __get__width, __get__height, invLayout, mask_mc, _parent, dispatchEvent;
function ScrollView () {
super();
}
function getHScrollPolicy(Void) {
return(__hScrollPolicy);
}
function setHScrollPolicy(policy) {
__hScrollPolicy = policy.toLowerCase();
if (__width == undefined) {
return(undefined);
}
setScrollProperties(numberOfCols, columnWidth, rowC, rowH, heightPadding, widthPadding);
}
function get hScrollPolicy() {
return(getHScrollPolicy());
}
function set hScrollPolicy(policy) {
setHScrollPolicy(policy);
//return(hScrollPolicy);
}
function getVScrollPolicy(Void) {
return(__vScrollPolicy);
}
function setVScrollPolicy(policy) {
__vScrollPolicy = policy.toLowerCase();
if (__width == undefined) {
return(undefined);
}
setScrollProperties(numberOfCols, columnWidth, rowC, rowH, heightPadding, widthPadding);
}
function get vScrollPolicy() {
return(getVScrollPolicy());
}
function set vScrollPolicy(policy) {
setVScrollPolicy(policy);
//return(vScrollPolicy);
}
function get hPosition() {
return(getHPosition());
}
function set hPosition(pos) {
setHPosition(pos);
//return(hPosition);
}
function getHPosition(Void) {
return(__hPosition);
}
function setHPosition(pos) {
hScroller.__set__scrollPosition(pos);
__hPosition = pos;
}
function get vPosition() {
return(getVPosition());
}
function set vPosition(pos) {
setVPosition(pos);
//return(vPosition);
}
function getVPosition(Void) {
return(__vPosition);
}
function setVPosition(pos) {
vScroller.__set__scrollPosition(pos);
__vPosition = pos;
}
function get maxVPosition() {
var _local2 = vScroller.maxPos;
return(((_local2 == undefined) ? 0 : (_local2)));
}
function get maxHPosition() {
return(getMaxHPosition());
}
function set maxHPosition(pos) {
setMaxHPosition(pos);
//return(maxHPosition);
}
function getMaxHPosition(Void) {
if (__maxHPosition != undefined) {
return(__maxHPosition);
}
var _local2 = hScroller.maxPos;
return(((_local2 == undefined) ? 0 : (_local2)));
}
function setMaxHPosition(pos) {
__maxHPosition = pos;
}
function setScrollProperties(colCount, colWidth, rwCount, rwHeight, hPadding, wPadding) {
var _local3 = getViewMetrics();
if (hPadding == undefined) {
hPadding = 0;
}
if (wPadding == undefined) {
wPadding = 0;
}
propsInited = true;
delete scrollAreaChanged;
heightPadding = hPadding;
widthPadding = wPadding;
if (colWidth == 0) {
colWidth = 1;
}
if (rwHeight == 0) {
rwHeight = 1;
}
var _local5 = Math.ceil((((__width - _local3.left) - _local3.right) - widthPadding) / colWidth);
if ((__hScrollPolicy == "on") || ((_local5 < colCount) && (__hScrollPolicy == "auto"))) {
if ((hScroller == undefined) || (specialHScrollCase)) {
delete specialHScrollCase;
hScroller = createObject("HScrollBar", "hSB", 1001);
hScroller.__set__lineScrollSize(20);
hScroller.scrollHandler = scrollProxy;
hScroller.__set__scrollPosition(__hPosition);
scrollAreaChanged = true;
}
if ((((numberOfCols != colCount) || (columnWidth != colWidth)) || (viewableColumns != _local5)) || (scrollAreaChanged)) {
hScroller.setScrollProperties(_local5, 0, colCount - _local5);
viewableColumns = _local5;
numberOfCols = colCount;
columnWidth = colWidth;
}
} else if (((__hScrollPolicy == "auto") || (__hScrollPolicy == "off")) && (hScroller != undefined)) {
hScroller.removeMovieClip();
delete hScroller;
scrollAreaChanged = true;
}
if (heightPadding == undefined) {
heightPadding = 0;
}
var _local4 = Math.ceil((((__height - _local3.top) - _local3.bottom) - heightPadding) / rwHeight);
var _local8 = (((__height - _local3.top) - _local3.bottom) % rwHeight) != 0;
if ((__vScrollPolicy == "on") || ((_local4 < (rwCount + _local8)) && (__vScrollPolicy == "auto"))) {
if (vScroller == undefined) {
vScroller = createObject("VScrollBar", "vSB", 1002);
vScroller.scrollHandler = scrollProxy;
vScroller.__set__scrollPosition(__vPosition);
scrollAreaChanged = true;
rowH = 0;
}
if ((((rowC != rwCount) || (rowH != rwHeight)) || ((viewableRows + _local8) != (_local4 + oldRndUp))) || (scrollAreaChanged)) {
vScroller.setScrollProperties(_local4, 0, (rwCount - _local4) + _local8);
viewableRows = _local4;
rowC = rwCount;
rowH = rwHeight;
oldRndUp = _local8;
}
} else if (((__vScrollPolicy == "auto") || (__vScrollPolicy == "off")) && (vScroller != undefined)) {
vScroller.removeMovieClip();
delete vScroller;
scrollAreaChanged = true;
}
numberOfCols = colCount;
columnWidth = colWidth;
if (scrollAreaChanged) {
doLayout();
var _local2 = __viewMetrics;
var _local12 = ((owner != undefined) ? (owner) : this);
_local12.layoutContent(_local2.left, _local2.top, ((columnWidth * numberOfCols) - _local2.left) - _local2.right, rowC * rowH, (__width - _local2.left) - _local2.right, (__height - _local2.top) - _local2.bottom);
}
if (!enabled) {
setEnabled(false);
}
}
function getViewMetrics(Void) {
var _local2 = __viewMetrics;
var _local3 = border_mc.__get__borderMetrics();
_local2.left = _local3.left;
_local2.right = _local3.right;
if (vScroller != undefined) {
_local2.right = _local2.right + vScroller.minWidth;
}
_local2.top = _local3.top;
if ((hScroller == undefined) && ((__hScrollPolicy == "on") || (__hScrollPolicy == true))) {
hScroller = createObject("FHScrollBar", "hSB", 1001);
specialHScrollCase = true;
}
_local2.bottom = _local3.bottom;
if (hScroller != undefined) {
_local2.bottom = _local2.bottom + hScroller.minHeight;
}
return(_local2);
}
function doLayout(Void) {
var _local10 = __get__width();
var _local8 = __get__height();
delete invLayout;
var _local3 = (__viewMetrics = getViewMetrics());
var _local2 = _local3.left;
var _local9 = _local3.right;
var _local5 = _local3.top;
var _local11 = _local3.bottom;
var _local7 = hScroller;
var _local6 = vScroller;
_local7.setSize((_local10 - _local2) - _local9, _local7.minHeight + 0);
_local7.move(_local2, _local8 - _local11);
_local6.setSize(_local6.minWidth + 0, (_local8 - _local5) - _local11);
_local6.move(_local10 - _local9, _local5);
var _local4 = mask_mc;
_local4._width = (_local10 - _local2) - _local9;
_local4._height = (_local8 - _local5) - _local11;
_local4._x = _local2;
_local4._y = _local5;
}
function createChild(id, name, props) {
var _local2 = super.createChild(id, name, props);
return(_local2);
}
function init(Void) {
super.init();
__viewMetrics = new Object();
if (_global.__SVMouseWheelManager == undefined) {
var _local4 = (_global.__SVMouseWheelManager = new Object());
_local4.onMouseWheel = __onMouseWheel;
Mouse.addListener(_local4);
}
}
function __onMouseWheel(delta, scrollTarget) {
var _local4 = scrollTarget;
var _local1;
while (_local4 != undefined) {
if (_local4 instanceof mx.core.ScrollView) {
_local1 = _local4;
}
_local4 = _local4._parent;
}
if (_local1 != undefined) {
_local4 = ((delta <= 0) ? 1 : -1);
var _local2 = _local1.vScroller.lineScrollSize;
if (_local2 == undefined) {
_local2 = 0;
}
_local2 = Math.max(Math.abs(delta), _local2);
var _local3 = _local1.vPosition + (_local2 * _local4);
_local1.vPosition = Math.max(0, Math.min(_local3, _local1.maxVPosition));
_local1.dispatchEvent({type:"scroll", direction:"vertical", position:_local1.vPosition});
}
}
function createChildren(Void) {
super.createChildren();
if (mask_mc == undefined) {
mask_mc = createObject("BoundingBox", "mask_mc", MASK_DEPTH);
}
mask_mc._visible = false;
}
function invalidate(Void) {
super.invalidate();
}
function draw(Void) {
size();
}
function size(Void) {
super.size();
}
function scrollProxy(docObj) {
_parent.onScroll(docObj);
}
function onScroll(docObj) {
var _local3 = docObj.target;
var _local2 = _local3.scrollPosition;
if (_local3 == vScroller) {
var _local4 = "vertical";
var _local5 = "__vPosition";
} else {
var _local4 = "horizontal";
var _local5 = "__hPosition";
}
this[_local5] = _local2;
dispatchEvent({type:"scroll", direction:_local4, position:_local2});
}
function setEnabled(v) {
vScroller.enabled = (hScroller.enabled = v);
}
function childLoaded(obj) {
super.childLoaded(obj);
obj.setMask(mask_mc);
}
static var symbolName = "ScrollView";
static var symbolOwner = mx.core.ScrollView;
static var version = "2.0.2.126";
var className = "ScrollView";
var __vScrollPolicy = "auto";
var __hScrollPolicy = "off";
var __vPosition = 0;
var __hPosition = 0;
var numberOfCols = 0;
var rowC = 0;
var columnWidth = 1;
var rowH = 0;
var heightPadding = 0;
var widthPadding = 0;
var MASK_DEPTH = 10000;
}
Symbol 85 MovieClip [__Packages.mx.controls.TextArea] Frame 0
class mx.controls.TextArea extends mx.core.ScrollView
{
var label, invalidate, initText, dispatchValueChangedEvent, getHPosition, setHPosition, getVPosition, setVPosition, _color, focusTextField, tfx, tfy, tfw, tfh, doLater, _vpos, _hpos, hookedV, vScroller, hookedH, hScroller, getViewMetrics, __get__width, __get__height, hScrollPolicy, vScrollPolicy, getStyle, getFocusManager, addEventListener, removeEventListener, _getTextFormat;
function TextArea () {
super();
}
function get maxChars() {
return(label.maxChars);
}
function set maxChars(x) {
label.maxChars = x;
//return(maxChars);
}
function get length() {
return(label.length);
}
function get restrict() {
return(label.restrict);
}
function set restrict(s) {
label.restrict = ((s == "") ? null : (s));
//return(restrict);
}
function get wordWrap() {
return(label.wordWrap);
}
function set wordWrap(s) {
label.wordWrap = s;
invalidate();
//return(wordWrap);
}
function get editable() {
return(__editable);
}
function set editable(x) {
__editable = x;
label.type = (x ? "input" : "dynamic");
//return(editable);
}
function get password() {
return(label.password);
}
function set password(s) {
label.password = s;
//return(password);
}
function get html() {
return(getHtml());
}
function set html(value) {
setHtml(value);
//return(html);
}
function getHtml() {
return(label.html);
}
function setHtml(value) {
if (value != label.html) {
label.html = value;
}
}
function get text() {
return(getText());
}
function set text(t) {
setText(t);
//return(text);
}
function getText() {
if (initializing) {
return(initText);
}
var _local2 = label;
if (_local2.html == true) {
return(_local2.htmlText);
}
return(_local2.text);
}
function setText(t) {
if (initializing) {
initText = t;
} else {
var _local2 = label;
if (_local2.html == true) {
_local2.htmlText = t;
} else {
_local2.text = t;
}
invalidate();
}
dispatchValueChangedEvent(t);
}
function get hPosition() {
return(getHPosition());
}
function set hPosition(pos) {
setHPosition(pos);
label.hscroll = pos;
label.background = false;
//return(hPosition);
}
function get vPosition() {
return(getVPosition());
}
function set vPosition(pos) {
setVPosition(pos);
label.scroll = pos + 1;
label.background = false;
//return(vPosition);
}
function get maxVPosition() {
var _local2 = label.maxscroll - 1;
return(((_local2 == undefined) ? 0 : (_local2)));
}
function get maxHPosition() {
var _local2 = label.maxhscroll;
return(((_local2 == undefined) ? 0 : (_local2)));
}
function init(Void) {
super.init();
label.styleName = this;
_color = mx.core.UIObject.textColorList;
focusTextField = label;
label.owner = this;
label.onSetFocus = function (x) {
this._parent.onSetFocus(x);
};
label.onKillFocus = function (x) {
this._parent.onKillFocus(x);
};
label.drawFocus = function (b) {
this._parent.drawFocus(b);
};
label.onChanged = function () {
this.owner.adjustScrollBars();
this.owner.dispatchEvent({type:"change"});
this.owner.dispatchValueChangedEvent(this.owner.text);
};
label.onScroller = function () {
this.owner.hPosition = this.hscroll;
this.owner.vPosition = this.scroll - 1;
};
if (text == undefined) {
text = ("");
}
}
function createChildren(Void) {
super.createChildren();
label.autoSize = "none";
}
function layoutContent(x, y, totalW, totalH, displayW, displayH) {
var _local2 = label;
if ((((tfx != x) || (tfy != y)) || (tfw != displayW)) || (tfh != displayH)) {
tfx = x;
tfy = y;
tfw = displayW;
tfh = displayH;
_local2.move(tfx, tfy);
_local2.setSize(tfw, tfh);
doLater(this, "adjustScrollBars");
}
}
function scrollChanged(Void) {
var _local2 = Selection;
if (_local2.lastBeginIndex != undefined) {
restoreSelection();
}
label.background = false;
}
function onScroll(docObj) {
var _local3 = label;
super.onScroll(docObj);
_local3.hscroll = hPosition + 0;
_local3.scroll = vPosition + 1;
_vpos = _local3.scroll;
_hpos = _local3.hscroll;
_local3.background = false;
if (hookedV != true) {
vScroller.addEventListener("scrollChanged", this);
hookedV = true;
}
if (hookedH != true) {
hScroller.addEventListener("scrollChanged", this);
hookedH = true;
}
}
function size(Void) {
var _local3 = getViewMetrics();
var _local7 = _local3.left + _local3.right;
var _local4 = _local3.top + _local3.bottom;
var _local6 = _local3.left;
var _local5 = _local3.top;
tfx = _local6;
tfy = _local5;
tfw = __get__width() - _local7;
tfh = __get__height() - _local4;
super.size();
label.move(tfx, tfy);
label.setSize(tfw, tfh);
if (__get__height() <= 40) {
hScrollPolicy = "off";
vScrollPolicy = "off";
}
doLater(this, "adjustScrollBars");
}
function setEnabled(enable) {
vScroller.enabled = enable;
hScroller.enabled = enable;
label.type = (((editable == false) || (enable == false)) ? "dynamic" : "input");
label.selectable = enable;
var _local3 = getStyle((enable ? "color" : "disabledColor"));
if (_local3 == undefined) {
_local3 = (enable ? 0 : 8947848);
}
setColor(_local3);
}
function setColor(col) {
label.textColor = col;
}
function setFocus(Void) {
Selection.setFocus(label);
}
function onSetFocus(x) {
var f = Selection.getFocus();
var o = eval (f);
if (o != label) {
Selection.setFocus(label);
return(undefined);
}
getFocusManager().defaultPushButtonEnabled = false;
addEventListener("keyDown", this);
super.onSetFocus(x);
}
function onKillFocus(x) {
getFocusManager().defaultPushButtonEnabled = true;
removeEventListener("keyDown", this);
super.onKillFocus(x);
}
function restoreSelection(x) {
var _local2 = Selection;
Selection.setSelection(_local2.lastBeginIndex, _local2.lastEndIndex);
label.scroll = _vpos;
label.hscroll = _hpos;
}
function getLineOffsets(Void) {
var _local16 = _getTextFormat();
var _local18 = _local16.getTextExtent2(label.text);
var _local5 = _root._getTextExtent;
_local5.setNewTextFormat(_local16);
var _local14 = label.wordWrap;
var _local9 = 0;
var _local7 = (label._width - 2) - 2;
var _local12 = new Array();
var _local17 = new String(label.text);
var _local15 = _local17.split("\r");
var _local11 = 0;
while (_local11 < _local15.length) {
_local12.push(_local9);
var _local4 = _local15[_local11];
_local5.text = _local4;
var _local13 = Math.ceil(_local5.textWidth / _local7);
var _local10 = Math.floor(_local4.length / _local13);
var _local3;
while (_local14 && (_local5.textWidth > _local7)) {
_local3 = _local4.indexOf(" ", _local10);
var _local6;
if (_local3 == -1) {
_local3 = _local4.lastIndexOf(" ");
if (_local3 == -1) {
_local3 = _local10;
}
}
_local6 = _local4.substr(0, _local3);
_local5.text = _local6;
if (_local5.textWidth > _local7) {
while (_local5.textWidth > _local7) {
var _local8 = _local3;
_local3 = _local4.lastIndexOf(" ", _local3 - 1);
if (_local3 == -1) {
_local3 = _local8 - 1;
}
_local6 = _local4.substr(0, _local3);
_local5.text = _local6;
}
} else if (_local5.textWidth < _local7) {
var _local8 = _local3;
while (_local5.textWidth < _local7) {
_local8 = _local3;
_local3 = _local4.indexOf(" ", _local3 + 1);
if (_local3 == -1) {
if (_local4.indexOf(" ", 0) != -1) {
break;
}
_local3 = _local8 + 1;
}
_local6 = _local4.substr(0, _local3);
_local5.text = _local6;
}
_local3 = _local8;
}
_local9 = _local9 + _local3;
_local12.push(_local9 + 1);
_local4 = _local4.substr(_local3);
if (_local4.charAt(0) == " ") {
_local4 = _local4.substr(1, _local4.length - 1);
_local9 = _local9 + 1;
}
_local5.text = _local4;
}
_local9 = _local9 + (_local4.length + 1);
_local11++;
}
return(_local12);
}
function keyDown(e) {
var _local5 = e.code;
if (_local5 == 34) {
var _local6 = (label.bottomScroll - label.scroll) + 1;
var _local3 = getLineOffsets();
var _local2 = Math.min(label.bottomScroll + 1, label.maxscroll);
if (_local2 == label.maxscroll) {
var _local4 = label.length;
Selection.setSelection(_local4, _local4);
} else {
label.scroll = _local2;
Selection.setSelection(_local3[_local2 - 1], _local3[_local2 - 1]);
}
} else if (_local5 == 33) {
var _local6 = (label.bottomScroll - label.scroll) + 1;
var _local3 = getLineOffsets();
var _local2 = label.scroll - 1;
if (_local2 < 1) {
Selection.setSelection(0, 0);
} else {
Selection.setSelection(_local3[_local2 - 1], _local3[_local2 - 1]);
label.scroll = Math.max(_local2 - _local6, 1);
}
}
}
function draw(Void) {
var _local2 = label;
var _local4 = getText();
if (initializing) {
initializing = false;
delete initText;
}
var _local3 = _getTextFormat();
_local2.embedFonts = _local3.embedFonts == true;
if (_local3 != undefined) {
_local2.setTextFormat(_local3);
_local2.setNewTextFormat(_local3);
}
_local2.multiline = true;
_local2.wordWrap = wordWrap == true;
if (_local2.html == true) {
_local2.setTextFormat(_local3);
_local2.htmlText = _local4;
} else {
_local2.text = _local4;
}
_local2.type = ((editable == true) ? "input" : "dynamic");
size();
_local2.background = false;
}
function adjustScrollBars() {
var _local2 = label;
var _local4 = (_local2.bottomScroll - _local2.scroll) + 1;
var _local3 = (_local4 + _local2.maxscroll) - 1;
if (_local3 < 1) {
_local3 = 1;
}
var _local5 = 0;
if ((_local2.textWidth + 5) > _local2._width) {
if (!_local2.wordWrap) {
_local5 = _local2._width + _local2.maxhscroll;
}
} else {
_local2.hscroll = 0;
_local2.background = false;
}
if ((_local2.height / _local4) != Math.round(_local2.height / _local4)) {
_local3--;
}
setScrollProperties(_local5, 1, _local3, _local2.height / _local4);
}
function setScrollProperties(colCount, colWidth, rwCount, rwHeight, hPadding, wPadding) {
super.setScrollProperties(colCount, colWidth, rwCount, rwHeight, hPadding, wPadding);
if (vScroller == undefined) {
hookedV = false;
}
if (hScroller == undefined) {
hookedH = false;
}
}
function get tabIndex() {
return(label.tabIndex);
}
function set tabIndex(w) {
label.tabIndex = w;
//return(tabIndex);
}
function set _accProps(val) {
label._accProps = val;
//return(_accProps);
}
function get _accProps() {
return(label._accProps);
}
function get styleSheet() {
return(label.styleSheet);
}
function set styleSheet(v) {
label.styleSheet = v;
//return(styleSheet);
}
static var symbolName = "TextArea";
static var symbolOwner = mx.controls.TextArea;
static var version = "2.0.2.126";
var className = "TextArea";
var initializing = true;
var clipParameters = {text:1, wordWrap:1, editable:1, maxChars:1, restrict:1, html:1, password:1};
static var mergedClipParameters = mx.core.UIObject.mergeClipParameters(mx.controls.TextArea.prototype.clipParameters, mx.core.ScrollView.prototype.clipParameters);
var __vScrollPolicy = "auto";
var __hScrollPolicy = "auto";
var __editable = true;
}
Symbol 184 MovieClip [__Packages.mx.skins.Border] Frame 0
class mx.skins.Border extends mx.core.UIObject
{
function Border () {
super();
}
function init(Void) {
super.init();
}
static var symbolName = "Border";
static var symbolOwner = mx.skins.Border;
var className = "Border";
var tagBorder = 0;
var idNames = new Array("border_mc");
}
Symbol 185 MovieClip [__Packages.mx.skins.RectBorder] Frame 0
class mx.skins.RectBorder extends mx.skins.Border
{
var __width, __height, offset, __borderMetrics;
function RectBorder () {
super();
}
function get width() {
return(__width);
}
function get height() {
return(__height);
}
function init(Void) {
super.init();
}
function draw(Void) {
size();
}
function getBorderMetrics(Void) {
var _local2 = offset;
if (__borderMetrics == undefined) {
__borderMetrics = {left:_local2, top:_local2, right:_local2, bottom:_local2};
} else {
__borderMetrics.left = _local2;
__borderMetrics.top = _local2;
__borderMetrics.right = _local2;
__borderMetrics.bottom = _local2;
}
return(__borderMetrics);
}
function get borderMetrics() {
return(getBorderMetrics());
}
function drawBorder(Void) {
}
function size(Void) {
drawBorder();
}
function setColor(Void) {
drawBorder();
}
static var symbolName = "RectBorder";
static var symbolOwner = mx.skins.RectBorder;
static var version = "2.0.2.126";
var className = "RectBorder";
var borderStyleName = "borderStyle";
var borderColorName = "borderColor";
var shadowColorName = "shadowColor";
var highlightColorName = "highlightColor";
var buttonColorName = "buttonColor";
var backgroundColorName = "backgroundColor";
}
Symbol 186 MovieClip [__Packages.mx.managers.DepthManager] Frame 0
class mx.managers.DepthManager
{
var _childCounter, createClassObject, createObject, _parent, swapDepths, _topmost, getDepth;
function DepthManager () {
MovieClip.prototype.createClassChildAtDepth = createClassChildAtDepth;
MovieClip.prototype.createChildAtDepth = createChildAtDepth;
MovieClip.prototype.setDepthTo = setDepthTo;
MovieClip.prototype.setDepthAbove = setDepthAbove;
MovieClip.prototype.setDepthBelow = setDepthBelow;
MovieClip.prototype.findNextAvailableDepth = findNextAvailableDepth;
MovieClip.prototype.shuffleDepths = shuffleDepths;
MovieClip.prototype.getDepthByFlag = getDepthByFlag;
MovieClip.prototype.buildDepthTable = buildDepthTable;
_global.ASSetPropFlags(MovieClip.prototype, "createClassChildAtDepth", 1);
_global.ASSetPropFlags(MovieClip.prototype, "createChildAtDepth", 1);
_global.ASSetPropFlags(MovieClip.prototype, "setDepthTo", 1);
_global.ASSetPropFlags(MovieClip.prototype, "setDepthAbove", 1);
_global.ASSetPropFlags(MovieClip.prototype, "setDepthBelow", 1);
_global.ASSetPropFlags(MovieClip.prototype, "findNextAvailableDepth", 1);
_global.ASSetPropFlags(MovieClip.prototype, "shuffleDepths", 1);
_global.ASSetPropFlags(MovieClip.prototype, "getDepthByFlag", 1);
_global.ASSetPropFlags(MovieClip.prototype, "buildDepthTable", 1);
}
static function sortFunction(a, b) {
if (a.getDepth() > b.getDepth()) {
return(1);
}
return(-1);
}
static function test(depth) {
if (depth == reservedDepth) {
return(false);
}
return(true);
}
static function createClassObjectAtDepth(className, depthSpace, initObj) {
var _local1;
switch (depthSpace) {
case kCursor :
_local1 = holder.createClassChildAtDepth(className, kTopmost, initObj);
break;
case kTooltip :
_local1 = holder.createClassChildAtDepth(className, kTop, initObj);
break;
}
return(_local1);
}
static function createObjectAtDepth(linkageName, depthSpace, initObj) {
var _local1;
switch (depthSpace) {
case kCursor :
_local1 = holder.createChildAtDepth(linkageName, kTopmost, initObj);
break;
case kTooltip :
_local1 = holder.createChildAtDepth(linkageName, kTop, initObj);
break;
}
return(_local1);
}
function createClassChildAtDepth(className, depthFlag, initObj) {
if (_childCounter == undefined) {
_childCounter = 0;
}
var _local3 = buildDepthTable();
var _local2 = getDepthByFlag(depthFlag, _local3);
var _local6 = "down";
if (depthFlag == kBottom) {
_local6 = "up";
}
var _local5;
if (_local3[_local2] != undefined) {
_local5 = _local2;
_local2 = findNextAvailableDepth(_local2, _local3, _local6);
}
var _local4 = createClassObject(className, "depthChild" + (_childCounter++), _local2, initObj);
if (_local5 != undefined) {
_local3[_local2] = _local4;
shuffleDepths(_local4, _local5, _local3, _local6);
}
if (depthFlag == kTopmost) {
_local4._topmost = true;
}
return(_local4);
}
function createChildAtDepth(linkageName, depthFlag, initObj) {
if (_childCounter == undefined) {
_childCounter = 0;
}
var _local3 = buildDepthTable();
var _local2 = getDepthByFlag(depthFlag, _local3);
var _local6 = "down";
if (depthFlag == kBottom) {
_local6 = "up";
}
var _local5;
if (_local3[_local2] != undefined) {
_local5 = _local2;
_local2 = findNextAvailableDepth(_local2, _local3, _local6);
}
var _local4 = createObject(linkageName, "depthChild" + (_childCounter++), _local2, initObj);
if (_local5 != undefined) {
_local3[_local2] = _local4;
shuffleDepths(_local4, _local5, _local3, _local6);
}
if (depthFlag == kTopmost) {
_local4._topmost = true;
}
return(_local4);
}
function setDepthTo(depthFlag) {
var _local2 = _parent.buildDepthTable();
var _local3 = _parent.getDepthByFlag(depthFlag, _local2);
if (_local2[_local3] != undefined) {
shuffleDepths(this, _local3, _local2, undefined);
} else {
swapDepths(_local3);
}
if (depthFlag == kTopmost) {
_topmost = true;
} else {
delete _topmost;
}
}
function setDepthAbove(targetInstance) {
if (targetInstance._parent != _parent) {
return(undefined);
}
var _local2 = targetInstance.getDepth() + 1;
var _local3 = _parent.buildDepthTable();
if ((_local3[_local2] != undefined) && (getDepth() < _local2)) {
_local2 = _local2 - 1;
}
if (_local2 > highestDepth) {
_local2 = highestDepth;
}
if (_local2 == highestDepth) {
_parent.shuffleDepths(this, _local2, _local3, "down");
} else if (_local3[_local2] != undefined) {
_parent.shuffleDepths(this, _local2, _local3, undefined);
} else {
swapDepths(_local2);
}
}
function setDepthBelow(targetInstance) {
if (targetInstance._parent != _parent) {
return(undefined);
}
var _local6 = targetInstance.getDepth() - 1;
var _local3 = _parent.buildDepthTable();
if ((_local3[_local6] != undefined) && (getDepth() > _local6)) {
_local6 = _local6 + 1;
}
var _local4 = lowestDepth + numberOfAuthortimeLayers;
var _local5;
for (_local5 in _local3) {
var _local2 = _local3[_local5];
if (_local2._parent != undefined) {
_local4 = Math.min(_local4, _local2.getDepth());
}
}
if (_local6 < _local4) {
_local6 = _local4;
}
if (_local6 == _local4) {
_parent.shuffleDepths(this, _local6, _local3, "up");
} else if (_local3[_local6] != undefined) {
_parent.shuffleDepths(this, _local6, _local3, undefined);
} else {
swapDepths(_local6);
}
}
function findNextAvailableDepth(targetDepth, depthTable, direction) {
var _local5 = lowestDepth + numberOfAuthortimeLayers;
if (targetDepth < _local5) {
targetDepth = _local5;
}
if (depthTable[targetDepth] == undefined) {
return(targetDepth);
}
var _local2 = targetDepth;
var _local1 = targetDepth;
if (direction == "down") {
while (depthTable[_local1] != undefined) {
_local1--;
}
return(_local1);
}
while (depthTable[_local2] != undefined) {
_local2++;
}
return(_local2);
}
function shuffleDepths(subject, targetDepth, depthTable, direction) {
var _local9 = lowestDepth + numberOfAuthortimeLayers;
var _local8 = _local9;
var _local5;
for (_local5 in depthTable) {
var _local7 = depthTable[_local5];
if (_local7._parent != undefined) {
_local9 = Math.min(_local9, _local7.getDepth());
}
}
if (direction == undefined) {
if (subject.getDepth() > targetDepth) {
direction = "up";
} else {
direction = "down";
}
}
var _local1 = new Array();
for (_local5 in depthTable) {
var _local7 = depthTable[_local5];
if (_local7._parent != undefined) {
_local1.push(_local7);
}
}
_local1.sort(sortFunction);
if (direction == "up") {
var _local3;
var _local11;
do {
if (_local1.length <= 0) {
break;
}
_local3 = _local1.pop();
} while (_local3 != subject);
do {
if (_local1.length <= 0) {
break;
}
_local11 = subject.getDepth();
_local3 = _local1.pop();
var _local4 = _local3.getDepth();
if (_local11 > (_local4 + 1)) {
if (_local4 >= 0) {
subject.swapDepths(_local4 + 1);
} else if ((_local11 > _local8) && (_local4 < _local8)) {
subject.swapDepths(_local8);
}
}
subject.swapDepths(_local3);
} while (_local4 != targetDepth);
} else if (direction == "down") {
var _local3;
do {
if (_local1.length <= 0) {
break;
}
_local3 = _local1.shift();
} while (_local3 != subject);
do {
if (_local1.length <= 0) {
break;
}
var _local11 = _local3.getDepth();
_local3 = _local1.shift();
var _local4 = _local3.getDepth();
if ((_local11 < (_local4 - 1)) && (_local4 > 0)) {
subject.swapDepths(_local4 - 1);
}
subject.swapDepths(_local3);
} while (_local4 != targetDepth);
}
}
function getDepthByFlag(depthFlag, depthTable) {
var _local2 = 0;
if ((depthFlag == kTop) || (depthFlag == kNotopmost)) {
var _local5 = 0;
var _local7 = false;
var _local8;
for (_local8 in depthTable) {
var _local9 = depthTable[_local8];
var _local3 = typeof(_local9);
if ((_local3 == "movieclip") || ((_local3 == "object") && (_local9.__getTextFormat != undefined))) {
if (_local9.getDepth() <= highestDepth) {
if (!_local9._topmost) {
_local2 = Math.max(_local2, _local9.getDepth());
} else if (!_local7) {
_local5 = _local9.getDepth();
_local7 = true;
} else {
_local5 = Math.min(_local5, _local9.getDepth());
}
}
}
}
_local2 = _local2 + 20;
if (_local7) {
if (_local2 >= _local5) {
_local2 = _local5 - 1;
}
}
} else if (depthFlag == kBottom) {
for (var _local8 in depthTable) {
var _local9 = depthTable[_local8];
var _local3 = typeof(_local9);
if ((_local3 == "movieclip") || ((_local3 == "object") && (_local9.__getTextFormat != undefined))) {
if (_local9.getDepth() <= highestDepth) {
_local2 = Math.min(_local2, _local9.getDepth());
}
}
}
_local2 = _local2 - 20;
} else if (depthFlag == kTopmost) {
for (var _local8 in depthTable) {
var _local9 = depthTable[_local8];
var _local3 = typeof(_local9);
if ((_local3 == "movieclip") || ((_local3 == "object") && (_local9.__getTextFormat != undefined))) {
if (_local9.getDepth() <= highestDepth) {
_local2 = Math.max(_local2, _local9.getDepth());
}
}
}
_local2 = _local2 + 100;
}
if (_local2 >= highestDepth) {
_local2 = highestDepth;
}
var _local6 = lowestDepth + numberOfAuthortimeLayers;
for (var _local9 in depthTable) {
var _local4 = depthTable[_local9];
if (_local4._parent != undefined) {
_local6 = Math.min(_local6, _local4.getDepth());
}
}
if (_local2 <= _local6) {
_local2 = _local6;
}
return(_local2);
}
function buildDepthTable(Void) {
var _local5 = new Array();
var _local4;
for (_local4 in this) {
var _local2 = this[_local4];
var _local3 = typeof(_local2);
if ((_local3 == "movieclip") || ((_local3 == "object") && (_local2.__getTextFormat != undefined))) {
if (_local2._parent == this) {
_local5[_local2.getDepth()] = _local2;
}
}
}
return(_local5);
}
static var reservedDepth = 1048575;
static var highestDepth = 1048574;
static var lowestDepth = -16383;
static var numberOfAuthortimeLayers = 383;
static var kCursor = 101;
static var kTooltip = 102;
static var kTop = 201;
static var kBottom = 202;
static var kTopmost = 203;
static var kNotopmost = 204;
static var holder = _root.createEmptyMovieClip("reserved", reservedDepth);
static var __depthManager = new mx.managers.DepthManager();
}
Symbol 188 MovieClip [__Packages.mx.events.UIEventDispatcher] Frame 0
class mx.events.UIEventDispatcher extends mx.events.EventDispatcher
{
var dispatchQueue, owner, __sentLoadEvent, __origAddEventListener;
function UIEventDispatcher () {
super();
}
static function addKeyEvents(obj) {
if (obj.keyHandler == undefined) {
var _local1 = (obj.keyHandler = new Object());
_local1.owner = obj;
_local1.onKeyDown = _fEventDispatcher.onKeyDown;
_local1.onKeyUp = _fEventDispatcher.onKeyUp;
}
Key.addListener(obj.keyHandler);
}
static function removeKeyEvents(obj) {
Key.removeListener(obj.keyHandler);
}
static function addLoadEvents(obj) {
if (obj.onLoad == undefined) {
obj.onLoad = _fEventDispatcher.onLoad;
obj.onUnload = _fEventDispatcher.onUnload;
if (obj.getBytesTotal() == obj.getBytesLoaded()) {
obj.doLater(obj, "onLoad");
}
}
}
static function removeLoadEvents(obj) {
delete obj.onLoad;
delete obj.onUnload;
}
static function initialize(obj) {
if (_fEventDispatcher == undefined) {
_fEventDispatcher = new mx.events.UIEventDispatcher();
}
obj.addEventListener = _fEventDispatcher.__addEventListener;
obj.__origAddEventListener = _fEventDispatcher.addEventListener;
obj.removeEventListener = _fEventDispatcher.removeEventListener;
obj.dispatchEvent = _fEventDispatcher.dispatchEvent;
obj.dispatchQueue = _fEventDispatcher.dispatchQueue;
}
function dispatchEvent(eventObj) {
if (eventObj.target == undefined) {
eventObj.target = this;
}
this[eventObj.type + "Handler"](eventObj);
dispatchQueue(mx.events.EventDispatcher, eventObj);
dispatchQueue(this, eventObj);
}
function onKeyDown(Void) {
owner.dispatchEvent({type:"keyDown", code:Key.getCode(), ascii:Key.getAscii(), shiftKey:Key.isDown(16), ctrlKey:Key.isDown(17)});
}
function onKeyUp(Void) {
owner.dispatchEvent({type:"keyUp", code:Key.getCode(), ascii:Key.getAscii(), shiftKey:Key.isDown(16), ctrlKey:Key.isDown(17)});
}
function onLoad(Void) {
if (__sentLoadEvent != true) {
dispatchEvent({type:"load"});
}
__sentLoadEvent = true;
}
function onUnload(Void) {
dispatchEvent({type:"unload"});
}
function __addEventListener(event, handler) {
__origAddEventListener(event, handler);
var _local3 = lowLevelEvents;
for (var _local5 in _local3) {
if (mx.events.UIEventDispatcher[_local5][event] != undefined) {
var _local2 = _local3[_local5][0];
mx.events.UIEventDispatcher[_local2](this);
}
}
}
function removeEventListener(event, handler) {
var _local6 = "__q_" + event;
mx.events.EventDispatcher._removeEventListener(this[_local6], event, handler);
if (this[_local6].length == 0) {
var _local2 = lowLevelEvents;
for (var _local5 in _local2) {
if (mx.events.UIEventDispatcher[_local5][event] != undefined) {
var _local3 = _local2[_local5][1];
mx.events.UIEventDispatcher[_local2[_local5][1]](this);
}
}
}
}
static var keyEvents = {keyDown:1, keyUp:1};
static var loadEvents = {load:1, unload:1};
static var lowLevelEvents = {keyEvents:["addKeyEvents", "removeKeyEvents"], loadEvents:["addLoadEvents", "removeLoadEvents"]};
static var _fEventDispatcher = undefined;
}
Symbol 189 MovieClip [__Packages.mx.core.ExternalContent] Frame 0
class mx.core.ExternalContent
{
var createObject, numChildren, prepList, doLater, loadList, dispatchEvent, loadedList, childLoaded;
function ExternalContent () {
}
function loadExternal(url, placeholderClassName, instanceName, depth, initProps) {
var _local2;
_local2 = createObject(placeholderClassName, instanceName, depth, initProps);
this[mx.core.View.childNameBase + numChildren] = _local2;
if (prepList == undefined) {
prepList = new Object();
}
prepList[instanceName] = {obj:_local2, url:url, complete:false, initProps:initProps};
prepareToLoadMovie(_local2);
return(_local2);
}
function prepareToLoadMovie(obj) {
obj.unloadMovie();
doLater(this, "waitForUnload");
}
function waitForUnload() {
var _local3;
for (_local3 in prepList) {
var _local2 = prepList[_local3];
if (_local2.obj.getBytesTotal() == 0) {
if (loadList == undefined) {
loadList = new Object();
}
loadList[_local3] = _local2;
_local2.obj.loadMovie(_local2.url);
delete prepList[_local3];
doLater(this, "checkLoadProgress");
} else {
doLater(this, "waitForUnload");
}
}
}
function checkLoadProgress() {
var _local8 = false;
var _local3;
for (_local3 in loadList) {
var _local2 = loadList[_local3];
_local2.loaded = _local2.obj.getBytesLoaded();
_local2.total = _local2.obj.getBytesTotal();
if (_local2.total > 0) {
_local2.obj._visible = false;
dispatchEvent({type:"progress", target:_local2.obj, current:_local2.loaded, total:_local2.total});
if (_local2.loaded == _local2.total) {
if (loadedList == undefined) {
loadedList = new Object();
}
loadedList[_local3] = _local2;
delete loadList[_local3];
doLater(this, "contentLoaded");
}
} else if (_local2.total == -1) {
if (_local2.failedOnce != undefined) {
_local2.failedOnce++;
if (_local2.failedOnce > 3) {
dispatchEvent({type:"complete", target:_local2.obj, current:_local2.loaded, total:_local2.total});
delete loadList[_local3];
}
} else {
_local2.failedOnce = 0;
}
}
_local8 = true;
}
if (_local8) {
doLater(this, "checkLoadProgress");
}
}
function contentLoaded() {
var _local4;
for (_local4 in loadedList) {
var _local2 = loadedList[_local4];
_local2.obj._visible = true;
_local2.obj._complete = true;
var _local3;
for (_local3 in _local2.initProps) {
_local2.obj[_local3] = _local2.initProps[_local3];
}
childLoaded(_local2.obj);
dispatchEvent({type:"complete", target:_local2.obj, current:_local2.loaded, total:_local2.total});
delete loadedList[_local4];
}
}
function convertToUIObject(obj) {
if (obj.setSize == undefined) {
var _local2 = mx.core.UIObject.prototype;
obj.addProperty("width", _local2.__get__width, null);
obj.addProperty("height", _local2.__get__height, null);
obj.addProperty("left", _local2.__get__left, null);
obj.addProperty("x", _local2.__get__x, null);
obj.addProperty("top", _local2.__get__top, null);
obj.addProperty("y", _local2.__get__y, null);
obj.addProperty("right", _local2.__get__right, null);
obj.addProperty("bottom", _local2.__get__bottom, null);
obj.addProperty("visible", _local2.__get__visible, _local2.__set__visible);
obj.move = mx.core.UIObject.prototype.move;
obj.setSize = mx.core.UIObject.prototype.setSize;
obj.size = mx.core.UIObject.prototype.size;
mx.events.UIEventDispatcher.initialize(obj);
}
}
static function enableExternalContent() {
}
static function classConstruct() {
var _local1 = mx.core.View.prototype;
var _local2 = mx.core.ExternalContent.prototype;
_local1.loadExternal = _local2.loadExternal;
_local1.prepareToLoadMovie = _local2.prepareToLoadMovie;
_local1.waitForUnload = _local2.waitForUnload;
_local1.checkLoadProgress = _local2.checkLoadProgress;
_local1.contentLoaded = _local2.contentLoaded;
_local1.convertToUIObject = _local2.convertToUIObject;
return(true);
}
static var classConstructed = classConstruct();
static var ViewDependency = mx.core.View;
}
Symbol 190 MovieClip [__Packages.mx.skins.CustomBorder] Frame 0
class mx.skins.CustomBorder extends mx.skins.Border
{
var __width, __height, l_mc, setSkin, minHeight, minWidth, m_mc, r_mc;
function CustomBorder () {
super();
}
function get width() {
return(__width);
}
function get height() {
return(__height);
}
function init(Void) {
super.init();
}
function createChildren(Void) {
}
function draw(Void) {
if (l_mc == undefined) {
var _local2 = setSkin(tagL, leftSkin);
if (horizontal) {
minHeight = l_mc._height;
minWidth = l_mc._width;
} else {
minHeight = l_mc._height;
minWidth = l_mc._width;
}
}
if (m_mc == undefined) {
setSkin(tagM, middleSkin);
if (horizontal) {
minHeight = m_mc._height;
minWidth = minWidth + m_mc._width;
} else {
minHeight = minHeight + m_mc._height;
minWidth = m_mc._width;
}
}
if (r_mc == undefined) {
setSkin(tagR, rightSkin);
if (horizontal) {
minHeight = r_mc._height;
minWidth = minWidth + r_mc._width;
} else {
minHeight = minHeight + r_mc._height;
minWidth = r_mc._width;
}
}
size();
}
function size(Void) {
l_mc.move(0, 0);
if (horizontal) {
r_mc.move(width - r_mc.width, 0);
m_mc.move(l_mc.width, 0);
m_mc.setSize(r_mc.x - m_mc.x, m_mc.height);
} else {
r_mc.move(0, height - r_mc.height, 0);
m_mc.move(0, l_mc.height);
m_mc.setSize(m_mc.width, r_mc.y - m_mc.y);
}
}
static var symbolName = "CustomBorder";
static var symbolOwner = mx.skins.CustomBorder;
static var version = "2.0.2.126";
var className = "CustomBorder";
static var tagL = 0;
static var tagM = 1;
static var tagR = 2;
var idNames = new Array("l_mc", "m_mc", "r_mc");
var leftSkin = "F3PieceLeft";
var middleSkin = "F3PieceMiddle";
var rightSkin = "F3PieceRight";
var horizontal = true;
}
Symbol 191 MovieClip [__Packages.mx.controls.scrollClasses.ScrollThumb] Frame 0
class mx.controls.scrollClasses.ScrollThumb extends mx.skins.CustomBorder
{
var useHandCursor, ymin, ymax, datamin, datamax, scrollMove, lastY, _ymouse, _y, _parent, onMouseMove, grip_mc, setSkin, gripSkin, __get__width, __get__height;
function ScrollThumb () {
super();
}
function createChildren(Void) {
super.createChildren();
useHandCursor = false;
}
function setRange(_ymin, _ymax, _datamin, _datamax) {
ymin = _ymin;
ymax = _ymax;
datamin = _datamin;
datamax = _datamax;
}
function dragThumb(Void) {
scrollMove = _ymouse - lastY;
scrollMove = scrollMove + _y;
if (scrollMove < ymin) {
scrollMove = ymin;
} else if (scrollMove > ymax) {
scrollMove = ymax;
}
_parent.isScrolling = true;
_y = scrollMove;
var _local2 = Math.round(((datamax - datamin) * (_y - ymin)) / (ymax - ymin)) + datamin;
_parent.scrollPosition = _local2;
_parent.dispatchScrollEvent("ThumbTrack");
updateAfterEvent();
}
function stopDragThumb(Void) {
_parent.isScrolling = false;
_parent.dispatchScrollEvent("ThumbPosition");
_parent.dispatchScrollChangedEvent();
delete onMouseMove;
}
function onPress(Void) {
_parent.pressFocus();
lastY = _ymouse;
onMouseMove = dragThumb;
super.onPress();
}
function onRelease(Void) {
_parent.releaseFocus();
stopDragThumb();
super.onRelease();
}
function onReleaseOutside(Void) {
_parent.releaseFocus();
stopDragThumb();
super.onReleaseOutside();
}
function draw() {
super.draw();
if (grip_mc == undefined) {
setSkin(3, gripSkin);
}
}
function size() {
super.size();
grip_mc.move((__get__width() - grip_mc.width) / 2, (__get__height() - grip_mc.height) / 2);
}
static var symbolOwner = mx.skins.CustomBorder.symbolOwner;
var className = "ScrollThumb";
var btnOffset = 0;
var horizontal = false;
var idNames = new Array("l_mc", "m_mc", "r_mc", "grip_mc");
}
Symbol 192 MovieClip [__Packages.mx.controls.SimpleButton] Frame 0
class mx.controls.SimpleButton extends mx.core.UIComponent
{
static var emphasizedStyleDeclaration;
var preset, boundingBox_mc, useHandCursor, skinName, linkLength, iconName, destroyObject, __width, _width, __height, _height, __emphaticStyleName, styleName, enabled, invalidate, pressFocus, dispatchEvent, autoRepeat, interval, getStyle, releaseFocus, createLabel, invalidateStyle;
function SimpleButton () {
super();
}
function init(Void) {
super.init();
if (preset == undefined) {
boundingBox_mc._visible = false;
boundingBox_mc._width = (boundingBox_mc._height = 0);
}
useHandCursor = false;
}
function createChildren(Void) {
if (preset != undefined) {
var _local2 = this[idNames[preset]];
this[refNames[preset]] = _local2;
skinName = _local2;
if (falseOverSkin.length == 0) {
rolloverSkin = fus;
}
if (falseOverIcon.length == 0) {
rolloverIcon = fui;
}
initializing = false;
} else if (__state == true) {
setStateVar(true);
} else {
if (falseOverSkin.length == 0) {
rolloverSkin = fus;
}
if (falseOverIcon.length == 0) {
rolloverIcon = fui;
}
}
}
function setIcon(tag, linkageName) {
return(setSkin(tag + 8, linkageName));
}
function changeIcon(tag, linkageName) {
linkLength = linkageName.length;
var _local2 = stateNames[tag] + "Icon";
this[_local2] = linkageName;
this[idNames[tag + 8]] = _local2;
setStateVar(getState());
}
function changeSkin(tag, linkageName) {
var _local2 = stateNames[tag] + "Skin";
this[_local2] = linkageName;
this[idNames[tag]] = _local2;
setStateVar(getState());
}
function viewIcon(varName) {
var _local4 = varName + "Icon";
var _local3 = this[_local4];
if (typeof(_local3) == "string") {
var _local5 = _local3;
if (__emphasized) {
if (this[_local3 + "Emphasized"].length > 0) {
_local3 = _local3 + "Emphasized";
}
}
if (this[_local3].length == 0) {
return(undefined);
}
_local3 = setIcon(tagMap[_local5], this[_local3]);
if ((_local3 == undefined) && (_global.isLivePreview)) {
_local3 = setIcon(0, "ButtonIcon");
}
this[_local4] = _local3;
}
iconName._visible = false;
iconName = _local3;
iconName._visible = true;
}
function removeIcons() {
var _local3 = 0;
while (_local3 < 2) {
var _local2 = 8;
while (_local2 < 16) {
destroyObject(idNames[_local2]);
this[stateNames[_local2 - 8] + "Icon"] = "";
_local2++;
}
_local3++;
}
refresh();
}
function setSkin(tag, linkageName, initobj) {
var _local3 = super.setSkin(tag, linkageName, ((initobj != undefined) ? (initobj) : ({styleName:this})));
calcSize(tag, _local3);
return(_local3);
}
function calcSize(Void) {
__width = _width;
__height = _height;
}
function viewSkin(varName, initObj) {
var _local3 = varName + "Skin";
var _local2 = this[_local3];
if (typeof(_local2) == "string") {
var _local4 = _local2;
if (__emphasized) {
if (this[_local2 + "Emphasized"].length > 0) {
_local2 = _local2 + "Emphasized";
}
}
if (this[_local2].length == 0) {
return(undefined);
}
_local2 = setSkin(tagMap[_local4], this[_local2], ((initObj != undefined) ? (initObj) : ({styleName:this})));
this[_local3] = _local2;
}
skinName._visible = false;
skinName = _local2;
skinName._visible = true;
}
function showEmphasized(e) {
if (e && (!__emphatic)) {
if (emphasizedStyleDeclaration != undefined) {
__emphaticStyleName = styleName;
styleName = emphasizedStyleDeclaration;
}
__emphatic = true;
} else {
if (__emphatic) {
styleName = __emphaticStyleName;
}
__emphatic = false;
}
}
function refresh(Void) {
var _local2 = getState();
if (enabled == false) {
viewIcon("disabled");
viewSkin("disabled");
} else {
viewSkin(phase);
viewIcon(phase);
}
setView(phase == "down");
iconName.enabled = enabled;
}
function setView(offset) {
if (iconName == undefined) {
return(undefined);
}
var _local2 = (offset ? (btnOffset) : 0);
iconName._x = ((__width - iconName._width) / 2) + _local2;
iconName._y = ((__height - iconName._height) / 2) + _local2;
}
function setStateVar(state) {
if (state) {
if (trueOverSkin.length == 0) {
rolloverSkin = tus;
} else {
rolloverSkin = trs;
}
if (trueOverIcon.length == 0) {
rolloverIcon = tui;
} else {
rolloverIcon = tri;
}
upSkin = tus;
downSkin = tds;
disabledSkin = dts;
upIcon = tui;
downIcon = tdi;
disabledIcon = dti;
} else {
if (falseOverSkin.length == 0) {
rolloverSkin = fus;
} else {
rolloverSkin = frs;
}
if (falseOverIcon.length == 0) {
rolloverIcon = fui;
} else {
rolloverIcon = fri;
}
upSkin = fus;
downSkin = fds;
disabledSkin = dfs;
upIcon = fui;
downIcon = fdi;
disabledIcon = dfi;
}
__state = state;
}
function setState(state) {
if (state != __state) {
setStateVar(state);
invalidate();
}
}
function size(Void) {
refresh();
}
function draw(Void) {
if (initializing) {
initializing = false;
skinName.visible = true;
iconName.visible = true;
}
size();
}
function getState(Void) {
return(__state);
}
function setToggle(val) {
__toggle = val;
if (__toggle == false) {
setState(false);
}
}
function getToggle(Void) {
return(__toggle);
}
function set toggle(val) {
setToggle(val);
//return(toggle);
}
function get toggle() {
return(getToggle());
}
function set value(val) {
setSelected(val);
//return(value);
}
function get value() {
return(getSelected());
}
function set selected(val) {
setSelected(val);
//return(selected);
}
function get selected() {
return(getSelected());
}
function setSelected(val) {
if (__toggle) {
setState(val);
} else {
setState((initializing ? (val) : (__state)));
}
}
function getSelected() {
return(__state);
}
function setEnabled(val) {
if (enabled != val) {
super.setEnabled(val);
invalidate();
}
}
function onPress(Void) {
pressFocus();
phase = "down";
refresh();
dispatchEvent({type:"buttonDown"});
if (autoRepeat) {
interval = setInterval(this, "onPressDelay", getStyle("repeatDelay"));
}
}
function onPressDelay(Void) {
dispatchEvent({type:"buttonDown"});
if (autoRepeat) {
clearInterval(interval);
interval = setInterval(this, "onPressRepeat", getStyle("repeatInterval"));
}
}
function onPressRepeat(Void) {
dispatchEvent({type:"buttonDown"});
updateAfterEvent();
}
function onRelease(Void) {
releaseFocus();
phase = "rollover";
if (interval != undefined) {
clearInterval(interval);
delete interval;
}
if (getToggle()) {
setState(!getState());
} else {
refresh();
}
dispatchEvent({type:"click"});
}
function onDragOut(Void) {
phase = "up";
refresh();
dispatchEvent({type:"buttonDragOut"});
}
function onDragOver(Void) {
if (phase != "up") {
onPress();
return(undefined);
}
phase = "down";
refresh();
}
function onReleaseOutside(Void) {
releaseFocus();
phase = "up";
if (interval != undefined) {
clearInterval(interval);
delete interval;
}
}
function onRollOver(Void) {
phase = "rollover";
refresh();
}
function onRollOut(Void) {
phase = "up";
refresh();
}
function getLabel(Void) {
return(fui.text);
}
function setLabel(val) {
if (typeof(fui) == "string") {
createLabel("fui", 8, val);
fui.styleName = this;
} else {
fui.text = val;
}
var _local4 = fui._getTextFormat();
var _local2 = _local4.getTextExtent2(val);
fui._width = _local2.width + 5;
fui._height = _local2.height + 5;
iconName = fui;
setView(__state);
}
function get emphasized() {
return(__emphasized);
}
function set emphasized(val) {
__emphasized = val;
var _local2 = 0;
while (_local2 < 8) {
this[idNames[_local2]] = stateNames[_local2] + "Skin";
if (typeof(this[idNames[_local2 + 8]]) == "movieclip") {
this[idNames[_local2 + 8]] = stateNames[_local2] + "Icon";
}
_local2++;
}
showEmphasized(__emphasized);
setStateVar(__state);
invalidateStyle();
//return(emphasized);
}
function keyDown(e) {
if (e.code == 32) {
onPress();
}
}
function keyUp(e) {
if (e.code == 32) {
onRelease();
}
}
function onKillFocus(newFocus) {
super.onKillFocus();
if (phase != "up") {
phase = "up";
refresh();
}
}
static var symbolName = "SimpleButton";
static var symbolOwner = mx.controls.SimpleButton;
static var version = "2.0.2.126";
var className = "SimpleButton";
var style3dInset = 4;
var btnOffset = 1;
var __toggle = false;
var __state = false;
var __emphasized = false;
var __emphatic = false;
static var falseUp = 0;
static var falseDown = 1;
static var falseOver = 2;
static var falseDisabled = 3;
static var trueUp = 4;
static var trueDown = 5;
static var trueOver = 6;
static var trueDisabled = 7;
var falseUpSkin = "SimpleButtonUp";
var falseDownSkin = "SimpleButtonIn";
var falseOverSkin = "";
var falseDisabledSkin = "SimpleButtonUp";
var trueUpSkin = "SimpleButtonIn";
var trueDownSkin = "";
var trueOverSkin = "";
var trueDisabledSkin = "SimpleButtonIn";
var falseUpIcon = "";
var falseDownIcon = "";
var falseOverIcon = "";
var falseDisabledIcon = "";
var trueUpIcon = "";
var trueDownIcon = "";
var trueOverIcon = "";
var trueDisabledIcon = "";
var phase = "up";
var fui = "falseUpIcon";
var fus = "falseUpSkin";
var fdi = "falseDownIcon";
var fds = "falseDownSkin";
var frs = "falseOverSkin";
var fri = "falseOverIcon";
var dfi = "falseDisabledIcon";
var dfs = "falseDisabledSkin";
var tui = "trueUpIcon";
var tus = "trueUpSkin";
var tdi = "trueDownIcon";
var tds = "trueDownSkin";
var trs = "trueOverSkin";
var tri = "trueOverIcon";
var dts = "trueDisabledSkin";
var dti = "trueDisabledIcon";
var rolloverSkin = mx.controls.SimpleButton.prototype.frs;
var rolloverIcon = mx.controls.SimpleButton.prototype.fri;
var upSkin = mx.controls.SimpleButton.prototype.fus;
var downSkin = mx.controls.SimpleButton.prototype.fds;
var disabledSkin = mx.controls.SimpleButton.prototype.dfs;
var upIcon = mx.controls.SimpleButton.prototype.fui;
var downIcon = mx.controls.SimpleButton.prototype.fdi;
var disabledIcon = mx.controls.SimpleButton.prototype.dfi;
var initializing = true;
var idNames = ["fus", "fds", "frs", "dfs", "tus", "tds", "trs", "dts", "fui", "fdi", "fri", "dfi", "tui", "tdi", "tri", "dti"];
var stateNames = ["falseUp", "falseDown", "falseOver", "falseDisabled", "trueUp", "trueDown", "trueOver", "trueDisabled"];
var refNames = ["upSkin", "downSkin", "rolloverSkin", "disabledSkin"];
var tagMap = {falseUpSkin:0, falseDownSkin:1, falseOverSkin:2, falseDisabledSkin:3, trueUpSkin:4, trueDownSkin:5, trueOverSkin:6, trueDisabledSkin:7, falseUpIcon:0, falseDownIcon:1, falseOverIcon:2, falseDisabledIcon:3, trueUpIcon:4, trueDownIcon:5, trueOverIcon:6, trueDisabledIcon:7};
}
Symbol 193 MovieClip [__Packages.mx.controls.scrollClasses.ScrollBar] Frame 0
class mx.controls.scrollClasses.ScrollBar extends mx.core.UIComponent
{
var isScrolling, scrollTrack_mc, scrollThumb_mc, __height, tabEnabled, focusEnabled, boundingBox_mc, setSkin, upArrow_mc, _minHeight, _minWidth, downArrow_mc, createObject, createClassObject, enabled, _height, dispatchEvent, minMode, maxMode, plusMode, minusMode, _parent, getStyle, scrolling, _ymouse;
function ScrollBar () {
super();
}
function get scrollPosition() {
return(_scrollPosition);
}
function set scrollPosition(pos) {
_scrollPosition = pos;
if (isScrolling != true) {
pos = Math.min(pos, maxPos);
pos = Math.max(pos, minPos);
var _local3 = (((pos - minPos) * (scrollTrack_mc.height - scrollThumb_mc._height)) / (maxPos - minPos)) + scrollTrack_mc.top;
scrollThumb_mc.move(0, _local3);
}
//return(scrollPosition);
}
function get pageScrollSize() {
return(largeScroll);
}
function set pageScrollSize(lScroll) {
largeScroll = lScroll;
//return(pageScrollSize);
}
function set lineScrollSize(sScroll) {
smallScroll = sScroll;
//return(lineScrollSize);
}
function get lineScrollSize() {
return(smallScroll);
}
function get virtualHeight() {
return(__height);
}
function init(Void) {
super.init();
_scrollPosition = 0;
tabEnabled = false;
focusEnabled = false;
boundingBox_mc._visible = false;
boundingBox_mc._width = (boundingBox_mc._height = 0);
}
function createChildren(Void) {
if (scrollTrack_mc == undefined) {
setSkin(skinIDTrack, scrollTrackName);
}
scrollTrack_mc.visible = false;
var _local3 = new Object();
_local3.enabled = false;
_local3.preset = mx.controls.SimpleButton.falseDisabled;
_local3.initProperties = 0;
_local3.autoRepeat = true;
_local3.tabEnabled = false;
var _local2;
if (upArrow_mc == undefined) {
_local2 = createButton(upArrowName, "upArrow_mc", skinIDUpArrow, _local3);
}
_local2.buttonDownHandler = onUpArrow;
_local2.clickHandler = onScrollChanged;
_minHeight = _local2.height;
_minWidth = _local2.width;
if (downArrow_mc == undefined) {
_local2 = createButton(downArrowName, "downArrow_mc", skinIDDownArrow, _local3);
}
_local2.buttonDownHandler = onDownArrow;
_local2.clickHandler = onScrollChanged;
_minHeight = _minHeight + _local2.height;
}
function createButton(linkageName, id, skinID, o) {
if (skinID == skinIDUpArrow) {
o.falseUpSkin = upArrowUpName;
o.falseDownSkin = upArrowDownName;
o.falseOverSkin = upArrowOverName;
} else {
o.falseUpSkin = downArrowUpName;
o.falseDownSkin = downArrowDownName;
o.falseOverSkin = downArrowOverName;
}
var _local3 = createObject(linkageName, id, skinID, o);
this[id].visible = false;
this[id].useHandCursor = false;
return(_local3);
}
function createThumb(Void) {
var _local2 = new Object();
_local2.validateNow = true;
_local2.tabEnabled = false;
_local2.leftSkin = thumbTopName;
_local2.middleSkin = thumbMiddleName;
_local2.rightSkin = thumbBottomName;
_local2.gripSkin = thumbGripName;
createClassObject(mx.controls.scrollClasses.ScrollThumb, "scrollThumb_mc", skinIDThumb, _local2);
}
function setScrollProperties(pSize, mnPos, mxPos, ls) {
var _local4;
var _local2 = scrollTrack_mc;
pageSize = pSize;
largeScroll = (((ls != undefined) && (ls > 0)) ? (ls) : (pSize));
minPos = Math.max(mnPos, 0);
maxPos = Math.max(mxPos, 0);
_scrollPosition = Math.max(minPos, _scrollPosition);
_scrollPosition = Math.min(maxPos, _scrollPosition);
if (((maxPos - minPos) > 0) && (enabled)) {
var _local5 = _scrollPosition;
if (!initializing) {
upArrow_mc.enabled = true;
downArrow_mc.enabled = true;
}
_local2.onPress = (_local2.onDragOver = startTrackScroller);
_local2.onRelease = releaseScrolling;
_local2.onDragOut = (_local2.stopScrolling = stopScrolling);
_local2.onReleaseOutside = releaseScrolling;
_local2.useHandCursor = false;
if (scrollThumb_mc == undefined) {
createThumb();
}
var _local3 = scrollThumb_mc;
if (scrollTrackOverName.length > 0) {
_local2.onRollOver = trackOver;
_local2.onRollOut = trackOut;
}
_local4 = (pageSize / ((maxPos - minPos) + pageSize)) * _local2.height;
if (_local4 < _local3.minHeight) {
if (_local2.height < _local3.minHeight) {
_local3.__set__visible(false);
} else {
_local4 = _local3.minHeight;
_local3.__set__visible(true);
_local3.setSize(_minWidth, _local3.minHeight + 0);
}
} else {
_local3.__set__visible(true);
_local3.setSize(_minWidth, _local4);
}
_local3.setRange(upArrow_mc.__get__height() + 0, (virtualHeight - downArrow_mc.__get__height()) - _local3.__get__height(), minPos, maxPos);
_local5 = Math.min(_local5, maxPos);
scrollPosition = (Math.max(_local5, minPos));
} else {
scrollThumb_mc.__set__visible(false);
if (!initializing) {
upArrow_mc.enabled = false;
downArrow_mc.enabled = false;
}
delete _local2.onPress;
delete _local2.onDragOver;
delete _local2.onRelease;
delete _local2.onDragOut;
delete _local2.onRollOver;
delete _local2.onRollOut;
delete _local2.onReleaseOutside;
}
if (initializing) {
scrollThumb_mc.__set__visible(false);
}
}
function setEnabled(enabledFlag) {
super.setEnabled(enabledFlag);
setScrollProperties(pageSize, minPos, maxPos, largeScroll);
}
function draw(Void) {
if (initializing) {
initializing = false;
scrollTrack_mc.visible = true;
upArrow_mc.__set__visible(true);
downArrow_mc.__set__visible(true);
}
size();
}
function size(Void) {
if (_height == 1) {
return(undefined);
}
if (upArrow_mc == undefined) {
return(undefined);
}
var _local3 = upArrow_mc.__get__height();
var _local2 = downArrow_mc.__get__height();
upArrow_mc.move(0, 0);
var _local4 = scrollTrack_mc;
_local4._y = _local3;
_local4._height = (virtualHeight - _local3) - _local2;
downArrow_mc.move(0, virtualHeight - _local2);
setScrollProperties(pageSize, minPos, maxPos, largeScroll);
}
function dispatchScrollEvent(detail) {
dispatchEvent({type:"scroll", detail:detail});
}
function isScrollBarKey(k) {
if (k == 36) {
if (scrollPosition != 0) {
scrollPosition = (0);
dispatchScrollEvent(minMode);
}
return(true);
}
if (k == 35) {
if (scrollPosition < maxPos) {
scrollPosition = (maxPos);
dispatchScrollEvent(maxMode);
}
return(true);
}
return(false);
}
function scrollIt(inc, mode) {
var _local3 = smallScroll;
if (inc != "Line") {
_local3 = ((largeScroll == 0) ? (pageSize) : (largeScroll));
}
var _local2 = _scrollPosition + (mode * _local3);
if (_local2 > maxPos) {
_local2 = maxPos;
} else if (_local2 < minPos) {
_local2 = minPos;
}
if (scrollPosition != _local2) {
scrollPosition = (_local2);
var _local4 = ((mode < 0) ? (minusMode) : (plusMode));
dispatchScrollEvent(inc + _local4);
}
}
function startTrackScroller(Void) {
_parent.pressFocus();
if (_parent.scrollTrackDownName.length > 0) {
if (_parent.scrollTrackDown_mc == undefined) {
_parent.setSkin(skinIDTrackDown, scrollTrackDownName);
} else {
_parent.scrollTrackDown_mc.visible = true;
}
}
_parent.trackScroller();
_parent.scrolling = setInterval(_parent, "scrollInterval", getStyle("repeatDelay"), "Page", -1);
}
function scrollInterval(inc, mode) {
clearInterval(scrolling);
if (inc == "Page") {
trackScroller();
} else {
scrollIt(inc, mode);
}
scrolling = setInterval(this, "scrollInterval", getStyle("repeatInterval"), inc, mode);
}
function trackScroller(Void) {
if ((scrollThumb_mc._y + scrollThumb_mc.__get__height()) < _ymouse) {
scrollIt("Page", 1);
} else if (scrollThumb_mc._y > _ymouse) {
scrollIt("Page", -1);
}
}
function dispatchScrollChangedEvent(Void) {
dispatchEvent({type:"scrollChanged"});
}
function stopScrolling(Void) {
clearInterval(_parent.scrolling);
_parent.scrollTrackDown_mc.visible = false;
}
function releaseScrolling(Void) {
_parent.releaseFocus();
stopScrolling();
_parent.dispatchScrollChangedEvent();
}
function trackOver(Void) {
if (_parent.scrollTrackOverName.length > 0) {
if (_parent.scrollTrackOver_mc == undefined) {
_parent.setSkin(skinIDTrackOver, scrollTrackOverName);
} else {
_parent.scrollTrackOver_mc.visible = true;
}
}
}
function trackOut(Void) {
_parent.scrollTrackOver_mc.visible = false;
}
function onUpArrow(Void) {
_parent.scrollIt("Line", -1);
}
function onDownArrow(Void) {
_parent.scrollIt("Line", 1);
}
function onScrollChanged(Void) {
_parent.dispatchScrollChangedEvent();
}
static var symbolOwner = mx.core.UIComponent;
var className = "ScrollBar";
var minPos = 0;
var maxPos = 0;
var pageSize = 0;
var largeScroll = 0;
var smallScroll = 1;
var _scrollPosition = 0;
var scrollTrackName = "ScrollTrack";
var scrollTrackOverName = "";
var scrollTrackDownName = "";
var upArrowName = "BtnUpArrow";
var upArrowUpName = "ScrollUpArrowUp";
var upArrowOverName = "ScrollUpArrowOver";
var upArrowDownName = "ScrollUpArrowDown";
var downArrowName = "BtnDownArrow";
var downArrowUpName = "ScrollDownArrowUp";
var downArrowOverName = "ScrollDownArrowOver";
var downArrowDownName = "ScrollDownArrowDown";
var thumbTopName = "ScrollThumbTopUp";
var thumbMiddleName = "ScrollThumbMiddleUp";
var thumbBottomName = "ScrollThumbBottomUp";
var thumbGripName = "ScrollThumbGripUp";
static var skinIDTrack = 0;
static var skinIDTrackOver = 1;
static var skinIDTrackDown = 2;
static var skinIDUpArrow = 3;
static var skinIDDownArrow = 4;
static var skinIDThumb = 5;
var idNames = new Array("scrollTrack_mc", "scrollTrackOver_mc", "scrollTrackDown_mc", "upArrow_mc", "downArrow_mc");
var clipParameters = {minPos:1, maxPos:1, pageSize:1, scrollPosition:1, lineScrollSize:1, pageScrollSize:1, visible:1, enabled:1};
static var mergedClipParameters = mx.core.UIObject.mergeClipParameters(mx.controls.scrollClasses.ScrollBar.prototype.clipParameters, mx.core.UIComponent.prototype.clipParameters);
var initializing = true;
}
Symbol 194 MovieClip [__Packages.mx.controls.HScrollBar] Frame 0
class mx.controls.HScrollBar extends mx.controls.scrollClasses.ScrollBar
{
var _minHeight, _minWidth, _xscale, _rotation, __width, scrollIt;
function HScrollBar () {
super();
}
function getMinWidth(Void) {
return(_minHeight);
}
function getMinHeight(Void) {
return(_minWidth);
}
function init(Void) {
super.init();
_xscale = -100;
_rotation = -90;
}
function get virtualHeight() {
return(__width);
}
function isScrollBarKey(k) {
if (k == 37) {
scrollIt("Line", -1);
return(true);
}
if (k == 39) {
scrollIt("Line", 1);
return(true);
}
return(super.isScrollBarKey(k));
}
static var symbolName = "HScrollBar";
static var symbolOwner = mx.core.UIComponent;
static var version = "2.0.2.126";
var className = "HScrollBar";
var minusMode = "Left";
var plusMode = "Right";
var minMode = "AtLeft";
var maxMode = "AtRight";
}
Symbol 195 MovieClip [__Packages.mx.controls.Button] Frame 0
class mx.controls.Button extends mx.controls.SimpleButton
{
var initializing, labelPath, initIcon, getState, enabled, phase, idNames, __width, __height, setState, invalidate, iconName, refresh, createLabel, _iconLinkageName, removeIcons, hitArea_mc, createEmptyObject;
function Button () {
super();
}
function init(Void) {
super.init();
}
function draw() {
if (initializing) {
labelPath.visible = true;
}
super.draw();
if (initIcon != undefined) {
_setIcon(initIcon);
}
delete initIcon;
}
function onRelease(Void) {
super.onRelease();
}
function createChildren(Void) {
super.createChildren();
}
function setSkin(tag, linkageName, initobj) {
return(super.setSkin(tag, linkageName, initobj));
}
function viewSkin(varName) {
var _local3 = (getState() ? "true" : "false");
_local3 = _local3 + (enabled ? (phase) : "disabled");
super.viewSkin(varName, {styleName:this, borderStyle:_local3});
}
function invalidateStyle(c) {
labelPath.invalidateStyle(c);
super.invalidateStyle(c);
}
function setColor(c) {
var _local2 = 0;
while (_local2 < 8) {
this[idNames[_local2]].redraw(true);
_local2++;
}
}
function setEnabled(enable) {
labelPath.enabled = enable;
super.setEnabled(enable);
}
function calcSize(tag, ref) {
if ((__width == undefined) || (__height == undefined)) {
return(undefined);
}
if (tag < 7) {
ref.setSize(__width, __height, true);
}
}
function size(Void) {
setState(getState());
setHitArea(__width, __height);
var _local3 = 0;
while (_local3 < 8) {
var _local4 = idNames[_local3];
if (typeof(this[_local4]) == "movieclip") {
this[_local4].setSize(__width, __height, true);
}
_local3++;
}
super.size();
}
function set labelPlacement(val) {
__labelPlacement = val;
invalidate();
//return(labelPlacement);
}
function get labelPlacement() {
return(__labelPlacement);
}
function getLabelPlacement(Void) {
return(__labelPlacement);
}
function setLabelPlacement(val) {
__labelPlacement = val;
invalidate();
}
function getBtnOffset(Void) {
if (getState()) {
var _local2 = btnOffset;
} else if (phase == "down") {
var _local2 = btnOffset;
} else {
var _local2 = 0;
}
return(_local2);
}
function setView(offset) {
var _local16 = (offset ? (btnOffset) : 0);
var _local12 = getLabelPlacement();
var _local7 = 0;
var _local6 = 0;
var _local9 = 0;
var _local8 = 0;
var _local5 = 0;
var _local4 = 0;
var _local3 = labelPath;
var _local2 = iconName;
var _local15 = _local3.textWidth;
var _local14 = _local3.textHeight;
var _local10 = (__width - borderW) - borderW;
var _local11 = (__height - borderW) - borderW;
if (_local2 != undefined) {
_local7 = _local2._width;
_local6 = _local2._height;
}
if ((_local12 == "left") || (_local12 == "right")) {
if (_local3 != undefined) {
_local9 = Math.min(_local10 - _local7, _local15 + 5);
_local3._width = _local9;
_local8 = Math.min(_local11, _local14 + 5);
_local3._height = _local8;
}
if (_local12 == "right") {
_local5 = _local7;
if (centerContent) {
_local5 = _local5 + (((_local10 - _local9) - _local7) / 2);
}
_local2._x = _local5 - _local7;
} else {
_local5 = (_local10 - _local9) - _local7;
if (centerContent) {
_local5 = _local5 / 2;
}
_local2._x = _local5 + _local9;
}
_local4 = 0;
_local2._y = _local4;
if (centerContent) {
_local2._y = (_local11 - _local6) / 2;
_local4 = (_local11 - _local8) / 2;
}
if (!centerContent) {
_local2._y = _local2._y + Math.max(0, (_local8 - _local6) / 2);
}
} else {
if (_local3 != undefined) {
_local9 = Math.min(_local10, _local15 + 5);
_local3._width = _local9;
_local8 = Math.min(_local11 - _local6, _local14 + 5);
_local3._height = _local8;
}
_local5 = (_local10 - _local9) / 2;
_local2._x = (_local10 - _local7) / 2;
if (_local12 == "top") {
_local4 = (_local11 - _local8) - _local6;
if (centerContent) {
_local4 = _local4 / 2;
}
_local2._y = _local4 + _local8;
} else {
_local4 = _local6;
if (centerContent) {
_local4 = _local4 + (((_local11 - _local8) - _local6) / 2);
}
_local2._y = _local4 - _local6;
}
}
var _local13 = borderW + _local16;
_local3._x = _local5 + _local13;
_local3._y = _local4 + _local13;
_local2._x = _local2._x + _local13;
_local2._y = _local2._y + _local13;
}
function set label(lbl) {
setLabel(lbl);
//return(label);
}
function setLabel(label) {
if (label == "") {
labelPath.removeTextField();
refresh();
return(undefined);
}
if (labelPath == undefined) {
var _local2 = createLabel("labelPath", 200, label);
_local2._width = _local2.textWidth + 5;
_local2._height = _local2.textHeight + 5;
if (initializing) {
_local2.visible = false;
}
} else {
delete labelPath.__text;
labelPath.text = label;
refresh();
}
}
function getLabel(Void) {
return(((labelPath.__text != undefined) ? (labelPath.__text) : (labelPath.text)));
}
function get label() {
return(getLabel());
}
function _getIcon(Void) {
return(_iconLinkageName);
}
function get icon() {
if (initializing) {
return(initIcon);
}
return(_iconLinkageName);
}
function _setIcon(linkage) {
if (initializing) {
if (linkage == "") {
return(undefined);
}
initIcon = linkage;
} else {
if (linkage == "") {
removeIcons();
return(undefined);
}
super.changeIcon(0, linkage);
super.changeIcon(1, linkage);
super.changeIcon(3, linkage);
super.changeIcon(4, linkage);
super.changeIcon(5, linkage);
_iconLinkageName = linkage;
refresh();
}
}
function set icon(linkage) {
_setIcon(linkage);
//return(icon);
}
function setHitArea(w, h) {
if (hitArea_mc == undefined) {
createEmptyObject("hitArea_mc", 100);
}
var _local2 = hitArea_mc;
_local2.clear();
_local2.beginFill(16711680);
_local2.drawRect(0, 0, w, h);
_local2.endFill();
_local2.setVisible(false);
}
static var symbolName = "Button";
static var symbolOwner = mx.controls.Button;
var className = "Button";
static var version = "2.0.2.126";
var btnOffset = 0;
var _color = "buttonColor";
var __label = "default value";
var __labelPlacement = "right";
var falseUpSkin = "ButtonSkin";
var falseDownSkin = "ButtonSkin";
var falseOverSkin = "ButtonSkin";
var falseDisabledSkin = "ButtonSkin";
var trueUpSkin = "ButtonSkin";
var trueDownSkin = "ButtonSkin";
var trueOverSkin = "ButtonSkin";
var trueDisabledSkin = "ButtonSkin";
var falseUpIcon = "";
var falseDownIcon = "";
var falseOverIcon = "";
var falseDisabledIcon = "";
var trueUpIcon = "";
var trueDownIcon = "";
var trueOverIcon = "";
var trueDisabledIcon = "";
var clipParameters = {labelPlacement:1, icon:1, toggle:1, selected:1, label:1};
static var mergedClipParameters = mx.core.UIObject.mergeClipParameters(mx.controls.Button.prototype.clipParameters, mx.controls.SimpleButton.prototype.clipParameters);
var centerContent = true;
var borderW = 1;
}
Symbol 196 MovieClip [__Packages.mx.skins.ColoredSkinElement] Frame 0
class mx.skins.ColoredSkinElement
{
var getStyle, _color, onEnterFrame;
function ColoredSkinElement () {
}
function setColor(c) {
if (c != undefined) {
var _local2 = new Color(this);
_local2.setRGB(c);
}
}
function draw(Void) {
setColor(getStyle(_color));
onEnterFrame = undefined;
}
function invalidateStyle(Void) {
onEnterFrame = draw;
}
static function setColorStyle(p, colorStyle) {
if (p._color == undefined) {
p._color = colorStyle;
}
p.setColor = mixins.setColor;
p.invalidateStyle = mixins.invalidateStyle;
p.draw = mixins.draw;
p.setColor(p.getStyle(colorStyle));
}
static var mixins = new mx.skins.ColoredSkinElement();
}
Symbol 197 MovieClip [__Packages.mx.core.ext.UIObjectExtensions] Frame 0
class mx.core.ext.UIObjectExtensions
{
function UIObjectExtensions () {
}
static function addGeometry(tf, ui) {
tf.addProperty("width", ui.__get__width, null);
tf.addProperty("height", ui.__get__height, null);
tf.addProperty("left", ui.__get__left, null);
tf.addProperty("x", ui.__get__x, null);
tf.addProperty("top", ui.__get__top, null);
tf.addProperty("y", ui.__get__y, null);
tf.addProperty("right", ui.__get__right, null);
tf.addProperty("bottom", ui.__get__bottom, null);
tf.addProperty("visible", ui.__get__visible, ui.__set__visible);
}
static function Extensions() {
if (bExtended == true) {
return(true);
}
bExtended = true;
var _local6 = mx.core.UIObject.prototype;
var _local9 = mx.skins.SkinElement.prototype;
addGeometry(_local9, _local6);
mx.events.UIEventDispatcher.initialize(_local6);
var _local13 = mx.skins.ColoredSkinElement;
mx.styles.CSSTextStyles.addTextStyles(_local6);
var _local5 = MovieClip.prototype;
_local5.getTopLevel = _local6.getTopLevel;
_local5.createLabel = _local6.createLabel;
_local5.createObject = _local6.createObject;
_local5.createClassObject = _local6.createClassObject;
_local5.createEmptyObject = _local6.createEmptyObject;
_local5.destroyObject = _local6.destroyObject;
_global.ASSetPropFlags(_local5, "getTopLevel", 1);
_global.ASSetPropFlags(_local5, "createLabel", 1);
_global.ASSetPropFlags(_local5, "createObject", 1);
_global.ASSetPropFlags(_local5, "createClassObject", 1);
_global.ASSetPropFlags(_local5, "createEmptyObject", 1);
_global.ASSetPropFlags(_local5, "destroyObject", 1);
_local5.__getTextFormat = _local6.__getTextFormat;
_local5._getTextFormat = _local6._getTextFormat;
_local5.getStyleName = _local6.getStyleName;
_local5.getStyle = _local6.getStyle;
_global.ASSetPropFlags(_local5, "__getTextFormat", 1);
_global.ASSetPropFlags(_local5, "_getTextFormat", 1);
_global.ASSetPropFlags(_local5, "getStyleName", 1);
_global.ASSetPropFlags(_local5, "getStyle", 1);
var _local7 = TextField.prototype;
addGeometry(_local7, _local6);
_local7.addProperty("enabled", function () {
return(this.__enabled);
}, function (x) {
this.__enabled = x;
this.invalidateStyle();
});
_local7.move = _local9.move;
_local7.setSize = _local9.setSize;
_local7.invalidateStyle = function () {
this.invalidateFlag = true;
};
_local7.draw = function () {
if (this.invalidateFlag) {
this.invalidateFlag = false;
var _local2 = this._getTextFormat();
this.setTextFormat(_local2);
this.setNewTextFormat(_local2);
this.embedFonts = _local2.embedFonts == true;
if (this.__text != undefined) {
if (this.text == "") {
this.text = this.__text;
}
delete this.__text;
}
this._visible = true;
}
};
_local7.setColor = function (color) {
this.textColor = color;
};
_local7.getStyle = _local5.getStyle;
_local7.__getTextFormat = _local6.__getTextFormat;
_local7.setValue = function (v) {
this.text = v;
};
_local7.getValue = function () {
return(this.text);
};
_local7.addProperty("value", function () {
return(this.getValue());
}, function (v) {
this.setValue(v);
});
_local7._getTextFormat = function () {
var _local2 = this.stylecache.tf;
if (_local2 != undefined) {
return(_local2);
}
_local2 = new TextFormat();
this.__getTextFormat(_local2);
this.stylecache.tf = _local2;
if (this.__enabled == false) {
if (this.enabledColor == undefined) {
var _local4 = this.getTextFormat();
this.enabledColor = _local4.color;
}
var _local3 = this.getStyle("disabledColor");
_local2.color = _local3;
} else if (this.enabledColor != undefined) {
if (_local2.color == undefined) {
_local2.color = this.enabledColor;
}
}
return(_local2);
};
_local7.getPreferredWidth = function () {
this.draw();
return(this.textWidth + 4);
};
_local7.getPreferredHeight = function () {
this.draw();
return(this.textHeight + 4);
};
TextFormat.prototype.getTextExtent2 = function (s) {
var _local3 = _root._getTextExtent;
if (_local3 == undefined) {
_root.createTextField("_getTextExtent", -2, 0, 0, 1000, 100);
_local3 = _root._getTextExtent;
_local3._visible = false;
}
_root._getTextExtent.text = s;
var _local4 = this.align;
this.align = "left";
_root._getTextExtent.setTextFormat(this);
this.align = _local4;
return({width:_local3.textWidth, height:_local3.textHeight});
};
if (_global.style == undefined) {
_global.style = new mx.styles.CSSStyleDeclaration();
_global.cascadingStyles = true;
_global.styles = new Object();
_global.skinRegistry = new Object();
if (_global._origWidth == undefined) {
_global.origWidth = Stage.width;
_global.origHeight = Stage.height;
}
}
var _local4 = _root;
while (_local4._parent != undefined) {
_local4 = _local4._parent;
}
_local4.addProperty("width", function () {
return(Stage.width);
}, null);
_local4.addProperty("height", function () {
return(Stage.height);
}, null);
_global.ASSetPropFlags(_local4, "width", 1);
_global.ASSetPropFlags(_local4, "height", 1);
return(true);
}
static var bExtended = false;
static var UIObjectExtended = Extensions();
static var UIObjectDependency = mx.core.UIObject;
static var SkinElementDependency = mx.skins.SkinElement;
static var CSSTextStylesDependency = mx.styles.CSSTextStyles;
static var UIEventDispatcherDependency = mx.events.UIEventDispatcher;
}
Symbol 198 MovieClip [__Packages.mx.skins.halo.Defaults] Frame 0
class mx.skins.halo.Defaults
{
var beginGradientFill, beginFill, moveTo, lineTo, curveTo, endFill;
function Defaults () {
}
static function setThemeDefaults() {
var _local2 = _global.style;
_local2.themeColor = 8453965 /* 0x80FF4D */;
_local2.disabledColor = 8684164 /* 0x848284 */;
_local2.modalTransparency = 0;
_local2.filled = true;
_local2.stroked = true;
_local2.strokeWidth = 1;
_local2.strokeColor = 0;
_local2.fillColor = 16777215 /* 0xFFFFFF */;
_local2.repeatInterval = 35;
_local2.repeatDelay = 500;
_local2.fontFamily = "_sans";
_local2.fontSize = 12;
_local2.selectionColor = 13500353 /* 0xCDFFC1 */;
_local2.rollOverColor = 14942166 /* 0xE3FFD6 */;
_local2.useRollOver = true;
_local2.backgroundDisabledColor = 14540253 /* 0xDDDDDD */;
_local2.selectionDisabledColor = 14540253 /* 0xDDDDDD */;
_local2.selectionDuration = 200;
_local2.openDuration = 250;
_local2.borderStyle = "inset";
_local2.color = 734012 /* 0x0B333C */;
_local2.textSelectedColor = 24371;
_local2.textRollOverColor = 2831164 /* 0x2B333C */;
_local2.textDisabledColor = 16777215 /* 0xFFFFFF */;
_local2.vGridLines = true;
_local2.hGridLines = false;
_local2.vGridLineColor = 6710886 /* 0x666666 */;
_local2.hGridLineColor = 6710886 /* 0x666666 */;
_local2.headerColor = 15395562 /* 0xEAEAEA */;
_local2.indentation = 17;
_local2.folderOpenIcon = "TreeFolderOpen";
_local2.folderClosedIcon = "TreeFolderClosed";
_local2.defaultLeafIcon = "TreeNodeIcon";
_local2.disclosureOpenIcon = "TreeDisclosureOpen";
_local2.disclosureClosedIcon = "TreeDisclosureClosed";
_local2.popupDuration = 150;
_local2.todayColor = 6710886 /* 0x666666 */;
_local2 = (_global.styles.ScrollSelectList = new mx.styles.CSSStyleDeclaration());
_local2.backgroundColor = 16777215 /* 0xFFFFFF */;
_local2.borderColor = 13290186 /* 0xCACACA */;
_local2.borderStyle = "inset";
_local2 = (_global.styles.ComboBox = new mx.styles.CSSStyleDeclaration());
_local2.borderStyle = "inset";
_local2 = (_global.styles.NumericStepper = new mx.styles.CSSStyleDeclaration());
_local2.textAlign = "center";
_local2 = (_global.styles.RectBorder = new mx.styles.CSSStyleDeclaration());
_local2.borderColor = 14015965 /* 0xD5DDDD */;
_local2.buttonColor = 7305079 /* 0x6F7777 */;
_local2.shadowColor = 15658734 /* 0xEEEEEE */;
_local2.highlightColor = 12897484 /* 0xC4CCCC */;
_local2.shadowCapColor = 14015965 /* 0xD5DDDD */;
_local2.borderCapColor = 9542041 /* 0x919999 */;
var _local4 = new Object();
_local4.borderColor = 16711680 /* 0xFF0000 */;
_local4.buttonColor = 16711680 /* 0xFF0000 */;
_local4.shadowColor = 16711680 /* 0xFF0000 */;
_local4.highlightColor = 16711680 /* 0xFF0000 */;
_local4.shadowCapColor = 16711680 /* 0xFF0000 */;
_local4.borderCapColor = 16711680 /* 0xFF0000 */;
mx.core.UIComponent.prototype.origBorderStyles = _local4;
var _local3;
_local3 = (_global.styles.TextInput = new mx.styles.CSSStyleDeclaration());
_local3.backgroundColor = 16777215 /* 0xFFFFFF */;
_local3.borderStyle = "inset";
_global.styles.TextArea = _global.styles.TextInput;
_local3 = (_global.styles.Window = new mx.styles.CSSStyleDeclaration());
_local3.borderStyle = "default";
_local3 = (_global.styles.windowStyles = new mx.styles.CSSStyleDeclaration());
_local3.fontWeight = "bold";
_local3 = (_global.styles.dataGridStyles = new mx.styles.CSSStyleDeclaration());
_local3.fontWeight = "bold";
_local3 = (_global.styles.Alert = new mx.styles.CSSStyleDeclaration());
_local3.borderStyle = "alert";
_local3 = (_global.styles.ScrollView = new mx.styles.CSSStyleDeclaration());
_local3.borderStyle = "inset";
_local3 = (_global.styles.View = new mx.styles.CSSStyleDeclaration());
_local3.borderStyle = "none";
_local3 = (_global.styles.ProgressBar = new mx.styles.CSSStyleDeclaration());
_local3.color = 11187123 /* 0xAAB3B3 */;
_local3.fontWeight = "bold";
_local3 = (_global.styles.AccordionHeader = new mx.styles.CSSStyleDeclaration());
_local3.fontWeight = "bold";
_local3.fontSize = "11";
_local3 = (_global.styles.Accordion = new mx.styles.CSSStyleDeclaration());
_local3.borderStyle = "solid";
_local3.backgroundColor = 16777215 /* 0xFFFFFF */;
_local3.borderColor = 9081738 /* 0x8A938A */;
_local3.headerHeight = 22;
_local3.marginLeft = (_local3.marginRight = (_local3.marginTop = (_local3.marginBottom = -1)));
_local3.verticalGap = -1;
_local3 = (_global.styles.DateChooser = new mx.styles.CSSStyleDeclaration());
_local3.borderColor = 9542041 /* 0x919999 */;
_local3.headerColor = 16777215 /* 0xFFFFFF */;
_local3 = (_global.styles.CalendarLayout = new mx.styles.CSSStyleDeclaration());
_local3.fontSize = 10;
_local3.textAlign = "right";
_local3.color = 2831164 /* 0x2B333C */;
_local3 = (_global.styles.WeekDayStyle = new mx.styles.CSSStyleDeclaration());
_local3.fontWeight = "bold";
_local3.fontSize = 11;
_local3.textAlign = "center";
_local3.color = 2831164 /* 0x2B333C */;
_local3 = (_global.styles.TodayStyle = new mx.styles.CSSStyleDeclaration());
_local3.color = 16777215 /* 0xFFFFFF */;
_local3 = (_global.styles.HeaderDateText = new mx.styles.CSSStyleDeclaration());
_local3.fontSize = 12;
_local3.fontWeight = "bold";
_local3.textAlign = "center";
}
function drawRoundRect(x, y, w, h, r, c, alpha, rot, gradient, ratios) {
if (typeof(r) == "object") {
var _local18 = r.br;
var _local16 = r.bl;
var _local15 = r.tl;
var _local10 = r.tr;
} else {
var _local10 = r;
var _local15 = _local10;
var _local16 = _local15;
var _local18 = _local16;
}
if (typeof(c) == "object") {
if (typeof(alpha) != "object") {
var _local9 = [alpha, alpha];
} else {
var _local9 = alpha;
}
if (ratios == undefined) {
ratios = [0, 255];
}
var _local14 = h * 0.7;
if (typeof(rot) != "object") {
var _local11 = {matrixType:"box", x:-_local14, y:_local14, w:w * 2, h:h * 4, r:rot * 0.0174532925199433 /* Math.PI/180 */};
} else {
var _local11 = rot;
}
if (gradient == "radial") {
beginGradientFill("radial", c, _local9, ratios, _local11);
} else {
beginGradientFill("linear", c, _local9, ratios, _local11);
}
} else if (c != undefined) {
beginFill(c, alpha);
}
r = _local18;
var _local13 = r - (r * 0.707106781186547);
var _local12 = r - (r * 0.414213562373095);
moveTo(x + w, (y + h) - r);
lineTo(x + w, (y + h) - r);
curveTo(x + w, (y + h) - _local12, (x + w) - _local13, (y + h) - _local13);
curveTo((x + w) - _local12, y + h, (x + w) - r, y + h);
r = _local16;
_local13 = r - (r * 0.707106781186547);
_local12 = r - (r * 0.414213562373095);
lineTo(x + r, y + h);
curveTo(x + _local12, y + h, x + _local13, (y + h) - _local13);
curveTo(x, (y + h) - _local12, x, (y + h) - r);
r = _local15;
_local13 = r - (r * 0.707106781186547);
_local12 = r - (r * 0.414213562373095);
lineTo(x, y + r);
curveTo(x, y + _local12, x + _local13, y + _local13);
curveTo(x + _local12, y, x + r, y);
r = _local10;
_local13 = r - (r * 0.707106781186547);
_local12 = r - (r * 0.414213562373095);
lineTo((x + w) - r, y);
curveTo((x + w) - _local12, y, (x + w) - _local13, y + _local13);
curveTo(x + w, y + _local12, x + w, y + r);
lineTo(x + w, (y + h) - r);
if (c != undefined) {
endFill();
}
}
static function classConstruct() {
mx.core.ext.UIObjectExtensions.Extensions();
setThemeDefaults();
mx.core.UIObject.prototype.drawRoundRect = mx.skins.halo.Defaults.prototype.drawRoundRect;
return(true);
}
static var classConstructed = classConstruct();
static var CSSStyleDeclarationDependency = mx.styles.CSSStyleDeclaration;
static var UIObjectExtensionsDependency = mx.core.ext.UIObjectExtensions;
static var UIObjectDependency = mx.core.UIObject;
}
Symbol 199 MovieClip [__Packages.mx.managers.SystemManager] Frame 0
class mx.managers.SystemManager
{
static var _xAddEventListener, addEventListener, __addEventListener, _xRemoveEventListener, removeEventListener, __removeEventListener, form, __screen, dispatchEvent;
function SystemManager () {
}
static function init(Void) {
if (_initialized == false) {
_initialized = true;
mx.events.EventDispatcher.initialize(mx.managers.SystemManager);
Mouse.addListener(mx.managers.SystemManager);
Stage.addListener(mx.managers.SystemManager);
_xAddEventListener = addEventListener;
addEventListener = __addEventListener;
_xRemoveEventListener = removeEventListener;
removeEventListener = __removeEventListener;
}
}
static function addFocusManager(f) {
form = f;
f.focusManager.activate();
}
static function removeFocusManager(f) {
}
static function onMouseDown(Void) {
var _local1 = form;
_local1.focusManager._onMouseDown();
}
static function onResize(Void) {
var _local7 = Stage.width;
var _local6 = Stage.height;
var _local9 = _global.origWidth;
var _local8 = _global.origHeight;
var _local3 = Stage.align;
var _local5 = (_local9 - _local7) / 2;
var _local4 = (_local8 - _local6) / 2;
if (_local3 == "T") {
_local4 = 0;
} else if (_local3 == "B") {
_local4 = _local8 - _local6;
} else if (_local3 == "L") {
_local5 = 0;
} else if (_local3 == "R") {
_local5 = _local9 - _local7;
} else if (_local3 == "LT") {
_local4 = 0;
_local5 = 0;
} else if (_local3 == "TR") {
_local4 = 0;
_local5 = _local9 - _local7;
} else if (_local3 == "LB") {
_local4 = _local8 - _local6;
_local5 = 0;
} else if (_local3 == "RB") {
_local4 = _local8 - _local6;
_local5 = _local9 - _local7;
}
if (__screen == undefined) {
__screen = new Object();
}
__screen.x = _local5;
__screen.y = _local4;
__screen.width = _local7;
__screen.height = _local6;
_root.focusManager.relocate();
dispatchEvent({type:"resize"});
}
static function get screen() {
init();
if (__screen == undefined) {
onResize();
}
return(__screen);
}
static var _initialized = false;
static var idleFrames = 0;
static var isMouseDown = false;
static var forms = new Array();
}
Symbol 200 MovieClip [__Packages.mx.managers.FocusManager] Frame 0
class mx.managers.FocusManager extends mx.core.UIComponent
{
var __defaultPushButton, defPushButton, form, move, tabEnabled, _width, _height, _x, _y, _alpha, _parent, tabCapture, watch, lastMouse, _visible, lastFocus, doLater, lastSelFocus, cancelAllDoLaters, _searchKey, _lastTarget, _firstNode, _nextIsNext, _nextNode, _lastx, _prevNode, _needPrev, _foundList, _prevObj, _nextObj, _firstObj, _lastObj, _lastNode, lastTabFocus, findFocusFromObject;
function FocusManager () {
super();
}
function get defaultPushButton() {
return(__defaultPushButton);
}
function set defaultPushButton(x) {
if (x != __defaultPushButton) {
__defaultPushButton.__set__emphasized(false);
__defaultPushButton = x;
defPushButton = x;
x.__set__emphasized(true);
}
//return(defaultPushButton);
}
function getMaxTabIndex(o) {
var _local3 = 0;
var _local6;
for (_local6 in o) {
var _local2 = o[_local6];
if (_local2._parent == o) {
if (_local2.tabIndex != undefined) {
if (_local2.tabIndex > _local3) {
_local3 = _local2.tabIndex;
}
}
if (_local2.tabChildren == true) {
var _local4 = getMaxTabIndex(_local2);
if (_local4 > _local3) {
_local3 = _local4;
}
}
}
}
return(_local3);
}
function getNextTabIndex(Void) {
return(getMaxTabIndex(form) + 1);
}
function get nextTabIndex() {
return(getNextTabIndex());
}
function relocate(Void) {
var _local2 = mx.managers.SystemManager.__get__screen();
move(_local2.x - 1, _local2.y - 1);
}
function init(Void) {
super.init();
tabEnabled = false;
_width = (_height = 1);
_x = (_y = -1);
_alpha = 0;
_parent.focusManager = this;
_parent.tabChildren = true;
_parent.tabEnabled = false;
form = _parent;
_parent.addEventListener("hide", this);
_parent.addEventListener("reveal", this);
mx.managers.SystemManager.init();
mx.managers.SystemManager.addFocusManager(form);
tabCapture.tabIndex = 0;
watch("enabled", enabledChanged);
Selection.addListener(this);
lastMouse = new Object();
_global.ASSetPropFlags(_parent, "focusManager", 1);
_global.ASSetPropFlags(_parent, "tabChildren", 1);
_global.ASSetPropFlags(_parent, "tabEnabled", 1);
}
function enabledChanged(id, oldValue, newValue) {
_visible = newValue;
return(newValue);
}
function activate(Void) {
Key.addListener(this);
activated = (_visible = true);
if (lastFocus != undefined) {
bNeedFocus = true;
if (!mx.managers.SystemManager.isMouseDown) {
doLater(this, "restoreFocus");
}
}
}
function deactivate(Void) {
Key.removeListener(this);
activated = (_visible = false);
var _local2 = getSelectionFocus();
var _local3 = getActualFocus(_local2);
if (isOurFocus(_local3)) {
lastSelFocus = _local2;
lastFocus = _local3;
}
cancelAllDoLaters();
}
function isOurFocus(o) {
if (o.focusManager == this) {
return(true);
}
while (o != undefined) {
if (o.focusManager != undefined) {
return(false);
}
if (o._parent == _parent) {
return(true);
}
o = o._parent;
}
return(false);
}
function onSetFocus(o, n) {
if (n == null) {
if (activated) {
bNeedFocus = true;
}
} else {
var _local2 = getFocus();
if (isOurFocus(_local2)) {
bNeedFocus = false;
lastFocus = _local2;
lastSelFocus = n;
}
}
}
function restoreFocus(Void) {
var _local2 = lastSelFocus.hscroll;
if (_local2 != undefined) {
var _local5 = lastSelFocus.scroll;
var _local4 = lastSelFocus.background;
}
lastFocus.setFocus();
var _local3 = Selection;
Selection.setSelection(_local3.lastBeginIndex, _local3.lastEndIndex);
if (_local2 != undefined) {
lastSelFocus.scroll = _local5;
lastSelFocus.hscroll = _local2;
lastSelFocus.background = _local4;
}
}
function onUnload(Void) {
mx.managers.SystemManager.removeFocusManager(form);
}
function setFocus(o) {
if (o == null) {
Selection.setFocus(null);
} else if (o.setFocus == undefined) {
Selection.setFocus(o);
} else {
o.setFocus();
}
}
function getActualFocus(o) {
var _local1 = o._parent;
while (_local1 != undefined) {
if (_local1.focusTextField != undefined) {
while (_local1.focusTextField != undefined) {
o = _local1;
_local1 = _local1._parent;
if (_local1 == undefined) {
return(undefined);
}
if (_local1.focusTextField == undefined) {
return(o);
}
}
}
if (_local1.tabEnabled != true) {
return(o);
}
o = _local1;
_local1 = o._parent;
}
return(undefined);
}
function getSelectionFocus() {
var m = Selection.getFocus();
var o = eval (m);
return(o);
}
function getFocus(Void) {
var _local2 = getSelectionFocus();
return(getActualFocus(_local2));
}
function walkTree(p, index, groupName, dir, lookup, firstChild) {
var _local5 = true;
var _local11;
for (_local11 in p) {
var _local2 = p[_local11];
if ((((_local2._parent == p) && (_local2.enabled != false)) && (_local2._visible != false)) && ((_local2.tabEnabled == true) || ((_local2.tabEnabled != false) && ((((((((_local2.onPress != undefined) || (_local2.onRelease != undefined)) || (_local2.onReleaseOutside != undefined)) || (_local2.onDragOut != undefined)) || (_local2.onDragOver != undefined)) || (_local2.onRollOver != undefined)) || (_local2.onRollOut != undefined)) || (_local2 instanceof TextField))))) {
if (_local2._searchKey == _searchKey) {
continue;
}
_local2._searchKey = _searchKey;
if (_local2 != _lastTarget) {
if (((_local2.groupName != undefined) || (groupName != undefined)) && (_local2.groupName == groupName)) {
continue;
}
if ((_local2 instanceof TextField) && (_local2.selectable == false)) {
continue;
}
if (_local5 || (((_local2.groupName != undefined) && (_local2.groupName == _firstNode.groupName)) && (_local2.selected == true))) {
if (firstChild) {
_firstNode = _local2;
firstChild = false;
}
}
if (_nextIsNext == true) {
if ((((_local2.groupName != undefined) && (_local2.groupName == _nextNode.groupName)) && (_local2.selected == true)) || ((_nextNode == undefined) && ((_local2.groupName == undefined) || ((_local2.groupName != undefined) && (_local2.groupName != groupName))))) {
_nextNode = _local2;
}
}
if ((_local2.groupName == undefined) || (groupName != _local2.groupName)) {
if (((_lastx.groupName != undefined) && (_local2.groupName == _lastx.groupName)) && (_lastx.selected == true)) {
} else {
_lastx = _local2;
}
}
} else {
_prevNode = _lastx;
_needPrev = false;
_nextIsNext = true;
}
if (_local2.tabIndex != undefined) {
if (_local2.tabIndex == index) {
if (_foundList[_local2._name] == undefined) {
if (_needPrev) {
_prevObj = _local2;
_needPrev = false;
}
_nextObj = _local2;
}
}
if (dir && (_local2.tabIndex > index)) {
if (((_nextObj == undefined) || ((_nextObj.tabIndex > _local2.tabIndex) && (((_local2.groupName == undefined) || (_nextObj.groupName == undefined)) || (_local2.groupName != _nextObj.groupName)))) || ((((_nextObj.groupName != undefined) && (_nextObj.groupName == _local2.groupName)) && (_nextObj.selected != true)) && ((_local2.selected == true) || (_nextObj.tabIndex > _local2.tabIndex)))) {
_nextObj = _local2;
}
} else if ((!dir) && (_local2.tabIndex < index)) {
if (((_prevObj == undefined) || ((_prevObj.tabIndex < _local2.tabIndex) && (((_local2.groupName == undefined) || (_prevObj.groupName == undefined)) || (_local2.groupName != _prevObj.groupName)))) || ((((_prevObj.groupName != undefined) && (_prevObj.groupName == _local2.groupName)) && (_prevObj.selected != true)) && ((_local2.selected == true) || (_prevObj.tabIndex < _local2.tabIndex)))) {
_prevObj = _local2;
}
}
if (((_firstObj == undefined) || ((_local2.tabIndex < _firstObj.tabIndex) && (((_local2.groupName == undefined) || (_firstObj.groupName == undefined)) || (_local2.groupName != _firstObj.groupName)))) || ((((_firstObj.groupName != undefined) && (_firstObj.groupName == _local2.groupName)) && (_firstObj.selected != true)) && ((_local2.selected == true) || (_local2.tabIndex < _firstObj.tabIndex)))) {
_firstObj = _local2;
}
if (((_lastObj == undefined) || ((_local2.tabIndex > _lastObj.tabIndex) && (((_local2.groupName == undefined) || (_lastObj.groupName == undefined)) || (_local2.groupName != _lastObj.groupName)))) || ((((_lastObj.groupName != undefined) && (_lastObj.groupName == _local2.groupName)) && (_lastObj.selected != true)) && ((_local2.selected == true) || (_local2.tabIndex > _lastObj.tabIndex)))) {
_lastObj = _local2;
}
}
if (_local2.tabChildren) {
getTabCandidateFromChildren(_local2, index, groupName, dir, _local5 && (firstChild));
}
_local5 = false;
} else if (((_local2._parent == p) && (_local2.tabChildren == true)) && (_local2._visible != false)) {
if (_local2 == _lastTarget) {
if (_local2._searchKey == _searchKey) {
continue;
}
_local2._searchKey = _searchKey;
if (_prevNode == undefined) {
var _local3 = _lastx;
var _local7 = false;
while (_local3 != undefined) {
if (_local3 == _local2) {
_local7 = true;
break;
}
_local3 = _local3._parent;
}
if (_local7 == false) {
_prevNode = _lastx;
}
}
_needPrev = false;
if (_nextNode == undefined) {
_nextIsNext = true;
}
} else if (!((_local2.focusManager != undefined) && (_local2.focusManager._parent == _local2))) {
if (_local2._searchKey == _searchKey) {
continue;
}
_local2._searchKey = _searchKey;
getTabCandidateFromChildren(_local2, index, groupName, dir, _local5 && (firstChild));
}
_local5 = false;
}
}
_lastNode = _lastx;
if (lookup) {
if (p._parent != undefined) {
if (p != _parent) {
if ((_prevNode == undefined) && (dir)) {
_needPrev = true;
} else if ((_nextNode == undefined) && (!dir)) {
_nextIsNext = false;
}
_lastTarget = _lastTarget._parent;
getTabCandidate(p._parent, index, groupName, dir, true);
}
}
}
}
function getTabCandidate(o, index, groupName, dir, firstChild) {
var _local2;
var _local3 = true;
if (o == _parent) {
_local2 = o;
_local3 = false;
} else {
_local2 = o._parent;
if (_local2 == undefined) {
_local2 = o;
_local3 = false;
}
}
walkTree(_local2, index, groupName, dir, _local3, firstChild);
}
function getTabCandidateFromChildren(o, index, groupName, dir, firstChild) {
walkTree(o, index, groupName, dir, false, firstChild);
}
function getFocusManagerFromObject(o) {
while (o != undefined) {
if (o.focusManager != undefined) {
return(o.focusManager);
}
o = o._parent;
}
return(undefined);
}
function tabHandler(Void) {
bDrawFocus = true;
var _local5 = getSelectionFocus();
var _local4 = getActualFocus(_local5);
if (_local4 != _local5) {
_local5 = _local4;
}
if (getFocusManagerFromObject(_local5) != this) {
_local5 == undefined;
}
if (_local5 == undefined) {
_local5 = form;
} else if (_local5.tabIndex != undefined) {
if ((_foundList != undefined) || (_foundList.tabIndex != _local5.tabIndex)) {
_foundList = new Object();
_foundList.tabIndex = _local5.tabIndex;
}
_foundList[_local5._name] = _local5;
}
var _local3 = Key.isDown(16) != true;
_searchKey = getTimer();
_needPrev = true;
_nextIsNext = false;
_lastx = undefined;
_firstNode = undefined;
_lastNode = undefined;
_nextNode = undefined;
_prevNode = undefined;
_firstObj = undefined;
_lastObj = undefined;
_nextObj = undefined;
_prevObj = undefined;
_lastTarget = _local5;
var _local6 = _local5;
getTabCandidate(_local6, ((_local5.tabIndex == undefined) ? 0 : (_local5.tabIndex)), _local5.groupName, _local3, true);
var _local2;
if (_local3) {
if (_nextObj != undefined) {
_local2 = _nextObj;
} else {
_local2 = _firstObj;
}
} else if (_prevObj != undefined) {
_local2 = _prevObj;
} else {
_local2 = _lastObj;
}
if (_local2.tabIndex != _local5.tabIndex) {
_foundList = new Object();
_foundList.tabIndex = _local2.tabIndex;
_foundList[_local2._name] = _local2;
} else {
if (_foundList == undefined) {
_foundList = new Object();
_foundList.tabIndex = _local2.tabIndex;
}
_foundList[_local2._name] = _local2;
}
if (_local2 == undefined) {
if (_local3 == false) {
if (_nextNode != undefined) {
_local2 = _nextNode;
} else {
_local2 = _firstNode;
}
} else if ((_prevNode == undefined) || (_local5 == form)) {
_local2 = _lastNode;
} else {
_local2 = _prevNode;
}
}
if (_local2 == undefined) {
return(undefined);
}
lastTabFocus = _local2;
setFocus(_local2);
if (_local2.emphasized != undefined) {
if (defPushButton != undefined) {
_local5 = defPushButton;
defPushButton = _local2;
_local5.emphasized = false;
_local2.emphasized = true;
}
} else if ((defPushButton != undefined) && (defPushButton != __defaultPushButton)) {
_local5 = defPushButton;
defPushButton = __defaultPushButton;
_local5.emphasized = false;
__defaultPushButton.__set__emphasized(true);
}
}
function onKeyDown(Void) {
mx.managers.SystemManager.idleFrames = 0;
if (defaultPushButtonEnabled) {
if (Key.getCode() == 13) {
if (defaultPushButton != undefined) {
doLater(this, "sendDefaultPushButtonEvent");
}
}
}
}
function sendDefaultPushButtonEvent(Void) {
defPushButton.dispatchEvent({type:"click"});
}
function getMousedComponentFromChildren(x, y, o) {
for (var _local7 in o) {
var _local2 = o[_local7];
if (((_local2._visible && (_local2.enabled)) && (_local2._parent == o)) && (_local2._searchKey != _searchKey)) {
_local2._searchKey = _searchKey;
if (_local2.hitTest(x, y, true)) {
if ((_local2.onPress != undefined) || (_local2.onRelease != undefined)) {
return(_local2);
}
var _local3 = getMousedComponentFromChildren(x, y, _local2);
if (_local3 != undefined) {
return(_local3);
}
return(_local2);
}
}
}
return(undefined);
}
function mouseActivate(Void) {
if (!bNeedFocus) {
return(undefined);
}
_searchKey = getTimer();
var _local2 = getMousedComponentFromChildren(lastMouse.x, lastMouse.y, form);
if (_local2 instanceof mx.core.UIComponent) {
return(undefined);
}
_local2 = findFocusFromObject(_local2);
if (_local2 == lastFocus) {
return(undefined);
}
if (_local2 == undefined) {
doLater(this, "restoreFocus");
return(undefined);
}
var _local3 = _local2.hscroll;
if (_local3 != undefined) {
var _local6 = _local2.scroll;
var _local5 = _local2.background;
}
setFocus(_local2);
var _local4 = Selection;
Selection.setSelection(_local4.lastBeginIndex, _local4.lastEndIndex);
if (_local3 != undefined) {
_local2.scroll = _local6;
_local2.hscroll = _local3;
_local2.background = _local5;
}
}
function _onMouseDown(Void) {
bDrawFocus = false;
if (lastFocus != undefined) {
lastFocus.drawFocus(false);
}
mx.managers.SystemManager.idleFrames = 0;
var _local3 = Selection;
_local3.lastBeginIndex = Selection.getBeginIndex();
_local3.lastEndIndex = Selection.getEndIndex();
lastMouse.x = _root._xmouse;
lastMouse.y = _root._ymouse;
_root.localToGlobal(lastMouse);
}
function onMouseUp(Void) {
if (_visible) {
doLater(this, "mouseActivate");
}
}
function handleEvent(e) {
if (e.type == "reveal") {
mx.managers.SystemManager.activate(form);
} else {
mx.managers.SystemManager.deactivate(form);
}
}
static function enableFocusManagement() {
if (!initialized) {
initialized = true;
Object.registerClass("FocusManager", mx.managers.FocusManager);
if (_root.focusManager == undefined) {
_root.createClassObject(mx.managers.FocusManager, "focusManager", mx.managers.DepthManager.highestDepth--);
}
}
}
static var symbolName = "FocusManager";
static var symbolOwner = mx.managers.FocusManager;
static var version = "2.0.2.126";
var className = "FocusManager";
var bNeedFocus = false;
var bDrawFocus = false;
var defaultPushButtonEnabled = true;
var activated = true;
static var initialized = false;
static var UIObjectExtensionsDependency = mx.core.ext.UIObjectExtensions;
}
Symbol 201 MovieClip [__Packages.mx.skins.halo.FocusRect] Frame 0
class mx.skins.halo.FocusRect extends mx.skins.SkinElement
{
var boundingBox_mc, _xscale, _yscale, clear, beginFill, drawRoundRect, endFill, _visible;
function FocusRect () {
super();
boundingBox_mc._visible = false;
boundingBox_mc._width = (boundingBox_mc._height = 0);
}
function draw(o) {
o.adjustFocusRect();
}
function setSize(w, h, r, a, rectCol) {
_xscale = (_yscale = 100);
clear();
if (typeof(r) == "object") {
r.br = ((r.br > 2) ? (r.br - 2) : 0);
r.bl = ((r.bl > 2) ? (r.bl - 2) : 0);
r.tr = ((r.tr > 2) ? (r.tr - 2) : 0);
r.tl = ((r.tl > 2) ? (r.tl - 2) : 0);
beginFill(rectCol, a * 0.3);
drawRoundRect(0, 0, w, h, r);
drawRoundRect(2, 2, w - 4, h - 4, r);
endFill();
r.br = ((r.br > 1) ? (r.br + 1) : 0);
r.bl = ((r.bl > 1) ? (r.bl + 1) : 0);
r.tr = ((r.tr > 1) ? (r.tr + 1) : 0);
r.tl = ((r.tl > 1) ? (r.tl + 1) : 0);
beginFill(rectCol, a * 0.3);
drawRoundRect(1, 1, w - 2, h - 2, r);
r.br = ((r.br > 1) ? (r.br - 1) : 0);
r.bl = ((r.bl > 1) ? (r.bl - 1) : 0);
r.tr = ((r.tr > 1) ? (r.tr - 1) : 0);
r.tl = ((r.tl > 1) ? (r.tl - 1) : 0);
drawRoundRect(2, 2, w - 4, h - 4, r);
endFill();
} else {
var _local5;
if (r != 0) {
_local5 = r - 2;
} else {
_local5 = 0;
}
beginFill(rectCol, a * 0.3);
drawRoundRect(0, 0, w, h, r);
drawRoundRect(2, 2, w - 4, h - 4, _local5);
endFill();
beginFill(rectCol, a * 0.3);
if (r != 0) {
_local5 = r - 2;
r = r - 1;
} else {
_local5 = 0;
r = 0;
}
drawRoundRect(1, 1, w - 2, h - 2, r);
drawRoundRect(2, 2, w - 4, h - 4, _local5);
endFill();
}
}
function handleEvent(e) {
if (e.type == "unload") {
_visible = true;
} else if (e.type == "resize") {
e.target.adjustFocusRect();
} else if (e.type == "move") {
e.target.adjustFocusRect();
}
}
static function classConstruct() {
mx.core.UIComponent.prototype.drawFocus = function (focused) {
var _local2 = this._parent.focus_mc;
if (!focused) {
_local2._visible = false;
this.removeEventListener("unload", _local2);
this.removeEventListener("move", _local2);
this.removeEventListener("resize", _local2);
} else {
if (_local2 == undefined) {
_local2 = this._parent.createChildAtDepth("FocusRect", mx.managers.DepthManager.kTop);
_local2.tabEnabled = false;
this._parent.focus_mc = _local2;
} else {
_local2._visible = true;
}
_local2.draw(this);
if (_local2.getDepth() < this.getDepth()) {
_local2.setDepthAbove(this);
}
this.addEventListener("unload", _local2);
this.addEventListener("move", _local2);
this.addEventListener("resize", _local2);
}
};
mx.core.UIComponent.prototype.adjustFocusRect = function () {
var _local2 = this.getStyle("themeColor");
if (_local2 == undefined) {
_local2 = 8453965 /* 0x80FF4D */;
}
var _local3 = this._parent.focus_mc;
_local3.setSize(this.width + 4, this.height + 4, 0, 100, _local2);
_local3.move(this.x - 2, this.y - 2);
};
TextField.prototype.drawFocus = mx.core.UIComponent.prototype.drawFocus;
TextField.prototype.adjustFocusRect = mx.core.UIComponent.prototype.adjustFocusRect;
mx.skins.halo.FocusRect.prototype.drawRoundRect = mx.skins.halo.Defaults.prototype.drawRoundRect;
return(true);
}
static var classConstructed = classConstruct();
static var DefaultsDependency = mx.skins.halo.Defaults;
static var UIComponentDependency = mx.core.UIComponent;
}
Symbol 202 MovieClip [__Packages.mx.managers.OverlappedWindows] Frame 0
class mx.managers.OverlappedWindows
{
function OverlappedWindows () {
}
static function checkIdle(Void) {
if (mx.managers.SystemManager.idleFrames > 10) {
mx.managers.SystemManager.dispatchEvent({type:"idle"});
} else {
mx.managers.SystemManager.idleFrames++;
}
}
static function __addEventListener(e, o, l) {
if (e == "idle") {
if (mx.managers.SystemManager.interval == undefined) {
mx.managers.SystemManager.interval = setInterval(mx.managers.SystemManager.checkIdle, 100);
}
}
mx.managers.SystemManager._xAddEventListener(e, o, l);
}
static function __removeEventListener(e, o, l) {
if (e == "idle") {
if (mx.managers.SystemManager._xRemoveEventListener(e, o, l) == 0) {
clearInterval(mx.managers.SystemManager.interval);
}
} else {
mx.managers.SystemManager._xRemoveEventListener(e, o, l);
}
}
static function onMouseDown(Void) {
mx.managers.SystemManager.idleFrames = 0;
mx.managers.SystemManager.isMouseDown = true;
var _local5 = _root;
var _local3;
var _local8 = _root._xmouse;
var _local7 = _root._ymouse;
if (mx.managers.SystemManager.form.modalWindow == undefined) {
if (mx.managers.SystemManager.forms.length > 1) {
var _local6 = mx.managers.SystemManager.forms.length;
var _local4;
_local4 = 0;
while (_local4 < _local6) {
var _local2 = mx.managers.SystemManager.forms[_local4];
if (_local2._visible) {
if (_local2.hitTest(_local8, _local7)) {
if (_local3 == undefined) {
_local3 = _local2.getDepth();
_local5 = _local2;
} else if (_local3 < _local2.getDepth()) {
_local3 = _local2.getDepth();
_local5 = _local2;
}
}
}
_local4++;
}
if (_local5 != mx.managers.SystemManager.form) {
mx.managers.SystemManager.activate(_local5);
}
}
}
var _local9 = mx.managers.SystemManager.form;
_local9.focusManager._onMouseDown();
}
static function onMouseMove(Void) {
mx.managers.SystemManager.idleFrames = 0;
}
static function onMouseUp(Void) {
mx.managers.SystemManager.isMouseDown = false;
mx.managers.SystemManager.idleFrames = 0;
}
static function activate(f) {
if (mx.managers.SystemManager.form != undefined) {
if ((mx.managers.SystemManager.form != f) && (mx.managers.SystemManager.forms.length > 1)) {
var _local1 = mx.managers.SystemManager.form;
_local1.focusManager.deactivate();
}
}
mx.managers.SystemManager.form = f;
f.focusManager.activate();
}
static function deactivate(f) {
if (mx.managers.SystemManager.form != undefined) {
if ((mx.managers.SystemManager.form == f) && (mx.managers.SystemManager.forms.length > 1)) {
var _local5 = mx.managers.SystemManager.form;
_local5.focusManager.deactivate();
var _local3 = mx.managers.SystemManager.forms.length;
var _local1;
var _local2;
_local1 = 0;
while (_local1 < _local3) {
if (mx.managers.SystemManager.forms[_local1] == f) {
_local1 = _local1 + 1;
while (_local1 < _local3) {
if (mx.managers.SystemManager.forms[_local1]._visible == true) {
_local2 = mx.managers.SystemManager.forms[_local1];
}
_local1++;
}
mx.managers.SystemManager.form = _local2;
break;
}
if (mx.managers.SystemManager.forms[_local1]._visible == true) {
_local2 = mx.managers.SystemManager.forms[_local1];
}
_local1++;
}
_local5 = mx.managers.SystemManager.form;
_local5.focusManager.activate();
}
}
}
static function addFocusManager(f) {
mx.managers.SystemManager.forms.push(f);
mx.managers.SystemManager.activate(f);
}
static function removeFocusManager(f) {
var _local3 = mx.managers.SystemManager.forms.length;
var _local1;
_local1 = 0;
while (_local1 < _local3) {
if (mx.managers.SystemManager.forms[_local1] == f) {
if (mx.managers.SystemManager.form == f) {
mx.managers.SystemManager.deactivate(f);
}
mx.managers.SystemManager.forms.splice(_local1, 1);
return(undefined);
}
_local1++;
}
}
static function enableOverlappedWindows() {
if (!initialized) {
initialized = true;
mx.managers.SystemManager.checkIdle = checkIdle;
mx.managers.SystemManager.__addEventListener = __addEventListener;
mx.managers.SystemManager.__removeEventListener = __removeEventListener;
mx.managers.SystemManager.onMouseDown = onMouseDown;
mx.managers.SystemManager.onMouseMove = onMouseMove;
mx.managers.SystemManager.onMouseUp = onMouseUp;
mx.managers.SystemManager.activate = activate;
mx.managers.SystemManager.deactivate = deactivate;
mx.managers.SystemManager.addFocusManager = addFocusManager;
mx.managers.SystemManager.removeFocusManager = removeFocusManager;
}
}
static var initialized = false;
static var SystemManagerDependency = mx.managers.SystemManager;
}
Symbol 203 MovieClip [__Packages.mx.styles.CSSSetStyle] Frame 0
class mx.styles.CSSSetStyle
{
var styleName, stylecache, _color, setColor, invalidateStyle;
function CSSSetStyle () {
}
function _setStyle(styleProp, newValue) {
this[styleProp] = newValue;
if (mx.styles.StyleManager.TextStyleMap[styleProp] != undefined) {
if (styleProp == "color") {
if (isNaN(newValue)) {
newValue = mx.styles.StyleManager.getColorName(newValue);
this[styleProp] = newValue;
if (newValue == undefined) {
return(undefined);
}
}
}
_level0.changeTextStyleInChildren(styleProp);
return(undefined);
}
if (mx.styles.StyleManager.isColorStyle(styleProp)) {
if (isNaN(newValue)) {
newValue = mx.styles.StyleManager.getColorName(newValue);
this[styleProp] = newValue;
if (newValue == undefined) {
return(undefined);
}
}
if (styleProp == "themeColor") {
var _local7 = mx.styles.StyleManager.colorNames.haloBlue;
var _local6 = mx.styles.StyleManager.colorNames.haloGreen;
var _local8 = mx.styles.StyleManager.colorNames.haloOrange;
var _local4 = {};
_local4[_local7] = 12188666 /* 0xB9FBFA */;
_local4[_local6] = 13500353 /* 0xCDFFC1 */;
_local4[_local8] = 16766319 /* 0xFFD56F */;
var _local5 = {};
_local5[_local7] = 13958653 /* 0xD4FDFD */;
_local5[_local6] = 14942166 /* 0xE3FFD6 */;
_local5[_local8] = 16772787 /* 0xFFEEB3 */;
var _local9 = _local4[newValue];
var _local10 = _local5[newValue];
if (_local9 == undefined) {
_local9 = newValue;
}
if (_local10 == undefined) {
_local10 = newValue;
}
setStyle("selectionColor", _local9);
setStyle("rollOverColor", _local10);
}
_level0.changeColorStyleInChildren(styleName, styleProp, newValue);
} else {
if ((styleProp == "backgroundColor") && (isNaN(newValue))) {
newValue = mx.styles.StyleManager.getColorName(newValue);
this[styleProp] = newValue;
if (newValue == undefined) {
return(undefined);
}
}
_level0.notifyStyleChangeInChildren(styleName, styleProp, newValue);
}
}
function changeTextStyleInChildren(styleProp) {
var _local4 = getTimer();
var _local5;
for (_local5 in this) {
var _local2 = this[_local5];
if (_local2._parent == this) {
if (_local2.searchKey != _local4) {
if (_local2.stylecache != undefined) {
delete _local2.stylecache.tf;
delete _local2.stylecache[styleProp];
}
_local2.invalidateStyle(styleProp);
_local2.changeTextStyleInChildren(styleProp);
_local2.searchKey = _local4;
}
}
}
}
function changeColorStyleInChildren(sheetName, colorStyle, newValue) {
var _local6 = getTimer();
var _local7;
for (_local7 in this) {
var _local2 = this[_local7];
if (_local2._parent == this) {
if (_local2.searchKey != _local6) {
if (((_local2.getStyleName() == sheetName) || (sheetName == undefined)) || (sheetName == "_global")) {
if (_local2.stylecache != undefined) {
delete _local2.stylecache[colorStyle];
}
if (typeof(_local2._color) == "string") {
if (_local2._color == colorStyle) {
var _local4 = _local2.getStyle(colorStyle);
if (colorStyle == "color") {
if (stylecache.tf.color != undefined) {
stylecache.tf.color = _local4;
}
}
_local2.setColor(_local4);
}
} else if (_local2._color[colorStyle] != undefined) {
if (typeof(_local2) != "movieclip") {
_local2._parent.invalidateStyle();
} else {
_local2.invalidateStyle(colorStyle);
}
}
}
_local2.changeColorStyleInChildren(sheetName, colorStyle, newValue);
_local2.searchKey = _local6;
}
}
}
}
function notifyStyleChangeInChildren(sheetName, styleProp, newValue) {
var _local5 = getTimer();
var _local6;
for (_local6 in this) {
var _local2 = this[_local6];
if (_local2._parent == this) {
if (_local2.searchKey != _local5) {
if (((_local2.styleName == sheetName) || ((_local2.styleName != undefined) && (typeof(_local2.styleName) == "movieclip"))) || (sheetName == undefined)) {
if (_local2.stylecache != undefined) {
delete _local2.stylecache[styleProp];
delete _local2.stylecache.tf;
}
delete _local2.enabledColor;
_local2.invalidateStyle(styleProp);
}
_local2.notifyStyleChangeInChildren(sheetName, styleProp, newValue);
_local2.searchKey = _local5;
}
}
}
}
function setStyle(styleProp, newValue) {
if (stylecache != undefined) {
delete stylecache[styleProp];
delete stylecache.tf;
}
this[styleProp] = newValue;
if (mx.styles.StyleManager.isColorStyle(styleProp)) {
if (isNaN(newValue)) {
newValue = mx.styles.StyleManager.getColorName(newValue);
this[styleProp] = newValue;
if (newValue == undefined) {
return(undefined);
}
}
if (styleProp == "themeColor") {
var _local10 = mx.styles.StyleManager.colorNames.haloBlue;
var _local9 = mx.styles.StyleManager.colorNames.haloGreen;
var _local11 = mx.styles.StyleManager.colorNames.haloOrange;
var _local6 = {};
_local6[_local10] = 12188666 /* 0xB9FBFA */;
_local6[_local9] = 13500353 /* 0xCDFFC1 */;
_local6[_local11] = 16766319 /* 0xFFD56F */;
var _local7 = {};
_local7[_local10] = 13958653 /* 0xD4FDFD */;
_local7[_local9] = 14942166 /* 0xE3FFD6 */;
_local7[_local11] = 16772787 /* 0xFFEEB3 */;
var _local12 = _local6[newValue];
var _local13 = _local7[newValue];
if (_local12 == undefined) {
_local12 = newValue;
}
if (_local13 == undefined) {
_local13 = newValue;
}
setStyle("selectionColor", _local12);
setStyle("rollOverColor", _local13);
}
if (typeof(_color) == "string") {
if (_color == styleProp) {
if (styleProp == "color") {
if (stylecache.tf.color != undefined) {
stylecache.tf.color = newValue;
}
}
setColor(newValue);
}
} else if (_color[styleProp] != undefined) {
invalidateStyle(styleProp);
}
changeColorStyleInChildren(undefined, styleProp, newValue);
} else {
if ((styleProp == "backgroundColor") && (isNaN(newValue))) {
newValue = mx.styles.StyleManager.getColorName(newValue);
this[styleProp] = newValue;
if (newValue == undefined) {
return(undefined);
}
}
invalidateStyle(styleProp);
}
if (mx.styles.StyleManager.isInheritingStyle(styleProp) || (styleProp == "styleName")) {
var _local8;
var _local5 = newValue;
if (styleProp == "styleName") {
_local8 = ((typeof(newValue) == "string") ? (_global.styles[newValue]) : (_local5));
_local5 = _local8.themeColor;
if (_local5 != undefined) {
_local8.rollOverColor = (_local8.selectionColor = _local5);
}
}
notifyStyleChangeInChildren(undefined, styleProp, newValue);
}
}
static function enableRunTimeCSS() {
}
static function classConstruct() {
var _local2 = MovieClip.prototype;
var _local3 = mx.styles.CSSSetStyle.prototype;
mx.styles.CSSStyleDeclaration.prototype.setStyle = _local3._setStyle;
_local2.changeTextStyleInChildren = _local3.changeTextStyleInChildren;
_local2.changeColorStyleInChildren = _local3.changeColorStyleInChildren;
_local2.notifyStyleChangeInChildren = _local3.notifyStyleChangeInChildren;
_local2.setStyle = _local3.setStyle;
_global.ASSetPropFlags(_local2, "changeTextStyleInChildren", 1);
_global.ASSetPropFlags(_local2, "changeColorStyleInChildren", 1);
_global.ASSetPropFlags(_local2, "notifyStyleChangeInChildren", 1);
_global.ASSetPropFlags(_local2, "setStyle", 1);
var _local4 = TextField.prototype;
_local4.setStyle = _local2.setStyle;
_local4.changeTextStyleInChildren = _local3.changeTextStyleInChildren;
return(true);
}
static var classConstructed = classConstruct();
static var CSSStyleDeclarationDependency = mx.styles.CSSStyleDeclaration;
}
Symbol 204 MovieClip [__Packages.mx.core.ext.UIComponentExtensions] Frame 0
class mx.core.ext.UIComponentExtensions
{
function UIComponentExtensions () {
}
static function Extensions() {
if (bExtended == true) {
return(true);
}
bExtended = true;
TextField.prototype.setFocus = function () {
Selection.setFocus(this);
};
TextField.prototype.onSetFocus = function (oldFocus) {
if (this.tabEnabled != false) {
if (this.getFocusManager().bDrawFocus) {
this.drawFocus(true);
}
}
};
TextField.prototype.onKillFocus = function (oldFocus) {
if (this.tabEnabled != false) {
this.drawFocus(false);
}
};
TextField.prototype.drawFocus = mx.core.UIComponent.prototype.drawFocus;
TextField.prototype.getFocusManager = mx.core.UIComponent.prototype.getFocusManager;
mx.managers.OverlappedWindows.enableOverlappedWindows();
mx.styles.CSSSetStyle.enableRunTimeCSS();
mx.managers.FocusManager.enableFocusManagement();
}
static var bExtended = false;
static var UIComponentExtended = Extensions();
static var UIComponentDependency = mx.core.UIComponent;
static var FocusManagerDependency = mx.managers.FocusManager;
static var OverlappedWindowsDependency = mx.managers.OverlappedWindows;
}
Symbol 205 MovieClip [__Packages.mx.skins.halo.RectBorder] Frame 0
class mx.skins.halo.RectBorder extends mx.skins.RectBorder
{
var offset, getStyle, borderStyleName, __borderMetrics, className, borderColorName, backgroundColorName, shadowColorName, highlightColorName, buttonColorName, __get__width, __get__height, clear, _color, drawRoundRect, beginFill, drawRect, endFill;
function RectBorder () {
super();
}
function init(Void) {
borderWidths.default = 3;
super.init();
}
function getBorderMetrics(Void) {
if (offset == undefined) {
var _local3 = getStyle(borderStyleName);
offset = borderWidths[_local3];
}
if ((getStyle(borderStyleName) == "default") || (getStyle(borderStyleName) == "alert")) {
__borderMetrics = {left:3, top:1, right:3, bottom:3};
return(__borderMetrics);
}
return(super.getBorderMetrics());
}
function drawBorder(Void) {
var _local6 = _global.styles[className];
if (_local6 == undefined) {
_local6 = _global.styles.RectBorder;
}
var _local5 = getStyle(borderStyleName);
var _local7 = getStyle(borderColorName);
if (_local7 == undefined) {
_local7 = _local6[borderColorName];
}
var _local8 = getStyle(backgroundColorName);
if (_local8 == undefined) {
_local8 = _local6[backgroundColorName];
}
var _local16 = getStyle("backgroundImage");
if (_local5 != "none") {
var _local14 = getStyle(shadowColorName);
if (_local14 == undefined) {
_local14 = _local6[shadowColorName];
}
var _local13 = getStyle(highlightColorName);
if (_local13 == undefined) {
_local13 = _local6[highlightColorName];
}
var _local12 = getStyle(buttonColorName);
if (_local12 == undefined) {
_local12 = _local6[buttonColorName];
}
var _local11 = getStyle(borderCapColorName);
if (_local11 == undefined) {
_local11 = _local6[borderCapColorName];
}
var _local10 = getStyle(shadowCapColorName);
if (_local10 == undefined) {
_local10 = _local6[shadowCapColorName];
}
}
offset = borderWidths[_local5];
var _local9 = offset;
var _local3 = __get__width();
var _local4 = __get__height();
clear();
_color = undefined;
if (_local5 == "none") {
} else if (_local5 == "inset") {
_color = colorList;
draw3dBorder(_local11, _local12, _local7, _local13, _local14, _local10);
} else if (_local5 == "outset") {
_color = colorList;
draw3dBorder(_local11, _local7, _local12, _local14, _local13, _local10);
} else if (_local5 == "alert") {
var _local15 = getStyle("themeColor");
drawRoundRect(0, 5, _local3, _local4 - 5, 5, 6184542, 10);
drawRoundRect(1, 4, _local3 - 2, _local4 - 5, 4, [6184542, 6184542], 10, 0, "radial");
drawRoundRect(2, 0, _local3 - 4, _local4 - 2, 3, [0, 14342874], 100, 0, "radial");
drawRoundRect(2, 0, _local3 - 4, _local4 - 2, 3, _local15, 50);
drawRoundRect(3, 1, _local3 - 6, _local4 - 4, 2, 16777215, 100);
} else if (_local5 == "default") {
drawRoundRect(0, 5, _local3, _local4 - 5, {tl:5, tr:5, br:0, bl:0}, 6184542, 10);
drawRoundRect(1, 4, _local3 - 2, _local4 - 5, {tl:4, tr:4, br:0, bl:0}, [6184542, 6184542], 10, 0, "radial");
drawRoundRect(2, 0, _local3 - 4, _local4 - 2, {tl:3, tr:3, br:0, bl:0}, [12897484, 11844796], 100, 0, "radial");
drawRoundRect(3, 1, _local3 - 6, _local4 - 4, {tl:2, tr:2, br:0, bl:0}, 16777215, 100);
} else if (_local5 == "dropDown") {
drawRoundRect(0, 0, _local3 + 1, _local4, {tl:4, tr:0, br:0, bl:4}, [13290186, 7895160], 100, -10, "linear");
drawRoundRect(1, 1, _local3 - 1, _local4 - 2, {tl:3, tr:0, br:0, bl:3}, 16777215, 100);
} else if (_local5 == "menuBorder") {
var _local15 = getStyle("themeColor");
drawRoundRect(4, 4, _local3 - 2, _local4 - 3, 0, [6184542, 6184542], 10, 0, "radial");
drawRoundRect(4, 4, _local3 - 1, _local4 - 2, 0, 6184542, 10);
drawRoundRect(0, 0, _local3 + 1, _local4, 0, [0, 14342874], 100, 250, "linear");
drawRoundRect(0, 0, _local3 + 1, _local4, 0, _local15, 50);
drawRoundRect(2, 2, _local3 - 3, _local4 - 4, 0, 16777215, 100);
} else if (_local5 == "comboNonEdit") {
} else {
beginFill(_local7);
drawRect(0, 0, _local3, _local4);
drawRect(1, 1, _local3 - 1, _local4 - 1);
endFill();
_color = borderColorName;
}
if (_local8 != undefined) {
beginFill(_local8);
drawRect(_local9, _local9, __get__width() - _local9, __get__height() - _local9);
endFill();
}
}
function draw3dBorder(c1, c2, c3, c4, c5, c6) {
var _local3 = __get__width();
var _local2 = __get__height();
beginFill(c1);
drawRect(0, 0, _local3, _local2);
drawRect(1, 0, _local3 - 1, _local2);
endFill();
beginFill(c2);
drawRect(1, 0, _local3 - 1, 1);
endFill();
beginFill(c3);
drawRect(1, _local2 - 1, _local3 - 1, _local2);
endFill();
beginFill(c4);
drawRect(1, 1, _local3 - 1, 2);
endFill();
beginFill(c5);
drawRect(1, _local2 - 2, _local3 - 1, _local2 - 1);
endFill();
beginFill(c6);
drawRect(1, 2, _local3 - 1, _local2 - 2);
drawRect(2, 2, _local3 - 2, _local2 - 2);
endFill();
}
static function classConstruct() {
mx.core.ext.UIObjectExtensions.Extensions();
_global.styles.rectBorderClass = mx.skins.halo.RectBorder;
_global.skinRegistry.RectBorder = true;
return(true);
}
static var symbolName = "RectBorder";
static var symbolOwner = mx.skins.halo.RectBorder;
static var version = "2.0.2.126";
var borderCapColorName = "borderCapColor";
var shadowCapColorName = "shadowCapColor";
var colorList = {highlightColor:0, borderColor:0, buttonColor:0, shadowColor:0, borderCapColor:0, shadowCapColor:0};
var borderWidths = {none:0, solid:1, inset:2, outset:2, alert:3, dropDown:2, menuBorder:2, comboNonEdit:2};
static var classConstructed = classConstruct();
static var UIObjectExtensionsDependency = mx.core.ext.UIObjectExtensions;
}
Symbol 206 MovieClip [__Packages.mx.skins.halo.ButtonSkin] Frame 0
class mx.skins.halo.ButtonSkin extends mx.skins.RectBorder
{
var __get__width, __get__height, getStyle, _parent, clear, drawRoundRect, __get__x, __get__y;
function ButtonSkin () {
super();
}
function init() {
super.init();
}
function size() {
drawHaloRect(__get__width(), __get__height());
}
function drawHaloRect(w, h) {
var _local6 = getStyle("borderStyle");
var _local4 = getStyle("themeColor");
var _local5 = _parent.emphasized;
clear();
switch (_local6) {
case "falseup" :
if (_local5) {
drawRoundRect(__get__x(), __get__y(), w, h, 5, 9542041, 100);
drawRoundRect(__get__x(), __get__y(), w, h, 5, _local4, 75);
drawRoundRect(__get__x() + 1, __get__y() + 1, w - 2, h - 2, 4, [3355443, 16777215], 85, 0, "radial");
drawRoundRect(__get__x() + 2, __get__y() + 2, w - 4, h - 4, 3, [0, 14342874], 100, 0, "radial");
drawRoundRect(__get__x() + 2, __get__y() + 2, w - 4, h - 4, 3, _local4, 75);
drawRoundRect(__get__x() + 3, __get__y() + 3, w - 6, h - 6, 2, 16777215, 100);
drawRoundRect(__get__x() + 3, __get__y() + 4, w - 6, h - 7, 2, 16316664, 100);
} else {
drawRoundRect(0, 0, w, h, 5, 9542041, 100);
drawRoundRect(1, 1, w - 2, h - 2, 4, [13291985, 16250871], 100, 0, "radial");
drawRoundRect(2, 2, w - 4, h - 4, 3, [9542041, 13818586], 100, 0, "radial");
drawRoundRect(3, 3, w - 6, h - 6, 2, 16777215, 100);
drawRoundRect(3, 4, w - 6, h - 7, 2, 16316664, 100);
}
break;
case "falsedown" :
drawRoundRect(__get__x(), __get__y(), w, h, 5, 9542041, 100);
drawRoundRect(__get__x() + 1, __get__y() + 1, w - 2, h - 2, 4, [3355443, 16579836], 100, 0, "radial");
drawRoundRect(__get__x() + 1, __get__y() + 1, w - 2, h - 2, 4, _local4, 50);
drawRoundRect(__get__x() + 2, __get__y() + 2, w - 4, h - 4, 3, [0, 14342874], 100, 0, "radial");
drawRoundRect(__get__x(), __get__y(), w, h, 5, _local4, 40);
drawRoundRect(__get__x() + 3, __get__y() + 3, w - 6, h - 6, 2, 16777215, 100);
drawRoundRect(__get__x() + 3, __get__y() + 4, w - 6, h - 7, 2, _local4, 20);
break;
case "falserollover" :
drawRoundRect(__get__x(), __get__y(), w, h, 5, 9542041, 100);
drawRoundRect(__get__x(), __get__y(), w, h, 5, _local4, 50);
drawRoundRect(__get__x() + 1, __get__y() + 1, w - 2, h - 2, 4, [3355443, 16777215], 100, 0, "radial");
drawRoundRect(__get__x() + 2, __get__y() + 2, w - 4, h - 4, 3, [0, 14342874], 100, 0, "radial");
drawRoundRect(__get__x() + 2, __get__y() + 2, w - 4, h - 4, 3, _local4, 50);
drawRoundRect(__get__x() + 3, __get__y() + 3, w - 6, h - 6, 2, 16777215, 100);
drawRoundRect(__get__x() + 3, __get__y() + 4, w - 6, h - 7, 2, 16316664, 100);
break;
case "falsedisabled" :
drawRoundRect(0, 0, w, h, 5, 13159628, 100);
drawRoundRect(1, 1, w - 2, h - 2, 4, 15921906, 100);
drawRoundRect(2, 2, w - 4, h - 4, 3, 13949401, 100);
drawRoundRect(3, 3, w - 6, h - 6, 2, 15921906, 100);
break;
case "trueup" :
drawRoundRect(__get__x(), __get__y(), w, h, 5, 10066329, 100);
drawRoundRect(__get__x() + 1, __get__y() + 1, w - 2, h - 2, 4, [3355443, 16579836], 100, 0, "radial");
drawRoundRect(__get__x() + 1, __get__y() + 1, w - 2, h - 2, 4, _local4, 50);
drawRoundRect(__get__x() + 2, __get__y() + 2, w - 4, h - 4, 3, [0, 14342874], 100, 0, "radial");
drawRoundRect(__get__x(), __get__y(), w, h, 5, _local4, 40);
drawRoundRect(__get__x() + 3, __get__y() + 3, w - 6, h - 6, 2, 16777215, 100);
drawRoundRect(__get__x() + 3, __get__y() + 4, w - 6, h - 7, 2, 16250871, 100);
break;
case "truedown" :
drawRoundRect(__get__x(), __get__y(), w, h, 5, 10066329, 100);
drawRoundRect(__get__x() + 1, __get__y() + 1, w - 2, h - 2, 4, [3355443, 16579836], 100, 0, "radial");
drawRoundRect(__get__x() + 1, __get__y() + 1, w - 2, h - 2, 4, _local4, 50);
drawRoundRect(__get__x() + 2, __get__y() + 2, w - 4, h - 4, 3, [0, 14342874], 100, 0, "radial");
drawRoundRect(__get__x(), __get__y(), w, h, 5, _local4, 40);
drawRoundRect(__get__x() + 3, __get__y() + 3, w - 6, h - 6, 2, 16777215, 100);
drawRoundRect(__get__x() + 3, __get__y() + 4, w - 6, h - 7, 2, _local4, 20);
break;
case "truerollover" :
drawRoundRect(__get__x(), __get__y(), w, h, 5, 9542041, 100);
drawRoundRect(__get__x(), __get__y(), w, h, 5, _local4, 50);
drawRoundRect(__get__x() + 1, __get__y() + 1, w - 2, h - 2, 4, [3355443, 16777215], 100, 0, "radial");
drawRoundRect(__get__x() + 1, __get__y() + 1, w - 2, h - 2, 4, _local4, 40);
drawRoundRect(__get__x() + 2, __get__y() + 2, w - 4, h - 4, 3, [0, 14342874], 100, 0, "radial");
drawRoundRect(__get__x() + 2, __get__y() + 2, w - 4, h - 4, 3, _local4, 40);
drawRoundRect(__get__x() + 3, __get__y() + 3, w - 6, h - 6, 2, 16777215, 100);
drawRoundRect(__get__x() + 3, __get__y() + 4, w - 6, h - 7, 2, 16316664, 100);
break;
case "truedisabled" :
drawRoundRect(0, 0, w, h, 5, 13159628, 100);
drawRoundRect(1, 1, w - 2, h - 2, 4, 15921906, 100);
drawRoundRect(2, 2, w - 4, h - 4, 3, 13949401, 100);
drawRoundRect(3, 3, w - 6, h - 6, 2, 15921906, 100);
}
}
static function classConstruct() {
mx.core.ext.UIObjectExtensions.Extensions();
_global.skinRegistry.ButtonSkin = true;
return(true);
}
static var symbolName = "ButtonSkin";
static var symbolOwner = mx.skins.halo.ButtonSkin;
var className = "ButtonSkin";
var backgroundColorName = "buttonColor";
static var classConstructed = classConstruct();
static var UIObjectExtensionsDependency = mx.core.ext.UIObjectExtensions;
}
Symbol 207 MovieClip [__Packages.mx.controls.VScrollBar] Frame 0
class mx.controls.VScrollBar extends mx.controls.scrollClasses.ScrollBar
{
var scrollIt;
function VScrollBar () {
super();
}
function init(Void) {
super.init();
}
function isScrollBarKey(k) {
if (k == 38) {
scrollIt("Line", -1);
return(true);
}
if (k == 40) {
scrollIt("Line", 1);
return(true);
}
if (k == 33) {
scrollIt("Page", -1);
return(true);
}
if (k == 34) {
scrollIt("Page", 1);
return(true);
}
return(super.isScrollBarKey(k));
}
static var symbolName = "VScrollBar";
static var symbolOwner = mx.core.UIComponent;
static var version = "2.0.2.126";
var className = "VScrollBar";
var minusMode = "Up";
var plusMode = "Down";
var minMode = "AtTop";
var maxMode = "AtBottom";
}
Symbol 210 MovieClip [swf\cum\coat.swf] Frame 20
if (_parent != _level0) {
stop();
}
Symbol 214 MovieClip [swf\cum\streamer.swf] Frame 20
if (this != _level0) {
if (_this === undefined) {
var _this = this;
}
_this.stop();
_this.onUnload();
_this._name = "";
setTimeout(function () {
_this.onClose();
_this.removeMovieClip();
}, 34);
}
Symbol 225 MovieClip [Slider] Frame 1
#initclip 69
Object.registerClass("Slider", EventClip);
#endinitclip
stop();
_this = this;
function sendEvent(evt_str, evt, evtEmitter) {
evtEmitter = (evtEmitter || (_this)) || this;
var _local4 = evt instanceof Object;
if (_local4 === false) {
evt = {data:evt};
}
evt.type = evt_str;
if (evtEmitter.dispatchEvent) {
evt.type = evt_str;
evtEmitter.dispatchEvent(evt);
} else if (evtEmitter.broadcastMessage) {
evtEmitter.broadcastMessage(evt_str, evt);
}
}
function make_react(defaultUnloadEmitter) {
function newReaction(eventName, newSettings) {
function get_then() {
return(reaction.then);
}
function set_then(new_func) {
reaction.then = new_func;
var _local1 = new_func instanceof Function;
var _local2 = reaction.tellThese.length > 0;
if (_local1 || (_local2)) {
listen();
if (!(reaction.untilTimeout === undefined)) {
monad.until(reaction.untilTimeout);
}
} else {
unListen();
clearTimeout(reaction.untilId);
}
}
function listen() {
if (reaction.hasListener === true) {
return(null);
}
if (reaction.emitter === undefined) {
return(null);
}
if (reaction.emitter.addEventListener) {
reaction.emitter.addEventListener(reaction.eventName, reaction.eventTarget);
} else if (reaction.emitter.addListener) {
reaction.emitter.addListener(reaction.eventTarget);
} else {
var _local1 = ((reaction.emitter._name === undefined) ? "[object]" : (("\"" + reaction.emitter._name) + "\""));
trace(((("ERROR: " + _local1) + " cannot send events. (") + reaction.eventName) + ")");
return(null);
}
reaction.hasListener = true;
}
function unListen() {
if (reaction.hasListener === false) {
return(null);
}
if (reaction.emitter === undefined) {
return(null);
}
if (reaction.emitter.removeEventListener) {
reaction.emitter.removeEventListener(reaction.eventName, reaction.eventTarget);
} else {
reaction.emitter.removeListener(reaction.eventTarget);
}
reaction.hasListener = false;
}
var reaction = {};
reaction.uid = Math.floor(Math.random() * 99);
reaction.hasListener = false;
reaction.eventName = eventName;
reaction.emitter = defaultUnloadEmitter;
reaction.fireOnce = false;
reaction.eventTarget = {};
reaction.eventTarget[reaction.eventName];
reaction.untilTimeout = undefined;
reaction.untilId = undefined;
reaction.tellThese = [];
for (var _local12 in newSettings) {
reaction[_local12] = newSettings[_local12];
}
var monad = ((reaction.monad = {}));
monad.addProperty("then", get_then, set_then);
monad.then = undefined;
monad.unListen = unListen;
monad.cleanup = function () {
for (var _local1 in reaction.tellThese) {
reaction.tellThese.splice(_local1, 1);
}
monad.then = undefined;
};
monad.disable = function () {
monad.cleanup();
monad.forget();
};
monad.fire = function () {
if (!(monad.then === reaction.then)) {
trace("WARNING: 'then' property was deleted. Now restoring it with the current reaction.");
var _local7 = monad.then;
monad.addProperty("then", get_then, set_then);
monad.then = _local7;
}
var _local6 = arguments.slice();
var _local4 = _local6[0];
monad.then.apply(null, _local6);
var _local2 = 0;
while (_local2 < reaction.tellThese.length) {
if (!reaction.tellThese[_local2].eventTarget) {
} else if (!reaction.tellThese[_local2].eventName) {
} else {
var _local3 = {};
for (var _local5 in _local4) {
_local3[_local5] = _local4[_local5];
}
_local3.type = reaction.tellEventName;
sendEvent(reaction.tellThese[_local2].eventName, _local3, reaction.tellThese[_local2].eventTarget);
}
_local2++;
}
if (reaction.fireOnce === true) {
monad.then = undefined;
}
};
reaction.eventTarget[reaction.eventName] = monad.fire;
monad.tell = function (newEventTarget, newEventName) {
if (!newEventTarget) {
return(monad);
}
if (newEventName instanceof Object) {
newEventName = newEventName.about || (newEventName.to);
}
if (!newEventName) {
newEventName = reaction.eventName;
}
var _local2 = {eventTarget:newEventTarget, eventName:newEventName};
reaction.tellThese.push(_local2);
listen();
return(monad);
};
monad.once = function () {
reaction.fireOnce = true;
return(monad);
};
monad.until = function (wait_ms) {
var _local1 = !isNaN(wait_ms);
if (_local1 === false) {
return(monad);
}
clearTimeout(reaction.untilId);
reaction.untilId = setTimeout(function () {
monad.then = undefined;
}, wait_ms);
reaction.untilTimeout = wait_ms;
return(monad);
};
monad.from = function (newEmitter) {
var _local3 = (newEmitter instanceof MovieClip) || (newEmitter instanceof Object);
if (_local3 === false) {
return(monad);
}
var _local1 = reaction.hasListener;
if (_local1) {
unListen();
}
reaction.emitter = newEmitter;
if (_local1) {
listen();
}
return(monad);
};
monad.forget = function () {
for (var _local1 in allReactions) {
if (!(allReactions[_local1] === reaction)) {
continue;
}
allReactions.splice(_local1, 1);
}
return(monad);
};
return(reaction);
}
var react = {};
var allReactions = [];
react.to = function (eventName, settings) {
var _local1 = newReaction(eventName, settings);
var _local2 = _local1.monad;
allReactions.push(_local1);
return(_local2);
};
var reactOnce = {};
reactOnce.to = function (eventName, settings) {
if (!settings) {
settings = {};
}
settings.fireOnce = true;
return(react.to(eventName, settings));
};
react.once = function () {
return(reactOnce);
};
react.unload = function (fireUnloadEvents) {
if (fireUnloadEvents === undefined) {
fireUnloadEvents = true;
}
for (var _local2 in allReactions) {
allReactions[_local2].monad.unListen();
allReactions.splice(_local2, 1);
if (fireUnloadEvents && (allReactions[_local2].eventName === "unload")) {
allReactions[_local2].monad.fire();
}
allReactions[_local2].monad.cleanup();
}
};
if (defaultUnloadEmitter) {
react.to("unload").forget().then = function () {
react.unload(true);
};
}
return(react);
}
function runFunc(func) {
return(func.apply(_this, arguments.slice()));
}
function onUnload() {
sendEvent("unload", {target:_this});
}
if (!addListener) {
AsBroadcaster.initialize(this);
}
var react = make_react(_this);
function setSize(new_width, new_height, forceEvent) {
var _local4 = boundingBox_mc._width;
var _local3 = boundingBox_mc._height;
if (!forceEvent) {
if ((_local4 === new_width) && (_local3 === new_height)) {
return(undefined);
}
}
boundingBox_mc._width = new_width;
boundingBox_mc._height = new_height;
sendEvent("resize", {target:_this, width:new_width, height:new_height, oldWidth:oldWidth, oldHeight:oldHeight});
}
function get_width() {
return(boundingBox_mc._width);
}
function set_width(newValue) {
boundingBox_mc._width = newValue;
setSize(newValue, height);
}
function get_height() {
return(boundingBox_mc._height);
}
function set_height(newValue) {
boundingBox_mc._height = newValue;
setSize(width, newValue);
}
var init_width = _width;
var init_height = _height;
_yscale = 100;
_xscale = 100;
react.to("load").then = function () {
setSize(init_width, init_height, true);
};
this.addProperty("width", get_width, set_width);
this.addProperty("height", get_height, set_height);
function move(x, y, noEvent) {
var _local3 = _this._x;
var _local2 = _this._y;
_this._x = x;
_this._y = y;
if (!noEvent) {
var _local1 = {type:"move", x:x, y:y, oldX:_local3, oldY:_local2, target:_this};
sendEvent("move", _local1);
}
}
function get_enabled() {
return(_enabled);
}
function set_enabled(newValue, forceEvent) {
if (!forceEvent) {
if (newValue === _enabled) {
return(undefined);
}
}
var _local4 = _enabled || false;
_enabled = newValue;
if (newValue === true) {
sendEvent("enable", {target:_this});
}
if (newValue === false) {
sendEvent("disable", {target:_this});
}
sendEvent("changeEnable", {target:_this, oldValue:_local4, value:newValue});
}
init_enabled = enabled || false;
this.addProperty("enabled", get_enabled, set_enabled);
react.to("load").then = function () {
set_enabled(init_enabled, true);
};
function get_maxValue() {
return(_maxValue);
}
function set_maxValue(newValue) {
if (newValue === _maxValue) {
return(undefined);
}
var _local2 = _maxValue || 0;
_maxValue = newValue;
if (_value === undefined) {
return(undefined);
}
set_value(_value, true);
}
init_maxValue = maxValue || 100;
this.addProperty("maxValue", get_maxValue, set_maxValue);
react.to("load").then = function () {
maxValue = init_maxValue;
};
function get_value() {
return(_value);
}
function set_value(newValue, forceEvent) {
if ((newValue === _value) && (!forceEvent)) {
return(undefined);
}
var _local4 = _value || 0;
_value = newValue;
sendEvent("change", {target:_this, oldValue:_local4, value:newValue});
}
init_value = value || 0;
this.addProperty("value", get_value, set_value);
react.to("load").then = function () {
set_value(init_value, true);
};
function get_x() {
return(_x);
}
function set_x(newValue) {
_x = (newValue || 0);
}
function get_y() {
return(_y);
}
function set_y(newValue) {
_y = (newValue || 0);
}
init_x = x || (_x);
this.addProperty("x", get_x, set_x);
x = init_x;
init_y = y || (_y);
this.addProperty("y", get_y, set_y);
y = init_y;
runFunc(function () {
function updatePositon() {
if (_value === undefined) {
return(undefined);
}
if (_maxValue === undefined) {
return(undefined);
}
var _local2 = _value / _maxValue;
var _local1 = _local2 * barWidth;
if (_local1 < 0) {
_local1 = 0;
}
_local1 = _local1 - halfThumbWidth;
self._x = _local1;
updateAfterEvent();
}
function updateEnable() {
self._visible = _enabled;
}
var self = thumb_btn;
self._width = 16;
var _local3 = self._width;
var halfThumbWidth = (_local3 / 2);
var barWidth = 0;
var _local4 = false;
react.to("resize").then = function (evt) {
self._y = 0;
self._height = evt.height;
self._width = 16;
barWidth = evt.width;
};
react.to("resize").then = updatePositon;
react.to("change").then = updatePositon;
react.to("changeEnable").then = updateEnable;
react.to("load").then = updateEnable;
self.onPress = function () {
sendEvent("pressBar");
};
self.onRelease = function () {
sendEvent("releaseBar");
};
self.onReleaseOutside = self.onRelease;
});
runFunc(function () {
function update() {
self._visible = !_enabled;
}
var self = disabled_mc;
var barWidth = 0;
var adjustWidth = 6;
react.to("resize").then = function (evt) {
var _local2 = 1;
self._y = _local2;
self._height = evt.height - (_local2 * 2);
var _local1 = 0;
self._x = _local1;
self._width = (evt.width - (_local1 * 2)) + adjustWidth;
barWidth = evt.width;
};
react.to("changeEnable").then = update;
react.to("load").then = update;
});
runFunc(function () {
function updatePositon() {
if (_value === undefined) {
return(undefined);
}
if (_maxValue === undefined) {
return(undefined);
}
var _local2 = 0;
var _local3 = _value / (_maxValue - adjustWidth);
self._x = _local2;
var _local1 = (_local3 * barWidth) + ((-_local2) * 2);
if (_local1 < 0) {
_local1 = 0;
}
self._width = _local1;
}
var self = fill_mc;
var barWidth = 0;
var adjustWidth = 6;
react.to("resize").then = function (evt) {
var _local1 = 1;
self._y = _local1;
self._height = evt.height - (_local1 * 2);
barWidth = evt.width;
};
react.to("resize").then = updatePositon;
react.to("change").then = updatePositon;
});
runFunc(function () {
function onDrag() {
if (!_enabled) {
return(undefined);
}
if (!isHeld) {
return(undefined);
}
var _local1 = _this._xmouse / barWidth;
if (_local1 < 0) {
_local1 = 0;
}
if (_local1 > 1) {
_local1 = 1;
}
var _local2 = _local1 * _maxValue;
_this.value = _local2;
}
var self = bar_mc;
var barWidth = 0;
var adjustWidth = 6;
react.to("resize").then = function (evt) {
var _local2 = 1;
self._y = _local2;
self._height = evt.height - (_local2 * 2);
var _local1 = 0;
self._x = _local1;
self._width = (evt.width - (_local1 * 2)) + adjustWidth;
barWidth = evt.width;
};
react.to("pressBar").then = function () {
isHeld = true;
onDrag();
};
react.to("releaseBar").then = function () {
isHeld = false;
};
react.to("onMouseMove").from(Mouse).then = onDrag;
self.onPress = function () {
sendEvent("pressBar");
};
self.onRelease = function () {
sendEvent("releaseBar");
};
self.onReleaseOutside = self.onRelease;
});
runFunc(function () {
var self = boundingBox_mc;
self._alpha = 0;
react.to("resize").then = function (evt) {
self._width = evt.width;
self._height = evt.height;
};
});
sendEvent("load", {target:_this});
Symbol 227 MovieClip [swf\cumTrail.swf] Frame 2
function interpolate(from_p, to_p) {
var _local3 = Point.distance(from_p, to_p);
_local3 = _local3 * density;
var _local4 = 1 / _local3;
var _local1 = 0;
while (_local1 < _local3) {
var _local2 = Point.interpolate(from_p, to_p, _local1 * _local4);
placeDrop(_local2);
_local1++;
}
}
function useCounter(dest_p) {
counter--;
if (counter <= 0) {
counter = delay;
placeDrop(spr_p);
}
}
function placeDrop(p) {
var _local1 = nextDepth(cumContainer);
var _local2 = "c" + _local1;
cumContainer.attachMovie(getRandomImage(), _local2, _local1, {_x:p.x, _y:p.y});
}
stop();
_this = this;
followSprite = null;
noCollide = false;
Point = flash.geom.Point;
if (!density) {
density = 0.1;
}
density = Number(density);
init_sprite = sprite || null;
get_sprite = function () {
return(_sprite);
};
set_sprite = function (newValue) {
_sprite = newValue;
followSprite = SPRITES[newValue];
};
this.addProperty("sprite", get_sprite, set_sprite);
sprite = init_sprite;
getRandomImage = function () {
var _local1 = 1;
var _local2 = 7;
var _local4 = _local2 - _local1;
var _local3 = Math.floor(Math.random() * _local4) + _local1;
return("c" + _local3);
};
if (delay === undefined) {
delay = 5;
}
counter = delay;
spr_p = new Point(0, 0);
last_p = new Point(0, 0);
onEnterFrame = function () {
if (!_sprite) {
return(undefined);
}
spr_p.x = (spr_p.y = 0);
followSprite.localToGlobal(spr_p);
cumContainer.globalToLocal(spr_p);
var _local1 = (!(spr_p.x === last_p.x)) || (!(spr_p.y === last_p.y));
if (!_local1) {
return(undefined);
}
if (delay === 0) {
interpolate(last_p, spr_p);
} else {
useCounter(spr_p);
}
last_p.x = spr_p.x;
last_p.y = spr_p.y;
};
Symbol 230 MovieClip Frame 1
function sendEvent(evt_str, evt, evtEmitter) {
evtEmitter = (evtEmitter || (_this)) || this;
var _local4 = evt instanceof Object;
if (_local4 === false) {
evt = {data:evt};
}
evt.type = evt_str;
if (evtEmitter.dispatchEvent) {
evt.type = evt_str;
evtEmitter.dispatchEvent(evt);
} else if (evtEmitter.broadcastMessage) {
evtEmitter.broadcastMessage(evt_str, evt);
}
}
function onUnload() {
delete MAP.hasOvercastTone;
MAP.filters = [normal];
}
var mat = [0.6, 0.11, 0.11, 0, 0, 0.11, 0.7, 0.11, 0, 0, 0.11, 0.11, 0.8, 0, 0, 0, 0, 0, 1, 0];
grayish = new flash.filters.ColorMatrixFilter(mat);
var mat = [1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0];
normal = new flash.filters.ColorMatrixFilter(mat);
loop = function () {
if (!MAP.hasOvercastTone) {
MAP.filters = [grayish];
MAP.hasOvercastTone = true;
}
};
loop();
onEnterFrame = loop;
react.to("init").tell(_parent, "imageReady");
sendEvent("init");
Symbol 233 MovieClip Frame 1
var min = 2;
var range = (_totalframes - min);
var randFrame = (Math.floor(Math.random() * range) + min);
gotoAndPlay(randFrame);
Symbol 233 MovieClip Frame 2
_x = (Math.random() * 320);
_y = ((Math.random() * 120) + 120);
Symbol 233 MovieClip Frame 10
gotoAndPlay ("loop");
Symbol 234 MovieClip Frame 1
function sendEvent(evt_str, evt, evtEmitter) {
evtEmitter = (evtEmitter || (_this)) || this;
var _local4 = evt instanceof Object;
if (_local4 === false) {
evt = {data:evt};
}
evt.type = evt_str;
if (evtEmitter.dispatchEvent) {
evt.type = evt_str;
evtEmitter.dispatchEvent(evt);
} else if (evtEmitter.broadcastMessage) {
evtEmitter.broadcastMessage(evt_str, evt);
}
}
var mat = [0.6, 0.11, 0.11, 0, 0, 0.11, 0.7, 0.11, 0, 0, 0.11, 0.11, 0.8, 0, 0, 0, 0, 0, 1, 0];
grayish = new flash.filters.ColorMatrixFilter(mat);
var mat = [1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0];
normal = new flash.filters.ColorMatrixFilter(mat);
loop = function () {
if (!MAP.hasRainTone) {
MAP.filters = [grayish];
MAP.hasRainTone = true;
}
};
loop();
onEnterFrame = loop;
onUnload = function () {
delete MAP.hasRainTone;
MAP.filters = [normal];
};
react.to("init").tell(_parent, "imageReady");
sendEvent("init");
Symbol 238 MovieClip Frame 1
function sendEvent(evt_str, evt, evtEmitter) {
evtEmitter = (evtEmitter || (_this)) || this;
var _local4 = evt instanceof Object;
if (_local4 === false) {
evt = {data:evt};
}
evt.type = evt_str;
if (evtEmitter.dispatchEvent) {
evt.type = evt_str;
evtEmitter.dispatchEvent(evt);
} else if (evtEmitter.broadcastMessage) {
evtEmitter.broadcastMessage(evt_str, evt);
}
}
init_darkAlpha = darkAlpha || 0;
get_darkAlpha = function () {
return(_alpha);
};
set_darkAlpha = function (newValue) {
_alpha = Number(newValue);
};
this.addProperty("darkAlpha", get_darkAlpha, set_darkAlpha);
darkAlpha = init_darkAlpha;
sendEvent("init");
Symbol 242 MovieClip Frame 1
function setPosition() {
var _local4 = sprite_mc.x;
if (_local4 == undefined) {
_local4 = sprite_mc._x;
}
var _local3 = sprite_mc.y;
if (_local3 == undefined) {
_local3 = sprite_mc._y;
}
var _local2 = new flash.geom.Point(_local4, _local3 + yOffset);
SPRITES.localToGlobal(_local2);
_parent.globalToLocal(_local2);
_x = _local2.x;
_y = _local2.y;
}
yOffset = -8;
init_target = target || "player";
get_target = function () {
return(__target);
};
set_target = function (newValue) {
__target = newValue;
sprite_mc = SPRITES[newValue];
};
this.addProperty("target", get_target, set_target);
target = init_target;
setPosition();
onEnterFrame = setPosition;
init_lightScale = lightScale || 1;
get_lightScale = function () {
return(_xscale);
};
set_lightScale = function (newValue) {
_yscale = Number(newValue);
_xscale = Number(newValue);
};
this.addProperty("lightScale", get_lightScale, set_lightScale);
lightScale = init_lightScale;
Symbol 243 MovieClip Frame 1
function sendEvent(evt_str, evt, evtEmitter) {
evtEmitter = (evtEmitter || (_this)) || this;
var _local4 = evt instanceof Object;
if (_local4 === false) {
evt = {data:evt};
}
evt.type = evt_str;
if (evtEmitter.dispatchEvent) {
evt.type = evt_str;
evtEmitter.dispatchEvent(evt);
} else if (evtEmitter.broadcastMessage) {
evtEmitter.broadcastMessage(evt_str, evt);
}
}
init_darkAlpha = darkAlpha || 0;
get_darkAlpha = function () {
return(_alpha);
};
set_darkAlpha = function (newValue) {
_alpha = Number(newValue);
};
this.addProperty("darkAlpha", get_darkAlpha, set_darkAlpha);
darkAlpha = init_darkAlpha;
init_lightScale = lightScale || 1;
get_lightScale = function () {
return(light.lightScale);
};
set_lightScale = function (newValue) {
light.lightScale = Number(newValue);
};
this.addProperty("lightScale", get_lightScale, set_lightScale);
lightScale = init_lightScale;
init_target = target || "player";
get_target = function () {
return(light.target);
};
set_target = function (newValue) {
light.target = newValue;
};
this.addProperty("target", get_target, set_target);
target = init_target;
react.to("init").tell(_parent, "imageReady");
sendEvent("init");
Symbol 246 MovieClip Frame 1
function sendEvent(evt_str, evt, evtEmitter) {
evtEmitter = (evtEmitter || (_this)) || this;
var _local4 = evt instanceof Object;
if (_local4 === false) {
evt = {data:evt};
}
evt.type = evt_str;
if (evtEmitter.dispatchEvent) {
evt.type = evt_str;
evtEmitter.dispatchEvent(evt);
} else if (evtEmitter.broadcastMessage) {
evtEmitter.broadcastMessage(evt_str, evt);
}
}
function addFlake() {
var _local2 = Math.random() * 320;
var _local5 = Math.random() * 320;
var _local4 = ((_local2 - 160) / halfWidth) * rotRange;
var _local1 = Math.floor(Math.random() * 99999);
var _local3 = "flake_" + _local1;
_this.attachMovie("snowFall", _local3, _local1, {_x:_local2, _y:_local5, _rotation:_local4});
}
_this = this;
rotRange = 45;
halfWidth = 160;
onEnterFrame = addFlake;
react.to("init").tell(_parent, "imageReady");
sendEvent("init");
Symbol 247 MovieClip [swf\mood.swf] Frame 1
function unload() {
ROOT.removeListener(events);
}
function unloadClip(clip) {
if ((clip instanceof MovieClip) === false) {
return(undefined);
}
var reportedPath = String(eval (clip._target));
var actualPath = ((String(eval (_this._target)) + ".") + clip._name);
if (reportedPath.indexOf(actualPath) != -1) {
clip.onUnload();
}
}
function removeExtraClips() {
for (var _local1 in _this) {
if (!_local1) {
continue;
}
if (_local1 === "level") {
continue;
}
if (_local1 === "_this") {
continue;
}
if (_local1 === "parentSprite") {
continue;
}
unloadClip(_this[_local1]);
}
}
stop();
_this = this;
events = {};
events.onRemoveLevel = function () {
removeExtraClips();
};
ROOT.addListener(events);
_mood = "none";
init_mood = mood || (_mood);
get_mood = function () {
return(_mood);
};
set_mood = function (newValue) {
if (_mood != newValue) {
_mood = newValue;
for (var _local1 in _this) {
if (!_local1) {
continue;
}
if ((_this[_local1] instanceof MovieClip) === false) {
continue;
}
if (_local1 === "parentSprite") {
continue;
}
unloadClip(_this[_local1]);
}
_this.gotoAndStop(newValue);
image.target = __target;
image.lightScale = _lightScale;
image.darkAlpha = _darkAlpha;
}
};
this.addProperty("mood", get_mood, set_mood);
mood = init_mood;
init_target = target || "player";
get_target = function () {
return(__target);
};
set_target = function (newValue) {
__target = newValue;
image.target = newValue;
};
this.addProperty("target", get_target, set_target);
target = init_target;
init_lightScale = lightScale || 100;
get_lightScale = function () {
return(_lightScale);
};
set_lightScale = function (newValue) {
_lightScale = newValue;
image.lightScale = newValue;
};
this.addProperty("lightScale", get_lightScale, set_lightScale);
lightScale = init_lightScale;
init_darkAlpha = darkAlpha || 85;
get_darkAlpha = function () {
return(_darkAlpha);
};
set_darkAlpha = function (newValue) {
_darkAlpha = newValue;
image.darkAlpha = newValue;
};
this.addProperty("darkAlpha", get_darkAlpha, set_darkAlpha);
darkAlpha = init_darkAlpha;
Symbol 249 MovieClip Frame 1
_parent.hitArea = this;
Symbol 250 MovieClip [swf\shake.swf] Frame 1
toggle = false;
xStart = _parent._x;
onEnterFrame = function () {
toggle = !toggle;
_parent._x = (toggle ? (xStart + 1) : (xStart));
};
onUnload = function () {
delete onEnterFrame;
_parent._x = xStart;
};
Symbol 253 MovieClip [swf\skipReplay.swf] Frame 1
function sendEvent(evt_str, evt, evtEmitter) {
evtEmitter = (evtEmitter || (_this)) || this;
var _local4 = evt instanceof Object;
if (_local4 === false) {
evt = {data:evt};
}
evt.type = evt_str;
if (evtEmitter.dispatchEvent) {
evt.type = evt_str;
evtEmitter.dispatchEvent(evt);
} else if (evtEmitter.broadcastMessage) {
evtEmitter.broadcastMessage(evt_str, evt);
}
}
function make_react(defaultUnloadEmitter) {
function newReaction(eventName, newSettings) {
function get_then() {
return(reaction.then);
}
function set_then(new_func) {
reaction.then = new_func;
var _local1 = new_func instanceof Function;
var _local2 = reaction.tellThese.length > 0;
if (_local1 || (_local2)) {
listen();
if (!(reaction.untilTimeout === undefined)) {
monad.until(reaction.untilTimeout);
}
} else {
unListen();
clearTimeout(reaction.untilId);
}
}
function listen() {
if (reaction.hasListener === true) {
return(null);
}
if (reaction.emitter === undefined) {
return(null);
}
if (reaction.emitter.addEventListener) {
reaction.emitter.addEventListener(reaction.eventName, reaction.eventTarget);
} else if (reaction.emitter.addListener) {
reaction.emitter.addListener(reaction.eventTarget);
} else {
var _local1 = ((reaction.emitter._name === undefined) ? "[object]" : (("\"" + reaction.emitter._name) + "\""));
trace(((("ERROR: " + _local1) + " cannot send events. (") + reaction.eventName) + ")");
return(null);
}
reaction.hasListener = true;
}
function unListen() {
if (reaction.hasListener === false) {
return(null);
}
if (reaction.emitter === undefined) {
return(null);
}
if (reaction.emitter.removeEventListener) {
reaction.emitter.removeEventListener(reaction.eventName, reaction.eventTarget);
} else {
reaction.emitter.removeListener(reaction.eventTarget);
}
reaction.hasListener = false;
}
var reaction = {};
reaction.uid = Math.floor(Math.random() * 99);
reaction.hasListener = false;
reaction.eventName = eventName;
reaction.emitter = defaultUnloadEmitter;
reaction.fireOnce = false;
reaction.eventTarget = {};
reaction.eventTarget[reaction.eventName];
reaction.untilTimeout = undefined;
reaction.untilId = undefined;
reaction.tellThese = [];
for (var _local12 in newSettings) {
reaction[_local12] = newSettings[_local12];
}
var monad = ((reaction.monad = {}));
monad.addProperty("then", get_then, set_then);
monad.then = undefined;
monad.unListen = unListen;
monad.cleanup = function () {
for (var _local1 in reaction.tellThese) {
reaction.tellThese.splice(_local1, 1);
}
monad.then = undefined;
};
monad.disable = function () {
monad.cleanup();
monad.forget();
};
monad.fire = function () {
if (!(monad.then === reaction.then)) {
trace("WARNING: 'then' property was deleted. Now restoring it with the current reaction.");
var _local7 = monad.then;
monad.addProperty("then", get_then, set_then);
monad.then = _local7;
}
var _local6 = arguments.slice();
var _local4 = _local6[0];
monad.then.apply(null, _local6);
var _local2 = 0;
while (_local2 < reaction.tellThese.length) {
if (!reaction.tellThese[_local2].eventTarget) {
} else if (!reaction.tellThese[_local2].eventName) {
} else {
var _local3 = {};
for (var _local5 in _local4) {
_local3[_local5] = _local4[_local5];
}
_local3.type = reaction.tellEventName;
sendEvent(reaction.tellThese[_local2].eventName, _local3, reaction.tellThese[_local2].eventTarget);
}
_local2++;
}
if (reaction.fireOnce === true) {
monad.then = undefined;
}
};
reaction.eventTarget[reaction.eventName] = monad.fire;
monad.tell = function (newEventTarget, newEventName) {
if (!newEventTarget) {
return(monad);
}
if (newEventName instanceof Object) {
newEventName = newEventName.about || (newEventName.to);
}
if (!newEventName) {
newEventName = reaction.eventName;
}
var _local2 = {eventTarget:newEventTarget, eventName:newEventName};
reaction.tellThese.push(_local2);
listen();
return(monad);
};
monad.once = function () {
reaction.fireOnce = true;
return(monad);
};
monad.until = function (wait_ms) {
var _local1 = !isNaN(wait_ms);
if (_local1 === false) {
return(monad);
}
clearTimeout(reaction.untilId);
reaction.untilId = setTimeout(function () {
monad.then = undefined;
}, wait_ms);
reaction.untilTimeout = wait_ms;
return(monad);
};
monad.from = function (newEmitter) {
var _local3 = (newEmitter instanceof MovieClip) || (newEmitter instanceof Object);
if (_local3 === false) {
return(monad);
}
var _local1 = reaction.hasListener;
if (_local1) {
unListen();
}
reaction.emitter = newEmitter;
if (_local1) {
listen();
}
return(monad);
};
monad.forget = function () {
for (var _local1 in allReactions) {
if (!(allReactions[_local1] === reaction)) {
continue;
}
allReactions.splice(_local1, 1);
}
return(monad);
};
return(reaction);
}
var react = {};
var allReactions = [];
react.to = function (eventName, settings) {
var _local1 = newReaction(eventName, settings);
var _local2 = _local1.monad;
allReactions.push(_local1);
return(_local2);
};
var reactOnce = {};
reactOnce.to = function (eventName, settings) {
if (!settings) {
settings = {};
}
settings.fireOnce = true;
return(react.to(eventName, settings));
};
react.once = function () {
return(reactOnce);
};
react.unload = function (fireUnloadEvents) {
if (fireUnloadEvents === undefined) {
fireUnloadEvents = true;
}
for (var _local2 in allReactions) {
allReactions[_local2].monad.unListen();
allReactions.splice(_local2, 1);
if (fireUnloadEvents && (allReactions[_local2].eventName === "unload")) {
allReactions[_local2].monad.fire();
}
allReactions[_local2].monad.cleanup();
}
};
if (defaultUnloadEmitter) {
react.to("unload").forget().then = function () {
react.unload(true);
};
}
return(react);
}
function onUnload() {
sendEvent("unload");
}
function runFunc(func) {
return(func.apply(_this, arguments.slice()));
}
_this = this;
if (!_this.addListener) {
AsBroadcaster.initialize(_this);
}
if (!react) {
var react = make_react(_this);
}
isLoadingPrev = false;
isReloading = false;
isSkipping = false;
levels_ary = [];
if (!_this) {
var _this = this;
}
closeAllText = function () {
function isTextbox(mc) {
return(Boolean(mc.is_textbox));
}
var _local2 = [];
for (var _local3 in HUD) {
if (isTextbox(HUD[_local3])) {
_local2.push(HUD[_local3]);
}
}
var _local1 = _local2.length - 1;
while (_local1 >= 0) {
_local2[_local1].closeNow();
_local1--;
}
};
handlePrevLevel = {};
handlePrevLevel.onNewLevel = function () {
currentLevel = LEVEL.levelData.name;
var _local1 = (!isLoadingPrev) && (!isReloading);
if (_local1) {
levels_ary.push(currentLevel);
}
if (isLoadingPrev) {
levels_ary.pop();
}
};
ROOT.addListener(handlePrevLevel);
ROOT.addListener(prev_mc);
ROOT.addListener(replay_mc);
ROOT.addListener(skip_mc);
react.to("init").from(prev_mc).then = function () {
prev_mc.onNewLevel();
};
react.to("init").from(skip_mc).then = function () {
skip_mc.onNewLevel();
};
handlePrevLevel.onNewLevel();
react.to("unload").then = function () {
ROOT.removeListener(prev_mc);
ROOT.removeListener(replay_mc);
ROOT.removeListener(skip_mc);
ROOT.removeListener(handlePrevLevel);
};
runFunc(function () {
function get_skip() {
return(prev_mc.enabled);
}
function set_skip(newValue) {
prev_mc.enabled = Boolean(newValue);
next_mc.enabled = Boolean(newValue);
}
var _local3 = "";
if (!_this) {
var _this = this;
}
var _local2 = _this.skip;
_this.addProperty("skip", get_skip, set_skip);
if (_local2 === undefined) {
_this.skip = true;
}
if (!(_local2 === undefined)) {
_this.skip = _local2;
}
});
runFunc(function () {
function get_replay() {
return(self._visible);
}
function set_replay(newValue) {
self._visible = Boolean(newValue);
}
var self = replay_mc;
var _local3 = "";
if (!_this) {
var _this = this;
}
var _local2 = _this.replay || (_this.reply);
_this.addProperty("replay", get_replay, set_replay);
if (_local2 === undefined) {
_this.replay = true;
}
if (!(_local2 === undefined)) {
_this.replay = _local2;
}
});
Symbol 260 MovieClip [swf\soundMute.swf] Frame 1
#initclip 67
Object.registerClass("swf\\soundMute.swf", EventClip);
#endinitclip
_this = this;
function detectHover(hoverDelay) {
function getClipRect(clip, relativeTo) {
relativeTo = relativeTo || _root;
var _local4 = new flash.geom.Point(0, 0);
clip.localToGlobal(_local4);
relativeTo.globalToLocal(_local4);
var _local10 = _local4.x;
var _local9 = _local4.y;
if (!(clip.width === undefined)) {
var _local11 = clip.width;
var _local13 = clip.height;
var _local7 = new flash.geom.Point(_local10, _local9);
var _local12 = new flash.geom.Rectangle(_local7.x, _local7.y, _local11, _local13);
return(_local12);
}
if (clip.getBounds) {
var _local3 = clip.getBounds(relativeTo);
var _local5 = _local3.xMin;
var _local8 = _local3.yMin;
var _local11 = _local3.xMax - _local5;
var _local13 = _local3.yMax - _local8;
var _local12 = new flash.geom.Rectangle(_local5, _local8, _local11, _local13);
return(_local12);
}
var _local11 = clip._width;
var _local13 = clip._height;
var _local7 = new flash.geom.Point(_local10, _local9);
var _local12 = new flash.geom.Rectangle(_local7.x, _local7.y, _local11, _local13);
return(_local12);
}
function hitClip(coords_p, clip) {
var _local2 = getClipRect(clip, _root);
var _local3 = _local2.containsPoint(coords_p);
return(_local3);
}
function make_of(emitterList) {
return(function (clip) {
var _local1 = {};
_local1.clip = clip;
AsBroadcaster.initialize(_local1);
emitterList.push(_local1);
_local1.isHovered = false;
_local1.wasHovered = false;
_local1.addListener(_local1);
_local1.cancel = function () {
if (!(timeout === null)) {
clearTimeout(timeout);
}
};
return(_local1);
});
}
function once(func) {
var done = false;
return(function () {
return((done ? (0) : ((done = true)func.apply(this, arguments))));
});
}
var parent = (this || (_this));
var hoverWait_ms = (hoverDelay || 33);
var output = {};
output.hover = {};
output.unHover = {};
output.enabled = true;
var hoverEmitters = [];
var unHoverEmitters = [];
var mouseMoveReact = {};
AsBroadcaster.initialize(mouseMoveReact);
var react = {};
Mouse.addListener(react);
parent.addListener(react);
var timeout = null;
react.onMouseMove = function () {
if (!output.enabled) {
return(undefined);
}
if (!parent._name) {
react.unload();
return(undefined);
}
if (!(timeout === null)) {
clearTimeout(timeout);
}
timeout = setTimeout(function () {
if (!output.enabled) {
return(undefined);
}
if (!parent._name) {
react.unload();
return(undefined);
}
var _local6 = _root._xmouse;
var _local5 = _root._ymouse;
var _local2 = unHoverEmitters.length - 1;
while (_local2 >= 0) {
var _local3 = unHoverEmitters[_local2].clip;
if (!_local3) {
} else if (!unHoverEmitters[_local2].broadcastMessage) {
} else {
var _local7 = hitClip({x:_local6, y:_local5}, _local3);
unHoverEmitters[_local2].wasHovered = unHoverEmitters[_local2].isHovered || false;
unHoverEmitters[_local2].isHovered = _local7 || false;
if (_local7) {
} else {
var _local4 = {isHovered:unHoverEmitters[_local2].isHovered, wasHovered:unHoverEmitters[_local2].wasHovered, target:_local3};
unHoverEmitters[_local2].broadcastMessage("then", _local4);
}
}
_local2--;
}
_local2 = hoverEmitters.length - 1;
while (_local2 >= 0) {
var _local3 = hoverEmitters[_local2].clip;
if (!_local3) {
} else if (!hoverEmitters[_local2].broadcastMessage) {
} else {
var _local7 = hitClip({x:_local6, y:_local5}, _local3);
hoverEmitters[_local2].wasHovered = hoverEmitters[_local2].isHovered || false;
hoverEmitters[_local2].isHovered = _local7 || false;
if (!_local7) {
} else {
var _local4 = {isHovered:hoverEmitters[_local2].isHovered, wasHovered:hoverEmitters[_local2].wasHovered, target:_local3};
hoverEmitters[_local2].broadcastMessage("then", _local4);
}
}
_local2--;
}
}, hoverWait_ms);
mouseMoveReact.broadcastMessage("then");
};
output.hover.of = make_of(hoverEmitters);
output.unHover.of = make_of(unHoverEmitters);
react.unload = function () {
function removeListeners(obj) {
for (var _local3 in obj._listeners) {
var _local1 = obj._listeners[_local3];
obj.removeListener(_local1);
}
obj._listeners = [];
}
Mouse.removeListener(react);
parent.removeListener(react);
if (!(timeout === null)) {
clearTimeout(stopDelay);
}
var _local1 = hoverEmitters.length - 1;
while (_local1 >= 0) {
var _local2 = hoverEmitters[_local1];
removeListeners(_local2);
delete _local2.clip;
_local1--;
}
hoverEmitters = [];
_local1 = unHoverEmitters.length - 1;
while (_local1 >= 0) {
var _local2 = unHoverEmitters[_local1];
removeListeners(_local2);
delete _local2.clip;
_local1--;
}
unHoverEmitters = [];
removeListeners(mouseMoveReact);
};
react.unload = once(react.unload);
output.unload = react.unload;
output.mouseMove = function () {
var _local1 = {};
mouseMoveReact.addListener(_local1);
return(_local1);
};
return(output);
}
function quikTween2(startAt, endAt, seconds, ease, fps) {
function done() {
if (vow.getStatus() === "pending") {
vow.keep();
}
vow.promise.advanceFrame = null;
if (!(interval === null)) {
clearInterval(interval);
}
interval = null;
hasBeenAborted = true;
}
var vow = VOW.make();
if (!seconds) {
trace("WARNING: quickTween2 did not recieve 'seconds' parameter. Using 0 seconds.");
seconds = 0;
}
fps = fps || 30;
var frames = Math.floor(seconds * fps);
var mag = (endAt - startAt);
var hasBeenAborted = false;
var interval = null;
vow.promise.abort = function () {
hasBeenAborted = true;
done();
};
if (frames === 0) {
vow.promise.advanceFrame = function () {
if (hasBeenAborted) {
return(undefined);
}
var _local1 = endAt;
vow.promise.onProgress(_local1);
done();
};
setTimeout(function () {
if (hasBeenAborted) {
return(undefined);
}
vow.promise.advanceFrame();
}, 0);
} else {
var frame = 0;
vow.promise.advanceFrame = function () {
if (hasBeenAborted) {
return(undefined);
}
frame++;
var _local1 = ease(frame, startAt, mag, frames);
vow.promise.onProgress(_local1);
if (frame >= frames) {
done();
}
};
interval = setInterval(function () {
if (hasBeenAborted) {
return(undefined);
}
vow.promise.advanceFrame();
}, 33);
setTimeout(function () {
if (hasBeenAborted) {
return(undefined);
}
vow.promise.advanceFrame();
}, 0);
}
return(vow.promise);
}
function easeLinear(thisFrame, startAt, mag, totalFrames) {
return((mag * (thisFrame / totalFrames)) + startAt);
}
function easeIn(thisFrame, startAt, mag, totalFrames) {
var _local2 = 3;
var _local1 = thisFrame / totalFrames;
_local1 = Math.pow(_local1, _local2);
var _local3 = (mag * _local1) + startAt;
return(_local3);
}
function easeOut(thisFrame, startAt, mag, totalFrames) {
var _local2 = 3;
var _local1 = thisFrame / totalFrames;
_local1 = 1 - Math.pow(1 - _local1, _local2);
var _local3 = (mag * _local1) + startAt;
return(_local3);
}
function sendEvent(evt_str, evt, evtEmitter) {
evtEmitter = (evtEmitter || (_this)) || this;
var _local4 = evt instanceof Object;
if (_local4 === false) {
evt = {data:evt};
}
evt.type = evt_str;
if (evtEmitter.dispatchEvent) {
evt.type = evt_str;
evtEmitter.dispatchEvent(evt);
} else if (evtEmitter.broadcastMessage) {
evtEmitter.broadcastMessage(evt_str, evt);
}
}
function make_react(defaultUnloadEmitter) {
function newReaction(eventName, newSettings) {
function get_then() {
return(reaction.then);
}
function set_then(new_func) {
reaction.then = new_func;
var _local1 = new_func instanceof Function;
var _local2 = reaction.tellThese.length > 0;
if (_local1 || (_local2)) {
listen();
if (!(reaction.untilTimeout === undefined)) {
monad.until(reaction.untilTimeout);
}
} else {
unListen();
clearTimeout(reaction.untilId);
}
}
function listen() {
if (reaction.hasListener === true) {
return(null);
}
if (reaction.emitter === undefined) {
return(null);
}
if (reaction.emitter.addEventListener) {
reaction.emitter.addEventListener(reaction.eventName, reaction.eventTarget);
} else if (reaction.emitter.addListener) {
reaction.emitter.addListener(reaction.eventTarget);
} else {
var _local1 = ((reaction.emitter._name === undefined) ? "[object]" : (("\"" + reaction.emitter._name) + "\""));
trace(((("ERROR: " + _local1) + " cannot send events. (") + reaction.eventName) + ")");
return(null);
}
reaction.hasListener = true;
}
function unListen() {
if (reaction.hasListener === false) {
return(null);
}
if (reaction.emitter === undefined) {
return(null);
}
if (reaction.emitter.removeEventListener) {
reaction.emitter.removeEventListener(reaction.eventName, reaction.eventTarget);
} else {
reaction.emitter.removeListener(reaction.eventTarget);
}
reaction.hasListener = false;
}
var reaction = {};
reaction.uid = Math.floor(Math.random() * 99);
reaction.hasListener = false;
reaction.eventName = eventName;
reaction.emitter = defaultUnloadEmitter;
reaction.fireOnce = false;
reaction.eventTarget = {};
reaction.eventTarget[reaction.eventName];
reaction.untilTimeout = undefined;
reaction.untilId = undefined;
reaction.tellThese = [];
for (var _local12 in newSettings) {
reaction[_local12] = newSettings[_local12];
}
var monad = ((reaction.monad = {}));
monad.addProperty("then", get_then, set_then);
monad.then = undefined;
monad.unListen = unListen;
monad.cleanup = function () {
for (var _local1 in reaction.tellThese) {
reaction.tellThese.splice(_local1, 1);
}
monad.then = undefined;
};
monad.disable = function () {
monad.cleanup();
monad.forget();
};
monad.fire = function () {
if (!(monad.then === reaction.then)) {
trace("WARNING: 'then' property was deleted. Now restoring it with the current reaction.");
var _local7 = monad.then;
monad.addProperty("then", get_then, set_then);
monad.then = _local7;
}
var _local6 = arguments.slice();
var _local4 = _local6[0];
monad.then.apply(null, _local6);
var _local2 = 0;
while (_local2 < reaction.tellThese.length) {
if (!reaction.tellThese[_local2].eventTarget) {
} else if (!reaction.tellThese[_local2].eventName) {
} else {
var _local3 = {};
for (var _local5 in _local4) {
_local3[_local5] = _local4[_local5];
}
_local3.type = reaction.tellEventName;
sendEvent(reaction.tellThese[_local2].eventName, _local3, reaction.tellThese[_local2].eventTarget);
}
_local2++;
}
if (reaction.fireOnce === true) {
monad.then = undefined;
}
};
reaction.eventTarget[reaction.eventName] = monad.fire;
monad.tell = function (newEventTarget, newEventName) {
if (!newEventTarget) {
return(monad);
}
if (newEventName instanceof Object) {
newEventName = newEventName.about || (newEventName.to);
}
if (!newEventName) {
newEventName = reaction.eventName;
}
var _local2 = {eventTarget:newEventTarget, eventName:newEventName};
reaction.tellThese.push(_local2);
listen();
return(monad);
};
monad.once = function () {
reaction.fireOnce = true;
return(monad);
};
monad.until = function (wait_ms) {
var _local1 = !isNaN(wait_ms);
if (_local1 === false) {
return(monad);
}
clearTimeout(reaction.untilId);
reaction.untilId = setTimeout(function () {
monad.then = undefined;
}, wait_ms);
reaction.untilTimeout = wait_ms;
return(monad);
};
monad.from = function (newEmitter) {
var _local3 = (newEmitter instanceof MovieClip) || (newEmitter instanceof Object);
if (_local3 === false) {
return(monad);
}
var _local1 = reaction.hasListener;
if (_local1) {
unListen();
}
reaction.emitter = newEmitter;
if (_local1) {
listen();
}
return(monad);
};
monad.forget = function () {
for (var _local1 in allReactions) {
if (!(allReactions[_local1] === reaction)) {
continue;
}
allReactions.splice(_local1, 1);
}
return(monad);
};
return(reaction);
}
var react = {};
var allReactions = [];
react.to = function (eventName, settings) {
var _local1 = newReaction(eventName, settings);
var _local2 = _local1.monad;
allReactions.push(_local1);
return(_local2);
};
var reactOnce = {};
reactOnce.to = function (eventName, settings) {
if (!settings) {
settings = {};
}
settings.fireOnce = true;
return(react.to(eventName, settings));
};
react.once = function () {
return(reactOnce);
};
react.unload = function (fireUnloadEvents) {
if (fireUnloadEvents === undefined) {
fireUnloadEvents = true;
}
for (var _local2 in allReactions) {
allReactions[_local2].monad.unListen();
allReactions.splice(_local2, 1);
if (fireUnloadEvents && (allReactions[_local2].eventName === "unload")) {
allReactions[_local2].monad.fire();
}
allReactions[_local2].monad.cleanup();
}
};
if (defaultUnloadEmitter) {
react.to("unload").forget().then = function () {
react.unload(true);
};
}
return(react);
}
function getClipRect(clip, relativeTo) {
relativeTo = relativeTo || _root;
var _local4 = new flash.geom.Point(0, 0);
clip.localToGlobal(_local4);
relativeTo.globalToLocal(_local4);
var _local10 = _local4.x;
var _local9 = _local4.y;
if (!(clip.width === undefined)) {
var _local11 = clip.width;
var _local13 = clip.height;
var _local7 = new flash.geom.Point(_local10, _local9);
var _local12 = new flash.geom.Rectangle(_local7.x, _local7.y, _local11, _local13);
return(_local12);
}
if (clip.getBounds) {
var _local3 = clip.getBounds(relativeTo);
var _local5 = _local3.xMin;
var _local8 = _local3.yMin;
var _local11 = _local3.xMax - _local5;
var _local13 = _local3.yMax - _local8;
var _local12 = new flash.geom.Rectangle(_local5, _local8, _local11, _local13);
return(_local12);
}
var _local11 = clip._width;
var _local13 = clip._height;
var _local7 = new flash.geom.Point(_local10, _local9);
var _local12 = new flash.geom.Rectangle(_local7.x, _local7.y, _local11, _local13);
return(_local12);
}
function hitClip(coords_p, clip) {
var _local2 = getClipRect(clip, _root);
var _local3 = _local2.containsPoint(coords_p);
return(_local3);
}
var vow_version = 3.9;
var vow_scope = function () {
function forEach(array, callback) {
var _local1 = 0;
while (_local1 < array.length) {
callback(array[_local1], _local1);
_local1++;
}
}
function enlighten(queue, fate) {
forEach(queue, function (func) {
setTimeout(function () {
func(fate);
}, 0);
});
}
var _local12 = vow_version;
var vow_output = {version:_local12, make:function () {
function enqueue(resolution, func, vow) {
var _local2 = ((resolution === "kept") ? (keepers) : (breakers));
var isBroken = Boolean(_local2 === breakers);
_local2[_local2.length] = ((!(typeof(func) === "function")) ? (vow[resolution]) : (function (value) {
try {
_local1 = func(value)_local1if (_local1 && (_local1.is_promise === true)) {
if (isBroken) {
_local1.then(vow.doBreak, vow.doBreak)} else {
_local1.then(vow.keep, vow.doBreak)}
} else {
if (isBroken) {
vow.doBreak(_local1)}
if (!isBroken) {
vow.keep(_local1)}
}
} catch(e) {
vow.doBreak(e)}
}));
}
function herald(state, value, queue) {
if (!(status === "pending")) {
return(undefined);
}
fate = value;
status = state;
enlighten(queue, fate);
keepers = [];
breakers = [];
}
function get_then() {
return(set_then);
}
var breakers = [];
var fate = undefined;
var keepers = [];
var status = "pending";
var promise = {version:vow_output.version, is_promise:true, getStatus:function () {
return(status);
}, getValue:function () {
return(fate);
}, doBreak:function (value) {
herald("broken", value, breakers);
return(this.promise);
}, keep:function (value) {
herald("kept", value, keepers);
return(this.promise);
}};
var set_then = function (kept, broken) {
var _local1 = VOW.make();
switch (status) {
case "pending" :
enqueue("kept", kept, _local1);
enqueue("break", broken, _local1);
break;
case "kept" :
enqueue("kept", kept, _local1);
enlighten(keepers, fate);
keepers = [];
break;
case "broken" :
enqueue("break", broken, _local1);
enlighten(breakers, fate);
breakers = [];
}
return(_local1);
};
promise.addProperty("then", get_then, set_then);
promise.promise = promise;
return(promise);
}, every:function (array) {
var remaining = array.length;
var results = [];
var vow = VOW.make();
if (!remaining) {
vow.keep([]);
} else {
forEach(array, function (promise, i) {
promise.then(function (value) {
results[i] = value;
remaining--;
if (remaining === 0) {
vow.keep(results);
}
}, function (reason) {
remaining = null;
vow.doBreak(reason);
});
});
}
return(vow.promise);
}, everyTried:function (array) {
var remaining = array.length;
var results = [];
var vow = VOW.make();
if (!remaining) {
vow.keep([]);
} else {
forEach(array, function (promise, i) {
promise.then(function (value) {
results[i] = value;
remaining--;
if (remaining === 0) {
vow.keep(results);
}
}, function (failReason) {
results[i] = undefined;
remaining--;
if (remaining === 0) {
vow.keep(results);
}
});
});
}
return(vow.promise);
}, first:function (array) {
function check() {
remaining--;
if ((remaining === 0) && (!found)) {
vow.doBreak();
}
}
var found = false;
var remaining = array.length;
var vow = VOW.make();
if (remaining === 0) {
vow.doBreak(array);
} else {
forEach(array, function (promise) {
promise.then(function (value) {
if (!found) {
found = true;
vow.keep(value);
}
check();
}, check);
});
}
return(vow.promise);
}, kept:function (value) {
var _local1 = VOW.make();
_local1.keep(value);
return(_local1.promise);
}, broken:function (reason) {
var _local1 = VOW.make();
_local1.doBreak(reason);
return(_local1.promise);
}, wait:function (milliseconds) {
var _local1 = function (input) {
var vow = VOW.make();
var milliseconds = ((milliseconds === undefined) ? 0 : (milliseconds));
setTimeout(function () {
vow.keep(input);
}, milliseconds);
return(vow.promise);
};
return(_local1);
}, firstWait:function (milliseconds) {
var vow = VOW.make();
milliseconds = ((milliseconds === undefined) ? 0 : (milliseconds));
setTimeout(function () {
vow.keep({});
}, milliseconds);
return(vow.promise);
}, start:function (value) {
var _local1 = VOW.make();
_local1.keep(value);
return(_local1.promise);
}, runSequence:function (sequence) {
var _local4 = VOW.make().keep();
var _local1 = 0;
while (_local1 < sequence.length) {
var _local3 = sequence[_local1];
var _local2 = _local4.then(_local3);
if (!(_local2.is_promise === true)) {
_local2 = VOW.kept();
}
_local4 = _local2;
_local1++;
}
var _local6 = _local4;
return(_local6);
}, wrap:function (func, callbackIndex) {
if (callbackIndex === undefined) {
var callbackIndex = 0;
}
return(function () {
var vow = VOW.make();
if (callbackIndex === undefined) {
var callbackIndex = (arguments.length - 1);
}
arguments[callbackIndex] = function (output) {
vow.keep(output);
};
func.apply(this, arguments);
return(vow.promise);
});
}, preApply:function (func, param) {
var args = arguments.slice(1);
return(function () {
return(func.apply(null, args));
});
}, failThru:function (failReason) {
return(failReason);
}, null:null};
vow_output.any = (vow_output.allResolved = vow_output.everyTried);
return(vow_output);
};
var VOW = vow_scope();
delete vow_scope;
delete vow_version;
function onUnload() {
sendEvent("unload");
}
if (!addListener) {
AsBroadcaster.initialize(this);
}
react = make_react(this);
var detect = detectHover(100);
function runFunc(func) {
return(func.apply(_this, arguments.slice()));
}
sliderWidth = 50;
isHovered = false;
var top_depth = 1;
var bottom_depth = 0;
value = SOUND.volume || 0;
runFunc(function () {
react.to("change").then = function (evt) {
if (evt.value < 0) {
evt.value = 0;
}
if (evt.value > 100) {
evt.value = 100;
}
value = evt.value;
SOUND.volume = evt.value;
};
react.to("onNewLevel").from(ROOT).then = function () {
var _local1 = SOUND.volume || 0;
if (_local1 === value) {
return(undefined);
}
sendEvent("change", {target:ROOT, value:_local1});
};
});
runFunc(function () {
function updateIcon(evt) {
var _local1 = ((!(evt.value === undefined)) ? (evt.value) : (value));
var _local2 = ((_local1 == 0) ? "off" : "on");
image.gotoAndStop(_local2);
}
react.to("init").then = function () {
image.swapDepths(top_depth);
};
react.to("init").then = updateIcon;
react.to("change").then = updateIcon;
});
runFunc(function () {
function show() {
anim.abort();
slider.swapDepths(bottom_depth);
slider.enabled = false;
slider._visible = true;
slider.x = x_min;
slider.setSize(w_min, h);
anim = quikTween2(0, 1, duration_sec, easeOut);
anim.onProgress = function (scalar) {
var _local2 = (x_mag * scalar) + x_min;
slider.x = _local2;
var _local1 = (w_mag * scalar) + w_min;
slider.setSize(_local1, h);
};
anim.then(show_done);
}
function show_done() {
slider.enabled = true;
slider.swapDepths(top_depth);
anim = null;
}
function hide() {
anim.abort();
slider.enabled = false;
slider.swapDepths(bottom_depth);
slider.x = x_max;
slider.setSize(w_max, h);
slider.visible = true;
anim = quikTween2(1, 0, duration_sec, easeOut);
anim.onProgress = function (scalar) {
var _local2 = (x_mag * scalar) + x_min;
slider.x = _local2;
var _local1 = (w_mag * scalar) + w_min;
slider.setSize(_local1, h);
};
anim.then(hide_done);
}
function hide_done() {
slider._visible = false;
anim = null;
}
var duration_sec = 0.1;
var x_min = 0;
var x_max = buttonArea._width;
var x_mag = (x_max - x_min);
var w_min = 16;
var w_max = sliderWidth;
var w_mag = (w_max - w_min);
var h = 16;
var anim;
slider.visible = false;
slider.hitArea = sliderArea;
if (!slider.addListener) {
AsBroadcaster.initialize(slider);
}
react.to("init").then = function () {
slider.value = value;
};
react.to("showSlider").then = show;
react.to("hideSlider").then = hide;
react.to("change").from(slider).then = function (evt) {
if (evt.value === undefined) {
return(undefined);
}
if (evt.target === _this) {
return(undefined);
}
sendEvent("change", evt);
};
react.to("change").then = function (evt) {
if (evt.value === undefined) {
return(undefined);
}
if (evt.target === slider) {
return(undefined);
}
slider.value = evt.value;
};
});
runFunc(function () {
var lastSliderVolume = value;
react.to("change").then = function (evt) {
if (evt.target === _this) {
return(undefined);
}
var _local1 = Key.isDown(1);
if (_local1 === false) {
return(undefined);
}
lastSliderVolume = evt.value;
};
buttonArea.onRelease = function () {
var _local3 = value;
var _local1 = ((value > 0) ? 0 : (lastSliderVolume));
sendEvent("change", {target:_this, value:_local1, oldValue:_local3});
};
detect.hover.of(buttonArea).then = function (evt) {
if (isHovered) {
return(undefined);
}
isHovered = true;
sendEvent("showSlider");
};
});
runFunc(function () {
function call_hideSlider() {
var _local1 = Key.isDown(1);
if (_local1) {
return(undefined);
}
if (!isHovered) {
return(undefined);
}
isHovered = false;
sendEvent("hideSlider");
}
var _local4 = 16;
sliderArea._width = (buttonArea._width + sliderWidth) + _local4;
react.to("init").tell(_this, "hideSlider");
react.to("showSlider").then = function () {
sliderArea._visible = true;
slider.swapDepths();
};
react.to("hideSlider").then = function () {
sliderArea._visible = false;
};
detect.unHover.of(sliderArea).then = call_hideSlider;
react.to("onMouseUp").from(Mouse).then = function (evt) {
var _local2 = new flash.geom.Point(_root._xmouse, _root._ymouse);
if (hitClip(_local2, sliderArea)) {
return(undefined);
}
if (hitClip(_local2, buttonArea)) {
return(undefined);
}
call_hideSlider();
};
});
sendEvent("init");
Instance of Symbol 225 MovieClip [Slider] "slider" in Symbol 260 MovieClip [swf\soundMute.swf] Frame 1
//component parameters
onClipEvent (construct) {
value = 50;
maxValue = 100;
visible = true;
enabled = true;
}
Symbol 271 MovieClip Frame 1
_this = this;
_x = Math.floor(_x);
_y = Math.floor(_y);
__width = Math.floor(_width);
__height = Math.floor(_height);
_yscale = 100;
_xscale = 100;
fade_mc._visible = false;
fade_mc._width = __width;
fade_mc._height = __height;
marker._visible = false;
_this.createEmptyMovieClip("background_mc", 1);
background_pic = new flash.display.BitmapData(__width, __height, true, 0);
background_mc.attachBitmap(background_pic, 0, true, false);
background_mc.cacheAsBitmap = true;
background_mc.setMask(fade_mc);
background_mc.swapDepths(fade_mc);
drawRect = function (pic, x, y, w, h) {
background_mc.beginBitmapFill(pic);
background_mc.moveTo(x, y);
background_mc.lineTo(x + w, y);
background_mc.lineTo(x + w, y + h);
background_mc.lineTo(x, y + h);
background_mc.lineTo(x, y);
background_mc.endFill();
};
displayBackground = function () {
var _local3 = new flash.display.BitmapData(32, 32, true, 0);
_local3.draw(image_mc);
var _local4 = new flash.geom.Rectangle(8, 8, 16, 16);
var _local15 = new flash.geom.Rectangle(0, 8, 8, 16);
var _local14 = new flash.geom.Rectangle(24, 8, 8, 16);
var _local9 = new flash.geom.Rectangle(8, 0, 16, 8);
var _local8 = new flash.geom.Rectangle(8, 24, 16, 8);
var _local10 = Math.ceil((__height - 16) / 16);
var _local13 = Math.ceil((__width - 16) / 16);
var _local2 = 0;
while (_local2 < _local10) {
var _local1 = 0;
while (_local1 < _local13) {
var _local6 = new flash.geom.Point(8 + (_local1 * _local4.width), 8 + (_local2 * _local4.height));
background_pic.copyPixels(_local3, _local4, _local6);
if (_local2 == (_local10 - 1)) {
var _local7 = new flash.geom.Point(8 + (_local1 * _local9.width), 0);
var _local5 = new flash.geom.Point(8 + (_local1 * _local8.width), __height - 8);
background_pic.copyPixels(_local3, _local9, _local7);
background_pic.copyPixels(_local3, _local8, _local5);
}
_local1++;
}
var _local11 = new flash.geom.Point(0, 8 + (_local2 * _local15.height));
var _local12 = new flash.geom.Point(__width - 8, 8 + (_local2 * _local14.height));
background_pic.copyPixels(_local3, _local15, _local11);
background_pic.copyPixels(_local3, _local14, _local12);
_local2++;
}
var _local16 = new flash.geom.Rectangle(0, 0, 8, 8);
var _local17 = new flash.geom.Point(0, 0);
background_pic.copyPixels(_local3, _local16, _local17);
_local16 = new flash.geom.Rectangle(0, 24, 8, 8);
_local17 = new flash.geom.Point(0, __height - 8);
background_pic.copyPixels(_local3, _local16, _local17);
_local16 = new flash.geom.Rectangle(24, 0, 8, 8);
_local17 = new flash.geom.Point(__width - 8, 0);
background_pic.copyPixels(_local3, _local16, _local17);
_local16 = new flash.geom.Rectangle(24, 24, 8, 8);
_local17 = new flash.geom.Point(__width - 8, __height - 8);
background_pic.copyPixels(_local3, _local16, _local17);
_this.image_mc.unloadMovie();
};
imageLoader = new MovieClipLoader();
initImage = image;
_image = "";
_this.getImage = function () {
return(_image);
};
_this.setImage = function (newValue, doEvent) {
if (newValue != _this._image) {
_this._image = newValue;
_this.image_mc.unloadMovie();
var _local3 = new flash.geom.Rectangle(0, 0, __width, __height);
background_pic.fillRect(_local3, 0);
_this.createEmptyMovieClip("image_mc", 0);
_this.image_mc._alpha = 0;
_this.image_mc.attachMovie(newValue, "image", 0);
if ((_this.image_mc._width == undefined) || (_this.image_mc._width == 0)) {
var _local2 = flash.display.BitmapData.loadBitmap(newValue);
_this.image_mc.attachBitmap(_local2, 0);
if (_this.image_mc._width == 0) {
imageLoader.onLoadInit = function () {
displayBackground();
};
imageLoader.loadClip(newValue, image_mc);
} else {
displayBackground();
}
} else {
displayBackground();
}
}
};
_this.addProperty("image", _this.getImage, _this.setImage);
image = initImage;
Symbol 274 MovieClip [swf\textbox.swf] Frame 1
#initclip 68
Object.registerClass("swf\\textbox.swf", program.ComponentWrapper2);
#endinitclip
function sendEvent(evt_str, evt, evtEmitter) {
evtEmitter = (evtEmitter || (_this)) || this;
var _local4 = evt instanceof Object;
if (_local4 === false) {
evt = {data:evt};
}
evt.type = evt_str;
if (evtEmitter.dispatchEvent) {
evt.type = evt_str;
evtEmitter.dispatchEvent(evt);
} else if (evtEmitter.broadcastMessage) {
evtEmitter.broadcastMessage(evt_str, evt);
}
}
function sendEvent(evt_str, evt, evtEmitter) {
evtEmitter = (evtEmitter || (_this)) || this;
var _local4 = evt instanceof Object;
if (_local4 === false) {
evt = {data:evt};
}
evt.type = evt_str;
if (evtEmitter.dispatchEvent) {
evt.type = evt_str;
evtEmitter.dispatchEvent(evt);
} else if (evtEmitter.broadcastMessage) {
evtEmitter.broadcastMessage(evt_str, evt);
}
}
function make_react(defaultUnloadEmitter) {
function newReaction(eventName, newSettings) {
function get_then() {
return(reaction.then);
}
function set_then(new_func) {
reaction.then = new_func;
var _local1 = new_func instanceof Function;
var _local2 = reaction.tellThese.length > 0;
if (_local1 || (_local2)) {
listen();
if (!(reaction.untilTimeout === undefined)) {
monad.until(reaction.untilTimeout);
}
} else {
unListen();
clearTimeout(reaction.untilId);
}
}
function listen() {
if (reaction.hasListener === true) {
return(null);
}
if (reaction.emitter === undefined) {
return(null);
}
if (reaction.emitter.addEventListener) {
reaction.emitter.addEventListener(reaction.eventName, reaction.eventTarget);
} else if (reaction.emitter.addListener) {
reaction.emitter.addListener(reaction.eventTarget);
} else {
var _local1 = ((reaction.emitter._name === undefined) ? "[object]" : (("\"" + reaction.emitter._name) + "\""));
trace(((("ERROR: " + _local1) + " cannot send events. (") + reaction.eventName) + ")");
return(null);
}
reaction.hasListener = true;
}
function unListen() {
if (reaction.hasListener === false) {
return(null);
}
if (reaction.emitter === undefined) {
return(null);
}
if (reaction.emitter.removeEventListener) {
reaction.emitter.removeEventListener(reaction.eventName, reaction.eventTarget);
} else {
reaction.emitter.removeListener(reaction.eventTarget);
}
reaction.hasListener = false;
}
var reaction = {};
reaction.uid = Math.floor(Math.random() * 99);
reaction.hasListener = false;
reaction.eventName = eventName;
reaction.emitter = defaultUnloadEmitter;
reaction.fireOnce = false;
reaction.eventTarget = {};
reaction.eventTarget[reaction.eventName];
reaction.untilTimeout = undefined;
reaction.untilId = undefined;
reaction.tellThese = [];
for (var _local12 in newSettings) {
reaction[_local12] = newSettings[_local12];
}
var monad = ((reaction.monad = {}));
monad.addProperty("then", get_then, set_then);
monad.then = undefined;
monad.unListen = unListen;
monad.cleanup = function () {
for (var _local1 in reaction.tellThese) {
reaction.tellThese.splice(_local1, 1);
}
monad.then = undefined;
};
monad.disable = function () {
monad.cleanup();
monad.forget();
};
monad.fire = function () {
if (!(monad.then === reaction.then)) {
trace("WARNING: 'then' property was deleted. Now restoring it with the current reaction.");
var _local7 = monad.then;
monad.addProperty("then", get_then, set_then);
monad.then = _local7;
}
var _local6 = arguments.slice();
var _local4 = _local6[0];
monad.then.apply(null, _local6);
var _local2 = 0;
while (_local2 < reaction.tellThese.length) {
if (!reaction.tellThese[_local2].eventTarget) {
} else if (!reaction.tellThese[_local2].eventName) {
} else {
var _local3 = {};
for (var _local5 in _local4) {
_local3[_local5] = _local4[_local5];
}
_local3.type = reaction.tellEventName;
sendEvent(reaction.tellThese[_local2].eventName, _local3, reaction.tellThese[_local2].eventTarget);
}
_local2++;
}
if (reaction.fireOnce === true) {
monad.then = undefined;
}
};
reaction.eventTarget[reaction.eventName] = monad.fire;
monad.tell = function (newEventTarget, newEventName) {
if (!newEventTarget) {
return(monad);
}
if (newEventName instanceof Object) {
newEventName = newEventName.about || (newEventName.to);
}
if (!newEventName) {
newEventName = reaction.eventName;
}
var _local2 = {eventTarget:newEventTarget, eventName:newEventName};
reaction.tellThese.push(_local2);
listen();
return(monad);
};
monad.once = function () {
reaction.fireOnce = true;
return(monad);
};
monad.until = function (wait_ms) {
var _local1 = !isNaN(wait_ms);
if (_local1 === false) {
return(monad);
}
clearTimeout(reaction.untilId);
reaction.untilId = setTimeout(function () {
monad.then = undefined;
}, wait_ms);
reaction.untilTimeout = wait_ms;
return(monad);
};
monad.from = function (newEmitter) {
var _local3 = (newEmitter instanceof MovieClip) || (newEmitter instanceof Object);
if (_local3 === false) {
return(monad);
}
var _local1 = reaction.hasListener;
if (_local1) {
unListen();
}
reaction.emitter = newEmitter;
if (_local1) {
listen();
}
return(monad);
};
monad.forget = function () {
for (var _local1 in allReactions) {
if (!(allReactions[_local1] === reaction)) {
continue;
}
allReactions.splice(_local1, 1);
}
return(monad);
};
return(reaction);
}
var react = {};
var allReactions = [];
react.to = function (eventName, settings) {
var _local1 = newReaction(eventName, settings);
var _local2 = _local1.monad;
allReactions.push(_local1);
return(_local2);
};
var reactOnce = {};
reactOnce.to = function (eventName, settings) {
if (!settings) {
settings = {};
}
settings.fireOnce = true;
return(react.to(eventName, settings));
};
react.once = function () {
return(reactOnce);
};
react.unload = function (fireUnloadEvents) {
if (fireUnloadEvents === undefined) {
fireUnloadEvents = true;
}
for (var _local2 in allReactions) {
allReactions[_local2].monad.unListen();
allReactions.splice(_local2, 1);
if (fireUnloadEvents && (allReactions[_local2].eventName === "unload")) {
allReactions[_local2].monad.fire();
}
allReactions[_local2].monad.cleanup();
}
};
if (defaultUnloadEmitter) {
react.to("unload").forget().then = function () {
react.unload(true);
};
}
return(react);
}
function once(func) {
var done = false;
return(function () {
return((done ? (0) : ((done = true)func.apply(this, arguments))));
});
}
function runFunc(func) {
return(func.apply(_this, arguments.slice()));
}
function resetTextDonePromise() {
if (textDone_prom.getStatus() === "pending") {
return(undefined);
}
var textDone_vow = VOW.make();
textDone_prom = textDone_vow.promise;
var react_to_textDone = react.to("onTextDone");
react_to_textDone.then = function () {
react_to_textDone.disable();
react_to_textDone = null;
textDone_vow.keep(_html);
};
}
function undoImpliedValues(text) {
if (text === false) {
text = "false";
}
if (text === true) {
text = "true";
}
if (!isNaN(text)) {
text = String(text);
}
if (text === null) {
text = "null";
}
if (!(typeof(text) === "string")) {
text = "";
}
return(text);
}
stop();
if (!parent) {
parent = _parent;
}
is_textbox = true;
var vow_version = 3.9;
var vow_scope = function () {
function forEach(array, callback) {
var _local1 = 0;
while (_local1 < array.length) {
callback(array[_local1], _local1);
_local1++;
}
}
function enlighten(queue, fate) {
forEach(queue, function (func) {
setTimeout(function () {
func(fate);
}, 0);
});
}
var _local12 = vow_version;
var vow_output = {version:_local12, make:function () {
function enqueue(resolution, func, vow) {
var _local2 = ((resolution === "kept") ? (keepers) : (breakers));
var isBroken = Boolean(_local2 === breakers);
_local2[_local2.length] = ((!(typeof(func) === "function")) ? (vow[resolution]) : (function (value) {
try {
_local1 = func(value)_local1if (_local1 && (_local1.is_promise === true)) {
if (isBroken) {
_local1.then(vow.doBreak, vow.doBreak)} else {
_local1.then(vow.keep, vow.doBreak)}
} else {
if (isBroken) {
vow.doBreak(_local1)}
if (!isBroken) {
vow.keep(_local1)}
}
} catch(e) {
vow.doBreak(e)}
}));
}
function herald(state, value, queue) {
if (!(status === "pending")) {
return(undefined);
}
fate = value;
status = state;
enlighten(queue, fate);
keepers = [];
breakers = [];
}
function get_then() {
return(set_then);
}
var breakers = [];
var fate = undefined;
var keepers = [];
var status = "pending";
var promise = {version:vow_output.version, is_promise:true, getStatus:function () {
return(status);
}, getValue:function () {
return(fate);
}, doBreak:function (value) {
herald("broken", value, breakers);
return(this.promise);
}, keep:function (value) {
herald("kept", value, keepers);
return(this.promise);
}};
var set_then = function (kept, broken) {
var _local1 = VOW.make();
switch (status) {
case "pending" :
enqueue("kept", kept, _local1);
enqueue("break", broken, _local1);
break;
case "kept" :
enqueue("kept", kept, _local1);
enlighten(keepers, fate);
keepers = [];
break;
case "broken" :
enqueue("break", broken, _local1);
enlighten(breakers, fate);
breakers = [];
}
return(_local1);
};
promise.addProperty("then", get_then, set_then);
promise.promise = promise;
return(promise);
}, every:function (array) {
var remaining = array.length;
var results = [];
var vow = VOW.make();
if (!remaining) {
vow.keep([]);
} else {
forEach(array, function (promise, i) {
promise.then(function (value) {
results[i] = value;
remaining--;
if (remaining === 0) {
vow.keep(results);
}
}, function (reason) {
remaining = null;
vow.doBreak(reason);
});
});
}
return(vow.promise);
}, everyTried:function (array) {
var remaining = array.length;
var results = [];
var vow = VOW.make();
if (!remaining) {
vow.keep([]);
} else {
forEach(array, function (promise, i) {
promise.then(function (value) {
results[i] = value;
remaining--;
if (remaining === 0) {
vow.keep(results);
}
}, function (failReason) {
results[i] = undefined;
remaining--;
if (remaining === 0) {
vow.keep(results);
}
});
});
}
return(vow.promise);
}, first:function (array) {
function check() {
remaining--;
if ((remaining === 0) && (!found)) {
vow.doBreak();
}
}
var found = false;
var remaining = array.length;
var vow = VOW.make();
if (remaining === 0) {
vow.doBreak(array);
} else {
forEach(array, function (promise) {
promise.then(function (value) {
if (!found) {
found = true;
vow.keep(value);
}
check();
}, check);
});
}
return(vow.promise);
}, kept:function (value) {
var _local1 = VOW.make();
_local1.keep(value);
return(_local1.promise);
}, broken:function (reason) {
var _local1 = VOW.make();
_local1.doBreak(reason);
return(_local1.promise);
}, wait:function (milliseconds) {
var _local1 = function (input) {
var vow = VOW.make();
var milliseconds = ((milliseconds === undefined) ? 0 : (milliseconds));
setTimeout(function () {
vow.keep(input);
}, milliseconds);
return(vow.promise);
};
return(_local1);
}, firstWait:function (milliseconds) {
var vow = VOW.make();
milliseconds = ((milliseconds === undefined) ? 0 : (milliseconds));
setTimeout(function () {
vow.keep({});
}, milliseconds);
return(vow.promise);
}, start:function (value) {
var _local1 = VOW.make();
_local1.keep(value);
return(_local1.promise);
}, runSequence:function (sequence) {
var _local4 = VOW.make().keep();
var _local1 = 0;
while (_local1 < sequence.length) {
var _local3 = sequence[_local1];
var _local2 = _local4.then(_local3);
if (!(_local2.is_promise === true)) {
_local2 = VOW.kept();
}
_local4 = _local2;
_local1++;
}
var _local6 = _local4;
return(_local6);
}, wrap:function (func, callbackIndex) {
if (callbackIndex === undefined) {
var callbackIndex = 0;
}
return(function () {
var vow = VOW.make();
if (callbackIndex === undefined) {
var callbackIndex = (arguments.length - 1);
}
arguments[callbackIndex] = function (output) {
vow.keep(output);
};
func.apply(this, arguments);
return(vow.promise);
});
}, preApply:function (func, param) {
var args = arguments.slice(1);
return(function () {
return(func.apply(null, args));
});
}, failThru:function (failReason) {
return(failReason);
}, null:null};
vow_output.any = (vow_output.allResolved = vow_output.everyTried);
return(vow_output);
};
var VOW = vow_scope();
delete vow_scope;
delete vow_version;
updateOnce = function (func, delay) {
var hasUpdated = false;
var interval = null;
var delay = (delay || 0);
return(function () {
if (hasUpdated === false) {
hasUpdated = true;
func.apply(null, arguments);
clearTimeout(interval);
interval = setTimeout(function () {
hasUpdated = false;
}, delay);
}
});
};
callUnload = function (parent) {
function recurseClips(parent, doThis, includeSelf, isShallow) {
if (!parent) {
return(undefined);
}
if (!(parent instanceof MovieClip)) {
return(undefined);
}
if (!doThis) {
return(undefined);
}
if (includeSelf === undefined) {
includeSelf = true;
}
if (isShallow === undefined) {
isShallow = false;
}
var reportedPath;
var actualPath;
for (var nam in parent) {
if (!nam) {
continue;
}
var thisChild = parent[nam];
if (thisChild instanceof MovieClip) {
reportedPath = String(eval (thisChild._target));
actualPath = (String(eval (parent._target)) + ".") + nam;
if (reportedPath.indexOf(actualPath) != -1) {
if (isShallow) {
doThis.call(thisChild, thisChild);
}
if (!isShallow) {
recurseClips(thisChild, doThis);
}
}
}
}
if (includeSelf) {
doThis.call(parent, parent);
}
}
function unloadThis(thisItem) {
thisItem.onKillFocus(null);
thisItem.dispatchEvent({type:"unload"});
thisItem.broadcastMessage("unload");
thisItem.unload();
thisItem.onUnload();
delete thisItem.onUnload;
thisItem.removeEventListener("keyDown", thisItem);
thisItem.removeEventListener("keyUp", thisItem);
Key.removeListener(thisItem);
Mouse.removeListener(thisItem);
for (var _local3 in thisItem._listeners) {
var _local2 = thisItem._listeners[_local3];
thisItem.removeListener(_local2);
}
thisItem.addListener = function () {
};
}
recurseClips(parent, unloadThis);
};
if ((!addListener) && (!addEventListener)) {
AsBroadcaster.initialize(this);
}
react = make_react(this);
old_onUnload = onUnload;
onUnload = function () {
old_onUnload();
sendEvent("unload");
};
onUnload = once(onUnload);
_this = this;
interruptClose = false;
typeDelay_ms = 25;
tempPause_ms = 200;
resetTextDonePromise();
closeNow = function () {
if (_this.initTimeout) {
clearTimeout(_this.initTimeout);
}
if (_this.instantTimeout) {
clearTimeout(_this.instantTimeout);
}
if (_this.delayTimeout) {
clearTimeout(_this.delayTimeout);
}
if (_this.closeTimeout) {
clearTimeout(_this.closeTimeout);
}
_this.interruptClose = true;
_this.onUnload();
_this.removeMovieClip();
_this.unloadMovie();
};
closeNow = once(closeNow);
react.to("unload").from(LEVEL).tell(LEVEL, "closeTextboxes");
react.to("closeTextboxes").from(LEVEL).then = closeNow;
makeProperty = function (propName, defaultValue) {
var _local1 = _this[propName];
if (_this["get_" + propName] == undefined) {
_this["get_" + propName] = function () {
return(_this["_" + propName]);
};
}
if (_this["set_" + propName] == undefined) {
_this["set_" + propName] = function (newValue) {
_this["_" + propName] = newValue;
};
}
_this.addProperty(propName, _this["get_" + propName], _this["set_" + propName]);
var _local2 = ((_local1 != undefined) ? (_local1) : (defaultValue));
if (_local2 != undefined) {
_this["set_" + propName](_local2);
}
};
set_closeAll = function (newValue) {
function isTextbox(mc) {
return(Boolean(mc.is_textbox));
}
if (newValue) {
var _local2 = [];
for (var _local3 in parent) {
if (isTextbox(parent[_local3])) {
_local2.push(parent[_local3]);
}
}
var _local1 = _local2.length - 1;
while (_local1 >= 0) {
_local2[_local1].closeNow();
_local1--;
}
}
};
set_closeAll = once(set_closeAll);
makeProperty("closeOnSpace", true);
makeProperty("closeOnClick", true);
makeProperty("typeDelay", 0);
makeProperty("enterKey", (RAM.keys.talk || (ROM.textbox.enterKey)) || 32);
makeProperty("cancelKey", RAM.keys.cancel || 27);
makeProperty("skipKey", RAM.keys.run || 16);
makeProperty("typingSound", "");
makeProperty("soundSystem", SOUND);
makeProperty("closeAll", false);
makeProperty("closeAtEnd", true);
get_background = function () {
return(bg.image);
};
set_background = function (newValue, doEvent) {
bg.image = newValue;
};
makeProperty("background");
message_txt.condenseWhite = false;
readIndex = 0;
delayTimeout = null;
forceSound = true;
waitForClick = false;
doneTyping = false;
initInstantDisplay = (instantDisplay ? (instantDisplay) : false);
_html = "<p>";
set_text = function (newValue, doEvent) {
newValue = undoImpliedValues(newValue);
if (newValue == "") {
newValue = " ";
}
var _local2 = String.fromCharCode(10);
newValue = newValue.split(_local2).join("");
_local2 = String.fromCharCode(13);
newValue = newValue.split(_local2).join("\\n");
_this._text = newValue;
_this._html = "<p>";
_this.message_txt.htmlText = "";
_this.readIndex = 0;
_this.waitForClick = false;
_this.doneTyping = false;
_this.instantDisplay = false;
clearTimeout(_this.delayTimeout);
if (newValue != "") {
sendEvent("onBeginTyping");
_this.forceSound = true;
if (!(_this.initTimeout === undefined)) {
clearTimeout(_this.initTimeout);
}
_this.initTimeout = setTimeout(_this.typeMessage, 33);
}
};
typeMessage = function () {
if (!_this.doneTyping) {
if (!(typeof(_text) === "string")) {
finishNow();
return(undefined);
}
var _local1 = _text.charAt(_this.readIndex);
if (Key.isDown(_this.skipKey)) {
_this.instantDisplay = true;
}
if (_local1 == "\\") {
_this.readIndex++;
var _local2 = String(_text.charAt(_this.readIndex));
switch (_local2) {
case "." :
var _local3 = 1;
_this.forceSound = true;
break;
case "!" :
_this.waitForClick = true;
break;
case "n" :
_this._html = _this._html + newline;
break;
case "s" :
_this.readIndex++;
var _local7 = Number(_text.charAt(_this.readIndex));
_this.typeDelay = _local7;
if (_this.typeDelay == 0) {
_this.forceSound = true;
}
break;
case "l" :
_this._html = _this._html + "<p align=\"left\">";
break;
case "m" :
_this._html = _this._html + "<p align=\"center\">";
break;
case "r" :
_this._html = _this._html + "<p align=\"right\">";
break;
case "#" :
_this.readIndex++;
var _local4 = _text.charAt(_this.readIndex) == "#";
if (_local4) {
_this._html = _this._html + "</font>";
} else {
var _local5 = String(_text.substr(_this.readIndex, 6));
_this._html = _this._html + (("<font color=\"#" + _local5) + "\">");
_this.readIndex = _this.readIndex + 5;
}
break;
default :
if (isNaN(_local2)) {
break;
}
var _local9 = _text.charAt(_this.readIndex);
var _local8 = Number(_local9);
_local3 = _local8;
_this.forceSound = true;
}
} else {
var _local6 = (_this.typeDelay > 0) && (!_this.instantDisplay);
if (_this.forceSound || (_local6)) {
if (_local1 != _this.enterKey) {
sendEvent("playSound");
_this.forceSound = false;
}
}
_this._html = _this._html + ((typeof(_local1) === "string") ? (_local1) : "");
}
_this.message_txt.htmlText = _this._html;
sendEvent("onTextWrite", {html:_this._html});
_this.readIndex++;
if (_this.readIndex < _text.length) {
if (_this.instantDisplay) {
_this.typeMessage();
} else if (_local3) {
_this.delayTimeout = setTimeout(_this.typeMessage, _local3 * tempPause_ms);
} else if (_this.waitForClick) {
} else if (_local2) {
_this.typeMessage();
} else if (_this.typeDelay) {
if (_local1 == " ") {
_this.typeMessage();
} else {
_this.delayTimeout = setTimeout(_this.typeMessage, _this.typeDelay * typeDelay_ms);
}
} else {
_this.typeMessage();
}
} else {
_this.doneTyping = true;
sendEvent("onTextDone", {html:_this._html});
_this.messageDone();
}
}
};
makeProperty("text", "");
instantDisplay = initInstantDisplay;
if (_this.instantDisplay) {
clearTimeout(_this.delayTimeout);
_this.instantTimeout = setTimeout(_this.typeMessage, 33);
}
var offset = 16;
minTextWidth = 240;
minTextOffset = 72;
maxTextWidth = 296;
maxTextOffset = 16;
faceMargin = 6;
set_face = function (newValue, doEvent) {
if (face_mc.file === newValue) {
return(undefined);
}
face_mc.complete = function () {
face_mc.complete = null;
face_mc.error = null;
if (!(face_mc.file === newValue)) {
return(undefined);
}
var _local2 = (face_mc.content._width ? ((face_mc._x + face_mc.content._width) + faceMargin) : (face_mc._x));
var _local1 = maxTextWidth - face_mc.content._width;
_this.message_txt._width = _local1 - faceMargin;
_this.message_txt._x = _local2;
face_mc.content.start();
react_to_face_draw.disable();
react_to_face_draw = react.to("onDraw").from(face_mc.content);
react_to_face_draw.then = function () {
sendEvent("onDraw");
};
};
face_mc.error = function () {
face_mc.complete = null;
face_mc.error = null;
if (!(face_mc.file === newValue)) {
return(undefined);
}
trace("can't load face");
var _local2 = face_mc._x;
var _local1 = maxTextWidth;
_this.message_txt._width = _local1;
_this.message_txt._x = _local2;
};
face_mc.file = newValue;
if (!newValue) {
face_mc.error();
}
};
makeProperty("face");
react.to("unload").then = function () {
callUnload(face_mc.content);
};
closeTriggers = {};
close = function () {
if (_this.doneTyping && (!waitForInitRelease)) {
var _local1 = function (_this) {
if (!_this.interruptClose) {
_this.close = undefined;
_this.nextFrame();
}
};
_this.closeTimeout = setTimeout(_local1, 66, _this);
}
};
finishNow = function () {
_this.typeMessage = null;
if (_this.initTimeout) {
clearTimeout(_this.initTimeout);
}
if (_this.instantTimeout) {
clearTimeout(_this.instantTimeout);
}
if (_this.delayTimeout) {
clearTimeout(_this.delayTimeout);
}
if (_this.closeTimeout) {
clearTimeout(_this.closeTimeout);
}
_this.doneTyping = true;
sendEvent("onTextDone", {html:_this._html});
_this.messageDone();
close();
};
closeTriggers.onMouseUp = function () {
if (_this.closeOnClick) {
close();
}
if (_this.waitForClick) {
_this.waitForClick = false;
typeMessage();
}
};
Mouse.addListener(closeTriggers);
react.to("unload").then = function () {
Mouse.removeListener(closeTriggers);
};
if (Key.isDown(_this.enterKey) || (Key.isDown(_this.cancelKey))) {
waitForInitRelease = true;
}
closeTriggers.onKeyUp = function () {
var _local1 = Key.getCode();
if (!waitForInitRelease) {
if (Key.isDown(_this.skipKey)) {
_this.waitForClick = false;
clearTimeout(_this.delayTimeout);
_this.typeMessage();
}
if ((((_local1 == _this.enterKey) || (_local1 == _this.cancelKey)) && (_this.closeOnSpace)) && (!_this.waitForClick)) {
close();
}
if (_this.waitForClick) {
_this.waitForClick = false;
typeMessage();
}
} else if (!(Key.isDown(_this.enterKey) || (Key.isDown(_this.cancelKey)))) {
waitForInitRelease = false;
}
};
Key.addListener(closeTriggers);
react.to("unload").then = function () {
Key.removeListener(closeTriggers);
};
react.to("onTextWrite").then = function () {
sendEvent("onDraw");
};
react.to("onDraw").then = updateOnce(function (evt) {
if (_parent) {
sendEvent("onDraw", evt, _parent);
}
}, 33);
runFunc(function () {
function playSound() {
if (!_this.soundSystem) {
return(undefined);
}
if ((_this.typingSound.indexOf(".mp3") > -1) === false) {
return(undefined);
}
if (!canPlay) {
return(undefined);
}
var _local1 = _this.soundSystem.play(_this.typingSound);
canPlay = false;
setTimeout(function () {
canPlay = true;
}, typeSoundDelay);
}
var canPlay = true;
var typeSoundDelay = (typeDelay_ms * 3);
react.to("onTextWrite").then = playSound;
react.to("playSound").then = playSound;
});
react.to("unload").then = function () {
clearTimeout(_this.delayTimeout);
Mouse.removeListener(closeTriggers);
Key.removeListener(closeTriggers);
};
sendEvent("load");
Instance of Symbol 271 MovieClip "bg" in Symbol 274 MovieClip [swf\textbox.swf] Frame 1
//component parameters
onClipEvent (construct) {
image = "";
}
Instance of Symbol 43 MovieClip [imageLoader] "face_mc" in Symbol 274 MovieClip [swf\textbox.swf] Frame 1
//component parameters
onClipEvent (construct) {
file = "";
scaleContent = false;
enabled = true;
visible = true;
}
Symbol 274 MovieClip [swf\textbox.swf] Frame 2
if (_this.initTimeout) {
clearTimeout(_this.initTimeout);
}
if (_this.instantTimeout) {
clearTimeout(_this.instantTimeout);
}
if (_this.delayTimeout) {
clearTimeout(_this.delayTimeout);
}
if (_this.closeTimeout) {
clearTimeout(_this.closeTimeout);
}
stop();
onUnload();
if (closeAtEnd) {
_name = (_name + ("_remove" + Math.floor(Math.random() * 999)));
} else {
_name = "held_textbox";
}
removeThis = function (_this) {
_this.onClose();
if (_this.closeAtEnd) {
_this.removeMovieClip();
_this.unloadMovie();
}
};
setTimeout(removeThis, 34, this);
Symbol 283 MovieClip Frame 1
if (replay) {
replay_mc._visible = true;
replay_mc.onRelease = function () {
MUSIC.stopMusic();
SOUND.stopAll();
var _local5 = (level ? (level) : (ROM.startingPlace.level));
var _local4 = ((!(x === undefined)) ? (x) : (ROM.startingPlace.x));
var _local3 = ((!(y === undefined)) ? (y) : (ROM.startingPlace.y));
var _local2 = new flash.geom.Point(_local4, _local3);
ROOT.loadLevel(_local5, _local2);
_parent.removeMovieClip();
_parent.unloadMovie();
};
} else {
replay_mc._visible = false;
}
var faded_a = 50;
var hover_a = 100;
replay_mc._alpha = faded_a;
replay_mc.onRollOver = function () {
replay_mc._alpha = hover_a;
};
replay_mc.onDragOver = replay_mc.onRollOver;
replay_mc.onRollOut = function () {
replay_mc._alpha = faded_a;
};
replay_mc.onDragOut = replay_mc.onRollOut;
Instance of Symbol 282 MovieClip "replay_mc" in Symbol 283 MovieClip Frame 1
onClipEvent (load) {
if (_parent.replay) {
_visible = true;
onRelease = function () {
MUSIC.stopMusic();
SOUND.stopAll();
var _local5 = (_parent.level ? (_parent.level) : (ROM.startingPlace.level));
var _local4 = (_parent.x ? (_parent.x) : (ROM.startingPlace.x));
var _local3 = (_parent.y ? (_parent.y) : (ROM.startingPlace.y));
var _local2 = new flash.geom.Point(_local4, _local3);
ROOT.loadLevel(_local5, _local2);
_parent._parent.removeMovieClip();
_parent._parent.unloadMovie();
};
} else {
_visible = false;
}
}
Symbol 284 MovieClip [swf\theEnd.swf] Frame 1
function once(func) {
var done = false;
return(function () {
return((done ? (0) : ((done = true)func.apply(this, arguments))));
});
}
function removeThis() {
var _this = (_parent.is_theEnd ? _parent : (_this));
if (_this === undefined) {
var _this = this;
}
_this.stop();
_this.onUnload();
_this._name = "";
setTimeout(function () {
_this.onClose();
_this.removeMovieClip();
}, 34);
}
inter.level = level;
inter.x = x;
inter.y = y;
inter.replay = replay;
_this = this;
is_theEnd = true;
if (!init) {
init = true;
currentLevelId = LEVEL.uid;
removeThis = once(removeThis);
}
_this.onEnterFrame = function () {
if (!(currentLevelId === LEVEL.uid)) {
removeThis();
delete _this.onEnterFrame;
}
};
Symbol 284 MovieClip [swf\theEnd.swf] Frame 31
stop();
Symbol 291 MovieClip [levels\dogs_pet\_common.lvl] Frame 1
data_txt = "<data xmlType=\"object\"><level name=\"str_levels\\dogs_pet\\_common.lvl\" xmlType=\"object\"><sprites xmlType=\"array\"><5 name=\"str_mood\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_1\" frame=\"num_1\" directions=\"num_1\" direction=\"num_0\" charset=\"str_charset\\invisible.png\" xmlType=\"object\" /><position y=\"num_24\" x=\"num_56\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><hitbox height=\"num_16\" width=\"num_16\" xmlType=\"object\" /><copySprite id=\"str_\" xmlType=\"object\"><data xmlType=\"object\" /></copySprite><scripts xmlType=\"object\"><newMap xmlType=\"array\"><0 type=\"str_if\" xmlType=\"array\"><0 target=\"str_HUD\" waitForEnd=\"bol_false\" depth=\"num_-1\" name=\"str_mood\" linkage=\"str_swf\\mood.swf\" type=\"str_swf\" xmlType=\"object\"><data mood=\"str_none\" target=\"str_player\" darkAlpha=\"num_90\" lightScale=\"num_100\" resetOnTeleport=\"bol_false\" xmlType=\"object\" /></0><condition xmlType=\"array\"><2 value=\"str_undefined\" xmlType=\"variable\" /><1 value=\"str_=\" xmlType=\"variable\" /><0 value=\"str_HUD.mood\" xmlType=\"variable\" /></condition></0></newMap></scripts><initialAppearance isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_1\" frame=\"num_1\" directions=\"num_1\" direction=\"num_0\" charset=\"str_charset\\invisible.png\" xmlType=\"object\" /></data></5><4 name=\"str_door\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite charset=\"str_charset\\objects\\doors\\iog1.png\" directions=\"num_1\" frames=\"num_3\" columns=\"num_1\" rows=\"num_1\" animType=\"str_once\" animDirection=\"num_-1\" frame=\"num_0\" direction=\"num_0\" pose=\"num_0\" delay=\"num_2\" isAnimating=\"bol_false\" xmlType=\"object\" /><position y=\"num_40\" x=\"num_8\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><hitbox height=\"num_16\" width=\"num_16\" xmlType=\"object\" /><copySprite id=\"str_\" xmlType=\"object\"><data xmlType=\"object\" /></copySprite><scripts xmlType=\"object\"><openNow xmlType=\"array\"><1 update=\"bol_false\" type=\"str_setVariable\" reference=\"bol_false\" xmlType=\"object\"><condition xmlType=\"array\"><2 value=\"str_true\" xmlType=\"variable\" /><1 value=\"str_=\" xmlType=\"variable\" /><0 value=\"str_this.isOpen\" xmlType=\"variable\" /></condition></1><0 type=\"str_move\" sprite=\"str_this\" xmlType=\"array\"><0 type=\"str_appearance\" xmlType=\"object\"><value isAnimating=\"bol_false\" delay=\"num_2\" animDirection=\"num_1\" animType=\"str_once\" pose=\"num_0\" rows=\"num_1\" columns=\"num_1\" frame=\"num_2\" frames=\"num_3\" direction=\"num_0\" directions=\"num_1\" charset=\"str_charset\\objects\\doors\\iog1.png\" xmlType=\"object\" /></0></0></openNow><auto xmlType=\"array\"><1 type=\"str_if\" xmlType=\"array\"><0 update=\"bol_false\" type=\"str_setVariable\" reference=\"bol_false\" xmlType=\"object\"><condition xmlType=\"array\"><2 value=\"str_[this.openNow()]\" xmlType=\"variable\" /><1 value=\"str_=\" xmlType=\"variable\" /><0 value=\"str_\" xmlType=\"variable\" /></condition></0><condition xmlType=\"array\"><2 value=\"str_true\" xmlType=\"variable\" /><1 value=\"str_=\" xmlType=\"variable\" /><0 value=\"str_this.isOpen\" xmlType=\"variable\" /></condition></1><0 type=\"str_if\" xmlType=\"array\"><0 update=\"bol_false\" type=\"str_setVariable\" reference=\"bol_false\" xmlType=\"object\"><condition xmlType=\"array\"><2 value=\"str_false\" xmlType=\"variable\" /><1 value=\"str_=\" xmlType=\"variable\" /><0 value=\"str_this.isOpen\" xmlType=\"variable\" /></condition></0><condition xmlType=\"array\"><2 value=\"str_undefined\" xmlType=\"variable\" /><1 value=\"str_=\" xmlType=\"variable\" /><0 value=\"str_this.isOpen\" xmlType=\"variable\" /></condition></0></auto><open xmlType=\"array\"><1 message=\"str_\" type=\"str_comment\" xmlType=\"object\" /><0 type=\"str_if\" xmlType=\"array\"><3 value=\"str_this\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><2 type=\"str_move\" sprite=\"str_this\" xmlType=\"array\"><0 type=\"str_appearance\" xmlType=\"object\"><value isAnimating=\"bol_true\" delay=\"num_2\" animDirection=\"num_1\" animType=\"str_once\" pose=\"num_0\" rows=\"num_1\" columns=\"num_1\" frame=\"num_0\" frames=\"num_3\" direction=\"num_0\" directions=\"num_1\" charset=\"str_charset\\objects\\doors\\iog1.png\" xmlType=\"object\" /></0></2><1 name=\"str_\" volume=\"num_100\" loop=\"bol_false\" file=\"str_sound\\open.mp3\" type=\"str_sound\" xmlType=\"object\" /><0 update=\"bol_false\" type=\"str_setVariable\" reference=\"bol_false\" xmlType=\"object\"><condition xmlType=\"array\"><2 value=\"str_true\" xmlType=\"variable\" /><1 value=\"str_=\" xmlType=\"variable\" /><0 value=\"str_this.isOpen\" xmlType=\"variable\" /></condition></0><condition xmlType=\"array\"><2 value=\"str_true\" xmlType=\"variable\" /><1 value=\"str_!=\" xmlType=\"variable\" /><0 value=\"str_this.isOpen\" xmlType=\"variable\" /></condition></0></open><close xmlType=\"array\"><0 type=\"str_if\" xmlType=\"array\"><3 name=\"str_\" volume=\"num_100\" loop=\"bol_false\" file=\"str_sound\\doorShut.mp3\" type=\"str_sound\" xmlType=\"object\" /><2 value=\"str_this\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><1 type=\"str_move\" sprite=\"str_this\" xmlType=\"array\"><0 type=\"str_appearance\" xmlType=\"object\"><value isAnimating=\"bol_true\" delay=\"num_2\" animDirection=\"num_-1\" animType=\"str_once\" pose=\"num_0\" rows=\"num_1\" columns=\"num_1\" frame=\"num_2\" frames=\"num_3\" direction=\"num_0\" directions=\"num_1\" charset=\"str_charset\\objects\\doors\\iog1.png\" xmlType=\"object\" /></0></1><0 update=\"bol_false\" type=\"str_setVariable\" reference=\"bol_false\" xmlType=\"object\"><condition xmlType=\"array\"><2 value=\"str_false\" xmlType=\"variable\" /><1 value=\"str_=\" xmlType=\"variable\" /><0 value=\"str_this.isOpen\" xmlType=\"variable\" /></condition></0><condition xmlType=\"array\"><2 value=\"str_false\" xmlType=\"variable\" /><1 value=\"str_!=\" xmlType=\"variable\" /><0 value=\"str_this.isOpen\" xmlType=\"variable\" /></condition></0></close></scripts><initialAppearance charset=\"str_charset\\objects\\doors\\iog1.png\" directions=\"num_1\" frames=\"num_3\" columns=\"num_1\" rows=\"num_1\" animType=\"str_once\" animDirection=\"num_-1\" frame=\"num_0\" direction=\"num_0\" pose=\"num_0\" delay=\"num_2\" isAnimating=\"bol_false\" xmlType=\"object\" /></data></4><3 name=\"str_stop_sounds\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_1\" frame=\"num_1\" directions=\"num_1\" direction=\"num_0\" charset=\"str_charset\\invisible.png\" xmlType=\"object\" /><position x=\"num_56\" y=\"num_8\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><hitbox height=\"num_16\" width=\"num_16\" xmlType=\"object\" /><copySprite id=\"str_\" xmlType=\"object\"><data xmlType=\"object\" /></copySprite><scripts xmlType=\"object\"><newMap xmlType=\"array\"><0 name=\"str_moaning\" volume=\"num_100\" loop=\"bol_false\" file=\"str_\" type=\"str_sound\" xmlType=\"object\" /></newMap></scripts><initialAppearance isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_1\" frame=\"num_1\" directions=\"num_1\" direction=\"num_0\" charset=\"str_charset\\invisible.png\" xmlType=\"object\" /></data></3><2 name=\"str_names\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_1\" frame=\"num_1\" directions=\"num_1\" direction=\"num_0\" charset=\"str_charset\\invisible.png\" xmlType=\"object\" /><position x=\"num_24\" y=\"num_8\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><hitbox height=\"num_16\" width=\"num_16\" xmlType=\"object\" /><copySprite id=\"str_\" xmlType=\"object\"><data xmlType=\"object\" /></copySprite><scripts xmlType=\"object\"><newMap xmlType=\"array\"><4 update=\"bol_false\" type=\"str_setVariable\" reference=\"bol_false\" xmlType=\"object\"><condition xmlType=\"array\"><2 value=\"str_Wolsworth\" xmlType=\"variable\" /><1 value=\"str_=\" xmlType=\"variable\" /><0 value=\"str_dog\" xmlType=\"variable\" /></condition></4><3 update=\"bol_false\" type=\"str_setVariable\" reference=\"bol_false\" xmlType=\"object\"><condition xmlType=\"array\"><2 value=\"str_Sarah\" xmlType=\"variable\" /><1 value=\"str_=\" xmlType=\"variable\" /><0 value=\"str_lilly\" xmlType=\"variable\" /></condition></3><2 update=\"bol_false\" type=\"str_setVariable\" reference=\"bol_false\" xmlType=\"object\"><condition xmlType=\"array\"><2 value=\"str_Amanda\" xmlType=\"variable\" /><1 value=\"str_=\" xmlType=\"variable\" /><0 value=\"str_kara\" xmlType=\"variable\" /></condition></2><1 update=\"bol_false\" type=\"str_setVariable\" reference=\"bol_false\" xmlType=\"object\"><condition xmlType=\"array\"><2 value=\"str_Mary\" xmlType=\"variable\" /><1 value=\"str_=\" xmlType=\"variable\" /><0 value=\"str_newGirl\" xmlType=\"variable\" /></condition></1><0 update=\"bol_false\" type=\"str_setVariable\" reference=\"bol_false\" xmlType=\"object\"><condition xmlType=\"array\"><2 value=\"str_Veruca\" xmlType=\"variable\" /><1 value=\"str_=\" xmlType=\"variable\" /><0 value=\"str_richGirl\" xmlType=\"variable\" /></condition></0></newMap></scripts><initialAppearance isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_1\" frame=\"num_1\" directions=\"num_1\" direction=\"num_0\" charset=\"str_charset\\invisible.png\" xmlType=\"object\" /></data></2><1 name=\"str_pausePlayer\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_1\" frame=\"num_1\" directions=\"num_1\" direction=\"num_0\" charset=\"str_charset\\invisible.png\" xmlType=\"object\" /><position x=\"num_40\" y=\"num_8\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><hitbox height=\"num_16\" width=\"num_16\" xmlType=\"object\" /><copySprite id=\"str_\" xmlType=\"object\"><data xmlType=\"object\" /></copySprite><scripts xmlType=\"object\"><newMap xmlType=\"array\"><0 isPaused=\"bol_true\" system=\"str_player\" type=\"str_pause\" xmlType=\"object\" /></newMap></scripts><initialAppearance isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_1\" frame=\"num_1\" directions=\"num_1\" direction=\"num_0\" charset=\"str_charset\\invisible.png\" xmlType=\"object\" /></data></1><0 name=\"str_UI\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_1\" frame=\"num_1\" directions=\"num_1\" direction=\"num_0\" charset=\"str_charset\\invisible.png\" xmlType=\"object\" /><position x=\"num_8\" y=\"num_8\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><hitbox height=\"num_16\" width=\"num_16\" xmlType=\"object\" /><copySprite id=\"str_\" xmlType=\"object\"><data xmlType=\"object\" /></copySprite><scripts xmlType=\"object\"><newMap xmlType=\"array\"><1 type=\"str_if\" xmlType=\"array\"><0 target=\"str_HUD\" waitForEnd=\"bol_false\" depth=\"num_-1\" name=\"str_soundMute\" linkage=\"str_swf\\soundMute.swf\" type=\"str_swf\" xmlType=\"object\"><data _x=\"num_0\" _y=\"num_0\" xmlType=\"object\" /></0><condition xmlType=\"array\"><2 value=\"str_undefined\" xmlType=\"variable\" /><1 value=\"str_=\" xmlType=\"variable\" /><0 value=\"str_HUD.soundMute\" xmlType=\"variable\" /></condition></1><0 type=\"str_if\" xmlType=\"array\"><0 target=\"str_HUD\" waitForEnd=\"bol_false\" depth=\"num_-1\" name=\"str_replaySkip\" linkage=\"str_swf\\skipReplay.swf\" type=\"str_swf\" xmlType=\"object\"><data replay=\"bol_true\" skip=\"bol_true\" xmlType=\"object\" /></0><condition xmlType=\"array\"><2 value=\"str_undefined\" xmlType=\"variable\" /><1 value=\"str_=\" xmlType=\"variable\" /><0 value=\"str_HUD.replaySkip\" xmlType=\"variable\" /></condition></0></newMap></scripts><initialAppearance isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_1\" frame=\"num_1\" directions=\"num_1\" direction=\"num_0\" charset=\"str_charset\\invisible.png\" xmlType=\"object\" /></data></0></sprites><map format=\"num_3\" isCompressed=\"bol_true\" tileSize=\"num_16\" width=\"num_4\" height=\"num_3\" collision=\"str_000000000000\" xmlType=\"object\"><layers xmlType=\"array\"><0 value=\"str_000000000000000000000000000000000000\" xmlType=\"variable\" /></layers><chipsets xmlType=\"array\"><0 value=\"str_chipset\\basis.png\" xmlType=\"variable\" /></chipsets></map></level></data>";
data_xml = new XML(data_txt);
onLoad(data_xml);
Symbol 292 MovieClip [levels\dogs_pet\_init.lvl] Frame 1
data_txt = "<data xmlType=\"object\"><level name=\"str_levels\\dogs_pet\\_init.lvl\" xmlType=\"object\"><sprites xmlType=\"array\"><0 name=\"str_start\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_1\" frame=\"num_1\" directions=\"num_1\" direction=\"num_0\" charset=\"str_charset\\invisible.png\" xmlType=\"object\" /><position x=\"num_8\" y=\"num_8\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><hitbox height=\"num_16\" width=\"num_16\" xmlType=\"object\" /><copySprite id=\"str_\" xmlType=\"object\"><data xmlType=\"object\" /></copySprite><scripts xmlType=\"object\"><auto xmlType=\"array\"><1 relativeLevel=\"str_10.lvl\" level=\"str_levels\\dogs_pet\\10.lvl\" type=\"str_teleport\" xmlType=\"object\"><position y=\"num_0\" x=\"num_0\" xmlType=\"object\" /><transOut mask=\"str_\" easing=\"str_easeLinear\" seconds=\"num_0.5\" effect=\"str_snapshot\" xmlType=\"object\" /><transIn mask=\"str_\" easing=\"str_easeLinear\" seconds=\"num_0.5\" effect=\"str_fade\" xmlType=\"object\" /></1><0 update=\"bol_false\" type=\"str_comment\" reference=\"bol_false\" message=\"str_* volume = 25\" commentedType=\"str_setVariable\" xmlType=\"object\"><condition xmlType=\"array\"><2 value=\"str_25\" xmlType=\"variable\" /><1 value=\"str_=\" xmlType=\"variable\" /><0 value=\"str_SOUND.volume\" xmlType=\"variable\" /></condition></0></auto></scripts><initialAppearance isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_1\" frame=\"num_1\" directions=\"num_1\" direction=\"num_0\" charset=\"str_charset\\invisible.png\" xmlType=\"object\" /></data></0></sprites><map format=\"num_3\" isCompressed=\"bol_true\" tileSize=\"num_16\" width=\"num_4\" height=\"num_3\" collision=\"str_000000000000\" xmlType=\"object\"><layers xmlType=\"array\"><0 value=\"str_000000000000000000000000000000000000\" xmlType=\"variable\" /></layers><chipsets xmlType=\"array\"><0 value=\"str_chipset\\basis.png\" xmlType=\"variable\" /></chipsets></map></level></data>";
data_xml = new XML(data_txt);
onLoad(data_xml);
Symbol 293 MovieClip [levels\dogs_pet\10.lvl] Frame 1
data_txt = "<data xmlType=\"object\"><level name=\"str_levels\\dogs_pet\\10.lvl\" xmlType=\"object\"><sprites xmlType=\"array\"><5 name=\"str_pic\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_1\" frame=\"num_0\" directions=\"num_1\" direction=\"num_0\" charset=\"str_charset\\objects\\pictureFrame\\girl1_inframe.png\" xmlType=\"object\" /><position x=\"num_152\" y=\"num_24\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><hitbox height=\"num_16\" width=\"num_16\" xmlType=\"object\" /><copySprite id=\"str_\" xmlType=\"object\"><data xmlType=\"object\" /></copySprite><scripts xmlType=\"object\" /><initialAppearance isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_1\" frame=\"num_0\" directions=\"num_1\" direction=\"num_0\" charset=\"str_charset\\objects\\pictureFrame\\girl1_inframe.png\" xmlType=\"object\" /></data></5><4 name=\"str_maid\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_2\" columns=\"num_4\" pose=\"num_0\" frames=\"num_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_0\" charset=\"str_charset\\maid.png\" xmlType=\"object\" /><position y=\"num_88\" x=\"num_216\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><hitbox height=\"num_16\" width=\"num_16\" xmlType=\"object\" /><copySprite id=\"str_\" xmlType=\"object\"><data xmlType=\"object\" /></copySprite><scripts xmlType=\"object\" /><initialAppearance isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_2\" columns=\"num_4\" pose=\"num_0\" frames=\"num_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_0\" charset=\"str_charset\\maid.png\" xmlType=\"object\" /></data></4><3 name=\"str_dad\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_2\" columns=\"num_4\" pose=\"num_0\" frames=\"num_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_2\" charset=\"str_charset\\people1.png\" xmlType=\"object\" /><position y=\"num_152\" x=\"num_200\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><hitbox height=\"num_16\" width=\"num_16\" xmlType=\"object\" /><copySprite id=\"str_\" xmlType=\"object\"><data xmlType=\"object\" /></copySprite><scripts xmlType=\"object\" /><initialAppearance isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_2\" columns=\"num_4\" pose=\"num_0\" frames=\"num_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_2\" charset=\"str_charset\\people1.png\" xmlType=\"object\" /></data></3><2 name=\"str_mom\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_2\" columns=\"num_4\" pose=\"num_1\" frames=\"num_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_2\" charset=\"str_charset\\people2.png\" xmlType=\"object\" /><position y=\"num_152\" x=\"num_120\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><hitbox height=\"num_16\" width=\"num_16\" xmlType=\"object\" /><copySprite id=\"str_\" xmlType=\"object\"><data xmlType=\"object\" /></copySprite><scripts xmlType=\"object\" /><initialAppearance isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_2\" columns=\"num_4\" pose=\"num_1\" frames=\"num_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_2\" charset=\"str_charset\\people2.png\" xmlType=\"object\" /></data></2><1 name=\"str_richGirl\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_2\" charset=\"str_charset\\girl1\\dressed\\walk.png\" xmlType=\"object\" /><position x=\"num_8\" y=\"num_40\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><hitbox height=\"num_16\" width=\"num_16\" xmlType=\"object\" /><copySprite id=\"str_\" xmlType=\"object\"><data xmlType=\"object\" /></copySprite><scripts xmlType=\"object\" /><initialAppearance isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_2\" charset=\"str_charset\\girl1\\dressed\\walk.png\" xmlType=\"object\" /></data></1><0 name=\"str_EVENTS\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_1\" frame=\"num_1\" directions=\"num_1\" direction=\"num_0\" charset=\"str_charset\\invisible.png\" xmlType=\"object\" /><position x=\"num_8\" y=\"num_8\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><hitbox height=\"num_16\" width=\"num_16\" xmlType=\"object\" /><copySprite id=\"str_\" xmlType=\"object\"><data xmlType=\"object\" /></copySprite><scripts xmlType=\"object\"><auto xmlType=\"array\"><24 relativeLevel=\"str_20.lvl\" level=\"str_levels\\dogs_pet\\20.lvl\" type=\"str_teleport\" xmlType=\"object\"><position y=\"num_0\" x=\"num_0\" xmlType=\"object\" /><transOut mask=\"str_\" easing=\"str_easeLinear\" seconds=\"num_0.5\" effect=\"str_fadeBlack\" xmlType=\"object\" /><transIn mask=\"str_\" easing=\"str_easeLinear\" seconds=\"num_0.5\" effect=\"str_fade\" xmlType=\"object\" /></24><23 message=\"str_\" type=\"str_comment\" xmlType=\"object\" /><22 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_Dad: Yes, I suppose you're right.\" type=\"str_textbox\" xmlType=\"object\" /></22><21 type=\"str_move\" sprite=\"str_dad\" xmlType=\"array\"><0 value=\"str_down\" type=\"str_direction\" xmlType=\"object\" /></21><20 value=\"num_0.1\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><19 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" typingSound=\"str_\" background=\"str_\" face=\"str_\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_Mom: How hard can it be?\\.\r Why, people get dogs all the time.\" type=\"str_textbox\" xmlType=\"object\" /></19><18 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_comment\" typingSound=\"str_\" background=\"str_\" face=\"str_\" message=\"str_* text: Mom: It can't be all that difficult.\\.\r Why people get dogs all the time.\" commentedType=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_Mom: It can't be all that difficult.\\.\r Why people get dogs all the time.\" type=\"str_textbox\" xmlType=\"object\" /></18><17 type=\"str_move\" sprite=\"str_mom\" xmlType=\"array\"><1 value=\"str_dad\" type=\"str_lookAt\" xmlType=\"object\" /><0 walkSpeed=\"num_0.26\" duration=\"num_0.26\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_16\" x=\"num_0\" xmlType=\"object\" /></0></17><16 value=\"num_0.1\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><15 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_[richGirl]: So what?\\2\r They're cute and I want one.\" type=\"str_textbox\" xmlType=\"object\" /></15><14 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_comment\" message=\"str_* text: [richGirl]: But they're cute.\\.\r I want one!\" commentedType=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_[richGirl]: But they're cute.\\.\r I want one!\" type=\"str_textbox\" xmlType=\"object\" /></14><13 value=\"str_richGirl\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><12 type=\"str_move\" sprite=\"str_richGirl\" xmlType=\"array\"><0 walkSpeed=\"num_0.13\" duration=\"num_0.367695526217005\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_-32\" x=\"num_32\" xmlType=\"object\" /></0></12><11 value=\"num_0.1\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><10 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_Dad: Why pumpkin, you don't know\r the first thing about dogs.\" type=\"str_textbox\" xmlType=\"object\" /></10><9 value=\"str_dad\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><8 type=\"str_move\" sprite=\"str_dad\" xmlType=\"array\"><1 value=\"str_richGirl\" type=\"str_lookAt\" xmlType=\"object\" /><0 walkSpeed=\"num_0.26\" duration=\"num_0.26\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_16\" x=\"num_0\" xmlType=\"object\" /></0></8><7 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_Dad: A dog?\" type=\"str_textbox\" xmlType=\"object\" /></7><6 type=\"str_move\" sprite=\"str_dad\" xmlType=\"array\"><0 value=\"str_richGirl\" type=\"str_lookAt\" xmlType=\"object\" /></6><5 value=\"num_0.1\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><4 message=\"str_don't know the first thing about dogs\" type=\"str_comment\" xmlType=\"object\" /><3 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_[richGirl]: I want a dog.\" type=\"str_textbox\" xmlType=\"object\" /></3><2 value=\"str_richGirl\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><1 type=\"str_move\" sprite=\"str_richGirl\" xmlType=\"array\"><2 value=\"str_right\" type=\"str_direction\" xmlType=\"object\" /><1 walkSpeed=\"num_0.26\" duration=\"num_0.52\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_-32\" x=\"num_0\" xmlType=\"object\" /></1><0 duration=\"num_0\" autoAnim=\"bol_false\" autoDirection=\"bol_false\" type=\"str_moveAbsolute\" xmlType=\"object\"><position y=\"num_240\" x=\"num_56\" xmlType=\"object\" /></0></1><0 message=\"str_want a dog\" type=\"str_comment\" xmlType=\"object\" /></auto></scripts><initialAppearance isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_1\" frame=\"num_1\" directions=\"num_1\" direction=\"num_0\" charset=\"str_charset\\invisible.png\" xmlType=\"object\" /></data></0></sprites><map format=\"num_2\" width=\"num_20\" height=\"num_15\" chipset=\"str_chipset\\robotrek_indoors.png\" collision=\"str__111111111111111111111111111111111100111110001111000000000000111100111110001111100111100001111110111100001111100111101101111100111001101111100111101101111100111001101111100111101101111100111100001111110111100001111100111111111111100001111111111100000111111111100001111111111111111111111111111111111111\" xmlType=\"object\"><layers xmlType=\"array\"><2 value=\"str__2p2p2p2p2p2p2p2p2p2p2p2p2p2p2p58585858585858585858585858582p0000000000d2000000000000008w4d000000000000000000000000008x4d0000000000d0000000000000008y4d0000000000d100000000000000004d000000an00d100000000000000004d0000000000d100000000000000004d0000000000d100000000000000004d0000000000d10000an00000000004d0000000000d100000000000000004d0000000000d100000000000000004d0000000000d100000000000000004d000000an00d100000000000000004d0000000000d200004c56565656562p000000000000008w4d2p2p2p2p2p2p000000000000008x4d2p2p2p2p2p2p000000000000008y4d2p2p2p2p2p2p56565656565656562p2p2p2p2p2p2p2p2p2p2p2p2p2p2p2p2p2p2p2p2p2p\" xmlType=\"variable\" /><1 value=\"str__00000000000000000000000000000000000000000000000000000000000000009oai000000000000000000000000008v00000000000000000000000000009paj00000000000000000000000000000000000000c60000000000000000000000000000c70000000000000000000000000000c80000000000000o1i2c0000000000000000000000000p002d00000000000000009t0000000q1k2e0000000000000000000000000000000000000000c60000000000000000000000000000c70000000000000000000000000000c8000000000000000000000000000000000000000000000000000000000000000000000000000000920000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000\" xmlType=\"variable\" /><0 value=\"str__0000000000000000000000000000000000000000000000000000000000000l1f29336r6r0j1d27313v6o6o6o000l1f290g6r6r6r6r6r1b1b6o6o6o000l1f29336r6r0i1c26303u6o6o6o000l1f29336r6r0k0d17ac6o6o6o6o000l1f29331a6r0k0d17ad6o6o6o6o000l1f29336r6r0k0d17ae6o7x9l6o000l1f29336r6r0k0d176o6o7y9m6o000la629336r6r0k0d171a6o7y9m6o000l1f29336r6r0k0d176o6o7y9m6o000l1f29336r6r0k0d17ac6o7z9n6o000l1f29336r6r0k0d17ad6o6o6o6o000l1f29331a6r0k0d17ae6o6o6o6o000l1f29336r6r0j1d000000000000000l1f29336r6r6r6r000000000000000l1f29336r6r6r6r000000000000000l1f29336r6r6r6r00000000000000000000000000000000000000000000000000000000000000000000000000\" xmlType=\"variable\" /></layers></map></level></data>";
data_xml = new XML(data_txt);
onLoad(data_xml);
Symbol 294 MovieClip [levels\dogs_pet\20.lvl] Frame 1
data_txt = "<data xmlType=\"object\"><level name=\"str_levels\\dogs_pet\\20.lvl\" xmlType=\"object\"><sprites xmlType=\"array\"><8 name=\"str_mom\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_2\" columns=\"num_4\" pose=\"num_1\" frames=\"num_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_0\" charset=\"str_charset\\people2.png\" xmlType=\"object\" /><position y=\"num_184\" x=\"num_200\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><hitbox height=\"num_16\" width=\"num_16\" xmlType=\"object\" /><copySprite id=\"str_\" xmlType=\"object\"><data xmlType=\"object\" /></copySprite><scripts xmlType=\"object\" /><initialAppearance isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_2\" columns=\"num_4\" pose=\"num_1\" frames=\"num_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_0\" charset=\"str_charset\\people2.png\" xmlType=\"object\" /></data></8><7 name=\"str_clerk\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_2\" charset=\"str_charset\\gent.png\" xmlType=\"object\" /><position x=\"num_200\" y=\"num_88\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><hitbox height=\"num_16\" width=\"num_16\" xmlType=\"object\" /><copySprite id=\"str_\" xmlType=\"object\"><data xmlType=\"object\" /></copySprite><scripts xmlType=\"object\" /><initialAppearance isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_2\" charset=\"str_charset\\gent.png\" xmlType=\"object\" /></data></7><6 name=\"str_dog_1\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_2\" columns=\"num_4\" pose=\"num_0\" frames=\"num_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_3\" charset=\"str_charset\\animal.png\" xmlType=\"object\" /><position y=\"num_184\" x=\"num_104\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><hitbox height=\"num_16\" width=\"num_16\" xmlType=\"object\" /><copySprite id=\"str_\" xmlType=\"object\"><data xmlType=\"object\" /></copySprite><scripts xmlType=\"object\" /><initialAppearance isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_2\" columns=\"num_4\" pose=\"num_0\" frames=\"num_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_3\" charset=\"str_charset\\animal.png\" xmlType=\"object\" /></data></6><5 name=\"str_dog_0\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_2\" columns=\"num_4\" pose=\"num_0\" frames=\"num_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_1\" charset=\"str_charset\\animal.png\" xmlType=\"object\" /><position x=\"num_136\" y=\"num_168\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><hitbox height=\"num_16\" width=\"num_16\" xmlType=\"object\" /><copySprite id=\"str_\" xmlType=\"object\"><data xmlType=\"object\" /></copySprite><scripts xmlType=\"object\" /><initialAppearance isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_2\" columns=\"num_4\" pose=\"num_0\" frames=\"num_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_1\" charset=\"str_charset\\animal.png\" xmlType=\"object\" /></data></5><4 name=\"str_bigDog\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_1\" frame=\"num_0\" directions=\"num_4\" direction=\"num_2\" charset=\"str_charset\\som_wolf\\stand.png\" xmlType=\"object\" /><position x=\"num_104\" y=\"num_88\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><hitbox height=\"num_16\" width=\"num_16\" xmlType=\"object\" /><copySprite id=\"str_\" xmlType=\"object\"><data xmlType=\"object\" /></copySprite><scripts xmlType=\"object\" /><initialAppearance isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_1\" frame=\"num_0\" directions=\"num_4\" direction=\"num_2\" charset=\"str_charset\\som_wolf\\stand.png\" xmlType=\"object\" /></data></4><3 name=\"str_cell_1\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_1\" frame=\"num_1\" directions=\"num_1\" direction=\"num_0\" charset=\"str_charset\\objects\\prisonBars1.png\" xmlType=\"object\" /><position y=\"num_104\" x=\"num_104\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><hitbox height=\"num_16\" width=\"num_16\" xmlType=\"object\" /><copySprite id=\"str_\" xmlType=\"object\"><data xmlType=\"object\" /></copySprite><scripts xmlType=\"object\" /><initialAppearance isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_1\" frame=\"num_1\" directions=\"num_1\" direction=\"num_0\" charset=\"str_charset\\objects\\prisonBars1.png\" xmlType=\"object\" /></data></3><2 name=\"str_door\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_once\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_4\" frame=\"num_0\" directions=\"num_1\" direction=\"num_0\" charset=\"str_charset\\objects\\doors\\prison1.png\" xmlType=\"object\" /><position y=\"num_104\" x=\"num_120\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><hitbox height=\"num_16\" width=\"num_16\" xmlType=\"object\" /><copySprite id=\"str_\" xmlType=\"object\"><data xmlType=\"object\" /></copySprite><scripts xmlType=\"object\" /><initialAppearance isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_once\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_4\" frame=\"num_0\" directions=\"num_1\" direction=\"num_0\" charset=\"str_charset\\objects\\doors\\prison1.png\" xmlType=\"object\" /></data></2><1 name=\"str_cell_0\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_1\" frame=\"num_1\" directions=\"num_1\" direction=\"num_0\" charset=\"str_charset\\objects\\prisonBars1.png\" xmlType=\"object\" /><position x=\"num_88\" y=\"num_104\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><hitbox height=\"num_16\" width=\"num_16\" xmlType=\"object\" /><copySprite id=\"str_\" xmlType=\"object\"><data xmlType=\"object\" /></copySprite><scripts xmlType=\"object\" /><initialAppearance isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_1\" frame=\"num_1\" directions=\"num_1\" direction=\"num_0\" charset=\"str_charset\\objects\\prisonBars1.png\" xmlType=\"object\" /></data></1><0 name=\"str_EVENTS\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_1\" frame=\"num_1\" directions=\"num_1\" direction=\"num_0\" charset=\"str_charset\\invisible.png\" xmlType=\"object\" /><position x=\"num_8\" y=\"num_8\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><hitbox height=\"num_16\" width=\"num_16\" xmlType=\"object\" /><copySprite id=\"str_\" xmlType=\"object\"><data xmlType=\"object\" /></copySprite><scripts xmlType=\"object\"><auto xmlType=\"array\"><30 relativeLevel=\"str_30.lvl\" level=\"str_levels\\dogs_pet\\30.lvl\" type=\"str_teleport\" xmlType=\"object\"><position y=\"num_0\" x=\"num_0\" xmlType=\"object\" /><transOut mask=\"str_\" easing=\"str_easeLinear\" seconds=\"num_0.5\" effect=\"str_fadeBlack\" xmlType=\"object\" /><transIn mask=\"str_\" easing=\"str_easeLinear\" seconds=\"num_0.5\" effect=\"str_fade\" xmlType=\"object\" /></30><29 message=\"str_\" type=\"str_comment\" xmlType=\"object\" /><28 value=\"str_mom\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><27 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_160\" text=\"str_Mom: And he looks very healthy.\\.\r Good muscle tone... impressive fur.\\!\r Just the thing to impress all our guests.\" type=\"str_textbox\" xmlType=\"object\" /></27><26 type=\"str_move\" sprite=\"str_mom\" xmlType=\"array\"><1 value=\"str_bigDog\" type=\"str_lookAt\" xmlType=\"object\" /><0 walkSpeed=\"num_0.13\" duration=\"num_0.13\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_0\" x=\"num_-16\" xmlType=\"object\" /></0></26><25 value=\"num_0.1\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><24 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_160\" text=\"str_Clerk: \\.M\\.-Madam,\\. that is a wol-\" type=\"str_textbox\" xmlType=\"object\" /></24><23 type=\"str_move\" sprite=\"str_clerk\" xmlType=\"array\"><0 value=\"str_up\" type=\"str_direction\" xmlType=\"object\" /></23><22 value=\"num_0.1\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><21 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_160\" text=\"str_Mom: \\.What about this one?\\2\r I've never seen this type of dog before!\" type=\"str_textbox\" xmlType=\"object\" /></21><20 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_comment\" message=\"str_* text: Mom: \\.Oh my!\\.\r I've never seen this type of dog before!\" commentedType=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_160\" text=\"str_Mom: \\.Oh my!\\.\r I've never seen this type of dog before!\" type=\"str_textbox\" xmlType=\"object\" /></20><19 value=\"str_mom\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><18 type=\"str_move\" sprite=\"str_mom\" xmlType=\"array\"><4 value=\"str_bigDog\" type=\"str_lookAt\" xmlType=\"object\" /><3 walkSpeed=\"num_0.13\" duration=\"num_0.26\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_0\" x=\"num_-32\" xmlType=\"object\" /></3><2 walkSpeed=\"num_0.13\" duration=\"num_0.411096095821889\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_-48\" x=\"num_-16\" xmlType=\"object\" /></2><1 value=\"num_0.5\" mode=\"str_time\" type=\"str_moveWait\" xmlType=\"object\" /><0 value=\"str_up\" type=\"str_direction\" xmlType=\"object\" /></18><17 value=\"num_0.1\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><16 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_Clerk: I'm afraid I do not have\r any particularly rare types.\" type=\"str_textbox\" xmlType=\"object\" /></16><15 type=\"str_move\" sprite=\"str_clerk\" xmlType=\"array\"><0 value=\"str_right\" type=\"str_direction\" xmlType=\"object\" /></15><14 value=\"str_mom\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><13 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_I should like a rare breed.\\2\rSomething nobody else has.\" type=\"str_textbox\" xmlType=\"object\" /></13><12 type=\"str_move\" sprite=\"str_mom\" xmlType=\"array\"><1 value=\"str_left\" type=\"str_direction\" xmlType=\"object\" /><0 walkSpeed=\"num_0.26\" duration=\"num_0.26\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_16\" x=\"num_0\" xmlType=\"object\" /></0></12><11 value=\"str_mom\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><10 value=\"num_0.1\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><9 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_Mom: \\.Yes, yes...\\. quite cute...\\2\r just like every puppy I've ever seen.\" type=\"str_textbox\" xmlType=\"object\" /></9><8 type=\"str_move\" sprite=\"str_mom\" xmlType=\"array\"><0 walkSpeed=\"num_0.26\" duration=\"num_0.581377674149945\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_16\" x=\"num_-32\" xmlType=\"object\" /></0></8><7 value=\"str_clerk\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><6 value=\"num_0.1\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><5 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_Clerk: Of course, madam.\\.\r I think you'll find these puppies\r quite to your liking.\" type=\"str_textbox\" xmlType=\"object\" /></5><4 type=\"str_move\" sprite=\"str_clerk\" xmlType=\"array\"><1 walkSpeed=\"num_0.26\" duration=\"num_0.937443331620637\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_48\" x=\"num_-32\" xmlType=\"object\" /></1><0 walkSpeed=\"num_0.26\" duration=\"num_0.52\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_0\" x=\"num_-32\" xmlType=\"object\" /></0></4><3 value=\"num_0.1\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><2 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_Mom: I wish to purchase your finest dog.\" type=\"str_textbox\" xmlType=\"object\" /></2><1 value=\"str_mom\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><0 type=\"str_move\" sprite=\"str_mom\" xmlType=\"array\"><0 walkSpeed=\"num_0.26\" duration=\"num_0.78\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_-48\" x=\"num_0\" xmlType=\"object\" /></0></0></auto></scripts><initialAppearance isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_1\" frame=\"num_1\" directions=\"num_1\" direction=\"num_0\" charset=\"str_charset\\invisible.png\" xmlType=\"object\" /></data></0></sprites><map format=\"num_2\" width=\"num_20\" height=\"num_15\" chipset=\"str_chipset\\robotrek_indoors.png\" collision=\"str__111111111111111111111111111111111111111111111111111111111111111111111111111111100000111111111100000100111111100000100111111111100100111111100000111111111100000000111111100110000111111100110000000111101110000111111111110000111111111111111111111111111111111111111111111111111111111111111111111111111111\" xmlType=\"object\"><layers xmlType=\"array\"><2 value=\"str__1v1v1v1v1v1v1v1v1v1v1v1v1v1v1v1v1v1v1v1v1v1v1v1v1v1v1v1v1v1v1v1v1v1v1v1v1v1v1v1v1v1v1v1v1v1v1v1v1v1v1v1v1v1v1v1v1v1v1v1v1v1v585858585858585858581v1v1v1v1v000000000000000000004d1v1v1v1v000000000000d00000004d1v1v1v1v000000000000d10000004d1v1v1v1v1v1v1v000000d20000004d1v1v1v1v000000000000000000004d1v1v1v1v000000000000000000004d1v1v1v1v000000000000000000004e1v1v1v1v00000000000000000000761v1v1v1v000000000000000000004c1v1v1v1v000000000000000000004d1v1v1v1v000000000000000000004d1v1v1v1v565656565656565656561v1v1v1v1v1v1v1v1v1v1v1v1v1v1v1v1v1v1v1v1v1v1v1v1v1v1v1v1v1v1v1v1v1v1v1v1v1v1v1v1v1v1v1v1v1v1v1v\" xmlType=\"variable\" /><1 value=\"str__0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007676767676767676763o4i5c000000767676767676767676bh7676000000767676767676767676bh7676000000000000000076767676bh76760000007676767676767676763o4i5c000000767676767676767676767676000000767676767676769q76767676000000767676927676769r76767676767676767676767676be9r76767676000000767676765p76769r76767676000000767676767676769s76767676000000767600000000000000000000000000767600000000000000000000000000767600000000000000000000000000767600000000000000000000000000\" xmlType=\"variable\" /><0 value=\"str__00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000d176o6o6o6o6o6o6o6o00000000000d176o6o6o6o6o6o6o6o00000000000d176o6o6o6o6o6o6o6o00000000000000000d176o6o6o6o6o00000000000d176o6o6o6o6o6o6o6o00000000000d176o6o6o6o6o6o6o6o00000000000d176o6o7xcx6o6o6o6o00000000000d176o6o7ycx6o6o6o6o6o000000000d176o4j7ycx6o6o6o6o00000000000d3p8r8r8scx6o6o6o6o00000000000d7z8t8t8tcx4j4j4j4j000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000\" xmlType=\"variable\" /></layers></map></level></data>";
data_xml = new XML(data_txt);
onLoad(data_xml);
Symbol 295 MovieClip [levels\dogs_pet\30.lvl] Frame 1
data_txt = "<data xmlType=\"object\"><level name=\"str_levels\\dogs_pet\\30.lvl\" xmlType=\"object\"><sprites xmlType=\"array\"><8 name=\"str_pic\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_1\" frame=\"num_0\" directions=\"num_1\" direction=\"num_0\" charset=\"str_charset\\objects\\pictureFrame\\girl1_inframe.png\" xmlType=\"object\" /><position y=\"num_24\" x=\"num_152\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><hitbox height=\"num_16\" width=\"num_16\" xmlType=\"object\" /><copySprite id=\"str_\" xmlType=\"object\"><data xmlType=\"object\" /></copySprite><scripts xmlType=\"object\" /><initialAppearance isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_1\" frame=\"num_0\" directions=\"num_1\" direction=\"num_0\" charset=\"str_charset\\objects\\pictureFrame\\girl1_inframe.png\" xmlType=\"object\" /></data></8><7 name=\"str_EVENTS_v2\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_1\" frame=\"num_1\" directions=\"num_1\" direction=\"num_0\" charset=\"str_charset\\invisible.png\" xmlType=\"object\" /><position y=\"num_8\" x=\"num_8\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><hitbox height=\"num_16\" width=\"num_16\" xmlType=\"object\" /><copySprite id=\"str_\" xmlType=\"object\"><data xmlType=\"object\" /></copySprite><scripts xmlType=\"object\"><auto xmlType=\"array\"><56 relativeLevel=\"str_40.lvl\" level=\"str_levels\\dogs_pet\\40.lvl\" type=\"str_teleport\" xmlType=\"object\"><position y=\"num_112\" x=\"num_432\" xmlType=\"object\" /><transOut mask=\"str_\" easing=\"str_easeLinear\" seconds=\"num_0.5\" effect=\"str_fadeBlack\" xmlType=\"object\" /><transIn mask=\"str_\" easing=\"str_easeLinear\" seconds=\"num_0.5\" effect=\"str_fade\" xmlType=\"object\" /></56><55 message=\"str_\" type=\"str_comment\" xmlType=\"object\" /><54 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_Mom: Oh dear...\\2 It seems we'll have to hire\r another maid.\" type=\"str_textbox\" xmlType=\"object\" /></54><53 value=\"str_mom\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><52 type=\"str_move\" sprite=\"str_mom\" xmlType=\"array\"><0 value=\"str_maid\" type=\"str_lookAt\" xmlType=\"object\" /></52><51 value=\"str_maid\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><50 type=\"str_move\" sprite=\"str_maid\" xmlType=\"array\"><2 walkSpeed=\"num_0.13\" duration=\"num_0.26\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_32\" x=\"num_0\" xmlType=\"object\" /></2><1 walkSpeed=\"num_0.13\" duration=\"num_1.17\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_0\" x=\"num_-144\" xmlType=\"object\" /></1><0 walkSpeed=\"num_0.13\" duration=\"num_0.290688837074973\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_32\" x=\"num_-16\" xmlType=\"object\" /></0></50><49 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_Yes,\\. I am completely unqualified for the job!\\!\rSo I must resign.\\!.. r\\.-right now!\" type=\"str_textbox\" xmlType=\"object\" /></49><48 target=\"str_SPRITES.maid\" waitForEnd=\"bol_false\" depth=\"num_-1\" name=\"str_sweat\" linkage=\"str_\" type=\"str_swf\" xmlType=\"object\"><data xmlType=\"object\" /></48><47 type=\"str_move\" sprite=\"str_maid\" xmlType=\"array\"><0 value=\"str_mom\" type=\"str_lookAt\" xmlType=\"object\" /></47><46 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_I was,\\. er...\\2 never trained for dog-care.\" type=\"str_textbox\" xmlType=\"object\" /></46><45 type=\"str_move\" sprite=\"str_maid\" xmlType=\"array\"><0 value=\"str_up\" type=\"str_direction\" xmlType=\"object\" /></45><44 value=\"str_maid\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><43 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_Maid: \\.Ah,\\2 b\\.-but...\" type=\"str_textbox\" xmlType=\"object\" /></43><42 type=\"str_move\" sprite=\"str_maid\" xmlType=\"array\"><0 walkSpeed=\"num_0.26\" duration=\"num_0.26\" autoAnim=\"bol_true\" autoDirection=\"bol_false\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_0\" x=\"num_16\" xmlType=\"object\" /></0></42><41 target=\"str_SPRITES.maid\" waitForEnd=\"bol_false\" depth=\"num_-1\" name=\"str_sweat\" linkage=\"str_swf\\sweat.swf\" type=\"str_swf\" xmlType=\"object\"><data xmlType=\"object\" /></41><40 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_Mom: Now servant girl,\\. I want you to take\r good care of [richGirl]'s new pet.\" type=\"str_textbox\" xmlType=\"object\" /></40><39 value=\"str_mom\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><38 type=\"str_move\" sprite=\"str_mom\" xmlType=\"array\"><0 walkSpeed=\"num_0.26\" duration=\"num_0.367695526217005\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_-16\" x=\"num_16\" xmlType=\"object\" /></0></38><37 value=\"str_bigDog\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><36 value=\"str_richGirl\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><35 type=\"str_move\" sprite=\"str_richGirl\" xmlType=\"array\"><2 walkSpeed=\"num_0.13\" duration=\"num_0.13\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_16\" x=\"num_0\" xmlType=\"object\" /></2><1 walkSpeed=\"num_0.13\" duration=\"num_0.411096095821889\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_48\" x=\"num_16\" xmlType=\"object\" /></1><0 walkSpeed=\"num_0.13\" duration=\"num_1.56\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_0\" x=\"num_192\" xmlType=\"object\" /></0></35><34 value=\"num_0.4\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><33 type=\"str_move\" sprite=\"str_bigDog\" xmlType=\"array\"><5 walkSpeed=\"num_0.13\" duration=\"num_0.13\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_16\" x=\"num_0\" xmlType=\"object\" /></5><4 walkSpeed=\"num_0.13\" duration=\"num_0.411096095821889\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_48\" x=\"num_16\" xmlType=\"object\" /></4><3 walkSpeed=\"num_0.13\" duration=\"num_1.56\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_0\" x=\"num_192\" xmlType=\"object\" /></3><2 walkSpeed=\"num_0.13\" duration=\"num_0.65\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_-80\" x=\"num_0\" xmlType=\"object\" /></2><1 walkSpeed=\"num_0.13\" duration=\"num_0.174451148247869\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_-10\" x=\"num_-19\" xmlType=\"object\" /></1><0 type=\"str_appearance\" xmlType=\"object\"><value isAnimating=\"bol_false\" delay=\"num_2\" animDirection=\"num_1\" animType=\"str_loop\" pose=\"num_0\" rows=\"num_1\" columns=\"num_1\" frame=\"num_0\" frames=\"num_3\" direction=\"num_3\" directions=\"num_4\" charset=\"str_charset\\som_wolf\\walk.png\" xmlType=\"object\" /></0></33><32 type=\"str_move\" sprite=\"str_mom\" xmlType=\"array\"><0 value=\"str_richGirl\" type=\"str_lookAt\" xmlType=\"object\" /></32><31 value=\"str_richGirl\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><30 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_160\" text=\"str_Hee hee!\" type=\"str_textbox\" xmlType=\"object\" /></30><29 type=\"str_move\" sprite=\"str_richGirl\" xmlType=\"array\"><1 value=\"str_bigDog\" type=\"str_lookAt\" xmlType=\"object\" /><0 walkSpeed=\"num_0.13\" duration=\"num_0.6825\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_-84\" x=\"num_0\" xmlType=\"object\" /></0></29><28 value=\"num_0.1\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><27 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_\" face=\"str_\" typingSound=\"str_\" _y=\"num_160\" text=\"str_\\#ffffffSniff... Sniff...\" type=\"str_textbox\" xmlType=\"object\" /></27><26 value=\"str_bigDog\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><25 type=\"str_move\" sprite=\"str_bigDog\" xmlType=\"array\"><2 type=\"str_appearance\" xmlType=\"object\"><value isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" pose=\"num_0\" rows=\"num_1\" columns=\"num_1\" frame=\"num_0\" frames=\"num_1\" direction=\"num_1\" directions=\"num_2\" charset=\"str_charset\\som_wolf\\drink.png\" xmlType=\"object\" /></2><1 walkSpeed=\"num_0.13\" duration=\"num_0.236184680123415\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_-22\" x=\"num_19\" xmlType=\"object\" /></1><0 type=\"str_appearance\" xmlType=\"object\"><value isAnimating=\"bol_false\" delay=\"num_2\" animDirection=\"num_1\" animType=\"str_loop\" pose=\"num_0\" rows=\"num_1\" columns=\"num_1\" frame=\"num_0\" frames=\"num_3\" direction=\"num_1\" directions=\"num_4\" charset=\"str_charset\\som_wolf\\walk.png\" xmlType=\"object\" /></0></25><24 value=\"str_richGirl\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><23 value=\"num_0.1\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><22 type=\"str_move\" sprite=\"str_mom\" xmlType=\"array\"><0 value=\"str_bigDog\" type=\"str_lookAt\" xmlType=\"object\" /></22><21 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_[richGirl]: Look how big he is!\" type=\"str_textbox\" xmlType=\"object\" /></21><20 type=\"str_move\" sprite=\"str_richGirl\" xmlType=\"array\"><0 walkSpeed=\"num_0.13\" duration=\"num_0.2925\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_36\" x=\"num_0\" xmlType=\"object\" /></0></20><19 value=\"num_0.1\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><18 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_Mom: Oh you silly naive creature.\\. It is\r pronounced "Wol-"\\! He is a rare breed.\" type=\"str_textbox\" xmlType=\"object\" /></18><17 type=\"str_move\" sprite=\"str_mom\" xmlType=\"array\"><0 value=\"str_maid\" type=\"str_lookAt\" xmlType=\"object\" /></17><16 value=\"str_mom\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><15 value=\"str_maid\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><14 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_Maid: \\.Eep!\\. There's a wolf in here!\" type=\"str_textbox\" xmlType=\"object\" /></14><13 name=\"str_\" volume=\"num_100\" loop=\"bol_false\" file=\"str_sound\\sexy\\gasp15.mp3\" type=\"str_sound\" xmlType=\"object\" /><12 name=\"str_\" volume=\"num_100\" loop=\"bol_false\" file=\"str_sound\\sexy\\gasp09.mp3\" type=\"str_comment\" message=\"str_* sound: gasp09.mp3\" commentedType=\"str_sound\" xmlType=\"object\" /><11 type=\"str_move\" sprite=\"str_maid\" xmlType=\"array\"><7 value=\"str_bigDog\" type=\"str_lookAt\" xmlType=\"object\" /><6 walkSpeed=\"num_0.13\" duration=\"num_0.183847763108502\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_16\" x=\"num_16\" xmlType=\"object\" /></6><5 walkSpeed=\"num_0.13\" duration=\"num_0.26\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_0\" x=\"num_32\" xmlType=\"object\" /></5><4 walkSpeed=\"num_0.13\" duration=\"num_0.183847763108502\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_16\" x=\"num_16\" xmlType=\"object\" /></4><3 value=\"num_0.1\" mode=\"str_time\" type=\"str_moveWait\" xmlType=\"object\" /><2 walkSpeed=\"num_0.13\" duration=\"num_0.13\" autoAnim=\"bol_false\" autoDirection=\"bol_false\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_16\" x=\"num_0\" xmlType=\"object\" /></2><1 walkSpeed=\"num_0\" duration=\"num_0\" autoAnim=\"bol_false\" autoDirection=\"bol_false\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_-16\" x=\"num_0\" xmlType=\"object\" /></1><0 value=\"str_bigDog\" type=\"str_lookAt\" xmlType=\"object\" /></11><10 value=\"str_bigDog\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><9 type=\"str_move\" sprite=\"str_bigDog\" xmlType=\"array\"><3 type=\"str_appearance\" xmlType=\"object\"><value isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" pose=\"num_0\" rows=\"num_1\" columns=\"num_1\" frame=\"num_0\" frames=\"num_1\" direction=\"num_0\" directions=\"num_4\" charset=\"str_charset\\som_wolf\\stand.png\" xmlType=\"object\" /></3><2 walkSpeed=\"num_0.13\" duration=\"num_0.39\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_-48\" x=\"num_0\" xmlType=\"object\" /></2><1 type=\"str_appearance\" xmlType=\"object\"><value isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_loop\" pose=\"num_0\" rows=\"num_1\" columns=\"num_1\" frame=\"num_0\" frames=\"num_3\" direction=\"num_0\" directions=\"num_4\" charset=\"str_charset\\som_wolf\\walk.png\" xmlType=\"object\" /></1><0 duration=\"num_0\" autoAnim=\"bol_false\" autoDirection=\"bol_false\" type=\"str_moveAbsolute\" xmlType=\"object\"><position y=\"num_256\" x=\"num_56\" xmlType=\"object\" /></0></9><8 type=\"str_move\" sprite=\"str_mom\" xmlType=\"array\"><1 value=\"str_left\" type=\"str_direction\" xmlType=\"object\" /><0 walkSpeed=\"num_0.26\" duration=\"num_0.52\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_0\" x=\"num_32\" xmlType=\"object\" /></0></8><7 value=\"str_richGirl\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><6 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_160\" text=\"str_[richGirl]: \\.Ooh,\\. I can't wait to see my new dog!\" type=\"str_textbox\" xmlType=\"object\" /></6><5 value=\"num_0.3\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><4 type=\"str_move\" sprite=\"str_richGirl\" xmlType=\"array\"><1 walkSpeed=\"num_0.13\" duration=\"num_0.65\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_80\" x=\"num_0\" xmlType=\"object\" /></1><0 duration=\"num_0\" autoAnim=\"bol_false\" autoDirection=\"bol_false\" type=\"str_moveAbsolute\" xmlType=\"object\"><position y=\"num_64\" x=\"num_56\" xmlType=\"object\" /></0></4><3 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_Mom: \\.[richGirl]!\\. I have a surprise\r for you, pumpkin.\" type=\"str_textbox\" xmlType=\"object\" /></3><2 value=\"str_mom\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><1 type=\"str_move\" sprite=\"str_mom\" xmlType=\"array\"><1 walkSpeed=\"num_0.26\" duration=\"num_0.78\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_-48\" x=\"num_0\" xmlType=\"object\" /></1><0 duration=\"num_0\" autoAnim=\"bol_false\" autoDirection=\"bol_false\" type=\"str_moveAbsolute\" xmlType=\"object\"><position y=\"num_256\" x=\"num_56\" xmlType=\"object\" /></0></1><0 message=\"str_\" type=\"str_comment\" xmlType=\"object\" /></auto></scripts><initialAppearance isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_1\" frame=\"num_1\" directions=\"num_1\" direction=\"num_0\" charset=\"str_charset\\invisible.png\" xmlType=\"object\" /></data></7><6 name=\"str_bigDog\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_1\" frame=\"num_0\" directions=\"num_4\" direction=\"num_2\" charset=\"str_charset\\som_wolf\\stand.png\" xmlType=\"object\" /><position y=\"num_232\" x=\"num_8\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><hitbox height=\"num_16\" width=\"num_16\" xmlType=\"object\" /><copySprite id=\"str_\" xmlType=\"object\"><data xmlType=\"object\" /></copySprite><scripts xmlType=\"object\" /><initialAppearance isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_1\" frame=\"num_0\" directions=\"num_4\" direction=\"num_2\" charset=\"str_charset\\som_wolf\\stand.png\" xmlType=\"object\" /></data></6><5 name=\"str_newGirl\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_2\" charset=\"str_charset\\ridingHood\\dress\\walk.png\" xmlType=\"object\" /><position x=\"num_8\" y=\"num_168\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><hitbox height=\"num_16\" width=\"num_16\" xmlType=\"object\" /><copySprite id=\"str_\" xmlType=\"object\"><data xmlType=\"object\" /></copySprite><scripts xmlType=\"object\" /><initialAppearance isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_2\" charset=\"str_charset\\ridingHood\\dress\\walk.png\" xmlType=\"object\" /></data></5><4 name=\"str_maid\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_2\" columns=\"num_4\" pose=\"num_0\" frames=\"num_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_1\" charset=\"str_charset\\maid.png\" xmlType=\"object\" /><position y=\"num_152\" x=\"num_136\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><hitbox height=\"num_16\" width=\"num_16\" xmlType=\"object\" /><copySprite id=\"str_\" xmlType=\"object\"><data xmlType=\"object\" /></copySprite><scripts xmlType=\"object\" /><initialAppearance isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_2\" columns=\"num_4\" pose=\"num_0\" frames=\"num_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_1\" charset=\"str_charset\\maid.png\" xmlType=\"object\" /></data></4><3 name=\"str_dad\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_2\" columns=\"num_4\" pose=\"num_0\" frames=\"num_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_2\" charset=\"str_charset\\people1.png\" xmlType=\"object\" /><position y=\"num_152\" x=\"num_200\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><hitbox height=\"num_16\" width=\"num_16\" xmlType=\"object\" /><copySprite id=\"str_\" xmlType=\"object\"><data xmlType=\"object\" /></copySprite><scripts xmlType=\"object\" /><initialAppearance isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_2\" columns=\"num_4\" pose=\"num_0\" frames=\"num_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_2\" charset=\"str_charset\\people1.png\" xmlType=\"object\" /></data></3><2 name=\"str_mom\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_2\" columns=\"num_4\" pose=\"num_1\" frames=\"num_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_3\" charset=\"str_charset\\people2.png\" xmlType=\"object\" /><position y=\"num_232\" x=\"num_24\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><hitbox height=\"num_16\" width=\"num_16\" xmlType=\"object\" /><copySprite id=\"str_\" xmlType=\"object\"><data xmlType=\"object\" /></copySprite><scripts xmlType=\"object\" /><initialAppearance isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_2\" columns=\"num_4\" pose=\"num_1\" frames=\"num_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_3\" charset=\"str_charset\\people2.png\" xmlType=\"object\" /></data></2><1 name=\"str_richGirl\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_2\" charset=\"str_charset\\girl1\\dressed\\walk.png\" xmlType=\"object\" /><position x=\"num_8\" y=\"num_72\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><hitbox height=\"num_16\" width=\"num_16\" xmlType=\"object\" /><copySprite id=\"str_\" xmlType=\"object\"><data xmlType=\"object\" /></copySprite><scripts xmlType=\"object\" /><initialAppearance isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_2\" charset=\"str_charset\\girl1\\dressed\\walk.png\" xmlType=\"object\" /></data></1><0 name=\"str_EVENTS_v1\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_1\" frame=\"num_1\" directions=\"num_1\" direction=\"num_0\" charset=\"str_charset\\invisible.png\" xmlType=\"object\" /><position x=\"num_8\" y=\"num_104\" xmlType=\"object\" /><flags xmlType=\"array\"><0 value=\"str_skip\" xmlType=\"variable\" /></flags><data xmlType=\"object\"><hitbox height=\"num_16\" width=\"num_16\" xmlType=\"object\" /><copySprite id=\"str_\" xmlType=\"object\"><data xmlType=\"object\" /></copySprite><scripts xmlType=\"object\"><auto xmlType=\"array\"><53 relativeLevel=\"str_40.lvl\" level=\"str_levels\\dogs_pet\\40.lvl\" type=\"str_teleport\" xmlType=\"object\"><position y=\"num_0\" x=\"num_0\" xmlType=\"object\" /><transOut mask=\"str_\" easing=\"str_easeLinear\" seconds=\"num_0.5\" effect=\"str_snapshot\" xmlType=\"object\" /><transIn mask=\"str_\" easing=\"str_easeLinear\" seconds=\"num_0.5\" effect=\"str_fade\" xmlType=\"object\" /></53><52 message=\"str_\" type=\"str_comment\" xmlType=\"object\" /><51 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_160\" text=\"str_Mom: Oh dear...\\2 I suppose we'll have to hire another maid then.\" type=\"str_textbox\" xmlType=\"object\" /></51><50 value=\"str_mom\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><49 type=\"str_move\" sprite=\"str_mom\" xmlType=\"array\"><0 walkSpeed=\"num_0.26\" duration=\"num_0.78\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_0\" x=\"num_-48\" xmlType=\"object\" /></0></49><48 value=\"str_maid\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><47 type=\"str_move\" sprite=\"str_maid\" xmlType=\"array\"><3 duration=\"num_0\" autoAnim=\"bol_false\" autoDirection=\"bol_false\" type=\"str_moveAbsolute\" xmlType=\"object\"><position y=\"num_48\" x=\"num_8\" xmlType=\"object\" /></3><2 walkSpeed=\"num_0.096\" duration=\"num_0.096\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_-16\" x=\"num_0\" xmlType=\"object\" /></2><1 walkSpeed=\"num_0.096\" duration=\"num_0.303578655376164\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_-16\" x=\"num_-48\" xmlType=\"object\" /></1><0 walkSpeed=\"num_0.096\" duration=\"num_0.135764501987817\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_16\" x=\"num_-16\" xmlType=\"object\" /></0></47><46 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_160\" text=\"str_I was,\\. er...\\2 never trained for dog-care.\\! Yes,\\. I am unqualified for the job!\" type=\"str_textbox\" xmlType=\"object\" /></46><45 type=\"str_move\" sprite=\"str_maid\" xmlType=\"array\"><0 value=\"str_mom\" type=\"str_lookAt\" xmlType=\"object\" /></45><44 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_160\" text=\"str_Maid: \\.Ah,\\2 b\\.-but...\" type=\"str_textbox\" xmlType=\"object\" /></44><43 type=\"str_move\" sprite=\"str_maid\" xmlType=\"array\"><0 value=\"str_down\" type=\"str_direction\" xmlType=\"object\" /></43><42 target=\"str_SPRITES.maid\" waitForEnd=\"bol_false\" depth=\"num_-1\" name=\"str_sweat\" linkage=\"str_swf\\sweat.swf\" type=\"str_swf\" xmlType=\"object\"><data xmlType=\"object\" /></42><41 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_160\" text=\"str_Mom: Now servant girl,\\. I want your to take good care of [richGirl]'s new pet.\" type=\"str_textbox\" xmlType=\"object\" /></41><40 value=\"str_mom\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><39 type=\"str_move\" sprite=\"str_mom\" xmlType=\"array\"><0 walkSpeed=\"num_0.26\" duration=\"num_0.581377674149945\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_16\" x=\"num_-32\" xmlType=\"object\" /></0></39><38 value=\"str_bigDog\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><37 value=\"str_richGirl\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><36 type=\"str_move\" sprite=\"str_richGirl\" xmlType=\"array\"><1 walkSpeed=\"num_0.13\" duration=\"num_1.43\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_176\" x=\"num_0\" xmlType=\"object\" /></1><0 walkSpeed=\"num_0.13\" duration=\"num_1.17\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_0\" x=\"num_-144\" xmlType=\"object\" /></0></36><35 value=\"num_0.2\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><34 type=\"str_move\" sprite=\"str_bigDog\" xmlType=\"array\"><2 walkSpeed=\"num_0.13\" duration=\"num_1.43\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_176\" x=\"num_0\" xmlType=\"object\" /></2><1 walkSpeed=\"num_0.13\" duration=\"num_1.625\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_0\" x=\"num_-200\" xmlType=\"object\" /></1><0 type=\"str_appearance\" xmlType=\"object\"><value isAnimating=\"bol_false\" delay=\"num_2\" animDirection=\"num_1\" animType=\"str_loop\" pose=\"num_0\" rows=\"num_1\" columns=\"num_1\" frame=\"num_0\" frames=\"num_3\" direction=\"num_3\" directions=\"num_4\" charset=\"str_charset\\som_wolf\\walk.png\" xmlType=\"object\" /></0></34><33 value=\"str_richGirl\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><32 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_160\" text=\"str_Hee hee!\" type=\"str_textbox\" xmlType=\"object\" /></32><31 type=\"str_move\" sprite=\"str_richGirl\" xmlType=\"array\"><3 value=\"str_bigDog\" type=\"str_lookAt\" xmlType=\"object\" /><2 walkSpeed=\"num_0.13\" duration=\"num_0.26\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_0\" x=\"num_-32\" xmlType=\"object\" /></2><1 walkSpeed=\"num_0.13\" duration=\"num_0.26\" autoAnim=\"bol_true\" autoDirection=\"bol_tr";
data_txt = data_txt + "ue\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_0\" x=\"num_32\" xmlType=\"object\" /></1><0 walkSpeed=\"num_0.13\" duration=\"num_0.26\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_0\" x=\"num_-32\" xmlType=\"object\" /></0></31><30 value=\"num_0.1\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><29 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_\" face=\"str_\" typingSound=\"str_\" _y=\"num_81\" text=\"str_\\r\\#ffffffSniff... Sniff...\" type=\"str_textbox\" xmlType=\"object\" /></29><28 value=\"str_bigDog\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><27 type=\"str_move\" sprite=\"str_bigDog\" xmlType=\"array\"><2 type=\"str_appearance\" xmlType=\"object\"><value isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" pose=\"num_0\" rows=\"num_1\" columns=\"num_1\" frame=\"num_0\" frames=\"num_1\" direction=\"num_1\" directions=\"num_2\" charset=\"str_charset\\som_wolf\\drink.png\" xmlType=\"object\" /></2><1 walkSpeed=\"num_0.13\" duration=\"num_0.145344418537486\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_-16\" x=\"num_-8\" xmlType=\"object\" /></1><0 type=\"str_appearance\" xmlType=\"object\"><value isAnimating=\"bol_false\" delay=\"num_2\" animDirection=\"num_1\" animType=\"str_loop\" pose=\"num_0\" rows=\"num_1\" columns=\"num_1\" frame=\"num_0\" frames=\"num_3\" direction=\"num_1\" directions=\"num_4\" charset=\"str_charset\\som_wolf\\walk.png\" xmlType=\"object\" /></0></27><26 value=\"str_richGirl\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><25 value=\"num_0.1\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><24 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_160\" text=\"str_[richGirl]: Look how big he is!\" type=\"str_textbox\" xmlType=\"object\" /></24><23 type=\"str_move\" sprite=\"str_richGirl\" xmlType=\"array\"><0 walkSpeed=\"num_0.13\" duration=\"num_0.39\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_0\" x=\"num_48\" xmlType=\"object\" /></0></23><22 value=\"num_0.1\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><21 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_160\" text=\"str_Mom: Oh you silly naive creature.\\. It is pronounced "Wol-"\\! He is a rare breed.\" type=\"str_textbox\" xmlType=\"object\" /></21><20 type=\"str_move\" sprite=\"str_mom\" xmlType=\"array\"><0 value=\"str_maid\" type=\"str_lookAt\" xmlType=\"object\" /></20><19 value=\"str_mom\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><18 value=\"str_maid\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><17 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_160\" text=\"str_Maid: \\.Eep!\\. There's a wolf in here!\" type=\"str_textbox\" xmlType=\"object\" /></17><16 type=\"str_move\" sprite=\"str_maid\" xmlType=\"array\"><4 value=\"str_bigDog\" type=\"str_lookAt\" xmlType=\"object\" /><3 walkSpeed=\"num_0.13\" duration=\"num_0.65\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_0\" x=\"num_-80\" xmlType=\"object\" /></3><2 value=\"num_0.1\" mode=\"str_time\" type=\"str_moveWait\" xmlType=\"object\" /><1 walkSpeed=\"num_0.13\" duration=\"num_0.13\" autoAnim=\"bol_false\" autoDirection=\"bol_false\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_16\" x=\"num_0\" xmlType=\"object\" /></1><0 walkSpeed=\"num_0\" duration=\"num_0\" autoAnim=\"bol_false\" autoDirection=\"bol_false\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_-16\" x=\"num_0\" xmlType=\"object\" /></0></16><15 value=\"str_bigDog\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><14 type=\"str_move\" sprite=\"str_bigDog\" xmlType=\"array\"><2 type=\"str_appearance\" xmlType=\"object\"><value isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" pose=\"num_0\" rows=\"num_1\" columns=\"num_1\" frame=\"num_0\" frames=\"num_1\" direction=\"num_3\" directions=\"num_4\" charset=\"str_charset\\som_wolf\\stand.png\" xmlType=\"object\" /></2><1 walkSpeed=\"num_0.13\" duration=\"num_0.39\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_-48\" x=\"num_0\" xmlType=\"object\" /></1><0 type=\"str_appearance\" xmlType=\"object\"><value isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_loop\" pose=\"num_0\" rows=\"num_1\" columns=\"num_1\" frame=\"num_0\" frames=\"num_3\" direction=\"num_0\" directions=\"num_4\" charset=\"str_charset\\som_wolf\\walk.png\" xmlType=\"object\" /></0></14><13 type=\"str_move\" sprite=\"str_mom\" xmlType=\"array\"><1 value=\"str_bigDog\" type=\"str_lookAt\" xmlType=\"object\" /><0 walkSpeed=\"num_0.26\" duration=\"num_0.26\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_-16\" x=\"num_0\" xmlType=\"object\" /></0></13><12 value=\"str_richGirl\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><11 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_160\" text=\"str_[richGirl]: \\.Ooh,\\. I can't wait to see my new dog!\" type=\"str_textbox\" xmlType=\"object\" /></11><10 value=\"num_0.3\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><9 type=\"str_move\" sprite=\"str_richGirl\" xmlType=\"array\"><2 walkSpeed=\"num_0.13\" duration=\"num_0.91\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_0\" x=\"num_112\" xmlType=\"object\" /></2><1 walkSpeed=\"num_0.13\" duration=\"num_0.290688837074973\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_32\" x=\"num_16\" xmlType=\"object\" /></1><0 duration=\"num_0\" autoAnim=\"bol_false\" autoDirection=\"bol_false\" type=\"str_moveAbsolute\" xmlType=\"object\"><position y=\"num_64\" x=\"num_56\" xmlType=\"object\" /></0></9><8 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_160\" text=\"str_Mom: \\.[richGirl]!\\. I have a surprise for you, pumpkin.\" type=\"str_textbox\" xmlType=\"object\" /></8><7 value=\"str_mom\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><6 type=\"str_move\" sprite=\"str_mom\" xmlType=\"array\"><1 value=\"str_left\" type=\"str_direction\" xmlType=\"object\" /><0 walkSpeed=\"num_0.26\" duration=\"num_0.52\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_-32\" x=\"num_0\" xmlType=\"object\" /></0></6><5 message=\"str_\" type=\"str_comment\" xmlType=\"object\" /><4 type=\"str_move\" sprite=\"str_maid\" xmlType=\"array\"><1 type=\"str_appearance\" xmlType=\"object\"><value isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" pose=\"num_0\" rows=\"num_2\" columns=\"num_4\" frame=\"num_1\" frames=\"num_3\" direction=\"num_1\" directions=\"num_4\" charset=\"str_charset\\maid.png\" xmlType=\"object\" /></1><0 duration=\"num_0\" autoAnim=\"bol_false\" autoDirection=\"bol_false\" type=\"str_moveAbsolute\" xmlType=\"object\"><position y=\"num_80\" x=\"num_200\" xmlType=\"object\" /></0></4><3 type=\"str_move\" sprite=\"str_richGirl\" xmlType=\"array\"><0 duration=\"num_0\" autoAnim=\"bol_false\" autoDirection=\"bol_false\" type=\"str_moveAbsolute\" xmlType=\"object\"><position y=\"num_80\" x=\"num_8\" xmlType=\"object\" /></0></3><2 type=\"str_move\" sprite=\"str_dad\" xmlType=\"array\"><1 type=\"str_appearance\" xmlType=\"object\"><value isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" pose=\"num_0\" rows=\"num_2\" columns=\"num_4\" frame=\"num_1\" frames=\"num_3\" direction=\"num_2\" directions=\"num_4\" charset=\"str_charset\\people1.png\" xmlType=\"object\" /></1><0 duration=\"num_0\" autoAnim=\"bol_false\" autoDirection=\"bol_false\" type=\"str_moveAbsolute\" xmlType=\"object\"><position y=\"num_160\" x=\"num_104\" xmlType=\"object\" /></0></2><1 type=\"str_move\" sprite=\"str_bigDog\" xmlType=\"array\"><1 duration=\"num_0\" autoAnim=\"bol_false\" autoDirection=\"bol_false\" type=\"str_moveAbsolute\" xmlType=\"object\"><position y=\"num_160\" x=\"num_264\" xmlType=\"object\" /></1><0 type=\"str_appearance\" xmlType=\"object\"><value isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" pose=\"num_0\" rows=\"num_1\" columns=\"num_1\" frame=\"num_0\" frames=\"num_1\" direction=\"num_2\" directions=\"num_4\" charset=\"str_charset\\som_wolf\\stand.png\" xmlType=\"object\" /></0></1><0 type=\"str_move\" sprite=\"str_mom\" xmlType=\"array\"><1 type=\"str_appearance\" xmlType=\"object\"><value isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" pose=\"num_1\" rows=\"num_2\" columns=\"num_4\" frame=\"num_1\" frames=\"num_3\" direction=\"num_3\" directions=\"num_4\" charset=\"str_charset\\people2.png\" xmlType=\"object\" /></1><0 duration=\"num_0\" autoAnim=\"bol_false\" autoDirection=\"bol_false\" type=\"str_moveAbsolute\" xmlType=\"object\"><position y=\"num_128\" x=\"num_264\" xmlType=\"object\" /></0></0></auto></scripts><initialAppearance isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_1\" frame=\"num_1\" directions=\"num_1\" direction=\"num_0\" charset=\"str_charset\\invisible.png\" xmlType=\"object\" /></data></0></sprites><map format=\"num_2\" width=\"num_20\" height=\"num_15\" chipset=\"str_chipset\\robotrek_indoors.png\" collision=\"str__111111111111111111111111111111111100111110001111000000000000111100111110001111100111100001111110111100001111100111101101111100111001101111100111101101111100111001101111100111101101111100111100001111110111100001111100111111111111100001111111111100000111111111100001111111111111111111111111111111111111\" xmlType=\"object\"><layers xmlType=\"array\"><2 value=\"str__2p2p2p2p2p2p2p2p2p2p2p2p2p2p2p58585858585858585858585858582p0000000000d2000000000000008w4d000000000000000000000000008x4d0000000000d0000000000000008y4d0000000000d100000000000000004d000000an00d100000000000000004d0000000000d100000000000000004d0000000000d100000000000000004d0000000000d10000an00000000004d0000000000d100000000000000004d0000000000d100000000000000004d0000000000d100000000000000004d000000an00d100000000000000004d0000000000d200004c56565656562p000000000000008w4d2p2p2p2p2p2p000000000000008x4d2p2p2p2p2p2p000000000000008y4d2p2p2p2p2p2p56565656565656562p2p2p2p2p2p2p2p2p2p2p2p2p2p2p2p2p2p2p2p2p2p\" xmlType=\"variable\" /><1 value=\"str__00000000000000000000000000000000000000000000000000000000000000009oai000000000000000000000000008v00000000000000000000000000009paj00000000000000000000000000000000000000c60000000000000000000000000000c70000000000000000000000000000c80000000000000o1i2c0000000000000000000000000p002d00000000000000009t0000000q1k2e0000000000000000000000000000000000000000c60000000000000000000000000000c70000000000000000000000000000c8000000000000000000000000000000000000000000000000000000000000000000000000000000920000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000\" xmlType=\"variable\" /><0 value=\"str__0000000000000000000000000000000000000000000000000000000000000l1f29336r6r0j1d27313v6o6o6o000l1f290g6r6r6r6r6r1b1b6o6o6o000l1f29336r6r0i1c26303u6o6o6o000l1f29336r6r0k0d17ac6o6o6o6o000l1f29331a6r0k0d17ad6o6o6o6o000l1f29336r6r0k0d17ae6o7x9l6o000l1f29336r6r0k0d176o6o7y9m6o000la629336r6r0k0d171a6o7y9m6o000l1f29336r6r0k0d176o6o7y9m6o000l1f29336r6r0k0d17ac6o7z9n6o000l1f29336r6r0k0d17ad6o6o6o6o000l1f29331a6r0k0d17ae6o6o6o6o000l1f29336r6r0j1d000000000000000l1f29336r6r6r6r000000000000000l1f29336r6r6r6r000000000000000l1f29336r6r6r6r00000000000000000000000000000000000000000000000000000000000000000000000000\" xmlType=\"variable\" /></layers></map></level></data>";
data_xml = new XML(data_txt);
onLoad(data_xml);
Symbol 296 MovieClip [levels\dogs_pet\40.lvl] Frame 1
data_txt = "<data xmlType=\"object\"><level name=\"str_levels\\dogs_pet\\40.lvl\" xmlType=\"object\"><sprites xmlType=\"array\"><7 name=\"str_richGirl\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite isAnimating=\"bol_false\" delay=\"num_2\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_2\" charset=\"str_charset\\girl1\\dressed\\walk.png\" xmlType=\"object\" /><position y=\"num_200\" x=\"num_680\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><hitbox height=\"num_16\" width=\"num_16\" xmlType=\"object\" /><copySprite id=\"str_\" xmlType=\"object\"><data xmlType=\"object\" /></copySprite><scripts xmlType=\"object\"><run xmlType=\"array\"><3 value=\"str_bigDog\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><2 value=\"str_richGirl\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><1 type=\"str_move\" sprite=\"str_bigDog\" xmlType=\"array\"><3 walkSpeed=\"num_0.13\" duration=\"num_0.39\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_0\" x=\"num_48\" xmlType=\"object\" /></3><2 walkSpeed=\"num_0.13\" duration=\"num_0.39\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_48\" x=\"num_0\" xmlType=\"object\" /></2><1 walkSpeed=\"num_0.13\" duration=\"num_0.39\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_0\" x=\"num_-48\" xmlType=\"object\" /></1><0 walkSpeed=\"num_0.13\" duration=\"num_0.39\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_-48\" x=\"num_0\" xmlType=\"object\" /></0></1><0 type=\"str_move\" sprite=\"str_richGirl\" xmlType=\"array\"><3 walkSpeed=\"num_0.13\" duration=\"num_0.39\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_-48\" x=\"num_0\" xmlType=\"object\" /></3><2 walkSpeed=\"num_0.13\" duration=\"num_0.39\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_0\" x=\"num_48\" xmlType=\"object\" /></2><1 walkSpeed=\"num_0.13\" duration=\"num_0.39\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_48\" x=\"num_0\" xmlType=\"object\" /></1><0 walkSpeed=\"num_0.13\" duration=\"num_0.39\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_0\" x=\"num_-48\" xmlType=\"object\" /></0></0></run></scripts><initialAppearance isAnimating=\"bol_false\" delay=\"num_2\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_2\" charset=\"str_charset\\girl1\\dressed\\walk.png\" xmlType=\"object\" /></data></7><6 name=\"str_bigDog\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite isAnimating=\"bol_false\" delay=\"num_2\" animDirection=\"num_1\" animType=\"str_loop\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_3\" frame=\"num_0\" directions=\"num_4\" direction=\"num_2\" charset=\"str_charset\\som_wolf\\walk.png\" xmlType=\"object\" /><position y=\"num_248\" x=\"num_680\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><hitbox height=\"num_16\" width=\"num_16\" xmlType=\"object\" /><copySprite id=\"str_\" xmlType=\"object\"><data xmlType=\"object\" /></copySprite><scripts xmlType=\"object\" /><initialAppearance isAnimating=\"bol_false\" delay=\"num_2\" animDirection=\"num_1\" animType=\"str_loop\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_3\" frame=\"num_0\" directions=\"num_4\" direction=\"num_2\" charset=\"str_charset\\som_wolf\\walk.png\" xmlType=\"object\" /></data></6><5 name=\"str_newGirl\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_2\" charset=\"str_charset\\ridingHood\\dress\\walk.png\" xmlType=\"object\" /><position y=\"num_312\" x=\"num_760\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><hitbox height=\"num_16\" width=\"num_16\" xmlType=\"object\" /><copySprite id=\"str_\" xmlType=\"object\"><data xmlType=\"object\" /></copySprite><scripts xmlType=\"object\" /><initialAppearance isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_2\" charset=\"str_charset\\ridingHood\\dress\\walk.png\" xmlType=\"object\" /></data></5><4 name=\"str_EVENTS\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_1\" frame=\"num_1\" directions=\"num_1\" direction=\"num_0\" charset=\"str_charset\\invisible.png\" xmlType=\"object\" /><position x=\"num_440\" y=\"num_120\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><hitbox height=\"num_16\" width=\"num_16\" xmlType=\"object\" /><copySprite id=\"str_\" xmlType=\"object\"><data xmlType=\"object\" /></copySprite><scripts xmlType=\"object\"><auto xmlType=\"array\"><53 relativeLevel=\"str_50.lvl\" level=\"str_levels\\dogs_pet\\50.lvl\" type=\"str_teleport\" xmlType=\"object\"><position y=\"num_0\" x=\"num_0\" xmlType=\"object\" /><transOut mask=\"str_\" easing=\"str_easeLinear\" seconds=\"num_0.5\" effect=\"str_snapshot\" xmlType=\"object\" /><transIn mask=\"str_\" easing=\"str_easeLinear\" seconds=\"num_0.5\" effect=\"str_fade\" xmlType=\"object\" /></53><52 message=\"str_\" type=\"str_comment\" xmlType=\"object\" /><51 value=\"num_0.5\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><50 type=\"str_move\" sprite=\"str_bigDog\" xmlType=\"array\"><0 value=\"str_down\" type=\"str_direction\" xmlType=\"object\" /></50><49 value=\"str_newGirl\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><48 value=\"num_0.2\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><47 message=\"str_\" type=\"str_comment\" xmlType=\"object\" /><46 value=\"str_richGirl\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><45 value=\"str_bigDog\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><44 type=\"str_move\" sprite=\"str_bigDog\" xmlType=\"array\"><2 type=\"str_appearance\" xmlType=\"object\"><value isAnimating=\"bol_true\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" pose=\"num_0\" rows=\"num_1\" columns=\"num_1\" frame=\"num_0\" frames=\"num_1\" direction=\"num_3\" directions=\"num_4\" charset=\"str_charset\\som_wolf\\stand.png\" xmlType=\"object\" /></2><1 walkSpeed=\"num_0.13\" duration=\"num_0.729668428551626\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_63\" x=\"num_-64\" xmlType=\"object\" /></1><0 type=\"str_appearance\" xmlType=\"object\"><value isAnimating=\"bol_true\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_loop\" pose=\"num_0\" rows=\"num_1\" columns=\"num_1\" frame=\"num_0\" frames=\"num_3\" direction=\"num_3\" directions=\"num_4\" charset=\"str_charset\\som_wolf\\walk.png\" xmlType=\"object\" /></0></44><43 value=\"num_0.3\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><42 type=\"str_move\" sprite=\"str_richGirl\" xmlType=\"array\"><3 duration=\"num_0\" autoAnim=\"bol_false\" autoDirection=\"bol_false\" type=\"str_moveAbsolute\" xmlType=\"object\"><position y=\"num_0\" x=\"num_8\" xmlType=\"object\" /></3><2 walkSpeed=\"num_0.13\" duration=\"num_0.26\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_-32\" x=\"num_0\" xmlType=\"object\" /></2><1 walkSpeed=\"num_0.13\" duration=\"num_0.39\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_0\" x=\"num_-48\" xmlType=\"object\" /></1><0 walkSpeed=\"num_0.13\" duration=\"num_0.468721665810319\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_48\" x=\"num_-32\" xmlType=\"object\" /></0></42><41 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_160\" text=\"str_[richGirl]: \\.Eep!\\. That's enough [dog].\\2\r I am far too tired to play now.\\!\r I shall take a nap.\" type=\"str_textbox\" xmlType=\"object\" /></41><40 name=\"str_\" volume=\"num_100\" loop=\"bol_false\" file=\"str_sound\\sexy\\gasp01.mp3\" type=\"str_sound\" xmlType=\"object\" /><39 type=\"str_move\" sprite=\"str_bigDog\" xmlType=\"array\"><1 type=\"str_appearance\" xmlType=\"object\"><value isAnimating=\"bol_true\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" pose=\"num_0\" rows=\"num_1\" columns=\"num_1\" frame=\"num_0\" frames=\"num_1\" direction=\"num_3\" directions=\"num_4\" charset=\"str_charset\\som_wolf\\stand.png\" xmlType=\"object\" /></1><0 value=\"num_0.1\" mode=\"str_time\" type=\"str_moveWait\" xmlType=\"object\" /></39><38 type=\"str_move\" sprite=\"str_richGirl\" xmlType=\"array\"><1 walkSpeed=\"num_0.13\" duration=\"num_0.13\" autoAnim=\"bol_true\" autoDirection=\"bol_false\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_0\" x=\"num_-16\" xmlType=\"object\" /></1><0 value=\"str_right\" type=\"str_direction\" xmlType=\"object\" /></38><37 value=\"str_bigDog\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><36 type=\"str_move\" sprite=\"str_bigDog\" xmlType=\"array\"><2 walkSpeed=\"num_0.52\" duration=\"num_0.521014635111145\" autoAnim=\"bol_false\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_1\" x=\"num_-16\" xmlType=\"object\" /></2><1 type=\"str_appearance\" xmlType=\"object\"><value isAnimating=\"bol_true\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_loop\" pose=\"num_0\" rows=\"num_1\" columns=\"num_1\" frame=\"num_0\" frames=\"num_2\" direction=\"num_3\" directions=\"num_4\" charset=\"str_charset\\som_wolf\\hump.png\" xmlType=\"object\" /></1><0 value=\"num_0.5\" mode=\"str_time\" type=\"str_moveWait\" xmlType=\"object\" /></36><35 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_\" face=\"str_\" typingSound=\"str_\" _y=\"num_87\" text=\"str_\\r\\#ffffffSniff...\rSniff... .\" type=\"str_textbox\" xmlType=\"object\" /></35><34 message=\"str_\" type=\"str_comment\" xmlType=\"object\" /><33 type=\"str_move\" sprite=\"str_newGirl\" xmlType=\"array\"><1 value=\"str_up\" type=\"str_direction\" xmlType=\"object\" /><0 walkSpeed=\"num_0.26\" duration=\"num_2.6\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_0\" x=\"num_-160\" xmlType=\"object\" /></0></33><32 message=\"str_\" type=\"str_comment\" xmlType=\"object\" /><31 value=\"str_bigDog\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><30 type=\"str_move\" sprite=\"str_bigDog\" xmlType=\"array\"><2 type=\"str_appearance\" xmlType=\"object\"><value isAnimating=\"bol_false\" delay=\"num_2\" animDirection=\"num_1\" animType=\"str_yoyo\" pose=\"num_0\" rows=\"num_1\" columns=\"num_1\" frame=\"num_0\" frames=\"num_1\" direction=\"num_3\" directions=\"num_2\" charset=\"str_charset\\som_wolf\\drink.png\" xmlType=\"object\" /></2><1 walkSpeed=\"num_0.26\" duration=\"num_0.26\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_0\" x=\"num_-16\" xmlType=\"object\" /></1><0 type=\"str_appearance\" xmlType=\"object\"><value isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_loop\" pose=\"num_0\" rows=\"num_1\" columns=\"num_1\" frame=\"num_0\" frames=\"num_3\" direction=\"num_3\" directions=\"num_4\" charset=\"str_charset\\som_wolf\\walk.png\" xmlType=\"object\" /></0></30><29 value=\"num_0.1\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><28 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_160\" text=\"str_[richGirl]: \\.Oof!\\.\r I'm all worn out.\" type=\"str_textbox\" xmlType=\"object\" /></28><27 value=\"str_richGirl\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><26 type=\"str_move\" sprite=\"str_richGirl\" xmlType=\"array\"><2 walkSpeed=\"num_0.39\" duration=\"num_0.39\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_0\" x=\"num_-16\" xmlType=\"object\" /></2><1 walkSpeed=\"num_0.26\" duration=\"num_0.26\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_0\" x=\"num_-16\" xmlType=\"object\" /></1><0 walkSpeed=\"num_0.13\" duration=\"num_0.13\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_0\" x=\"num_-16\" xmlType=\"object\" /></0></26><25 type=\"str_move\" sprite=\"str_bigDog\" xmlType=\"array\"><1 type=\"str_appearance\" xmlType=\"object\"><value isAnimating=\"bol_false\" delay=\"num_2\" animDirection=\"num_1\" animType=\"str_yoyo\" pose=\"num_0\" rows=\"num_1\" columns=\"num_1\" frame=\"num_0\" frames=\"num_1\" direction=\"num_3\" directions=\"num_4\" charset=\"str_charset\\som_wolf\\stand.png\" xmlType=\"object\" /></1><0 walkSpeed=\"num_0.13\" duration=\"num_0.39\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_-48\" x=\"num_0\" xmlType=\"object\" /></0></25><24 value=\"str_player\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><23 value=\"str_this.waitPromise\" mode=\"str_promise\" type=\"str_wait\" xmlType=\"object\" /><22 update=\"bol_false\" type=\"str_setVariable\" reference=\"bol_true\" xmlType=\"object\"><condition xmlType=\"array\"><2 value=\"str_[SPRITES.richGirl.run()]\" xmlType=\"variable\" /><1 value=\"str_=\" xmlType=\"variable\" /><0 value=\"str_this.waitPromise\" xmlType=\"variable\" /></condition></22><21 value=\"str_this.waitPromise\" mode=\"str_promise\" type=\"str_wait\" xmlType=\"object\" /><20 update=\"bol_false\" type=\"str_setVariable\" reference=\"bol_true\" xmlType=\"object\"><condition xmlType=\"array\"><2 value=\"str_[SPRITES.richGirl.run()]\" xmlType=\"variable\" /><1 value=\"str_=\" xmlType=\"variable\" /><0 value=\"str_this.waitPromise\" xmlType=\"variable\" /></condition></20><19 value=\"str_this.waitPromise\" mode=\"str_promise\" type=\"str_wait\" xmlType=\"object\" /><18 update=\"bol_false\" type=\"str_setVariable\" reference=\"bol_true\" xmlType=\"object\"><condition xmlType=\"array\"><2 value=\"str_[SPRITES.richGirl.run()]\" xmlType=\"variable\" /><1 value=\"str_=\" xmlType=\"variable\" /><0 value=\"str_this.waitPromise\" xmlType=\"variable\" /></condition></18><17 value=\"str_this.waitPromise\" mode=\"str_promise\" type=\"str_wait\" xmlType=\"object\" /><16 update=\"bol_false\" type=\"str_setVariable\" reference=\"bol_true\" xmlType=\"object\"><condition xmlType=\"array\"><2 value=\"str_[SPRITES.richGirl.run()]\" xmlType=\"variable\" /><1 value=\"str_=\" xmlType=\"variable\" /><0 value=\"str_this.waitPromise\" xmlType=\"variable\" /></condition></16><15 name=\"str_\" volume=\"num_75\" loop=\"bol_false\" file=\"str_sound\\dog.mp3\" type=\"str_sound\" xmlType=\"object\" /><14 type=\"str_move\" sprite=\"str_player\" xmlType=\"array\"><0 walkSpeed=\"num_0.13\" duration=\"num_2.50059992801727\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_144\" x=\"num_272\" xmlType=\"object\" /></0></14><13 value=\"num_0.5\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><12 type=\"str_move\" sprite=\"str_woman_2\" xmlType=\"array\"><0 walkSpeed=\"num_0.26\" duration=\"num_2.86\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_176\" x=\"num_0\" xmlType=\"object\" /></0></12><11 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_160\" text=\"str_"dog-feeding and\\2 dog-petting experience?"\\!\rThese people are morons.\" type=\"str_textbox\" xmlType=\"object\" /></11><10 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_comment\" message=\"str_* text: "No experience necessary?"\\!\rThese people are morons.\" commentedType=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_160\" text=\"str_"No experience necessary?"\\!\r\t\t\t\t\t\t\t\t\t\rThese people are morons.\" type=\"str_textbox\" xmlType=\"object\" /></10><9 value=\"num_0.3\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><8 type=\"str_move\" sprite=\"str_woman_1\" xmlType=\"array\"><0 walkSpeed=\"num_0.26\" duration=\"num_2.86\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_176\" x=\"num_0\" xmlType=\"object\" /></0></8><7 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_160\" text=\"str_And they're only offering minimum wage??\" type=\"str_textbox\" xmlType=\"object\" /></7><6 value=\"num_0.2\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><5 type=\"str_move\" sprite=\"str_woman_0\" xmlType=\"array\"><0 walkSpeed=\"num_0.26\" duration=\"num_2.86\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_176\" x=\"num_0\" xmlType=\"object\" /></0></5><4 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_160\" text=\"str_\\.Someone wants to hire a...\\2 "dog-maid??"\\!\rHow insulting!\" type=\"str_textbox\" xmlType=\"object\" /></4><3 value=\"str_player\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><2 type=\"str_move\" sprite=\"str_player\" xmlType=\"array\"><0 walkSpeed=\"num_0.26\" duration=\"num_2.34\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_0\" x=\"num_-144\" xmlType=\"object\" /></0></2><1 value=\"num_0.5\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><0 type=\"str_move\" sprite=\"str_player\" xmlType=\"array\"><0 duration=\"num_0\" autoAnim=\"bol_false\" autoDirection=\"bol_false\" type=\"str_moveAbsolute\" xmlType=\"object\"><position y=\"num_128\" x=\"num_440\" xmlType=\"object\" /></0></0></auto></scripts><initialAppearance isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_1\" frame=\"num_1\" directions=\"num_1\" direction=\"num_0\" charset=\"str_charset\\invisible.png\" xmlType=\"object\" /></data></4><3 name=\"str_woman_2\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_2\" columns=\"num_4\" pose=\"num_1\" frames=\"num_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_0\" charset=\"str_charset\\people1.png\" xmlType=\"object\" /><position y=\"num_168\" x=\"num_296\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><hitbox height=\"num_16\" width=\"num_16\" xmlType=\"object\" /><copySprite id=\"str_\" xmlType=\"object\"><data xmlType=\"object\" /></copySprite><scripts xmlType=\"object\" /><initialAppearance isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_2\" columns=\"num_4\" pose=\"num_1\" frames=\"num_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_0\" charset=\"str_charset\\people1.png\" xmlType=\"object\" /></data></3><2 name=\"str_woman_1\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_2\" columns=\"num_4\" pose=\"num_7\" frames=\"num_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_0\" charset=\"str_charset\\people1.png\" xmlType=\"object\" /><position y=\"num_152\" x=\"num_312\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><hitbox height=\"num_16\" width=\"num_16\" xmlType=\"object\" /><copySprite id=\"str_\" xmlType=\"object\"><data xmlType=\"object\" /></copySprite><scripts xmlType=\"object\" /><initialAppearance isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_2\" columns=\"num_4\" pose=\"num_7\" frames=\"num_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_0\" charset=\"str_charset\\people1.png\" xmlType=\"object\" /></data></2><1 name=\"str_woman_0\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_2\" columns=\"num_4\" pose=\"num_0\" frames=\"num_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_0\" charset=\"str_charset\\maid_blonde.png\" xmlType=\"object\" /><position x=\"num_280\" y=\"num_152\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><hitbox height=\"num_16\" width=\"num_16\" xmlType=\"object\" /><copySprite id=\"str_\" xmlType=\"object\"><data xmlType=\"object\" /></copySprite><scripts xmlType=\"object\" /><initialAppearance isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_2\" columns=\"num_4\" pose=\"num_0\" frames=\"num_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_0\" charset=\"str_charset\\maid_blonde.png\" xmlType=\"object\" /></data></1><0 name=\"str_sign\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_1\" frame=\"num_1\" directions=\"num_1\" direction=\"num_0\" charset=\"str_charset\\objects\\sign_hiring-full-time.png\" xmlType=\"object\" /><position x=\"num_296\" y=\"num_120\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><hitbox height=\"num_16\" width=\"num_16\" xmlType=\"object\" /><copySprite id=\"str_\" xmlType=\"object\"><data xmlType=\"object\" /></copySprite><scripts xmlType=\"object\" /><initialAppearance isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_1\" frame=\"num_1\" directions=\"num_1\" direction=\"num_0\" charset=\"str_charset\\objects\\sign_hiring-full-time.png\" xmlType=\"object\" /></data></0></sprites><map format=\"num_2\" width=\"num_48\" height=\"num_40\" chipset=\"str_chipset\\iog_capeTown.png\" collision=\"str__111111111111111111111111111111111111111111111111100000100000011111000000000000011111111110000010000001111111111111110001111111111000000000000111111111111001000111111111111111100000011111111011100100011110000000011110000001111111111110010001111111111101111000000111111111111000000110000011110111100000011111111111111111111000001111011110000001111111111110000001100000111101111000000111111111111000000110000011110111100000011111111011100000011000001111011110000001111111111110000001100000111101111000000111111111111000000110000011110100000000011111000000000000011111111111011110000001111100110000000001111000000001111000000111100111000000000111111111111111100000011100111100000000011111111110000000000000000011110000000001111111111000000000000000001111000001000111111111100000000000000000111111111000011111111111111110000001111111110011110101111111111111111000000111110000001000010111110111111111100000011111000000000000011110011111111110000001111100000000000001111001111111000000000111110000000000010111100111111100000000011111000000000001011110011111110000000001111100000000000001111101111000000000000111110000000000000111110111111100000000011111000000000001011110011111110000000001111100000000000101001001111111000000000111110000000000000100100111111111111100011111000000000000010010011111111110010001111100000000000101001100001111000001000111111111100000010101111111111111100100011111111110000000010111111111111110010001110011111000000001000000011000000001000111101111100000010100000100100100000100011100111110000001010000010010010000010001110011111000000001010000001000000001000111001111100000000101000001100000000100011100111110000000010000000110000000010001110011111000000001000000001000000001000111111111100000000000010000100000001100011111111110000000000001000010000000110001111100000000000000000000001001000001000111110000000000000000000000100100000100011111000000000000000000001011111111110001111111111111111111\" xmlType=\"object\"><layers xmlType=\"array\"><2 value=\"str__7676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676af767676767676767676767676767676767676767676767676767676767676767676767676767676ag767676767676767676767676767676767676767676767676767676767676767676767676767676ah767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676af767676767676767676767676767676767676767676767676767676767676767676767676767676ag767676767676767676767676767676767676767676767676767676767676767676767676767676ah76767676767676767676767676767676767676767676af767676767676767676767676767676767676767676767676767676767676767676767676767676ag767676767676767676767676767676767676767676767676767676767676767676767676767676ah7676767676767676767676767676763o76767676767676767676767676767676767676767676767676767676767676767676767676768y76767676767676767676767676767676767676767676767676767676767676767676767676763o7676767676767676767676767676767676767676767676767676767676767676767676767676767676767636404u5o6i767676767676767676767676767676767676767676767676767676767676767676767637414v5p6j767676767676767676767676767676767676767676767676767676767676767636404u384236404u767676767676767676767676767676767676767676767676767676767676767637414v764337414v397676767676767676767676767676767676767676767676767676767676767638424w5q6k38424w5q6k76767676767676767676767676767676767676767676767676767676767639434x5r6l39434x5r6l767676767676767676767676767676767676767676767676767676767676767676767636404u5o6i767676767676767676767676767676767676767676767676767676767676767676767637414v5p6j767676767676767676767676767676767676767676767676767676767676767676767638424w5q6k76767676767676767676cw3zaf7676767676767676767676767676767676767676767639434x5r6l767676767676767676761c26ag7676767676767676767676767676767676767676767636404u5o6i76767676767676767676cw3zah7676767676767676767676767676767676767676767637414v5p6j767676767676767676767676767676767676767676767676767676767676767676767638424w5q6k767676767676767676767676767676767676767676767676767676767676767676767639434x5r6l767676404u76767676767676767676767676767676767676767676767676767676767636404u5o6i767676414v7676767676767676cw3zaf7676767676767676767676767676767676767637414v5p6j767676424w76767676767676761c26ag7676767676767676767676767676767676767638424w5q6k767676434x7676767676767676cw3zah7676767676767676767676767676767676767639434x5r6l767676767676767676767676767676767676767676767676767676767676767676767636404u5o6i767676364038424w5q36404u5o6i76767636767676767676767676767676767676767637414v5p6j76767637416i434x5r37414v5p6j76767676767676767676767676767676767676767638424w5q6k76767638424w5q6k7638424w5q6k00000000000076767676767676767676767676767639434x5r6l7676766j4336404u5o6i434x5r6l0000000000007676767676767676767676af76767676767676767676766k7637414v5p6j767676760000000000007676767676767676767676ag76767676767676767676766l7638424w5q6k767676390000000000007676767676767676767676ah76767676767676767676764u5o6i434x5r6l7676767636404u5o6i0076767676767676767676767676767676767676767676764v5p6j767676767676767637414v5p6j7676767676767676767676767676767676767676767676764w5q6k76767636404u5o6i38424w5q6k7676767676767676767676767676767676767676767676764x5r6l76767637414v5p6j39434x5r6l7676767676767676767676767676767676767676767676767636404u5o6i38424w5q6k76767676767676767676767676767676767676767676767676767676767637414v5p6j39434x5r6l7676767676767676767676767676767676767676767676767676767676\" xmlType=\"variable\" /><1 value=\"str__7676767676767676768x8x8x8x8x8x8x8x8x8x8x8x8x8x8x8x8x8x8x8x8x8x8x8x8x8x8x8x8x8x8x7676767676767676767676767676d31676760d7676767676767600000000000000000076007676d27676767676767676767676767676d11676760d7676767676767600000000000000d0d0d2007676d27676767676767676767676767676761676760d76767676767676000000007676000000d2007676d27676767676767676767676767676761676760d76767676767676000000007676000000d2007676d27676767676767676767676767676761676760d76767676767676767676007676000000d2007676d27676767676767676767676767676761676760d7676767676767676767600000000000000007676d27676767676767676767676767676761676760d7676767676767676767600000000d0d0d0d0d0d0d27676767676767676767676767676761676760d7676767676767676767676000000171717171717d27676767676767676767676767676761676760d767676767676be76767676000000al0000007676d27676767676767676767676767676761676760d7676767676767676767676000000am0000007676d27676767676767676767676767676768376760d7676767676767676767676000000an0000007676d2767676767676767676767676767676al76760d7676767676767676767676000076767676767676d2767676767676767676767676767676am76760d7676767676767676767676767676767676767676d2767676767676767676767676767676an76760d7676767676769o7676764i0c0c0c0c0c0c0c8276d27676767676767676767676767676767676760d76767676769o7676769s76000000000000001676d27676767676767676767676767676767676767917177676767676764i7676000000000000001676d2767676767676767676767676767676767676767676767676767676767676767676767636761676d276767676767676767676767676767676767676767676767676767676767676767676767d761676d27676767676767676767676767676767676767676767676767676767676765o6i4w5q6k5o6i1676d27676767676767676767676767676768276767676767676767676767676";
data_txt = data_txt + "765p6j4x5r6l5p6j7d76d276767676767676767676767676767616767676767676767676767676767676767e767676767e76d2767676767676767676767676767676167676767676767676767676767676767676767676767676d2767676767676767676767676767676167676767676767676767676767676767676767676767676d2767676767676767676767676767676167676767676767676767676767676767676767676767d76d2767676767676767676767676171717837676767676767676767676767676767676767676767e76d2767676767676767676767676al7676767676767676767676767676767676767676767676767676d2767676767676767676767676am7676767676767676767676767676767676767676767676767676d2767676767676767676767676an7676767676767676767676767676767676767676767676767d76d27676767676767676767676760c0c0c827676767676767676767676767676767676767676767e76d2767676767676767676767676767676167676767676767676767676767676767676767676767676d2767676767676767676767676767676d0d0d0767676767676767676767676767676767676767676d27676767676767676767676767676767676d20d7676767676767676767676767676767676767d76d26i76767676767676767676767676767676d20d7676767676767676767676767676767676767e76d26j7d767676767676767676767676767676d20d76767676767676767676bdc77676767676767676d26k7e767676767676767676767676767676d20d7676767676767676767676bd7676767676767676d26l764u5o6i766k7ed27676767676767676d20d767676763s4m76767676bdc77676767676767d76d276764v5p6j7d6l76d276767d7676767676d20d7676767676767676767676bd7676767676767e76d276766k76767e7676d276767e7676767676d20d76767676767676767676bdc77676767676767676d2767d4x5r6l767676d27676767676760000d20d767676767676767676b9b9c3al76767676767676d2767e76767676767dd27676767676760000d20d767676767676767676babac4am76767676767676d2767676767676767ed27676767676760000d20d767676767676767676bbbbc5an76767676767676d27676767676767676d27676767676767676d20d76767676767676767676bdc77676767676767676767676767d76767676d2767676767676767dd20d7676767676767676767676767676767676767676767676767e76767676d2767676767676767ed20d7676767676767676767676767676767676767676767676767676767676d276767d7676767676d20d7676767676767676767676767676767676767676767676767676767676d276767e7676767676d20d7676767676767676767676767676767676767676767676767676767d76d2d2d2d0d0d0d0d0d0d20d767676767676768x8x8x8x8x8x8x8x8x8x8x8x8x8x\" xmlType=\"variable\" /><0 value=\"str__0f19231923192319236o6o6o6o6o6o6o6o6o6o6o6o0f192319236o6o6o6o6o6o6o6o6o6o6o6o6o6o0f19231923192319236o6o6o6o6o6o6oa0a06o6o6o0f192319236o6o6o6o6o6o6o6o6o6o6o6o6o6o0f19231923192319236o6o6o6o6o6o6oa0a06o6o6o0f19707u7u7u8o9icwcxcxc26o6o6o6o6o6o6o0f19231923192319236o6o6o6o6o6o6oa0a06o6o6o0f19715e5e5e8p9jb9b9c32y6o6o6o6o6o6o6o0f19acb8b8b8b8b8b8b8b8b64m4m4m6oa0a06o6o6o0f193s4m4m6u8p9jbabac42y6o6o6o6o6o6o6o0f19aea6a6a6a6a6a6a6a6ae2x2x2x6oa0a06o6o6o0f19716u6u6u8p9jbbbbc52z6o6o6o6o6o6o6oacb8b8b8b8b8b64m4m4ma6ae0m1g2x6oa0a06o6o6o0f19716u6u6u8p9jcwcycyc26o6o6o6o6o6o6oaea6a6a6a6a6ae2x2x2xa6ae0n1h2x6oa0a06o6o6o0f19716u6u6u8p9jcw6dcyc26o6o6o6o6o6o6oaea6a6a6a6a6ae0m1g2xa6ae2x2x2x6oa0a06o6o6o0f19716u68688p9jcwcycyc26o6o6o6o6o6o6oaea6a6a6a6a6ae0n1h2xa6ae0m1g2x6oa0a06o6o6o0f19716u6uc88p9jb9b9c32ya0a0a0a0a0a0a0aea6a6a6a6a6ae2x2x2xa6ae0n1h2x6oa0a06o6o6o0f19716u5e5e8p9jbabac42ya0a0a0a0a0a0a0aea6a6a6a6a6ae0m1g2xa6ae2x2x2xa0a0a06o6o6o0f19716868688p9jbbbbc52za0a0a0a0a0a0a0aea6a6a6a6a6ae0n1h2xa6aeb9b9c3a0a0a06o6o6o0f19727w7w7w8q9kcwczczc2a0a0a0a0a0a0a0aea6a6a6a6a6ae2x2x2xa6aebabac4a0a0a06o6o6o0f19231923a0a0a0a0a0a0a0a0a0a0a0a0a0a0adb8b8b8b8b8b74m4m4ma6aebbbbc5a0a0a06o6o6o0f192319230g1a24236o6o6o6o6o6o6oa0a0a00f19aea6a6a6a6a6a6a6a6ae2x2x2xa0a0a06o6o6o0f1923190g1a2419236o6o6o6o6o6o6o6oa0a00f19adb8b8b8b8b8b8b8b8b74m4m4ma0a0a0a06o6o0f0f0f0g1a240f19236o6o6o6o6o6o6o6oa0a00f1923192319231923a0a0a0a0a0a0a0a0a0a0a0a0a02y2ya0a00f2319236o6o6o6o6o6o6o6oa0a00f1923192319231923a0a0a0a0a0a0a0a0a0a0a0a0a02y2ya0a00f2319236o6o6o6o6o6o6o6oa0a00f1923192319231923a0a0a0a0a0a0a0a0a0a0a0a0a02y2ya0a00f2319236o6o6o6o6o6o6o6oa0a00f19737x7x7x7x7x8r9l1c261c2630a0a0a0a0a0a00f0f0f0f0f0f2319236o6o6o6o6o6o6o6oa0a00f19745h5h5h5h5h8s9mcw3z0m1g2x6oa0a0a0a0a00f192319236o6o6o6o6o6o6o6o6o6o6o6oa0a00f19747v066b6b6b8s9mcw3z0n1h2x6oa0a0a0a0a00f192319236o6o6o6o6o6o6o6o6o6o6o6oa0a00f197406065g6a7z8t9n1c261c26306oa0a0a0a0a00f192319236o6o6o6o6o6o6o6o6o6o6o6oa0a00f197406068s9m1c260m1g2x6o6o6o6oa0a0a0a0a00f192319236o6o6o6o6o6o6o6o6o6o6o6oa0a00f197406068s9mcw3z0n1h2x6o6o6oa0a0a0a0a0a00f192319236o6o6o6o6o6o6o6o6o6o6o6oa0a00f197406068s9mcw3zb9b9c3a0a0a0a0a0a0a0a0a00f192319236o6o6o6o6o6o6o6o6o6o6o6oa0a00f19747v068s9m1c26babac4a0a0a0a0a0a0a0a0a00f192319236o6o6o6o6o6o6o6o6o6o6o6oa0a00f19747v068s9mcw3zbbbbc5a0a0a0a0a0a0a0a0a00f192319236o6o6o6o6o6o6o6o6o6o6o6oa0a00f0f7406068s9mcw3z0m1g2x6o6o6oa0a0a0a0a0a00f192319236o6o6o6o6o6o6o6o6o6o6o6oa0a06o6o7406068s9m1c260n1h2x6o6o6o6oa0a0a0a0a00f192319236o6o6o6o6o6o6o6o6o6o6o6oa0a06o6o7406065f697x8r9l1c261c26306oa0a0a0a0a00f192319236o6o6o6o6o6o6o6o6o6o6o6oa0a06o6o7406065h5h5h8s9mcw3zb9b9c36o6o6oa0a0a00f192319236o6o6o6o6o6o6o6o6o6o6o6oa0a06o6o747v060606068s9m1c26babac46o6o6oa0a0a00f19707u8o9i9i2x2x2x6o6o6o6o6o6o6oa0a06o6o746b6b6b6b6b8s9mcw3zbbbbc56o6o6oa0a0a00f19715e5e8p9j4t4t4t6o6o6o6o6o6o6oa0a06o6o757z7z7z7z7z8t9n1c261c26306o6o6oa0a0a00f19716u6u8p9j3y4s4t6o6o6o6o6o6o6oa0a06o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6oa0a0a00f19716u6u8p9j4t4t4t6o6o6o6o6o6o6oa0a06o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6oa0a0a00f19716u6u8p9j3y4s4t6o6o6o6o6o6o6oa0a06o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6oa0a0a00f19716u6u8p9j4t4t4t6o6o6o6o6o6o6oa0a06o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6oa0a0a00f19716u6u8p9j4t4t4ta0a0a0a0a0a0a0a0a06o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6oa0a0a00f19716u6u8p9j4t4t4ta0a0a0a0a0a0a0a0a06o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6oa0a0a00f19716u6u8p9j4t4t4ta0a0a0a0a0a0a0a0a06o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6oa0a0a00f197168688p9j4t4t4t6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6oa0a0a00f19727w7w8q9k2x2x2x6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6oa0a0a00f192319236o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6oa0a0a00f192319236o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6oa0a0a00f192319236o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6oa0a0a00f192319236o6o6o6o6o6o6o6o6o6o6o6o6o6o\" xmlType=\"variable\" /></layers></map></level></data>";
data_xml = new XML(data_txt);
onLoad(data_xml);
Symbol 297 MovieClip [levels\dogs_pet\50.lvl] Frame 1
data_txt = "<data xmlType=\"object\"><level name=\"str_levels\\dogs_pet\\50.lvl\" xmlType=\"object\"><sprites xmlType=\"array\"><7 name=\"str_pic\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_1\" frame=\"num_0\" directions=\"num_1\" direction=\"num_0\" charset=\"str_charset\\objects\\pictureFrame\\girl1_inframe.png\" xmlType=\"object\" /><position y=\"num_24\" x=\"num_152\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><hitbox height=\"num_16\" width=\"num_16\" xmlType=\"object\" /><copySprite id=\"str_\" xmlType=\"object\"><data xmlType=\"object\" /></copySprite><scripts xmlType=\"object\" /><initialAppearance isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_1\" frame=\"num_0\" directions=\"num_1\" direction=\"num_0\" charset=\"str_charset\\objects\\pictureFrame\\girl1_inframe.png\" xmlType=\"object\" /></data></7><6 name=\"str_bigDog\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_1\" frame=\"num_0\" directions=\"num_4\" direction=\"num_2\" charset=\"str_charset\\som_wolf\\stand.png\" xmlType=\"object\" /><position y=\"num_200\" x=\"num_8\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><hitbox height=\"num_16\" width=\"num_16\" xmlType=\"object\" /><copySprite id=\"str_\" xmlType=\"object\"><data xmlType=\"object\" /></copySprite><scripts xmlType=\"object\" /><initialAppearance isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_1\" frame=\"num_0\" directions=\"num_4\" direction=\"num_2\" charset=\"str_charset\\som_wolf\\stand.png\" xmlType=\"object\" /></data></6><5 name=\"str_newGirl\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_2\" charset=\"str_charset\\ridingHood\\dress\\walk.png\" xmlType=\"object\" /><position x=\"num_8\" y=\"num_168\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><hitbox height=\"num_16\" width=\"num_16\" xmlType=\"object\" /><copySprite id=\"str_\" xmlType=\"object\"><data xmlType=\"object\" /></copySprite><scripts xmlType=\"object\" /><initialAppearance isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_2\" charset=\"str_charset\\ridingHood\\dress\\walk.png\" xmlType=\"object\" /></data></5><4 name=\"str_maid\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_2\" columns=\"num_4\" pose=\"num_0\" frames=\"num_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_2\" charset=\"str_charset\\maid.png\" xmlType=\"object\" /><position y=\"num_136\" x=\"num_8\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><hitbox height=\"num_16\" width=\"num_16\" xmlType=\"object\" /><copySprite id=\"str_\" xmlType=\"object\"><data xmlType=\"object\" /></copySprite><scripts xmlType=\"object\" /><initialAppearance isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_2\" columns=\"num_4\" pose=\"num_0\" frames=\"num_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_2\" charset=\"str_charset\\maid.png\" xmlType=\"object\" /></data></4><3 name=\"str_dad\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_2\" columns=\"num_4\" pose=\"num_0\" frames=\"num_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_2\" charset=\"str_charset\\people1.png\" xmlType=\"object\" /><position y=\"num_232\" x=\"num_8\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><hitbox height=\"num_16\" width=\"num_16\" xmlType=\"object\" /><copySprite id=\"str_\" xmlType=\"object\"><data xmlType=\"object\" /></copySprite><scripts xmlType=\"object\" /><initialAppearance isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_2\" columns=\"num_4\" pose=\"num_0\" frames=\"num_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_2\" charset=\"str_charset\\people1.png\" xmlType=\"object\" /></data></3><2 name=\"str_mom\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_2\" columns=\"num_4\" pose=\"num_1\" frames=\"num_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_2\" charset=\"str_charset\\people2.png\" xmlType=\"object\" /><position y=\"num_152\" x=\"num_104\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><hitbox height=\"num_16\" width=\"num_16\" xmlType=\"object\" /><copySprite id=\"str_\" xmlType=\"object\"><data xmlType=\"object\" /></copySprite><scripts xmlType=\"object\" /><initialAppearance isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_2\" columns=\"num_4\" pose=\"num_1\" frames=\"num_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_2\" charset=\"str_charset\\people2.png\" xmlType=\"object\" /></data></2><1 name=\"str_richGirl\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_2\" charset=\"str_charset\\girl1\\dressed\\walk.png\" xmlType=\"object\" /><position x=\"num_8\" y=\"num_40\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><hitbox height=\"num_16\" width=\"num_16\" xmlType=\"object\" /><copySprite id=\"str_\" xmlType=\"object\"><data xmlType=\"object\" /></copySprite><scripts xmlType=\"object\" /><initialAppearance isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_2\" charset=\"str_charset\\girl1\\dressed\\walk.png\" xmlType=\"object\" /></data></1><0 name=\"str_EVENTS\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_1\" frame=\"num_1\" directions=\"num_1\" direction=\"num_0\" charset=\"str_charset\\invisible.png\" xmlType=\"object\" /><position x=\"num_8\" y=\"num_8\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><hitbox height=\"num_16\" width=\"num_16\" xmlType=\"object\" /><copySprite id=\"str_\" xmlType=\"object\"><data xmlType=\"object\" /></copySprite><scripts xmlType=\"object\"><auto xmlType=\"array\"><30 relativeLevel=\"str_60.lvl\" level=\"str_levels\\dogs_pet\\60.lvl\" type=\"str_teleport\" xmlType=\"object\"><position y=\"num_176\" x=\"num_624\" xmlType=\"object\" /><transOut mask=\"str_\" easing=\"str_easeLinear\" seconds=\"num_0.5\" effect=\"str_snapshot\" xmlType=\"object\" /><transIn mask=\"str_\" easing=\"str_easeLinear\" seconds=\"num_0.5\" effect=\"str_cut\" xmlType=\"object\" /></30><29 value=\"str_dad\" mode=\"str_movement\" type=\"str_comment\" message=\"str_* wait for dad\" commentedType=\"str_wait\" xmlType=\"object\" /><28 value=\"str_mom\" mode=\"str_movement\" type=\"str_comment\" message=\"str_* wait for mom\" commentedType=\"str_wait\" xmlType=\"object\" /><27 message=\"str_\" type=\"str_comment\" xmlType=\"object\" /><26 value=\"num_2\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><25 type=\"str_move\" sprite=\"str_mom\" xmlType=\"array\"><4 walkSpeed=\"num_0.13\" duration=\"num_0.13\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_16\" x=\"num_0\" xmlType=\"object\" /></4><3 walkSpeed=\"num_0.13\" duration=\"num_0.411096095821889\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_48\" x=\"num_16\" xmlType=\"object\" /></3><2 walkSpeed=\"num_0.13\" duration=\"num_1.56\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_0\" x=\"num_192\" xmlType=\"object\" /></2><1 walkSpeed=\"num_0.13\" duration=\"num_0.78\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_-96\" x=\"num_0\" xmlType=\"object\" /></1><0 walkSpeed=\"num_0.13\" duration=\"num_0.39\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_0\" x=\"num_-48\" xmlType=\"object\" /></0></25><24 value=\"num_0.2\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><23 type=\"str_move\" sprite=\"str_dad\" xmlType=\"array\"><3 walkSpeed=\"num_0.13\" duration=\"num_0.13\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_16\" x=\"num_0\" xmlType=\"object\" /></3><2 walkSpeed=\"num_0.13\" duration=\"num_0.411096095821889\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_48\" x=\"num_16\" xmlType=\"object\" /></2><1 walkSpeed=\"num_0.13\" duration=\"num_1.56\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_0\" x=\"num_192\" xmlType=\"object\" /></1><0 walkSpeed=\"num_0.13\" duration=\"num_0.91\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_-112\" x=\"num_0\" xmlType=\"object\" /></0></23><22 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_Dad: Somebody is trespassing!\" type=\"str_textbox\" xmlType=\"object\" /></22><21 type=\"str_move\" sprite=\"str_dad\" xmlType=\"array\"><0 value=\"str_down\" type=\"str_direction\" xmlType=\"object\" /></21><20 value=\"num_0.1\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><19 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_Mom: That was not our daughter's voice!\" type=\"str_textbox\" xmlType=\"object\" /></19><18 type=\"str_move\" sprite=\"str_mom\" xmlType=\"array\"><0 value=\"str_dad\" type=\"str_lookAt\" xmlType=\"object\" /></18><17 value=\"num_1\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><16 type=\"str_move\" sprite=\"str_dad\" xmlType=\"array\"><0 value=\"str_right\" type=\"str_direction\" xmlType=\"object\" /></16><15 type=\"str_move\" sprite=\"str_mom\" xmlType=\"array\"><0 value=\"str_right\" type=\"str_direction\" xmlType=\"object\" /></15><14 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_\" face=\"str_\" typingSound=\"str_\" _y=\"num_133\" text=\"str_\\r\\#ffffffHee hee!\" type=\"str_textbox\" xmlType=\"object\" /></14><13 message=\"str_\" type=\"str_comment\" xmlType=\"object\" /><12 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_Dad: It seems we have no choice.\\!\r We'll just have to hire someone and\r train them to be a dog-maid.\" type=\"str_textbox\" xmlType=\"object\" /></12><11 type=\"str_move\" sprite=\"str_dad\" xmlType=\"array\"><0 value=\"str_up\" type=\"str_direction\" xmlType=\"object\" /></11><10 value=\"str_mom\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><9 value=\"num_0.1\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><8 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_Mom: \\.How peculiar...\\2 Don't other people\r have dogs?\\! How do they manage it\r without a maid to do everything?\" type=\"str_textbox\" xmlType=\"object\" /></8><7 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_comment\" message=\"str_* text: Mom: \\.How peculiar...\\2 Don't other people\r have dogs?\\! How do they manage it\r without a maid to do everything?\" commentedType=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_Mom: \\.How peculiar...\\2 Don't other people\r have dogs?\\! How do they manage it\r without a maid to do everything?\" type=\"str_textbox\" xmlType=\"object\" /></7><6 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_comment\" typingSound=\"str_\" background=\"str_\" face=\"str_\" message=\"str_* text: Mom: \\.My my,\\2 that IS strange...\\!\rMaids are supposed to do everything.\\2\rDon't other people have dogs to care for?\" commentedType=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_Mom: \\.My my,\\2 that IS strange...\\!\rMaids are supposed to do everything.\\2\rDon't other people have dogs to care for?\" type=\"str_textbox\" xmlType=\"object\" /></6><5 type=\"str_move\" sprite=\"str_mom\" xmlType=\"array\"><1 value=\"str_dad\" type=\"str_lookAt\" xmlType=\"object\" /><0 walkSpeed=\"num_0.26\" duration=\"num_0.52\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_32\" x=\"num_0\" xmlType=\"object\" /></0></5><4 value=\"num_0.1\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><3 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_Dad: For some strange reason,\r there do not seem to be any\r maids willing to work for dogs.\" type=\"str_textbox\" xmlType=\"object\" /></3><2 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_comment\" message=\"str_* text: Dad: For some strange reason,\rthere do not seem to be any\rmaids for dogs.\" commentedType=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_Dad: For some strange reason,\rthere do not seem to be any\rmaids for dogs.\" type=\"str_textbox\" xmlType=\"object\" /></2><1 value=\"str_dad\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><0 type=\"str_move\" sprite=\"str_dad\" xmlType=\"array\"><2 value=\"str_mom\" type=\"str_lookAt\" xmlType=\"object\" /><1 walkSpeed=\"num_0.26\" duration=\"num_0.78\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_-48\" x=\"num_0\" xmlType=\"object\" /></1><0 duration=\"num_0\" autoAnim=\"bol_false\" autoDirection=\"bol_false\" type=\"str_moveAbsolute\" xmlType=\"object\"><position y=\"num_256\" x=\"num_56\" xmlType=\"object\" /></0></0></auto></scripts><initialAppearance isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_1\" frame=\"num_1\" directions=\"num_1\" direction=\"num_0\" charset=\"str_charset\\invisible.png\" xmlType=\"object\" /></data></0></sprites><map format=\"num_2\" width=\"num_20\" height=\"num_15\" chipset=\"str_chipset\\robotrek_indoors.png\" collision=\"str__111111111111111111111111111111111100111110001111000000000000111100111110001111100111100001111110111100001111100111101101111100111001101111100111101101111100111001101111100111101101111100111100001111110111100001111100111111111111100001111111111100000111111111100001111111111111111111111111111111111111\" xmlType=\"object\"><layers xmlType=\"array\"><2 value=\"str__2p2p2p2p2p2p2p2p2p2p2p2p2p2p2p58585858585858585858585858582p0000000000d2000000000000008w4d000000000000000000000000008x4d0000000000d0000000000000008y4d0000000000d100000000000000004d000000an00d100000000000000004d0000000000d100000000000000004d0000000000d100000000000000004d0000000000d10000an00000000004d0000000000d100000000000000004d0000000000d100000000000000004d0000000000d100000000000000004d000000an00d100000000000000004d0000000000d200004c56565656562p000000000000008w4d2p2p2p2p2p2p000000000000008x4d2p2p2p2p2p2p000000000000008y4d2p2p2p2p2p2p56565656565656562p2p2p2p2p2p2p2p2p2p2p2p2p2p2p2p2p2p2p2p2p2p\" xmlType=\"variable\" /><1 value=\"str__00000000000000000000000000000000000000000000000000000000000000009oai000000000000000000000000008v00000000000000000000000000009paj00000000000000000000000000000000000000c60000000000000000000000000000c70000000000000000000000000000c80000000000000o1i2c0000000000000000000000000p002d00000000000000009t0000000q1k2e0000000000000000000000000000000000000000c60000000000000000000000000000c70000000000000000000000000000c8000000000000000000000000000000000000000000000000000000000000000000000000000000920000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000\" xmlType=\"variable\" /><0 value=\"str__0000000000000000000000000000000000000000000000000000000000000l1f29336r6r0j1d27313v6o6o6o000l1f290g6r6r6r6r6r1b1b6o6o6o000l1f29336r6r0i1c26303u6o6o6o000l1f29336r6r0k0d17ac6o6o6o6o000l1f29331a6r0k0d17ad6o6o6o6o000l1f29336r6r0k0d17ae6o7x9l6o000l1f29336r6r0k0d176o6o7y9m6o000la629336r6r0k0d171a6o7y9m6o000l1f29336r6r0k0d176o6o7y9m6o000l1f29336r6r0k0d17ac6o7z9n6o000l1f29336r6r0k0d17ad6o6o6o6o000l1f29331a6r0k0d17ae6o6o6o6o000l1f29336r6r0j1d000000000000000l1f29336r6r6r6r000000000000000l1f29336r6r6r6r000000000000000l1f29336r6r6r6r00000000000000000000000000000000000000000000000000000000000000000000000000\" xmlType=\"variable\" /></layers></map></level></data>";
data_xml = new XML(data_txt);
onLoad(data_xml);
Symbol 298 MovieClip [levels\dogs_pet\60.lvl] Frame 1
data_txt = "<data xmlType=\"object\"><level name=\"str_levels\\dogs_pet\\60.lvl\" xmlType=\"object\"><sprites xmlType=\"array\"><4 name=\"str_bigDog\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite isAnimating=\"bol_false\" delay=\"num_2\" animDirection=\"num_1\" animType=\"str_loop\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_3\" frame=\"num_0\" directions=\"num_4\" direction=\"num_2\" charset=\"str_charset\\som_wolf\\walk.png\" xmlType=\"object\" /><position y=\"num_216\" x=\"num_680\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><hitbox height=\"num_16\" width=\"num_16\" xmlType=\"object\" /><copySprite id=\"str_\" xmlType=\"object\"><data xmlType=\"object\" /></copySprite><scripts xmlType=\"object\" /><initialAppearance isAnimating=\"bol_false\" delay=\"num_2\" animDirection=\"num_1\" animType=\"str_loop\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_3\" frame=\"num_0\" directions=\"num_4\" direction=\"num_2\" charset=\"str_charset\\som_wolf\\walk.png\" xmlType=\"object\" /></data></4><3 name=\"str_newGirl\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite isAnimating=\"bol_false\" delay=\"num_2\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_2\" charset=\"str_charset\\ridingHood\\dress\\walk.png\" xmlType=\"object\" /><position y=\"num_216\" x=\"num_632\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><hitbox height=\"num_16\" width=\"num_16\" xmlType=\"object\" /><copySprite id=\"str_\" xmlType=\"object\"><data xmlType=\"object\" /></copySprite><scripts xmlType=\"object\" /><initialAppearance isAnimating=\"bol_false\" delay=\"num_2\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_2\" charset=\"str_charset\\ridingHood\\dress\\walk.png\" xmlType=\"object\" /></data></3><2 name=\"str_dad\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_2\" columns=\"num_4\" pose=\"num_0\" frames=\"num_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_2\" charset=\"str_charset\\people1.png\" xmlType=\"object\" /><position y=\"num_376\" x=\"num_648\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><hitbox height=\"num_16\" width=\"num_16\" xmlType=\"object\" /><copySprite id=\"str_\" xmlType=\"object\"><data xmlType=\"object\" /></copySprite><scripts xmlType=\"object\" /><initialAppearance isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_2\" columns=\"num_4\" pose=\"num_0\" frames=\"num_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_2\" charset=\"str_charset\\people1.png\" xmlType=\"object\" /></data></2><1 name=\"str_mom\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_2\" columns=\"num_4\" pose=\"num_1\" frames=\"num_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_2\" charset=\"str_charset\\people2.png\" xmlType=\"object\" /><position y=\"num_376\" x=\"num_616\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><hitbox height=\"num_16\" width=\"num_16\" xmlType=\"object\" /><copySprite id=\"str_\" xmlType=\"object\"><data xmlType=\"object\" /></copySprite><scripts xmlType=\"object\" /><initialAppearance isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_2\" columns=\"num_4\" pose=\"num_1\" frames=\"num_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_2\" charset=\"str_charset\\people2.png\" xmlType=\"object\" /></data></1><0 name=\"str_EVENTS\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_1\" frame=\"num_1\" directions=\"num_1\" direction=\"num_0\" charset=\"str_charset\\invisible.png\" xmlType=\"object\" /><position x=\"num_632\" y=\"num_184\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><hitbox height=\"num_16\" width=\"num_16\" xmlType=\"object\" /><copySprite id=\"str_\" xmlType=\"object\"><data xmlType=\"object\" /></copySprite><scripts xmlType=\"object\"><auto xmlType=\"array\"><45 relativeLevel=\"str_70.lvl\" level=\"str_levels\\dogs_pet\\70.lvl\" type=\"str_teleport\" xmlType=\"object\"><position y=\"num_512\" x=\"num_112\" xmlType=\"object\" /><transOut mask=\"str_\" easing=\"str_easeLinear\" seconds=\"num_0.5\" effect=\"str_fadeBlack\" xmlType=\"object\" /><transIn mask=\"str_\" easing=\"str_easeLinear\" seconds=\"num_1\" effect=\"str_fade\" xmlType=\"object\" /></45><44 value=\"num_0.5\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><43 message=\"str_\" type=\"str_comment\" xmlType=\"object\" /><42 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_Mom: \\.No experience?\\. Great!\\!\r You're hired!\\2\r When can you start?\" type=\"str_textbox\" xmlType=\"object\" /></42><41 value=\"str_mom\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><40 type=\"str_move\" sprite=\"str_mom\" xmlType=\"array\"><0 walkSpeed=\"num_0.13\" duration=\"num_0.178195161620623\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_-16\" x=\"num_15\" xmlType=\"object\" /></0></40><39 value=\"num_0.1\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><38 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_160\" text=\"str_[newGirl]: \\.Who,\\. me??\\!\r Of course not.\\. I'm just a-\" type=\"str_textbox\" xmlType=\"object\" /></38><37 type=\"str_move\" sprite=\"str_newGirl\" xmlType=\"array\"><2 value=\"str_dad\" type=\"str_lookAt\" xmlType=\"object\" /><1 value=\"num_0.3\" mode=\"str_time\" type=\"str_moveWait\" xmlType=\"object\" /><0 value=\"str_up\" type=\"str_direction\" xmlType=\"object\" /></37><36 value=\"num_0.1\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><35 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_Dad: \\.Yes, I'm sure you are.\\2 And you\r clearly get along with dogs,\\2 so tell me...\\!\r Do you have any experience as a maid?\" type=\"str_textbox\" xmlType=\"object\" /></35><34 type=\"str_move\" sprite=\"str_dad\" xmlType=\"array\"><1 value=\"str_newGirl\" type=\"str_lookAt\" xmlType=\"object\" /><0 walkSpeed=\"num_0.26\" duration=\"num_0.26\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_0\" x=\"num_16\" xmlType=\"object\" /></0></34><33 value=\"num_0.1\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><32 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_160\" text=\"str_Hi!\\2 My name's [newGirl].\" type=\"str_textbox\" xmlType=\"object\" /></32><31 value=\"str_mom\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><30 type=\"str_move\" sprite=\"str_mom\" xmlType=\"array\"><1 value=\"str_newGirl\" type=\"str_lookAt\" xmlType=\"object\" /><0 walkSpeed=\"num_0.26\" duration=\"num_0.114904851942814\" autoAnim=\"bol_true\" autoDirection=\"bol_false\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_-1\" x=\"num_-7\" xmlType=\"object\" /></0></30><29 type=\"str_move\" sprite=\"str_dad\" xmlType=\"array\"><0 value=\"str_newGirl\" type=\"str_lookAt\" xmlType=\"object\" /></29><28 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_comment\" message=\"str_* text: Mom: Don't you see?\\!\r She is the perfect dog-maid.\" commentedType=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_Mom: Don't you see?\\!\r She is the perfect dog-maid.\" type=\"str_textbox\" xmlType=\"object\" /></28><27 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_Mom: Don't you see?\\!\r She could be the perfect dog-maid.\" type=\"str_textbox\" xmlType=\"object\" /></27><26 value=\"str_mom\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><25 type=\"str_move\" sprite=\"str_mom\" xmlType=\"array\"><2 walkSpeed=\"num_0.588312841947208\" duration=\"num_0.26\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_1\" x=\"num_7\" xmlType=\"object\" /></2><1 value=\"num_0.2\" mode=\"str_time\" type=\"str_moveWait\" xmlType=\"object\" /><0 walkSpeed=\"num_0.13\" duration=\"num_0.26\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_0\" x=\"num_32\" xmlType=\"object\" /></0></25><24 value=\"str_mom\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><23 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_Dad: Who cares about-\" type=\"str_textbox\" xmlType=\"object\" /></23><22 type=\"str_move\" sprite=\"str_dad\" xmlType=\"array\"><0 value=\"str_mom\" type=\"str_lookAt\" xmlType=\"object\" /></22><21 value=\"num_0.1\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><20 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_Mom: \\.Oh, but dear...\\. they are\r getting along ever so well.\" type=\"str_textbox\" xmlType=\"object\" /></20><19 type=\"str_move\" sprite=\"str_mom\" xmlType=\"array\"><0 walkSpeed=\"num_0.13\" duration=\"num_0.13\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_0\" x=\"num_16\" xmlType=\"object\" /></0></19><18 value=\"str_dad\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><17 value=\"num_0.1\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><16 type=\"str_move\" sprite=\"str_bigDog\" xmlType=\"array\"><0 type=\"str_appearance\" xmlType=\"object\"><value isAnimating=\"bol_false\" delay=\"num_2\" animDirection=\"num_1\" animType=\"str_yoyo\" pose=\"num_0\" rows=\"num_1\" columns=\"num_1\" frame=\"num_0\" frames=\"num_1\" direction=\"num_3\" directions=\"num_2\" charset=\"str_charset\\som_wolf\\drink.png\" xmlType=\"object\" /></0></16><15 type=\"str_move\" sprite=\"str_newGirl\" xmlType=\"array\"><0 value=\"str_dad\" type=\"str_lookAt\" xmlType=\"object\" /></15><14 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_Dad: \\.Hey you!\\.\r How dare you pester our prized "wol-dog!"\" type=\"str_textbox\" xmlType=\"object\" /></14><13 type=\"str_move\" sprite=\"str_dad\" xmlType=\"array\"><1 value=\"str_newGirl\" type=\"str_lookAt\" xmlType=\"object\" /><0 walkSpeed=\"num_0.26\" duration=\"num_0.26\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_0\" x=\"num_16\" xmlType=\"object\" /></0></13><12 value=\"str_newGirl\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><11 value=\"str_bigDog\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><10 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_160\" text=\"str_Dad: \\.Oh,\\. it is just one of those\r commoner girls.\" type=\"str_textbox\" xmlType=\"object\" /></10><9 value=\"str_dad\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><8 value=\"str_mom\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><7 type=\"str_move\" sprite=\"str_mom\" xmlType=\"array\"><2 walkSpeed=\"num_0.13\" duration=\"num_0.13\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_0\" x=\"num_16\" xmlType=\"object\" /></2><1 walkSpeed=\"num_0.13\" duration=\"num_0.26\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_32\" x=\"num_0\" xmlType=\"object\" /></1><0 duration=\"num_0\" autoAnim=\"bol_false\" autoDirection=\"bol_false\" type=\"str_moveAbsolute\" xmlType=\"object\"><position y=\"num_224\" x=\"num_536\" xmlType=\"object\" /></0></7><6 value=\"num_0.2\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><5 type=\"str_move\" sprite=\"str_dad\" xmlType=\"array\"><2 walkSpeed=\"num_0.13\" duration=\"num_0.52\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_0\" x=\"num_64\" xmlType=\"object\" /></2><1 walkSpeed=\"num_0.13\" duration=\"num_0.26\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_32\" x=\"num_0\" xmlType=\"object\" /></1><0 duration=\"num_0\" autoAnim=\"bol_false\" autoDirection=\"bol_false\" type=\"str_moveAbsolute\" xmlType=\"object\"><position y=\"num_224\" x=\"num_536\" xmlType=\"object\" /></0></5><4 value=\"num_1.5\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><3 type=\"str_move\" sprite=\"str_bigDog\" xmlType=\"array\"><9 type=\"str_appearance\" xmlType=\"object\"><value isAnimating=\"bol_false\" delay=\"num_2\" animDirection=\"num_1\" animType=\"str_loop\" pose=\"num_0\" rows=\"num_1\" columns=\"num_1\" frame=\"num_0\" frames=\"num_2\" direction=\"num_3\" directions=\"num_4\" charset=\"str_charset\\som_wolf\\hump.png\" xmlType=\"object\" /></9><8 walkSpeed=\"num_0.13\" duration=\"num_0.195169197428795\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_-1\" x=\"num_-24\" xmlType=\"object\" /></8><7 walkSpeed=\"num_0.13\" duration=\"num_0.39\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_-48\" x=\"num_0\" xmlType=\"object\" /></7><6 walkSpeed=\"num_0.13\" duration=\"num_0.39\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_0\" x=\"num_48\" xmlType=\"object\" /></6><5 walkSpeed=\"num_0.13\" duration=\"num_0.39\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_48\" x=\"num_0\" xmlType=\"object\" /></5><4 walkSpeed=\"num_0.13\" duration=\"num_0.39\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_0\" x=\"num_-48\" xmlType=\"object\" /></4><3 walkSpeed=\"num_0.13\" duration=\"num_0.39\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_-48\" x=\"num_0\" xmlType=\"object\" /></3><2 walkSpeed=\"num_0.13\" duration=\"num_0.39\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_0\" x=\"num_48\" xmlType=\"object\" /></2><1 walkSpeed=\"num_0.13\" duration=\"num_0.39\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_48\" x=\"num_0\" xmlType=\"object\" /></1><0 walkSpeed=\"num_0.13\" duration=\"num_0.39\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_0\" x=\"num_-48\" xmlType=\"object\" /></0></3><2 type=\"str_move\" sprite=\"str_newGirl\" xmlType=\"array\"><8 value=\"str_right\" type=\"str_direction\" xmlType=\"object\" /><7 walkSpeed=\"num_0.13\" duration=\"num_0.39\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_0\" x=\"num_-48\" xmlType=\"object\" /></7><6 walkSpeed=\"num_0.13\" duration=\"num_0.39\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_-48\" x=\"num_0\" xmlType=\"object\" /></6><5 walkSpeed=\"num_0.13\" duration=\"num_0.39\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_0\" x=\"num_48\" xmlType=\"object\" /></5><4 walkSpeed=\"num_0.13\" duration=\"num_0.39\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_48\" x=\"num_0\" xmlType=\"object\" /></4><3 walkSpeed=\"num_0.13\" duration=\"num_0.39\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_0\" x=\"num_-48\" xmlType=\"object\" /></3><2 walkSpeed=\"num_0.13\" duration=\"num_0.39\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_-48\" x=\"num_0\" xmlType=\"object\" /></2><1 walkSpeed=\"num_0.13\" duration=\"num_0.39\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_0\" x=\"num_48\" xmlType=\"object\" /></1><0 walkSpeed=\"num_0.13\" duration=\"num_0.39\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_48\" x=\"num_0\" xmlType=\"object\" /></0></2><1 type=\"str_move\" sprite=\"str_player\" xmlType=\"array\"><0 duration=\"num_0\" autoAnim=\"bol_false\" autoDirection=\"bol_false\" type=\"str_moveAbsolute\" xmlType=\"object\"><position y=\"num_192\" x=\"num_632\" xmlType=\"object\" /></0></1><0 name=\"str_\" volume=\"num_75\" loop=\"bol_false\" file=\"str_sound\\dog.mp3\" type=\"str_sound\" xmlType=\"object\" /></auto></scripts><initialAppearance isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_1\" frame=\"num_1\" directions=\"num_1\" direction=\"num_0\" charset=\"str_charset\\invisible.png\" xmlType=\"object\" /></data></0></sprites><map format=\"num_2\" width=\"num_48\" height=\"num_40\" chipset=\"str_chipset\\iog_capeTown.png\" collision=\"str__111111111111111111111111111111111111111111111111100000100000011111000000000000011111111110000010000001111111111111110001111111111000000000000111111111111001000111111111111111100000011111111011100100011110000000011110000001111111111110010001111111111101111000000111111111111000000110000011110111100000011111111111111111111000001111011110000001111111111110000001100000111101111000000111111111111000000110000011110111100000011111111011100000011000001111011110000001111111111110000001100000111101111000000111111111111000000110000011110100000000011111000000000000011111111111011110000001111100110000000001111000000001111000000111100111000000000111111111111111100000011100111100000000011111111110000000000000000011110000000001111111111000000000000000001111000001000111111111100000000000000000111111111000011111111111111110000001111111110011110101111111111111111000000111110000001000010111110111111111100000011111000000000000011110011111111110000001111100000000000001111001111111000000000111110000000000010111100111111100000000011111000000000001011110011111110000000001111100000000000001111101111000000000000111110000000000000111110111111100000000011111000000000001011110011111110000000001111100000000000101001001111111000000000111110000000000000100100111111111111100011111000000000000010010011111111110010001111100000000000101001100001111000001000111111111100000010101111111111111100100011111111110000000010111111111111110010001110011111000000001000000011000000001000111101111100000010100000100100100000100011100111110000001010000010010010000010001110011111000000001010000001000000001000111001111100000000101000001100000000100011100111110000000010000000110000000010001110011111000000001000000001000000001000111111111100000000000010000100000001100011111111110000000000001000010000000110001111100000000000000000000001001000001000111110000000000000000000000100100000100011111000000000000000000001011111111110001111111111111111111\" xmlType=\"object\"><layers xmlType=\"array\"><2 value=\"str__7676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676af767676767676767676767676767676767676767676767676767676767676767676767676767676ag767676767676767676767676767676767676767676767676767676767676767676767676767676ah767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676af767676767676767676767676767676767676767676767676767676767676767676767676767676ag767676767676767676767676767676767676767676767676767676767676767676767676767676ah76767676767676767676767676767676767676767676af767676767676767676767676767676767676767676767676767676767676767676767676767676ag767676767676767676767676767676767676767676767676767676767676767676767676767676ah7676767676767676767676767676763o76767676767676767676767676767676767676767676767676767676767676767676767676768y76767676767676767676767676767676767676767676767676767676767676767676767676763o7676767676767676767676767676767676767676767676767676767676767676767676767676767676767636404u5o6i767676767676767676767676767676767676767676767676767676767676767676767637414v5p6j767676767676767676767676767676767676767676767676767676767676767636404u384236404u767676767676767676767676767676767676767676767676767676767676767637414v764337414v397676767676767676767676767676767676767676767676767676767676767638424w5q6k38424w5q6k76767676767676767676767676767676767676767676767676767676767639434x5r6l39434x5r6l767676767676767676767676767676767676767676767676767676767676767676767636404u5o6i767676767676767676767676767676767676767676767676767676767676767676767637414v5p6j767676767676767676767676767676767676767676767676767676767676767676767638424w5q6k76767676767676767676cw3zaf7676767676767676767676767676767676767676767639434x5r6l767676767676767676761c26ag7676767676767676767676767676767676767676767636404u5o6i76767676767676767676cw3zah7676767676767676767676767676767676767676767637414v5p6j767676767676767676767676767676767676767676767676767676767676767676767638424w5q6k767676767676767676767676767676767676767676767676767676767676767676767639434x5r6l767676404u76767676767676767676767676767676767676767676767676767676767636404u5o6i767676414v7676767676767676cw3zaf7676767676767676767676767676767676767637414v5p6j767676424w76767676767676761c26ag7676767676767676767676767676767676767638424w5q6k767676434x7676767676767676cw3zah7676767676767676767676767676767676767639434x5r6l767676767676767676767676767676767676767676767676767676767676767676767636404u5o6i767676364038424w5q36404u5o6i76767636767676767676767676767676767676767637414v5p6j76767637416i434x5r37414v5p6j76767676767676767676767676767676767676767638424w5q6k76767638424w5q6k7638424w5q6k00000000000076767676767676767676767676767639434x5r6l7676766j4336404u5o6i434x5r6l0000000000007676767676767676767676af76767676767676767676766k7637414v5p6j767676760000000000007676767676767676767676ag76767676767676767676766l7638424w5q6k767676390000000000007676767676767676767676ah76767676767676767676764u5o6i434x5r6l7676767636404u5o6i0076767676767676767676767676767676767676767676764v5p6j767676767676767637414v5p6j7676767676767676767676767676767676767676767676764w5q6k76767636404u5o6i38424w5q6k7676767676767676767676767676767676767676767676764x5r6l76767637414v5p6j39434x5r6l7676767676767676767676767676767676767676767676767636404u5o6i38424w5q6k76767676767676767676767676767676767676767676767676767676767637414v5p6j39434x5r6l7676767676767676767676767676767676767676767676767676767676\" xmlType=\"variable\" /><1 value=\"str__7676767676767676768x8x8x8x8x8x8x8x8x8x8x8x8x8x8x8x8x8x8x8x8x8x8x8x8x8x8x8x8x8x8x7676767676767676767676767676d31676760d7676767676767600000000000000000076007676d27676767676767676767676767676d11676760d7676767676767600000000000000d0d0d2007676d27676767676767676767676767676761676760d76767676767676000000007676000000d2007676d27676767676767676767676767676761676760d76767676767676000000007676000000d2007676d27676767676767676767676767676761676760d76767676767676767676007676000000d2007676d27676767676767676767676767676761676760d7676767676767676767600000000000000007676d27676767676767676767676767676761676760d7676767676767676767600000000d0d0d0d0d0d0d27676767676767676767676767676761676760d7676767676767676767676000000171717171717d27676767676767676767676767676761676760d767676767676be76767676000000al0000007676d27676767676767676767676767676761676760d7676767676767676767676000000am0000007676d27676767676767676767676767676768376760d7676767676767676767676000000an0000007676d2767676767676767676767676767676al76760d7676767676767676767676000076767676767676d2767676767676767676767676767676am76760d7676767676767676767676767676767676767676d2767676767676767676767676767676an76760d7676767676769o7676764i0c0c0c0c0c0c0c8276d27676767676767676767676767676767676760d76767676769o7676769s76000000000000001676d27676767676767676767676767676767676767917177676767676764i7676000000000000001676d2767676767676767676767676767676767676767676767676767676767676767676767636761676d276767676767676767676767676767676767676767676767676767676767676767676767d761676d27676767676767676767676767676767676767676767676767676767676765o6i4w5q6k5o6i1676d27676767676767676767676767676768276767676767676767676767676765p6j4x5r6l5p6j7d76d276767676767676767676767676767616767676767676767676767676767676767e767676767e76d2767676767676767676767676767676167676767676767676767676767676767676767676767676d2767676767676767676767676767676167676767676767676767676767676767676767676767676d2767676767676767676767676767676167676767676767676767676767676767676767676767d76d2767676767676767676767676171717837676767676767676767676767676767676767676767e76d2767676767676767676767676al7676767676767676767676767676767676767676767676767676d2767676767676767676767676am7676767676767676767676767676767676767676767676767676d2767676767676767676767676an7676767676767676767676767676767676767676767676767d76d27676767676767676767676760c0c0c827676767676767676767676767676767676767676767e76d2767676767676767676767676767676167676767676767676767676767676767676767676767676d2767676767676767676767676767676d0d0d0767676767676767676767676767676767676767676d27676767676767676767676767676767676d20d7676767676767676767676767676767676767d76d26i76767676767676767676767676767676d20d7676767676767676767676767676767676767e76d26j7d767676767676767676767676767676d20d76767676767676767676bdc77676767676767676d26k7e767676767676767676767676767676d20d7676767676767676767676bd7676767676767676d26l764u5o6i766k7ed27676767676767676d20d767676763s4m76767676bdc77676767676767d76d276764v5p6j7d6l76d276767d7676767676d20d7676767676767676767676bd7676767676767e76d276766k76767e7676d276767e7676767676d20d76767676767676767676bdc77676767676767676d2767d4x5r6l767676d27676767676760000d20d767676767676767676b9b9c3al76767676767676d2767e76767676767dd27676767676760000d20d767676767676767676babac4am76767676767676d2767676767676767ed27676767676760000d20d767676767676767676bbbbc5an76767676767676d27676767676767676d27676767676767676d20d76767676767676767676bdc77676767676767676767676767d76767676d2767676767676767dd20d7676767676767676767676767676767676767676767676767e76767676d2767676767676767ed20d7676767676767676767676767676767676767676767676767676767676d276767d7676767676d20d7676767676767676767676767676767676767676767676767676767676d276767e7676767676d20d7676767676767676767676767676767676767676767676767676767d76d2d2d2d0d0d0d0d0d0d20d767676767676768x8x8x8x8x8x8x8x8x8x8x8x8x8x\" xmlType=\"variable\" /><0 value=\"str__0f19231923192319236o6o6o6o6o6o6o6o6o6o6o6o0f192319236o6o6o6o6o6o6o6o6o6o6o6o6o6o0f19231923192319236o6o6o6o6o6o6oa0a06o6o6o0f192319236o6o6o6o6o6o6o6o6o6o6o6o6o6o0f19231923192319236o6o6o6o6o6o6oa0a06o6o6o0f19707u7u7u8o9icwcxcxc26o6o6o6o6o6o6o0f19231923192319236o6o6o6o6o6o6oa0a06o6o6o0f19715e5e5e8p9jb9b9c32y6o6o6o6o6o6o6o0f19acb8b8b8b8b8b8b8b8b64m4m4m6oa0a06o6o6o0f193s4m4m6u8p9jbabac42y6o6o6o6o6o6o6o0f19aea6a6a6a6a6a6a6a6ae2x2x2x6oa0a06o6o6o0f19716u6u6u8p9jbbbbc52z6o6o6o6o6o6o6oacb8b8b8b8b8b64m4m4ma6ae0m1g2x6oa0a06o6o6o0f19716u6u6u8p9jcwcycyc26o6o6o6o6o6o6oaea6a6a6a6a6ae2x2x2xa6ae0n1h2x6oa0a06o6o6o0f19716u6u6u8p9jcw6dcyc26o6o6o6o6o6o6oaea6a6a6a6a6ae0m1g2xa6ae2x2x2x6oa0a06o6o6o0f19716u68688p9jcwcycyc26o6o6o6o6o6o6oaea6a6a6a6a6ae0n1h2xa6ae0m1g2x6oa0a06o6o6o0f19716u6uc88p9jb9b9c32ya0a0a0a0a0a0a0aea6a6a6a6a6ae2x2x2xa6ae0n1h2x6oa0a06o6o6o0f19716u5e5e8p9jbabac42ya0a0a0a0a0a0a0aea6a6a6a6a6ae0m1g2xa6ae2x2x2xa0a0a06o6o6o0f19716868688p9jbbbbc52za0a0a0a0a0a0a0aea6a6a6a6a6ae0n1h2xa6aeb9b9c3a0a0a06o6o6o0f19727w7w7w8q9kcwczczc2a0a0a0a0a0a0a0aea6a6a6a6a6ae2x2x2xa6aebabac4a0a0a06o6o6o0f19231923a0a0a0a0a0a0a0a0a0a0a0a0a0a0adb8b8b8b8b8b74m4m4ma6aebbbbc5a0a0a06o6o6o0f192319230g1a24236o6o6o6o6o6o6oa0a0a00f19aea6a6a6a6a6a6a6a6ae2x2x2xa0a0a06o6o6o0f1923190g1a2419236o6o6o6o6o6o6o6oa0a00f19adb8b8b8b8b8b8b8b8b74m4m4ma0a0a0a06o6o0f0f0f0g1a240f19236o6o6o6o6o6o6o6oa0a00f1923192319231923a0a0a0a0a0a0a0a0a0a0a0a0a02y2ya0a00f2319236o6o6o6o6o6o6o6oa0a00f1923192319231923a0a0a0a0a0a0a0a0a0a0a0a0a02y2ya0a00f2319236o6o6o6o6o6o6o6oa0a00f1923192319231923a0a0a0a0a0a0a0a0a0a0a0a0a02y2ya0a00f2319236o6o6o6o6o6o6o6oa0a00f19737x7x7x7x7x8r9l1c261c2630a0a0a0a0a0";
data_txt = data_txt + "a00f0f0f0f0f0f2319236o6o6o6o6o6o6o6oa0a00f19745h5h5h5h5h8s9mcw3z0m1g2x6oa0a0a0a0a00f192319236o6o6o6o6o6o6o6o6o6o6o6oa0a00f19747v066b6b6b8s9mcw3z0n1h2x6oa0a0a0a0a00f192319236o6o6o6o6o6o6o6o6o6o6o6oa0a00f197406065g6a7z8t9n1c261c26306oa0a0a0a0a00f192319236o6o6o6o6o6o6o6o6o6o6o6oa0a00f197406068s9m1c260m1g2x6o6o6o6oa0a0a0a0a00f192319236o6o6o6o6o6o6o6o6o6o6o6oa0a00f197406068s9mcw3z0n1h2x6o6o6oa0a0a0a0a0a00f192319236o6o6o6o6o6o6o6o6o6o6o6oa0a00f197406068s9mcw3zb9b9c3a0a0a0a0a0a0a0a0a00f192319236o6o6o6o6o6o6o6o6o6o6o6oa0a00f19747v068s9m1c26babac4a0a0a0a0a0a0a0a0a00f192319236o6o6o6o6o6o6o6o6o6o6o6oa0a00f19747v068s9mcw3zbbbbc5a0a0a0a0a0a0a0a0a00f192319236o6o6o6o6o6o6o6o6o6o6o6oa0a00f0f7406068s9mcw3z0m1g2x6o6o6oa0a0a0a0a0a00f192319236o6o6o6o6o6o6o6o6o6o6o6oa0a06o6o7406068s9m1c260n1h2x6o6o6o6oa0a0a0a0a00f192319236o6o6o6o6o6o6o6o6o6o6o6oa0a06o6o7406065f697x8r9l1c261c26306oa0a0a0a0a00f192319236o6o6o6o6o6o6o6o6o6o6o6oa0a06o6o7406065h5h5h8s9mcw3zb9b9c36o6o6oa0a0a00f192319236o6o6o6o6o6o6o6o6o6o6o6oa0a06o6o747v060606068s9m1c26babac46o6o6oa0a0a00f19707u8o9i9i2x2x2x6o6o6o6o6o6o6oa0a06o6o746b6b6b6b6b8s9mcw3zbbbbc56o6o6oa0a0a00f19715e5e8p9j4t4t4t6o6o6o6o6o6o6oa0a06o6o757z7z7z7z7z8t9n1c261c26306o6o6oa0a0a00f19716u6u8p9j3y4s4t6o6o6o6o6o6o6oa0a06o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6oa0a0a00f19716u6u8p9j4t4t4t6o6o6o6o6o6o6oa0a06o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6oa0a0a00f19716u6u8p9j3y4s4t6o6o6o6o6o6o6oa0a06o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6oa0a0a00f19716u6u8p9j4t4t4t6o6o6o6o6o6o6oa0a06o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6oa0a0a00f19716u6u8p9j4t4t4ta0a0a0a0a0a0a0a0a06o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6oa0a0a00f19716u6u8p9j4t4t4ta0a0a0a0a0a0a0a0a06o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6oa0a0a00f19716u6u8p9j4t4t4ta0a0a0a0a0a0a0a0a06o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6oa0a0a00f197168688p9j4t4t4t6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6oa0a0a00f19727w7w8q9k2x2x2x6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6oa0a0a00f192319236o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6oa0a0a00f192319236o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6oa0a0a00f192319236o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6oa0a0a00f192319236o6o6o6o6o6o6o6o6o6o6o6o6o6o\" xmlType=\"variable\" /></layers></map></level></data>";
data_xml = new XML(data_txt);
onLoad(data_xml);
Symbol 299 MovieClip [levels\dogs_pet\70.lvl] Frame 1
data_txt = "<data xmlType=\"object\"><level name=\"str_levels\\dogs_pet\\70.lvl\" xmlType=\"object\"><sprites xmlType=\"array\"><4 name=\"str_girlMom\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_2\" charset=\"str_charset\\woman2\\dressed\\walk.png\" xmlType=\"object\" /><position y=\"num_504\" x=\"num_168\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><hitbox height=\"num_16\" width=\"num_16\" xmlType=\"object\" /><copySprite id=\"str_\" xmlType=\"object\"><data xmlType=\"object\" /></copySprite><scripts xmlType=\"object\" /><initialAppearance isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_2\" charset=\"str_charset\\woman2\\dressed\\walk.png\" xmlType=\"object\" /></data></4><3 name=\"str_newGirl\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite isAnimating=\"bol_false\" delay=\"num_2\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_3\" charset=\"str_charset\\ridingHood\\dress\\walk.png\" xmlType=\"object\" /><position y=\"num_536\" x=\"num_56\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><hitbox height=\"num_16\" width=\"num_16\" xmlType=\"object\" /><copySprite id=\"str_\" xmlType=\"object\"><data xmlType=\"object\" /></copySprite><scripts xmlType=\"object\" /><initialAppearance isAnimating=\"bol_false\" delay=\"num_2\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_3\" charset=\"str_charset\\ridingHood\\dress\\walk.png\" xmlType=\"object\" /></data></3><2 name=\"str_dad\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_2\" columns=\"num_4\" pose=\"num_0\" frames=\"num_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_0\" charset=\"str_charset\\people1.png\" xmlType=\"object\" /><position y=\"num_568\" x=\"num_184\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><hitbox height=\"num_16\" width=\"num_16\" xmlType=\"object\" /><copySprite id=\"str_\" xmlType=\"object\"><data xmlType=\"object\" /></copySprite><scripts xmlType=\"object\" /><initialAppearance isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_2\" columns=\"num_4\" pose=\"num_0\" frames=\"num_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_0\" charset=\"str_charset\\people1.png\" xmlType=\"object\" /></data></2><1 name=\"str_mom\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_2\" columns=\"num_4\" pose=\"num_1\" frames=\"num_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_0\" charset=\"str_charset\\people2.png\" xmlType=\"object\" /><position y=\"num_568\" x=\"num_168\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><hitbox height=\"num_16\" width=\"num_16\" xmlType=\"object\" /><copySprite id=\"str_\" xmlType=\"object\"><data xmlType=\"object\" /></copySprite><scripts xmlType=\"object\" /><initialAppearance isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_2\" columns=\"num_4\" pose=\"num_1\" frames=\"num_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_0\" charset=\"str_charset\\people2.png\" xmlType=\"object\" /></data></1><0 name=\"str_EVENTS\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_1\" frame=\"num_1\" directions=\"num_1\" direction=\"num_0\" charset=\"str_charset\\invisible.png\" xmlType=\"object\" /><position x=\"num_120\" y=\"num_520\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><hitbox height=\"num_16\" width=\"num_16\" xmlType=\"object\" /><copySprite id=\"str_\" xmlType=\"object\"><data xmlType=\"object\" /></copySprite><scripts xmlType=\"object\"><auto xmlType=\"array\"><36 relativeLevel=\"str_80.lvl\" level=\"str_levels\\dogs_pet\\80.lvl\" type=\"str_teleport\" xmlType=\"object\"><position y=\"num_0\" x=\"num_0\" xmlType=\"object\" /><transOut mask=\"str_\" easing=\"str_easeLinear\" seconds=\"num_0.5\" effect=\"str_fadeBlack\" xmlType=\"object\" /><transIn mask=\"str_\" easing=\"str_easeLinear\" seconds=\"num_0.5\" effect=\"str_fade\" xmlType=\"object\" /></36><35 message=\"str_\" type=\"str_comment\" xmlType=\"object\" /><34 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_Mother: Good girl!\" type=\"str_textbox\" xmlType=\"object\" /></34><33 type=\"str_move\" sprite=\"str_girlMom\" xmlType=\"array\"><0 walkSpeed=\"num_0.26\" duration=\"num_0.325\" autoAnim=\"bol_true\" autoDirection=\"bol_false\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_0\" x=\"num_20\" xmlType=\"object\" /></0></33><32 value=\"str_girlMom\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><31 value=\"num_0.1\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><30 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_[newGirl]: Okay, Mom!\" type=\"str_textbox\" xmlType=\"object\" /></30><29 type=\"str_move\" sprite=\"str_newGirl\" xmlType=\"array\"><0 walkSpeed=\"num_0.26\" duration=\"num_0.13\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_0\" x=\"num_8\" xmlType=\"object\" /></0></29><28 value=\"num_0.1\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><27 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_Mother: \\.Okay,\\. this is super important.\\2\r I need you to work hard for them, honey.\\!\r Do everything they say.\" type=\"str_textbox\" xmlType=\"object\" /></27><26 type=\"str_move\" sprite=\"str_girlMom\" xmlType=\"array\"><0 walkSpeed=\"num_0.52\" duration=\"num_0.13\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_0\" x=\"num_-4\" xmlType=\"object\" /></0></26><25 value=\"num_1.5\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><24 type=\"str_move\" sprite=\"str_dad\" xmlType=\"array\"><2 walkSpeed=\"num_0.26\" duration=\"num_1.47078210486802\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_-64\" x=\"num_64\" xmlType=\"object\" /></2><1 walkSpeed=\"num_0.26\" duration=\"num_1.82\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_-112\" x=\"num_0\" xmlType=\"object\" /></1><0 walkSpeed=\"num_0.26\" duration=\"num_0.52\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_0\" x=\"num_32\" xmlType=\"object\" /></0></24><23 value=\"num_0.2\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><22 type=\"str_move\" sprite=\"str_mom\" xmlType=\"array\"><2 walkSpeed=\"num_0.26\" duration=\"num_1.47078210486802\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_-64\" x=\"num_64\" xmlType=\"object\" /></2><1 walkSpeed=\"num_0.26\" duration=\"num_2.08\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_-128\" x=\"num_0\" xmlType=\"object\" /></1><0 walkSpeed=\"num_0.26\" duration=\"num_0.78\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_0\" x=\"num_48\" xmlType=\"object\" /></0></22><21 type=\"str_move\" sprite=\"str_girlMom\" xmlType=\"array\"><0 value=\"str_dad\" type=\"str_lookAt\" xmlType=\"object\" /></21><20 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_Oh yes,\\. almost definitely...\\2\rIt shall be your job to care for it.\" type=\"str_textbox\" xmlType=\"object\" /></20><19 type=\"str_move\" sprite=\"str_mom\" xmlType=\"array\"><0 value=\"str_newGirl\" type=\"str_lookAt\" xmlType=\"object\" /></19><18 value=\"num_0.1\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><17 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_[newGirl]: Can I play with the doggie?\" type=\"str_textbox\" xmlType=\"object\" /></17><16 type=\"str_move\" sprite=\"str_newGirl\" xmlType=\"array\"><0 value=\"str_girlMom\" type=\"str_lookAt\" xmlType=\"object\" /></16><15 value=\"num_0.1\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><14 type=\"str_move\" sprite=\"str_dad\" xmlType=\"array\"><0 value=\"str_girlMom\" type=\"str_lookAt\" xmlType=\"object\" /></14><13 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" typingSound=\"str_\" background=\"str_\" face=\"str_\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_160\" text=\"str_You hear that [newGirl]?\\. These nice people\rwanna hire you as their maid or something.\" type=\"str_textbox\" xmlType=\"object\" /></13><12 type=\"str_move\" sprite=\"str_girlMom\" xmlType=\"array\"><0 walkSpeed=\"num_0.13\" duration=\"num_0.325\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_24\" x=\"num_-32\" xmlType=\"object\" /></0></12><11 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_160\" text=\"str_Mother: \\.Golly!\\.\r I never thought I'd get to retire so soon!\" type=\"str_textbox\" xmlType=\"object\" /></11><10 type=\"str_move\" sprite=\"str_girlMom\" xmlType=\"array\"><0 value=\"str_right\" type=\"str_direction\" xmlType=\"object\" /></10><9 value=\"num_0.1\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><8 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_\\.Indeed.\\2\rYou see,\\. our dear daughter requires\rsomebody skilled with pets and-\" type=\"str_textbox\" xmlType=\"object\" /></8><7 type=\"str_move\" sprite=\"str_dad\" xmlType=\"array\"><0 walkSpeed=\"num_0.26\" duration=\"num_0.26\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_-16\" x=\"num_0\" xmlType=\"object\" /></0></7><6 value=\"num_0.1\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><5 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_160\" text=\"str_Mother: Oh my goodness!\\!\r Aren't you that rich family\r that lives on the hill?\" type=\"str_textbox\" xmlType=\"object\" /></5><4 type=\"str_move\" sprite=\"str_girlMom\" xmlType=\"array\"><0 walkSpeed=\"num_0.26\" duration=\"num_0.13\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_8\" x=\"num_0\" xmlType=\"object\" /></0></4><3 value=\"num_0.1\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><2 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_We would like to hire your daughter\ras a full-time maid.\" type=\"str_textbox\" xmlType=\"object\" /></2><1 value=\"num_1\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><0 type=\"str_move\" sprite=\"str_player\" xmlType=\"array\"><0 duration=\"num_0\" autoAnim=\"bol_false\" autoDirection=\"bol_false\" type=\"str_moveAbsolute\" xmlType=\"object\"><position y=\"num_528\" x=\"num_120\" xmlType=\"object\" /></0></0></auto></scripts><initialAppearance isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_1\" frame=\"num_1\" directions=\"num_1\" direction=\"num_0\" charset=\"str_charset\\invisible.png\" xmlType=\"object\" /></data></0></sprites><map format=\"num_2\" width=\"num_48\" height=\"num_40\" chipset=\"str_chipset\\iog_capeTown.png\" collision=\"str__111111111111111111111111111111111111111111111111100000100000011111000000000000011111111110000010000001111111111111110001111111111000000000000111111111111001000111111111111111100000011111111011100100011110000000011110000001111111111110010001111111111101111000000111111111111000000110000011110111100000011111111111111111111000001111011110000001111111111110000001100000111101111000000111111111111000000110000011110111100000011111111011100000011000001111011110000001111111111110000001100000111101111000000111111111111000000110000011110100000000011111000000000000011111111111011110000001111100110000000001111000000001111000000111100111000000000111111111111111100000011100111100000000011111111110000000000000000011110000000001111111111000000000000000001111000001000111111111100000000000000000111111111000011111111111111110000001111111110011110101111111111111111000000111110000001000010111110111111111100000011111000000000000011110011111111110000001111100000000000001111001111111000000000111110000000000010111100111111100000000011111000000000001011110011111110000000001111100000000000001111101111000000000000111110000000000000111110111111100000000011111000000000001011110011111110000000001111100000000000101001001111111000000000111110000000000000100100111111111111100011111000000000000010010011111111110010001111100000000000101001100001111000001000111111111100000010101111111111111100100011111111110000000010111111111111110010001110011111000000001000000011000000001000111101111100000010100000100100100000100011100111110000001010000010010010000010001110011111000000001010000001000000001000111001111100000000101000001100000000100011100111110000000010000000110000000010001110011111000000001000000001000000001000111111111100000000000010000100000001100011111111110000000000001000010000000110001111100000000000000000000001001000001000111110000000000000000000000100100000100011111000000000000000000001011111111110001111111111111111111\" xmlType=\"object\"><layers xmlType=\"array\"><2 value=\"str__7676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676af767676767676767676767676767676767676767676767676767676767676767676767676767676ag767676767676767676767676767676767676767676767676767676767676767676767676767676ah767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676af767676767676767676767676767676767676767676767676767676767676767676767676767676ag767676767676767676767676767676767676767676767676767676767676767676767676767676ah76767676767676767676767676767676767676767676af767676767676767676767676767676767676767676767676767676767676767676767676767676ag767676767676767676767676767676767676767676767676767676767676767676767676767676ah7676767676767676767676767676763o76767676767676767676767676767676767676767676767676767676767676767676767676768y76767676767676767676767676767676767676767676767676767676767676767676767676763o7676767676767676767676767676767676767676767676767676767676767676767676767676767676767636404u5o6i767676767676767676767676767676767676767676767676767676767676767676767637414v5p6j767676767676767676767676767676767676767676767676767676767676767636404u384236404u767676767676767676767676767676767676767676767676767676767676767637414v764337414v397676767676767676767676767676767676767676767676767676767676767638424w5q6k38424w5q6k76767676767676767676767676767676767676767676767676767676767639434x5r6l39434x5r6l767676767676767676767676767676767676767676767676767676767676767676767636404u5o6i767676767676767676767676767676767676767676767676767676767676767676767637414v5p6j767676767676767676767676767676767676767676767676767676767676767676767638424w5q6k76767676767676767676cw3zaf7676767676767676767676767676767676767676767639434x5r6l767676767676767676761c26ag7676767676767676767676767676767676767676767636404u5o6i76767676767676767676cw3zah7676767676767676767676767676767676767676767637414v5p6j767676767676767676767676767676767676767676767676767676767676767676767638424w5q6k767676767676767676767676767676767676767676767676767676767676767676767639434x5r6l767676404u76767676767676767676767676767676767676767676767676767676767636404u5o6i767676414v7676767676767676cw3zaf7676767676767676767676767676767676767637414v5p6j767676424w76767676767676761c26ag7676767676767676767676767676767676767638424w5q6k767676434x7676767676767676cw3zah7676767676767676767676767676767676767639434x5r6l767676767676767676767676767676767676767676767676767676767676767676767636404u5o6i767676364038424w5q36404u5o6i76767636767676767676767676767676767676767637414v5p6j76767637416i434x5r37414v5p6j76767676767676767676767676767676767676767638424w5q6k76767638424w5q6k7638424w5q6k00000000000076767676767676767676767676767639434x5r6l7676766j4336404u5o6i434x5r6l0000000000007676767676767676767676af76767676767676767676766k7637414v5p6j767676760000000000007676767676767676767676ag76767676767676767676766l7638424w5q6k767676390000000000007676767676767676767676ah76767676767676767676764u5o6i434x5r6l7676767636404u5o6i0076767676767676767676767676767676767676767676764v5p6j767676767676767637414v5p6j7676767676767676767676767676767676767676767676764w5q6k76767636404u5o6i38424w5q6k7676767676767676767676767676767676767676767676764x5r6l76767637414v5p6j39434x5r6l7676767676767676767676767676767676767676767676767636404u5o6i38424w5q6k76767676767676767676767676767676767676767676767676767676767637414v5p6j39434x5r6l7676767676767676767676767676767676767676767676767676767676\" xmlType=\"variable\" /><1 value=\"str__7676767676767676768x8x8x8x8x8x8x8x8x8x8x8x8x8x8x8x8x8x8x8x8x8x8x8x8x8x8x8x8x8x8x7676767676767676767676767676d31676760d7676767676767600000000000000000076007676d27676767676767676767676767676d11676760d7676767676767600000000000000d0d0d2007676d27676767676767676767676767676761676760d76767676767676000000007676000000d2007676d27676767676767676767676767676761676760d76767676767676000000007676000000d2007676d27676767676767676767676767676761676760d76767676767676767676007676000000d2007676d27676767676767676767676767676761676760d7676767676767676767600000000000000007676d27676767676767676767676767676761676760d7676767676767676767600000000d0d0d0d0d0d0d27676767676767676767676767676761676760d7676767676767676767676000000171717171717d27676767676767676767676767676761676760d767676767676be76767676000000al0000007676d27676767676767676767676767676761676760d7676767676767676767676000000am0000007676d27676767676767676767676767676768376760d7676767676767676767676000000an0000007676d2767676767676767676767676767676al76760d7676767676767676767676000076767676767676d2767676767676767676767676767676am76760d7676767676767676767676767676767676767676d2767676767676767676767676767676an76760d7676767676769o7676764i0c0c0c0c0c0c0c8276d27676767676767676767676767676767676760d76767676769o7676769s76000000000000001676d27676767676767676767676767676767676767917177676767676764i7676000000000000001676d2767676767676767676767676767676767676767676767676767676767676767676767636761676d276767676767676767676767676767676767676767676767676767676767676767676767d761676d27676767676767676767676767676767676767676767676767676767676765o6i4w5q6k5o6i1676d27676767676767676767676767676768276767676767676767676767676765p6j4x5r6l5p6j7d76d276767676767676767676767676767616767676767676767676767676767676767e767676767e76d2767676767676767676767676767676167676767676767676767676767676767676767676767676d2767676767676767676767676767676167676767676767676767676767676767676767676767676d2767676767676767676767676767676167676767676767676767676767676767676767676767d76d2767676767676767676767676171717837676767676767676767676767676767676767676767e76d2767676767676767676767676al7676767676767676767676767676767676767676767676767676d2767676767676767676767676am7676767676767676767676767676767676767676767676767676d2767676767676767676767676an7676767676767676767676767676767676767676767676767d76d27676767676767676767676760c0c0c827676767676767676767676767676767676767676767e76d2767676767676767676767676767676167676767676767676767676767676767676767676767676d2767676767676767676767676767676d0d0d0767676767676767676767676767676767676767676d27676767676767676767676767676767676d20d7676767676767676767676767676767676767d76d26i76767676767676767676767676767676d20d7676767676767676767676767676767676767e76d26j7d767676767676767676767676767676d20d76767676767676767676bdc77676767676767676d26k7e767676767676767676767676767676d20d7676767676767676767676bd7676767676767676d26l764u5o6i766k7ed27676767676767676d20d767676763s4m76767676bdc77676767676767d76d276764v5p6j7d6l76d276767d7676767676d20d7676767676767676767676bd7676767676767e76d276766k76767e7676d276767e7676767676d20d76767676767676767676bdc77676767676767676d2767d4x5r6l767676d27676767676760000d20d767676767676767676b9b9c3al76767676767676d2767e76767676767dd27676767676760000d20d767676767676767676babac4am76767676767676d2767676767676767ed27676767676760000d20d767676767676767676bbbbc5an76767676767676d27676767676767676d27676767676767676d20d76767676767676767676bdc77676767676767676767676767d76767676d2767676767676767dd20d7676767676767676767676767676767676767676767676767e76767676d2767676767676767ed20d7676767676767676767676767676767676767676767676767676767676d276767d7676767676d20d7676767676767676767676767676767676767676767676767676767676d276767e7676767676d20d7676767676767676767676767676767676767676767676767676767d76d2d2d2d0d0d0d0d0d0d20d767676767676768x8x8x8x8x8x8x8x8x8x8x8x8x8x\" xmlType=\"variable\" /><0 value=\"str__0f19231923192319236o6o6o6o6o6o6o6o6o6o6o6o0f192319236o6o6o6o6o6o6o6o6o6o6o6o6o6o0f19231923192319236o6o6o6o6o6o6oa0a06o6o6o0f192319236o6o6o6o6o6o6o6o6o6o6o6o6o6o0f19231923192319236o6o6o6o6o6o6oa0a06o6o6o0f19707u7u7u8o9icwcxcxc26o6o6o6o6o6o6o0f19231923192319236o6o6o6o6o6o6oa0a06o6o6o0f19715e5e5e8p9jb9b9c32y6o6o6o6o6o6o6o0f19acb8b8b8b8b8b8b8b8b64m4m4m6oa0a06o6o6o0f193s4m4m6u8p9jbabac42y6o6o6o6o6o6o6o0f19aea6a6a6a6a6a6a6a6ae2x2x2x6oa0a06o6o6o0f19716u6u6u8p9jbbbbc52z6o6o6o6o6o6o6oacb8b8b8b8b8b64m4m4ma6ae0m1g2x6oa0a06o6o6o0f19716u6u6u8p9jcwcycyc26o6o6o6o6o6o6oaea6a6a6a6a6ae2x2x2xa6ae0n1h2x6oa0a06o6o6o0f19716u6u6u8p9jcw6dcyc26o6o6o6o6o6o6oaea6a6a6a6a6ae0m1g2xa6ae2x2x2x6oa0a06o6o6o0f19716u68688p9jcwcycyc26o6o6o6o6o6o6oaea6a6a6a6a6ae0n1h2xa6ae0m1g2x6oa0a06o6o6o0f19716u6uc88p9jb9b9c32ya0a0a0a0a0a0a0aea6a6a6a6a6ae2x2x2xa6ae0n1h2x6oa0a06o6o6o0f19716u5e5e8p9jbabac42ya0a0a0a0a0a0a0aea6a6a6a6a6ae0m1g2xa6ae2x2x2xa0a0a06o6o6o0f19716868688p9jbbbbc52za0a0a0a0a0a0a0aea6a6a6a6a6ae0n1h2xa6aeb9b9c3a0a0a06o6o6o0f19727w7w7w8q9kcwczczc2a0a0a0a0a0a0a0aea6a6a6a6a6ae2x2x2xa6aebabac4a0a0a06o6o6o0f19231923a0a0a0a0a0a0a0a0a0a0a0a0a0a0adb8b8b8b8b8b74m4m4ma6aebbbbc5a0a0a06o6o6o0f192319230g1a24236o6o6o6o6o6o6oa0a0a00f19aea6a6a6a6a6a6a6a6ae2x2x2xa0a0a06o6o6o0f1923190g1a2419236o6o6o6o6o6o6o6oa0a00f19adb8b8b8b8b8b8b8b8b74m4m4ma0a0a0a06o6o0f0f0f0g1a240f19236o6o6o6o6o6o6o6oa0a00f1923192319231923a0a0a0a0a0a0a0a0a0a0a0a0a02y2ya0a00f2319236o6o6o6o6o6o6o6oa0a00f1923192319231923a0a0a0a0a0a0a0a0a0a0a0a0a02y2ya0a00f2319236o6o6o6o6o6o6o6oa0a00f1923192319231923a0a0a0a0a0a0a0a0a0a0a0a0a02y2ya0a00f2319236o6o6o6o6o6o6o6oa0a00f19737x7x7x7x7x8r9l1c261c2630a0a0a0a0a0a00f0f0f0f0f0f2319236o6o6o6o6o6o6o6oa0a00f19745h5h5h5h5h8s9mcw3z0m1g2x6oa0a0a0a0a00f192319236o6o6o6o6o6o6o6o6o6o6o6oa0a00f19747v066b6b6b8s9mcw3z0n1h2x6oa0a0a0a0a00f192319236o6o6o6o6o6o6o6o6o6o6o6oa0a00f197406065g6a7z8t9n1c261c26306oa0a0a0a0a00f192319236o6o6o6o6o6o6o6o6o6o6o6oa0a00f197406068s9m1c260m1g2x6o6o6o6oa0a0a0a0a00f192319236o6o6o6o6o6o6o6o6o6o6o6oa0a00f197406068s9mcw3z0n1h2x6o6o6oa0a0a0a0a0a00f192319236o6o6o6o6o6o6o6o6o6o6o6oa0a00f197406068s9mcw3zb9b9c3a0a0a0a0a0a0a0a0a00f192319236o6o6o6o6o6o6o6o6o6o6o6oa0a00f19747v068s9m1c26babac4a0a0a0a0a0a0a0a0a00f192319236o6o6o6o6o6o6o6o6o6o6o6oa0a00f19747v068s9mcw3zbbbbc5a0a0a0a0a0a0a0a0a00f192319236o6o6o6o6o6o6o6o6o6o6o6oa0a00f0f7406068s9mcw3z0m1g2x6o6o6oa0a0a0a0a0a00f192319236o6o6o6o6o6o6o6o6o6o6o6oa0a06o6o7406068s9m1c260n1h2x6o6o6o6oa0a0a0a0a00f192319236o6o6o6o6o6o6o6o6o6o6o6oa0a06o6o7406065f697x8r9l1c261c26306oa0a0a0a0a00f192319236o6o6o6o6o6o6o6o6o6o6o6oa0a06o6o7406065h5h5h8s9mcw3zb9b9c36o6o6oa0a0a00f192319236o6o6o6o6o6o6o6o6o6o6o6oa0a06o6o747v060606068s9m1c26babac46o6o6oa0a0a00f19707u8o9i9i2x2x2x6o6o6o6o6o6o6oa0a06o6o746b6b6b6b6b8s9mcw3zbbbbc56o6o6oa0a0a00f19715e5e8p9j4t4t4t6o6o6o6o6o6o6oa0a06o6o757z7z7z7z7z8t9n1c261c26306o6o6oa0a0a00f19716u6u8p9j3y4s4t6o6o6o6o6o6o6oa0a06o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6oa0a0a00f19716u6u8p9j4t4t4t6o6o6o6o6o6o6oa0a06o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6oa0a0a00f19716u6u8p9j3y4s4t6o6o6o6o6o6o6oa0a06o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6oa0a0a00f19716u6u8p9j4t4t4t6o6o6o6o6o6o6oa0a06o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6oa0a0a00f19716u6u8p9j4t4t4ta0a0a0a0a0a0a0a0a06o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6oa0a0a00f19716u6u8p9j4t4t4ta0a0a0a0a0a0a0a0a06o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6oa0a0a00f19716u6u8p9j4t4t4ta0a0a0a0a0a0a0a0a06o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6oa0a0a00f197168688p9j4t4t4t6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6oa0a0a00f19727w7w8q9k2x2x2x6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6oa0a0a00f192319236o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6oa0a0a00f192319236o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6oa0a0a00f192319236o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6oa0a0a00f192319236o6o6o6o6o6o6o6o6o6o6o6o6o6o\" xmlType=\"variable\" /></layers></map></level></data>";
data_xml = new XML(data_txt);
onLoad(data_xml);
Symbol 300 MovieClip [levels\dogs_pet\80.lvl] Frame 1
data_txt = "<data xmlType=\"object\"><level name=\"str_levels\\dogs_pet\\80.lvl\" xmlType=\"object\"><sprites xmlType=\"array\"><7 name=\"str_pic\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_1\" frame=\"num_0\" directions=\"num_1\" direction=\"num_0\" charset=\"str_charset\\objects\\pictureFrame\\girl1_inframe.png\" xmlType=\"object\" /><position y=\"num_24\" x=\"num_152\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><hitbox height=\"num_16\" width=\"num_16\" xmlType=\"object\" /><copySprite id=\"str_\" xmlType=\"object\"><data xmlType=\"object\" /></copySprite><scripts xmlType=\"object\" /><initialAppearance isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_1\" frame=\"num_0\" directions=\"num_1\" direction=\"num_0\" charset=\"str_charset\\objects\\pictureFrame\\girl1_inframe.png\" xmlType=\"object\" /></data></7><6 name=\"str_bigDog\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_1\" frame=\"num_0\" directions=\"num_4\" direction=\"num_2\" charset=\"str_charset\\som_wolf\\stand.png\" xmlType=\"object\" /><position y=\"num_88\" x=\"num_56\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><hitbox height=\"num_16\" width=\"num_16\" xmlType=\"object\" /><copySprite id=\"str_\" xmlType=\"object\"><data xmlType=\"object\" /></copySprite><scripts xmlType=\"object\" /><initialAppearance isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_1\" frame=\"num_0\" directions=\"num_4\" direction=\"num_2\" charset=\"str_charset\\som_wolf\\stand.png\" xmlType=\"object\" /></data></6><5 name=\"str_newGirl\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_0\" charset=\"str_charset\\ridingHood\\dress\\walk.png\" xmlType=\"object\" /><position x=\"num_56\" y=\"num_200\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><hitbox height=\"num_16\" width=\"num_16\" xmlType=\"object\" /><copySprite id=\"str_\" xmlType=\"object\"><data xmlType=\"object\" /></copySprite><scripts xmlType=\"object\" /><initialAppearance isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_0\" charset=\"str_charset\\ridingHood\\dress\\walk.png\" xmlType=\"object\" /></data></5><4 name=\"str_maid\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_2\" columns=\"num_4\" pose=\"num_0\" frames=\"num_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_2\" charset=\"str_charset\\maid.png\" xmlType=\"object\" /><position y=\"num_136\" x=\"num_8\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><hitbox height=\"num_16\" width=\"num_16\" xmlType=\"object\" /><copySprite id=\"str_\" xmlType=\"object\"><data xmlType=\"object\" /></copySprite><scripts xmlType=\"object\" /><initialAppearance isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_2\" columns=\"num_4\" pose=\"num_0\" frames=\"num_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_2\" charset=\"str_charset\\maid.png\" xmlType=\"object\" /></data></4><3 name=\"str_dad\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_2\" columns=\"num_4\" pose=\"num_0\" frames=\"num_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_2\" charset=\"str_charset\\people1.png\" xmlType=\"object\" /><position y=\"num_104\" x=\"num_8\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><hitbox height=\"num_16\" width=\"num_16\" xmlType=\"object\" /><copySprite id=\"str_\" xmlType=\"object\"><data xmlType=\"object\" /></copySprite><scripts xmlType=\"object\" /><initialAppearance isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_2\" columns=\"num_4\" pose=\"num_0\" frames=\"num_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_2\" charset=\"str_charset\\people1.png\" xmlType=\"object\" /></data></3><2 name=\"str_mom\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_2\" columns=\"num_4\" pose=\"num_1\" frames=\"num_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_2\" charset=\"str_charset\\people2.png\" xmlType=\"object\" /><position y=\"num_72\" x=\"num_88\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><hitbox height=\"num_16\" width=\"num_16\" xmlType=\"object\" /><copySprite id=\"str_\" xmlType=\"object\"><data xmlType=\"object\" /></copySprite><scripts xmlType=\"object\" /><initialAppearance isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_2\" columns=\"num_4\" pose=\"num_1\" frames=\"num_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_2\" charset=\"str_charset\\people2.png\" xmlType=\"object\" /></data></2><1 name=\"str_richGirl\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_2\" charset=\"str_charset\\girl1\\dressed\\walk.png\" xmlType=\"object\" /><position x=\"num_8\" y=\"num_40\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><hitbox height=\"num_16\" width=\"num_16\" xmlType=\"object\" /><copySprite id=\"str_\" xmlType=\"object\"><data xmlType=\"object\" /></copySprite><scripts xmlType=\"object\" /><initialAppearance isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_2\" charset=\"str_charset\\girl1\\dressed\\walk.png\" xmlType=\"object\" /></data></1><0 name=\"str_EVENTS\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_1\" frame=\"num_1\" directions=\"num_1\" direction=\"num_0\" charset=\"str_charset\\invisible.png\" xmlType=\"object\" /><position x=\"num_8\" y=\"num_8\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><hitbox height=\"num_16\" width=\"num_16\" xmlType=\"object\" /><copySprite id=\"str_\" xmlType=\"object\"><data xmlType=\"object\" /></copySprite><scripts xmlType=\"object\"><auto xmlType=\"array\"><34 relativeLevel=\"str_90.lvl\" level=\"str_levels\\dogs_pet\\90.lvl\" type=\"str_teleport\" xmlType=\"object\"><position y=\"num_0\" x=\"num_0\" xmlType=\"object\" /><transOut mask=\"str_\" easing=\"str_easeLinear\" seconds=\"num_0.5\" effect=\"str_fadeBlack\" xmlType=\"object\" /><transIn mask=\"str_\" easing=\"str_easeLinear\" seconds=\"num_0.5\" effect=\"str_fade\" xmlType=\"object\" /></34><33 message=\"str_\" type=\"str_comment\" xmlType=\"object\" /><32 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_comment\" message=\"str_* text: [dog] belongs to our daughter, [richGirl].\\!\rShe will instruct you on the details.\" commentedType=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_160\" text=\"str_[dog] belongs to our daughter, [richGirl].\\!\rShe will instruct you on the details.\" type=\"str_textbox\" xmlType=\"object\" /></32><31 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_comment\" typingSound=\"str_\" background=\"str_\" face=\"str_\" message=\"str_* text: Therefore, if you are uncertain,\rjust ask her what to do.\" commentedType=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_160\" text=\"str_Therefore, if you are uncertain,\rjust ask her what to do.\" type=\"str_textbox\" xmlType=\"object\" /></31><30 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" typingSound=\"str_\" background=\"str_\" face=\"str_\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_160\" text=\"str_\\.So just\\2 do whatever she says.\" type=\"str_textbox\" xmlType=\"object\" /></30><29 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_comment\" typingSound=\"str_\" background=\"str_\" face=\"str_\" message=\"str_* text: \\.So just\\2 follow her instructions.\" commentedType=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_160\" text=\"str_\\.So just\\2 follow her instructions.\" type=\"str_textbox\" xmlType=\"object\" /></29><28 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_comment\" typingSound=\"str_\" background=\"str_\" face=\"str_\" message=\"str_* text: All you have to do is follow her instructions.\" commentedType=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_160\" text=\"str_All you have to do is follow her instructions.\" type=\"str_textbox\" xmlType=\"object\" /></28><27 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_160\" text=\"str_[dog] belongs to our daughter, [richGirl].\\2\rShe knows him best.\" type=\"str_textbox\" xmlType=\"object\" /></27><26 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_comment\" message=\"str_* text: [dog] belongs to our daughter, [richGirl].\\2\rso she surely knows what to do by now.\" commentedType=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_160\" text=\"str_[dog] belongs to our daughter, [richGirl].\\2\rso she surely knows what to do by now.\" type=\"str_textbox\" xmlType=\"object\" /></26><25 type=\"str_move\" sprite=\"str_mom\" xmlType=\"array\"><0 walkSpeed=\"num_0.26\" duration=\"num_0.26\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_-16\" x=\"num_0\" xmlType=\"object\" /></0></25><24 value=\"num_0.1\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><23 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_160\" text=\"str_Simple!\" type=\"str_textbox\" xmlType=\"object\" /></23><22 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_160\" text=\"str_If he is hungry,\\. you feed him.\\!\rIf he is dirty,\\. you clean him.\\!\rIf he wants attention,\\. you pet him.\" type=\"str_textbox\" xmlType=\"object\" /></22><21 type=\"str_move\" sprite=\"str_mom\" xmlType=\"array\"><0 value=\"str_down\" type=\"str_direction\" xmlType=\"object\" /></21><20 value=\"str_mom\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><19 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_160\" text=\"str_Mom: Oh, it is simplicity itself...\\!\r Just attend to his every need.\" type=\"str_textbox\" xmlType=\"object\" /></19><18 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_comment\" message=\"str_* text: Mom: Oh that should be simple.\\!\r Just attend to all his needs.\" commentedType=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_160\" text=\"str_Mom: Oh that should be simple.\\!\r Just attend to all his needs.\" type=\"str_textbox\" xmlType=\"object\" /></18><17 type=\"str_move\" sprite=\"str_mom\" xmlType=\"array\"><0 walkSpeed=\"num_0.26\" duration=\"num_0.26\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_0\" x=\"num_-16\" xmlType=\"object\" /></0></17><16 value=\"num_0.1\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><15 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_But he's a dog.\\2\rHow do I do that?\" type=\"str_textbox\" xmlType=\"object\" /></15><14 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_comment\" message=\"str_* text: But how do know what he wants?\" commentedType=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_But how do know what he wants?\" type=\"str_textbox\" xmlType=\"object\" /></14><13 type=\"str_move\" sprite=\"str_newGirl\" xmlType=\"array\"><0 value=\"str_up\" type=\"str_direction\" xmlType=\"object\" /></13><12 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_[newGirl]: \\2Oh...\\.\r I work for him?\" type=\"str_textbox\" xmlType=\"object\" /></12><11 type=\"str_move\" sprite=\"str_newGirl\" xmlType=\"array\"><0 value=\"str_down\" type=\"str_direction\" xmlType=\"object\" /></11><10 value=\"str_newGirl\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><9 value=\"num_0.1\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><8 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_160\" text=\"str_Mom: \\.No no,\\. he is your boss. You must\r address him as "Master [dog]."\\!\r Remember that you are his servant.\" type=\"str_textbox\" xmlType=\"object\" /></8><7 type=\"str_move\" sprite=\"str_mom\" xmlType=\"array\"><0 walkSpeed=\"num_0.13\" duration=\"num_0.13\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_16\" x=\"num_0\" xmlType=\"object\" /></0></7><6 value=\"num_0.1\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><5 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_[newGirl]: Hiya, [dog]!\\.\r What a big doggie you are.\" type=\"str_textbox\" xmlType=\"object\" /></5><4 type=\"str_move\" sprite=\"str_newGirl\" xmlType=\"array\"><0 walkSpeed=\"num_0.13\" duration=\"num_0.13\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_-16\" x=\"num_0\" xmlType=\"object\" /></0></4><3 value=\"num_0.1\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><2 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_160\" text=\"str_Mom: This is [dog].\\!\r You will be his maid.\" type=\"str_textbox\" xmlType=\"object\" /></2><1 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_comment\" message=\"str_* text: Mom: This is [dog].\\!\r You are his maid.\\.\r So that makes him your master now.\" commentedType=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_160\" text=\"str_Mom: This is [dog].\\!\r You are his maid.\\.\r So that makes him your master now.\" type=\"str_textbox\" xmlType=\"object\" /></1><0 value=\"num_1\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /></auto></scripts><initialAppearance isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_1\" frame=\"num_1\" directions=\"num_1\" direction=\"num_0\" charset=\"str_charset\\invisible.png\" xmlType=\"object\" /></data></0></sprites><map format=\"num_2\" width=\"num_20\" height=\"num_15\" chipset=\"str_chipset\\robotrek_indoors.png\" collision=\"str__111111111111111111111111111111111100111110001111000000000000111100111110001111100111100001111110111100001111100111101101111100111001101111100111101101111100111001101111100111101101111100111100001111110111100001111100111111111111100001111111111100000111111111100001111111111111111111111111111111111111\" xmlType=\"object\"><layers xmlType=\"array\"><2 value=\"str__2p2p2p2p2p2p2p2p2p2p2p2p2p2p2p58585858585858585858585858582p0000000000d2000000000000008w4d000000000000000000000000008x4d0000000000d0000000000000008y4d0000000000d100000000000000004d000000an00d100000000000000004d0000000000d100000000000000004d0000000000d100000000000000004d0000000000d10000an00000000004d0000000000d100000000000000004d0000000000d100000000000000004d0000000000d100000000000000004d000000an00d100000000000000004d0000000000d200004c56565656562p000000000000008w4d2p2p2p2p2p2p000000000000008x4d2p2p2p2p2p2p000000000000008y4d2p2p2p2p2p2p56565656565656562p2p2p2p2p2p2p2p2p2p2p2p2p2p2p2p2p2p2p2p2p2p\" xmlType=\"variable\" /><1 value=\"str__00000000000000000000000000000000000000000000000000000000000000009oai000000000000000000000000008v00000000000000000000000000009paj00000000000000000000000000000000000000c60000000000000000000000000000c70000000000000000000000000000c80000000000000o1i2c0000000000000000000000000p002d00000000000000009t0000000q1k2e0000000000000000000000000000000000000000c60000000000000000000000000000c70000000000000000000000000000c8000000000000000000000000000000000000000000000000000000000000000000000000000000920000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000\" xmlType=\"variable\" /><0 value=\"str__0000000000000000000000000000000000000000000000000000000000000l1f29336r6r0j1d27313v6o6o6o000l1f290g6r6r6r6r6r1b1b6o6o6o000l1f29336r6r0i1c26303u6o6o6o000l1f29336r6r0k0d17ac6o6o6o6o000l1f29331a6r0k0d17ad6o6o6o6o000l1f29336r6r0k0d17ae6o7x9l6o000l1f29336r6r0k0d176o6o7y9m6o000la629336r6r0k0d171a6o7y9m6o000l1f29336r6r0k0d176o6o7y9m6o000l1f29336r6r0k0d17ac6o7z9n6o000l1f29336r6r0k0d17ad6o6o6o6o000l1f29331a6r0k0d17ae6o6o6o6o000l1f29336r6r0j1d000000000000000l1f29336r6r6r6r000000000000000l1f29336r6r6r6r000000000000000l1f29336r6r6r6r00000000000000000000000000000000000000000000000000000000000000000000000000\" xmlType=\"variable\" /></layers></map></level></data>";
data_xml = new XML(data_txt);
onLoad(data_xml);
Symbol 301 MovieClip [levels\dogs_pet\90.lvl] Frame 1
data_txt = "<data xmlType=\"object\"><level name=\"str_levels\\dogs_pet\\90.lvl\" xmlType=\"object\"><sprites xmlType=\"array\"><7 name=\"str_book\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite charset=\"str_charset\\objects\\book.png\" directions=\"num_1\" frames=\"num_2\" columns=\"num_1\" rows=\"num_1\" animType=\"str_once\" animDirection=\"num_1\" frame=\"num_1\" direction=\"num_0\" pose=\"num_0\" xmlType=\"object\" /><position x=\"num_216\" y=\"num_136\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><hitbox height=\"num_16\" width=\"num_16\" xmlType=\"object\" /><copySprite id=\"str_\" xmlType=\"object\"><data xmlType=\"object\" /></copySprite><scripts xmlType=\"object\"><auto xmlType=\"array\" /><talk xmlType=\"array\" /><collision xmlType=\"array\" /></scripts><initialAppearance charset=\"str_charset\\objects\\book.png\" directions=\"num_1\" frames=\"num_2\" columns=\"num_1\" rows=\"num_1\" animType=\"str_once\" animDirection=\"num_1\" frame=\"num_1\" direction=\"num_0\" pose=\"num_0\" xmlType=\"object\" /></data></7><6 name=\"str_newGirl\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_0\" charset=\"str_charset\\ridingHood\\dress\\walk.png\" xmlType=\"object\" /><position y=\"num_200\" x=\"num_8\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><hitbox height=\"num_16\" width=\"num_16\" xmlType=\"object\" /><copySprite id=\"str_\" xmlType=\"object\"><data xmlType=\"object\" /></copySprite><scripts xmlType=\"object\" /><initialAppearance isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_0\" charset=\"str_charset\\ridingHood\\dress\\walk.png\" xmlType=\"object\" /></data></6><5 name=\"str_bigDog\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_1\" frame=\"num_0\" directions=\"num_4\" direction=\"num_2\" charset=\"str_charset\\som_wolf\\stand.png\" xmlType=\"object\" /><position y=\"num_168\" x=\"num_8\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><hitbox height=\"num_16\" width=\"num_16\" xmlType=\"object\" /><copySprite id=\"str_\" xmlType=\"object\"><data xmlType=\"object\" /></copySprite><scripts xmlType=\"object\" /><initialAppearance isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_1\" frame=\"num_0\" directions=\"num_4\" direction=\"num_2\" charset=\"str_charset\\som_wolf\\stand.png\" xmlType=\"object\" /></data></5><4 name=\"str_maid\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_2\" columns=\"num_4\" pose=\"num_0\" frames=\"num_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_2\" charset=\"str_charset\\maid.png\" xmlType=\"object\" /><position y=\"num_136\" x=\"num_8\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><hitbox height=\"num_16\" width=\"num_16\" xmlType=\"object\" /><copySprite id=\"str_\" xmlType=\"object\"><data xmlType=\"object\" /></copySprite><scripts xmlType=\"object\" /><initialAppearance isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_2\" columns=\"num_4\" pose=\"num_0\" frames=\"num_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_2\" charset=\"str_charset\\maid.png\" xmlType=\"object\" /></data></4><3 name=\"str_dad\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_2\" columns=\"num_4\" pose=\"num_0\" frames=\"num_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_2\" charset=\"str_charset\\people1.png\" xmlType=\"object\" /><position y=\"num_104\" x=\"num_8\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><hitbox height=\"num_16\" width=\"num_16\" xmlType=\"object\" /><copySprite id=\"str_\" xmlType=\"object\"><data xmlType=\"object\" /></copySprite><scripts xmlType=\"object\" /><initialAppearance isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_2\" columns=\"num_4\" pose=\"num_0\" frames=\"num_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_2\" charset=\"str_charset\\people1.png\" xmlType=\"object\" /></data></3><2 name=\"str_mom\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_2\" columns=\"num_4\" pose=\"num_1\" frames=\"num_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_2\" charset=\"str_charset\\people2.png\" xmlType=\"object\" /><position y=\"num_72\" x=\"num_8\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><hitbox height=\"num_16\" width=\"num_16\" xmlType=\"object\" /><copySprite id=\"str_\" xmlType=\"object\"><data xmlType=\"object\" /></copySprite><scripts xmlType=\"object\" /><initialAppearance isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_2\" columns=\"num_4\" pose=\"num_1\" frames=\"num_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_2\" charset=\"str_charset\\people2.png\" xmlType=\"object\" /></data></2><1 name=\"str_richGirl\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_0\" charset=\"str_charset\\girl1\\dressed\\walk.png\" xmlType=\"object\" /><position y=\"num_168\" x=\"num_216\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><hitbox height=\"num_16\" width=\"num_16\" xmlType=\"object\" /><copySprite id=\"str_\" xmlType=\"object\"><data xmlType=\"object\" /></copySprite><scripts xmlType=\"object\" /><initialAppearance isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_0\" charset=\"str_charset\\girl1\\dressed\\walk.png\" xmlType=\"object\" /></data></1><0 name=\"str_EVENTS\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_1\" frame=\"num_1\" directions=\"num_1\" direction=\"num_0\" charset=\"str_charset\\invisible.png\" xmlType=\"object\" /><position y=\"num_8\" x=\"num_8\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><hitbox height=\"num_16\" width=\"num_16\" xmlType=\"object\" /><copySprite id=\"str_\" xmlType=\"object\"><data xmlType=\"object\" /></copySprite><scripts xmlType=\"object\"><auto xmlType=\"array\"><89 relativeLevel=\"str_100.lvl\" level=\"str_levels\\dogs_pet\\100.lvl\" type=\"str_teleport\" xmlType=\"object\"><position y=\"num_0\" x=\"num_0\" xmlType=\"object\" /><transOut mask=\"str_\" easing=\"str_easeLinear\" seconds=\"num_1\" effect=\"str_fadeBlack\" xmlType=\"object\" /><transIn mask=\"str_\" easing=\"str_easeLinear\" seconds=\"num_0.5\" effect=\"str_fade\" xmlType=\"object\" /></89><88 value=\"num_0.5\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><87 message=\"str_\" type=\"str_comment\" xmlType=\"object\" /><86 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_\" face=\"str_\" typingSound=\"str_\" _y=\"num_115\" text=\"str_\\#ffffff\\s2\r *Liiiick*\" type=\"str_textbox\" xmlType=\"object\" /></86><85 name=\"str_\" volume=\"num_100\" loop=\"bol_false\" file=\"str_sound\\sexy\\moan26.mp3\" type=\"str_comment\" message=\"str_* sound: moan26.mp3\" commentedType=\"str_sound\" xmlType=\"object\" /><84 name=\"str_\" volume=\"num_100\" loop=\"bol_false\" file=\"str_sound\\sexy\\moan20.mp3\" type=\"str_comment\" message=\"str_* sound: moan20.mp3\" commentedType=\"str_sound\" xmlType=\"object\" /><83 name=\"str_\" volume=\"num_100\" loop=\"bol_false\" file=\"str_sound\\sexy\\moan15.mp3\" type=\"str_sound\" xmlType=\"object\" /><82 name=\"str_\" volume=\"num_100\" loop=\"bol_false\" file=\"str_sound\\sexy\\moan13.mp3\" type=\"str_comment\" message=\"str_* sound: moan13.mp3\" commentedType=\"str_sound\" xmlType=\"object\" /><81 name=\"str_\" volume=\"num_100\" loop=\"bol_false\" file=\"str_sound\\sexy\\moan11.mp3\" type=\"str_comment\" message=\"str_* sound: moan11.mp3\" commentedType=\"str_sound\" xmlType=\"object\" /><80 name=\"str_\" volume=\"num_100\" loop=\"bol_false\" file=\"str_sound\\sexy\\moan10.mp3\" type=\"str_comment\" message=\"str_* sound: moan10.mp3\" commentedType=\"str_sound\" xmlType=\"object\" /><79 name=\"str_\" volume=\"num_100\" loop=\"bol_false\" file=\"str_sound\\sexy\\moan06.mp3\" type=\"str_comment\" message=\"str_* sound: moan06.mp3\" commentedType=\"str_sound\" xmlType=\"object\" /><78 name=\"str_\" volume=\"num_100\" loop=\"bol_false\" file=\"str_sound\\sexy\\moan05.mp3\" type=\"str_comment\" message=\"str_* sound: moan05.mp3\" commentedType=\"str_sound\" xmlType=\"object\" /><77 name=\"str_\" volume=\"num_100\" loop=\"bol_false\" file=\"str_sound\\sexy\\moan03.mp3\" type=\"str_comment\" message=\"str_* sound: moan03.mp3\" commentedType=\"str_sound\" xmlType=\"object\" /><76 name=\"str_\" volume=\"num_100\" loop=\"bol_false\" file=\"str_sound\\lick.mp3\" type=\"str_sound\" xmlType=\"object\" /><75 type=\"str_move\" sprite=\"str_newGirl\" xmlType=\"array\"><1 walkSpeed=\"num_0\" duration=\"num_0\" autoAnim=\"bol_false\" autoDirection=\"bol_false\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_-2\" x=\"num_3\" xmlType=\"object\" /></1><0 type=\"str_appearance\" xmlType=\"object\"><value isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_loop\" pose=\"num_0\" rows=\"num_1\" columns=\"num_1\" frame=\"num_0\" frames=\"num_1\" direction=\"num_0\" directions=\"num_2\" charset=\"str_charset\\ridingHood\\nightie\\horny_stand.png\" xmlType=\"object\" /></0></75><74 value=\"str_bigDog\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><73 type=\"str_move\" sprite=\"str_bigDog\" xmlType=\"array\"><1 walkSpeed=\"num_0.52\" duration=\"num_0.26\" autoAnim=\"bol_false\" autoDirection=\"bol_false\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_0\" x=\"num_-8\" xmlType=\"object\" /></1><0 type=\"str_appearance\" xmlType=\"object\"><value isAnimating=\"bol_false\" delay=\"num_2\" animDirection=\"num_1\" animType=\"str_yoyo\" pose=\"num_0\" rows=\"num_1\" columns=\"num_1\" frame=\"num_0\" frames=\"num_1\" direction=\"num_1\" directions=\"num_2\" charset=\"str_charset\\som_wolf\\drink.png\" xmlType=\"object\" /></0></73><72 value=\"str_bigDog\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><71 type=\"str_move\" sprite=\"str_richGirl\" xmlType=\"array\"><1 value=\"str_up\" type=\"str_direction\" xmlType=\"object\" /><0 walkSpeed=\"num_0.39\" duration=\"num_0.195\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_0\" x=\"num_8\" xmlType=\"object\" /></0></71><70 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_[newGirl]: \\.Oh that's right,\\. I work for-\" type=\"str_textbox\" xmlType=\"object\" /></70><69 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_comment\" message=\"str_* text: [newGirl]: \\.Master!?\\2\r Oh that's right,\\. I work for-\" commentedType=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_[newGirl]: \\.Master!?\\2\r Oh that's right,\\. I work for-\" type=\"str_textbox\" xmlType=\"object\" /></69><68 type=\"str_move\" sprite=\"str_newGirl\" xmlType=\"array\"><0 value=\"str_bigDog\" type=\"str_lookAt\" xmlType=\"object\" /></68><67 value=\"num_0.1\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><66 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_\" face=\"str_\" typingSound=\"str_\" _y=\"num_120\" text=\"str_\\#ffffff Wuf!\" type=\"str_textbox\" xmlType=\"object\" /></66><65 name=\"str_\" volume=\"num_75\" loop=\"bol_false\" file=\"str_sound\\dog.mp3\" type=\"str_sound\" xmlType=\"object\" /><64 type=\"str_move\" sprite=\"str_bigDog\" xmlType=\"array\"><2 type=\"str_appearance\" xmlType=\"object\"><value isAnimating=\"bol_false\" delay=\"num_2\" animDirection=\"num_1\" animType=\"str_yoyo\" pose=\"num_0\" rows=\"num_1\" columns=\"num_1\" frame=\"num_0\" frames=\"num_1\" direction=\"num_3\" directions=\"num_4\" charset=\"str_charset\\som_wolf\\stand.png\" xmlType=\"object\" /></2><1 walkSpeed=\"num_0.26\" duration=\"num_0.13\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_0\" x=\"num_-8\" xmlType=\"object\" /></1><0 type=\"str_appearance\" xmlType=\"object\"><value isAnimating=\"bol_false\" delay=\"num_2\" animDirection=\"num_1\" animType=\"str_loop\" pose=\"num_0\" rows=\"num_1\" columns=\"num_1\" frame=\"num_0\" frames=\"num_3\" direction=\"num_3\" directions=\"num_4\" charset=\"str_charset\\som_wolf\\walk.png\" xmlType=\"object\" /></0></64><63 value=\"num_0.1\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><62 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_[richGirl]: \\.Bad girl!\\.\r How dare you disobey [dog].\" type=\"str_textbox\" xmlType=\"object\" /></62><61 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_comment\" message=\"str_* text: [richGirl]: \\.Bad girl!\\.\r How dare you disobey your master.\" commentedType=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_[richGirl]: \\.Bad girl!\\.\r How dare you disobey your master.\" type=\"str_textbox\" xmlType=\"object\" /></61><60 type=\"str_move\" sprite=\"str_richGirl\" xmlType=\"array\"><0 walkSpeed=\"num_0.26\" duration=\"num_0.13\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_0\" x=\"num_-8\" xmlType=\"object\" /></0></60><59 value=\"num_0.1\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><58 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_[newGirl]: \\.Er,\\. he was licking my-\" type=\"str_textbox\" xmlType=\"object\" /></58><57 type=\"str_move\" sprite=\"str_newGirl\" xmlType=\"array\"><0 value=\"str_up\" type=\"str_direction\" xmlType=\"object\" /></57><56 value=\"num_0.1\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><55 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_[richGirl]: Did I tell you to stop petting him?\" type=\"str_textbox\" xmlType=\"object\" /></55><54 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_comment\" message=\"str_* text: [richGirl]: Did [dog] tell you to\r stop petting him?\" commentedType=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_[richGirl]: Did [dog] tell you to\r stop petting him?\" type=\"str_textbox\" xmlType=\"object\" /></54><53 type=\"str_move\" sprite=\"str_richGirl\" xmlType=\"array\"><0 value=\"str_newGirl\" type=\"str_lookAt\" xmlType=\"object\" /></53><52 value=\"num_0.5\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><51 value=\"str_bigDog\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><50 value=\"str_newGirl\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><49 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_[newGirl]: \\.Ooh!\\.\r That tickles!\" type=\"str_textbox\" xmlType=\"object\" /></49><48 name=\"str_\" volume=\"num_100\" loop=\"bol_false\" file=\"str_sound\\sexy\\surprise16.mp3\" type=\"str_sound\" xmlType=\"object\" /><47 name=\"str_\" volume=\"num_100\" loop=\"bol_false\" file=\"str_sound\\sexy\\surprise15.mp3\" type=\"str_comment\" message=\"str_* sound: surprise15.mp3\" commentedType=\"str_sound\" xmlType=\"object\" /><46 name=\"str_\" volume=\"num_100\" loop=\"bol_false\" file=\"str_sound\\sexy\\surprise13.mp3\" type=\"str_comment\" message=\"str_* sound: surprise13.mp3\" commentedType=\"str_sound\" xmlType=\"object\" /><45 name=\"str_\" volume=\"num_100\" loop=\"bol_false\" file=\"str_sound\\sexy\\surprise06.mp3\" type=\"str_comment\" message=\"str_* sound: surprise06.mp3\" commentedType=\"str_sound\" xmlType=\"object\" /><44 name=\"str_\" volume=\"num_100\" loop=\"bol_false\" file=\"str_sound\\sexy\\surprise01.mp3\" type=\"str_comment\" message=\"str_* sound: surprise01.mp3\" commentedType=\"str_sound\" xmlType=\"object\" /><43 type=\"str_move\" sprite=\"str_newGirl\" xmlType=\"array\"><5 walkSpeed=\"num_0.13\" duration=\"num_0.13\" autoAnim=\"bol_true\" autoDirection=\"bol_false\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_0\" x=\"num_-16\" xmlType=\"object\" /></5><4 type=\"str_appearance\" xmlType=\"object\"><value isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" pose=\"num_0\" rows=\"num_1\" columns=\"num_1\" frame=\"num_1\" frames=\"num_3\" direction=\"num_1\" directions=\"num_4\" charset=\"str_charset\\ridingHood\\dress\\walk.png\" xmlType=\"object\" /></4><3 value=\"num_0.2\" mode=\"str_time\" type=\"str_moveWait\" xmlType=\"object\" /><2 walkSpeed=\"num_0.13\" duration=\"num_0.13\" autoAnim=\"bol_false\" autoDirection=\"bol_false\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_16\" x=\"num_0\" xmlType=\"object\" /></2><1 walkSpeed=\"num_0\" duration=\"num_0\" autoAnim=\"bol_false\" autoDirection=\"bol_false\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_-16\" x=\"num_0\" xmlType=\"object\" /></1><0 type=\"str_appearance\" xmlType=\"object\"><value isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_once\" pose=\"num_0\" rows=\"num_1\" columns=\"num_1\" frame=\"num_0\" frames=\"num_4\" direction=\"num_0\" directions=\"num_2\" charset=\"str_charset\\ridingHood\\nightie\\curtseyTease.png\" xmlType=\"object\" /></0></43><42 type=\"str_move\" sprite=\"str_bigDog\" xmlType=\"array\"><1 type=\"str_appearance\" xmlType=\"object\"><value isAnimating=\"bol_false\" delay=\"num_2\" animDirection=\"num_1\" animType=\"str_yoyo\" pose=\"num_0\" rows=\"num_1\" columns=\"num_1\" frame=\"num_0\" frames=\"num_1\" direction=\"num_3\" directions=\"num_4\" charset=\"str_charset\\som_wolf\\stand.png\" xmlType=\"object\" /></1><0 value=\"num_0.1\" mode=\"str_time\" type=\"str_moveWait\" xmlType=\"object\" /></42><41 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_\" face=\"str_\" typingSound=\"str_\" _y=\"num_91\" text=\"str_\\#ffffff\r *Lick*\r *Lick*\" type=\"str_textbox\" xmlType=\"object\" /></41><40 name=\"str_\" volume=\"num_100\" loop=\"bol_false\" file=\"str_sound\\licking.mp3\" type=\"str_sound\" xmlType=\"object\" /><39 value=\"str_bigDog\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><38 type=\"str_move\" sprite=\"str_bigDog\" xmlType=\"array\"><2 walkSpeed=\"num_1.51342230022672\" duration=\"num_0.390000000000001\" autoAnim=\"bol_false\" autoDirection=\"bol_false\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_-1\" x=\"num_-4\" xmlType=\"object\" /></2><1 value=\"num_0.1\" mode=\"str_time\" type=\"str_moveWait\" xmlType=\"object\" /><0 type=\"str_appearance\" xmlType=\"object\"><value isAnimating=\"bol_false\" delay=\"num_2\" animDirection=\"num_1\" animType=\"str_yoyo\" pose=\"num_0\" rows=\"num_1\" columns=\"num_1\" frame=\"num_0\" frames=\"num_1\" direction=\"num_1\" directions=\"num_2\" charset=\"str_charset\\som_wolf\\drink.png\" xmlType=\"object\" /></0></38><37 value=\"num_1\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><36 type=\"str_move\" sprite=\"str_bigDog\" xmlType=\"array\"><0 value=\"str_left\" type=\"str_direction\" xmlType=\"object\" /></36><35 value=\"str_newGirl\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><34 target=\"str_SPRITES.newGirl\" waitForEnd=\"bol_false\" depth=\"num_-1\" name=\"str_sweat\" linkage=\"str_\" type=\"str_swf\" xmlType=\"object\"><data xmlType=\"object\" /></34><33 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_[newGirl]: \\.Uh no,\\. I can do it!\\.\r I can totally do it!\" type=\"str_textbox\" xmlType=\"object\" /></33><32 target=\"str_SPRITES.newGirl\" waitForEnd=\"bol_false\" depth=\"num_-1\" name=\"str_sweat\" linkage=\"str_swf\\sweat.swf\" type=\"str_swf\" xmlType=\"object\"><data xmlType=\"object\" /></32><31 type=\"str_move\" sprite=\"str_newGirl\" xmlType=\"array\"><0 walkSpeed=\"num_0.13\" duration=\"num_0.473207142803234\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_-16\" x=\"num_56\" xmlType=\"object\" /></0></31><30 value=\"num_0.1\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><29 type=\"str_move\" sprite=\"str_richGirl\" xmlType=\"array\"><0 value=\"str_up\" type=\"str_direction\" xmlType=\"object\" /></29><28 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_[richGirl]: Pardon me,\\.\r am I asking too much of you?\" type=\"str_textbox\" xmlType=\"object\" /></28><27 type=\"str_move\" sprite=\"str_richGirl\" xmlType=\"array\"><0 value=\"str_newGirl\" type=\"str_lookAt\" xmlType=\"object\" /></27><26 value=\"num_0.5\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><25 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_[newGirl]: \\.You need help...\\.\r petting the doggie?\" type=\"str_textbox\" xmlType=\"object\" /></25><24 value=\"str_newGirl\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><23 type=\"str_move\" sprite=\"str_newGirl\" xmlType=\"array\"><2 value=\"str_richGirl\" type=\"str_lookAt\" xmlType=\"object\" /><1 value=\"num_1\" mode=\"str_time\" type=\"str_moveWait\" xmlType=\"object\" /><0 value=\"str_down\" type=\"str_direction\" xmlType=\"object\" /></23><22 type=\"str_move\" sprite=\"str_richGirl\" xmlType=\"array\"><0 value=\"str_up\" type=\"str_direction\" xmlType=\"object\" /></22><21 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_[richGirl]: Pet the dog for me.\\.\r I am busy.\" type=\"str_textbox\" xmlType=\"object\" /></21><20 type=\"str_move\" sprite=\"str_richGirl\" xmlType=\"array\"><0 value=\"str_bigDog\" type=\"str_lookAt\" xmlType=\"object\" /></20><19 value=\"num_0.1\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><18 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_[newGirl]: \\.Um,\\. my name's [newGirl].\\.\r What do you need?\" type=\"str_textbox\" xmlType=\"object\" /></18><17 value=\"str_newGirl\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><16 type=\"str_move\" sprite=\"str_newGirl\" xmlType=\"array\"><2 value=\"str_richGirl\" type=\"str_lookAt\" xmlType=\"object\" /><1 walkSpeed=\"num_0.13\" duration=\"num_0.52\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_-64\" x=\"num_0\" xmlType=\"object\" /></1><0 duration=\"num_0\" autoAnim=\"bol_false\" autoDirection=\"bol_false\" type=\"str_moveAbsolute\" xmlType=\"object\"><position y=\"num_256\" x=\"num_104\" xmlType=\"object\" /></0></16><15 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_[richGirl]: \\.Servent girl!\\2 Please come.\" type=\"str_textbox\" xmlType=\"object\" /></15><14 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_comment\" message=\"str_* text: [richGirl]: \\.Servent girl!\\2\r Please come at once.\" commentedType=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_[richGirl]: \\.Servent girl!\\2\r Please come at once.\" type=\"str_textbox\" xmlType=\"object\" /></14><13 value=\"str_richGirl\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><12 type=\"str_move\" sprite=\"str_richGirl\" xmlType=\"array\"><2 value=\"str_down\" type=\"str_direction\" xmlType=\"object\" /><1 value=\"num_0.5\" mode=\"str_time\" type=\"str_moveWait\" xmlType=\"object\" /><0 value=\"str_bigDog\" type=\"str_lookAt\" xmlType=\"object\" /></12><11 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_\" face=\"str_\" typingSound=\"str_\" _y=\"num_122\" text=\"str_\\#ffffff Woof!\" type=\"str_textbox\" xmlType=\"object\" /></11><10 name=\"str_\" volume=\"num_75\" loop=\"bol_false\" file=\"str_sound\\dog.mp3\" type=\"str_sound\" xmlType=\"object\" /><9 value=\"str_bigDog\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><8 type=\"str_move\" sprite=\"str_bigDog\" xmlType=\"array\"><2 type=\"str_appearance\" xmlType=\"object\"><value isAnimating=\"bol_false\" delay=\"num_2\" animDirection=\"num_1\" animType=\"str_yoyo\" pose=\"num_0\" rows=\"num_1\" columns=\"num_1\" frame=\"num_0\" frames=\"num_1\" direction=\"num_1\" directions=\"num_4\" charset=\"str_charset\\som_wolf\\stand.png\" xmlType=\"object\" /></2><1 walkSpeed=\"num_0.13\" duration=\"num_0.662872536767062\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_-16\" x=\"num_80\" xmlType=\"object\" /></1><0 type=\"str_appearance\" xmlType=\"object\"><value isAnimating=\"bol_true\" delay=\"num_2\" animDirection=\"num_1\" animType=\"str_loop\" pose=\"num_0\" rows=\"num_1\" columns=\"num_1\" frame=\"num_0\" frames=\"num_3\" direction=\"num_1\" directions=\"num_4\" charset=\"str_charset\\som_wolf\\walk.png\" xmlType=\"object\" /></0></8><7 value=\"num_1\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><6 value=\"str_richGirl\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><5 type=\"str_move\" sprite=\"str_richGirl\" xmlType=\"array\"><2 value=\"str_up\" type=\"str_direction\" xmlType=\"object\" /><1 value=\"num_1\" mode=\"str_time\" type=\"str_moveWait\" xmlType=\"object\" /><0 value=\"str_bigDog\" type=\"str_lookAt\" xmlType=\"object\" /></5><4 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_\" face=\"str_\" typingSound=\"str_\" _y=\"num_149\" text=\"str_\\#ffffff\r Wuf!\" type=\"str_textbox\" xmlType=\"object\" /></4><3 name=\"str_\" volume=\"num_75\" loop=\"bol_false\" file=\"str_sound\\dog.mp3\" type=\"str_sound\" xmlType=\"object\" /><2 value=\"str_bigDog\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><1 type=\"str_move\" sprite=\"str_bigDog\" xmlType=\"array\"><3 type=\"str_appearance\" xmlType=\"object\"><value isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" pose=\"num_0\" rows=\"num_1\" columns=\"num_1\" frame=\"num_0\" frames=\"num_1\" direction=\"num_1\" directions=\"num_4\" charset=\"str_charset\\som_wolf\\stand.png\" xmlType=\"object\" /></3><2 walkSpeed=\"num_0.13\" duration=\"num_0.52\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_-64\" x=\"num_0\" xmlType=\"object\" /></2><1 type=\"str_appearance\" xmlType=\"object\"><value isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_loop\" pose=\"num_0\" rows=\"num_1\" columns=\"num_1\" frame=\"num_0\" frames=\"num_3\" direction=\"num_2\" directions=\"num_4\" charset=\"str_charset\\som_wolf\\walk.png\" xmlType=\"object\" /></1><0 duration=\"num_0\" autoAnim=\"bol_false\" autoDirection=\"bol_fal";
data_txt = data_txt + "se\" type=\"str_moveAbsolute\" xmlType=\"object\"><position y=\"num_256\" x=\"num_104\" xmlType=\"object\" /></0></1><0 value=\"num_1\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /></auto></scripts><initialAppearance isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_1\" frame=\"num_1\" directions=\"num_1\" direction=\"num_0\" charset=\"str_charset\\invisible.png\" xmlType=\"object\" /></data></0></sprites><map format=\"num_3\" isCompressed=\"bol_true\" tileSize=\"num_16\" width=\"num_20\" height=\"num_15\" collision=\"str_111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110101111111111110001100011111111111111000000001111111111000001100011111111111000111101111111111110111111111111111111111111111111111\" xmlType=\"object\"><layers xmlType=\"array\"><2 value=\"str_04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04b04b04b04b04b04b04b04b04b04b04a04a04a04a04a04a04a04a04a05a00000000000000000000000000000003a04a04a04a04a04a04a04a04a05a00000000000000000000000000000003a04a04a04a04a04a04a04a04a05a00000000000000000000000000000003a04a04a04a04a04a04a04a04a05a00000000000000000000000000000003a04a04a04a04a04a04a04a04a05a00000000000000000000000000000003a04a04a04a04a04a04a04a04a05a00000000000000000000000000000003a04a04a04a04a04a04a04a04a05a00000000000000000000000000000003a04a04a04a04a04a04a04a04a04a04900004904904904904904904904904a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a\" xmlType=\"variable\" /><1 value=\"str_0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000j90k90000000000000000000000000000000000000000000000000000000ja0ka0rd0sd0000l80000000000000000000000000000000000000000000000tb0re0se0000000000000000000000000000000000000000000000000000000rf0sf0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ie0000000je0000000000000000000000000000000000000j80000000000if0mf0nf0jf0000ia000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000\" xmlType=\"variable\" /><0 value=\"str_04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04b04b04b04b04b04b04b04b04b04b04a04a04a04a04a04a04a04a04a05a0ec0ec0ec0ec0ec0o10o10q10ec0ec03a04a04a04a04a04a04a04a04a05a0ee0ee0ee0ee0ee0o20o20q20ee0ee03a04a04a04a04a04a04a04a04a05a0e10f10ef0ef0ef0o30o30q30e90f903a04a04a04a04a04a04a04a04a05a0e20f204d04d04d04d04d04d0ea0fa03a04a04a04a04a04a04a04a04a05a0e30f304e04e04e04e04e04e04e05e03a04a04a04a04a04a04a04a04a05a03e04e04e04e04e0c50d504e04e05e03a04a04a04a04a04a04a04a04a05a03f04e04f04f04f04f04f04f04f05f03a04a04a04a04a04a04a04a04a04a04904e04904904904904904904904904a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a\" xmlType=\"variable\" /></layers><chipsets xmlType=\"array\"><0 value=\"str_chipset\\castle_inner.png\" xmlType=\"variable\" /></chipsets></map></level></data>";
data_xml = new XML(data_txt);
onLoad(data_xml);
Symbol 302 MovieClip [levels\dogs_pet\100.lvl] Frame 1
data_txt = "<data xmlType=\"object\"><level name=\"str_levels\\dogs_pet\\100.lvl\" xmlType=\"object\"><sprites xmlType=\"array\"><8 name=\"str_pic\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_1\" frame=\"num_0\" directions=\"num_1\" direction=\"num_0\" charset=\"str_charset\\objects\\pictureFrame\\girl1_inframe.png\" xmlType=\"object\" /><position y=\"num_24\" x=\"num_152\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><hitbox height=\"num_16\" width=\"num_16\" xmlType=\"object\" /><copySprite id=\"str_\" xmlType=\"object\"><data xmlType=\"object\" /></copySprite><scripts xmlType=\"object\" /><initialAppearance isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_1\" frame=\"num_0\" directions=\"num_1\" direction=\"num_0\" charset=\"str_charset\\objects\\pictureFrame\\girl1_inframe.png\" xmlType=\"object\" /></data></8><7 name=\"str_food\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite charset=\"str_charset\\objects\\food3.png\" directions=\"num_1\" frames=\"num_1\" columns=\"num_1\" rows=\"num_1\" animType=\"str_yoyo\" animDirection=\"num_1\" xmlType=\"object\" /><position x=\"num_168\" y=\"num_184\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><hitbox height=\"num_16\" width=\"num_16\" xmlType=\"object\" /><copySprite id=\"str_\" xmlType=\"object\"><data xmlType=\"object\" /></copySprite><scripts xmlType=\"object\"><auto xmlType=\"array\" /><talk xmlType=\"array\" /><collision xmlType=\"array\" /></scripts><initialAppearance charset=\"str_charset\\objects\\food3.png\" directions=\"num_1\" frames=\"num_1\" columns=\"num_1\" rows=\"num_1\" animType=\"str_yoyo\" animDirection=\"num_1\" xmlType=\"object\" /></data></7><6 name=\"str_bigDog\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_1\" frame=\"num_0\" directions=\"num_4\" direction=\"num_2\" charset=\"str_charset\\som_wolf\\stand.png\" xmlType=\"object\" /><position y=\"num_168\" x=\"num_8\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><hitbox height=\"num_16\" width=\"num_16\" xmlType=\"object\" /><copySprite id=\"str_\" xmlType=\"object\"><data xmlType=\"object\" /></copySprite><scripts xmlType=\"object\" /><initialAppearance isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_1\" frame=\"num_0\" directions=\"num_4\" direction=\"num_2\" charset=\"str_charset\\som_wolf\\stand.png\" xmlType=\"object\" /></data></6><5 name=\"str_newGirl\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_0\" charset=\"str_charset\\ridingHood\\dress\\walk.png\" xmlType=\"object\" /><position x=\"num_152\" y=\"num_72\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><hitbox height=\"num_16\" width=\"num_16\" xmlType=\"object\" /><copySprite id=\"str_\" xmlType=\"object\"><data xmlType=\"object\" /></copySprite><scripts xmlType=\"object\" /><initialAppearance isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_0\" charset=\"str_charset\\ridingHood\\dress\\walk.png\" xmlType=\"object\" /></data></5><4 name=\"str_maid\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_2\" columns=\"num_4\" pose=\"num_0\" frames=\"num_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_2\" charset=\"str_charset\\maid.png\" xmlType=\"object\" /><position y=\"num_136\" x=\"num_8\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><hitbox height=\"num_16\" width=\"num_16\" xmlType=\"object\" /><copySprite id=\"str_\" xmlType=\"object\"><data xmlType=\"object\" /></copySprite><scripts xmlType=\"object\" /><initialAppearance isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_2\" columns=\"num_4\" pose=\"num_0\" frames=\"num_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_2\" charset=\"str_charset\\maid.png\" xmlType=\"object\" /></data></4><3 name=\"str_dad\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_2\" columns=\"num_4\" pose=\"num_0\" frames=\"num_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_2\" charset=\"str_charset\\people1.png\" xmlType=\"object\" /><position y=\"num_168\" x=\"num_184\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><hitbox height=\"num_16\" width=\"num_16\" xmlType=\"object\" /><copySprite id=\"str_\" xmlType=\"object\"><data xmlType=\"object\" /></copySprite><scripts xmlType=\"object\" /><initialAppearance isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_2\" columns=\"num_4\" pose=\"num_0\" frames=\"num_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_2\" charset=\"str_charset\\people1.png\" xmlType=\"object\" /></data></3><2 name=\"str_mom\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_2\" columns=\"num_4\" pose=\"num_1\" frames=\"num_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_0\" charset=\"str_charset\\people2.png\" xmlType=\"object\" /><position y=\"num_216\" x=\"num_168\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><hitbox height=\"num_16\" width=\"num_16\" xmlType=\"object\" /><copySprite id=\"str_\" xmlType=\"object\"><data xmlType=\"object\" /></copySprite><scripts xmlType=\"object\" /><initialAppearance isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_2\" columns=\"num_4\" pose=\"num_1\" frames=\"num_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_0\" charset=\"str_charset\\people2.png\" xmlType=\"object\" /></data></2><1 name=\"str_richGirl\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_2\" charset=\"str_charset\\girl1\\dressed\\walk.png\" xmlType=\"object\" /><position x=\"num_152\" y=\"num_168\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><hitbox height=\"num_16\" width=\"num_16\" xmlType=\"object\" /><copySprite id=\"str_\" xmlType=\"object\"><data xmlType=\"object\" /></copySprite><scripts xmlType=\"object\" /><initialAppearance isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_2\" charset=\"str_charset\\girl1\\dressed\\walk.png\" xmlType=\"object\" /></data></1><0 name=\"str_EVENTS\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_1\" frame=\"num_1\" directions=\"num_1\" direction=\"num_0\" charset=\"str_charset\\invisible.png\" xmlType=\"object\" /><position x=\"num_8\" y=\"num_8\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><hitbox height=\"num_16\" width=\"num_16\" xmlType=\"object\" /><copySprite id=\"str_\" xmlType=\"object\"><data xmlType=\"object\" /></copySprite><scripts xmlType=\"object\"><auto xmlType=\"array\"><89 relativeLevel=\"str_110.lvl\" level=\"str_levels\\dogs_pet\\110.lvl\" type=\"str_teleport\" xmlType=\"object\"><position y=\"num_0\" x=\"num_0\" xmlType=\"object\" /><transOut mask=\"str_\" easing=\"str_easeLinear\" seconds=\"num_2\" effect=\"str_fadeBlack\" xmlType=\"object\" /><transIn mask=\"str_\" easing=\"str_easeLinear\" seconds=\"num_0.5\" effect=\"str_fade\" xmlType=\"object\" /></89><88 value=\"num_2\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><87 message=\"str_\" type=\"str_comment\" xmlType=\"object\" /><86 name=\"str_moaning\" volume=\"num_100\" loop=\"bol_false\" file=\"str_sound\\sexy\\orgasm02.mp3\" type=\"str_sound\" xmlType=\"object\" /><85 name=\"str_moaning\" volume=\"num_50\" loop=\"bol_false\" file=\"str_sound\\sexy\\squirm02 loop.mp3\" type=\"str_comment\" message=\"str_* sound: squirm02 loop.mp3\" commentedType=\"str_sound\" xmlType=\"object\" /><84 name=\"str_moaning\" volume=\"num_50\" loop=\"bol_false\" file=\"str_sound\\sexy\\moaning05.mp3\" type=\"str_comment\" message=\"str_* sound: moaning05.mp3\" commentedType=\"str_sound\" xmlType=\"object\" /><83 name=\"str_moaning\" volume=\"num_25\" loop=\"bol_false\" file=\"str_sound\\sexy\\moaning_frantic02 loop.mp3\" type=\"str_comment\" message=\"str_* sound: moaning_frantic02 loop.mp3\" commentedType=\"str_sound\" xmlType=\"object\" /><82 value=\"str_newGirl\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><81 value=\"str_bigDog\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><80 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_[richGirl]: Training her was easy, father.\\!\r I simply instructed her to let [dog] do\r whatever he wants and keep him happy.\" type=\"str_textbox\" xmlType=\"object\" /></80><79 type=\"str_move\" sprite=\"str_richGirl\" xmlType=\"array\"><0 value=\"str_dad\" type=\"str_lookAt\" xmlType=\"object\" /></79><78 value=\"num_0.1\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><77 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_Dad: I must say,\\. the new maid is\r far more cooperative than the last one.\" type=\"str_textbox\" xmlType=\"object\" /></77><76 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_comment\" message=\"str_* text: Dad: I must say,\\. the new maid is\r much better behaved than the last one.\" commentedType=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_Dad: I must say,\\. the new maid is\r much better behaved than the last one.\" type=\"str_textbox\" xmlType=\"object\" /></76><75 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_comment\" message=\"str_* text: Dad: I must say,\\. you have done a fine job\r training his maid.\" commentedType=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_Dad: I must say,\\. you have done a fine job\r training his maid.\" type=\"str_textbox\" xmlType=\"object\" /></75><74 type=\"str_move\" sprite=\"str_dad\" xmlType=\"array\"><0 value=\"str_richGirl\" type=\"str_lookAt\" xmlType=\"object\" /></74><73 value=\"num_1\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><72 type=\"str_move\" sprite=\"str_richGirl\" xmlType=\"array\"><0 value=\"str_down\" type=\"str_direction\" xmlType=\"object\" /></72><71 type=\"str_move\" sprite=\"str_bigDog\" xmlType=\"array\"><4 walkSpeed=\"num_0.13\" duration=\"num_0.536003731330296\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_64\" x=\"num_16\" xmlType=\"object\" /></4><3 walkSpeed=\"num_0.13\" duration=\"num_1.56\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_0\" x=\"num_192\" xmlType=\"object\" /></3><2 walkSpeed=\"num_0.13\" duration=\"num_0.78\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_-96\" x=\"num_0\" xmlType=\"object\" /></2><1 walkSpeed=\"num_0.13\" duration=\"num_0.11375\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_0\" x=\"num_-14\" xmlType=\"object\" /></1><0 type=\"str_appearance\" xmlType=\"object\"><value isAnimating=\"bol_true\" delay=\"num_2\" animDirection=\"num_1\" animType=\"str_loop\" pose=\"num_0\" rows=\"num_1\" columns=\"num_1\" frame=\"num_0\" frames=\"num_3\" direction=\"num_3\" directions=\"num_4\" charset=\"str_charset\\som_wolf\\walk.png\" xmlType=\"object\" /></0></71><70 type=\"str_move\" sprite=\"str_newGirl\" xmlType=\"array\"><3 walkSpeed=\"num_0.13\" duration=\"num_0.13\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_16\" x=\"num_0\" xmlType=\"object\" /></3><2 walkSpeed=\"num_0.13\" duration=\"num_0.411096095821889\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_48\" x=\"num_16\" xmlType=\"object\" /></2><1 walkSpeed=\"num_0.13\" duration=\"num_1.56\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_0\" x=\"num_192\" xmlType=\"object\" /></1><0 walkSpeed=\"num_0.13\" duration=\"num_0.771875\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_-95\" x=\"num_0\" xmlType=\"object\" /></0></70><69 value=\"str_bigDog\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><68 name=\"str_moaning\" volume=\"num_100\" loop=\"bol_false\" file=\"str_\" type=\"str_sound\" xmlType=\"object\" /><67 type=\"str_move\" sprite=\"str_newGirl\" xmlType=\"array\"><1 walkSpeed=\"num_0\" duration=\"num_0\" autoAnim=\"bol_false\" autoDirection=\"bol_false\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_-3\" x=\"num_0\" xmlType=\"object\" /></1><0 type=\"str_appearance\" xmlType=\"object\"><value isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" pose=\"num_0\" rows=\"num_1\" columns=\"num_1\" frame=\"num_1\" frames=\"num_3\" direction=\"num_1\" directions=\"num_4\" charset=\"str_charset\\ridingHood\\dress\\walk.png\" xmlType=\"object\" /></0></67><66 type=\"str_move\" sprite=\"str_bigDog\" xmlType=\"array\"><1 walkSpeed=\"num_0.26\" duration=\"num_0.13\" autoAnim=\"bol_false\" autoDirection=\"bol_false\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_0\" x=\"num_8\" xmlType=\"object\" /></1><0 type=\"str_appearance\" xmlType=\"object\"><value isAnimating=\"bol_true\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" pose=\"num_0\" rows=\"num_1\" columns=\"num_1\" frame=\"num_0\" frames=\"num_1\" direction=\"num_3\" directions=\"num_4\" charset=\"str_charset\\som_wolf\\stand.png\" xmlType=\"object\" /></0></66><65 update=\"bol_false\" type=\"str_setVariable\" reference=\"bol_false\" xmlType=\"object\"><condition xmlType=\"array\"><2 value=\"str_false\" xmlType=\"variable\" /><1 value=\"str_=\" xmlType=\"variable\" /><0 value=\"str_SPRITES.newGirl.underAll\" xmlType=\"variable\" /></condition></65><64 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_[newGirl]: \\.*pant*\\2 O\\.-Okay...\" type=\"str_textbox\" xmlType=\"object\" /></64><63 name=\"str_moaning\" volume=\"num_100\" loop=\"bol_false\" file=\"str_sound\\sexy\\panting04.mp3\" type=\"str_sound\" xmlType=\"object\" /><62 value=\"num_0.1\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><61 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_Mom: \\.Er,\\. servant girl,\\2 would you please\r accompany Mr [dog] to the back yard\r for his...\\! his play-time.\" type=\"str_textbox\" xmlType=\"object\" /></61><60 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_comment\" message=\"str_* text: Mom: \\.Er,\\. servant girl,\\2 would you please\r accompany Mr [dog] to the back yard\r until he has finished...\\! his play-time.\" commentedType=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_Mom: \\.Er,\\. servant girl,\\2 would you please\r accompany Mr [dog] to the back yard\r until he has finished...\\! his play-time.\" type=\"str_textbox\" xmlType=\"object\" /></60><59 value=\"str_mom\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><58 type=\"str_move\" sprite=\"str_mom\" xmlType=\"array\"><0 walkSpeed=\"num_0.26\" duration=\"num_0.26\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_0\" x=\"num_-16\" xmlType=\"object\" /></0></58><57 value=\"num_1\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><56 type=\"str_move\" sprite=\"str_richGirl\" xmlType=\"array\"><0 value=\"str_newGirl\" type=\"str_lookAt\" xmlType=\"object\" /></56><55 type=\"str_move\" sprite=\"str_dad\" xmlType=\"array\"><0 value=\"str_newGirl\" type=\"str_lookAt\" xmlType=\"object\" /></55><54 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_Mom: I am sure they will be most jealous\r of this exotic and rare...\\2\\s2 breed.\" type=\"str_textbox\" xmlType=\"object\" /></54><53 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_comment\" message=\"str_* text: Mom: I am sure they will be most jealous\r of your exotic and rare\\. wol-dog...\\2\\s2 breed.\" commentedType=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_Mom: I am sure they will be most jealous\r of your exotic and rare\\. wol-dog...\\2\\s2 breed.\" type=\"str_textbox\" xmlType=\"object\" /></53><52 type=\"str_move\" sprite=\"str_mom\" xmlType=\"array\"><0 value=\"str_bigDog\" type=\"str_lookAt\" xmlType=\"object\" /></52><51 value=\"num_0.1\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><50 name=\"str_sex\" volume=\"num_100\" loop=\"bol_false\" file=\"str_sound\\sexy\\screwing.mp3\" type=\"str_sound\" xmlType=\"object\" /><49 value=\"str_bigDog\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><48 type=\"str_move\" sprite=\"str_bigDog\" xmlType=\"array\"><1 walkSpeed=\"num_0.78\" duration=\"num_0.538461349587879\" autoAnim=\"bol_false\" autoDirection=\"bol_false\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_1\" x=\"num_-11\" xmlType=\"object\" /></1><0 type=\"str_appearance\" xmlType=\"object\"><value isAnimating=\"bol_true\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_loop\" pose=\"num_0\" rows=\"num_1\" columns=\"num_1\" frame=\"num_0\" frames=\"num_2\" direction=\"num_3\" directions=\"num_4\" charset=\"str_charset\\som_wolf\\hump.png\" xmlType=\"object\" /></0></48><47 type=\"str_move\" sprite=\"str_newGirl\" xmlType=\"array\"><1 walkSpeed=\"num_0\" duration=\"num_0\" autoAnim=\"bol_false\" autoDirection=\"bol_false\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_4\" x=\"num_0\" xmlType=\"object\" /></1><0 type=\"str_appearance\" xmlType=\"object\"><value isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_once\" pose=\"num_0\" rows=\"num_1\" columns=\"num_1\" frame=\"num_1\" frames=\"num_5\" direction=\"num_1\" directions=\"num_4\" charset=\"str_charset\\ridingHood\\nightie\\curtsey.png\" xmlType=\"object\" /></0></47><46 update=\"bol_false\" type=\"str_setVariable\" reference=\"bol_false\" xmlType=\"object\"><condition xmlType=\"array\"><2 value=\"str_true\" xmlType=\"variable\" /><1 value=\"str_=\" xmlType=\"variable\" /><0 value=\"str_SPRITES.newGirl.underAll\" xmlType=\"variable\" /></condition></46><45 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_Dad: Oh, how wonderful!\" type=\"str_textbox\" xmlType=\"object\" /></45><44 type=\"str_move\" sprite=\"str_dad\" xmlType=\"array\"><0 value=\"str_richGirl\" type=\"str_lookAt\" xmlType=\"object\" /></44><43 value=\"str_dad\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><42 value=\"num_0.1\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><41 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_[richGirl]: That reminds me,\\. I wrote to\r my friends and invited them to come\r see my new dog.\" type=\"str_textbox\" xmlType=\"object\" /></41><40 value=\"num_0.1\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><39 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_Mom: As I said,\\. this is prepared\r with the finest seasonings.\" type=\"str_textbox\" xmlType=\"object\" /></39><38 type=\"str_move\" sprite=\"str_richGirl\" xmlType=\"array\"><0 walkSpeed=\"num_0.26\" duration=\"num_0.290688837074973\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_16\" x=\"num_8\" xmlType=\"object\" /></0></38><37 value=\"num_0.1\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><36 type=\"str_move\" sprite=\"str_mom\" xmlType=\"array\"><1 value=\"str_up\" type=\"str_direction\" xmlType=\"object\" /><0 walkSpeed=\"num_0.26\" duration=\"num_0.52\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_0\" x=\"num_-32\" xmlType=\"object\" /></0></36><35 type=\"str_move\" sprite=\"str_dad\" xmlType=\"array\"><1 value=\"str_down\" type=\"str_direction\" xmlType=\"object\" /><0 walkSpeed=\"num_0.26\" duration=\"num_0.13\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_0\" x=\"num_-8\" xmlType=\"object\" /></0></35><34 value=\"num_0.5\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><33 name=\"str_\" volume=\"num_100\" loop=\"bol_false\" file=\"str_sound\\sexy\\moan06.mp3\" type=\"str_sound\" xmlType=\"object\" /><32 value=\"str_bigDog\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><31 type=\"str_move\" sprite=\"str_bigDog\" xmlType=\"array\"><0 walkSpeed=\"num_2.08\" duration=\"num_0.26\" autoAnim=\"bol_false\" autoDirection=\"bol_false\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_0\" x=\"num_-2\" xmlType=\"object\" /></0></31><30 type=\"str_move\" sprite=\"str_newGirl\" xmlType=\"array\"><3 type=\"str_appearance\" xmlType=\"object\"><value isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_once\" pose=\"num_0\" rows=\"num_1\" columns=\"num_1\" frame=\"num_1\" frames=\"num_4\" direction=\"num_0\" directions=\"num_2\" charset=\"str_charset\\ridingHood\\nightie\\curtseyTease.png\" xmlType=\"object\" /></3><2 value=\"num_0.1\" mode=\"str_time\" type=\"str_moveWait\" xmlType=\"object\" /><1 type=\"str_appearance\" xmlType=\"object\"><value isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_once\" pose=\"num_0\" rows=\"num_1\" columns=\"num_1\" frame=\"num_0\" frames=\"num_4\" direction=\"num_0\" directions=\"num_2\" charset=\"str_charset\\ridingHood\\nightie\\curtseyTease.png\" xmlType=\"object\" /></1><0 walkSpeed=\"num_0\" duration=\"num_0\" autoAnim=\"bol_false\" autoDirection=\"bol_false\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_-2\" x=\"num_0\" xmlType=\"object\" /></0></30><29 value=\"str_bigDog\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><28 type=\"str_move\" sprite=\"str_bigDog\" xmlType=\"array\"><4 type=\"str_appearance\" xmlType=\"object\"><value isAnimating=\"bol_false\" delay=\"num_2\" animDirection=\"num_1\" animType=\"str_yoyo\" pose=\"num_0\" rows=\"num_1\" columns=\"num_1\" frame=\"num_0\" frames=\"num_1\" direction=\"num_1\" directions=\"num_2\" charset=\"str_charset\\som_wolf\\drink.png\" xmlType=\"object\" /></4><3 walkSpeed=\"num_0.13\" duration=\"num_0.53061911068581\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_13\" x=\"num_-64\" xmlType=\"object\" /></3><2 type=\"str_appearance\" xmlType=\"object\"><value isAnimating=\"bol_false\" delay=\"num_2\" animDirection=\"num_1\" animType=\"str_loop\" pose=\"num_0\" rows=\"num_1\" columns=\"num_1\" frame=\"num_0\" frames=\"num_3\" direction=\"num_3\" directions=\"num_4\" charset=\"str_charset\\som_wolf\\walk.png\" xmlType=\"object\" /></2><1 value=\"num_1\" mode=\"str_time\" type=\"str_moveWait\" xmlType=\"object\" /><0 value=\"str_newGirl\" type=\"str_lookAt\" xmlType=\"object\" /></28><27 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_Dad: \\.G\\.-Go play with your maid, [dog].\" type=\"str_textbox\" xmlType=\"object\" /></27><26 type=\"str_move\" sprite=\"str_dad\" xmlType=\"array\"><0 walkSpeed=\"num_0.13\" duration=\"num_0.26\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_0\" x=\"num_-32\" xmlType=\"object\" /></0></26><25 value=\"str_dad\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><24 value=\"str_newGirl\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><23 type=\"str_move\" sprite=\"str_newGirl\" xmlType=\"array\"><3 value=\"str_richGirl\" type=\"str_lookAt\" xmlType=\"object\" /><2 walkSpeed=\"num_0.096\" duration=\"num_0.576\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_96\" x=\"num_0\" xmlType=\"object\" /></2><1 walkSpeed=\"num_0.096\" duration=\"num_0.192\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_0\" x=\"num_-32\" xmlType=\"object\" /></1><0 walkSpeed=\"num_0.096\" duration=\"num_0.395818140059295\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_16\" x=\"num_-64\" xmlType=\"object\" /></0></23><22 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_\\.M\\.-Maid,\\. servant girl!\\2\rPlease come at once!!\" type=\"str_textbox\" xmlType=\"object\" /></22><21 value=\"str_richGirl\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><20 type=\"str_move\" sprite=\"str_bigDog\" xmlType=\"array\"><1 type=\"str_appearance\" xmlType=\"object\"><value isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" pose=\"num_0\" rows=\"num_1\" columns=\"num_1\" frame=\"num_0\" frames=\"num_1\" direction=\"num_1\" directions=\"num_4\" charset=\"str_charset\\som_wolf\\stand.png\" xmlType=\"object\" /></1><0 value=\"num_0.2\" mode=\"str_time\" type=\"str_moveWait\" xmlType=\"object\" /></20><19 value=\"str_bigDog\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><18 type=\"str_move\" sprite=\"str_mom\" xmlType=\"array\"><3 walkSpeed=\"num_0.13\" duration=\"num_0.39\" autoAnim=\"bol_true\" autoDirection=\"bol_false\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_0\" x=\"num_48\" xmlType=\"object\" /></3><2 value=\"str_left\" type=\"str_direction\" xmlType=\"object\" /><1 walkSpeed=\"num_0.13\" duration=\"num_0.13\" autoAnim=\"bol_false\" autoDirection=\"bol_false\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_16\" x=\"num_0\" xmlType=\"object\" /></1><0 walkSpeed=\"num_0\" duration=\"num_0\" autoAnim=\"bol_false\" autoDirection=\"bol_false\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_-16\" x=\"num_0\" xmlType=\"object\" /></0></18><17 type=\"str_move\" sprite=\"str_dad\" xmlType=\"array\"><3 walkSpeed=\"num_0.13\" duration=\"num_0.13\" autoAnim=\"bol_true\" autoDirection=\"bol_false\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_0\" x=\"num_16\" xmlType=\"object\" /></3><2 walkSpeed=\"num_0.13\" duration=\"num_0.13\" autoAnim=\"bol_false\" autoDirection=\"bol_false\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_16\" x=\"num_0\" xmlType=\"object\" /></2><1 walkSpeed=\"num_0\" duration=\"num_0\" autoAnim=\"bol_false\" autoDirection=\"bol_false\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_-16\" x=\"num_0\" xmlType=\"object\" /></1><0 value=\"str_left\" type=\"str_direction\" xmlType=\"object\" /></17><16 type=\"str_move\" sprite=\"str_richGirl\" xmlType=\"array\"><5 walkSpeed=\"num_0.13\" duration=\"num_0.13\" autoAnim=\"bol_true\" autoDirection=\"bol_false\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_-16\" x=\"num_0\" xmlType=\"object\" /></5><4 value=\"str_down\" type=\"str_direction\" xmlType=\"object\" /><3 walkSpeed=\"num_0.13\" duration=\"num_0.13\" autoAnim=\"bol_true\" autoDirection=\"bol_false\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_0\" x=\"num_16\" xmlType=\"object\" /></3><2 walkSpeed=\"num_0.13\" duration=\"num_0.13\" autoAnim=\"bol_false\" autoDirection=\"bol_false\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_16\" x=\"num_0\" xmlType=\"object\" /></2><1 walkSpeed=\"num_0\" duration=\"num_0\" autoAnim=\"bol_false\" autoDirection=\"bol_false\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_-16\" x=\"num_0\" xmlType=\"object\" /></1><0 value=\"str_left\" type=\"str_direction\" xmlType=\"object";
data_txt = data_txt + "\" /></16><15 name=\"str_\" volume=\"num_100\" loop=\"bol_false\" file=\"str_sound\\sexy\\gasp13.mp3\" type=\"str_sound\" xmlType=\"object\" /><14 name=\"str_\" volume=\"num_100\" loop=\"bol_false\" file=\"str_sound\\sexy\\gasp12.mp3\" type=\"str_comment\" message=\"str_* sound: gasp12.mp3\" commentedType=\"str_sound\" xmlType=\"object\" /><13 name=\"str_\" volume=\"num_100\" loop=\"bol_false\" file=\"str_sound\\sexy\\gasp11.mp3\" type=\"str_comment\" message=\"str_* sound: gasp11.mp3\" commentedType=\"str_sound\" xmlType=\"object\" /><12 name=\"str_\" volume=\"num_100\" loop=\"bol_false\" file=\"str_sound\\sexy\\gasp09.mp3\" type=\"str_comment\" message=\"str_* sound: gasp09.mp3\" commentedType=\"str_sound\" xmlType=\"object\" /><11 value=\"num_0.4\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><10 type=\"str_move\" sprite=\"str_bigDog\" xmlType=\"array\"><2 walkSpeed=\"num_1.56\" duration=\"num_0.975\" autoAnim=\"bol_false\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_0\" x=\"num_10\" xmlType=\"object\" /></2><1 walkSpeed=\"num_0\" duration=\"num_0\" autoAnim=\"bol_false\" autoDirection=\"bol_false\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_3\" x=\"num_0\" xmlType=\"object\" /></1><0 type=\"str_appearance\" xmlType=\"object\"><value isAnimating=\"bol_true\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_loop\" pose=\"num_0\" rows=\"num_1\" columns=\"num_1\" frame=\"num_0\" frames=\"num_2\" direction=\"num_1\" directions=\"num_4\" charset=\"str_charset\\som_wolf\\hump.png\" xmlType=\"object\" /></0></10><9 value=\"str_bigDog\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><8 type=\"str_move\" sprite=\"str_bigDog\" xmlType=\"array\"><6 value=\"num_1\" mode=\"str_time\" type=\"str_moveWait\" xmlType=\"object\" /><5 type=\"str_appearance\" xmlType=\"object\"><value isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" pose=\"num_0\" rows=\"num_1\" columns=\"num_1\" frame=\"num_0\" frames=\"num_1\" direction=\"num_0\" directions=\"num_2\" charset=\"str_charset\\som_wolf\\drink.png\" xmlType=\"object\" /></5><4 value=\"num_0.2\" mode=\"str_time\" type=\"str_moveWait\" xmlType=\"object\" /><3 type=\"str_appearance\" xmlType=\"object\"><value isAnimating=\"bol_false\" delay=\"num_2\" animDirection=\"num_1\" animType=\"str_yoyo\" pose=\"num_0\" rows=\"num_1\" columns=\"num_1\" frame=\"num_0\" frames=\"num_1\" direction=\"num_1\" directions=\"num_4\" charset=\"str_charset\\som_wolf\\stand.png\" xmlType=\"object\" /></3><2 walkSpeed=\"num_0.13\" duration=\"num_0.203287435051948\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_-1\" x=\"num_25\" xmlType=\"object\" /></2><1 walkSpeed=\"num_0.13\" duration=\"num_0.411096095821889\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_-16\" x=\"num_48\" xmlType=\"object\" /></1><0 type=\"str_appearance\" xmlType=\"object\"><value isAnimating=\"bol_true\" delay=\"num_2\" animDirection=\"num_1\" animType=\"str_loop\" pose=\"num_0\" rows=\"num_1\" columns=\"num_1\" frame=\"num_0\" frames=\"num_3\" direction=\"num_1\" directions=\"num_4\" charset=\"str_charset\\som_wolf\\walk.png\" xmlType=\"object\" /></0></8><7 value=\"str_bigDog\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><6 value=\"str_mom\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><5 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_Mom: I can't imagine why not.\\!\r I had it drafted up by the best chef in town.\" type=\"str_textbox\" xmlType=\"object\" /></5><4 type=\"str_move\" sprite=\"str_mom\" xmlType=\"array\"><1 value=\"str_up\" type=\"str_direction\" xmlType=\"object\" /><0 walkSpeed=\"num_0.26\" duration=\"num_0.26\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_0\" x=\"num_-16\" xmlType=\"object\" /></0></4><3 value=\"num_0.1\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><2 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_[richGirl]: Do you think [dog]\r will like this recipe?\" type=\"str_textbox\" xmlType=\"object\" /></2><1 type=\"str_move\" sprite=\"str_bigDog\" xmlType=\"array\"><4 type=\"str_appearance\" xmlType=\"object\"><value isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" pose=\"num_0\" rows=\"num_1\" columns=\"num_1\" frame=\"num_0\" frames=\"num_1\" direction=\"num_1\" directions=\"num_4\" charset=\"str_charset\\som_wolf\\stand.png\" xmlType=\"object\" /></4><3 walkSpeed=\"num_0.26\" duration=\"num_2.08\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_128\" x=\"num_0\" xmlType=\"object\" /></3><2 duration=\"num_0\" autoAnim=\"bol_false\" autoDirection=\"bol_false\" type=\"str_moveAbsolute\" xmlType=\"object\"><position y=\"num_64\" x=\"num_56\" xmlType=\"object\" /></2><1 type=\"str_appearance\" xmlType=\"object\"><value isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_loop\" pose=\"num_0\" rows=\"num_1\" columns=\"num_1\" frame=\"num_0\" frames=\"num_3\" direction=\"num_2\" directions=\"num_4\" charset=\"str_charset\\som_wolf\\walk.png\" xmlType=\"object\" /></1><0 value=\"num_0.8\" mode=\"str_time\" type=\"str_moveWait\" xmlType=\"object\" /></1><0 value=\"num_1\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /></auto></scripts><initialAppearance isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_1\" frame=\"num_1\" directions=\"num_1\" direction=\"num_0\" charset=\"str_charset\\invisible.png\" xmlType=\"object\" /></data></0></sprites><map format=\"num_2\" width=\"num_20\" height=\"num_15\" chipset=\"str_chipset\\robotrek_indoors.png\" collision=\"str__111111111111111111111111111111111100111110001111000000000000111100111110001111100111100001111110111100001111100111101101111100111001101111100111101101111100111001101111100111101101111100111100001111110111100001111100111111111111100001111111111100000111111111100001111111111111111111111111111111111111\" xmlType=\"object\"><layers xmlType=\"array\"><2 value=\"str__2p2p2p2p2p2p2p2p2p2p2p2p2p2p2p58585858585858585858585858582p0000000000d2000000000000008w4d000000000000000000000000008x4d0000000000d0000000000000008y4d0000000000d100000000000000004d000000an00d100000000000000004d0000000000d100000000000000004d0000000000d100000000000000004d0000000000d10000an00000000004d0000000000d100000000000000004d0000000000d100000000000000004d0000000000d100000000000000004d000000an00d100000000000000004d0000000000d200004c56565656562p000000000000008w4d2p2p2p2p2p2p000000000000008x4d2p2p2p2p2p2p000000000000008y4d2p2p2p2p2p2p56565656565656562p2p2p2p2p2p2p2p2p2p2p2p2p2p2p2p2p2p2p2p2p2p\" xmlType=\"variable\" /><1 value=\"str__00000000000000000000000000000000000000000000000000000000000000009oai000000000000000000000000008v00000000000000000000000000009paj00000000000000000000000000000000000000c60000000000000000000000000000c70000000000000000000000000000c80000000000000o1i2c0000000000000000000000000p002d0000000000000000000000000q1k2e0000000000000000000000000000000000000000c60000000000000000000000000000c70000000000000000000000000000c8000000000000000000000000000000000000000000000000000000000000000000000000000000920000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000\" xmlType=\"variable\" /><0 value=\"str__0000000000000000000000000000000000000000000000000000000000000l1f29336r6r0j1d27313v6o6o6o000l1f290g6r6r6r6r6r1b1b6o6o6o000l1f29336r6r0i1c26303u6o6o6o000l1f29336r6r0k0d17ac6o6o6o6o000l1f29331a6r0k0d17ad6o6o6o6o000l1f29336r6r0k0d17ae6o7x9l6o000l1f29336r6r0k0d176o6o7y9m6o000la629336r6r0k0d171a6o7y9m6o000l1f29336r6r0k0d176o6o7y9m6o000l1f29336r6r0k0d17ac6o7z9n6o000l1f29336r6r0k0d17ad6o6o6o6o000l1f29331a6r0k0d17ae6o6o6o6o000l1f29336r6r0j1d000000000000000l1f29336r6r6r6r000000000000000l1f29336r6r6r6r000000000000000l1f29336r6r6r6r00000000000000000000000000000000000000000000000000000000000000000000000000\" xmlType=\"variable\" /></layers></map></level></data>";
data_xml = new XML(data_txt);
onLoad(data_xml);
Symbol 303 MovieClip [levels\dogs_pet\110.lvl] Frame 1
data_txt = "<data xmlType=\"object\"><level name=\"str_levels\\dogs_pet\\110.lvl\" xmlType=\"object\"><sprites xmlType=\"array\"><9 name=\"str_lilly\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_3\" charset=\"str_charset\\lilly\\dressed\\walk.png\" xmlType=\"object\" /><position y=\"num_184\" x=\"num_200\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><hitbox height=\"num_16\" width=\"num_16\" xmlType=\"object\" /><copySprite id=\"str_\" xmlType=\"object\"><data xmlType=\"object\" /></copySprite><scripts xmlType=\"object\" /><initialAppearance isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_3\" charset=\"str_charset\\lilly\\dressed\\walk.png\" xmlType=\"object\" /></data></9><8 name=\"str_kara\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_3\" charset=\"str_charset\\kara\\dressed\\walk.png\" xmlType=\"object\" /><position y=\"num_152\" x=\"num_200\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><hitbox height=\"num_16\" width=\"num_16\" xmlType=\"object\" /><copySprite id=\"str_\" xmlType=\"object\"><data xmlType=\"object\" /></copySprite><scripts xmlType=\"object\" /><initialAppearance isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_3\" charset=\"str_charset\\kara\\dressed\\walk.png\" xmlType=\"object\" /></data></8><7 name=\"str_book\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite charset=\"str_charset\\objects\\book.png\" directions=\"num_1\" frames=\"num_2\" columns=\"num_1\" rows=\"num_1\" animType=\"str_once\" animDirection=\"num_1\" frame=\"num_1\" direction=\"num_0\" pose=\"num_0\" xmlType=\"object\" /><position x=\"num_216\" y=\"num_136\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><hitbox height=\"num_16\" width=\"num_16\" xmlType=\"object\" /><copySprite id=\"str_\" xmlType=\"object\"><data xmlType=\"object\" /></copySprite><scripts xmlType=\"object\"><auto xmlType=\"array\" /><talk xmlType=\"array\" /><collision xmlType=\"array\" /></scripts><initialAppearance charset=\"str_charset\\objects\\book.png\" directions=\"num_1\" frames=\"num_2\" columns=\"num_1\" rows=\"num_1\" animType=\"str_once\" animDirection=\"num_1\" frame=\"num_1\" direction=\"num_0\" pose=\"num_0\" xmlType=\"object\" /></data></7><6 name=\"str_newGirl\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_0\" charset=\"str_charset\\ridingHood\\dress\\walk.png\" xmlType=\"object\" /><position y=\"num_200\" x=\"num_8\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><hitbox height=\"num_16\" width=\"num_16\" xmlType=\"object\" /><copySprite id=\"str_\" xmlType=\"object\"><data xmlType=\"object\" /></copySprite><scripts xmlType=\"object\" /><initialAppearance isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_0\" charset=\"str_charset\\ridingHood\\dress\\walk.png\" xmlType=\"object\" /></data></6><5 name=\"str_bigDog\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_1\" frame=\"num_0\" directions=\"num_4\" direction=\"num_1\" charset=\"str_charset\\som_wolf\\stand.png\" xmlType=\"object\" /><position y=\"num_168\" x=\"num_168\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><hitbox height=\"num_16\" width=\"num_16\" xmlType=\"object\" /><copySprite id=\"str_\" xmlType=\"object\"><data xmlType=\"object\" /></copySprite><scripts xmlType=\"object\" /><initialAppearance isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_1\" frame=\"num_0\" directions=\"num_4\" direction=\"num_1\" charset=\"str_charset\\som_wolf\\stand.png\" xmlType=\"object\" /></data></5><4 name=\"str_maid\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_2\" columns=\"num_4\" pose=\"num_0\" frames=\"num_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_2\" charset=\"str_charset\\maid.png\" xmlType=\"object\" /><position y=\"num_136\" x=\"num_8\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><hitbox height=\"num_16\" width=\"num_16\" xmlType=\"object\" /><copySprite id=\"str_\" xmlType=\"object\"><data xmlType=\"object\" /></copySprite><scripts xmlType=\"object\" /><initialAppearance isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_2\" columns=\"num_4\" pose=\"num_0\" frames=\"num_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_2\" charset=\"str_charset\\maid.png\" xmlType=\"object\" /></data></4><3 name=\"str_dad\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_2\" columns=\"num_4\" pose=\"num_0\" frames=\"num_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_2\" charset=\"str_charset\\people1.png\" xmlType=\"object\" /><position y=\"num_104\" x=\"num_8\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><hitbox height=\"num_16\" width=\"num_16\" xmlType=\"object\" /><copySprite id=\"str_\" xmlType=\"object\"><data xmlType=\"object\" /></copySprite><scripts xmlType=\"object\" /><initialAppearance isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_2\" columns=\"num_4\" pose=\"num_0\" frames=\"num_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_2\" charset=\"str_charset\\people1.png\" xmlType=\"object\" /></data></3><2 name=\"str_mom\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_2\" columns=\"num_4\" pose=\"num_1\" frames=\"num_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_2\" charset=\"str_charset\\people2.png\" xmlType=\"object\" /><position y=\"num_72\" x=\"num_8\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><hitbox height=\"num_16\" width=\"num_16\" xmlType=\"object\" /><copySprite id=\"str_\" xmlType=\"object\"><data xmlType=\"object\" /></copySprite><scripts xmlType=\"object\" /><initialAppearance isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_2\" columns=\"num_4\" pose=\"num_1\" frames=\"num_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_2\" charset=\"str_charset\\people2.png\" xmlType=\"object\" /></data></2><1 name=\"str_richGirl\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_1\" charset=\"str_charset\\girl1\\dressed\\walk.png\" xmlType=\"object\" /><position y=\"num_168\" x=\"num_120\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><hitbox height=\"num_16\" width=\"num_16\" xmlType=\"object\" /><copySprite id=\"str_\" xmlType=\"object\"><data xmlType=\"object\" /></copySprite><scripts xmlType=\"object\" /><initialAppearance isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_1\" charset=\"str_charset\\girl1\\dressed\\walk.png\" xmlType=\"object\" /></data></1><0 name=\"str_EVENTS\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_1\" frame=\"num_1\" directions=\"num_1\" direction=\"num_0\" charset=\"str_charset\\invisible.png\" xmlType=\"object\" /><position y=\"num_8\" x=\"num_8\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><hitbox height=\"num_16\" width=\"num_16\" xmlType=\"object\" /><copySprite id=\"str_\" xmlType=\"object\"><data xmlType=\"object\" /></copySprite><scripts xmlType=\"object\"><auto xmlType=\"array\"><49 relativeLevel=\"str_120.lvl\" level=\"str_levels\\dogs_pet\\120.lvl\" type=\"str_teleport\" xmlType=\"object\"><position y=\"num_192\" x=\"num_624\" xmlType=\"object\" /><transOut mask=\"str_\" easing=\"str_easeLinear\" seconds=\"num_0.5\" effect=\"str_snapshot\" xmlType=\"object\" /><transIn mask=\"str_\" easing=\"str_easeLinear\" seconds=\"num_0.5\" effect=\"str_cut\" xmlType=\"object\" /></49><48 message=\"str_\" type=\"str_comment\" xmlType=\"object\" /><47 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_What a peculiar dog.\" type=\"str_textbox\" xmlType=\"object\" /></47><46 type=\"str_move\" sprite=\"str_kara\" xmlType=\"array\"><0 type=\"str_appearance\" xmlType=\"object\"><value isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" pose=\"num_0\" rows=\"num_1\" columns=\"num_1\" frame=\"num_1\" frames=\"num_3\" direction=\"num_2\" directions=\"num_4\" charset=\"str_charset\\kara\\dressed\\walk.png\" xmlType=\"object\" /></0></46><45 value=\"str_bigDog\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><44 value=\"str_richGirl\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><43 type=\"str_move\" sprite=\"str_richGirl\" xmlType=\"array\"><1 walkSpeed=\"num_0.13\" duration=\"num_0.52\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_64\" x=\"num_0\" xmlType=\"object\" /></1><0 walkSpeed=\"num_0.13\" duration=\"num_0.536003731330296\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_16\" x=\"num_-64\" xmlType=\"object\" /></0></43><42 type=\"str_move\" sprite=\"str_bigDog\" xmlType=\"array\"><1 walkSpeed=\"num_0.13\" duration=\"num_0.52\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_64\" x=\"num_0\" xmlType=\"object\" /></1><0 walkSpeed=\"num_0.13\" duration=\"num_0.411096095821889\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_16\" x=\"num_-48\" xmlType=\"object\" /></0></42><41 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_[richGirl]: \\.Er,\\. that happens when\r he gets tired.\\! So I need to\\2 send [dog]\r outside for his beauty rest.\" type=\"str_textbox\" xmlType=\"object\" /></41><40 type=\"str_move\" sprite=\"str_richGirl\" xmlType=\"array\"><0 value=\"str_up\" type=\"str_direction\" xmlType=\"object\" /></40><39 value=\"num_0.5\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><38 value=\"str_bigDog\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><37 type=\"str_move\" sprite=\"str_bigDog\" xmlType=\"array\"><1 type=\"str_appearance\" xmlType=\"object\"><value isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" pose=\"num_0\" rows=\"num_1\" columns=\"num_1\" frame=\"num_0\" frames=\"num_1\" direction=\"num_3\" directions=\"num_4\" charset=\"str_charset\\som_wolf\\stand.png\" xmlType=\"object\" /></1><0 walkSpeed=\"num_0.13\" duration=\"num_0.13\" autoAnim=\"bol_false\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_0\" x=\"num_-16\" xmlType=\"object\" /></0></37><36 type=\"str_move\" sprite=\"str_richGirl\" xmlType=\"array\"><1 value=\"str_left\" type=\"str_direction\" xmlType=\"object\" /><0 walkSpeed=\"num_0.13\" duration=\"num_0.13\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_0\" x=\"num_16\" xmlType=\"object\" /></0></36><35 target=\"str_SPRITES\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_cum\" linkage=\"str_\" type=\"str_swf\" xmlType=\"object\"><data xmlType=\"object\" /></35><34 value=\"str_richGirl\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><33 type=\"str_move\" sprite=\"str_richGirl\" xmlType=\"array\"><2 walkSpeed=\"num_0.13\" duration=\"num_0.13\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_0\" x=\"num_16\" xmlType=\"object\" /></2><1 walkSpeed=\"num_0.13\" duration=\"num_0.13\" autoAnim=\"bol_false\" autoDirection=\"bol_false\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_16\" x=\"num_0\" xmlType=\"object\" /></1><0 walkSpeed=\"num_0\" duration=\"num_0\" autoAnim=\"bol_false\" autoDirection=\"bol_false\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_-16\" x=\"num_0\" xmlType=\"object\" /></0></33><32 name=\"str_\" volume=\"num_100\" loop=\"bol_false\" file=\"str_sound\\sexy\\gasp08.mp3\" type=\"str_sound\" xmlType=\"object\" /><31 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_How odd...\\2\rThere appears to be something\rcoming out of him.\" type=\"str_textbox\" xmlType=\"object\" /></31><30 type=\"str_move\" sprite=\"str_kara\" xmlType=\"array\"><0 type=\"str_appearance\" xmlType=\"object\"><value isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" pose=\"num_0\" rows=\"num_1\" columns=\"num_1\" frame=\"num_1\" frames=\"num_1\" direction=\"num_2\" directions=\"num_1\" charset=\"str_charset\\kara\\dressed\\lookDown.png\" xmlType=\"object\" /></0></30><29 value=\"num_1\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><28 type=\"str_move\" sprite=\"str_cum\" xmlType=\"array\"><1 duration=\"num_0\" autoAnim=\"bol_false\" autoDirection=\"bol_false\" type=\"str_moveAbsolute\" xmlType=\"object\"><position y=\"num_178\" x=\"num_170\" xmlType=\"object\" /></1><0 type=\"str_appearance\" xmlType=\"object\"><value charset=\"str_charset\\cum_drip.png\" directions=\"num_1\" frames=\"num_4\" columns=\"num_1\" rows=\"num_1\" animType=\"str_loop\" animDirection=\"num_1\" isAnimating=\"bol_true\" delay=\"num_2\" xmlType=\"object\" /></0></28><27 target=\"str_SPRITES\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_cum\" linkage=\"str_rpgSprite\" type=\"str_swf\" xmlType=\"object\"><data xmlType=\"object\" /></27><26 value=\"num_0.5\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><25 type=\"str_move\" sprite=\"str_richGirl\" xmlType=\"array\"><0 value=\"str_bigDog\" type=\"str_lookAt\" xmlType=\"object\" /></25><24 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_It is certainly a...\\2 big\\. dog.\" type=\"str_textbox\" xmlType=\"object\" /></24><23 type=\"str_move\" sprite=\"str_kara\" xmlType=\"array\"><1 value=\"str_down\" type=\"str_direction\" xmlType=\"object\" /><0 walkSpeed=\"num_0.26\" duration=\"num_0.13\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_0\" x=\"num_-8\" xmlType=\"object\" /></0></23><22 value=\"num_0.3\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><21 type=\"str_move\" sprite=\"str_bigDog\" xmlType=\"array\"><0 type=\"str_appearance\" xmlType=\"object\"><value isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_loop\" pose=\"num_0\" rows=\"num_1\" columns=\"num_1\" frame=\"num_0\" frames=\"num_2\" direction=\"num_1\" directions=\"num_4\" charset=\"str_charset\\som_wolf\\hump.png\" xmlType=\"object\" /></0></21><20 value=\"str_kara\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><19 message=\"str_\" type=\"str_comment\" xmlType=\"object\" /><18 type=\"str_move\" sprite=\"str_lilly\" xmlType=\"array\"><0 type=\"str_appearance\" xmlType=\"object\"><value isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" pose=\"num_0\" rows=\"num_1\" columns=\"num_1\" frame=\"num_1\" frames=\"num_3\" direction=\"num_3\" directions=\"num_4\" charset=\"str_charset\\lilly\\dressed\\walk.png\" xmlType=\"object\" /></0></18><17 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_\\.Hmm...\\. I see what you mean.\" type=\"str_textbox\" xmlType=\"object\" /></17><16 value=\"str_lilly\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><15 type=\"str_move\" sprite=\"str_lilly\" xmlType=\"array\"><2 type=\"str_appearance\" xmlType=\"object\"><value isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_loop\" pose=\"num_0\" rows=\"num_1\" columns=\"num_1\" frame=\"num_0\" frames=\"num_4\" direction=\"num_1\" directions=\"num_2\" charset=\"str_charset\\lilly\\dressed\\sitLick.png\" xmlType=\"object\" /></2><1 walkSpeed=\"num_0.26\" duration=\"num_0.065\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_0\" x=\"num_-4\" xmlType=\"object\" /></1><0 walkSpeed=\"num_0.26\" duration=\"num_0.13\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_-8\" x=\"num_0\" xmlType=\"object\" /></0></15><14 value=\"str_lilly\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><13 value=\"num_0.1\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><12 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" typingSound=\"str_\" background=\"str_\" face=\"str_\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_[richGirl]: \\.Yes,\\. that is an easy mistake\r to make.\\! He is a similar looking breed.\" type=\"str_textbox\" xmlType=\"object\" /></12><11 type=\"str_move\" sprite=\"str_richGirl\" xmlType=\"array\"><0 value=\"str_left\" type=\"str_direction\" xmlType=\"object\" /></11><10 value=\"str_richGirl\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><9 value=\"num_0.1\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><8 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_It kind of looks like a...\\2 wolf.\" type=\"str_textbox\" xmlType=\"object\" /></8><7 type=\"str_move\" sprite=\"str_lilly\" xmlType=\"array\"><1 value=\"str_left\" type=\"str_direction\" xmlType=\"object\" /><0 walkSpeed=\"num_0.26\" duration=\"num_0.13\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_-8\" x=\"num_0\" xmlType=\"object\" /></0></7><6 value=\"num_0.1\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><5 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_Goodness.\\. I haven't ever seen a dog\rquite like this before.\" type=\"str_textbox\" xmlType=\"object\" /></5><4 type=\"str_move\" sprite=\"str_kara\" xmlType=\"array\"><0 walkSpeed=\"num_0.26\" duration=\"num_0.13\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_0\" x=\"num_-8\" xmlType=\"object\" /></0></4><3 value=\"num_0.1\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><2 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_[richGirl]: And this is my Wol-dog.\" type=\"str_textbox\" xmlType=\"object\" /></2><1 type=\"str_move\" sprite=\"str_richGirl\" xmlType=\"array\"><0 walkSpeed=\"num_0.26\" duration=\"num_0.26\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_0\" x=\"num_16\" xmlType=\"object\" /></0></1><0 value=\"num_0.5\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /></auto></scripts><initialAppearance isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_1\" frame=\"num_1\" directions=\"num_1\" direction=\"num_0\" charset=\"str_charset\\invisible.png\" xmlType=\"object\" /></data></0></sprites><map format=\"num_3\" isCompressed=\"bol_true\" tileSize=\"num_16\" width=\"num_20\" height=\"num_15\" collision=\"str_111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110101111111111110001100011111111111111000000001111111111000001100011111111111000111101111111111110111111111111111111111111111111111\" xmlType=\"object\"><layers xmlType=\"array\"><2 value=\"str_04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04b04b04b04b04b04b04b04b04b04b04a04a04a04a04a04a04a04a04a05a00000000000000000000000000000003a04a04a04a04a04a04a04a04a05a00000000000000000000000000000003a04a04a04a04a04a04a04a04a05a00000000000000000000000000000003a04a04a04a04a04a04a04a04a05a00000000000000000000000000000003a04a04a04a04a04a04a04a04a05a00000000000000000000000000000003a04a04a04a04a04a04a04a04a05a00000000000000000000000000000003a04a04a04a04a04a04a04a04a05a00000000000000000000000000000003a04a04a04a04a04a04a04a04a04a04900004904904904904904904904904a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a\" xmlType=\"variable\" /><1 value=\"str_0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000j90k90000000000000000000000000000000000000000000000000000000ja0ka0rd0sd0000l80000000000000000000000000000000000000000000000tb0re0se0000000000000000000000000000000000000000000000000000000rf0sf0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ie0000000je0000000000000000000000000000000000000j80000000000if0mf0nf0jf0000ia000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000\" xmlType=\"variable\" /><0 value=\"str_04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04b04b04b04b04b04b04b04b04b04b04a04a04a04a04a04a04a04a04a05a0ec0ec0ec0ec0ec0o10o10q10ec0ec03a04a04a04a04a04a04a04a04a05a0ee0ee0ee0ee0ee0o20o20q20ee0ee03a04a04a04a04a04a04a04a04a05a0e10f10ef0ef0ef0o30o30q30e90f903a04a04a04a04a04a04a04a04a05a0e20f204d04d04d04d04d04d0ea0fa03a04a04a04a04a04a04a04a04a05a0e30f304e04e04e04e04e04e04e05e03a04a04a04a04a04a04a04a04a05a03e04e04e04e04e0c50d504e04e05e03a04a04a04a04a04a04a04a04a05a03f04e04f04f04f04f04f04f04f05f03a04a04a04a04a04a04a04a04a04a04904e04904904904904904904904904a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a\" xmlType=\"variable\" /></layers><chipsets xmlType=\"array\"><0 value=\"str_chipset\\castle_inner.png\" xmlType=\"variable\" /></chipsets></map></level></data>";
data_xml = new XML(data_txt);
onLoad(data_xml);
Symbol 304 MovieClip [levels\dogs_pet\120.lvl] Frame 1
data_txt = "<data xmlType=\"object\"><level name=\"str_levels\\dogs_pet\\120.lvl\" xmlType=\"object\"><sprites xmlType=\"array\"><5 name=\"str_door_2\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite charset=\"str_charset\\objects\\doors\\iog1.png\" directions=\"num_1\" frames=\"num_3\" columns=\"num_1\" rows=\"num_1\" animType=\"str_once\" animDirection=\"num_1\" delay=\"num_2\" pose=\"num_0\" direction=\"num_0\" frame=\"num_0\" xmlType=\"object\" /><position y=\"num_177\" x=\"num_440\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><hitbox height=\"num_16\" width=\"num_16\" xmlType=\"object\" /><copySprite id=\"str_door\" xmlType=\"object\"><data xmlType=\"object\" /></copySprite><scripts xmlType=\"object\" /><initialAppearance charset=\"str_charset\\objects\\doors\\iog1.png\" directions=\"num_1\" frames=\"num_3\" columns=\"num_1\" rows=\"num_1\" animType=\"str_once\" animDirection=\"num_1\" delay=\"num_2\" pose=\"num_0\" direction=\"num_0\" frame=\"num_0\" xmlType=\"object\" /></data></5><4 name=\"str_door_1\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite charset=\"str_charset\\objects\\doors\\iog1.png\" directions=\"num_1\" frames=\"num_3\" columns=\"num_1\" rows=\"num_1\" animType=\"str_once\" animDirection=\"num_1\" delay=\"num_2\" pose=\"num_0\" direction=\"num_0\" frame=\"num_0\" xmlType=\"object\" /><position x=\"num_536\" y=\"num_224\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><hitbox height=\"num_16\" width=\"num_16\" xmlType=\"object\" /><copySprite id=\"str_door\" xmlType=\"object\"><data xmlType=\"object\" /></copySprite><scripts xmlType=\"object\" /><initialAppearance charset=\"str_charset\\objects\\doors\\iog1.png\" directions=\"num_1\" frames=\"num_3\" columns=\"num_1\" rows=\"num_1\" animType=\"str_once\" animDirection=\"num_1\" delay=\"num_2\" pose=\"num_0\" direction=\"num_0\" frame=\"num_0\" xmlType=\"object\" /></data></4><3 name=\"str_EVENTS\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_1\" frame=\"num_1\" directions=\"num_1\" direction=\"num_0\" charset=\"str_charset\\invisible.png\" xmlType=\"object\" /><position x=\"num_632\" y=\"num_184\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><hitbox height=\"num_16\" width=\"num_16\" xmlType=\"object\" /><copySprite id=\"str_\" xmlType=\"object\"><data xmlType=\"object\" /></copySprite><scripts xmlType=\"object\"><auto xmlType=\"array\"><28 relativeLevel=\"str_130.lvl\" level=\"str_levels\\dogs_pet\\130.lvl\" type=\"str_teleport\" xmlType=\"object\"><position y=\"num_0\" x=\"num_0\" xmlType=\"object\" /><transOut mask=\"str_\" easing=\"str_easeLinear\" seconds=\"num_0.5\" effect=\"str_snapshot\" xmlType=\"object\" /><transIn mask=\"str_\" easing=\"str_easeLinear\" seconds=\"num_0.5\" effect=\"str_fade\" xmlType=\"object\" /></28><27 message=\"str_\" type=\"str_comment\" xmlType=\"object\" /><26 value=\"str_richGirl\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><25 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_[newGirl]: \\.*pant*\\2 Y\\.-Yes Miss [richGirl].\" type=\"str_textbox\" xmlType=\"object\" /></25><24 name=\"str_\" volume=\"num_100\" loop=\"bol_false\" file=\"str_sound\\sexy\\moan15.mp3\" type=\"str_sound\" xmlType=\"object\" /><23 value=\"num_0.5\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><22 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_Finish the job properly this time.\\!\rAnd do not stop until you have removed\revery drop of "playtime juice" from my dog.\" type=\"str_textbox\" xmlType=\"object\" /></22><21 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_comment\" message=\"str_* text: Finish the job properly this time.\\!\rDon't stop until your master is\rfully taken care of.\" commentedType=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_Finish the job properly this time.\\!\rDon't stop until your master is\rfully taken care of.\" type=\"str_textbox\" xmlType=\"object\" /></21><20 type=\"str_move\" sprite=\"str_richGirl\" xmlType=\"array\"><0 walkSpeed=\"num_0.13\" duration=\"num_0.13\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_0\" x=\"num_16\" xmlType=\"object\" /></0></20><19 name=\"str_surprise\" volume=\"num_100\" loop=\"bol_false\" file=\"str_sound\\sexy\\squirm02 loop.mp3\" type=\"str_sound\" xmlType=\"object\" /><18 name=\"str_surprise\" volume=\"num_100\" loop=\"bol_false\" file=\"str_sound\\sexy\\orgasm02.mp3\" type=\"str_comment\" message=\"str_* sound: orgasm02.mp3\" commentedType=\"str_sound\" xmlType=\"object\" /><17 type=\"str_move\" sprite=\"str_newGirl\" xmlType=\"array\"><0 type=\"str_appearance\" xmlType=\"object\"><value isAnimating=\"bol_true\" delay=\"num_2\" animDirection=\"num_1\" animType=\"str_loop\" pose=\"num_0\" rows=\"num_1\" columns=\"num_1\" frame=\"num_0\" frames=\"num_12\" direction=\"num_0\" directions=\"num_2\" charset=\"str_charset\\ridingHood\\nightie\\sexyProne_awake_pumpLoop.png\" xmlType=\"object\" /></0></17><16 value=\"str_bigDog\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><15 type=\"str_move\" sprite=\"str_bigDog\" xmlType=\"array\"><2 type=\"str_appearance\" xmlType=\"object\"><value isAnimating=\"bol_true\" delay=\"num_12\" animDirection=\"num_1\" animType=\"str_loop\" pose=\"num_0\" rows=\"num_1\" columns=\"num_1\" frame=\"num_0\" frames=\"num_2\" direction=\"num_1\" directions=\"num_4\" charset=\"str_charset\\som_wolf\\hump.png\" xmlType=\"object\" /></2><1 walkSpeed=\"num_0.096\" duration=\"num_0.674406405663529\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_-45\" x=\"num_103\" xmlType=\"object\" /></1><0 type=\"str_appearance\" xmlType=\"object\"><value isAnimating=\"bol_false\" delay=\"num_2\" animDirection=\"num_1\" animType=\"str_loop\" pose=\"num_0\" rows=\"num_1\" columns=\"num_1\" frame=\"num_0\" frames=\"num_3\" direction=\"num_1\" directions=\"num_4\" charset=\"str_charset\\som_wolf\\walk.png\" xmlType=\"object\" /></0></15><14 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_[newGirl]: \\.Mmm...\\. wha?\" type=\"str_textbox\" xmlType=\"object\" /></14><13 type=\"str_move\" sprite=\"str_newGirl\" xmlType=\"array\"><0 type=\"str_appearance\" xmlType=\"object\"><value isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" pose=\"num_0\" rows=\"num_1\" columns=\"num_1\" frame=\"num_0\" frames=\"num_1\" direction=\"num_0\" directions=\"num_2\" charset=\"str_charset\\ridingHood\\nightie\\proneLay.png\" xmlType=\"object\" /></0></13><12 value=\"num_0.1\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><11 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_[richGirl]: Bad girl!\\2\r [dog] is still...\\3 restless.\" type=\"str_textbox\" xmlType=\"object\" /></11><10 value=\"str_bigDog\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><9 value=\"str_richGirl\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><8 type=\"str_move\" sprite=\"str_richGirl\" xmlType=\"array\"><1 value=\"str_newGirl\" type=\"str_lookAt\" xmlType=\"object\" /><0 walkSpeed=\"num_0.13\" duration=\"num_0.203125\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_25\" x=\"num_0\" xmlType=\"object\" /></0></8><7 type=\"str_move\" sprite=\"str_bigDog\" xmlType=\"array\"><2 type=\"str_appearance\" xmlType=\"object\"><value isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" pose=\"num_0\" rows=\"num_1\" columns=\"num_1\" frame=\"num_0\" frames=\"num_1\" direction=\"num_1\" directions=\"num_4\" charset=\"str_charset\\som_wolf\\stand.png\" xmlType=\"object\" /></2><1 walkSpeed=\"num_0.13\" duration=\"num_0.357592317625813\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_41\" x=\"num_16\" xmlType=\"object\" /></1><0 type=\"str_appearance\" xmlType=\"object\"><value isAnimating=\"bol_false\" delay=\"num_2\" animDirection=\"num_1\" animType=\"str_loop\" pose=\"num_0\" rows=\"num_1\" columns=\"num_1\" frame=\"num_0\" frames=\"num_3\" direction=\"num_2\" directions=\"num_4\" charset=\"str_charset\\som_wolf\\walk.png\" xmlType=\"object\" /></0></7><6 update=\"bol_false\" type=\"str_setVariable\" reference=\"bol_true\" xmlType=\"object\"><condition xmlType=\"array\"><2 value=\"str_[SPRITES.door_1.open()]\" xmlType=\"variable\" /><1 value=\"str_=\" xmlType=\"variable\" /><0 value=\"str_this.waitPromise\" xmlType=\"variable\" /></condition></6><5 value=\"str_richGirl\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><4 value=\"str_bigDog\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><3 type=\"str_move\" sprite=\"str_bigDog\" xmlType=\"array\"><0 duration=\"num_0\" autoAnim=\"bol_false\" autoDirection=\"bol_false\" type=\"str_moveAbsolute\" xmlType=\"object\"><position y=\"num_231\" x=\"num_536\" xmlType=\"object\" /></0></3><2 type=\"str_move\" sprite=\"str_richGirl\" xmlType=\"array\"><0 duration=\"num_0\" autoAnim=\"bol_false\" autoDirection=\"bol_false\" type=\"str_moveAbsolute\" xmlType=\"object\"><position y=\"num_231\" x=\"num_536\" xmlType=\"object\" /></0></2><1 value=\"num_0.5\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><0 type=\"str_move\" sprite=\"str_player\" xmlType=\"array\"><0 duration=\"num_0\" autoAnim=\"bol_false\" autoDirection=\"bol_false\" type=\"str_moveAbsolute\" xmlType=\"object\"><position y=\"num_192\" x=\"num_632\" xmlType=\"object\" /></0></0></auto></scripts><initialAppearance isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_1\" frame=\"num_1\" directions=\"num_1\" direction=\"num_0\" charset=\"str_charset\\invisible.png\" xmlType=\"object\" /></data></3><2 name=\"str_bigDog\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_1\" frame=\"num_0\" directions=\"num_4\" direction=\"num_1\" charset=\"str_charset\\som_wolf\\stand.png\" xmlType=\"object\" /><position y=\"num_392\" x=\"num_632\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><hitbox height=\"num_16\" width=\"num_16\" xmlType=\"object\" /><copySprite id=\"str_\" xmlType=\"object\"><data xmlType=\"object\" /></copySprite><scripts xmlType=\"object\" /><initialAppearance isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_1\" frame=\"num_0\" directions=\"num_4\" direction=\"num_1\" charset=\"str_charset\\som_wolf\\stand.png\" xmlType=\"object\" /></data></2><1 name=\"str_newGirl\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_1\" frame=\"num_0\" directions=\"num_2\" direction=\"num_0\" charset=\"str_charset\\ridingHood\\nightie\\sleep.png\" xmlType=\"object\" /><position y=\"num_216\" x=\"num_664\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><hitbox height=\"num_16\" width=\"num_16\" xmlType=\"object\" /><copySprite id=\"str_\" xmlType=\"object\"><data xmlType=\"object\" /></copySprite><scripts xmlType=\"object\" /><initialAppearance isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_1\" frame=\"num_0\" directions=\"num_2\" direction=\"num_0\" charset=\"str_charset\\ridingHood\\nightie\\sleep.png\" xmlType=\"object\" /></data></1><0 name=\"str_richGirl\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_2\" charset=\"str_charset\\girl1\\dressed\\walk.png\" xmlType=\"object\" /><position y=\"num_392\" x=\"num_600\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><hitbox height=\"num_16\" width=\"num_16\" xmlType=\"object\" /><copySprite id=\"str_\" xmlType=\"object\"><data xmlType=\"object\" /></copySprite><scripts xmlType=\"object\" /><initialAppearance isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_2\" charset=\"str_charset\\girl1\\dressed\\walk.png\" xmlType=\"object\" /></data></0></sprites><map format=\"num_2\" width=\"num_48\" height=\"num_40\" chipset=\"str_chipset\\iog_capeTown.png\" collision=\"str__111111111111111111111111111111111111111111111111100000100000011111000000000000011111111110000010000001111111111111110001111111111000000000000111111111111001000111111111111111100000011111111011100100011110000000011110000001111111111110010001111111111101111000000111111111111000000110000011110111100000011111111111111111111000001111011110000001111111111110000001100000111101111000000111111111111000000110000011110111100000011111111011100000011000001111011110000001111111111110000001100000111101111000000111111111111000000110000011110100000000011111000000000000011111111111011110000001111100110000000001111000000001111000000111100111000000000111111111111111100000011100111100000000011111111110000000000000000011110000000001111111111000000000000000001111000001000111111111100000000000000000111111111000011111111111111110000001111111110011110101111111111111111000000111110000001000010111110111111111100000011111000000000000011110011111111110000001111100000000000001111001111111000000000111110000000000010111100111111100000000011111000000000001011110011111110000000001111100000000000001111101111000000000000111110000000000000111110111111100000000011111000000000001011110011111110000000001111100000000000101001001111111000000000111110000000000000100100111111111111100011111000000000000010010011111111110010001111100000000000101001100001111000001000111111111100000010101111111111111100100011111111110000000010111111111111110010001110011111000000001000000011000000001000111101111100000010100000100100100000100011100111110000001010000010010010000010001110011111000000001010000001000000001000111001111100000000101000001100000000100011100111110000000010000000110000000010001110011111000000001000000001000000001000111111111100000000000010000100000001100011111111110000000000001000010000000110001111100000000000000000000001001000001000111110000000000000000000000100100000100011111000000000000000000001011111111110001111111111111111111\" xmlType=\"object\"><layers xmlType=\"array\"><2 value=\"str__7676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676af767676767676767676767676767676767676767676767676767676767676767676767676767676ag767676767676767676767676767676767676767676767676767676767676767676767676767676ah767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676af767676767676767676767676767676767676767676767676767676767676767676767676767676ag767676767676767676767676767676767676767676767676767676767676767676767676767676ah76767676767676767676767676767676767676767676af767676767676767676767676767676767676767676767676767676767676767676767676767676ag767676767676767676767676767676767676767676767676767676767676767676767676767676ah7676767676767676767676767676763o76767676767676767676767676767676767676767676767676767676767676767676767676768y76767676767676767676767676767676767676767676767676767676767676767676767676763o7676767676767676767676767676767676767676767676767676767676767676767676767676767676767636404u5o6i767676767676767676767676767676767676767676767676767676767676767676767637414v5p6j767676767676767676767676767676767676767676767676767676767676767636404u384236404u767676767676767676767676767676767676767676767676767676767676767637414v764337414v397676767676767676767676767676767676767676767676767676767676767638424w5q6k38424w5q6k76767676767676767676767676767676767676767676767676767676767639434x5r6l39434x5r6l767676767676767676767676767676767676767676767676767676767676767676767636404u5o6i767676767676767676767676767676767676767676767676767676767676767676767637414v5p6j767676767676767676767676767676767676767676767676767676767676767676767638424w5q6k76767676767676767676cw3zaf7676767676767676767676767676767676767676767639434x5r6l767676767676767676761c26ag7676767676767676767676767676767676767676767636404u5o6i76767676767676767676cw3zah7676767676767676767676767676767676767676767637414v5p6j767676767676767676767676767676767676767676767676767676767676767676767638424w5q6k767676767676767676767676767676767676767676767676767676767676767676767639434x5r6l767676404u76767676767676767676767676767676767676767676767676767676767636404u5o6i767676414v7676767676767676cw3zaf7676767676767676767676767676767676767637414v5p6j767676424w76767676767676761c26ag7676767676767676767676767676767676767638424w5q6k767676434x7676767676767676cw3zah7676767676767676767676767676767676767639434x5r6l767676767676767676767676767676767676767676767676767676767676767676767636404u5o6i767676364038424w5q36404u5o6i76767636767676767676767676767676767676767637414v5p6j76767637416i434x5r37414v5p6j76767676767676767676767676767676767676767638424w5q6k76767638424w5q6k7638424w5q6k00000000000076767676767676767676767676767639434x5r6l7676766j4336404u5o6i434x5r6l0000000000007676767676767676767676af76767676767676767676766k7637414v5p6j767676760000000000007676767676767676767676ag76767676767676767676766l7638424w5q6k767676390000000000007676767676767676767676ah76767676767676767676764u5o6i434x5r6l7676767636404u5o6i0076767676767676767676767676767676767676767676764v5p6j767676767676767637414v5p6j7676767676767676767676767676767676767676767676764w5q6k76767636404u5o6i38424w5q6k7676767676767676767676767676767676767676767676764x5r6l76767637414v5p6j39434x5r6l7676767676767676767676767676767676767676767676767636404u5o6i38424w5q6k76767676767676767676767676767676767676767676767676767676767637414v5p6j39434x5r6l7676767676767676767676767676767676767676767676767676767676\" xmlType=\"variable\" /><1 value=\"str__7676767676767676768x8x8x8x8x8x8x8x8x8x8x8x8x8x8x8x8x8x8x8x8x8x8x8x8x8x8x8x8x8x8x7676767676767676767676767676d31676760d7676767676767600000000000000000076007676d27676767676767676767676767676d11676760d7676767676767600000000000000d0d0d2007676d27676767676767676767676767676761676760d76767676767676000000007676000000d2007676d27676767676767676767676767676761676760d76767676767676000000007676000000d2007676d27676767676767676767676767676761676760d76767676767676767676007676000000d2007676d27676767676767676767676767676761676760d7676767676767676767600000000000000007676d27676767676767676767676767676761676760d7676767676767676767600000000d0d0d0d0d0d0d27676767676767676767676767676761676760d7676767676767676767676000000171717171717d27676767676767676767676767676761676760d767676767676be76767676000000al0000007676d27676767676767676767676767676761676760d7676767676767676767676000000am0000007676d27676767676767676767676767676768376760d7676767676767676767676000000an0000007676d2767676767676767676767676767676al76760d7676767676767676767676000076767676767676d2767676767676767676767676767676am76760d7676767676767676767676767676767676767676d2767676767676767676767676767676an76760d7676767676769o7676764i0c0c0c0c0c0c0c8276d27676767676767676767676767676767676760d76767676769o7676769s76000000000000001676d27676767676767676767676767676767676767917177676767676764i7676000000000000001676d2767676767676767676767676767676767676767676767676767676767676767676767636761676d276767676767676767676767676767676767676767676767676767676767676767676767d761676d27676767676767676767676767676767676767676767676767676767676765o6i4w5q6k5o6i1676d27676767676767676767676767676768276767676767676767676767676765p6j4x5r6l5p6j7d76d276767676767676767676767676767616767676767676767676767676767676767e767676767e76d2767676767676767676767676767676167676767676767676767676767676767676767676767676d2767676767676767676767676767676167676767676767676767676767676767676767676767676d2767676767676767676767676767676167676767676767676767676767676767676767676767d76d2767676767676767676767676171717837676767676767676767676767676767676767676767e76d2767676767676767676767676al7676767676767676767676767676767676767676767676767676d2767676767676767676767676am7676767676767676767676767676767676767676767676767676d2767676767676767676767676an7676767676767676767676767676767676767676767676767d76d27676767676767676767676760c0c0c827676767676767676767676767676767676767676767e76d2767676767676767676767676767676167676767676767676767676767676767676767676767676d2767676767676767676767676767676d0d0d0767676767676767676767676767676767676767676d27676767676767676767676767676767676d20d7676767676767676767676767676767676767d76d26i76767676767676767676767676767676d20d7676767676767676767676767676767676767e76d26j7d767676767676767676767676767676d20d76767676767676767676bdc77676767676767676d26k7e767676767676767676767676767676d20d7676767676767676767676bd7676767676767676d26l764u5o6i766k7ed27676767676767676d20d767676763s4m76767676bdc77676767676767d76d276764v5p6j7d6l76d276767d7676767676d20d7676767676767676767676bd7676767676767e76d276766k76767e7676d276767e7676767676d20d76767676767676767676bdc77676767676767676d2767d4x5r6l767676d27676767676760000d20d767676767676767676b9b9c3al76767676767676d2767e76767676767dd27676767676760000d20d767676767676767676babac4am76767676767676d2767676767676767ed27676767676760000d20d767676767676767676bbbbc5an76767676767676d27676767676767676d27676767676767676d20d76767676767676767676bdc77676767676767676767676767d76767676d2767676767676767dd20d7676767676767676767676767676767676767676767676767e76767676d2767676767676767ed20d7676767676767676767676767676767676767676767676767676767676d276767d7676767676d20d7676767676767676767676767676767676767676767676767676767676d276767e7676767676d20d7676767676767676767676767676767676767676767676767676767d76d2d2d2d0d0d0d0d0d0d20d767676767676768x8x8x8x8x8x8x8x8x8x8x8x8x8x\" xmlType=\"variable\" /><0 value=\"str__0f19231923192319236o6o6o6o6o6o6o6o6o6o6o6o0f192319236o6o6o6o6o6o6o6o6o6o6o6o6o6o0f19231923192319236o6o6o6o6o6o6oa0a06o6o6o0f192319236o6o6o6o6o6o6o6o6o6o6o6o6o6o0f19231923192319236o6o6o6o6o6o6oa0a06o6o6o0f19707u7u7u8o9icwcxcxc26o6o6o6o6o6o6o0f19231923192319236o6o6o6o6o6o6oa0a06o6o6o0f19715e5e5e8p9jb9b9c32y6o6o6o6o6o6o6o0f19acb8b8b8b8b8b8b8b8b64m4m4m6oa0a06o6o6o0f193s4m4m6u8p9jbabac42y6o6o6o6o6o6o6o0f19aea6a6a6a6a6a6a6a6ae2x2x2x6oa0a06o6o6o0f19716u6u6u8p9jbbbbc52z6o6o6o6o6o6o6oacb8b8b8b8b8b64m4m4ma6ae0m1g2x6oa0a06o6o6o0f19716u6u6u8p9jcwcycyc26o6o6o6o6o6o6oaea6a6a6a6a6ae2x2x2xa6ae0n1h2x6oa0a06o6o6o0f19716u6u6u8p9jcw6dcyc26o6o6o6o6o6o6oaea6a6a6a6a6ae0m1g2xa6ae2x2x2x6oa0a06o6o6o0f19716u68688p9jcwcycyc26o6o6o6o6o6o6oaea6a6a6a6a6ae0n1h2xa6ae0m1g2x6oa0a06o6o6o0f19716u6uc88p9jb9b9c32ya0a0a0a0a0a0a0aea6a6a6a6a6ae2x2x2xa6ae0n1h2x6oa0a06o6o6o0f19716u5e5e8p9jbabac42ya0a0a0a0a0a0a0aea6a6a6a6a6ae0m1g2xa6ae2x2x2xa0a0a06o6o6o0f19716868688p9jbbbbc52za0a0a0a0a0a0a0aea6a6a6a6a6ae0n1h2xa6aeb9b9c3a0a0a06o6o6o0f19727w7w7w8q9kcwczczc2a0a0a0a0a0a0a0aea6a6a6a6a6ae2x2x2xa6aebabac4a0a0a06o6o6o0f19231923a0a0a0a0a0a0a0a0a0a0a0a0a0a0adb8b8b8b8b8b74m4m4ma6aebbbbc5a0a0a06o6o6o0f192319230g1a24236o6o6o6o6o6o6oa0a0a00f19aea6a6a6a6a6a6a6a6ae2x2x2xa0a0a06o6o6o0f1923190g1a2419236o6o6o6o6o6o6o6oa0a00f19adb8b8b8b8b8b8b8b8b74m4m4ma0a0a0a06o6o0f0f0f0g1a240f19236o6o6o6o6o6o6o6oa0a00f1923192319231923a0a0a0a0a0a0a0a0a0a0a0a0a02y2ya0a00f2319236o6o6o6o6o6o6o6oa0a00f1923192319231923a0a0a0a0a0a0a0a0a0a0a0a0a02y2ya0a00f2319236o6o6o6o6o6o6o6oa0a00f1923192319231923a0a0a0a0a0a0a0a0a0a0a0a0a02y2ya0a00f2319236o6o6o6o6o6o6o6oa0a00f19737x7x7x7x7x8r9l1c261c2630a0a0a0a0a0a00f0f0f0f0f0f2319236o6o6o6o6o6o6o6oa0a00f19745h5h5h5h5h8s9mcw3z0m1g2x6oa0a0a0a0a00f192319236o6o6o6o6o6o6o6o6o6o6o6oa0a00f19747v066b6b6b8s9mcw3z0n1h2x6oa0a0a0a0a00f192319236o6o6o6o6o6o6o6o6o6o6o6oa0a00f197406065g6a7z8t9n1c261c26306oa0a0a0a0a00f192319236o6o6o6o6o6o6o6o6o6o6o6oa0a00f197406068s9m1c260m1g2x6o6o6o6oa0a0a0a0a00f192319236o6o6o6o6o6o6o6o6o6o6o6oa0a00f197406068s9mcw3z0n1h2x6o6o6oa0a0a0a0a0a00f192319236o6o6o6o6o6o6o6o6o6o6o6oa0a00f197406068s9mcw3zb9b9c3a0a0a0a0a0a0a0a0a00f192319236o6o6o6o6o6o6o6o6o6o6o6oa0a00f19747v068s9m1c26babac4a0a0a0a0a0a0a0a0a00f192319236o6o6o6o6o6o6o6o6o6o6o6oa0a00f19747v068s9mcw3zbbbbc5a0a0a0a0a0a0a0a0a00f192319236o6o6o6o6o6o6o6o6o6o6o6oa0a00f0f7406068s9mcw3z0m1g2x6o6o6oa0a0a0a0a0a00f192319236o6o6o6o6o6o6o6o6o6o6o6oa0a06o6o7406068s9m1c260n1h2x6o6o6o6oa0a0a0a0a00f192319236o6o6o6o6o6o6o6o6o6o6o6oa0a06o6o7406065f697x8r9l1c261c26306oa0a0a0a0a00f192319236o6o6o6o6o6o6o6o6o6o6o6oa0a06o6o7406065h5h5h8s9mcw3zb9b9c36o6o6oa0a0a00f192319236o6o6o6o6o6o6o6o6o6o6o6oa0a06o6o747v060606068s9m1c26babac46o6o6oa0a0a00f19707u8o9i9i2x2x2x6o6o6o6o6o6o6oa0a06o6o746b6b6b6b6b8s9mcw3zbbbbc56o6o6oa0a0a00f19715e5e8p9j4t4t4t6o6o6o6o6o6o6oa0a06o6o757z7z7z7z7z8t9n1c261c26306o6o6oa0a0a00f19716u6u8p9j3y4s4t6o6o6o6o6o6o6oa0a06o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6oa0a0a00f19716u6u8p9j4t4t4t6o6o6o6o6o6o6oa0a06o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6oa0a0a00f19716u6u8p9j3y4s4t6o6o6o6o6o6o6oa0a06o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6oa0a0a00f19716u6u8p9j4t4t4t6o6o6o6o6o6o6oa0a06o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6oa0a0a00f19716u6u8p9j4t4t4ta0a0a0a0a0a0a0a0a06o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6oa0a0a00f19716u6u8p9j4t4t4ta0a0a0a0a0a0a0a0a06o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6oa0a0a00f19716u6u8p9j4t4t4ta0a0a0a0a0a0a0a0a06o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6oa0a0a00f197168688p9j4t4t4t6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6oa0a0a00f19727w7w8q9k2x2x2x6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6oa0a0a00f192319236o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6oa0a0a00f192319236o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6oa0a0a00f192319236o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6oa0a0a00f192319236o6o6o6o6o6o6o6o6o6o6o6o6o6o\" xmlType=\"variable\" /></layers></map></level></data>";
data_xml = new XML(data_txt);
onLoad(data_xml);
Symbol 305 MovieClip [levels\dogs_pet\130.lvl] Frame 1
data_txt = "<data xmlType=\"object\"><level name=\"str_levels\\dogs_pet\\130.lvl\" xmlType=\"object\"><sprites xmlType=\"array\"><9 name=\"str_pic\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_1\" frame=\"num_0\" directions=\"num_1\" direction=\"num_0\" charset=\"str_charset\\objects\\pictureFrame\\girl1_inframe.png\" xmlType=\"object\" /><position y=\"num_24\" x=\"num_152\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><hitbox height=\"num_16\" width=\"num_16\" xmlType=\"object\" /><copySprite id=\"str_\" xmlType=\"object\"><data xmlType=\"object\" /></copySprite><scripts xmlType=\"object\" /><initialAppearance isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_1\" frame=\"num_0\" directions=\"num_1\" direction=\"num_0\" charset=\"str_charset\\objects\\pictureFrame\\girl1_inframe.png\" xmlType=\"object\" /></data></9><8 name=\"str_lilly\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_3\" charset=\"str_charset\\lilly\\dressed\\walk.png\" xmlType=\"object\" /><position y=\"num_72\" x=\"num_184\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><hitbox height=\"num_16\" width=\"num_16\" xmlType=\"object\" /><copySprite id=\"str_\" xmlType=\"object\"><data xmlType=\"object\" /></copySprite><scripts xmlType=\"object\" /><initialAppearance isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_3\" charset=\"str_charset\\lilly\\dressed\\walk.png\" xmlType=\"object\" /></data></8><7 name=\"str_kara\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_0\" charset=\"str_charset\\kara\\dressed\\walk.png\" xmlType=\"object\" /><position y=\"num_72\" x=\"num_152\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><hitbox height=\"num_16\" width=\"num_16\" xmlType=\"object\" /><copySprite id=\"str_\" xmlType=\"object\"><data xmlType=\"object\" /></copySprite><scripts xmlType=\"object\" /><initialAppearance isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_0\" charset=\"str_charset\\kara\\dressed\\walk.png\" xmlType=\"object\" /></data></7><6 name=\"str_bigDog\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_1\" frame=\"num_0\" directions=\"num_4\" direction=\"num_2\" charset=\"str_charset\\som_wolf\\stand.png\" xmlType=\"object\" /><position y=\"num_168\" x=\"num_8\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><hitbox height=\"num_16\" width=\"num_16\" xmlType=\"object\" /><copySprite id=\"str_\" xmlType=\"object\"><data xmlType=\"object\" /></copySprite><scripts xmlType=\"object\" /><initialAppearance isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_1\" frame=\"num_0\" directions=\"num_4\" direction=\"num_2\" charset=\"str_charset\\som_wolf\\stand.png\" xmlType=\"object\" /></data></6><5 name=\"str_newGirl\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_0\" charset=\"str_charset\\ridingHood\\dress\\walk.png\" xmlType=\"object\" /><position x=\"num_8\" y=\"num_200\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><hitbox height=\"num_16\" width=\"num_16\" xmlType=\"object\" /><copySprite id=\"str_\" xmlType=\"object\"><data xmlType=\"object\" /></copySprite><scripts xmlType=\"object\" /><initialAppearance isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_0\" charset=\"str_charset\\ridingHood\\dress\\walk.png\" xmlType=\"object\" /></data></5><4 name=\"str_maid\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_2\" columns=\"num_4\" pose=\"num_0\" frames=\"num_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_2\" charset=\"str_charset\\maid.png\" xmlType=\"object\" /><position y=\"num_136\" x=\"num_8\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><hitbox height=\"num_16\" width=\"num_16\" xmlType=\"object\" /><copySprite id=\"str_\" xmlType=\"object\"><data xmlType=\"object\" /></copySprite><scripts xmlType=\"object\" /><initialAppearance isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_2\" columns=\"num_4\" pose=\"num_0\" frames=\"num_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_2\" charset=\"str_charset\\maid.png\" xmlType=\"object\" /></data></4><3 name=\"str_dad\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_2\" columns=\"num_4\" pose=\"num_0\" frames=\"num_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_2\" charset=\"str_charset\\people1.png\" xmlType=\"object\" /><position y=\"num_152\" x=\"num_200\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><hitbox height=\"num_16\" width=\"num_16\" xmlType=\"object\" /><copySprite id=\"str_\" xmlType=\"object\"><data xmlType=\"object\" /></copySprite><scripts xmlType=\"object\" /><initialAppearance isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_2\" columns=\"num_4\" pose=\"num_0\" frames=\"num_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_2\" charset=\"str_charset\\people1.png\" xmlType=\"object\" /></data></3><2 name=\"str_mom\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_2\" columns=\"num_4\" pose=\"num_1\" frames=\"num_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_2\" charset=\"str_charset\\people2.png\" xmlType=\"object\" /><position y=\"num_168\" x=\"num_168\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><hitbox height=\"num_16\" width=\"num_16\" xmlType=\"object\" /><copySprite id=\"str_\" xmlType=\"object\"><data xmlType=\"object\" /></copySprite><scripts xmlType=\"object\" /><initialAppearance isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_2\" columns=\"num_4\" pose=\"num_1\" frames=\"num_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_2\" charset=\"str_charset\\people2.png\" xmlType=\"object\" /></data></2><1 name=\"str_richGirl\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_2\" charset=\"str_charset\\girl1\\dressed\\walk.png\" xmlType=\"object\" /><position x=\"num_264\" y=\"num_152\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><hitbox height=\"num_16\" width=\"num_16\" xmlType=\"object\" /><copySprite id=\"str_\" xmlType=\"object\"><data xmlType=\"object\" /></copySprite><scripts xmlType=\"object\" /><initialAppearance isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_2\" charset=\"str_charset\\girl1\\dressed\\walk.png\" xmlType=\"object\" /></data></1><0 name=\"str_EVENTS\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_1\" frame=\"num_1\" directions=\"num_1\" direction=\"num_0\" charset=\"str_charset\\invisible.png\" xmlType=\"object\" /><position x=\"num_8\" y=\"num_8\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><hitbox height=\"num_16\" width=\"num_16\" xmlType=\"object\" /><copySprite id=\"str_\" xmlType=\"object\"><data xmlType=\"object\" /></copySprite><scripts xmlType=\"object\"><auto xmlType=\"array\"><17 relativeLevel=\"str_140.lvl\" level=\"str_levels\\dogs_pet\\140.lvl\" type=\"str_teleport\" xmlType=\"object\"><position y=\"num_144\" x=\"num_432\" xmlType=\"object\" /><transOut mask=\"str_\" easing=\"str_easeLinear\" seconds=\"num_1\" effect=\"str_fadeBlack\" xmlType=\"object\" /><transIn mask=\"str_\" easing=\"str_easeLinear\" seconds=\"num_0.5\" effect=\"str_fade\" xmlType=\"object\" /></17><16 message=\"str_\" type=\"str_comment\" xmlType=\"object\" /><15 value=\"str_richGirl\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><14 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_160\" text=\"str_How lovely!\\.\rYou have such nice parents.\" type=\"str_textbox\" xmlType=\"object\" /></14><13 type=\"str_move\" sprite=\"str_lilly\" xmlType=\"array\"><0 value=\"str_richGirl\" type=\"str_lookAt\" xmlType=\"object\" /></13><12 value=\"num_0.1\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><11 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_160\" text=\"str_Let us return upstrairs.\\.\rWould you care to see the 10 new dresses\rMother bought for me yesterday?\" type=\"str_textbox\" xmlType=\"object\" /></11><10 type=\"str_move\" sprite=\"str_richGirl\" xmlType=\"array\"><1 value=\"str_up\" type=\"str_direction\" xmlType=\"object\" /><0 walkSpeed=\"num_0.13\" duration=\"num_0.771875\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_0\" x=\"num_-95\" xmlType=\"object\" /></0></10><9 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_160\" text=\"str_[richGirl]: \\.Ignore it.\\... just common wildlife.\\!\r I'm afraid our abode resides rather close\r to the wilderness.\" type=\"str_textbox\" xmlType=\"object\" /></9><8 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_comment\" message=\"str_* text: [richGirl]: \\.Ignore it.\\. It's just the wild life.\\!\r I'm afraid our abode resides rather close\r to the woodlands.\" commentedType=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_160\" text=\"str_[richGirl]: \\.Ignore it.\\. It's just the wild life.\\!\r I'm afraid our abode resides rather close\r to the woodlands.\" type=\"str_textbox\" xmlType=\"object\" /></8><7 value=\"str_richGirl\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><6 type=\"str_move\" sprite=\"str_richGirl\" xmlType=\"array\"><0 value=\"str_lilly\" type=\"str_lookAt\" xmlType=\"object\" /></6><5 value=\"num_0.1\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><4 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_160\" text=\"str_What are all those weird noises outside?\" type=\"str_textbox\" xmlType=\"object\" /></4><3 type=\"str_move\" sprite=\"str_lilly\" xmlType=\"array\"><0 value=\"str_richGirl\" type=\"str_lookAt\" xmlType=\"object\" /></3><2 value=\"str_richGirl\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><1 type=\"str_move\" sprite=\"str_richGirl\" xmlType=\"array\"><0 walkSpeed=\"num_0.13\" duration=\"num_0.52\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_-64\" x=\"num_0\" xmlType=\"object\" /></0></1><0 name=\"str_moaning\" volume=\"num_50\" loop=\"bol_false\" file=\"str_sound\\sexy\\squirm08.mp3\" type=\"str_sound\" xmlType=\"object\" /></auto></scripts><initialAppearance isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_1\" frame=\"num_1\" directions=\"num_1\" direction=\"num_0\" charset=\"str_charset\\invisible.png\" xmlType=\"object\" /></data></0></sprites><map format=\"num_2\" width=\"num_20\" height=\"num_15\" chipset=\"str_chipset\\robotrek_indoors.png\" collision=\"str__111111111111111111111111111111111100111110001111000000000000111100111110001111100111100001111110111100001111100111101101111100111001101111100111101101111100111001101111100111101101111100111100001111110111100001111100111111111111100001111111111100000111111111100001111111111111111111111111111111111111\" xmlType=\"object\"><layers xmlType=\"array\"><2 value=\"str__2p2p2p2p2p2p2p2p2p2p2p2p2p2p2p58585858585858585858585858582p0000000000d2000000000000008w4d000000000000000000000000008x4d0000000000d0000000000000008y4d0000000000d100000000000000004d000000an00d100000000000000004d0000000000d100000000000000004d0000000000d100000000000000004d0000000000d10000an00000000004d0000000000d100000000000000004d0000000000d100000000000000004d0000000000d100000000000000004d000000an00d100000000000000004d0000000000d200004c56565656562p000000000000008w4d2p2p2p2p2p2p000000000000008x4d2p2p2p2p2p2p000000000000008y4d2p2p2p2p2p2p56565656565656562p2p2p2p2p2p2p2p2p2p2p2p2p2p2p2p2p2p2p2p2p2p\" xmlType=\"variable\" /><1 value=\"str__00000000000000000000000000000000000000000000000000000000000000009oai000000000000000000000000008v00000000000000000000000000009paj00000000000000000000000000000000000000c60000000000000000000000000000c70000000000000000000000000000c80000000000000o1i2c0000000000000000000000000p002d00000000000000009t0000000q1k2e0000000000000000000000000000000000000000c60000000000000000000000000000c70000000000000000000000000000c8000000000000000000000000000000000000000000000000000000000000000000000000000000920000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000\" xmlType=\"variable\" /><0 value=\"str__0000000000000000000000000000000000000000000000000000000000000l1f29336r6r0j1d27313v6o6o6o000l1f290g6r6r6r6r6r1b1b6o6o6o000l1f29336r6r0i1c26303u6o6o6o000l1f29336r6r0k0d17ac6o6o6o6o000l1f29331a6r0k0d17ad6o6o6o6o000l1f29336r6r0k0d17ae6o7x9l6o000l1f29336r6r0k0d176o6o7y9m6o000la629336r6r0k0d171a6o7y9m6o000l1f29336r6r0k0d176o6o7y9m6o000l1f29336r6r0k0d17ac6o7z9n6o000l1f29336r6r0k0d17ad6o6o6o6o000l1f29331a6r0k0d17ae6o6o6o6o000l1f29336r6r0j1d000000000000000l1f29336r6r6r6r000000000000000l1f29336r6r6r6r000000000000000l1f29336r6r6r6r00000000000000000000000000000000000000000000000000000000000000000000000000\" xmlType=\"variable\" /></layers></map></level></data>";
data_xml = new XML(data_txt);
onLoad(data_xml);
Symbol 306 MovieClip [levels\dogs_pet\140.lvl] Frame 1
data_txt = "<data xmlType=\"object\"><level name=\"str_levels\\dogs_pet\\140.lvl\" xmlType=\"object\"><sprites xmlType=\"array\"><9 name=\"str_dad\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_2\" columns=\"num_4\" pose=\"num_0\" frames=\"num_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_2\" charset=\"str_charset\\people1.png\" xmlType=\"object\" /><position y=\"num_392\" x=\"num_664\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><hitbox height=\"num_16\" width=\"num_16\" xmlType=\"object\" /><copySprite id=\"str_\" xmlType=\"object\"><data xmlType=\"object\" /></copySprite><scripts xmlType=\"object\" /><initialAppearance isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_2\" columns=\"num_4\" pose=\"num_0\" frames=\"num_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_2\" charset=\"str_charset\\people1.png\" xmlType=\"object\" /></data></9><8 name=\"str_mom\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_2\" columns=\"num_4\" pose=\"num_1\" frames=\"num_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_2\" charset=\"str_charset\\people2.png\" xmlType=\"object\" /><position y=\"num_392\" x=\"num_616\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><hitbox height=\"num_16\" width=\"num_16\" xmlType=\"object\" /><copySprite id=\"str_\" xmlType=\"object\"><data xmlType=\"object\" /></copySprite><scripts xmlType=\"object\" /><initialAppearance isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_2\" columns=\"num_4\" pose=\"num_1\" frames=\"num_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_2\" charset=\"str_charset\\people2.png\" xmlType=\"object\" /></data></8><7 name=\"str_lilly\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_3\" charset=\"str_charset\\lilly\\dressed\\walk_noPants.png\" xmlType=\"object\" /><position y=\"num_392\" x=\"num_632\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><hitbox height=\"num_16\" width=\"num_16\" xmlType=\"object\" /><copySprite id=\"str_\" xmlType=\"object\"><data xmlType=\"object\" /></copySprite><scripts xmlType=\"object\" /><initialAppearance isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_3\" charset=\"str_charset\\lilly\\dressed\\walk_noPants.png\" xmlType=\"object\" /></data></7><6 name=\"str_kara\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_0\" charset=\"str_charset\\kara\\dressed\\walk.png\" xmlType=\"object\" /><position y=\"num_392\" x=\"num_648\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><hitbox height=\"num_16\" width=\"num_16\" xmlType=\"object\" /><copySprite id=\"str_\" xmlType=\"object\"><data xmlType=\"object\" /></copySprite><scripts xmlType=\"object\" /><initialAppearance isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_0\" charset=\"str_charset\\kara\\dressed\\walk.png\" xmlType=\"object\" /></data></6><5 name=\"str_door_2\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite charset=\"str_charset\\objects\\doors\\iog1.png\" directions=\"num_1\" frames=\"num_3\" columns=\"num_1\" rows=\"num_1\" animType=\"str_once\" animDirection=\"num_1\" delay=\"num_2\" pose=\"num_0\" direction=\"num_0\" frame=\"num_0\" xmlType=\"object\" /><position y=\"num_177\" x=\"num_440\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><hitbox height=\"num_16\" width=\"num_16\" xmlType=\"object\" /><copySprite id=\"str_door\" xmlType=\"object\"><data isOpen=\"str_true\" xmlType=\"object\" /></copySprite><scripts xmlType=\"object\" /><initialAppearance charset=\"str_charset\\objects\\doors\\iog1.png\" directions=\"num_1\" frames=\"num_3\" columns=\"num_1\" rows=\"num_1\" animType=\"str_once\" animDirection=\"num_1\" delay=\"num_2\" pose=\"num_0\" direction=\"num_0\" frame=\"num_0\" xmlType=\"object\" /></data></5><4 name=\"str_door_1\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite charset=\"str_charset\\objects\\doors\\iog1.png\" directions=\"num_1\" frames=\"num_3\" columns=\"num_1\" rows=\"num_1\" animType=\"str_once\" animDirection=\"num_1\" delay=\"num_2\" pose=\"num_0\" direction=\"num_0\" frame=\"num_0\" xmlType=\"object\" /><position x=\"num_536\" y=\"num_224\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><hitbox height=\"num_16\" width=\"num_16\" xmlType=\"object\" /><copySprite id=\"str_door\" xmlType=\"object\"><data xmlType=\"object\" /></copySprite><scripts xmlType=\"object\" /><initialAppearance charset=\"str_charset\\objects\\doors\\iog1.png\" directions=\"num_1\" frames=\"num_3\" columns=\"num_1\" rows=\"num_1\" animType=\"str_once\" animDirection=\"num_1\" delay=\"num_2\" pose=\"num_0\" direction=\"num_0\" frame=\"num_0\" xmlType=\"object\" /></data></4><3 name=\"str_EVENTS\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_1\" frame=\"num_1\" directions=\"num_1\" direction=\"num_0\" charset=\"str_charset\\invisible.png\" xmlType=\"object\" /><position x=\"num_440\" y=\"num_152\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><hitbox height=\"num_16\" width=\"num_16\" xmlType=\"object\" /><copySprite id=\"str_\" xmlType=\"object\"><data xmlType=\"object\" /></copySprite><scripts xmlType=\"object\"><auto xmlType=\"array\"><75 relativeLevel=\"str_150.lvl\" level=\"str_levels\\dogs_pet\\150.lvl\" type=\"str_teleport\" xmlType=\"object\"><position y=\"num_144\" x=\"num_432\" xmlType=\"object\" /><transOut mask=\"str_\" easing=\"str_easeLinear\" seconds=\"num_0.5\" effect=\"str_fadeBlack\" xmlType=\"object\" /><transIn mask=\"str_\" easing=\"str_easeLinear\" seconds=\"num_0.5\" effect=\"str_fade\" xmlType=\"object\" /></75><74 message=\"str_\" type=\"str_comment\" xmlType=\"object\" /><73 value=\"str_mom\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><72 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_comment\" message=\"str_* text: Now go home and get cleaned up.\\!\r[dog] will want you here tomorrow,\\2\rready to work.\" commentedType=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_Now go home and get cleaned up.\\!\r[dog] will want you here tomorrow,\\2\rready to work.\" type=\"str_textbox\" xmlType=\"object\" /></72><71 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_Now go home,\\. get cleaned up,\\.\rand report to [dog] first thing tomorrow.\\!\rI'm sure he will have plenty for you to do.\" type=\"str_textbox\" xmlType=\"object\" /></71><70 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_comment\" message=\"str_* text: Now go home,\\. get cleaned up,\\.\rand resume your work tomorrow.\" commentedType=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_Now go home,\\. get cleaned up,\\.\rand resume your work tomorrow.\" type=\"str_textbox\" xmlType=\"object\" /></70><69 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_comment\" message=\"str_* text: Now go home,\\. get cleaned up,\\.\rand return to [dog] early tomorrow.\\!\rIt won't do to keep him waiting.\" commentedType=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_Now go home,\\. get cleaned up,\\.\rand return to [dog] early tomorrow.\\!\rIt won't do to keep him waiting.\" type=\"str_textbox\" xmlType=\"object\" /></69><68 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_comment\" message=\"str_* text: Now go home and get cleaned up.\\!\rI want you here early tomorrow,\\.\rready for your chore.\" commentedType=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_Now go home and get cleaned up.\\!\rI want you here early tomorrow,\\.\rready for your chore.\" type=\"str_textbox\" xmlType=\"object\" /></68><67 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_comment\" message=\"str_* text: Now go home and get cleaned up.\\!\rI want you here tomorrow,\\. ready to work.\" commentedType=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_Now go home and get cleaned up.\\!\rI want you here tomorrow,\\. ready to work.\" type=\"str_textbox\" xmlType=\"object\" /></67><66 type=\"str_move\" sprite=\"str_mom\" xmlType=\"array\"><2 duration=\"num_0\" autoAnim=\"bol_false\" autoDirection=\"bol_false\" type=\"str_moveAbsolute\" xmlType=\"object\"><position y=\"num_16\" x=\"num_8\" xmlType=\"object\" /></2><1 walkSpeed=\"num_0.26\" duration=\"num_0.52\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_-32\" x=\"num_0\" xmlType=\"object\" /></1><0 walkSpeed=\"num_0.26\" duration=\"num_0.822192191643779\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_-16\" x=\"num_-48\" xmlType=\"object\" /></0></66><65 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_Mom: Oh you poor simple creature.\\.\r There is nothing to think about.\\!\r Just keep him happy,\\. that's all.\" type=\"str_textbox\" xmlType=\"object\" /></65><64 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_comment\" message=\"str_* text: Mom: Oh you poor simple creature.\\.\r There is nothing to think about.\\!\r Just keep him happy.\" commentedType=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_Mom: Oh you poor simple creature.\\.\r There is nothing to think about.\\!\r Just keep him happy.\" type=\"str_textbox\" xmlType=\"object\" /></64><63 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_comment\" message=\"str_* text: Mom: You silly creature.\\.\r Don't think about it too much.\" commentedType=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_Mom: You silly creature.\\.\r Don't think about it too much.\" type=\"str_textbox\" xmlType=\"object\" /></63><62 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_comment\" message=\"str_* text: Mom: Don't think about it too much.\" commentedType=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_Mom: Don't think about it too much.\" type=\"str_textbox\" xmlType=\"object\" /></62><61 type=\"str_move\" sprite=\"str_mom\" xmlType=\"array\"><0 value=\"str_left\" type=\"str_direction\" xmlType=\"object\" /></61><60 value=\"str_mom\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><59 value=\"num_0.1\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><58 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_[newGirl]: \\.Then...\\2 I'm HIS dog?\" type=\"str_textbox\" xmlType=\"object\" /></58><57 type=\"str_move\" sprite=\"str_newGirl\" xmlType=\"array\"><1 walkSpeed=\"num_0\" duration=\"num_0\" autoAnim=\"bol_false\" autoDirection=\"bol_false\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_-1\" x=\"num_-2\" xmlType=\"object\" /></1><0 type=\"str_appearance\" xmlType=\"object\"><value isAnimating=\"bol_true\" delay=\"num_2\" animDirection=\"num_1\" animType=\"str_yoyo\" pose=\"num_0\" rows=\"num_1\" columns=\"num_1\" frame=\"num_0\" frames=\"num_1\" direction=\"num_0\" directions=\"num_2\" charset=\"str_charset\\ridingHood\\nightie\\sexyProne_lookBack.png\" xmlType=\"object\" /></0></57><56 value=\"num_0.1\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><55 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_Mom: That is not for me to decide.\\2\r [dog] is your master,\\. not me.\\!\r Perhaps he prefers you as his pet instead.\" type=\"str_textbox\" xmlType=\"object\" /></55><54 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_comment\" message=\"str_* text: Mom: It's not for me to decide.\\2\r [dog] is your master,\\. not me.\\!\r Perhaps he prefers you as his pet instead.\" commentedType=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_Mom: It's not for me to decide.\\2\r [dog] is your master,\\. not me.\\!\r Perhaps he prefers you as his pet instead.\" type=\"str_textbox\" xmlType=\"object\" /></54><53 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_comment\" message=\"str_* text: Mom: It is not my concern.\\2\r [dog] is your master,\\. not me.\\!\r Perhaps he prefers you as his pet instead.\" commentedType=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_Mom: It is not my concern.\\2\r [dog] is your master,\\. not me.\\!\r Perhaps he prefers you as his pet instead.\" type=\"str_textbox\" xmlType=\"object\" /></53><52 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_comment\" message=\"str_* text: Mom: That is up to [dog].\\!\r It seems he prefers you to be his...\\2 pet.\" commentedType=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_Mom: That is up to [dog].\\!\r It seems he prefers you to be his...\\2 pet.\" type=\"str_textbox\" xmlType=\"object\" /></52><51 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_comment\" message=\"str_* text: Mom: As I said,\\. you serve [dog].\\!\r So you are more like his...\\2 pet.\" commentedType=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_Mom: As I said,\\. you serve [dog].\\!\r So you are more like his...\\2 pet.\" type=\"str_textbox\" xmlType=\"object\" /></51><50 type=\"str_move\" sprite=\"str_mom\" xmlType=\"array\"><0 walkSpeed=\"num_0.26\" duration=\"num_0.26\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_0\" x=\"num_16\" xmlType=\"object\" /></0></50><49 value=\"num_0.1\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><48 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_160\" text=\"str_[newGirl]: \\.Wait...\\. am I still a maid?\" type=\"str_textbox\" xmlType=\"object\" /></48><47 type=\"str_move\" sprite=\"str_newGirl\" xmlType=\"array\"><1 walkSpeed=\"num_0\" duration=\"num_0\" autoAnim=\"bol_false\" autoDirection=\"bol_false\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_1\" x=\"num_0\" xmlType=\"object\" /></1><0 type=\"str_appearance\" xmlType=\"object\"><value isAnimating=\"bol_true\" delay=\"num_2\" animDirection=\"num_1\" animType=\"str_yoyo\" pose=\"num_0\" rows=\"num_1\" columns=\"num_1\" frame=\"num_2\" frames=\"num_1\" direction=\"num_0\" directions=\"num_2\" charset=\"str_charset\\ridingHood\\nightie\\proneLay.png\" xmlType=\"object\" /></0></47><46 value=\"num_0.1\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><45 type=\"str_move\" sprite=\"str_dad\" xmlType=\"array\"><2 duration=\"num_0\" autoAnim=\"bol_false\" autoDirection=\"bol_false\" type=\"str_moveAbsolute\" xmlType=\"object\"><position y=\"num_16\" x=\"num_8\" xmlType=\"object\" /></2><1 walkSpeed=\"num_0.26\" duration=\"num_0.52\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_-32\" x=\"num_0\" xmlType=\"object\" /></1><0 walkSpeed=\"num_0.26\" duration=\"num_0.78\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_0\" x=\"num_-48\" xmlType=\"object\" /></0></45><44 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_comment\" message=\"str_* text: Mom: Splendid...\\.\r Then [richGirl] will handle caring for\r [dog] and this will be the maid's job.\" commentedType=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_Mom: Splendid...\\.\r Then [richGirl] will handle caring for\r [dog] and this will be the maid's job.\" type=\"str_textbox\" xmlType=\"object\" /></44><43 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_comment\" message=\"str_* text: Mom: Splendid...\\.\r Then the maid will handle this job,\r and [richGirl] will handle the rest.\" commentedType=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_Mom: Splendid...\\.\r Then the maid will handle this job,\r and [richGirl] will handle the rest.\" type=\"str_textbox\" xmlType=\"object\" /></43><42 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_comment\" message=\"str_* text: Mom: Splendid...\\.\r Then this will be the maid's job,\\!\r and [richGirl] will handle the rest.\" commentedType=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_Mom: Splendid...\\.\r Then this will be the maid's job,\\!\r and [richGirl] will handle the rest.\" type=\"str_textbox\" xmlType=\"object\" /></42><41 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_Mom: \\.Oh splendid...\\.\r Then this task shall be the maid's job,\\!\r and the rest will be [richGirl]'s job.\" type=\"str_textbox\" xmlType=\"object\" /></41><40 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_comment\" message=\"str_* text: Mom: \\.Oh splendid...\\.\r Then this shall be the maid's job,\\!\r and the rest will be [richGirl]'s job.\" commentedType=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_Mom: \\.Oh splendid...\\.\r Then this shall be the maid's job,\\!\r and the rest will be [richGirl]'s job.\" type=\"str_textbox\" xmlType=\"object\" /></40><39 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_comment\" message=\"str_* text: Mom: \\.Oh splendid...\\.\r Then this will be the maid's job,\\!\r and [richGirl] can handle the main work.\" commentedType=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_Mom: \\.Oh splendid...\\.\r Then this will be the maid's job,\\!\r and [richGirl] can handle the main work.\" type=\"str_textbox\" xmlType=\"object\" /></39><38 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_comment\" message=\"str_* text: Mom: \\.Oh splendid...\\.\r Then this will be the maid's job,\\!\r and [richGirl] will handle the real work.\" commentedType=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_Mom: \\.Oh splendid...\\.\r Then this will be the maid's job,\\!\r and [richGirl] will handle the real work.\" type=\"str_textbox\" xmlType=\"object\" /></38><37 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_comment\" message=\"str_* text: Mom: \\.Oh\\. splendid...\\!\r So [richGirl] will handle dog-care,\\2\r and the maid's job will be...\\2 whatever this is.\" commentedType=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_Mom: \\.Oh\\. splendid...\\!\r So [richGirl] will handle dog-care,\\2\r and the maid's job will be...\\2 whatever this is.\" type=\"str_textbox\" xmlType=\"object\" /></37><36 type=\"str_move\" sprite=\"str_mom\" xmlType=\"array\"><0 value=\"str_up\" type=\"str_direction\" xmlType=\"object\" /></36><35 value=\"num_0.1\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><34 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_[richGirl] has grown more responsible\ralready.\\! Buying her this dog\rwas an excellent idea.\" type=\"str_textbox\" xmlType=\"object\" /></34><33 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_comment\" message=\"str_* text: It seems our daughter is responsible enough\rto care for a dog after all.\" commentedType=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_It seems our daughter is responsible enough\rto care for a dog after all.\" type=\"str_textbox\" xmlType=\"object\" /></33><32 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_comment\" message=\"str_* text: It appears our daughter can handle\rproper dog-care after all.\" commentedType=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_It appears our daughter can handle\rproper dog-care after all.\" type=\"str_textbox\" xmlType=\"object\" /></32><31 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_comment\" message=\"str_* text: So it looks like our daughter can handle\rmost of the dog-care after all.\" commentedType=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_So it looks like our daughter can handle\rmost of the dog-care after all.\" type=\"str_textbox\" xmlType=\"object\" /></31><30 type=\"str_move\" sprite=\"str_dad\" xmlType=\"array\"><0 value=\"str_left\" type=\"str_direction\" xmlType=\"object\" /></30><29 value=\"str_dad\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><28 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_Dad: You needn't worry about the chores.\\.\r [richGirl] has mastered the dog food recipe.\\!\r So there's no need to rush.\\2.. this.\" type=\"str_textbox\" xmlType=\"object\" /></28><27 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_comment\" message=\"str_* text: Dad: You needn't worry about the chores.\\.\r [richGirl] has mastered the dog food recipe.\\!\r There's no need to rush this.\" commentedType=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_Dad: You needn't worry about the chores.\\.\r [richGirl] has mastered the dog food recipe.\\!\r There's no need to rush this.\" type=\"str_textbox\" xmlType=\"object\" /></27><26 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_comment\" message=\"str_* text: Dad: You needn't worry about the chores.\\.\r [richGirl] has mastered the dog food recipe.\\!\r There's no need to rush this particular task.\" commentedType=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_Dad: You needn't worry about the chores.\\.\r [richGirl] has mastered the dog food recipe.\\!\r There's no need to rush this particular task.\" type=\"str_textbox\" xmlType=\"object\" /></26><25 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_comment\" message=\"str_* text: Dad: You needn't worry about the chores.\\.\r [richGirl] has mastered the dog food recipe.\\!\r Only this task remains,\\. so there's no rush.\" commentedType=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_Dad: You needn't worry about the chores.\\.\r [richGirl] has mastered the dog food recipe.\\!\r Only this task remains,\\. so there's no rush.\" type=\"str_textbox\" xmlType=\"object\" /></25><24 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_comment\" message=\"str_* text: Dad: \\.Oh,\\. that's nothing to worry about.\\.\r You see, [richGirl] finally has the\r dog food recipe all figured out.\" commentedType=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_Dad: \\.Oh,\\. that's nothing to worry about.\\.\r You see, [richGirl] finally has the\r dog food recipe all figured out.\" type=\"str_textbox\" xmlType=\"object\" /></24><23 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_comment\" message=\"str_* text: Dad: \\.Oh it's nothing to worry about.\\.\r You see, [richGirl] finally has the\r dog food recipe all figured out.\" commentedType=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_Dad: \\.Oh it's nothing to worry about.\\.\r You see, [richGirl] finally has the\r dog food recipe all figured out.\" type=\"str_textbox\" xmlType=\"object\" /></23><22 target=\"str_HUD\" wa";
data_txt = data_txt + "itForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_comment\" message=\"str_* text: Dad: Not to worry.\\.\r [richGirl] has the dog food recipe\r all figured out.\" commentedType=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_Dad: Not to worry.\\.\r [richGirl] has the dog food recipe\r all figured out.\" type=\"str_textbox\" xmlType=\"object\" /></22><21 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_comment\" message=\"str_* text: Dad: Not to worry.\\.\r Our [richGirl] has already figured out\r the dog food recipe.\" commentedType=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_Dad: Not to worry.\\.\r Our [richGirl] has already figured out\r the dog food recipe.\" type=\"str_textbox\" xmlType=\"object\" /></21><20 value=\"num_0.3\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><19 type=\"str_move\" sprite=\"str_dad\" xmlType=\"array\"><2 walkSpeed=\"num_0.26\" duration=\"num_0.78\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_0\" x=\"num_48\" xmlType=\"object\" /></2><1 walkSpeed=\"num_0.26\" duration=\"num_0.52\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_32\" x=\"num_0\" xmlType=\"object\" /></1><0 duration=\"num_0\" autoAnim=\"bol_false\" autoDirection=\"bol_false\" type=\"str_moveAbsolute\" xmlType=\"object\"><position y=\"num_224\" x=\"num_536\" xmlType=\"object\" /></0></19><18 value=\"num_0.1\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><17 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_Mom: \\.Unbelievable...\\. this servant girl\r cannot finish even one simple task!\\!\r There are other chores to be done.\" type=\"str_textbox\" xmlType=\"object\" /></17><16 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_comment\" message=\"str_* text: Mom: \\.Goodness...\\. the servant girl still\r hasn't finished even that one simple task.\" commentedType=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_Mom: \\.Goodness...\\. the servant girl still\r hasn't finished even that one simple task.\" type=\"str_textbox\" xmlType=\"object\" /></16><15 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_comment\" message=\"str_* text: Mom: \\.Goodness...\\. the servant girl\r STILL hasn't finished that one simple task.\" commentedType=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_Mom: \\.Goodness...\\. the servant girl\r STILL hasn't finished that one simple task.\" type=\"str_textbox\" xmlType=\"object\" /></15><14 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_comment\" message=\"str_* text: Mom: \\.Goodness...\\. the servant girl\r STILL hasn't finished\r attending to [dog].\" commentedType=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_Mom: \\.Goodness...\\. the servant girl\r STILL hasn't finished\r attending to [dog].\" type=\"str_textbox\" xmlType=\"object\" /></14><13 value=\"str_mom\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><12 type=\"str_move\" sprite=\"str_mom\" xmlType=\"array\"><2 walkSpeed=\"num_0.26\" duration=\"num_0.581377674149945\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_16\" x=\"num_32\" xmlType=\"object\" /></2><1 walkSpeed=\"num_0.26\" duration=\"num_0.52\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_32\" x=\"num_0\" xmlType=\"object\" /></1><0 duration=\"num_0\" autoAnim=\"bol_false\" autoDirection=\"bol_false\" type=\"str_moveAbsolute\" xmlType=\"object\"><position y=\"num_224\" x=\"num_536\" xmlType=\"object\" /></0></12><11 update=\"bol_false\" type=\"str_setVariable\" reference=\"bol_true\" xmlType=\"object\"><condition xmlType=\"array\"><2 value=\"str_[SPRITES.door_1.open()]\" xmlType=\"variable\" /><1 value=\"str_=\" xmlType=\"variable\" /><0 value=\"str_this.waitPromise\" xmlType=\"variable\" /></condition></11><10 name=\"str_moaning\" volume=\"num_100\" loop=\"bol_false\" file=\"str_sound\\sexy\\moaning08 loop.mp3\" type=\"str_sound\" xmlType=\"object\" /><9 value=\"str_player\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><8 type=\"str_move\" sprite=\"str_player\" xmlType=\"array\"><0 duration=\"num_1.56\" autoAnim=\"bol_false\" autoDirection=\"bol_false\" type=\"str_moveAbsolute\" xmlType=\"object\"><position y=\"num_192\" x=\"num_632\" xmlType=\"object\" /></0></8><7 value=\"num_1\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><6 type=\"str_move\" sprite=\"str_lilly\" xmlType=\"array\"><2 walkSpeed=\"num_0.26\" duration=\"num_3.12\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_0\" x=\"num_-192\" xmlType=\"object\" /></2><1 walkSpeed=\"num_0.26\" duration=\"num_1.82\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_112\" x=\"num_0\" xmlType=\"object\" /></1><0 duration=\"num_0\" autoAnim=\"bol_false\" autoDirection=\"bol_false\" type=\"str_moveAbsolute\" xmlType=\"object\"><position y=\"num_176\" x=\"num_440\" xmlType=\"object\" /></0></6><5 value=\"num_0.3\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><4 type=\"str_move\" sprite=\"str_kara\" xmlType=\"array\"><2 walkSpeed=\"num_0.26\" duration=\"num_3.12\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_0\" x=\"num_-192\" xmlType=\"object\" /></2><1 walkSpeed=\"num_0.26\" duration=\"num_1.82\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_112\" x=\"num_0\" xmlType=\"object\" /></1><0 duration=\"num_0\" autoAnim=\"bol_false\" autoDirection=\"bol_false\" type=\"str_moveAbsolute\" xmlType=\"object\"><position y=\"num_176\" x=\"num_440\" xmlType=\"object\" /></0></4><3 update=\"bol_false\" type=\"str_setVariable\" reference=\"bol_true\" xmlType=\"object\"><condition xmlType=\"array\"><2 value=\"str_[SPRITES.door_2.open()]\" xmlType=\"variable\" /><1 value=\"str_=\" xmlType=\"variable\" /><0 value=\"str_this.waitPromise\" xmlType=\"variable\" /></condition></3><2 value=\"num_0.5\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><1 update=\"bol_false\" type=\"str_setVariable\" reference=\"bol_false\" xmlType=\"object\"><condition xmlType=\"array\"><2 value=\"str_night\" xmlType=\"variable\" /><1 value=\"str_=\" xmlType=\"variable\" /><0 value=\"str_HUD.mood.mood\" xmlType=\"variable\" /></condition></1><0 type=\"str_move\" sprite=\"str_player\" xmlType=\"array\"><0 duration=\"num_0\" autoAnim=\"bol_false\" autoDirection=\"bol_false\" type=\"str_moveAbsolute\" xmlType=\"object\"><position y=\"num_160\" x=\"num_440\" xmlType=\"object\" /></0></0></auto></scripts><initialAppearance isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_1\" frame=\"num_1\" directions=\"num_1\" direction=\"num_0\" charset=\"str_charset\\invisible.png\" xmlType=\"object\" /></data></3><2 name=\"str_bigDog\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite isAnimating=\"bol_true\" delay=\"num_12\" animDirection=\"num_1\" animType=\"str_loop\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_2\" frame=\"num_1\" directions=\"num_4\" direction=\"num_1\" charset=\"str_charset\\som_wolf\\hump.png\" xmlType=\"object\" /><position y=\"num_186\" x=\"num_669\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><hitbox height=\"num_16\" width=\"num_16\" xmlType=\"object\" /><copySprite id=\"str_\" xmlType=\"object\"><data xmlType=\"object\" /></copySprite><scripts xmlType=\"object\" /><initialAppearance isAnimating=\"bol_true\" delay=\"num_12\" animDirection=\"num_1\" animType=\"str_loop\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_2\" frame=\"num_1\" directions=\"num_4\" direction=\"num_1\" charset=\"str_charset\\som_wolf\\hump.png\" xmlType=\"object\" /></data></2><1 name=\"str_newGirl\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite isAnimating=\"bol_true\" delay=\"num_2\" animDirection=\"num_1\" animType=\"str_loop\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_12\" frame=\"num_0\" directions=\"num_2\" direction=\"num_0\" charset=\"str_charset\\ridingHood\\nightie\\sexyProne_sleep_pumpLoop.png\" xmlType=\"object\" /><position y=\"num_184\" x=\"num_680\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><hitbox height=\"num_16\" width=\"num_16\" xmlType=\"object\" /><copySprite id=\"str_\" xmlType=\"object\"><data xmlType=\"object\" /></copySprite><scripts xmlType=\"object\" /><initialAppearance isAnimating=\"bol_true\" delay=\"num_2\" animDirection=\"num_1\" animType=\"str_loop\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_12\" frame=\"num_0\" directions=\"num_2\" direction=\"num_0\" charset=\"str_charset\\ridingHood\\nightie\\sexyProne_sleep_pumpLoop.png\" xmlType=\"object\" /></data></1><0 name=\"str_richGirl\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_2\" charset=\"str_charset\\girl1\\dressed\\walk.png\" xmlType=\"object\" /><position y=\"num_392\" x=\"num_600\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><hitbox height=\"num_16\" width=\"num_16\" xmlType=\"object\" /><copySprite id=\"str_\" xmlType=\"object\"><data xmlType=\"object\" /></copySprite><scripts xmlType=\"object\" /><initialAppearance isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_2\" charset=\"str_charset\\girl1\\dressed\\walk.png\" xmlType=\"object\" /></data></0></sprites><map format=\"num_2\" width=\"num_48\" height=\"num_40\" chipset=\"str_chipset\\iog_capeTown.png\" collision=\"str__111111111111111111111111111111111111111111111111100000100000011111000000000000011111111110000010000001111111111111110001111111111000000000000111111111111001000111111111111111100000011111111011100100011110000000011110000001111111111110010001111111111101111000000111111111111000000110000011110111100000011111111111111111111000001111011110000001111111111110000001100000111101111000000111111111111000000110000011110111100000011111111011100000011000001111011110000001111111111110000001100000111101111000000111111111111000000110000011110100000000011111000000000000011111111111011110000001111100110000000001111000000001111000000111100111000000000111111111111111100000011100111100000000011111111110000000000000000011110000000001111111111000000000000000001111000001000111111111100000000000000000111111111000011111111111111110000001111111110011110101111111111111111000000111110000001000010111110111111111100000011111000000000000011110011111111110000001111100000000000001111001111111000000000111110000000000010111100111111100000000011111000000000001011110011111110000000001111100000000000001111101111000000000000111110000000000000111110111111100000000011111000000000001011110011111110000000001111100000000000101001001111111000000000111110000000000000100100111111111111100011111000000000000010010011111111110010001111100000000000101001100001111000001000111111111100000010101111111111111100100011111111110000000010111111111111110010001110011111000000001000000011000000001000111101111100000010100000100100100000100011100111110000001010000010010010000010001110011111000000001010000001000000001000111001111100000000101000001100000000100011100111110000000010000000110000000010001110011111000000001000000001000000001000111111111100000000000010000100000001100011111111110000000000001000010000000110001111100000000000000000000001001000001000111110000000000000000000000100100000100011111000000000000000000001011111111110001111111111111111111\" xmlType=\"object\"><layers xmlType=\"array\"><2 value=\"str__7676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676af767676767676767676767676767676767676767676767676767676767676767676767676767676ag767676767676767676767676767676767676767676767676767676767676767676767676767676ah767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676af767676767676767676767676767676767676767676767676767676767676767676767676767676ag767676767676767676767676767676767676767676767676767676767676767676767676767676ah76767676767676767676767676767676767676767676af767676767676767676767676767676767676767676767676767676767676767676767676767676ag767676767676767676767676767676767676767676767676767676767676767676767676767676ah7676767676767676767676767676763o76767676767676767676767676767676767676767676767676767676767676767676767676768y76767676767676767676767676767676767676767676767676767676767676767676767676763o7676767676767676767676767676767676767676767676767676767676767676767676767676767676767636404u5o6i767676767676767676767676767676767676767676767676767676767676767676767637414v5p6j767676767676767676767676767676767676767676767676767676767676767636404u384236404u767676767676767676767676767676767676767676767676767676767676767637414v764337414v397676767676767676767676767676767676767676767676767676767676767638424w5q6k38424w5q6k76767676767676767676767676767676767676767676767676767676767639434x5r6l39434x5r6l767676767676767676767676767676767676767676767676767676767676767676767636404u5o6i767676767676767676767676767676767676767676767676767676767676767676767637414v5p6j767676767676767676767676767676767676767676767676767676767676767676767638424w5q6k76767676767676767676cw3zaf7676767676767676767676767676767676767676767639434x5r6l767676767676767676761c26ag7676767676767676767676767676767676767676767636404u5o6i76767676767676767676cw3zah7676767676767676767676767676767676767676767637414v5p6j767676767676767676767676767676767676767676767676767676767676767676767638424w5q6k767676767676767676767676767676767676767676767676767676767676767676767639434x5r6l767676404u76767676767676767676767676767676767676767676767676767676767636404u5o6i767676414v7676767676767676cw3zaf7676767676767676767676767676767676767637414v5p6j767676424w76767676767676761c26ag7676767676767676767676767676767676767638424w5q6k767676434x7676767676767676cw3zah7676767676767676767676767676767676767639434x5r6l767676767676767676767676767676767676767676767676767676767676767676767636404u5o6i767676364038424w5q36404u5o6i76767636767676767676767676767676767676767637414v5p6j76767637416i434x5r37414v5p6j76767676767676767676767676767676767676767638424w5q6k76767638424w5q6k7638424w5q6k00000000000076767676767676767676767676767639434x5r6l7676766j4336404u5o6i434x5r6l0000000000007676767676767676767676af76767676767676767676766k7637414v5p6j767676760000000000007676767676767676767676ag76767676767676767676766l7638424w5q6k767676390000000000007676767676767676767676ah76767676767676767676764u5o6i434x5r6l7676767636404u5o6i0076767676767676767676767676767676767676767676764v5p6j767676767676767637414v5p6j7676767676767676767676767676767676767676767676764w5q6k76767636404u5o6i38424w5q6k7676767676767676767676767676767676767676767676764x5r6l76767637414v5p6j39434x5r6l7676767676767676767676767676767676767676767676767636404u5o6i38424w5q6k76767676767676767676767676767676767676767676767676767676767637414v5p6j39434x5r6l7676767676767676767676767676767676767676767676767676767676\" xmlType=\"variable\" /><1 value=\"str__7676767676767676768x8x8x8x8x8x8x8x8x8x8x8x8x8x8x8x8x8x8x8x8x8x8x8x8x8x8x8x8x8x8x7676767676767676767676767676d31676760d7676767676767600000000000000000076007676d27676767676767676767676767676d11676760d7676767676767600000000000000d0d0d2007676d27676767676767676767676767676761676760d76767676767676000000007676000000d2007676d27676767676767676767676767676761676760d76767676767676000000007676000000d2007676d27676767676767676767676767676761676760d76767676767676767676007676000000d2007676d27676767676767676767676767676761676760d7676767676767676767600000000000000007676d27676767676767676767676767676761676760d7676767676767676767600000000d0d0d0d0d0d0d27676767676767676767676767676761676760d7676767676767676767676000000171717171717d27676767676767676767676767676761676760d767676767676be76767676000000al0000007676d27676767676767676767676767676761676760d7676767676767676767676000000am0000007676d27676767676767676767676767676768376760d7676767676767676767676000000an0000007676d2767676767676767676767676767676al76760d7676767676767676767676000076767676767676d2767676767676767676767676767676am76760d7676767676767676767676767676767676767676d2767676767676767676767676767676an76760d7676767676769o7676764i0c0c0c0c0c0c0c8276d27676767676767676767676767676767676760d76767676769o7676769s76000000000000001676d27676767676767676767676767676767676767917177676767676764i7676000000000000001676d2767676767676767676767676767676767676767676767676767676767676767676767636761676d276767676767676767676767676767676767676767676767676767676767676767676767d761676d27676767676767676767676767676767676767676767676767676767676765o6i4w5q6k5o6i1676d27676767676767676767676767676768276767676767676767676767676765p6j4x5r6l5p6j7d76d276767676767676767676767676767616767676767676767676767676767676767e767676767e76d2767676767676767676767676767676167676767676767676767676767676767676767676767676d2767676767676767676767676767676167676767676767676767676767676767676767676767676d2767676767676767676767676767676167676767676767676767676767676767676767676767d76d2767676767676767676767676171717837676767676767676767676767676767676767676767e76d2767676767676767676767676al7676767676767676767676767676767676767676767676767676d2767676767676767676767676am7676767676767676767676767676767676767676767676767676d2767676767676767676767676an7676767676767676767676767676767676767676767676767d76d27676767676767676767676760c0c0c827676767676767676767676767676767676767676767e76d2767676767676767676767676767676167676767676767676767676767676767676767676767676d2767676767676767676767676767676d0d0d0767676767676767676767676767676767676767676d27676767676767676767676767676767676d20d7676767676767676767676767676767676767d76d26i76767676767676767676767676767676d20d7676767676767676767676767676767676767e76d26j7d767676767676767676767676767676d20d76767676767676767676bdc77676767676767676d26k7e767676767676767676767676767676d20d7676767676767676767676bd7676767676767676d26l764u5o6i766k7ed27676767676767676d20d767676763s4m76767676bdc77676767676767d76d276764v5p6j7d6l76d276767d7676767676d20d7676767676767676767676bd7676767676767e76d276766k76767e7676d276767e7676767676d20d76767676767676767676bdc77676767676767676d2767d4x5r6l767676d27676767676760000d20d767676767676767676b9b9c3al76767676767676d2767e76767676767dd27676767676760000d20d767676767676767676babac4am76767676767676d2767676767676767ed27676767676760000d20d767676767676767676bbbbc5an76767676767676d27676767676767676d27676767676767676d20d76767676767676767676bdc77676767676767676767676767d76767676d2767676767676767dd20d7676767676767676767676767676767676767676767676767e76767676d2767676767676767ed20d7676767676767676767676767676767676767676767676767676767676d276767d7676767676d20d7676767676767676767676767676767676767676767676767676767676d276767e7676767676d20d7676767676767676767676767676767676767676767676767676767d76d2d2d2d0d0d0d0d0d0d20d767676767676768x8x8x8x8x8x8x8x8x8x8x8x8x8x\" xmlType=\"variable\" /><0 value=\"str__0f19231923192319236o6o6o6o6o6o6o6o6o6o6o6o0f192319236o6o6o6o6o6o6o6o6o6o6o6o6o6o0f19231923192319236o6o6o6o6o6o6oa0a06o6o6o0f192319236o6o6o6o6o6o6o6o6o6o6o6o6o6o0f19231923192319236o6o6o6o6o6o6oa0a06o6o6o0f19707u7u7u8o9icwcxcxc26o6o6o6o6o6o6o0f19231923192319236o6o6o6o6o6o6oa0a06o6o6o0f19715e5e5e8p9jb9b9c32y6o6o6o6o6o6o6o0f19acb8b8b8b8b8b8b8b8b64m4m4m6oa0a06o6o6o0f193s4m4m6u8p9jbabac42y6o6o6o6o6o6o6o0f19aea6a6a6a6a6a6a6a6ae2x2x2x6oa0a06o6o6o0f19716u6u6u8p9jbbbbc52z6o6o6o6o6o6o6oacb8b8b8b8b8b64m4m4ma6ae0m1g2x6oa0a06o6o6o0f19716u6u6u8p9jcwcycyc26o6o6o6o6o6o6oaea6a6a6a6a6ae2x2x2xa6ae0n1h2x6oa0a06o6o6o0f19716u6u6u8p9jcw6dcyc26o6o6o6o6o6o6oaea6a6a6a6a6ae0m1g2xa6ae2x2x2x6oa0a06o6o6o0f19716u68688p9jcwcycyc26o6o6o6o6o6o6oaea6a6a6a6a6ae0n1h2xa6ae0m1g2x6oa0a06o6o6o0f19716u6uc88p9jb9b9c32ya0a0a0a0a0a0a0aea6a6a6a6a6ae2x2x2xa6ae0n1h2x6oa0a06o6o6o0f19716u5e5e8p9jbabac42ya0a0a0a0a0a0a0aea6a6a6a6a6ae0m1g2xa6ae2x2x2xa0a0a06o6o6o0f19716868688p9jbbbbc52za0a0a0a0a0a0a0aea6a6a6a6a6ae0n1h2xa6aeb9b9c3a0a0a06o6o6o0f19727w7w7w8q9kcwczczc2a0a0a0a0a0a0a0aea6a6a6a6a6ae2x2x2xa6aebabac4a0a0a06o6o6o0f19231923a0a0a0a0a0a0a0a0a0a0a0a0a0a0adb8b8b8b8b8b74m4m4ma6aebbbbc5a0a0a06o6o6o0f192319230g1a24236o6o6o6o6o6o6oa0a0a00f19aea6a6a6a6a6a6a6a6ae2x2x2xa0a0a06o6o6o0f1923190g1a2419236o6o6o6o6o6o6o6oa0a00f19adb8b8b8b8b8b8b8b8b74m4m4ma0a0a0a06o6o0f0f0f0g1a240f19236o6o6o6o6o6o6o6oa0a00f1923192319231923a0a0a0a0a0a0a0a0a0a0a0a0a02y2ya0a00f2319236o6o6o6o6o6o6o6oa0a00f1923192319231923a0a0a0a0a0a0a0a0a0a0a0a0a02y2ya0a00f2319236o6o6o6o6o6o6o6oa0a00f1923192319231923a0a0a0a0a0a0a0a0a0a0a0a0a02y2ya0a00f2319236o6o6o6o6o6o6o6oa0a00f19737x7x7x7x7x8r9l1c261c2630a0a0a0a0a0a00f0f0f0f0f0f2319236o6o6o6o6o6o6o6oa0a00f19745h5h5h5h5h8s9mcw3z0m1g2x6oa0a0a0a0a00f192319236o6o6o6o6o6o6o6o6o6o6o6oa0a00f19747v066b6b6b8s9mcw3z0n1h2x6oa0a0a0a0a00f192319236o6o6o6o6o6o6o6o6o6o6o6oa0a00f197406065g6a7z8t9n1c261c26306oa0a0a0a0a00f192319236o6o6o6o6o6o6o6o6o6o6o6oa0a00f197406068s9m1c260m1g2x6o6o6o6oa0a0a0a0a00f192319236o6o6o6o6o6o6o6o6o6o6o6oa0a00f197406068s9mcw3z0n1h2x6o6o6oa0a0a0a0a0a00f192319236o6o6o6o6o6o6o6o6o6o6o6oa0a00f197406068s9mcw3zb9b9c3a0a0a0a0a0a0a0a0a00f192319236o6o6o6o6o6o6o6o6o6o6o6oa0a00f19747v068s9m1c26babac4a0a0a0a0a0a0a0a0a00f192319236o6o6o6o6o6o6o6o6o6o6o6oa0a00f19747v068s9mcw3zbbbbc5a0a0a0a0a0a0a0a0a00f192319236o6o6o6o6o6o6o6o6o6o6o6oa0a00f0f7406068s9mcw3z0m1g2x6o6o6oa0a0a0a0a0a00f192319236o6o6o6o6o6o6o6o6o6o6o6oa0a06o6o7406068s9m1c260n1h2x6o6o6o6oa0a0a0a0a00f192319236o6o6o6o6o6o6o6o6o6o6o6oa0a06o6o7406065f697x8r9l1c261c26306oa0a0a0a0a00f192319236o6o6o6o6o6o6o6o6o6o6o6oa0a06o6o7406065h5h5h8s9mcw3zb9b9c36o6o6oa0a0a00f192319236o6o6o6o6o6o6o6o6o6o6o6oa0a06o6o747v060606068s9m1c26babac46o6o6oa0a0a00f19707u8o9i9i2x2x2x6o6o6o6o6o6o6oa0a06o6o746b6b6b6b6b8s9mcw3zbbbbc56o6o6oa0a0a00f19715e5e8p9j4t4t4t6o6o6o6o6o6o6oa0a06o6o757z7z7z7z7z8t9n1c261c26306o6o6oa0a0a00f19716u6u8p9j3y4s4t6o6o6o6o6o6o6oa0a06o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6oa0a0a00f19716u6u8p9j4t4t4t6o6o6o6o6o6o6oa0a06o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6oa0a0a00f19716u6u8p9j3y4s4t6o6o6o6o6o6o6oa0a06o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6oa0a0a00f19716u6u8p9j4t4t4t6o6o6o6o6o6o6oa0a06o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6oa0a0a00f19716u6u8p9j4t4t4ta0a0a0a0a0a0a0a0a06o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6oa0a0a00f19716u6u8p9j4t4t4ta0a0a0a0a0a0a0a0a06o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6oa0a0a00f19716u6u8p9j4t4t4ta0a0a0a0a0a0a0a0a06o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6oa0a0a00f197168688p9j4t4t4t6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6oa0a0a00f19727w7w8q9k2x2x2x6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6oa0a0a00f192319236o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6oa0a0a00f192319236o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6oa0a0a00f192319236o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6oa0a0a00f192319236o6o6o6o6o6o6o6o6o6o6o6o6o6o\" xmlType=\"variable\" /></layers></map></level></data>";
data_xml = new XML(data_txt);
onLoad(data_xml);
Symbol 307 MovieClip [levels\dogs_pet\150.lvl] Frame 1
data_txt = "<data xmlType=\"object\"><level name=\"str_levels\\dogs_pet\\150.lvl\" xmlType=\"object\"><sprites xmlType=\"array\"><5 name=\"str_EVENTS_v1\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_1\" frame=\"num_1\" directions=\"num_1\" direction=\"num_0\" charset=\"str_charset\\invisible.png\" xmlType=\"object\" /><position y=\"num_8\" x=\"num_24\" xmlType=\"object\" /><flags xmlType=\"array\"><0 value=\"str_skip\" xmlType=\"variable\" /></flags><data xmlType=\"object\"><hitbox height=\"num_16\" width=\"num_16\" xmlType=\"object\" /><copySprite id=\"str_\" xmlType=\"object\"><data xmlType=\"object\" /></copySprite><scripts xmlType=\"object\"><auto xmlType=\"array\"><38 relativeLevel=\"str_160.lvl\" level=\"str_levels\\160.lvl\" type=\"str_teleport\" xmlType=\"object\"><position y=\"num_0\" x=\"num_0\" xmlType=\"object\" /><transOut mask=\"str_\" easing=\"str_easeLinear\" seconds=\"num_1\" effect=\"str_fadeBlack\" xmlType=\"object\" /><transIn mask=\"str_\" easing=\"str_easeLinear\" seconds=\"num_0.5\" effect=\"str_fade\" xmlType=\"object\" /></38><37 message=\"str_\" type=\"str_comment\" xmlType=\"object\" /><36 value=\"str_newGirl\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><35 value=\"str_girlMom\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><34 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_\\.Er,\\. keep it up hun!\\!\rY\\.-You're doing great!\" type=\"str_textbox\" xmlType=\"object\" /></34><33 type=\"str_move\" sprite=\"str_girlMom\" xmlType=\"array\"><0 walkSpeed=\"num_0.26\" duration=\"num_0.13\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_0\" x=\"num_8\" xmlType=\"object\" /></0></33><32 value=\"num_1\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><31 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_\\.She's...\\2 she's okay...\\!\rI\\.-It's fine.\" type=\"str_textbox\" xmlType=\"object\" /></31><30 type=\"str_move\" sprite=\"str_girlMom\" xmlType=\"array\"><0 value=\"str_down\" type=\"str_direction\" xmlType=\"object\" /></30><29 value=\"num_1\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><28 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_\\s2\\.But...\\2 that's a LOT of money...\" type=\"str_textbox\" xmlType=\"object\" /></28><27 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_comment\" message=\"str_* text: \\s2\\.But\\2 it's so much money...\" commentedType=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_\\s2\\.But\\2 it's so much money...\" type=\"str_textbox\" xmlType=\"object\" /></27><26 value=\"str_girlMom\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><25 type=\"str_move\" sprite=\"str_girlMom\" xmlType=\"array\"><2 value=\"str_up\" type=\"str_direction\" xmlType=\"object\" /><1 value=\"num_2\" mode=\"str_time\" type=\"str_moveWait\" xmlType=\"object\" /><0 value=\"str_right\" type=\"str_direction\" xmlType=\"object\" /></25><24 message=\"str_\" type=\"str_comment\" xmlType=\"object\" /><23 target=\"str_SPRITES.girlMom\" waitForEnd=\"bol_false\" depth=\"num_-1\" name=\"str_sweat\" linkage=\"str_\" type=\"str_swf\" xmlType=\"object\"><data xmlType=\"object\" /></23><22 value=\"str_girlMom\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><21 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_But thats-\\!\rS\\.-She was...\\2 and the dog was...\\!\rand\\. then...\\! but...\\! um...\" type=\"str_textbox\" xmlType=\"object\" /></21><20 type=\"str_move\" sprite=\"str_girlMom\" xmlType=\"array\"><4 value=\"str_down\" type=\"str_direction\" xmlType=\"object\" /><3 value=\"num_1\" mode=\"str_time\" type=\"str_moveWait\" xmlType=\"object\" /><2 value=\"str_left\" type=\"str_direction\" xmlType=\"object\" /><1 value=\"num_0.5\" mode=\"str_time\" type=\"str_moveWait\" xmlType=\"object\" /><0 walkSpeed=\"num_0.13\" duration=\"num_0.13\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_0\" x=\"num_16\" xmlType=\"object\" /></0></20><19 target=\"str_SPRITES.girlMom\" waitForEnd=\"bol_false\" depth=\"num_-1\" name=\"str_sweat\" linkage=\"str_swf\\sweat.swf\" type=\"str_swf\" xmlType=\"object\"><data xmlType=\"object\" /></19><18 message=\"str_\" type=\"str_comment\" xmlType=\"object\" /><17 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" typingSound=\"str_\" background=\"str_\" face=\"str_\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_Mom: \\s2\\..\\..\\.. sucking it...\\2 dry...\\!\\s1\r Oh my...\\2 Does she mean his-\\! \r They're\\2 whoring her out to the dog?!\" type=\"str_textbox\" xmlType=\"object\" /></17><16 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_comment\" message=\"str_* text: Mom: Oh my!\\2\r F\\.-Fifth\\3 leg?\\! Does she mean his-\\!\r They're...\\2 whoring her out to their dog??\" commentedType=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_Mom: Oh my!\\2\r F\\.-Fifth\\3 leg?\\! Does she mean his-\\!\r They're...\\2 whoring her out to their dog??\" type=\"str_textbox\" xmlType=\"object\" /></16><15 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_comment\" message=\"str_* text: Mom: Oh my!\\!\r They're...\\2 whoring her out to their dog??\" commentedType=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_Mom: Oh my!\\!\r They're...\\2 whoring her out to their dog??\" type=\"str_textbox\" xmlType=\"object\" /></15><14 type=\"str_move\" sprite=\"str_girlMom\" xmlType=\"array\"><0 value=\"str_down\" type=\"str_direction\" xmlType=\"object\" /></14><13 value=\"num_2\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><12 type=\"str_move\" sprite=\"str_newGirl\" xmlType=\"array\"><12 type=\"str_appearance\" xmlType=\"object\"><value isAnimating=\"bol_true\" delay=\"num_2\" animDirection=\"num_1\" animType=\"str_once\" pose=\"num_0\" rows=\"num_1\" columns=\"num_1\" frame=\"num_0\" frames=\"num_6\" direction=\"num_1\" directions=\"num_2\" charset=\"str_charset\\ridingHood\\nightie\\sexyProne_orgasm.png\" xmlType=\"object\" /></12><11 walkSpeed=\"num_0.39\" duration=\"num_0.254482471154695\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_3\" x=\"num_-10\" xmlType=\"object\" /></11><10 walkSpeed=\"num_0.39\" duration=\"num_0.483829935256181\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_-15\" x=\"num_-13\" xmlType=\"object\" /></10><9 walkSpeed=\"num_0.13\" duration=\"num_0.095100686774597\" autoAnim=\"bol_true\" autoDirection=\"bol_false\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_-4\" x=\"num_11\" xmlType=\"object\" /></9><8 walkSpeed=\"num_0.39\" duration=\"num_0.852776714621125\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_-30\" x=\"num_-18\" xmlType=\"object\" /></8><7 walkSpeed=\"num_0.39\" duration=\"num_0.987112265651684\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_-38\" x=\"num_14\" xmlType=\"object\" /></7><6 walkSpeed=\"num_0.13\" duration=\"num_0.156919814316102\" autoAnim=\"bol_true\" autoDirection=\"bol_false\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_-7\" x=\"num_-18\" xmlType=\"object\" /></6><5 walkSpeed=\"num_0.13\" duration=\"num_0.0991782643778363\" autoAnim=\"bol_true\" autoDirection=\"bol_false\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_-7\" x=\"num_10\" xmlType=\"object\" /></5><4 walkSpeed=\"num_0.39\" duration=\"num_0.297534793133509\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_-10\" x=\"num_7\" xmlType=\"object\" /></4><3 walkSpeed=\"num_0.39\" duration=\"num_0.955611919465742\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_-4\" x=\"num_39\" xmlType=\"object\" /></3><2 walkSpeed=\"num_0.13\" duration=\"num_0.101805958199901\" autoAnim=\"bol_true\" autoDirection=\"bol_false\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_11\" x=\"num_6\" xmlType=\"object\" /></2><1 walkSpeed=\"num_0.39\" duration=\"num_0.425691074166466\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_4\" x=\"num_17\" xmlType=\"object\" /></1><0 type=\"str_appearance\" xmlType=\"object\"><value isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" pose=\"num_0\" rows=\"num_1\" columns=\"num_1\" frame=\"num_1\" frames=\"num_3\" direction=\"num_2\" directions=\"num_4\" charset=\"str_charset\\ridingHood\\dress\\walk.png\" xmlType=\"object\" /></0></12><11 target=\"str_UNDERLAY\" waitForEnd=\"bol_false\" depth=\"num_-1\" name=\"str_cumTrail\" linkage=\"str_swf\\cumTrail.swf\" type=\"str_swf\" xmlType=\"object\"><data sprite=\"str_newGirl\" delay=\"str_2\" xmlType=\"object\" /></11><10 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_But dogs don't have hands,\\. so he pets me\rwith his 5th leg instead.\\! And then it gets all\rwet,\\. and then I have to suck it dry again.\" type=\"str_textbox\" xmlType=\"object\" /></10><9 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_comment\" message=\"str_* text: But dogs don't have hands,\\. so he pets me\rwith his 5th leg instead.\\2 But then it gets all\rwet and I have to suck out the playtime juice.\" commentedType=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_But dogs don't have hands,\\. so he pets me\rwith his 5th leg instead.\\2 But then it gets all\rwet and I have to suck out the playtime juice.\" type=\"str_textbox\" xmlType=\"object\" /></9><8 type=\"str_move\" sprite=\"str_newGirl\" xmlType=\"array\"><0 type=\"str_appearance\" xmlType=\"object\"><value isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_once\" pose=\"num_0\" rows=\"num_1\" columns=\"num_1\" frame=\"num_0\" frames=\"num_4\" direction=\"num_1\" directions=\"num_2\" charset=\"str_charset\\ridingHood\\nightie\\sitLick.png\" xmlType=\"object\" /></0></8><7 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_[newGirl]: I played with the doggie...\\!\r But\\. I'm really HIS doggie,\r so he pets me instead.\" type=\"str_textbox\" xmlType=\"object\" /></7><6 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_comment\" message=\"str_* text: [newGirl]: I play with the doggie!\\!\r But I'm HIS doggie, so he pets me all day long.\" commentedType=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_[newGirl]: I play with the doggie!\\!\r But I'm HIS doggie, so he pets me all day long.\" type=\"str_textbox\" xmlType=\"object\" /></6><5 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_comment\" message=\"str_* text: [newGirl]: I play with the doggie!\\!\r I'm HIS doggie, so he pets me all day long.\" commentedType=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_[newGirl]: I play with the doggie!\\!\r I'm HIS doggie, so he pets me all day long.\" type=\"str_textbox\" xmlType=\"object\" /></5><4 type=\"str_move\" sprite=\"str_newGirl\" xmlType=\"array\"><0 value=\"str_down\" type=\"str_direction\" xmlType=\"object\" /></4><3 value=\"num_0.1\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><2 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_Mom: You made $1000 in just ONE DAY?\\!\r What did you do??\" type=\"str_textbox\" xmlType=\"object\" /></2><1 value=\"num_1\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><0 update=\"bol_false\" type=\"str_setVariable\" reference=\"bol_false\" xmlType=\"object\"><condition xmlType=\"array\"><2 value=\"str_none\" xmlType=\"variable\" /><1 value=\"str_=\" xmlType=\"variable\" /><0 value=\"str_HUD.mood.mood\" xmlType=\"variable\" /></condition></0></auto></scripts><initialAppearance isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_1\" frame=\"num_1\" directions=\"num_1\" direction=\"num_0\" charset=\"str_charset\\invisible.png\" xmlType=\"object\" /></data></5><4 name=\"str_window_1\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite charset=\"str_charset\\objects\\furnature\\window1_night.png\" directions=\"num_1\" frames=\"num_1\" columns=\"num_1\" rows=\"num_1\" animType=\"str_yoyo\" animDirection=\"num_1\" xmlType=\"object\" /><position y=\"num_56\" x=\"num_120\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><hitbox height=\"num_16\" width=\"num_16\" xmlType=\"object\" /><copySprite id=\"str_\" xmlType=\"object\"><data xmlType=\"object\" /></copySprite><scripts xmlType=\"object\" /><initialAppearance charset=\"str_charset\\objects\\furnature\\window1_night.png\" directions=\"num_1\" frames=\"num_1\" columns=\"num_1\" rows=\"num_1\" animType=\"str_yoyo\" animDirection=\"num_1\" xmlType=\"object\" /></data></4><3 name=\"str_window_0\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite charset=\"str_charset\\objects\\furnature\\window1_night.png\" directions=\"num_1\" frames=\"num_1\" columns=\"num_1\" rows=\"num_1\" animType=\"str_yoyo\" animDirection=\"num_1\" xmlType=\"object\" /><position x=\"num_200\" y=\"num_56\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><hitbox height=\"num_16\" width=\"num_16\" xmlType=\"object\" /><copySprite id=\"str_\" xmlType=\"object\"><data xmlType=\"object\" /></copySprite><scripts xmlType=\"object\" /><initialAppearance charset=\"str_charset\\objects\\furnature\\window1_night.png\" directions=\"num_1\" frames=\"num_1\" columns=\"num_1\" rows=\"num_1\" animType=\"str_yoyo\" animDirection=\"num_1\" xmlType=\"object\" /></data></3><2 name=\"str_newGirl\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite isAnimating=\"bol_false\" delay=\"num_2\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_3\" charset=\"str_charset\\ridingHood\\dress\\walk.png\" xmlType=\"object\" /><position y=\"num_200\" x=\"num_168\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><hitbox height=\"num_16\" width=\"num_16\" xmlType=\"object\" /><copySprite id=\"str_\" xmlType=\"object\"><data xmlType=\"object\" /></copySprite><scripts xmlType=\"object\" /><initialAppearance isAnimating=\"bol_false\" delay=\"num_2\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_3\" charset=\"str_charset\\ridingHood\\dress\\walk.png\" xmlType=\"object\" /></data></2><1 name=\"str_girlMom\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_1\" charset=\"str_charset\\woman2\\dressed\\walk.png\" xmlType=\"object\" /><position y=\"num_200\" x=\"num_136\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><hitbox height=\"num_16\" width=\"num_16\" xmlType=\"object\" /><copySprite id=\"str_\" xmlType=\"object\"><data xmlType=\"object\" /></copySprite><scripts xmlType=\"object\" /><initialAppearance isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_1\" charset=\"str_charset\\woman2\\dressed\\walk.png\" xmlType=\"object\" /></data></1><0 name=\"str_EVENTS\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_1\" frame=\"num_1\" directions=\"num_1\" direction=\"num_0\" charset=\"str_charset\\invisible.png\" xmlType=\"object\" /><position x=\"num_8\" y=\"num_8\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><hitbox height=\"num_16\" width=\"num_16\" xmlType=\"object\" /><copySprite id=\"str_\" xmlType=\"object\"><data xmlType=\"object\" /></copySprite><scripts xmlType=\"object\"><auto xmlType=\"array\"><47 relativeLevel=\"str_160.lvl\" level=\"str_levels\\160.lvl\" type=\"str_teleport\" xmlType=\"object\"><position y=\"num_0\" x=\"num_0\" xmlType=\"object\" /><transOut mask=\"str_\" easing=\"str_easeLinear\" seconds=\"num_1\" effect=\"str_fadeBlack\" xmlType=\"object\" /><transIn mask=\"str_\" easing=\"str_easeLinear\" seconds=\"num_0.5\" effect=\"str_fade\" xmlType=\"object\" /></47><46 message=\"str_\" type=\"str_comment\" xmlType=\"object\" /><45 value=\"str_girlMom\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><44 value=\"num_1\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><43 target=\"str_SPRITES.cum\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_anim\" linkage=\"str_swf\\cum\\coat.swf\" type=\"str_swf\" xmlType=\"object\"><data xmlType=\"object\" /></43><42 type=\"str_move\" sprite=\"str_cum\" xmlType=\"array\"><2 walkSpeed=\"num_0\" duration=\"num_0\" autoAnim=\"bol_false\" autoDirection=\"bol_false\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_92\" x=\"num_206\" xmlType=\"object\" /></2><1 duration=\"num_0\" autoAnim=\"bol_false\" autoDirection=\"bol_false\" type=\"str_moveAbsolute\" xmlType=\"object\"><position y=\"num_16\" x=\"num_8\" xmlType=\"object\" /></1><0 type=\"str_comment\" message=\"str_* pose: charset\\_cum_preview\\coat.png\" commentedType=\"str_appearance\" xmlType=\"object\"><value charset=\"str_charset\\_cum_preview\\coat.png\" directions=\"num_1\" frames=\"num_1\" columns=\"num_1\" rows=\"num_1\" animType=\"str_yoyo\" animDirection=\"num_1\" xmlType=\"object\" /></0></42><41 target=\"str_SPRITES\" waitForEnd=\"bol_false\" depth=\"num_-1\" name=\"str_cum\" linkage=\"str_rpgSprite\" type=\"str_swf\" xmlType=\"object\"><data xmlType=\"object\" /></41><40 name=\"str_\" volume=\"num_100\" loop=\"bol_false\" file=\"str_sound\\sexy\\sigh03.mp3\" type=\"str_sound\" xmlType=\"object\" /><39 value=\"str_newGirl\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><38 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_\\.Er,\\. keep it up hun!\\!\rY\\.-You're doing great!\" type=\"str_textbox\" xmlType=\"object\" /></38><37 type=\"str_move\" sprite=\"str_girlMom\" xmlType=\"array\"><0 walkSpeed=\"num_0.26\" duration=\"num_0.13\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_0\" x=\"num_8\" xmlType=\"object\" /></0></37><36 value=\"num_0.5\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><35 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_\\.She's...\\2 she's fine...\\!\rI\\.-It's fine.\" type=\"str_textbox\" xmlType=\"object\" /></35><34 type=\"str_move\" sprite=\"str_girlMom\" xmlType=\"array\"><0 value=\"str_down\" type=\"str_direction\" xmlType=\"object\" /></34><33 value=\"num_1\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><32 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_\\s2\\.But...\\2 that's a LOT of money...\" type=\"str_textbox\" xmlType=\"object\" /></32><31 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_comment\" message=\"str_* text: \\s2\\.But\\2 it's so much money...\" commentedType=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_\\s2\\.But\\2 it's so much money...\" type=\"str_textbox\" xmlType=\"object\" /></31><30 value=\"str_girlMom\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><29 type=\"str_move\" sprite=\"str_girlMom\" xmlType=\"array\"><2 value=\"str_up\" type=\"str_direction\" xmlType=\"object\" /><1 value=\"num_2\" mode=\"str_time\" type=\"str_moveWait\" xmlType=\"object\" /><0 value=\"str_right\" type=\"str_direction\" xmlType=\"object\" /></29><28 message=\"str_\" type=\"str_comment\" xmlType=\"object\" /><27 target=\"str_SPRITES.girlMom\" waitForEnd=\"bol_false\" depth=\"num_-1\" name=\"str_sweat\" linkage=\"str_\" type=\"str_swf\" xmlType=\"object\"><data xmlType=\"object\" /></27><26 value=\"str_girlMom\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><25 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_But thats-\\2\rS\\.-She was...\\2 and the dog was...\\!\rthen...\\2 but...\\3 um...\" type=\"str_textbox\" xmlType=\"object\" /></25><24 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_comment\" message=\"str_* text: But thats-\\2\rS\\.-She was...\\2 and the dog was...\\!\rand\\. then...\\! but...\\! um...\" commentedType=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_But thats-\\2\rS\\.-She was...\\2 and the dog was...\\!\rand\\. then...\\! but...\\! um...\" type=\"str_textbox\" xmlType=\"object\" /></24><23 type=\"str_move\" sprite=\"str_girlMom\" xmlType=\"array\"><4 value=\"str_down\" type=\"str_direction\" xmlType=\"object\" /><3 value=\"num_1\" mode=\"str_time\" type=\"str_moveWait\" xmlType=\"object\" /><2 value=\"str_left\" type=\"str_direction\" xmlType=\"object\" /><1 value=\"num_0.5\" mode=\"str_time\" type=\"str_moveWait\" xmlType=\"object\" /><0 walkSpeed=\"num_0.13\" duration=\"num_0.13\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_0\" x=\"num_16\" xmlType=\"object\" /></0></23><22 target=\"str_SPRITES.girlMom\" waitForEnd=\"bol_false\" depth=\"num_-1\" name=\"str_sweat\" linkage=\"str_swf\\sweat.swf\" type=\"str_swf\" xmlType=\"object\"><data xmlType=\"object\" /></22><21 message=\"str_\" type=\"str_comment\" xmlType=\"object\" /><20 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" typingSound=\"str_\" background=\"str_\" face=\"str_\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_Mom: \\s2\\..\\..\\.. sucking his...\\2 leg?\\!\\s1\r Oh my...\\2 Does she mean his-\\! \r They're\\2 whoring her out to the dog?!\" type=\"str_textbox\" xmlType=\"object\" /></20><19 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_comment\" typingSound=\"str_\" background=\"str_\" face=\"str_\" message=\"str_* text: Mom: \\s2\\..\\..\\.. sucking his...\\2 leg?\\!\\s1\r Oh my...\\2 Does she mean his-\\! \r They're\\2 whoring her out to the dog?!\" commentedType=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_Mom: \\s2\\..\\..\\.. sucking his...\\2 leg?\\!\\s1\r Oh my...\\2 Does she mean his-\\! \r They're\\2 whoring her out to the dog?!\" type=\"str_textbox\" xmlType=\"object\" /></19><18 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_comment\" message=\"str_* text: Mom: Oh my!\\2\r F\\.-Fifth\\3 leg?\\! Does she mean his-\\!\r They're...\\2 whoring her out to their dog??\" commentedType=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_Mom: Oh my!\\2\r F\\.-Fifth\\3 leg?\\! Does she mean his-\\!\r They're...\\2 whoring her out to their dog??\" type=\"str_textbox\" xmlType=\"object\" /></18><17 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_comment\" message=\"str_* text: Mom: Oh my!\\!\r They're...\\2 whoring her out to their dog??\" commentedType=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_Mom: Oh my!\\!\r They're...\\2 whoring her out to their dog??\" type=\"str_textbox\" xmlType=\"object\" /></17><16 type=\"str_move\" sprite=\"str_girlMom\" xmlType=\"array\"><0 value=\"str_down\" type=\"str_direction\" xmlType=\"object\" /></16><15 value=\"num_2\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><14 type=\"str_move\" sprite=\"str_newGirl\" xmlType=\"array\"><14 type=\"str_appearance\" xmlType=\"object\"><value isAnimating=\"bol_true\" delay=\"num_2\" animDirection=\"num_1\" animType=\"str_once\" pose=\"num_0\" rows=\"num_1\" columns=\"num_1\" frame=\"num_0\" frames=\"num_6\" direction=\"num_1\" directions=\"num_2\" charset=\"str_charset\\ridingHood\\nightie\\sexyProne_orgasm.png\" xmlType=\"object\" /></14><13 walkSpeed=\"num_0.39\" duration=\"num_0.254482471154695\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_3\" x=\"num_-10\" xmlType=\"object\" /></13><12 walkSpeed=\"num_0.39\" duration=\"num_0.483829935256181\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_-15\" x=\"num_-13\" xmlType=\"object\" /></12><11 walkSpeed=\"num_0.13\" duration=\"num_0.095100686774597\" autoAnim=\"bol_true\" autoDirection=\"bol_false\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_-4\" x=\"num_11\" xmlType=\"object\" /></11><10 walkSpeed=\"num_0.39\" duration=\"num_0.852776714621125\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_-30\" x=\"num_-18\" xmlType=\"object\" /></10><9 walkSpeed=\"num_0.39\" duration=\"num_0.987112265651684\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_-38\" x=\"num_14\" xmlType=\"object\" /></9><8 walkSpeed=\"num_0.13\" duration=\"num_0.156919814316102\" autoAnim=\"bol_true\" autoDirection=\"bol_false\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_-7\" x=\"num_-18\" xmlType=\"object\" /></8><7 walkSpeed=\"num_0.13\" duration=\"num_0.0991782643778363\" autoAnim=\"bol_true\" autoDirection=\"bol_false\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_-7\" x=\"num_10\" xmlType=\"object\" /></7><6 walkSpeed=\"num_0.39\" duration=\"num_0.297534793133509\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_-10\" x=\"num_7\" xmlType=\"object\" /></6><5 walkSpeed=\"num_0.39\" duration=\"num_0.955611919465742\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_-4\" x=\"num_39\" xmlType=\"object\" /></5><4 walkSpeed=\"";
data_txt = data_txt + "num_0.13\" duration=\"num_0.101805958199901\" autoAnim=\"bol_true\" autoDirection=\"bol_false\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_11\" x=\"num_6\" xmlType=\"object\" /></4><3 walkSpeed=\"num_0.39\" duration=\"num_0.425691074166466\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_4\" x=\"num_17\" xmlType=\"object\" /></3><2 type=\"str_appearance\" xmlType=\"object\"><value isAnimating=\"bol_false\" delay=\"num_2\" animDirection=\"num_1\" animType=\"str_loop\" pose=\"num_0\" rows=\"num_1\" columns=\"num_1\" frame=\"num_0\" frames=\"num_6\" direction=\"num_1\" directions=\"num_4\" charset=\"str_charset\\ridingHood\\nightie\\crawl.png\" xmlType=\"object\" /></2><1 value=\"num_0.5\" mode=\"str_time\" type=\"str_moveWait\" xmlType=\"object\" /><0 value=\"str_right\" type=\"str_direction\" xmlType=\"object\" /></14><13 target=\"str_UNDERLAY\" waitForEnd=\"bol_false\" depth=\"num_-1\" name=\"str_cumTrail\" linkage=\"str_swf\\cumTrail.swf\" type=\"str_swf\" xmlType=\"object\"><data sprite=\"str_newGirl\" delay=\"str_2\" xmlType=\"object\" /></13><12 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_But dogs don't have hands,\\. so he pets me\rwith his other leg.\\! And then it gets all wet,\\.\rand then I have to suck it dry again.\" type=\"str_textbox\" xmlType=\"object\" /></12><11 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_comment\" message=\"str_* text: But dogs don't have hands,\\. so he pets me\rwith his 5th leg.\\! And then it gets all wet,\\.\rand then I have to suck it dry again.\" commentedType=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_But dogs don't have hands,\\. so he pets me\rwith his 5th leg.\\! And then it gets all wet,\\.\rand then I have to suck it dry again.\" type=\"str_textbox\" xmlType=\"object\" /></11><10 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_comment\" message=\"str_* text: But dogs don't have hands,\\. so he pets me\rwith his 5th leg instead.\\! And then it gets all\rwet,\\. and then I have to suck it dry again.\" commentedType=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_But dogs don't have hands,\\. so he pets me\rwith his 5th leg instead.\\! And then it gets all\rwet,\\. and then I have to suck it dry again.\" type=\"str_textbox\" xmlType=\"object\" /></10><9 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_comment\" message=\"str_* text: But dogs don't have hands,\\. so he pets me\rwith his 5th leg instead.\\2 But then it gets all\rwet and I have to suck out the playtime juice.\" commentedType=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_But dogs don't have hands,\\. so he pets me\rwith his 5th leg instead.\\2 But then it gets all\rwet and I have to suck out the playtime juice.\" type=\"str_textbox\" xmlType=\"object\" /></9><8 type=\"str_move\" sprite=\"str_newGirl\" xmlType=\"array\"><0 type=\"str_appearance\" xmlType=\"object\"><value isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_once\" pose=\"num_0\" rows=\"num_1\" columns=\"num_1\" frame=\"num_0\" frames=\"num_4\" direction=\"num_1\" directions=\"num_2\" charset=\"str_charset\\ridingHood\\nightie\\sitLick.png\" xmlType=\"object\" /></0></8><7 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_[newGirl]: I played with the doggie...\\!\r But\\. I'm really HIS doggie,\r so he pets me instead.\" type=\"str_textbox\" xmlType=\"object\" /></7><6 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_comment\" message=\"str_* text: [newGirl]: I play with the doggie!\\!\r But I'm HIS doggie, so he pets me all day long.\" commentedType=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_[newGirl]: I play with the doggie!\\!\r But I'm HIS doggie, so he pets me all day long.\" type=\"str_textbox\" xmlType=\"object\" /></6><5 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_comment\" message=\"str_* text: [newGirl]: I play with the doggie!\\!\r I'm HIS doggie, so he pets me all day long.\" commentedType=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_[newGirl]: I play with the doggie!\\!\r I'm HIS doggie, so he pets me all day long.\" type=\"str_textbox\" xmlType=\"object\" /></5><4 type=\"str_move\" sprite=\"str_newGirl\" xmlType=\"array\"><0 value=\"str_down\" type=\"str_direction\" xmlType=\"object\" /></4><3 value=\"num_0.1\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><2 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_Mom: \\.You made $1000 in just\\2 ONE\\. DAY?\\!\r What did you do??\" type=\"str_textbox\" xmlType=\"object\" /></2><1 value=\"num_1\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><0 update=\"bol_false\" type=\"str_setVariable\" reference=\"bol_false\" xmlType=\"object\"><condition xmlType=\"array\"><2 value=\"str_none\" xmlType=\"variable\" /><1 value=\"str_=\" xmlType=\"variable\" /><0 value=\"str_HUD.mood.mood\" xmlType=\"variable\" /></condition></0></auto></scripts><initialAppearance isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_1\" frame=\"num_1\" directions=\"num_1\" direction=\"num_0\" charset=\"str_charset\\invisible.png\" xmlType=\"object\" /></data></0></sprites><map format=\"num_2\" width=\"num_20\" height=\"num_15\" chipset=\"str_chipset\\spo.png\" collision=\"str__111111111111111111111111111111111111111111111111111111111111111110000000011111000000000001111111000111001111111000111001111111000111001111111111111000111110100111001111110100111001111110000111001111110000111001111111000000001111111000000001111111111111111111111111111111111111111111111111111111111111\" xmlType=\"object\"><layers xmlType=\"array\"><2 value=\"str__bybybybybybybybybybybybybybybybybybybybybybybybybybybybybybybybybybybybybybybybybybybybybybybybybzbzbzbzbzbzbzbzbzbzbzbybybycs0000000000000000009o00b4bybycs0000000000000000000000b4bybycs000000000000b300000000b4bybycs000000000000b400000000b4bybycs000000000000b400000000b5bybybybzbzbzbzbzbzby0000000000bybycs000000000000b400000000b3bybycs000000000000b400000000b4bybycs000000000000b400000000b4bybycs000000000000b500000000b4bybycs0000000000000000000000b4bybycs0000000000000000000000b4bybybybxbxbxbxbxbxbxbxbxbxbxbybybybybybybybybybybybybybybybybybybybybybybybybybybybybybybybybybybybybybybybybybybybybyby\" xmlType=\"variable\" /><1 value=\"str__00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ai0000000000000000000000000000000000000000bac400000000000000000000000000b9c300000000000000000000000000bbc500000000000000000000000000000000000000cy0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000cz000000000000000000000000000000000000000000004y5s6m0000000000000000000000004z5t6n000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000\" xmlType=\"variable\" /><0 value=\"str__0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006b75bsbsbsbsbs8m8m8m8m000000000icubsbsbsbsbs8m8m8m8m000000006b75bsbsbsbs006b758m8m000000006b75bsbsbsbs006b758m8m000000006b75bsbsbsbs006b758m8m00000000000000000000006b758m8m8m0000006b4o5i6c8m8m006b758m8m000000006b4p5j6d8m8m006b758m8m000000006b758m8m8m8m006b758m8m000000006b758m8m8m8m006b758m8m000000006b758m8m8m8m8m8m8m8m8m000000006b758m8m8m8m8m8m8m8m8m00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000\" xmlType=\"variable\" /></layers></map></level></data>";
data_xml = new XML(data_txt);
onLoad(data_xml);
Symbol 308 MovieClip [levels\dogs_pet\160.lvl] Frame 1
data_txt = "<data xmlType=\"object\"><level name=\"str_levels\\dogs_pet\\160.lvl\" xmlType=\"object\"><sprites xmlType=\"array\"><4 name=\"str_window_1\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite charset=\"str_charset\\objects\\furnature\\window1_day.png\" directions=\"num_1\" frames=\"num_1\" columns=\"num_1\" rows=\"num_1\" animType=\"str_yoyo\" animDirection=\"num_1\" xmlType=\"object\" /><position y=\"num_56\" x=\"num_120\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><hitbox height=\"num_16\" width=\"num_16\" xmlType=\"object\" /><copySprite id=\"str_\" xmlType=\"object\"><data xmlType=\"object\" /></copySprite><scripts xmlType=\"object\" /><initialAppearance charset=\"str_charset\\objects\\furnature\\window1_day.png\" directions=\"num_1\" frames=\"num_1\" columns=\"num_1\" rows=\"num_1\" animType=\"str_yoyo\" animDirection=\"num_1\" xmlType=\"object\" /></data></4><3 name=\"str_window_0\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite charset=\"str_charset\\objects\\furnature\\window1_day.png\" directions=\"num_1\" frames=\"num_1\" columns=\"num_1\" rows=\"num_1\" animType=\"str_yoyo\" animDirection=\"num_1\" xmlType=\"object\" /><position x=\"num_200\" y=\"num_56\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><hitbox height=\"num_16\" width=\"num_16\" xmlType=\"object\" /><copySprite id=\"str_\" xmlType=\"object\"><data xmlType=\"object\" /></copySprite><scripts xmlType=\"object\" /><initialAppearance charset=\"str_charset\\objects\\furnature\\window1_day.png\" directions=\"num_1\" frames=\"num_1\" columns=\"num_1\" rows=\"num_1\" animType=\"str_yoyo\" animDirection=\"num_1\" xmlType=\"object\" /></data></3><2 name=\"str_newGirl\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_1\" frame=\"num_0\" directions=\"num_2\" direction=\"num_1\" charset=\"str_charset\\ridingHood\\nightie\\sleep.png\" xmlType=\"object\" /><position y=\"num_88\" x=\"num_176\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><hitbox height=\"num_16\" width=\"num_16\" xmlType=\"object\" /><copySprite id=\"str_\" xmlType=\"object\"><data xmlType=\"object\" /></copySprite><scripts xmlType=\"object\" /><initialAppearance isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_1\" frame=\"num_0\" directions=\"num_2\" direction=\"num_1\" charset=\"str_charset\\ridingHood\\nightie\\sleep.png\" xmlType=\"object\" /></data></2><1 name=\"str_girlMom\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_0\" charset=\"str_charset\\woman2\\dressed\\walk.png\" xmlType=\"object\" /><position y=\"num_200\" x=\"num_232\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><hitbox height=\"num_16\" width=\"num_16\" xmlType=\"object\" /><copySprite id=\"str_\" xmlType=\"object\"><data xmlType=\"object\" /></copySprite><scripts xmlType=\"object\" /><initialAppearance isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_0\" charset=\"str_charset\\woman2\\dressed\\walk.png\" xmlType=\"object\" /></data></1><0 name=\"str_EVENTS\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_1\" frame=\"num_1\" directions=\"num_1\" direction=\"num_0\" charset=\"str_charset\\invisible.png\" xmlType=\"object\" /><position x=\"num_8\" y=\"num_8\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><hitbox height=\"num_16\" width=\"num_16\" xmlType=\"object\" /><copySprite id=\"str_\" xmlType=\"object\"><data xmlType=\"object\" /></copySprite><scripts xmlType=\"object\"><auto xmlType=\"array\"><29 relativeLevel=\"str_170.lvl\" level=\"str_levels\\dogs_pet\\170.lvl\" type=\"str_teleport\" xmlType=\"object\"><position y=\"num_0\" x=\"num_0\" xmlType=\"object\" /><transOut mask=\"str_\" easing=\"str_easeLinear\" seconds=\"num_0.5\" effect=\"str_fadeBlack\" xmlType=\"object\" /><transIn mask=\"str_\" easing=\"str_easeLinear\" seconds=\"num_0.5\" effect=\"str_fade\" xmlType=\"object\" /></29><28 message=\"str_\" type=\"str_comment\" xmlType=\"object\" /><27 value=\"num_1\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><26 type=\"str_move\" sprite=\"str_newGirl\" xmlType=\"array\"><3 walkSpeed=\"num_0.13\" duration=\"num_0.39\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_48\" x=\"num_0\" xmlType=\"object\" /></3><2 walkSpeed=\"num_0.13\" duration=\"num_0.662872536767062\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_16\" x=\"num_-80\" xmlType=\"object\" /></2><1 walkSpeed=\"num_0.13\" duration=\"num_0.52\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_64\" x=\"num_0\" xmlType=\"object\" /></1><0 walkSpeed=\"num_0.13\" duration=\"num_0.367695526217005\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_32\" x=\"num_32\" xmlType=\"object\" /></0></26><25 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_160\" text=\"str_Mom: \\.Now\\. go be a good,\\. um...\\2 doggie,\\!\r and make lots of money for Mommy.\" type=\"str_textbox\" xmlType=\"object\" /></25><24 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_comment\" message=\"str_* text: Mom: \\.Now\\. go be a good,\\. um...\\2 doggie,\\!\r and make more money for Mommy.\" commentedType=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_160\" text=\"str_Mom: \\.Now\\. go be a good,\\. um...\\2 doggie,\\!\r and make more money for Mommy.\" type=\"str_textbox\" xmlType=\"object\" /></24><23 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_comment\" message=\"str_* text: Mom: Now go be a good doggie-toy,\r and make more money for Mommy.\" commentedType=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_160\" text=\"str_Mom: Now go be a good doggie-toy,\r and make more money for Mommy.\" type=\"str_textbox\" xmlType=\"object\" /></23><22 value=\"num_0.5\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><21 value=\"str_girlMom\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><20 value=\"str_newGirl\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><19 type=\"str_move\" sprite=\"str_newGirl\" xmlType=\"array\"><3 type=\"str_appearance\" xmlType=\"object\"><value isAnimating=\"bol_false\" delay=\"num_2\" animDirection=\"num_1\" animType=\"str_yoyo\" pose=\"num_0\" rows=\"num_1\" columns=\"num_1\" frame=\"num_1\" frames=\"num_3\" direction=\"num_0\" directions=\"num_4\" charset=\"str_charset\\ridingHood\\nightie\\walk.png\" xmlType=\"object\" /></3><2 value=\"str_up\" type=\"str_direction\" xmlType=\"object\" /><1 walkSpeed=\"num_0.096\" duration=\"num_0.173066461222271\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_16\" x=\"num_24\" xmlType=\"object\" /></1><0 type=\"str_appearance\" xmlType=\"object\"><value isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" pose=\"num_0\" rows=\"num_1\" columns=\"num_1\" frame=\"num_0\" frames=\"num_2\" direction=\"num_1\" directions=\"num_4\" charset=\"str_charset\\ridingHood\\nightie\\unconcious.png\" xmlType=\"object\" /></0></19><18 type=\"str_move\" sprite=\"str_girlMom\" xmlType=\"array\"><1 value=\"str_down\" type=\"str_direction\" xmlType=\"object\" /><0 walkSpeed=\"num_0.13\" duration=\"num_0.065\" autoAnim=\"bol_true\" autoDirection=\"bol_false\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_0\" x=\"num_8\" xmlType=\"object\" /></0></18><17 value=\"str_girlMom\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><16 type=\"str_move\" sprite=\"str_girlMom\" xmlType=\"array\"><0 walkSpeed=\"num_0.13\" duration=\"num_0.065\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_0\" x=\"num_-8\" xmlType=\"object\" /></0></16><15 value=\"str_girlMom\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><14 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_160\" text=\"str_\\.Now hurry...\\. you're going to be late.\\!\rThere will be plenty of time for\\3 that stuff\\2\rafter you get there.\" type=\"str_textbox\" xmlType=\"object\" /></14><13 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_comment\" message=\"str_* text: \\.Now now...\\. you're going to be late.\\!\rThere will be plenty of time for\\3 that\\2\rafter you get there.\" commentedType=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_160\" text=\"str_\\.Now now...\\. you're going to be late.\\!\rThere will be plenty of time for\\3 that\\2\rafter you get there.\" type=\"str_textbox\" xmlType=\"object\" /></13><12 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_comment\" message=\"str_* text: Now now...\\. there will be plenty of time\rto do that later.\\! It's time for work!\" commentedType=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_160\" text=\"str_Now now...\\. there will be plenty of time\rto do that later.\\! It's time for work!\" type=\"str_textbox\" xmlType=\"object\" /></12><11 type=\"str_move\" sprite=\"str_girlMom\" xmlType=\"array\"><0 walkSpeed=\"num_0.26\" duration=\"num_0.183847763108502\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_-8\" x=\"num_-8\" xmlType=\"object\" /></0></11><10 value=\"num_0.5\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><9 value=\"str_newGirl\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><8 type=\"str_move\" sprite=\"str_newGirl\" xmlType=\"array\"><6 type=\"str_appearance\" xmlType=\"object\"><value isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" pose=\"num_0\" rows=\"num_1\" columns=\"num_1\" frame=\"num_0\" frames=\"num_1\" direction=\"num_0\" directions=\"num_1\" charset=\"str_charset\\ridingHood\\nightie\\sitSpread_reach.png\" xmlType=\"object\" /></6><5 value=\"num_0.5\" mode=\"str_time\" type=\"str_moveWait\" xmlType=\"object\" /><4 type=\"str_appearance\" xmlType=\"object\"><value isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" pose=\"num_0\" rows=\"num_1\" columns=\"num_1\" frame=\"num_0\" frames=\"num_1\" direction=\"num_2\" directions=\"num_1\" charset=\"str_charset\\ridingHood\\nightie\\sitSpread_awake.png\" xmlType=\"object\" /></4><3 value=\"num_1.5\" mode=\"str_time\" type=\"str_moveWait\" xmlType=\"object\" /><2 type=\"str_appearance\" xmlType=\"object\"><value isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" pose=\"num_0\" rows=\"num_1\" columns=\"num_1\" frame=\"num_2\" frames=\"num_3\" direction=\"num_0\" directions=\"num_1\" charset=\"str_charset\\ridingHood\\nightie\\sitScrew.png\" xmlType=\"object\" /></2><1 value=\"num_0.2\" mode=\"str_time\" type=\"str_moveWait\" xmlType=\"object\" /><0 type=\"str_appearance\" xmlType=\"object\"><value isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" pose=\"num_0\" rows=\"num_1\" columns=\"num_1\" frame=\"num_0\" frames=\"num_2\" direction=\"num_0\" directions=\"num_1\" charset=\"str_charset\\ridingHood\\nightie\\mposeSleep.png\" xmlType=\"object\" /></0></8><7 value=\"num_0.1\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><6 value=\"str_girlMom\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><5 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_160\" text=\"str_Oh hun,\\. just because you work like a dog,\rdoesn't mean you have to sleep like one.\" type=\"str_textbox\" xmlType=\"object\" /></5><4 type=\"str_move\" sprite=\"str_girlMom\" xmlType=\"array\"><0 walkSpeed=\"num_0.26\" duration=\"num_0.13\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_0\" x=\"num_-8\" xmlType=\"object\" /></0></4><3 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_160\" text=\"str_Mom: Rise and shine, [newGirl]!\\2\r Are you ready for your,\\2 um...\\3 job?\" type=\"str_textbox\" xmlType=\"object\" /></3><2 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_comment\" message=\"str_* text: Mom: Rise and shine, [newGirl]!\\.\r Are you ready for...\\2 work?\" commentedType=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_160\" text=\"str_Mom: Rise and shine, [newGirl]!\\.\r Are you ready for...\\2 work?\" type=\"str_textbox\" xmlType=\"object\" /></2><1 value=\"str_girlMom\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><0 type=\"str_move\" sprite=\"str_girlMom\" xmlType=\"array\"><2 value=\"str_left\" type=\"str_direction\" xmlType=\"object\" /><1 walkSpeed=\"num_0.13\" duration=\"num_0.350035712463743\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_-40\" x=\"num_-16\" xmlType=\"object\" /></1><0 walkSpeed=\"num_0.13\" duration=\"num_0.52\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_-64\" x=\"num_0\" xmlType=\"object\" /></0></0></auto></scripts><initialAppearance isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_1\" frame=\"num_1\" directions=\"num_1\" direction=\"num_0\" charset=\"str_charset\\invisible.png\" xmlType=\"object\" /></data></0></sprites><map format=\"num_2\" width=\"num_20\" height=\"num_15\" chipset=\"str_chipset\\spo.png\" collision=\"str__111111111111111111111111111111111111111111111111111111111111111110000000011111000000000001111111000111001111111000111001111111000111001111111111111000111110100111001111110100111001111110000111001111110000111001111111000000001111111000000001111111111111111111111111111111111111111111111111111111111111\" xmlType=\"object\"><layers xmlType=\"array\"><2 value=\"str__bybybybybybybybybybybybybybybybybybybybybybybybybybybybybybybybybybybybybybybybybybybybybybybybybzbzbzbzbzbzbzbzbzbzbzbybybycs0000000000000000009o00b4bybycs0000000000000000000000b4bybycs000000000000b300000000b4bybycs000000000000b400000000b4bybycs000000000000b400000000b5bybybybzbzbzbzbzbzby0000000000bybycs000000000000b400000000b3bybycs000000000000b400000000b4bybycs000000000000b400000000b4bybycs000000000000b500000000b4bybycs0000000000000000000000b4bybycs0000000000000000000000b4bybybybxbxbxbxbxbxbxbxbxbxbxbybybybybybybybybybybybybybybybybybybybybybybybybybybybybybybybybybybybybybybybybybybybybyby\" xmlType=\"variable\" /><1 value=\"str__00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ai0000000000000000000000000000000000000000bac400000000000000000000000000b9c300000000000000000000000000bbc500000000000000000000000000000000000000cy0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000cz000000000000000000000000000000000000000000004y5s6m0000000000000000000000004z5t6n000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000\" xmlType=\"variable\" /><0 value=\"str__0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006b75bsbsbsbsbs8m8m8m8m000000000icubsbsbsbsbs8m8m8m8m000000006b75bsbsbsbs006b758m8m000000006b75bsbsbsbs006b758m8m000000006b75bsbsbsbs006b758m8m00000000000000000000006b758m8m8m0000006b4o5i6c8m8m006b758m8m000000006b4p5j6d8m8m006b758m8m000000006b758m8m8m8m006b758m8m000000006b758m8m8m8m006b758m8m000000006b758m8m8m8m8m8m8m8m8m000000006b758m8m8m8m8m8m8m8m8m00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000\" xmlType=\"variable\" /></layers></map></level></data>";
data_xml = new XML(data_txt);
onLoad(data_xml);
Symbol 309 MovieClip [levels\dogs_pet\170.lvl] Frame 1
data_txt = "<data xmlType=\"object\"><level name=\"str_levels\\dogs_pet\\170.lvl\" xmlType=\"object\"><sprites xmlType=\"array\"><11 name=\"str_pic\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_1\" frame=\"num_0\" directions=\"num_1\" direction=\"num_0\" charset=\"str_charset\\objects\\pictureFrame\\girl1_inframe.png\" xmlType=\"object\" /><position y=\"num_24\" x=\"num_152\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><hitbox height=\"num_16\" width=\"num_16\" xmlType=\"object\" /><copySprite id=\"str_\" xmlType=\"object\"><data xmlType=\"object\" /></copySprite><scripts xmlType=\"object\" /><initialAppearance isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_1\" frame=\"num_0\" directions=\"num_1\" direction=\"num_0\" charset=\"str_charset\\objects\\pictureFrame\\girl1_inframe.png\" xmlType=\"object\" /></data></11><10 name=\"str_food_2\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite charset=\"str_charset\\objects\\food1.png\" directions=\"num_1\" frames=\"num_1\" columns=\"num_1\" rows=\"num_1\" animType=\"str_yoyo\" animDirection=\"num_1\" xmlType=\"object\" /><position y=\"num_184\" x=\"num_184\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><hitbox height=\"num_16\" width=\"num_16\" xmlType=\"object\" /><copySprite id=\"str_\" xmlType=\"object\"><data xmlType=\"object\" /></copySprite><scripts xmlType=\"object\" /><initialAppearance charset=\"str_charset\\objects\\food1.png\" directions=\"num_1\" frames=\"num_1\" columns=\"num_1\" rows=\"num_1\" animType=\"str_yoyo\" animDirection=\"num_1\" xmlType=\"object\" /></data></10><9 name=\"str_food_1\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite charset=\"str_charset\\objects\\food4.png\" directions=\"num_1\" frames=\"num_1\" columns=\"num_1\" rows=\"num_1\" animType=\"str_yoyo\" animDirection=\"num_1\" xmlType=\"object\" /><position y=\"num_184\" x=\"num_152\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><hitbox height=\"num_16\" width=\"num_16\" xmlType=\"object\" /><copySprite id=\"str_\" xmlType=\"object\"><data xmlType=\"object\" /></copySprite><scripts xmlType=\"object\" /><initialAppearance charset=\"str_charset\\objects\\food4.png\" directions=\"num_1\" frames=\"num_1\" columns=\"num_1\" rows=\"num_1\" animType=\"str_yoyo\" animDirection=\"num_1\" xmlType=\"object\" /></data></9><8 name=\"str_food_0\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite charset=\"str_charset\\objects\\food2.png\" directions=\"num_1\" frames=\"num_1\" columns=\"num_1\" rows=\"num_1\" animType=\"str_yoyo\" animDirection=\"num_1\" xmlType=\"object\" /><position y=\"num_184\" x=\"num_168\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><hitbox height=\"num_16\" width=\"num_16\" xmlType=\"object\" /><copySprite id=\"str_\" xmlType=\"object\"><data xmlType=\"object\" /></copySprite><scripts xmlType=\"object\" /><initialAppearance charset=\"str_charset\\objects\\food2.png\" directions=\"num_1\" frames=\"num_1\" columns=\"num_1\" rows=\"num_1\" animType=\"str_yoyo\" animDirection=\"num_1\" xmlType=\"object\" /></data></8><7 name=\"str_food\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite charset=\"str_charset\\objects\\food3.png\" directions=\"num_1\" frames=\"num_1\" columns=\"num_1\" rows=\"num_1\" animType=\"str_yoyo\" animDirection=\"num_1\" xmlType=\"object\" /><position x=\"num_8\" y=\"num_232\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><hitbox height=\"num_16\" width=\"num_16\" xmlType=\"object\" /><copySprite id=\"str_\" xmlType=\"object\"><data xmlType=\"object\" /></copySprite><scripts xmlType=\"object\" /><initialAppearance charset=\"str_charset\\objects\\food3.png\" directions=\"num_1\" frames=\"num_1\" columns=\"num_1\" rows=\"num_1\" animType=\"str_yoyo\" animDirection=\"num_1\" xmlType=\"object\" /></data></7><6 name=\"str_bigDog\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_1\" frame=\"num_0\" directions=\"num_4\" direction=\"num_1\" charset=\"str_charset\\som_wolf\\stand.png\" xmlType=\"object\" /><position y=\"num_192\" x=\"num_103\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><hitbox height=\"num_16\" width=\"num_16\" xmlType=\"object\" /><copySprite id=\"str_\" xmlType=\"object\"><data xmlType=\"object\" /></copySprite><scripts xmlType=\"object\" /><initialAppearance isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_1\" frame=\"num_0\" directions=\"num_4\" direction=\"num_1\" charset=\"str_charset\\som_wolf\\stand.png\" xmlType=\"object\" /></data></6><5 name=\"str_newGirl\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_0\" charset=\"str_charset\\ridingHood\\dress\\walk.png\" xmlType=\"object\" /><position x=\"num_8\" y=\"num_200\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><hitbox height=\"num_16\" width=\"num_16\" xmlType=\"object\" /><copySprite id=\"str_\" xmlType=\"object\"><data xmlType=\"object\" /></copySprite><scripts xmlType=\"object\" /><initialAppearance isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_0\" charset=\"str_charset\\ridingHood\\dress\\walk.png\" xmlType=\"object\" /></data></5><4 name=\"str_maid\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_2\" columns=\"num_4\" pose=\"num_0\" frames=\"num_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_2\" charset=\"str_charset\\maid.png\" xmlType=\"object\" /><position y=\"num_136\" x=\"num_8\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><hitbox height=\"num_16\" width=\"num_16\" xmlType=\"object\" /><copySprite id=\"str_\" xmlType=\"object\"><data xmlType=\"object\" /></copySprite><scripts xmlType=\"object\" /><initialAppearance isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_2\" columns=\"num_4\" pose=\"num_0\" frames=\"num_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_2\" charset=\"str_charset\\maid.png\" xmlType=\"object\" /></data></4><3 name=\"str_dad\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_2\" columns=\"num_4\" pose=\"num_0\" frames=\"num_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_3\" charset=\"str_charset\\people1.png\" xmlType=\"object\" /><position y=\"num_200\" x=\"num_200\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><hitbox height=\"num_16\" width=\"num_16\" xmlType=\"object\" /><copySprite id=\"str_\" xmlType=\"object\"><data xmlType=\"object\" /></copySprite><scripts xmlType=\"object\" /><initialAppearance isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_2\" columns=\"num_4\" pose=\"num_0\" frames=\"num_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_3\" charset=\"str_charset\\people1.png\" xmlType=\"object\" /></data></3><2 name=\"str_mom\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_2\" columns=\"num_4\" pose=\"num_1\" frames=\"num_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_0\" charset=\"str_charset\\people2.png\" xmlType=\"object\" /><position y=\"num_216\" x=\"num_168\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><hitbox height=\"num_16\" width=\"num_16\" xmlType=\"object\" /><copySprite id=\"str_\" xmlType=\"object\"><data xmlType=\"object\" /></copySprite><scripts xmlType=\"object\" /><initialAppearance isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_2\" columns=\"num_4\" pose=\"num_1\" frames=\"num_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_0\" charset=\"str_charset\\people2.png\" xmlType=\"object\" /></data></2><1 name=\"str_richGirl\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_1\" charset=\"str_charset\\girl1\\dressed\\walk.png\" xmlType=\"object\" /><position x=\"num_88\" y=\"num_168\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><hitbox height=\"num_16\" width=\"num_16\" xmlType=\"object\" /><copySprite id=\"str_\" xmlType=\"object\"><data xmlType=\"object\" /></copySprite><scripts xmlType=\"object\" /><initialAppearance isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_1\" charset=\"str_charset\\girl1\\dressed\\walk.png\" xmlType=\"object\" /></data></1><0 name=\"str_EVENTS\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_1\" frame=\"num_1\" directions=\"num_1\" direction=\"num_0\" charset=\"str_charset\\invisible.png\" xmlType=\"object\" /><position x=\"num_8\" y=\"num_8\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><hitbox height=\"num_16\" width=\"num_16\" xmlType=\"object\" /><copySprite id=\"str_\" xmlType=\"object\"><data xmlType=\"object\" /></copySprite><scripts xmlType=\"object\"><auto xmlType=\"array\"><19 relativeLevel=\"str_180.lvl\" level=\"str_levels\\dogs_pet\\180.lvl\" type=\"str_teleport\" xmlType=\"object\"><position y=\"num_160\" x=\"num_624\" xmlType=\"object\" /><transOut mask=\"str_\" easing=\"str_easeLinear\" seconds=\"num_0.5\" effect=\"str_snapshot\" xmlType=\"object\" /><transIn mask=\"str_\" easing=\"str_easeLinear\" seconds=\"num_0.5\" effect=\"str_cut\" xmlType=\"object\" /></19><18 message=\"str_\" type=\"str_comment\" xmlType=\"object\" /><17 value=\"str_bigDog\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><16 type=\"str_move\" sprite=\"str_bigDog\" xmlType=\"array\"><4 walkSpeed=\"num_0.096\" duration=\"num_0.395818140059295\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_64\" x=\"num_16\" xmlType=\"object\" /></4><3 walkSpeed=\"num_0.096\" duration=\"num_1.152\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_0\" x=\"num_192\" xmlType=\"object\" /></3><2 walkSpeed=\"num_0.096\" duration=\"num_0.576\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_-96\" x=\"num_0\" xmlType=\"object\" /></2><1 walkSpeed=\"num_0.096\" duration=\"num_0.286055938585445\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_-8\" x=\"num_-47\" xmlType=\"object\" /></1><0 type=\"str_appearance\" xmlType=\"object\"><value isAnimating=\"bol_false\" delay=\"num_2\" animDirection=\"num_1\" animType=\"str_loop\" pose=\"num_0\" rows=\"num_1\" columns=\"num_1\" frame=\"num_0\" frames=\"num_3\" direction=\"num_3\" directions=\"num_4\" charset=\"str_charset\\som_wolf\\walk.png\" xmlType=\"object\" /></0></16><15 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_\" face=\"str_\" typingSound=\"str_\" _y=\"num_117\" text=\"str_\\#ffffff\r Wuf!!\" type=\"str_textbox\" xmlType=\"object\" /></15><14 name=\"str_\" volume=\"num_100\" loop=\"bol_false\" file=\"str_sound\\dog.mp3\" type=\"str_sound\" xmlType=\"object\" /><13 type=\"str_move\" sprite=\"str_bigDog\" xmlType=\"array\"><0 type=\"str_appearance\" xmlType=\"object\"><value isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" pose=\"num_0\" rows=\"num_1\" columns=\"num_1\" frame=\"num_0\" frames=\"num_1\" direction=\"num_1\" directions=\"num_4\" charset=\"str_charset\\som_wolf\\stand.png\" xmlType=\"object\" /></0></13><12 value=\"num_0.1\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><11 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_Okay my pet,\\2 why don't you go play\rwith YOUR pet for awhile.\" type=\"str_textbox\" xmlType=\"object\" /></11><10 type=\"str_move\" sprite=\"str_richGirl\" xmlType=\"array\"><0 value=\"str_left\" type=\"str_direction\" xmlType=\"object\" /></10><9 value=\"num_0.5\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><8 type=\"str_move\" sprite=\"str_food\" xmlType=\"array\"><0 type=\"str_appearance\" xmlType=\"object\"><value isAnimating=\"bol_false\" delay=\"num_4\" animDirection=\"num_1\" animType=\"str_yoyo\" pose=\"num_3\" rows=\"num_2\" columns=\"num_4\" frame=\"num_1\" frames=\"num_3\" direction=\"num_1\" directions=\"num_4\" charset=\"str_charset\\objects\\objects1.png\" xmlType=\"object\" /></0></8><7 value=\"num_0.5\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><6 value=\"str_richGirl\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><5 type=\"str_move\" sprite=\"str_richGirl\" xmlType=\"array\"><1 value=\"str_down\" type=\"str_direction\" xmlType=\"object\" /><0 walkSpeed=\"num_0.26\" duration=\"num_0.39\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_0\" x=\"num_24\" xmlType=\"object\" /></0></5><4 type=\"str_move\" sprite=\"str_bigDog\" xmlType=\"array\"><0 type=\"str_appearance\" xmlType=\"object\"><value isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_loop\" pose=\"num_0\" rows=\"num_1\" columns=\"num_1\" frame=\"num_2\" frames=\"num_3\" direction=\"num_1\" directions=\"num_4\" charset=\"str_charset\\som_wolf\\walk.png\" xmlType=\"object\" /></0></4><3 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_[richGirl]: Breakfast is served, [dog]!\" type=\"str_textbox\" xmlType=\"object\" /></3><2 type=\"str_move\" sprite=\"str_food\" xmlType=\"array\"><0 duration=\"num_0\" autoAnim=\"bol_false\" autoDirection=\"bol_false\" type=\"str_moveAbsolute\" xmlType=\"object\"><position y=\"num_192\" x=\"num_127\" xmlType=\"object\" /></0></2><1 value=\"str_richGirl\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><0 type=\"str_move\" sprite=\"str_richGirl\" xmlType=\"array\"><1 value=\"str_down\" type=\"str_direction\" xmlType=\"object\" /><0 walkSpeed=\"num_0.26\" duration=\"num_0.65\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_0\" x=\"num_40\" xmlType=\"object\" /></0></0></auto></scripts><initialAppearance isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_1\" frame=\"num_1\" directions=\"num_1\" direction=\"num_0\" charset=\"str_charset\\invisible.png\" xmlType=\"object\" /></data></0></sprites><map format=\"num_2\" width=\"num_20\" height=\"num_15\" chipset=\"str_chipset\\robotrek_indoors.png\" collision=\"str__111111111111111111111111111111111100111110001111000000000000111100111110001111100111100001111110111100001111100111101101111100111001101111100111101101111100111001101111100111101101111100111100001111110111100001111100111111111111100001111111111100000111111111100001111111111111111111111111111111111111\" xmlType=\"object\"><layers xmlType=\"array\"><2 value=\"str__2p2p2p2p2p2p2p2p2p2p2p2p2p2p2p58585858585858585858585858582p0000000000d2000000000000008w4d000000000000000000000000008x4d0000000000d0000000000000008y4d0000000000d100000000000000004d000000an00d100000000000000004d0000000000d100000000000000004d0000000000d100000000000000004d0000000000d10000an00000000004d0000000000d100000000000000004d0000000000d100000000000000004d0000000000d100000000000000004d000000an00d100000000000000004d0000000000d200004c56565656562p000000000000008w4d2p2p2p2p2p2p000000000000008x4d2p2p2p2p2p2p000000000000008y4d2p2p2p2p2p2p56565656565656562p2p2p2p2p2p2p2p2p2p2p2p2p2p2p2p2p2p2p2p2p2p\" xmlType=\"variable\" /><1 value=\"str__00000000000000000000000000000000000000000000000000000000000000009oai000000000000000000000000008v00000000000000000000000000009paj00000000000000000000000000000000000000c60000000000000000000000000000c70000000000000000000000000000c80000000000000o1i2c0000000000000000000000000p002d0000000000000000000000000q1k2e0000000000000000000000000000000000000000c60000000000000000000000000000c70000000000000000000000000000c8000000000000000000000000000000000000000000000000000000000000000000000000000000920000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000\" xmlType=\"variable\" /><0 value=\"str__0000000000000000000000000000000000000000000000000000000000000l1f29336r6r0j1d27313v6o6o6o000l1f290g6r6r6r6r6r1b1b6o6o6o000l1f29336r6r0i1c26303u6o6o6o000l1f29336r6r0k0d17ac6o6o6o6o000l1f29331a6r0k0d17ad6o6o6o6o000l1f29336r6r0k0d17ae6o7x9l6o000l1f29336r6r0k0d176o6o7y9m6o000la629336r6r0k0d171a6o7y9m6o000l1f29336r6r0k0d176o6o7y9m6o000l1f29336r6r0k0d17ac6o7z9n6o000l1f29336r6r0k0d17ad6o6o6o6o000l1f29331a6r0k0d17ae6o6o6o6o000l1f29336r6r0j1d000000000000000l1f29336r6r6r6r000000000000000l1f29336r6r6r6r000000000000000l1f29336r6r6r6r00000000000000000000000000000000000000000000000000000000000000000000000000\" xmlType=\"variable\" /></layers></map></level></data>";
data_xml = new XML(data_txt);
onLoad(data_xml);
Symbol 310 MovieClip [levels\dogs_pet\180.lvl] Frame 1
data_txt = "<data xmlType=\"object\"><level name=\"str_levels\\dogs_pet\\180.lvl\" xmlType=\"object\"><sprites xmlType=\"array\"><5 name=\"str_EVENTS\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_1\" frame=\"num_1\" directions=\"num_1\" direction=\"num_0\" charset=\"str_charset\\invisible.png\" xmlType=\"object\" /><position x=\"num_632\" y=\"num_184\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><hitbox height=\"num_16\" width=\"num_16\" xmlType=\"object\" /><copySprite id=\"str_\" xmlType=\"object\"><data xmlType=\"object\" /></copySprite><scripts xmlType=\"object\"><auto xmlType=\"array\"><71 relativeLevel=\"str_190.lvl\" level=\"str_levels\\dogs_pet\\190.lvl\" type=\"str_teleport\" xmlType=\"object\"><position y=\"num_144\" x=\"num_624\" xmlType=\"object\" /><transOut mask=\"str_\" easing=\"str_easeLinear\" seconds=\"num_0.5\" effect=\"str_snapshot\" xmlType=\"object\" /><transIn mask=\"str_\" easing=\"str_easeLinear\" seconds=\"num_0.5\" effect=\"str_cut\" xmlType=\"object\" /></71><70 message=\"str_\" type=\"str_comment\" xmlType=\"object\" /><69 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_160\" text=\"str_Ooh...\\2\rAnother day...\\2 another\\3 guh\\.-gallon!\\!\r*pant*\" type=\"str_textbox\" xmlType=\"object\" /></69><68 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_comment\" message=\"str_* text: Ooh!\\2\rAnother day...\\2 *pant*\\2\\s2 another\\2 g\\.-gallon...\" commentedType=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_160\" text=\"str_Ooh!\\2\rAnother day...\\2 *pant*\\2\\s2 another\\2 g\\.-gallon...\" type=\"str_textbox\" xmlType=\"object\" /></68><67 value=\"num_0.5\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><66 name=\"str_moaning\" volume=\"num_100\" loop=\"bol_false\" file=\"str_sound\\sexy\\squirm04.mp3\" type=\"str_sound\" xmlType=\"object\" /><65 value=\"str_newGirl\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><64 type=\"str_move\" sprite=\"str_newGirl\" xmlType=\"array\"><0 type=\"str_appearance\" xmlType=\"object\"><value isAnimating=\"bol_true\" delay=\"num_6\" animDirection=\"num_1\" animType=\"str_yoyo\" pose=\"num_0\" rows=\"num_1\" columns=\"num_1\" frame=\"num_0\" frames=\"num_2\" direction=\"num_1\" directions=\"num_2\" charset=\"str_charset\\ridingHood\\dogCostume\\backLiftTease_side.png\" xmlType=\"object\" /></0></64><63 type=\"str_move\" sprite=\"str_bigDog_over\" xmlType=\"array\"><0 value=\"bol_true\" type=\"str_anim\" xmlType=\"object\" /></63><62 type=\"str_move\" sprite=\"str_bigDog\" xmlType=\"array\"><0 value=\"bol_true\" type=\"str_anim\" xmlType=\"object\" /></62><61 message=\"str_\" type=\"str_comment\" xmlType=\"object\" /><60 value=\"str_bigDog_over\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><59 type=\"str_move\" sprite=\"str_bigDog_over\" xmlType=\"array\"><1 type=\"str_appearance\" xmlType=\"object\"><value isAnimating=\"bol_false\" delay=\"num_6\" animDirection=\"num_1\" animType=\"str_loop\" pose=\"num_0\" rows=\"num_1\" columns=\"num_1\" frame=\"num_0\" frames=\"num_2\" direction=\"num_1\" directions=\"num_4\" charset=\"str_charset\\som_wolf\\hump_over.png\" xmlType=\"object\" /></1><0 duration=\"num_0\" autoAnim=\"bol_false\" autoDirection=\"bol_false\" type=\"str_moveAbsolute\" xmlType=\"object\"><position y=\"num_175\" x=\"num_677\" xmlType=\"object\" /></0></59><58 update=\"bol_false\" type=\"str_setVariable\" reference=\"bol_false\" xmlType=\"object\"><condition xmlType=\"array\"><2 value=\"str_true\" xmlType=\"variable\" /><1 value=\"str_=\" xmlType=\"variable\" /><0 value=\"str_SPRITES.bigDog_over.overAll\" xmlType=\"variable\" /></condition></58><57 update=\"bol_false\" type=\"str_setVariable\" reference=\"bol_false\" xmlType=\"object\"><condition xmlType=\"array\"><2 value=\"str_true\" xmlType=\"variable\" /><1 value=\"str_=\" xmlType=\"variable\" /><0 value=\"str_SPRITES.bigDog.underAll\" xmlType=\"variable\" /></condition></57><56 update=\"bol_false\" type=\"str_setVariable\" reference=\"bol_false\" xmlType=\"object\"><condition xmlType=\"array\"><2 value=\"str_false\" xmlType=\"variable\" /><1 value=\"str_=\" xmlType=\"variable\" /><0 value=\"str_SPRITES.bigDog.overAll\" xmlType=\"variable\" /></condition></56><55 value=\"str_bigDog\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><54 type=\"str_move\" sprite=\"str_bigDog\" xmlType=\"array\"><1 type=\"str_appearance\" xmlType=\"object\"><value isAnimating=\"bol_false\" delay=\"num_6\" animDirection=\"num_1\" animType=\"str_loop\" pose=\"num_0\" rows=\"num_1\" columns=\"num_1\" frame=\"num_0\" frames=\"num_2\" direction=\"num_1\" directions=\"num_4\" charset=\"str_charset\\som_wolf\\hump.png\" xmlType=\"object\" /></1><0 walkSpeed=\"num_0.13\" duration=\"num_0.235765044588887\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_-1\" x=\"num_29\" xmlType=\"object\" /></0></54><53 update=\"bol_false\" type=\"str_setVariable\" reference=\"bol_false\" xmlType=\"object\"><condition xmlType=\"array\"><2 value=\"str_true\" xmlType=\"variable\" /><1 value=\"str_=\" xmlType=\"variable\" /><0 value=\"str_SPRITES.bigDog.overAll\" xmlType=\"variable\" /></condition></53><52 type=\"str_move\" sprite=\"str_newGirl\" xmlType=\"array\"><0 type=\"str_appearance\" xmlType=\"object\"><value isAnimating=\"bol_false\" delay=\"num_4\" animDirection=\"num_-1\" animType=\"str_loop\" pose=\"num_0\" rows=\"num_1\" columns=\"num_1\" frame=\"num_1\" frames=\"num_2\" direction=\"num_3\" directions=\"num_4\" charset=\"str_charset\\ridingHood\\dogCostume\\flail.png\" xmlType=\"object\" /></0></52><51 message=\"str_\" type=\"str_comment\" xmlType=\"object\" /><50 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_160\" text=\"str_At least...\\2\rI THINK that's what [richGirl] said that meant.\" type=\"str_textbox\" xmlType=\"object\" /></50><49 type=\"str_move\" sprite=\"str_newGirl\" xmlType=\"array\"><0 type=\"str_appearance\" xmlType=\"object\"><value isAnimating=\"bol_true\" delay=\"num_4\" animDirection=\"num_1\" animType=\"str_yoyo\" pose=\"num_0\" rows=\"num_1\" columns=\"num_1\" frame=\"num_0\" frames=\"num_2\" direction=\"num_2\" directions=\"num_4\" charset=\"str_charset\\ridingHood\\dogCostume\\standBlink.png\" xmlType=\"object\" /></0></49><48 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_160\" text=\"str_\\.What's that?\\2 You say your throbbing cock is\rfull of "playtime juice" and you need me to\rsuck out every drop?\\! ... with my pussy?\" type=\"str_textbox\" xmlType=\"object\" /></48><47 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_comment\" message=\"str_* text: \\.What's that?\\2 You say your throbbing cock is\rfull of "playtime juice" and you need me to\rsuck all of it out?\\! ... with my pussy?\" commentedType=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_160\" text=\"str_\\.What's that?\\2 You say your throbbing cock is\rfull of "playtime juice" and you need me to\rsuck all of it out?\\! ... with my pussy?\" type=\"str_textbox\" xmlType=\"object\" /></47><46 type=\"str_move\" sprite=\"str_newGirl\" xmlType=\"array\"><0 type=\"str_appearance\" xmlType=\"object\"><value isAnimating=\"bol_false\" delay=\"num_2\" animDirection=\"num_1\" animType=\"str_once\" pose=\"num_0\" rows=\"num_1\" columns=\"num_1\" frame=\"num_0\" frames=\"num_3\" direction=\"num_1\" directions=\"num_2\" charset=\"str_charset\\ridingHood\\dogCostume\\prone_hug.png\" xmlType=\"object\" /></0></46><45 value=\"str_newGirl\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><44 value=\"num_0.1\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><43 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_\" face=\"str_\" typingSound=\"str_\" _y=\"num_103\" text=\"str_\\#ffffff\r Wuf.\" type=\"str_textbox\" xmlType=\"object\" /></43><42 name=\"str_\" volume=\"num_75\" loop=\"bol_false\" file=\"str_sound\\dog.mp3\" type=\"str_sound\" xmlType=\"object\" /><41 type=\"str_move\" sprite=\"str_bigDog\" xmlType=\"array\"><0 type=\"str_appearance\" xmlType=\"object\"><value isAnimating=\"bol_false\" delay=\"num_2\" animDirection=\"num_1\" animType=\"str_loop\" pose=\"num_0\" rows=\"num_1\" columns=\"num_1\" frame=\"num_2\" frames=\"num_3\" direction=\"num_1\" directions=\"num_4\" charset=\"str_charset\\som_wolf\\walk.png\" xmlType=\"object\" /></0></41><40 value=\"num_0.1\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><39 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_160\" text=\"str_Do you think it's because I'm your pet?\" type=\"str_textbox\" xmlType=\"object\" /></39><38 type=\"str_move\" sprite=\"str_newGirl\" xmlType=\"array\"><0 value=\"str_bigDog\" type=\"str_lookAt\" xmlType=\"object\" /></38><37 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_160\" text=\"str_The Missus says this leash is part of my\runiform now.\" type=\"str_textbox\" xmlType=\"object\" /></37><36 type=\"str_move\" sprite=\"str_leash\" xmlType=\"array\"><0 walkSpeed=\"num_0\" duration=\"num_0\" autoAnim=\"bol_false\" autoDirection=\"bol_false\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_-4\" x=\"num_-4\" xmlType=\"object\" /></0></36><35 type=\"str_move\" sprite=\"str_newGirl\" xmlType=\"array\"><1 walkSpeed=\"num_0\" duration=\"num_0\" autoAnim=\"bol_false\" autoDirection=\"bol_false\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_-4\" x=\"num_0\" xmlType=\"object\" /></1><0 type=\"str_appearance\" xmlType=\"object\"><value isAnimating=\"bol_false\" delay=\"num_2\" animDirection=\"num_1\" animType=\"str_yoyo\" pose=\"num_0\" rows=\"num_1\" columns=\"num_1\" frame=\"num_1\" frames=\"num_3\" direction=\"num_1\" directions=\"num_4\" charset=\"str_charset\\ridingHood\\dogCostume\\walk.png\" xmlType=\"object\" /></0></35><34 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_160\" text=\"str_Eep!\\2\rM\\.-Master [dog]...\\. you startled me!\" type=\"str_textbox\" xmlType=\"object\" /></34><33 type=\"str_move\" sprite=\"str_leash\" xmlType=\"array\"><0 walkSpeed=\"num_0\" duration=\"num_0\" autoAnim=\"bol_false\" autoDirection=\"bol_false\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_4\" x=\"num_4\" xmlType=\"object\" /></0></33><32 value=\"str_newGirl\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><31 type=\"str_move\" sprite=\"str_newGirl\" xmlType=\"array\"><5 walkSpeed=\"num_0\" duration=\"num_0\" autoAnim=\"bol_false\" autoDirection=\"bol_false\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_4\" x=\"num_0\" xmlType=\"object\" /></5><4 type=\"str_appearance\" xmlType=\"object\"><value isAnimating=\"bol_true\" delay=\"num_1\" animDirection=\"num_1\" animType=\"str_yoyo\" pose=\"num_0\" rows=\"num_1\" columns=\"num_1\" frame=\"num_0\" frames=\"num_1\" direction=\"num_1\" directions=\"num_2\" charset=\"str_charset\\ridingHood\\dogCostume\\sitSpread_angle.png\" xmlType=\"object\" /></4><3 value=\"num_0.1\" mode=\"str_time\" type=\"str_moveWait\" xmlType=\"object\" /><2 walkSpeed=\"num_0.13\" duration=\"num_0.13\" autoAnim=\"bol_false\" autoDirection=\"bol_false\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_16\" x=\"num_0\" xmlType=\"object\" /></2><1 walkSpeed=\"num_0\" duration=\"num_0\" autoAnim=\"bol_false\" autoDirection=\"bol_false\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_-16\" x=\"num_0\" xmlType=\"object\" /></1><0 type=\"str_appearance\" xmlType=\"object\"><value isAnimating=\"bol_true\" delay=\"num_1\" animDirection=\"num_1\" animType=\"str_loop\" pose=\"num_0\" rows=\"num_1\" columns=\"num_1\" frame=\"num_0\" frames=\"num_2\" direction=\"num_3\" directions=\"num_4\" charset=\"str_charset\\ridingHood\\dogCostume\\flail.png\" xmlType=\"object\" /></0></31><30 type=\"str_move\" sprite=\"str_leash\" xmlType=\"array\"><1 walkSpeed=\"num_0.13\" duration=\"num_0.13\" autoAnim=\"bol_false\" autoDirection=\"bol_false\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_16\" x=\"num_0\" xmlType=\"object\" /></1><0 walkSpeed=\"num_0\" duration=\"num_0\" autoAnim=\"bol_false\" autoDirection=\"bol_false\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_-16\" x=\"num_0\" xmlType=\"object\" /></0></30><29 name=\"str_\" volume=\"num_100\" loop=\"bol_false\" file=\"str_sound\\sexy\\gasp09.mp3\" type=\"str_sound\" xmlType=\"object\" /><28 name=\"str_\" volume=\"num_100\" loop=\"bol_false\" file=\"str_sound\\sexy\\gasp04.mp3\" type=\"str_comment\" message=\"str_* sound: gasp04.mp3\" commentedType=\"str_sound\" xmlType=\"object\" /><27 target=\"str_SPRITES.newGirl.image\" waitForEnd=\"bol_false\" depth=\"num_-1\" name=\"str_shake\" linkage=\"str_\" type=\"str_swf\" xmlType=\"object\"><data xmlType=\"object\" /></27><26 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_\" face=\"str_\" typingSound=\"str_\" _y=\"num_113\" text=\"str_\\#ffffff\r Woof!\" type=\"str_textbox\" xmlType=\"object\" /></26><25 name=\"str_\" volume=\"num_75\" loop=\"bol_false\" file=\"str_sound\\dog.mp3\" type=\"str_sound\" xmlType=\"object\" /><24 value=\"str_bigDog\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><23 type=\"str_move\" sprite=\"str_bigDog\" xmlType=\"array\"><2 type=\"str_appearance\" xmlType=\"object\"><value isAnimating=\"bol_false\" delay=\"num_2\" animDirection=\"num_1\" animType=\"str_yoyo\" pose=\"num_0\" rows=\"num_1\" columns=\"num_1\" frame=\"num_0\" frames=\"num_1\" direction=\"num_1\" directions=\"num_4\" charset=\"str_charset\\som_wolf\\stand.png\" xmlType=\"object\" /></2><1 walkSpeed=\"num_0.13\" duration=\"num_0.83240615086627\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_-80\" x=\"num_64\" xmlType=\"object\" /></1><0 type=\"str_appearance\" xmlType=\"object\"><value isAnimating=\"bol_false\" delay=\"num_2\" animDirection=\"num_1\" animType=\"str_loop\" pose=\"num_0\" rows=\"num_1\" columns=\"num_1\" frame=\"num_0\" frames=\"num_3\" direction=\"num_1\" directions=\"num_4\" charset=\"str_charset\\som_wolf\\walk.png\" xmlType=\"object\" /></0></23><22 value=\"str_newGirl\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><21 type=\"str_move\" sprite=\"str_newGirl\" xmlType=\"array\"><3 value=\"str_left\" type=\"str_direction\" xmlType=\"object\" /><2 value=\"num_1\" mode=\"str_time\" type=\"str_moveWait\" xmlType=\"object\" /><1 value=\"str_right\" type=\"str_direction\" xmlType=\"object\" /><0 value=\"num_1\" mode=\"str_time\" type=\"str_moveWait\" xmlType=\"object\" /></21><20 target=\"str_SPRITES.newGirl.image\" waitForEnd=\"bol_false\" depth=\"num_-1\" name=\"str_shake\" linkage=\"str_swf\\shake.swf\" type=\"str_swf\" xmlType=\"object\"><data xmlType=\"object\" /></20><19 value=\"str_bigDog\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><18 type=\"str_move\" sprite=\"str_bigDog\" xmlType=\"array\"><4 type=\"str_appearance\" xmlType=\"object\"><value isAnimating=\"bol_false\" delay=\"num_2\" animDirection=\"num_1\" animType=\"str_yoyo\" pose=\"num_0\" rows=\"num_1\" columns=\"num_1\" frame=\"num_0\" frames=\"num_1\" direction=\"num_1\" directions=\"num_4\" charset=\"str_charset\\som_wolf\\stand.png\" xmlType=\"object\" /></4><3 walkSpeed=\"num_0.13\" duration=\"num_0.39\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_0\" x=\"num_48\" xmlType=\"object\" /></3><2 walkSpeed=\"num_0.13\" duration=\"num_0.26\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_32\" x=\"num_0\" xmlType=\"object\" /></2><1 type=\"str_appearance\" xmlType=\"object\"><value isAnimating=\"bol_false\" delay=\"num_2\" animDirection=\"num_1\" animType=\"str_loop\" pose=\"num_0\" rows=\"num_1\" columns=\"num_1\" frame=\"num_0\" frames=\"num_3\" direction=\"num_2\" directions=\"num_4\" charset=\"str_charset\\som_wolf\\walk.png\" xmlType=\"object\" /></1><0 duration=\"num_0\" autoAnim=\"bol_false\" autoDirection=\"bol_false\" type=\"str_moveAbsolute\" xmlType=\"object\"><position y=\"num_224\" x=\"num_536\" xmlType=\"object\" /></0></18><17 update=\"bol_false\" type=\"str_setVariable\" reference=\"bol_true\" xmlType=\"object\"><condition xmlType=\"array\"><2 value=\"str_[SPRITES.door_1.open()]\" xmlType=\"variable\" /><1 value=\"str_=\" xmlType=\"variable\" /><0 value=\"str_this.waitPromise\" xmlType=\"variable\" /></condition></17><16 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_160\" text=\"str_The pants keep...\\2 rubbing me.\" type=\"str_textbox\" xmlType=\"object\" /></16><15 name=\"str_\" volume=\"num_100\" loop=\"bol_false\" file=\"str_sound\\sexy\\moan29.mp3\" type=\"str_comment\" message=\"str_* sound: moan29.mp3\" commentedType=\"str_sound\" xmlType=\"object\" /><14 name=\"str_\" volume=\"num_100\" loop=\"bol_false\" file=\"str_sound\\sexy\\moan25.mp3\" type=\"str_comment\" message=\"str_* sound: moan25.mp3\" commentedType=\"str_sound\" xmlType=\"object\" /><13 name=\"str_\" volume=\"num_100\" loop=\"bol_false\" file=\"str_sound\\sexy\\moan20.mp3\" type=\"str_comment\" message=\"str_* sound: moan20.mp3\" commentedType=\"str_sound\" xmlType=\"object\" /><12 name=\"str_\" volume=\"num_100\" loop=\"bol_false\" file=\"str_sound\\sexy\\moan18.mp3\" type=\"str_comment\" message=\"str_* sound: moan18.mp3\" commentedType=\"str_sound\" xmlType=\"object\" /><11 name=\"str_\" volume=\"num_100\" loop=\"bol_false\" file=\"str_sound\\sexy\\moan15.mp3\" type=\"str_sound\" xmlType=\"object\" /><10 name=\"str_\" volume=\"num_100\" loop=\"bol_false\" file=\"str_sound\\sexy\\moan13.mp3\" type=\"str_comment\" message=\"str_* sound: moan13.mp3\" commentedType=\"str_sound\" xmlType=\"object\" /><9 name=\"str_\" volume=\"num_100\" loop=\"bol_false\" file=\"str_sound\\sexy\\moan10.mp3\" type=\"str_comment\" message=\"str_* sound: moan10.mp3\" commentedType=\"str_sound\" xmlType=\"object\" /><8 name=\"str_\" volume=\"num_100\" loop=\"bol_false\" file=\"str_sound\\sexy\\moan06.mp3\" type=\"str_comment\" message=\"str_* sound: moan06.mp3\" commentedType=\"str_sound\" xmlType=\"object\" /><7 name=\"str_\" volume=\"num_100\" loop=\"bol_false\" file=\"str_sound\\sexy\\moan02.mp3\" type=\"str_comment\" message=\"str_* sound: moan02.mp3\" commentedType=\"str_sound\" xmlType=\"object\" /><6 type=\"str_move\" sprite=\"str_newGirl\" xmlType=\"array\"><0 type=\"str_appearance\" xmlType=\"object\"><value isAnimating=\"bol_true\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" pose=\"num_0\" rows=\"num_1\" columns=\"num_1\" frame=\"num_0\" frames=\"num_1\" direction=\"num_1\" directions=\"num_2\" charset=\"str_charset\\ridingHood\\dogCostume\\horny_stand.png\" xmlType=\"object\" /></0></6><5 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_160\" text=\"str_[newGirl]: This new work uniform is weird.\" type=\"str_textbox\" xmlType=\"object\" /></5><4 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_comment\" message=\"str_* text: [newGirl]: Their new work uniform is weird.\" commentedType=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_160\" text=\"str_[newGirl]: Their new work uniform is weird.\" type=\"str_textbox\" xmlType=\"object\" /></4><3 value=\"num_1\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><2 update=\"bol_false\" type=\"str_setVariable\" reference=\"bol_false\" xmlType=\"object\"><condition xmlType=\"array\"><2 value=\"str_true\" xmlType=\"variable\" /><1 value=\"str_=\" xmlType=\"variable\" /><0 value=\"str_SPRITES.leash.underAll\" xmlType=\"variable\" /></condition></2><1 target=\"str_SPRITES\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_bigDog_over\" linkage=\"str_rpgSprite\" type=\"str_swf\" xmlType=\"object\"><data xmlType=\"object\" /></1><0 type=\"str_move\" sprite=\"str_player\" xmlType=\"array\"><0 duration=\"num_0\" autoAnim=\"bol_false\" autoDirection=\"bol_false\" type=\"str_moveAbsolute\" xmlType=\"object\"><position y=\"num_176\" x=\"num_632\" xmlType=\"object\" /></0></0></auto></scripts><initialAppearance isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_1\" frame=\"num_1\" directions=\"num_1\" direction=\"num_0\" charset=\"str_charset\\invisible.png\" xmlType=\"object\" /></data></5><4 name=\"str_door_2\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite charset=\"str_charset\\objects\\doors\\iog1.png\" directions=\"num_1\" frames=\"num_3\" columns=\"num_1\" rows=\"num_1\" animType=\"str_once\" animDirection=\"num_1\" delay=\"num_2\" pose=\"num_0\" direction=\"num_0\" frame=\"num_0\" xmlType=\"object\" /><position y=\"num_177\" x=\"num_440\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><hitbox height=\"num_16\" width=\"num_16\" xmlType=\"object\" /><copySprite id=\"str_door\" xmlType=\"object\"><data xmlType=\"object\" /></copySprite><scripts xmlType=\"object\" /><initialAppearance charset=\"str_charset\\objects\\doors\\iog1.png\" directions=\"num_1\" frames=\"num_3\" columns=\"num_1\" rows=\"num_1\" animType=\"str_once\" animDirection=\"num_1\" delay=\"num_2\" pose=\"num_0\" direction=\"num_0\" frame=\"num_0\" xmlType=\"object\" /></data></4><3 name=\"str_door_1\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite charset=\"str_charset\\objects\\doors\\iog1.png\" directions=\"num_1\" frames=\"num_3\" columns=\"num_1\" rows=\"num_1\" animType=\"str_once\" animDirection=\"num_1\" delay=\"num_2\" pose=\"num_0\" direction=\"num_0\" frame=\"num_0\" xmlType=\"object\" /><position y=\"num_225\" x=\"num_536\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><hitbox height=\"num_16\" width=\"num_16\" xmlType=\"object\" /><copySprite id=\"str_door\" xmlType=\"object\"><data xmlType=\"object\" /></copySprite><scripts xmlType=\"object\" /><initialAppearance charset=\"str_charset\\objects\\doors\\iog1.png\" directions=\"num_1\" frames=\"num_3\" columns=\"num_1\" rows=\"num_1\" animType=\"str_once\" animDirection=\"num_1\" delay=\"num_2\" pose=\"num_0\" direction=\"num_0\" frame=\"num_0\" xmlType=\"object\" /></data></3><2 name=\"str_leash\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite isAnimating=\"bol_true\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_once\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_1\" frame=\"num_0\" directions=\"num_2\" direction=\"num_1\" charset=\"str_charset\\objects\\leash_standCarry.png\" xmlType=\"object\" /><position y=\"num_167\" x=\"num_682\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><hitbox height=\"num_16\" width=\"num_16\" xmlType=\"object\" /><copySprite id=\"str_\" xmlType=\"object\"><data xmlType=\"object\" /></copySprite><scripts xmlType=\"object\" /><initialAppearance isAnimating=\"bol_true\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_once\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_1\" frame=\"num_0\" directions=\"num_2\" direction=\"num_1\" charset=\"str_charset\\objects\\leash_standCarry.png\" xmlType=\"object\" /></data></2><1 name=\"str_bigDog\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_1\" frame=\"num_0\" directions=\"num_4\" direction=\"num_1\" charset=\"str_charset\\som_wolf\\stand.png\" xmlType=\"object\" /><position y=\"num_392\" x=\"num_600\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><hitbox height=\"num_16\" width=\"num_16\" xmlType=\"object\" /><copySprite id=\"str_\" xmlType=\"object\"><data xmlType=\"object\" /></copySprite><scripts xmlType=\"object\" /><initialAppearance isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_1\" frame=\"num_0\" directions=\"num_4\" direction=\"num_1\" charset=\"str_charset\\som_wolf\\stand.png\" xmlType=\"object\" /></data></1><0 name=\"str_newGirl\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite isAnimating=\"bol_true\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_loop\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_2\" frame=\"num_0\" directions=\"num_1\" direction=\"num_0\" charset=\"str_charset\\ridingHood\\dogCostume\\handsTied_dangle.png\" xmlType=\"object\" /><position y=\"num_168\" x=\"num_684\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><hitbox height=\"num_16\" width=\"num_16\" xmlType=\"object\" /><copySprite id=\"str_\" xmlType=\"object\"><data xmlType=\"object\" /></copySprite><scripts xmlType=\"object\" /><initialAppearance isAnimating=\"bol_true\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_loop\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_2\" frame=\"num_0\" directions=\"num_1\" direction=\"num_0\" charset=\"str_charset\\ridingHood\\dogCostume\\handsTied_dangle.png\" xmlType=\"object\" /></data></0></sprites><map format=\"num_2\" width=\"num_48\" height=\"num_40\" chipset=\"str_chipset\\iog_capeTown.png\" collision=\"str__111111111111111111111111111111111111111111111111100000100000011111000000000000011111111110000010000001111111111111110001111111111000000000000111111111111001000111111111111111100000011111111011100100011110000000011110000001111111111110010001111111111101111000000111111111111000000110000011110111100000011111111111111111111000001111011110000001111111111110000001100000111101111000000111111111111000000110000011110111100000011111111011100000011000001111011110000001111111111110000001100000111101111000000111111111111000000110000011110100000000011111000000000000011111111111011110000001111100110000000001111000000001111000000111100111000000000111111111111111100000011100111100000000011111111110000000000000000011110000000001111111111000000000000000001111000001000111111111100000000000000000111111111000011111111111111110000001111111110011110101111111111111111000000111110000001000010111110111111111100000011111000000000000011110011111111110000001111100000000000001111001111111000000000111110000000000010111100111111100000000011111000000000001011110011111110000000001111100000000000001111101111000000000000111110000000000000111110111111100000000011111000000000001011110011111110000000001111100000000000101001001111111000000000111110000000000000100100111111111111100011111000000000000010010011111111110010001111100000000000101001100001111000001000111111111100000010101111111111111100100011111111110000000010111111111111110010001110011111000000001000000011000000001000111101111100000010100000100100100000100011100111110000001010000010010010000010001110011111000000001010000001000000001000111001111100000000101000001100000000100011100111110000000010000000110000000010001110011111000000001000000001000000001000111111111100000000000010000100000001100011111111110000000000001000010000000110001111100000000000000000000001001000001000111110000000000000000000000100100000100011111000000000000000000001011111111110001111111111111111111\" xmlType=\"object\"><layers xmlType=\"array\"><2 value=\"str__7676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676af767676767676767676767676767676767676767676767676767676767676767676767676767676ag767676767676767676767676767676767676767676767676767676767676767676767676767676ah767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676af767676767676767676767676767676767676767676767676767676767676767676767676767676ag767676767676767676767676767676767676767676767676767676767676767676767676767676ah76767676767676767676767676767676767676767676af767676767676767676767676767676767676767676767676767676767676767676767676767676ag767676767676767676767676767676767676767676767676767676767676767676767676767676ah7676767676767676767676767676763o76767676767676767676767676767676767676767676767676767676767676767676767676768y76767676767676767676767676767676767676767676767676767676767676767676767676763o7676767676767676767676767676767676767676767676767676767676767676767676767676767676767636404u5o6i767676767676767676767676767676767676767676767676767676767676767676767637414v5p6j767676767676767676767676767676767676767676767676767676767676767636404u384236404u767676767676767676767676767676767676767676767676767676767676767637414";
data_txt = data_txt + "v764337414v397676767676767676767676767676767676767676767676767676767676767638424w5q6k38424w5q6k76767676767676767676767676767676767676767676767676767676767639434x5r6l39434x5r6l767676767676767676767676767676767676767676767676767676767676767676767636404u5o6i767676767676767676767676767676767676767676767676767676767676767676767637414v5p6j767676767676767676767676767676767676767676767676767676767676767676767638424w5q6k76767676767676767676cw3zaf7676767676767676767676767676767676767676767639434x5r6l767676767676767676761c26ag7676767676767676767676767676767676767676767636404u5o6i76767676767676767676cw3zah7676767676767676767676767676767676767676767637414v5p6j767676767676767676767676767676767676767676767676767676767676767676767638424w5q6k767676767676767676767676767676767676767676767676767676767676767676767639434x5r6l767676404u76767676767676767676767676767676767676767676767676767676767636404u5o6i767676414v7676767676767676cw3zaf7676767676767676767676767676767676767637414v5p6j767676424w76767676767676761c26ag7676767676767676767676767676767676767638424w5q6k767676434x7676767676767676cw3zah7676767676767676767676767676767676767639434x5r6l767676767676767676767676767676767676767676767676767676767676767676767636404u5o6i767676364038424w5q36404u5o6i76767636767676767676767676767676767676767637414v5p6j76767637416i434x5r37414v5p6j76767676767676767676767676767676767676767638424w5q6k76767638424w5q6k7638424w5q6k00000000000076767676767676767676767676767639434x5r6l7676766j4336404u5o6i434x5r6l0000000000007676767676767676767676af76767676767676767676766k7637414v5p6j767676760000000000007676767676767676767676ag76767676767676767676766l7638424w5q6k767676390000000000007676767676767676767676ah76767676767676767676764u5o6i434x5r6l7676767636404u5o6i0076767676767676767676767676767676767676767676764v5p6j767676767676767637414v5p6j7676767676767676767676767676767676767676767676764w5q6k76767636404u5o6i38424w5q6k7676767676767676767676767676767676767676767676764x5r6l76767637414v5p6j39434x5r6l7676767676767676767676767676767676767676767676767636404u5o6i38424w5q6k76767676767676767676767676767676767676767676767676767676767637414v5p6j39434x5r6l7676767676767676767676767676767676767676767676767676767676\" xmlType=\"variable\" /><1 value=\"str__7676767676767676768x8x8x8x8x8x8x8x8x8x8x8x8x8x8x8x8x8x8x8x8x8x8x8x8x8x8x8x8x8x8x7676767676767676767676767676d31676760d7676767676767600000000000000000076007676d27676767676767676767676767676d11676760d7676767676767600000000000000d0d0d2007676d27676767676767676767676767676761676760d76767676767676000000007676000000d2007676d27676767676767676767676767676761676760d76767676767676000000007676000000d2007676d27676767676767676767676767676761676760d76767676767676767676007676000000d2007676d27676767676767676767676767676761676760d7676767676767676767600000000000000007676d27676767676767676767676767676761676760d7676767676767676767600000000d0d0d0d0d0d0d27676767676767676767676767676761676760d7676767676767676767676000000171717171717d27676767676767676767676767676761676760d767676767676be76767676000000al0000007676d27676767676767676767676767676761676760d7676767676767676767676000000am0000007676d27676767676767676767676767676768376760d7676767676767676767676000000an0000007676d2767676767676767676767676767676al76760d7676767676767676767676000076767676767676d2767676767676767676767676767676am76760d7676767676767676767676767676767676767676d2767676767676767676767676767676an76760d7676767676769o7676764i0c0c0c0c0c0c0c8276d27676767676767676767676767676767676760d76767676769o7676769s76000000000000001676d27676767676767676767676767676767676767917177676767676764i7676000000000000001676d2767676767676767676767676767676767676767676767676767676767676767676767636761676d276767676767676767676767676767676767676767676767676767676767676767676767d761676d27676767676767676767676767676767676767676767676767676767676765o6i4w5q6k5o6i1676d27676767676767676767676767676768276767676767676767676767676765p6j4x5r6l5p6j7d76d276767676767676767676767676767616767676767676767676767676767676767e767676767e76d2767676767676767676767676767676167676767676767676767676767676767676767676767676d2767676767676767676767676767676167676767676767676767676767676767676767676767676d2767676767676767676767676767676167676767676767676767676767676767676767676767d76d2767676767676767676767676171717837676767676767676767676767676767676767676767e76d2767676767676767676767676al7676767676767676767676767676767676767676767676767676d2767676767676767676767676am7676767676767676767676767676767676767676767676767676d2767676767676767676767676an7676767676767676767676767676767676767676767676767d76d27676767676767676767676760c0c0c827676767676767676767676767676767676767676767e76d2767676767676767676767676767676167676767676767676767676767676767676767676767676d2767676767676767676767676767676d0d0d0767676767676767676767676767676767676767676d27676767676767676767676767676767676d20d7676767676767676767676767676767676767d76d26i76767676767676767676767676767676d20d7676767676767676767676767676767676767e76d26j7d767676767676767676767676767676d20d76767676767676767676bdc77676767676767676d26k7e767676767676767676767676767676d20d7676767676767676767676bd7676767676767676d26l764u5o6i766k7ed27676767676767676d20d767676763s4m76767676bdc77676767676767d76d276764v5p6j7d6l76d276767d7676767676d20d7676767676767676767676bd7676767676767e76d276766k76767e7676d276767e7676767676d20d76767676767676767676bdc77676767676767676d2767d4x5r6l767676d27676767676760000d20d767676767676767676b9b9c3al76767676767676d2767e76767676767dd27676767676760000d20d767676767676767676babac4am76767676767676d2767676767676767ed27676767676760000d20d767676767676767676bbbbc5an76767676767676d27676767676767676d27676767676767676d20d76767676767676767676bdc77676767676767676767676767d76767676d2767676767676767dd20d7676767676767676767676767676767676767676767676767e76767676d2767676767676767ed20d7676767676767676767676767676767676767676767676767676767676d276767d7676767676d20d7676767676767676767676767676767676767676767676767676767676d276767e7676767676d20d7676767676767676767676767676767676767676767676767676767d76d2d2d2d0d0d0d0d0d0d20d767676767676768x8x8x8x8x8x8x8x8x8x8x8x8x8x\" xmlType=\"variable\" /><0 value=\"str__0f19231923192319236o6o6o6o6o6o6o6o6o6o6o6o0f192319236o6o6o6o6o6o6o6o6o6o6o6o6o6o0f19231923192319236o6o6o6o6o6o6oa0a06o6o6o0f192319236o6o6o6o6o6o6o6o6o6o6o6o6o6o0f19231923192319236o6o6o6o6o6o6oa0a06o6o6o0f19707u7u7u8o9icwcxcxc26o6o6o6o6o6o6o0f19231923192319236o6o6o6o6o6o6oa0a06o6o6o0f19715e5e5e8p9jb9b9c32y6o6o6o6o6o6o6o0f19acb8b8b8b8b8b8b8b8b64m4m4m6oa0a06o6o6o0f193s4m4m6u8p9jbabac42y6o6o6o6o6o6o6o0f19aea6a6a6a6a6a6a6a6ae2x2x2x6oa0a06o6o6o0f19716u6u6u8p9jbbbbc52z6o6o6o6o6o6o6oacb8b8b8b8b8b64m4m4ma6ae0m1g2x6oa0a06o6o6o0f19716u6u6u8p9jcwcycyc26o6o6o6o6o6o6oaea6a6a6a6a6ae2x2x2xa6ae0n1h2x6oa0a06o6o6o0f19716u6u6u8p9jcw6dcyc26o6o6o6o6o6o6oaea6a6a6a6a6ae0m1g2xa6ae2x2x2x6oa0a06o6o6o0f19716u68688p9jcwcycyc26o6o6o6o6o6o6oaea6a6a6a6a6ae0n1h2xa6ae0m1g2x6oa0a06o6o6o0f19716u6uc88p9jb9b9c32ya0a0a0a0a0a0a0aea6a6a6a6a6ae2x2x2xa6ae0n1h2x6oa0a06o6o6o0f19716u5e5e8p9jbabac42ya0a0a0a0a0a0a0aea6a6a6a6a6ae0m1g2xa6ae2x2x2xa0a0a06o6o6o0f19716868688p9jbbbbc52za0a0a0a0a0a0a0aea6a6a6a6a6ae0n1h2xa6aeb9b9c3a0a0a06o6o6o0f19727w7w7w8q9kcwczczc2a0a0a0a0a0a0a0aea6a6a6a6a6ae2x2x2xa6aebabac4a0a0a06o6o6o0f19231923a0a0a0a0a0a0a0a0a0a0a0a0a0a0adb8b8b8b8b8b74m4m4ma6aebbbbc5a0a0a06o6o6o0f192319230g1a24236o6o6o6o6o6o6oa0a0a00f19aea6a6a6a6a6a6a6a6ae2x2x2xa0a0a06o6o6o0f1923190g1a2419236o6o6o6o6o6o6o6oa0a00f19adb8b8b8b8b8b8b8b8b74m4m4ma0a0a0a06o6o0f0f0f0g1a240f19236o6o6o6o6o6o6o6oa0a00f1923192319231923a0a0a0a0a0a0a0a0a0a0a0a0a02y2ya0a00f2319236o6o6o6o6o6o6o6oa0a00f1923192319231923a0a0a0a0a0a0a0a0a0a0a0a0a02y2ya0a00f2319236o6o6o6o6o6o6o6oa0a00f1923192319231923a0a0a0a0a0a0a0a0a0a0a0a0a02y2ya0a00f2319236o6o6o6o6o6o6o6oa0a00f19737x7x7x7x7x8r9l1c261c2630a0a0a0a0a0a00f0f0f0f0f0f2319236o6o6o6o6o6o6o6oa0a00f19745h5h5h5h5h8s9mcw3z0m1g2x6oa0a0a0a0a00f192319236o6o6o6o6o6o6o6o6o6o6o6oa0a00f19747v066b6b6b8s9mcw3z0n1h2x6oa0a0a0a0a00f192319236o6o6o6o6o6o6o6o6o6o6o6oa0a00f197406065g6a7z8t9n1c261c26306oa0a0a0a0a00f192319236o6o6o6o6o6o6o6o6o6o6o6oa0a00f197406068s9m1c260m1g2x6o6o6o6oa0a0a0a0a00f192319236o6o6o6o6o6o6o6o6o6o6o6oa0a00f197406068s9mcw3z0n1h2x6o6o6oa0a0a0a0a0a00f192319236o6o6o6o6o6o6o6o6o6o6o6oa0a00f197406068s9mcw3zb9b9c3a0a0a0a0a0a0a0a0a00f192319236o6o6o6o6o6o6o6o6o6o6o6oa0a00f19747v068s9m1c26babac4a0a0a0a0a0a0a0a0a00f192319236o6o6o6o6o6o6o6o6o6o6o6oa0a00f19747v068s9mcw3zbbbbc5a0a0a0a0a0a0a0a0a00f192319236o6o6o6o6o6o6o6o6o6o6o6oa0a00f0f7406068s9mcw3z0m1g2x6o6o6oa0a0a0a0a0a00f192319236o6o6o6o6o6o6o6o6o6o6o6oa0a06o6o7406068s9m1c260n1h2x6o6o6o6oa0a0a0a0a00f192319236o6o6o6o6o6o6o6o6o6o6o6oa0a06o6o7406065f697x8r9l1c261c26306oa0a0a0a0a00f192319236o6o6o6o6o6o6o6o6o6o6o6oa0a06o6o7406065h5h5h8s9mcw3zb9b9c36o6o6oa0a0a00f192319236o6o6o6o6o6o6o6o6o6o6o6oa0a06o6o747v060606068s9m1c26babac46o6o6oa0a0a00f19707u8o9i9i2x2x2x6o6o6o6o6o6o6oa0a06o6o746b6b6b6b6b8s9mcw3zbbbbc56o6o6oa0a0a00f19715e5e8p9j4t4t4t6o6o6o6o6o6o6oa0a06o6o757z7z7z7z7z8t9n1c261c26306o6o6oa0a0a00f19716u6u8p9j3y4s4t6o6o6o6o6o6o6oa0a06o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6oa0a0a00f19716u6u8p9j4t4t4t6o6o6o6o6o6o6oa0a06o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6oa0a0a00f19716u6u8p9j3y4s4t6o6o6o6o6o6o6oa0a06o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6oa0a0a00f19716u6u8p9j4t4t4t6o6o6o6o6o6o6oa0a06o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6oa0a0a00f19716u6u8p9j4t4t4ta0a0a0a0a0a0a0a0a06o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6oa0a0a00f19716u6u8p9j4t4t4ta0a0a0a0a0a0a0a0a06o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6oa0a0a00f19716u6u8p9j4t4t4ta0a0a0a0a0a0a0a0a06o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6oa0a0a00f197168688p9j4t4t4t6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6oa0a0a00f19727w7w8q9k2x2x2x6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6oa0a0a00f192319236o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6oa0a0a00f192319236o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6oa0a0a00f192319236o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6oa0a0a00f192319236o6o6o6o6o6o6o6o6o6o6o6o6o6o\" xmlType=\"variable\" /></layers></map></level></data>";
data_xml = new XML(data_txt);
onLoad(data_xml);
Symbol 311 MovieClip [levels\dogs_pet\190.lvl] Frame 1
data_txt = "<data xmlType=\"object\"><level name=\"str_levels\\dogs_pet\\190.lvl\" xmlType=\"object\"><sprites xmlType=\"array\"><11 name=\"str_pic\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_1\" frame=\"num_0\" directions=\"num_1\" direction=\"num_0\" charset=\"str_charset\\objects\\pictureFrame\\girl1_inframe.png\" xmlType=\"object\" /><position y=\"num_24\" x=\"num_152\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><hitbox height=\"num_16\" width=\"num_16\" xmlType=\"object\" /><copySprite id=\"str_\" xmlType=\"object\"><data xmlType=\"object\" /></copySprite><scripts xmlType=\"object\" /><initialAppearance isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_1\" frame=\"num_0\" directions=\"num_1\" direction=\"num_0\" charset=\"str_charset\\objects\\pictureFrame\\girl1_inframe.png\" xmlType=\"object\" /></data></11><10 name=\"str_food_2\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite charset=\"str_charset\\objects\\food1.png\" directions=\"num_1\" frames=\"num_1\" columns=\"num_1\" rows=\"num_1\" animType=\"str_yoyo\" animDirection=\"num_1\" xmlType=\"object\" /><position y=\"num_184\" x=\"num_184\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><hitbox height=\"num_16\" width=\"num_16\" xmlType=\"object\" /><copySprite id=\"str_\" xmlType=\"object\"><data xmlType=\"object\" /></copySprite><scripts xmlType=\"object\" /><initialAppearance charset=\"str_charset\\objects\\food1.png\" directions=\"num_1\" frames=\"num_1\" columns=\"num_1\" rows=\"num_1\" animType=\"str_yoyo\" animDirection=\"num_1\" xmlType=\"object\" /></data></10><9 name=\"str_food_1\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite charset=\"str_charset\\objects\\food4.png\" directions=\"num_1\" frames=\"num_1\" columns=\"num_1\" rows=\"num_1\" animType=\"str_yoyo\" animDirection=\"num_1\" xmlType=\"object\" /><position y=\"num_184\" x=\"num_152\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><hitbox height=\"num_16\" width=\"num_16\" xmlType=\"object\" /><copySprite id=\"str_\" xmlType=\"object\"><data xmlType=\"object\" /></copySprite><scripts xmlType=\"object\" /><initialAppearance charset=\"str_charset\\objects\\food4.png\" directions=\"num_1\" frames=\"num_1\" columns=\"num_1\" rows=\"num_1\" animType=\"str_yoyo\" animDirection=\"num_1\" xmlType=\"object\" /></data></9><8 name=\"str_food_0\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite charset=\"str_charset\\objects\\food2.png\" directions=\"num_1\" frames=\"num_1\" columns=\"num_1\" rows=\"num_1\" animType=\"str_yoyo\" animDirection=\"num_1\" xmlType=\"object\" /><position y=\"num_184\" x=\"num_168\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><hitbox height=\"num_16\" width=\"num_16\" xmlType=\"object\" /><copySprite id=\"str_\" xmlType=\"object\"><data xmlType=\"object\" /></copySprite><scripts xmlType=\"object\" /><initialAppearance charset=\"str_charset\\objects\\food2.png\" directions=\"num_1\" frames=\"num_1\" columns=\"num_1\" rows=\"num_1\" animType=\"str_yoyo\" animDirection=\"num_1\" xmlType=\"object\" /></data></8><7 name=\"str_food\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite charset=\"str_charset\\objects\\food3.png\" directions=\"num_1\" frames=\"num_1\" columns=\"num_1\" rows=\"num_1\" animType=\"str_yoyo\" animDirection=\"num_1\" xmlType=\"object\" /><position x=\"num_8\" y=\"num_232\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><hitbox height=\"num_16\" width=\"num_16\" xmlType=\"object\" /><copySprite id=\"str_\" xmlType=\"object\"><data xmlType=\"object\" /></copySprite><scripts xmlType=\"object\" /><initialAppearance charset=\"str_charset\\objects\\food3.png\" directions=\"num_1\" frames=\"num_1\" columns=\"num_1\" rows=\"num_1\" animType=\"str_yoyo\" animDirection=\"num_1\" xmlType=\"object\" /></data></7><6 name=\"str_bigDog\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_1\" frame=\"num_0\" directions=\"num_4\" direction=\"num_1\" charset=\"str_charset\\som_wolf\\stand.png\" xmlType=\"object\" /><position y=\"num_152\" x=\"num_8\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><hitbox height=\"num_16\" width=\"num_16\" xmlType=\"object\" /><copySprite id=\"str_\" xmlType=\"object\"><data xmlType=\"object\" /></copySprite><scripts xmlType=\"object\" /><initialAppearance isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_1\" frame=\"num_0\" directions=\"num_4\" direction=\"num_1\" charset=\"str_charset\\som_wolf\\stand.png\" xmlType=\"object\" /></data></6><5 name=\"str_newGirl\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_0\" charset=\"str_charset\\ridingHood\\dress\\walk.png\" xmlType=\"object\" /><position x=\"num_8\" y=\"num_200\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><hitbox height=\"num_16\" width=\"num_16\" xmlType=\"object\" /><copySprite id=\"str_\" xmlType=\"object\"><data xmlType=\"object\" /></copySprite><scripts xmlType=\"object\" /><initialAppearance isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_0\" charset=\"str_charset\\ridingHood\\dress\\walk.png\" xmlType=\"object\" /></data></5><4 name=\"str_maid\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_2\" columns=\"num_4\" pose=\"num_0\" frames=\"num_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_2\" charset=\"str_charset\\maid.png\" xmlType=\"object\" /><position y=\"num_136\" x=\"num_8\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><hitbox height=\"num_16\" width=\"num_16\" xmlType=\"object\" /><copySprite id=\"str_\" xmlType=\"object\"><data xmlType=\"object\" /></copySprite><scripts xmlType=\"object\" /><initialAppearance isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_2\" columns=\"num_4\" pose=\"num_0\" frames=\"num_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_2\" charset=\"str_charset\\maid.png\" xmlType=\"object\" /></data></4><3 name=\"str_dad\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_2\" columns=\"num_4\" pose=\"num_0\" frames=\"num_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_3\" charset=\"str_charset\\people1.png\" xmlType=\"object\" /><position y=\"num_200\" x=\"num_200\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><hitbox height=\"num_16\" width=\"num_16\" xmlType=\"object\" /><copySprite id=\"str_\" xmlType=\"object\"><data xmlType=\"object\" /></copySprite><scripts xmlType=\"object\" /><initialAppearance isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_2\" columns=\"num_4\" pose=\"num_0\" frames=\"num_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_3\" charset=\"str_charset\\people1.png\" xmlType=\"object\" /></data></3><2 name=\"str_mom\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_2\" columns=\"num_4\" pose=\"num_1\" frames=\"num_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_0\" charset=\"str_charset\\people2.png\" xmlType=\"object\" /><position y=\"num_216\" x=\"num_168\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><hitbox height=\"num_16\" width=\"num_16\" xmlType=\"object\" /><copySprite id=\"str_\" xmlType=\"object\"><data xmlType=\"object\" /></copySprite><scripts xmlType=\"object\" /><initialAppearance isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_2\" columns=\"num_4\" pose=\"num_1\" frames=\"num_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_0\" charset=\"str_charset\\people2.png\" xmlType=\"object\" /></data></2><1 name=\"str_richGirl\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_2\" charset=\"str_charset\\girl1\\dressed\\walk.png\" xmlType=\"object\" /><position x=\"num_152\" y=\"num_168\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><hitbox height=\"num_16\" width=\"num_16\" xmlType=\"object\" /><copySprite id=\"str_\" xmlType=\"object\"><data xmlType=\"object\" /></copySprite><scripts xmlType=\"object\" /><initialAppearance isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_2\" charset=\"str_charset\\girl1\\dressed\\walk.png\" xmlType=\"object\" /></data></1><0 name=\"str_EVENTS\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_1\" frame=\"num_1\" directions=\"num_1\" direction=\"num_0\" charset=\"str_charset\\invisible.png\" xmlType=\"object\" /><position x=\"num_8\" y=\"num_8\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><hitbox height=\"num_16\" width=\"num_16\" xmlType=\"object\" /><copySprite id=\"str_\" xmlType=\"object\"><data xmlType=\"object\" /></copySprite><scripts xmlType=\"object\"><auto xmlType=\"array\"><43 relativeLevel=\"str_200.lvl\" level=\"str_levels\\dogs_pet\\200.lvl\" type=\"str_teleport\" xmlType=\"object\"><position y=\"num_176\" x=\"num_624\" xmlType=\"object\" /><transOut mask=\"str_\" easing=\"str_easeLinear\" seconds=\"num_0.5\" effect=\"str_fadeBlack\" xmlType=\"object\" /><transIn mask=\"str_\" easing=\"str_easeLinear\" seconds=\"num_0.5\" effect=\"str_fade\" xmlType=\"object\" /></43><42 message=\"str_\" type=\"str_comment\" xmlType=\"object\" /><41 value=\"num_1\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><40 type=\"str_move\" sprite=\"str_richGirl\" xmlType=\"array\"><2 walkSpeed=\"num_0.26\" duration=\"num_1.82\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_-112\" x=\"num_0\" xmlType=\"object\" /></2><1 walkSpeed=\"num_0.26\" duration=\"num_0.26\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_0\" x=\"num_-16\" xmlType=\"object\" /></1><0 walkSpeed=\"num_0.26\" duration=\"num_0.581377674149945\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_16\" x=\"num_-32\" xmlType=\"object\" /></0></40><39 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_comment\" message=\"str_* text: [richGirl]: \\.Oh then...\\2 send them away.\\!\r Owning a dog is far too much hassle.\" commentedType=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_[richGirl]: \\.Oh then...\\2 send them away.\\!\r Owning a dog is far too much hassle.\" type=\"str_textbox\" xmlType=\"object\" /></39><38 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_[richGirl]: \\.Then...\\2 just send them away.\\!\r Owning a dog is too much work for me.\" type=\"str_textbox\" xmlType=\"object\" /></38><37 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_comment\" message=\"str_* text: [richGirl]: \\.Oh just...\\2 send them away.\\!\r Owning a dog is too much work for me.\" commentedType=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_[richGirl]: \\.Oh just...\\2 send them away.\\!\r Owning a dog is too much work for me.\" type=\"str_textbox\" xmlType=\"object\" /></37><36 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_comment\" message=\"str_* text: [richGirl]: \\.Then,\\. send them away.\\!\r Owning a dog is too much work for me.\" commentedType=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_[richGirl]: \\.Then,\\. send them away.\\!\r Owning a dog is too much work for me.\" type=\"str_textbox\" xmlType=\"object\" /></36><35 value=\"str_richGirl\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><34 type=\"str_move\" sprite=\"str_richGirl\" xmlType=\"array\"><2 value=\"str_right\" type=\"str_direction\" xmlType=\"object\" /><1 value=\"num_1\" mode=\"str_time\" type=\"str_moveWait\" xmlType=\"object\" /><0 walkSpeed=\"num_0.26\" duration=\"num_0.78\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_0\" x=\"num_-48\" xmlType=\"object\" /></0></34><33 value=\"num_0.1\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><32 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_Mom: Well, her pay has been coming out\r of your allowance, so it's up to you.\" type=\"str_textbox\" xmlType=\"object\" /></32><31 type=\"str_move\" sprite=\"str_mom\" xmlType=\"array\"><0 value=\"str_up\" type=\"str_direction\" xmlType=\"object\" /></31><30 value=\"num_0.1\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><29 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_I mean it's not like she has to do\rany REAL work.\" type=\"str_textbox\" xmlType=\"object\" /></29><28 name=\"str_moaning\" volume=\"num_50\" loop=\"bol_false\" file=\"str_sound\\sexy\\moaning_frantic02 loop.mp3\" type=\"str_sound\" xmlType=\"object\" /><27 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_comment\" message=\"str_* text: I gave her specific instructions:\\!\rDo not to stop until all the white stuff is gone.\\2\rIs that so hard??\" commentedType=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_I gave her specific instructions:\\!\rDo not to stop until all the white stuff is gone.\\2\rIs that so hard??\" type=\"str_textbox\" xmlType=\"object\" /></27><26 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_I gave her specific instructions:\\!\rDo not to stop until he is empty.\\2\rIs that so hard??\" type=\"str_textbox\" xmlType=\"object\" /></26><25 type=\"str_move\" sprite=\"str_richGirl\" xmlType=\"array\"><0 value=\"str_down\" type=\"str_direction\" xmlType=\"object\" /></25><24 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_[richGirl]: I'll say!\\!\r Even after a whole day, [dog] still\r drips all over the floor.\" type=\"str_textbox\" xmlType=\"object\" /></24><23 type=\"str_move\" sprite=\"str_richGirl\" xmlType=\"array\"><0 value=\"str_right\" type=\"str_direction\" xmlType=\"object\" /></23><22 value=\"num_0.1\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><21 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_Mom: Don't be too hard on "the help," dear.\\!\r It takes a lot of grooming to make\r a Wol-dog presentable.\" type=\"str_textbox\" xmlType=\"object\" /></21><20 type=\"str_move\" sprite=\"str_dad\" xmlType=\"array\"><1 value=\"str_left\" type=\"str_direction\" xmlType=\"object\" /><0 value=\"num_0.3\" mode=\"str_time\" type=\"str_moveWait\" xmlType=\"object\" /></20><19 type=\"str_move\" sprite=\"str_mom\" xmlType=\"array\"><0 value=\"str_right\" type=\"str_direction\" xmlType=\"object\" /></19><18 value=\"num_0.1\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><17 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_Dad: I do admit,\\. it HAS been hard to hear\r the birds outside with that dog-maid playing\r all day long.\\! Couldn't she do it more quietly?\" type=\"str_textbox\" xmlType=\"object\" /></17><16 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_comment\" message=\"str_* text: Dad: I do admit,\\. it HAS been harder to hear\r the birds outside with that dog-maid playing\r all day long.\\! Couldn't she do it more quietly?\" commentedType=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_Dad: I do admit,\\. it HAS been harder to hear\r the birds outside with that dog-maid playing\r all day long.\\! Couldn't she do it more quietly?\" type=\"str_textbox\" xmlType=\"object\" /></16><15 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_comment\" message=\"str_* text: Dad: I do admit,\\. it HAS been harder to hear\r the birds outside with the dog-maid working\r all day long.\\! Can't she work quietly?\" commentedType=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_Dad: I do admit,\\. it HAS been harder to hear\r the birds outside with the dog-maid working\r all day long.\\! Can't she work quietly?\" type=\"str_textbox\" xmlType=\"object\" /></15><14 type=\"str_move\" sprite=\"str_dad\" xmlType=\"array\"><0 value=\"str_right\" type=\"str_direction\" xmlType=\"object\" /></14><13 value=\"num_2\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><12 name=\"str_moaning\" volume=\"num_50\" loop=\"bol_false\" file=\"str_sound\\sexy\\moaning_frantic01.mp3\" type=\"str_sound\" xmlType=\"object\" /><11 message=\"str_\" type=\"str_comment\" xmlType=\"object\" /><10 value=\"str_dad\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><9 type=\"str_move\" sprite=\"str_mom\" xmlType=\"array\"><0 value=\"str_up\" type=\"str_direction\" xmlType=\"object\" /></9><8 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_Mom: Oh it was no trouble.\\2\r I received a good deal at the pet shop.\\.\r I barely spent a thing.\" type=\"str_textbox\" xmlType=\"object\" /></8><7 type=\"str_move\" sprite=\"str_mom\" xmlType=\"array\"><0 value=\"str_right\" type=\"str_direction\" xmlType=\"object\" /></7><6 value=\"num_0.1\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><5 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_Dad: Now hun,\\. your mother went to a lot\r of trouble to buy you that Wol-dog.\" type=\"str_textbox\" xmlType=\"object\" /></5><4 type=\"str_move\" sprite=\"str_dad\" xmlType=\"array\"><1 value=\"str_left\" type=\"str_direction\" xmlType=\"object\" /><0 walkSpeed=\"num_0.26\" duration=\"num_0.26\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_-16\" x=\"num_0\" xmlType=\"object\" /></0></4><3 value=\"num_0.1\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><2 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_[richGirl]: \\.Mother,\\. I'm so tired of preparing\r dog recipes.\\2 Must I keep the dog?\" type=\"str_textbox\" xmlType=\"object\" /></2><1 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_comment\" message=\"str_* text: [richGirl]: \\.Mother,\\. I grow tired of preparing\r dog recipes.\\2 Do I have to keep the dog?\" commentedType=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_[richGirl]: \\.Mother,\\. I grow tired of preparing\r dog recipes.\\2 Do I have to keep the dog?\" type=\"str_textbox\" xmlType=\"object\" /></1><0 value=\"num_0.5\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /></auto></scripts><initialAppearance isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_1\" frame=\"num_1\" directions=\"num_1\" direction=\"num_0\" charset=\"str_charset\\invisible.png\" xmlType=\"object\" /></data></0></sprites><map format=\"num_2\" width=\"num_20\" height=\"num_15\" chipset=\"str_chipset\\robotrek_indoors.png\" collision=\"str__111111111111111111111111111111111100111110001111000000000000111100111110001111100111100001111110111100001111100111101101111100111001101111100111101101111100111001101111100111101101111100111100001111110111100001111100111111111111100001111111111100000111111111100001111111111111111111111111111111111111\" xmlType=\"object\"><layers xmlType=\"array\"><2 value=\"str__2p2p2p2p2p2p2p2p2p2p2p2p2p2p2p58585858585858585858585858582p0000000000d2000000000000008w4d000000000000000000000000008x4d0000000000d0000000000000008y4d0000000000d100000000000000004d000000an00d100000000000000004d0000000000d100000000000000004d0000000000d100000000000000004d0000000000d10000an00000000004d0000000000d100000000000000004d0000000000d100000000000000004d0000000000d100000000000000004d000000an00d100000000000000004d0000000000d200004c56565656562p000000000000008w4d2p2p2p2p2p2p000000000000008x4d2p2p2p2p2p2p000000000000008y4d2p2p2p2p2p2p56565656565656562p2p2p2p2p2p2p2p2p2p2p2p2p2p2p2p2p2p2p2p2p2p\" xmlType=\"variable\" /><1 value=\"str__00000000000000000000000000000000000000000000000000000000000000009oai000000000000000000000000008v00000000000000000000000000009paj00000000000000000000000000000000000000c60000000000000000000000000000c70000000000000000000000000000c80000000000000o1i2c0000000000000000000000000p002d0000000000000000000000000q1k2e0000000000000000000000000000000000000000c60000000000000000000000000000c70000000000000000000000000000c8000000000000000000000000000000000000000000000000000000000000000000000000000000920000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000\" xmlType=\"variable\" /><0 value=\"str__0000000000000000000000000000000000000000000000000000000000000l1f29336r6r0j1d27313v6o6o6o000l1f290g6r6r6r6r6r1b1b6o6o6o000l1f29336r6r0i1c26303u6o6o6o000l1f29336r6r0k0d17ac6o6o6o6o000l1f29331a6r0k0d17ad6o6o6o6o000l1f29336r6r0k0d17ae6o7x9l6o000l1f29336r6r0k0d176o6o7y9m6o000la629336r6r0k0d171a6o7y9m6o000l1f29336r6r0k0d176o6o7y9m6o000l1f29336r6r0k0d17ac6o7z9n6o000l1f29336r6r0k0d17ad6o6o6o6o000l1f29331a6r0k0d17ae6o6o6o6o000l1f29336r6r0j1d000000000000000l1f29336r6r6r6r000000000000000l1f29336r6r6r6r000000000000000l1f29336r6r6r6r00000000000000000000000000000000000000000000000000000000000000000000000000\" xmlType=\"variable\" /></layers></map></level></data>";
data_xml = new XML(data_txt);
onLoad(data_xml);
Symbol 312 MovieClip [levels\dogs_pet\200.lvl] Frame 1
data_txt = "<data xmlType=\"object\"><level name=\"str_levels\\dogs_pet\\200.lvl\" xmlType=\"object\"><sprites xmlType=\"array\"><7 name=\"str_EVENTS\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_1\" frame=\"num_1\" directions=\"num_1\" direction=\"num_0\" charset=\"str_charset\\invisible.png\" xmlType=\"object\" /><position x=\"num_632\" y=\"num_184\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><hitbox height=\"num_16\" width=\"num_16\" xmlType=\"object\" /><copySprite id=\"str_\" xmlType=\"object\"><data xmlType=\"object\" /></copySprite><scripts xmlType=\"object\"><auto xmlType=\"array\"><97 relativeLevel=\"str_210.lvl\" level=\"str_levels\\dogs_pet\\210.lvl\" type=\"str_teleport\" xmlType=\"object\"><position y=\"num_560\" x=\"num_128\" xmlType=\"object\" /><transOut mask=\"str_\" easing=\"str_easeLinear\" seconds=\"num_0.5\" effect=\"str_snapshot\" xmlType=\"object\" /><transIn mask=\"str_\" easing=\"str_easeLinear\" seconds=\"num_0.5\" effect=\"str_fade\" xmlType=\"object\" /></97><96 message=\"str_\" type=\"str_comment\" xmlType=\"object\" /><95 value=\"num_2\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><94 type=\"str_move\" sprite=\"str_newGirl\" xmlType=\"array\"><2 walkSpeed=\"num_0.26\" duration=\"num_1.82\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_112\" x=\"num_0\" xmlType=\"object\" /></2><1 walkSpeed=\"num_0.26\" duration=\"num_0.782703647621499\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_32\" x=\"num_-36\" xmlType=\"object\" /></1><0 type=\"str_appearance\" xmlType=\"object\"><value isAnimating=\"bol_false\" delay=\"num_2\" animDirection=\"num_1\" animType=\"str_loop\" pose=\"num_0\" rows=\"num_1\" columns=\"num_1\" frame=\"num_0\" frames=\"num_6\" direction=\"num_3\" directions=\"num_4\" charset=\"str_charset\\ridingHood\\dogCostume\\crawl.png\" xmlType=\"object\" /></0></94><93 value=\"str_newGirl\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><92 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_160\" text=\"str_[newGirl]: I guess I'll go home.\" type=\"str_textbox\" xmlType=\"object\" /></92><91 type=\"str_move\" sprite=\"str_newGirl\" xmlType=\"array\"><2 value=\"str_right\" type=\"str_direction\" xmlType=\"object\" /><1 value=\"num_0.1\" mode=\"str_time\" type=\"str_moveWait\" xmlType=\"object\" /><0 type=\"str_appearance\" xmlType=\"object\"><value isAnimating=\"bol_false\" delay=\"num_2\" animDirection=\"num_1\" animType=\"str_yoyo\" pose=\"num_0\" rows=\"num_1\" columns=\"num_1\" frame=\"num_0\" frames=\"num_2\" direction=\"num_1\" directions=\"num_2\" charset=\"str_charset\\ridingHood\\dogCostume\\mount.png\" xmlType=\"object\" /></0></91><90 value=\"num_0.1\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><89 type=\"str_move\" sprite=\"str_mom\" xmlType=\"array\"><2 walkSpeed=\"num_0.26\" duration=\"num_0.91\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_-56\" x=\"num_0\" xmlType=\"object\" /></2><1 walkSpeed=\"num_0.26\" duration=\"num_0.91\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_0\" x=\"num_-56\" xmlType=\"object\" /></1><0 walkSpeed=\"num_0.26\" duration=\"num_0.290688837074973\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_16\" x=\"num_-8\" xmlType=\"object\" /></0></89><88 message=\"str_\" type=\"str_comment\" xmlType=\"object\" /><87 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_Mom: Well you're off the pay-roll,\\!\r so I don't care what you animals\r do in the wild.\" type=\"str_textbox\" xmlType=\"object\" /></87><86 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_comment\" message=\"str_* text: Mom: \\.He's not here,\\. and you're\r off the pay-roll,\\! so I don't care\r what creatures like you do in the wild.\" commentedType=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_Mom: \\.He's not here,\\. and you're\r off the pay-roll,\\! so I don't care\r what creatures like you do in the wild.\" type=\"str_textbox\" xmlType=\"object\" /></86><85 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_comment\" message=\"str_* text: Mom: \\.He's not here,\\. and you're\r off the pay-roll,\\! so I don't care\r what you animals do in the wild.\" commentedType=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_Mom: \\.He's not here,\\. and you're\r off the pay-roll,\\! so I don't care\r what you animals do in the wild.\" type=\"str_textbox\" xmlType=\"object\" /></85><84 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_comment\" message=\"str_* text: Mom: \\.He's not here,\\. and you're\r off the pay-roll,\\2 so it makes\r no difference to me.\" commentedType=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_Mom: \\.He's not here,\\. and you're\r off the pay-roll,\\2 so it makes\r no difference to me.\" type=\"str_textbox\" xmlType=\"object\" /></84><83 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_comment\" message=\"str_* text: Mom: It makes no difference to me.\\.\r He's not here.\" commentedType=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_Mom: It makes no difference to me.\\.\r He's not here.\" type=\"str_textbox\" xmlType=\"object\" /></83><82 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_comment\" message=\"str_* text: Mom: He's not here,\\.\r so It's not my concern.\" commentedType=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_Mom: He's not here,\\.\r so It's not my concern.\" type=\"str_textbox\" xmlType=\"object\" /></82><81 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_comment\" message=\"str_* text: Mom: \\.It's not my concern.\\.\r He's not here.\" commentedType=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_Mom: \\.It's not my concern.\\.\r He's not here.\" type=\"str_textbox\" xmlType=\"object\" /></81><80 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_comment\" message=\"str_* text: Mom: Well he's not here anymore.\" commentedType=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_Mom: Well he's not here anymore.\" type=\"str_textbox\" xmlType=\"object\" /></80><79 type=\"str_move\" sprite=\"str_mom\" xmlType=\"array\"><0 value=\"str_down\" type=\"str_direction\" xmlType=\"object\" /></79><78 value=\"num_0.1\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><77 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_comment\" message=\"str_* text: [newGirl]: Am I still [dog]'s pet?\" commentedType=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_160\" text=\"str_[newGirl]: Am I still [dog]'s pet?\" type=\"str_textbox\" xmlType=\"object\" /></77><76 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_160\" text=\"str_[newGirl]: \\.Leave?\\!\r Am I still [dog]'s pet?\" type=\"str_textbox\" xmlType=\"object\" /></76><75 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_comment\" message=\"str_* text: [newGirl]: Do I still have to be [dog]'s pet?\" commentedType=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_160\" text=\"str_[newGirl]: Do I still have to be [dog]'s pet?\" type=\"str_textbox\" xmlType=\"object\" /></75><74 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_comment\" message=\"str_* text: [newGirl]: Both of us?\\!\r Do I still have to be [dog]'s pet?\" commentedType=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_160\" text=\"str_[newGirl]: Both of us?\\!\r Do I still have to be [dog]'s pet?\" type=\"str_textbox\" xmlType=\"object\" /></74><73 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_comment\" message=\"str_* text: [newGirl]: [dog]'s coming home with me?\\!\r Am I still his pet-maid?\" commentedType=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_160\" text=\"str_[newGirl]: [dog]'s coming home with me?\\!\r Am I still his pet-maid?\" type=\"str_textbox\" xmlType=\"object\" /></73><72 type=\"str_move\" sprite=\"str_newGirl\" xmlType=\"array\"><0 type=\"str_appearance\" xmlType=\"object\"><value isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_loop\" pose=\"num_0\" rows=\"num_1\" columns=\"num_1\" frame=\"num_0\" frames=\"num_1\" direction=\"num_2\" directions=\"num_4\" charset=\"str_charset\\ridingHood\\dogCostume\\proneLaySpread.png\" xmlType=\"object\" /></0></72><71 value=\"num_0.1\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><70 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_Mom: [richGirl] is tired of owning a dog.\\!\r So you may leave.\" type=\"str_textbox\" xmlType=\"object\" /></70><69 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_comment\" message=\"str_* text: Mom: Don't be silly.\\.\r [richGirl] simply grew tired of owning a dog.\\!\r So you may leave.\" commentedType=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_Mom: Don't be silly.\\.\r [richGirl] simply grew tired of owning a dog.\\!\r So you may leave.\" type=\"str_textbox\" xmlType=\"object\" /></69><68 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_comment\" message=\"str_* text: Mom: Don't be silly.\\.\r [richGirl] is simply tired of owning a dog.\\!\r You two may leave.\" commentedType=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_Mom: Don't be silly.\\.\r [richGirl] is simply tired of owning a dog.\\!\r You two may leave.\" type=\"str_textbox\" xmlType=\"object\" /></68><67 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_comment\" message=\"str_* text: Mom: [richGirl] no longer wants a dog,\\.\r so the two of you may go now.\" commentedType=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_Mom: [richGirl] no longer wants a dog,\\.\r so the two of you may go now.\" type=\"str_textbox\" xmlType=\"object\" /></67><66 type=\"str_move\" sprite=\"str_mom\" xmlType=\"array\"><0 value=\"str_newGirl\" type=\"str_lookAt\" xmlType=\"object\" /></66><65 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_comment\" message=\"str_* text: Mom: [richGirl] has decided she's tired of\r owning a dog,\\2 so we no longer require\r a dog-maid.\" commentedType=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_Mom: [richGirl] has decided she's tired of\r owning a dog,\\2 so we no longer require\r a dog-maid.\" type=\"str_textbox\" xmlType=\"object\" /></65><64 value=\"str_mom\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><63 value=\"num_0.1\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><62 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_160\" text=\"str_[newGirl]: \\.*pant*\\2\r Is playtime over?\" type=\"str_textbox\" xmlType=\"object\" /></62><61 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_comment\" message=\"str_* text: [newGirl]: \\.*cough*\\2\r Is playtime over?\" commentedType=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_160\" text=\"str_[newGirl]: \\.*cough*\\2\r Is playtime over?\" type=\"str_textbox\" xmlType=\"object\" /></61><60 type=\"str_move\" sprite=\"str_newGirl\" xmlType=\"array\"><0 type=\"str_appearance\" xmlType=\"object\"><value isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" pose=\"num_0\" rows=\"num_1\" columns=\"num_1\" frame=\"num_0\" frames=\"num_1\" direction=\"num_1\" directions=\"num_2\" charset=\"str_charset\\ridingHood\\dogCostume\\proneLay.png\" xmlType=\"object\" /></0></60><59 type=\"str_move\" sprite=\"str_mom\" xmlType=\"array\"><0 walkSpeed=\"num_0.26\" duration=\"num_0.937443331620637\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_32\" x=\"num_-48\" xmlType=\"object\" /></0></59><58 value=\"str_mom\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><57 type=\"str_move\" sprite=\"str_mom\" xmlType=\"array\"><0 walkSpeed=\"num_0.26\" duration=\"num_0.581377674149945\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_16\" x=\"num_-32\" xmlType=\"object\" /></0></57><56 value=\"num_0.5\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><55 type=\"str_move\" sprite=\"str_leash\" xmlType=\"array\"><0 type=\"str_appearance\" xmlType=\"object\"><value isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_once\" pose=\"num_0\" rows=\"num_1\" columns=\"num_1\" frame=\"num_0\" frames=\"num_1\" direction=\"num_0\" directions=\"num_2\" charset=\"str_charset\\objects\\leash_standDrop.png\" xmlType=\"object\" /></0></55><54 value=\"str_mom\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><53 type=\"str_move\" sprite=\"str_mom\" xmlType=\"array\"><5 value=\"bol_false\" type=\"str_anim\" xmlType=\"object\" /><4 value=\"num_0.5\" mode=\"str_time\" type=\"str_moveWait\" xmlType=\"object\" /><3 value=\"bol_true\" type=\"str_anim\" xmlType=\"object\" /><2 walkSpeed=\"num_0.26\" duration=\"num_0.581377674149945\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_-32\" x=\"num_16\" xmlType=\"object\" /></2><1 walkSpeed=\"num_0.26\" duration=\"num_1.40014284985497\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_-32\" x=\"num_80\" xmlType=\"object\" /></1><0 walkSpeed=\"num_0.26\" duration=\"num_0.52\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_0\" x=\"num_32\" xmlType=\"object\" /></0></53><52 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_Have you been under there this whole time?\" type=\"str_textbox\" xmlType=\"object\" /></52><51 type=\"str_move\" sprite=\"str_mom\" xmlType=\"array\"><0 value=\"str_newGirl\" type=\"str_lookAt\" xmlType=\"object\" /></51><50 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_\\.Oh,\\. I nearly forgot.\" type=\"str_textbox\" xmlType=\"object\" /></50><49 value=\"str_mom\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><48 type=\"str_move\" sprite=\"str_mom\" xmlType=\"array\"><1 walkSpeed=\"num_0.26\" duration=\"num_0.52\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_0\" x=\"num_-32\" xmlType=\"object\" /></1><0 walkSpeed=\"num_0.26\" duration=\"num_0.822192191643779\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_-16\" x=\"num_-48\" xmlType=\"object\" /></0></48><47 message=\"str_\" type=\"str_comment\" xmlType=\"object\" /><46 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_Mom: Nothing wrong with adding\r one more animal to the local wildlife.\" type=\"str_textbox\" xmlType=\"object\" /></46><45 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_comment\" message=\"str_* text: Mom: Nothing wrong with adding\r one more animal to the wilderness.\" commentedType=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_Mom: Nothing wrong with adding\r one more animal to the wilderness.\" type=\"str_textbox\" xmlType=\"object\" /></45><44 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_comment\" message=\"str_* text: Mom: I'm sure he'll do just fine\r out there from now on.\" commentedType=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_Mom: I'm sure he'll do just fine\r out there from now on.\" type=\"str_textbox\" xmlType=\"object\" /></44><43 type=\"str_move\" sprite=\"str_mom\" xmlType=\"array\"><0 value=\"str_left\" type=\"str_direction\" xmlType=\"object\" /></43><42 value=\"str_bigDog\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><41 type=\"str_move\" sprite=\"str_bigDog\" xmlType=\"array\"><0 walkSpeed=\"num_0.096\" duration=\"num_1.536\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_0\" x=\"num_-256\" xmlType=\"object\" /></0></41><40 type=\"str_move\" sprite=\"str_mom\" xmlType=\"array\"><0 value=\"str_down\" type=\"str_direction\" xmlType=\"object\" /></40><39 value=\"str_bigDog\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><38 type=\"str_move\" sprite=\"str_bigDog\" xmlType=\"array\"><5 walkSpeed=\"num_0.096\" duration=\"num_0.863353925108353\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_143\" x=\"num_-16\" xmlType=\"object\" /></5><4 type=\"str_appearance\" xmlType=\"object\"><value isAnimating=\"bol_false\" delay=\"num_2\" animDirection=\"num_1\" animType=\"str_loop\" pose=\"num_0\" rows=\"num_1\" columns=\"num_1\" frame=\"num_0\" frames=\"num_3\" direction=\"num_2\" directions=\"num_4\" charset=\"str_charset\\som_wolf\\walk.png\" xmlType=\"object\" /></4><3 value=\"num_0.5\" mode=\"str_time\" type=\"str_moveWait\" xmlType=\"object\" /><2 value=\"str_down\" type=\"str_direction\" xmlType=\"object\" /><1 value=\"num_0.5\" mode=\"str_time\" type=\"str_moveWait\" xmlType=\"object\" /><0 type=\"str_appearance\" xmlType=\"object\"><value isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" pose=\"num_0\" rows=\"num_1\" columns=\"num_1\" frame=\"num_0\" frames=\"num_1\" direction=\"num_1\" directions=\"num_4\" charset=\"str_charset\\som_wolf\\stand.png\" xmlType=\"object\" /></0></38><37 type=\"str_move\" sprite=\"str_newGirl\" xmlType=\"array\"><0 type=\"str_appearance\" xmlType=\"object\"><value isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" pose=\"num_0\" rows=\"num_1\" columns=\"num_1\" frame=\"num_0\" frames=\"num_1\" direction=\"num_1\" directions=\"num_2\" charset=\"str_charset\\ridingHood\\dogCostume\\sleep.png\" xmlType=\"object\" /></0></37><36 value=\"str_bigDog\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><35 type=\"str_move\" sprite=\"str_bigDog\" xmlType=\"array\"><2 value=\"num_0.1\" mode=\"str_time\" type=\"str_moveWait\" xmlType=\"object\" /><1 walkSpeed=\"num_1.04\" duration=\"num_0.52\" autoAnim=\"bol_false\" autoDirection=\"bol_false\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_0\" x=\"num_-8\" xmlType=\"object\" /></1><0 value=\"bol_false\" type=\"str_anim\" xmlType=\"object\" /></35><34 target=\"str_SPRITES.cum\" waitForEnd=\"bol_false\" depth=\"num_-1\" name=\"str_anim\" linkage=\"str_swf\\cum\\streamer.swf\" type=\"str_swf\" xmlType=\"object\"><data xmlType=\"object\" /></34><33 type=\"str_move\" sprite=\"str_cum\" xmlType=\"array\"><2 walkSpeed=\"num_0\" duration=\"num_0\" autoAnim=\"bol_false\" autoDirection=\"bol_false\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_158\" x=\"num_662\" xmlType=\"object\" /></2><1 type=\"str_comment\" message=\"str_* pose: charset\\_cum_preview\\streamer.png\" commentedType=\"str_appearance\" xmlType=\"object\"><value charset=\"str_charset\\_cum_preview\\streamer.png\" directions=\"num_1\" frames=\"num_1\" columns=\"num_1\" rows=\"num_1\" animType=\"str_yoyo\" animDirection=\"num_1\" xmlType=\"object\" /></1><0 duration=\"num_0\" autoAnim=\"bol_false\" autoDirection=\"bol_false\" type=\"str_moveAbsolute\" xmlType=\"object\"><position y=\"num_16\" x=\"num_8\" xmlType=\"object\" /></0></33><32 target=\"str_SPRITES\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_cum\" linkage=\"str_rpgSprite\" type=\"str_swf\" xmlType=\"object\"><data xmlType=\"object\" /></32><31 message=\"str_\" type=\"str_comment\" xmlType=\"object\" /><30 value=\"num_0.5\" mode=\"str_time\" type=\"str_comment\" message=\"str_* wait for 0.5 sec\" commentedType=\"str_wait\" xmlType=\"object\" /><29 type=\"str_comment\" sprite=\"str_mom\" message=\"str_* move: mom\" commentedType=\"str_move\" xmlType=\"array\"><0 value=\"str_right\" type=\"str_direction\" xmlType=\"object\" /></29><28 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" typingSound=\"str_\" background=\"str_\" face=\"str_\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_Off you go.\\! Go on.\" type=\"str_textbox\" xmlType=\"object\" /></28><27 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_comment\" typingSound=\"str_\" background=\"str_\" face=\"str_\" message=\"str_* text: Off you go, now.\" commentedType=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_Off you go, now.\" type=\"str_textbox\" xmlType=\"object\" /></27><26 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_comment\" typingSound=\"str_\" background=\"str_\" face=\"str_\" message=\"str_* text: You're free to go now.\" commentedType=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_You're free to go now.\" type=\"str_textbox\" xmlType=\"object\" /></26><25 type=\"str_move\" sprite=\"str_mom\" xmlType=\"array\"><0 value=\"str_right\" type=\"str_direction\" xmlType=\"object\" /></25><24 message=\"str_\" type=\"str_comment\" xmlType=\"object\" /><23 value=\"num_0.5\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><22 value=\"str_fence\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><21 type=\"str_move\" sprite=\"str_fence\" xmlType=\"array\"><0 walkSpeed=\"num_0.26\" duration=\"num_0.26\" autoAnim=\"bol_true\" autoDirection=\"bol_false\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_0\" x=\"num_-16\" xmlType=\"object\" /></0></21><20 type=\"str_move\" sprite=\"str_mom\" xmlType=\"array\"><0 walkSpeed=\"num_0.26\" duration=\"num_0.26\" autoAnim=\"bol_true\" autoDirection=\"bol_false\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_0\" x=\"num_-16\" xmlType=\"object\" /></0></20><19 value=\"str_mom\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><18 type=\"str_move\" sprite=\"str_mom\" xmlType=\"array\"><2 value=\"num_0.5\" mode=\"str_time\" type=\"str_moveWait\" xmlType=\"object\" /><1 value=\"str_down\" type=\"str_direction\" xmlType=\"object\" /><0 walkSpeed=\"num_0.26\" duration=\"num_1.07200746266059\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_16\" x=\"num_64\" xmlType=\"object\" /></0></18><17 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_comment\" message=\"str_* text: Mom: \\.Now [dog],\\. surely you must be\r good and finished by now.\" commentedType=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_Mom: \\.Now [dog],\\. surely you must be\r good and finished by now.\" type=\"str_textbox\" xmlType=\"object\" /></17><16 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_Mom: \\.Now [dog],\\. you've been\r playing all day.\\!\r Surely you must be finished by now.\" type=\"str_textbox\" xmlType=\"object\" /></16><15 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_comment\" message=\"str_* text: Mom: \\.Now [dog],\\. you've been\r playing all day.\\!\r Surely you must be finished.\" commentedType=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_Mom: \\.Now [dog],\\. you've been\r playing all day.\\!\r Surely you must be finished.\" type=\"str_textbox\" xmlType=\"object\" /></15><14 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_comment\" message=\"str_* text: Mom: \\.Now [dog],\\. you've been\r playing all day.\\!\r Surely you must be tired.\" commentedType=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_Mom: \\.Now [dog],\\. you've been\r playing all day.\\!\r Surely you must be tired.\" type=\"str_textbox\" xmlType=\"object\" /></14><13 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_comment\" message=\"str_* text: Mom: \\.Now [dog],\\. you've been\r playing all day.\\!\r Surely you must be bored of her.\" commentedType=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str";
data_txt = data_txt + "_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_Mom: \\.Now [dog],\\. you've been\r playing all day.\\!\r Surely you must be bored of her.\" type=\"str_textbox\" xmlType=\"object\" /></13><12 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_comment\" message=\"str_* text: Mom: \\.Now [dog],\\. you've been\r playing all day.\\!\r Surely you must be bored of her by now.\" commentedType=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_Mom: \\.Now [dog],\\. you've been\r playing all day.\\!\r Surely you must be bored of her by now.\" type=\"str_textbox\" xmlType=\"object\" /></12><11 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_comment\" message=\"str_* text: Mom: \\.Now [dog],\\. you've been\r cuddling your maid all day.\\!\r Surely you must be bored by now.\" commentedType=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_Mom: \\.Now [dog],\\. you've been\r cuddling your maid all day.\\!\r Surely you must be bored by now.\" type=\"str_textbox\" xmlType=\"object\" /></11><10 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_comment\" message=\"str_* text: Mom: \\.Now [dog],\\. you've been\r cuddling your maid all day.\\!\r She must be terribly boring by now.\" commentedType=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_Mom: \\.Now [dog],\\. you've been\r cuddling your maid all day.\\!\r She must be terribly boring by now.\" type=\"str_textbox\" xmlType=\"object\" /></10><9 value=\"str_mom\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><8 type=\"str_move\" sprite=\"str_mom\" xmlType=\"array\"><2 walkSpeed=\"num_0.26\" duration=\"num_0.78\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_0\" x=\"num_48\" xmlType=\"object\" /></2><1 walkSpeed=\"num_0.26\" duration=\"num_0.39\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_24\" x=\"num_0\" xmlType=\"object\" /></1><0 duration=\"num_0\" autoAnim=\"bol_false\" autoDirection=\"bol_false\" type=\"str_moveAbsolute\" xmlType=\"object\"><position y=\"num_232\" x=\"num_536\" xmlType=\"object\" /></0></8><7 update=\"bol_false\" type=\"str_setVariable\" reference=\"bol_false\" xmlType=\"object\"><condition xmlType=\"array\"><2 value=\"str_[SPRITES.door_1.open()]\" xmlType=\"variable\" /><1 value=\"str_=\" xmlType=\"variable\" /><0 value=\"str_\" xmlType=\"variable\" /></condition></7><6 value=\"num_1\" mode=\"str_time\" type=\"str_comment\" message=\"str_* wait for 1 sec\" commentedType=\"str_wait\" xmlType=\"object\" /><5 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_comment\" message=\"str_* text: [newGirl]: \\.*Mmm*\\2 *gulp*\\!\" commentedType=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_160\" text=\"str_[newGirl]: \\.*Mmm*\\2 *gulp*\\!\" type=\"str_textbox\" xmlType=\"object\" /></5><4 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_comment\" message=\"str_* text: [newGirl]: \\.*Mmm*\\2 *gulp*\\!\r I can suck out a lot more playtime juice\r this way...\" commentedType=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_160\" text=\"str_[newGirl]: \\.*Mmm*\\2 *gulp*\\!\r I can suck out a lot more playtime juice\r this way...\" type=\"str_textbox\" xmlType=\"object\" /></4><3 value=\"num_1.5\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><2 name=\"str_moaning\" volume=\"num_100\" loop=\"bol_false\" file=\"str_sound\\sexy\\sucking01 loop.mp3\" type=\"str_sound\" xmlType=\"object\" /><1 type=\"str_move\" sprite=\"str_player\" xmlType=\"array\"><0 duration=\"num_0\" autoAnim=\"bol_false\" autoDirection=\"bol_false\" type=\"str_moveAbsolute\" xmlType=\"object\"><position y=\"num_192\" x=\"num_632\" xmlType=\"object\" /></0></1><0 update=\"bol_false\" type=\"str_setVariable\" reference=\"bol_false\" xmlType=\"object\"><condition xmlType=\"array\"><2 value=\"str_evening\" xmlType=\"variable\" /><1 value=\"str_=\" xmlType=\"variable\" /><0 value=\"str_HUD.mood.mood\" xmlType=\"variable\" /></condition></0></auto></scripts><initialAppearance isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_1\" frame=\"num_1\" directions=\"num_1\" direction=\"num_0\" charset=\"str_charset\\invisible.png\" xmlType=\"object\" /></data></7><6 name=\"str_fence\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite charset=\"str_charset\\objects\\iog_fence.png\" directions=\"num_2\" frames=\"num_1\" columns=\"num_2\" rows=\"num_1\" animType=\"str_yoyo\" animDirection=\"num_1\" delay=\"num_1\" pose=\"num_0\" direction=\"num_0\" frame=\"num_0\" xmlType=\"object\" /><position x=\"num_648\" y=\"num_280\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><hitbox height=\"num_16\" width=\"num_16\" xmlType=\"object\" /><copySprite id=\"str_\" xmlType=\"object\"><data xmlType=\"object\" /></copySprite><scripts xmlType=\"object\" /><initialAppearance charset=\"str_charset\\objects\\iog_fence.png\" directions=\"num_2\" frames=\"num_1\" columns=\"num_2\" rows=\"num_1\" animType=\"str_yoyo\" animDirection=\"num_1\" delay=\"num_1\" pose=\"num_0\" direction=\"num_0\" frame=\"num_0\" xmlType=\"object\" /></data></6><5 name=\"str_mom\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_2\" columns=\"num_4\" pose=\"num_1\" frames=\"num_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_0\" charset=\"str_charset\\people2.png\" xmlType=\"object\" /><position y=\"num_392\" x=\"num_632\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><hitbox height=\"num_16\" width=\"num_16\" xmlType=\"object\" /><copySprite id=\"str_\" xmlType=\"object\"><data xmlType=\"object\" /></copySprite><scripts xmlType=\"object\" /><initialAppearance isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_2\" columns=\"num_4\" pose=\"num_1\" frames=\"num_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_0\" charset=\"str_charset\\people2.png\" xmlType=\"object\" /></data></5><4 name=\"str_door_2\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite charset=\"str_charset\\objects\\doors\\iog1.png\" directions=\"num_1\" frames=\"num_3\" columns=\"num_1\" rows=\"num_1\" animType=\"str_once\" animDirection=\"num_1\" delay=\"num_2\" pose=\"num_0\" direction=\"num_0\" frame=\"num_0\" xmlType=\"object\" /><position y=\"num_177\" x=\"num_440\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><hitbox height=\"num_16\" width=\"num_16\" xmlType=\"object\" /><copySprite id=\"str_door\" xmlType=\"object\"><data xmlType=\"object\" /></copySprite><scripts xmlType=\"object\" /><initialAppearance charset=\"str_charset\\objects\\doors\\iog1.png\" directions=\"num_1\" frames=\"num_3\" columns=\"num_1\" rows=\"num_1\" animType=\"str_once\" animDirection=\"num_1\" delay=\"num_2\" pose=\"num_0\" direction=\"num_0\" frame=\"num_0\" xmlType=\"object\" /></data></4><3 name=\"str_door_1\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite charset=\"str_charset\\objects\\doors\\iog1.png\" directions=\"num_1\" frames=\"num_3\" columns=\"num_1\" rows=\"num_1\" animType=\"str_once\" animDirection=\"num_1\" delay=\"num_2\" pose=\"num_0\" direction=\"num_0\" frame=\"num_0\" xmlType=\"object\" /><position y=\"num_225\" x=\"num_536\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><hitbox height=\"num_16\" width=\"num_16\" xmlType=\"object\" /><copySprite id=\"str_door\" xmlType=\"object\"><data xmlType=\"object\" /></copySprite><scripts xmlType=\"object\" /><initialAppearance charset=\"str_charset\\objects\\doors\\iog1.png\" directions=\"num_1\" frames=\"num_3\" columns=\"num_1\" rows=\"num_1\" animType=\"str_once\" animDirection=\"num_1\" delay=\"num_2\" pose=\"num_0\" direction=\"num_0\" frame=\"num_0\" xmlType=\"object\" /></data></3><2 name=\"str_leash\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite isAnimating=\"bol_true\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_once\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_1\" frame=\"num_0\" directions=\"num_2\" direction=\"num_0\" charset=\"str_charset\\objects\\leash_standCarry.png\" xmlType=\"object\" /><position y=\"num_167\" x=\"num_728\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><hitbox height=\"num_16\" width=\"num_16\" xmlType=\"object\" /><copySprite id=\"str_\" xmlType=\"object\"><data xmlType=\"object\" /></copySprite><scripts xmlType=\"object\" /><initialAppearance isAnimating=\"bol_true\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_once\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_1\" frame=\"num_0\" directions=\"num_2\" direction=\"num_0\" charset=\"str_charset\\objects\\leash_standCarry.png\" xmlType=\"object\" /></data></2><1 name=\"str_bigDog\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite isAnimating=\"bol_true\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_loop\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_2\" frame=\"num_0\" directions=\"num_4\" direction=\"num_1\" charset=\"str_charset\\som_wolf\\hump.png\" xmlType=\"object\" /><position y=\"num_169\" x=\"num_672\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><hitbox height=\"num_16\" width=\"num_16\" xmlType=\"object\" /><copySprite id=\"str_\" xmlType=\"object\"><data xmlType=\"object\" /></copySprite><scripts xmlType=\"object\" /><initialAppearance isAnimating=\"bol_true\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_loop\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_2\" frame=\"num_0\" directions=\"num_4\" direction=\"num_1\" charset=\"str_charset\\som_wolf\\hump.png\" xmlType=\"object\" /></data></1><0 name=\"str_newGirl\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite isAnimating=\"bol_true\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_1\" frame=\"num_0\" directions=\"num_2\" direction=\"num_1\" charset=\"str_charset\\ridingHood\\dogCostume\\proneLay.png\" xmlType=\"object\" /><position y=\"num_168\" x=\"num_684\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><hitbox height=\"num_16\" width=\"num_16\" xmlType=\"object\" /><copySprite id=\"str_\" xmlType=\"object\"><data xmlType=\"object\" /></copySprite><scripts xmlType=\"object\" /><initialAppearance isAnimating=\"bol_true\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_1\" frame=\"num_0\" directions=\"num_2\" direction=\"num_1\" charset=\"str_charset\\ridingHood\\dogCostume\\proneLay.png\" xmlType=\"object\" /></data></0></sprites><map format=\"num_2\" width=\"num_48\" height=\"num_40\" chipset=\"str_chipset\\iog_capeTown.png\" collision=\"str__111111111111111111111111111111111111111111111111100000100000011111000000000000011111111110000010000001111111111111110001111111111000000000000111111111111001000111111111111111100000011111111011100100011110000000011110000001111111111110010001111111111101111000000111111111111000000110000011110111100000011111111111111111111000001111011110000001111111111110000001100000111101111000000111111111111000000110000011110111100000011111111011100000011000001111011110000001111111111110000001100000111101111000000111111111111000000110000011110100000000011111000000000000011111111111011110000001111100110000000001111000000001111000000111100111000000000111111111111111100000011100111100000000011111111110000000000000000011110000000001111111111000000000000000001111000001000111111111100000000000000000111111111000011111111111111110000001111111110011110101111111111111111000000111110000001000010111110111111111100000011111000000000000011110011111111110000001111100000000000001111001111111000000000111110000000000010111100111111100000000011111000000000001011110011111110000000001111100000000000001111101111000000000000111110000000000000111110111111100000000011111000000000001011110011111110000000001111100000000000101001001111111000000000111110000000000000100100111111111111100011111000000000000010010011111111110010001111100000000000101001100001111000001000111111111100000010101111111111111100100011111111110000000010111111111111110010001110011111000000001000000011000000001000111101111100000010100000100100100000100011100111110000001010000010010010000010001110011111000000001010000001000000001000111001111100000000101000001100000000000011100111110000000010000000110000000010001110011111000000001000000001000000001000111111111100000000000010000100000001100011111111110000000000001000010000000110001111100000000000000000000001001000001000111110000000000000000000000100100000100011111000000000000000000001011111111110001111111111111111111\" xmlType=\"object\"><layers xmlType=\"array\"><2 value=\"str__7676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676af767676767676767676767676767676767676767676767676767676767676767676767676767676ag767676767676767676767676767676767676767676767676767676767676767676767676767676ah767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676af767676767676767676767676767676767676767676767676767676767676767676767676767676ag767676767676767676767676767676767676767676767676767676767676767676767676767676ah76767676767676767676767676767676767676767676af767676767676767676767676767676767676767676767676767676767676767676767676767676ag767676767676767676767676767676767676767676767676767676767676767676767676767676ah7676767676767676767676767676763o76767676767676767676767676767676767676767676767676767676767676767676767676768y76767676767676767676767676767676767676767676767676767676767676767676767676763o7676767676767676767676767676767676767676767676767676767676767676767676767676767676767636404u5o6i767676767676767676767676767676767676767676767676767676767676767676767637414v5p6j767676767676767676767676767676767676767676767676767676767676767636404u384236404u767676767676767676767676767676767676767676767676767676767676767637414v764337414v397676767676767676767676767676767676767676767676767676767676767638424w5q6k38424w5q6k76767676767676767676767676767676767676767676767676767676767639434x5r6l39434x5r6l767676767676767676767676767676767676767676767676767676767676767676767636404u5o6i767676767676767676767676767676767676767676767676767676767676767676767637414v5p6j767676767676767676767676767676767676767676767676767676767676767676767638424w5q6k76767676767676767676cw3zaf7676767676767676767676767676767676767676767639434x5r6l767676767676767676761c26ag7676767676767676767676767676767676767676767636404u5o6i76767676767676767676cw3zah7676767676767676767676767676767676767676767637414v5p6j767676767676767676767676767676767676767676767676767676767676767676767638424w5q6k767676767676767676767676767676767676767676767676767676767676767676767639434x5r6l767676404u76767676767676767676767676767676767676767676767676767676767636404u5o6i767676414v7676767676767676cw3zaf7676767676767676767676767676767676767637414v5p6j767676424w76767676767676761c26ag7676767676767676767676767676767676767638424w5q6k767676434x7676767676767676cw3zah7676767676767676767676767676767676767639434x5r6l767676767676767676767676767676767676767676767676767676767676767676767636404u5o6i767676364038424w5q36404u5o6i76767636767676767676767676767676767676767637414v5p6j76767637416i434x5r37414v5p6j76767676767676767676767676767676767676767638424w5q6k76767638424w5q6k7638424w5q6k00000000000076767676767676767676767676767639434x5r6l7676766j4336404u5o6i434x5r6l0000000000007676767676767676767676af76767676767676767676766k7637414v5p6j767676760000000000007676767676767676767676ag76767676767676767676766l7638424w5q6k767676390000000000007676767676767676767676ah76767676767676767676764u5o6i434x5r6l7676767636404u5o6i0076767676767676767676767676767676767676767676764v5p6j767676767676767637414v5p6j7676767676767676767676767676767676767676767676764w5q6k76767636404u5o6i38424w5q6k7676767676767676767676767676767676767676767676764x5r6l76767637414v5p6j39434x5r6l7676767676767676767676767676767676767676767676767636404u5o6i38424w5q6k76767676767676767676767676767676767676767676767676767676767637414v5p6j39434x5r6l7676767676767676767676767676767676767676767676767676767676\" xmlType=\"variable\" /><1 value=\"str__7676767676767676768x8x8x8x8x8x8x8x8x8x8x8x8x8x8x8x8x8x8x8x8x8x8x8x8x8x8x8x8x8x8x7676767676767676767676767676d31676760d7676767676767600000000000000000076007676d27676767676767676767676767676d11676760d7676767676767600000000000000d0d0d2007676d27676767676767676767676767676761676760d76767676767676000000007676000000d2007676d27676767676767676767676767676761676760d76767676767676000000007676000000d2007676d27676767676767676767676767676761676760d76767676767676767676007676000000d2007676d27676767676767676767676767676761676760d7676767676767676767600000000000000007676d27676767676767676767676767676761676760d7676767676767676767600000000d0d0d0d0d0d0d27676767676767676767676767676761676760d7676767676767676767676000000171717171717d27676767676767676767676767676761676760d767676767676be76767676000000al0000007676d27676767676767676767676767676761676760d7676767676767676767676000000am0000007676d27676767676767676767676767676768376760d7676767676767676767676000000an0000007676d2767676767676767676767676767676al76760d7676767676767676767676000076767676767676d2767676767676767676767676767676am76760d7676767676767676767676767676767676767676d2767676767676767676767676767676an76760d7676767676769o7676764i0c0c0c0c0c0c0c8276d27676767676767676767676767676767676760d76767676769o7676769s76000000000000001676d27676767676767676767676767676767676767917177676767676764i7676000000000000001676d2767676767676767676767676767676767676767676767676767676767676767676767636761676d276767676767676767676767676767676767676767676767676767676767676767676767d761676d27676767676767676767676767676767676767676767676767676767676765o6i4w5q6k5o6i1676d27676767676767676767676767676768276767676767676767676767676765p6j4x5r6l5p6j7d76d276767676767676767676767676767616767676767676767676767676767676767e767676767e76d2767676767676767676767676767676167676767676767676767676767676767676767676767676d2767676767676767676767676767676167676767676767676767676767676767676767676767676d2767676767676767676767676767676167676767676767676767676767676767676767676767d76d2767676767676767676767676171717837676767676767676767676767676767676767676767e76d2767676767676767676767676al7676767676767676767676767676767676767676767676767676d2767676767676767676767676am7676767676767676767676767676767676767676767676767676d2767676767676767676767676an7676767676767676767676767676767676767676767676767d76d27676767676767676767676760c0c0c827676767676767676767676767676767676767676767e76d2767676767676767676767676767676167676767676767676767676767676767676767676767676d2767676767676767676767676767676d0d0d0767676767676767676767676767676767676767676d27676767676767676767676767676767676d20d7676767676767676767676767676767676767d76d26i76767676767676767676767676767676d20d7676767676767676767676767676767676767e76d26j7d767676767676767676767676767676d20d76767676767676767676bdc77676767676767676d26k7e767676767676767676767676767676d20d7676767676767676767676bd7676767676767676d26l764u5o6i766k7ed27676767676767676d20d767676763s4m76767676bdc77676767676767d76d276764v5p6j7d6l76d276767d7676767676d20d7676767676767676767676bd7676767676767e76d276766k76767e7676d276767e7676767676d20d76767676767676767676bdc77676767676767676d2767d4x5r6l767676d27676767676760000d20d767676767676767676b9b9c3al76767676767676d2767e76767676767dd27676767676760000000d767676767676767676babac4am76767676767676d2767676767676767ed27676767676760000d20d767676767676767676bbbbc5an76767676767676d27676767676767676d27676767676767676d20d76767676767676767676bdc77676767676767676767676767d76767676d2767676767676767dd20d7676767676767676767676767676767676767676767676767e76767676d2767676767676767ed20d7676767676767676767676767676767676767676767676767676767676d276767d7676767676d20d7676767676767676767676767676767676767676767676767676767676d276767e7676767676d20d7676767676767676767676767676767676767676767676767676767d76d2d2d2d0d0d0d0d0d0d20d767676767676768x8x8x8x8x8x8x8x8x8x8x8x8x8x\" xmlType=\"variable\" /><0 value=\"str__0f19231923192319236o6o6o6o6o6o6o6o6o6o6o6o0f192319236o6o6o6o6o6o6o6o6o6o6o6o6o6o0f19231923192319236o6o6o6o6o6o6oa0a06o6o6o0f192319236o6o6o6o6o6o6o6o6o6o6o6o6o6o0f19231923192319236o6o6o6o6o6o6oa0a06o6o6o0f19707u7u7u8o9icwcxcxc26o6o6o6o6o6o6o0f19231923192319236o6o6o6o6o6o6oa0a06o6o6o0f19715e5e5e8p9jb9b9c32y6o6o6o6o6o6o6o0f19acb8b8b8b8b8b8b8b8b64m4m4m6oa0a06o6o6o0f193s4m4m6u8p9jbabac42y6o6o6o6o6o6o6o0f19aea6a6a6a6a6a6a6a6ae2x2x2x6oa0a06o6o6o0f19716u6u6u8p9jbbbbc52z6o6o6o6o6o6o6oacb8b8b8b8b8b64m4m4ma6ae0m1g2x6oa0a06o6o6o0f19716u6u6u8p9jcwcycyc26o6o6o6o6o6o6oaea6a6a6a6a6ae2x2x2xa6ae0n1h2x6oa0a06o6o6o0f19716u6u6u8p9jcw6dcyc26o6o6o6o6o6o6oaea6a6a6a6a6ae0m1g2xa6ae2x2x2x6oa0a06o6o6o0f19716u68688p9jcwcycyc26o6o6o6o6o6o6oaea6a6a6a6a6ae0n1h2xa6ae0m1g2x6oa0a06o6o6o0f19716u6uc88p9jb9b9c32ya0a0a0a0a0a0a0aea6a6a6a6a6ae2x2x2xa6ae0n1h2x6oa0a06o6o6o0f19716u5e5e8p9jbabac42ya0a0a0a0a0a0a0aea6a6a6a6a6ae0m1g2xa6ae2x2x2xa0a0a06o6o6o0f19716868688p9jbbbbc52za0a0a0a0a0a0a0aea6a6a6a6a6ae0n1h2xa6aeb9b9c3a0a0a06o6o6o0f19727w7w7w8q9kcwczczc2a0a0a0a0a0a0a0aea6a6a6a6a6ae2x2x2xa6aebabac4a0a0a06o6o6o0f19231923a0a0a0a0a0a0a0a0a0a0a0a0a0a0adb8b8b8b8b8b74m4m4ma6aebbbbc5a0a0a06o6o6o0f192319230g1a24236o6o6o6o6o6o6oa0a0a00f19aea6a6a6a6a6a6a6a6ae2x2x2xa0a0a06o6o6o0f1923190g1a2419236o6o6o6o6o6o6o6oa0a00f19adb8b8b8b8b8b8b8b8b74m4m4ma0a0a0a06o6o0f0f0f0g1a240f19236o6o6o6o6o6o6o6oa0a00f1923192319231923a0a0a0a0a0a0a0a0a0a0a0a0a02y2ya0a00f2319236o6o6o6o6o6o6o6oa0a00f1923192319231923a0a0a0a0a0a0a0a0a0a0a0a0a02y2ya0a00f2319236o6o6o6o6o6o6o6oa0a00f1923192319231923a0a0a0a0a0a0a0a0a0a0a0a0a02y2ya0a00f2319236o6o6o6o6o6o6o6oa0a00f19737x7x7x7x7x8r9l1c261c2630a0a0a0a0a0a00f0f0f0f0f0f2319236o6o6o6o6o6o6o6oa0a00f19745h5h5h5h5h8s9mcw3z0m1g2x6oa0a0a0a0a00f192319236o6o6o6o6o6o6o6o6o6o6o6oa0a00f19747v066b6b6b8s9mcw3z0n1h2x6oa0a0a0a0a00f192319236o6o6o6o6o6o6o6o6o6o6o6oa0a00f197406065g6a7z8t9n1c261c26306oa0a0a0a0a00f192319236o6o6o6o6o6o6o6o6o6o6o6oa0a00f197406068s9m1c260m1g2x6o6o6o6oa0a0a0a0a00f192319236o6o6o6o6o6o6o6o6o6o6o6oa0a00f197406068s9mcw3z0n1h2x6o6o6oa0a0a0a0a0a00f192319236o6o6o6o6o6o6o6o6o6o6o6oa0a00f197406068s9mcw3zb9b9c3a0a0a0a0a0a0a0a0a00f192319236o6o6o6o6o6o6o6o6o6o6o6oa0a00f19747v068s9m1c26babac4a0a0a0a0a0a0a0a0a00f192319236o6o6o6o6o6o6o6o6o6o6o6oa0a00f19747v068s9mcw3zbbbbc5a0a0a0a0a0a0a0a0a00f192319236o6o6o6o6o6o6o6o6o6o6o6oa0a00f0f7406068s9mcw3z0m1g2x6o6o6oa0a0a0a0a0a00f192319236o6o6o6o6o6o6o6o6o6o6o6oa0a06o6o7406068s9m1c260n1h2x6o6o6o6oa0a0a0a0a00f192319236o6o6o6o6o6o6o6o6o6o6o6oa0a06o6o7406065f697x8r9l1c261c26306oa0a0a0a0a00f192319236o6o6o6o6o6o6o6o6o6o6o6oa0a06o6o7406065h5h5h8s9mcw3zb9b9c36o6o6oa0a0a00f192319236o6o6o6o6o6o6o6o6o6o6o6oa0a06o6o747v060606068s9m1c26babac46o6o6oa0a0a00f19707u8o9i9i2x2x2x6o6o6o6o6o6o6oa0a06o6o746b6b6b6b6b8s9mcw3zbbbbc56o6o6oa0a0a00f19715e5e8p9j4t4t4t6o6o6o6o6o6o6oa0a06o6o757z7z7z7z7z8t9n1c261c26306o6o6oa0a0a00f19716u6u8p9j3y4s4t6o6o6o6o6o6o6oa0a06o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6oa0a0a00f19716u6u8p9j4t4t4t6o6o6o6o6o6o6oa0a06o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6oa0a0a00f19716u6u8p9j3y4s4t6o6o6o6o6o6o6oa0a06o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6oa0a0a00f19716u6u8p9j4t4t4t6o6o6o6o6o6o6oa0a06o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6oa0a0a00f19716u6u8p9j4t4t4ta0a0a0a0a0a0a0a0a06o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6oa0a0a00f19716u6u8p9j4t4t4ta0a0a0a0a0a0a0a0a06o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6oa0a0a00f19716u6u8p9j4t4t4ta0a0a0a0a0a0a0a0a06o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6oa0a0a00f197168688p9j4t4t4t6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6oa0a0a00f19727w7w8q9k2x2x2x6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6oa0a0a00f192319236o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6oa0a0a00f192319236o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6oa0a0a00f192319236o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6oa0a0a00f192319236o6o6o6o6o6o6o6o6o6o6o6o6o6o\" xmlType=\"variable\" /></layers></map></level></data>";
data_xml = new XML(data_txt);
onLoad(data_xml);
Symbol 313 MovieClip [levels\dogs_pet\210.lvl] Frame 1
data_txt = "<data xmlType=\"object\"><level name=\"str_levels\\dogs_pet\\210.lvl\" xmlType=\"object\"><sprites xmlType=\"array\"><5 name=\"str_EVENTS\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_1\" frame=\"num_1\" directions=\"num_1\" direction=\"num_0\" charset=\"str_charset\\invisible.png\" xmlType=\"object\" /><position y=\"num_552\" x=\"num_200\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><hitbox height=\"num_16\" width=\"num_16\" xmlType=\"object\" /><copySprite id=\"str_\" xmlType=\"object\"><data xmlType=\"object\" /></copySprite><scripts xmlType=\"object\"><auto xmlType=\"array\"><44 relativeLevel=\"str_220.lvl\" level=\"str_levels\\dogs_pet\\220.lvl\" type=\"str_teleport\" xmlType=\"object\"><position y=\"num_0\" x=\"num_0\" xmlType=\"object\" /><transOut mask=\"str_\" easing=\"str_easeLinear\" seconds=\"num_1\" effect=\"str_fadeBlack\" xmlType=\"object\" /><transIn mask=\"str_\" easing=\"str_easeLinear\" seconds=\"num_0.5\" effect=\"str_fade\" xmlType=\"object\" /></44><43 message=\"str_\" type=\"str_comment\" xmlType=\"object\" /><42 value=\"num_1\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><41 value=\"str_this.waitPromise\" mode=\"str_promise\" type=\"str_wait\" xmlType=\"object\" /><40 update=\"bol_false\" type=\"str_setVariable\" reference=\"bol_true\" xmlType=\"object\"><condition xmlType=\"array\"><2 value=\"str_[SPRITES.door_1.close()]\" xmlType=\"variable\" /><1 value=\"str_=\" xmlType=\"variable\" /><0 value=\"str_this.waitPromise\" xmlType=\"variable\" /></condition></40><39 value=\"str_newGirl\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><38 type=\"str_move\" sprite=\"str_newGirl\" xmlType=\"array\"><1 walkSpeed=\"num_0.13\" duration=\"num_0.39\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_-48\" x=\"num_0\" xmlType=\"object\" /></1><0 type=\"str_appearance\" xmlType=\"object\"><value isAnimating=\"bol_false\" delay=\"num_2\" animDirection=\"num_1\" animType=\"str_loop\" pose=\"num_0\" rows=\"num_1\" columns=\"num_1\" frame=\"num_0\" frames=\"num_6\" direction=\"num_0\" directions=\"num_4\" charset=\"str_charset\\ridingHood\\dogCostume\\crawl.png\" xmlType=\"object\" /></0></38><37 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_160\" text=\"str_[newGirl]: \\.Woah...\\2 He REALLY likes you!\" type=\"str_textbox\" xmlType=\"object\" /></37><36 value=\"str_newGirl\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><35 type=\"str_move\" sprite=\"str_newGirl\" xmlType=\"array\"><4 type=\"str_appearance\" xmlType=\"object\"><value isAnimating=\"bol_false\" delay=\"num_2\" animDirection=\"num_1\" animType=\"str_yoyo\" pose=\"num_0\" rows=\"num_1\" columns=\"num_1\" frame=\"num_0\" frames=\"num_1\" direction=\"num_0\" directions=\"num_4\" charset=\"str_charset\\ridingHood\\dogCostume\\bunnySit.png\" xmlType=\"object\" /></4><3 walkSpeed=\"num_0.13\" duration=\"num_0.13\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_0\" x=\"num_16\" xmlType=\"object\" /></3><2 type=\"str_appearance\" xmlType=\"object\"><value isAnimating=\"bol_false\" delay=\"num_2\" animDirection=\"num_1\" animType=\"str_loop\" pose=\"num_0\" rows=\"num_1\" columns=\"num_1\" frame=\"num_0\" frames=\"num_6\" direction=\"num_1\" directions=\"num_4\" charset=\"str_charset\\ridingHood\\dogCostume\\crawl.png\" xmlType=\"object\" /></2><1 value=\"num_0.5\" mode=\"str_time\" type=\"str_moveWait\" xmlType=\"object\" /><0 value=\"str_up\" type=\"str_direction\" xmlType=\"object\" /></35><34 value=\"num_0.5\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><33 name=\"str_moaning\" volume=\"num_100\" loop=\"bol_false\" file=\"str_sound\\sexy\\orgasm05_older.mp3\" type=\"str_sound\" xmlType=\"object\" /><32 value=\"str_bigDog\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><31 type=\"str_move\" sprite=\"str_bigDog\" xmlType=\"array\"><3 duration=\"num_0\" autoAnim=\"bol_false\" autoDirection=\"bol_false\" type=\"str_moveAbsolute\" xmlType=\"object\"><position y=\"num_16\" x=\"num_8\" xmlType=\"object\" /></3><2 walkSpeed=\"num_0.13\" duration=\"num_0.26\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_-32\" x=\"num_0\" xmlType=\"object\" /></2><1 walkSpeed=\"num_0.13\" duration=\"num_0.662872536767062\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_-80\" x=\"num_-16\" xmlType=\"object\" /></1><0 type=\"str_appearance\" xmlType=\"object\"><value isAnimating=\"bol_false\" delay=\"num_2\" animDirection=\"num_1\" animType=\"str_loop\" pose=\"num_0\" rows=\"num_1\" columns=\"num_1\" frame=\"num_0\" frames=\"num_3\" direction=\"num_0\" directions=\"num_4\" charset=\"str_charset\\som_wolf\\walk.png\" xmlType=\"object\" /></0></31><30 value=\"num_0.1\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><29 type=\"str_move\" sprite=\"str_mom\" xmlType=\"array\"><1 duration=\"num_0\" autoAnim=\"bol_false\" autoDirection=\"bol_false\" type=\"str_moveAbsolute\" xmlType=\"object\"><position y=\"num_16\" x=\"num_8\" xmlType=\"object\" /></1><0 walkSpeed=\"num_0.13\" duration=\"num_0.21125\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_-26\" x=\"num_0\" xmlType=\"object\" /></0></29><28 value=\"str_mom\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><27 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_Mom: \\.I\\.-It's a wolf!\" type=\"str_textbox\" xmlType=\"object\" /></27><26 name=\"str_\" volume=\"num_100\" loop=\"bol_false\" file=\"str_sound\\sexy\\gasp06.mp3\" type=\"str_sound\" xmlType=\"object\" /><25 type=\"str_move\" sprite=\"str_mom\" xmlType=\"array\"><0 walkSpeed=\"num_0.52\" duration=\"num_0.13\" autoAnim=\"bol_true\" autoDirection=\"bol_false\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_-4\" x=\"num_0\" xmlType=\"object\" /></0></25><24 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_[newGirl]: That's Master [dog]!\\!\r I'm his pet.\" type=\"str_textbox\" xmlType=\"object\" /></24><23 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_comment\" message=\"str_* text: [newGirl]: That's Master [dog]!\\!\r I'm his pet.\\2\r He's gonna live with us from now on.\" commentedType=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_[newGirl]: That's Master [dog]!\\!\r I'm his pet.\\2\r He's gonna live with us from now on.\" type=\"str_textbox\" xmlType=\"object\" /></23><22 value=\"str_newGirl\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><21 type=\"str_move\" sprite=\"str_newGirl\" xmlType=\"array\"><4 value=\"str_bigDog\" type=\"str_lookAt\" xmlType=\"object\" /><3 type=\"str_appearance\" xmlType=\"object\"><value isAnimating=\"bol_false\" delay=\"num_2\" animDirection=\"num_1\" animType=\"str_yoyo\" pose=\"num_0\" rows=\"num_1\" columns=\"num_1\" frame=\"num_1\" frames=\"num_1\" direction=\"num_3\" directions=\"num_4\" charset=\"str_charset\\ridingHood\\dogCostume\\bunnySit.png\" xmlType=\"object\" /></3><2 walkSpeed=\"num_0.26\" duration=\"num_0.367695526217005\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_16\" x=\"num_-16\" xmlType=\"object\" /></2><1 value=\"num_0.5\" mode=\"str_time\" type=\"str_moveWait\" xmlType=\"object\" /><0 value=\"str_bigDog\" type=\"str_lookAt\" xmlType=\"object\" /></21><20 value=\"num_0.1\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><19 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_Mom: \\.Hm?\\2 What's that?\" type=\"str_textbox\" xmlType=\"object\" /></19><18 value=\"str_bigDog\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><17 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_160\" text=\"str_Mom: Good girl!\" type=\"str_textbox\" xmlType=\"object\" /></17><16 value=\"num_0.5\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><15 type=\"str_move\" sprite=\"str_newGirl\" xmlType=\"array\"><0 type=\"str_appearance\" xmlType=\"object\"><value isAnimating=\"bol_false\" delay=\"num_2\" animDirection=\"num_1\" animType=\"str_yoyo\" pose=\"num_0\" rows=\"num_1\" columns=\"num_1\" frame=\"num_1\" frames=\"num_3\" direction=\"num_0\" directions=\"num_4\" charset=\"str_charset\\ridingHood\\dogCostume\\walk.png\" xmlType=\"object\" /></0></15><14 value=\"num_0.1\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><13 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" typingSound=\"str_\" background=\"str_\" face=\"str_\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_160\" text=\"str_Mom: \\.Hello my little\\2 puppy\\.-pumper.\\2\r Did you make more money for Mommy?\" type=\"str_textbox\" xmlType=\"object\" /></13><12 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_comment\" typingSound=\"str_\" background=\"str_\" face=\"str_\" message=\"str_* text: Mom: Hello my delightful little doggie-toy.\\2\r Did you make more money for Mommy?\" commentedType=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_160\" text=\"str_Mom: Hello my delightful little doggie-toy.\\2\r Did you make more money for Mommy?\" type=\"str_textbox\" xmlType=\"object\" /></12><11 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_comment\" message=\"str_* text: Mom: Hello my little sexy salary slut.\\2\r Did you make more money?\" commentedType=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_160\" text=\"str_Mom: Hello my little sexy salary slut.\\2\r Did you make more money?\" type=\"str_textbox\" xmlType=\"object\" /></11><10 message=\"str_my little...\rfrisky fortune-finder\rwealthy wolf-wanker\rsexy salary slut\rfun fido fundraiser\rbankroll bitch\rbig-bucks bitch\rgolden bitch\rbitch with the big bucks\rclever little cash critter\rdarling dog diver\rpooch plunderer\rpayday pet\rmagnificent mutt\rfrisky asset hound\rpuppy-pounder\rpuppy-pump\" type=\"str_comment\" xmlType=\"object\" /><9 type=\"str_move\" sprite=\"str_bigDog\" xmlType=\"array\"><4 type=\"str_appearance\" xmlType=\"object\"><value isAnimating=\"bol_false\" delay=\"num_2\" animDirection=\"num_1\" animType=\"str_yoyo\" pose=\"num_0\" rows=\"num_1\" columns=\"num_1\" frame=\"num_0\" frames=\"num_1\" direction=\"num_0\" directions=\"num_4\" charset=\"str_charset\\som_wolf\\stand.png\" xmlType=\"object\" /></4><3 walkSpeed=\"num_0.13\" duration=\"num_0.765821658416632\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_28\" x=\"num_-90\" xmlType=\"object\" /></3><2 type=\"str_appearance\" xmlType=\"object\"><value isAnimating=\"bol_false\" delay=\"num_2\" animDirection=\"num_1\" animType=\"str_loop\" pose=\"num_0\" rows=\"num_1\" columns=\"num_1\" frame=\"num_0\" frames=\"num_3\" direction=\"num_3\" directions=\"num_4\" charset=\"str_charset\\som_wolf\\walk.png\" xmlType=\"object\" /></2><1 value=\"num_1\" mode=\"str_time\" type=\"str_moveWait\" xmlType=\"object\" /><0 walkSpeed=\"num_0.26\" duration=\"num_0.363361046343716\" autoAnim=\"bol_false\" autoDirection=\"bol_false\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_4\" x=\"num_-22\" xmlType=\"object\" /></0></9><8 value=\"num_0.5\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><7 value=\"str_this.waitPromise\" mode=\"str_promise\" type=\"str_wait\" xmlType=\"object\" /><6 type=\"str_move\" sprite=\"str_mom\" xmlType=\"array\"><0 duration=\"num_0\" autoAnim=\"bol_false\" autoDirection=\"bol_false\" type=\"str_moveAbsolute\" xmlType=\"object\"><position y=\"num_504\" x=\"num_168\" xmlType=\"object\" /></0></6><5 value=\"num_0.034\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><4 update=\"bol_false\" type=\"str_setVariable\" reference=\"bol_true\" xmlType=\"object\"><condition xmlType=\"array\"><2 value=\"str_[SPRITES.door_1.open()]\" xmlType=\"variable\" /><1 value=\"str_=\" xmlType=\"variable\" /><0 value=\"str_this.waitPromise\" xmlType=\"variable\" /></condition></4><3 value=\"num_0.5\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><2 value=\"str_newGirl\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><1 type=\"str_move\" sprite=\"str_newGirl\" xmlType=\"array\"><7 type=\"str_appearance\" xmlType=\"object\"><value isAnimating=\"bol_true\" delay=\"num_2\" animDirection=\"num_1\" animType=\"str_yoyo\" pose=\"num_0\" rows=\"num_1\" columns=\"num_1\" frame=\"num_0\" frames=\"num_1\" direction=\"num_0\" directions=\"num_4\" charset=\"str_charset\\ridingHood\\dogCostume\\bunnySit.png\" xmlType=\"object\" /></7><6 walkSpeed=\"num_0.26\" duration=\"num_0.52\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_-32\" x=\"num_0\" xmlType=\"object\" /></6><5 type=\"str_appearance\" xmlType=\"object\"><value isAnimating=\"bol_false\" delay=\"num_2\" animDirection=\"num_1\" animType=\"str_loop\" pose=\"num_0\" rows=\"num_1\" columns=\"num_1\" frame=\"num_0\" frames=\"num_6\" direction=\"num_0\" directions=\"num_4\" charset=\"str_charset\\ridingHood\\dogCostume\\crawl.png\" xmlType=\"object\" /></5><4 value=\"num_0.5\" mode=\"str_time\" type=\"str_moveWait\" xmlType=\"object\" /><3 type=\"str_appearance\" xmlType=\"object\"><value isAnimating=\"bol_true\" delay=\"num_2\" animDirection=\"num_1\" animType=\"str_yoyo\" pose=\"num_0\" rows=\"num_1\" columns=\"num_1\" frame=\"num_0\" frames=\"num_1\" direction=\"num_0\" directions=\"num_4\" charset=\"str_charset\\ridingHood\\dogCostume\\bunnySit.png\" xmlType=\"object\" /></3><2 walkSpeed=\"num_0.26\" duration=\"num_0.822192191643779\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_16\" x=\"num_-48\" xmlType=\"object\" /></2><1 walkSpeed=\"num_0.26\" duration=\"num_1.56\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_96\" x=\"num_0\" xmlType=\"object\" /></1><0 type=\"str_appearance\" xmlType=\"object\"><value isAnimating=\"bol_false\" delay=\"num_2\" animDirection=\"num_1\" animType=\"str_loop\" pose=\"num_0\" rows=\"num_1\" columns=\"num_1\" frame=\"num_0\" frames=\"num_6\" direction=\"num_3\" directions=\"num_4\" charset=\"str_charset\\ridingHood\\dogCostume\\crawl.png\" xmlType=\"object\" /></0></1><0 type=\"str_move\" sprite=\"str_player\" xmlType=\"array\"><0 duration=\"num_0\" autoAnim=\"bol_false\" autoDirection=\"bol_false\" type=\"str_moveAbsolute\" xmlType=\"object\"><position y=\"num_560\" x=\"num_200\" xmlType=\"object\" /></0></0></auto></scripts><initialAppearance isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_1\" frame=\"num_1\" directions=\"num_1\" direction=\"num_0\" charset=\"str_charset\\invisible.png\" xmlType=\"object\" /></data></5><4 name=\"str_mom\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite charset=\"str_charset\\woman2\\dressed\\walk.png\" directions=\"num_4\" frames=\"num_3\" columns=\"num_1\" rows=\"num_1\" animType=\"str_yoyo\" animDirection=\"num_1\" frame=\"num_1\" direction=\"num_2\" pose=\"num_0\" isAnimating=\"bol_false\" xmlType=\"object\" /><position x=\"num_72\" y=\"num_312\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><hitbox height=\"num_16\" width=\"num_16\" xmlType=\"object\" /><copySprite id=\"str_\" xmlType=\"object\"><data xmlType=\"object\" /></copySprite><scripts xmlType=\"object\" /><initialAppearance charset=\"str_charset\\woman2\\dressed\\walk.png\" directions=\"num_4\" frames=\"num_3\" columns=\"num_1\" rows=\"num_1\" animType=\"str_yoyo\" animDirection=\"num_1\" frame=\"num_1\" direction=\"num_2\" pose=\"num_0\" isAnimating=\"bol_false\" xmlType=\"object\" /></data></4><3 name=\"str_EVENTS_v1\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_1\" frame=\"num_1\" directions=\"num_1\" direction=\"num_0\" charset=\"str_charset\\invisible.png\" xmlType=\"object\" /><position x=\"num_200\" y=\"num_552\" xmlType=\"object\" /><flags xmlType=\"array\"><0 value=\"str_skip\" xmlType=\"variable\" /></flags><data xmlType=\"object\"><hitbox height=\"num_16\" width=\"num_16\" xmlType=\"object\" /><copySprite id=\"str_\" xmlType=\"object\"><data xmlType=\"object\" /></copySprite><scripts xmlType=\"object\"><auto xmlType=\"array\"><43 relativeLevel=\"str_220.lvl\" level=\"str_levels\\dogs_pet\\220.lvl\" type=\"str_teleport\" xmlType=\"object\"><position y=\"num_0\" x=\"num_0\" xmlType=\"object\" /><transOut mask=\"str_\" easing=\"str_easeLinear\" seconds=\"num_1\" effect=\"str_fadeBlack\" xmlType=\"object\" /><transIn mask=\"str_\" easing=\"str_easeLinear\" seconds=\"num_0.5\" effect=\"str_fade\" xmlType=\"object\" /></43><42 message=\"str_\" type=\"str_comment\" xmlType=\"object\" /><41 value=\"num_1\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><40 value=\"str_this.waitPromise\" mode=\"str_promise\" type=\"str_wait\" xmlType=\"object\" /><39 update=\"bol_false\" type=\"str_setVariable\" reference=\"bol_true\" xmlType=\"object\"><condition xmlType=\"array\"><2 value=\"str_[SPRITES.door_1.close()]\" xmlType=\"variable\" /><1 value=\"str_=\" xmlType=\"variable\" /><0 value=\"str_this.waitPromise\" xmlType=\"variable\" /></condition></39><38 value=\"str_newGirl\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><37 type=\"str_move\" sprite=\"str_newGirl\" xmlType=\"array\"><0 walkSpeed=\"num_0.13\" duration=\"num_0.39\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_-48\" x=\"num_0\" xmlType=\"object\" /></0></37><36 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_160\" text=\"str_[newGirl]: \\.Woah...\\2 He REALLY likes you!\" type=\"str_textbox\" xmlType=\"object\" /></36><35 value=\"str_newGirl\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><34 type=\"str_move\" sprite=\"str_newGirl\" xmlType=\"array\"><3 value=\"str_up\" type=\"str_direction\" xmlType=\"object\" /><2 walkSpeed=\"num_0.13\" duration=\"num_0.13\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_0\" x=\"num_16\" xmlType=\"object\" /></2><1 value=\"num_0.5\" mode=\"str_time\" type=\"str_moveWait\" xmlType=\"object\" /><0 value=\"str_up\" type=\"str_direction\" xmlType=\"object\" /></34><33 value=\"num_0.5\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><32 name=\"str_moaning\" volume=\"num_100\" loop=\"bol_false\" file=\"str_sound\\sexy\\orgasm05_older.mp3\" type=\"str_sound\" xmlType=\"object\" /><31 value=\"str_bigDog\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><30 type=\"str_move\" sprite=\"str_bigDog\" xmlType=\"array\"><3 duration=\"num_0\" autoAnim=\"bol_false\" autoDirection=\"bol_false\" type=\"str_moveAbsolute\" xmlType=\"object\"><position y=\"num_16\" x=\"num_8\" xmlType=\"object\" /></3><2 walkSpeed=\"num_0.13\" duration=\"num_0.26\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_-32\" x=\"num_0\" xmlType=\"object\" /></2><1 walkSpeed=\"num_0.13\" duration=\"num_0.662872536767062\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_-80\" x=\"num_-16\" xmlType=\"object\" /></1><0 type=\"str_appearance\" xmlType=\"object\"><value isAnimating=\"bol_false\" delay=\"num_2\" animDirection=\"num_1\" animType=\"str_loop\" pose=\"num_0\" rows=\"num_1\" columns=\"num_1\" frame=\"num_0\" frames=\"num_3\" direction=\"num_0\" directions=\"num_4\" charset=\"str_charset\\som_wolf\\walk.png\" xmlType=\"object\" /></0></30><29 value=\"num_0.1\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><28 type=\"str_move\" sprite=\"str_mom\" xmlType=\"array\"><1 duration=\"num_0\" autoAnim=\"bol_false\" autoDirection=\"bol_false\" type=\"str_moveAbsolute\" xmlType=\"object\"><position y=\"num_16\" x=\"num_8\" xmlType=\"object\" /></1><0 walkSpeed=\"num_0.13\" duration=\"num_0.21125\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_-26\" x=\"num_0\" xmlType=\"object\" /></0></28><27 value=\"str_mom\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><26 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_Mom: \\.I\\.-It's a wolf!\" type=\"str_textbox\" xmlType=\"object\" /></26><25 type=\"str_move\" sprite=\"str_mom\" xmlType=\"array\"><0 walkSpeed=\"num_0.52\" duration=\"num_0.13\" autoAnim=\"bol_true\" autoDirection=\"bol_false\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_-4\" x=\"num_0\" xmlType=\"object\" /></0></25><24 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_[newGirl]: That's Master [dog]!\\!\r I'm his pet.\" type=\"str_textbox\" xmlType=\"object\" /></24><23 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_comment\" message=\"str_* text: [newGirl]: That's Master [dog]!\\!\r I'm his pet.\\2\r He's gonna live with us from now on.\" commentedType=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_[newGirl]: That's Master [dog]!\\!\r I'm his pet.\\2\r He's gonna live with us from now on.\" type=\"str_textbox\" xmlType=\"object\" /></23><22 value=\"str_newGirl\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><21 type=\"str_move\" sprite=\"str_newGirl\" xmlType=\"array\"><3 value=\"str_bigDog\" type=\"str_lookAt\" xmlType=\"object\" /><2 walkSpeed=\"num_0.26\" duration=\"num_0.367695526217005\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_16\" x=\"num_-16\" xmlType=\"object\" /></2><1 value=\"num_0.5\" mode=\"str_time\" type=\"str_moveWait\" xmlType=\"object\" /><0 value=\"str_bigDog\" type=\"str_lookAt\" xmlType=\"object\" /></21><20 value=\"num_0.1\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><19 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_Mom: \\.Hm?\\2 What's that?\" type=\"str_textbox\" xmlType=\"object\" /></19><18 value=\"str_bigDog\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><17 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_160\" text=\"str_Mom: Good girl!\" type=\"str_textbox\" xmlType=\"object\" /></17><16 value=\"num_0.5\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><15 type=\"str_move\" sprite=\"str_newGirl\" xmlType=\"array\"><0 type=\"str_appearance\" xmlType=\"object\"><value isAnimating=\"bol_false\" delay=\"num_2\" animDirection=\"num_1\" animType=\"str_yoyo\" pose=\"num_0\" rows=\"num_1\" columns=\"num_1\" frame=\"num_1\" frames=\"num_3\" direction=\"num_0\" directions=\"num_4\" charset=\"str_charset\\ridingHood\\dogCostume\\walk.png\" xmlType=\"object\" /></0></15><14 value=\"num_0.1\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><13 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" typingSound=\"str_\" background=\"str_\" face=\"str_\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_160\" text=\"str_Mom: Hello my little puppy-pumper.\\2\r Did you make more money for Mommy?\" type=\"str_textbox\" xmlType=\"object\" /></13><12 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_comment\" typingSound=\"str_\" background=\"str_\" face=\"str_\" message=\"str_* text: Mom: Hello my delightful little doggie-toy.\\2\r Did you make more money for Mommy?\" commentedType=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_160\" text=\"str_Mom: Hello my delightful little doggie-toy.\\2\r Did you make more money for Mommy?\" type=\"str_textbox\" xmlType=\"object\" /></12><11 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_comment\" message=\"str_* text: Mom: Hello my little sexy salary slut.\\2\r Did you make more money?\" commentedType=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_160\" text=\"str_Mom: Hello my little sexy salary slut.\\2\r Did you make more money?\" type=\"str_textbox\" xmlType=\"object\" /></11><10 message=\"str_my little...\rfrisky fortune-finder\rwealthy wolf-wanker\rsexy salary slut\rfun fido fundraiser\rbankroll bitch\rbig-bucks bitch\rgolden bitch\rbitch with the big bucks\rclever little cash critter\rdarling dog diver\rpooch plunderer\rpayday pet\rmagnificent mutt\rfrisky asset hound\rpuppy-pounder\rpuppy-pump\" type=\"str_comment\" xmlType=\"object\" /><9 type=\"str_move\" sprite=\"str_bigDog\" xmlType=\"array\"><4 type=\"str_appearance\" xmlType=\"object\"><value isAnimating=\"bol_false\" delay=\"num_2\" animDirection=\"num_1\" animType=\"str_yoyo\" pose=\"num_0\" rows=\"num_1\" columns=\"num_1\" frame=\"num_0\" frames=\"num_1\" direction=\"num_0\" directions=\"num_4\" charset=\"str_charset\\som_wolf\\stand.png\" xmlType=\"object\" /></4><3 walkSpeed=\"num_0.13\" duration=\"num_0.765821658416632\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_28\" x=\"num_-90\" xmlType=\"object\" /></3><2 type=\"str_appearance\" xmlType=\"object\"><value isAnimating=\"bol_false\" delay=\"num_2\" animDirection=\"num_1\" animType=\"str_loop\" pose=\"num_0\" rows=\"num_1\" columns=\"num_1\" frame=\"num_0\" frames=\"num_3\" direction=\"num_3\" directions=\"num_4\" charset=\"str_charset\\som_wolf\\walk.png\" xmlType=\"object\" /></2><1 value=\"num_1\" mode=\"str_time\" type=\"str_moveWait\" xmlType=\"object\" /><0 walkSpeed=\"num_0.26\" duration=\"num_0.363361046343716\" autoAnim=\"bol_false\" autoDirection=\"bol_false\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_4\" x=\"num_-22\" xmlType=\"object\" /></0></9><8 value=\"num_0.5\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><7 value=\"str_this.waitPromise\" mode=\"str_promise\" type=\"str_wait\" xmlType=\"object\" /><6 type=\"str_move\" sprite=\"str_mom\" xmlType=\"array\"><0 duration=\"num_0\" autoAnim=\"bol_false\" autoDirection=\"bol_false\" type=\"str_moveAbsolute\" xmlType=\"object\"><position y=\"num_504\" x=\"num_168\" xmlType=\"object\" /></0></6><5 value=\"num_0.034\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><4 update=\"bol_false\" type=\"str_setVariable\" reference=\"bol_true\" xmlType=\"object\"><condition xmlType=\"array\"><2 value=\"str_[SPRITES.door_1.open()]\" xmlType=\"variable\" /><1 value=\"str_=\" xmlType=\"variable\" /><0 value=\"str_this.waitPromise\" xmlType=\"variable\" /></condition></4><3 value=\"num_0.5\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><2 value=\"str_newGirl\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><1 type=\"str_move\" sprite=\"str_newGirl\" xmlType=\"array\"><7 type=\"str_appearance\" xmlType=\"object\"><value isAnimating=\"bol_true\" delay=\"num_2\" animDirection=\"num_1\" animType=\"str_yoyo\" pose=\"num_0\" rows=\"num_1\" columns=\"num_1\" frame=\"num_0\" frames=\"num_1\" direction=\"num_0\" directions=\"num_4\" charset=\"str_charset\\ridingHood\\dogCostume\\bunnySit.png\" xmlType=\"object\" /></7><6 walkSpeed=\"num_0.26\" duration=\"num_0.52\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_-32\" x=\"num_0\" xmlType=\"object\" /></6><5 type=\"str_appearance\" xmlType=\"object\"><value isAnimating=\"bol_false\" delay=\"num_2\" animDirection=\"num_1\" animType=\"str_loop\" pose=\"num_0\" rows=\"num_1\" columns=\"num_1\" frame=\"num_0\" frames=\"num_6\" direction=\"num_0\" directions=\"num_4\" charset=\"str_charset\\ridingHood\\dogCostume\\crawl.png\" xmlType=\"object\" /></5><4 value=\"num_";
data_txt = data_txt + "0.5\" mode=\"str_time\" type=\"str_moveWait\" xmlType=\"object\" /><3 type=\"str_appearance\" xmlType=\"object\"><value isAnimating=\"bol_true\" delay=\"num_2\" animDirection=\"num_1\" animType=\"str_yoyo\" pose=\"num_0\" rows=\"num_1\" columns=\"num_1\" frame=\"num_0\" frames=\"num_1\" direction=\"num_0\" directions=\"num_4\" charset=\"str_charset\\ridingHood\\dogCostume\\bunnySit.png\" xmlType=\"object\" /></3><2 walkSpeed=\"num_0.26\" duration=\"num_0.822192191643779\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_16\" x=\"num_-48\" xmlType=\"object\" /></2><1 walkSpeed=\"num_0.26\" duration=\"num_1.56\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_96\" x=\"num_0\" xmlType=\"object\" /></1><0 type=\"str_appearance\" xmlType=\"object\"><value isAnimating=\"bol_false\" delay=\"num_2\" animDirection=\"num_1\" animType=\"str_loop\" pose=\"num_0\" rows=\"num_1\" columns=\"num_1\" frame=\"num_0\" frames=\"num_6\" direction=\"num_3\" directions=\"num_4\" charset=\"str_charset\\ridingHood\\dogCostume\\crawl.png\" xmlType=\"object\" /></0></1><0 type=\"str_move\" sprite=\"str_player\" xmlType=\"array\"><0 duration=\"num_0\" autoAnim=\"bol_false\" autoDirection=\"bol_false\" type=\"str_moveAbsolute\" xmlType=\"object\"><position y=\"num_560\" x=\"num_200\" xmlType=\"object\" /></0></0></auto></scripts><initialAppearance isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_1\" frame=\"num_1\" directions=\"num_1\" direction=\"num_0\" charset=\"str_charset\\invisible.png\" xmlType=\"object\" /></data></3><2 name=\"str_door_1\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite charset=\"str_charset\\objects\\doors\\iog1.png\" directions=\"num_1\" frames=\"num_3\" columns=\"num_1\" rows=\"num_1\" animType=\"str_once\" animDirection=\"num_1\" delay=\"num_2\" pose=\"num_0\" direction=\"num_0\" frame=\"num_0\" xmlType=\"object\" /><position y=\"num_497\" x=\"num_168\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><hitbox height=\"num_16\" width=\"num_16\" xmlType=\"object\" /><copySprite id=\"str_door\" xmlType=\"object\"><data xmlType=\"object\" /></copySprite><scripts xmlType=\"object\" /><initialAppearance charset=\"str_charset\\objects\\doors\\iog1.png\" directions=\"num_1\" frames=\"num_3\" columns=\"num_1\" rows=\"num_1\" animType=\"str_once\" animDirection=\"num_1\" delay=\"num_2\" pose=\"num_0\" direction=\"num_0\" frame=\"num_0\" xmlType=\"object\" /></data></2><1 name=\"str_bigDog\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_1\" frame=\"num_0\" directions=\"num_4\" direction=\"num_3\" charset=\"str_charset\\som_wolf\\stand.png\" xmlType=\"object\" /><position y=\"num_536\" x=\"num_296\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><hitbox height=\"num_16\" width=\"num_16\" xmlType=\"object\" /><copySprite id=\"str_\" xmlType=\"object\"><data xmlType=\"object\" /></copySprite><scripts xmlType=\"object\" /><initialAppearance isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_1\" frame=\"num_0\" directions=\"num_4\" direction=\"num_3\" charset=\"str_charset\\som_wolf\\stand.png\" xmlType=\"object\" /></data></1><0 name=\"str_newGirl\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite isAnimating=\"bol_false\" delay=\"num_2\" animDirection=\"num_1\" animType=\"str_loop\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_6\" frame=\"num_0\" directions=\"num_4\" direction=\"num_3\" charset=\"str_charset\\ridingHood\\dogCostume\\crawl.png\" xmlType=\"object\" /><position y=\"num_440\" x=\"num_216\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><hitbox height=\"num_16\" width=\"num_16\" xmlType=\"object\" /><copySprite id=\"str_\" xmlType=\"object\"><data xmlType=\"object\" /></copySprite><scripts xmlType=\"object\" /><initialAppearance isAnimating=\"bol_false\" delay=\"num_2\" animDirection=\"num_1\" animType=\"str_loop\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_6\" frame=\"num_0\" directions=\"num_4\" direction=\"num_3\" charset=\"str_charset\\ridingHood\\dogCostume\\crawl.png\" xmlType=\"object\" /></data></0></sprites><map format=\"num_2\" width=\"num_48\" height=\"num_40\" chipset=\"str_chipset\\iog_capeTown.png\" collision=\"str__111111111111111111111111111111111111111111111111100000100000011111000000000000011111111110000010000001111111111111110001111111111000000000000111111111111001000111111111111111100000011111111011100100011110000000011110000001111111111110010001111111111101111000000111111111111000000110000011110111100000011111111111111111111000001111011110000001111111111110000001100000111101111000000111111111111000000110000011110111100000011111111011100000011000001111011110000001111111111110000001100000111101111000000111111111111000000110000011110100000000011111000000000000011111111111011110000001111100110000000001111000000001111000000111100111000000000111111111111111100000011100111100000000011111111110000000000000000011110000000001111111111000000000000000001111000001000111111111100000000000000000111111111000011111111111111110000001111111110011110101111111111111111000000111110000001000010111110111111111100000011111000000000000011110011111111110000001111100000000000001111001111111000000000111110000000000010111100111111100000000011111000000000001011110011111110000000001111100000000000001111101111000000000000111110000000000000111110111111100000000011111000000000001011110011111110000000001111100000000000101001001111111000000000111110000000000000100100111111111111100011111000000000000010010011111111110010001111100000000000101001100001111000001000111111111100000010101111111111111100100011111111110000000010111111111111110010001110011111000000001000000011000000001000111101111100000010100000100100100000100011100111110000001010000010010010000010001110011111000000001010000001000000001000111001111100000000101000001100000000000011100111110000000010000000110000000010001110011111000000001000000001000000001000111111111100000000000010000100000001100011111111110000000000001000010000000110001111100000000000000000000001001000001000111110000000000000000000000100100000100011111000000000000000000001011111111110001111111111111111111\" xmlType=\"object\"><layers xmlType=\"array\"><2 value=\"str__7676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676af767676767676767676767676767676767676767676767676767676767676767676767676767676ag767676767676767676767676767676767676767676767676767676767676767676767676767676ah767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676768p9jaf767676767676767676767676767676767676767676767676767676767676767676767676768p9jag767676767676767676767676767676767676767676767676767676767676767676767676768p9jah76767676767676767676767676767676767676767676af767676767676767676767676767676767676767676767676767676767676767676767676767676ag767676767676767676767676767676767676767676767676767676767676767676767676767676ah7676767676767676767676767676763o76767676767676767676767676767676767676767676767676767676767676767676767676768y76767676767676767676767676767676767676767676767676767676767676767676767676763o7676767676767676767676767676767676767676767676767676767676767676767676767676767676767636404u5o6i767676767676767676767676767676767676767676767676767676767676767676767637414v5p6j767676767676767676767676767676767676767676767676767676767676767636404u384236404u767676767676767676767676767676767676767676767676767676767676767637414v764337414v397676767676767676767676767676767676767676767676767676767676767638424w5q6k38424w5q6k76767676767676767676767676767676767676767676767676767676767639434x5r6l39434x5r6l767676767676767676767676767676767676767676767676767676767676767676767636404u5o6i767676767676767676767676767676767676767676767676767676767676767676767637414v5p6j767676767676767676767676767676767676767676767676767676767676767676767638424w5q6k76767676767676767676cw3zaf7676767676767676767676767676767676767676767639434x5r6l767676767676767676761c26ag7676767676767676767676767676767676767676767636404u5o6i76767676767676767676cw3zah7676767676767676767676767676767676767676767637414v5p6j767676767676767676767676767676767676767676767676767676767676767676767638424w5q6k767676767676767676767676767676767676767676767676767676767676767676767639434x5r6l767676404u76767676767676767676767676767676767676767676767676767676767636404u5o6i767676414v7676767676767676cw3zaf7676767676767676767676767676767676767637414v5p6j767676424w76767676767676761c26ag7676767676767676767676767676767676767638424w5q6k767676434x7676767676767676cw3zah7676767676767676767676767676767676767639434x5r6l767676767676767676767676767676767676767676767676767676767676767676767636404u5o6i767676364038424w5q36404u5o6i76767636767676767676767676767676767676767637414v5p6j76767637416i434x5r37414v5p6j76767676767676767676767676767676767676767638424w5q6k76767638424w5q6k7638424w5q6k00000000000076767676767676767676767676767639434x5r6l7676766j4336404u5o6i434x5r6l0000000000007676767676767676767676af76767676767676767676766k7637414v5p6j767676760000000000007676767676767676767676ag76767676767676767676766l7638424w5q6k767676390000000000007676767676767676767676ah76767676767676767676764u5o6i434x5r6l7676767636404u5o6i0076767676767676767676767676767676767676767676764v5p6j767676767676767637414v5p6j7676767676767676767676767676767676767676767676764w5q6k76767636404u5o6i38424w5q6k7676767676767676767676767676767676767676767676764x5r6l76767637414v5p6j39434x5r6l7676767676767676767676767676767676767676767676767636404u5o6i38424w5q6k76767676767676767676767676767676767676767676767676767676767637414v5p6j39434x5r6l7676767676767676767676767676767676767676767676767676767676\" xmlType=\"variable\" /><1 value=\"str__7676767676767676768x8x8x8x8x8x8x8x8x8x8x8x8x8x8x8x8x8x8x8x8x8x8x8x8x8x8x8x8x8x8x7676767676767676767676767676d31676760d7676767676767600000000000000000076007676d27676767676767676767676767676d11676760d7676767676767600000000000000d0d0d2007676d27676767676767676767676767676761676760d76767676767676000000007676000000d2007676d27676767676767676767676767676761676760d76767676767676000000007676000000d2007676d27676767676767676767676767676761676760d76767676767676767676007676000000d2007676d27676767676767676767676767676761676760d7676767676767676767600000000000000007676d27676767676767676767676767676761676760d7676767676767676767600000000d0d0d0d0d0d0d27676767676767676767676767676761676760d7676767676767676767676000000171717171717d27676767676767676767676767676761676760d767676767676be76767676000000al0000007676d27676767676767676767676767676761676760d7676767676767676767676000000am0000007676d27676767676767676767676767676768376760d7676767676767676767676000000an0000007676d2767676767676767676767676767676al76760d7676767676767676767676000076767676767676d2767676767676767676767676767676am76760d7676767676767676767676767676767676767676d2767676767676767676767676767676an76760d7676767676769o7676764i0c0c0c0c0c0c0c8276d27676767676767676767676767676767676760d76767676769o7676769s76000000000000001676d27676767676767676767676767676767676767917177676767676764i7676000000000000001676d2767676767676767676767676767676767676767676767676767676767676767676767636761676d276767676767676767676767676767676767676767676767676767676767676767676767d761676d27676767676767676767676767676767676767676767676767676767676765o6i4w5q6k5o6i1676d27676767676767676767676767676768276767676767676767676767676765p6j4x5r6l5p6j7d76d276767676767676767676767676767616767676767676767676767676767676767e767676767e76d2767676767676767676767676767676167676767676767676767676767676767676767676767676d2767676767676767676767676767676167676767676767676767676767676767676767676767676d2767676767676767676767676767676167676767676767676767676767676767676767676767d76d2767676767676767676767676171717837676767676767676767676767676767676767676767e76d2767676767676767676767676al7676767676767676767676767676767676767676767676767676d2767676767676767676767676am7676767676767676767676767676767676767676767676767676d2767676767676767676767676an7676767676767676767676767676767676767676767676767d76d27676767676767676767676760c0c0c827676767676767676767676767676767676767676767e76d2767676767676767676767676767676167676767676767676767676767676767676767676767676d2767676767676767676767676767676d0d0d0767676767676767676767676767676767676767676d27676767676767676767676767676767676d20d7676767676767676767676767676767676767d76d26i76767676767676767676767676767676d20d7676767676767676767676767676767676767e76d26j7d767676767676767676767676767676d20d76767676767676767676bdc77676767676767676d26k7e767676767676767676767676767676d20d7676767676767676767676bd7676767676767676d26l764u5o6i766k7ed27676767676767676d20d767676763s4m76767676bdc77676767676767d76d276764v5p6j7d6l76d276767d7676767676d20d7676767676767676767676bd7676767676767e76d276766k76767e7676d276767e7676767676d20d76767676767676767676bdc77676767676767676d2767d4x5r6l767676d27676767676760000d20d767676767676767676b9b9c3al76767676767676d2767e76767676767dd27676767676760000000d767676767676767676babac4am76767676767676d2767676767676767ed27676767676760000d20d767676767676767676bbbbc5an76767676767676d27676767676767676d27676767676767676d20d76767676767676767676bdc77676767676767676767676767d76767676d2767676767676767dd20d7676767676767676767676767676767676767676767676767e76767676d2767676767676767ed20d7676767676767676767676767676767676767676767676767676767676d276767d7676767676d20d7676767676767676767676767676767676767676767676767676767676d276767e7676767676d20d7676767676767676767676767676767676767676767676767676767d76d2d2d2d0d0d0d0d0d0d20d767676767676768x8x8x8x8x8x8x8x8x8x8x8x8x8x\" xmlType=\"variable\" /><0 value=\"str__0f19231923192319236o6o6o6o6o6o6o6o6o6o6o6o0f192319236o6o6o6o6o6o6o6o6o6o6o6o6o6o0f19231923192319236o6o6o6o6o6o6oa0a06o6o6o0f192319236o6o6o6o6o6o6o6o6o6o6o6o6o6o0f19231923192319236o6o6o6o6o6o6oa0a06o6o6o0f19707u7u7u8o9icwcxcxc26o6o6o6o6o6o6o0f19231923192319236o6o6o6o6o6o6oa0a06o6o6o0f19715e5e5e8p9jb9b9c32y6o6o6o6o6o6o6o0f19acb8b8b8b8b8b8b8b8b64m4m4m6oa0a06o6o6o0f193s4m4m6u8p9jbabac42y6o6o6o6o6o6o6o0f19aea6a6a6a6a6a6a6a6ae2x2x2x6oa0a06o6o6o0f19716u6u6u8p9jbbbbc52z6o6o6o6o6o6o6oacb8b8b8b8b8b64m4m4ma6ae0m1g2x6oa0a06o6o6o0f19716u6u6u8p9jcwcycyc26o6o6o6o6o6o6oaea6a6a6a6a6ae2x2x2xa6ae0n1h2x6oa0a06o6o6o0f19716u6u6u8p9jcw6dcyc26o6o6o6o6o6o6oaea6a6a6a6a6ae0m1g2xa6ae2x2x2x6oa0a06o6o6o0f19716u68688p9jcwcycyc26o6o6o6o6o6o6oaea6a6a6a6a6ae0n1h2xa6ae0m1g2x6oa0a06o6o6o0f19716u6uc88p9jb9b9c32ya0a0a0a0a0a0a0aea6a6a6a6a6ae2x2x2xa6ae0n1h2x6oa0a06o6o6o0f19716u5e5e8p9jbabac42ya0a0a0a0a0a0a0aea6a6a6a6a6ae0m1g2xa6ae2x2x2xa0a0a06o6o6o0f19716868688p9jbbbbc52za0a0a0a0a0a0a0aea6a6a6a6a6ae0n1h2xa6aeb9b9c3a0a0a06o6o6o0f19727w7w7w8q9kcwczczc2a0a0a0a0a0a0a0aea6a6a6a6a6ae2x2x2xa6aebabac4a0a0a06o6o6o0f19231923a0a0a0a0a0a0a0a0a0a0a0a0a0a0adb8b8b8b8b8b74m4m4ma6aebbbbc5a0a0a06o6o6o0f192319230g1a24236o6o6o6o6o6o6oa0a0a00f19aea6a6a6a6a6a6a6a6ae2x2x2xa0a0a06o6o6o0f1923190g1a2419236o6o6o6o6o6o6o6oa0a00f19adb8b8b8b8b8b8b8b8b74m4m4ma0a0a0a06o6o0f0f0f0g1a240f19236o6o6o6o6o6o6o6oa0a00f1923192319231923a0a0a0a0a0a0a0a0a0a0a0a0a02y2ya0a00f2319236o6o6o6o6o6o6o6oa0a00f1923192319231923a0a0a0a0a0a0a0a0a0a0a0a0a02y2ya0a00f2319236o6o6o6o6o6o6o6oa0a00f1923192319231923a0a0a0a0a0a0a0a0a0a0a0a0a02y2ya0a00f2319236o6o6o6o6o6o6o6oa0a00f19737x7x7x7x7x8r9l1c261c2630a0a0a0a0a0a00f0f0f0f0f0f2319236o6o6o6o6o6o6o6oa0a00f19745h5h5h5h5h8s9mcw3z0m1g2x6oa0a0a0a0a00f192319236o6o6o6o6o6o6o6o6o6o6o6oa0a00f19747v066b6b6b8s9mcw3z0n1h2x6oa0a0a0a0a00f192319236o6o6o6o6o6o6o6o6o6o6o6oa0a00f197406065g6a7z8t9n1c261c26306oa0a0a0a0a00f192319236o6o6o6o6o6o6o6o6o6o6o6oa0a00f197406068s9m1c260m1g2x6o6o6o6oa0a0a0a0a00f192319236o6o6o6o6o6o6o6o6o6o6o6oa0a00f197406068s9mcw3z0n1h2x6o6o6oa0a0a0a0a0a00f192319236o6o6o6o6o6o6o6o6o6o6o6oa0a00f197406068s9mcw3zb9b9c3a0a0a0a0a0a0a0a0a00f192319236o6o6o6o6o6o6o6o6o6o6o6oa0a00f19747v068s9m1c26babac4a0a0a0a0a0a0a0a0a00f192319236o6o6o6o6o6o6o6o6o6o6o6oa0a00f19747v068s9mcw3zbbbbc5a0a0a0a0a0a0a0a0a00f192319236o6o6o6o6o6o6o6o6o6o6o6oa0a00f0f7406068s9mcw3z0m1g2x6o6o6oa0a0a0a0a0a00f192319236o6o6o6o6o6o6o6o6o6o6o6oa0a06o6o7406068s9m1c260n1h2x6o6o6o6oa0a0a0a0a00f192319236o6o6o6o6o6o6o6o6o6o6o6oa0a06o6o7406065f697x8r9l1c261c26306oa0a0a0a0a00f192319236o6o6o6o6o6o6o6o6o6o6o6oa0a06o6o7406065h5h5h8s9mcw3zb9b9c36o6o6oa0a0a00f192319236o6o6o6o6o6o6o6o6o6o6o6oa0a06o6o747v060606068s9m1c26babac46o6o6oa0a0a00f19707u8o9i9i2x2x2x6o6o6o6o6o6o6oa0a06o6o746b6b6b6b6b8s9mcw3zbbbbc56o6o6oa0a0a00f19715e5e8p9j4t4t4t6o6o6o6o6o6o6oa0a06o6o757z7z7z7z7z8t9n1c261c26306o6o6oa0a0a00f19716u6u8p9j3y4s4t6o6o6o6o6o6o6oa0a06o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6oa0a0a00f19716u6u8p9j4t4t4t6o6o6o6o6o6o6oa0a06o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6oa0a0a00f19716u6u8p9j3y4s4t6o6o6o6o6o6o6oa0a06o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6oa0a0a00f19716u6u8p9j4t4t4t6o6o6o6o6o6o6oa0a06o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6oa0a0a00f19716u6u8p9j4t4t4ta0a0a0a0a0a0a0a0a06o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6oa0a0a00f19716u6u8p9j4t4t4ta0a0a0a0a0a0a0a0a06o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6oa0a0a00f19716u6u8p9j4t4t4ta0a0a0a0a0a0a0a0a06o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6oa0a0a00f197168688p9j4t4t4t6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6oa0a0a00f19727w7w8q9k2x2x2x6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6oa0a0a00f192319236o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6oa0a0a00f192319236o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6oa0a0a00f192319236o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6o6oa0a0a00f192319236o6o6o6o6o6o6o6o6o6o6o6o6o6o\" xmlType=\"variable\" /></layers></map></level></data>";
data_xml = new XML(data_txt);
onLoad(data_xml);
Symbol 314 MovieClip [levels\dogs_pet\220.lvl] Frame 1
data_txt = "<data xmlType=\"object\"><level name=\"str_levels\\dogs_pet\\220.lvl\" xmlType=\"object\"><sprites xmlType=\"array\"><9 name=\"str_lilly\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_2\" charset=\"str_charset\\lilly\\dressed\\walk.png\" xmlType=\"object\" /><position y=\"num_168\" x=\"num_40\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><hitbox height=\"num_16\" width=\"num_16\" xmlType=\"object\" /><copySprite id=\"str_\" xmlType=\"object\"><data xmlType=\"object\" /></copySprite><scripts xmlType=\"object\" /><initialAppearance isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_2\" charset=\"str_charset\\lilly\\dressed\\walk.png\" xmlType=\"object\" /></data></9><8 name=\"str_kara\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_2\" charset=\"str_charset\\kara\\dressed\\walk.png\" xmlType=\"object\" /><position y=\"num_136\" x=\"num_40\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><hitbox height=\"num_16\" width=\"num_16\" xmlType=\"object\" /><copySprite id=\"str_\" xmlType=\"object\"><data xmlType=\"object\" /></copySprite><scripts xmlType=\"object\" /><initialAppearance isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_2\" charset=\"str_charset\\kara\\dressed\\walk.png\" xmlType=\"object\" /></data></8><7 name=\"str_book\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite charset=\"str_charset\\objects\\book.png\" directions=\"num_1\" frames=\"num_2\" columns=\"num_1\" rows=\"num_1\" animType=\"str_once\" animDirection=\"num_1\" frame=\"num_1\" direction=\"num_0\" pose=\"num_0\" xmlType=\"object\" /><position x=\"num_175\" y=\"num_180\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><hitbox height=\"num_16\" width=\"num_16\" xmlType=\"object\" /><copySprite id=\"str_\" xmlType=\"object\"><data xmlType=\"object\" /></copySprite><scripts xmlType=\"object\" /><initialAppearance charset=\"str_charset\\objects\\book.png\" directions=\"num_1\" frames=\"num_2\" columns=\"num_1\" rows=\"num_1\" animType=\"str_once\" animDirection=\"num_1\" frame=\"num_1\" direction=\"num_0\" pose=\"num_0\" xmlType=\"object\" /></data></7><6 name=\"str_newGirl\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_0\" charset=\"str_charset\\ridingHood\\dress\\walk.png\" xmlType=\"object\" /><position y=\"num_200\" x=\"num_8\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><hitbox height=\"num_16\" width=\"num_16\" xmlType=\"object\" /><copySprite id=\"str_\" xmlType=\"object\"><data xmlType=\"object\" /></copySprite><scripts xmlType=\"object\" /><initialAppearance isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_0\" charset=\"str_charset\\ridingHood\\dress\\walk.png\" xmlType=\"object\" /></data></6><5 name=\"str_bigDog\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_1\" frame=\"num_0\" directions=\"num_4\" direction=\"num_2\" charset=\"str_charset\\som_wolf\\stand.png\" xmlType=\"object\" /><position y=\"num_168\" x=\"num_8\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><hitbox height=\"num_16\" width=\"num_16\" xmlType=\"object\" /><copySprite id=\"str_\" xmlType=\"object\"><data xmlType=\"object\" /></copySprite><scripts xmlType=\"object\" /><initialAppearance isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_1\" frame=\"num_0\" directions=\"num_4\" direction=\"num_2\" charset=\"str_charset\\som_wolf\\stand.png\" xmlType=\"object\" /></data></5><4 name=\"str_maid\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_2\" columns=\"num_4\" pose=\"num_0\" frames=\"num_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_2\" charset=\"str_charset\\maid.png\" xmlType=\"object\" /><position y=\"num_136\" x=\"num_8\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><hitbox height=\"num_16\" width=\"num_16\" xmlType=\"object\" /><copySprite id=\"str_\" xmlType=\"object\"><data xmlType=\"object\" /></copySprite><scripts xmlType=\"object\" /><initialAppearance isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_2\" columns=\"num_4\" pose=\"num_0\" frames=\"num_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_2\" charset=\"str_charset\\maid.png\" xmlType=\"object\" /></data></4><3 name=\"str_dad\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_2\" columns=\"num_4\" pose=\"num_0\" frames=\"num_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_2\" charset=\"str_charset\\people1.png\" xmlType=\"object\" /><position y=\"num_104\" x=\"num_8\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><hitbox height=\"num_16\" width=\"num_16\" xmlType=\"object\" /><copySprite id=\"str_\" xmlType=\"object\"><data xmlType=\"object\" /></copySprite><scripts xmlType=\"object\" /><initialAppearance isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_2\" columns=\"num_4\" pose=\"num_0\" frames=\"num_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_2\" charset=\"str_charset\\people1.png\" xmlType=\"object\" /></data></3><2 name=\"str_mom\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_2\" columns=\"num_4\" pose=\"num_1\" frames=\"num_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_2\" charset=\"str_charset\\people2.png\" xmlType=\"object\" /><position y=\"num_72\" x=\"num_8\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><hitbox height=\"num_16\" width=\"num_16\" xmlType=\"object\" /><copySprite id=\"str_\" xmlType=\"object\"><data xmlType=\"object\" /></copySprite><scripts xmlType=\"object\" /><initialAppearance isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_2\" columns=\"num_4\" pose=\"num_1\" frames=\"num_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_2\" charset=\"str_charset\\people2.png\" xmlType=\"object\" /></data></2><1 name=\"str_richGirl\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_1\" charset=\"str_charset\\girl1\\dressed\\walk.png\" xmlType=\"object\" /><position y=\"num_190\" x=\"num_153\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><hitbox height=\"num_16\" width=\"num_16\" xmlType=\"object\" /><copySprite id=\"str_\" xmlType=\"object\"><data xmlType=\"object\" /></copySprite><scripts xmlType=\"object\" /><initialAppearance isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_3\" frame=\"num_1\" directions=\"num_4\" direction=\"num_1\" charset=\"str_charset\\girl1\\dressed\\walk.png\" xmlType=\"object\" /></data></1><0 name=\"str_EVENTS\" type=\"str_rpgSprite\" xmlType=\"object\"><editSprite isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_1\" frame=\"num_1\" directions=\"num_1\" direction=\"num_0\" charset=\"str_charset\\invisible.png\" xmlType=\"object\" /><position y=\"num_8\" x=\"num_8\" xmlType=\"object\" /><flags xmlType=\"array\" /><data xmlType=\"object\"><hitbox height=\"num_16\" width=\"num_16\" xmlType=\"object\" /><copySprite id=\"str_\" xmlType=\"object\"><data xmlType=\"object\" /></copySprite><scripts xmlType=\"object\"><auto xmlType=\"array\"><26 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_theEnd\" linkage=\"str_swf\\theEnd.swf\" type=\"str_swf\" xmlType=\"object\"><data replay=\"bol_true\" level=\"str_[ROM.startingPlace.level]\" x=\"num_0\" y=\"num_0\" xmlType=\"object\" /></26><25 message=\"str_\" type=\"str_comment\" xmlType=\"object\" /><24 value=\"str_mom\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><23 type=\"str_move\" sprite=\"str_richGirl\" xmlType=\"array\"><0 value=\"str_right\" type=\"str_direction\" xmlType=\"object\" /></23><22 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_[richGirl]: \\.Oh,\\. and hire that maid again.\\!\r I don't want him dripping all over the yard.\" type=\"str_textbox\" xmlType=\"object\" /></22><21 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_comment\" message=\"str_* text: [richGirl]: \\.Oh,\\. and hire that maid again.\\!\r I don't want him making a mess.\" commentedType=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_[richGirl]: \\.Oh,\\. and hire that maid again.\\!\r I don't want him making a mess.\" type=\"str_textbox\" xmlType=\"object\" /></21><20 type=\"str_move\" sprite=\"str_richGirl\" xmlType=\"array\"><0 value=\"str_down\" type=\"str_direction\" xmlType=\"object\" /></20><19 value=\"num_0.2\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><18 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_comment\" message=\"str_* text: I suppose we'll need to re-hire\rthat servant girl to take care of him.\" commentedType=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_I suppose we'll need to re-hire\rthat servant girl to take care of him.\" type=\"str_textbox\" xmlType=\"object\" /></18><17 type=\"str_move\" sprite=\"str_mom\" xmlType=\"array\"><0 walkSpeed=\"num_0.26\" duration=\"num_0.91\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_56\" x=\"num_0\" xmlType=\"object\" /></0></17><16 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_Mom: \\.Why certainly, dear.\\.\r I will buy you the biggest strongest\r stallion there is.\" type=\"str_textbox\" xmlType=\"object\" /></16><15 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_comment\" message=\"str_* text: Mom: \\.Why certainly, dear.\\.\r I will buy you the best stallion there is.\" commentedType=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_Mom: \\.Why certainly, dear.\\.\r I will buy you the best stallion there is.\" type=\"str_textbox\" xmlType=\"object\" /></15><14 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_comment\" message=\"str_* text: Mom: \\.Why certainly, dear.\\.\r I will buy the prettiest pony there is.\" commentedType=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_Mom: \\.Why certainly, dear.\\.\r I will buy the prettiest pony there is.\" type=\"str_textbox\" xmlType=\"object\" /></14><13 type=\"str_move\" sprite=\"str_mom\" xmlType=\"array\"><0 value=\"str_richGirl\" type=\"str_lookAt\" xmlType=\"object\" /></13><12 value=\"num_1\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><11 type=\"str_move\" sprite=\"str_mom\" xmlType=\"array\"><0 value=\"str_down\" type=\"str_direction\" xmlType=\"object\" /></11><10 value=\"num_0.1\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><9 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_[richGirl]: I want a horsie.\" type=\"str_textbox\" xmlType=\"object\" /></9><8 type=\"str_move\" sprite=\"str_richGirl\" xmlType=\"array\"><0 value=\"str_right\" type=\"str_direction\" xmlType=\"object\" /></8><7 value=\"num_0.1\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><6 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_Mom: What is it, dear?\" type=\"str_textbox\" xmlType=\"object\" /></6><5 value=\"str_mom\" mode=\"str_movement\" type=\"str_wait\" xmlType=\"object\" /><4 type=\"str_move\" sprite=\"str_mom\" xmlType=\"array\"><2 value=\"str_richGirl\" type=\"str_lookAt\" xmlType=\"object\" /><1 walkSpeed=\"num_0.26\" duration=\"num_0.91\" autoAnim=\"bol_true\" autoDirection=\"bol_true\" type=\"str_moveRelative\" xmlType=\"object\"><position y=\"num_-56\" x=\"num_0\" xmlType=\"object\" /></1><0 duration=\"num_0\" autoAnim=\"bol_false\" autoDirection=\"bol_false\" type=\"str_moveAbsolute\" xmlType=\"object\"><position y=\"num_256\" x=\"num_104\" xmlType=\"object\" /></0></4><3 target=\"str_HUD\" waitForEnd=\"bol_true\" depth=\"num_-1\" name=\"str_\" linkage=\"str_swf\\textbox.swf\" type=\"str_swf\" xmlType=\"object\"><data typeDelay=\"num_1\" skipKey=\"num_16\" closeOnSpace=\"bol_true\" closeOnClick=\"bol_true\" background=\"str_swf\\win_default.png\" face=\"str_\" typingSound=\"str_\" _y=\"num_0\" text=\"str_[richGirl]: \\.Mother!\\.\r Please come.\" type=\"str_textbox\" xmlType=\"object\" /></3><2 type=\"str_move\" sprite=\"str_richGirl\" xmlType=\"array\"><0 value=\"str_left\" type=\"str_direction\" xmlType=\"object\" /></2><1 value=\"num_1\" mode=\"str_time\" type=\"str_wait\" xmlType=\"object\" /><0 update=\"bol_false\" type=\"str_setVariable\" reference=\"bol_false\" xmlType=\"object\"><condition xmlType=\"array\"><2 value=\"str_none\" xmlType=\"variable\" /><1 value=\"str_=\" xmlType=\"variable\" /><0 value=\"str_HUD.mood.mood\" xmlType=\"variable\" /></condition></0></auto></scripts><initialAppearance isAnimating=\"bol_false\" delay=\"num_3\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_1\" frame=\"num_1\" directions=\"num_1\" direction=\"num_0\" charset=\"str_charset\\invisible.png\" xmlType=\"object\" /></data></0></sprites><map format=\"num_3\" isCompressed=\"bol_true\" tileSize=\"num_16\" width=\"num_20\" height=\"num_15\" collision=\"str_111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110101111111111110001100011111111111111000000001111111111000001100011111111111000111101111111111110111111111111111111111111111111111\" xmlType=\"object\"><layers xmlType=\"array\"><2 value=\"str_04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04b04b04b04b04b04b04b04b04b04b04a04a04a04a04a04a04a04a04a05a00000000000000000000000000000003a04a04a04a04a04a04a04a04a05a00000000000000000000000000000003a04a04a04a04a04a04a04a04a05a00000000000000000000000000000003a04a04a04a04a04a04a04a04a05a00000000000000000000000000000003a04a04a04a04a04a04a04a04a05a00000000000000000000000000000003a04a04a04a04a04a04a04a04a05a00000000000000000000000000000003a04a04a04a04a04a04a04a04a05a00000000000000000000000000000003a04a04a04a04a04a04a04a04a04a04900004904904904904904904904904a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a\" xmlType=\"variable\" /><1 value=\"str_0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000j90k90000000000000000000000000000000000000000000000000000000ja0ka0rd0sd0000l80000000000000000000000000000000000000000000000tb0re0se0000000000000000000000000000000000000000000000000000000rf0sf0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ie0000000je0000000000000000000000000000000000000j80000000000if0mf0nf0jf0000ia000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000\" xmlType=\"variable\" /><0 value=\"str_04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04b04b04b04b04b04b04b04b04b04b04a04a04a04a04a04a04a04a04a05a0ec0ec0ec0ec0ec0o10o10q10ec0ec03a04a04a04a04a04a04a04a04a05a0ee0ee0ee0ee0ee0o20o20q20ee0ee03a04a04a04a04a04a04a04a04a05a0e10f10ef0ef0ef0o30o30q30e90f903a04a04a04a04a04a04a04a04a05a0e20f204d04d04d04d04d04d0ea0fa03a04a04a04a04a04a04a04a04a05a0e30f304e04e04e04e04e04e04e05e03a04a04a04a04a04a04a04a04a05a03e04e04e04e04e0c50d504e04e05e03a04a04a04a04a04a04a04a04a05a03f04e04f04f04f04f04f04f04f05f03a04a04a04a04a04a04a04a04a04a04904e04904904904904904904904904a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a04a\" xmlType=\"variable\" /></layers><chipsets xmlType=\"array\"><0 value=\"str_chipset\\castle_inner.png\" xmlType=\"variable\" /></chipsets></map></level></data>";
data_xml = new XML(data_txt);
onLoad(data_xml);
Symbol 391 MovieClip [database.xml] Frame 1
data_txt = "<data commonLevel=\"str_levels\\dogs_pet\\_common.lvl\" xmlType=\"object\"><titleScreen image=\"str_swf\\dogs_pet\\title.jpg\" showStartMessage=\"bol_true\" xmlType=\"object\"><watermark text=\"str_\" image=\"str_swf\\humbird0.swf\" url=\"str_http://www.humbird0.com/content/show.htm\" scale=\"num_11.876307140723\" brightness=\"num_0\" glow=\"num_0\" xmlType=\"object\"><position y=\"num_168\" x=\"num_8.95\" xmlType=\"object\" /></watermark></titleScreen><ram xmlType=\"object\" /><startingPlace y=\"num_15\" x=\"num_8\" level=\"str_levels\\dogs_pet\\_init.lvl\" xmlType=\"object\" /><playerSprite isAnimating=\"bol_false\" delay=\"num_4\" animDirection=\"num_1\" animType=\"str_yoyo\" rows=\"num_1\" columns=\"num_1\" pose=\"num_0\" frames=\"num_1\" frame=\"num_0\" directions=\"num_1\" direction=\"num_0\" charset=\"str_charset\\invisible.png\" xmlType=\"object\" /></data>";
data = new XML(data_txt);
onLoad(data);
Symbol 437 MovieClip Frame 1
stop();
Instance of Symbol 225 MovieClip [Slider] in Symbol 437 MovieClip Frame 10
//component parameters
onClipEvent (construct) {
value = 0;
maxValue = 100;
visible = true;
enabled = true;
}
Instance of Symbol 274 MovieClip [swf\textbox.swf] in Symbol 437 MovieClip Frame 10
//component parameters
onClipEvent (construct) {
text = "";
face = "";
background = "";
typeDelay = 1;
closeOnSpace = true;
closeOnClick = true;
skipKey = 16;
typingSound = "";
closeAtEnd = true;
}
Symbol 438 MovieClip [scroll] Frame 1
function runFunc(func) {
return(func.apply(_this, arguments.slice()));
}
function sendEvent(evt_str, evt, evtEmitter) {
evtEmitter = (evtEmitter || (_this)) || this;
var _local4 = evt instanceof Object;
if (_local4 === false) {
evt = {data:evt};
}
evt.type = evt_str;
if (evtEmitter.dispatchEvent) {
evt.type = evt_str;
evtEmitter.dispatchEvent(evt);
} else if (evtEmitter.broadcastMessage) {
evtEmitter.broadcastMessage(evt_str, evt);
}
}
function make_react(defaultUnloadEmitter) {
function newReaction(eventName, newSettings) {
function get_then() {
return(reaction.then);
}
function set_then(new_func) {
reaction.then = new_func;
var _local1 = new_func instanceof Function;
var _local2 = reaction.tellThese.length > 0;
if (_local1 || (_local2)) {
listen();
if (!(reaction.untilTimeout === undefined)) {
monad.until(reaction.untilTimeout);
}
} else {
unListen();
clearTimeout(reaction.untilId);
}
}
function listen() {
if (reaction.hasListener === true) {
return(null);
}
if (reaction.emitter === undefined) {
return(null);
}
if (reaction.emitter.addEventListener) {
reaction.emitter.addEventListener(reaction.eventName, reaction.eventTarget);
} else if (reaction.emitter.addListener) {
reaction.emitter.addListener(reaction.eventTarget);
} else {
var _local1 = ((reaction.emitter._name === undefined) ? "[object]" : (("\"" + reaction.emitter._name) + "\""));
trace(((("ERROR: " + _local1) + " cannot send events. (") + reaction.eventName) + ")");
return(null);
}
reaction.hasListener = true;
}
function unListen() {
if (reaction.hasListener === false) {
return(null);
}
if (reaction.emitter === undefined) {
return(null);
}
if (reaction.emitter.removeEventListener) {
reaction.emitter.removeEventListener(reaction.eventName, reaction.eventTarget);
} else {
reaction.emitter.removeListener(reaction.eventTarget);
}
reaction.hasListener = false;
}
var reaction = {};
reaction.uid = Math.floor(Math.random() * 99);
reaction.hasListener = false;
reaction.eventName = eventName;
reaction.emitter = defaultUnloadEmitter;
reaction.fireOnce = false;
reaction.eventTarget = {};
reaction.eventTarget[reaction.eventName];
reaction.untilTimeout = undefined;
reaction.untilId = undefined;
reaction.tellThese = [];
for (var _local12 in newSettings) {
reaction[_local12] = newSettings[_local12];
}
var monad = ((reaction.monad = {}));
monad.addProperty("then", get_then, set_then);
monad.then = undefined;
monad.unListen = unListen;
monad.cleanup = function () {
for (var _local1 in reaction.tellThese) {
reaction.tellThese.splice(_local1, 1);
}
monad.then = undefined;
};
monad.disable = function () {
monad.cleanup();
monad.forget();
};
monad.fire = function () {
if (!(monad.then === reaction.then)) {
trace("WARNING: 'then' property was deleted. Now restoring it with the current reaction.");
var _local7 = monad.then;
monad.addProperty("then", get_then, set_then);
monad.then = _local7;
}
var _local6 = arguments.slice();
var _local4 = _local6[0];
monad.then.apply(null, _local6);
var _local2 = 0;
while (_local2 < reaction.tellThese.length) {
if (!reaction.tellThese[_local2].eventTarget) {
} else if (!reaction.tellThese[_local2].eventName) {
} else {
var _local3 = {};
for (var _local5 in _local4) {
_local3[_local5] = _local4[_local5];
}
_local3.type = reaction.tellEventName;
sendEvent(reaction.tellThese[_local2].eventName, _local3, reaction.tellThese[_local2].eventTarget);
}
_local2++;
}
if (reaction.fireOnce === true) {
monad.then = undefined;
}
};
reaction.eventTarget[reaction.eventName] = monad.fire;
monad.tell = function (newEventTarget, newEventName) {
if (!newEventTarget) {
return(monad);
}
if (newEventName instanceof Object) {
newEventName = newEventName.about || (newEventName.to);
}
if (!newEventName) {
newEventName = reaction.eventName;
}
var _local2 = {eventTarget:newEventTarget, eventName:newEventName};
reaction.tellThese.push(_local2);
listen();
return(monad);
};
monad.once = function () {
reaction.fireOnce = true;
return(monad);
};
monad.until = function (wait_ms) {
var _local1 = !isNaN(wait_ms);
if (_local1 === false) {
return(monad);
}
clearTimeout(reaction.untilId);
reaction.untilId = setTimeout(function () {
monad.then = undefined;
}, wait_ms);
reaction.untilTimeout = wait_ms;
return(monad);
};
monad.from = function (newEmitter) {
var _local3 = (newEmitter instanceof MovieClip) || (newEmitter instanceof Object);
if (_local3 === false) {
return(monad);
}
var _local1 = reaction.hasListener;
if (_local1) {
unListen();
}
reaction.emitter = newEmitter;
if (_local1) {
listen();
}
return(monad);
};
monad.forget = function () {
for (var _local1 in allReactions) {
if (!(allReactions[_local1] === reaction)) {
continue;
}
allReactions.splice(_local1, 1);
}
return(monad);
};
return(reaction);
}
var react = {};
var allReactions = [];
react.to = function (eventName, settings) {
var _local1 = newReaction(eventName, settings);
var _local2 = _local1.monad;
allReactions.push(_local1);
return(_local2);
};
var reactOnce = {};
reactOnce.to = function (eventName, settings) {
if (!settings) {
settings = {};
}
settings.fireOnce = true;
return(react.to(eventName, settings));
};
react.once = function () {
return(reactOnce);
};
react.unload = function (fireUnloadEvents) {
if (fireUnloadEvents === undefined) {
fireUnloadEvents = true;
}
for (var _local2 in allReactions) {
allReactions[_local2].monad.unListen();
allReactions.splice(_local2, 1);
if (fireUnloadEvents && (allReactions[_local2].eventName === "unload")) {
allReactions[_local2].monad.fire();
}
allReactions[_local2].monad.cleanup();
}
};
if (defaultUnloadEmitter) {
react.to("unload").forget().then = function () {
react.unload(true);
};
}
return(react);
}
stop();
_this = this;
_visible = false;
screenWidth = 320;
screenHeight = 240;
_this = _this || (this);
if (!addListener) {
AsBroadcaster.initialize(_this);
}
callUnload = function (parent) {
function recurseClips(parent, doThis, includeSelf, isShallow) {
if (!parent) {
return(undefined);
}
if (!(parent instanceof MovieClip)) {
return(undefined);
}
if (!doThis) {
return(undefined);
}
if (includeSelf === undefined) {
includeSelf = true;
}
if (isShallow === undefined) {
isShallow = false;
}
var reportedPath;
var actualPath;
for (var nam in parent) {
if (!nam) {
continue;
}
var thisChild = parent[nam];
if (thisChild instanceof MovieClip) {
reportedPath = String(eval (thisChild._target));
actualPath = (String(eval (parent._target)) + ".") + nam;
if (reportedPath.indexOf(actualPath) != -1) {
if (isShallow) {
doThis.call(thisChild, thisChild);
}
if (!isShallow) {
recurseClips(thisChild, doThis);
}
}
}
}
if (includeSelf) {
doThis.call(parent, parent);
}
}
function unloadThis(thisItem) {
thisItem.onKillFocus(null);
thisItem.dispatchEvent({type:"unload"});
thisItem.broadcastMessage("unload");
thisItem.unload();
thisItem.onUnload();
delete thisItem.onUnload;
thisItem.removeEventListener("keyDown", thisItem);
thisItem.removeEventListener("keyUp", thisItem);
Key.removeListener(thisItem);
Mouse.removeListener(thisItem);
for (var _local3 in thisItem._listeners) {
var _local2 = thisItem._listeners[_local3];
thisItem.removeListener(_local2);
}
thisItem.addListener = function () {
};
}
recurseClips(parent, unloadThis);
};
if (!react) {
react = make_react(_this);
}
onUnload = function () {
delete _this.onUnload;
callUnload(_this);
};
onEnterFrame = function () {
sendEvent("onEnterFrame");
};
if (data == undefined) {
data = {target:target || "player", smoothness:smoothness || 0.2, mode:mode || "chase"};
}
if (_parent == SPRITES) {
sendEvent("unload");
_this.react = null;
delete _this.react;
OVERLAY.attachMovie("scroll", "scroll", nextDepth(OVERLAY), {data:data, _x:_x, _y:_y});
_this.removeMovieClip();
}
LOOP.addObject(null, "scroll");
react.to("onEnterFrame").then = function () {
if (LOOP.isPaused("scroll")) {
return(undefined);
}
sendEvent("thisLoop");
};
react.to("thisLoop").then = function () {
_this.loop();
};
data.target = target || (data.target);
initTarget = data.target;
_this.getTarget = function () {
return(_chaseTarget);
};
_this.setTarget = function (newValue) {
_chaseTarget = SPRITES[newValue];
ROOT.game_mc.scroll_obj.target_mc = _this;
};
_this.addProperty("target", _this.getTarget, _this.setTarget);
react.to("init").then = function () {
target = initTarget;
};
data.smoothness = smoothness || (data.smoothness);
initSmoothness = data.smoothness;
_this.getSmoothness = function () {
return(ROOT.game_mc.scroll_obj.smoothness);
};
_this.setSmoothness = function (newValue) {
ROOT.game_mc.scroll_obj.smoothness = newValue;
};
_this.addProperty("smoothness", _this.getSmoothness, _this.setSmoothness);
react.to("init").then = function () {
smoothness = initSmoothness;
};
data.mode = mode || (data.mode);
initMode = data.mode;
_this.getMode = function () {
return(_mode);
};
_this.setMode = function (newValue) {
_mode = newValue;
_this.gotoAndStop(newValue);
};
_this.addProperty("mode", _this.getMode, _this.setMode);
react.to("init").then = function () {
mode = initMode;
};
sendEvent("init");
Symbol 438 MovieClip [scroll] Frame 2
loop = function () {
_this._x = target._x;
_this._y = target._y;
};
Symbol 438 MovieClip [scroll] Frame 10
loop = function () {
var _local1 = Math.floor(target._x / screenWidth);
var _local2 = Math.floor(target._y / screenHeight);
_this._x = (screenWidth * _local1) + (screenWidth / 2);
_this._y = (screenHeight * _local2) + (screenHeight / 2);
};
Symbol 438 MovieClip [scroll] Frame 20
loop = function () {
};
Symbol 441 MovieClip [rpgSprite] Frame 1
function runFunc(func) {
return(func.apply(_this, arguments.slice()));
}
function runFunc(func) {
return(func.apply(_this, arguments.slice()));
}
function sendEvent(evt_str, evt, evtEmitter) {
evtEmitter = (evtEmitter || (_this)) || this;
var _local4 = evt instanceof Object;
if (_local4 === false) {
evt = {data:evt};
}
evt.type = evt_str;
if (evtEmitter.dispatchEvent) {
evt.type = evt_str;
evtEmitter.dispatchEvent(evt);
} else if (evtEmitter.broadcastMessage) {
evtEmitter.broadcastMessage(evt_str, evt);
}
}
function make_react(defaultUnloadEmitter) {
function newReaction(eventName, newSettings) {
function get_then() {
return(reaction.then);
}
function set_then(new_func) {
reaction.then = new_func;
var _local1 = new_func instanceof Function;
var _local2 = reaction.tellThese.length > 0;
if (_local1 || (_local2)) {
listen();
if (!(reaction.untilTimeout === undefined)) {
monad.until(reaction.untilTimeout);
}
} else {
unListen();
clearTimeout(reaction.untilId);
}
}
function listen() {
if (reaction.hasListener === true) {
return(null);
}
if (reaction.emitter === undefined) {
return(null);
}
if (reaction.emitter.addEventListener) {
reaction.emitter.addEventListener(reaction.eventName, reaction.eventTarget);
} else if (reaction.emitter.addListener) {
reaction.emitter.addListener(reaction.eventTarget);
} else {
var _local1 = ((reaction.emitter._name === undefined) ? "[object]" : (("\"" + reaction.emitter._name) + "\""));
trace(((("ERROR: " + _local1) + " cannot send events. (") + reaction.eventName) + ")");
return(null);
}
reaction.hasListener = true;
}
function unListen() {
if (reaction.hasListener === false) {
return(null);
}
if (reaction.emitter === undefined) {
return(null);
}
if (reaction.emitter.removeEventListener) {
reaction.emitter.removeEventListener(reaction.eventName, reaction.eventTarget);
} else {
reaction.emitter.removeListener(reaction.eventTarget);
}
reaction.hasListener = false;
}
var reaction = {};
reaction.uid = Math.floor(Math.random() * 99);
reaction.hasListener = false;
reaction.eventName = eventName;
reaction.emitter = defaultUnloadEmitter;
reaction.fireOnce = false;
reaction.eventTarget = {};
reaction.eventTarget[reaction.eventName];
reaction.untilTimeout = undefined;
reaction.untilId = undefined;
reaction.tellThese = [];
for (var _local12 in newSettings) {
reaction[_local12] = newSettings[_local12];
}
var monad = ((reaction.monad = {}));
monad.addProperty("then", get_then, set_then);
monad.then = undefined;
monad.unListen = unListen;
monad.cleanup = function () {
for (var _local1 in reaction.tellThese) {
reaction.tellThese.splice(_local1, 1);
}
monad.then = undefined;
};
monad.disable = function () {
monad.cleanup();
monad.forget();
};
monad.fire = function () {
if (!(monad.then === reaction.then)) {
trace("WARNING: 'then' property was deleted. Now restoring it with the current reaction.");
var _local7 = monad.then;
monad.addProperty("then", get_then, set_then);
monad.then = _local7;
}
var _local6 = arguments.slice();
var _local4 = _local6[0];
monad.then.apply(null, _local6);
var _local2 = 0;
while (_local2 < reaction.tellThese.length) {
if (!reaction.tellThese[_local2].eventTarget) {
} else if (!reaction.tellThese[_local2].eventName) {
} else {
var _local3 = {};
for (var _local5 in _local4) {
_local3[_local5] = _local4[_local5];
}
_local3.type = reaction.tellEventName;
sendEvent(reaction.tellThese[_local2].eventName, _local3, reaction.tellThese[_local2].eventTarget);
}
_local2++;
}
if (reaction.fireOnce === true) {
monad.then = undefined;
}
};
reaction.eventTarget[reaction.eventName] = monad.fire;
monad.tell = function (newEventTarget, newEventName) {
if (!newEventTarget) {
return(monad);
}
if (newEventName instanceof Object) {
newEventName = newEventName.about || (newEventName.to);
}
if (!newEventName) {
newEventName = reaction.eventName;
}
var _local2 = {eventTarget:newEventTarget, eventName:newEventName};
reaction.tellThese.push(_local2);
listen();
return(monad);
};
monad.once = function () {
reaction.fireOnce = true;
return(monad);
};
monad.until = function (wait_ms) {
var _local1 = !isNaN(wait_ms);
if (_local1 === false) {
return(monad);
}
clearTimeout(reaction.untilId);
reaction.untilId = setTimeout(function () {
monad.then = undefined;
}, wait_ms);
reaction.untilTimeout = wait_ms;
return(monad);
};
monad.from = function (newEmitter) {
var _local3 = (newEmitter instanceof MovieClip) || (newEmitter instanceof Object);
if (_local3 === false) {
return(monad);
}
var _local1 = reaction.hasListener;
if (_local1) {
unListen();
}
reaction.emitter = newEmitter;
if (_local1) {
listen();
}
return(monad);
};
monad.forget = function () {
for (var _local1 in allReactions) {
if (!(allReactions[_local1] === reaction)) {
continue;
}
allReactions.splice(_local1, 1);
}
return(monad);
};
return(reaction);
}
var react = {};
var allReactions = [];
react.to = function (eventName, settings) {
var _local1 = newReaction(eventName, settings);
var _local2 = _local1.monad;
allReactions.push(_local1);
return(_local2);
};
var reactOnce = {};
reactOnce.to = function (eventName, settings) {
if (!settings) {
settings = {};
}
settings.fireOnce = true;
return(react.to(eventName, settings));
};
react.once = function () {
return(reactOnce);
};
react.unload = function (fireUnloadEvents) {
if (fireUnloadEvents === undefined) {
fireUnloadEvents = true;
}
for (var _local2 in allReactions) {
allReactions[_local2].monad.unListen();
allReactions.splice(_local2, 1);
if (fireUnloadEvents && (allReactions[_local2].eventName === "unload")) {
allReactions[_local2].monad.fire();
}
allReactions[_local2].monad.cleanup();
}
};
if (defaultUnloadEmitter) {
react.to("unload").forget().then = function () {
react.unload(true);
};
}
return(react);
}
function getImpliedValue(input) {
var _local2;
if ((input == "undefined") || (input == undefined)) {
_local2 = undefined;
} else if ((input == "true") || (input === true)) {
_local2 = Boolean(true);
} else if ((input == "false") || (input === false)) {
_local2 = Boolean(false);
} else if (isNaN(input) == false) {
_local2 = Number(input);
} else {
_local2 = input;
}
return(_local2);
}
function resolveContainerStr(containerName, thisName) {
thisName = ((typeof(thisName) === "string") ? (thisName) : "this");
var _local2 = null;
if (containerName == "this") {
_local2 = thisName;
}
if (containerName == "_root") {
_local2 = "_root";
}
if (containerName == "_level0") {
_local2 = "_root";
}
if (containerName == "_global") {
_local2 = "_global";
}
if (_global[containerName] && (_global[containerName] instanceof Object)) {
_local2 = containerName;
}
return(_local2);
}
function resolveContainer(containerName, thisRef) {
if (typeof(thisRef) === "string") {
thisRef = _this || this;
}
var _local4 = _global[containerName];
if (containerName == "this") {
_local4 = thisRef;
}
if (containerName == "_root") {
_local4 = _root;
}
if (containerName == "_level0") {
_local4 = _root;
}
if (containerName == "_global") {
_local4 = _global;
}
return(_local4);
}
function evalPath(inputPath, defaultContainer_str, thisName) {
var thisScope = this;
var thisName = (thisName || "this");
if (typeof(inputPath) == "string") {
if (!defaultContainer_str) {
var defaultContainer_str = ((typeof(thisName) === "string") ? (thisName) : "this");
}
var endAt = inputPath.indexOf(".");
if (endAt == -1) {
endAt = inputPath.length;
}
var container_str = inputPath.substr(0, endAt);
var container_str = resolveContainerStr(container_str, thisName);
if (!container_str) {
var container_str = defaultContainer_str;
endAt = -1;
}
var theRest = inputPath.substr(endAt + 1);
var fullPath = (theRest ? ((container_str + ".") + theRest) : (container_str));
var paramStart = fullPath.indexOf("(");
if (paramStart != -1) {
var paramEnd = fullPath.indexOf(")", paramStart + 1);
var param = fullPath.substring(paramStart + 1, paramEnd);
var functionPath = fullPath.substr(0, paramStart);
var thisFunction = eval (functionPath);
var param_array = String(param).split(",");
var i = 0;
while (i < param_array.length) {
param_array[i] = getImpliedValue(param_array[i]);
i++;
}
var output = thisFunction.apply(thisScope, param_array);
} else {
var output = eval (fullPath);
}
} else {
var output = inputPath;
}
return(output);
}
function nestedEval(inputPath, defaultContainer_str, thisName) {
function replaceLastBracket(inputPath) {
function openBracketCloseParam() {
var _local2 = thisPath.indexOf(")");
var _local4 = thisPath.indexOf("(");
var _local1 = thisPath.indexOf("]");
var _local3 = ((_local1 === -1) || (_local2 < _local1)) && (_local4 === -1);
if (_local2 === -1) {
_local3 = false;
}
if (!_local3) {
return(false);
}
output = (placeHolderMarker + "xx") + thisPath.substr(1);
return(true);
}
function openBracketOpenParam() {
var _local3 = thisPath.indexOf("(");
var _local4 = thisPath.indexOf("]");
var _local10 = ((_local4 === -1) || (_local3 < _local4)) && (_local3 > -1);
if (!_local10) {
return(false);
}
var _local5 = thisPath.substring(1, _local3);
_local5 = resolve(_local5);
var _local6 = evalPath(_local5, defaultContainer_str, thisName);
var _local11 = _local6 instanceof Function;
if (_local11) {
var _local7 = thisPath.indexOf(")", _local3);
var _local9 = thisPath.substring(_local3 + 1, _local7);
var _local2 = _local9.split(",");
params_ary = [];
var _local1 = 0;
while (_local1 < _local2.length) {
params_ary[_local1] = resolve(_local2[_local1]);
_local1++;
}
var _local8 = _local6.apply(thisScope, params_ary);
var _local12 = thisPath.substr(_local4 + 1);
var _local13 = setPlaceHolder(_local8);
output = _local13 + _local12;
return(true);
}
var _local12 = thisPath.substr(_local4 + 1);
trace(("ERROR: " + _local5) + " is not a function!");
output = _local12;
return(true);
}
function openBracketCloseBracket() {
var _local1 = thisPath.indexOf("]");
var _local2 = _local1 > -1;
if (!_local2) {
return(false);
}
var _local5 = thisPath.substr(_local1 + 1);
var _local4 = thisPath.substring(1, _local1);
var _local3 = evalPath(resolve(_local4), defaultContainer_str, thisName);
var _local6 = setPlaceHolder(_local3);
output = _local6 + _local5;
return(true);
}
var _local6 = inputPath.lastIndexOf("[");
var _local15 = inputPath.substr(0, _local6);
var thisPath = inputPath.substr(_local6);
var output = thisPath.substr(1);
if (openBracketCloseParam()) {
} else if (openBracketOpenParam()) {
} else if (openBracketCloseBracket()) {
}
return(_local15 + output);
}
function resolve(inputPath) {
var _local8 = placeHolderLength - 1;
var _local7 = inputPath.split(placeHolderMarker);
var _local5 = [];
_local5[0] = _local7[0];
var _local1 = 1;
while (_local1 < _local7.length) {
var _local3 = _local7[_local1];
var _local6 = _local3.substr(0, _local8);
var _local2 = getPlaceHolder(_local6);
var _local4 = _local3.substr(_local8);
if (_local4.length > 0) {
_local5[_local1] = String(_local2) + _local4;
} else {
_local5[_local1] = _local2;
}
_local1++;
}
if ((_local5.length === 2) && (_local5[0] === "")) {
return(_local5[1]);
}
return(_local5.join(""));
}
function setPlaceHolder(storeThisValue) {
resolvedValues.push(storeThisValue);
var _local3 = resolvedValues.length - 1;
var _local1 = String(_local3);
var _local2 = placeHolderLength - 1;
while (_local1.length < _local2) {
_local1 = "0" + _local1;
}
return(placeHolderMarker + _local1);
}
function getPlaceHolder(id_str) {
var _local2 = !isNaN(id_str);
if (_local2) {
var _local3 = Number(id_str);
return(resolvedValues[_local3]);
}
return(resolvedValues[id_str]);
}
var thisScope = this;
var _local24 = typeof(inputPath);
var _local21 = _local24 === "string";
if (!_local21) {
return(inputPath);
}
var placeHolderMarker = "\u00B6";
var placeHolderLength = 3;
var resolvedValues = [];
resolvedValues.xx = "[";
while (inputPath.indexOf("[") > -1) {
inputPath = replaceLastBracket(inputPath);
}
var output = resolve(inputPath);
return(output);
}
function emptyObject(inputObject) {
if (getType(inputObject) === "array") {
inputObject.splice(0, inputObject.length);
} else {
for (var _local2 in inputObject) {
delete inputObject[_local2];
}
}
}
function getType(inputObject) {
var _local1 = "";
if (inputObject instanceof Function) {
_local1 = "function";
} else if (inputObject instanceof MovieClip) {
_local1 = "movieClip";
} else if (inputObject instanceof Array) {
_local1 = "array";
} else if (inputObject instanceof XMLNode) {
_local1 = "xml";
} else if (inputObject instanceof flash.display.BitmapData) {
_local1 = "bitmap";
} else if (inputObject instanceof Object) {
_local1 = "object";
} else {
_local1 = "variable";
}
return(_local1);
}
function copyObject(srcObj, destObj) {
if (!destObj) {
destObj = {};
}
emptyObject(destObj);
var _local4 = {};
for (var _local6 in srcObj) {
_local4[_local6] = srcObj[_local6];
}
for (var _local6 in _local4) {
var _local1 = _local4[_local6];
var _local3 = getType(_local1);
if (_local1 === srcObj) {
continue;
}
if (_local3 === "variable") {
destObj[_local6] = _local1;
}
if (_local3 === "bitmap") {
destObj[_local6] = _local1.clone();
}
if (_local3 === "xml") {
destObj[_local6] = _local1.cloneNode(true);
}
if (_local3 === "array") {
destObj[_local6] = new Array();
copyObject(_local1, destObj[_local6]);
}
if (_local3 === "object") {
destObj[_local6] = new Object();
copyObject(_local1, destObj[_local6]);
}
}
return(destObj);
}
function preApply(func) {
var params = arguments.slice(1);
var _local3 = function () {
return(func.apply(this, params));
};
return(_local3);
}
function getImpliedValue(input) {
var _local2;
if ((input == "undefined") || (input == undefined)) {
_local2 = undefined;
} else if ((input == "true") || (input === true)) {
_local2 = Boolean(true);
} else if ((input == "false") || (input === false)) {
_local2 = Boolean(false);
} else if (isNaN(input) == false) {
_local2 = Number(input);
} else {
_local2 = input;
}
return(_local2);
}
function resolveContainerStr(containerName, thisName) {
thisName = ((typeof(thisName) === "string") ? (thisName) : "this");
var _local2 = null;
if (containerName == "this") {
_local2 = thisName;
}
if (containerName == "_root") {
_local2 = "_root";
}
if (containerName == "_level0") {
_local2 = "_root";
}
if (containerName == "_global") {
_local2 = "_global";
}
if (_global[containerName] && (_global[containerName] instanceof Object)) {
_local2 = containerName;
}
return(_local2);
}
function resolveContainer(containerName, thisRef) {
if (typeof(thisRef) === "string") {
thisRef = _this || this;
}
var _local4 = _global[containerName];
if (containerName == "this") {
_local4 = thisRef;
}
if (containerName == "_root") {
_local4 = _root;
}
if (containerName == "_level0") {
_local4 = _root;
}
if (containerName == "_global") {
_local4 = _global;
}
return(_local4);
}
function evalPath(inputPath, defaultContainer_str, thisName) {
var thisScope = this;
var thisName = (thisName || "this");
if (typeof(inputPath) == "string") {
if (!defaultContainer_str) {
var defaultContainer_str = ((typeof(thisName) === "string") ? (thisName) : "this");
}
var endAt = inputPath.indexOf(".");
if (endAt == -1) {
endAt = inputPath.length;
}
var container_str = inputPath.substr(0, endAt);
var container_str = resolveContainerStr(container_str, thisName);
if (!container_str) {
var container_str = defaultContainer_str;
endAt = -1;
}
var theRest = inputPath.substr(endAt + 1);
var fullPath = (theRest ? ((container_str + ".") + theRest) : (container_str));
var paramStart = fullPath.indexOf("(");
if (paramStart != -1) {
var paramEnd = fullPath.indexOf(")", paramStart + 1);
var param = fullPath.substring(paramStart + 1, paramEnd);
var functionPath = fullPath.substr(0, paramStart);
var thisFunction = eval (functionPath);
var param_array = String(param).split(",");
var i = 0;
while (i < param_array.length) {
param_array[i] = getImpliedValue(param_array[i]);
i++;
}
var output = thisFunction.apply(thisScope, param_array);
} else {
var output = eval (fullPath);
}
} else {
var output = inputPath;
}
return(output);
}
function nestedEval(inputPath, defaultContainer_str, thisName) {
function replaceLastBracket(inputPath) {
function openBracketCloseParam() {
var _local2 = thisPath.indexOf(")");
var _local4 = thisPath.indexOf("(");
var _local1 = thisPath.indexOf("]");
var _local3 = ((_local1 === -1) || (_local2 < _local1)) && (_local4 === -1);
if (_local2 === -1) {
_local3 = false;
}
if (!_local3) {
return(false);
}
output = (placeHolderMarker + "xx") + thisPath.substr(1);
return(true);
}
function openBracketOpenParam() {
var _local3 = thisPath.indexOf("(");
var _local4 = thisPath.indexOf("]");
var _local10 = ((_local4 === -1) || (_local3 < _local4)) && (_local3 > -1);
if (!_local10) {
return(false);
}
var _local5 = thisPath.substring(1, _local3);
_local5 = resolve(_local5);
var _local6 = evalPath(_local5, defaultContainer_str, thisName);
var _local11 = _local6 instanceof Function;
if (_local11) {
var _local7 = thisPath.indexOf(")", _local3);
var _local9 = thisPath.substring(_local3 + 1, _local7);
var _local2 = _local9.split(",");
params_ary = [];
var _local1 = 0;
while (_local1 < _local2.length) {
params_ary[_local1] = resolve(_local2[_local1]);
_local1++;
}
var _local8 = _local6.apply(thisScope, params_ary);
var _local12 = thisPath.substr(_local4 + 1);
var _local13 = setPlaceHolder(_local8);
output = _local13 + _local12;
return(true);
}
var _local12 = thisPath.substr(_local4 + 1);
trace(("ERROR: " + _local5) + " is not a function!");
output = _local12;
return(true);
}
function openBracketCloseBracket() {
var _local1 = thisPath.indexOf("]");
var _local2 = _local1 > -1;
if (!_local2) {
return(false);
}
var _local5 = thisPath.substr(_local1 + 1);
var _local4 = thisPath.substring(1, _local1);
var _local3 = evalPath(resolve(_local4), defaultContainer_str, thisName);
var _local6 = setPlaceHolder(_local3);
output = _local6 + _local5;
return(true);
}
var _local6 = inputPath.lastIndexOf("[");
var _local15 = inputPath.substr(0, _local6);
var thisPath = inputPath.substr(_local6);
var output = thisPath.substr(1);
if (openBracketCloseParam()) {
} else if (openBracketOpenParam()) {
} else if (openBracketCloseBracket()) {
}
return(_local15 + output);
}
function resolve(inputPath) {
var _local8 = placeHolderLength - 1;
var _local7 = inputPath.split(placeHolderMarker);
var _local5 = [];
_local5[0] = _local7[0];
var _local1 = 1;
while (_local1 < _local7.length) {
var _local3 = _local7[_local1];
var _local6 = _local3.substr(0, _local8);
var _local2 = getPlaceHolder(_local6);
var _local4 = _local3.substr(_local8);
if (_local4.length > 0) {
_local5[_local1] = String(_local2) + _local4;
} else {
_local5[_local1] = _local2;
}
_local1++;
}
if ((_local5.length === 2) && (_local5[0] === "")) {
return(_local5[1]);
}
return(_local5.join(""));
}
function setPlaceHolder(storeThisValue) {
resolvedValues.push(storeThisValue);
var _local3 = resolvedValues.length - 1;
var _local1 = String(_local3);
var _local2 = placeHolderLength - 1;
while (_local1.length < _local2) {
_local1 = "0" + _local1;
}
return(placeHolderMarker + _local1);
}
function getPlaceHolder(id_str) {
var _local2 = !isNaN(id_str);
if (_local2) {
var _local3 = Number(id_str);
return(resolvedValues[_local3]);
}
return(resolvedValues[id_str]);
}
var thisScope = this;
var _local24 = typeof(inputPath);
var _local21 = _local24 === "string";
if (!_local21) {
return(inputPath);
}
var placeHolderMarker = "\u00B6";
var placeHolderLength = 3;
var resolvedValues = [];
resolvedValues.xx = "[";
while (inputPath.indexOf("[") > -1) {
inputPath = replaceLastBracket(inputPath);
}
var output = resolve(inputPath);
return(output);
}
function newSprite(newSettings, newTarget, newName, newDepth, cache) {
function getResolvedCharset(charset) {
if (_this.getResolvedCharset) {
return(_this.getResolvedCharset(charset) || (charset));
}
return(charset);
}
function updateOnce(func, delay) {
var hasUpdated = false;
var interval = null;
var delay = (delay || 0);
return(function () {
if (hasUpdated === false) {
hasUpdated = true;
func.apply(null, arguments);
clearTimeout(interval);
interval = setTimeout(function () {
hasUpdated = false;
}, delay);
}
});
}
function make_detectChangePosition() {
var old_pos = {x:_this._x, y:_this._y};
return(function () {
var _local1 = {x:_this._x, y:_this._y};
if ((!(_local1.x === old_pos.x)) || (!(_local1.y === old_pos.y))) {
_this.broadcastMessage("changePosition", {oldValue:old_pos, newValue:_local1});
old_pos.x = _local1.x;
old_pos.y = _local1.y;
return(true);
}
return(false);
});
}
function getDelayMs(delay) {
if (delay === undefined) {
delay = _this.internal.delay;
}
return(Math.floor((1000 / _this.fps) * delay));
}
function makeManualLoop() {
var delayCounter = 0;
return(function () {
if (_this.placeHolder_pic) {
delayCounter = _this.internal.delay;
return(undefined);
}
if (delayCounter <= 0) {
_this.loop();
delayCounter = _this.internal.delay;
}
delayCounter--;
});
}
function callOnNextFrame(callThis) {
setTimeout(function () {
callThis();
}, getDelayMs(_this.internal.delay));
}
newTarget = (newTarget ? (newTarget) : this);
newName = (newName ? (newName) : ("sprite_" + Math.floor(Math.random() * 9999)));
while (newTarget[newName]) {
newName = "sprite_" + Math.floor(Math.random() * 9999);
}
if (_global.nextDepth === undefined) {
_global.nextDepth = function (this_mc, maxDepth, minDepth) {
this_mc = (this_mc ? (this_mc) : _root);
var _local4 = ((minDepth != undefined) ? (minDepth) : 1);
var _local5 = (maxDepth ? (maxDepth) : 1048500);
for (var _local6 in this_mc) {
var _local2 = this_mc[_local6].getDepth();
if ((_local2 < _local5) && (_local2 >= _local4)) {
_local4 = _local2 + 1;
}
}
return(_local4);
};
}
var vow_version = 3.9;
var _local28 = function () {
function forEach(array, callback) {
var _local1 = 0;
while (_local1 < array.length) {
callback(array[_local1], _local1);
_local1++;
}
}
function enlighten(queue, fate) {
forEach(queue, function (func) {
setTimeout(function () {
func(fate);
}, 0);
});
}
var _local12 = vow_version;
var vow_output = {version:_local12, make:function () {
function enqueue(resolution, func, vow) {
var _local2 = ((resolution === "kept") ? (keepers) : (breakers));
var isBroken = Boolean(_local2 === breakers);
_local2[_local2.length] = ((!(typeof(func) === "function")) ? (vow[resolution]) : (function (value) {
try {
_local1 = func(value)_local1if (_local1 && (_local1.is_promise === true)) {
if (isBroken) {
_local1.then(vow.doBreak, vow.doBreak)} else {
_local1.then(vow.keep, vow.doBreak)}
} else {
if (isBroken) {
vow.doBreak(_local1)}
if (!isBroken) {
vow.keep(_local1)}
}
} catch(e) {
vow.doBreak(e)}
}));
}
function herald(state, value, queue) {
if (!(status === "pending")) {
return(undefined);
}
fate = value;
status = state;
enlighten(queue, fate);
keepers = [];
breakers = [];
}
function get_then() {
return(set_then);
}
var breakers = [];
var fate = undefined;
var keepers = [];
var status = "pending";
var promise = {version:vow_output.version, is_promise:true, getStatus:function () {
return(status);
}, getValue:function () {
return(fate);
}, doBreak:function (value) {
herald("broken", value, breakers);
return(this.promise);
}, keep:function (value) {
herald("kept", value, keepers);
return(this.promise);
}};
var set_then = function (kept, broken) {
var _local1 = VOW.make();
switch (status) {
case "pending" :
enqueue("kept", kept, _local1);
enqueue("break", broken, _local1);
break;
case "kept" :
enqueue("kept", kept, _local1);
enlighten(keepers, fate);
keepers = [];
break;
case "broken" :
enqueue("break", broken, _local1);
enlighten(breakers, fate);
breakers = [];
}
return(_local1);
};
promise.addProperty("then", get_then, set_then);
promise.promise = promise;
return(promise);
}, every:function (array) {
var remaining = array.length;
var results = [];
var vow = VOW.make();
if (!remaining) {
vow.keep([]);
} else {
forEach(array, function (promise, i) {
promise.then(function (value) {
results[i] = value;
remaining--;
if (remaining === 0) {
vow.keep(results);
}
}, function (reason) {
remaining = null;
vow.doBreak(reason);
});
});
}
return(vow.promise);
}, everyTried:function (array) {
var remaining = array.length;
var results = [];
var vow = VOW.make();
if (!remaining) {
vow.keep([]);
} else {
forEach(array, function (promise, i) {
promise.then(function (value) {
results[i] = value;
remaining--;
if (remaining === 0) {
vow.keep(results);
}
}, function (failReason) {
results[i] = undefined;
remaining--;
if (remaining === 0) {
vow.keep(results);
}
});
});
}
return(vow.promise);
}, first:function (array) {
function check() {
remaining--;
if ((remaining === 0) && (!found)) {
vow.doBreak();
}
}
var found = false;
var remaining = array.length;
var vow = VOW.make();
if (remaining === 0) {
vow.doBreak(array);
} else {
forEach(array, function (promise) {
promise.then(function (value) {
if (!found) {
found = true;
vow.keep(value);
}
check();
}, check);
});
}
return(vow.promise);
}, kept:function (value) {
var _local1 = VOW.make();
_local1.keep(value);
return(_local1.promise);
}, broken:function (reason) {
var _local1 = VOW.make();
_local1.doBreak(reason);
return(_local1.promise);
}, wait:function (milliseconds) {
var _local1 = function (input) {
var vow = VOW.make();
var milliseconds = ((milliseconds === undefined) ? 0 : (milliseconds));
setTimeout(function () {
vow.keep(input);
}, milliseconds);
return(vow.promise);
};
return(_local1);
}, firstWait:function (milliseconds) {
var vow = VOW.make();
milliseconds = ((milliseconds === undefined) ? 0 : (milliseconds));
setTimeout(function () {
vow.keep({});
}, milliseconds);
return(vow.promise);
}, start:function (value) {
var _local1 = VOW.make();
_local1.keep(value);
return(_local1.promise);
}, runSequence:function (sequence) {
var _local4 = VOW.make().keep();
var _local1 = 0;
while (_local1 < sequence.length) {
var _local3 = sequence[_local1];
var _local2 = _local4.then(_local3);
if (!(_local2.is_promise === true)) {
_local2 = VOW.kept();
}
_local4 = _local2;
_local1++;
}
var _local6 = _local4;
return(_local6);
}, wrap:function (func, callbackIndex) {
if (callbackIndex === undefined) {
var callbackIndex = 0;
}
return(function () {
var vow = VOW.make();
if (callbackIndex === undefined) {
var callbackIndex = (arguments.length - 1);
}
arguments[callbackIndex] = function (output) {
vow.keep(output);
};
func.apply(this, arguments);
return(vow.promise);
});
}, preApply:function (func, param) {
var args = arguments.slice(1);
return(function () {
return(func.apply(null, args));
});
}, failThru:function (failReason) {
return(failReason);
}, null:null};
vow_output.any = (vow_output.allResolved = vow_output.everyTried);
return(vow_output);
};
var VOW = _local28();
delete vow_version;
newDepth = ((newDepth != undefined) ? (newDepth) : (nextDepth(newTarget)));
var _this = newTarget.createEmptyMovieClip(newName, newDepth);
if (!_this.addListener) {
AsBroadcaster.initialize(_this);
}
_this.is_sprite = true;
_this.useInterval = true;
_this.loopInterval = undefined;
_this.cache = cache;
var send_update_event = updateOnce(function () {
_this.broadcastMessage("update", {sprite:_this, bitmap:_this.image_pic});
}, 33);
_this.internal = {charset:"", direction:0, directions:1, frame:0, frames:1, pose:0, columns:1, rows:1, animType:"loop", animDirection:1, delay:4, isAnimating:true};
_this.copy = new flash.geom.Rectangle(0, 0, 16, 16);
_this.paste = new flash.geom.Point(0, 0);
_this.delayCounter = 0;
_this.loadNewCharset = function (file, callback) {
var _local1 = false;
var isUsingAutoLoop = _this.useInterval;
var _local4 = getResolvedCharset(file);
var _local9 = file instanceof flash.display.BitmapData;
var _local8 = _local9 || (_local4.indexOf(".png") > -1);
if (!_local8) {
return(callback(_this.charset_pic || null));
}
var _local6 = function (new_pic) {
var _local1 = _this.charset_pic;
_this.charset_pic = new_pic;
_this.broadcastMessage("changeCharset", {bitmap:_this.charset_pic});
_this.changeCharset(_this.charset_pic);
callback(_this.charset_pic);
_local1.dispose();
if (isUsingAutoLoop) {
clearTimeout(_this.loopInterval);
_this.loopInterval = setTimeout(function () {
_this.loopSelf();
}, getDelayMs(_this.internal.delay));
}
};
var copyMovieClip = function () {
var _local1 = _this.charset_pic;
_this.loader_mc._xscale = (_this.loader_mc._yscale = 100);
_this.charset_pic = new flash.display.BitmapData(_this.loader_mc._width, _this.loader_mc._height, true, 0);
_this.charset_pic.draw(_this.loader_mc);
_this.loader_mc._xscale = (_this.loader_mc._yscale = 1);
_this.loader_mc.removeMovieClip();
_this.broadcastMessage("changeCharset", {bitmap:_this.charset_pic});
_this.changeCharset(_this.charset_pic);
callback(_this.charset_pic);
_local1.dispose();
if (isUsingAutoLoop) {
clearTimeout(_this.loopInterval);
_this.loopInterval = setTimeout(function () {
_this.loopSelf();
}, getDelayMs(_this.internal.delay));
}
};
if (file.generateFilterRect != undefined) {
_local6(file.clone());
return(undefined);
}
var _local5 = flash.display.BitmapData.loadBitmap(file);
_local1 = Boolean(!(_local5.generateFilterRect === undefined));
if (_local1) {
_local6(_local5);
return(undefined);
}
_this.showPlaceHolder();
_this.broadcastMessage("onNewBitmap", {bitmap:_this.image_pic.clone()});
_this.charset_pic_bk = _this.charset_pic.clone();
_this.charset_pic.dispose();
if (isUsingAutoLoop) {
clearTimeout(_this.loopInterval);
_this.loopInterval = undefined;
}
_this.loader_mc = _this.attachMovie(_local4, "loader_mc", 0, {_xscale:1, _yscale:1, _visible:false});
_local1 = Boolean(_this.loader_mc != undefined);
if (_local1) {
copyMovieClip();
_this.hidePlaceHolder();
_this.charset_pic_bk.dispose();
_this.charset_pic_bk = null;
return(undefined);
}
_this.loader_mc = _this.createEmptyMovieClip("loader_mc", 0);
_this.loader_mc._visible = false;
_this.loader_mc._xscale = (_this.loader_mc._yscale = 1);
var _local2 = new MovieClipLoader();
_local2.onLoadComplete = function () {
_this.loader_mc._visible = false;
};
_local2.onLoadInit = function () {
copyMovieClip();
_this.hidePlaceHolder();
_this.charset_pic_bk.dispose();
_this.charset_pic_bk = null;
return(undefined);
};
_local2.onLoadError = function () {
_this.broadcastMessage("loadCharsetError");
_this.loadCharsetError();
_this.hidePlaceHolder();
_this.charset_pic = _this.charset_pic_bk;
_this.charset_pic_bk = null;
callback(_this.charset_pic || null);
_this.update();
if (isUsingAutoLoop) {
clearTimeout(_this.loopInterval);
_this.loopInterval = setTimeout(function () {
_this.loopSelf();
}, getDelayMs(_this.internal.delay));
}
};
_local2.loadClip(_local4, _this.loader_mc);
};
_this.old_charset_pic;
_this.setSpriteSize = function (doUpdate) {
var _local3 = false;
var _local6 = _this.spriteWidth;
var _local5 = _this.spriteHeight;
_this.spriteWidth = Math.floor((_this.charset_pic.width / _this.internal.columns) / _this.internal.frames);
_this.spriteHeight = Math.floor((_this.charset_pic.height / _this.internal.rows) / _this.internal.directions);
if (_this.spriteWidth > 0) {
if (!(_this.old_charset_pic.width === _this.charset_pic.width)) {
doUpdate = true;
}
if (!(_this.old_charset_pic.height === _this.charset_pic.height)) {
doUpdate = true;
}
if (!(_this.spriteWidth === _local6)) {
doUpdate = true;
}
if (!(_this.spriteHeight === _local5)) {
doUpdate = true;
}
if (doUpdate) {
var _local4 = _this.image_pic;
_this.image_pic = new flash.display.BitmapData(_this.spriteWidth, _this.spriteHeight, true, 0);
_this.image_mc = _this.createEmptyMovieClip("image_mc", 1);
var _local2 = _this.getDisplayPosition();
_this.image_mc._x = _local2.x;
_this.image_mc._y = _local2.y;
_this.image_mc.attachBitmap(_this.image_pic, 0);
_this.copy.width = _this.spriteWidth;
_this.copy.height = _this.spriteHeight;
_this.update();
_local3 = true;
_this.updateMask();
_this.broadcastMessage("onNewBitmap", {bitmap:_this.image_pic});
_local4.dispose();
}
_this.old_charset_pic = _this.charset_pic;
}
return(_local3);
};
_this.update = function () {
if (_this.spriteWidth > 0) {
var _local3 = _this.internal.pose % _this.internal.columns;
var _local2 = _this.spriteWidth * _this.internal.frames;
var _local7 = _local3 * _local2;
var _local4 = _this.internal.frame * _this.spriteWidth;
_this.copy.x = _local7 + _local4;
var _local5 = Math.floor(_this.internal.pose / _this.internal.columns);
var _local1 = _this.spriteHeight * _this.internal.directions;
var _local6 = _local5 * _local1;
var _local8 = _this.internal.direction * _this.spriteHeight;
_this.copy.y = _local6 + _local8;
_this.image_pic.copyPixels(_this.charset_pic, _this.copy, _this.paste);
send_update_event();
}
};
_this.advanceFrame = function () {
if (_this.placeHolder_pic) {
return(undefined);
}
if (_this.internal.frames > 1) {
_this.internal.frame = _this.internal.frame + _this.internal.animDirection;
if (_this.internal.animType == "yoyo") {
if (_this.internal.frame >= _this.internal.frames) {
_this.internal.frame = _this.internal.frames - 1;
_this.internal.animDirection = _this.internal.animDirection * -1;
if (_this.internal.frame > 0) {
_this.internal.frame = _this.internal.frame + _this.internal.animDirection;
}
_this.broadcastMessage("animDone");
_this.animDone();
} else if (_this.internal.frame <= -1) {
_this.internal.frame = 0;
_this.internal.animDirection = _this.internal.animDirection * -1;
if (_this.internal.frame < (_this.internal.frames - 1)) {
_this.internal.frame = _this.internal.frame + _this.internal.animDirection;
}
_this.broadcastMessage("animDone");
_this.animDone();
}
} else if (_this.internal.animType == "loop") {
var _local1 = _this.internal.frame;
while (_this.internal.frame < 0) {
_this.internal.frame = _this.internal.frame + _this.internal.frames;
}
_this.internal.frame = _this.internal.frame % _this.internal.frames;
if (_local1 >= _this.internal.frames) {
_this.broadcastMessage("animDone");
_this.animDone();
} else if (_local1 <= -1) {
_this.broadcastMessage("animDone");
_this.animDone();
}
} else if (_this.internal.animType == "once") {
if (_this.internal.frame >= _this.internal.frames) {
_this.internal.frame = 0;
} else if (_this.internal.frame <= -1) {
_this.internal.frame = _this.internal.frames - 1;
} else if ((_this.internal.animDirection > 0) && (_this.internal.frame == (_this.internal.frames - 1))) {
_this.internal.isAnimating = false;
callOnNextFrame(function () {
_this.broadcastMessage("animDone");
_this.animDone();
});
} else if ((_this.internal.animDirection < 0) && (_this.internal.frame == 0)) {
_this.internal.isAnimating = false;
callOnNextFrame(function () {
_this.broadcastMessage("animDone");
_this.animDone();
});
}
}
} else {
_this.internal.frame = 0;
}
};
_this.getDisplayPosition = function () {
var _local1 = {x:(-_this.spriteWidth) / 2, y:-_this.spriteHeight};
return(_local1);
};
_this.getParams = function () {
var _local1 = {};
for (var _local2 in _this.internal) {
_local1[_local2] = _this.internal[_local2];
}
return(_local1);
};
_this.getParam = function (nam) {
return(_this.internal[nam]);
};
_this.setParams = function (new_settings) {
var update_vow = VOW.make();
var detectStopAnim = function () {
if ((_this.internal.isAnimating == true) && (new_settings.isAnimating === false)) {
applyStopFrame();
}
};
var checkDirection = function () {
var _local1 = ((!(new_settings.directions === undefined)) ? (new_settings.directions) : (_this.internal.directions));
_this.internal.direction = _this.getDirectionValue(_this.internal.direction, _local1);
};
var checkDelay = function () {
if (_this.internal.delay <= 0) {
_this.internal.delay = 1;
}
};
var checkPose = function () {
var _local1 = _this.internal.columns * _this.internal.rows;
if (_this.internal.pose >= _local1) {
_this.internal.pose = 0;
}
};
var checkFrame = function () {
if (_this.internal.frame >= _this.internal.frames) {
applyStopFrame();
}
};
var applyStopFrame = function () {
if (_this.internal.frames == 3) {
_this.internal.frame = 1;
} else {
_this.internal.frame = 0;
}
};
var _local6 = function () {
detectStopAnim();
var _local5 = _this.internal.direction;
for (var _local3 in new_settings) {
var _local7 = new_settings[_local3];
var _local2 = (_local7 === true) || (_local7 === false);
var _local1 = Boolean(!isNaN(_local7)) && (!_local2);
if (_local1) {
_this.internal[_local3] = Number(_local7);
} else {
_this.internal[_local3] = _local7;
}
}
checkDirection();
checkFrame();
checkDelay();
checkPose();
var _local4 = _this.internal.direction;
var _local6 = !(_local5 === _local4);
if (_local6) {
_this.broadcastMessage("changeDirection", {oldValue:_local5, newValue:_local4, total:_this.internal.directions});
}
};
var _local14 = new_settings.charset != _this.internal.charset;
if (new_settings.charset && (_local14)) {
var _local5 = Boolean(!(_this.cache[new_settings.charset].generateFilterRect === undefined));
if (!_this.cache[new_settings.charset].width) {
_local5 = false;
}
var _local8 = _this.cache[new_settings.charset].clone();
var _local11 = (_local5 ? (_local8) : (new_settings.charset));
var _local9 = function (newCharset_pic) {
var _local1 = _this.setSpriteSize();
if (!_this.placeHolder_pic) {
_this.update();
}
update_vow.keep(new_settings);
};
_local6();
_this.loadNewCharset(_local11, _local9);
} else {
_local6();
var _local18 = _this.setSpriteSize();
if (!_this.placeHolder_pic) {
_this.update();
}
update_vow.keep(new_settings);
}
return(update_vow.promise);
};
_this.showPlaceHolder = function () {
var _local1 = Boolean(_this.image_pic.width > 0);
if (!_local1) {
return(false);
}
var _local2 = _this.placeHolder_pic;
_this.placeHolder_mc = _this.createEmptyMovieClip("placeHolder_mc", 2);
_this.placeHolder_mc._x = (-_this.spriteWidth) / 2;
_this.placeHolder_mc._y = -_this.spriteHeight;
_this.placeHolder_pic = _this.image_pic.clone();
_this.placeHolder_mc.attachBitmap(_this.placeHolder_pic, 0);
_this.image_mc._visible = false;
_local2.dispose();
return(true);
};
_this.hidePlaceHolder = function () {
var _local1 = _this.placeHolder_pic;
_this.placeHolder_mc.removeMovieClip();
_this.image_mc._visible = true;
_local1.dispose();
delete _this.placeHolder_pic;
return(true);
};
_this.isVisible = function () {
var _local1 = _this._visible && (_this._parent._visible);
var _local2 = (_this._alpha > 0) && (_this._parent._alpha > 0);
return(_local1 && (_local2));
};
var detectChangePosition = make_detectChangePosition();
_this.lookAtCoords = function () {
var _local2 = {direction:_this.getParam("direction")};
var _local6 = arguments[0];
var _local5 = arguments[1];
var _local4 = _local6 - _this._parent._x;
var _local3 = _local5 - _this._parent._y;
if (Math.abs(_local3) > Math.abs(_local4)) {
if (_local3 < 0) {
_local2 = {direction:"up"};
_this.setParams(_local2);
} else {
_local2 = {direction:"down"};
_this.setParams(_local2);
}
} else if (_local4 < 0) {
_local2 = {direction:"left"};
_this.setParams(_local2);
} else {
_local2 = {direction:"right"};
_this.setParams(_local2);
}
return(_local2);
};
_this.lookAtSprite = function (clip2) {
return(_this.lookAtCoords(clip2._x, clip2._y));
};
_this.lookAt = function (sprite1, sprite2) {
var _local1 = {direction:_this.getParam("direction")};
var _local3 = sprite2._x - sprite1._x;
var _local2 = sprite2._y - sprite1._y;
var _local4 = Math.sqrt((_local3 * _local3) + (_local2 * _local2));
var _local5 = _local3 / _local4;
var _local6 = _local2 / _local4;
if (Math.abs(_local6) > Math.abs(_local5)) {
if (_local6 < 0) {
_local1 = {direction:"up"};
_this.setParams(_local1);
} else {
_local1 = {direction:"down"};
_this.setParams(_local1);
}
} else if (_local5 < 0) {
_local1 = {direction:"left"};
_this.setParams(_local1);
} else {
_local1 = {direction:"right"};
_this.setParams(_local1);
}
return(_local1);
};
_this.isFacing = function (checkDir) {
checkDir = _this.getDirectionValue(checkDir, _this.internal.directions);
return(_this.internal.direction == checkDir);
};
_this.getDisplayBitmap = function () {
return(_this.image_pic);
};
_this.getReadyPromise = function () {
return(_this.ready_prom);
};
_this.getBitmap = function () {
return(_this.charset_pic.clone());
};
_this.getDirectionValue = function (input, totalDirections) {
if (totalDirections === undefined) {
totalDirections = Number(_this.internal.directions) || 1;
}
if ((typeof(input) === "string") && (!isNaN(input))) {
return(Number(input));
}
var _local1 = Number(input) || 0;
if (typeof(input) === "string") {
_local1 = input.toLowerCase();
var _local4 = totalDirections / 4;
if (_local1 == "up") {
_local1 = 0;
} else if (_local1 == "right") {
_local1 = Math.floor(1 * _local4);
} else if (_local1 == "down") {
_local1 = Math.floor(2 * _local4);
} else if (_local1 == "left") {
_local1 = Math.floor(3 * _local4);
}
_local1 = Number(_local1);
}
while (_local1 < 0) {
_local1 = _local1 + totalDirections;
}
_local1 = _local1 % totalDirections;
return(_local1);
};
_this.set_charset = function (new_charset, newThis, callback) {
_this.loadNewCharset(new_charset, callback);
};
_this.set_direction = function (new_dir) {
_this.setParams({direction:new_dir});
};
_this.mask_mc = _this.createEmptyMovieClip("mask_mc", 3);
_this.mask_mc.beginFill(16711680, 0);
_this.mask_mc.lineTo(16, 0);
_this.mask_mc.lineTo(16, 16);
_this.mask_mc.lineTo(0, 16);
_this.mask_mc.lineTo(0, 0);
_this.mask_mc.endFill();
_this.updateMask = function () {
_this.mask_mc._x = (-_this.spriteWidth) / 2;
_this.mask_mc._y = -_this.spriteHeight;
_this.mask_mc._width = _this.spriteWidth;
_this.mask_mc._height = _this.spriteHeight;
};
var isFirstTime = true;
_this.fps = 30;
_this.loop = function () {
if (_this.internal.isAnimating && (_this.isVisible())) {
if (isFirstTime === false) {
_this.advanceFrame();
}
_this.update();
}
detectChangePosition();
isFirstTime = false;
};
_this.loop();
_this.loopSelf = function () {
if (!(_this.useInterval === true)) {
return(undefined);
}
var _local1 = _this._name != "";
if (_local1) {
_this.loop();
clearTimeout(_this.loopInterval);
_this.loopInterval = setTimeout(function () {
_this.loopSelf();
}, getDelayMs(_this.internal.delay));
} else {
_this.loopSelf = null;
delete _this.loopSelf;
}
};
_this.manualLoop = makeManualLoop();
_this.ready_prom = _this.setParams(newSettings);
_this.onUnload = function () {
if (_this.loopInterval != undefined) {
clearTimeout(_this.loopInterval);
_this.loopInterval = undefined;
}
_this.broadcastMessage("unload");
for (var _local1 in _this._listeners) {
_this._listeners[_local1] = null;
}
_this._listeners = [];
};
return(_this);
}
function abortScript(scriptName) {
if (!scriptName) {
return(undefined);
}
_this.scripts[scriptName].abort();
}
function make_avoidLoopPanic(additionalCalls) {
if (isNaN(additionalCalls)) {
additionalCalls = 0;
}
var _local1 = 4 + additionalCalls;
var thresh = Math.floor(256 / _local1);
var calls = 0;
var func_list = [];
return(function (func) {
trace("AVOID_LOOP_PANIC()");
func_list.push(func);
calls++;
if (calls < thresh) {
func_list.shift()();
} else {
setTimeout(function () {
calls = 0;
func_list.shift()();
}, 0);
}
});
}
function getImpliedValue(input) {
var _local2;
if ((input == "undefined") || (input == undefined)) {
_local2 = undefined;
} else if ((input == "true") || (input === true)) {
_local2 = Boolean(true);
} else if ((input == "false") || (input === false)) {
_local2 = Boolean(false);
} else if (isNaN(input) == false) {
_local2 = Number(input);
} else {
_local2 = input;
}
return(_local2);
}
function resolveContainerStr(containerName, thisName) {
thisName = ((typeof(thisName) === "string") ? (thisName) : "this");
var _local2 = null;
if (containerName == "this") {
_local2 = thisName;
}
if (containerName == "_root") {
_local2 = "_root";
}
if (containerName == "_level0") {
_local2 = "_root";
}
if (containerName == "_global") {
_local2 = "_global";
}
if (_global[containerName] && (_global[containerName] instanceof Object)) {
_local2 = containerName;
}
return(_local2);
}
function resolveContainer(containerName, thisRef) {
if (typeof(thisRef) === "string") {
thisRef = _this || this;
}
var _local4 = _global[containerName];
if (containerName == "this") {
_local4 = thisRef;
}
if (containerName == "_root") {
_local4 = _root;
}
if (containerName == "_level0") {
_local4 = _root;
}
if (containerName == "_global") {
_local4 = _global;
}
return(_local4);
}
function evalPath(inputPath, defaultContainer_str, thisName) {
var thisScope = this;
var thisName = (thisName || "this");
if (typeof(inputPath) == "string") {
if (!defaultContainer_str) {
var defaultContainer_str = ((typeof(thisName) === "string") ? (thisName) : "this");
}
var endAt = inputPath.indexOf(".");
if (endAt == -1) {
endAt = inputPath.length;
}
var container_str = inputPath.substr(0, endAt);
var container_str = resolveContainerStr(container_str, thisName);
if (!container_str) {
var container_str = defaultContainer_str;
endAt = -1;
}
var theRest = inputPath.substr(endAt + 1);
var fullPath = (theRest ? ((container_str + ".") + theRest) : (container_str));
var paramStart = fullPath.indexOf("(");
if (paramStart != -1) {
var paramEnd = fullPath.indexOf(")", paramStart + 1);
var param = fullPath.substring(paramStart + 1, paramEnd);
var functionPath = fullPath.substr(0, paramStart);
var thisFunction = eval (functionPath);
var param_array = String(param).split(",");
var i = 0;
while (i < param_array.length) {
param_array[i] = getImpliedValue(param_array[i]);
i++;
}
var output = thisFunction.apply(thisScope, param_array);
} else {
var output = eval (fullPath);
}
} else {
var output = inputPath;
}
return(output);
}
function nestedEval(inputPath, defaultContainer_str, thisName) {
function replaceLastBracket(inputPath) {
function openBracketCloseParam() {
var _local2 = thisPath.indexOf(")");
var _local4 = thisPath.indexOf("(");
var _local1 = thisPath.indexOf("]");
var _local3 = ((_local1 === -1) || (_local2 < _local1)) && (_local4 === -1);
if (_local2 === -1) {
_local3 = false;
}
if (!_local3) {
return(false);
}
output = (placeHolderMarker + "xx") + thisPath.substr(1);
return(true);
}
function openBracketOpenParam() {
var _local3 = thisPath.indexOf("(");
var _local4 = thisPath.indexOf("]");
var _local10 = ((_local4 === -1) || (_local3 < _local4)) && (_local3 > -1);
if (!_local10) {
return(false);
}
var _local5 = thisPath.substring(1, _local3);
_local5 = resolve(_local5);
var _local6 = evalPath(_local5, defaultContainer_str, thisName);
var _local11 = _local6 instanceof Function;
if (_local11) {
var _local7 = thisPath.indexOf(")", _local3);
var _local9 = thisPath.substring(_local3 + 1, _local7);
var _local2 = _local9.split(",");
params_ary = [];
var _local1 = 0;
while (_local1 < _local2.length) {
params_ary[_local1] = resolve(_local2[_local1]);
_local1++;
}
var _local8 = _local6.apply(thisScope, params_ary);
var _local12 = thisPath.substr(_local4 + 1);
var _local13 = setPlaceHolder(_local8);
output = _local13 + _local12;
return(true);
}
var _local12 = thisPath.substr(_local4 + 1);
trace(("ERROR: " + _local5) + " is not a function!");
output = _local12;
return(true);
}
function openBracketCloseBracket() {
var _local1 = thisPath.indexOf("]");
var _local2 = _local1 > -1;
if (!_local2) {
return(false);
}
var _local5 = thisPath.substr(_local1 + 1);
var _local4 = thisPath.substring(1, _local1);
var _local3 = evalPath(resolve(_local4), defaultContainer_str, thisName);
var _local6 = setPlaceHolder(_local3);
output = _local6 + _local5;
return(true);
}
var _local6 = inputPath.lastIndexOf("[");
var _local15 = inputPath.substr(0, _local6);
var thisPath = inputPath.substr(_local6);
var output = thisPath.substr(1);
if (openBracketCloseParam()) {
} else if (openBracketOpenParam()) {
} else if (openBracketCloseBracket()) {
}
return(_local15 + output);
}
function resolve(inputPath) {
var _local8 = placeHolderLength - 1;
var _local7 = inputPath.split(placeHolderMarker);
var _local5 = [];
_local5[0] = _local7[0];
var _local1 = 1;
while (_local1 < _local7.length) {
var _local3 = _local7[_local1];
var _local6 = _local3.substr(0, _local8);
var _local2 = getPlaceHolder(_local6);
var _local4 = _local3.substr(_local8);
if (_local4.length > 0) {
_local5[_local1] = String(_local2) + _local4;
} else {
_local5[_local1] = _local2;
}
_local1++;
}
if ((_local5.length === 2) && (_local5[0] === "")) {
return(_local5[1]);
}
return(_local5.join(""));
}
function setPlaceHolder(storeThisValue) {
resolvedValues.push(storeThisValue);
var _local3 = resolvedValues.length - 1;
var _local1 = String(_local3);
var _local2 = placeHolderLength - 1;
while (_local1.length < _local2) {
_local1 = "0" + _local1;
}
return(placeHolderMarker + _local1);
}
function getPlaceHolder(id_str) {
var _local2 = !isNaN(id_str);
if (_local2) {
var _local3 = Number(id_str);
return(resolvedValues[_local3]);
}
return(resolvedValues[id_str]);
}
var thisScope = this;
var _local24 = typeof(inputPath);
var _local21 = _local24 === "string";
if (!_local21) {
return(inputPath);
}
var placeHolderMarker = "\u00B6";
var placeHolderLength = 3;
var resolvedValues = [];
resolvedValues.xx = "[";
while (inputPath.indexOf("[") > -1) {
inputPath = replaceLastBracket(inputPath);
}
var output = resolve(inputPath);
return(output);
}
function getImpliedValue(input) {
var _local2;
if ((input == "undefined") || (input == undefined)) {
_local2 = undefined;
} else if ((input == "true") || (input === true)) {
_local2 = Boolean(true);
} else if ((input == "false") || (input === false)) {
_local2 = Boolean(false);
} else if (isNaN(input) == false) {
_local2 = Number(input);
} else {
_local2 = input;
}
return(_local2);
}
function resolveContainerStr(containerName, thisName) {
thisName = ((typeof(thisName) === "string") ? (thisName) : "this");
var _local2 = null;
if (containerName == "this") {
_local2 = thisName;
}
if (containerName == "_root") {
_local2 = "_root";
}
if (containerName == "_level0") {
_local2 = "_root";
}
if (containerName == "_global") {
_local2 = "_global";
}
if (_global[containerName] && (_global[containerName] instanceof Object)) {
_local2 = containerName;
}
return(_local2);
}
function resolveContainer(containerName, thisRef) {
if (typeof(thisRef) === "string") {
thisRef = _this || this;
}
var _local4 = _global[containerName];
if (containerName == "this") {
_local4 = thisRef;
}
if (containerName == "_root") {
_local4 = _root;
}
if (containerName == "_level0") {
_local4 = _root;
}
if (containerName == "_global") {
_local4 = _global;
}
return(_local4);
}
function evalPath(inputPath, defaultContainer_str, thisName) {
var thisScope = this;
var thisName = (thisName || "this");
if (typeof(inputPath) == "string") {
if (!defaultContainer_str) {
var defaultContainer_str = ((typeof(thisName) === "string") ? (thisName) : "this");
}
var endAt = inputPath.indexOf(".");
if (endAt == -1) {
endAt = inputPath.length;
}
var container_str = inputPath.substr(0, endAt);
var container_str = resolveContainerStr(container_str, thisName);
if (!container_str) {
var container_str = defaultContainer_str;
endAt = -1;
}
var theRest = inputPath.substr(endAt + 1);
var fullPath = (theRest ? ((container_str + ".") + theRest) : (container_str));
var paramStart = fullPath.indexOf("(");
if (paramStart != -1) {
var paramEnd = fullPath.indexOf(")", paramStart + 1);
var param = fullPath.substring(paramStart + 1, paramEnd);
var functionPath = fullPath.substr(0, paramStart);
var thisFunction = eval (functionPath);
var param_array = String(param).split(",");
var i = 0;
while (i < param_array.length) {
param_array[i] = getImpliedValue(param_array[i]);
i++;
}
var output = thisFunction.apply(thisScope, param_array);
} else {
var output = eval (fullPath);
}
} else {
var output = inputPath;
}
return(output);
}
function nestedEval(inputPath, defaultContainer_str, thisName) {
function replaceLastBracket(inputPath) {
function openBracketCloseParam() {
var _local2 = thisPath.indexOf(")");
var _local4 = thisPath.indexOf("(");
var _local1 = thisPath.indexOf("]");
var _local3 = ((_local1 === -1) || (_local2 < _local1)) && (_local4 === -1);
if (_local2 === -1) {
_local3 = false;
}
if (!_local3) {
return(false);
}
output = (placeHolderMarker + "xx") + thisPath.substr(1);
return(true);
}
function openBracketOpenParam() {
var _local3 = thisPath.indexOf("(");
var _local4 = thisPath.indexOf("]");
var _local10 = ((_local4 === -1) || (_local3 < _local4)) && (_local3 > -1);
if (!_local10) {
return(false);
}
var _local5 = thisPath.substring(1, _local3);
_local5 = resolve(_local5);
var _local6 = evalPath(_local5, defaultContainer_str, thisName);
var _local11 = _local6 instanceof Function;
if (_local11) {
var _local7 = thisPath.indexOf(")", _local3);
var _local9 = thisPath.substring(_local3 + 1, _local7);
var _local2 = _local9.split(",");
params_ary = [];
var _local1 = 0;
while (_local1 < _local2.length) {
params_ary[_local1] = resolve(_local2[_local1]);
_local1++;
}
var _local8 = _local6.apply(thisScope, params_ary);
var _local12 = thisPath.substr(_local4 + 1);
var _local13 = setPlaceHolder(_local8);
output = _local13 + _local12;
return(true);
}
var _local12 = thisPath.substr(_local4 + 1);
trace(("ERROR: " + _local5) + " is not a function!");
output = _local12;
return(true);
}
function openBracketCloseBracket() {
var _local1 = thisPath.indexOf("]");
var _local2 = _local1 > -1;
if (!_local2) {
return(false);
}
var _local5 = thisPath.substr(_local1 + 1);
var _local4 = thisPath.substring(1, _local1);
var _local3 = evalPath(resolve(_local4), defaultContainer_str, thisName);
var _local6 = setPlaceHolder(_local3);
output = _local6 + _local5;
return(true);
}
var _local6 = inputPath.lastIndexOf("[");
var _local15 = inputPath.substr(0, _local6);
var thisPath = inputPath.substr(_local6);
var output = thisPath.substr(1);
if (openBracketCloseParam()) {
} else if (openBracketOpenParam()) {
} else if (openBracketCloseBracket()) {
}
return(_local15 + output);
}
function resolve(inputPath) {
var _local8 = placeHolderLength - 1;
var _local7 = inputPath.split(placeHolderMarker);
var _local5 = [];
_local5[0] = _local7[0];
var _local1 = 1;
while (_local1 < _local7.length) {
var _local3 = _local7[_local1];
var _local6 = _local3.substr(0, _local8);
var _local2 = getPlaceHolder(_local6);
var _local4 = _local3.substr(_local8);
if (_local4.length > 0) {
_local5[_local1] = String(_local2) + _local4;
} else {
_local5[_local1] = _local2;
}
_local1++;
}
if ((_local5.length === 2) && (_local5[0] === "")) {
return(_local5[1]);
}
return(_local5.join(""));
}
function setPlaceHolder(storeThisValue) {
resolvedValues.push(storeThisValue);
var _local3 = resolvedValues.length - 1;
var _local1 = String(_local3);
var _local2 = placeHolderLength - 1;
while (_local1.length < _local2) {
_local1 = "0" + _local1;
}
return(placeHolderMarker + _local1);
}
function getPlaceHolder(id_str) {
var _local2 = !isNaN(id_str);
if (_local2) {
var _local3 = Number(id_str);
return(resolvedValues[_local3]);
}
return(resolvedValues[id_str]);
}
var thisScope = this;
var _local24 = typeof(inputPath);
var _local21 = _local24 === "string";
if (!_local21) {
return(inputPath);
}
var placeHolderMarker = "\u00B6";
var placeHolderLength = 3;
var resolvedValues = [];
resolvedValues.xx = "[";
while (inputPath.indexOf("[") > -1) {
inputPath = replaceLastBracket(inputPath);
}
var output = resolve(inputPath);
return(output);
}
function sendEvent(evt_str, evt, evtEmitter) {
evtEmitter = (evtEmitter || (_this)) || this;
var _local4 = evt instanceof Object;
if (_local4 === false) {
evt = {data:evt};
}
evt.type = evt_str;
if (evtEmitter.dispatchEvent) {
evt.type = evt_str;
evtEmitter.dispatchEvent(evt);
} else if (evtEmitter.broadcastMessage) {
evtEmitter.broadcastMessage(evt_str, evt);
}
}
function getImpliedValue(input) {
var _local2;
if ((input == "undefined") || (input == undefined)) {
_local2 = undefined;
} else if ((input == "true") || (input === true)) {
_local2 = Boolean(true);
} else if ((input == "false") || (input === false)) {
_local2 = Boolean(false);
} else if (isNaN(input) == false) {
_local2 = Number(input);
} else {
_local2 = input;
}
return(_local2);
}
function resolveContainerStr(containerName, thisName) {
thisName = ((typeof(thisName) === "string") ? (thisName) : "this");
var _local2 = null;
if (containerName == "this") {
_local2 = thisName;
}
if (containerName == "_root") {
_local2 = "_root";
}
if (containerName == "_level0") {
_local2 = "_root";
}
if (containerName == "_global") {
_local2 = "_global";
}
if (_global[containerName] && (_global[containerName] instanceof Object)) {
_local2 = containerName;
}
return(_local2);
}
function resolveContainer(containerName, thisRef) {
if (typeof(thisRef) === "string") {
thisRef = _this || this;
}
var _local4 = _global[containerName];
if (containerName == "this") {
_local4 = thisRef;
}
if (containerName == "_root") {
_local4 = _root;
}
if (containerName == "_level0") {
_local4 = _root;
}
if (containerName == "_global") {
_local4 = _global;
}
return(_local4);
}
function evalPath(inputPath, defaultContainer_str, thisName) {
var thisScope = this;
var thisName = (thisName || "this");
if (typeof(inputPath) == "string") {
if (!defaultContainer_str) {
var defaultContainer_str = ((typeof(thisName) === "string") ? (thisName) : "this");
}
var endAt = inputPath.indexOf(".");
if (endAt == -1) {
endAt = inputPath.length;
}
var container_str = inputPath.substr(0, endAt);
var container_str = resolveContainerStr(container_str, thisName);
if (!container_str) {
var container_str = defaultContainer_str;
endAt = -1;
}
var theRest = inputPath.substr(endAt + 1);
var fullPath = (theRest ? ((container_str + ".") + theRest) : (container_str));
var paramStart = fullPath.indexOf("(");
if (paramStart != -1) {
var paramEnd = fullPath.indexOf(")", paramStart + 1);
var param = fullPath.substring(paramStart + 1, paramEnd);
var functionPath = fullPath.substr(0, paramStart);
var thisFunction = eval (functionPath);
var param_array = String(param).split(",");
var i = 0;
while (i < param_array.length) {
param_array[i] = getImpliedValue(param_array[i]);
i++;
}
var output = thisFunction.apply(thisScope, param_array);
} else {
var output = eval (fullPath);
}
} else {
var output = inputPath;
}
return(output);
}
function nestedEval(inputPath, defaultContainer_str, thisName) {
function replaceLastBracket(inputPath) {
function openBracketCloseParam() {
var _local2 = thisPath.indexOf(")");
var _local4 = thisPath.indexOf("(");
var _local1 = thisPath.indexOf("]");
var _local3 = ((_local1 === -1) || (_local2 < _local1)) && (_local4 === -1);
if (_local2 === -1) {
_local3 = false;
}
if (!_local3) {
return(false);
}
output = (placeHolderMarker + "xx") + thisPath.substr(1);
return(true);
}
function openBracketOpenParam() {
var _local3 = thisPath.indexOf("(");
var _local4 = thisPath.indexOf("]");
var _local10 = ((_local4 === -1) || (_local3 < _local4)) && (_local3 > -1);
if (!_local10) {
return(false);
}
var _local5 = thisPath.substring(1, _local3);
_local5 = resolve(_local5);
var _local6 = evalPath(_local5, defaultContainer_str, thisName);
var _local11 = _local6 instanceof Function;
if (_local11) {
var _local7 = thisPath.indexOf(")", _local3);
var _local9 = thisPath.substring(_local3 + 1, _local7);
var _local2 = _local9.split(",");
params_ary = [];
var _local1 = 0;
while (_local1 < _local2.length) {
params_ary[_local1] = resolve(_local2[_local1]);
_local1++;
}
var _local8 = _local6.apply(thisScope, params_ary);
var _local12 = thisPath.substr(_local4 + 1);
var _local13 = setPlaceHolder(_local8);
output = _local13 + _local12;
return(true);
}
var _local12 = thisPath.substr(_local4 + 1);
trace(("ERROR: " + _local5) + " is not a function!");
output = _local12;
return(true);
}
function openBracketCloseBracket() {
var _local1 = thisPath.indexOf("]");
var _local2 = _local1 > -1;
if (!_local2) {
return(false);
}
var _local5 = thisPath.substr(_local1 + 1);
var _local4 = thisPath.substring(1, _local1);
var _local3 = evalPath(resolve(_local4), defaultContainer_str, thisName);
var _local6 = setPlaceHolder(_local3);
output = _local6 + _local5;
return(true);
}
var _local6 = inputPath.lastIndexOf("[");
var _local15 = inputPath.substr(0, _local6);
var thisPath = inputPath.substr(_local6);
var output = thisPath.substr(1);
if (openBracketCloseParam()) {
} else if (openBracketOpenParam()) {
} else if (openBracketCloseBracket()) {
}
return(_local15 + output);
}
function resolve(inputPath) {
var _local8 = placeHolderLength - 1;
var _local7 = inputPath.split(placeHolderMarker);
var _local5 = [];
_local5[0] = _local7[0];
var _local1 = 1;
while (_local1 < _local7.length) {
var _local3 = _local7[_local1];
var _local6 = _local3.substr(0, _local8);
var _local2 = getPlaceHolder(_local6);
var _local4 = _local3.substr(_local8);
if (_local4.length > 0) {
_local5[_local1] = String(_local2) + _local4;
} else {
_local5[_local1] = _local2;
}
_local1++;
}
if ((_local5.length === 2) && (_local5[0] === "")) {
return(_local5[1]);
}
return(_local5.join(""));
}
function setPlaceHolder(storeThisValue) {
resolvedValues.push(storeThisValue);
var _local3 = resolvedValues.length - 1;
var _local1 = String(_local3);
var _local2 = placeHolderLength - 1;
while (_local1.length < _local2) {
_local1 = "0" + _local1;
}
return(placeHolderMarker + _local1);
}
function getPlaceHolder(id_str) {
var _local2 = !isNaN(id_str);
if (_local2) {
var _local3 = Number(id_str);
return(resolvedValues[_local3]);
}
return(resolvedValues[id_str]);
}
var thisScope = this;
var _local24 = typeof(inputPath);
var _local21 = _local24 === "string";
if (!_local21) {
return(inputPath);
}
var placeHolderMarker = "\u00B6";
var placeHolderLength = 3;
var resolvedValues = [];
resolvedValues.xx = "[";
while (inputPath.indexOf("[") > -1) {
inputPath = replaceLastBracket(inputPath);
}
var output = resolve(inputPath);
return(output);
}
function getImpliedValue(input) {
var _local2;
if ((input == "undefined") || (input == undefined)) {
_local2 = undefined;
} else if ((input == "true") || (input === true)) {
_local2 = Boolean(true);
} else if ((input == "false") || (input === false)) {
_local2 = Boolean(false);
} else if (isNaN(input) == false) {
_local2 = Number(input);
} else {
_local2 = input;
}
return(_local2);
}
function resolveContainerStr(containerName, thisName) {
thisName = ((typeof(thisName) === "string") ? (thisName) : "this");
var _local2 = null;
if (containerName == "this") {
_local2 = thisName;
}
if (containerName == "_root") {
_local2 = "_root";
}
if (containerName == "_level0") {
_local2 = "_root";
}
if (containerName == "_global") {
_local2 = "_global";
}
if (_global[containerName] && (_global[containerName] instanceof Object)) {
_local2 = containerName;
}
return(_local2);
}
function resolveContainer(containerName, thisRef) {
if (typeof(thisRef) === "string") {
thisRef = _this || this;
}
var _local4 = _global[containerName];
if (containerName == "this") {
_local4 = thisRef;
}
if (containerName == "_root") {
_local4 = _root;
}
if (containerName == "_level0") {
_local4 = _root;
}
if (containerName == "_global") {
_local4 = _global;
}
return(_local4);
}
function evalPath(inputPath, defaultContainer_str, thisName) {
var thisScope = this;
var thisName = (thisName || "this");
if (typeof(inputPath) == "string") {
if (!defaultContainer_str) {
var defaultContainer_str = ((typeof(thisName) === "string") ? (thisName) : "this");
}
var endAt = inputPath.indexOf(".");
if (endAt == -1) {
endAt = inputPath.length;
}
var container_str = inputPath.substr(0, endAt);
var container_str = resolveContainerStr(container_str, thisName);
if (!container_str) {
var container_str = defaultContainer_str;
endAt = -1;
}
var theRest = inputPath.substr(endAt + 1);
var fullPath = (theRest ? ((container_str + ".") + theRest) : (container_str));
var paramStart = fullPath.indexOf("(");
if (paramStart != -1) {
var paramEnd = fullPath.indexOf(")", paramStart + 1);
var param = fullPath.substring(paramStart + 1, paramEnd);
var functionPath = fullPath.substr(0, paramStart);
var thisFunction = eval (functionPath);
var param_array = String(param).split(",");
var i = 0;
while (i < param_array.length) {
param_array[i] = getImpliedValue(param_array[i]);
i++;
}
var output = thisFunction.apply(thisScope, param_array);
} else {
var output = eval (fullPath);
}
} else {
var output = inputPath;
}
return(output);
}
function nestedEval(inputPath, defaultContainer_str, thisName) {
function replaceLastBracket(inputPath) {
function openBracketCloseParam() {
var _local2 = thisPath.indexOf(")");
var _local4 = thisPath.indexOf("(");
var _local1 = thisPath.indexOf("]");
var _local3 = ((_local1 === -1) || (_local2 < _local1)) && (_local4 === -1);
if (_local2 === -1) {
_local3 = false;
}
if (!_local3) {
return(false);
}
output = (placeHolderMarker + "xx") + thisPath.substr(1);
return(true);
}
function openBracketOpenParam() {
var _local3 = thisPath.indexOf("(");
var _local4 = thisPath.indexOf("]");
var _local10 = ((_local4 === -1) || (_local3 < _local4)) && (_local3 > -1);
if (!_local10) {
return(false);
}
var _local5 = thisPath.substring(1, _local3);
_local5 = resolve(_local5);
var _local6 = evalPath(_local5, defaultContainer_str, thisName);
var _local11 = _local6 instanceof Function;
if (_local11) {
var _local7 = thisPath.indexOf(")", _local3);
var _local9 = thisPath.substring(_local3 + 1, _local7);
var _local2 = _local9.split(",");
params_ary = [];
var _local1 = 0;
while (_local1 < _local2.length) {
params_ary[_local1] = resolve(_local2[_local1]);
_local1++;
}
var _local8 = _local6.apply(thisScope, params_ary);
var _local12 = thisPath.substr(_local4 + 1);
var _local13 = setPlaceHolder(_local8);
output = _local13 + _local12;
return(true);
}
var _local12 = thisPath.substr(_local4 + 1);
trace(("ERROR: " + _local5) + " is not a function!");
output = _local12;
return(true);
}
function openBracketCloseBracket() {
var _local1 = thisPath.indexOf("]");
var _local2 = _local1 > -1;
if (!_local2) {
return(false);
}
var _local5 = thisPath.substr(_local1 + 1);
var _local4 = thisPath.substring(1, _local1);
var _local3 = evalPath(resolve(_local4), defaultContainer_str, thisName);
var _local6 = setPlaceHolder(_local3);
output = _local6 + _local5;
return(true);
}
var _local6 = inputPath.lastIndexOf("[");
var _local15 = inputPath.substr(0, _local6);
var thisPath = inputPath.substr(_local6);
var output = thisPath.substr(1);
if (openBracketCloseParam()) {
} else if (openBracketOpenParam()) {
} else if (openBracketCloseBracket()) {
}
return(_local15 + output);
}
function resolve(inputPath) {
var _local8 = placeHolderLength - 1;
var _local7 = inputPath.split(placeHolderMarker);
var _local5 = [];
_local5[0] = _local7[0];
var _local1 = 1;
while (_local1 < _local7.length) {
var _local3 = _local7[_local1];
var _local6 = _local3.substr(0, _local8);
var _local2 = getPlaceHolder(_local6);
var _local4 = _local3.substr(_local8);
if (_local4.length > 0) {
_local5[_local1] = String(_local2) + _local4;
} else {
_local5[_local1] = _local2;
}
_local1++;
}
if ((_local5.length === 2) && (_local5[0] === "")) {
return(_local5[1]);
}
return(_local5.join(""));
}
function setPlaceHolder(storeThisValue) {
resolvedValues.push(storeThisValue);
var _local3 = resolvedValues.length - 1;
var _local1 = String(_local3);
var _local2 = placeHolderLength - 1;
while (_local1.length < _local2) {
_local1 = "0" + _local1;
}
return(placeHolderMarker + _local1);
}
function getPlaceHolder(id_str) {
var _local2 = !isNaN(id_str);
if (_local2) {
var _local3 = Number(id_str);
return(resolvedValues[_local3]);
}
return(resolvedValues[id_str]);
}
var thisScope = this;
var _local24 = typeof(inputPath);
var _local21 = _local24 === "string";
if (!_local21) {
return(inputPath);
}
var placeHolderMarker = "\u00B6";
var placeHolderLength = 3;
var resolvedValues = [];
resolvedValues.xx = "[";
while (inputPath.indexOf("[") > -1) {
inputPath = replaceLastBracket(inputPath);
}
var output = resolve(inputPath);
return(output);
}
function once(func) {
var done = false;
return(function () {
return((done ? (0) : ((done = true)func.apply(this, arguments))));
});
}
function emptyObject(inputObject) {
if (getType(inputObject) === "array") {
inputObject.splice(0, inputObject.length);
} else {
for (var _local2 in inputObject) {
delete inputObject[_local2];
}
}
}
function getType(inputObject) {
var _local1 = "";
if (inputObject instanceof Function) {
_local1 = "function";
} else if (inputObject instanceof MovieClip) {
_local1 = "movieClip";
} else if (inputObject instanceof Array) {
_local1 = "array";
} else if (inputObject instanceof XMLNode) {
_local1 = "xml";
} else if (inputObject instanceof flash.display.BitmapData) {
_local1 = "bitmap";
} else if (inputObject instanceof Object) {
_local1 = "object";
} else {
_local1 = "variable";
}
return(_local1);
}
function copyObject(srcObj, destObj) {
if (!destObj) {
destObj = {};
}
emptyObject(destObj);
var _local4 = {};
for (var _local6 in srcObj) {
_local4[_local6] = srcObj[_local6];
}
for (var _local6 in _local4) {
var _local1 = _local4[_local6];
var _local3 = getType(_local1);
if (_local1 === srcObj) {
continue;
}
if (_local3 === "variable") {
destObj[_local6] = _local1;
}
if (_local3 === "bitmap") {
destObj[_local6] = _local1.clone();
}
if (_local3 === "xml") {
destObj[_local6] = _local1.cloneNode(true);
}
if (_local3 === "array") {
destObj[_local6] = new Array();
copyObject(_local1, destObj[_local6]);
}
if (_local3 === "object") {
destObj[_local6] = new Object();
copyObject(_local1, destObj[_local6]);
}
}
return(destObj);
}
function getImpliedValue(input) {
var _local2;
if ((input == "undefined") || (input == undefined)) {
_local2 = undefined;
} else if ((input == "true") || (input === true)) {
_local2 = Boolean(true);
} else if ((input == "false") || (input === false)) {
_local2 = Boolean(false);
} else if (isNaN(input) == false) {
_local2 = Number(input);
} else {
_local2 = input;
}
return(_local2);
}
function resolveContainerStr(containerName, thisName) {
thisName = ((typeof(thisName) === "string") ? (thisName) : "this");
var _local2 = null;
if (containerName == "this") {
_local2 = thisName;
}
if (containerName == "_root") {
_local2 = "_root";
}
if (containerName == "_level0") {
_local2 = "_root";
}
if (containerName == "_global") {
_local2 = "_global";
}
if (_global[containerName] && (_global[containerName] instanceof Object)) {
_local2 = containerName;
}
return(_local2);
}
function resolveContainer(containerName, thisRef) {
if (typeof(thisRef) === "string") {
thisRef = _this || this;
}
var _local4 = _global[containerName];
if (containerName == "this") {
_local4 = thisRef;
}
if (containerName == "_root") {
_local4 = _root;
}
if (containerName == "_level0") {
_local4 = _root;
}
if (containerName == "_global") {
_local4 = _global;
}
return(_local4);
}
function evalPath(inputPath, defaultContainer_str, thisName) {
var thisScope = this;
var thisName = (thisName || "this");
if (typeof(inputPath) == "string") {
if (!defaultContainer_str) {
var defaultContainer_str = ((typeof(thisName) === "string") ? (thisName) : "this");
}
var endAt = inputPath.indexOf(".");
if (endAt == -1) {
endAt = inputPath.length;
}
var container_str = inputPath.substr(0, endAt);
var container_str = resolveContainerStr(container_str, thisName);
if (!container_str) {
var container_str = defaultContainer_str;
endAt = -1;
}
var theRest = inputPath.substr(endAt + 1);
var fullPath = (theRest ? ((container_str + ".") + theRest) : (container_str));
var paramStart = fullPath.indexOf("(");
if (paramStart != -1) {
var paramEnd = fullPath.indexOf(")", paramStart + 1);
var param = fullPath.substring(paramStart + 1, paramEnd);
var functionPath = fullPath.substr(0, paramStart);
var thisFunction = eval (functionPath);
var param_array = String(param).split(",");
var i = 0;
while (i < param_array.length) {
param_array[i] = getImpliedValue(param_array[i]);
i++;
}
var output = thisFunction.apply(thisScope, param_array);
} else {
var output = eval (fullPath);
}
} else {
var output = inputPath;
}
return(output);
}
function nestedEval(inputPath, defaultContainer_str, thisName) {
function replaceLastBracket(inputPath) {
function openBracketCloseParam() {
var _local2 = thisPath.indexOf(")");
var _local4 = thisPath.indexOf("(");
var _local1 = thisPath.indexOf("]");
var _local3 = ((_local1 === -1) || (_local2 < _local1)) && (_local4 === -1);
if (_local2 === -1) {
_local3 = false;
}
if (!_local3) {
return(false);
}
output = (placeHolderMarker + "xx") + thisPath.substr(1);
return(true);
}
function openBracketOpenParam() {
var _local3 = thisPath.indexOf("(");
var _local4 = thisPath.indexOf("]");
var _local10 = ((_local4 === -1) || (_local3 < _local4)) && (_local3 > -1);
if (!_local10) {
return(false);
}
var _local5 = thisPath.substring(1, _local3);
_local5 = resolve(_local5);
var _local6 = evalPath(_local5, defaultContainer_str, thisName);
var _local11 = _local6 instanceof Function;
if (_local11) {
var _local7 = thisPath.indexOf(")", _local3);
var _local9 = thisPath.substring(_local3 + 1, _local7);
var _local2 = _local9.split(",");
params_ary = [];
var _local1 = 0;
while (_local1 < _local2.length) {
params_ary[_local1] = resolve(_local2[_local1]);
_local1++;
}
var _local8 = _local6.apply(thisScope, params_ary);
var _local12 = thisPath.substr(_local4 + 1);
var _local13 = setPlaceHolder(_local8);
output = _local13 + _local12;
return(true);
}
var _local12 = thisPath.substr(_local4 + 1);
trace(("ERROR: " + _local5) + " is not a function!");
output = _local12;
return(true);
}
function openBracketCloseBracket() {
var _local1 = thisPath.indexOf("]");
var _local2 = _local1 > -1;
if (!_local2) {
return(false);
}
var _local5 = thisPath.substr(_local1 + 1);
var _local4 = thisPath.substring(1, _local1);
var _local3 = evalPath(resolve(_local4), defaultContainer_str, thisName);
var _local6 = setPlaceHolder(_local3);
output = _local6 + _local5;
return(true);
}
var _local6 = inputPath.lastIndexOf("[");
var _local15 = inputPath.substr(0, _local6);
var thisPath = inputPath.substr(_local6);
var output = thisPath.substr(1);
if (openBracketCloseParam()) {
} else if (openBracketOpenParam()) {
} else if (openBracketCloseBracket()) {
}
return(_local15 + output);
}
function resolve(inputPath) {
var _local8 = placeHolderLength - 1;
var _local7 = inputPath.split(placeHolderMarker);
var _local5 = [];
_local5[0] = _local7[0];
var _local1 = 1;
while (_local1 < _local7.length) {
var _local3 = _local7[_local1];
var _local6 = _local3.substr(0, _local8);
var _local2 = getPlaceHolder(_local6);
var _local4 = _local3.substr(_local8);
if (_local4.length > 0) {
_local5[_local1] = String(_local2) + _local4;
} else {
_local5[_local1] = _local2;
}
_local1++;
}
if ((_local5.length === 2) && (_local5[0] === "")) {
return(_local5[1]);
}
return(_local5.join(""));
}
function setPlaceHolder(storeThisValue) {
resolvedValues.push(storeThisValue);
var _local3 = resolvedValues.length - 1;
var _local1 = String(_local3);
var _local2 = placeHolderLength - 1;
while (_local1.length < _local2) {
_local1 = "0" + _local1;
}
return(placeHolderMarker + _local1);
}
function getPlaceHolder(id_str) {
var _local2 = !isNaN(id_str);
if (_local2) {
var _local3 = Number(id_str);
return(resolvedValues[_local3]);
}
return(resolvedValues[id_str]);
}
var thisScope = this;
var _local24 = typeof(inputPath);
var _local21 = _local24 === "string";
if (!_local21) {
return(inputPath);
}
var placeHolderMarker = "\u00B6";
var placeHolderLength = 3;
var resolvedValues = [];
resolvedValues.xx = "[";
while (inputPath.indexOf("[") > -1) {
inputPath = replaceLastBracket(inputPath);
}
var output = resolve(inputPath);
return(output);
}
function once(func) {
var done = false;
return(function () {
return((done ? (0) : ((done = true)func.apply(this, arguments))));
});
}
function emptyObject(inputObject) {
if (getType(inputObject) === "array") {
inputObject.splice(0, inputObject.length);
} else {
for (var _local2 in inputObject) {
delete inputObject[_local2];
}
}
}
function getType(inputObject) {
var _local1 = "";
if (inputObject instanceof Function) {
_local1 = "function";
} else if (inputObject instanceof MovieClip) {
_local1 = "movieClip";
} else if (inputObject instanceof Array) {
_local1 = "array";
} else if (inputObject instanceof XMLNode) {
_local1 = "xml";
} else if (inputObject instanceof flash.display.BitmapData) {
_local1 = "bitmap";
} else if (inputObject instanceof Object) {
_local1 = "object";
} else {
_local1 = "variable";
}
return(_local1);
}
function copyObject(srcObj, destObj) {
if (!destObj) {
destObj = {};
}
emptyObject(destObj);
var _local4 = {};
for (var _local6 in srcObj) {
_local4[_local6] = srcObj[_local6];
}
for (var _local6 in _local4) {
var _local1 = _local4[_local6];
var _local3 = getType(_local1);
if (_local1 === srcObj) {
continue;
}
if (_local3 === "variable") {
destObj[_local6] = _local1;
}
if (_local3 === "bitmap") {
destObj[_local6] = _local1.clone();
}
if (_local3 === "xml") {
destObj[_local6] = _local1.cloneNode(true);
}
if (_local3 === "array") {
destObj[_local6] = new Array();
copyObject(_local1, destObj[_local6]);
}
if (_local3 === "object") {
destObj[_local6] = new Object();
copyObject(_local1, destObj[_local6]);
}
}
return(destObj);
}
function getImpliedValue(input) {
var _local2;
if ((input == "undefined") || (input == undefined)) {
_local2 = undefined;
} else if ((input == "true") || (input === true)) {
_local2 = Boolean(true);
} else if ((input == "false") || (input === false)) {
_local2 = Boolean(false);
} else if (isNaN(input) == false) {
_local2 = Number(input);
} else {
_local2 = input;
}
return(_local2);
}
function getImpliedValue(input) {
var _local2;
if ((input == "undefined") || (input == undefined)) {
_local2 = undefined;
} else if ((input == "true") || (input === true)) {
_local2 = Boolean(true);
} else if ((input == "false") || (input === false)) {
_local2 = Boolean(false);
} else if (isNaN(input) == false) {
_local2 = Number(input);
} else {
_local2 = input;
}
return(_local2);
}
function resolveContainerStr(containerName, thisName) {
thisName = ((typeof(thisName) === "string") ? (thisName) : "this");
var _local2 = null;
if (containerName == "this") {
_local2 = thisName;
}
if (containerName == "_root") {
_local2 = "_root";
}
if (containerName == "_level0") {
_local2 = "_root";
}
if (containerName == "_global") {
_local2 = "_global";
}
if (_global[containerName] && (_global[containerName] instanceof Object)) {
_local2 = containerName;
}
return(_local2);
}
function resolveContainer(containerName, thisRef) {
if (typeof(thisRef) === "string") {
thisRef = _this || this;
}
var _local4 = _global[containerName];
if (containerName == "this") {
_local4 = thisRef;
}
if (containerName == "_root") {
_local4 = _root;
}
if (containerName == "_level0") {
_local4 = _root;
}
if (containerName == "_global") {
_local4 = _global;
}
return(_local4);
}
function evalPath(inputPath, defaultContainer_str, thisName) {
var thisScope = this;
var thisName = (thisName || "this");
if (typeof(inputPath) == "string") {
if (!defaultContainer_str) {
var defaultContainer_str = ((typeof(thisName) === "string") ? (thisName) : "this");
}
var endAt = inputPath.indexOf(".");
if (endAt == -1) {
endAt = inputPath.length;
}
var container_str = inputPath.substr(0, endAt);
var container_str = resolveContainerStr(container_str, thisName);
if (!container_str) {
var container_str = defaultContainer_str;
endAt = -1;
}
var theRest = inputPath.substr(endAt + 1);
var fullPath = (theRest ? ((container_str + ".") + theRest) : (container_str));
var paramStart = fullPath.indexOf("(");
if (paramStart != -1) {
var paramEnd = fullPath.indexOf(")", paramStart + 1);
var param = fullPath.substring(paramStart + 1, paramEnd);
var functionPath = fullPath.substr(0, paramStart);
var thisFunction = eval (functionPath);
var param_array = String(param).split(",");
var i = 0;
while (i < param_array.length) {
param_array[i] = getImpliedValue(param_array[i]);
i++;
}
var output = thisFunction.apply(thisScope, param_array);
} else {
var output = eval (fullPath);
}
} else {
var output = inputPath;
}
return(output);
}
function nestedEval(inputPath, defaultContainer_str, thisName) {
function replaceLastBracket(inputPath) {
function openBracketCloseParam() {
var _local2 = thisPath.indexOf(")");
var _local4 = thisPath.indexOf("(");
var _local1 = thisPath.indexOf("]");
var _local3 = ((_local1 === -1) || (_local2 < _local1)) && (_local4 === -1);
if (_local2 === -1) {
_local3 = false;
}
if (!_local3) {
return(false);
}
output = (placeHolderMarker + "xx") + thisPath.substr(1);
return(true);
}
function openBracketOpenParam() {
var _local3 = thisPath.indexOf("(");
var _local4 = thisPath.indexOf("]");
var _local10 = ((_local4 === -1) || (_local3 < _local4)) && (_local3 > -1);
if (!_local10) {
return(false);
}
var _local5 = thisPath.substring(1, _local3);
_local5 = resolve(_local5);
var _local6 = evalPath(_local5, defaultContainer_str, thisName);
var _local11 = _local6 instanceof Function;
if (_local11) {
var _local7 = thisPath.indexOf(")", _local3);
var _local9 = thisPath.substring(_local3 + 1, _local7);
var _local2 = _local9.split(",");
params_ary = [];
var _local1 = 0;
while (_local1 < _local2.length) {
params_ary[_local1] = resolve(_local2[_local1]);
_local1++;
}
var _local8 = _local6.apply(thisScope, params_ary);
var _local12 = thisPath.substr(_local4 + 1);
var _local13 = setPlaceHolder(_local8);
output = _local13 + _local12;
return(true);
}
var _local12 = thisPath.substr(_local4 + 1);
trace(("ERROR: " + _local5) + " is not a function!");
output = _local12;
return(true);
}
function openBracketCloseBracket() {
var _local1 = thisPath.indexOf("]");
var _local2 = _local1 > -1;
if (!_local2) {
return(false);
}
var _local5 = thisPath.substr(_local1 + 1);
var _local4 = thisPath.substring(1, _local1);
var _local3 = evalPath(resolve(_local4), defaultContainer_str, thisName);
var _local6 = setPlaceHolder(_local3);
output = _local6 + _local5;
return(true);
}
var _local6 = inputPath.lastIndexOf("[");
var _local15 = inputPath.substr(0, _local6);
var thisPath = inputPath.substr(_local6);
var output = thisPath.substr(1);
if (openBracketCloseParam()) {
} else if (openBracketOpenParam()) {
} else if (openBracketCloseBracket()) {
}
return(_local15 + output);
}
function resolve(inputPath) {
var _local8 = placeHolderLength - 1;
var _local7 = inputPath.split(placeHolderMarker);
var _local5 = [];
_local5[0] = _local7[0];
var _local1 = 1;
while (_local1 < _local7.length) {
var _local3 = _local7[_local1];
var _local6 = _local3.substr(0, _local8);
var _local2 = getPlaceHolder(_local6);
var _local4 = _local3.substr(_local8);
if (_local4.length > 0) {
_local5[_local1] = String(_local2) + _local4;
} else {
_local5[_local1] = _local2;
}
_local1++;
}
if ((_local5.length === 2) && (_local5[0] === "")) {
return(_local5[1]);
}
return(_local5.join(""));
}
function setPlaceHolder(storeThisValue) {
resolvedValues.push(storeThisValue);
var _local3 = resolvedValues.length - 1;
var _local1 = String(_local3);
var _local2 = placeHolderLength - 1;
while (_local1.length < _local2) {
_local1 = "0" + _local1;
}
return(placeHolderMarker + _local1);
}
function getPlaceHolder(id_str) {
var _local2 = !isNaN(id_str);
if (_local2) {
var _local3 = Number(id_str);
return(resolvedValues[_local3]);
}
return(resolvedValues[id_str]);
}
var thisScope = this;
var _local24 = typeof(inputPath);
var _local21 = _local24 === "string";
if (!_local21) {
return(inputPath);
}
var placeHolderMarker = "\u00B6";
var placeHolderLength = 3;
var resolvedValues = [];
resolvedValues.xx = "[";
while (inputPath.indexOf("[") > -1) {
inputPath = replaceLastBracket(inputPath);
}
var output = resolve(inputPath);
return(output);
}
function getImpliedValue(input) {
var _local2;
if ((input == "undefined") || (input == undefined)) {
_local2 = undefined;
} else if ((input == "true") || (input === true)) {
_local2 = Boolean(true);
} else if ((input == "false") || (input === false)) {
_local2 = Boolean(false);
} else if (isNaN(input) == false) {
_local2 = Number(input);
} else {
_local2 = input;
}
return(_local2);
}
function resolveContainerStr(containerName, thisName) {
thisName = ((typeof(thisName) === "string") ? (thisName) : "this");
var _local2 = null;
if (containerName == "this") {
_local2 = thisName;
}
if (containerName == "_root") {
_local2 = "_root";
}
if (containerName == "_level0") {
_local2 = "_root";
}
if (containerName == "_global") {
_local2 = "_global";
}
if (_global[containerName] && (_global[containerName] instanceof Object)) {
_local2 = containerName;
}
return(_local2);
}
function resolveContainer(containerName, thisRef) {
if (typeof(thisRef) === "string") {
thisRef = _this || this;
}
var _local4 = _global[containerName];
if (containerName == "this") {
_local4 = thisRef;
}
if (containerName == "_root") {
_local4 = _root;
}
if (containerName == "_level0") {
_local4 = _root;
}
if (containerName == "_global") {
_local4 = _global;
}
return(_local4);
}
function evalPath(inputPath, defaultContainer_str, thisName) {
var thisScope = this;
var thisName = (thisName || "this");
if (typeof(inputPath) == "string") {
if (!defaultContainer_str) {
var defaultContainer_str = ((typeof(thisName) === "string") ? (thisName) : "this");
}
var endAt = inputPath.indexOf(".");
if (endAt == -1) {
endAt = inputPath.length;
}
var container_str = inputPath.substr(0, endAt);
var container_str = resolveContainerStr(container_str, thisName);
if (!container_str) {
var container_str = defaultContainer_str;
endAt = -1;
}
var theRest = inputPath.substr(endAt + 1);
var fullPath = (theRest ? ((container_str + ".") + theRest) : (container_str));
var paramStart = fullPath.indexOf("(");
if (paramStart != -1) {
var paramEnd = fullPath.indexOf(")", paramStart + 1);
var param = fullPath.substring(paramStart + 1, paramEnd);
var functionPath = fullPath.substr(0, paramStart);
var thisFunction = eval (functionPath);
var param_array = String(param).split(",");
var i = 0;
while (i < param_array.length) {
param_array[i] = getImpliedValue(param_array[i]);
i++;
}
var output = thisFunction.apply(thisScope, param_array);
} else {
var output = eval (fullPath);
}
} else {
var output = inputPath;
}
return(output);
}
function nestedEval(inputPath, defaultContainer_str, thisName) {
function replaceLastBracket(inputPath) {
function openBracketCloseParam() {
var _local2 = thisPath.indexOf(")");
var _local4 = thisPath.indexOf("(");
var _local1 = thisPath.indexOf("]");
var _local3 = ((_local1 === -1) || (_local2 < _local1)) && (_local4 === -1);
if (_local2 === -1) {
_local3 = false;
}
if (!_local3) {
return(false);
}
output = (placeHolderMarker + "xx") + thisPath.substr(1);
return(true);
}
function openBracketOpenParam() {
var _local3 = thisPath.indexOf("(");
var _local4 = thisPath.indexOf("]");
var _local10 = ((_local4 === -1) || (_local3 < _local4)) && (_local3 > -1);
if (!_local10) {
return(false);
}
var _local5 = thisPath.substring(1, _local3);
_local5 = resolve(_local5);
var _local6 = evalPath(_local5, defaultContainer_str, thisName);
var _local11 = _local6 instanceof Function;
if (_local11) {
var _local7 = thisPath.indexOf(")", _local3);
var _local9 = thisPath.substring(_local3 + 1, _local7);
var _local2 = _local9.split(",");
params_ary = [];
var _local1 = 0;
while (_local1 < _local2.length) {
params_ary[_local1] = resolve(_local2[_local1]);
_local1++;
}
var _local8 = _local6.apply(thisScope, params_ary);
var _local12 = thisPath.substr(_local4 + 1);
var _local13 = setPlaceHolder(_local8);
output = _local13 + _local12;
return(true);
}
var _local12 = thisPath.substr(_local4 + 1);
trace(("ERROR: " + _local5) + " is not a function!");
output = _local12;
return(true);
}
function openBracketCloseBracket() {
var _local1 = thisPath.indexOf("]");
var _local2 = _local1 > -1;
if (!_local2) {
return(false);
}
var _local5 = thisPath.substr(_local1 + 1);
var _local4 = thisPath.substring(1, _local1);
var _local3 = evalPath(resolve(_local4), defaultContainer_str, thisName);
var _local6 = setPlaceHolder(_local3);
output = _local6 + _local5;
return(true);
}
var _local6 = inputPath.lastIndexOf("[");
var _local15 = inputPath.substr(0, _local6);
var thisPath = inputPath.substr(_local6);
var output = thisPath.substr(1);
if (openBracketCloseParam()) {
} else if (openBracketOpenParam()) {
} else if (openBracketCloseBracket()) {
}
return(_local15 + output);
}
function resolve(inputPath) {
var _local8 = placeHolderLength - 1;
var _local7 = inputPath.split(placeHolderMarker);
var _local5 = [];
_local5[0] = _local7[0];
var _local1 = 1;
while (_local1 < _local7.length) {
var _local3 = _local7[_local1];
var _local6 = _local3.substr(0, _local8);
var _local2 = getPlaceHolder(_local6);
var _local4 = _local3.substr(_local8);
if (_local4.length > 0) {
_local5[_local1] = String(_local2) + _local4;
} else {
_local5[_local1] = _local2;
}
_local1++;
}
if ((_local5.length === 2) && (_local5[0] === "")) {
return(_local5[1]);
}
return(_local5.join(""));
}
function setPlaceHolder(storeThisValue) {
resolvedValues.push(storeThisValue);
var _local3 = resolvedValues.length - 1;
var _local1 = String(_local3);
var _local2 = placeHolderLength - 1;
while (_local1.length < _local2) {
_local1 = "0" + _local1;
}
return(placeHolderMarker + _local1);
}
function getPlaceHolder(id_str) {
var _local2 = !isNaN(id_str);
if (_local2) {
var _local3 = Number(id_str);
return(resolvedValues[_local3]);
}
return(resolvedValues[id_str]);
}
var thisScope = this;
var _local24 = typeof(inputPath);
var _local21 = _local24 === "string";
if (!_local21) {
return(inputPath);
}
var placeHolderMarker = "\u00B6";
var placeHolderLength = 3;
var resolvedValues = [];
resolvedValues.xx = "[";
while (inputPath.indexOf("[") > -1) {
inputPath = replaceLastBracket(inputPath);
}
var output = resolve(inputPath);
return(output);
}
function getFullPathFromRelative(relativePath, oldFullPath) {
if (showTrace) {
trace(" oldFullPath: " + oldFullPath);
}
var _local1 = oldFullPath.lastIndexOf("\\");
if (_local1 == -1) {
var _local2 = "";
} else {
var _local2 = oldFullPath.substr(0, _local1 + 1);
}
var _local4 = -1;
while (_local4 = relativePath.indexOf("..") , _local4 != -1) {
_local1 = _local2.lastIndexOf("\\", _local1 - 1);
var _local2 = _local2.substr(0, _local1 + 1);
relativePath = relativePath.substr(_local4 + 3);
}
var _local6 = _local2 + relativePath;
return(_local6);
}
function once(func) {
var done = false;
return(function () {
return((done ? (0) : ((done = true)func.apply(this, arguments))));
});
}
function getImpliedValue(input) {
var _local2;
if ((input == "undefined") || (input == undefined)) {
_local2 = undefined;
} else if ((input == "true") || (input === true)) {
_local2 = Boolean(true);
} else if ((input == "false") || (input === false)) {
_local2 = Boolean(false);
} else if (isNaN(input) == false) {
_local2 = Number(input);
} else {
_local2 = input;
}
return(_local2);
}
function resolveContainerStr(containerName, thisName) {
thisName = ((typeof(thisName) === "string") ? (thisName) : "this");
var _local2 = null;
if (containerName == "this") {
_local2 = thisName;
}
if (containerName == "_root") {
_local2 = "_root";
}
if (containerName == "_level0") {
_local2 = "_root";
}
if (containerName == "_global") {
_local2 = "_global";
}
if (_global[containerName] && (_global[containerName] instanceof Object)) {
_local2 = containerName;
}
return(_local2);
}
function resolveContainer(containerName, thisRef) {
if (typeof(thisRef) === "string") {
thisRef = _this || this;
}
var _local4 = _global[containerName];
if (containerName == "this") {
_local4 = thisRef;
}
if (containerName == "_root") {
_local4 = _root;
}
if (containerName == "_level0") {
_local4 = _root;
}
if (containerName == "_global") {
_local4 = _global;
}
return(_local4);
}
function evalPath(inputPath, defaultContainer_str, thisName) {
var thisScope = this;
var thisName = (thisName || "this");
if (typeof(inputPath) == "string") {
if (!defaultContainer_str) {
var defaultContainer_str = ((typeof(thisName) === "string") ? (thisName) : "this");
}
var endAt = inputPath.indexOf(".");
if (endAt == -1) {
endAt = inputPath.length;
}
var container_str = inputPath.substr(0, endAt);
var container_str = resolveContainerStr(container_str, thisName);
if (!container_str) {
var container_str = defaultContainer_str;
endAt = -1;
}
var theRest = inputPath.substr(endAt + 1);
var fullPath = (theRest ? ((container_str + ".") + theRest) : (container_str));
var paramStart = fullPath.indexOf("(");
if (paramStart != -1) {
var paramEnd = fullPath.indexOf(")", paramStart + 1);
var param = fullPath.substring(paramStart + 1, paramEnd);
var functionPath = fullPath.substr(0, paramStart);
var thisFunction = eval (functionPath);
var param_array = String(param).split(",");
var i = 0;
while (i < param_array.length) {
param_array[i] = getImpliedValue(param_array[i]);
i++;
}
var output = thisFunction.apply(thisScope, param_array);
} else {
var output = eval (fullPath);
}
} else {
var output = inputPath;
}
return(output);
}
function nestedEval(inputPath, defaultContainer_str, thisName) {
function replaceLastBracket(inputPath) {
function openBracketCloseParam() {
var _local2 = thisPath.indexOf(")");
var _local4 = thisPath.indexOf("(");
var _local1 = thisPath.indexOf("]");
var _local3 = ((_local1 === -1) || (_local2 < _local1)) && (_local4 === -1);
if (_local2 === -1) {
_local3 = false;
}
if (!_local3) {
return(false);
}
output = (placeHolderMarker + "xx") + thisPath.substr(1);
return(true);
}
function openBracketOpenParam() {
var _local3 = thisPath.indexOf("(");
var _local4 = thisPath.indexOf("]");
var _local10 = ((_local4 === -1) || (_local3 < _local4)) && (_local3 > -1);
if (!_local10) {
return(false);
}
var _local5 = thisPath.substring(1, _local3);
_local5 = resolve(_local5);
var _local6 = evalPath(_local5, defaultContainer_str, thisName);
var _local11 = _local6 instanceof Function;
if (_local11) {
var _local7 = thisPath.indexOf(")", _local3);
var _local9 = thisPath.substring(_local3 + 1, _local7);
var _local2 = _local9.split(",");
params_ary = [];
var _local1 = 0;
while (_local1 < _local2.length) {
params_ary[_local1] = resolve(_local2[_local1]);
_local1++;
}
var _local8 = _local6.apply(thisScope, params_ary);
var _local12 = thisPath.substr(_local4 + 1);
var _local13 = setPlaceHolder(_local8);
output = _local13 + _local12;
return(true);
}
var _local12 = thisPath.substr(_local4 + 1);
trace(("ERROR: " + _local5) + " is not a function!");
output = _local12;
return(true);
}
function openBracketCloseBracket() {
var _local1 = thisPath.indexOf("]");
var _local2 = _local1 > -1;
if (!_local2) {
return(false);
}
var _local5 = thisPath.substr(_local1 + 1);
var _local4 = thisPath.substring(1, _local1);
var _local3 = evalPath(resolve(_local4), defaultContainer_str, thisName);
var _local6 = setPlaceHolder(_local3);
output = _local6 + _local5;
return(true);
}
var _local6 = inputPath.lastIndexOf("[");
var _local15 = inputPath.substr(0, _local6);
var thisPath = inputPath.substr(_local6);
var output = thisPath.substr(1);
if (openBracketCloseParam()) {
} else if (openBracketOpenParam()) {
} else if (openBracketCloseBracket()) {
}
return(_local15 + output);
}
function resolve(inputPath) {
var _local8 = placeHolderLength - 1;
var _local7 = inputPath.split(placeHolderMarker);
var _local5 = [];
_local5[0] = _local7[0];
var _local1 = 1;
while (_local1 < _local7.length) {
var _local3 = _local7[_local1];
var _local6 = _local3.substr(0, _local8);
var _local2 = getPlaceHolder(_local6);
var _local4 = _local3.substr(_local8);
if (_local4.length > 0) {
_local5[_local1] = String(_local2) + _local4;
} else {
_local5[_local1] = _local2;
}
_local1++;
}
if ((_local5.length === 2) && (_local5[0] === "")) {
return(_local5[1]);
}
return(_local5.join(""));
}
function setPlaceHolder(storeThisValue) {
resolvedValues.push(storeThisValue);
var _local3 = resolvedValues.length - 1;
var _local1 = String(_local3);
var _local2 = placeHolderLength - 1;
while (_local1.length < _local2) {
_local1 = "0" + _local1;
}
return(placeHolderMarker + _local1);
}
function getPlaceHolder(id_str) {
var _local2 = !isNaN(id_str);
if (_local2) {
var _local3 = Number(id_str);
return(resolvedValues[_local3]);
}
return(resolvedValues[id_str]);
}
var thisScope = this;
var _local24 = typeof(inputPath);
var _local21 = _local24 === "string";
if (!_local21) {
return(inputPath);
}
var placeHolderMarker = "\u00B6";
var placeHolderLength = 3;
var resolvedValues = [];
resolvedValues.xx = "[";
while (inputPath.indexOf("[") > -1) {
inputPath = replaceLastBracket(inputPath);
}
var output = resolve(inputPath);
return(output);
}
function getImpliedValue(input) {
var _local2;
if ((input == "undefined") || (input == undefined)) {
_local2 = undefined;
} else if ((input == "true") || (input === true)) {
_local2 = Boolean(true);
} else if ((input == "false") || (input === false)) {
_local2 = Boolean(false);
} else if (isNaN(input) == false) {
_local2 = Number(input);
} else {
_local2 = input;
}
return(_local2);
}
function resolveContainerStr(containerName, thisName) {
thisName = ((typeof(thisName) === "string") ? (thisName) : "this");
var _local2 = null;
if (containerName == "this") {
_local2 = thisName;
}
if (containerName == "_root") {
_local2 = "_root";
}
if (containerName == "_level0") {
_local2 = "_root";
}
if (containerName == "_global") {
_local2 = "_global";
}
if (_global[containerName] && (_global[containerName] instanceof Object)) {
_local2 = containerName;
}
return(_local2);
}
function resolveContainer(containerName, thisRef) {
if (typeof(thisRef) === "string") {
thisRef = _this || this;
}
var _local4 = _global[containerName];
if (containerName == "this") {
_local4 = thisRef;
}
if (containerName == "_root") {
_local4 = _root;
}
if (containerName == "_level0") {
_local4 = _root;
}
if (containerName == "_global") {
_local4 = _global;
}
return(_local4);
}
function evalPath(inputPath, defaultContainer_str, thisName) {
var thisScope = this;
var thisName = (thisName || "this");
if (typeof(inputPath) == "string") {
if (!defaultContainer_str) {
var defaultContainer_str = ((typeof(thisName) === "string") ? (thisName) : "this");
}
var endAt = inputPath.indexOf(".");
if (endAt == -1) {
endAt = inputPath.length;
}
var container_str = inputPath.substr(0, endAt);
var container_str = resolveContainerStr(container_str, thisName);
if (!container_str) {
var container_str = defaultContainer_str;
endAt = -1;
}
var theRest = inputPath.substr(endAt + 1);
var fullPath = (theRest ? ((container_str + ".") + theRest) : (container_str));
var paramStart = fullPath.indexOf("(");
if (paramStart != -1) {
var paramEnd = fullPath.indexOf(")", paramStart + 1);
var param = fullPath.substring(paramStart + 1, paramEnd);
var functionPath = fullPath.substr(0, paramStart);
var thisFunction = eval (functionPath);
var param_array = String(param).split(",");
var i = 0;
while (i < param_array.length) {
param_array[i] = getImpliedValue(param_array[i]);
i++;
}
var output = thisFunction.apply(thisScope, param_array);
} else {
var output = eval (fullPath);
}
} else {
var output = inputPath;
}
return(output);
}
function nestedEval(inputPath, defaultContainer_str, thisName) {
function replaceLastBracket(inputPath) {
function openBracketCloseParam() {
var _local2 = thisPath.indexOf(")");
var _local4 = thisPath.indexOf("(");
var _local1 = thisPath.indexOf("]");
var _local3 = ((_local1 === -1) || (_local2 < _local1)) && (_local4 === -1);
if (_local2 === -1) {
_local3 = false;
}
if (!_local3) {
return(false);
}
output = (placeHolderMarker + "xx") + thisPath.substr(1);
return(true);
}
function openBracketOpenParam() {
var _local3 = thisPath.indexOf("(");
var _local4 = thisPath.indexOf("]");
var _local10 = ((_local4 === -1) || (_local3 < _local4)) && (_local3 > -1);
if (!_local10) {
return(false);
}
var _local5 = thisPath.substring(1, _local3);
_local5 = resolve(_local5);
var _local6 = evalPath(_local5, defaultContainer_str, thisName);
var _local11 = _local6 instanceof Function;
if (_local11) {
var _local7 = thisPath.indexOf(")", _local3);
var _local9 = thisPath.substring(_local3 + 1, _local7);
var _local2 = _local9.split(",");
params_ary = [];
var _local1 = 0;
while (_local1 < _local2.length) {
params_ary[_local1] = resolve(_local2[_local1]);
_local1++;
}
var _local8 = _local6.apply(thisScope, params_ary);
var _local12 = thisPath.substr(_local4 + 1);
var _local13 = setPlaceHolder(_local8);
output = _local13 + _local12;
return(true);
}
var _local12 = thisPath.substr(_local4 + 1);
trace(("ERROR: " + _local5) + " is not a function!");
output = _local12;
return(true);
}
function openBracketCloseBracket() {
var _local1 = thisPath.indexOf("]");
var _local2 = _local1 > -1;
if (!_local2) {
return(false);
}
var _local5 = thisPath.substr(_local1 + 1);
var _local4 = thisPath.substring(1, _local1);
var _local3 = evalPath(resolve(_local4), defaultContainer_str, thisName);
var _local6 = setPlaceHolder(_local3);
output = _local6 + _local5;
return(true);
}
var _local6 = inputPath.lastIndexOf("[");
var _local15 = inputPath.substr(0, _local6);
var thisPath = inputPath.substr(_local6);
var output = thisPath.substr(1);
if (openBracketCloseParam()) {
} else if (openBracketOpenParam()) {
} else if (openBracketCloseBracket()) {
}
return(_local15 + output);
}
function resolve(inputPath) {
var _local8 = placeHolderLength - 1;
var _local7 = inputPath.split(placeHolderMarker);
var _local5 = [];
_local5[0] = _local7[0];
var _local1 = 1;
while (_local1 < _local7.length) {
var _local3 = _local7[_local1];
var _local6 = _local3.substr(0, _local8);
var _local2 = getPlaceHolder(_local6);
var _local4 = _local3.substr(_local8);
if (_local4.length > 0) {
_local5[_local1] = String(_local2) + _local4;
} else {
_local5[_local1] = _local2;
}
_local1++;
}
if ((_local5.length === 2) && (_local5[0] === "")) {
return(_local5[1]);
}
return(_local5.join(""));
}
function setPlaceHolder(storeThisValue) {
resolvedValues.push(storeThisValue);
var _local3 = resolvedValues.length - 1;
var _local1 = String(_local3);
var _local2 = placeHolderLength - 1;
while (_local1.length < _local2) {
_local1 = "0" + _local1;
}
return(placeHolderMarker + _local1);
}
function getPlaceHolder(id_str) {
var _local2 = !isNaN(id_str);
if (_local2) {
var _local3 = Number(id_str);
return(resolvedValues[_local3]);
}
return(resolvedValues[id_str]);
}
var thisScope = this;
var _local24 = typeof(inputPath);
var _local21 = _local24 === "string";
if (!_local21) {
return(inputPath);
}
var placeHolderMarker = "\u00B6";
var placeHolderLength = 3;
var resolvedValues = [];
resolvedValues.xx = "[";
while (inputPath.indexOf("[") > -1) {
inputPath = replaceLastBracket(inputPath);
}
var output = resolve(inputPath);
return(output);
}
function emptyObject(inputObject) {
if (getType(inputObject) === "array") {
inputObject.splice(0, inputObject.length);
} else {
for (var _local2 in inputObject) {
delete inputObject[_local2];
}
}
}
function getType(inputObject) {
var _local1 = "";
if (inputObject instanceof Function) {
_local1 = "function";
} else if (inputObject instanceof MovieClip) {
_local1 = "movieClip";
} else if (inputObject instanceof Array) {
_local1 = "array";
} else if (inputObject instanceof XMLNode) {
_local1 = "xml";
} else if (inputObject instanceof flash.display.BitmapData) {
_local1 = "bitmap";
} else if (inputObject instanceof Object) {
_local1 = "object";
} else {
_local1 = "variable";
}
return(_local1);
}
function copyObject(srcObj, destObj) {
if (!destObj) {
destObj = {};
}
emptyObject(destObj);
var _local4 = {};
for (var _local6 in srcObj) {
_local4[_local6] = srcObj[_local6];
}
for (var _local6 in _local4) {
var _local1 = _local4[_local6];
var _local3 = getType(_local1);
if (_local1 === srcObj) {
continue;
}
if (_local3 === "variable") {
destObj[_local6] = _local1;
}
if (_local3 === "bitmap") {
destObj[_local6] = _local1.clone();
}
if (_local3 === "xml") {
destObj[_local6] = _local1.cloneNode(true);
}
if (_local3 === "array") {
destObj[_local6] = new Array();
copyObject(_local1, destObj[_local6]);
}
if (_local3 === "object") {
destObj[_local6] = new Object();
copyObject(_local1, destObj[_local6]);
}
}
return(destObj);
}
function getImpliedValue(input) {
var _local2;
if ((input == "undefined") || (input == undefined)) {
_local2 = undefined;
} else if ((input == "true") || (input === true)) {
_local2 = Boolean(true);
} else if ((input == "false") || (input === false)) {
_local2 = Boolean(false);
} else if (isNaN(input) == false) {
_local2 = Number(input);
} else {
_local2 = input;
}
return(_local2);
}
function resolveContainerStr(containerName, thisName) {
thisName = ((typeof(thisName) === "string") ? (thisName) : "this");
var _local2 = null;
if (containerName == "this") {
_local2 = thisName;
}
if (containerName == "_root") {
_local2 = "_root";
}
if (containerName == "_level0") {
_local2 = "_root";
}
if (containerName == "_global") {
_local2 = "_global";
}
if (_global[containerName] && (_global[containerName] instanceof Object)) {
_local2 = containerName;
}
return(_local2);
}
function resolveContainer(containerName, thisRef) {
if (typeof(thisRef) === "string") {
thisRef = _this || this;
}
var _local4 = _global[containerName];
if (containerName == "this") {
_local4 = thisRef;
}
if (containerName == "_root") {
_local4 = _root;
}
if (containerName == "_level0") {
_local4 = _root;
}
if (containerName == "_global") {
_local4 = _global;
}
return(_local4);
}
function evalPath(inputPath, defaultContainer_str, thisName) {
var thisScope = this;
var thisName = (thisName || "this");
if (typeof(inputPath) == "string") {
if (!defaultContainer_str) {
var defaultContainer_str = ((typeof(thisName) === "string") ? (thisName) : "this");
}
var endAt = inputPath.indexOf(".");
if (endAt == -1) {
endAt = inputPath.length;
}
var container_str = inputPath.substr(0, endAt);
var container_str = resolveContainerStr(container_str, thisName);
if (!container_str) {
var container_str = defaultContainer_str;
endAt = -1;
}
var theRest = inputPath.substr(endAt + 1);
var fullPath = (theRest ? ((container_str + ".") + theRest) : (container_str));
var paramStart = fullPath.indexOf("(");
if (paramStart != -1) {
var paramEnd = fullPath.indexOf(")", paramStart + 1);
var param = fullPath.substring(paramStart + 1, paramEnd);
var functionPath = fullPath.substr(0, paramStart);
var thisFunction = eval (functionPath);
var param_array = String(param).split(",");
var i = 0;
while (i < param_array.length) {
param_array[i] = getImpliedValue(param_array[i]);
i++;
}
var output = thisFunction.apply(thisScope, param_array);
} else {
var output = eval (fullPath);
}
} else {
var output = inputPath;
}
return(output);
}
function nestedEval(inputPath, defaultContainer_str, thisName) {
function replaceLastBracket(inputPath) {
function openBracketCloseParam() {
var _local2 = thisPath.indexOf(")");
var _local4 = thisPath.indexOf("(");
var _local1 = thisPath.indexOf("]");
var _local3 = ((_local1 === -1) || (_local2 < _local1)) && (_local4 === -1);
if (_local2 === -1) {
_local3 = false;
}
if (!_local3) {
return(false);
}
output = (placeHolderMarker + "xx") + thisPath.substr(1);
return(true);
}
function openBracketOpenParam() {
var _local3 = thisPath.indexOf("(");
var _local4 = thisPath.indexOf("]");
var _local10 = ((_local4 === -1) || (_local3 < _local4)) && (_local3 > -1);
if (!_local10) {
return(false);
}
var _local5 = thisPath.substring(1, _local3);
_local5 = resolve(_local5);
var _local6 = evalPath(_local5, defaultContainer_str, thisName);
var _local11 = _local6 instanceof Function;
if (_local11) {
var _local7 = thisPath.indexOf(")", _local3);
var _local9 = thisPath.substring(_local3 + 1, _local7);
var _local2 = _local9.split(",");
params_ary = [];
var _local1 = 0;
while (_local1 < _local2.length) {
params_ary[_local1] = resolve(_local2[_local1]);
_local1++;
}
var _local8 = _local6.apply(thisScope, params_ary);
var _local12 = thisPath.substr(_local4 + 1);
var _local13 = setPlaceHolder(_local8);
output = _local13 + _local12;
return(true);
}
var _local12 = thisPath.substr(_local4 + 1);
trace(("ERROR: " + _local5) + " is not a function!");
output = _local12;
return(true);
}
function openBracketCloseBracket() {
var _local1 = thisPath.indexOf("]");
var _local2 = _local1 > -1;
if (!_local2) {
return(false);
}
var _local5 = thisPath.substr(_local1 + 1);
var _local4 = thisPath.substring(1, _local1);
var _local3 = evalPath(resolve(_local4), defaultContainer_str, thisName);
var _local6 = setPlaceHolder(_local3);
output = _local6 + _local5;
return(true);
}
var _local6 = inputPath.lastIndexOf("[");
var _local15 = inputPath.substr(0, _local6);
var thisPath = inputPath.substr(_local6);
var output = thisPath.substr(1);
if (openBracketCloseParam()) {
} else if (openBracketOpenParam()) {
} else if (openBracketCloseBracket()) {
}
return(_local15 + output);
}
function resolve(inputPath) {
var _local8 = placeHolderLength - 1;
var _local7 = inputPath.split(placeHolderMarker);
var _local5 = [];
_local5[0] = _local7[0];
var _local1 = 1;
while (_local1 < _local7.length) {
var _local3 = _local7[_local1];
var _local6 = _local3.substr(0, _local8);
var _local2 = getPlaceHolder(_local6);
var _local4 = _local3.substr(_local8);
if (_local4.length > 0) {
_local5[_local1] = String(_local2) + _local4;
} else {
_local5[_local1] = _local2;
}
_local1++;
}
if ((_local5.length === 2) && (_local5[0] === "")) {
return(_local5[1]);
}
return(_local5.join(""));
}
function setPlaceHolder(storeThisValue) {
resolvedValues.push(storeThisValue);
var _local3 = resolvedValues.length - 1;
var _local1 = String(_local3);
var _local2 = placeHolderLength - 1;
while (_local1.length < _local2) {
_local1 = "0" + _local1;
}
return(placeHolderMarker + _local1);
}
function getPlaceHolder(id_str) {
var _local2 = !isNaN(id_str);
if (_local2) {
var _local3 = Number(id_str);
return(resolvedValues[_local3]);
}
return(resolvedValues[id_str]);
}
var thisScope = this;
var _local24 = typeof(inputPath);
var _local21 = _local24 === "string";
if (!_local21) {
return(inputPath);
}
var placeHolderMarker = "\u00B6";
var placeHolderLength = 3;
var resolvedValues = [];
resolvedValues.xx = "[";
while (inputPath.indexOf("[") > -1) {
inputPath = replaceLastBracket(inputPath);
}
var output = resolve(inputPath);
return(output);
}
function getImpliedValue(input) {
var _local2;
if ((input == "undefined") || (input == undefined)) {
_local2 = undefined;
} else if ((input == "true") || (input === true)) {
_local2 = Boolean(true);
} else if ((input == "false") || (input === false)) {
_local2 = Boolean(false);
} else if (isNaN(input) == false) {
_local2 = Number(input);
} else {
_local2 = input;
}
return(_local2);
}
function resolveContainerStr(containerName, thisName) {
thisName = ((typeof(thisName) === "string") ? (thisName) : "this");
var _local2 = null;
if (containerName == "this") {
_local2 = thisName;
}
if (containerName == "_root") {
_local2 = "_root";
}
if (containerName == "_level0") {
_local2 = "_root";
}
if (containerName == "_global") {
_local2 = "_global";
}
if (_global[containerName] && (_global[containerName] instanceof Object)) {
_local2 = containerName;
}
return(_local2);
}
function resolveContainer(containerName, thisRef) {
if (typeof(thisRef) === "string") {
thisRef = _this || this;
}
var _local4 = _global[containerName];
if (containerName == "this") {
_local4 = thisRef;
}
if (containerName == "_root") {
_local4 = _root;
}
if (containerName == "_level0") {
_local4 = _root;
}
if (containerName == "_global") {
_local4 = _global;
}
return(_local4);
}
function evalPath(inputPath, defaultContainer_str, thisName) {
var thisScope = this;
var thisName = (thisName || "this");
if (typeof(inputPath) == "string") {
if (!defaultContainer_str) {
var defaultContainer_str = ((typeof(thisName) === "string") ? (thisName) : "this");
}
var endAt = inputPath.indexOf(".");
if (endAt == -1) {
endAt = inputPath.length;
}
var container_str = inputPath.substr(0, endAt);
var container_str = resolveContainerStr(container_str, thisName);
if (!container_str) {
var container_str = defaultContainer_str;
endAt = -1;
}
var theRest = inputPath.substr(endAt + 1);
var fullPath = (theRest ? ((container_str + ".") + theRest) : (container_str));
var paramStart = fullPath.indexOf("(");
if (paramStart != -1) {
var paramEnd = fullPath.indexOf(")", paramStart + 1);
var param = fullPath.substring(paramStart + 1, paramEnd);
var functionPath = fullPath.substr(0, paramStart);
var thisFunction = eval (functionPath);
var param_array = String(param).split(",");
var i = 0;
while (i < param_array.length) {
param_array[i] = getImpliedValue(param_array[i]);
i++;
}
var output = thisFunction.apply(thisScope, param_array);
} else {
var output = eval (fullPath);
}
} else {
var output = inputPath;
}
return(output);
}
function nestedEval(inputPath, defaultContainer_str, thisName) {
function replaceLastBracket(inputPath) {
function openBracketCloseParam() {
var _local2 = thisPath.indexOf(")");
var _local4 = thisPath.indexOf("(");
var _local1 = thisPath.indexOf("]");
var _local3 = ((_local1 === -1) || (_local2 < _local1)) && (_local4 === -1);
if (_local2 === -1) {
_local3 = false;
}
if (!_local3) {
return(false);
}
output = (placeHolderMarker + "xx") + thisPath.substr(1);
return(true);
}
function openBracketOpenParam() {
var _local3 = thisPath.indexOf("(");
var _local4 = thisPath.indexOf("]");
var _local10 = ((_local4 === -1) || (_local3 < _local4)) && (_local3 > -1);
if (!_local10) {
return(false);
}
var _local5 = thisPath.substring(1, _local3);
_local5 = resolve(_local5);
var _local6 = evalPath(_local5, defaultContainer_str, thisName);
var _local11 = _local6 instanceof Function;
if (_local11) {
var _local7 = thisPath.indexOf(")", _local3);
var _local9 = thisPath.substring(_local3 + 1, _local7);
var _local2 = _local9.split(",");
params_ary = [];
var _local1 = 0;
while (_local1 < _local2.length) {
params_ary[_local1] = resolve(_local2[_local1]);
_local1++;
}
var _local8 = _local6.apply(thisScope, params_ary);
var _local12 = thisPath.substr(_local4 + 1);
var _local13 = setPlaceHolder(_local8);
output = _local13 + _local12;
return(true);
}
var _local12 = thisPath.substr(_local4 + 1);
trace(("ERROR: " + _local5) + " is not a function!");
output = _local12;
return(true);
}
function openBracketCloseBracket() {
var _local1 = thisPath.indexOf("]");
var _local2 = _local1 > -1;
if (!_local2) {
return(false);
}
var _local5 = thisPath.substr(_local1 + 1);
var _local4 = thisPath.substring(1, _local1);
var _local3 = evalPath(resolve(_local4), defaultContainer_str, thisName);
var _local6 = setPlaceHolder(_local3);
output = _local6 + _local5;
return(true);
}
var _local6 = inputPath.lastIndexOf("[");
var _local15 = inputPath.substr(0, _local6);
var thisPath = inputPath.substr(_local6);
var output = thisPath.substr(1);
if (openBracketCloseParam()) {
} else if (openBracketOpenParam()) {
} else if (openBracketCloseBracket()) {
}
return(_local15 + output);
}
function resolve(inputPath) {
var _local8 = placeHolderLength - 1;
var _local7 = inputPath.split(placeHolderMarker);
var _local5 = [];
_local5[0] = _local7[0];
var _local1 = 1;
while (_local1 < _local7.length) {
var _local3 = _local7[_local1];
var _local6 = _local3.substr(0, _local8);
var _local2 = getPlaceHolder(_local6);
var _local4 = _local3.substr(_local8);
if (_local4.length > 0) {
_local5[_local1] = String(_local2) + _local4;
} else {
_local5[_local1] = _local2;
}
_local1++;
}
if ((_local5.length === 2) && (_local5[0] === "")) {
return(_local5[1]);
}
return(_local5.join(""));
}
function setPlaceHolder(storeThisValue) {
resolvedValues.push(storeThisValue);
var _local3 = resolvedValues.length - 1;
var _local1 = String(_local3);
var _local2 = placeHolderLength - 1;
while (_local1.length < _local2) {
_local1 = "0" + _local1;
}
return(placeHolderMarker + _local1);
}
function getPlaceHolder(id_str) {
var _local2 = !isNaN(id_str);
if (_local2) {
var _local3 = Number(id_str);
return(resolvedValues[_local3]);
}
return(resolvedValues[id_str]);
}
var thisScope = this;
var _local24 = typeof(inputPath);
var _local21 = _local24 === "string";
if (!_local21) {
return(inputPath);
}
var placeHolderMarker = "\u00B6";
var placeHolderLength = 3;
var resolvedValues = [];
resolvedValues.xx = "[";
while (inputPath.indexOf("[") > -1) {
inputPath = replaceLastBracket(inputPath);
}
var output = resolve(inputPath);
return(output);
}
function once(func) {
var done = false;
return(function () {
return((done ? (0) : ((done = true)func.apply(this, arguments))));
});
}
function once(func) {
var done = false;
return(function () {
return((done ? (0) : ((done = true)func.apply(this, arguments))));
});
}
function once(func) {
var done = false;
return(function () {
return((done ? (0) : ((done = true)func.apply(this, arguments))));
});
}
function addScripting(sourceArray, destScript, scriptBase) {
var _local2 = 0;
while (_local2 < sourceArray.length) {
if (isNaN(_local2) == false) {
var _local3 = sourceArray[_local2];
var _local1 = {};
_local1.data = _local3;
_local1.abort = destScript.abort;
_local1.storeTimeout = function (timeoutID) {
scriptBase.timeoutID = timeoutID;
};
_local1.moveTimeout = _this.moveTimeout;
_local1.scriptBase = scriptBase;
_local1.endScript = scriptBase.done;
var _local4 = "define_" + _local3.type;
var _local5 = preApply(_this[_local4], _local1);
destScript[_local2] = _local5;
destScript[_local2].command_obj = _local1;
if (_local3.length > 0) {
_local1.script = makeScriptSystem();
_local1.script.checkForInterrupt = scriptInterruptCheck;
addScripting(_local3, _local1.script, scriptBase);
}
}
_local2++;
}
}
function getScriptNames() {
var _local1 = {};
for (var _local2 in data.scripts) {
_local1[_local2] = true;
}
return(_local1);
}
function playerFacingThis() {
switch (SPRITES.player.image.getParam("direction")) {
case 0 :
var _local5 = 0;
var _local4 = -1;
break;
case 1 :
_local5 = 1;
_local4 = 0;
break;
case 2 :
_local5 = 0;
_local4 = 1;
break;
case 3 :
_local5 = -1;
_local4 = 0;
}
var _local2 = 0 + (_local5 * mapTileSize);
var _local3 = 0 + (_local4 * mapTileSize);
var _local1 = new flash.geom.Point(_local2, _local3);
SPRITES.player.localToGlobal(_local1);
return(_this.hit.hitTest(_local1.x, _local1.y, false));
}
function populateParams() {
var _local5 = this;
var _local3 = 0;
while (_local3 < arguments.length) {
var _local4 = _local3 + 1;
_local5["param" + _local4] = arguments[_local3];
_local3++;
}
}
function runFunc(func) {
return(func.apply(_this, arguments.slice()));
}
function runFunc(func) {
return(func.apply(_this, arguments.slice()));
}
_this = this;
mapTileSize = MAP.tileSize || 16;
isCommonEvent = COMMON[_name] == _this;
levelId = (isCommonEvent ? (COMMON._parent.uid) : (ROOT.game_mc.uid));
TRACE_SEE = false;
TRACE_SCRIPT = _global.TRACE_SCRIPT || false;
TRACE_SCRIPT_COMMENT = false;
TRACE_SCRIPT_PAUSE = false;
waitForScript = {};
coolDownDelays = {talk:300};
LOOP.removeObject(_this, "sprites");
_this = _this || (this);
if (!addListener) {
AsBroadcaster.initialize(_this);
}
callUnload = function (parent) {
function recurseClips(parent, doThis, includeSelf, isShallow) {
if (!parent) {
return(undefined);
}
if (!(parent instanceof MovieClip)) {
return(undefined);
}
if (!doThis) {
return(undefined);
}
if (includeSelf === undefined) {
includeSelf = true;
}
if (isShallow === undefined) {
isShallow = false;
}
var reportedPath;
var actualPath;
for (var nam in parent) {
if (!nam) {
continue;
}
var thisChild = parent[nam];
if (thisChild instanceof MovieClip) {
reportedPath = String(eval (thisChild._target));
actualPath = (String(eval (parent._target)) + ".") + nam;
if (reportedPath.indexOf(actualPath) != -1) {
if (isShallow) {
doThis.call(thisChild, thisChild);
}
if (!isShallow) {
recurseClips(thisChild, doThis);
}
}
}
}
if (includeSelf) {
doThis.call(parent, parent);
}
}
function unloadThis(thisItem) {
thisItem.onKillFocus(null);
thisItem.dispatchEvent({type:"unload"});
thisItem.broadcastMessage("unload");
thisItem.unload();
thisItem.onUnload();
delete thisItem.onUnload;
thisItem.removeEventListener("keyDown", thisItem);
thisItem.removeEventListener("keyUp", thisItem);
Key.removeListener(thisItem);
Mouse.removeListener(thisItem);
for (var _local3 in thisItem._listeners) {
var _local2 = thisItem._listeners[_local3];
thisItem.removeListener(_local2);
}
thisItem.addListener = function () {
};
}
recurseClips(parent, unloadThis);
};
if (!react) {
react = make_react(_this);
}
onUnload = function () {
delete _this.onUnload;
callUnload(_this);
};
onEnterFrame = function () {
sendEvent("onEnterFrame");
};
var vow_version = 3.9;
var vow_scope = function () {
function forEach(array, callback) {
var _local1 = 0;
while (_local1 < array.length) {
callback(array[_local1], _local1);
_local1++;
}
}
function enlighten(queue, fate) {
forEach(queue, function (func) {
setTimeout(function () {
func(fate);
}, 0);
});
}
var _local12 = vow_version;
var vow_output = {version:_local12, make:function () {
function enqueue(resolution, func, vow) {
var _local2 = ((resolution === "kept") ? (keepers) : (breakers));
var isBroken = Boolean(_local2 === breakers);
_local2[_local2.length] = ((!(typeof(func) === "function")) ? (vow[resolution]) : (function (value) {
try {
_local1 = func(value)_local1if (_local1 && (_local1.is_promise === true)) {
if (isBroken) {
_local1.then(vow.doBreak, vow.doBreak)} else {
_local1.then(vow.keep, vow.doBreak)}
} else {
if (isBroken) {
vow.doBreak(_local1)}
if (!isBroken) {
vow.keep(_local1)}
}
} catch(e) {
vow.doBreak(e)}
}));
}
function herald(state, value, queue) {
if (!(status === "pending")) {
return(undefined);
}
fate = value;
status = state;
enlighten(queue, fate);
keepers = [];
breakers = [];
}
function get_then() {
return(set_then);
}
var breakers = [];
var fate = undefined;
var keepers = [];
var status = "pending";
var promise = {version:vow_output.version, is_promise:true, getStatus:function () {
return(status);
}, getValue:function () {
return(fate);
}, doBreak:function (value) {
herald("broken", value, breakers);
return(this.promise);
}, keep:function (value) {
herald("kept", value, keepers);
return(this.promise);
}};
var set_then = function (kept, broken) {
var _local1 = VOW.make();
switch (status) {
case "pending" :
enqueue("kept", kept, _local1);
enqueue("break", broken, _local1);
break;
case "kept" :
enqueue("kept", kept, _local1);
enlighten(keepers, fate);
keepers = [];
break;
case "broken" :
enqueue("break", broken, _local1);
enlighten(breakers, fate);
breakers = [];
}
return(_local1);
};
promise.addProperty("then", get_then, set_then);
promise.promise = promise;
return(promise);
}, every:function (array) {
var remaining = array.length;
var results = [];
var vow = VOW.make();
if (!remaining) {
vow.keep([]);
} else {
forEach(array, function (promise, i) {
promise.then(function (value) {
results[i] = value;
remaining--;
if (remaining === 0) {
vow.keep(results);
}
}, function (reason) {
remaining = null;
vow.doBreak(reason);
});
});
}
return(vow.promise);
}, everyTried:function (array) {
var remaining = array.length;
var results = [];
var vow = VOW.make();
if (!remaining) {
vow.keep([]);
} else {
forEach(array, function (promise, i) {
promise.then(function (value) {
results[i] = value;
remaining--;
if (remaining === 0) {
vow.keep(results);
}
}, function (failReason) {
results[i] = undefined;
remaining--;
if (remaining === 0) {
vow.keep(results);
}
});
});
}
return(vow.promise);
}, first:function (array) {
function check() {
remaining--;
if ((remaining === 0) && (!found)) {
vow.doBreak();
}
}
var found = false;
var remaining = array.length;
var vow = VOW.make();
if (remaining === 0) {
vow.doBreak(array);
} else {
forEach(array, function (promise) {
promise.then(function (value) {
if (!found) {
found = true;
vow.keep(value);
}
check();
}, check);
});
}
return(vow.promise);
}, kept:function (value) {
var _local1 = VOW.make();
_local1.keep(value);
return(_local1.promise);
}, broken:function (reason) {
var _local1 = VOW.make();
_local1.doBreak(reason);
return(_local1.promise);
}, wait:function (milliseconds) {
var _local1 = function (input) {
var vow = VOW.make();
var milliseconds = ((milliseconds === undefined) ? 0 : (milliseconds));
setTimeout(function () {
vow.keep(input);
}, milliseconds);
return(vow.promise);
};
return(_local1);
}, firstWait:function (milliseconds) {
var vow = VOW.make();
milliseconds = ((milliseconds === undefined) ? 0 : (milliseconds));
setTimeout(function () {
vow.keep({});
}, milliseconds);
return(vow.promise);
}, start:function (value) {
var _local1 = VOW.make();
_local1.keep(value);
return(_local1.promise);
}, runSequence:function (sequence) {
var _local4 = VOW.make().keep();
var _local1 = 0;
while (_local1 < sequence.length) {
var _local3 = sequence[_local1];
var _local2 = _local4.then(_local3);
if (!(_local2.is_promise === true)) {
_local2 = VOW.kept();
}
_local4 = _local2;
_local1++;
}
var _local6 = _local4;
return(_local6);
}, wrap:function (func, callbackIndex) {
if (callbackIndex === undefined) {
var callbackIndex = 0;
}
return(function () {
var vow = VOW.make();
if (callbackIndex === undefined) {
var callbackIndex = (arguments.length - 1);
}
arguments[callbackIndex] = function (output) {
vow.keep(output);
};
func.apply(this, arguments);
return(vow.promise);
});
}, preApply:function (func, param) {
var args = arguments.slice(1);
return(function () {
return(func.apply(null, args));
});
}, failThru:function (failReason) {
return(failReason);
}, null:null};
vow_output.any = (vow_output.allResolved = vow_output.everyTried);
return(vow_output);
};
var VOW = vow_scope();
delete vow_scope;
delete vow_version;
makeStringObject = function (input_str, defaultContainer_str, thisName) {
var _local9 = null;
var _local8 = input_str.indexOf("{");
if ((_local8 == -1) || (_local8 == undefined)) {
_local9 = input_str;
} else {
var _local7 = {};
var _local12 = input_str.indexOf("}", _local8 + 1);
var _local10 = input_str.substring(_local8 + 1, _local12);
_local10 = nestedEval(_local10, defaultContainer_str, thisName);
var _local6 = _local10.split(",");
var _local2 = 0;
while (_local2 < _local6.length) {
var _local3 = _local6[_local2];
var _local4 = _local3.indexOf(":");
var _local5 = _local3.substr(0, _local4);
var _local1 = _local3.substr(_local4 + 1);
_local1 = getImpliedValue(_local1);
_local7[_local5] = _local1;
_local2++;
}
_local9 = _local7;
}
return(_local9);
};
if (data.copySprite.id) {
var settings = data.copySprite.data;
var copiedData = {};
var spriteName = nestedEval(data.copySprite.id, "RAM", "_this");
var spriteRef = evalPath(spriteName, "COMMON", "_this");
copyObject(spriteRef.data, copiedData);
_this.data = copiedData;
for (var nam in settings) {
var newValue = _this.nestedEval(settings[nam], "RAM", "_this");
newValue = _this.makeStringObject(newValue, "RAM", "_this");
_this[nam] = newValue;
}
}
LOOP.addObject(null, "sprites");
_this.addProperty("isPaused", function () {
return(LOOP.isPaused("sprites"));
}, null);
_noCollide = ((!(noCollide === undefined)) ? (noCollide) : false);
_this.addProperty("noCollide", function () {
return(_noCollide);
}, function (newValue) {
if (_noCollide === newValue) {
return(undefined);
}
_noCollide = newValue;
sendEvent("change_noCollide", {value:newValue});
});
initialAppearance = {};
copyObject(data.initialAppearance, initialAppearance);
initialAppearance.charset = nestedEval(initialAppearance.charset, "RAM", "_this");
if (!(data.initialAppearance.charset === initialAppearance.charset)) {
trace((("rpgSprite charset: " + data.initialAppearance.charset) + "\n -> resolved: ") + initialAppearance.charset);
}
image = newSprite(initialAppearance, this, "image", 10);
image.useInterval = false;
var imageAnim = {loop:image.manualLoop};
LOOP.addObject(imageAnim, "always");
react.to("unload").then = function () {
image.onUnload();
LOOP.removeObject(imageAnim, "always");
};
if (brightness) {
init_brightness = brightness;
} else if ((this.transform.colorTransform.redMultiplier == this.transform.colorTransform.greenMultiplier) && (this.transform.colorTransform.redMultiplier == this.transform.colorTransform.blueMultiplier)) {
init_brightness = (this.transform.colorTransform.redOffset * 100) / 255;
} else {
init_brightness = 0;
}
get_brightness = function () {
return(this.transform.colorTransform.redOffset);
};
set_brightness = function (newValue) {
var _local3 = _alpha / 100;
var _local2 = (newValue * 255) / 100;
this.transform.colorTransform = new flash.geom.ColorTransform(1, 1, 1, _local3, _local2, _local2, _local2, 0);
};
this.addProperty("brightness", get_brightness, set_brightness);
brightness = init_brightness;
delete init_brightness;
image.addProperty("brightness", get_brightness, set_brightness);
image.brightness = 0;
image._y = 8;
if (data.hitbox) {
hit._width = data.hitbox.width;
hit._height = data.hitbox.height;
} else {
hit._width = mapTileSize;
hit._height = mapTileSize;
}
tile = tile || ({});
tile.tileSize = MAP.tileSize || 16;
tile.offset = tile.offset || ({});
tile.offset.x = 0;
tile.offset.y = 0;
get_xTile = function () {
return(Math.floor(_x / tile.tileSize));
};
set_xTile = function (newValue) {
_x = ((newValue * tile.tileSize) + tile.offset.x);
};
tile.addProperty("x", get_xTile, set_xTile);
get_yTile = function () {
return(Math.floor((_y - (tile.offset.y / 2)) / tile.tileSize));
};
set_yTile = function (newValue) {
_y = ((newValue * tile.tileSize) + tile.offset.y);
};
tile.addProperty("y", get_yTile, set_yTile);
tile.tileSize = mapTileSize;
tile.offset.x = 8;
tile.offset.y = 8;
playerWasPaused = false;
pausedItems = {};
react.to("unload").then = function () {
for (var _local2 in pausedItems) {
var _local1 = ((!(playerWasPaused === undefined)) ? (playerWasPaused) : false);
if (_local1 === false) {
LOOP.pauseSet(_local2, false);
}
}
};
currentMovements = [];
currentMovements.add = function (prom) {
var _local1 = currentMovements.length - 1;
while (_local1 >= 0) {
if (currentMovements[_local1] === prom) {
return(undefined);
}
_local1--;
}
currentMovements.push(prom);
};
currentMovements.remove = function (prom) {
var _local1 = currentMovements.length - 1;
while (_local1 >= 0) {
if (currentMovements[_local1] === prom) {
currentMovements.splice(_local1, 1);
break;
}
_local1--;
}
};
currentMovements.cancelAll = function (abortValue) {
var _local1 = currentMovements.length - 1;
while (_local1 >= 0) {
currentMovements[_local1].abort(abortValue);
_local1--;
}
};
moveTimeout = [];
moveTimeout.addTimeout = function (timeoutID) {
var _local2 = {timeoutID:timeoutID};
this.push(_local2);
};
moveTimeout.remove = function (timeoutID) {
var _local2 = this.length - 1;
while (_local2 >= 0) {
if (this[_local2].timeoutID == timeoutID) {
clearTimeout(this[_local2].timeoutID);
this.splice(_local2, 1);
}
_local2--;
}
};
moveTimeout.exists = function (timeoutID) {
var _local3 = false;
var _local2 = this.length - 1;
while (_local2 >= 0) {
if (this[_local2].timeoutID == timeoutID) {
_local3 = true;
break;
}
_local2--;
}
return(_local3);
};
moveTimeout.removeAll = function (abortValue) {
abortValue = arguments[0];
var _local2 = moveTimeout.length - 1;
while (_local2 >= 0) {
clearTimeout(moveTimeout[_local2].timeoutID);
moveTimeout[_local2].timeoutID = null;
moveTimeout.splice(_local2, 1);
_local2--;
}
for (var _local3 in scripts) {
if (scripts[_local3].timeoutID == null) {
return(undefined);
}
clearTimeout(scripts[_local3].timeoutID);
scripts[_local3].timeoutID = null;
}
currentMovements.cancelAll(abortValue);
};
stopMoveCommands = function (abortValue) {
abortValue = arguments[0];
moveTimeout.removeAll(abortValue);
slideY.onMotionFinished();
};
killWait = stopMoveCommands;
stopMoving = stopMoveCommands;
react.to("unload").then = function () {
stopMoveCommands(false);
for (var _local1 in _this) {
if (_this[_local1].timeoutID) {
clearTimeout(_this[_local1].timeoutID);
_this[_local1].timeoutID = null;
}
}
};
makeDefaultScriptFunction = function (eventFullPath) {
if (!LEVEL.eventDelay) {
LEVEL.eventDelay = {};
}
if (!LEVEL.eventDelay[eventFullPath]) {
LEVEL.eventDelay[eventFullPath] = 0;
}
var lastRunAt = getTimer();
var minRepeatDelay = 33;
var _local2 = eventFullPath.lastIndexOf(".");
if (_local2 < 0) {
_local2 = 0;
}
var eventParentPath = eventFullPath.substr(0, _local2);
var eventParentObject = evalPath(eventParentPath, "_this", "_this");
var addStaggeredDelay = 0;
var _local18 = 24;
if (!(eventParentObject === _this)) {
LEVEL.eventDelay[eventFullPath] = LEVEL.eventDelay[eventFullPath] + 1;
var _local14 = LEVEL.eventDelay[eventFullPath];
addStaggeredDelay = _local14 * _local18;
}
var eventName = eventFullPath.substr(_local2);
if (eventName.charAt(0) === ".") {
eventName = eventName.substr(1);
}
if (_this["allow_" + eventName] === undefined) {
_this["allow_" + eventName] = true;
}
var event_reaction = function (evt) {
if ((_this.scripts[eventFullPath].length > 0) && (_this["allow_" + eventName])) {
var allowThisToRun = true;
sendEvent(("script_" + eventName) + "_checkAllow", {callback:function (isAllowed) {
if (isAllowed === undefined) {
return(undefined);
}
allowThisToRun = isAllowed;
}}, _this);
if (allowThisToRun === false) {
return(undefined);
}
var _local5 = evt.params;
populateParams.apply(_this, _local5);
_this.event = evt;
_this["allow_" + eventName] = false;
var vow = VOW.make();
setTimeout(function () {
sendEvent(("script_" + eventName) + "_start", null, _this);
var _local1 = scripts[eventFullPath].runEvent(0);
_local1.then(function () {
vow.keep();
});
if (!(_local1.is_promise === true)) {
vow.keep();
}
}, addStaggeredDelay);
evt.callback(vow.promise);
waitForScript[eventName] = vow.promise;
vow.promise.then(function () {
delete waitForScript[eventName];
});
var _local4 = getTimer() - lastRunAt;
lastRunAt = getTimer();
var _local2 = coolDownDelays[eventName];
var coolDownDelay;
if (_local2) {
coolDownDelay = _local2;
} else {
var _local6 = Boolean(_local4 < minRepeatDelay);
coolDownDelay = (_local6 ? 33 : 0);
}
vow.promise.then(function () {
setTimeout(function () {
_this["allow_" + eventName] = true;
sendEvent(("script_" + eventName) + "_done", null, _this);
}, coolDownDelay);
});
}
};
var react_to_event = react.to(eventName).from(eventParentObject);
react_to_event.then = event_reaction;
var _local19 = Boolean(eventFullPath.indexOf("SPRITES.") > -1);
var _local13 = Boolean(eventFullPath.indexOf("LEVEL.") > -1);
var _local7 = Boolean(eventFullPath.indexOf("ROOT.game_mc.") > -1);
var _local20 = Boolean(eventFullPath.indexOf("MAP.") > -1);
var _local8 = Boolean(eventFullPath.indexOf("PANORAMA.") > -1);
var _local15 = Boolean(eventFullPath.indexOf("UNDERLAY.") > -1);
var _local5 = Boolean(eventFullPath.indexOf("OVERLAY.") > -1);
var _local9 = Boolean(eventFullPath.indexOf("MAP_OVERLAY.") > -1);
var _local17 = Boolean(eventFullPath.indexOf("MOOD_MC.") > -1);
var _local6 = (((((((_local19 || (_local13)) || (_local7)) || (_local20)) || (_local8)) || (_local15)) || (_local5)) || (_local9)) || (_local17);
if (_local6) {
react.to("onRemoveLevel").from(ROOT).then = function () {
react_to_event.disable();
};
}
var _local16 = Boolean(eventFullPath.indexOf("SPRITES.player.") > -1);
var _local10 = isCommonEvent;
if (_local16 && (_local10)) {
react.to("onNewLevel").from(ROOT).then = function () {
eventParentObject = evalPath(eventParentPath, "_this", "_this");
react_to_event = react.to(eventName).from(eventParentObject);
react_to_event.then = event_reaction;
};
}
if (_this[eventName] === undefined) {
_this[eventName] = function () {
var output_prom = null;
var _local2 = arguments;
sendEvent(eventName, {callback:function (newScript_prom) {
output_prom = newScript_prom;
}, params:_local2}, _this);
_this[eventName].promise = output_prom;
return(output_prom);
};
sendEvent("defineScript", {name:eventName}, _this);
}
};
if (!_global.AVOID_LOOP_PANIC) {
_global.AVOID_LOOP_PANIC = make_avoidLoopPanic();
}
var vow_version = 3.9;
var vow_scope = function () {
function forEach(array, callback) {
var _local1 = 0;
while (_local1 < array.length) {
callback(array[_local1], _local1);
_local1++;
}
}
function enlighten(queue, fate) {
forEach(queue, function (func) {
setTimeout(function () {
func(fate);
}, 0);
});
}
var _local12 = vow_version;
var vow_output = {version:_local12, make:function () {
function enqueue(resolution, func, vow) {
var _local2 = ((resolution === "kept") ? (keepers) : (breakers));
var isBroken = Boolean(_local2 === breakers);
_local2[_local2.length] = ((!(typeof(func) === "function")) ? (vow[resolution]) : (function (value) {
try {
_local1 = func(value)_local1if (_local1 && (_local1.is_promise === true)) {
if (isBroken) {
_local1.then(vow.doBreak, vow.doBreak)} else {
_local1.then(vow.keep, vow.doBreak)}
} else {
if (isBroken) {
vow.doBreak(_local1)}
if (!isBroken) {
vow.keep(_local1)}
}
} catch(e) {
vow.doBreak(e)}
}));
}
function herald(state, value, queue) {
if (!(status === "pending")) {
return(undefined);
}
fate = value;
status = state;
enlighten(queue, fate);
keepers = [];
breakers = [];
}
function get_then() {
return(set_then);
}
var breakers = [];
var fate = undefined;
var keepers = [];
var status = "pending";
var promise = {version:vow_output.version, is_promise:true, getStatus:function () {
return(status);
}, getValue:function () {
return(fate);
}, doBreak:function (value) {
herald("broken", value, breakers);
return(this.promise);
}, keep:function (value) {
herald("kept", value, keepers);
return(this.promise);
}};
var set_then = function (kept, broken) {
var _local1 = VOW.make();
switch (status) {
case "pending" :
enqueue("kept", kept, _local1);
enqueue("break", broken, _local1);
break;
case "kept" :
enqueue("kept", kept, _local1);
enlighten(keepers, fate);
keepers = [];
break;
case "broken" :
enqueue("break", broken, _local1);
enlighten(breakers, fate);
breakers = [];
}
return(_local1);
};
promise.addProperty("then", get_then, set_then);
promise.promise = promise;
return(promise);
}, every:function (array) {
var remaining = array.length;
var results = [];
var vow = VOW.make();
if (!remaining) {
vow.keep([]);
} else {
forEach(array, function (promise, i) {
promise.then(function (value) {
results[i] = value;
remaining--;
if (remaining === 0) {
vow.keep(results);
}
}, function (reason) {
remaining = null;
vow.doBreak(reason);
});
});
}
return(vow.promise);
}, everyTried:function (array) {
var remaining = array.length;
var results = [];
var vow = VOW.make();
if (!remaining) {
vow.keep([]);
} else {
forEach(array, function (promise, i) {
promise.then(function (value) {
results[i] = value;
remaining--;
if (remaining === 0) {
vow.keep(results);
}
}, function (failReason) {
results[i] = undefined;
remaining--;
if (remaining === 0) {
vow.keep(results);
}
});
});
}
return(vow.promise);
}, first:function (array) {
function check() {
remaining--;
if ((remaining === 0) && (!found)) {
vow.doBreak();
}
}
var found = false;
var remaining = array.length;
var vow = VOW.make();
if (remaining === 0) {
vow.doBreak(array);
} else {
forEach(array, function (promise) {
promise.then(function (value) {
if (!found) {
found = true;
vow.keep(value);
}
check();
}, check);
});
}
return(vow.promise);
}, kept:function (value) {
var _local1 = VOW.make();
_local1.keep(value);
return(_local1.promise);
}, broken:function (reason) {
var _local1 = VOW.make();
_local1.doBreak(reason);
return(_local1.promise);
}, wait:function (milliseconds) {
var _local1 = function (input) {
var vow = VOW.make();
var milliseconds = ((milliseconds === undefined) ? 0 : (milliseconds));
setTimeout(function () {
vow.keep(input);
}, milliseconds);
return(vow.promise);
};
return(_local1);
}, firstWait:function (milliseconds) {
var vow = VOW.make();
milliseconds = ((milliseconds === undefined) ? 0 : (milliseconds));
setTimeout(function () {
vow.keep({});
}, milliseconds);
return(vow.promise);
}, start:function (value) {
var _local1 = VOW.make();
_local1.keep(value);
return(_local1.promise);
}, runSequence:function (sequence) {
var _local4 = VOW.make().keep();
var _local1 = 0;
while (_local1 < sequence.length) {
var _local3 = sequence[_local1];
var _local2 = _local4.then(_local3);
if (!(_local2.is_promise === true)) {
_local2 = VOW.kept();
}
_local4 = _local2;
_local1++;
}
var _local6 = _local4;
return(_local6);
}, wrap:function (func, callbackIndex) {
if (callbackIndex === undefined) {
var callbackIndex = 0;
}
return(function () {
var vow = VOW.make();
if (callbackIndex === undefined) {
var callbackIndex = (arguments.length - 1);
}
arguments[callbackIndex] = function (output) {
vow.keep(output);
};
func.apply(this, arguments);
return(vow.promise);
});
}, preApply:function (func, param) {
var args = arguments.slice(1);
return(function () {
return(func.apply(null, args));
});
}, failThru:function (failReason) {
return(failReason);
}, null:null};
vow_output.any = (vow_output.allResolved = vow_output.everyTried);
return(vow_output);
};
var VOW = vow_scope();
delete vow_scope;
delete vow_version;
if (!_global.VOW) {
_global.VOW = VOW;
}
makeScriptSystem = function () {
function done() {
if (_this.isDone === true) {
return(undefined);
}
_this.isDone = true;
_this.index = _this.length;
_this.done();
_this.broadcastMessage("onScriptDone");
if (script_vow.getStatus() === "pending") {
script_vow.keep();
}
return(script_vow.promise);
}
var _local8 = _this;
var _this = [];
AsBroadcaster.initialize(_this);
var script_vow = null;
_this.promise = null;
_this.index = 0;
_this.isDone = null;
var _local9 = Math.floor(Math.random() * 99);
if (!_global.AVOID_LOOP_PANIC) {
_global.AVOID_LOOP_PANIC = make_avoidLoopPanic(100);
}
_this.abort = done;
_this.runEvent = function (startIndex) {
_this.index = startIndex || 0;
if (_this.index >= _this.length) {
return(done());
}
if (TRACE_SCRIPT) {
var _local4 = _this[_this.index].command_obj.data.type;
trace((("runEvent( " + _this.index) + " ) ") + _local4);
trace(((" _this[" + _this.index) + "]: ") + _this[_this.index]);
}
var _local5 = _this.index === 0;
if (_local5) {
if (script_vow.getStatus() === "pending") {
script_vow.keep();
}
script_vow = VOW.make();
_this.promise = script_vow.promise;
}
_this.isDone = false;
var _local3 = true;
var _local1 = false;
do {
if (_this.index >= _this.length) {
return(done());
}
var commandIsDone_prom = _this[_this.index]();
var _local2 = commandIsDone_prom.getStatus();
_local3 = _local2 === "kept";
if (_local2 === "broken") {
_local1 = true;
}
if (_this.isDone) {
_local1 = true;
}
if (_this.checkForInterrupt() === false) {
_local1 = true;
}
if (!commandIsDone_prom.is_promise) {
_local1 = true;
}
if (TRACE_SCRIPT) {
trace(((" " + _local4) + " returned: ") + commandIsDone_prom);
}
if (_local3 && (_local1 === false)) {
_this.index++;
}
} while (_local3 && (_local1 === false));
if (_local3 === false) {
var react_to_unload = react.once().to("unload");
commandIsDone_prom.then = (react_to_unload.then = function () {
if (commandIsDone_prom.getStatus() === "pending") {
commandIsDone_prom.doBreak();
}
react_to_unload.disable();
});
}
if ((_local1 === false) && (_local3 === false)) {
commandIsDone_prom.then(_this.nextEvent, done);
}
if (_local1) {
return(done());
}
return(_this.promise);
};
_this.nextEvent = function () {
var _local1 = (_this.checkForInterrupt ? (_this.checkForInterrupt()) : true);
if (_local1 === false) {
done();
}
_this.runEvent(_this.index + 1);
};
return(_this);
};
define_comment = function (thisCommand_obj) {
var _local1 = nestedEval(thisCommand_obj.data.message, "RAM", "_this");
if (TRACE_SCRIPT || (TRACE_SCRIPT_COMMENT)) {
if (_local1) {
trace("comment: " + _local1);
}
}
return(VOW.make().keep());
};
define_event = function (thisCommand_obj) {
var _local7 = nestedEval(thisCommand_obj.data.name, defaultContainer_str, thisContainer_str);
var _local8 = true;
if (!_local7) {
_local8 = false;
}
if (_local8) {
var _local9 = ("[" + thisCommand_obj.data.path) + "]";
var _local5 = nestedEval(_local9, defaultContainer_str, thisContainer_str);
var _local10 = _local5 instanceof Object;
if (!_local10) {
_local5 = undefined;
}
var _local3 = {};
_local3.type = _local7;
var _local2 = thisCommand_obj.data.data;
for (var _local4 in _local2) {
var _local1 = nestedEval(_local2[_local4], defaultContainer_str, thisContainer_str);
_local3[_local4] = _local1;
}
if (TRACE_SCRIPT) {
trace(((("event: " + thisCommand_obj.data.name) + " (") + thisCommand_obj.data.path) + ")");
}
sendEvent(_local7, _local3, _local5);
}
return(VOW.make().keep());
};
define_fadeMusic = function (thisCommand_obj) {
if (TRACE_SCRIPT) {
trace("fadeMusic");
}
var _local2 = thisCommand_obj.data.volume;
var _local1 = thisCommand_obj.data.duration;
MUSIC.fadeTo(_local2, _local1);
return(VOW.make().keep());
};
define_fadeScreen = function (thisCommand_obj) {
if (TRACE_SCRIPT) {
trace("\nFade: " + thisCommand_obj.data.fadeDir);
}
var _local3;
var _local2;
var _local1 = thisCommand_obj.data.transition;
if (_local1) {
_local2 = {effect:_local1.effect, seconds:_local1.seconds, easing:_local1.easing, mask:_local1.mask};
}
if (thisCommand_obj.data.fadeDir === "out") {
if (!_local1) {
_local2 = {effect:"fadeBlack", seconds:0.5, easing:"easeLinear", mask:""};
}
_local3 = TRANSITION.start(_local2);
} else {
if (!_local1) {
_local2 = {effect:"fade", seconds:0.5, easing:"easeLinear", mask:""};
}
_local3 = TRANSITION.doFadeIn(_local2);
}
if (thisCommand_obj.data.waitForEnd && (_local3)) {
return(_local3);
}
return(VOW.make().keep());
};
define_if = function (thisCommand_obj) {
var _local2 = thisCommand_obj.data;
var _local7 = nestedEval(_local2.condition[0], "RAM", "_this");
var _local4 = evalPath(_local7, "RAM", "_this");
if (_local7 === "") {
_local4 = undefined;
}
var _local6 = getImpliedValue(_local2.condition[2]);
_local6 = nestedEval(_local6, "RAM", "_this");
var _local1 = getImpliedValue(_local6);
var _local3 = getImpliedValue(_local4);
var _local5 = false;
switch (_local2.condition[1]) {
case "=" :
if (_local4 == _local1) {
_local5 = true;
}
if (_local3 == _local1) {
_local5 = true;
}
break;
case "!=" :
_local5 = (_local4 != _local1) && (_local3 != _local1);
break;
case ">" :
if ((isNaN(_local3) == false) && (isNaN(_local1) == false)) {
_local5 = _local3 > _local1;
}
break;
case ">=" :
if ((isNaN(_local3) == false) && (isNaN(_local1) == false)) {
_local5 = _local3 >= _local1;
}
break;
case "<" :
if ((isNaN(_local3) == false) && (isNaN(_local1) == false)) {
_local5 = _local3 < _local1;
}
break;
case "<=" :
if (!((isNaN(_local3) == false) && (isNaN(_local1) == false))) {
break;
}
_local5 = _local3 <= _local1;
}
if (TRACE_SCRIPT) {
trace((((("if: " + _local2.condition[0]) + " ") + _local2.condition[1]) + " ") + _local2.condition[2]);
trace((((((((("\t (" + _local4) + " ") + _local2.condition[1]) + " ") + _local1) + ")") + " (") + _local5) + ")");
mdm.Exception.DebugWindow.trace((((("if: " + _local2.condition[0]) + " ") + _local2.condition[1]) + " ") + _local2.condition[2]);
mdm.Exception.DebugWindow.trace((((((((("\t (" + _local4) + " ") + _local2.condition[1]) + " ") + _local1) + ")") + " (") + _local5) + ")");
}
if (_local5 && (_local2.length > 0)) {
var _local8 = VOW.make();
thisCommand_obj.script.done = _local8.keep;
thisCommand_obj.script.runEvent(0);
return(_local8);
}
return(VOW.make().keep());
};
var vow_version = 3.9;
var vow_scope = function () {
function forEach(array, callback) {
var _local1 = 0;
while (_local1 < array.length) {
callback(array[_local1], _local1);
_local1++;
}
}
function enlighten(queue, fate) {
forEach(queue, function (func) {
setTimeout(function () {
func(fate);
}, 0);
});
}
var _local12 = vow_version;
var vow_output = {version:_local12, make:function () {
function enqueue(resolution, func, vow) {
var _local2 = ((resolution === "kept") ? (keepers) : (breakers));
var isBroken = Boolean(_local2 === breakers);
_local2[_local2.length] = ((!(typeof(func) === "function")) ? (vow[resolution]) : (function (value) {
try {
_local1 = func(value)_local1if (_local1 && (_local1.is_promise === true)) {
if (isBroken) {
_local1.then(vow.doBreak, vow.doBreak)} else {
_local1.then(vow.keep, vow.doBreak)}
} else {
if (isBroken) {
vow.doBreak(_local1)}
if (!isBroken) {
vow.keep(_local1)}
}
} catch(e) {
vow.doBreak(e)}
}));
}
function herald(state, value, queue) {
if (!(status === "pending")) {
return(undefined);
}
fate = value;
status = state;
enlighten(queue, fate);
keepers = [];
breakers = [];
}
function get_then() {
return(set_then);
}
var breakers = [];
var fate = undefined;
var keepers = [];
var status = "pending";
var promise = {version:vow_output.version, is_promise:true, getStatus:function () {
return(status);
}, getValue:function () {
return(fate);
}, doBreak:function (value) {
herald("broken", value, breakers);
return(this.promise);
}, keep:function (value) {
herald("kept", value, keepers);
return(this.promise);
}};
var set_then = function (kept, broken) {
var _local1 = VOW.make();
switch (status) {
case "pending" :
enqueue("kept", kept, _local1);
enqueue("break", broken, _local1);
break;
case "kept" :
enqueue("kept", kept, _local1);
enlighten(keepers, fate);
keepers = [];
break;
case "broken" :
enqueue("break", broken, _local1);
enlighten(breakers, fate);
breakers = [];
}
return(_local1);
};
promise.addProperty("then", get_then, set_then);
promise.promise = promise;
return(promise);
}, every:function (array) {
var remaining = array.length;
var results = [];
var vow = VOW.make();
if (!remaining) {
vow.keep([]);
} else {
forEach(array, function (promise, i) {
promise.then(function (value) {
results[i] = value;
remaining--;
if (remaining === 0) {
vow.keep(results);
}
}, function (reason) {
remaining = null;
vow.doBreak(reason);
});
});
}
return(vow.promise);
}, everyTried:function (array) {
var remaining = array.length;
var results = [];
var vow = VOW.make();
if (!remaining) {
vow.keep([]);
} else {
forEach(array, function (promise, i) {
promise.then(function (value) {
results[i] = value;
remaining--;
if (remaining === 0) {
vow.keep(results);
}
}, function (failReason) {
results[i] = undefined;
remaining--;
if (remaining === 0) {
vow.keep(results);
}
});
});
}
return(vow.promise);
}, first:function (array) {
function check() {
remaining--;
if ((remaining === 0) && (!found)) {
vow.doBreak();
}
}
var found = false;
var remaining = array.length;
var vow = VOW.make();
if (remaining === 0) {
vow.doBreak(array);
} else {
forEach(array, function (promise) {
promise.then(function (value) {
if (!found) {
found = true;
vow.keep(value);
}
check();
}, check);
});
}
return(vow.promise);
}, kept:function (value) {
var _local1 = VOW.make();
_local1.keep(value);
return(_local1.promise);
}, broken:function (reason) {
var _local1 = VOW.make();
_local1.doBreak(reason);
return(_local1.promise);
}, wait:function (milliseconds) {
var _local1 = function (input) {
var vow = VOW.make();
var milliseconds = ((milliseconds === undefined) ? 0 : (milliseconds));
setTimeout(function () {
vow.keep(input);
}, milliseconds);
return(vow.promise);
};
return(_local1);
}, firstWait:function (milliseconds) {
var vow = VOW.make();
milliseconds = ((milliseconds === undefined) ? 0 : (milliseconds));
setTimeout(function () {
vow.keep({});
}, milliseconds);
return(vow.promise);
}, start:function (value) {
var _local1 = VOW.make();
_local1.keep(value);
return(_local1.promise);
}, runSequence:function (sequence) {
var _local4 = VOW.make().keep();
var _local1 = 0;
while (_local1 < sequence.length) {
var _local3 = sequence[_local1];
var _local2 = _local4.then(_local3);
if (!(_local2.is_promise === true)) {
_local2 = VOW.kept();
}
_local4 = _local2;
_local1++;
}
var _local6 = _local4;
return(_local6);
}, wrap:function (func, callbackIndex) {
if (callbackIndex === undefined) {
var callbackIndex = 0;
}
return(function () {
var vow = VOW.make();
if (callbackIndex === undefined) {
var callbackIndex = (arguments.length - 1);
}
arguments[callbackIndex] = function (output) {
vow.keep(output);
};
func.apply(this, arguments);
return(vow.promise);
});
}, preApply:function (func, param) {
var args = arguments.slice(1);
return(function () {
return(func.apply(null, args));
});
}, failThru:function (failReason) {
return(failReason);
}, null:null};
vow_output.any = (vow_output.allResolved = vow_output.everyTried);
return(vow_output);
};
var VOW = vow_scope();
delete vow_scope;
delete vow_version;
define_move = function (thisCommand_obj) {
if (TRACE_SCRIPT) {
trace("move");
}
var _local4;
var _local3 = nestedEval(thisCommand_obj.data.sprite, "RAM", "_this");
if (_local3 == "this") {
_local3 = _this._name;
_local4 = _this._parent.is_common || false;
}
if (TRACE_SCRIPT) {
trace(" spriteName: " + _local3);
}
if (_local4) {
thisCommand_obj.sprite = evalPath(_local3, "COMMON", "_this");
} else {
thisCommand_obj.sprite = evalPath(_local3, "SPRITES", "_this");
}
var _local1 = 0;
while (_local1 < thisCommand_obj.script.length) {
var _local2 = thisCommand_obj.script[_local1].command_obj;
_local2.sprite = thisCommand_obj.sprite;
_local1++;
}
var moveScript_vow = VOW.make();
thisCommand_obj.sprite.currentMovements.add(moveScript_vow.promise);
thisCommand_obj.sprite.lastMove = {};
AsBroadcaster.initialize(thisCommand_obj.sprite.lastMove);
thisCommand_obj.script.thisCommand_obj = thisCommand_obj;
thisCommand_obj.script.done = function () {
if (TRACE_SCRIPT) {
trace("move done for: " + thisCommand_obj.sprite);
}
thisCommand_obj.sprite.lastMove.broadcastMessage("onMotionFinished");
thisCommand_obj.sprite.broadcastMessage("onMoveScriptFinish");
delete thisCommand_obj.sprite.lastMove;
moveScript_vow.keep(true);
thisCommand_obj.sprite.currentMovements.remove(moveScript_vow.promise);
};
thisCommand_obj.script.done = once(thisCommand_obj.script.done);
moveScript_vow.promise.abort = function (abortValue) {
if (abortValue === "") {
abortValue = undefined;
}
if (abortValue === undefined) {
abortValue = false;
}
if (abortValue === "true") {
abortValue = true;
}
if (abortValue === "false") {
abortValue = false;
}
thisCommand_obj.script.done = null;
thisCommand_obj.sprite.currentMovements.remove(moveScript_vow.promise);
moveScript_vow.keep(abortValue);
};
thisCommand_obj.script.runEvent(0);
return(VOW.make().keep());
};
define_music = function (thisCommand_obj) {
var _local2 = MUSIC.volume;
var _local3 = MUSIC.songVolume;
MUSIC.songVolume = 100;
MUSIC.volume = 100;
MUSIC.fade.onMotionFinished();
var _local1 = nestedEval(thisCommand_obj.data.file, "RAM", "_this");
if (TRACE_SCRIPT) {
trace("music: " + _local1);
}
MUSIC.playSong(_local1);
MUSIC.volume = _local2;
MUSIC.songVolume = thisCommand_obj.data.volume;
return(VOW.make().keep());
};
define_pause = function (thisCommand_obj) {
var _local1 = thisCommand_obj.data.system;
var _local2 = thisCommand_obj.data.isPaused;
if (TRACE_SCRIPT || (TRACE_SCRIPT_PAUSE)) {
trace("pause: " + _local1);
}
LOOP.pauseSet(_local1, _local2);
if (TRACE_SCRIPT || (TRACE_SCRIPT_PAUSE)) {
trace(((("pause result: " + LOOP.isPaused(_local1)) + " (") + _local1) + ")");
}
return(VOW.make().keep());
};
makeStringObject = function (input_str, defaultContainer_str, thisName) {
var _local9 = null;
var _local8 = input_str.indexOf("{");
if ((_local8 == -1) || (_local8 == undefined)) {
_local9 = input_str;
} else {
var _local7 = {};
var _local12 = input_str.indexOf("}", _local8 + 1);
var _local10 = input_str.substring(_local8 + 1, _local12);
_local10 = nestedEval(_local10, defaultContainer_str, thisName);
var _local6 = _local10.split(",");
var _local2 = 0;
while (_local2 < _local6.length) {
var _local3 = _local6[_local2];
var _local4 = _local3.indexOf(":");
var _local5 = _local3.substr(0, _local4);
var _local1 = _local3.substr(_local4 + 1);
_local1 = getImpliedValue(_local1);
_local7[_local5] = _local1;
_local2++;
}
_local9 = _local7;
}
return(_local9);
};
define_setVariable = function (thisCommand_obj) {
var prom = VOW.make();
var _local12 = 1;
var _local13 = getTimer();
if (TRACE_SCRIPT) {
trace("setVariable startTime: " + startTime);
}
var _local11 = _local13 - startTime;
var _local6 = false;
if (startTime === undefined) {
if (TRACE_SCRIPT) {
trace("setVariable This is not an 'auto' script, because 'startTime' doesn't exist, therefore allow");
}
_local6 = true;
} else if (isNaN(_local11)) {
if (TRACE_SCRIPT) {
trace("setVariable elapsedTime is broken for some reason, therefore ignore it and allow");
}
if (TRACE_SCRIPT) {
trace(" elapsedTime: " + _local11);
}
_local6 = true;
} else if (_local11 > _local12) {
if (TRACE_SCRIPT) {
trace("setVariable Initial delay is sufficient, therefore allow");
}
_local6 = true;
}
if (_local6) {
if (TRACE_SCRIPT) {
trace("setVariable Delay checks passed, running setVariable command");
}
if (thisCommand_obj.data.update == undefined) {
thisCommand_obj.data.update = true;
}
var _local5 = thisCommand_obj.data;
var _local9 = nestedEval(_local5.condition[0], "RAM", "_this");
var _local10 = _local9.lastIndexOf(".");
if (_local10 == -1) {
var _local14 = "RAM";
var _local2 = RAM;
} else {
var _local14 = _local9.substr(0, _local10);
var _local2 = evalPath(_local14, "RAM", "_this");
}
var _local1 = _local9.substr(_local10 + 1);
var _local16 = false;
var _local4 = _local5.condition[2];
_local4 = makeStringObject(_local4, "RAM", "_this");
_local4 = nestedEval(_local4, "RAM", "_this");
_local4 = getImpliedValue(_local4);
if (_local4 == "\\object") {
_local2[_local1] = {};
_local16 = true;
} else if (_local4 == "\\array") {
_local2[_local1] = [];
_local16 = true;
} else if (_local4 == "\\delete") {
_local2[_local1] = undefined;
delete _local2[_local1];
_local16 = true;
}
var _local3;
if (((_local4 instanceof Object) === false) || (_local5.reference === true)) {
_local3 = _local4;
} else if (_local4 instanceof Array) {
_local3 = [];
copyObject(_local4, _local3);
} else if (_local4 instanceof Object) {
_local3 = {};
copyObject(_local4, _local3);
}
if (!_local16) {
if (TRACE_SCRIPT) {
var _local7 = _local5.condition[1];
if (_local7 === "=") {
_local7 = "=>";
}
trace(((((((("setVariable: " + _local1) + " (") + _local2[_local1]) + " ") + _local7) + " ") + _local3) + ")");
}
switch (_local5.condition[1]) {
case "=" :
_local2[_local1] = _local3;
break;
case "+" :
var _local15 = (!isNaN(_local2[_local1])) && (!isNaN(_local3));
if (_local15) {
_local2[_local1] = Number(_local2[_local1]) + Number(_local3);
} else {
_local2[_local1] = String(_local2[_local1]) + String(_local3);
}
break;
case "-" :
_local2[_local1] = _local2[_local1] - Number(_local3);
break;
case "*" :
_local2[_local1] = _local2[_local1] * Number(_local3);
break;
case "/" :
if (Number(_local3) == 0) {
_local2[_local1] = undefined;
} else {
_local2[_local1] = _local2[_local1] / Number(_local3);
}
break;
case "%" :
if (Number(_local3) == 0) {
_local2[_local1] = undefined;
} else {
_local2[_local1] = _local2[_local1] % Number(_local3);
}
break;
case "!" :
if (typeof(_local3) != "boolean") {
break;
}
_local2[_local1] = !_local3;
}
if ((typeof(_local2[_local1]) == "number") && (isNaN(_local2[_local1]))) {
_local2[_local1] = undefined;
}
}
if (_local5.update) {
SPRITES.updateSprites();
}
return(VOW.make().keep());
}
if (TRACE_SCRIPT) {
trace("setVariable Initial delay is too soon, delaying setVariable command");
}
var prom = VOW.make();
setTimeout(function () {
var _local1 = define_setVariable(thisCommand_obj);
if (!_local1.is_promise) {
_local1 = VOW.make().keep();
}
_local1.then = prom.keep;
}, _local12);
return(prom);
};
define_sound = function (thisCommand_obj) {
thisCommand_obj.soundLoop = ROOT.soundLoop;
if (TRACE_SCRIPT) {
trace("sound");
}
var _local3 = thisCommand_obj.data.file;
var _local1 = thisCommand_obj.data.name;
if (_local3 != "") {
var _local5 = thisCommand_obj.data.volume;
var _local4 = thisCommand_obj.data.loop;
var _local6 = SOUND.play(_local3, _local5, _local4);
if (_local1) {
ROOT.soundLoop.addSound(_local1, _local6, true);
}
} else if (_local1 != "") {
ROOT.soundLoop.remove(_local1);
} else {
SOUND.stopAll();
}
return(VOW.make().keep());
};
if (_global.nextDepth === undefined) {
_global.nextDepth = function (this_mc, maxDepth, minDepth) {
this_mc = (this_mc ? (this_mc) : _root);
var _local4 = ((minDepth != undefined) ? (minDepth) : 1);
var _local5 = (maxDepth ? (maxDepth) : 1048500);
for (var _local6 in this_mc) {
var _local2 = this_mc[_local6].getDepth();
if ((_local2 < _local5) && (_local2 >= _local4)) {
_local4 = _local2 + 1;
}
}
return(_local4);
};
}
callUnload = function (parent) {
function recurseClips(parent, doThis, includeSelf, isShallow) {
if (!parent) {
return(undefined);
}
if (!(parent instanceof MovieClip)) {
return(undefined);
}
if (!doThis) {
return(undefined);
}
if (includeSelf === undefined) {
includeSelf = true;
}
if (isShallow === undefined) {
isShallow = false;
}
var reportedPath;
var actualPath;
for (var nam in parent) {
if (!nam) {
continue;
}
var thisChild = parent[nam];
if (thisChild instanceof MovieClip) {
reportedPath = String(eval (thisChild._target));
actualPath = (String(eval (parent._target)) + ".") + nam;
if (reportedPath.indexOf(actualPath) != -1) {
if (isShallow) {
doThis.call(thisChild, thisChild);
}
if (!isShallow) {
recurseClips(thisChild, doThis);
}
}
}
}
if (includeSelf) {
doThis.call(parent, parent);
}
}
function unloadThis(thisItem) {
thisItem.onKillFocus(null);
thisItem.dispatchEvent({type:"unload"});
thisItem.broadcastMessage("unload");
thisItem.unload();
thisItem.onUnload();
delete thisItem.onUnload;
thisItem.removeEventListener("keyDown", thisItem);
thisItem.removeEventListener("keyUp", thisItem);
Key.removeListener(thisItem);
Mouse.removeListener(thisItem);
for (var _local3 in thisItem._listeners) {
var _local2 = thisItem._listeners[_local3];
thisItem.removeListener(_local2);
}
thisItem.addListener = function () {
};
}
recurseClips(parent, unloadThis);
};
makeStringObject = function (input_str, defaultContainer_str, thisName) {
var _local9 = null;
var _local8 = input_str.indexOf("{");
if ((_local8 == -1) || (_local8 == undefined)) {
_local9 = input_str;
} else {
var _local7 = {};
var _local12 = input_str.indexOf("}", _local8 + 1);
var _local10 = input_str.substring(_local8 + 1, _local12);
_local10 = nestedEval(_local10, defaultContainer_str, thisName);
var _local6 = _local10.split(",");
var _local2 = 0;
while (_local2 < _local6.length) {
var _local3 = _local6[_local2];
var _local4 = _local3.indexOf(":");
var _local5 = _local3.substr(0, _local4);
var _local1 = _local3.substr(_local4 + 1);
_local1 = getImpliedValue(_local1);
_local7[_local5] = _local1;
_local2++;
}
_local9 = _local7;
}
return(_local9);
};
define_swf = function (thisCommand_obj, skipSwfloader) {
function attemptStart(newClip) {
if (!newClip) {
return(undefined);
}
var tries = 30;
var startInterval;
var tryStart = function () {
if ((_this instanceof MovieClip) == false) {
clearInterval(startInterval);
}
if (newClip.start === undefined) {
tries--;
if (tries <= 0) {
clearInterval(startInterval);
}
} else {
newClip.start();
clearInterval(startInterval);
}
};
startInterval = setInterval(function () {
tryStart();
}, 1);
tryStart();
}
var prom = VOW.make();
var nextEvent = once(prom.keep);
if (thisCommand_obj.data.linkage) {
var target;
thisCommand_obj.copyObject = copyObject;
thisCommand_obj.makeStringObject = makeStringObject;
thisCommand_obj.nestedEval = nestedEval;
thisCommand_obj.evalPath = evalPath;
thisCommand_obj.getImpliedValue = getImpliedValue;
thisCommand_obj.resolveContainer = resolveContainer;
var target_str = nestedEval(thisCommand_obj.data.target, "RAM", "_this");
target = evalPath(target_str, "RAM", "_this");
var newName = nestedEval(thisCommand_obj.data.name, "RAM", "_this");
var nameIndex = 0;
if ((newName == "") || (newName == undefined)) {
do {
var newName = ("swf_" + nameIndex);
nameIndex++;
} while (target[newName]);
}
if (TRACE_SCRIPT) {
trace(((((">> Place swf: " + thisCommand_obj.data.linkage) + " named: ") + newName) + " waitForEnd: ") + thisCommand_obj.data.waitForEnd);
}
var newDepth = ((thisCommand_obj.data.depth == -1) ? (nextDepth(target)) : (nestedEval(thisCommand_obj.data.depth, "RAM", "_this")));
var storedObj = {};
copyObject(thisCommand_obj.data, storedObj);
storedObj.name = newName;
storedObj.depth = newDepth;
if (!skipSwfloader) {
ROOT.swfLoader.add(storedObj, _this);
}
var swfLoader = new MovieClipLoader();
swfLoader.root = ROOT;
swfLoader.commandData = thisCommand_obj.data.data;
swfLoader.nextEvent = nextEvent;
swfLoader.waitForEnd = thisCommand_obj.data.waitForEnd;
swfLoader.levelId = ROOT.game_mc.uid;
callUnload(target[newName]);
target[newName].removeMovieClip();
var replaceClip = target.getInstanceAtDepth(newDepth);
callUnload(replaceClip);
replaceClip.removeMovieClip();
var linkage = thisCommand_obj.data.linkage;
linkage = nestedEval(linkage, "RAM", "_this");
var externalFile = false;
target.attachMovie(linkage, newName, newDepth);
if ((target[newName] == target) || (target[newName] == undefined)) {
target.createEmptyMovieClip(newName, newDepth);
var new_pic = flash.display.BitmapData.loadBitmap(linkage);
target[newName].attachBitmap(new_pic, 0);
if ((target[newName]._width == undefined) || (target[newName]._width == 0)) {
var externalFile = true;
} else {
thisCommand_obj.data.waitForEnd = false;
}
}
swfLoader.passData = function (newClip, commandData) {
newClip.parentSprite = _this;
for (var _local4 in commandData) {
var _local1 = thisCommand_obj.nestedEval(commandData[_local4], "RAM", "_this");
_local1 = thisCommand_obj.makeStringObject(_local1, "RAM", "_this");
newClip[_local4] = getImpliedValue(_local1);
}
newClip.nextEvent = nextEvent;
newClip.onClose = function () {
ROOT.swfLoader.remove(storedObj);
};
};
swfLoader.detectLastFrame = function (newClip, nextEvent) {
var loopTimes = 0;
var _local6 = {parent:newClip, nextEvent:nextEvent, swfData:thisCommand_obj.data, loop:function (thisObj) {
loopTimes++;
if ((!thisObj) && (loopTimes == 1)) {
return(undefined);
}
var _local3 = false;
if (thisObj.parent._currentframe === undefined) {
_local3 = true;
}
if (thisObj.parent._currentframe == thisObj.parent._totalframes) {
_local3 = true;
}
if ((loopTimes > 1) && (thisObj.parent._currentframe == undefined)) {
_local3 = true;
}
if ((!thisObj) > loopTimes) {
_local3 = true;
}
if (_local3) {
ROOT.swfLoader.remove(thisObj.swfData);
clearInterval(thisObj.intervalId);
_global.ROOT = swfLoader.root;
var _local4 = swfLoader.levelId == ROOT.game_mc.uid;
if (_local4) {
thisObj.nextEvent();
}
}
}, intervalId:null, start:function () {
if (this.intervalId != null) {
clearInterval(this.intervalId);
}
this.intervalId = setInterval(this.loop, 34, this);
this.loop();
}};
newClip.detectLastFrame = _local6;
newClip.detectLastFrame.start();
};
if (externalFile) {
swfLoader.onLoadInit = function (newClip) {
swfLoader.passData(newClip, this.commandData);
if (swfLoader.waitForEnd) {
swfLoader.detectLastFrame(newClip, this.nextEvent);
}
delete swfLoader;
attemptStart(newClip);
};
swfLoader.onLoadError = function (newClip) {
if (newClip) {
this.unloadClip(newClip);
}
newClip.removeMovieClip();
delete swfLoader;
nextEvent();
};
swfLoader.onLoadComplete = function (newClip, status) {
swfLoader.passData(newClip, this.commandData);
if (swfLoader.waitForEnd === false) {
return(nextEvent());
}
if (!newClip) {
return(nextEvent());
}
if (!(status === 0)) {
return(nextEvent());
}
if (status === 404) {
return(nextEvent());
}
setTimeout(function () {
if (newClip._name === undefined) {
nextEvent();
}
}, 33);
};
swfLoader.loadClip(linkage, target[newName]);
} else {
swfLoader.passData(target[newName], swfLoader.commandData);
if (swfLoader.waitForEnd) {
swfLoader.detectLastFrame(target[newName], nextEvent);
}
delete swfLoader;
attemptStart(target[newName]);
}
if (thisCommand_obj.data.waitForEnd == false) {
if (externalFile === false) {
return(VOW.make().keep());
}
}
if (target === undefined) {
trace("* SCRIPT MISTAKE: Failed to put SWF into container: " + target_str);
return(VOW.make().keep());
}
} else {
var target;
if (!preserveSwfloader) {
ROOT.swfLoader.remove(thisCommand_obj.data);
}
if (TRACE_SCRIPT) {
trace((("removeSwf named: " + thisCommand_obj.data.name) + " from: ") + thisCommand_obj.data.target);
}
var targetName = nestedEval(thisCommand_obj.data.name, "RAM", "_this");
if ((targetName == "") || (targetName == undefined)) {
return(VOW.make().keep());
}
var autoDelay = 1;
var endTime = getTimer();
var elapsedTime = (endTime - startTime);
if (TRACE_SCRIPT) {
trace("\t elapsedTime: " + elapsedTime);
}
if (isNaN(elapsedTime) || (elapsedTime > autoDelay)) {
var defaultContainer = "OVERLAY";
target_str = nestedEval(thisCommand_obj.data.target, "RAM", "_this");
var startAt = target_str.indexOf(".");
if (startAt == -1) {
var container = defaultContainer;
var containerIsGlobal = false;
for (var nam in _global) {
if (nam == target_str) {
containerIsGlobal = true;
break;
}
}
var theRest = target_str;
target = (containerIsGlobal ? (eval (theRest)) : (eval ((container + ".") + theRest)));
if (target_str == "this") {
target = _this;
}
} else {
var containerName = target_str.substr(0, startAt);
var container = nestedEval(containerName, "RAM", "_this");
var theRest = target_str.substr(startAt + 1);
target = eval ((container + ".") + theRest);
}
if ((target == SPRITES) && (target[targetName].remove)) {
target[targetName].remove();
} else {
callUnload(target[targetName]);
target[targetName].removeMovieClip();
}
nextEvent();
} else {
if (TRACE_SCRIPT) {
trace("\t too early, wait for 1 millisecond");
}
setTimeout(function () {
var _local1 = define_swf(thisCommand_obj, skipSwfloader);
_local1.then = nextEvent;
}, autoDelay);
}
}
return(prom);
};
define_removeSwf = function (thisCommand_obj, preserveSwfloader) {
if (!preserveSwfloader) {
ROOT.swfLoader.remove(thisCommand_obj.data);
}
if (TRACE_SCRIPT) {
trace((("removeSwf (old) named: " + thisCommand_obj.data.name) + " from: ") + thisCommand_obj.data.target);
}
var targetName = nestedEval(thisCommand_obj.data.name, "RAM", "_this");
if ((targetName == "") || (targetName == undefined)) {
return(VOW.make().keep());
}
var autoDelay = 1;
var endTime = getTimer();
var elapsedTime = (endTime - startTime);
if (TRACE_SCRIPT) {
trace("\t elapsedTime: " + elapsedTime);
}
if (isNaN(elapsedTime) || (elapsedTime > autoDelay)) {
var defaultContainer = "OVERLAY";
target_str = nestedEval(thisCommand_obj.data.target, "RAM", "_this");
var startAt = target_str.indexOf(".");
if (startAt == -1) {
var container = defaultContainer;
var containerIsGlobal = false;
for (var nam in _global) {
if (nam == target_str) {
containerIsGlobal = true;
break;
}
}
var theRest = target_str;
var target = (containerIsGlobal ? (eval (theRest)) : (eval ((container + ".") + theRest)));
if (target_str == "this") {
var target = _this;
}
} else {
var containerName = target_str.substr(0, startAt);
var container = nestedEval(containerName, "RAM", "_this");
var theRest = target_str.substr(startAt + 1);
var target = eval ((container + ".") + theRest);
}
if ((target == SPRITES) && (target[targetName].remove)) {
target[targetName].remove();
} else {
target[targetName].unload();
target[targetName].onUnload();
target[targetName].removeMovieClip();
}
return(VOW.make().keep());
}
var prom = VOW.make();
if (TRACE_SCRIPT) {
trace("\t too early, wait for 1 millisecond");
}
setTimeout(function () {
var _local1 = define_removeSwf(thisCommand_obj, preserveSwfloader);
_local1.then = prom.keep;
}, autoDelay);
return(prom);
};
define_teleport = function (thisCommand_obj) {
ROOT.game_mc.uid = null;
LOOP.removeSet("player");
LOOP.removeSet("scroll");
LOOP.removeSet("sprites");
thisCommand_obj.fadeOutDone = function () {
var _local2 = Boolean(TRACE_SCRIPT);
if (_local2) {
trace("teleport");
}
if (!thisCommand_obj.data.forceFullPath) {
var _local1 = thisCommand_obj.data.relativeLevel;
}
var _local3 = thisCommand_obj.data.level;
if (_local2) {
trace(" fullPath: " + _local3);
trace(" relativePath: " + _local1);
}
if ((_local1 != undefined) && (_local1 != "undefined")) {
var _local8 = ROOT.level_xml.filePath;
_local3 = getFullPathFromRelative(_local1, _local8);
}
_local3 = nestedEval(_local3, "RAM", "_this");
if (_local2) {
trace(" teleporting to: " + _local3);
}
if (typeof(thisCommand_obj.data.position.x) == "string") {
if (thisCommand_obj.data.position.x.charAt(0) != "[") {
thisCommand_obj.data.position.x = ("[" + thisCommand_obj.data.position.x) + "]";
}
}
if (typeof(thisCommand_obj.data.position.y) == "string") {
if (thisCommand_obj.data.position.y.charAt(0) != "[") {
thisCommand_obj.data.position.y = ("[" + thisCommand_obj.data.position.y) + "]";
}
}
var _local7 = Number(nestedEval(thisCommand_obj.data.position.x, "RAM", "_this"));
var _local6 = Number(nestedEval(thisCommand_obj.data.position.y, "RAM", "_this"));
if (thisCommand_obj.data.position) {
var _local5 = {x:_local7 + 8, y:_local6 + 8};
var _local4 = _local5;
} else {
var _local4 = {x:SPRITES.player._x, y:SPRITES.player._y};
}
thisCommand_obj.endScript();
ROOT.loadLevel(_local3, _local4);
};
if (!LEVEL.alreadyTeleporting) {
LEVEL.alreadyTeleporting = true;
var _local6 = SPRITES.player.image.getParams();
if (_local6) {
RAM.playerSprite = _local6;
}
var _local5 = thisCommand_obj.data.transition;
_local5 = nestedEval(_local5, "RAM", "_this");
var _local1 = thisCommand_obj.data.transOut;
_local1.effect = nestedEval(_local1.effect, "RAM", "_this");
var _local4 = thisCommand_obj.data.transIn;
_local4.effect = nestedEval(_local4.effect, "RAM", "_this");
if (!_local1.effect) {
_local1 = _local5;
}
ROOT.sendEvent("onRemoveLevelStart");
if (TRANSITION) {
TRANSITION.start(_local1, _local4).then(thisCommand_obj.fadeOutDone);
} else {
thisCommand_obj.fadeOutDone();
}
}
return(VOW.make().doBreak());
};
getPathValue = function (path, defaultContainer) {
var path = (path ? (path) : "");
var defaultContainer = (defaultContainer ? (defaultContainer) : "RAM");
if (typeof(path) == "string") {
path = path.split(" ").join("");
}
var startAt = path.indexOf(".");
if (startAt == undefined) {
var output = path;
} else if (startAt == -1) {
var containerIsGlobal = eval ("_global." + path);
if (path == "this") {
containerIsGlobal = true;
}
if (typeof(defaultContainer) == "string") {
var output = (containerIsGlobal ? (eval (path)) : (eval ((defaultContainer + ".") + path)));
} else {
var output = (containerIsGlobal ? (eval (path)) : (defaultContainer[path]));
}
} else {
var containerEnd = path.indexOf(".");
var containerName = path.substr(0, containerEnd);
var containerIsGlobal = eval ("_global." + containerName);
if (containerName == "this") {
containerIsGlobal = true;
}
if (containerName == "_level0") {
containerIsGlobal = true;
}
if (!containerIsGlobal) {
path = "RAM." + path;
}
var output = eval (path);
}
return(output);
};
define_wait = function (thisCommand_obj) {
var prom = VOW.make();
var nextEvent = once(prom.keep);
thisCommand_obj.getTimeout = function () {
return(this.scriptBase.timeoutID);
};
var _local22 = (_this._parent.is_common ? (COMMON) : (SPRITES));
var _local3 = thisCommand_obj.data.mode;
if (TRACE_SCRIPT) {
trace("wait for: " + _local3);
}
if (_local3 == "time") {
var _local21 = setTimeout(nextEvent, thisCommand_obj.data.value * 1000);
thisCommand_obj.storeTimeout(_local21);
}
if (_local3 == "movement") {
var spriteName = thisCommand_obj.data.value;
spriteName = nestedEval(spriteName, "RAM", "_this");
thisCommand_obj.spritesLeft = [];
if (spriteName == "ALL") {
for (var _local7 in SPRITES) {
var _local20 = SPRITES[_local7];
if (_local20.lastMove) {
var _local2 = {sprite:_local20, thisCommand_obj:thisCommand_obj};
thisCommand_obj.spritesLeft.push(_local2);
}
}
} else {
if (spriteName == "this") {
spriteName = _this._name;
_local22 = (_this._parent.is_common ? (COMMON) : (SPRITES));
var _local20 = _local22[spriteName];
} else {
var _local20 = SPRITES[spriteName];
}
if (_local20.lastMove) {
var _local2 = {sprite:_local20, thisCommand_obj:thisCommand_obj};
thisCommand_obj.spritesLeft.push(_local2);
}
}
if (thisCommand_obj.spritesLeft.length > 0) {
for (var _local7 in thisCommand_obj.spritesLeft) {
var _local2 = thisCommand_obj.spritesLeft[_local7];
var _local20 = _local2.sprite;
react.once().to("onMotionFinished").from(_local20.lastMove).then = function () {
thisCommand_obj.spritesLeft.pop();
if (thisCommand_obj.spritesLeft.length <= 0) {
setTimeout(nextEvent, 34);
}
};
}
} else {
nextEvent();
}
}
if (_local3 == "animation") {
var _local24 = function () {
var react_to_animDone = react.once().to("animDone").from(animSpriteContainer[spriteName].image);
var react_to_unload = react.once().to("unload").from(animSpriteContainer[spriteName].image);
var _local1 = function () {
react_to_animDone.disable();
react_to_unload.disable();
if (!(_this._name === undefined)) {
nextEvent();
}
};
react_to_animDone.then = _local1;
react_to_unload.then = _local1;
};
var spriteName = thisCommand_obj.data.value;
spriteName = nestedEval(spriteName, "RAM", "_this");
var animSpriteContainer;
if (spriteName === "this") {
spriteName = _this._name;
animSpriteContainer = (_this._parent.is_common ? (COMMON) : (SPRITES));
var _local20 = animSpriteContainer[spriteName];
} else {
animSpriteContainer = SPRITES;
var _local20 = SPRITES[spriteName];
}
var _local27 = animSpriteContainer[spriteName].image.getParam("frame");
var _local25 = animSpriteContainer[spriteName].image.getParam("frames");
if (animSpriteContainer[spriteName].image.getParam("isAnimating")) {
_local24();
} else {
nextEvent();
}
}
if (_local3 == "movieclip") {
var _local4 = thisCommand_obj.data.value;
_local4 = nestedEval(_local4, "RAM", "SPRITES." + _this._name);
if (_local4 == "this") {
_local4 = "SPRITES." + _this._name;
}
if (_local4.substr(0, 5) == "this.") {
var _local18 = _local4.substr(5);
_local4 = (("SPRITES." + _this._name) + ".") + _local18;
}
var newClip = getPathValue(_local4, "SPRITES." + _this._name);
var _local16 = typeof(newClip) == "movieclip";
if (_local16) {
newClip.detectLastFrame = {levelId:ROOT.game_mc.uid, parent:newClip, loop:function (thisObj) {
var _local2 = thisObj.levelId === ROOT.game_mc.uid;
if (((thisObj.parent._currentframe === thisObj.parent._totalframes) || (thisObj.parent._currentframe === undefined)) || (_local2 === false)) {
if (thisObj.intervalId != null) {
clearInterval(thisObj.intervalId);
}
newClip.detectLastFrame = null;
delete newClip.detectLastFrame;
if (_local2) {
nextEvent();
} else {
prom.doBreak();
}
}
}, intervalId:null, start:function () {
if (this.intervalId != null) {
clearInterval(this.intervalId);
}
this.intervalId = setInterval(this.loop, 34, this);
this.loop(this);
}};
newClip.detectLastFrame.start();
} else {
nextEvent();
}
}
if (_local3 == "fadeMusic") {
thisCommand_obj.storeTimeout(999);
if (MUSIC.isFading) {
react.once().to("onFadeComplete").from(MUSIC).then = nextEvent;
} else {
nextEvent();
}
}
if (_local3 == "sound") {
var _local15 = ROOT.soundLoop[thisCommand_obj.data.value].sound;
if (_local15) {
react.once().to("onSoundComplete").from(_local15).then = nextEvent;
} else {
nextEvent();
}
}
if (_local3 == "script") {
if (TRACE_SCRIPT) {
trace("wait.as waitMode: script");
}
var spriteName = thisCommand_obj.data.value;
if (spriteName == "this") {
spriteName = _this._name;
}
spriteName = nestedEval(spriteName, "RAM", "_this");
_local22 = (_this._parent.is_common ? (COMMON) : (SPRITES));
var _local9 = getPathValue(spriteName, _local22);
var _local5 = nestedEval(thisCommand_obj.data.value2, "RAM", "_this");
if (TRACE_SCRIPT) {
trace(" sprite_mc: " + _local9);
}
if (TRACE_SCRIPT) {
trace(" scriptName: " + _local5);
}
if (_local9 && (_local5)) {
var _local6 = _local9.waitForScript[_local5];
if (TRACE_SCRIPT) {
trace(" script_prom getStatus: " + _local6.getStatus());
}
if (_local6) {
if (TRACE_SCRIPT) {
trace((" " + _local5) + " has been invoked, waiting for script to finish");
}
if (!(_local6.getStatus() === "pending")) {
nextEvent();
} else {
_local6.then(nextEvent, nextEvent);
}
} else {
if (TRACE_SCRIPT) {
trace(" target script is not running, ignoring, resuming script");
}
nextEvent();
}
} else {
if (TRACE_SCRIPT) {
trace(" target sprite doesn't exist, ignoring, resuming script");
}
nextEvent();
}
}
if (_local3 == "promise") {
var _local19 = thisCommand_obj.data.value;
var _local8 = nestedEval(_local19, "RAM", "_this");
var _local10 = _local8.lastIndexOf(".");
var _local11 = null;
if (_local10 === -1) {
_local11 = defaultContainer;
} else {
var _local17 = _local8.substr(0, _local10);
_local11 = evalPath(_local17, "RAM", "_this");
}
var _local23 = _local8.substr(_local10 + 1);
var _local12 = _local11[_local23];
if (_local12.getStatus() === "kept") {
nextEvent();
} else if (_local12.is_promise) {
_local12.then(nextEvent);
} else {
nextEvent();
}
}
return(prom);
};
define_while = function (thisCommand_obj) {
function getConditionResult(thisCommand_obj) {
var _local3 = thisCommand_obj.data;
var _local5 = nestedEval(_local3.condition[0], "RAM", "_this");
var _local2 = evalPath(_local5, "RAM", "_this");
var _local4 = getImpliedValue(_local3.condition[2]);
_local4 = nestedEval(_local4, "RAM", "_this");
var _local1 = getImpliedValue(_local4);
var _local6 = false;
switch (_local3.condition[1]) {
case "=" :
_local6 = _local2 == _local1;
break;
case "!=" :
_local6 = _local2 != _local1;
break;
case ">" :
if ((isNaN(_local2) == false) && (isNaN(_local1) == false)) {
_local6 = _local2 > _local1;
}
break;
case ">=" :
if ((isNaN(_local2) == false) && (isNaN(_local1) == false)) {
_local6 = _local2 >= _local1;
}
break;
case "<" :
if ((isNaN(_local2) == false) && (isNaN(_local1) == false)) {
_local6 = _local2 < _local1;
}
break;
case "<=" :
if (!((isNaN(_local2) == false) && (isNaN(_local1) == false))) {
break;
}
_local6 = _local2 <= _local1;
}
return(_local6);
}
var prom = VOW.make();
if (_this.scriptInterruptCheck()) {
var _local13 = getConditionResult(thisCommand_obj);
var _local8 = thisCommand_obj.data.condition;
if (TRACE_SCRIPT) {
trace((((((("while: " + _local8[0]) + " ") + _local8[1]) + " ") + _local8[2]) + " result: ") + _local13);
}
if (_this._name.length == 0) {
for (var _local6 in _this.scripts) {
if (_this.scripts[_local6].timeoutID != undefined) {
clearTimeout(_this.scripts[_local6].timeoutID);
}
}
thisCommand_obj = null;
_local13 = true;
}
if (_local13 == true) {
thisCommand_obj.script.done = function () {
var _local1 = setTimeout(function () {
var inner_prom = define_while(thisCommand_obj);
var react_to_unload = react.once().to("unload");
inner_prom.then = (react_to_unload.then = function () {
if (inner_prom.getStatus() === "pending") {
inner_prom.doBreak();
}
react_to_unload.disable();
});
inner_prom.then = prom.keep;
}, 1);
thisCommand_obj.storeTimeout(_local1);
};
var _local11 = thisCommand_obj.script.length > 0;
var _local5 = false;
var _local1 = 0;
while (_local1 < thisCommand_obj.script.length) {
var _local2 = thisCommand_obj.script[_local1].command_obj.data.type;
if ((!(_local2 === "comment")) && (!(_local2 === undefined))) {
_local5 = true;
break;
}
_local1++;
}
if (_local11 && (_local5)) {
thisCommand_obj.script.runEvent(0);
} else {
prom.keep();
}
} else {
prom.keep();
}
}
return(prom);
};
define_anim = function (thisCommand_obj) {
if (TRACE_SCRIPT) {
trace("set isAnimating");
}
var _local1 = thisCommand_obj.data.value;
thisCommand_obj.sprite.image.setParams({isAnimating:_local1});
return(VOW.make().keep());
};
var vow_version = 3.9;
var vow_scope = function () {
function forEach(array, callback) {
var _local1 = 0;
while (_local1 < array.length) {
callback(array[_local1], _local1);
_local1++;
}
}
function enlighten(queue, fate) {
forEach(queue, function (func) {
setTimeout(function () {
func(fate);
}, 0);
});
}
var _local12 = vow_version;
var vow_output = {version:_local12, make:function () {
function enqueue(resolution, func, vow) {
var _local2 = ((resolution === "kept") ? (keepers) : (breakers));
var isBroken = Boolean(_local2 === breakers);
_local2[_local2.length] = ((!(typeof(func) === "function")) ? (vow[resolution]) : (function (value) {
try {
_local1 = func(value)_local1if (_local1 && (_local1.is_promise === true)) {
if (isBroken) {
_local1.then(vow.doBreak, vow.doBreak)} else {
_local1.then(vow.keep, vow.doBreak)}
} else {
if (isBroken) {
vow.doBreak(_local1)}
if (!isBroken) {
vow.keep(_local1)}
}
} catch(e) {
vow.doBreak(e)}
}));
}
function herald(state, value, queue) {
if (!(status === "pending")) {
return(undefined);
}
fate = value;
status = state;
enlighten(queue, fate);
keepers = [];
breakers = [];
}
function get_then() {
return(set_then);
}
var breakers = [];
var fate = undefined;
var keepers = [];
var status = "pending";
var promise = {version:vow_output.version, is_promise:true, getStatus:function () {
return(status);
}, getValue:function () {
return(fate);
}, doBreak:function (value) {
herald("broken", value, breakers);
return(this.promise);
}, keep:function (value) {
herald("kept", value, keepers);
return(this.promise);
}};
var set_then = function (kept, broken) {
var _local1 = VOW.make();
switch (status) {
case "pending" :
enqueue("kept", kept, _local1);
enqueue("break", broken, _local1);
break;
case "kept" :
enqueue("kept", kept, _local1);
enlighten(keepers, fate);
keepers = [];
break;
case "broken" :
enqueue("break", broken, _local1);
enlighten(breakers, fate);
breakers = [];
}
return(_local1);
};
promise.addProperty("then", get_then, set_then);
promise.promise = promise;
return(promise);
}, every:function (array) {
var remaining = array.length;
var results = [];
var vow = VOW.make();
if (!remaining) {
vow.keep([]);
} else {
forEach(array, function (promise, i) {
promise.then(function (value) {
results[i] = value;
remaining--;
if (remaining === 0) {
vow.keep(results);
}
}, function (reason) {
remaining = null;
vow.doBreak(reason);
});
});
}
return(vow.promise);
}, everyTried:function (array) {
var remaining = array.length;
var results = [];
var vow = VOW.make();
if (!remaining) {
vow.keep([]);
} else {
forEach(array, function (promise, i) {
promise.then(function (value) {
results[i] = value;
remaining--;
if (remaining === 0) {
vow.keep(results);
}
}, function (failReason) {
results[i] = undefined;
remaining--;
if (remaining === 0) {
vow.keep(results);
}
});
});
}
return(vow.promise);
}, first:function (array) {
function check() {
remaining--;
if ((remaining === 0) && (!found)) {
vow.doBreak();
}
}
var found = false;
var remaining = array.length;
var vow = VOW.make();
if (remaining === 0) {
vow.doBreak(array);
} else {
forEach(array, function (promise) {
promise.then(function (value) {
if (!found) {
found = true;
vow.keep(value);
}
check();
}, check);
});
}
return(vow.promise);
}, kept:function (value) {
var _local1 = VOW.make();
_local1.keep(value);
return(_local1.promise);
}, broken:function (reason) {
var _local1 = VOW.make();
_local1.doBreak(reason);
return(_local1.promise);
}, wait:function (milliseconds) {
var _local1 = function (input) {
var vow = VOW.make();
var milliseconds = ((milliseconds === undefined) ? 0 : (milliseconds));
setTimeout(function () {
vow.keep(input);
}, milliseconds);
return(vow.promise);
};
return(_local1);
}, firstWait:function (milliseconds) {
var vow = VOW.make();
milliseconds = ((milliseconds === undefined) ? 0 : (milliseconds));
setTimeout(function () {
vow.keep({});
}, milliseconds);
return(vow.promise);
}, start:function (value) {
var _local1 = VOW.make();
_local1.keep(value);
return(_local1.promise);
}, runSequence:function (sequence) {
var _local4 = VOW.make().keep();
var _local1 = 0;
while (_local1 < sequence.length) {
var _local3 = sequence[_local1];
var _local2 = _local4.then(_local3);
if (!(_local2.is_promise === true)) {
_local2 = VOW.kept();
}
_local4 = _local2;
_local1++;
}
var _local6 = _local4;
return(_local6);
}, wrap:function (func, callbackIndex) {
if (callbackIndex === undefined) {
var callbackIndex = 0;
}
return(function () {
var vow = VOW.make();
if (callbackIndex === undefined) {
var callbackIndex = (arguments.length - 1);
}
arguments[callbackIndex] = function (output) {
vow.keep(output);
};
func.apply(this, arguments);
return(vow.promise);
});
}, preApply:function (func, param) {
var args = arguments.slice(1);
return(function () {
return(func.apply(null, args));
});
}, failThru:function (failReason) {
return(failReason);
}, null:null};
vow_output.any = (vow_output.allResolved = vow_output.everyTried);
return(vow_output);
};
var VOW = vow_scope();
delete vow_scope;
delete vow_version;
define_appearance = function (thisCommand_obj) {
var prom = VOW.make();
if (TRACE_SCRIPT) {
trace("appearance");
}
var _local5 = thisCommand_obj.sprite.image;
var _local3 = thisCommand_obj.data.value;
var _local1 = {};
copyObject(_local3, _local1);
_local1.charset = nestedEval(_local3.charset, "RAM", "_this");
if (_local1.animDirection == undefined) {
_local1.animDirection = 1;
}
var _local2 = thisCommand_obj.sprite.image.setParams(_local1) || (VOW.make().keep());
if (_local2.getStatus() === "kept") {
return(VOW.make().keep());
}
_local2.then(function () {
prom.keep();
});
return(prom);
};
define_direction = function (thisCommand_obj) {
if (TRACE_SCRIPT) {
trace("direction");
}
var _local1 = thisCommand_obj.data.value;
thisCommand_obj.sprite.image.setParams({direction:_local1});
return(VOW.make().keep());
};
makeStringObject = function (input_str, defaultContainer_str, thisName) {
var _local9 = null;
var _local8 = input_str.indexOf("{");
if ((_local8 == -1) || (_local8 == undefined)) {
_local9 = input_str;
} else {
var _local7 = {};
var _local12 = input_str.indexOf("}", _local8 + 1);
var _local10 = input_str.substring(_local8 + 1, _local12);
_local10 = nestedEval(_local10, defaultContainer_str, thisName);
var _local6 = _local10.split(",");
var _local2 = 0;
while (_local2 < _local6.length) {
var _local3 = _local6[_local2];
var _local4 = _local3.indexOf(":");
var _local5 = _local3.substr(0, _local4);
var _local1 = _local3.substr(_local4 + 1);
_local1 = getImpliedValue(_local1);
_local7[_local5] = _local1;
_local2++;
}
_local9 = _local7;
}
return(_local9);
};
define_lookAt = function (thisCommand_obj) {
if (TRACE_SCRIPT) {
trace("lookAt");
}
var _local2 = thisCommand_obj.sprite;
var _local4 = nestedEval(thisCommand_obj.data.value, "RAM", "_this");
var _local1 = SPRITES[_local4];
if (!_local1) {
_local1 = _this;
}
var _local3 = _local1;
_local2.image.lookAt(_local2, _local3);
return(VOW.make().keep());
};
define_moveAbsolute = function (thisCommand_obj) {
var prom = VOW.make();
var nextEvent = once(prom.keep);
if (TRACE_SCRIPT) {
trace("moveAbsolute");
}
if (typeof(thisCommand_obj.data.position.x) == "string") {
if (thisCommand_obj.data.position.x.charAt(0) != "[") {
thisCommand_obj.data.position.x = ("[" + thisCommand_obj.data.position.x) + "]";
}
}
if (typeof(thisCommand_obj.data.position.y) == "string") {
if (thisCommand_obj.data.position.y.charAt(0) != "[") {
thisCommand_obj.data.position.y = ("[" + thisCommand_obj.data.position.y) + "]";
}
}
var _local3 = Number(nestedEval(thisCommand_obj.data.position.x, "RAM", "_this"));
var _local2 = Number(nestedEval(thisCommand_obj.data.position.y, "RAM", "_this") - 8);
var _local5 = thisCommand_obj.sprite._x;
var _local4 = thisCommand_obj.sprite._y;
if (thisCommand_obj.data.autoDirection) {
var _local7 = _local3 - _local5;
var _local8 = _local2 - _local4;
if (Math.abs(_local8) > Math.abs(_local7)) {
if (_local8 < 0) {
thisCommand_obj.sprite.image.setParams({direction:"up"});
} else {
thisCommand_obj.sprite.image.setParams({direction:"down"});
}
} else if (_local7 < 0) {
thisCommand_obj.sprite.image.setParams({direction:"left"});
} else {
thisCommand_obj.sprite.image.setParams({direction:"right"});
}
}
if (thisCommand_obj.data.autoAnim) {
thisCommand_obj.sprite.image.setParams({isAnimating:true});
}
if (thisCommand_obj.data.duration == 0) {
thisCommand_obj.sprite._x = _local3;
thisCommand_obj.sprite._y = _local2;
if (thisCommand_obj.data.autoAnim) {
thisCommand_obj.sprite.image.setParams({isAnimating:false});
}
return(VOW.make().keep());
}
var react_to_unload = react.once().to("unload");
var originalName = thisCommand_obj.sprite._name;
var slideX = ((thisCommand_obj.sprite.slideX = new mx.transitions.Tween(thisCommand_obj.sprite, "_x", null, _local5, _local3, thisCommand_obj.data.duration, true)));
var slideY = ((thisCommand_obj.sprite.slideY = new mx.transitions.Tween(thisCommand_obj.sprite, "_y", null, _local4, _local2, thisCommand_obj.data.duration, true)));
slideY.thisCommand_obj = thisCommand_obj;
var motionDone = function (thisTween) {
react_to_unload.disable();
var _local2 = thisCommand_obj.sprite == SPRITES[originalName];
var _local1 = !_local2;
var _local4 = Boolean(slideX.onMotionFinished);
slideX.onMotionFinished = null;
slideY.onMotionFinished = null;
slideX.stop();
slideY.stop();
delete slideX;
delete slideY;
delete thisCommand_obj.sprite.slideX;
delete thisCommand_obj.sprite.slideY;
if (!_local1) {
if (thisCommand_obj.data.autoAnim) {
thisCommand_obj.sprite.image.setParams({isAnimating:false});
}
if (_local4) {
thisCommand_obj.sprite.broadcastMessage("onMoveFinish");
}
}
var _local3 = thisCommand_obj.moveTimeout.exists(thisCommand_obj.timeout);
if (_local3) {
thisCommand_obj.moveTimeout.remove(thisCommand_obj.timeout);
if (!_local1) {
nextEvent();
} else {
prom.doBreak();
}
} else {
prom.doBreak();
}
};
motionDone = once(motionDone);
slideY.onMotionFinished = motionDone;
react_to_unload.then = motionDone;
slideY.onMotionChanged = function () {
var _local2 = this.thisCommand_obj;
_local2.sprite.broadcastMessage("onMove", {x:_local2.sprite._x, y:_local2.sprite._y, sprite:_local2.sprite});
var _local5 = _local2.moveTimeout.exists(_local2.timeout);
var _local4 = _local2.sprite == SPRITES[originalName];
var _local3 = !_local4;
if (_local3) {
_local2.sprite.resetToStartPosition();
}
if (_local3 || (!_local5)) {
motionDone(this);
}
};
var _local10 = function () {
};
var _local9 = thisCommand_obj.data.duration * 1000;
thisCommand_obj.timeout = setTimeout(_local10, _local9, thisCommand_obj);
thisCommand_obj.moveTimeout.addTimeout(thisCommand_obj.timeout);
return(prom);
};
define_moveRelative = function (thisCommand_obj) {
var prom = VOW.make();
var nextEvent = once(prom.keep);
if (TRACE_SCRIPT) {
trace("moveRelative");
}
if (typeof(thisCommand_obj.data.position.x) == "string") {
if (thisCommand_obj.data.position.x.charAt(0) != "[") {
thisCommand_obj.data.position.x = ("[" + thisCommand_obj.data.position.x) + "]";
}
}
if (typeof(thisCommand_obj.data.position.y) == "string") {
if (thisCommand_obj.data.position.y.charAt(0) != "[") {
thisCommand_obj.data.position.y = ("[" + thisCommand_obj.data.position.y) + "]";
}
}
var _local2 = Number(nestedEval(thisCommand_obj.data.position.x, "RAM", "_this"));
var _local3 = Number(nestedEval(thisCommand_obj.data.position.y, "RAM", "_this"));
if (thisCommand_obj.data.autoDirection) {
if (Math.abs(_local3) > Math.abs(_local2)) {
if (_local3 < 0) {
thisCommand_obj.sprite.image.setParams({direction:"up"});
} else {
thisCommand_obj.sprite.image.setParams({direction:"down"});
}
} else if (_local2 < 0) {
thisCommand_obj.sprite.image.setParams({direction:"left"});
} else {
thisCommand_obj.sprite.image.setParams({direction:"right"});
}
}
if (thisCommand_obj.data.autoAnim) {
thisCommand_obj.sprite.image.setParams({isAnimating:true});
}
var _local5 = thisCommand_obj.sprite._x;
var _local4 = thisCommand_obj.sprite._y;
var _local8 = _local5 + _local2;
var _local7 = _local4 + _local3;
if (thisCommand_obj.data.duration == 0) {
thisCommand_obj.sprite._x = _local8;
thisCommand_obj.sprite._y = _local7;
if (thisCommand_obj.data.autoAnim) {
thisCommand_obj.sprite.image.setParams({isAnimating:false});
}
return(VOW.make().keep());
}
var react_to_unload = react.once().to("unload");
var originalName = thisCommand_obj.sprite._name;
var slideX = ((thisCommand_obj.sprite.slideX = new mx.transitions.Tween(thisCommand_obj.sprite, "_x", null, _local5, _local8, thisCommand_obj.data.duration, true)));
var slideY = ((thisCommand_obj.sprite.slideY = new mx.transitions.Tween(thisCommand_obj.sprite, "_y", null, _local4, _local7, thisCommand_obj.data.duration, true)));
slideY.thisCommand_obj = thisCommand_obj;
var motionDone = function (thisTween) {
react_to_unload.disable();
var _local2 = thisCommand_obj.sprite == SPRITES[originalName];
var _local1 = !_local2;
var _local4 = Boolean(slideX.onMotionFinished);
slideX.onMotionFinished = null;
slideY.onMotionFinished = null;
slideX.stop();
slideY.stop();
delete slideX;
delete slideY;
delete thisCommand_obj.sprite.slideX;
delete thisCommand_obj.sprite.slideY;
if (!_local1) {
if (thisCommand_obj.data.autoAnim) {
thisCommand_obj.sprite.image.setParams({isAnimating:false});
}
if (_local4) {
thisCommand_obj.sprite.broadcastMessage("onMoveFinish");
}
}
var _local3 = thisCommand_obj.moveTimeout.exists(thisCommand_obj.timeout);
if (_local3) {
thisCommand_obj.moveTimeout.remove(thisCommand_obj.timeout);
if (!_local1) {
nextEvent();
} else {
prom.doBreak();
}
} else {
prom.doBreak();
}
};
motionDone = once(motionDone);
slideY.onMotionFinished = motionDone;
react_to_unload.then = motionDone;
slideY.onMotionChanged = function () {
var _local2 = this.thisCommand_obj;
_local2.sprite.broadcastMessage("onMove", {x:_local2.sprite._x, y:_local2.sprite._y, sprite:_local2.sprite});
var _local5 = _local2.moveTimeout.exists(_local2.timeout);
var _local4 = _local2.sprite == SPRITES[originalName];
var _local3 = !_local4;
if (_local3) {
_local2.sprite.resetToStartPosition();
}
if (_local3 || (!_local5)) {
motionDone(this);
}
};
var _local10 = function () {
};
var _local9 = thisCommand_obj.data.duration * 1000;
thisCommand_obj.timeout = setTimeout(_local10, _local9, thisCommand_obj);
thisCommand_obj.moveTimeout.addTimeout(thisCommand_obj.timeout);
return(prom);
};
define_moveWait = function (thisCommand_obj) {
var _local2 = VOW.make();
var nextEvent = once(_local2.keep);
if (TRACE_SCRIPT) {
trace("moveWait");
}
var _local1 = thisCommand_obj.data.mode;
if (!_local1) {
_local1 = "time";
}
if (_local1 === "time") {
var _local3 = thisCommand_obj.data.value * 1000;
thisCommand_obj.timeout = setTimeout(function () {
thisCommand_obj.moveTimeout.remove();
nextEvent();
}, _local3);
thisCommand_obj.moveTimeout.addTimeout(thisCommand_obj.timeout);
}
if (_local1 == "animation") {
var _local6 = function () {
var reaction = {};
spriteImage.addListener(reaction);
reaction.unload = (reaction.animDone = function () {
spriteImage.removeListener(reaction);
if (!(_this._name === undefined)) {
nextEvent();
}
});
};
var spriteImage = thisCommand_obj.sprite.image;
var _local5 = spriteImage.getParam("frame");
var _local4 = spriteImage.getParam("frames");
if ((_local5 < _local4) && (spriteImage.getParam("isAnimating"))) {
_local6();
} else {
nextEvent();
}
}
return(_local2);
};
scripts = {};
scriptInterruptCheck = function () {
if (_this.isCommonEvent) {
var _local1 = ((levelId == COMMON._parent.uid) && (COMMON._parent.uid != undefined)) && (levelId != undefined);
} else {
var _local1 = ((levelId == ROOT.game_mc.uid) && (ROOT.game_mc.uid != undefined)) && (levelId != undefined);
}
return(_local1);
};
for (var eventFullPath in data.scripts) {
scripts[eventFullPath] = makeScriptSystem();
scripts[eventFullPath].checkForInterrupt = scriptInterruptCheck;
makeDefaultScriptFunction(eventFullPath);
addScripting(data.scripts[eventFullPath], scripts[eventFullPath], scripts[eventFullPath]);
}
var startTime;
react.to("script_auto_start").then = function () {
startTime = getTimer();
};
react.to("script_talk_start").then = function () {
playerWasPaused = SPRITES.player.isPaused;
LOOP.pauseSet("player", true);
pausedItems.player = true;
playerWasAnimating = SPRITES.player.image.init.isAnimating;
SPRITES.player.image.setParams({isAnimating:false});
};
react.to("script_talk_done").then = function () {
playerWasPaused = ((playerWasPaused != undefined) ? (playerWasPaused) : false);
if (playerWasPaused === true) {
return(undefined);
}
LOOP.pauseSet("player", playerWasPaused);
delete pausedItems.player;
SPRITES.player.image.setParams({isAnimating:playerWasAnimating});
};
allow_collision = false;
runFunc(function () {
if (isCommonEvent === true) {
return(undefined);
}
var lastCollision = true;
var checkCollision_firstTime = true;
var _local10 = function () {
function getIsColliding(marginOffset) {
if (SPRITES.player.allow_sprite_collision_scripts === false) {
return(false);
}
var _local2 = new flash.geom.Point(0, 0);
SPRITES.player.localToGlobal(_local2);
_this.globalToLocal(_local2);
var _local5 = hit.getBounds(_this);
var _local8 = marginOffset.x * 2;
var _local9 = marginOffset.y * 2;
if (noCollide === true) {
var _local7 = -4;
var _local1 = (SPRITES.player.hit._width / 2) + _local7;
} else {
var _local7 = 6;
var _local1 = SPRITES.player.hit._width + _local7;
}
var _local4 = _local1 / 2;
var _local6 = new flash.geom.Rectangle((_local5.xMin - _local4) + marginOffset.x, (_local5.yMin - _local4) + marginOffset.y, (hit._width + _local1) - _local8, (hit._height + _local1) - _local9);
var _local10 = _local6.containsPoint(_local2);
return(_local10);
}
if ((scripts.collision.length > 0) && (allow_collision)) {
var _local5 = 4;
var _local10 = getIsColliding({x:_local5, y:0}) || (getIsColliding({x:0, y:_local5}));
if (_local10 && (!lastCollision)) {
sendEvent("collision");
} else if (((!_local10) && (lastCollision)) && (!checkCollision_firstTime)) {
sendEvent("unCollision");
}
lastCollision = _local10;
checkCollision_firstTime = false;
}
};
react.to("init").then = function () {
function disableCollision() {
allow_collision = false;
var waitForMove = react.to("onTileChange").from(SPRITES.player);
waitForMove.then = function () {
waitForMove.disable();
allow_collision = true;
};
}
if (playerFacingThis() === false) {
allow_collision = true;
return(undefined);
}
var _local5 = ((Key.isDown(RAM.keys.up) || (Key.isDown(RAM.keys.down))) || (Key.isDown(RAM.keys.left))) || (Key.isDown(RAM.keys.right));
if (_local5 === false) {
allow_collision = true;
return(undefined);
}
var _local3 = [];
_local3.push({x:tile.x - 1, y:tile.y});
_local3.push({x:tile.x + 1, y:tile.y});
_local3.push({x:tile.x, y:tile.y - 1});
_local3.push({x:tile.x, y:tile.y + 1});
var _local4 = false;
var _local1 = 0;
while (_local1 < _local3.length) {
var _local2 = _local3[_local1];
if ((SPRITES.player.tile.x === _local2.x) && (SPRITES.player.tile.y === _local2.y)) {
disableCollision();
_local4 = true;
break;
}
if (_local4 === false) {
allow_collision = true;
}
_local1++;
}
};
react.to("spriteLoop").then = _local10;
});
runFunc(function () {
if (isCommonEvent === true) {
return(undefined);
}
var gridCollide_obj = {lastX:null, lastY:null, loop:function () {
var _local2 = Math.floor(_this._x / mapTileSize);
var _local3 = Math.floor(_this._y / mapTileSize);
if ((_local2 != this.lastX) || (_local3 != this.lastY)) {
SPRITE_GRID.remove(this.lastX, this.lastY, _this);
SPRITE_GRID.add(_local2, _local3, _this);
if ((SPRITES.player.tile.x === this.lastX) && (SPRITES.player.tile.y === this.lastY)) {
_this.gridLeave();
}
if ((SPRITES.player.tile.x === _local2) && (SPRITES.player.tile.y === _local3)) {
_this.gridCollide();
}
}
this.lastX = _local2;
this.lastY = _local3;
}};
gridCollide_obj.loop();
gridCollide_obj.onMove = gridCollide_obj.loop;
_this.addListener(gridCollide_obj);
react.to("unload").then = function () {
_this.removeListener(gridCollide_obj);
};
});
if (seeDistance === undefined) {
_this.seeDistance = 7;
}
if (allow_see === undefined) {
_this.allow_see = true;
}
_this.addProperty("canSee", function () {
return(_this.allow_see);
}, function (newValue) {
_this.allow_see = newValue;
});
_this.canSee = true;
runFunc(function () {
if (isCommonEvent === true) {
return(undefined);
}
if (TRACE_SEE) {
var seePath_mc = _this.createEmptyMovieClip("seePath_mc", 942);
}
var seeIncriment = Math.min(SPRITES.player.hit._width, SPRITES.player.hit._height);
var _local15 = function () {
var _local12 = function (xTile, yTile) {
var _local1 = MAP.collision_array[xTile][yTile];
return(((_local1 == 1) || (_local1 == 2)) || (_local1 == undefined));
};
var _local13 = function (xTile, yTile) {
var _local4 = false;
var _local3 = SPRITE_GRID[xTile][yTile];
var _local1 = 0;
while (_local1 < _local3.length) {
var _local2 = _local3[_local1];
if (_local2 === _this) {
} else if (_local2.noCollide != true) {
_local4 = true;
break;
}
_local1++;
}
return(_local4);
};
if ((scripts.see.length > 0) && (canSee)) {
var _local8 = new flash.geom.Point(0, 0);
if (image.isFacing("up")) {
_local8.y = -seeIncriment;
} else if (image.isFacing("down")) {
_local8.y = seeIncriment;
} else if (image.isFacing("left")) {
_local8.x = -seeIncriment;
} else if (image.isFacing("right")) {
_local8.x = seeIncriment;
}
seePoint = new flash.geom.Point(_x, _y);
var _local9 = false;
if (TRACE_SEE) {
seePath_mc.clear();
}
if (TRACE_SEE) {
seePath_mc.lineStyle(seeIncriment, 16711680, 100, true, "normal", "round");
}
if (TRACE_SEE) {
seePath_mc.moveTo(0, 0);
}
var _local11 = Math.floor((seeDistance * mapTileSize) / seeIncriment);
var _local5 = 0;
while (_local5 < _local11) {
seePoint = seePoint.add(_local8);
if (TRACE_SEE) {
seePath_mc.moveTo(seePoint.x - _x, seePoint.y - _y);
}
if (TRACE_SEE) {
seePath_mc.lineTo(seePoint.x - _x, (seePoint.y - _y) - 1);
}
var _local4 = Math.floor(seePoint.x / mapTileSize);
var _local3 = Math.floor(seePoint.y / mapTileSize);
if (_local12(_local4, _local3)) {
break;
}
if (_local13(_local4, _local3)) {
break;
}
var _local2 = seePoint.clone();
_parent.localToGlobal(_local2);
if (SPRITES.player.hit.hitTest(_local2.x, _local2.y, false)) {
_local9 = true;
break;
}
_local5++;
}
if (_local9) {
see();
}
}
};
react.to("spriteLoop").then = _local15;
});
_this.addProperty("canClick", function () {
return(_this.allow_click);
}, function (newValue) {
_this.allow_click = newValue;
});
_this.canClick = true;
react.to("script_click_checkAllow").then = function (evt) {
if (_this.isPaused === true) {
return(evt.callback(false));
}
};
runFunc(function () {
if (isCommonEvent === true) {
return(undefined);
}
if (scripts.click.length > 0) {
image.mask_mc.onRelease = click;
}
});
allow_screen = true;
runFunc(function () {
if (isCommonEvent === true) {
return(undefined);
}
var _local3 = (scripts.onScreen.length > 0) || (scripts.offScreen.length > 0);
if (!_local3) {
return(undefined);
}
var canCheckScreen = true;
var thisPos = (new flash.geom.Point(0, 0));
_this.localToGlobal(thisPos);
var lastOnScreen = null;
react.to("script_onScreen_done").then = function () {
};
react.to("script_offScreen_done").then = function () {
};
var _local2 = function () {
if (canCheckScreen) {
thisPos = new flash.geom.Point(0, 0);
_this.localToGlobal(thisPos);
var _local1 = SCREEN.hitTest(thisPos.x, thisPos.y, false);
if ((canCheckScreen && (_local1 === true)) && (!(lastOnScreen === true))) {
sendEvent("onScreen");
}
if ((canCheckScreen && (_local1 === false)) && (!(lastOnScreen === false))) {
sendEvent("offScreen");
}
lastOnScreen = _local1;
}
};
react.to("spriteLoop").then = _local2;
});
init_useMapCollision = useMapCollision || false;
originalTileValue = MAP.collision_array[_this.tile.x][_this.tile.y];
get_useMapCollision = function () {
return(_useMapCollision);
};
set_useMapCollision = function (newValue) {
_useMapCollision = getImpliedValue(newValue);
if (_useMapCollision == true) {
MAP.collision_array[_this.tile.x][_this.tile.y] = 1;
_this.reactToTileChange = react.to("onTileChange");
_this.reactToTileChange.then = function (evt) {
var _local2 = evt.previousTile;
var _local1 = evt.currentTile;
MAP.collision_array[_local2.x][_local2.y] = originalTileValue;
originalTileValue = MAP.collision_array[_local1.x][_local1.y];
MAP.collision_array[_local1.x][_local1.y] = 1;
};
} else if (_useMapCollision == false) {
_this.reactToTileChange.disable();
delete _this.reactToTileChange;
MAP.collision_array[_this.tile.x][_this.tile.y] = originalTileValue;
}
};
_this.addProperty("useMapCollision", get_useMapCollision, set_useMapCollision);
useMapCollision = init_useMapCollision;
react.to("unload").then = function () {
SPRITE_GRID.remove(tile.x, tile.y, _this);
if (_useMapCollision == true) {
MAP.collision_array[_this.tile.x][_this.tile.y] = 0;
}
};
mapTileSize = MAP.tileSize || 16;
onTileChange_obj = runFunc(function () {
function onMove() {
var _local1 = Math.floor(_x / mapTileSize);
var _local2 = Math.floor(_y / mapTileSize);
if ((_local1 != lastX) || (_local2 != lastY)) {
sendEvent("onTileChange", {previousTile:{x:lastX, y:lastY}, currentTile:{x:_local1, y:_local2}});
}
lastX = _local1;
lastY = _local2;
}
var lastX = -1;
var lastY = -1;
react.to("onMove").then = onMove;
react.to("init").then = onMove;
});
terrainChange_obj = runFunc(function () {
function onTileChange(evt) {
var _local2 = evt.currentTile.x;
var _local3 = evt.currentTile.y;
var _local1 = MAP.collision_array[_local2][_local3];
if (!(_local1 === lastTerrain)) {
sendEvent("terrainChange", {oldTerrain:lastTerrain, newTerrain:_local1});
}
lastTerrain = _local1;
}
var _local2 = Math.floor(_x / mapTileSize);
var _local3 = Math.floor(_y / mapTileSize);
var lastTerrain = -1;
react.to("onTileChange").then = onTileChange;
});
runFunc(function () {
function checkOverlap() {
if (handleSpawnOverlap === false) {
return(undefined);
}
player_p.x = (player_p.y = 0);
SPRITES.player.localToGlobal(player_p);
isOverlapping = hit.hitTest(player_p.x, player_p.y, false);
if (isOverlapping === wasOverlapping) {
return(undefined);
}
wasOverlapping = isOverlapping;
if (isOverlapping) {
noCollide_init = noCollide;
}
setTimeout(function () {
if (isOverlapping) {
_noCollide = true;
} else {
_noCollide = noCollide_init;
}
}, 33);
}
function checkPlayerOverlap() {
if (SPRITES.player.isPaused) {
return(undefined);
}
checkOverlap();
}
if (isCommonEvent) {
return(undefined);
}
var isOverlapping;
var wasOverlapping = false;
var player_p = (new flash.geom.Point(0, 0));
var noCollide_init = noCollide;
react.to("change_noCollide").then = function (evt) {
noCollide_init = evt.value;
};
react.to("init").then = checkOverlap;
react.to("onMoveFinish").then = checkOverlap;
react.to("onMoveFinish").from(SPRITES.player).then = checkPlayerOverlap;
react.to("onMove").from(SPRITES.player).then = checkPlayerOverlap;
});
if (!isCommonEvent) {
react.to("onEnterFrame").then = function () {
if (isPaused) {
return(undefined);
}
sendEvent("spriteLoop");
};
}
if (!(isCommonEvent === true)) {
SPRITES.init_prom.then(function () {
sendEvent("init");
auto();
});
} else {
sendEvent("init");
auto();
}
Symbol 442 MovieClip [player] Frame 1
function runFunc(func) {
return(func.apply(_this, arguments.slice()));
}
function runFunc(func) {
return(func.apply(_this, arguments.slice()));
}
function sendEvent(evt_str, evt, evtEmitter) {
evtEmitter = (evtEmitter || (_this)) || this;
var _local4 = evt instanceof Object;
if (_local4 === false) {
evt = {data:evt};
}
evt.type = evt_str;
if (evtEmitter.dispatchEvent) {
evt.type = evt_str;
evtEmitter.dispatchEvent(evt);
} else if (evtEmitter.broadcastMessage) {
evtEmitter.broadcastMessage(evt_str, evt);
}
}
function make_react(defaultUnloadEmitter) {
function newReaction(eventName, newSettings) {
function get_then() {
return(reaction.then);
}
function set_then(new_func) {
reaction.then = new_func;
var _local1 = new_func instanceof Function;
var _local2 = reaction.tellThese.length > 0;
if (_local1 || (_local2)) {
listen();
if (!(reaction.untilTimeout === undefined)) {
monad.until(reaction.untilTimeout);
}
} else {
unListen();
clearTimeout(reaction.untilId);
}
}
function listen() {
if (reaction.hasListener === true) {
return(null);
}
if (reaction.emitter === undefined) {
return(null);
}
if (reaction.emitter.addEventListener) {
reaction.emitter.addEventListener(reaction.eventName, reaction.eventTarget);
} else if (reaction.emitter.addListener) {
reaction.emitter.addListener(reaction.eventTarget);
} else {
var _local1 = ((reaction.emitter._name === undefined) ? "[object]" : (("\"" + reaction.emitter._name) + "\""));
trace(((("ERROR: " + _local1) + " cannot send events. (") + reaction.eventName) + ")");
return(null);
}
reaction.hasListener = true;
}
function unListen() {
if (reaction.hasListener === false) {
return(null);
}
if (reaction.emitter === undefined) {
return(null);
}
if (reaction.emitter.removeEventListener) {
reaction.emitter.removeEventListener(reaction.eventName, reaction.eventTarget);
} else {
reaction.emitter.removeListener(reaction.eventTarget);
}
reaction.hasListener = false;
}
var reaction = {};
reaction.uid = Math.floor(Math.random() * 99);
reaction.hasListener = false;
reaction.eventName = eventName;
reaction.emitter = defaultUnloadEmitter;
reaction.fireOnce = false;
reaction.eventTarget = {};
reaction.eventTarget[reaction.eventName];
reaction.untilTimeout = undefined;
reaction.untilId = undefined;
reaction.tellThese = [];
for (var _local12 in newSettings) {
reaction[_local12] = newSettings[_local12];
}
var monad = ((reaction.monad = {}));
monad.addProperty("then", get_then, set_then);
monad.then = undefined;
monad.unListen = unListen;
monad.cleanup = function () {
for (var _local1 in reaction.tellThese) {
reaction.tellThese.splice(_local1, 1);
}
monad.then = undefined;
};
monad.disable = function () {
monad.cleanup();
monad.forget();
};
monad.fire = function () {
if (!(monad.then === reaction.then)) {
trace("WARNING: 'then' property was deleted. Now restoring it with the current reaction.");
var _local7 = monad.then;
monad.addProperty("then", get_then, set_then);
monad.then = _local7;
}
var _local6 = arguments.slice();
var _local4 = _local6[0];
monad.then.apply(null, _local6);
var _local2 = 0;
while (_local2 < reaction.tellThese.length) {
if (!reaction.tellThese[_local2].eventTarget) {
} else if (!reaction.tellThese[_local2].eventName) {
} else {
var _local3 = {};
for (var _local5 in _local4) {
_local3[_local5] = _local4[_local5];
}
_local3.type = reaction.tellEventName;
sendEvent(reaction.tellThese[_local2].eventName, _local3, reaction.tellThese[_local2].eventTarget);
}
_local2++;
}
if (reaction.fireOnce === true) {
monad.then = undefined;
}
};
reaction.eventTarget[reaction.eventName] = monad.fire;
monad.tell = function (newEventTarget, newEventName) {
if (!newEventTarget) {
return(monad);
}
if (newEventName instanceof Object) {
newEventName = newEventName.about || (newEventName.to);
}
if (!newEventName) {
newEventName = reaction.eventName;
}
var _local2 = {eventTarget:newEventTarget, eventName:newEventName};
reaction.tellThese.push(_local2);
listen();
return(monad);
};
monad.once = function () {
reaction.fireOnce = true;
return(monad);
};
monad.until = function (wait_ms) {
var _local1 = !isNaN(wait_ms);
if (_local1 === false) {
return(monad);
}
clearTimeout(reaction.untilId);
reaction.untilId = setTimeout(function () {
monad.then = undefined;
}, wait_ms);
reaction.untilTimeout = wait_ms;
return(monad);
};
monad.from = function (newEmitter) {
var _local3 = (newEmitter instanceof MovieClip) || (newEmitter instanceof Object);
if (_local3 === false) {
return(monad);
}
var _local1 = reaction.hasListener;
if (_local1) {
unListen();
}
reaction.emitter = newEmitter;
if (_local1) {
listen();
}
return(monad);
};
monad.forget = function () {
for (var _local1 in allReactions) {
if (!(allReactions[_local1] === reaction)) {
continue;
}
allReactions.splice(_local1, 1);
}
return(monad);
};
return(reaction);
}
var react = {};
var allReactions = [];
react.to = function (eventName, settings) {
var _local1 = newReaction(eventName, settings);
var _local2 = _local1.monad;
allReactions.push(_local1);
return(_local2);
};
var reactOnce = {};
reactOnce.to = function (eventName, settings) {
if (!settings) {
settings = {};
}
settings.fireOnce = true;
return(react.to(eventName, settings));
};
react.once = function () {
return(reactOnce);
};
react.unload = function (fireUnloadEvents) {
if (fireUnloadEvents === undefined) {
fireUnloadEvents = true;
}
for (var _local2 in allReactions) {
allReactions[_local2].monad.unListen();
allReactions.splice(_local2, 1);
if (fireUnloadEvents && (allReactions[_local2].eventName === "unload")) {
allReactions[_local2].monad.fire();
}
allReactions[_local2].monad.cleanup();
}
};
if (defaultUnloadEmitter) {
react.to("unload").forget().then = function () {
react.unload(true);
};
}
return(react);
}
function getImpliedValue(input) {
var _local2;
if ((input == "undefined") || (input == undefined)) {
_local2 = undefined;
} else if ((input == "true") || (input === true)) {
_local2 = Boolean(true);
} else if ((input == "false") || (input === false)) {
_local2 = Boolean(false);
} else if (isNaN(input) == false) {
_local2 = Number(input);
} else {
_local2 = input;
}
return(_local2);
}
function resolveContainerStr(containerName, thisName) {
thisName = ((typeof(thisName) === "string") ? (thisName) : "this");
var _local2 = null;
if (containerName == "this") {
_local2 = thisName;
}
if (containerName == "_root") {
_local2 = "_root";
}
if (containerName == "_level0") {
_local2 = "_root";
}
if (containerName == "_global") {
_local2 = "_global";
}
if (_global[containerName] && (_global[containerName] instanceof Object)) {
_local2 = containerName;
}
return(_local2);
}
function resolveContainer(containerName, thisRef) {
if (typeof(thisRef) === "string") {
thisRef = _this || this;
}
var _local4 = _global[containerName];
if (containerName == "this") {
_local4 = thisRef;
}
if (containerName == "_root") {
_local4 = _root;
}
if (containerName == "_level0") {
_local4 = _root;
}
if (containerName == "_global") {
_local4 = _global;
}
return(_local4);
}
function evalPath(inputPath, defaultContainer_str, thisName) {
var thisScope = this;
var thisName = (thisName || "this");
if (typeof(inputPath) == "string") {
if (!defaultContainer_str) {
var defaultContainer_str = ((typeof(thisName) === "string") ? (thisName) : "this");
}
var endAt = inputPath.indexOf(".");
if (endAt == -1) {
endAt = inputPath.length;
}
var container_str = inputPath.substr(0, endAt);
var container_str = resolveContainerStr(container_str, thisName);
if (!container_str) {
var container_str = defaultContainer_str;
endAt = -1;
}
var theRest = inputPath.substr(endAt + 1);
var fullPath = (theRest ? ((container_str + ".") + theRest) : (container_str));
var paramStart = fullPath.indexOf("(");
if (paramStart != -1) {
var paramEnd = fullPath.indexOf(")", paramStart + 1);
var param = fullPath.substring(paramStart + 1, paramEnd);
var functionPath = fullPath.substr(0, paramStart);
var thisFunction = eval (functionPath);
var param_array = String(param).split(",");
var i = 0;
while (i < param_array.length) {
param_array[i] = getImpliedValue(param_array[i]);
i++;
}
var output = thisFunction.apply(thisScope, param_array);
} else {
var output = eval (fullPath);
}
} else {
var output = inputPath;
}
return(output);
}
function nestedEval(inputPath, defaultContainer_str, thisName) {
function replaceLastBracket(inputPath) {
function openBracketCloseParam() {
var _local2 = thisPath.indexOf(")");
var _local4 = thisPath.indexOf("(");
var _local1 = thisPath.indexOf("]");
var _local3 = ((_local1 === -1) || (_local2 < _local1)) && (_local4 === -1);
if (_local2 === -1) {
_local3 = false;
}
if (!_local3) {
return(false);
}
output = (placeHolderMarker + "xx") + thisPath.substr(1);
return(true);
}
function openBracketOpenParam() {
var _local3 = thisPath.indexOf("(");
var _local4 = thisPath.indexOf("]");
var _local10 = ((_local4 === -1) || (_local3 < _local4)) && (_local3 > -1);
if (!_local10) {
return(false);
}
var _local5 = thisPath.substring(1, _local3);
_local5 = resolve(_local5);
var _local6 = evalPath(_local5, defaultContainer_str, thisName);
var _local11 = _local6 instanceof Function;
if (_local11) {
var _local7 = thisPath.indexOf(")", _local3);
var _local9 = thisPath.substring(_local3 + 1, _local7);
var _local2 = _local9.split(",");
params_ary = [];
var _local1 = 0;
while (_local1 < _local2.length) {
params_ary[_local1] = resolve(_local2[_local1]);
_local1++;
}
var _local8 = _local6.apply(thisScope, params_ary);
var _local12 = thisPath.substr(_local4 + 1);
var _local13 = setPlaceHolder(_local8);
output = _local13 + _local12;
return(true);
}
var _local12 = thisPath.substr(_local4 + 1);
trace(("ERROR: " + _local5) + " is not a function!");
output = _local12;
return(true);
}
function openBracketCloseBracket() {
var _local1 = thisPath.indexOf("]");
var _local2 = _local1 > -1;
if (!_local2) {
return(false);
}
var _local5 = thisPath.substr(_local1 + 1);
var _local4 = thisPath.substring(1, _local1);
var _local3 = evalPath(resolve(_local4), defaultContainer_str, thisName);
var _local6 = setPlaceHolder(_local3);
output = _local6 + _local5;
return(true);
}
var _local6 = inputPath.lastIndexOf("[");
var _local15 = inputPath.substr(0, _local6);
var thisPath = inputPath.substr(_local6);
var output = thisPath.substr(1);
if (openBracketCloseParam()) {
} else if (openBracketOpenParam()) {
} else if (openBracketCloseBracket()) {
}
return(_local15 + output);
}
function resolve(inputPath) {
var _local8 = placeHolderLength - 1;
var _local7 = inputPath.split(placeHolderMarker);
var _local5 = [];
_local5[0] = _local7[0];
var _local1 = 1;
while (_local1 < _local7.length) {
var _local3 = _local7[_local1];
var _local6 = _local3.substr(0, _local8);
var _local2 = getPlaceHolder(_local6);
var _local4 = _local3.substr(_local8);
if (_local4.length > 0) {
_local5[_local1] = String(_local2) + _local4;
} else {
_local5[_local1] = _local2;
}
_local1++;
}
if ((_local5.length === 2) && (_local5[0] === "")) {
return(_local5[1]);
}
return(_local5.join(""));
}
function setPlaceHolder(storeThisValue) {
resolvedValues.push(storeThisValue);
var _local3 = resolvedValues.length - 1;
var _local1 = String(_local3);
var _local2 = placeHolderLength - 1;
while (_local1.length < _local2) {
_local1 = "0" + _local1;
}
return(placeHolderMarker + _local1);
}
function getPlaceHolder(id_str) {
var _local2 = !isNaN(id_str);
if (_local2) {
var _local3 = Number(id_str);
return(resolvedValues[_local3]);
}
return(resolvedValues[id_str]);
}
var thisScope = this;
var _local24 = typeof(inputPath);
var _local21 = _local24 === "string";
if (!_local21) {
return(inputPath);
}
var placeHolderMarker = "\u00B6";
var placeHolderLength = 3;
var resolvedValues = [];
resolvedValues.xx = "[";
while (inputPath.indexOf("[") > -1) {
inputPath = replaceLastBracket(inputPath);
}
var output = resolve(inputPath);
return(output);
}
function emptyObject(inputObject) {
if (getType(inputObject) === "array") {
inputObject.splice(0, inputObject.length);
} else {
for (var _local2 in inputObject) {
delete inputObject[_local2];
}
}
}
function getType(inputObject) {
var _local1 = "";
if (inputObject instanceof Function) {
_local1 = "function";
} else if (inputObject instanceof MovieClip) {
_local1 = "movieClip";
} else if (inputObject instanceof Array) {
_local1 = "array";
} else if (inputObject instanceof XMLNode) {
_local1 = "xml";
} else if (inputObject instanceof flash.display.BitmapData) {
_local1 = "bitmap";
} else if (inputObject instanceof Object) {
_local1 = "object";
} else {
_local1 = "variable";
}
return(_local1);
}
function copyObject(srcObj, destObj) {
if (!destObj) {
destObj = {};
}
emptyObject(destObj);
var _local4 = {};
for (var _local6 in srcObj) {
_local4[_local6] = srcObj[_local6];
}
for (var _local6 in _local4) {
var _local1 = _local4[_local6];
var _local3 = getType(_local1);
if (_local1 === srcObj) {
continue;
}
if (_local3 === "variable") {
destObj[_local6] = _local1;
}
if (_local3 === "bitmap") {
destObj[_local6] = _local1.clone();
}
if (_local3 === "xml") {
destObj[_local6] = _local1.cloneNode(true);
}
if (_local3 === "array") {
destObj[_local6] = new Array();
copyObject(_local1, destObj[_local6]);
}
if (_local3 === "object") {
destObj[_local6] = new Object();
copyObject(_local1, destObj[_local6]);
}
}
return(destObj);
}
function loadImage(file, target, newName, newDepth, isVisible) {
function once(func) {
var done = false;
return(function () {
return((done ? (0) : ((done = true)func.apply(this, arguments))));
});
}
function unload() {
if (!(cleanupInterval === null)) {
clearInterval(cleanupInterval);
cleanupInterval = null;
}
if (return_obj.content) {
waitForUnload_trigger();
return_obj.onUnload(return_obj.content);
return_obj.broadcastMessage("unload");
}
removeEvents();
}
function makeOnUnload(placeIntoThis) {
if (contentExists() === false) {
return(undefined);
}
if (placeIntoThis.onUnload) {
return(undefined);
}
placeIntoThis.onUnload = unload;
}
function removeEvents() {
detectTargetUnload.unload = undefined;
delete detectTargetUnload.unload;
target.removeEventListener("unload", detectTargetUnload);
target.removeListener(detectTargetUnload);
for (var _local2 in return_obj._listeners) {
var _local1 = return_obj._listeners[_local2];
return_obj.removeListener(_local1);
}
return_obj._listeners = undefined;
delete return_obj._listeners;
return_obj.addListener = undefined;
delete return_obj.addListener;
return_obj.removeListener = undefined;
delete return_obj.removeListener;
return_obj.broadcastMessage = undefined;
delete return_obj.broadcastMessage;
target.removeListener(return_obj);
}
function getBitmap() {
if (contentExists() === false) {
return(undefined);
}
if (!loadedBitmap) {
var _local2 = return_obj.content._width;
var _local1 = return_obj.content._height;
if (!_local2) {
_local2 = 1;
}
if (!_local1) {
_local1 = 1;
}
loadedBitmap = new flash.display.BitmapData(_local2, _local1, true, 0);
loadedBitmap.draw(return_obj.content);
}
return(loadedBitmap);
}
function detectLastFrame(anim_mc) {
var _local1 = {loop:function () {
if ((anim_mc._currentframe == 0) || (anim_mc._currentframe == undefined)) {
clearInterval(detectLastFrame_interval);
waitForAnim_queue.splice(0, waitForAnim_queue.length);
} else if (anim_mc._currentframe == anim_mc._totalframes) {
clearInterval(detectLastFrame_interval);
isDoneAnimating = true;
waitForAnim_trigger();
return_obj.onAnimDone(return_obj.content, return_obj.getBitmap);
return_obj.broadcastMessage("onAnimDone", return_obj.content, return_obj.getBitmap, return_obj.file);
delete return_obj.onAnimDone;
waitForAnim_queue.splice(0, waitForAnim_queue.length);
}
}};
detectLastFrame_interval = setInterval(_local1.loop, detectLastFrame_delay);
_local1.loop();
}
function contentExists() {
return(!(return_obj.content._currentframe === undefined));
}
function waitForLoad_trigger() {
var _local1 = 0;
while (_local1 < waitForLoad_queue.length) {
waitForLoad_queue[_local1].apply(return_obj.content, [return_obj.content, return_obj.getBitmap, return_obj.file]);
_local1++;
}
waitForLoad_queue.splice(0, waitForLoad_queue.length);
}
function waitForInit_trigger() {
var _local1 = 0;
while (_local1 < waitForInit_queue.length) {
waitForInit_queue[_local1].apply(return_obj.content, [return_obj.content, return_obj.getBitmap, return_obj.file]);
_local1++;
}
waitForInit_queue.splice(0, waitForInit_queue.length);
}
function waitForAnim_trigger() {
var _local1 = 0;
while (_local1 < waitForAnim_queue.length) {
waitForAnim_queue[_local1].apply(return_obj.content, [return_obj.content, return_obj.getBitmap, return_obj.file]);
_local1++;
}
waitForAnim_queue.splice(0, waitForAnim_queue.length);
}
function waitForUnload_trigger() {
var _local1 = 0;
while (_local1 < waitForUnload_queue.length) {
waitForUnload_queue[_local1].apply(return_obj.content, [return_obj.content, return_obj.getBitmap, return_obj.file]);
_local1++;
}
waitForUnload_queue.splice(0, waitForUnload_queue.length);
}
function placeClip() {
var newImage = target.attachMovie(file, newName, newDepth, {_visible:isVisible});
var newImage = target[newName];
if ((!(target.getInstanceAtDepth(newDepth) === undefined)) && (newImage != target)) {
loadedBitmap = null;
return_obj.content = newImage;
isLoaded = true;
makeOnUnload(return_obj.content);
waitForLoad_trigger();
return_obj.broadcastMessage("onLoad", return_obj.content, return_obj.getBitmap, file);
return_obj.onLoad(return_obj.content, return_obj.getBitmap, file);
detectLastFrame(return_obj.content);
setTimeout(function (file) {
waitForInit_trigger();
return_obj.onLoadInit(return_obj.content, return_obj.getBitmap, file);
return_obj.broadcastMessage("onLoadInit", return_obj.content, return_obj.getBitmap, file);
return_obj.broadcastMessage("complete", return_obj.content, return_obj.getBitmap, file);
}, 1, file);
} else {
var newImage = target.createEmptyMovieClip(newName, newDepth);
newImage._visible = isVisible;
if (file.generateFilterRect != undefined) {
var _local1 = file;
}
if (file.generateFilterRect == undefined) {
var _local1 = flash.display.BitmapData.loadBitmap(file);
}
newImage.attachBitmap(_local1, 0, true, true);
if (!(newImage.getInstanceAtDepth(0) === undefined)) {
loadedBitmap = _local1;
return_obj.content = newImage;
isLoaded = true;
makeOnUnload(return_obj.content);
waitForLoad_trigger();
return_obj.broadcastMessage("onLoad", return_obj.content, return_obj.getBitmap, file);
return_obj.onLoad(return_obj.content, return_obj.getBitmap, file);
setTimeout(function (file) {
waitForInit_trigger();
return_obj.onLoadInit(return_obj.content, return_obj.getBitmap, file);
return_obj.broadcastMessage("onLoadInit", return_obj.content, return_obj.getBitmap, file);
return_obj.broadcastMessage("complete", return_obj.content, return_obj.getBitmap, file);
}, 0, file);
isDoneAnimating = true;
waitForAnim_trigger();
return_obj.onAnimDone(return_obj.content, return_obj.getBitmap, file);
return_obj.broadcastMessage("onAnimDone", return_obj.content, return_obj.getBitmap, file);
delete return_obj.onAnimDone;
} else {
var loader = new MovieClipLoader();
loadedBitmap = null;
return_obj.content = undefined;
loader.onLoadComplete = function (loadedClip, loadStatus) {
newImage._visible = isVisible;
loadedBitmap = null;
return_obj.content = loadedClip;
isLoaded = true;
waitForLoad_trigger();
return_obj.broadcastMessage("onLoad", return_obj.content, null, file);
return_obj.onLoad(return_obj.content, null, file);
};
loader.onLoadInit = function (loadedClip) {
makeOnUnload(return_obj.content);
detectLastFrame(return_obj.content);
setTimeout(function (file) {
waitForInit_trigger();
return_obj.onLoadInit(return_obj.content, return_obj.getBitmap, file);
return_obj.broadcastMessage("onLoadInit", return_obj.content, return_obj.getBitmap, file);
return_obj.broadcastMessage("complete", return_obj.content, return_obj.getBitmap, file);
}, 0, file);
};
loader.onLoadInit = once(loader.onLoadInit);
loader.onLoadError = function () {
if (newName) {
removeClip(target[newName]);
}
return_obj.content = undefined;
waitForLoad_queue.splice(0, waitForLoad_queue.length);
waitForInit_queue.splice(0, waitForInit_queue.length);
waitForAnim_queue.splice(0, waitForAnim_queue.length);
var _local1 = {file:file};
return_obj.onLoadError(_local1);
return_obj.broadcastMessage("onLoadError", _local1);
};
loader.onLoadError = once(loader.onLoadError);
loader.loadClip(file, newImage);
if (isLoaded) {
return_obj.content = target[newName];
setTimeout(function (file) {
loader.onLoadInit(return_obj.content, return_obj.getBitmap, file);
}, 0, file);
}
}
}
}
function removeClip(clip_mc) {
if (!clip_mc) {
return(undefined);
}
clip_mc.onUnload();
delete clip_mc.onUnload;
clip_mc.removeMovieClip();
}
if (_global.nextDepth === undefined) {
_global.nextDepth = function (this_mc, maxDepth, minDepth) {
this_mc = (this_mc ? (this_mc) : _root);
var _local4 = ((minDepth != undefined) ? (minDepth) : 1);
var _local5 = (maxDepth ? (maxDepth) : 1048500);
for (var _local6 in this_mc) {
var _local2 = this_mc[_local6].getDepth();
if ((_local2 < _local5) && (_local2 >= _local4)) {
_local4 = _local2 + 1;
}
}
return(_local4);
};
}
var detectLastFrame_delay = 10;
var return_obj;
var isLoaded = false;
var isInit = false;
var isDoneAnimating = false;
var waitForLoad_queue = [];
var waitForInit_queue = [];
var waitForAnim_queue = [];
var waitForUnload_queue = [];
var loadedBitmap = null;
var detectTargetUnload = {};
var detectLastFrame_interval = null;
var cleanupInterval = null;
var unload = once(unload);
detectLastFrame = once(detectLastFrame);
return_obj = {file:file, onLoadInit:function () {
}, onLoadError:function () {
}, onAnimDone:function () {
}, content:undefined, waitForLoad:function (newCallback) {
if (isLoaded) {
newCallback.apply(return_obj.content, [return_obj.content, getBitmap, file]);
} else {
waitForLoad_queue.push(newCallback);
}
return(return_obj);
}, waitForInit:function (newCallback) {
if (isInit) {
newCallback.apply(return_obj.content, [return_obj.content, getBitmap, file]);
} else {
waitForInit_queue.push(newCallback);
}
return(return_obj);
}, waitForAnim:function (newCallback) {
if (isDoneAnimating) {
newCallback.apply(return_obj.content, [return_obj.content, getBitmap, file]);
} else {
waitForAnim_queue.push(newCallback);
}
return(return_obj);
}, waitForUnload:function (newCallback) {
waitForUnload_queue.push(newCallback);
return(return_obj);
}, getBitmap:getBitmap, unload:unload, removeEvents:removeEvents};
AsBroadcaster.initialize(return_obj);
detectTargetUnload.unload = unload;
if (target.addEventListener) {
target.addEventListener("unload", detectTargetUnload);
} else if (target.addListener) {
target.addListener(detectTargetUnload);
}
var _local17 = Math.floor(Math.random() * 300);
setTimeout(function () {
cleanupInterval = setInterval(function () {
var _local1 = contentExists();
if (_local1) {
return(undefined);
}
unload();
}, 3000);
}, _local17);
if (isVisible === undefined) {
isVisible = true;
}
var target = (target || this);
var newDepth = ((newDepth != undefined) ? (newDepth) : (nextDepth(target)));
var newName = (newName || ("image_" + newDepth));
newName = String(newName);
setTimeout(function () {
removeClip(target[newName]);
placeClip();
}, 0);
return(return_obj);
}
function newSprite(newSettings, newTarget, newName, newDepth, cache) {
function getResolvedCharset(charset) {
if (_this.getResolvedCharset) {
return(_this.getResolvedCharset(charset) || (charset));
}
return(charset);
}
function updateOnce(func, delay) {
var hasUpdated = false;
var interval = null;
var delay = (delay || 0);
return(function () {
if (hasUpdated === false) {
hasUpdated = true;
func.apply(null, arguments);
clearTimeout(interval);
interval = setTimeout(function () {
hasUpdated = false;
}, delay);
}
});
}
function make_detectChangePosition() {
var old_pos = {x:_this._x, y:_this._y};
return(function () {
var _local1 = {x:_this._x, y:_this._y};
if ((!(_local1.x === old_pos.x)) || (!(_local1.y === old_pos.y))) {
_this.broadcastMessage("changePosition", {oldValue:old_pos, newValue:_local1});
old_pos.x = _local1.x;
old_pos.y = _local1.y;
return(true);
}
return(false);
});
}
function getDelayMs(delay) {
if (delay === undefined) {
delay = _this.internal.delay;
}
return(Math.floor((1000 / _this.fps) * delay));
}
function makeManualLoop() {
var delayCounter = 0;
return(function () {
if (_this.placeHolder_pic) {
delayCounter = _this.internal.delay;
return(undefined);
}
if (delayCounter <= 0) {
_this.loop();
delayCounter = _this.internal.delay;
}
delayCounter--;
});
}
function callOnNextFrame(callThis) {
setTimeout(function () {
callThis();
}, getDelayMs(_this.internal.delay));
}
newTarget = (newTarget ? (newTarget) : this);
newName = (newName ? (newName) : ("sprite_" + Math.floor(Math.random() * 9999)));
while (newTarget[newName]) {
newName = "sprite_" + Math.floor(Math.random() * 9999);
}
if (_global.nextDepth === undefined) {
_global.nextDepth = function (this_mc, maxDepth, minDepth) {
this_mc = (this_mc ? (this_mc) : _root);
var _local4 = ((minDepth != undefined) ? (minDepth) : 1);
var _local5 = (maxDepth ? (maxDepth) : 1048500);
for (var _local6 in this_mc) {
var _local2 = this_mc[_local6].getDepth();
if ((_local2 < _local5) && (_local2 >= _local4)) {
_local4 = _local2 + 1;
}
}
return(_local4);
};
}
var vow_version = 3.9;
var _local28 = function () {
function forEach(array, callback) {
var _local1 = 0;
while (_local1 < array.length) {
callback(array[_local1], _local1);
_local1++;
}
}
function enlighten(queue, fate) {
forEach(queue, function (func) {
setTimeout(function () {
func(fate);
}, 0);
});
}
var _local12 = vow_version;
var vow_output = {version:_local12, make:function () {
function enqueue(resolution, func, vow) {
var _local2 = ((resolution === "kept") ? (keepers) : (breakers));
var isBroken = Boolean(_local2 === breakers);
_local2[_local2.length] = ((!(typeof(func) === "function")) ? (vow[resolution]) : (function (value) {
try {
_local1 = func(value)_local1if (_local1 && (_local1.is_promise === true)) {
if (isBroken) {
_local1.then(vow.doBreak, vow.doBreak)} else {
_local1.then(vow.keep, vow.doBreak)}
} else {
if (isBroken) {
vow.doBreak(_local1)}
if (!isBroken) {
vow.keep(_local1)}
}
} catch(e) {
vow.doBreak(e)}
}));
}
function herald(state, value, queue) {
if (!(status === "pending")) {
return(undefined);
}
fate = value;
status = state;
enlighten(queue, fate);
keepers = [];
breakers = [];
}
function get_then() {
return(set_then);
}
var breakers = [];
var fate = undefined;
var keepers = [];
var status = "pending";
var promise = {version:vow_output.version, is_promise:true, getStatus:function () {
return(status);
}, getValue:function () {
return(fate);
}, doBreak:function (value) {
herald("broken", value, breakers);
return(this.promise);
}, keep:function (value) {
herald("kept", value, keepers);
return(this.promise);
}};
var set_then = function (kept, broken) {
var _local1 = VOW.make();
switch (status) {
case "pending" :
enqueue("kept", kept, _local1);
enqueue("break", broken, _local1);
break;
case "kept" :
enqueue("kept", kept, _local1);
enlighten(keepers, fate);
keepers = [];
break;
case "broken" :
enqueue("break", broken, _local1);
enlighten(breakers, fate);
breakers = [];
}
return(_local1);
};
promise.addProperty("then", get_then, set_then);
promise.promise = promise;
return(promise);
}, every:function (array) {
var remaining = array.length;
var results = [];
var vow = VOW.make();
if (!remaining) {
vow.keep([]);
} else {
forEach(array, function (promise, i) {
promise.then(function (value) {
results[i] = value;
remaining--;
if (remaining === 0) {
vow.keep(results);
}
}, function (reason) {
remaining = null;
vow.doBreak(reason);
});
});
}
return(vow.promise);
}, everyTried:function (array) {
var remaining = array.length;
var results = [];
var vow = VOW.make();
if (!remaining) {
vow.keep([]);
} else {
forEach(array, function (promise, i) {
promise.then(function (value) {
results[i] = value;
remaining--;
if (remaining === 0) {
vow.keep(results);
}
}, function (failReason) {
results[i] = undefined;
remaining--;
if (remaining === 0) {
vow.keep(results);
}
});
});
}
return(vow.promise);
}, first:function (array) {
function check() {
remaining--;
if ((remaining === 0) && (!found)) {
vow.doBreak();
}
}
var found = false;
var remaining = array.length;
var vow = VOW.make();
if (remaining === 0) {
vow.doBreak(array);
} else {
forEach(array, function (promise) {
promise.then(function (value) {
if (!found) {
found = true;
vow.keep(value);
}
check();
}, check);
});
}
return(vow.promise);
}, kept:function (value) {
var _local1 = VOW.make();
_local1.keep(value);
return(_local1.promise);
}, broken:function (reason) {
var _local1 = VOW.make();
_local1.doBreak(reason);
return(_local1.promise);
}, wait:function (milliseconds) {
var _local1 = function (input) {
var vow = VOW.make();
var milliseconds = ((milliseconds === undefined) ? 0 : (milliseconds));
setTimeout(function () {
vow.keep(input);
}, milliseconds);
return(vow.promise);
};
return(_local1);
}, firstWait:function (milliseconds) {
var vow = VOW.make();
milliseconds = ((milliseconds === undefined) ? 0 : (milliseconds));
setTimeout(function () {
vow.keep({});
}, milliseconds);
return(vow.promise);
}, start:function (value) {
var _local1 = VOW.make();
_local1.keep(value);
return(_local1.promise);
}, runSequence:function (sequence) {
var _local4 = VOW.make().keep();
var _local1 = 0;
while (_local1 < sequence.length) {
var _local3 = sequence[_local1];
var _local2 = _local4.then(_local3);
if (!(_local2.is_promise === true)) {
_local2 = VOW.kept();
}
_local4 = _local2;
_local1++;
}
var _local6 = _local4;
return(_local6);
}, wrap:function (func, callbackIndex) {
if (callbackIndex === undefined) {
var callbackIndex = 0;
}
return(function () {
var vow = VOW.make();
if (callbackIndex === undefined) {
var callbackIndex = (arguments.length - 1);
}
arguments[callbackIndex] = function (output) {
vow.keep(output);
};
func.apply(this, arguments);
return(vow.promise);
});
}, preApply:function (func, param) {
var args = arguments.slice(1);
return(function () {
return(func.apply(null, args));
});
}, failThru:function (failReason) {
return(failReason);
}, null:null};
vow_output.any = (vow_output.allResolved = vow_output.everyTried);
return(vow_output);
};
var VOW = _local28();
delete vow_version;
newDepth = ((newDepth != undefined) ? (newDepth) : (nextDepth(newTarget)));
var _this = newTarget.createEmptyMovieClip(newName, newDepth);
if (!_this.addListener) {
AsBroadcaster.initialize(_this);
}
_this.is_sprite = true;
_this.useInterval = true;
_this.loopInterval = undefined;
_this.cache = cache;
var send_update_event = updateOnce(function () {
_this.broadcastMessage("update", {sprite:_this, bitmap:_this.image_pic});
}, 33);
_this.internal = {charset:"", direction:0, directions:1, frame:0, frames:1, pose:0, columns:1, rows:1, animType:"loop", animDirection:1, delay:4, isAnimating:true};
_this.copy = new flash.geom.Rectangle(0, 0, 16, 16);
_this.paste = new flash.geom.Point(0, 0);
_this.delayCounter = 0;
_this.loadNewCharset = function (file, callback) {
var _local1 = false;
var isUsingAutoLoop = _this.useInterval;
var _local4 = getResolvedCharset(file);
var _local9 = file instanceof flash.display.BitmapData;
var _local8 = _local9 || (_local4.indexOf(".png") > -1);
if (!_local8) {
return(callback(_this.charset_pic || null));
}
var _local6 = function (new_pic) {
var _local1 = _this.charset_pic;
_this.charset_pic = new_pic;
_this.broadcastMessage("changeCharset", {bitmap:_this.charset_pic});
_this.changeCharset(_this.charset_pic);
callback(_this.charset_pic);
_local1.dispose();
if (isUsingAutoLoop) {
clearTimeout(_this.loopInterval);
_this.loopInterval = setTimeout(function () {
_this.loopSelf();
}, getDelayMs(_this.internal.delay));
}
};
var copyMovieClip = function () {
var _local1 = _this.charset_pic;
_this.loader_mc._xscale = (_this.loader_mc._yscale = 100);
_this.charset_pic = new flash.display.BitmapData(_this.loader_mc._width, _this.loader_mc._height, true, 0);
_this.charset_pic.draw(_this.loader_mc);
_this.loader_mc._xscale = (_this.loader_mc._yscale = 1);
_this.loader_mc.removeMovieClip();
_this.broadcastMessage("changeCharset", {bitmap:_this.charset_pic});
_this.changeCharset(_this.charset_pic);
callback(_this.charset_pic);
_local1.dispose();
if (isUsingAutoLoop) {
clearTimeout(_this.loopInterval);
_this.loopInterval = setTimeout(function () {
_this.loopSelf();
}, getDelayMs(_this.internal.delay));
}
};
if (file.generateFilterRect != undefined) {
_local6(file.clone());
return(undefined);
}
var _local5 = flash.display.BitmapData.loadBitmap(file);
_local1 = Boolean(!(_local5.generateFilterRect === undefined));
if (_local1) {
_local6(_local5);
return(undefined);
}
_this.showPlaceHolder();
_this.broadcastMessage("onNewBitmap", {bitmap:_this.image_pic.clone()});
_this.charset_pic_bk = _this.charset_pic.clone();
_this.charset_pic.dispose();
if (isUsingAutoLoop) {
clearTimeout(_this.loopInterval);
_this.loopInterval = undefined;
}
_this.loader_mc = _this.attachMovie(_local4, "loader_mc", 0, {_xscale:1, _yscale:1, _visible:false});
_local1 = Boolean(_this.loader_mc != undefined);
if (_local1) {
copyMovieClip();
_this.hidePlaceHolder();
_this.charset_pic_bk.dispose();
_this.charset_pic_bk = null;
return(undefined);
}
_this.loader_mc = _this.createEmptyMovieClip("loader_mc", 0);
_this.loader_mc._visible = false;
_this.loader_mc._xscale = (_this.loader_mc._yscale = 1);
var _local2 = new MovieClipLoader();
_local2.onLoadComplete = function () {
_this.loader_mc._visible = false;
};
_local2.onLoadInit = function () {
copyMovieClip();
_this.hidePlaceHolder();
_this.charset_pic_bk.dispose();
_this.charset_pic_bk = null;
return(undefined);
};
_local2.onLoadError = function () {
_this.broadcastMessage("loadCharsetError");
_this.loadCharsetError();
_this.hidePlaceHolder();
_this.charset_pic = _this.charset_pic_bk;
_this.charset_pic_bk = null;
callback(_this.charset_pic || null);
_this.update();
if (isUsingAutoLoop) {
clearTimeout(_this.loopInterval);
_this.loopInterval = setTimeout(function () {
_this.loopSelf();
}, getDelayMs(_this.internal.delay));
}
};
_local2.loadClip(_local4, _this.loader_mc);
};
_this.old_charset_pic;
_this.setSpriteSize = function (doUpdate) {
var _local3 = false;
var _local6 = _this.spriteWidth;
var _local5 = _this.spriteHeight;
_this.spriteWidth = Math.floor((_this.charset_pic.width / _this.internal.columns) / _this.internal.frames);
_this.spriteHeight = Math.floor((_this.charset_pic.height / _this.internal.rows) / _this.internal.directions);
if (_this.spriteWidth > 0) {
if (!(_this.old_charset_pic.width === _this.charset_pic.width)) {
doUpdate = true;
}
if (!(_this.old_charset_pic.height === _this.charset_pic.height)) {
doUpdate = true;
}
if (!(_this.spriteWidth === _local6)) {
doUpdate = true;
}
if (!(_this.spriteHeight === _local5)) {
doUpdate = true;
}
if (doUpdate) {
var _local4 = _this.image_pic;
_this.image_pic = new flash.display.BitmapData(_this.spriteWidth, _this.spriteHeight, true, 0);
_this.image_mc = _this.createEmptyMovieClip("image_mc", 1);
var _local2 = _this.getDisplayPosition();
_this.image_mc._x = _local2.x;
_this.image_mc._y = _local2.y;
_this.image_mc.attachBitmap(_this.image_pic, 0);
_this.copy.width = _this.spriteWidth;
_this.copy.height = _this.spriteHeight;
_this.update();
_local3 = true;
_this.updateMask();
_this.broadcastMessage("onNewBitmap", {bitmap:_this.image_pic});
_local4.dispose();
}
_this.old_charset_pic = _this.charset_pic;
}
return(_local3);
};
_this.update = function () {
if (_this.spriteWidth > 0) {
var _local3 = _this.internal.pose % _this.internal.columns;
var _local2 = _this.spriteWidth * _this.internal.frames;
var _local7 = _local3 * _local2;
var _local4 = _this.internal.frame * _this.spriteWidth;
_this.copy.x = _local7 + _local4;
var _local5 = Math.floor(_this.internal.pose / _this.internal.columns);
var _local1 = _this.spriteHeight * _this.internal.directions;
var _local6 = _local5 * _local1;
var _local8 = _this.internal.direction * _this.spriteHeight;
_this.copy.y = _local6 + _local8;
_this.image_pic.copyPixels(_this.charset_pic, _this.copy, _this.paste);
send_update_event();
}
};
_this.advanceFrame = function () {
if (_this.placeHolder_pic) {
return(undefined);
}
if (_this.internal.frames > 1) {
_this.internal.frame = _this.internal.frame + _this.internal.animDirection;
if (_this.internal.animType == "yoyo") {
if (_this.internal.frame >= _this.internal.frames) {
_this.internal.frame = _this.internal.frames - 1;
_this.internal.animDirection = _this.internal.animDirection * -1;
if (_this.internal.frame > 0) {
_this.internal.frame = _this.internal.frame + _this.internal.animDirection;
}
_this.broadcastMessage("animDone");
_this.animDone();
} else if (_this.internal.frame <= -1) {
_this.internal.frame = 0;
_this.internal.animDirection = _this.internal.animDirection * -1;
if (_this.internal.frame < (_this.internal.frames - 1)) {
_this.internal.frame = _this.internal.frame + _this.internal.animDirection;
}
_this.broadcastMessage("animDone");
_this.animDone();
}
} else if (_this.internal.animType == "loop") {
var _local1 = _this.internal.frame;
while (_this.internal.frame < 0) {
_this.internal.frame = _this.internal.frame + _this.internal.frames;
}
_this.internal.frame = _this.internal.frame % _this.internal.frames;
if (_local1 >= _this.internal.frames) {
_this.broadcastMessage("animDone");
_this.animDone();
} else if (_local1 <= -1) {
_this.broadcastMessage("animDone");
_this.animDone();
}
} else if (_this.internal.animType == "once") {
if (_this.internal.frame >= _this.internal.frames) {
_this.internal.frame = 0;
} else if (_this.internal.frame <= -1) {
_this.internal.frame = _this.internal.frames - 1;
} else if ((_this.internal.animDirection > 0) && (_this.internal.frame == (_this.internal.frames - 1))) {
_this.internal.isAnimating = false;
callOnNextFrame(function () {
_this.broadcastMessage("animDone");
_this.animDone();
});
} else if ((_this.internal.animDirection < 0) && (_this.internal.frame == 0)) {
_this.internal.isAnimating = false;
callOnNextFrame(function () {
_this.broadcastMessage("animDone");
_this.animDone();
});
}
}
} else {
_this.internal.frame = 0;
}
};
_this.getDisplayPosition = function () {
var _local1 = {x:(-_this.spriteWidth) / 2, y:-_this.spriteHeight};
return(_local1);
};
_this.getParams = function () {
var _local1 = {};
for (var _local2 in _this.internal) {
_local1[_local2] = _this.internal[_local2];
}
return(_local1);
};
_this.getParam = function (nam) {
return(_this.internal[nam]);
};
_this.setParams = function (new_settings) {
var update_vow = VOW.make();
var detectStopAnim = function () {
if ((_this.internal.isAnimating == true) && (new_settings.isAnimating === false)) {
applyStopFrame();
}
};
var checkDirection = function () {
var _local1 = ((!(new_settings.directions === undefined)) ? (new_settings.directions) : (_this.internal.directions));
_this.internal.direction = _this.getDirectionValue(_this.internal.direction, _local1);
};
var checkDelay = function () {
if (_this.internal.delay <= 0) {
_this.internal.delay = 1;
}
};
var checkPose = function () {
var _local1 = _this.internal.columns * _this.internal.rows;
if (_this.internal.pose >= _local1) {
_this.internal.pose = 0;
}
};
var checkFrame = function () {
if (_this.internal.frame >= _this.internal.frames) {
applyStopFrame();
}
};
var applyStopFrame = function () {
if (_this.internal.frames == 3) {
_this.internal.frame = 1;
} else {
_this.internal.frame = 0;
}
};
var _local6 = function () {
detectStopAnim();
var _local5 = _this.internal.direction;
for (var _local3 in new_settings) {
var _local7 = new_settings[_local3];
var _local2 = (_local7 === true) || (_local7 === false);
var _local1 = Boolean(!isNaN(_local7)) && (!_local2);
if (_local1) {
_this.internal[_local3] = Number(_local7);
} else {
_this.internal[_local3] = _local7;
}
}
checkDirection();
checkFrame();
checkDelay();
checkPose();
var _local4 = _this.internal.direction;
var _local6 = !(_local5 === _local4);
if (_local6) {
_this.broadcastMessage("changeDirection", {oldValue:_local5, newValue:_local4, total:_this.internal.directions});
}
};
var _local14 = new_settings.charset != _this.internal.charset;
if (new_settings.charset && (_local14)) {
var _local5 = Boolean(!(_this.cache[new_settings.charset].generateFilterRect === undefined));
if (!_this.cache[new_settings.charset].width) {
_local5 = false;
}
var _local8 = _this.cache[new_settings.charset].clone();
var _local11 = (_local5 ? (_local8) : (new_settings.charset));
var _local9 = function (newCharset_pic) {
var _local1 = _this.setSpriteSize();
if (!_this.placeHolder_pic) {
_this.update();
}
update_vow.keep(new_settings);
};
_local6();
_this.loadNewCharset(_local11, _local9);
} else {
_local6();
var _local18 = _this.setSpriteSize();
if (!_this.placeHolder_pic) {
_this.update();
}
update_vow.keep(new_settings);
}
return(update_vow.promise);
};
_this.showPlaceHolder = function () {
var _local1 = Boolean(_this.image_pic.width > 0);
if (!_local1) {
return(false);
}
var _local2 = _this.placeHolder_pic;
_this.placeHolder_mc = _this.createEmptyMovieClip("placeHolder_mc", 2);
_this.placeHolder_mc._x = (-_this.spriteWidth) / 2;
_this.placeHolder_mc._y = -_this.spriteHeight;
_this.placeHolder_pic = _this.image_pic.clone();
_this.placeHolder_mc.attachBitmap(_this.placeHolder_pic, 0);
_this.image_mc._visible = false;
_local2.dispose();
return(true);
};
_this.hidePlaceHolder = function () {
var _local1 = _this.placeHolder_pic;
_this.placeHolder_mc.removeMovieClip();
_this.image_mc._visible = true;
_local1.dispose();
delete _this.placeHolder_pic;
return(true);
};
_this.isVisible = function () {
var _local1 = _this._visible && (_this._parent._visible);
var _local2 = (_this._alpha > 0) && (_this._parent._alpha > 0);
return(_local1 && (_local2));
};
var detectChangePosition = make_detectChangePosition();
_this.lookAtCoords = function () {
var _local2 = {direction:_this.getParam("direction")};
var _local6 = arguments[0];
var _local5 = arguments[1];
var _local4 = _local6 - _this._parent._x;
var _local3 = _local5 - _this._parent._y;
if (Math.abs(_local3) > Math.abs(_local4)) {
if (_local3 < 0) {
_local2 = {direction:"up"};
_this.setParams(_local2);
} else {
_local2 = {direction:"down"};
_this.setParams(_local2);
}
} else if (_local4 < 0) {
_local2 = {direction:"left"};
_this.setParams(_local2);
} else {
_local2 = {direction:"right"};
_this.setParams(_local2);
}
return(_local2);
};
_this.lookAtSprite = function (clip2) {
return(_this.lookAtCoords(clip2._x, clip2._y));
};
_this.lookAt = function (sprite1, sprite2) {
var _local1 = {direction:_this.getParam("direction")};
var _local3 = sprite2._x - sprite1._x;
var _local2 = sprite2._y - sprite1._y;
var _local4 = Math.sqrt((_local3 * _local3) + (_local2 * _local2));
var _local5 = _local3 / _local4;
var _local6 = _local2 / _local4;
if (Math.abs(_local6) > Math.abs(_local5)) {
if (_local6 < 0) {
_local1 = {direction:"up"};
_this.setParams(_local1);
} else {
_local1 = {direction:"down"};
_this.setParams(_local1);
}
} else if (_local5 < 0) {
_local1 = {direction:"left"};
_this.setParams(_local1);
} else {
_local1 = {direction:"right"};
_this.setParams(_local1);
}
return(_local1);
};
_this.isFacing = function (checkDir) {
checkDir = _this.getDirectionValue(checkDir, _this.internal.directions);
return(_this.internal.direction == checkDir);
};
_this.getDisplayBitmap = function () {
return(_this.image_pic);
};
_this.getReadyPromise = function () {
return(_this.ready_prom);
};
_this.getBitmap = function () {
return(_this.charset_pic.clone());
};
_this.getDirectionValue = function (input, totalDirections) {
if (totalDirections === undefined) {
totalDirections = Number(_this.internal.directions) || 1;
}
if ((typeof(input) === "string") && (!isNaN(input))) {
return(Number(input));
}
var _local1 = Number(input) || 0;
if (typeof(input) === "string") {
_local1 = input.toLowerCase();
var _local4 = totalDirections / 4;
if (_local1 == "up") {
_local1 = 0;
} else if (_local1 == "right") {
_local1 = Math.floor(1 * _local4);
} else if (_local1 == "down") {
_local1 = Math.floor(2 * _local4);
} else if (_local1 == "left") {
_local1 = Math.floor(3 * _local4);
}
_local1 = Number(_local1);
}
while (_local1 < 0) {
_local1 = _local1 + totalDirections;
}
_local1 = _local1 % totalDirections;
return(_local1);
};
_this.set_charset = function (new_charset, newThis, callback) {
_this.loadNewCharset(new_charset, callback);
};
_this.set_direction = function (new_dir) {
_this.setParams({direction:new_dir});
};
_this.mask_mc = _this.createEmptyMovieClip("mask_mc", 3);
_this.mask_mc.beginFill(16711680, 0);
_this.mask_mc.lineTo(16, 0);
_this.mask_mc.lineTo(16, 16);
_this.mask_mc.lineTo(0, 16);
_this.mask_mc.lineTo(0, 0);
_this.mask_mc.endFill();
_this.updateMask = function () {
_this.mask_mc._x = (-_this.spriteWidth) / 2;
_this.mask_mc._y = -_this.spriteHeight;
_this.mask_mc._width = _this.spriteWidth;
_this.mask_mc._height = _this.spriteHeight;
};
var isFirstTime = true;
_this.fps = 30;
_this.loop = function () {
if (_this.internal.isAnimating && (_this.isVisible())) {
if (isFirstTime === false) {
_this.advanceFrame();
}
_this.update();
}
detectChangePosition();
isFirstTime = false;
};
_this.loop();
_this.loopSelf = function () {
if (!(_this.useInterval === true)) {
return(undefined);
}
var _local1 = _this._name != "";
if (_local1) {
_this.loop();
clearTimeout(_this.loopInterval);
_this.loopInterval = setTimeout(function () {
_this.loopSelf();
}, getDelayMs(_this.internal.delay));
} else {
_this.loopSelf = null;
delete _this.loopSelf;
}
};
_this.manualLoop = makeManualLoop();
_this.ready_prom = _this.setParams(newSettings);
_this.onUnload = function () {
if (_this.loopInterval != undefined) {
clearTimeout(_this.loopInterval);
_this.loopInterval = undefined;
}
_this.broadcastMessage("unload");
for (var _local1 in _this._listeners) {
_this._listeners[_local1] = null;
}
_this._listeners = [];
};
return(_this);
}
function get_allow_walk() {
return(_allow_walk);
}
function set_allow_walk(newValue) {
_allow_walk = newValue;
if (_allow_walk) {
walk_spriteLoop.then = _this.walk_obj.loop;
} else {
walk_spriteLoop.then = null;
}
}
function makeCornerSlip(walk_obj, wallValues, mapTileSize) {
var tileSize = ((mapTileSize || (player_mc.tile.tileSize)) || 16);
walk_obj.wallValues = wallValues;
var xOffset = null;
var yOffset = null;
var player_mc = this;
var collision_array = null;
var walk_obj = null;
var _local15 = 4;
var cornerSize = _local15;
var lookAhead = (_local15 + (tileSize / 2));
var isWallId = function (collisionId) {
var _local1 = 0;
while (_local1 < walk_obj.wallValues.length) {
if (walk_obj.wallValues[_local1] == collisionId) {
return(true);
}
_local1++;
}
return(false);
};
var isWall = function (xPixel, yPixel) {
var _local3 = Math.floor(xPixel / tileSize);
var _local2 = Math.floor(yPixel / tileSize);
var _local1 = collision_array[_local3][_local2];
return(isWallId(_local1));
};
var getWhichWay = function () {
if ((walk_obj.xVel == 0) && (walk_obj.yVel == 0)) {
return(false);
}
if (Math.abs(walk_obj.xVel) == Math.abs(walk_obj.yVel)) {
return(false);
}
var _local1 = {};
_local1.x = Math.abs(walk_obj.xVel) / 2;
_local1.y = Math.abs(walk_obj.yVel) / 2;
var _local3 = Math.max(_local1.x, _local1.y);
if (_local3 > tileSize) {
_local3 = tileSize;
}
var _local4 = ((_local1.x > _local1.y) ? "x" : "y");
var _local5 = ((_local4 == "x") ? "y" : "x");
var _local6 = {};
_local6[_local4] = (_local1[_local4] / walk_obj[_local4 + "Vel"]) || 0;
_local6[_local5] = (_local1[_local5] / walk_obj[_local5 + "Vel"]) || 0;
var _local2 = {forwardAxis:_local4, sideAxis:_local5, moveDir:_local6, slideSpeed:_local3};
return(_local2);
};
var getSlideDir = function (dir) {
var _local4 = {x:0, y:0};
var _local3 = dir.sideAxis;
var _local2 = dir.forwardAxis;
var _local6 = dir.moveDir;
var _local1 = {};
_local1[_local3] = player_mc["_" + _local3] - cornerSize;
_local1[_local2] = player_mc["_" + _local2] + (lookAhead * _local6[_local2]);
var _local7 = isWall(_local1.x, _local1.y);
_local1[_local3] = player_mc["_" + _local3] + cornerSize;
_local1[_local2] = player_mc["_" + _local2] + (lookAhead * _local6[_local2]);
var _local5 = isWall(_local1.x, _local1.y);
if (_local7 && (!_local5)) {
_local4[_local3] = 1;
} else if ((!_local7) && (_local5)) {
_local4[_local3] = -1;
} else {
_local4 = null;
}
return(_local4);
};
var setVelocity = function (slideDir, slideSpeed) {
var _local1 = {x:slideSpeed, y:slideSpeed};
_local1.x = _local1.x * slideDir.x;
_local1.y = _local1.y * slideDir.y;
walk_obj.xVel = walk_obj.xVel + _local1.x;
walk_obj.yVel = walk_obj.yVel + _local1.y;
if (walk_obj.xVel > tileSize) {
walk_obj.xVel = tileSize;
} else if (walk_obj.xVel < (-tileSize)) {
walk_obj.xVel = -tileSize;
}
if (walk_obj.yVel > tileSize) {
walk_obj.yVel = tileSize;
} else if (walk_obj.yVel < (-tileSize)) {
walk_obj.yVel = -tileSize;
}
};
var _local19 = function () {
xOffset = this.xOffset;
yOffset = this.yOffset;
player_mc = this.player_mc;
collision_array = this.collision_array;
walk_obj = this.walk_obj;
if (!walk_obj.wallValues) {
walk_obj.wallValues = [1, undefined];
}
var _local2 = getWhichWay();
if (_local2) {
var _local3 = getSlideDir(_local2);
if (_local3) {
setVelocity(_local3, _local2.slideSpeed);
}
}
};
return(_local19);
}
function makeTileCollision(walk_obj, wallValues, mapTileSize) {
var tileSize = ((mapTileSize || (MAP.tileSize)) || 16);
walk_obj.wallValues = wallValues;
var _local28 = function () {
if (this.walk_obj.wallValues == undefined) {
this.walk_obj.wallValues = [1, undefined];
}
var _local2 = 4;
var _local11 = this.walk_obj.xVel;
var _local10 = this.walk_obj.yVel;
var _local12 = Math.abs(_local11) / _local11;
var _local23 = ((this.player_mc._x + (_local2 * _local12)) + _local11) + this.xOffset;
var _local22 = (this.player_mc._y - _local2) + this.yOffset;
var _local19 = Math.floor(_local23 / tileSize);
var _local18 = Math.floor(_local22 / tileSize);
var _local7 = this.collision_array[_local19][_local18];
var _local15 = ((this.player_mc._x + (_local2 * _local12)) + _local11) + this.xOffset;
var _local14 = (this.player_mc._y + _local2) + this.yOffset;
var _local16 = Math.floor(_local15 / tileSize);
var _local17 = Math.floor(_local14 / tileSize);
var _local6 = this.collision_array[_local16][_local17];
var _local3 = false;
for (var _local9 in this.walk_obj.wallValues) {
if ((_local7 == this.walk_obj.wallValues[_local9]) || (_local6 == this.walk_obj.wallValues[_local9])) {
_local3 = true;
}
}
if (_local3) {
this.walk_obj.xVel = 0;
}
var _local13 = Math.abs(_local10) / _local10;
var _local25 = (this.player_mc._x - _local2) + this.xOffset;
var _local24 = ((this.player_mc._y + (_local2 * _local13)) + _local10) + this.yOffset;
var _local26 = Math.floor(_local25 / tileSize);
var _local28 = Math.floor(_local24 / tileSize);
var _local8 = this.collision_array[_local26][_local28];
var _local21 = (this.player_mc._x + _local2) + this.xOffset;
var _local20 = ((this.player_mc._y + (_local2 * _local13)) + _local10) + this.yOffset;
var _local27 = Math.floor(_local21 / tileSize);
var _local29 = Math.floor(_local20 / tileSize);
var _local5 = this.collision_array[_local27][_local29];
var _local4 = false;
for (var _local9 in this.walk_obj.wallValues) {
if ((_local8 == this.walk_obj.wallValues[_local9]) || (_local5 == this.walk_obj.wallValues[_local9])) {
_local4 = true;
}
}
if (_local4) {
this.walk_obj.yVel = 0;
}
};
return(_local28);
}
function makeSpriteCollision() {
var _local20 = function () {
var _local7 = this.player_mc;
var _local19 = 2;
var _local18 = 4;
var _local9 = (this.player_mc.hit._width / _local19) || (_local18);
var _local10 = (this.player_mc.hit._height / _local19) || (_local18);
var _local15 = this.xOffset;
var _local13 = this.yOffset;
var _local14 = this.walk_obj.xVel;
var _local12 = this.walk_obj.yVel;
var _local16 = Math.abs(_local14) / _local14;
var _local17 = Math.abs(_local12) / _local12;
var _local6 = [];
var _local5 = [];
var _local8;
if (_local16) {
_local8 = new flash.geom.Point(((_local7._x + (_local9 * _local16)) + _local14) - _local15, (_local7._y - _local10) - _local13);
SPRITES.localToGlobal(_local8);
_local6.push(_local8);
_local8 = new flash.geom.Point(((_local7._x + (_local9 * _local16)) + _local14) - _local15, (_local7._y + _local10) - _local13);
SPRITES.localToGlobal(_local8);
_local6.push(_local8);
}
if (_local17) {
_local8 = new flash.geom.Point((_local7._x - _local9) - _local15, ((_local7._y + (_local10 * _local17)) + _local12) - _local13);
SPRITES.localToGlobal(_local8);
_local5.push(_local8);
_local8 = new flash.geom.Point((_local7._x + _local9) - _local15, ((_local7._y + (_local10 * _local17)) + _local12) - _local13);
SPRITES.localToGlobal(_local8);
_local5.push(_local8);
}
do {
if ((in this.spriteLayer_mc) == null) {
break;
}
var _local11 = in this.spriteLayer_mc;
var _local3 = this.spriteLayer_mc[_local11];
// unexpected jump
// unexpected jump
// unexpected jump
var _local2 = 0;
while (_local2 < _local6.length) {
var _local4 = _local6[_local2];
if (_local3.hit.hitTest(_local4.x, _local4.y, false)) {
this.walk_obj.xVel = 0;
break;
}
_local2++;
}
_local2 = 0;
while (_local2 < _local5.length) {
var _local4 = _local5[_local2];
if (_local3.hit.hitTest(_local4.x, _local4.y, false)) {
this.walk_obj.yVel = 0;
break;
}
_local2++;
}
} while (!((this.walk_obj.xVel == 0) && (this.walk_obj.yVel == 0)));
do {
} while (() != null);
};
return(_local20);
}
function runFunc(func) {
return(func.apply(_this, arguments.slice()));
}
function runFunc(func) {
return(func.apply(_this, arguments.slice()));
}
function runFunc(func) {
return(func.apply(_this, arguments.slice()));
}
stop();
_this = this;
mapTileSize = MAP.tileSize || 16;
allow_sprite_collision_scripts = true;
noClip_key = 17;
LOOP.removeObject(_this, "player");
_this = _this || (this);
if (!addListener) {
AsBroadcaster.initialize(_this);
}
callUnload = function (parent) {
function recurseClips(parent, doThis, includeSelf, isShallow) {
if (!parent) {
return(undefined);
}
if (!(parent instanceof MovieClip)) {
return(undefined);
}
if (!doThis) {
return(undefined);
}
if (includeSelf === undefined) {
includeSelf = true;
}
if (isShallow === undefined) {
isShallow = false;
}
var reportedPath;
var actualPath;
for (var nam in parent) {
if (!nam) {
continue;
}
var thisChild = parent[nam];
if (thisChild instanceof MovieClip) {
reportedPath = String(eval (thisChild._target));
actualPath = (String(eval (parent._target)) + ".") + nam;
if (reportedPath.indexOf(actualPath) != -1) {
if (isShallow) {
doThis.call(thisChild, thisChild);
}
if (!isShallow) {
recurseClips(thisChild, doThis);
}
}
}
}
if (includeSelf) {
doThis.call(parent, parent);
}
}
function unloadThis(thisItem) {
thisItem.onKillFocus(null);
thisItem.dispatchEvent({type:"unload"});
thisItem.broadcastMessage("unload");
thisItem.unload();
thisItem.onUnload();
delete thisItem.onUnload;
thisItem.removeEventListener("keyDown", thisItem);
thisItem.removeEventListener("keyUp", thisItem);
Key.removeListener(thisItem);
Mouse.removeListener(thisItem);
for (var _local3 in thisItem._listeners) {
var _local2 = thisItem._listeners[_local3];
thisItem.removeListener(_local2);
}
thisItem.addListener = function () {
};
}
recurseClips(parent, unloadThis);
};
if (!react) {
react = make_react(_this);
}
onUnload = function () {
delete _this.onUnload;
callUnload(_this);
};
onEnterFrame = function () {
sendEvent("onEnterFrame");
};
if (_global.nextDepth === undefined) {
_global.nextDepth = function (this_mc, maxDepth, minDepth) {
this_mc = (this_mc ? (this_mc) : _root);
var _local4 = ((minDepth != undefined) ? (minDepth) : 1);
var _local5 = (maxDepth ? (maxDepth) : 1048500);
for (var _local6 in this_mc) {
var _local2 = this_mc[_local6].getDepth();
if ((_local2 < _local5) && (_local2 >= _local4)) {
_local4 = _local2 + 1;
}
}
return(_local4);
};
}
if (brightness) {
init_brightness = brightness;
} else if ((this.transform.colorTransform.redMultiplier == this.transform.colorTransform.greenMultiplier) && (this.transform.colorTransform.redMultiplier == this.transform.colorTransform.blueMultiplier)) {
init_brightness = (this.transform.colorTransform.redOffset * 100) / 255;
} else {
init_brightness = 0;
}
get_brightness = function () {
return(this.transform.colorTransform.redOffset);
};
set_brightness = function (newValue) {
var _local3 = _alpha / 100;
var _local2 = (newValue * 255) / 100;
this.transform.colorTransform = new flash.geom.ColorTransform(1, 1, 1, _local3, _local2, _local2, _local2, 0);
};
this.addProperty("brightness", get_brightness, set_brightness);
brightness = init_brightness;
delete init_brightness;
tile = tile || ({});
tile.tileSize = MAP.tileSize || 16;
tile.offset = tile.offset || ({});
tile.offset.x = 0;
tile.offset.y = 0;
get_xTile = function () {
return(Math.floor(_x / tile.tileSize));
};
set_xTile = function (newValue) {
_x = ((newValue * tile.tileSize) + tile.offset.x);
};
tile.addProperty("x", get_xTile, set_xTile);
get_yTile = function () {
return(Math.floor((_y - (tile.offset.y / 2)) / tile.tileSize));
};
set_yTile = function (newValue) {
_y = ((newValue * tile.tileSize) + tile.offset.y);
};
tile.addProperty("y", get_yTile, set_yTile);
tile.offset.x = 8;
tile.offset.y = 8;
allowRun = ((allowRun === undefined) ? true : (allowRun));
run_obj = runFunc(function () {
function runKeyIsHeld() {
return(Key.isDown(RAM.keys.run));
}
function isOnValidTerrain() {
var _local5 = Math.floor(_x / mapTileSize);
var _local4 = Math.floor(_y / mapTileSize);
var _local3 = MAP.collision_array[_local5][_local4];
var _local2 = false;
var _local1 = 0;
while (_local1 < groundTerrain.length) {
if (groundTerrain[_local1] === _local3) {
_local2 = true;
break;
}
_local1++;
}
return(_local2);
}
function cleanUpEmitter() {
runSmokeEmitter.deleteAllParticles();
LOOP.removeObject(runSmokeEmitter, "fx");
LOOP.removeObject(run_obj, "fx");
delete runSmokeEmitter;
}
if (!RAM) {
return(undefined);
}
if (RAM.keys == undefined) {
RAM.keys = {};
}
if (RAM.keys.run == undefined) {
RAM.keys.run = 16;
}
var mapTileSize = (mapTileSize || 16);
var groundTerrain = [0];
if (!walkSpeed) {
walkSpeed = {};
walkSpeed.value = "normal";
walkSpeed.change = function (settingName) {
this.value = settingName;
var _local2 = this[settingName];
for (var _local3 in _local2) {
walk_obj[_local3] = _local2[_local3];
}
};
}
if (!walkSpeed.normal) {
walkSpeed.normal = {walkSpeed:3, acel:1.2, decel:0.5};
}
walkSpeed.run = {walkSpeed:walkSpeed.normal.walkSpeed * 1.7, acel:walkSpeed.normal.acel * 1.7, decel:walkSpeed.normal.decel / 1.7};
var runSmokeEmitter = new ParticleSystem(_this, {particlesPerFrame:0, sprayTime:null, speed:1, speedVariation:0, life:30, lifeVariation:0, scale:1, scaleVariation:1.5, growFrames:0, shrinkFrames:0, fadeInFrames:0, fadeOutFrames:8, customData:{_alpha:50, noCollide:true}, image:"run_smoke_particle", angle:90, spread:140});
var run_obj = {wasRunning:false, loop:function () {
if (!_name) {
trace("*** Emergency smoke clean-up!");
cleanUpEmitter();
delete run_obj.loop;
return(undefined);
}
var _local1 = false;
if (isPaused) {
_local1 = true;
} else if (runKeyIsHeld() === false) {
_local1 = true;
} else if (!((walk_obj.xVel != 0) || (walk_obj.yVel != 0))) {
_local1 = true;
} else if (isOnValidTerrain() === false) {
_local1 = true;
} else if (!allowRun) {
_local1 = true;
}
if ((run_obj.wasRunning == true) && (_local1)) {
run_obj.wasRunning = false;
if (walkSpeed.value == "run") {
walkSpeed.change("normal");
}
runSmokeEmitter.particlesPerFrame = 0;
}
if (_local1) {
return(undefined);
}
if (run_obj.wasRunning == false) {
run_obj.wasRunning = true;
walkSpeed.change("run");
runSmokeEmitter.particlesPerFrame = 0.5;
}
}};
LOOP.addObject(null, "fx");
clearInterval(runSmokeEmitter.loopInterval);
react.to("onEnterFrame").then = function () {
if (LOOP.isPaused("fx")) {
return(undefined);
}
run_obj.loop();
};
react.to("unload").then = cleanUpEmitter;
});
_this.addProperty("isPaused", function () {
return(LOOP.isPaused("player"));
}, null);
currentMovements = [];
currentMovements.add = function (prom) {
var _local1 = currentMovements.length - 1;
while (_local1 >= 0) {
if (currentMovements[_local1] === prom) {
return(undefined);
}
_local1--;
}
currentMovements.push(prom);
};
currentMovements.remove = function (prom) {
var _local1 = currentMovements.length - 1;
while (_local1 >= 0) {
if (currentMovements[_local1] === prom) {
currentMovements.splice(_local1, 1);
break;
}
_local1--;
}
};
currentMovements.cancelAll = function (abortValue) {
var _local1 = currentMovements.length - 1;
while (_local1 >= 0) {
currentMovements[_local1].abort(abortValue);
_local1--;
}
};
moveTimeout = [];
moveTimeout.addTimeout = function (timeoutID) {
var _local2 = {timeoutID:timeoutID};
this.push(_local2);
};
moveTimeout.remove = function (timeoutID) {
var _local2 = this.length - 1;
while (_local2 >= 0) {
if (this[_local2].timeoutID == timeoutID) {
clearTimeout(this[_local2].timeoutID);
this.splice(_local2, 1);
}
_local2--;
}
};
moveTimeout.exists = function (timeoutID) {
var _local3 = false;
var _local2 = this.length - 1;
while (_local2 >= 0) {
if (this[_local2].timeoutID == timeoutID) {
_local3 = true;
break;
}
_local2--;
}
return(_local3);
};
moveTimeout.removeAll = function (abortValue) {
abortValue = arguments[0];
var _local2 = moveTimeout.length - 1;
while (_local2 >= 0) {
clearTimeout(moveTimeout[_local2].timeoutID);
moveTimeout[_local2].timeoutID = null;
moveTimeout.splice(_local2, 1);
_local2--;
}
for (var _local3 in scripts) {
if (scripts[_local3].timeoutID == null) {
return(undefined);
}
clearTimeout(scripts[_local3].timeoutID);
scripts[_local3].timeoutID = null;
}
currentMovements.cancelAll(abortValue);
};
stopMoveCommands = function (abortValue) {
abortValue = arguments[0];
moveTimeout.removeAll(abortValue);
slideY.onMotionFinished();
};
killWait = stopMoveCommands;
stopMoving = stopMoveCommands;
react.to("unload").then = function () {
stopMoveCommands(false);
for (var _local1 in _this) {
if (_this[_local1].timeoutID) {
clearTimeout(_this[_local1].timeoutID);
_this[_local1].timeoutID = null;
}
}
};
lastPos = new flash.geom.Point(_x, _y);
runFunc(function () {
var cancelVelocity = function () {
walk_obj.xVel = (walk_obj.yVel = 0);
};
var setLastPos = function () {
lastPos.x = _x;
lastPos.y = _y;
};
react.to("onPause").then = function (evt) {
var _local1 = evt.value;
if (_local1 === true) {
setLastPos();
cancelVelocity();
}
};
});
initialAppearance = {};
copyObject(RAM.playerSprite, initialAppearance);
initialAppearance.charset = nestedEval(initialAppearance.charset, "RAM", "_this");
image = newSprite(initialAppearance, this, "image", 10);
image.useInterval = false;
var imageAnim = {loop:image.manualLoop};
LOOP.addObject(imageAnim, "always");
react.to("unload").then = function () {
image.onUnload();
LOOP.removeObject(imageAnim, "always");
};
if (brightness) {
init_brightness = brightness;
} else if ((this.transform.colorTransform.redMultiplier == this.transform.colorTransform.greenMultiplier) && (this.transform.colorTransform.redMultiplier == this.transform.colorTransform.blueMultiplier)) {
init_brightness = (this.transform.colorTransform.redOffset * 100) / 255;
} else {
init_brightness = 0;
}
get_brightness = function () {
return(this.transform.colorTransform.redOffset);
};
set_brightness = function (newValue) {
var _local3 = _alpha / 100;
var _local2 = (newValue * 255) / 100;
this.transform.colorTransform = new flash.geom.ColorTransform(1, 1, 1, _local3, _local2, _local2, _local2, 0);
};
this.addProperty("brightness", get_brightness, set_brightness);
brightness = init_brightness;
delete init_brightness;
image.addProperty("brightness", get_brightness, set_brightness);
image.brightness = 0;
image._y = 6;
react.to("onPause").then = function (evt) {
function stopAnim() {
_this.image.setParams({isAnimating:false});
}
var _local1 = evt.value;
if (_local1 === true) {
stopAnim();
}
};
makeWalk = function (player_mc, playerSprite_mc) {
var _this = new Object();
var _local3 = 30;
_this.walkSpeed = 3;
_this.acel = 1.2;
_this.decel = 0.5;
_this.xVel = 0;
_this.yVel = 0;
_this.playerSprite_mc = playerSprite_mc;
_this.up_key = 38;
_this.down_key = 40;
_this.left_key = 37;
_this.right_key = 39;
_this.loop = function () {
if (Key.isDown(RAM.keys.down || (_this.down_key))) {
_this.playerSprite_mc.setParams({direction:"down"});
if (_this.yVel < _this.walkSpeed) {
_this.yVel = _this.yVel + _this.acel;
}
if (_this.yVel > _this.walkSpeed) {
_this.yVel = _this.walkSpeed;
}
} else if (Key.isDown(RAM.keys.up || (_this.up_key))) {
_this.playerSprite_mc.setParams({direction:"up"});
if (_this.yVel > (-_this.walkSpeed)) {
_this.yVel = _this.yVel - _this.acel;
}
if (_this.yVel < (-_this.walkSpeed)) {
_this.yVel = -_this.walkSpeed;
}
} else if (Math.abs(_this.yVel) > 1) {
_this.yVel = _this.yVel * _this.decel;
} else {
_this.yVel = 0;
}
if (Key.isDown(RAM.keys.right || (_this.right_key))) {
_this.playerSprite_mc.setParams({direction:"right"});
if (_this.xVel < _this.walkSpeed) {
_this.xVel = _this.xVel + _this.acel;
}
if (_this.xVel > _this.walkSpeed) {
_this.xVel = _this.walkSpeed;
}
} else if (Key.isDown(RAM.keys.left || (_this.left_key))) {
_this.playerSprite_mc.setParams({direction:"left"});
if (_this.xVel > (-_this.walkSpeed)) {
_this.xVel = _this.xVel - _this.acel;
}
if (_this.xVel < (-_this.walkSpeed)) {
_this.xVel = -_this.walkSpeed;
}
} else if (Math.abs(_this.xVel) > 1) {
_this.xVel = _this.xVel * _this.decel;
} else {
_this.xVel = 0;
}
_this.collision.run();
var _local3 = 5;
var _local5 = 4;
var _local6 = 10;
var _local2 = ((Math.abs(_this.xVel) > Math.abs(_this.yVel)) ? (Math.abs(_this.xVel)) : (Math.abs(_this.yVel)));
var _local4 = Math.abs(_local2) / _local6;
var _local1 = _local3 - (_local5 * _local4);
_local1 = ((_local1 < 1) ? 1 : (_local1));
_this.playerSprite_mc.setParams({delay:_local1});
if ((Math.abs(_this.xVel) <= 0.05) && (Math.abs(_this.yVel) <= 0.05)) {
_this.playerSprite_mc.setParams({isAnimating:false});
} else {
_this.playerSprite_mc.setParams({isAnimating:true});
}
player_mc._x = player_mc._x + _this.xVel;
player_mc._y = player_mc._y + _this.yVel;
};
_this.loopInterval = setInterval(_this.loop, 1000 / _local3);
return(_this);
};
this.walk_obj = makeWalk(this, image);
clearInterval(this.walk_obj.loopInterval);
var walk_spriteLoop = react.to("spriteLoop");
init_allow_walk = allow_walk || true;
this.addProperty("allow_walk", get_allow_walk, set_allow_walk);
allow_walk = init_allow_walk;
runFunc(function () {
var wasMoving = false;
var xLast = -999;
var yLast = -999;
react.to("spriteLoop").then = function () {
var _local1 = (!(_x === xLast)) || (!(_y === yLast));
var _local3 = _local1 && (!wasMoving);
var _local2 = (!_local1) && (wasMoving);
if (_local1) {
sendEvent("onMove", {x:_x, y:_y, sprite:_this});
} else if (_local2) {
sendEvent("onMoveFinish", {x:_x, y:_y, sprite:_this});
}
xLast = _x;
yLast = _y;
wasMoving = _local1;
};
});
walk_obj.collision = new WalkCollisionSystem(_this, walk_obj, 0, 0);
haveSwim = RAM.items.tm_swim > 0;
var wall_array = (haveSwim ? ([1, undefined]) : ([1, 2, undefined]));
walk_obj.collision.collision_array = MAP.collision_array;
walk_obj.collision.collisionMethods.push(makeCornerSlip(walk_obj, wall_array, mapTileSize));
walk_obj.collision.collisionMethods.push(makeTileCollision(walk_obj, wall_array));
walk_obj.collision.spriteLayer_mc = SPRITES;
walk_obj.collision.collisionMethods.push(makeSpriteCollision());
react.to("collisionDisable").then = function () {
walk_obj.collision.enabled = false;
};
react.to("collisionEnable").then = function () {
walk_obj.collision.enabled = true;
};
runFunc(function () {
if (!mdm.Application) {
return(undefined);
}
react.to("onKeyDown").from(Key).then = function () {
var _local2 = walk_obj.collision.enabled === true;
if (!_local2) {
return(undefined);
}
var _local1 = Key.isDown(noClip_key) === true;
if (!_local1) {
return(undefined);
}
sendEvent("collisionDisable");
};
react.to("onKeyUp").from(Key).then = function () {
var _local1 = walk_obj.collision.enabled === false;
if (!_local1) {
return(undefined);
}
var _local2 = Key.isDown(noClip_key) === false;
if (!_local2) {
return(undefined);
}
sendEvent("collisionEnable");
};
});
react.to("enable_sprite_collision").then = function () {
allow_sprite_collision_scripts = true;
};
react.to("disable_sprite_collision").then = function () {
allow_sprite_collision_scripts = false;
};
makeTalk = function (player_mc, playerImage_mc, spriteLayer_mc, talkKey, xOffset, yOffset) {
talkKey = (talkKey ? (talkKey) : 32);
var _this = new Object();
_this.player_mc = player_mc;
_this.playerImage_mc = playerImage_mc;
_this.spriteLayer_mc = spriteLayer_mc;
_this.xOffset = ((xOffset != undefined) ? (xOffset) : 0);
_this.yOffset = ((yOffset != undefined) ? (yOffset) : 0);
_this.talk_key = talkKey;
_this.lastKey = false;
_this.loop = function () {
if (Key.isDown(RAM.keys.talk || (_this.talk_key))) {
if (_this.lastKey == false) {
_this.lastKey = true;
switch (_this.playerImage_mc.internal.direction) {
case 0 :
var _local8 = 0;
var _local7 = -16;
break;
case 1 :
_local8 = 16;
_local7 = 0;
break;
case 2 :
_local8 = 0;
_local7 = 16;
break;
case 3 :
_local8 = -16;
_local7 = 0;
}
var _local5 = (_this.player_mc._x + _local8) + _this.xOffset;
var _local6 = (_this.player_mc._y + _local7) + _this.yOffset;
var _local2 = new flash.geom.Point(_local5, _local6);
SPRITES.localToGlobal(_local2);
for (var _local4 in _this.spriteLayer_mc) {
var _local1 = _this.spriteLayer_mc[_local4];
if (_local1.hit.hitTest(_local2.x, _local2.y, false)) {
sendEvent("onTalk", {sprite:_local1});
_local1.talk();
}
}
}
} else {
_this.lastKey = false;
}
};
_this.loopInterval = setInterval(_this.loop, 33);
return(_this);
};
talk_obj = makeTalk(this, image, SPRITES, RAM.keys.talk, 0, 0);
clearInterval(talk_obj.loopInterval);
react.to("spriteLoop").then = talk_obj.loop;
runFunc(function () {
var oldDir = image.getParam("direction");
react.to("onEnterFrame").then = function () {
var _local1 = image.getParam("direction");
if (!(oldDir === _local1)) {
sendEvent("onDirectionChange", {oldDir:oldDir, newDir:_local1});
oldDir = _local1;
}
};
});
gridCollide_obj = {onTileChange:function (evt) {
var _local2 = evt.currentTile;
var _local1 = evt.previousTile;
SPRITE_GRID.gridLeave(_local1.x, _local1.y);
SPRITE_GRID.gridCollide(_local2.x, _local2.y);
}};
react.to("onTileChange").then = gridCollide_obj.onTileChange;
react.to("unload").then = function () {
_this.removeListener(gridCollide_obj);
};
mapTileSize = MAP.tileSize || 16;
onTileChange_obj = runFunc(function () {
function onMove() {
var _local1 = Math.floor(_x / mapTileSize);
var _local2 = Math.floor(_y / mapTileSize);
if ((_local1 != lastX) || (_local2 != lastY)) {
sendEvent("onTileChange", {previousTile:{x:lastX, y:lastY}, currentTile:{x:_local1, y:_local2}});
}
lastX = _local1;
lastY = _local2;
}
var lastX = -1;
var lastY = -1;
react.to("onMove").then = onMove;
react.to("init").then = onMove;
});
terrainChange_obj = runFunc(function () {
function onTileChange(evt) {
var _local2 = evt.currentTile.x;
var _local3 = evt.currentTile.y;
var _local1 = MAP.collision_array[_local2][_local3];
if (!(_local1 === lastTerrain)) {
sendEvent("terrainChange", {oldTerrain:lastTerrain, newTerrain:_local1});
}
lastTerrain = _local1;
}
var _local2 = Math.floor(_x / mapTileSize);
var _local3 = Math.floor(_y / mapTileSize);
var lastTerrain = -1;
react.to("onTileChange").then = onTileChange;
});
runFunc(function () {
if (!sendEvent) {
return(undefined);
}
if (!react) {
return(undefined);
}
var wasPaused = false;
var is_justPaused = false;
var is_justUnPaused = false;
react.to("onEnterFrame").then = function () {
if (isPaused === undefined) {
return(undefined);
}
is_justPaused = false;
is_justUnPaused = false;
if (isPaused && (!wasPaused)) {
wasPaused = true;
is_justPaused = true;
sendEvent("onPause", {value:true});
} else if ((!isPaused) && (wasPaused)) {
wasPaused = false;
is_justUnPaused = true;
sendEvent("onPause", {value:false});
}
};
get_justPaused = function () {
return(is_justPaused);
};
get_justUnPaused = function () {
return(is_justUnPaused);
};
});
LOOP.addObject(this, "player");
react.to("onEnterFrame").then = function () {
if (isPaused) {
return(undefined);
}
sendEvent("spriteLoop");
};
react.to("unload").then = function () {
LOOP.removeSet("player");
};
runFunc(function () {
var _local1 = LOOP.isPaused("player");
if (_local1 === true) {
return(undefined);
}
LOOP.pauseSet("player", true);
react.to("init").then = function () {
LOOP.pauseSet("player", false);
};
});
var isCommonLevelSprite = _parent.is_common;
if (!(isCommonLevelSprite === true)) {
SPRITES.init_prom.then(function () {
sendEvent("init");
});
} else {
sendEvent("init");
}
react.to("test_event").then = function (evt) {
_alpha = Number(evt.value);
};
Symbol 443 MovieClip [game_mc] Frame 1
function runFunc(func) {
return(func.apply(_this, arguments.slice()));
}
function sendEvent(evt_str, evt, evtEmitter) {
evtEmitter = (evtEmitter || (_this)) || this;
var _local4 = evt instanceof Object;
if (_local4 === false) {
evt = {data:evt};
}
evt.type = evt_str;
if (evtEmitter.dispatchEvent) {
evt.type = evt_str;
evtEmitter.dispatchEvent(evt);
} else if (evtEmitter.broadcastMessage) {
evtEmitter.broadcastMessage(evt_str, evt);
}
}
function make_react(defaultUnloadEmitter) {
function newReaction(eventName, newSettings) {
function get_then() {
return(reaction.then);
}
function set_then(new_func) {
reaction.then = new_func;
var _local1 = new_func instanceof Function;
var _local2 = reaction.tellThese.length > 0;
if (_local1 || (_local2)) {
listen();
if (!(reaction.untilTimeout === undefined)) {
monad.until(reaction.untilTimeout);
}
} else {
unListen();
clearTimeout(reaction.untilId);
}
}
function listen() {
if (reaction.hasListener === true) {
return(null);
}
if (reaction.emitter === undefined) {
return(null);
}
if (reaction.emitter.addEventListener) {
reaction.emitter.addEventListener(reaction.eventName, reaction.eventTarget);
} else if (reaction.emitter.addListener) {
reaction.emitter.addListener(reaction.eventTarget);
} else {
var _local1 = ((reaction.emitter._name === undefined) ? "[object]" : (("\"" + reaction.emitter._name) + "\""));
trace(((("ERROR: " + _local1) + " cannot send events. (") + reaction.eventName) + ")");
return(null);
}
reaction.hasListener = true;
}
function unListen() {
if (reaction.hasListener === false) {
return(null);
}
if (reaction.emitter === undefined) {
return(null);
}
if (reaction.emitter.removeEventListener) {
reaction.emitter.removeEventListener(reaction.eventName, reaction.eventTarget);
} else {
reaction.emitter.removeListener(reaction.eventTarget);
}
reaction.hasListener = false;
}
var reaction = {};
reaction.uid = Math.floor(Math.random() * 99);
reaction.hasListener = false;
reaction.eventName = eventName;
reaction.emitter = defaultUnloadEmitter;
reaction.fireOnce = false;
reaction.eventTarget = {};
reaction.eventTarget[reaction.eventName];
reaction.untilTimeout = undefined;
reaction.untilId = undefined;
reaction.tellThese = [];
for (var _local12 in newSettings) {
reaction[_local12] = newSettings[_local12];
}
var monad = ((reaction.monad = {}));
monad.addProperty("then", get_then, set_then);
monad.then = undefined;
monad.unListen = unListen;
monad.cleanup = function () {
for (var _local1 in reaction.tellThese) {
reaction.tellThese.splice(_local1, 1);
}
monad.then = undefined;
};
monad.disable = function () {
monad.cleanup();
monad.forget();
};
monad.fire = function () {
if (!(monad.then === reaction.then)) {
trace("WARNING: 'then' property was deleted. Now restoring it with the current reaction.");
var _local7 = monad.then;
monad.addProperty("then", get_then, set_then);
monad.then = _local7;
}
var _local6 = arguments.slice();
var _local4 = _local6[0];
monad.then.apply(null, _local6);
var _local2 = 0;
while (_local2 < reaction.tellThese.length) {
if (!reaction.tellThese[_local2].eventTarget) {
} else if (!reaction.tellThese[_local2].eventName) {
} else {
var _local3 = {};
for (var _local5 in _local4) {
_local3[_local5] = _local4[_local5];
}
_local3.type = reaction.tellEventName;
sendEvent(reaction.tellThese[_local2].eventName, _local3, reaction.tellThese[_local2].eventTarget);
}
_local2++;
}
if (reaction.fireOnce === true) {
monad.then = undefined;
}
};
reaction.eventTarget[reaction.eventName] = monad.fire;
monad.tell = function (newEventTarget, newEventName) {
if (!newEventTarget) {
return(monad);
}
if (newEventName instanceof Object) {
newEventName = newEventName.about || (newEventName.to);
}
if (!newEventName) {
newEventName = reaction.eventName;
}
var _local2 = {eventTarget:newEventTarget, eventName:newEventName};
reaction.tellThese.push(_local2);
listen();
return(monad);
};
monad.once = function () {
reaction.fireOnce = true;
return(monad);
};
monad.until = function (wait_ms) {
var _local1 = !isNaN(wait_ms);
if (_local1 === false) {
return(monad);
}
clearTimeout(reaction.untilId);
reaction.untilId = setTimeout(function () {
monad.then = undefined;
}, wait_ms);
reaction.untilTimeout = wait_ms;
return(monad);
};
monad.from = function (newEmitter) {
var _local3 = (newEmitter instanceof MovieClip) || (newEmitter instanceof Object);
if (_local3 === false) {
return(monad);
}
var _local1 = reaction.hasListener;
if (_local1) {
unListen();
}
reaction.emitter = newEmitter;
if (_local1) {
listen();
}
return(monad);
};
monad.forget = function () {
for (var _local1 in allReactions) {
if (!(allReactions[_local1] === reaction)) {
continue;
}
allReactions.splice(_local1, 1);
}
return(monad);
};
return(reaction);
}
var react = {};
var allReactions = [];
react.to = function (eventName, settings) {
var _local1 = newReaction(eventName, settings);
var _local2 = _local1.monad;
allReactions.push(_local1);
return(_local2);
};
var reactOnce = {};
reactOnce.to = function (eventName, settings) {
if (!settings) {
settings = {};
}
settings.fireOnce = true;
return(react.to(eventName, settings));
};
react.once = function () {
return(reactOnce);
};
react.unload = function (fireUnloadEvents) {
if (fireUnloadEvents === undefined) {
fireUnloadEvents = true;
}
for (var _local2 in allReactions) {
allReactions[_local2].monad.unListen();
allReactions.splice(_local2, 1);
if (fireUnloadEvents && (allReactions[_local2].eventName === "unload")) {
allReactions[_local2].monad.fire();
}
allReactions[_local2].monad.cleanup();
}
};
if (defaultUnloadEmitter) {
react.to("unload").forget().then = function () {
react.unload(true);
};
}
return(react);
}
function addCollisionMethods(_this) {
_this.twoPointCollide = function (side, sprite_mc, velocity_obj, xOffset, yOffset) {
var _local6 = _this.collision_array || (_this);
xOffset = (xOffset ? (xOffset) : 0);
yOffset = (yOffset ? (yOffset) : 0);
var _local1 = new flash.geom.Point(sprite_mc._x + velocity_obj.xVel, sprite_mc._y + velocity_obj.yVel);
var _local3 = _local1.clone();
buffer = 4;
switch (side) {
case "up" :
_local1.x = _local1.x - (sprite_mc.width - buffer);
_local1.y = _local1.y - sprite_mc.height;
_local3.x = _local3.x + (sprite_mc.width - buffer);
_local3.y = _local3.y - sprite_mc.height;
break;
case "down" :
_local1.x = _local1.x - (sprite_mc.width - buffer);
_local1.y = _local1.y + sprite_mc.height;
_local3.x = _local3.x + (sprite_mc.width - buffer);
_local3.y = _local3.y + sprite_mc.height;
break;
case "left" :
_local1.x = _local1.x - sprite_mc.width;
_local1.y = _local1.y - (sprite_mc.height - buffer);
_local3.x = _local3.x - sprite_mc.width;
_local3.y = _local3.y + (sprite_mc.height - buffer);
break;
case "right" :
_local1.x = _local1.x + sprite_mc.width;
_local1.y = _local1.y - (sprite_mc.height - buffer);
_local3.x = _local3.x + sprite_mc.width;
_local3.y = _local3.y + (sprite_mc.height - buffer);
}
_local1.x = _local1.x + xOffset;
_local1.y = _local1.y + yOffset;
_local3.x = _local3.x + xOffset;
_local3.y = _local3.y + yOffset;
_local1.x = Math.floor(_local1.x / 16);
_local1.y = Math.floor(_local1.y / 16);
_local3.x = Math.floor(_local3.x / 16);
_local3.y = Math.floor(_local3.y / 16);
var _local5 = _local6[_local1.x][_local1.y];
var _local8 = _local6[_local3.x][_local3.y];
var _local4 = 0;
if ((_local5 > 0) || (_local8 > 0)) {
if ((_local5 == 1) || (_local8 == 1)) {
_local4 = 1;
} else {
_local4 = _local5;
}
}
return(_local4);
};
_this.getPixelCollision = function (x, y) {
var _local1 = _this.collision_array || (_this);
x = Math.floor(x / 16);
y = Math.floor(y / 16);
return(_local1[x][y]);
};
_this.getTileCollision(x, y);
var _local8 = _this.collision_array || (_this);
return(_local8[x][y]);
}
function makeMap2() {
var _local49 = function (instanceName, target_mc, depth, width, height) {
function addCollisionMethods(_this) {
_this.twoPointCollide = function (side, sprite_mc, velocity_obj, xOffset, yOffset) {
var _local6 = _this.collision_array || (_this);
xOffset = (xOffset ? (xOffset) : 0);
yOffset = (yOffset ? (yOffset) : 0);
var _local1 = new flash.geom.Point(sprite_mc._x + velocity_obj.xVel, sprite_mc._y + velocity_obj.yVel);
var _local3 = _local1.clone();
buffer = 4;
switch (side) {
case "up" :
_local1.x = _local1.x - (sprite_mc.width - buffer);
_local1.y = _local1.y - sprite_mc.height;
_local3.x = _local3.x + (sprite_mc.width - buffer);
_local3.y = _local3.y - sprite_mc.height;
break;
case "down" :
_local1.x = _local1.x - (sprite_mc.width - buffer);
_local1.y = _local1.y + sprite_mc.height;
_local3.x = _local3.x + (sprite_mc.width - buffer);
_local3.y = _local3.y + sprite_mc.height;
break;
case "left" :
_local1.x = _local1.x - sprite_mc.width;
_local1.y = _local1.y - (sprite_mc.height - buffer);
_local3.x = _local3.x - sprite_mc.width;
_local3.y = _local3.y + (sprite_mc.height - buffer);
break;
case "right" :
_local1.x = _local1.x + sprite_mc.width;
_local1.y = _local1.y - (sprite_mc.height - buffer);
_local3.x = _local3.x + sprite_mc.width;
_local3.y = _local3.y + (sprite_mc.height - buffer);
}
_local1.x = _local1.x + xOffset;
_local1.y = _local1.y + yOffset;
_local3.x = _local3.x + xOffset;
_local3.y = _local3.y + yOffset;
_local1.x = Math.floor(_local1.x / 16);
_local1.y = Math.floor(_local1.y / 16);
_local3.x = Math.floor(_local3.x / 16);
_local3.y = Math.floor(_local3.y / 16);
var _local5 = _local6[_local1.x][_local1.y];
var _local8 = _local6[_local3.x][_local3.y];
var _local4 = 0;
if ((_local5 > 0) || (_local8 > 0)) {
if ((_local5 == 1) || (_local8 == 1)) {
_local4 = 1;
} else {
_local4 = _local5;
}
}
return(_local4);
};
_this.getPixelCollision = function (x, y) {
var _local1 = _this.collision_array || (_this);
x = Math.floor(x / 16);
y = Math.floor(y / 16);
return(_local1[x][y]);
};
_this.getTileCollision(x, y);
var _local8 = _this.collision_array || (_this);
return(_local8[x][y]);
}
if (_global.nextDepth === undefined) {
_global.nextDepth = function (this_mc, maxDepth, minDepth) {
this_mc = (this_mc ? (this_mc) : _root);
var _local4 = ((minDepth != undefined) ? (minDepth) : 1);
var _local5 = (maxDepth ? (maxDepth) : 1048500);
for (var _local6 in this_mc) {
var _local2 = this_mc[_local6].getDepth();
if ((_local2 < _local5) && (_local2 >= _local4)) {
_local4 = _local2 + 1;
}
}
return(_local4);
};
}
target_mc = (target_mc ? (target_mc) : this);
depth = ((depth != undefined) ? (depth) : (nextDepth(target_mc)));
width = (width ? (width) : 20);
height = (height ? (height) : 15);
var _this = target_mc.createEmptyMovieClip(instanceName, depth);
_this.width = width;
_this.height = height;
_this.chipset_pic = new flash.display.BitmapData(480, 256, true, 0);
_this.collision_array = new Array();
var x = 0;
while (x < width) {
_this.collision_array[x] = new Array();
var y = 0;
while (y < height) {
_this.collision_array[x][y] = 0;
y++;
}
x++;
}
addCollisionMethods(_this.collision_array);
_this.reset = function (width, height) {
function addCollisionMethods(_this) {
_this.twoPointCollide = function (side, sprite_mc, velocity_obj, xOffset, yOffset) {
var _local6 = _this.collision_array || (_this);
xOffset = (xOffset ? (xOffset) : 0);
yOffset = (yOffset ? (yOffset) : 0);
var _local1 = new flash.geom.Point(sprite_mc._x + velocity_obj.xVel, sprite_mc._y + velocity_obj.yVel);
var _local3 = _local1.clone();
buffer = 4;
switch (side) {
case "up" :
_local1.x = _local1.x - (sprite_mc.width - buffer);
_local1.y = _local1.y - sprite_mc.height;
_local3.x = _local3.x + (sprite_mc.width - buffer);
_local3.y = _local3.y - sprite_mc.height;
break;
case "down" :
_local1.x = _local1.x - (sprite_mc.width - buffer);
_local1.y = _local1.y + sprite_mc.height;
_local3.x = _local3.x + (sprite_mc.width - buffer);
_local3.y = _local3.y + sprite_mc.height;
break;
case "left" :
_local1.x = _local1.x - sprite_mc.width;
_local1.y = _local1.y - (sprite_mc.height - buffer);
_local3.x = _local3.x - sprite_mc.width;
_local3.y = _local3.y + (sprite_mc.height - buffer);
break;
case "right" :
_local1.x = _local1.x + sprite_mc.width;
_local1.y = _local1.y - (sprite_mc.height - buffer);
_local3.x = _local3.x + sprite_mc.width;
_local3.y = _local3.y + (sprite_mc.height - buffer);
}
_local1.x = _local1.x + xOffset;
_local1.y = _local1.y + yOffset;
_local3.x = _local3.x + xOffset;
_local3.y = _local3.y + yOffset;
_local1.x = Math.floor(_local1.x / 16);
_local1.y = Math.floor(_local1.y / 16);
_local3.x = Math.floor(_local3.x / 16);
_local3.y = Math.floor(_local3.y / 16);
var _local5 = _local6[_local1.x][_local1.y];
var _local8 = _local6[_local3.x][_local3.y];
var _local4 = 0;
if ((_local5 > 0) || (_local8 > 0)) {
if ((_local5 == 1) || (_local8 == 1)) {
_local4 = 1;
} else {
_local4 = _local5;
}
}
return(_local4);
};
_this.getPixelCollision = function (x, y) {
var _local1 = _this.collision_array || (_this);
x = Math.floor(x / 16);
y = Math.floor(y / 16);
return(_local1[x][y]);
};
_this.getTileCollision(x, y);
var _local8 = _this.collision_array || (_this);
return(_local8[x][y]);
}
for (var _local4 in _this) {
var _local1 = _this[_local4];
if (typeof(_local1) == "movieclip") {
if (_local4.slice(0, 5) == "layer") {
_local1.removeMovieClip();
}
} else if (_local1 instanceof flash.display.BitmapData) {
if ((_local4.slice(0, 5) == "layer") || (_local4 == "chipset_pic")) {
_this[_local4].dispose();
delete _this[_local4];
}
}
}
_this.width = (width ? (width) : (_this.width));
_this.height = (height ? (height) : (_this.height));
_this.chipset_pic = new flash.display.BitmapData(480, 256, true, 0);
_this.collision_array = new Array();
var x = 0;
while (x < _this.width) {
_this.collision_array[x] = new Array();
var y = 0;
while (y < _this.height) {
_this.collision_array[x][y] = 0;
y++;
}
x++;
}
addCollisionMethods(_this.collision_array);
};
_this.setTile = function (x, y, id, layer) {
layer = ((layer != undefined) ? (layer) : 0);
var _local4 = 30;
var _local9 = id % _local4;
var _local8 = Math.floor(id / _local4);
var _local5 = new flash.geom.Rectangle(_local9 * 16, _local8 * 16, 16, 16);
var _local6 = new flash.geom.Point(x * 16, y * 16);
var _local1 = ("layer" + layer) + "_mc";
var _local3 = ("layer" + layer) + "_pic";
if (_this[_local1] == undefined) {
var _local7 = (_this[_local3] = new flash.display.BitmapData(_this.width * 16, _this.height * 16, true, 0));
_this.createEmptyMovieClip(_local1, layer * 10);
_this[_local1].attachBitmap(_local7, 0, false, false);
_this[_local1].cacheAsBitmap = true;
}
_this[_local3].copyPixels(_this.chipset_pic, _local5, _local6);
};
_this.loadChipset = function (fileName) {
var _local2 = new flash.geom.Rectangle(0, 0, 480, 256);
_this.chipset_pic.fillRect(_local2, 0);
var _local1 = flash.display.BitmapData.loadBitmap(fileName);
if (_local1.width > -1) {
_this.chipset_pic = _local1.clone();
_local1.dispose();
_this.onLoad();
} else {
_this.createEmptyMovieClip("load_mc", 99);
_this.load_mc._xscale = 1;
_this.load_mc._yscale = 1;
_this.loader = new MovieClipLoader();
_this.loader.loadClip(fileName, _this.load_mc);
_this.loader.onLoadInit = function (load_mc) {
var _local1 = new flash.display.BitmapData(480, 256, true, 0);
_local1.draw(_this.load_mc);
_this.chipset_pic = _local1.clone();
_local1.dispose();
_this.onLoad();
_this.loader.unloadClip(load_mc);
delete _this.loader;
};
}
};
_this.drawObj = function (data_obj) {
switch (data_obj.format) {
case 2 :
_this.drawCompactObj(data_obj);
break;
default :
_this.drawLargeObj(data_obj);
}
};
_this.drawLargeObj = function (data_obj) {
_this.reset(data_obj.width, data_obj.height);
_this.width = data_obj.width;
_this.height = data_obj.height;
if (data_obj.collision != undefined) {
_this.collision_array = new Array();
var x = 0;
while (x < data_obj.width) {
_this.collision_array[x] = new Array();
var y = 0;
while (y < data_obj.height) {
_this.collision_array[x][y] = data_obj.collision[x][y];
y++;
}
x++;
}
addCollisionMethods(_this.collision_array);
}
var _local11 = new flash.geom.Rectangle(0, 0, 480, 256);
_this.chipset_pic.fillRect(_local11, 0);
var _local10 = flash.display.BitmapData.loadBitmap(data_obj.chipset);
if (_local10.width > -1) {
_this.chipset_pic = _local10.clone();
_local10.dispose();
var _local1 = 0;
while (_local1 < data_obj.layers.length) {
var x = 0;
while (x < _this.width) {
var y = 0;
while (y < _this.height) {
var _local2 = data_obj.layers[_local1][x][y];
_this.setTile(x, y, _local2, _local1);
y++;
}
x++;
}
_local1++;
}
_this.onLoad();
delete _this.loadData;
} else {
_this.createEmptyMovieClip("load_mc", 99);
_this.load_mc._xscale = 1;
_this.load_mc._yscale = 1;
_this.loader = new MovieClipLoader();
_this.loader.loadClip(data_obj.chipset, _this.load_mc);
_this.loader.onLoadInit = function (load_mc) {
var _local5 = new flash.display.BitmapData(480, 256, true, 0);
_local5.draw(_this.load_mc);
var _local6 = new flash.geom.Rectangle(0, 0, 480, 256);
_this.chipset_pic.copyPixels(_local5, _local6, {x:0, y:0});
_this.loader.unloadClip(_this.load_mc);
var _local3 = 0;
while (_local3 < data_obj.layers.length) {
var _local2 = 0;
while (_local2 < _this.width) {
var _local1 = 0;
while (_local1 < _this.height) {
var _local4 = data_obj.layers[_local3][_local2][_local1];
_this.setTile(_local2, _local1, _local4, _local3);
_local1++;
}
_local2++;
}
_local3++;
}
_this.onLoad();
delete _this.loadData;
delete _this.loader;
};
}
};
_this.drawCompactObj = function (data_obj) {
_this.reset(data_obj.width, data_obj.height);
_this.width = data_obj.width;
_this.height = data_obj.height;
var _local4 = 1;
if (data_obj.collision != undefined) {
_this.collision_array = new Array();
var x = 0;
while (x < data_obj.width) {
_this.collision_array[x] = new Array();
var y = 0;
while (y < data_obj.height) {
var _local1 = data_obj.collision.charAt(_local4);
if (_local1 == "0x") {
var _local3 = 33;
} else {
var _local3 = parseInt(_local1, 36);
}
_local4++;
_this.collision_array[x][y] = _local3;
y++;
}
x++;
}
addCollisionMethods(_this.collision_array);
}
var _local13 = new flash.geom.Rectangle(0, 0, 480, 256);
_this.chipset_pic.fillRect(_local13, 0);
var drawLayers = function () {
var _local4 = 0;
while (_local4 < data_obj.layers.length) {
var _local6 = 1;
var _local3 = 0;
while (_local3 < _this.width) {
var _local1 = 0;
while (_local1 < _this.height) {
var _local2 = data_obj.layers[_local4].substr(_local6, 2);
if (_local2 == "0x") {
var _local5 = 33;
} else {
var _local5 = parseInt(_local2, 36);
}
_local6 = _local6 + 2;
_this.setTile(_local3, _local1, _local5, _local4);
_local1++;
}
_local3++;
}
_local4++;
}
};
var _local12 = flash.display.BitmapData.loadBitmap(data_obj.chipset);
if (_local12.width > -1) {
_this.chipset_pic = _local12.clone();
_local12.dispose();
drawLayers();
_this.onLoad();
delete _this.loadData;
delete drawLayers;
} else {
_this.createEmptyMovieClip("load_mc", 99);
_this.load_mc._xscale = 1;
_this.load_mc._yscale = 1;
_this.loader = new MovieClipLoader();
_this.loader.loadClip(data_obj.chipset, _this.load_mc);
_this.loader.onLoadInit = function (load_mc) {
var _local1 = new flash.display.BitmapData(480, 256, true, 0);
_local1.draw(_this.load_mc);
var _local2 = new flash.geom.Rectangle(0, 0, 480, 256);
_this.chipset_pic.copyPixels(_local1, _local2, {x:0, y:0});
_this.loader.unloadClip(_this.load_mc);
drawLayers();
_this.onLoad();
delete _this.loadData;
delete _this.loader;
delete drawLayers;
};
}
};
_this.load = function (fileName) {
XML.prototype.ignoreWhite = true;
_this.attachMovie(fileName, "loadMap_mc", 98);
if (_this.loadMap_mc) {
_this.loadMap_mc.onLoad = function (data) {
_this.load_xml = data;
_this.loadData = new Object();
readXml_getValue = function (newValue) {
var _local2 = null;
var _local3 = newValue.substr(0, 4);
if (_local3 == "bol_") {
var _local4 = newValue.substr(4);
newValue = _local4 == "true";
_local2 = newValue;
} else if (_local3 == "num_") {
var _local4 = newValue.substr(4);
newValue = Number(_local4);
_local2 = newValue;
} else if (_local3 == "str_") {
var _local4 = newValue.substr(4);
newValue = String(_local4);
_local2 = newValue;
} else if (isNaN(Number(newValue))) {
if (newValue == "true") {
_local2 = true;
} else if (newValue == "false") {
_local2 = false;
} else if (newValue == "undefined") {
_local2 = undefined;
} else {
var _local6 = "";
var _local5 = String.fromCharCode(10);
newValue = newValue.split(_local5).join("");
_local2 = newValue;
}
} else {
_local2 = Number(newValue);
}
return(_local2);
};
readXml = function (parentPath, targetData) {
for (var _local1 in parentPath.attributes) {
if (_local1 != "xmlType") {
var _local6 = parentPath.attributes[_local1];
targetData[_local1] = readXml_getValue(_local6);
}
}
for (var _local8 in parentPath.childNodes) {
var _local2 = parentPath.childNodes[_local8];
var _local1 = _local2.nodeName;
var _local4 = _local2.attributes.xmlType;
if (_local4 == "array") {
targetData[_local1] = new Array();
var _local7 = targetData[_local1];
readXml(_local2, _local7);
} else if (_local4 == "variable") {
var _local6 = _local2.attributes.value;
targetData[_local1] = readXml_getValue(_local6);
} else if (_local4 == "object") {
targetData[_local1] = new Object();
var _local7 = targetData[_local1];
readXml(_local2, _local7);
}
}
delete stringSlice;
};
readXml(_this.load_xml, _this.loadData);
_this.drawObj(_this.loadData.map);
loadMap_mc.removeMovieClip();
};
} else {
_this.load_xml = new XML();
_this.load_xml.load(fileName);
_this.load_xml.onLoad = function (success) {
readXml_getValue = function (newValue) {
var _local2 = null;
var _local3 = newValue.substr(0, 4);
if (_local3 == "bol_") {
var _local4 = newValue.substr(4);
newValue = _local4 == "true";
_local2 = newValue;
} else if (_local3 == "num_") {
var _local4 = newValue.substr(4);
newValue = Number(_local4);
_local2 = newValue;
} else if (_local3 == "str_") {
var _local4 = newValue.substr(4);
newValue = String(_local4);
_local2 = newValue;
} else if (isNaN(Number(newValue))) {
if (newValue == "true") {
_local2 = true;
} else if (newValue == "false") {
_local2 = false;
} else if (newValue == "undefined") {
_local2 = undefined;
} else {
var _local6 = "";
var _local5 = String.fromCharCode(10);
newValue = newValue.split(_local5).join("");
_local2 = newValue;
}
} else {
_local2 = Number(newValue);
}
return(_local2);
};
readXml = function (parentPath, targetData) {
for (var _local1 in parentPath.attributes) {
if (_local1 != "xmlType") {
var _local6 = parentPath.attributes[_local1];
targetData[_local1] = readXml_getValue(_local6);
}
}
for (var _local8 in parentPath.childNodes) {
var _local2 = parentPath.childNodes[_local8];
var _local1 = _local2.nodeName;
var _local4 = _local2.attributes.xmlType;
if (_local4 == "array") {
targetData[_local1] = new Array();
var _local7 = targetData[_local1];
readXml(_local2, _local7);
} else if (_local4 == "variable") {
var _local6 = _local2.attributes.value;
targetData[_local1] = readXml_getValue(_local6);
} else if (_local4 == "object") {
targetData[_local1] = new Object();
var _local7 = targetData[_local1];
readXml(_local2, _local7);
}
}
delete stringSlice;
};
if (success) {
_this.loadData = new Object();
readXml(_this.load_xml, _this.loadData);
_this.drawObj(_this.loadData.map);
}
};
}
};
_this.x = 0;
_this.y = 0;
_this.cacheAsBitmap = true;
_this.scrollPos = new flash.geom.Point(0, 0);
_this.scrollArea = new flash.geom.Rectangle(0, 0, 320, 240);
_this.scroll = function (x, y, screenWidth, screenHeight, smoothness) {
if ((x == undefined) && (SPRITES.player._x != undefined)) {
x = SPRITES.player._x;
}
if ((y == undefined) && (SPRITES.player._y != undefined)) {
y = SPRITES.player._y;
}
screenWidth = screenWidth || 320;
screenHeight = screenHeight || 240;
smoothness = smoothness || 1;
if (_this.scrollArea.width != screenWidth) {
_this.scrollArea.width = screenWidth;
}
if (_this.scrollArea.height != screenHeight) {
_this.scrollArea.height = screenHeight;
}
var _local7 = screenWidth / 2;
var _local9 = screenHeight / 2;
var _local3 = _this.width * 16;
var _local4 = _this.height * 16;
var _local10 = _this.x;
var _local8 = _this.y;
if (x < _local7) {
var _local14 = 0;
} else if (x > (_local3 - _local7)) {
var _local14 = (-_local3) + screenWidth;
} else {
var _local14 = (-x) + _local7;
}
if (y < _local9) {
var _local15 = 0;
} else if (y > (_local4 - _local9)) {
var _local15 = (-_local4) + screenHeight;
} else {
var _local15 = (-y) + _local9;
}
if (_local3 < screenWidth) {
var _local6 = screenWidth - _local3;
_local10 = _local6 / 2;
} else {
var _local6 = _local14 - _this.scrollPos.x;
if (Math.abs(_local6) < 0.1) {
_local6 = 0;
}
_local10 = _local10 + (_local6 * smoothness);
}
if (_local4 < screenHeight) {
var _local5 = screenHeight - _local4;
_local8 = _local5 / 2;
} else {
var _local5 = _local15 - _this.scrollPos.y;
if (Math.abs(_local5) < 0.1) {
_local5 = 0;
}
_local8 = _local8 + (_local5 * smoothness);
}
_this.x = (_this.scrollPos.x = _local10);
_this.y = (_this.scrollPos.y = _local8);
_this.scrollArea.x = -_this.scrollPos.x;
_this.scrollArea.y = -_this.scrollPos.y;
_this.scrollRect = _this.scrollArea;
};
return(_this);
};
var _local60 = _local49;
delete _this.makeMap;
return(_local60.apply(_this, arguments));
}
function makeMap3() {
function makeMap(instanceName, target_mc, depth) {
function emptyObject(inputObject) {
if (getType(inputObject) === "array") {
inputObject.splice(0, inputObject.length);
} else {
for (var _local2 in inputObject) {
delete inputObject[_local2];
}
}
}
function getType(inputObject) {
var _local1 = "";
if (inputObject instanceof Function) {
_local1 = "function";
} else if (inputObject instanceof MovieClip) {
_local1 = "movieClip";
} else if (inputObject instanceof Array) {
_local1 = "array";
} else if (inputObject instanceof XMLNode) {
_local1 = "xml";
} else if (inputObject instanceof flash.display.BitmapData) {
_local1 = "bitmap";
} else if (inputObject instanceof Object) {
_local1 = "object";
} else {
_local1 = "variable";
}
return(_local1);
}
function copyObject(srcObj, destObj) {
if (!destObj) {
destObj = {};
}
emptyObject(destObj);
var _local4 = {};
for (var _local6 in srcObj) {
_local4[_local6] = srcObj[_local6];
}
for (var _local6 in _local4) {
var _local1 = _local4[_local6];
var _local3 = getType(_local1);
if (_local1 === srcObj) {
continue;
}
if (_local3 === "variable") {
destObj[_local6] = _local1;
}
if (_local3 === "bitmap") {
destObj[_local6] = _local1.clone();
}
if (_local3 === "xml") {
destObj[_local6] = _local1.cloneNode(true);
}
if (_local3 === "array") {
destObj[_local6] = new Array();
copyObject(_local1, destObj[_local6]);
}
if (_local3 === "object") {
destObj[_local6] = new Object();
copyObject(_local1, destObj[_local6]);
}
}
return(destObj);
}
function loadImage(file, target, newName, newDepth, isVisible) {
function once(func) {
var done = false;
return(function () {
return((done ? (0) : ((done = true)func.apply(this, arguments))));
});
}
function unload() {
if (!(cleanupInterval === null)) {
clearInterval(cleanupInterval);
cleanupInterval = null;
}
if (return_obj.content) {
waitForUnload_trigger();
return_obj.onUnload(return_obj.content);
return_obj.broadcastMessage("unload");
}
removeEvents();
}
function makeOnUnload(placeIntoThis) {
if (contentExists() === false) {
return(undefined);
}
if (placeIntoThis.onUnload) {
return(undefined);
}
placeIntoThis.onUnload = unload;
}
function removeEvents() {
detectTargetUnload.unload = undefined;
delete detectTargetUnload.unload;
target.removeEventListener("unload", detectTargetUnload);
target.removeListener(detectTargetUnload);
for (var _local2 in return_obj._listeners) {
var _local1 = return_obj._listeners[_local2];
return_obj.removeListener(_local1);
}
return_obj._listeners = undefined;
delete return_obj._listeners;
return_obj.addListener = undefined;
delete return_obj.addListener;
return_obj.removeListener = undefined;
delete return_obj.removeListener;
return_obj.broadcastMessage = undefined;
delete return_obj.broadcastMessage;
target.removeListener(return_obj);
}
function getBitmap() {
if (contentExists() === false) {
return(undefined);
}
if (!loadedBitmap) {
var _local2 = return_obj.content._width;
var _local1 = return_obj.content._height;
if (!_local2) {
_local2 = 1;
}
if (!_local1) {
_local1 = 1;
}
loadedBitmap = new flash.display.BitmapData(_local2, _local1, true, 0);
loadedBitmap.draw(return_obj.content);
}
return(loadedBitmap);
}
function detectLastFrame(anim_mc) {
var _local1 = {loop:function () {
if ((anim_mc._currentframe == 0) || (anim_mc._currentframe == undefined)) {
clearInterval(detectLastFrame_interval);
waitForAnim_queue.splice(0, waitForAnim_queue.length);
} else if (anim_mc._currentframe == anim_mc._totalframes) {
clearInterval(detectLastFrame_interval);
isDoneAnimating = true;
waitForAnim_trigger();
return_obj.onAnimDone(return_obj.content, return_obj.getBitmap);
return_obj.broadcastMessage("onAnimDone", return_obj.content, return_obj.getBitmap, return_obj.file);
delete return_obj.onAnimDone;
waitForAnim_queue.splice(0, waitForAnim_queue.length);
}
}};
detectLastFrame_interval = setInterval(_local1.loop, detectLastFrame_delay);
_local1.loop();
}
function contentExists() {
return(!(return_obj.content._currentframe === undefined));
}
function waitForLoad_trigger() {
var _local1 = 0;
while (_local1 < waitForLoad_queue.length) {
waitForLoad_queue[_local1].apply(return_obj.content, [return_obj.content, return_obj.getBitmap, return_obj.file]);
_local1++;
}
waitForLoad_queue.splice(0, waitForLoad_queue.length);
}
function waitForInit_trigger() {
var _local1 = 0;
while (_local1 < waitForInit_queue.length) {
waitForInit_queue[_local1].apply(return_obj.content, [return_obj.content, return_obj.getBitmap, return_obj.file]);
_local1++;
}
waitForInit_queue.splice(0, waitForInit_queue.length);
}
function waitForAnim_trigger() {
var _local1 = 0;
while (_local1 < waitForAnim_queue.length) {
waitForAnim_queue[_local1].apply(return_obj.content, [return_obj.content, return_obj.getBitmap, return_obj.file]);
_local1++;
}
waitForAnim_queue.splice(0, waitForAnim_queue.length);
}
function waitForUnload_trigger() {
var _local1 = 0;
while (_local1 < waitForUnload_queue.length) {
waitForUnload_queue[_local1].apply(return_obj.content, [return_obj.content, return_obj.getBitmap, return_obj.file]);
_local1++;
}
waitForUnload_queue.splice(0, waitForUnload_queue.length);
}
function placeClip() {
var newImage = target.attachMovie(file, newName, newDepth, {_visible:isVisible});
var newImage = target[newName];
if ((!(target.getInstanceAtDepth(newDepth) === undefined)) && (newImage != target)) {
loadedBitmap = null;
return_obj.content = newImage;
isLoaded = true;
makeOnUnload(return_obj.content);
waitForLoad_trigger();
return_obj.broadcastMessage("onLoad", return_obj.content, return_obj.getBitmap, file);
return_obj.onLoad(return_obj.content, return_obj.getBitmap, file);
detectLastFrame(return_obj.content);
setTimeout(function (file) {
waitForInit_trigger();
return_obj.onLoadInit(return_obj.content, return_obj.getBitmap, file);
return_obj.broadcastMessage("onLoadInit", return_obj.content, return_obj.getBitmap, file);
return_obj.broadcastMessage("complete", return_obj.content, return_obj.getBitmap, file);
}, 1, file);
} else {
var newImage = target.createEmptyMovieClip(newName, newDepth);
newImage._visible = isVisible;
if (file.generateFilterRect != undefined) {
var _local1 = file;
}
if (file.generateFilterRect == undefined) {
var _local1 = flash.display.BitmapData.loadBitmap(file);
}
newImage.attachBitmap(_local1, 0, true, true);
if (!(newImage.getInstanceAtDepth(0) === undefined)) {
loadedBitmap = _local1;
return_obj.content = newImage;
isLoaded = true;
makeOnUnload(return_obj.content);
waitForLoad_trigger();
return_obj.broadcastMessage("onLoad", return_obj.content, return_obj.getBitmap, file);
return_obj.onLoad(return_obj.content, return_obj.getBitmap, file);
setTimeout(function (file) {
waitForInit_trigger();
return_obj.onLoadInit(return_obj.content, return_obj.getBitmap, file);
return_obj.broadcastMessage("onLoadInit", return_obj.content, return_obj.getBitmap, file);
return_obj.broadcastMessage("complete", return_obj.content, return_obj.getBitmap, file);
}, 0, file);
isDoneAnimating = true;
waitForAnim_trigger();
return_obj.onAnimDone(return_obj.content, return_obj.getBitmap, file);
return_obj.broadcastMessage("onAnimDone", return_obj.content, return_obj.getBitmap, file);
delete return_obj.onAnimDone;
} else {
var loader = new MovieClipLoader();
loadedBitmap = null;
return_obj.content = undefined;
loader.onLoadComplete = function (loadedClip, loadStatus) {
newImage._visible = isVisible;
loadedBitmap = null;
return_obj.content = loadedClip;
isLoaded = true;
waitForLoad_trigger();
return_obj.broadcastMessage("onLoad", return_obj.content, null, file);
return_obj.onLoad(return_obj.content, null, file);
};
loader.onLoadInit = function (loadedClip) {
makeOnUnload(return_obj.content);
detectLastFrame(return_obj.content);
setTimeout(function (file) {
waitForInit_trigger();
return_obj.onLoadInit(return_obj.content, return_obj.getBitmap, file);
return_obj.broadcastMessage("onLoadInit", return_obj.content, return_obj.getBitmap, file);
return_obj.broadcastMessage("complete", return_obj.content, return_obj.getBitmap, file);
}, 0, file);
};
loader.onLoadInit = once(loader.onLoadInit);
loader.onLoadError = function () {
if (newName) {
removeClip(target[newName]);
}
return_obj.content = undefined;
waitForLoad_queue.splice(0, waitForLoad_queue.length);
waitForInit_queue.splice(0, waitForInit_queue.length);
waitForAnim_queue.splice(0, waitForAnim_queue.length);
var _local1 = {file:file};
return_obj.onLoadError(_local1);
return_obj.broadcastMessage("onLoadError", _local1);
};
loader.onLoadError = once(loader.onLoadError);
loader.loadClip(file, newImage);
if (isLoaded) {
return_obj.content = target[newName];
setTimeout(function (file) {
loader.onLoadInit(return_obj.content, return_obj.getBitmap, file);
}, 0, file);
}
}
}
}
function removeClip(clip_mc) {
if (!clip_mc) {
return(undefined);
}
clip_mc.onUnload();
delete clip_mc.onUnload;
clip_mc.removeMovieClip();
}
if (_global.nextDepth === undefined) {
_global.nextDepth = function (this_mc, maxDepth, minDepth) {
this_mc = (this_mc ? (this_mc) : _root);
var _local4 = ((minDepth != undefined) ? (minDepth) : 1);
var _local5 = (maxDepth ? (maxDepth) : 1048500);
for (var _local6 in this_mc) {
var _local2 = this_mc[_local6].getDepth();
if ((_local2 < _local5) && (_local2 >= _local4)) {
_local4 = _local2 + 1;
}
}
return(_local4);
};
}
var detectLastFrame_delay = 10;
var return_obj;
var isLoaded = false;
var isInit = false;
var isDoneAnimating = false;
var waitForLoad_queue = [];
var waitForInit_queue = [];
var waitForAnim_queue = [];
var waitForUnload_queue = [];
var loadedBitmap = null;
var detectTargetUnload = {};
var detectLastFrame_interval = null;
var cleanupInterval = null;
var unload = once(unload);
detectLastFrame = once(detectLastFrame);
return_obj = {file:file, onLoadInit:function () {
}, onLoadError:function () {
}, onAnimDone:function () {
}, content:undefined, waitForLoad:function (newCallback) {
if (isLoaded) {
newCallback.apply(return_obj.content, [return_obj.content, getBitmap, file]);
} else {
waitForLoad_queue.push(newCallback);
}
return(return_obj);
}, waitForInit:function (newCallback) {
if (isInit) {
newCallback.apply(return_obj.content, [return_obj.content, getBitmap, file]);
} else {
waitForInit_queue.push(newCallback);
}
return(return_obj);
}, waitForAnim:function (newCallback) {
if (isDoneAnimating) {
newCallback.apply(return_obj.content, [return_obj.content, getBitmap, file]);
} else {
waitForAnim_queue.push(newCallback);
}
return(return_obj);
}, waitForUnload:function (newCallback) {
waitForUnload_queue.push(newCallback);
return(return_obj);
}, getBitmap:getBitmap, unload:unload, removeEvents:removeEvents};
AsBroadcaster.initialize(return_obj);
detectTargetUnload.unload = unload;
if (target.addEventListener) {
target.addEventListener("unload", detectTargetUnload);
} else if (target.addListener) {
target.addListener(detectTargetUnload);
}
var _local17 = Math.floor(Math.random() * 300);
setTimeout(function () {
cleanupInterval = setInterval(function () {
var _local1 = contentExists();
if (_local1) {
return(undefined);
}
unload();
}, 3000);
}, _local17);
if (isVisible === undefined) {
isVisible = true;
}
var target = (target || this);
var newDepth = ((newDepth != undefined) ? (newDepth) : (nextDepth(target)));
var newName = (newName || ("image_" + newDepth));
newName = String(newName);
setTimeout(function () {
removeClip(target[newName]);
placeClip();
}, 0);
return(return_obj);
}
function drawMap(uncompressedMapData, useCache) {
function removeExtraLayers() {
var _local1 = layers_mc_array.length;
while (_local1 >= 0) {
var _local2 = newData.layers[_local1];
if (_local2 == undefined) {
layers_mc_array[_local1].pic.dispose();
layers_mc_array[_local1].removeMovieClip();
layers_mc_array.splice(_local1, 1);
}
_local1--;
}
}
function resizeExistingLayers() {
var _local5 = layers_mc_array[0].pic.width;
var _local6 = layers_mc_array[0].pic.height;
if ((_local5 != undefined) && (((oldTilesize != newData.tileSize) || (_local5 != newData.width)) || (_local6 != newData.height))) {
var _local4 = newData.width * newData.tileSize;
var _local3 = newData.height * newData.tileSize;
var _local2 = layers_mc_array.length;
while (_local2 >= 0) {
var _local1 = layers_mc_array[_local2];
_local1.pic.dispose();
_local1.pic = new BitmapData(_local4, _local3, true, 0);
_local1.attachBitmap(_local1.pic, 0);
_local2--;
}
}
oldTilesize = newData.tileSize;
}
function addNewLayers() {
var _local6 = newData.width * newData.tileSize;
var _local5 = newData.height * newData.tileSize;
var _local2 = layers_mc_array.length;
while (_local2 < newData.layers.length) {
var _local4 = _local2 * layerDepthOffset;
var _local3 = ("layer" + _local2) + "_mc";
var _local1 = _this.createEmptyMovieClip(_local3, _local4);
_local1.pic = new BitmapData(_local6, _local5, true, 0);
_local1.attachBitmap(_local1.pic, 0);
layers_mc_array.push(_local1);
_local2++;
}
}
function loadNewChipsets() {
function loadChipset(fileName) {
function afterLoading(newChipset_pic) {
var _local1 = {file:fileName, pic:newChipset_pic};
vow.keep(_local1);
}
function error(message) {
vow.doBreak({type:"fail", message:message});
}
var vow = VOW.make();
var _local1 = loadBitmap(fileName, chipsetLoader_mc);
_local1.then(afterLoading, error);
return(vow.promise);
}
function checkForAbortedLoad(allNewChipsets) {
var _local1 = VOW.make();
var _local2 = false;
if ((!(chipsetLoad_prom === null)) && (!(chipsetLoad_prom === currentChipsetLoad.chipsetLoad_prom))) {
_local2 = true;
}
if (_local2 === true) {
_local1.doBreak({type:"abort", message:"Another map has started to load. Aborting the previous load-sequence."});
} else {
_local1.keep(allNewChipsets);
}
return(_local1.promise);
}
function afterAllChipsetsLoad(allNewChipsets) {
var _local1 = 0;
while (_local1 < allNewChipsets.length) {
var _local2 = allNewChipsets[_local1];
var _local3 = _local2.file;
var _local4 = _local2.pic;
allLoadedChipsets[_local3] = _local4;
_local1++;
}
arrangeChipsets();
loadAllChipsets_vow.keep();
}
function arrangeChipsets() {
chipset_array.splice(0);
var _local1 = 0;
while (_local1 < newData.chipsets.length) {
var _local3 = newData.chipsets[_local1];
var _local2 = (chipset_array[_local1] = {});
_local2.file = _local3;
_local2.pic = allLoadedChipsets[_local3];
_local1++;
}
}
function loadChipsetError(err_obj) {
loadAllChipsets_vow.doBreak(err_obj);
}
var chipsetLoad_prom = null;
var loadAllChipsets_vow = VOW.make();
var allLoadedChipsets = {};
var _local6 = [];
if (useCache) {
var _local1 = 0;
while (_local1 < chipset_array.length) {
allLoadedChipsets[chipset_array[_local1].file] = chipset_array[_local1].pic;
_local1++;
}
}
var _local1 = 0;
while (_local1 < newData.chipsets.length) {
var _local4 = newData.chipsets[_local1];
if (allLoadedChipsets[_local4] == undefined) {
_local6.push(_local4);
}
_local1++;
}
if (_local6.length > 0) {
var _local9 = [];
var _local2 = 0;
while (_local2 < _local6.length) {
var _local11 = loadChipset(_local6[_local2]);
_local9.push(_local11);
_local2++;
}
currentChipsetLoad.chipsetLoad_prom = (chipsetLoad_prom = VOW.every(_local9));
chipsetLoad_prom.then(checkForAbortedLoad).then(afterAllChipsetsLoad, loadChipsetError);
} else {
arrangeChipsets();
loadAllChipsets_vow.keep();
}
return(loadAllChipsets_vow.promise);
}
function drawAllTiles() {
var _local3 = 0;
while (_local3 < newData.layers.length) {
var _local2 = 0;
while (_local2 < newData.width) {
var _local1 = 0;
while (_local1 < newData.height) {
var _local4 = {layer:_local3, x:_local2, y:_local1};
var _local5 = newData.layers[_local3][_local2][_local1];
updateTile(_local4, _local5, newData.tileSize);
_local1++;
}
_local2++;
}
_local3++;
}
}
function finished() {
drawMap_vow.keep();
}
function drawMapError(err_obj) {
drawMap_vow.doBreak(err_obj);
}
if (useCache == undefined) {
var useCache = 12;
}
var drawMap_vow = VOW.make();
if (!isCompressed(uncompressedMapData)) {
uncompressedMapData = decompressMapData(uncompressedMapData);
}
var newData = uncompressedMapData;
removeExtraLayers();
resizeExistingLayers();
addNewLayers();
loadNewChipsets().then(drawAllTiles, drawMapError).then(finished);
return(drawMap_vow.promise);
}
function updateTile(location, tileData, tileSize) {
var _local8 = location.layer;
var _local11 = location.x;
var _local9 = location.y;
tileSize = tileSize || (_this.tileSize);
var _local10 = chipset_array[tileData.chipset].pic;
var _local7 = layers_mc_array[_local8].pic;
var _local6 = tileData.x * tileSize;
var _local4 = tileData.y * tileSize;
var _local5 = new Rectangle(_local6, _local4, tileSize, tileSize);
var _local12 = new Point(_local11 * tileSize, _local9 * tileSize);
_local7.copyPixels(_local10, _local5, _local12);
}
function isCompressed(data) {
if (data.isCompressed === true) {
return(true);
}
if (data.collision[0] === undefined) {
return(true);
}
return(false);
}
function compressMapData(uncompressedData) {
function compressTileValue(chipset, x, y) {
var _local4 = Number(chipset).toString(encodingRadix);
var _local2 = Number(x).toString(encodingRadix);
var _local1 = Number(y).toString(encodingRadix);
var _local3 = (_local4 + _local2) + _local1;
return(_local3);
}
var _local18 = isCompressed(compressedData);
if (_local18 == false) {
var _local1 = {};
_local1.format = uncompressedData.format;
_local1.isCompressed = true;
_local1.tileSize = uncompressedData.tileSize;
_local1.width = uncompressedData.width;
_local1.height = uncompressedData.height;
_local1.chipsets = [];
var _local9 = 0;
while (_local9 < uncompressedData.chipsets.length) {
_local1.chipsets[_local9] = uncompressedData.chipsets[_local9];
_local9++;
}
_local1.layers = [];
var _local5 = 0;
while (_local5 < uncompressedData.layers.length) {
_local1.layers[_local5] = "";
var _local13 = uncompressedData.layers[_local5];
var _local12 = 0;
while (_local12 < _local1.height) {
var _local3 = 0;
while (_local3 < _local1.width) {
var _local2 = _local13[_local3][_local12];
var _local4 = _local2.chipset;
var _local7 = _local2.x;
var _local6 = _local2.y;
var _local10 = compressTileValue(_local4, _local7, _local6);
_local1.layers[_local5] = _local1.layers[_local5] + _local10;
_local3++;
}
_local12++;
}
_local5++;
}
_local1.collision = "";
var _local12 = 0;
while (_local12 < _local1.height) {
var _local3 = 0;
while (_local3 < _local1.width) {
var _local11 = Number(uncompressedData.collision[_local3][_local12]);
var _local10 = _local11.toString(encodingRadix);
_local1.collision = _local1.collision + _local10;
_local3++;
}
_local12++;
}
return(_local1);
}
return(uncompressedData);
}
function decompressMapData(compressedData) {
function decompressValue(encodedValue) {
if (encodedValue == "0x") {
return(33);
}
return(parseInt(encodedValue, encodingRadix));
}
var _local10 = isCompressed(compressedData);
if (_local10 == true) {
var _local1 = {};
_local1.format = compressedData.format;
_local1.isCompressed = false;
_local1.tileSize = compressedData.tileSize;
_local1.width = compressedData.width;
_local1.height = compressedData.height;
_local1.chipsets = [];
var _local8 = 0;
while (_local8 < compressedData.chipsets.length) {
_local1.chipsets[_local8] = compressedData.chipsets[_local8];
_local8++;
}
_local1.layers = [];
var _local12 = 0;
var _local11 = 3;
var _local5 = 0;
while (_local5 < compressedData.layers.length) {
_local12 = 0;
var _local6 = compressedData.layers[_local5];
_local1.layers[_local5] = [];
var _local7 = 0;
while (_local7 < _local1.width) {
_local1.layers[_local5][_local7] = [];
var _local4 = 0;
while (_local4 < _local1.height) {
var _local9 = ((compressedData.width * _local4) + _local7) * _local11;
var _local2 = (_local1.layers[_local5][_local7][_local4] = {});
_local2.chipset = decompressValue(_local6.charAt(_local9));
_local2.x = decompressValue(_local6.charAt(_local9 + 1));
_local2.y = decompressValue(_local6.charAt(_local9 + 2));
_local4++;
}
_local7++;
}
_local5++;
}
_local1.collision = [];
_local12 = 0;
_local11 = 1;
var _local7 = 0;
while (_local7 < _local1.width) {
_local1.collision[_local7] = [];
var _local4 = 0;
while (_local4 < _local1.height) {
var _local9 = (compressedData.width * _local4) + _local7;
_local1.collision[_local7][_local4] = parseInt(compressedData.collision.charAt(_local9), 36);
_local4++;
}
_local7++;
}
return(_local1);
}
return(compressedData);
}
function forceRedraw() {
_this.layer0_mc.attachBitmap(_this.layer0_mc.pic, 0);
}
var vow_version = 3.9;
var _local65 = function () {
function forEach(array, callback) {
var _local1 = 0;
while (_local1 < array.length) {
callback(array[_local1], _local1);
_local1++;
}
}
function enlighten(queue, fate) {
forEach(queue, function (func) {
setTimeout(function () {
func(fate);
}, 0);
});
}
var _local12 = vow_version;
var vow_output = {version:_local12, make:function () {
function enqueue(resolution, func, vow) {
var _local2 = ((resolution === "kept") ? (keepers) : (breakers));
var isBroken = Boolean(_local2 === breakers);
_local2[_local2.length] = ((!(typeof(func) === "function")) ? (vow[resolution]) : (function (value) {
try {
_local1 = func(value)_local1if (_local1 && (_local1.is_promise === true)) {
if (isBroken) {
_local1.then(vow.doBreak, vow.doBreak)} else {
_local1.then(vow.keep, vow.doBreak)}
} else {
if (isBroken) {
vow.doBreak(_local1)}
if (!isBroken) {
vow.keep(_local1)}
}
} catch(e) {
vow.doBreak(e)}
}));
}
function herald(state, value, queue) {
if (!(status === "pending")) {
return(undefined);
}
fate = value;
status = state;
enlighten(queue, fate);
keepers = [];
breakers = [];
}
function get_then() {
return(set_then);
}
var breakers = [];
var fate = undefined;
var keepers = [];
var status = "pending";
var promise = {version:vow_output.version, is_promise:true, getStatus:function () {
return(status);
}, getValue:function () {
return(fate);
}, doBreak:function (value) {
herald("broken", value, breakers);
return(this.promise);
}, keep:function (value) {
herald("kept", value, keepers);
return(this.promise);
}};
var set_then = function (kept, broken) {
var _local1 = VOW.make();
switch (status) {
case "pending" :
enqueue("kept", kept, _local1);
enqueue("break", broken, _local1);
break;
case "kept" :
enqueue("kept", kept, _local1);
enlighten(keepers, fate);
keepers = [];
break;
case "broken" :
enqueue("break", broken, _local1);
enlighten(breakers, fate);
breakers = [];
}
return(_local1);
};
promise.addProperty("then", get_then, set_then);
promise.promise = promise;
return(promise);
}, every:function (array) {
var remaining = array.length;
var results = [];
var vow = VOW.make();
if (!remaining) {
vow.keep([]);
} else {
forEach(array, function (promise, i) {
promise.then(function (value) {
results[i] = value;
remaining--;
if (remaining === 0) {
vow.keep(results);
}
}, function (reason) {
remaining = null;
vow.doBreak(reason);
});
});
}
return(vow.promise);
}, everyTried:function (array) {
var remaining = array.length;
var results = [];
var vow = VOW.make();
if (!remaining) {
vow.keep([]);
} else {
forEach(array, function (promise, i) {
promise.then(function (value) {
results[i] = value;
remaining--;
if (remaining === 0) {
vow.keep(results);
}
}, function (failReason) {
results[i] = undefined;
remaining--;
if (remaining === 0) {
vow.keep(results);
}
});
});
}
return(vow.promise);
}, first:function (array) {
function check() {
remaining--;
if ((remaining === 0) && (!found)) {
vow.doBreak();
}
}
var found = false;
var remaining = array.length;
var vow = VOW.make();
if (remaining === 0) {
vow.doBreak(array);
} else {
forEach(array, function (promise) {
promise.then(function (value) {
if (!found) {
found = true;
vow.keep(value);
}
check();
}, check);
});
}
return(vow.promise);
}, kept:function (value) {
var _local1 = VOW.make();
_local1.keep(value);
return(_local1.promise);
}, broken:function (reason) {
var _local1 = VOW.make();
_local1.doBreak(reason);
return(_local1.promise);
}, wait:function (milliseconds) {
var _local1 = function (input) {
var vow = VOW.make();
var milliseconds = ((milliseconds === undefined) ? 0 : (milliseconds));
setTimeout(function () {
vow.keep(input);
}, milliseconds);
return(vow.promise);
};
return(_local1);
}, firstWait:function (milliseconds) {
var vow = VOW.make();
milliseconds = ((milliseconds === undefined) ? 0 : (milliseconds));
setTimeout(function () {
vow.keep({});
}, milliseconds);
return(vow.promise);
}, start:function (value) {
var _local1 = VOW.make();
_local1.keep(value);
return(_local1.promise);
}, runSequence:function (sequence) {
var _local4 = VOW.make().keep();
var _local1 = 0;
while (_local1 < sequence.length) {
var _local3 = sequence[_local1];
var _local2 = _local4.then(_local3);
if (!(_local2.is_promise === true)) {
_local2 = VOW.kept();
}
_local4 = _local2;
_local1++;
}
var _local6 = _local4;
return(_local6);
}, wrap:function (func, callbackIndex) {
if (callbackIndex === undefined) {
var callbackIndex = 0;
}
return(function () {
var vow = VOW.make();
if (callbackIndex === undefined) {
var callbackIndex = (arguments.length - 1);
}
arguments[callbackIndex] = function (output) {
vow.keep(output);
};
func.apply(this, arguments);
return(vow.promise);
});
}, preApply:function (func, param) {
var args = arguments.slice(1);
return(function () {
return(func.apply(null, args));
});
}, failThru:function (failReason) {
return(failReason);
}, null:null};
vow_output.any = (vow_output.allResolved = vow_output.everyTried);
return(vow_output);
};
var VOW = _local65();
delete vow_version;
if (!_this) {
var _this = this;
}
var loadBitmap = function (fileName_str, movieClipParent) {
var movieClipParent = (movieClipParent || (_this));
var vow = VOW.make();
var _local7 = 1000 + Math.floor(Math.random() * 900000);
var _local4 = nextDepth(movieClipParent, null, _local7);
var newName = ("tempLoadedClip_" + _local4);
var _local2 = loadImage(fileName_str, movieClipParent, newName, _local4, false);
var _local3 = function () {
var _local1 = movieClipParent[newName];
var _local2 = new flash.display.BitmapData(_local1._width, _local1._height, true, 0);
_local2.draw(_local1);
_local1._name = "";
_local1.onUnload();
_local1.onUnload = null;
_local1.removeMovieClip();
delete movieClipParent[newName];
vow.keep(_local2);
};
_local2.onLoadInit = _local3;
if (!_local2) {
_local3();
}
_local2.onLoadError = function () {
var _local1 = "Failed to load image: " + fileName_str;
trace(_local1);
vow.doBreak(undefined);
};
return(vow.promise);
};
if (_global.nextDepth === undefined) {
_global.nextDepth = function (this_mc, maxDepth, minDepth) {
this_mc = (this_mc ? (this_mc) : _root);
var _local4 = ((minDepth != undefined) ? (minDepth) : 1);
var _local5 = (maxDepth ? (maxDepth) : 1048500);
for (var _local6 in this_mc) {
var _local2 = this_mc[_local6].getDepth();
if ((_local2 < _local5) && (_local2 >= _local4)) {
_local4 = _local2 + 1;
}
}
return(_local4);
};
}
var layerDepthOffset = 10;
var encodingRadix = 36;
target_mc = target_mc || this;
depth = ((depth != undefined) ? (depth) : (nextDepth(target_mc)));
instanceName = instanceName || ("map" + depth);
var _this = target_mc.createEmptyMovieClip(instanceName, depth);
_this.version = 2.2;
_this.layers_mc_array = [];
_this.chipset_array = [];
var chipsetLoader_mc = _this.createEmptyMovieClip("chipsetLoader_mc", 2001);
chipsetLoader_mc._visible = false;
var layers_mc_array = _this.layers_mc_array;
var chipset_array = _this.chipset_array;
var oldTilesize = _this.tileSize;
var BitmapData = flash.display.BitmapData;
var Rectangle = flash.geom.Rectangle;
var Point = flash.geom.Point;
var currentChipsetLoad = {};
currentChipsetLoad.chipsetLoad_prom = null;
_this.x = 0;
_this.y = 0;
_this.cacheAsBitmap = true;
_this.scrollPos = new flash.geom.Point(0, 0);
_this.scrollArea = new flash.geom.Rectangle(0, 0, 320, 240);
var refreshScroll = 2;
_this.scroll = function (x, y, screenWidth, screenHeight, smoothness) {
var _local14 = _this.tileSize || 16;
if (refreshScroll > 0) {
forceRedraw();
refreshScroll--;
}
if ((x == undefined) && (SPRITES.player._x != undefined)) {
x = SPRITES.player._x;
}
if ((y == undefined) && (SPRITES.player._y != undefined)) {
y = SPRITES.player._y;
}
screenWidth = screenWidth || 320;
screenHeight = screenHeight || 240;
smoothness = smoothness || 1;
if (_this.scrollArea.width != screenWidth) {
_this.scrollArea.width = screenWidth;
}
if (_this.scrollArea.height != screenHeight) {
_this.scrollArea.height = screenHeight;
}
var _local7 = screenWidth / 2;
var _local9 = screenHeight / 2;
var _local3 = _this.width * _local14;
var _local4 = _this.height * _local14;
var _local10 = _this.x;
var _local8 = _this.y;
if (x < _local7) {
var _local15 = 0;
} else if (x > (_local3 - _local7)) {
var _local15 = (-_local3) + screenWidth;
} else {
var _local15 = (-x) + _local7;
}
if (y < _local9) {
var _local16 = 0;
} else if (y > (_local4 - _local9)) {
var _local16 = (-_local4) + screenHeight;
} else {
var _local16 = (-y) + _local9;
}
if (_local3 < screenWidth) {
var _local6 = screenWidth - _local3;
_local10 = _local6 / 2;
} else {
var _local6 = _local15 - _this.scrollPos.x;
if (Math.abs(_local6) < 0.1) {
_local6 = 0;
}
_local10 = _local10 + (_local6 * smoothness);
}
if (_local4 < screenHeight) {
var _local5 = screenHeight - _local4;
_local8 = _local5 / 2;
} else {
var _local5 = _local16 - _this.scrollPos.y;
if (Math.abs(_local5) < 0.1) {
_local5 = 0;
}
_local8 = _local8 + (_local5 * smoothness);
}
_this.x = (_this.scrollPos.x = _local10);
_this.y = (_this.scrollPos.y = _local8);
_this.scrollArea.x = -_this.scrollPos.x;
_this.scrollArea.y = -_this.scrollPos.y;
_this.scrollRect = _this.scrollArea;
};
_this.drawMap = drawMap;
_this.updateTile = updateTile;
_this.isCompressed = isCompressed;
_this.compressMapData = compressMapData;
_this.decompressMapData = decompressMapData;
return(_this);
}
var _local97 = makeMap;
delete _this.makeMap;
var map_mc = _local97.apply(_this, arguments);
var currentData = null;
map_mc.drawObj = function (data, useCache) {
function drawDone() {
if (!(data === currentData)) {
return(undefined);
}
map_mc.collision_array = data.collision;
map_mc.width = data.width;
map_mc.height = data.height;
map_mc.tileSize = data.tileSize;
addCollisionMethods(map_mc.collision_array);
map_mc.onLoad(data);
}
function error(err_obj) {
if (!(data === currentData)) {
return(undefined);
}
map_mc.onError(err_obj);
}
if (useCache == undefined) {
useCache = true;
}
if (map_mc.isCompressed(data)) {
var data = map_mc.decompressMapData(data);
}
currentData = data;
map_mc.drawMap(data, useCache).then(drawDone, error);
};
return(map_mc);
}
function updateFlaggedSprites(sprites, flagRoot, addSprite, removeSprite) {
function checkFlag(spriteFlag, flagRoot) {
function getFlagParts(flag) {
var _local2 = [];
var _local4 = flag.charAt(0);
while (_local4 == " ") {
flag = flag.substr(1);
_local4 = flag.charAt(0);
}
var _local3 = flag.charAt(flag.length - 1);
while (_local3 == " ") {
flag = flag.substr(0, flag.length - 1);
_local3 = flag.charAt(flag.length - 1);
}
if (flag.charAt(0) == "!") {
flag = flag.substr(1) + "!";
var _local5 = flag.indexOf("!");
var _local6 = _local5 + 1;
} else if (flag.indexOf("!=") != -1) {
var _local5 = flag.indexOf("!=");
var _local6 = _local5 + 2;
} else if (flag.indexOf("<=") != -1) {
var _local5 = flag.indexOf("<=");
var _local6 = _local5 + 2;
} else if (flag.indexOf(">=") != -1) {
var _local5 = flag.indexOf(">=");
var _local6 = _local5 + 2;
} else if (flag.indexOf("<") != -1) {
var _local5 = flag.indexOf("<");
var _local6 = _local5 + 1;
} else if (flag.indexOf(">") != -1) {
var _local5 = flag.indexOf(">");
var _local6 = _local5 + 1;
} else if (flag.indexOf("=") != -1) {
var _local5 = flag.indexOf("=");
var _local6 = _local5 + 1;
} else {
var _local5 = flag.length;
flag = flag + "!=undefined";
var _local6 = _local5 + 2;
}
_local2.push(flag.substr(0, _local5));
_local2.push(flag.substring(_local5, _local6));
_local2.push(flag.substr(_local6));
_local3 = _local2[0].charAt(_local2[0].length - 1);
while (_local3 == " ") {
_local2[0] = _local2[0].substr(0, _local2[0].length - 1);
_local3 = _local2[0].charAt(_local2[0].length - 1);
}
_local4 = _local2[2].charAt(0);
while (_local4 == " ") {
_local2[2] = _local2[2].substr(1);
_local4 = _local2[2].charAt(0);
}
return(_local2);
}
getPathValue = function (path, defaultContainer) {
var path = (path ? (path) : "");
var defaultContainer = (defaultContainer ? (defaultContainer) : "RAM");
if (typeof(path) == "string") {
path = path.split(" ").join("");
}
var startAt = path.indexOf(".");
if (startAt == undefined) {
var output = path;
} else if (startAt == -1) {
var containerIsGlobal = eval ("_global." + path);
if (path == "this") {
containerIsGlobal = true;
}
if (typeof(defaultContainer) == "string") {
var output = (containerIsGlobal ? (eval (path)) : (eval ((defaultContainer + ".") + path)));
} else {
var output = (containerIsGlobal ? (eval (path)) : (defaultContainer[path]));
}
} else {
var containerEnd = path.indexOf(".");
var containerName = path.substr(0, containerEnd);
var containerIsGlobal = eval ("_global." + containerName);
if (containerName == "this") {
containerIsGlobal = true;
}
if (containerName == "_level0") {
containerIsGlobal = true;
}
if (!containerIsGlobal) {
path = "RAM." + path;
}
var output = eval (path);
}
return(output);
};
if (spriteFlag === undefined) {
return(false);
}
var output = true;
var flagParts_array = getFlagParts(spriteFlag);
var variable = flagParts_array[0];
var operation = flagParts_array[1];
var value = flagParts_array[2];
if (isNaN(value) == false) {
value = Number(value);
}
if (value == "true") {
value = true;
}
if (value == "false") {
value = false;
}
if (value == "undefined") {
value = undefined;
}
var displayValue = getPathValue(variable, flagRoot);
switch (operation) {
case "!" :
output = (displayValue == undefined) || (displayValue == false);
break;
case "=" :
output = displayValue == value;
break;
case "!=" :
if ((!Boolean(displayValue)) && (!Boolean(value))) {
displayValue = false;
value = false;
}
output = displayValue != value;
break;
case "<" :
output = displayValue < value;
if (displayValue == undefined) {
output = false;
}
if (typeof(displayValue) == "string") {
output = false;
}
break;
case ">" :
output = displayValue > value;
if (displayValue == undefined) {
output = false;
}
if (typeof(displayValue) == "string") {
output = false;
}
break;
case "<=" :
output = displayValue <= value;
if (displayValue == undefined) {
output = false;
}
if (typeof(displayValue) == "string") {
output = false;
}
break;
case ">=" :
output = displayValue >= value;
if (displayValue == undefined) {
output = false;
}
if (typeof(displayValue) != "string") {
break;
}
output = false;
}
return(output);
}
function checkAllFlags(flag_array, flagRoot) {
function getImpliedValue(input) {
var _local2;
if ((input == "undefined") || (input == undefined)) {
_local2 = undefined;
} else if ((input == "true") || (input === true)) {
_local2 = Boolean(true);
} else if ((input == "false") || (input === false)) {
_local2 = Boolean(false);
} else if (isNaN(input) == false) {
_local2 = Number(input);
} else {
_local2 = input;
}
return(_local2);
}
function resolveContainerStr(containerName, thisName) {
thisName = ((typeof(thisName) === "string") ? (thisName) : "this");
var _local2 = null;
if (containerName == "this") {
_local2 = thisName;
}
if (containerName == "_root") {
_local2 = "_root";
}
if (containerName == "_level0") {
_local2 = "_root";
}
if (containerName == "_global") {
_local2 = "_global";
}
if (_global[containerName] && (_global[containerName] instanceof Object)) {
_local2 = containerName;
}
return(_local2);
}
function resolveContainer(containerName, thisRef) {
if (typeof(thisRef) === "string") {
thisRef = _this || this;
}
var _local4 = _global[containerName];
if (containerName == "this") {
_local4 = thisRef;
}
if (containerName == "_root") {
_local4 = _root;
}
if (containerName == "_level0") {
_local4 = _root;
}
if (containerName == "_global") {
_local4 = _global;
}
return(_local4);
}
function evalPath(inputPath, defaultContainer_str, thisName) {
var thisScope = this;
var thisName = (thisName || "this");
if (typeof(inputPath) == "string") {
if (!defaultContainer_str) {
var defaultContainer_str = ((typeof(thisName) === "string") ? (thisName) : "this");
}
var endAt = inputPath.indexOf(".");
if (endAt == -1) {
endAt = inputPath.length;
}
var container_str = inputPath.substr(0, endAt);
var container_str = resolveContainerStr(container_str, thisName);
if (!container_str) {
var container_str = defaultContainer_str;
endAt = -1;
}
var theRest = inputPath.substr(endAt + 1);
var fullPath = (theRest ? ((container_str + ".") + theRest) : (container_str));
var paramStart = fullPath.indexOf("(");
if (paramStart != -1) {
var paramEnd = fullPath.indexOf(")", paramStart + 1);
var param = fullPath.substring(paramStart + 1, paramEnd);
var functionPath = fullPath.substr(0, paramStart);
var thisFunction = eval (functionPath);
var param_array = String(param).split(",");
var i = 0;
while (i < param_array.length) {
param_array[i] = getImpliedValue(param_array[i]);
i++;
}
var output = thisFunction.apply(thisScope, param_array);
} else {
var output = eval (fullPath);
}
} else {
var output = inputPath;
}
return(output);
}
function nestedEval(inputPath, defaultContainer_str, thisName) {
function replaceLastBracket(inputPath) {
function openBracketCloseParam() {
var _local2 = thisPath.indexOf(")");
var _local4 = thisPath.indexOf("(");
var _local1 = thisPath.indexOf("]");
var _local3 = ((_local1 === -1) || (_local2 < _local1)) && (_local4 === -1);
if (_local2 === -1) {
_local3 = false;
}
if (!_local3) {
return(false);
}
output = (placeHolderMarker + "xx") + thisPath.substr(1);
return(true);
}
function openBracketOpenParam() {
var _local3 = thisPath.indexOf("(");
var _local4 = thisPath.indexOf("]");
var _local10 = ((_local4 === -1) || (_local3 < _local4)) && (_local3 > -1);
if (!_local10) {
return(false);
}
var _local5 = thisPath.substring(1, _local3);
_local5 = resolve(_local5);
var _local6 = evalPath(_local5, defaultContainer_str, thisName);
var _local11 = _local6 instanceof Function;
if (_local11) {
var _local7 = thisPath.indexOf(")", _local3);
var _local9 = thisPath.substring(_local3 + 1, _local7);
var _local2 = _local9.split(",");
params_ary = [];
var _local1 = 0;
while (_local1 < _local2.length) {
params_ary[_local1] = resolve(_local2[_local1]);
_local1++;
}
var _local8 = _local6.apply(thisScope, params_ary);
var _local12 = thisPath.substr(_local4 + 1);
var _local13 = setPlaceHolder(_local8);
output = _local13 + _local12;
return(true);
}
var _local12 = thisPath.substr(_local4 + 1);
trace(("ERROR: " + _local5) + " is not a function!");
output = _local12;
return(true);
}
function openBracketCloseBracket() {
var _local1 = thisPath.indexOf("]");
var _local2 = _local1 > -1;
if (!_local2) {
return(false);
}
var _local5 = thisPath.substr(_local1 + 1);
var _local4 = thisPath.substring(1, _local1);
var _local3 = evalPath(resolve(_local4), defaultContainer_str, thisName);
var _local6 = setPlaceHolder(_local3);
output = _local6 + _local5;
return(true);
}
var _local6 = inputPath.lastIndexOf("[");
var _local15 = inputPath.substr(0, _local6);
var thisPath = inputPath.substr(_local6);
var output = thisPath.substr(1);
if (openBracketCloseParam()) {
} else if (openBracketOpenParam()) {
} else if (openBracketCloseBracket()) {
}
return(_local15 + output);
}
function resolve(inputPath) {
var _local8 = placeHolderLength - 1;
var _local7 = inputPath.split(placeHolderMarker);
var _local5 = [];
_local5[0] = _local7[0];
var _local1 = 1;
while (_local1 < _local7.length) {
var _local3 = _local7[_local1];
var _local6 = _local3.substr(0, _local8);
var _local2 = getPlaceHolder(_local6);
var _local4 = _local3.substr(_local8);
if (_local4.length > 0) {
_local5[_local1] = String(_local2) + _local4;
} else {
_local5[_local1] = _local2;
}
_local1++;
}
if ((_local5.length === 2) && (_local5[0] === "")) {
return(_local5[1]);
}
return(_local5.join(""));
}
function setPlaceHolder(storeThisValue) {
resolvedValues.push(storeThisValue);
var _local3 = resolvedValues.length - 1;
var _local1 = String(_local3);
var _local2 = placeHolderLength - 1;
while (_local1.length < _local2) {
_local1 = "0" + _local1;
}
return(placeHolderMarker + _local1);
}
function getPlaceHolder(id_str) {
var _local2 = !isNaN(id_str);
if (_local2) {
var _local3 = Number(id_str);
return(resolvedValues[_local3]);
}
return(resolvedValues[id_str]);
}
var thisScope = this;
var _local24 = typeof(inputPath);
var _local21 = _local24 === "string";
if (!_local21) {
return(inputPath);
}
var placeHolderMarker = "\u00B6";
var placeHolderLength = 3;
var resolvedValues = [];
resolvedValues.xx = "[";
while (inputPath.indexOf("[") > -1) {
inputPath = replaceLastBracket(inputPath);
}
var output = resolve(inputPath);
return(output);
}
function checkFlag(spriteFlag, flagRoot) {
function getFlagParts(flag) {
var _local2 = [];
var _local4 = flag.charAt(0);
while (_local4 == " ") {
flag = flag.substr(1);
_local4 = flag.charAt(0);
}
var _local3 = flag.charAt(flag.length - 1);
while (_local3 == " ") {
flag = flag.substr(0, flag.length - 1);
_local3 = flag.charAt(flag.length - 1);
}
if (flag.charAt(0) == "!") {
flag = flag.substr(1) + "!";
var _local5 = flag.indexOf("!");
var _local6 = _local5 + 1;
} else if (flag.indexOf("!=") != -1) {
var _local5 = flag.indexOf("!=");
var _local6 = _local5 + 2;
} else if (flag.indexOf("<=") != -1) {
var _local5 = flag.indexOf("<=");
var _local6 = _local5 + 2;
} else if (flag.indexOf(">=") != -1) {
var _local5 = flag.indexOf(">=");
var _local6 = _local5 + 2;
} else if (flag.indexOf("<") != -1) {
var _local5 = flag.indexOf("<");
var _local6 = _local5 + 1;
} else if (flag.indexOf(">") != -1) {
var _local5 = flag.indexOf(">");
var _local6 = _local5 + 1;
} else if (flag.indexOf("=") != -1) {
var _local5 = flag.indexOf("=");
var _local6 = _local5 + 1;
} else {
var _local5 = flag.length;
flag = flag + "!=undefined";
var _local6 = _local5 + 2;
}
_local2.push(flag.substr(0, _local5));
_local2.push(flag.substring(_local5, _local6));
_local2.push(flag.substr(_local6));
_local3 = _local2[0].charAt(_local2[0].length - 1);
while (_local3 == " ") {
_local2[0] = _local2[0].substr(0, _local2[0].length - 1);
_local3 = _local2[0].charAt(_local2[0].length - 1);
}
_local4 = _local2[2].charAt(0);
while (_local4 == " ") {
_local2[2] = _local2[2].substr(1);
_local4 = _local2[2].charAt(0);
}
return(_local2);
}
getPathValue = function (path, defaultContainer) {
var path = (path ? (path) : "");
var defaultContainer = (defaultContainer ? (defaultContainer) : "RAM");
if (typeof(path) == "string") {
path = path.split(" ").join("");
}
var startAt = path.indexOf(".");
if (startAt == undefined) {
var output = path;
} else if (startAt == -1) {
var containerIsGlobal = eval ("_global." + path);
if (path == "this") {
containerIsGlobal = true;
}
if (typeof(defaultContainer) == "string") {
var output = (containerIsGlobal ? (eval (path)) : (eval ((defaultContainer + ".") + path)));
} else {
var output = (containerIsGlobal ? (eval (path)) : (defaultContainer[path]));
}
} else {
var containerEnd = path.indexOf(".");
var containerName = path.substr(0, containerEnd);
var containerIsGlobal = eval ("_global." + containerName);
if (containerName == "this") {
containerIsGlobal = true;
}
if (containerName == "_level0") {
containerIsGlobal = true;
}
if (!containerIsGlobal) {
path = "RAM." + path;
}
var output = eval (path);
}
return(output);
};
if (spriteFlag === undefined) {
return(false);
}
var output = true;
var flagParts_array = getFlagParts(spriteFlag);
var variable = flagParts_array[0];
var operation = flagParts_array[1];
var value = flagParts_array[2];
if (isNaN(value) == false) {
value = Number(value);
}
if (value == "true") {
value = true;
}
if (value == "false") {
value = false;
}
if (value == "undefined") {
value = undefined;
}
var displayValue = getPathValue(variable, flagRoot);
switch (operation) {
case "!" :
output = (displayValue == undefined) || (displayValue == false);
break;
case "=" :
output = displayValue == value;
break;
case "!=" :
if ((!Boolean(displayValue)) && (!Boolean(value))) {
displayValue = false;
value = false;
}
output = displayValue != value;
break;
case "<" :
output = displayValue < value;
if (displayValue == undefined) {
output = false;
}
if (typeof(displayValue) == "string") {
output = false;
}
break;
case ">" :
output = displayValue > value;
if (displayValue == undefined) {
output = false;
}
if (typeof(displayValue) == "string") {
output = false;
}
break;
case "<=" :
output = displayValue <= value;
if (displayValue == undefined) {
output = false;
}
if (typeof(displayValue) == "string") {
output = false;
}
break;
case ">=" :
output = displayValue >= value;
if (displayValue == undefined) {
output = false;
}
if (typeof(displayValue) != "string") {
break;
}
output = false;
}
return(output);
}
var testResult = true;
var sf = 0;
while (sf < flag_array.length) {
var thisSpriteFlag = flag_array[sf];
testResult = checkFlag(nestedEval(thisSpriteFlag, "RAM", "RAM"), flagRoot);
if (testResult == false) {
break;
}
sf++;
}
return(testResult);
}
var s = 0;
while (s < sprites.length) {
var thisSprite = sprites[s];
var testResult = checkAllFlags(thisSprite.flags, flagRoot);
if (testResult == true) {
addSprite(thisSprite);
} else if (testResult == false) {
removeSprite(thisSprite);
}
s++;
}
}
function getImpliedValue(input) {
var _local2;
if ((input == "undefined") || (input == undefined)) {
_local2 = undefined;
} else if ((input == "true") || (input === true)) {
_local2 = Boolean(true);
} else if ((input == "false") || (input === false)) {
_local2 = Boolean(false);
} else if (isNaN(input) == false) {
_local2 = Number(input);
} else {
_local2 = input;
}
return(_local2);
}
function resolveContainerStr(containerName, thisName) {
thisName = ((typeof(thisName) === "string") ? (thisName) : "this");
var _local2 = null;
if (containerName == "this") {
_local2 = thisName;
}
if (containerName == "_root") {
_local2 = "_root";
}
if (containerName == "_level0") {
_local2 = "_root";
}
if (containerName == "_global") {
_local2 = "_global";
}
if (_global[containerName] && (_global[containerName] instanceof Object)) {
_local2 = containerName;
}
return(_local2);
}
function resolveContainer(containerName, thisRef) {
if (typeof(thisRef) === "string") {
thisRef = _this || this;
}
var _local4 = _global[containerName];
if (containerName == "this") {
_local4 = thisRef;
}
if (containerName == "_root") {
_local4 = _root;
}
if (containerName == "_level0") {
_local4 = _root;
}
if (containerName == "_global") {
_local4 = _global;
}
return(_local4);
}
function evalPath(inputPath, defaultContainer_str, thisName) {
var thisScope = this;
var thisName = (thisName || "this");
if (typeof(inputPath) == "string") {
if (!defaultContainer_str) {
var defaultContainer_str = ((typeof(thisName) === "string") ? (thisName) : "this");
}
var endAt = inputPath.indexOf(".");
if (endAt == -1) {
endAt = inputPath.length;
}
var container_str = inputPath.substr(0, endAt);
var container_str = resolveContainerStr(container_str, thisName);
if (!container_str) {
var container_str = defaultContainer_str;
endAt = -1;
}
var theRest = inputPath.substr(endAt + 1);
var fullPath = (theRest ? ((container_str + ".") + theRest) : (container_str));
var paramStart = fullPath.indexOf("(");
if (paramStart != -1) {
var paramEnd = fullPath.indexOf(")", paramStart + 1);
var param = fullPath.substring(paramStart + 1, paramEnd);
var functionPath = fullPath.substr(0, paramStart);
var thisFunction = eval (functionPath);
var param_array = String(param).split(",");
var i = 0;
while (i < param_array.length) {
param_array[i] = getImpliedValue(param_array[i]);
i++;
}
var output = thisFunction.apply(thisScope, param_array);
} else {
var output = eval (fullPath);
}
} else {
var output = inputPath;
}
return(output);
}
function nestedEval(inputPath, defaultContainer_str, thisName) {
function replaceLastBracket(inputPath) {
function openBracketCloseParam() {
var _local2 = thisPath.indexOf(")");
var _local4 = thisPath.indexOf("(");
var _local1 = thisPath.indexOf("]");
var _local3 = ((_local1 === -1) || (_local2 < _local1)) && (_local4 === -1);
if (_local2 === -1) {
_local3 = false;
}
if (!_local3) {
return(false);
}
output = (placeHolderMarker + "xx") + thisPath.substr(1);
return(true);
}
function openBracketOpenParam() {
var _local3 = thisPath.indexOf("(");
var _local4 = thisPath.indexOf("]");
var _local10 = ((_local4 === -1) || (_local3 < _local4)) && (_local3 > -1);
if (!_local10) {
return(false);
}
var _local5 = thisPath.substring(1, _local3);
_local5 = resolve(_local5);
var _local6 = evalPath(_local5, defaultContainer_str, thisName);
var _local11 = _local6 instanceof Function;
if (_local11) {
var _local7 = thisPath.indexOf(")", _local3);
var _local9 = thisPath.substring(_local3 + 1, _local7);
var _local2 = _local9.split(",");
params_ary = [];
var _local1 = 0;
while (_local1 < _local2.length) {
params_ary[_local1] = resolve(_local2[_local1]);
_local1++;
}
var _local8 = _local6.apply(thisScope, params_ary);
var _local12 = thisPath.substr(_local4 + 1);
var _local13 = setPlaceHolder(_local8);
output = _local13 + _local12;
return(true);
}
var _local12 = thisPath.substr(_local4 + 1);
trace(("ERROR: " + _local5) + " is not a function!");
output = _local12;
return(true);
}
function openBracketCloseBracket() {
var _local1 = thisPath.indexOf("]");
var _local2 = _local1 > -1;
if (!_local2) {
return(false);
}
var _local5 = thisPath.substr(_local1 + 1);
var _local4 = thisPath.substring(1, _local1);
var _local3 = evalPath(resolve(_local4), defaultContainer_str, thisName);
var _local6 = setPlaceHolder(_local3);
output = _local6 + _local5;
return(true);
}
var _local6 = inputPath.lastIndexOf("[");
var _local15 = inputPath.substr(0, _local6);
var thisPath = inputPath.substr(_local6);
var output = thisPath.substr(1);
if (openBracketCloseParam()) {
} else if (openBracketOpenParam()) {
} else if (openBracketCloseBracket()) {
}
return(_local15 + output);
}
function resolve(inputPath) {
var _local8 = placeHolderLength - 1;
var _local7 = inputPath.split(placeHolderMarker);
var _local5 = [];
_local5[0] = _local7[0];
var _local1 = 1;
while (_local1 < _local7.length) {
var _local3 = _local7[_local1];
var _local6 = _local3.substr(0, _local8);
var _local2 = getPlaceHolder(_local6);
var _local4 = _local3.substr(_local8);
if (_local4.length > 0) {
_local5[_local1] = String(_local2) + _local4;
} else {
_local5[_local1] = _local2;
}
_local1++;
}
if ((_local5.length === 2) && (_local5[0] === "")) {
return(_local5[1]);
}
return(_local5.join(""));
}
function setPlaceHolder(storeThisValue) {
resolvedValues.push(storeThisValue);
var _local3 = resolvedValues.length - 1;
var _local1 = String(_local3);
var _local2 = placeHolderLength - 1;
while (_local1.length < _local2) {
_local1 = "0" + _local1;
}
return(placeHolderMarker + _local1);
}
function getPlaceHolder(id_str) {
var _local2 = !isNaN(id_str);
if (_local2) {
var _local3 = Number(id_str);
return(resolvedValues[_local3]);
}
return(resolvedValues[id_str]);
}
var thisScope = this;
var _local24 = typeof(inputPath);
var _local21 = _local24 === "string";
if (!_local21) {
return(inputPath);
}
var placeHolderMarker = "\u00B6";
var placeHolderLength = 3;
var resolvedValues = [];
resolvedValues.xx = "[";
while (inputPath.indexOf("[") > -1) {
inputPath = replaceLastBracket(inputPath);
}
var output = resolve(inputPath);
return(output);
}
function once(func) {
var done = false;
return(function () {
return((done ? (0) : ((done = true)func.apply(this, arguments))));
});
}
function createLayers() {
_global.UNDERLAY.removeMovieClip();
_global.UNDERLAY = MAP.createEmptyMovieClip("UNDERLAY", 1);
_global.SPRITES.removeMovieClip();
_global.SPRITES = MAP.createEmptyMovieClip("SPRITES", 11);
_global.MAP_OVERLAY.removeMovieClip();
_global.MAP_OVERLAY = MAP.createEmptyMovieClip("OVERLAY", 101);
_global.OVERLAY = _global.MAP_OVERLAY;
}
function resetSpriteGrid() {
_global.SPRITE_GRID = new Array(MAP.width);
var _local3 = 0;
while (_local3 < MAP.width) {
SPRITE_GRID[_local3] = new Array(MAP.height);
var _local2 = 0;
while (_local2 < MAP.height) {
SPRITE_GRID[_local3][_local2] = [];
_local2++;
}
_local3++;
}
_global.SPRITE_GRID.gridCollide = function (xx, yy) {
var _local2 = SPRITE_GRID[xx][yy];
var _local1 = 0;
while (_local1 < _local2.length) {
_local2[_local1].gridCollide();
_local1++;
}
};
_global.SPRITE_GRID.gridLeave = function (xx, yy) {
var _local2 = SPRITE_GRID[xx][yy];
var _local1 = 0;
while (_local1 < _local2.length) {
_local2[_local1].gridLeave();
_local1++;
}
};
_global.SPRITE_GRID.add = function (xx, yy, sprite) {
var _local5 = ((xx != null) && (yy != null)) && (sprite != null);
if (_local5) {
var _local2 = SPRITE_GRID[xx][yy];
if (_local2) {
var _local3 = true;
var _local1 = 0;
while (_local1 < _local2.length) {
if (_local2[_local1] == sprite) {
_local3 = false;
break;
}
_local1++;
}
if (_local3) {
_local2.push(sprite);
}
}
}
};
_global.SPRITE_GRID.remove = function (xx, yy, sprite) {
var _local4 = ((xx != null) && (yy != null)) && (sprite != null);
if (_local4) {
var _local2 = SPRITE_GRID[xx][yy];
if (_local2) {
var _local1 = _local2.length - 1;
while (_local1 >= 0) {
if (_local2[_local1] == sprite) {
_local2.splice(_local1, 1);
}
_local1--;
}
}
}
};
_global.SPRITE_GRID.call = function (xx, yy, funcName) {
var _local2 = SPRITE_GRID[xx][yy];
var _local1 = 0;
while (_local1 < _local2.length) {
_local2[_local1][funcName]();
_local1++;
}
};
}
function createPlayer() {
var _local2 = (start_point ? (start_point.x) : 0);
var _local1 = (start_point ? (start_point.y) : 0);
player_mc = SPRITES.attachMovie("player", "player", nextDepth(SPRITES));
if (!player_mc.addListener) {
AsBroadcaster.initialize(player_mc);
}
player_mc._x = _local2;
player_mc._y = _local1;
}
function createSprites() {
SPRITES.spritesRemaining = [];
var _local2 = 0;
while (_local2 < levelData.sprites.length) {
SPRITES.spritesRemaining.push(levelData.sprites[_local2]);
_local2++;
}
SPRITES.spritesRemaining.remove = function (thisName) {
var _local1 = SPRITES.spritesRemaining.length - 1;
while (_local1 >= 0) {
if (SPRITES.spritesRemaining[_local1].name == thisName) {
SPRITES.spritesRemaining.splice(_local1, 1);
break;
}
_local1--;
}
};
addSprite = function (thisSprite) {
if (thisSprite.name == undefined) {
return(undefined);
}
var _local2 = nestedEval(thisSprite.name, "RAM", "RAM");
if (_local2 == undefined) {
return(undefined);
}
if (!(typeof(_local2) === "string")) {
return(undefined);
}
var _local4 = SPRITES[_local2];
if (!(_local4 === undefined)) {
return(undefined);
}
var _local9 = thisSprite.type;
var _local3 = _local2;
var _local5 = nextDepth(SPRITES);
var _local8 = thisSprite.position.x;
var _local7 = thisSprite.position.y;
var _local6 = thisSprite.data;
var newSprite_mc = SPRITES.attachMovie(_local9, _local3, _local5, {_x:_local8, _y:_local7, data:_local6, name:_local3});
newSprite_mc.remove = function () {
SPRITES.spritesRemaining.remove(this.name);
_this.removeSprite(this);
};
newSprite_mc.resetToStartPosition = function () {
SPRITES[this.name]._x = thisSprite.position.x;
SPRITES[this.name]._y = thisSprite.position.y;
};
newSprite_mc.respawn = function () {
_this.removeSprite(thisSprite);
_this.addSprite(thisSprite);
newSprite_mc.resetToStartPosition();
};
if (!newSprite_mc.addListener) {
AsBroadcaster.initialize(newSprite_mc);
}
};
removeSprite = function (thisSprite) {
if (thisSprite.name == undefined) {
return(undefined);
}
var _local2 = nestedEval(thisSprite.name, "RAM", "RAM");
if (_local2 == undefined) {
return(undefined);
}
if (!(typeof(_local2) === "string")) {
return(undefined);
}
var _local1 = SPRITES[_local2];
if (_local1 == undefined) {
return(undefined);
}
callUnload(_local1);
_local1._name = nextName("_removed_", SPRITES);
_local1.sendEvent("unload");
_local1.removeMovieClip();
};
SPRITES.updateSprites = function () {
updateFlaggedSprites(SPRITES.spritesRemaining, RAM, addSprite, removeSprite);
ROOT.common.sprites.updateSprites();
};
}
function waitForSpritesToDraw() {
var vow = VOW.make();
var waitList = [];
var giveUp_timeout = null;
var done = function () {
if (!(giveUp_timeout === null)) {
clearTimeout(giveUp_timeout);
}
if (!_name) {
return(undefined);
}
if (vow.promise.getStatus() === "kept") {
return(undefined);
}
vow.keep();
};
done = once(done);
giveUp_timeout = setTimeout(function () {
trace("It's taking too long to draw the sprites, revealing level now");
done();
}, maxSpriteInitWait);
setTimeout(function () {
if (SPRITES.player.image.getReadyPromise) {
waitList.push(SPRITES.player.image.getReadyPromise());
}
var _local1 = 0;
while (_local1 < SPRITES.spritesRemaining.length) {
var _local3 = SPRITES.spritesRemaining[_local1].name;
var _local2 = SPRITES[_local3];
if (_local2.image.getReadyPromise) {
waitList.push(_local2.image.getReadyPromise());
}
_local1++;
}
for (var _local4 in RAM.party) {
if (SPRITES[_local4].image.getReadyPromise) {
waitList.push(SPRITES[_local4].image.getReadyPromise());
}
}
VOW.every(waitList).then(done);
}, 33);
return(vow.promise);
}
function addAutoSorting() {
autoSorter = addAutoSort(SPRITES, 16);
react.to("unloadMap").then = function () {
clearInterval(autoSorter.loopInterval);
};
}
function addAutoScrolling() {
var scroll_mc = OVERLAY.attachMovie("scroll", "scroll", nextDepth(OVERLAY), {smoothness:0.2, mode:"chase", target:"player"});
var _local1 = OVERLAY.scroll.target;
MAP.scroll(_local1._x, _local1._y, 320, 240, 1);
react.to("mapPopulated").then = function () {
scroll_obj = addAutoScroll(MAP, scroll_mc, 320, 240, 1);
clearInterval(scroll_obj.loopInterval);
react.to("onEnterFrame").then = function () {
if (LOOP.isPaused("scroll")) {
return(undefined);
}
scroll_obj.loop();
};
};
}
function addMood(mood) {
mood = mood || "none";
_global.MOOD_MC = _this.attachMovie("MOOD_MC", "mood_mc", 10, {mood:mood});
}
_this = this;
_global.SCREEN = screen_mc;
uid = Math.random();
maxSpriteInitWait = 400;
_this = _this || (this);
if (!addListener) {
AsBroadcaster.initialize(_this);
}
callUnload = function (parent) {
function recurseClips(parent, doThis, includeSelf, isShallow) {
if (!parent) {
return(undefined);
}
if (!(parent instanceof MovieClip)) {
return(undefined);
}
if (!doThis) {
return(undefined);
}
if (includeSelf === undefined) {
includeSelf = true;
}
if (isShallow === undefined) {
isShallow = false;
}
var reportedPath;
var actualPath;
for (var nam in parent) {
if (!nam) {
continue;
}
var thisChild = parent[nam];
if (thisChild instanceof MovieClip) {
reportedPath = String(eval (thisChild._target));
actualPath = (String(eval (parent._target)) + ".") + nam;
if (reportedPath.indexOf(actualPath) != -1) {
if (isShallow) {
doThis.call(thisChild, thisChild);
}
if (!isShallow) {
recurseClips(thisChild, doThis);
}
}
}
}
if (includeSelf) {
doThis.call(parent, parent);
}
}
function unloadThis(thisItem) {
thisItem.onKillFocus(null);
thisItem.dispatchEvent({type:"unload"});
thisItem.broadcastMessage("unload");
thisItem.unload();
thisItem.onUnload();
delete thisItem.onUnload;
thisItem.removeEventListener("keyDown", thisItem);
thisItem.removeEventListener("keyUp", thisItem);
Key.removeListener(thisItem);
Mouse.removeListener(thisItem);
for (var _local3 in thisItem._listeners) {
var _local2 = thisItem._listeners[_local3];
thisItem.removeListener(_local2);
}
thisItem.addListener = function () {
};
}
recurseClips(parent, unloadThis);
};
if (!react) {
react = make_react(_this);
}
onUnload = function () {
delete _this.onUnload;
callUnload(_this);
};
onEnterFrame = function () {
sendEvent("onEnterFrame");
};
if (levelData.map.format == 3) {
makeMap = makeMap3;
} else {
makeMap = makeMap2;
}
if (_global.nextDepth === undefined) {
_global.nextDepth = function (this_mc, maxDepth, minDepth) {
this_mc = (this_mc ? (this_mc) : _root);
var _local4 = ((minDepth != undefined) ? (minDepth) : 1);
var _local5 = (maxDepth ? (maxDepth) : 1048500);
for (var _local6 in this_mc) {
var _local2 = this_mc[_local6].getDepth();
if ((_local2 < _local5) && (_local2 >= _local4)) {
_local4 = _local2 + 1;
}
}
return(_local4);
};
}
addAutoSort = function (spriteLayer_mc, ignoreList) {
var _this = new Object();
_this.spriteLayer_mc = spriteLayer_mc;
_this.ignoreList = ignoreList || ([]);
_this.parallelSprites = 10;
_this.loop = function () {
if (_this.spriteLayer_mc._name != undefined) {
for (var _local7 in spriteLayer_mc) {
var _local5 = true;
var _local3 = 0;
while (_local3 < ignoreList.length) {
if (_local7 == ignoreList[_local3]) {
_local5 = false;
}
_local3++;
}
if (_local5 == true) {
var _local1 = _this.spriteLayer_mc[_local7];
if (_local1._y != 0) {
var _local2 = _local1._y * _this.parallelSprites;
if (_local1.overAll) {
_local2 = (2880 * _this.parallelSprites) + _this.parallelSprites;
} else if (_local1.underAll) {
_local2 = _local2 - 2880;
}
var _local6 = _local1.getDepth();
var _local4 = _this.spriteLayer_mc.getInstanceAtDepth(_local2);
while ((_local4 != undefined) && (_local4 != _local1)) {
_local2++;
_local4 = _this.spriteLayer_mc.getInstanceAtDepth(_local2);
}
_local1.swapDepths(_local2);
}
}
}
} else {
clearInterval(_this.loopInterval);
}
};
_this.loopInterval = setInterval(_this.loop, 33.3333333333333);
return(_this);
};
addAutoScroll = function (map_mc, target_mc, screenWidth, screenHeight, smoothness) {
var _this = new Object();
_this.map_mc = map_mc;
_this.target_mc = target_mc;
_this.screenWidth = (screenWidth ? (screenWidth) : 320);
_this.screenHeight = (screenHeight ? (screenHeight) : 240);
_this.smoothness = (smoothness ? (smoothness) : 1);
_this.loop = function () {
if (_this.target_mc) {
_this.map_mc.scroll(_this.target_mc._x, _this.target_mc._y, _this.screenWidth, _this.screenHeight, _this.smoothness);
}
};
_this.loopInterval = setInterval(_this.loop, 33.3333333333333);
return(_this);
};
if (_global.nextName === undefined) {
_global.nextName = function (base_str, parent_mc) {
if (base_str && (parent_mc)) {
var _local2 = 0;
var _local1 = base_str;
while (parent_mc[_local1] != undefined) {
_local1 = base_str + _local2;
_local2++;
}
}
return(_local1);
};
}
var vow_version = 3.9;
var vow_scope = function () {
function forEach(array, callback) {
var _local1 = 0;
while (_local1 < array.length) {
callback(array[_local1], _local1);
_local1++;
}
}
function enlighten(queue, fate) {
forEach(queue, function (func) {
setTimeout(function () {
func(fate);
}, 0);
});
}
var _local12 = vow_version;
var vow_output = {version:_local12, make:function () {
function enqueue(resolution, func, vow) {
var _local2 = ((resolution === "kept") ? (keepers) : (breakers));
var isBroken = Boolean(_local2 === breakers);
_local2[_local2.length] = ((!(typeof(func) === "function")) ? (vow[resolution]) : (function (value) {
try {
_local1 = func(value)_local1if (_local1 && (_local1.is_promise === true)) {
if (isBroken) {
_local1.then(vow.doBreak, vow.doBreak)} else {
_local1.then(vow.keep, vow.doBreak)}
} else {
if (isBroken) {
vow.doBreak(_local1)}
if (!isBroken) {
vow.keep(_local1)}
}
} catch(e) {
vow.doBreak(e)}
}));
}
function herald(state, value, queue) {
if (!(status === "pending")) {
return(undefined);
}
fate = value;
status = state;
enlighten(queue, fate);
keepers = [];
breakers = [];
}
function get_then() {
return(set_then);
}
var breakers = [];
var fate = undefined;
var keepers = [];
var status = "pending";
var promise = {version:vow_output.version, is_promise:true, getStatus:function () {
return(status);
}, getValue:function () {
return(fate);
}, doBreak:function (value) {
herald("broken", value, breakers);
return(this.promise);
}, keep:function (value) {
herald("kept", value, keepers);
return(this.promise);
}};
var set_then = function (kept, broken) {
var _local1 = VOW.make();
switch (status) {
case "pending" :
enqueue("kept", kept, _local1);
enqueue("break", broken, _local1);
break;
case "kept" :
enqueue("kept", kept, _local1);
enlighten(keepers, fate);
keepers = [];
break;
case "broken" :
enqueue("break", broken, _local1);
enlighten(breakers, fate);
breakers = [];
}
return(_local1);
};
promise.addProperty("then", get_then, set_then);
promise.promise = promise;
return(promise);
}, every:function (array) {
var remaining = array.length;
var results = [];
var vow = VOW.make();
if (!remaining) {
vow.keep([]);
} else {
forEach(array, function (promise, i) {
promise.then(function (value) {
results[i] = value;
remaining--;
if (remaining === 0) {
vow.keep(results);
}
}, function (reason) {
remaining = null;
vow.doBreak(reason);
});
});
}
return(vow.promise);
}, everyTried:function (array) {
var remaining = array.length;
var results = [];
var vow = VOW.make();
if (!remaining) {
vow.keep([]);
} else {
forEach(array, function (promise, i) {
promise.then(function (value) {
results[i] = value;
remaining--;
if (remaining === 0) {
vow.keep(results);
}
}, function (failReason) {
results[i] = undefined;
remaining--;
if (remaining === 0) {
vow.keep(results);
}
});
});
}
return(vow.promise);
}, first:function (array) {
function check() {
remaining--;
if ((remaining === 0) && (!found)) {
vow.doBreak();
}
}
var found = false;
var remaining = array.length;
var vow = VOW.make();
if (remaining === 0) {
vow.doBreak(array);
} else {
forEach(array, function (promise) {
promise.then(function (value) {
if (!found) {
found = true;
vow.keep(value);
}
check();
}, check);
});
}
return(vow.promise);
}, kept:function (value) {
var _local1 = VOW.make();
_local1.keep(value);
return(_local1.promise);
}, broken:function (reason) {
var _local1 = VOW.make();
_local1.doBreak(reason);
return(_local1.promise);
}, wait:function (milliseconds) {
var _local1 = function (input) {
var vow = VOW.make();
var milliseconds = ((milliseconds === undefined) ? 0 : (milliseconds));
setTimeout(function () {
vow.keep(input);
}, milliseconds);
return(vow.promise);
};
return(_local1);
}, firstWait:function (milliseconds) {
var vow = VOW.make();
milliseconds = ((milliseconds === undefined) ? 0 : (milliseconds));
setTimeout(function () {
vow.keep({});
}, milliseconds);
return(vow.promise);
}, start:function (value) {
var _local1 = VOW.make();
_local1.keep(value);
return(_local1.promise);
}, runSequence:function (sequence) {
var _local4 = VOW.make().keep();
var _local1 = 0;
while (_local1 < sequence.length) {
var _local3 = sequence[_local1];
var _local2 = _local4.then(_local3);
if (!(_local2.is_promise === true)) {
_local2 = VOW.kept();
}
_local4 = _local2;
_local1++;
}
var _local6 = _local4;
return(_local6);
}, wrap:function (func, callbackIndex) {
if (callbackIndex === undefined) {
var callbackIndex = 0;
}
return(function () {
var vow = VOW.make();
if (callbackIndex === undefined) {
var callbackIndex = (arguments.length - 1);
}
arguments[callbackIndex] = function (output) {
vow.keep(output);
};
func.apply(this, arguments);
return(vow.promise);
});
}, preApply:function (func, param) {
var args = arguments.slice(1);
return(function () {
return(func.apply(null, args));
});
}, failThru:function (failReason) {
return(failReason);
}, null:null};
vow_output.any = (vow_output.allResolved = vow_output.everyTried);
return(vow_output);
};
var VOW = vow_scope();
delete vow_scope;
delete vow_version;
mdm.Forms.MainForm.title = levelData.name;
_global.MAP = makeMap("map_mc", _this, 1);
_global.PANORAMA.removeMovieClip();
_global.PANORAMA = _this.createEmptyMovieClip("PANORAMA", 0);
MOOD_MC.removeExtraClips();
prevMood = "none";
MOOD_MC.mood = "none";
addMood(prevMood);
react.to("unload").then = function () {
_this.mood_mc.removeMovieClip();
};
MAP._visible = false;
MAP.onLoad = function () {
createLayers();
var initSprites_vow = VOW.make();
SPRITES.init_prom = initSprites_vow.promise;
resetSpriteGrid();
createPlayer();
createSprites();
SPRITES.updateSprites();
addAutoSorting();
addAutoScrolling();
MAP._visible = true;
var _local1 = waitForSpritesToDraw();
_local1.then(function () {
if (!_name) {
return(undefined);
}
TRANSITION.doFadeIn();
});
MAP.onUnload = function () {
sendEvent("unloadMap");
};
_local1.then(function () {
_this.onLoad();
initSprites_vow.keep();
sendEvent("onNewLevel", {uid:uid}, ROOT);
});
sendEvent("mapPopulated");
};
react.to("init").then = function () {
MAP.drawObj(levelData.map);
};
react.to("unload").then = function () {
ROOT.sendEvent("onRemoveLevel");
var _local2 = function (varName) {
if (!varName) {
return(undefined);
}
callUnload(_global[varName]);
_global[varName] = null;
delete _global[varname];
};
_local2("MAP");
_local2("SPRITES");
_local2("PANORAMA");
_local2("UNDERLAY");
_local2("MAP_OVERLAY");
_local2("SPRITE_GRID");
_local2("SCREEN");
LOOP.removeSet("player");
LOOP.removeSet("sprites");
LOOP.removeSet("scroll");
};
sendEvent("init");
Symbol 450 MovieClip Frame 1
_this = this;
if (_global.nextDepth === undefined) {
_global.nextDepth = function (this_mc, maxDepth, minDepth) {
this_mc = (this_mc ? (this_mc) : _root);
var _local4 = ((minDepth != undefined) ? (minDepth) : 1);
var _local5 = (maxDepth ? (maxDepth) : 1048500);
for (var _local6 in this_mc) {
var _local2 = this_mc[_local6].getDepth();
if ((_local2 < _local5) && (_local2 >= _local4)) {
_local4 = _local2 + 1;
}
}
return(_local4);
};
}
shineMask_mc = _this.createEmptyMovieClip("shineMask_mc", 0);
init_targetClip = targetClip || null;
get_targetClip = function () {
return(_targetClip);
};
set_targetClip = function (newValue) {
if (typeof(newValue) == "string") {
newValue = _parent[newValue];
}
_targetClip = newValue;
_x = _targetClip._x;
_y = _targetClip._y;
shineMask_pic.dispose();
delete _this.shineMask_pic;
shine_mc.gotoAndStop(1);
shineMask_pic = new flash.display.BitmapData(_targetClip._width, _targetClip._height, true, 0);
var _local2 = _targetClip.transform.matrix;
_local2.tx = (_local2.ty = 0);
shineMask_pic.draw(_targetClip, _local2);
shineMask_mc.attachBitmap(shineMask_pic, 0);
shine_mc._width = shineMask_pic.width;
shine_mc._height = shineMask_pic.height;
shineMask_mc.cacheAsBitmap = true;
shine_mc.cacheAsBitmap = true;
shine_mc.setMask(shineMask_mc);
shine_mc.play();
};
this.addProperty("targetClip", get_targetClip, set_targetClip);
targetClip = init_targetClip;
Symbol 451 MovieClip [titleScreen_mc] Frame 1
function sendEvent(evt_str, evt, evtEmitter) {
evtEmitter = (evtEmitter || (_this)) || this;
var _local4 = evt instanceof Object;
if (_local4 === false) {
evt = {data:evt};
}
evt.type = evt_str;
if (evtEmitter.dispatchEvent) {
evt.type = evt_str;
evtEmitter.dispatchEvent(evt);
} else if (evtEmitter.broadcastMessage) {
evtEmitter.broadcastMessage(evt_str, evt);
}
}
function make_react(defaultUnloadEmitter) {
function newReaction(eventName, newSettings) {
function get_then() {
return(reaction.then);
}
function set_then(new_func) {
reaction.then = new_func;
var _local1 = new_func instanceof Function;
var _local2 = reaction.tellThese.length > 0;
if (_local1 || (_local2)) {
listen();
if (!(reaction.untilTimeout === undefined)) {
monad.until(reaction.untilTimeout);
}
} else {
unListen();
clearTimeout(reaction.untilId);
}
}
function listen() {
if (reaction.hasListener === true) {
return(null);
}
if (reaction.emitter === undefined) {
return(null);
}
if (reaction.emitter.addEventListener) {
reaction.emitter.addEventListener(reaction.eventName, reaction.eventTarget);
} else if (reaction.emitter.addListener) {
reaction.emitter.addListener(reaction.eventTarget);
} else {
var _local1 = ((reaction.emitter._name === undefined) ? "[object]" : (("\"" + reaction.emitter._name) + "\""));
trace(((("ERROR: " + _local1) + " cannot send events. (") + reaction.eventName) + ")");
return(null);
}
reaction.hasListener = true;
}
function unListen() {
if (reaction.hasListener === false) {
return(null);
}
if (reaction.emitter === undefined) {
return(null);
}
if (reaction.emitter.removeEventListener) {
reaction.emitter.removeEventListener(reaction.eventName, reaction.eventTarget);
} else {
reaction.emitter.removeListener(reaction.eventTarget);
}
reaction.hasListener = false;
}
var reaction = {};
reaction.uid = Math.floor(Math.random() * 99);
reaction.hasListener = false;
reaction.eventName = eventName;
reaction.emitter = defaultUnloadEmitter;
reaction.fireOnce = false;
reaction.eventTarget = {};
reaction.eventTarget[reaction.eventName];
reaction.untilTimeout = undefined;
reaction.untilId = undefined;
reaction.tellThese = [];
for (var _local12 in newSettings) {
reaction[_local12] = newSettings[_local12];
}
var monad = ((reaction.monad = {}));
monad.addProperty("then", get_then, set_then);
monad.then = undefined;
monad.unListen = unListen;
monad.cleanup = function () {
for (var _local1 in reaction.tellThese) {
reaction.tellThese.splice(_local1, 1);
}
monad.then = undefined;
};
monad.disable = function () {
monad.cleanup();
monad.forget();
};
monad.fire = function () {
if (!(monad.then === reaction.then)) {
trace("WARNING: 'then' property was deleted. Now restoring it with the current reaction.");
var _local7 = monad.then;
monad.addProperty("then", get_then, set_then);
monad.then = _local7;
}
var _local6 = arguments.slice();
var _local4 = _local6[0];
monad.then.apply(null, _local6);
var _local2 = 0;
while (_local2 < reaction.tellThese.length) {
if (!reaction.tellThese[_local2].eventTarget) {
} else if (!reaction.tellThese[_local2].eventName) {
} else {
var _local3 = {};
for (var _local5 in _local4) {
_local3[_local5] = _local4[_local5];
}
_local3.type = reaction.tellEventName;
sendEvent(reaction.tellThese[_local2].eventName, _local3, reaction.tellThese[_local2].eventTarget);
}
_local2++;
}
if (reaction.fireOnce === true) {
monad.then = undefined;
}
};
reaction.eventTarget[reaction.eventName] = monad.fire;
monad.tell = function (newEventTarget, newEventName) {
if (!newEventTarget) {
return(monad);
}
if (newEventName instanceof Object) {
newEventName = newEventName.about || (newEventName.to);
}
if (!newEventName) {
newEventName = reaction.eventName;
}
var _local2 = {eventTarget:newEventTarget, eventName:newEventName};
reaction.tellThese.push(_local2);
listen();
return(monad);
};
monad.once = function () {
reaction.fireOnce = true;
return(monad);
};
monad.until = function (wait_ms) {
var _local1 = !isNaN(wait_ms);
if (_local1 === false) {
return(monad);
}
clearTimeout(reaction.untilId);
reaction.untilId = setTimeout(function () {
monad.then = undefined;
}, wait_ms);
reaction.untilTimeout = wait_ms;
return(monad);
};
monad.from = function (newEmitter) {
var _local3 = (newEmitter instanceof MovieClip) || (newEmitter instanceof Object);
if (_local3 === false) {
return(monad);
}
var _local1 = reaction.hasListener;
if (_local1) {
unListen();
}
reaction.emitter = newEmitter;
if (_local1) {
listen();
}
return(monad);
};
monad.forget = function () {
for (var _local1 in allReactions) {
if (!(allReactions[_local1] === reaction)) {
continue;
}
allReactions.splice(_local1, 1);
}
return(monad);
};
return(reaction);
}
var react = {};
var allReactions = [];
react.to = function (eventName, settings) {
var _local1 = newReaction(eventName, settings);
var _local2 = _local1.monad;
allReactions.push(_local1);
return(_local2);
};
var reactOnce = {};
reactOnce.to = function (eventName, settings) {
if (!settings) {
settings = {};
}
settings.fireOnce = true;
return(react.to(eventName, settings));
};
react.once = function () {
return(reactOnce);
};
react.unload = function (fireUnloadEvents) {
if (fireUnloadEvents === undefined) {
fireUnloadEvents = true;
}
for (var _local2 in allReactions) {
allReactions[_local2].monad.unListen();
allReactions.splice(_local2, 1);
if (fireUnloadEvents && (allReactions[_local2].eventName === "unload")) {
allReactions[_local2].monad.fire();
}
allReactions[_local2].monad.cleanup();
}
};
if (defaultUnloadEmitter) {
react.to("unload").forget().then = function () {
react.unload(true);
};
}
return(react);
}
function onUnload() {
sendEvent("unload");
}
function once(func) {
var done = false;
return(function () {
return((done ? (0) : ((done = true)func.apply(this, arguments))));
});
}
function done_definition() {
react_to_key.disable();
removeListeners();
newGame();
_this.removeMovieClip();
}
function enableClick() {
react_to_key = react.once().to("onKeyUp").from(Key);
react_to_key.then = done;
_this.onMouseDown = function () {
var _local2 = watermark_mc.hitTest(_root._xmouse, _root._ymouse, false);
if (_local2 && (watermark.url)) {
getURL (watermark.url, "_blank");
} else {
done();
}
};
}
function removeListeners() {
onMouseDown = null;
delete onMouseDown;
react_to_key.disable();
}
stop();
_this = this;
if (!_this.addListener) {
AsBroadcaster.initialize(_this);
}
if (!react) {
var react = make_react(_this);
}
if (_global.nextDepth === undefined) {
_global.nextDepth = function (this_mc, maxDepth, minDepth) {
this_mc = (this_mc ? (this_mc) : _root);
var _local4 = ((minDepth != undefined) ? (minDepth) : 1);
var _local5 = (maxDepth ? (maxDepth) : 1048500);
for (var _local6 in this_mc) {
var _local2 = this_mc[_local6].getDepth();
if ((_local2 < _local5) && (_local2 >= _local4)) {
_local4 = _local2 + 1;
}
}
return(_local4);
};
}
watermark = ROM.titleScreen.watermark;
start_mc.swapDepths(1);
start_mc._visible = Boolean(!(ROM.titleScreen.showStartMessage === false));
var react_to_key;
done = once(done_definition);
bg_mc.complete = function () {
_visible = true;
};
bg_mc.animDone = enableClick;
bg_mc.error = done;
if (typeof(ROM.titleScreen) == "string") {
bg_mc.file = ROM.titleScreen;
Key.addListener(key);
} else if (typeof(ROM.titleScreen.image) == "string") {
bg_mc.file = ROM.titleScreen.image;
watermark_mc._x = watermark.position.x;
watermark_mc._y = watermark.position.y;
watermark_mc._xscale = (watermark_mc._yscale = watermark.scale);
waterText = watermark_mc.createTextField("waterText", nextDepth(watermark_mc) + 1, 0, 0, 100, 22);
waterText.autoSize = true;
waterText.selectable = false;
waterText_fmt = new TextFormat();
waterText_fmt.font = "_sans";
waterText_fmt.color = 43775;
waterText.text = watermark.text;
waterText.setTextFormat(waterText_fmt);
if (watermark.url) {
watermark_mc.complete = function () {
shine_mc.targetClip = watermark_mc;
};
watermark_mc.error = watermark_mc.complete;
}
watermark_mc.file = watermark.image;
if (watermark_mc.brightness) {
init_brightness = watermark_mc.brightness;
} else if ((watermark_mc.transform.colorTransform.redMultiplier == watermark_mc.transform.colorTransform.greenMultiplier) && (watermark_mc.transform.colorTransform.redMultiplier == watermark_mc.transform.colorTransform.blueMultiplier)) {
init_brightness = (watermark_mc.transform.colorTransform.redOffset * 100) / 255;
} else {
init_brightness = 0;
}
get_brightness = function () {
return(watermark_mc.transform.colorTransform.redOffset);
};
set_brightness = function (newValue) {
var _local2 = _alpha / 100;
var _local1 = (newValue * 255) / 100;
watermark_mc.transform.colorTransform = new flash.geom.ColorTransform(1, 1, 1, _local2, _local1, _local1, _local1, 0);
};
watermark_mc.addProperty("brightness", get_brightness, set_brightness);
watermark_mc.brightness = watermark.brightness;
delete init_brightness;
delete get_brightness;
delete set_brightness;
if (watermark.glow <= 0) {
color = 0;
} else {
color = 16777215 /* 0xFFFFFF */;
}
alpha = Math.abs(watermark.glow) / 100;
blurX = 20;
blurY = 20;
strength = 3;
quality = 2;
inner = false;
knockout = false;
glowEffect = new flash.filters.GlowFilter(color, alpha, blurX, blurY, strength, quality, inner, knockout);
watermark_mc.filters = [glowEffect];
Key.addListener(key);
} else {
done();
}
if (watermark.url) {
watermark_mc.onPress = function () {
};
bright_up = watermark.brightness;
if (watermark.brightness < 0) {
bright_down = watermark.brightness + 20;
} else {
bright_down = watermark.brightness - 20;
}
watermark_mc.onRollOver = function () {
watermark_mc.brightness = bright_down;
};
watermark_mc.onRollOut = function () {
watermark_mc.brightness = bright_up;
};
}
react.to("unload").then = function () {
removeListeners();
};
Instance of Symbol 43 MovieClip [imageLoader] "bg_mc" in Symbol 451 MovieClip [titleScreen_mc] Frame 1
//component parameters
onClipEvent (construct) {
file = "";
scaleContent = true;
enabled = true;
visible = true;
}
Instance of Symbol 43 MovieClip [imageLoader] "watermark_mc" in Symbol 451 MovieClip [titleScreen_mc] Frame 1
//component parameters
onClipEvent (construct) {
file = "";
scaleContent = false;
enabled = true;
visible = true;
}
Instance of Symbol 450 MovieClip "shine_mc" in Symbol 451 MovieClip [titleScreen_mc] Frame 1
//component parameters
onClipEvent (construct) {
targetClip = "";
}
Symbol 452 MovieClip [loadSave] Frame 2
stop();
Instance of Symbol 116 MovieClip [Button] "save_btn" in Symbol 452 MovieClip [loadSave] Frame 2
//component parameters
onClipEvent (construct) {
icon = "";
label = "Save";
labelPlacement = "right";
selected = false;
toggle = false;
enabled = true;
visible = true;
minHeight = 0;
minWidth = 0;
}
onClipEvent (load) {
function __f_click(eventObj) {
ROOT.saveGame(RAM.gameId);
_root.focusManager.setFocus(null);
_parent.play();
}
this.addEventListener("click", __f_click);
}
onClipEvent (load) {
function __f_focusIn(eventObj) {
setFocus(null);
_root.focusManager.setFocus(null);
}
this.addEventListener("focusIn", __f_focusIn);
}
Instance of Symbol 116 MovieClip [Button] "load_btn" in Symbol 452 MovieClip [loadSave] Frame 2
//component parameters
onClipEvent (construct) {
icon = "";
label = "Load";
labelPlacement = "right";
selected = false;
toggle = false;
enabled = true;
visible = true;
minHeight = 0;
minWidth = 0;
}
onClipEvent (load) {
function __f_click(eventObj) {
ROOT.loadGame(RAM.gameId);
_root.focusManager.setFocus(null);
_parent.play();
}
this.addEventListener("click", __f_click);
}
onClipEvent (load) {
function __f_focusIn(eventObj) {
setFocus(null);
_root.focusManager.setFocus(null);
}
this.addEventListener("focusIn", __f_focusIn);
}
Symbol 457 MovieClip Frame 1
_this = this;
_x = Math.floor(_x);
_y = Math.floor(_y);
__width = Math.floor(_width);
__height = Math.floor(_height);
_yscale = 100;
_xscale = 100;
fade_mc._visible = false;
fade_mc._width = __width;
fade_mc._height = __height;
marker._visible = false;
_this.createEmptyMovieClip("background_mc", 1);
background_pic = new flash.display.BitmapData(__width, __height, true, 0);
background_mc.attachBitmap(background_pic, 0, true, false);
background_mc.cacheAsBitmap = true;
background_mc.setMask(fade_mc);
background_mc.swapDepths(fade_mc);
drawRect = function (pic, x, y, w, h) {
background_mc.beginBitmapFill(pic);
background_mc.moveTo(x, y);
background_mc.lineTo(x + w, y);
background_mc.lineTo(x + w, y + h);
background_mc.lineTo(x, y + h);
background_mc.lineTo(x, y);
background_mc.endFill();
};
displayBackground = function () {
var _local3 = new flash.display.BitmapData(32, 32, true, 0);
_local3.draw(image_mc);
var _local4 = new flash.geom.Rectangle(8, 8, 16, 16);
var _local15 = new flash.geom.Rectangle(0, 8, 8, 16);
var _local14 = new flash.geom.Rectangle(24, 8, 8, 16);
var _local9 = new flash.geom.Rectangle(8, 0, 16, 8);
var _local8 = new flash.geom.Rectangle(8, 24, 16, 8);
var _local10 = Math.ceil((__height - 16) / 16);
var _local13 = Math.ceil((__width - 16) / 16);
var _local2 = 0;
while (_local2 < _local10) {
var _local1 = 0;
while (_local1 < _local13) {
var _local6 = new flash.geom.Point(8 + (_local1 * _local4.width), 8 + (_local2 * _local4.height));
background_pic.copyPixels(_local3, _local4, _local6);
if (_local2 == (_local10 - 1)) {
var _local7 = new flash.geom.Point(8 + (_local1 * _local9.width), 0);
var _local5 = new flash.geom.Point(8 + (_local1 * _local8.width), __height - 8);
background_pic.copyPixels(_local3, _local9, _local7);
background_pic.copyPixels(_local3, _local8, _local5);
}
_local1++;
}
var _local11 = new flash.geom.Point(0, 8 + (_local2 * _local15.height));
var _local12 = new flash.geom.Point(__width - 8, 8 + (_local2 * _local14.height));
background_pic.copyPixels(_local3, _local15, _local11);
background_pic.copyPixels(_local3, _local14, _local12);
_local2++;
}
var _local16 = new flash.geom.Rectangle(0, 0, 8, 8);
var _local17 = new flash.geom.Point(0, 0);
background_pic.copyPixels(_local3, _local16, _local17);
_local16 = new flash.geom.Rectangle(0, 24, 8, 8);
_local17 = new flash.geom.Point(0, __height - 8);
background_pic.copyPixels(_local3, _local16, _local17);
_local16 = new flash.geom.Rectangle(24, 0, 8, 8);
_local17 = new flash.geom.Point(__width - 8, 0);
background_pic.copyPixels(_local3, _local16, _local17);
_local16 = new flash.geom.Rectangle(24, 24, 8, 8);
_local17 = new flash.geom.Point(__width - 8, __height - 8);
background_pic.copyPixels(_local3, _local16, _local17);
_this.image_mc.unloadMovie();
};
imageLoader = new MovieClipLoader();
initImage = image;
_image = "";
_this.getImage = function () {
return(_image);
};
_this.setImage = function (newValue, doEvent) {
if (newValue != _this._image) {
_this._image = newValue;
_this.image_mc.unloadMovie();
var _local3 = new flash.geom.Rectangle(0, 0, __width, __height);
background_pic.fillRect(_local3, 0);
_this.createEmptyMovieClip("image_mc", 0);
_this.image_mc._alpha = 0;
_this.image_mc.attachMovie(newValue, "image", 0);
if ((_this.image_mc._width == undefined) || (_this.image_mc._width == 0)) {
var _local2 = flash.display.BitmapData.loadBitmap(newValue);
_this.image_mc.attachBitmap(_local2, 0);
if (_this.image_mc._width == 0) {
imageLoader.onLoadInit = function () {
displayBackground();
};
imageLoader.loadClip(newValue, image_mc);
} else {
displayBackground();
}
} else {
displayBackground();
}
}
};
_this.addProperty("image", _this.getImage, _this.setImage);
image = initImage;
Symbol 459 MovieClip [textbox_mc] Frame 1
function sendEvent(evt_str, evt, evtEmitter) {
evtEmitter = (evtEmitter || (_this)) || this;
var _local4 = evt instanceof Object;
if (_local4 === false) {
evt = {data:evt};
}
evt.type = evt_str;
if (evtEmitter.dispatchEvent) {
evt.type = evt_str;
evtEmitter.dispatchEvent(evt);
} else if (evtEmitter.broadcastMessage) {
evtEmitter.broadcastMessage(evt_str, evt);
}
}
function sendEvent(evt_str, evt, evtEmitter) {
evtEmitter = (evtEmitter || (_this)) || this;
var _local4 = evt instanceof Object;
if (_local4 === false) {
evt = {data:evt};
}
evt.type = evt_str;
if (evtEmitter.dispatchEvent) {
evt.type = evt_str;
evtEmitter.dispatchEvent(evt);
} else if (evtEmitter.broadcastMessage) {
evtEmitter.broadcastMessage(evt_str, evt);
}
}
function make_react(defaultUnloadEmitter) {
function newReaction(eventName, newSettings) {
function get_then() {
return(reaction.then);
}
function set_then(new_func) {
reaction.then = new_func;
var _local1 = new_func instanceof Function;
var _local2 = reaction.tellThese.length > 0;
if (_local1 || (_local2)) {
listen();
if (!(reaction.untilTimeout === undefined)) {
monad.until(reaction.untilTimeout);
}
} else {
unListen();
clearTimeout(reaction.untilId);
}
}
function listen() {
if (reaction.hasListener === true) {
return(null);
}
if (reaction.emitter === undefined) {
return(null);
}
if (reaction.emitter.addEventListener) {
reaction.emitter.addEventListener(reaction.eventName, reaction.eventTarget);
} else if (reaction.emitter.addListener) {
reaction.emitter.addListener(reaction.eventTarget);
} else {
var _local1 = ((reaction.emitter._name === undefined) ? "[object]" : (("\"" + reaction.emitter._name) + "\""));
trace(((("ERROR: " + _local1) + " cannot send events. (") + reaction.eventName) + ")");
return(null);
}
reaction.hasListener = true;
}
function unListen() {
if (reaction.hasListener === false) {
return(null);
}
if (reaction.emitter === undefined) {
return(null);
}
if (reaction.emitter.removeEventListener) {
reaction.emitter.removeEventListener(reaction.eventName, reaction.eventTarget);
} else {
reaction.emitter.removeListener(reaction.eventTarget);
}
reaction.hasListener = false;
}
var reaction = {};
reaction.uid = Math.floor(Math.random() * 99);
reaction.hasListener = false;
reaction.eventName = eventName;
reaction.emitter = defaultUnloadEmitter;
reaction.fireOnce = false;
reaction.eventTarget = {};
reaction.eventTarget[reaction.eventName];
reaction.untilTimeout = undefined;
reaction.untilId = undefined;
reaction.tellThese = [];
for (var _local12 in newSettings) {
reaction[_local12] = newSettings[_local12];
}
var monad = ((reaction.monad = {}));
monad.addProperty("then", get_then, set_then);
monad.then = undefined;
monad.unListen = unListen;
monad.cleanup = function () {
for (var _local1 in reaction.tellThese) {
reaction.tellThese.splice(_local1, 1);
}
monad.then = undefined;
};
monad.disable = function () {
monad.cleanup();
monad.forget();
};
monad.fire = function () {
if (!(monad.then === reaction.then)) {
trace("WARNING: 'then' property was deleted. Now restoring it with the current reaction.");
var _local7 = monad.then;
monad.addProperty("then", get_then, set_then);
monad.then = _local7;
}
var _local6 = arguments.slice();
var _local4 = _local6[0];
monad.then.apply(null, _local6);
var _local2 = 0;
while (_local2 < reaction.tellThese.length) {
if (!reaction.tellThese[_local2].eventTarget) {
} else if (!reaction.tellThese[_local2].eventName) {
} else {
var _local3 = {};
for (var _local5 in _local4) {
_local3[_local5] = _local4[_local5];
}
_local3.type = reaction.tellEventName;
sendEvent(reaction.tellThese[_local2].eventName, _local3, reaction.tellThese[_local2].eventTarget);
}
_local2++;
}
if (reaction.fireOnce === true) {
monad.then = undefined;
}
};
reaction.eventTarget[reaction.eventName] = monad.fire;
monad.tell = function (newEventTarget, newEventName) {
if (!newEventTarget) {
return(monad);
}
if (newEventName instanceof Object) {
newEventName = newEventName.about || (newEventName.to);
}
if (!newEventName) {
newEventName = reaction.eventName;
}
var _local2 = {eventTarget:newEventTarget, eventName:newEventName};
reaction.tellThese.push(_local2);
listen();
return(monad);
};
monad.once = function () {
reaction.fireOnce = true;
return(monad);
};
monad.until = function (wait_ms) {
var _local1 = !isNaN(wait_ms);
if (_local1 === false) {
return(monad);
}
clearTimeout(reaction.untilId);
reaction.untilId = setTimeout(function () {
monad.then = undefined;
}, wait_ms);
reaction.untilTimeout = wait_ms;
return(monad);
};
monad.from = function (newEmitter) {
var _local3 = (newEmitter instanceof MovieClip) || (newEmitter instanceof Object);
if (_local3 === false) {
return(monad);
}
var _local1 = reaction.hasListener;
if (_local1) {
unListen();
}
reaction.emitter = newEmitter;
if (_local1) {
listen();
}
return(monad);
};
monad.forget = function () {
for (var _local1 in allReactions) {
if (!(allReactions[_local1] === reaction)) {
continue;
}
allReactions.splice(_local1, 1);
}
return(monad);
};
return(reaction);
}
var react = {};
var allReactions = [];
react.to = function (eventName, settings) {
var _local1 = newReaction(eventName, settings);
var _local2 = _local1.monad;
allReactions.push(_local1);
return(_local2);
};
var reactOnce = {};
reactOnce.to = function (eventName, settings) {
if (!settings) {
settings = {};
}
settings.fireOnce = true;
return(react.to(eventName, settings));
};
react.once = function () {
return(reactOnce);
};
react.unload = function (fireUnloadEvents) {
if (fireUnloadEvents === undefined) {
fireUnloadEvents = true;
}
for (var _local2 in allReactions) {
allReactions[_local2].monad.unListen();
allReactions.splice(_local2, 1);
if (fireUnloadEvents && (allReactions[_local2].eventName === "unload")) {
allReactions[_local2].monad.fire();
}
allReactions[_local2].monad.cleanup();
}
};
if (defaultUnloadEmitter) {
react.to("unload").forget().then = function () {
react.unload(true);
};
}
return(react);
}
function once(func) {
var done = false;
return(function () {
return((done ? (0) : ((done = true)func.apply(this, arguments))));
});
}
function resetTextDonePromise() {
if (textDone_prom.getStatus() === "pending") {
return(undefined);
}
var textDone_vow = VOW.make();
textDone_prom = textDone_vow.promise;
var react_to_textDone = react.to("onTextDone");
react_to_textDone.then = function () {
react_to_textDone.disable();
react_to_textDone = null;
textDone_vow.keep(_html);
};
}
stop();
if (!parent) {
parent = _parent;
}
is_textbox = true;
var vow_version = 3.9;
var vow_scope = function () {
function forEach(array, callback) {
var _local1 = 0;
while (_local1 < array.length) {
callback(array[_local1], _local1);
_local1++;
}
}
function enlighten(queue, fate) {
forEach(queue, function (func) {
setTimeout(function () {
func(fate);
}, 0);
});
}
var _local12 = vow_version;
var vow_output = {version:_local12, make:function () {
function enqueue(resolution, func, vow) {
var _local2 = ((resolution === "kept") ? (keepers) : (breakers));
var isBroken = Boolean(_local2 === breakers);
_local2[_local2.length] = ((!(typeof(func) === "function")) ? (vow[resolution]) : (function (value) {
try {
_local1 = func(value)_local1if (_local1 && (_local1.is_promise === true)) {
if (isBroken) {
_local1.then(vow.doBreak, vow.doBreak)} else {
_local1.then(vow.keep, vow.doBreak)}
} else {
if (isBroken) {
vow.doBreak(_local1)}
if (!isBroken) {
vow.keep(_local1)}
}
} catch(e) {
vow.doBreak(e)}
}));
}
function herald(state, value, queue) {
if (!(status === "pending")) {
return(undefined);
}
fate = value;
status = state;
enlighten(queue, fate);
keepers = [];
breakers = [];
}
function get_then() {
return(set_then);
}
var breakers = [];
var fate = undefined;
var keepers = [];
var status = "pending";
var promise = {version:vow_output.version, is_promise:true, getStatus:function () {
return(status);
}, getValue:function () {
return(fate);
}, doBreak:function (value) {
herald("broken", value, breakers);
return(this.promise);
}, keep:function (value) {
herald("kept", value, keepers);
return(this.promise);
}};
var set_then = function (kept, broken) {
var _local1 = VOW.make();
switch (status) {
case "pending" :
enqueue("kept", kept, _local1);
enqueue("break", broken, _local1);
break;
case "kept" :
enqueue("kept", kept, _local1);
enlighten(keepers, fate);
keepers = [];
break;
case "broken" :
enqueue("break", broken, _local1);
enlighten(breakers, fate);
breakers = [];
}
return(_local1);
};
promise.addProperty("then", get_then, set_then);
promise.promise = promise;
return(promise);
}, every:function (array) {
var remaining = array.length;
var results = [];
var vow = VOW.make();
if (!remaining) {
vow.keep([]);
} else {
forEach(array, function (promise, i) {
promise.then(function (value) {
results[i] = value;
remaining--;
if (remaining === 0) {
vow.keep(results);
}
}, function (reason) {
remaining = null;
vow.doBreak(reason);
});
});
}
return(vow.promise);
}, everyTried:function (array) {
var remaining = array.length;
var results = [];
var vow = VOW.make();
if (!remaining) {
vow.keep([]);
} else {
forEach(array, function (promise, i) {
promise.then(function (value) {
results[i] = value;
remaining--;
if (remaining === 0) {
vow.keep(results);
}
}, function (failReason) {
results[i] = undefined;
remaining--;
if (remaining === 0) {
vow.keep(results);
}
});
});
}
return(vow.promise);
}, first:function (array) {
function check() {
remaining--;
if ((remaining === 0) && (!found)) {
vow.doBreak();
}
}
var found = false;
var remaining = array.length;
var vow = VOW.make();
if (remaining === 0) {
vow.doBreak(array);
} else {
forEach(array, function (promise) {
promise.then(function (value) {
if (!found) {
found = true;
vow.keep(value);
}
check();
}, check);
});
}
return(vow.promise);
}, kept:function (value) {
var _local1 = VOW.make();
_local1.keep(value);
return(_local1.promise);
}, broken:function (reason) {
var _local1 = VOW.make();
_local1.doBreak(reason);
return(_local1.promise);
}, wait:function (milliseconds) {
var _local1 = function (input) {
var vow = VOW.make();
var milliseconds = ((milliseconds === undefined) ? 0 : (milliseconds));
setTimeout(function () {
vow.keep(input);
}, milliseconds);
return(vow.promise);
};
return(_local1);
}, firstWait:function (milliseconds) {
var vow = VOW.make();
milliseconds = ((milliseconds === undefined) ? 0 : (milliseconds));
setTimeout(function () {
vow.keep({});
}, milliseconds);
return(vow.promise);
}, start:function (value) {
var _local1 = VOW.make();
_local1.keep(value);
return(_local1.promise);
}, runSequence:function (sequence) {
var _local4 = VOW.make().keep();
var _local1 = 0;
while (_local1 < sequence.length) {
var _local3 = sequence[_local1];
var _local2 = _local4.then(_local3);
if (!(_local2.is_promise === true)) {
_local2 = VOW.kept();
}
_local4 = _local2;
_local1++;
}
var _local6 = _local4;
return(_local6);
}, wrap:function (func, callbackIndex) {
if (callbackIndex === undefined) {
var callbackIndex = 0;
}
return(function () {
var vow = VOW.make();
if (callbackIndex === undefined) {
var callbackIndex = (arguments.length - 1);
}
arguments[callbackIndex] = function (output) {
vow.keep(output);
};
func.apply(this, arguments);
return(vow.promise);
});
}, preApply:function (func, param) {
var args = arguments.slice(1);
return(function () {
return(func.apply(null, args));
});
}, failThru:function (failReason) {
return(failReason);
}, null:null};
vow_output.any = (vow_output.allResolved = vow_output.everyTried);
return(vow_output);
};
var VOW = vow_scope();
delete vow_scope;
delete vow_version;
updateOnce = function (func, delay) {
var hasUpdated = false;
var interval = null;
var delay = (delay || 0);
return(function () {
if (hasUpdated === false) {
hasUpdated = true;
func.apply(null, arguments);
clearTimeout(interval);
interval = setTimeout(function () {
hasUpdated = false;
}, delay);
}
});
};
callUnload = function (parent) {
function recurseClips(parent, doThis, includeSelf, isShallow) {
if (!parent) {
return(undefined);
}
if (!(parent instanceof MovieClip)) {
return(undefined);
}
if (!doThis) {
return(undefined);
}
if (includeSelf === undefined) {
includeSelf = true;
}
if (isShallow === undefined) {
isShallow = false;
}
var reportedPath;
var actualPath;
for (var nam in parent) {
if (!nam) {
continue;
}
var thisChild = parent[nam];
if (thisChild instanceof MovieClip) {
reportedPath = String(eval (thisChild._target));
actualPath = (String(eval (parent._target)) + ".") + nam;
if (reportedPath.indexOf(actualPath) != -1) {
if (isShallow) {
doThis.call(thisChild, thisChild);
}
if (!isShallow) {
recurseClips(thisChild, doThis);
}
}
}
}
if (includeSelf) {
doThis.call(parent, parent);
}
}
function unloadThis(thisItem) {
thisItem.onKillFocus(null);
thisItem.dispatchEvent({type:"unload"});
thisItem.broadcastMessage("unload");
thisItem.unload();
thisItem.onUnload();
delete thisItem.onUnload;
thisItem.removeEventListener("keyDown", thisItem);
thisItem.removeEventListener("keyUp", thisItem);
Key.removeListener(thisItem);
Mouse.removeListener(thisItem);
for (var _local3 in thisItem._listeners) {
var _local2 = thisItem._listeners[_local3];
thisItem.removeListener(_local2);
}
thisItem.addListener = function () {
};
}
recurseClips(parent, unloadThis);
};
if ((!addListener) && (!addEventListener)) {
AsBroadcaster.initialize(this);
}
react = make_react(this);
old_onUnload = onUnload;
onUnload = function () {
old_onUnload();
sendEvent("unload");
};
onUnload = once(onUnload);
_this = this;
interruptClose = false;
resetTextDonePromise();
closeNow = function () {
if (_this.initTimeout) {
clearTimeout(_this.initTimeout);
}
if (_this.instantTimeout) {
clearTimeout(_this.instantTimeout);
}
if (_this.delayTimeout) {
clearTimeout(_this.delayTimeout);
}
if (_this.closeTimeout) {
clearTimeout(_this.closeTimeout);
}
_this.interruptClose = true;
_this.onUnload();
_this.removeMovieClip();
_this.unloadMovie();
};
closeNow = once(closeNow);
makeProperty = function (propName, defaultValue) {
var _local1 = _this[propName];
if (_this["get_" + propName] == undefined) {
_this["get_" + propName] = function () {
return(_this["_" + propName]);
};
}
if (_this["set_" + propName] == undefined) {
_this["set_" + propName] = function (newValue) {
_this["_" + propName] = newValue;
};
}
_this.addProperty(propName, _this["get_" + propName], _this["set_" + propName]);
var _local2 = ((_local1 != undefined) ? (_local1) : (defaultValue));
if (_local2 != undefined) {
_this["set_" + propName](_local2);
}
};
set_closeAll = function (newValue) {
function isTextbox(mc) {
return(Boolean(mc.is_textbox));
}
if (newValue) {
var _local2 = [];
for (var _local3 in parent) {
if (isTextbox(parent[_local3])) {
_local2.push(parent[_local3]);
}
}
var _local1 = _local2.length - 1;
while (_local1 >= 0) {
_local2[_local1].closeNow();
_local1--;
}
}
};
set_closeAll = once(set_closeAll);
makeProperty("closeOnSpace", true);
makeProperty("closeOnClick", true);
makeProperty("typeDelay", 0);
makeProperty("enterKey", (RAM.keys.talk || (ROM.textbox.enterKey)) || 32);
makeProperty("cancelKey", RAM.keys.cancel || 27);
makeProperty("skipKey", 16);
makeProperty("typingSound", "");
makeProperty("soundSystem", SOUND);
makeProperty("closeAll", false);
makeProperty("closeAtEnd", true);
get_background = function () {
return(bg.image);
};
set_background = function (newValue, doEvent) {
bg.image = newValue;
};
makeProperty("background");
var offset = 16;
minTextWidth = 240;
minTextOffset = 72;
maxTextWidth = 296;
maxTextOffset = 16;
faceMargin = 6;
set_face = function (newValue, doEvent) {
face_mc.complete = function () {
var _local2 = (face_mc._x + face_mc.content._width) + faceMargin;
var _local1 = maxTextWidth - face_mc.content._width;
_this.message_txt._width = _local1 - faceMargin;
_this.message_txt._x = _local2;
};
face_mc.error = function () {
trace("can't load face");
var _local2 = face_mc._x;
var _local1 = maxTextWidth;
_this.message_txt._width = _local1;
_this.message_txt._x = _local2;
};
face_mc.file = newValue;
};
makeProperty("face");
react.to("unload").then = function () {
callUnload(face_mc.content);
};
message_txt.condenseWhite = false;
readIndex = 0;
delayTimeout = null;
forceSound = true;
waitForClick = false;
doneTyping = false;
initInstantDisplay = (instantDisplay ? (instantDisplay) : false);
_html = "<p>";
set_text = function (newValue, doEvent) {
if (!(typeof(newValue) === "string")) {
newValue = "";
}
if (newValue == "") {
newValue = " ";
}
var _local2 = String.fromCharCode(10);
newValue = newValue.split(_local2).join("");
_local2 = String.fromCharCode(13);
newValue = newValue.split(_local2).join("\\n");
_this._text = newValue;
_this._html = "<p>";
_this.message_txt.htmlText = "";
_this.readIndex = 0;
_this.waitForClick = false;
_this.doneTyping = false;
_this.instantDisplay = false;
clearTimeout(_this.delayTimeout);
if (newValue != "") {
_this.forceSound = true;
if (!(_this.initTimeout === undefined)) {
clearTimeout(_this.initTimeout);
}
_this.initTimeout = setTimeout(_this.typeMessage, 33);
}
};
typeMessage = function () {
if (!_this.doneTyping) {
if (!(typeof(_text) === "string")) {
finishNow();
return(undefined);
}
var _local1 = _text.charAt(_this.readIndex);
if (Key.isDown(_this.skipKey)) {
_this.instantDisplay = true;
}
if (_local1 == "\\") {
_this.readIndex++;
var _local2 = String(_text.charAt(_this.readIndex));
switch (_local2) {
case "." :
var _local3 = 1;
_this.forceSound = true;
break;
case "!" :
_this.waitForClick = true;
break;
case "n" :
_this._html = _this._html + newline;
break;
case "s" :
_this.readIndex++;
var _local7 = Number(_text.charAt(_this.readIndex));
_this.typeDelay = _local7;
if (_this.typeDelay == 0) {
_this.forceSound = true;
}
break;
case "l" :
_this._html = _this._html + "<p align=\"left\">";
break;
case "m" :
_this._html = _this._html + "<p align=\"center\">";
break;
case "r" :
_this._html = _this._html + "<p align=\"right\">";
break;
case "#" :
_this.readIndex++;
var _local4 = _text.charAt(_this.readIndex) == "#";
if (_local4) {
_this._html = _this._html + "</font>";
} else {
var _local5 = String(_text.substr(_this.readIndex, 6));
_this._html = _this._html + (("<font color=\"#" + _local5) + "\">");
_this.readIndex = _this.readIndex + 5;
}
break;
default :
if (isNaN(_local2)) {
break;
}
var _local9 = _text.charAt(_this.readIndex);
var _local8 = Number(_local9);
_local3 = _local8;
_this.forceSound = true;
}
} else {
var _local6 = (_this.typeDelay > 0) && (!_this.instantDisplay);
if (_this.forceSound || (_local6)) {
if (_local1 != _this.enterKey) {
if (_this.typingSound.indexOf(".mp3") > -1) {
_this.soundSystem.play(_this.typingSound);
}
_this.forceSound = false;
}
}
_this._html = _this._html + ((typeof(_local1) === "string") ? (_local1) : "");
}
_this.message_txt.htmlText = _this._html;
sendEvent("onTextWrite", {html:_this._html});
_this.readIndex++;
if (_this.readIndex < _text.length) {
if (_this.instantDisplay) {
_this.typeMessage();
} else if (_local3) {
_this.delayTimeout = setTimeout(_this.typeMessage, _local3 * 200);
} else if (_this.waitForClick) {
} else if (_local2) {
_this.typeMessage();
} else if (_this.typeDelay) {
if (_local1 == " ") {
_this.typeMessage();
} else {
_this.delayTimeout = setTimeout(_this.typeMessage, _this.typeDelay * 25);
}
} else {
_this.typeMessage();
}
} else {
_this.doneTyping = true;
sendEvent("onTextDone", {html:_this._html});
_this.messageDone();
}
}
};
makeProperty("text", "");
instantDisplay = initInstantDisplay;
if (_this.instantDisplay) {
clearTimeout(_this.delayTimeout);
_this.instantTimeout = setTimeout(_this.typeMessage, 33);
}
closeTriggers = {};
close = function () {
if (_this.doneTyping && (!waitForInitRelease)) {
var _local1 = function (_this) {
if (!_this.interruptClose) {
_this.nextFrame();
}
};
_this.closeTimeout = setTimeout(_local1, 66, _this);
}
};
finishNow = function () {
_this.typeMessage = null;
if (_this.initTimeout) {
clearTimeout(_this.initTimeout);
}
if (_this.instantTimeout) {
clearTimeout(_this.instantTimeout);
}
if (_this.delayTimeout) {
clearTimeout(_this.delayTimeout);
}
if (_this.closeTimeout) {
clearTimeout(_this.closeTimeout);
}
_this.doneTyping = true;
sendEvent("onTextDone", {html:_this._html});
_this.messageDone();
close();
};
closeTriggers.onMouseUp = function () {
if (_this.closeOnClick) {
close();
}
if (_this.waitForClick) {
_this.waitForClick = false;
typeMessage();
}
};
Mouse.addListener(closeTriggers);
react.to("unload").then = function () {
Mouse.removeListener(closeTriggers);
};
if (Key.isDown(_this.enterKey) || (Key.isDown(_this.cancelKey))) {
waitForInitRelease = true;
}
closeTriggers.onKeyUp = function () {
var _local1 = Key.getCode();
if (!waitForInitRelease) {
if (Key.isDown(_this.skipKey)) {
_this.waitForClick = false;
clearTimeout(_this.delayTimeout);
_this.typeMessage();
}
if ((((_local1 == _this.enterKey) || (_local1 == _this.cancelKey)) && (_this.closeOnSpace)) && (!_this.waitForClick)) {
close();
}
if (_this.waitForClick) {
_this.waitForClick = false;
typeMessage();
}
} else if (!(Key.isDown(_this.enterKey) || (Key.isDown(_this.cancelKey)))) {
waitForInitRelease = false;
}
};
Key.addListener(closeTriggers);
react.to("unload").then = function () {
Key.removeListener(closeTriggers);
};
react.to("onTextWrite").then = function () {
sendEvent("onDraw");
};
react.to("onDraw").then = updateOnce(function (evt) {
if (_parent) {
sendEvent("onDraw", evt, _parent);
}
});
react.to("unload").then = function () {
clearTimeout(_this.delayTimeout);
Mouse.removeListener(closeTriggers);
Key.removeListener(closeTriggers);
};
Instance of Symbol 457 MovieClip "bg" in Symbol 459 MovieClip [textbox_mc] Frame 1
//component parameters
onClipEvent (construct) {
image = "";
}
Instance of Symbol 43 MovieClip [imageLoader] "face_mc" in Symbol 459 MovieClip [textbox_mc] Frame 1
//component parameters
onClipEvent (construct) {
file = "";
scaleContent = false;
enabled = true;
visible = true;
}
Symbol 459 MovieClip [textbox_mc] Frame 2
if (_this.initTimeout) {
clearTimeout(_this.initTimeout);
}
if (_this.instantTimeout) {
clearTimeout(_this.instantTimeout);
}
if (_this.delayTimeout) {
clearTimeout(_this.delayTimeout);
}
if (_this.closeTimeout) {
clearTimeout(_this.closeTimeout);
}
stop();
onUnload();
if (closeAtEnd) {
_name = (_name + ("_remove" + Math.floor(Math.random() * 999)));
} else {
_name = "held_textbox";
}
removeThis = function (_this) {
_this.onClose();
if (_this.closeAtEnd) {
_this.removeMovieClip();
_this.unloadMovie();
}
};
setTimeout(removeThis, 34, this);
Symbol 461 MovieClip [black] Frame 1
function get_width() {
return(image._width);
}
function set_width(newValue) {
image._width = newValue;
}
function get_height() {
return(image._height);
}
function set_height(newValue) {
image._height = newValue;
}
_this = this;
init_width = width || (image._width);
this.addProperty("width", get_width, set_width);
width = init_width;
init_height = height || (image._height);
this.addProperty("height", get_height, set_height);
height = init_height;
Symbol 463 MovieClip [counterTop] Frame 1
function talk() {
var _local5 = tile;
var _local7 = SPRITES.player.tile;
var _local6 = {x:0, y:0};
if (_local7.x > _local5.x) {
_local6.x = -1;
}
if (_local7.x < _local5.x) {
_local6.x = 1;
}
if (_local7.y > _local5.y) {
_local6.y = -1;
}
if (_local7.y < _local5.y) {
_local6.y = 1;
}
var _local10 = _local5.x + _local6.x;
var _local9 = _local5.y + _local6.y;
var _local3 = SPRITE_GRID[_local10][_local9];
var _local4 = [];
var _local1 = 0;
while (_local1 < _local3.length) {
var _local2 = _local3[_local1].talk();
if (_local2.is_promise) {
_local4.push(_local2);
}
_local1++;
}
var _local8 = VOW.every(_local4);
return(_local8);
}
_this = this;
var vow_version = 3.9;
var vow_scope = function () {
function forEach(array, callback) {
var _local1 = 0;
while (_local1 < array.length) {
callback(array[_local1], _local1);
_local1++;
}
}
function enlighten(queue, fate) {
forEach(queue, function (func) {
setTimeout(function () {
func(fate);
}, 0);
});
}
var _local12 = vow_version;
var vow_output = {version:_local12, make:function () {
function enqueue(resolution, func, vow) {
var _local2 = ((resolution === "kept") ? (keepers) : (breakers));
var isBroken = Boolean(_local2 === breakers);
_local2[_local2.length] = ((!(typeof(func) === "function")) ? (vow[resolution]) : (function (value) {
try {
_local1 = func(value)_local1if (_local1 && (_local1.is_promise === true)) {
if (isBroken) {
_local1.then(vow.doBreak, vow.doBreak)} else {
_local1.then(vow.keep, vow.doBreak)}
} else {
if (isBroken) {
vow.doBreak(_local1)}
if (!isBroken) {
vow.keep(_local1)}
}
} catch(e) {
vow.doBreak(e)}
}));
}
function herald(state, value, queue) {
if (!(status === "pending")) {
return(undefined);
}
fate = value;
status = state;
enlighten(queue, fate);
keepers = [];
breakers = [];
}
function get_then() {
return(set_then);
}
var breakers = [];
var fate = undefined;
var keepers = [];
var status = "pending";
var promise = {version:vow_output.version, is_promise:true, getStatus:function () {
return(status);
}, getValue:function () {
return(fate);
}, doBreak:function (value) {
herald("broken", value, breakers);
return(this.promise);
}, keep:function (value) {
herald("kept", value, keepers);
return(this.promise);
}};
var set_then = function (kept, broken) {
var _local1 = VOW.make();
switch (status) {
case "pending" :
enqueue("kept", kept, _local1);
enqueue("break", broken, _local1);
break;
case "kept" :
enqueue("kept", kept, _local1);
enlighten(keepers, fate);
keepers = [];
break;
case "broken" :
enqueue("break", broken, _local1);
enlighten(breakers, fate);
breakers = [];
}
return(_local1);
};
promise.addProperty("then", get_then, set_then);
promise.promise = promise;
return(promise);
}, every:function (array) {
var remaining = array.length;
var results = [];
var vow = VOW.make();
if (!remaining) {
vow.keep([]);
} else {
forEach(array, function (promise, i) {
promise.then(function (value) {
results[i] = value;
remaining--;
if (remaining === 0) {
vow.keep(results);
}
}, function (reason) {
remaining = null;
vow.doBreak(reason);
});
});
}
return(vow.promise);
}, everyTried:function (array) {
var remaining = array.length;
var results = [];
var vow = VOW.make();
if (!remaining) {
vow.keep([]);
} else {
forEach(array, function (promise, i) {
promise.then(function (value) {
results[i] = value;
remaining--;
if (remaining === 0) {
vow.keep(results);
}
}, function (failReason) {
results[i] = undefined;
remaining--;
if (remaining === 0) {
vow.keep(results);
}
});
});
}
return(vow.promise);
}, first:function (array) {
function check() {
remaining--;
if ((remaining === 0) && (!found)) {
vow.doBreak();
}
}
var found = false;
var remaining = array.length;
var vow = VOW.make();
if (remaining === 0) {
vow.doBreak(array);
} else {
forEach(array, function (promise) {
promise.then(function (value) {
if (!found) {
found = true;
vow.keep(value);
}
check();
}, check);
});
}
return(vow.promise);
}, kept:function (value) {
var _local1 = VOW.make();
_local1.keep(value);
return(_local1.promise);
}, broken:function (reason) {
var _local1 = VOW.make();
_local1.doBreak(reason);
return(_local1.promise);
}, wait:function (milliseconds) {
var _local1 = function (input) {
var vow = VOW.make();
var milliseconds = ((milliseconds === undefined) ? 0 : (milliseconds));
setTimeout(function () {
vow.keep(input);
}, milliseconds);
return(vow.promise);
};
return(_local1);
}, firstWait:function (milliseconds) {
var vow = VOW.make();
milliseconds = ((milliseconds === undefined) ? 0 : (milliseconds));
setTimeout(function () {
vow.keep({});
}, milliseconds);
return(vow.promise);
}, start:function (value) {
var _local1 = VOW.make();
_local1.keep(value);
return(_local1.promise);
}, runSequence:function (sequence) {
var _local4 = VOW.make().keep();
var _local1 = 0;
while (_local1 < sequence.length) {
var _local3 = sequence[_local1];
var _local2 = _local4.then(_local3);
if (!(_local2.is_promise === true)) {
_local2 = VOW.kept();
}
_local4 = _local2;
_local1++;
}
var _local6 = _local4;
return(_local6);
}, wrap:function (func, callbackIndex) {
if (callbackIndex === undefined) {
var callbackIndex = 0;
}
return(function () {
var vow = VOW.make();
if (callbackIndex === undefined) {
var callbackIndex = (arguments.length - 1);
}
arguments[callbackIndex] = function (output) {
vow.keep(output);
};
func.apply(this, arguments);
return(vow.promise);
});
}, preApply:function (func, param) {
var args = arguments.slice(1);
return(function () {
return(func.apply(null, args));
});
}, failThru:function (failReason) {
return(failReason);
}, null:null};
vow_output.any = (vow_output.allResolved = vow_output.everyTried);
return(vow_output);
};
var VOW = vow_scope();
delete vow_scope;
delete vow_version;
tile = tile || ({});
tile.tileSize = MAP.tileSize || 16;
tile.offset = tile.offset || ({});
tile.offset.x = 0;
tile.offset.y = 0;
get_xTile = function () {
return(Math.floor(_x / tile.tileSize));
};
set_xTile = function (newValue) {
_x = ((newValue * tile.tileSize) + tile.offset.x);
};
tile.addProperty("x", get_xTile, set_xTile);
get_yTile = function () {
return(Math.floor((_y - (tile.offset.y / 2)) / tile.tileSize));
};
set_yTile = function (newValue) {
_y = ((newValue * tile.tileSize) + tile.offset.y);
};
tile.addProperty("y", get_yTile, set_yTile);
Symbol 464 MovieClip Frame 1
stop();
Instance of Symbol 438 MovieClip [scroll] in Symbol 464 MovieClip Frame 10
//component parameters
onClipEvent (construct) {
mode = "chase";
target = "player";
smoothness = 2;
}
Instance of Symbol 459 MovieClip [textbox_mc] in Symbol 464 MovieClip Frame 10
//component parameters
onClipEvent (construct) {
text = "";
face = "";
background = "";
typeDelay = 1;
closeOnSpace = true;
closeOnClick = true;
skipKey = 16;
typingSound = "";
closeAtEnd = true;
}